diff --git a/index.html b/index.html index 5a04783ad2..70eccf7836 100644 --- a/index.html +++ b/index.html @@ -172,7 +172,7 @@ display: block !important; } - + \ No newline at end of file diff --git a/p__Account__Secure__index.ca5975fd.async.js b/p__Account__Secure__index.ca5975fd.async.js deleted file mode 100644 index 79a63824cb..0000000000 --- a/p__Account__Secure__index.ca5975fd.async.js +++ /dev/null @@ -1,35 +0,0 @@ -"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[4520],{73331:function(He,ne,t){t.d(ne,{Z:function(){return A}});var x=t(54476),H=t(59301),g={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z"}},{tag:"path",attrs:{d:"M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z"}}]},name:"eye-invisible",theme:"outlined"},M=g,l=t(7657),m=function(s,K){return H.createElement(l.Z,(0,x.Z)({},s,{ref:K,icon:M}))},h=H.forwardRef(m),A=h},15277:function(He,ne,t){t.d(ne,{Z:function(){return A}});var x=t(54476),H=t(59301),g={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"}}]},name:"eye",theme:"outlined"},M=g,l=t(7657),m=function(s,K){return H.createElement(l.Z,(0,x.Z)({},s,{ref:K,icon:M}))},h=H.forwardRef(m),A=h},61485:function(He,ne,t){t.d(ne,{Z:function(){return A}});var x=t(54476),H=t(59301),g={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"question-circle",theme:"outlined"},M=g,l=t(7657),m=function(s,K){return H.createElement(l.Z,(0,x.Z)({},s,{ref:K,icon:M}))},h=H.forwardRef(m),A=h},47472:function(He,ne,t){t.d(ne,{Z:function(){return A}});var x=t(54476),H=t(59301),g={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"},M=g,l=t(7657),m=function(s,K){return H.createElement(l.Z,(0,x.Z)({},s,{ref:K,icon:M}))},h=H.forwardRef(m),A=h},6969:function(He,ne,t){t.r(ne),t.d(ne,{default:function(){return k}});var x=t(59301),H=t(75759),g=t(78241),M=t(8591),l=t(92832),m=t(3113),h=t(6848),A=t(78673),$=t(43418),s={wrap:"wrap___vEhcs",content:"content___ebZIP",hint:"hint___b1gVO",titleWrap:"titleWrap___iGFyX",title:"title___O7ajd",formWrap:"formWrap___hsI9d",row:"row___xYJES",rowBorder:"rowBorder___YP4Tf",name:"name___kvtHq",status:"status___Z3SQA",description:"description___iGcNP",active:"active___DoK2i",color999:"color999___MWFZD",colorCDCDCD:"colorCDCDCD___miC4g",colorRed:"colorRed___YHbHP",submitButton:"submitButton___iLv6C",buttonWrap:"buttonWrap___gaJuB",limit:"limit___Imnh5"},K=t(78279),pe=t(19694),P=t(79884),o=t(59301),le=Object.getOwnPropertySymbols,ce=Object.prototype.hasOwnProperty,be=Object.prototype.propertyIsEnumerable,Fe=(N,L)=>{var D={};for(var a in N)ce.call(N,a)&&L.indexOf(a)<0&&(D[a]=N[a]);if(N!=null&&le)for(var a of le(N))L.indexOf(a)<0&&be.call(N,a)&&(D[a]=N[a]);return D},ve=(N,L,D)=>new Promise((a,v)=>{var w=y=>{try{c(D.next(y))}catch(C){v(C)}},p=y=>{try{c(D.throw(y))}catch(C){v(C)}},c=y=>y.done?a(y.value):Promise.resolve(y.value).then(w,p);c((D=D.apply(N,L)).next())}),B=(N=>(N[N.Phone=1]="Phone",N[N.Email=2]="Email",N[N.Password=3]="Password",N))(B||{});const R=/^1\d{10}$/,n=/^[a-zA-Z0-9]+([.\-_\\]*[a-zA-Z0-9])*@([a-z0-9]+[-a-z0-9]*[a-z0-9]+.){1,63}[a-z0-9]+$/,r=/^(?![\d]+$)(?![a-zA-Z]+$)(?![^\da-zA-Z]+$).{8,16}$/,E=(N,L,D)=>{L?L.indexOf(" ")>-1?D("\u8BF7\u8F93\u51658~16\u4F4D\u5B57\u7B26\uFF0C\u5B57\u6BCD\u3001\u6570\u5B57\u548C\u7279\u6B8A\u7B26\u53F7\u81F3\u5C11\u5305\u542B2\u79CD"):L.length<8||L.length>16?D("\u8BF7\u8F93\u51658~16\u4F4D\u5B57\u7B26\uFF0C\u5B57\u6BCD\u3001\u6570\u5B57\u548C\u7279\u6B8A\u7B26\u53F7\u81F3\u5C11\u5305\u542B2\u79CD\uFF01"):r.test(L)?D():D("\u8BF7\u8F93\u51658~16\u4F4D\u5B57\u7B26\uFF0C\u5B57\u6BCD\u3001\u6570\u5B57\u548C\u7279\u6B8A\u7B26\u53F7\u81F3\u5C11\u5305\u542B2\u79CD"):D("\u8BF7\u8F93\u51658-16\u4F4D\u5B57\u7B26\u7684\u65B0\u5BC6\u7801\uFF0C\u5B57\u6BCD\u3001\u6570\u5B57\u548C\u7279\u6B8A\u7B26\u53F7\u81F3\u5C11\u5305\u542B2\u79CD\uFF01")};var z=(N=>(N.Wechat="wechat",N.QQ="qq",N))(z||{});const X=N=>{var L=N,{user:D,account:a,globalSetting:v,loading:w,dispatch:p}=L,c=Fe(L,["user","account","globalSetting","loading","dispatch"]),y,C,u,b,Z,T,F,I,S,Q,ie,ae,he,te,G,de,Se,se,Y,J,fe;const[U]=g.default.useForm(),[re,q]=(0,x.useState)(),[V,Ae]=(0,x.useState)(60),[oe,Ee]=(0,x.useState)(),Ie=(0,x.useRef)(),[ze,et]=(0,x.useState)({}),[xe,Oe]=(0,x.useState)({}),[Je,at]=(0,x.useState)(!1),[vt,ot]=(0,x.useState)(!1),[pt,it]=(0,x.useState)(!1),[ht,Qe]=(0,x.useState)(!1),[Ve,Et]=(0,x.useState)(!1),tt=(0,x.useRef)(!1),[st,bt]=(0,x.useState)(!1),[Ft,At]=(0,x.useState)(""),[$t,Ot]=(0,x.useState)(""),Pt=(0,H.useLocation)(),[Rt]=(0,H.useSearchParams)();(0,x.useEffect)(()=>{var ee,Ce;const _=((ee=a.basicInfo)==null?void 0:ee.open_users.find(me=>me.en_type==="wechat"))||{};et(_);const j=((Ce=a.basicInfo)==null?void 0:Ce.open_users.find(me=>me.en_type==="qq"))||{};Oe(j)},[a.basicInfo]),(0,x.useEffect)(()=>()=>{Ie.current&&clearInterval(Ie.current)},[]),(0,x.useEffect)(()=>{q(parseInt(Rt.get("active")))},[Pt]),(0,K.Y)(()=>{if(oe)Ae(60);else return;V>0?Ae(V-1):(Ae(60),Ee(!1),Ie.current&&clearInterval(Ie.current))},1e3);const lt=ee=>ve(void 0,null,function*(){var Ce;let _,j;if(ee){if(j=3,_=U.getFieldValue("phone"),!R.test(_)){M.ZP.info("\u8BF7\u5148\u8F93\u5165\u6B63\u786E\u7684\u624B\u673A\u53F7\u7801");return}let i=yield(0,P.ZP)(`/api/users/accounts/${(Ce=D.userInfo)==null?void 0:Ce.login}/valid_phone.json`,{method:"get",params:{phone:_}});if((i==null?void 0:i.status)===-1)return;if(i!=null&&i.is_exists){it(!0);return}}else if(j=4,_=U.getFieldValue("email"),!n.test(_)){M.ZP.info("\u8BF7\u5148\u8F93\u5165\u6B63\u786E\u7684\u90AE\u7BB1\u5730\u5740");return}let me=(0,pe.M)(_);(yield p({type:"account/getCode",payload:{login:_,type:j,smscode:me}})).status===1&&(M.ZP.info("\u9A8C\u8BC1\u7801\u5DF2\u53D1\u9001\uFF0C\u8BF7\u6CE8\u610F\u67E5\u6536"),Ee(!0))}),It=ee=>ve(void 0,null,function*(){var Ce;const{phone:_,phoneValidateCode:j}=ee||{},{login:me}=D.userInfo||{};if(!R.test(_)){M.ZP.info("\u8BF7\u8F93\u5165\u6709\u6548\u768411\u4F4D\u624B\u673A\u53F7\u7801");return}const e=yield p({type:"account/bindPhone",payload:{login:me,phone:_,code:j}});(e==null?void 0:e.status)===0&&(M.ZP.info("\u624B\u673A\u53F7\u7801\u7ED1\u5B9A\u6210\u529F!"),q(null),Ee(!1),p({type:"account/getBasicInfo",payload:{login:(Ce=D.userInfo)==null?void 0:Ce.login}}))}),ut=ee=>ve(void 0,null,function*(){var Ce;const{email:_,emailValidateCode:j}=ee||{},{login:me}=D.userInfo||{};if(!n.test(_)){M.ZP.info("\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u90AE\u7BB1\u5730\u5740");return}const e=yield p({type:"account/bindEmail",payload:{login:me,email:_,code:j}});(e==null?void 0:e.status)===0&&(M.ZP.info("\u90AE\u7BB1\u5730\u5740\u7ED1\u5B9A\u6210\u529F!"),q(null),Ee(!1),p({type:"account/getBasicInfo",payload:{login:(Ce=D.userInfo)==null?void 0:Ce.login}}))}),Dt=ee=>ve(void 0,null,function*(){var Ce,_;const{oldPassword:j,newPassword:me,againPassword:e}=ee||{},{login:i}=D.userInfo||{};if((Ce=a.basicInfo)!=null&&Ce.has_password&&j===me){M.ZP.info("\u65B0\u5BC6\u7801\u4E0D\u80FD\u4E0E\u65E7\u5BC6\u7801\u76F8\u540C\uFF01");return}if(me!==e){M.ZP.info("\u4E24\u6B21\u8F93\u5165\u7684\u65B0\u5BC6\u7801\u5FC5\u987B\u4E00\u81F4\uFF01");return}const d=yield p({type:"account/updatePassword",payload:{login:i,old_password:j,password:me}});(d==null?void 0:d.status)===0&&(M.ZP.info("\u5BC6\u7801\u66F4\u65B0\u6210\u529F\uFF01"),q(null),p({type:"account/getBasicInfo",payload:{login:(_=D.userInfo)==null?void 0:_.login}}))}),zt=ee=>{const{}=ee||{};console.log("handleFinish values: ",ee),re===1&&It(ee),re===2&&ut(ee),re===3&&Dt(ee)};return(0,x.useEffect)(()=>{re||U.setFieldsValue({phone:"",phoneValidateCode:"",email:"",emailValidateCode:"",oldPassword:"",newPassword:"",againPassword:""})},[re]),o.createElement("section",{className:s.wrap},o.createElement("div",null,o.createElement("div",{className:s.content},o.createElement("div",{className:`${s.titleWrap} mt10`},o.createElement("div",{className:s.title},"\u5B89\u5168\u8BBE\u7F6E")),o.createElement(g.default,{form:U,className:s.formWrap,labelCol:{span:6},wrapperCol:{span:10},onFinish:zt},o.createElement("div",{className:`${s.row} ${re===1?"":s.rowBorder}`},o.createElement("span",{className:`${s.name} ${s.color999}`},"\u624B\u673A"),o.createElement("div",{className:`${s.description} ${s.colorCDCDCD}`},(y=a.basicInfo)!=null&&y.phone?o.createElement("span",{className:`${s.status} mr20`},(C=a.basicInfo)==null?void 0:C.phone):o.createElement("span",{className:`${s.status} ${s.colorRed} mr20`},"\u672A\u7ED1\u5B9A"),(u=a.basicInfo)!=null&&u.phone?"\u4EC5\u81EA\u5DF1\u53EF\u89C1\uFF0C\u53EF\u7528\u624B\u673A\u53F7\u7801\u767B\u5F55\u5E73\u53F0":"\u7ED1\u5B9A\u624B\u673A\u53F7\u7801\uFF0C\u5C06\u83B7\u5F97500\u91D1\u5E01\u7684\u5956\u52B1\u54DF\uFF5E\uFF0C\u624B\u673A\u53F7\u7801\u4EC5\u81EA\u5DF1\u53EF\u89C1~"),((b=a.basicInfo)==null?void 0:b.phone)&&re!==1&&o.createElement("span",{className:s.active,style:{marginRight:"30px",cursor:"pointer"},onClick:()=>{var ee;!(ze!=null&&ze.id)&&!(xe!=null&&xe.id)&&!((ee=a.basicInfo)!=null&&ee.mail)?at(!0):ot(!0)}},"\u89E3\u7ED1\u624B\u673A\u53F7"),re!==1&&o.createElement("span",{className:s.active,onClick:()=>q(1)},(Z=a.basicInfo)!=null&&Z.phone?"\u66F4\u6362":"\u7ACB\u5373\u7ED1\u5B9A")),re===1&&o.createElement(o.Fragment,null,o.createElement(g.default.Item,{label:"\u4F60\u7684\u624B\u673A\u53F7",name:"phone",rules:[{required:!0,message:`\u8BF7\u8F93\u5165\u8981${(T=a.basicInfo)!=null&&T.phone?"\u66F4\u6362":"\u7ED1\u5B9A"}\u7684\u624B\u673A\u53F7\u7801`},{validator:(ee,Ce,_)=>{R.test(Ce)&&_(),_("\u8BF7\u8F93\u5165\u6709\u6548\u768411\u4F4D\u624B\u673A\u53F7\u7801")}}]},o.createElement(l.default,{placeholder:`\u8BF7\u8F93\u5165\u8981${(F=a.basicInfo)!=null&&F.phone?"\u66F4\u6362":"\u7ED1\u5B9A"}\u7684\u624B\u673A\u53F7\u7801`})),((I=v==null?void 0:v.setting)==null?void 0:I.is_local)&&((S=v==null?void 0:v.setting)==null?void 0:S.is_need_code)=="true"&&o.createElement(g.default.Item,{label:"\u624B\u673A\u9A8C\u8BC1\u7801"},o.createElement(g.default.Item,{name:"phoneValidateCode",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u624B\u673A\u83B7\u53D6\u7684\u9A8C\u8BC1\u7801"}],noStyle:!0},o.createElement(l.default,{placeholder:"\u8BF7\u8F93\u5165\u624B\u673A\u83B7\u53D6\u7684\u9A8C\u8BC1\u7801"})),o.createElement(m.ZP,{type:"primary",className:"ml5",disabled:oe,onClick:()=>lt(!0)},oe?`\u91CD\u65B0\u53D1\u9001${V}s`:"\u83B7\u53D6\u9A8C\u8BC1\u7801")),o.createElement(g.default.Item,{noStyle:!0},o.createElement("div",{className:s.buttonWrap},o.createElement(m.ZP,{className:`${s.submitButton}`,size:"middle",type:"primary",htmlType:"submit"},"\u786E\u5B9A"),o.createElement(m.ZP,{className:s.submitButton,size:"middle",onClick:()=>q(null)},"\u53D6\u6D88")))),o.createElement("div",{className:`${s.row} ${re===2?"":s.rowBorder}`},o.createElement("span",{className:`${s.name} ${s.color999}`},"\u90AE\u7BB1"),o.createElement("div",{className:`${s.description} ${s.colorCDCDCD}`},(Q=a.basicInfo)!=null&&Q.mail?o.createElement("span",{className:`${s.status} mr20`},(ie=a.basicInfo)==null?void 0:ie.mail):o.createElement("span",{className:`${s.status} ${s.colorRed} mr20`},"\u672A\u7ED1\u5B9A"),"\u90AE\u7BB1\u8D26\u53F7\u4EC5\u81EA\u5DF1\u53EF\u89C1\uFF0C\u53EF\u7528\u4E8E\u90AE\u7BB1\u8D26\u53F7\u767B\u5F55",!((ae=v==null?void 0:v.setting)!=null&&ae.is_local)&&"\u5E73\u53F0"),re!==2&&o.createElement("span",{className:s.active,onClick:()=>q(2)},(he=a.basicInfo)!=null&&he.mail?"\u66F4\u6362":"\u7ACB\u5373\u7ED1\u5B9A")),re===2&&o.createElement(o.Fragment,null,o.createElement(g.default.Item,{label:"\u90AE\u7BB1\u5730\u5740",name:"email",rules:[{required:!0,message:(te=a.basicInfo)!=null&&te.mail?"\u8BF7\u8F93\u5165\u8981\u66F4\u6362\u7684\u65B0\u90AE\u7BB1\u5730\u5740":"\u8BF7\u8F93\u5165\u90AE\u7BB1\u5730\u5740"}]},o.createElement(l.default,{placeholder:(G=a.basicInfo)!=null&&G.mail?"\u8BF7\u8F93\u5165\u8981\u66F4\u6362\u7684\u65B0\u90AE\u7BB1\u5730\u5740":"\u8BF7\u8F93\u5165\u90AE\u7BB1\u5730\u5740"})),((de=v==null?void 0:v.setting)==null?void 0:de.is_local)&&((Se=v==null?void 0:v.setting)==null?void 0:Se.is_need_code)=="true"&&o.createElement(g.default.Item,{label:"\u90AE\u7BB1\u9A8C\u8BC1\u7801"},o.createElement(g.default.Item,{name:"emailValidateCode",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u90AE\u7BB1\u6536\u5230\u7684\u9A8C\u8BC1\u7801"}],noStyle:!0},o.createElement(l.default,{placeholder:"\u8BF7\u8F93\u5165\u90AE\u7BB1\u6536\u5230\u7684\u9A8C\u8BC1\u7801"})),o.createElement(m.ZP,{type:"primary",className:"ml5",disabled:oe,onClick:()=>lt(!1)},oe?`\u91CD\u65B0\u53D1\u9001${V}s`:"\u83B7\u53D6\u9A8C\u8BC1\u7801")),o.createElement(g.default.Item,{noStyle:!0},o.createElement("div",{className:s.buttonWrap},o.createElement(m.ZP,{className:`${s.submitButton}`,size:"middle",type:"primary",htmlType:"submit"},"\u786E\u5B9A"),o.createElement(m.ZP,{className:s.submitButton,size:"middle",onClick:()=>q(null)},"\u53D6\u6D88")))),o.createElement("div",{className:s.row},o.createElement("span",{className:`${s.name} ${s.color999}`},"\u5BC6\u7801"),o.createElement("div",{className:`${s.description} ${s.colorCDCDCD}`},o.createElement("span",{className:`${s.status} mr20`},"**********"),"\u7528\u4E8E\u4FDD\u62A4\u8D26\u6237\u4FE1\u606F\u548C\u767B\u5F55\u5B89\u5168"),re!==3&&o.createElement("span",{className:s.active,onClick:()=>q(3)},"\u4FEE\u6539")),re===3&&o.createElement(o.Fragment,null,((se=a.basicInfo)==null?void 0:se.has_password)&&o.createElement(g.default.Item,{label:"\u65E7\u5BC6\u7801",name:"oldPassword",rules:[{required:!0,message:"\u8BF7\u8BBE\u7F6E8\uFF5E16\u4F4D\u5BC6\u7801\uFF0C\u533A\u5206\u5927\u5C0F\u5199"}]},o.createElement(l.default,{type:"password",placeholder:"\u8BF7\u8BBE\u7F6E8\uFF5E16\u4F4D\u5BC6\u7801\uFF0C\u533A\u5206\u5927\u5C0F\u5199"})),o.createElement(h.Z,{title:o.createElement("div",null,o.createElement("span",null,"\u957F\u5EA6\u4E3A8-16\u4F4D\u5B57\u7B26"),o.createElement("br",null),o.createElement("span",null,"\u5B57\u6BCD/\u6570\u5B57\u4EE5\u53CA\u6807\u70B9\u7B26\u53F7\u81F3\u5C11\u5305\u542B2\u79CD"),o.createElement("br",null),o.createElement("span",null,"\u4E0D\u5141\u8BB8\u6709\u7A7A\u683C\u3001\u4E2D\u6587")),placement:"top"},o.createElement(g.default.Item,{label:"\u65B0\u5BC6\u7801",name:"newPassword",rules:[{},{validator:E}]},o.createElement(l.default,{type:"password",placeholder:"\u8BF7\u8F93\u51658\uFF5E16\u4F4D\u7684\u65B0\u5BC6\u7801\uFF0C\u533A\u5206\u5927\u5C0F\u5199"}))),o.createElement(h.Z,{title:o.createElement("div",null,o.createElement("span",null,"\u957F\u5EA6\u4E3A8-16\u4F4D\u5B57\u7B26"),o.createElement("br",null),o.createElement("span",null,"\u5B57\u6BCD/\u6570\u5B57\u4EE5\u53CA\u6807\u70B9\u7B26\u53F7\u81F3\u5C11\u5305\u542B2\u79CD"),o.createElement("br",null),o.createElement("span",null,"\u4E0D\u5141\u8BB8\u6709\u7A7A\u683C\u3001\u4E2D\u6587")),placement:"top"},o.createElement(g.default.Item,{label:"\u518D\u6B21\u8F93\u5165",name:"againPassword",rules:[{required:!0,message:"\u8BF7\u518D\u6B21\u8F93\u5165\u65B0\u5BC6\u7801"},{validator:(ee,Ce,_)=>{Ce!=U.getFieldsValue().newPassword?_("\u4E24\u6B21\u8F93\u5165\u7684\u65B0\u5BC6\u7801\u5FC5\u987B\u4E00\u81F4\uFF01"):_()}}]},o.createElement(l.default,{type:"password",placeholder:"\u8BF7\u518D\u6B21\u8F93\u5165\u65B0\u5BC6\u7801"}))),o.createElement(g.default.Item,{noStyle:!0},o.createElement("div",{className:s.buttonWrap},o.createElement(m.ZP,{className:`${s.submitButton}`,size:"middle",type:"primary",htmlType:"submit"},"\u786E\u5B9A"),o.createElement(m.ZP,{className:s.submitButton,size:"middle",onClick:()=>q(null)},"\u53D6\u6D88")))),o.createElement("div",{className:s.row},o.createElement("span",{className:`${s.name} ${s.color999}`},"\u767B\u5F55\u9650\u5236"),o.createElement("div",{className:s.limit},o.createElement(A.Z,{size:"default",checked:(Y=a==null?void 0:a.basicInfo)==null?void 0:Y.login_restrict,onChange:ee=>{tt.current=ee,Et(!0)}}),o.createElement("span",{className:"ml15"},(J=a==null?void 0:a.basicInfo)!=null&&J.login_restrict?"\u5DF2\u5F00\u542F":"\u672A\u5F00\u542F"),o.createElement("span",{style:{color:"#cdcdcd"}},"\uFF08\u5F00\u542F\u540E\uFF0C\u9650\u5236\u8D26\u53F7\u4EC5\u80FD\u5728\u4E00\u53F0\u8BBE\u5907\u4E0A\u767B\u5F55\uFF09"))))),o.createElement("div",{className:`${s.hint} font14`},"* \u6211\u4EEC\u786E\u4FDD\u4F60\u6240\u63D0\u4F9B\u7684\u4FE1\u606F\u5747\u5904\u4E8E\u4E25\u683C\u4FDD\u5BC6\u72B6\u6001\uFF0C\u4E0D\u4F1A\u6CC4\u9732")),o.createElement($.default,{title:"\u63D0\u793A",open:Je,onCancel:()=>{at(!1)},footer:o.createElement("div",null,o.createElement(m.ZP,{style:{textAlign:"end"},type:"primary",onClick:()=>at(!1)},"\u786E \u5B9A"))},o.createElement("div",{style:{padding:"7px 24px"}},o.createElement("span",null,"\u60A8\u76EE\u524D\u53EA\u6709\u624B\u673A\u53F7\u767B\u5F55\u4E00\u79CD\u65B9\u5F0F\uFF0C\u89E3\u7ED1\u540E\u5C06\u65E0\u6CD5\u6B63\u5E38\u4F7F\u7528\u5E73\u53F0\uFF0C\u9700\u8981\u60A8\u5148\u7ED1\u5B9A\u4EE5\u4E0B\u7684\u4EFB\u610F\u4E00\u79CD\u767B\u5F55\u65B9\u5F0F\uFF0C\u518D\u8FDB\u884C\u89E3\u7ED1\u3002"),o.createElement("br",null),o.createElement("p",{style:{marginTop:"1em",display:"flex"}},o.createElement("span",{style:{flex:"1"}},"1\u3001\u7ED1\u5B9A\u90AE\u7BB1 ")," ",o.createElement(m.ZP,{style:{height:24,padding:"0px 11px",borderRadius:12},type:"primary",ghost:!0,onClick:()=>at(!1)},"\u524D\u5F80\u7ED1\u5B9A")))),o.createElement($.default,{title:"\u624B\u673A\u53F7\u89E3\u7ED1",open:vt,onCancel:()=>ot(!1),onOk:()=>ve(void 0,null,function*(){var ee,Ce;if(!Ft){M.ZP.info("\u9A8C\u8BC1\u7801\u4E0D\u80FD\u4E3A\u7A7A");return}let _=yield(0,P.ZP)(`/api/users/accounts/${(ee=D==null?void 0:D.userInfo)==null?void 0:ee.login}/phone_unbind.json`,{method:"POST",body:{code:Ft}});(_==null?void 0:_.status)===0&&(M.ZP.info("\u89E3\u7ED1\u6210\u529F"),Ee(!1),ot(!1),At(""),p({type:"account/getBasicInfo",payload:{login:(Ce=D.userInfo)==null?void 0:Ce.login}}))})},o.createElement("div",{style:{padding:"8px 20px"}},o.createElement("p",null,"\u624B\u673A\u53F7\u89E3\u7ED1\u540E\uFF0C\u5C06\u65E0\u6CD5\u4F7F\u7528\u8BE5\u624B\u673A\u53F7\u767B\u5F55\u5E73\u53F0\uFF0C\u8BF7\u77E5\u6089"),o.createElement("p",null,"\u4F60\u7684\u624B\u673A\u53F7\uFF1A",(fe=a.basicInfo)==null?void 0:fe.phone),o.createElement("p",null,"\u624B\u673A\u9A8C\u8BC1\u7801\uFF1A",o.createElement(l.default,{size:"middle",value:Ft,onChange:ee=>At(ee.target.value),style:{width:"220px"}})," ",o.createElement(m.ZP,{disabled:oe,type:"primary",size:"middle",onClick:()=>ve(void 0,null,function*(){var ee;let Ce=yield(0,P.ZP)(`/api/users/accounts/${(ee=D==null?void 0:D.userInfo)==null?void 0:ee.login}/get_phone_code.json`,{method:"get"});(Ce==null?void 0:Ce.status)===0&&(M.ZP.info("\u9A8C\u8BC1\u7801\u53D1\u9001\u6210\u529F"),Ee(!0))})},oe?`\u91CD\u65B0\u53D1\u9001${V}s`:"\u83B7\u53D6\u9A8C\u8BC1\u7801")))),o.createElement($.default,{title:"\u5F3A\u5236\u89E3\u7ED1",open:ht,onCancel:()=>Qe(!1),onOk:()=>ve(void 0,null,function*(){var ee,Ce;if(!$t){M.ZP.info("\u9A8C\u8BC1\u7801\u4E0D\u80FD\u4E3A\u7A7A");return}let _=yield(0,P.ZP)(`/api/users/accounts/${(ee=D==null?void 0:D.userInfo)==null?void 0:ee.login}/phone_force_unbind.json`,{method:"POST",body:{code:$t,phone:U.getFieldValue("phone")}});(_==null?void 0:_.status)===0&&(M.ZP.info("\u89E3\u7ED1\u6210\u529F"),Ee(!1),Qe(!1),q(null),Ot(""),p({type:"account/getBasicInfo",payload:{login:(Ce=D.userInfo)==null?void 0:Ce.login}}))})},o.createElement("div",{style:{padding:"8px 20px"}},o.createElement("p",null,"\u82E5\u539F\u8D26\u53F7\u53EA\u6709\u7ED1\u5B9A\u4E86\u624B\u673A\u53F7\u4E00\u79CD\u767B\u5F55\u65B9\u5F0F\uFF0C\u5F3A\u5236\u89E3\u7ED1\u540E\u4F1A\u5BFC\u81F4\u539F\u8D26\u53F7\u65E0\u6CD5\u767B\u5F55\uFF0C\u8BF7\u786E\u5B9A\u662F\u5426\u5F3A\u5236\u89E3\u7ED1"),o.createElement("p",null,"\u4F60\u7684\u624B\u673A\u53F7\uFF1A",U.getFieldValue("phone")),o.createElement("p",null,"\u624B\u673A\u9A8C\u8BC1\u7801\uFF1A",o.createElement(l.default,{value:$t,size:"middle",onChange:ee=>Ot(ee.target.value),style:{width:"230px"}})," ",o.createElement(m.ZP,{disabled:oe,type:"primary",size:"middle",onClick:()=>ve(void 0,null,function*(){let ee=(0,pe.M)(U.getFieldValue("phone"));(yield p({type:"account/getCode",payload:{login:U.getFieldValue("phone"),type:10,smscode:ee}})).status===1&&(M.ZP.info("\u9A8C\u8BC1\u7801\u5DF2\u53D1\u9001\uFF0C\u8BF7\u6CE8\u610F\u67E5\u6536"),Ee(!0))})},oe?`\u91CD\u65B0\u53D1\u9001${V}s`:"\u83B7\u53D6\u9A8C\u8BC1\u7801")))),o.createElement($.default,{title:"\u63D0\u793A",open:pt,onCancel:()=>{it(!1)},okText:"\u8FDB\u884C\u5F3A\u5236\u89E3\u7ED1",okButtonProps:{type:"primary",ghost:!0,style:{width:"124px"}},onOk:()=>{Qe(!0),it(!1)}},o.createElement("div",{style:{padding:"7px 24px"}},o.createElement("span",null,"\u8BE5\u624B\u673A\u53F7\u5DF2\u7ECF\u88AB\u7ED1\u5B9A\u8D26\u53F7\uFF0C\u5982\u679C\u9700\u8981\u5C06\u8BE5\u624B\u673A\u53F7\u7ED1\u5B9A\u5728\u5F53\u524D\u8D26\u53F7\u4E0A\uFF0C\u4F60\u53EF\u4EE5\u8FDB\u884C\u4E0B\u65B9\u4EFB\u610F\u4E00\u79CD\u89E3\u7ED1\u64CD\u4F5C\uFF1A"),o.createElement("br",null),o.createElement("p",{style:{marginTop:"1em",display:"flex"}},o.createElement("span",{style:{flex:"1"}},"1\u3001\u4F7F\u7528\u8BE5\u624B\u673A\u53F7\u767B\u5F55\u5E73\u53F0\u8FDB\u884C\u89E3\u7ED1\uFF0C\u518D\u5C06\u624B\u673A\u53F7\u7ED1\u5B9A\u5F53\u524D\u8D26\u53F7\u4E0A\u3002")),o.createElement("p",{style:{marginTop:"1em",display:"flex"}},o.createElement("span",{style:{flex:"1"}},"2\u3001\u5F3A\u5236\u89E3\u7ED1\uFF08\u5F3A\u5236\u89E3\u7ED1\u53EF\u80FD\u4F1A\u5BFC\u81F4\u89E3\u7ED1\u8D26\u53F7\u65E0\u6CD5\u767B\u5F55\uFF09")))),o.createElement($.default,{title:`${tt.current?"\u5F00\u542F":"\u5173\u95ED"}\u767B\u5F55\u9650\u5236`,open:Ve,onCancel:()=>{Et(!1)},okText:`\u786E\u8BA4${tt.current?"\u5F00\u542F":"\u5173\u95ED"}`,confirmLoading:st,onOk:()=>ve(void 0,null,function*(){var ee,Ce;bt(!0);let _=yield(0,P.ZP)(`/api/users/accounts/${(ee=D==null?void 0:D.userInfo)==null?void 0:ee.login}/login_restrict.json`,{method:"POST",body:{login_restrict:tt.current}});(_==null?void 0:_.status)===0&&(M.ZP.info(`${tt.current?"\u5F00\u542F":"\u5173\u95ED"}\u767B\u5F55\u9650\u5236\u6210\u529F`),Et(!1),p({type:"account/getBasicInfo",payload:{login:(Ce=D.userInfo)==null?void 0:Ce.login}})),bt(!1)})},o.createElement("div",null,tt.current?"\u5F00\u542F\u767B\u5F55\u9650\u5236\u540E\uFF0C\u5176\u4ED6\u8BBE\u5907\u4E0A\u8BE5\u8D26\u53F7\u7684\u767B\u5F55\u72B6\u6001\u5C06\u4F1A\u88AB\u5F3A\u5236\u4E0B\u7EBF\u3002\u8BF7\u786E\u8BA4\u662F\u5426\u5F00\u542F\u767B\u5F55\u9650\u5236":"\u5173\u95ED\u767B\u5F55\u9650\u5236\u540E\uFF0C\u8BE5\u8D26\u53F7\u53EF\u5728\u591A\u53F0\u8BBE\u5907\u4E0A\u767B\u5F55\u3002\u8BF7\u786E\u8BA4\u662F\u5426\u5173\u95ED\u767B\u5F55\u9650\u5236")))};var k=(0,H.connect)(({user:N,account:L,loading:D,globalSetting:a})=>({user:N,account:L,globalSetting:a,loading:D.models.index}))(X)},78279:function(He,ne,t){t.d(ne,{Y:function(){return H}});var x=t(59301);function H(g,M){const l=(0,x.useRef)(),m=(0,x.useRef)();(0,x.useEffect)(()=>{l.current=g}),(0,x.useEffect)(()=>{function h(){l.current()}if(M!==null){let A=setInterval(h,M);return m.current=A,()=>clearInterval(A)}},[M])}},19080:function(He,ne,t){t.d(ne,{F:function(){return l},Z:function(){return M}});var x=t(92310),H=t.n(x);const g=null;function M(m,h,A){return H()({[`${m}-status-success`]:h==="success",[`${m}-status-warning`]:h==="warning",[`${m}-status-error`]:h==="error",[`${m}-status-validating`]:h==="validating",[`${m}-has-feedback`]:A})}const l=(m,h)=>h||m},78241:function(He,ne,t){t.d(ne,{default:function(){return me}});var x=t(94480),H=t(92310),g=t.n(H),M=t(77900),l=t(59301),m=t(62892),h=t(32441);function A(e){const[i,d]=l.useState(e);return l.useEffect(()=>{const f=setTimeout(()=>{d(e)},e.length?0:10);return()=>{clearTimeout(f)}},[e]),i}var $=t(17313),s=t(29878),K=t(8378),pe=t(37613),P=t(83116),le=e=>{const{componentCls:i}=e,d=`${i}-show-help`,f=`${i}-show-help-item`;return{[d]:{transition:`opacity ${e.motionDurationSlow} ${e.motionEaseInOut}`,"&-appear, &-enter":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}},[f]:{overflow:"hidden",transition:`height ${e.motionDurationSlow} ${e.motionEaseInOut}, - opacity ${e.motionDurationSlow} ${e.motionEaseInOut}, - transform ${e.motionDurationSlow} ${e.motionEaseInOut} !important`,[`&${f}-appear, &${f}-enter`]:{transform:"translateY(-5px)",opacity:0,"&-active":{transform:"translateY(0)",opacity:1}},[`&${f}-leave-active`]:{transform:"translateY(-5px)"}}}}};const ce=e=>({legend:{display:"block",width:"100%",marginBottom:e.marginLG,padding:0,color:e.colorTextDescription,fontSize:e.fontSizeLG,lineHeight:"inherit",border:0,borderBottom:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`},label:{fontSize:e.fontSize},'input[type="search"]':{boxSizing:"border-box"},'input[type="radio"], input[type="checkbox"]':{lineHeight:"normal"},'input[type="file"]':{display:"block"},'input[type="range"]':{display:"block",width:"100%"},"select[multiple], select[size]":{height:"auto"},"input[type='file']:focus,\n input[type='radio']:focus,\n input[type='checkbox']:focus":{outline:0,boxShadow:`0 0 0 ${e.controlOutlineWidth}px ${e.controlOutline}`},output:{display:"block",paddingTop:15,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight}}),be=(e,i)=>{const{formItemCls:d}=e;return{[d]:{[`${d}-label > label`]:{height:i},[`${d}-control-input`]:{minHeight:i}}}},Fe=e=>{const{componentCls:i}=e;return{[e.componentCls]:Object.assign(Object.assign(Object.assign({},(0,$.Wf)(e)),ce(e)),{[`${i}-text`]:{display:"inline-block",paddingInlineEnd:e.paddingSM},"&-small":Object.assign({},be(e,e.controlHeightSM)),"&-large":Object.assign({},be(e,e.controlHeightLG))})}},ve=e=>{const{formItemCls:i,iconCls:d,componentCls:f,rootPrefixCls:O,labelRequiredMarkColor:W,labelColor:ue,labelFontSize:we,labelHeight:ye,labelColonMarginInlineStart:$e,labelColonMarginInlineEnd:De,itemMarginBottom:Be}=e;return{[i]:Object.assign(Object.assign({},(0,$.Wf)(e)),{marginBottom:Be,verticalAlign:"top","&-with-help":{transition:"none"},[`&-hidden, - &-hidden.${O}-row`]:{display:"none"},"&-has-warning":{[`${i}-split`]:{color:e.colorError}},"&-has-error":{[`${i}-split`]:{color:e.colorWarning}},[`${i}-label`]:{flexGrow:0,overflow:"hidden",whiteSpace:"nowrap",textAlign:"end",verticalAlign:"middle","&-left":{textAlign:"start"},"&-wrap":{overflow:"unset",lineHeight:`${e.lineHeight} - 0.25em`,whiteSpace:"unset"},"> label":{position:"relative",display:"inline-flex",alignItems:"center",maxWidth:"100%",height:ye,color:ue,fontSize:we,[`> ${d}`]:{fontSize:e.fontSize,verticalAlign:"top"},[`&${i}-required:not(${i}-required-mark-optional)::before`]:{display:"inline-block",marginInlineEnd:e.marginXXS,color:W,fontSize:e.fontSize,fontFamily:"SimSun, sans-serif",lineHeight:1,content:'"*"',[`${f}-hide-required-mark &`]:{display:"none"}},[`${i}-optional`]:{display:"inline-block",marginInlineStart:e.marginXXS,color:e.colorTextDescription,[`${f}-hide-required-mark &`]:{display:"none"}},[`${i}-tooltip`]:{color:e.colorTextDescription,cursor:"help",writingMode:"horizontal-tb",marginInlineStart:e.marginXXS},"&::after":{content:'":"',position:"relative",marginBlock:0,marginInlineStart:$e,marginInlineEnd:De},[`&${i}-no-colon::after`]:{content:'"\\a0"'}}},[`${i}-control`]:{"--ant-display":"flex",flexDirection:"column",flexGrow:1,[`&:first-child:not([class^="'${O}-col-'"]):not([class*="' ${O}-col-'"])`]:{width:"100%"},"&-input":{position:"relative",display:"flex",alignItems:"center",minHeight:e.controlHeight,"&-content":{flex:"auto",maxWidth:"100%"}}},[i]:{"&-explain, &-extra":{clear:"both",color:e.colorTextDescription,fontSize:e.fontSize,lineHeight:e.lineHeight},"&-explain-connected":{width:"100%"},"&-extra":{minHeight:e.controlHeightSM,transition:`color ${e.motionDurationMid} ${e.motionEaseOut}`},"&-explain":{"&-error":{color:e.colorError},"&-warning":{color:e.colorWarning}}},[`&-with-help ${i}-explain`]:{height:"auto",opacity:1},[`${i}-feedback-icon`]:{fontSize:e.fontSize,textAlign:"center",visibility:"visible",animationName:s.kr,animationDuration:e.motionDurationMid,animationTimingFunction:e.motionEaseOutBack,pointerEvents:"none","&-success":{color:e.colorSuccess},"&-error":{color:e.colorError},"&-warning":{color:e.colorWarning},"&-validating":{color:e.colorPrimary}}})}},B=e=>{const{componentCls:i,formItemCls:d}=e;return{[`${i}-horizontal`]:{[`${d}-label`]:{flexGrow:0},[`${d}-control`]:{flex:"1 1 0",minWidth:0},[`${d}-label[class$='-24'], ${d}-label[class*='-24 ']`]:{[`& + ${d}-control`]:{minWidth:"unset"}}}}},R=e=>{const{componentCls:i,formItemCls:d}=e;return{[`${i}-inline`]:{display:"flex",flexWrap:"wrap",[d]:{flex:"none",marginInlineEnd:e.margin,marginBottom:0,"&-row":{flexWrap:"nowrap"},[`> ${d}-label, - > ${d}-control`]:{display:"inline-block",verticalAlign:"top"},[`> ${d}-label`]:{flex:"none"},[`${i}-text`]:{display:"inline-block"},[`${d}-has-feedback`]:{display:"inline-block"}}}}},n=e=>({padding:e.verticalLabelPadding,margin:e.verticalLabelMargin,whiteSpace:"initial",textAlign:"start","> label":{margin:0,"&::after":{visibility:"hidden"}}}),r=e=>{const{componentCls:i,formItemCls:d,rootPrefixCls:f}=e;return{[`${d} ${d}-label`]:n(e),[i]:{[d]:{flexWrap:"wrap",[`${d}-label, ${d}-control`]:{[`&:not([class*=" ${f}-col-xs"])`]:{flex:"0 0 100%",maxWidth:"100%"}}}}}},E=e=>{const{componentCls:i,formItemCls:d,rootPrefixCls:f}=e;return{[`${i}-vertical`]:{[d]:{"&-row":{flexDirection:"column"},"&-label > label":{height:"auto"},[`${i}-item-control`]:{width:"100%"}}},[`${i}-vertical ${d}-label, - .${f}-col-24${d}-label, - .${f}-col-xl-24${d}-label`]:n(e),[`@media (max-width: ${e.screenXSMax}px)`]:[r(e),{[i]:{[`.${f}-col-xs-24${d}-label`]:n(e)}}],[`@media (max-width: ${e.screenSMMax}px)`]:{[i]:{[`.${f}-col-sm-24${d}-label`]:n(e)}},[`@media (max-width: ${e.screenMDMax}px)`]:{[i]:{[`.${f}-col-md-24${d}-label`]:n(e)}},[`@media (max-width: ${e.screenLGMax}px)`]:{[i]:{[`.${f}-col-lg-24${d}-label`]:n(e)}}}},z=(e,i)=>(0,pe.TS)(e,{formItemCls:`${e.componentCls}-item`,rootPrefixCls:i});var X=(0,P.Z)("Form",(e,i)=>{let{rootPrefixCls:d}=i;const f=z(e,d);return[Fe(f),ve(f),le(f),B(f),R(f),E(f),(0,K.Z)(f),s.kr]},e=>({labelRequiredMarkColor:e.colorError,labelColor:e.colorTextHeading,labelFontSize:e.fontSize,labelHeight:e.controlHeight,labelColonMarginInlineStart:e.marginXXS/2,labelColonMarginInlineEnd:e.marginXS,itemMarginBottom:e.marginLG,verticalLabelPadding:`0 0 ${e.paddingXS}px`,verticalLabelMargin:0}),{order:-1e3});const k=[];function N(e,i,d){let f=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;return{key:typeof e=="string"?e:`${i}-${f}`,error:e,errorStatus:d}}var D=e=>{let{help:i,helpStatus:d,errors:f=k,warnings:O=k,className:W,fieldId:ue,onVisibleChanged:we}=e;const{prefixCls:ye}=l.useContext(h.Rk),$e=`${ye}-item-explain`,[,De]=X(ye),Be=(0,l.useMemo)(()=>(0,m.Z)(ye),[ye]),Ke=A(f),Ze=A(O),Ge=l.useMemo(()=>i!=null?[N(i,"help",d)]:[].concat((0,x.Z)(Ke.map((We,Me)=>N(We,"error","error",Me))),(0,x.Z)(Ze.map((We,Me)=>N(We,"warning","warning",Me)))),[i,d,Ke,Ze]),Le={};return ue&&(Le.id=`${ue}_help`),l.createElement(M.default,{motionDeadline:Be.motionDeadline,motionName:`${ye}-show-help`,visible:!!Ge.length,onVisibleChanged:we},We=>{const{className:Me,style:ge}=We;return l.createElement("div",Object.assign({},Le,{className:g()($e,Me,W,De),style:ge,role:"alert"}),l.createElement(M.CSSMotionList,Object.assign({keys:Ge},(0,m.Z)(ye),{motionName:`${ye}-show-help-item`,component:!1}),je=>{const{key:Ne,error:Pe,errorStatus:Te,className:qe,style:_e}=je;return l.createElement("div",{key:Ne,className:g()(qe,{[`${$e}-${Te}`]:Te}),style:_e},Pe)}))})},a=t(95013),v=t(36355),w=t(1684),p=t(52946),c=t(19716),y=t(16722);const C=["parentNode"],u="form_item";function b(e){return e===void 0||e===!1?[]:Array.isArray(e)?e:[e]}function Z(e,i){if(!e.length)return;const d=e.join("_");return i?`${i}_${d}`:C.includes(d)?`${u}_${d}`:d}function T(e,i,d,f,O,W){let ue=f;return W!==void 0?ue=W:d.validating?ue="validating":e.length?ue="error":i.length?ue="warning":(d.touched||O&&d.validated)&&(ue="success"),ue}function F(e){return b(e).join("_")}function I(e){const[i]=(0,a.useForm)(),d=l.useRef({}),f=l.useMemo(()=>e!=null?e:Object.assign(Object.assign({},i),{__INTERNAL__:{itemRef:O=>W=>{const ue=F(O);W?d.current[ue]=W:delete d.current[ue]}},scrollToField:function(O){let W=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const ue=b(O),we=Z(ue,f.__INTERNAL__.name),ye=we?document.getElementById(we):null;ye&&(0,y.Z)(ye,Object.assign({scrollMode:"if-needed",block:"nearest"},W))},getFieldInstance:O=>{const W=F(O);return d.current[W]}}),[e,i]);return[f]}var S=t(28726),Q=function(e,i){var d={};for(var f in e)Object.prototype.hasOwnProperty.call(e,f)&&i.indexOf(f)<0&&(d[f]=e[f]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var O=0,f=Object.getOwnPropertySymbols(e);O{const d=l.useContext(w.Z),{getPrefixCls:f,direction:O,form:W}=l.useContext(v.E_),{prefixCls:ue,className:we,rootClassName:ye,size:$e,disabled:De=d,form:Be,colon:Ke,labelAlign:Ze,labelWrap:Ge,labelCol:Le,wrapperCol:We,hideRequiredMark:Me,layout:ge="horizontal",scrollToFirstError:je,requiredMark:Ne,onFinishFailed:Pe,name:Te,style:qe,feedbackIcons:_e}=e,Ct=Q(e,["prefixCls","className","rootClassName","size","disabled","form","colon","labelAlign","labelWrap","labelCol","wrapperCol","hideRequiredMark","layout","scrollToFirstError","requiredMark","onFinishFailed","name","style","feedbackIcons"]),rt=(0,c.Z)($e),ct=l.useContext(S.Z),dt=(0,l.useMemo)(()=>Ne!==void 0?Ne:W&&W.requiredMark!==void 0?W.requiredMark:!Me,[Me,Ne,W]),xt=Ke!=null?Ke:W==null?void 0:W.colon,Xe=f("form",ue),[ft,mt]=X(Xe),Mt=g()(Xe,`${Xe}-${ge}`,{[`${Xe}-hide-required-mark`]:dt===!1,[`${Xe}-rtl`]:O==="rtl",[`${Xe}-${rt}`]:rt},mt,W==null?void 0:W.className,we,ye),[gt]=I(Be),{__INTERNAL__:St}=gt;St.name=Te;const Nt=(0,l.useMemo)(()=>({name:Te,labelAlign:Ze,labelCol:Le,labelWrap:Ge,wrapperCol:We,vertical:ge==="vertical",colon:xt,requiredMark:dt,itemRef:St.itemRef,form:gt,feedbackIcons:_e}),[Te,Ze,Le,We,ge,xt,dt,gt,_e]);l.useImperativeHandle(i,()=>gt);const Tt=(nt,Re)=>{if(nt){let Ye={block:"nearest"};typeof nt=="object"&&(Ye=nt),gt.scrollToField(Re,Ye)}},Lt=nt=>{if(Pe==null||Pe(nt),nt.errorFields.length){const Re=nt.errorFields[0].name;if(je!==void 0){Tt(je,Re);return}W&&W.scrollToFirstError!==void 0&&Tt(W.scrollToFirstError,Re)}};return ft(l.createElement(w.n,{disabled:De},l.createElement(p.q,{size:rt},l.createElement(h.RV,Object.assign({},{validateMessages:ct}),l.createElement(h.q3.Provider,{value:Nt},l.createElement(a.default,Object.assign({id:Te},Ct,{name:Te,onFinishFailed:Lt,form:gt,style:Object.assign(Object.assign({},W==null?void 0:W.style),qe),className:Mt})))))))};var he=l.forwardRef(ie),te=t(41799),G=t(8654),de=t(92343),Se=t(11592);function se(e){if(typeof e=="function")return e;const i=(0,Se.Z)(e);return i.length<=1?i[0]:i}const Y=()=>{const{status:e,errors:i=[],warnings:d=[]}=(0,l.useContext)(h.aM);return{status:e,errors:i,warnings:d}};Y.Context=h.aM;var J=Y,fe=t(16089);function U(e){const[i,d]=l.useState(e),f=(0,l.useRef)(null),O=(0,l.useRef)([]),W=(0,l.useRef)(!1);l.useEffect(()=>(W.current=!1,()=>{W.current=!0,fe.Z.cancel(f.current),f.current=null}),[]);function ue(we){W.current||(f.current===null&&(O.current=[],f.current=(0,fe.Z)(()=>{f.current=null,d(ye=>{let $e=ye;return O.current.forEach(De=>{$e=De($e)}),$e})})),O.current.push(we))}return[i,ue]}function re(){const{itemRef:e}=l.useContext(h.q3),i=l.useRef({});function d(f,O){const W=O&&typeof O=="object"&&O.ref,ue=f.join("_");return(i.current.name!==ue||i.current.originRef!==W)&&(i.current.name=ue,i.current.originRef=W,i.current.ref=(0,G.sQ)(e(f),W)),i.current.ref}return d}var q=t(29194),V=t(34280),Ae=t(2738),oe=t(27382),Ee=t(37028);const Ie=e=>{const{formItemCls:i}=e;return{"@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none)":{[`${i}-control`]:{display:"flex"}}}};var ze=(0,P.b)(["Form","item-item"],(e,i)=>{let{rootPrefixCls:d}=i;const f=z(e,d);return[Ie(f)]}),xe=e=>{const{prefixCls:i,status:d,wrapperCol:f,children:O,errors:W,warnings:ue,_internalItemRender:we,extra:ye,help:$e,fieldId:De,marginBottom:Be,onErrorVisibleChanged:Ke}=e,Ze=`${i}-item`,Ge=l.useContext(h.q3),Le=f||Ge.wrapperCol||{},We=g()(`${Ze}-control`,Le.className),Me=l.useMemo(()=>Object.assign({},Ge),[Ge]);delete Me.labelCol,delete Me.wrapperCol;const ge=l.createElement("div",{className:`${Ze}-control-input`},l.createElement("div",{className:`${Ze}-control-input-content`},O)),je=l.useMemo(()=>({prefixCls:i,status:d}),[i,d]),Ne=Be!==null||W.length||ue.length?l.createElement("div",{style:{display:"flex",flexWrap:"nowrap"}},l.createElement(h.Rk.Provider,{value:je},l.createElement(D,{fieldId:De,errors:W,warnings:ue,help:$e,helpStatus:d,className:`${Ze}-explain-connected`,onVisibleChanged:Ke})),!!Be&&l.createElement("div",{style:{width:0,height:Be}})):null,Pe={};De&&(Pe.id=`${De}_extra`);const Te=ye?l.createElement("div",Object.assign({},Pe,{className:`${Ze}-extra`}),ye):null,qe=we&&we.mark==="pro_table_render"&&we.render?we.render(e,{input:ge,errorList:Ne,extra:Te}):l.createElement(l.Fragment,null,ge,Ne,Te);return l.createElement(h.q3.Provider,{value:Me},l.createElement(Ee.Z,Object.assign({},Le,{className:We}),qe),l.createElement(ze,{prefixCls:i}))},Oe=t(61485),Je=t(31724),at=t(9763),vt=t(6848),ot=function(e,i){var d={};for(var f in e)Object.prototype.hasOwnProperty.call(e,f)&&i.indexOf(f)<0&&(d[f]=e[f]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var O=0,f=Object.getOwnPropertySymbols(e);O{let{prefixCls:i,label:d,htmlFor:f,labelCol:O,labelAlign:W,colon:ue,required:we,requiredMark:ye,tooltip:$e}=e;var De;const[Be]=(0,at.Z)("Form"),{vertical:Ke,labelAlign:Ze,labelCol:Ge,labelWrap:Le,colon:We}=l.useContext(h.q3);if(!d)return null;const Me=O||Ge||{},ge=W||Ze,je=`${i}-item-label`,Ne=g()(je,ge==="left"&&`${je}-left`,Me.className,{[`${je}-wrap`]:!!Le});let Pe=d;const Te=ue===!0||We!==!1&&ue!==!1;Te&&!Ke&&typeof d=="string"&&d.trim()!==""&&(Pe=d.replace(/[:|:]\s*$/,""));const _e=pt($e);if(_e){const{icon:dt=l.createElement(Oe.Z,null)}=_e,xt=ot(_e,["icon"]),Xe=l.createElement(vt.Z,Object.assign({},xt),l.cloneElement(dt,{className:`${i}-item-tooltip`,title:""}));Pe=l.createElement(l.Fragment,null,Pe,Xe)}const Ct=ye==="optional",rt=typeof ye=="function";rt?Pe=ye(Pe,{required:!!we}):Ct&&!we&&(Pe=l.createElement(l.Fragment,null,Pe,l.createElement("span",{className:`${i}-item-optional`,title:""},(Be==null?void 0:Be.optional)||((De=Je.Z.Form)===null||De===void 0?void 0:De.optional))));const ct=g()({[`${i}-item-required`]:we,[`${i}-item-required-mark-optional`]:Ct||rt,[`${i}-item-no-colon`]:!Te});return l.createElement(Ee.Z,Object.assign({},Me,{className:Ne}),l.createElement("label",{htmlFor:f,className:ct,title:typeof d=="string"?d:""},Pe))},Qe=t(29679),Ve=t(19248),Et=t(96512),tt=t(58617);const st={success:Qe.Z,warning:Et.Z,error:Ve.Z,validating:tt.Z};function bt(e){let{children:i,errors:d,warnings:f,hasFeedback:O,validateStatus:W,prefixCls:ue,meta:we,noStyle:ye}=e;const $e=`${ue}-item`,{feedbackIcons:De}=l.useContext(h.q3),Be=T(d,f,we,null,!!O,W),{isFormItemInput:Ke,status:Ze}=l.useContext(h.aM),Ge=l.useMemo(()=>{var Le;let We;if(O){const je=O!==!0&&O.icons||De,Ne=Be&&((Le=je==null?void 0:je({status:Be,errors:d,warnings:f}))===null||Le===void 0?void 0:Le[Be]),Pe=Be&&st[Be];We=Ne!==!1&&Pe?l.createElement("span",{className:g()(`${$e}-feedback-icon`,`${$e}-feedback-icon-${Be}`)},Ne||l.createElement(Pe,null)):null}let Me=!0,ge=Be||"";return ye&&(Me=Ke,ge=(Be!=null?Be:Ze)||""),{status:ge,errors:d,warnings:f,hasFeedback:!!O,feedbackIcon:We,isFormItemInput:Me}},[Be,O,ye,Ke,Ze]);return l.createElement(h.aM.Provider,{value:Ge},i)}var Ft=function(e,i){var d={};for(var f in e)Object.prototype.hasOwnProperty.call(e,f)&&i.indexOf(f)<0&&(d[f]=e[f]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var O=0,f=Object.getOwnPropertySymbols(e);O{if(_e&&Ne.current){const mt=getComputedStyle(Ne.current);ct(parseInt(mt.marginBottom,10))}},[_e,Ct]);const dt=mt=>{mt||ct(null)},Xe=function(){let mt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;const Mt=mt?Pe:$e.errors,gt=mt?Te:$e.warnings;return T(Mt,gt,$e,"",!!De,ye)}(),ft=g()(ge,d,f,{[`${ge}-with-help`]:qe||Pe.length||Te.length,[`${ge}-has-feedback`]:Xe&&De,[`${ge}-has-success`]:Xe==="success",[`${ge}-has-warning`]:Xe==="warning",[`${ge}-has-error`]:Xe==="error",[`${ge}-is-validating`]:Xe==="validating",[`${ge}-hidden`]:Be});return l.createElement("div",{className:ft,style:O,ref:Ne},l.createElement(oe.Z,Object.assign({className:`${ge}-row`},(0,Ae.Z)(Me,["_internalItemRender","colon","dependencies","extra","fieldKey","getValueFromEvent","getValueProps","htmlFor","id","initialValue","isListField","label","labelAlign","labelCol","labelWrap","messageVariables","name","normalize","noStyle","preserve","requiredMark","rules","shouldUpdate","trigger","tooltip","validateFirst","validateTrigger","valuePropName","wrapperCol","validateDebounce"])),l.createElement(ht,Object.assign({htmlFor:Ze},e,{requiredMark:je,required:Ge!=null?Ge:Le,prefixCls:i})),l.createElement(xe,Object.assign({},e,$e,{errors:Pe,warnings:Te,prefixCls:i,status:Xe,help:W,marginBottom:rt,onErrorVisibleChanged:dt}),l.createElement(h.qI.Provider,{value:We},l.createElement(bt,{prefixCls:i,meta:$e,errors:$e.errors,warnings:$e.warnings,hasFeedback:De,validateStatus:Xe},Ke)))),!!rt&&l.createElement("div",{className:`${ge}-margin-offset`,style:{marginBottom:-rt}}))}const $t="__SPLIT__",Ot=null,Pt=l.memo(e=>{let{children:i}=e;return i},(e,i)=>e.value===i.value&&e.update===i.update&&e.childProps.length===i.childProps.length&&e.childProps.every((d,f)=>d===i.childProps[f]));function Rt(e){return e!=null}function lt(){return{errors:[],warnings:[],touched:!1,validating:!1,name:[],validated:!1}}function It(e){const{name:i,noStyle:d,className:f,dependencies:O,prefixCls:W,shouldUpdate:ue,rules:we,children:ye,required:$e,label:De,messageVariables:Be,trigger:Ke="onChange",validateTrigger:Ze,hidden:Ge,help:Le}=e,{getPrefixCls:We}=l.useContext(v.E_),{name:Me}=l.useContext(h.q3),ge=se(ye),je=typeof ge=="function",Ne=l.useContext(h.qI),{validateTrigger:Pe}=l.useContext(a.FieldContext),Te=Ze!==void 0?Ze:Pe,qe=Rt(i),_e=We("form",W),[Ct,rt]=X(_e),ct=l.useContext(a.ListContext),dt=l.useRef(),[xt,Xe]=U({}),[ft,mt]=(0,te.Z)(()=>lt()),Mt=Re=>{const Ye=ct==null?void 0:ct.getKey(Re.name);if(mt(Re.destroy?lt():Re,!0),d&&Le!==!1&&Ne){let ke=Re.name;if(Re.destroy)ke=dt.current||ke;else if(Ye!==void 0){const[yt,Bt]=Ye;ke=[yt].concat((0,x.Z)(Bt)),dt.current=ke}Ne(Re,ke)}},gt=(Re,Ye)=>{Xe(ke=>{const yt=Object.assign({},ke),Zt=[].concat((0,x.Z)(Re.name.slice(0,-1)),(0,x.Z)(Ye)).join($t);return Re.destroy?delete yt[Zt]:yt[Zt]=Re,yt})},[St,Nt]=l.useMemo(()=>{const Re=(0,x.Z)(ft.errors),Ye=(0,x.Z)(ft.warnings);return Object.values(xt).forEach(ke=>{Re.push.apply(Re,(0,x.Z)(ke.errors||[])),Ye.push.apply(Ye,(0,x.Z)(ke.warnings||[]))}),[Re,Ye]},[xt,ft.errors,ft.warnings]),Tt=re();function Lt(Re,Ye,ke){return d&&!Ge?l.createElement(bt,{prefixCls:_e,hasFeedback:e.hasFeedback,validateStatus:e.validateStatus,meta:ft,errors:St,warnings:Nt,noStyle:!0},Re):l.createElement(At,Object.assign({key:"row"},e,{className:g()(f,rt),prefixCls:_e,fieldId:Ye,isRequired:ke,errors:St,warnings:Nt,meta:ft,onSubItemMetaChange:gt}),Re)}if(!qe&&!je&&!O)return Ct(Lt(ge));let nt={};return typeof De=="string"?nt.label=De:i&&(nt.label=String(i)),Be&&(nt=Object.assign(Object.assign({},nt),Be)),Ct(l.createElement(a.Field,Object.assign({},e,{messageVariables:nt,trigger:Ke,validateTrigger:Te,onMetaChange:Mt}),(Re,Ye,ke)=>{const yt=b(i).length&&Ye?Ye.name:[],Bt=Z(yt,Me),Zt=$e!==void 0?$e:!!(we&&we.some(Ue=>{if(Ue&&typeof Ue=="object"&&Ue.required&&!Ue.warningOnly)return!0;if(typeof Ue=="function"){const Ht=Ue(ke);return Ht&&Ht.required&&!Ht.warningOnly}return!1})),Wt=Object.assign({},Re);let jt=null;if(Array.isArray(ge)&&qe)jt=ge;else if(!(je&&(!(ue||O)||qe))){if(!(O&&!je&&!qe))if((0,de.l$)(ge)){const Ue=Object.assign(Object.assign({},ge.props),Wt);if(Ue.id||(Ue.id=Bt),Le||St.length>0||Nt.length>0||e.extra){const wt=[];(Le||St.length>0)&&wt.push(`${Bt}_help`),e.extra&&wt.push(`${Bt}_extra`),Ue["aria-describedby"]=wt.join(" ")}St.length>0&&(Ue["aria-invalid"]="true"),Zt&&(Ue["aria-required"]="true"),(0,G.Yr)(ge)&&(Ue.ref=Tt(yt,ge)),new Set([].concat((0,x.Z)(b(Ke)),(0,x.Z)(b(Te)))).forEach(wt=>{Ue[wt]=function(){for(var Ut,Qt,Kt,Yt,Gt,Jt=arguments.length,Xt=new Array(Jt),Vt=0;Vt{var{prefixCls:i,children:d}=e,f=zt(e,["prefixCls","children"]);const{getPrefixCls:O}=l.useContext(v.E_),W=O("form",i),ue=l.useMemo(()=>({prefixCls:W,status:"error"}),[W]);return l.createElement(a.List,Object.assign({},f),(we,ye,$e)=>l.createElement(h.Rk.Provider,{value:ue},d(we.map(De=>Object.assign(Object.assign({},De),{fieldKey:De.key})),ye,{errors:$e.errors,warnings:$e.warnings})))};function _(){const{form:e}=(0,l.useContext)(h.q3);return e}const j=he;j.Item=Dt,j.List=Ce,j.ErrorList=D,j.useForm=I,j.useFormInstance=_,j.useWatch=a.useWatch,j.Provider=h.RV,j.create=()=>{};var me=j},9432:function(He,ne,t){t.d(ne,{Z:function(){return ve},n:function(){return be}});var x=t(19248),H=t(92310),g=t.n(H),M=t(93681),l=t(8654),m=t(59301),h=t(19080),A=t(36355),$=t(1684),s=t(19716),K=t(32441),pe=t(33234),P=t(59412),o=t(9937);function le(B){return!!(B.prefix||B.suffix||B.allowClear)}var ce=function(B,R){var n={};for(var r in B)Object.prototype.hasOwnProperty.call(B,r)&&R.indexOf(r)<0&&(n[r]=B[r]);if(B!=null&&typeof Object.getOwnPropertySymbols=="function")for(var E=0,r=Object.getOwnPropertySymbols(B);E{var n;const{prefixCls:r,bordered:E=!0,status:z,size:X,disabled:k,onBlur:N,onFocus:L,suffix:D,allowClear:a,addonAfter:v,addonBefore:w,className:p,style:c,styles:y,rootClassName:C,onChange:u,classNames:b}=B,Z=ce(B,["prefixCls","bordered","status","size","disabled","onBlur","onFocus","suffix","allowClear","addonAfter","addonBefore","className","style","styles","rootClassName","onChange","classNames"]),{getPrefixCls:T,direction:F,input:I}=m.useContext(A.E_),S=T("input",r),Q=(0,m.useRef)(null),[ie,ae]=(0,o.ZP)(S),{compactSize:he,compactItemClassnames:te}=(0,pe.ri)(S,F),G=(0,s.Z)(ze=>{var et;return(et=X!=null?X:he)!==null&&et!==void 0?et:ze}),de=m.useContext($.Z),Se=k!=null?k:de,{status:se,hasFeedback:Y,feedbackIcon:J}=(0,m.useContext)(K.aM),fe=(0,h.F)(se,z),U=le(B)||!!Y,re=(0,m.useRef)(U);(0,m.useEffect)(()=>{var ze;U&&re.current,re.current=U},[U]);const q=(0,P.Z)(Q,!0),V=ze=>{q(),N==null||N(ze)},Ae=ze=>{q(),L==null||L(ze)},oe=ze=>{q(),u==null||u(ze)},Ee=(Y||D)&&m.createElement(m.Fragment,null,D,Y&&J);let Ie;return typeof a=="object"&&(a!=null&&a.clearIcon)?Ie=a:a&&(Ie={clearIcon:m.createElement(x.Z,null)}),ie(m.createElement(M.default,Object.assign({ref:(0,l.sQ)(R,Q),prefixCls:S,autoComplete:I==null?void 0:I.autoComplete},Z,{disabled:Se,onBlur:V,onFocus:Ae,style:Object.assign(Object.assign({},I==null?void 0:I.style),c),styles:Object.assign(Object.assign({},I==null?void 0:I.styles),y),suffix:Ee,allowClear:Ie,className:g()(p,C,te,I==null?void 0:I.className),onChange:oe,addonAfter:v&&m.createElement(pe.BR,null,m.createElement(K.Ux,{override:!0,status:!0},v)),addonBefore:w&&m.createElement(pe.BR,null,m.createElement(K.Ux,{override:!0,status:!0},w)),classNames:Object.assign(Object.assign(Object.assign({},b),I==null?void 0:I.classNames),{input:g()({[`${S}-sm`]:G==="small",[`${S}-lg`]:G==="large",[`${S}-rtl`]:F==="rtl",[`${S}-borderless`]:!E},!U&&(0,h.Z)(S,fe),b==null?void 0:b.input,(n=I==null?void 0:I.classNames)===null||n===void 0?void 0:n.input,ae)}),classes:{affixWrapper:g()({[`${S}-affix-wrapper-sm`]:G==="small",[`${S}-affix-wrapper-lg`]:G==="large",[`${S}-affix-wrapper-rtl`]:F==="rtl",[`${S}-affix-wrapper-borderless`]:!E},(0,h.Z)(`${S}-affix-wrapper`,fe,Y),ae),wrapper:g()({[`${S}-group-rtl`]:F==="rtl"},ae),group:g()({[`${S}-group-wrapper-sm`]:G==="small",[`${S}-group-wrapper-lg`]:G==="large",[`${S}-group-wrapper-rtl`]:F==="rtl",[`${S}-group-wrapper-disabled`]:Se},(0,h.Z)(`${S}-group-wrapper`,fe,Y),ae)}})))})},1643:function(He,ne,t){var x=t(19248),H=t(92310),g=t.n(H),M=t(9296),l=t(59301),m=t(19080),h=t(36355),A=t(1684),$=t(19716),s=t(32441),K=t(9432),pe=t(9937),P=function(le,ce){var be={};for(var Fe in le)Object.prototype.hasOwnProperty.call(le,Fe)&&ce.indexOf(Fe)<0&&(be[Fe]=le[Fe]);if(le!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ve=0,Fe=Object.getOwnPropertySymbols(le);ve{const{prefixCls:be,bordered:Fe=!0,size:ve,disabled:B,status:R,allowClear:n,showCount:r,classNames:E,rootClassName:z,className:X}=le,k=P(le,["prefixCls","bordered","size","disabled","status","allowClear","showCount","classNames","rootClassName","className"]),{getPrefixCls:N,direction:L}=l.useContext(h.E_),D=(0,$.Z)(ve),a=l.useContext(A.Z),v=B!=null?B:a,{status:w,hasFeedback:p,feedbackIcon:c}=l.useContext(s.aM),y=(0,m.F)(w,R),C=l.useRef(null);l.useImperativeHandle(ce,()=>{var F;return{resizableTextArea:(F=C.current)===null||F===void 0?void 0:F.resizableTextArea,focus:I=>{var S,Q;(0,K.n)((Q=(S=C.current)===null||S===void 0?void 0:S.resizableTextArea)===null||Q===void 0?void 0:Q.textArea,I)},blur:()=>{var I;return(I=C.current)===null||I===void 0?void 0:I.blur()}}});const u=N("input",be);let b;typeof n=="object"&&(n!=null&&n.clearIcon)?b=n:n&&(b={clearIcon:l.createElement(x.Z,null)});const[Z,T]=(0,pe.ZP)(u);return Z(l.createElement(M.default,Object.assign({},k,{disabled:v,allowClear:b,className:g()(X,z),classes:{affixWrapper:g()(`${u}-textarea-affix-wrapper`,{[`${u}-affix-wrapper-rtl`]:L==="rtl",[`${u}-affix-wrapper-borderless`]:!Fe,[`${u}-affix-wrapper-sm`]:D==="small",[`${u}-affix-wrapper-lg`]:D==="large",[`${u}-textarea-show-count`]:r},(0,m.Z)(`${u}-affix-wrapper`,y),T)},classNames:Object.assign(Object.assign({},E),{textarea:g()({[`${u}-borderless`]:!Fe,[`${u}-sm`]:D==="small",[`${u}-lg`]:D==="large"},(0,m.Z)(u,y),T,E==null?void 0:E.textarea)}),prefixCls:u,suffix:p&&l.createElement("span",{className:`${u}-textarea-suffix`},c),showCount:r,ref:C})))});ne.Z=o},59412:function(He,ne,t){t.d(ne,{Z:function(){return H}});var x=t(59301);function H(g,M){const l=(0,x.useRef)([]),m=()=>{l.current.push(setTimeout(()=>{var h,A,$,s;!((h=g.current)===null||h===void 0)&&h.input&&((A=g.current)===null||A===void 0?void 0:A.input.getAttribute("type"))==="password"&&(!(($=g.current)===null||$===void 0)&&$.input.hasAttribute("value"))&&((s=g.current)===null||s===void 0||s.input.removeAttribute("value"))}))};return(0,x.useEffect)(()=>(M&&m(),()=>l.current.forEach(h=>{h&&clearTimeout(h)})),[]),m}},92832:function(He,ne,t){t.d(ne,{default:function(){return D}});var x=t(92310),H=t.n(x),g=t(59301),M=t(36355),l=t(32441),m=t(9937),A=a=>{const{getPrefixCls:v,direction:w}=(0,g.useContext)(M.E_),{prefixCls:p,className:c}=a,y=v("input-group",p),C=v("input"),[u,b]=(0,m.ZP)(C),Z=H()(y,{[`${y}-lg`]:a.size==="large",[`${y}-sm`]:a.size==="small",[`${y}-compact`]:a.compact,[`${y}-rtl`]:w==="rtl"},b,c),T=(0,g.useContext)(l.aM),F=(0,g.useMemo)(()=>Object.assign(Object.assign({},T),{isFormItemInput:!1}),[T]);return u(g.createElement("span",{className:Z,style:a.style,onMouseEnter:a.onMouseEnter,onMouseLeave:a.onMouseLeave,onFocus:a.onFocus,onBlur:a.onBlur},g.createElement(l.aM.Provider,{value:F},a.children)))},$=t(9432),s=t(73331),K=t(15277),pe=t(2738),P=t(8654),o=t(59412),le=function(a,v){var w={};for(var p in a)Object.prototype.hasOwnProperty.call(a,p)&&v.indexOf(p)<0&&(w[p]=a[p]);if(a!=null&&typeof Object.getOwnPropertySymbols=="function")for(var c=0,p=Object.getOwnPropertySymbols(a);ca?g.createElement(K.Z,null):g.createElement(s.Z,null),be={click:"onClick",hover:"onMouseOver"};var ve=g.forwardRef((a,v)=>{const{visibilityToggle:w=!0}=a,p=typeof w=="object"&&w.visible!==void 0,[c,y]=(0,g.useState)(()=>p?w.visible:!1),C=(0,g.useRef)(null);g.useEffect(()=>{p&&y(w.visible)},[p,w]);const u=(0,o.Z)(C),b=()=>{const{disabled:Se}=a;Se||(c&&u(),y(se=>{var Y;const J=!se;return typeof w=="object"&&((Y=w.onVisibleChange)===null||Y===void 0||Y.call(w,J)),J}))},Z=Se=>{const{action:se="click",iconRender:Y=ce}=a,J=be[se]||"",fe=Y(c),U={[J]:b,className:`${Se}-icon`,key:"passwordIcon",onMouseDown:re=>{re.preventDefault()},onMouseUp:re=>{re.preventDefault()}};return g.cloneElement(g.isValidElement(fe)?fe:g.createElement("span",null,fe),U)},{className:T,prefixCls:F,inputPrefixCls:I,size:S}=a,Q=le(a,["className","prefixCls","inputPrefixCls","size"]),{getPrefixCls:ie}=g.useContext(M.E_),ae=ie("input",I),he=ie("input-password",F),te=w&&Z(he),G=H()(he,T,{[`${he}-${S}`]:!!S}),de=Object.assign(Object.assign({},(0,pe.Z)(Q,["suffix","iconRender","visibilityToggle"])),{type:c?"text":"password",className:G,prefixCls:ae,suffix:te});return S&&(de.size=S),g.createElement($.Z,Object.assign({ref:(0,P.sQ)(v,C)},de))}),B=t(47472),R=t(92343),n=t(3113),r=t(19716),E=t(33234),z=function(a,v){var w={};for(var p in a)Object.prototype.hasOwnProperty.call(a,p)&&v.indexOf(p)<0&&(w[p]=a[p]);if(a!=null&&typeof Object.getOwnPropertySymbols=="function")for(var c=0,p=Object.getOwnPropertySymbols(a);c{const{prefixCls:w,inputPrefixCls:p,className:c,size:y,suffix:C,enterButton:u=!1,addonAfter:b,loading:Z,disabled:T,onSearch:F,onChange:I,onCompositionStart:S,onCompositionEnd:Q}=a,ie=z(a,["prefixCls","inputPrefixCls","className","size","suffix","enterButton","addonAfter","loading","disabled","onSearch","onChange","onCompositionStart","onCompositionEnd"]),{getPrefixCls:ae,direction:he}=g.useContext(M.E_),te=g.useRef(!1),G=ae("input-search",w),de=ae("input",p),{compactSize:Se}=(0,E.ri)(G,he),se=(0,r.Z)(xe=>{var Oe;return(Oe=y!=null?y:Se)!==null&&Oe!==void 0?Oe:xe}),Y=g.useRef(null),J=xe=>{xe&&xe.target&&xe.type==="click"&&F&&F(xe.target.value,xe,{source:"clear"}),I&&I(xe)},fe=xe=>{var Oe;document.activeElement===((Oe=Y.current)===null||Oe===void 0?void 0:Oe.input)&&xe.preventDefault()},U=xe=>{var Oe,Je;F&&F((Je=(Oe=Y.current)===null||Oe===void 0?void 0:Oe.input)===null||Je===void 0?void 0:Je.value,xe,{source:"input"})},re=xe=>{te.current||Z||U(xe)},q=typeof u=="boolean"?g.createElement(B.Z,null):null,V=`${G}-button`;let Ae;const oe=u||{},Ee=oe.type&&oe.type.__ANT_BUTTON===!0;Ee||oe.type==="button"?Ae=(0,R.Tm)(oe,Object.assign({onMouseDown:fe,onClick:xe=>{var Oe,Je;(Je=(Oe=oe==null?void 0:oe.props)===null||Oe===void 0?void 0:Oe.onClick)===null||Je===void 0||Je.call(Oe,xe),U(xe)},key:"enterButton"},Ee?{className:V,size:se}:{})):Ae=g.createElement(n.ZP,{className:V,type:u?"primary":void 0,size:se,disabled:T,key:"enterButton",onMouseDown:fe,onClick:U,loading:Z,icon:q},u),b&&(Ae=[Ae,(0,R.Tm)(b,{key:"addonAfter"})]);const Ie=H()(G,{[`${G}-rtl`]:he==="rtl",[`${G}-${se}`]:!!se,[`${G}-with-button`]:!!u},c),ze=xe=>{te.current=!0,S==null||S(xe)},et=xe=>{te.current=!1,Q==null||Q(xe)};return g.createElement($.Z,Object.assign({ref:(0,P.sQ)(Y,v),onPressEnter:re},ie,{size:se,onCompositionStart:ze,onCompositionEnd:et,prefixCls:de,addonAfter:Ae,suffix:C,onChange:J,className:Ie,disabled:T}))}),N=t(1643);const L=$.Z;L.Group=A,L.Search=k,L.TextArea=N.Z,L.Password=ve;var D=L},9937:function(He,ne,t){t.d(ne,{M1:function(){return h},TM:function(){return R},Xy:function(){return A},bi:function(){return K},e5:function(){return B},ik:function(){return pe},nz:function(){return l},pU:function(){return m},s7:function(){return P},x0:function(){return s}});var x=t(17313),H=t(74207),g=t(37613),M=t(83116);const l=n=>({"&::-moz-placeholder":{opacity:1},"&::placeholder":{color:n,userSelect:"none"},"&:placeholder-shown":{textOverflow:"ellipsis"}}),m=n=>({borderColor:n.hoverBorderColor}),h=n=>({borderColor:n.activeBorderColor,boxShadow:n.activeShadow,outline:0}),A=n=>({color:n.colorTextDisabled,backgroundColor:n.colorBgContainerDisabled,borderColor:n.colorBorder,boxShadow:"none",cursor:"not-allowed",opacity:1,"&:hover":Object.assign({},m((0,g.TS)(n,{hoverBorderColor:n.colorBorder})))}),$=n=>{const{paddingBlockLG:r,fontSizeLG:E,lineHeightLG:z,borderRadiusLG:X,paddingInlineLG:k}=n;return{padding:`${r}px ${k}px`,fontSize:E,lineHeight:z,borderRadius:X}},s=n=>({padding:`${n.paddingBlockSM}px ${n.paddingInlineSM}px`,borderRadius:n.borderRadiusSM}),K=(n,r)=>{const{componentCls:E,colorError:z,colorWarning:X,errorActiveShadow:k,warningActiveShadow:N,colorErrorBorderHover:L,colorWarningBorderHover:D}=n;return{[`&-status-error:not(${r}-disabled):not(${r}-borderless)${r}`]:{borderColor:z,"&:hover":{borderColor:L},"&:focus, &-focused":Object.assign({},h((0,g.TS)(n,{activeBorderColor:z,activeShadow:k}))),[`${E}-prefix, ${E}-suffix`]:{color:z}},[`&-status-warning:not(${r}-disabled):not(${r}-borderless)${r}`]:{borderColor:X,"&:hover":{borderColor:D},"&:focus, &-focused":Object.assign({},h((0,g.TS)(n,{activeBorderColor:X,activeShadow:N}))),[`${E}-prefix, ${E}-suffix`]:{color:X}}}},pe=n=>Object.assign(Object.assign({position:"relative",display:"inline-block",width:"100%",minWidth:0,padding:`${n.paddingBlock}px ${n.paddingInline}px`,color:n.colorText,fontSize:n.fontSize,lineHeight:n.lineHeight,backgroundColor:n.colorBgContainer,backgroundImage:"none",borderWidth:n.lineWidth,borderStyle:n.lineType,borderColor:n.colorBorder,borderRadius:n.borderRadius,transition:`all ${n.motionDurationMid}`},l(n.colorTextPlaceholder)),{"&:hover":Object.assign({},m(n)),"&:focus, &-focused":Object.assign({},h(n)),"&-disabled, &[disabled]":Object.assign({},A(n)),"&-borderless":{"&, &:hover, &:focus, &-focused, &-disabled, &[disabled]":{backgroundColor:"transparent",border:"none",boxShadow:"none"}},"textarea&":{maxWidth:"100%",height:"auto",minHeight:n.controlHeight,lineHeight:n.lineHeight,verticalAlign:"bottom",transition:`all ${n.motionDurationSlow}, height 0s`,resize:"vertical"},"&-lg":Object.assign({},$(n)),"&-sm":Object.assign({},s(n)),"&-rtl":{direction:"rtl"},"&-textarea-rtl":{direction:"rtl"}}),P=n=>{const{componentCls:r,antCls:E}=n;return{position:"relative",display:"table",width:"100%",borderCollapse:"separate",borderSpacing:0,"&[class*='col-']":{paddingInlineEnd:n.paddingXS,"&:last-child":{paddingInlineEnd:0}},[`&-lg ${r}, &-lg > ${r}-group-addon`]:Object.assign({},$(n)),[`&-sm ${r}, &-sm > ${r}-group-addon`]:Object.assign({},s(n)),[`&-lg ${E}-select-single ${E}-select-selector`]:{height:n.controlHeightLG},[`&-sm ${E}-select-single ${E}-select-selector`]:{height:n.controlHeightSM},[`> ${r}`]:{display:"table-cell","&:not(:first-child):not(:last-child)":{borderRadius:0}},[`${r}-group`]:{"&-addon, &-wrap":{display:"table-cell",width:1,whiteSpace:"nowrap",verticalAlign:"middle","&:not(:first-child):not(:last-child)":{borderRadius:0}},"&-wrap > *":{display:"block !important"},"&-addon":{position:"relative",padding:`0 ${n.paddingInline}px`,color:n.colorText,fontWeight:"normal",fontSize:n.fontSize,textAlign:"center",backgroundColor:n.colorFillAlter,border:`${n.lineWidth}px ${n.lineType} ${n.colorBorder}`,borderRadius:n.borderRadius,transition:`all ${n.motionDurationSlow}`,lineHeight:1,[`${E}-select`]:{margin:`-${n.paddingBlock+1}px -${n.paddingInline}px`,[`&${E}-select-single:not(${E}-select-customize-input)`]:{[`${E}-select-selector`]:{backgroundColor:"inherit",border:`${n.lineWidth}px ${n.lineType} transparent`,boxShadow:"none"}},"&-open, &-focused":{[`${E}-select-selector`]:{color:n.colorPrimary}}},[`${E}-cascader-picker`]:{margin:`-9px -${n.paddingInline}px`,backgroundColor:"transparent",[`${E}-cascader-input`]:{textAlign:"start",border:0,boxShadow:"none"}}},"&-addon:first-child":{borderInlineEnd:0},"&-addon:last-child":{borderInlineStart:0}},[`${r}`]:{width:"100%",marginBottom:0,textAlign:"inherit","&:focus":{zIndex:1,borderInlineEndWidth:1},"&:hover":{zIndex:1,borderInlineEndWidth:1,[`${r}-search-with-button &`]:{zIndex:0}}},[`> ${r}:first-child, ${r}-group-addon:first-child`]:{borderStartEndRadius:0,borderEndEndRadius:0,[`${E}-select ${E}-select-selector`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${r}-affix-wrapper`]:{[`&:not(:first-child) ${r}`]:{borderStartStartRadius:0,borderEndStartRadius:0},[`&:not(:last-child) ${r}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${r}:last-child, ${r}-group-addon:last-child`]:{borderStartStartRadius:0,borderEndStartRadius:0,[`${E}-select ${E}-select-selector`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`${r}-affix-wrapper`]:{"&:not(:last-child)":{borderStartEndRadius:0,borderEndEndRadius:0,[`${r}-search &`]:{borderStartStartRadius:n.borderRadius,borderEndStartRadius:n.borderRadius}},[`&:not(:first-child), ${r}-search &:not(:first-child)`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&${r}-group-compact`]:Object.assign(Object.assign({display:"block"},(0,x.dF)()),{[`${r}-group-addon, ${r}-group-wrap, > ${r}`]:{"&:not(:first-child):not(:last-child)":{borderInlineEndWidth:n.lineWidth,"&:hover":{zIndex:1},"&:focus":{zIndex:1}}},"& > *":{display:"inline-block",float:"none",verticalAlign:"top",borderRadius:0},[` - & > ${r}-affix-wrapper, - & > ${r}-number-affix-wrapper, - & > ${E}-picker-range - `]:{display:"inline-flex"},"& > *:not(:last-child)":{marginInlineEnd:-n.lineWidth,borderInlineEndWidth:n.lineWidth},[`${r}`]:{float:"none"},[`& > ${E}-select > ${E}-select-selector, - & > ${E}-select-auto-complete ${r}, - & > ${E}-cascader-picker ${r}, - & > ${r}-group-wrapper ${r}`]:{borderInlineEndWidth:n.lineWidth,borderRadius:0,"&:hover":{zIndex:1},"&:focus":{zIndex:1}},[`& > ${E}-select-focused`]:{zIndex:1},[`& > ${E}-select > ${E}-select-arrow`]:{zIndex:1},[`& > *:first-child, - & > ${E}-select:first-child > ${E}-select-selector, - & > ${E}-select-auto-complete:first-child ${r}, - & > ${E}-cascader-picker:first-child ${r}`]:{borderStartStartRadius:n.borderRadius,borderEndStartRadius:n.borderRadius},[`& > *:last-child, - & > ${E}-select:last-child > ${E}-select-selector, - & > ${E}-cascader-picker:last-child ${r}, - & > ${E}-cascader-picker-focused:last-child ${r}`]:{borderInlineEndWidth:n.lineWidth,borderStartEndRadius:n.borderRadius,borderEndEndRadius:n.borderRadius},[`& > ${E}-select-auto-complete ${r}`]:{verticalAlign:"top"},[`${r}-group-wrapper + ${r}-group-wrapper`]:{marginInlineStart:-n.lineWidth,[`${r}-affix-wrapper`]:{borderRadius:0}},[`${r}-group-wrapper:not(:last-child)`]:{[`&${r}-search > ${r}-group`]:{[`& > ${r}-group-addon > ${r}-search-button`]:{borderRadius:0},[`& > ${r}`]:{borderStartStartRadius:n.borderRadius,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:n.borderRadius}}}})}},o=n=>{const{componentCls:r,controlHeightSM:E,lineWidth:z}=n,k=(E-z*2-16)/2;return{[r]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,x.Wf)(n)),pe(n)),K(n,r)),{'&[type="color"]':{height:n.controlHeight,[`&${r}-lg`]:{height:n.controlHeightLG},[`&${r}-sm`]:{height:E,paddingTop:k,paddingBottom:k}},'&[type="search"]::-webkit-search-cancel-button, &[type="search"]::-webkit-search-decoration':{"-webkit-appearance":"none"}})}},le=n=>{const{componentCls:r}=n;return{[`${r}-clear-icon`]:{margin:0,color:n.colorTextQuaternary,fontSize:n.fontSizeIcon,verticalAlign:-1,cursor:"pointer",transition:`color ${n.motionDurationSlow}`,"&:hover":{color:n.colorTextTertiary},"&:active":{color:n.colorText},"&-hidden":{visibility:"hidden"},"&-has-suffix":{margin:`0 ${n.inputAffixPadding}px`}}}},ce=n=>{const{componentCls:r,inputAffixPadding:E,colorTextDescription:z,motionDurationSlow:X,colorIcon:k,colorIconHover:N,iconCls:L}=n;return{[`${r}-affix-wrapper`]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},pe(n)),{display:"inline-flex",[`&:not(${r}-affix-wrapper-disabled):hover`]:Object.assign(Object.assign({},m(n)),{zIndex:1,[`${r}-search-with-button &`]:{zIndex:0}}),"&-focused, &:focus":{zIndex:1},"&-disabled":{[`${r}[disabled]`]:{background:"transparent"}},[`> input${r}`]:{padding:0,fontSize:"inherit",border:"none",borderRadius:0,outline:"none","&::-ms-reveal":{display:"none"},"&:focus":{boxShadow:"none !important"}},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[`${r}`]:{"&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center","> *:not(:last-child)":{marginInlineEnd:n.paddingXS}},"&-show-count-suffix":{color:z},"&-show-count-has-suffix":{marginInlineEnd:n.paddingXXS},"&-prefix":{marginInlineEnd:E},"&-suffix":{marginInlineStart:E}}}),le(n)),{[`${L}${r}-password-icon`]:{color:k,cursor:"pointer",transition:`all ${X}`,"&:hover":{color:N}}}),K(n,`${r}-affix-wrapper`))}},be=n=>{const{componentCls:r,colorError:E,colorWarning:z,borderRadiusLG:X,borderRadiusSM:k}=n;return{[`${r}-group`]:Object.assign(Object.assign(Object.assign({},(0,x.Wf)(n)),P(n)),{"&-rtl":{direction:"rtl"},"&-wrapper":{display:"inline-block",width:"100%",textAlign:"start",verticalAlign:"top","&-rtl":{direction:"rtl"},"&-lg":{[`${r}-group-addon`]:{borderRadius:X,fontSize:n.fontSizeLG}},"&-sm":{[`${r}-group-addon`]:{borderRadius:k}},"&-status-error":{[`${r}-group-addon`]:{color:E,borderColor:E}},"&-status-warning":{[`${r}-group-addon`]:{color:z,borderColor:z}},"&-disabled":{[`${r}-group-addon`]:Object.assign({},A(n))},[`&:not(${r}-compact-first-item):not(${r}-compact-last-item)${r}-compact-item`]:{[`${r}, ${r}-group-addon`]:{borderRadius:0}},[`&:not(${r}-compact-last-item)${r}-compact-first-item`]:{[`${r}, ${r}-group-addon`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${r}-compact-first-item)${r}-compact-last-item`]:{[`${r}, ${r}-group-addon`]:{borderStartStartRadius:0,borderEndStartRadius:0}}}})}},Fe=n=>{const{componentCls:r,antCls:E}=n,z=`${r}-search`;return{[z]:{[`${r}`]:{"&:hover, &:focus":{borderColor:n.colorPrimaryHover,[`+ ${r}-group-addon ${z}-button:not(${E}-btn-primary)`]:{borderInlineStartColor:n.colorPrimaryHover}}},[`${r}-affix-wrapper`]:{borderRadius:0},[`${r}-lg`]:{lineHeight:n.lineHeightLG-2e-4},[`> ${r}-group`]:{[`> ${r}-group-addon:last-child`]:{insetInlineStart:-1,padding:0,border:0,[`${z}-button`]:{paddingTop:0,paddingBottom:0,borderStartStartRadius:0,borderStartEndRadius:n.borderRadius,borderEndEndRadius:n.borderRadius,borderEndStartRadius:0,boxShadow:"none"},[`${z}-button:not(${E}-btn-primary)`]:{color:n.colorTextDescription,"&:hover":{color:n.colorPrimaryHover},"&:active":{color:n.colorPrimaryActive},[`&${E}-btn-loading::before`]:{insetInlineStart:0,insetInlineEnd:0,insetBlockStart:0,insetBlockEnd:0}}}},[`${z}-button`]:{height:n.controlHeight,"&:hover, &:focus":{zIndex:1}},[`&-large ${z}-button`]:{height:n.controlHeightLG},[`&-small ${z}-button`]:{height:n.controlHeightSM},"&-rtl":{direction:"rtl"},[`&${r}-compact-item`]:{[`&:not(${r}-compact-last-item)`]:{[`${r}-group-addon`]:{[`${r}-search-button`]:{marginInlineEnd:-n.lineWidth,borderRadius:0}}},[`&:not(${r}-compact-first-item)`]:{[`${r},${r}-affix-wrapper`]:{borderRadius:0}},[`> ${r}-group-addon ${r}-search-button, - > ${r}, - ${r}-affix-wrapper`]:{"&:hover,&:focus,&:active":{zIndex:2}},[`> ${r}-affix-wrapper-focused`]:{zIndex:2}}}}},ve=n=>{const{componentCls:r,paddingLG:E}=n,z=`${r}-textarea`;return{[z]:{position:"relative","&-show-count":{[`> ${r}`]:{height:"100%"},[`${r}-data-count`]:{position:"absolute",bottom:-n.fontSize*n.lineHeight,insetInlineEnd:0,color:n.colorTextDescription,whiteSpace:"nowrap",pointerEvents:"none"}},"&-allow-clear":{[`> ${r}`]:{paddingInlineEnd:E}},[`&-affix-wrapper${z}-has-feedback`]:{[`${r}`]:{paddingInlineEnd:E}},[`&-affix-wrapper${r}-affix-wrapper`]:{padding:0,[`> textarea${r}`]:{fontSize:"inherit",border:"none",outline:"none","&:focus":{boxShadow:"none !important"}},[`${r}-suffix`]:{margin:0,"> *:not(:last-child)":{marginInline:0},[`${r}-clear-icon`]:{position:"absolute",insetInlineEnd:n.paddingXS,insetBlockStart:n.paddingXS},[`${z}-suffix`]:{position:"absolute",top:0,insetInlineEnd:n.paddingInline,bottom:0,zIndex:1,display:"inline-flex",alignItems:"center",margin:"auto",pointerEvents:"none"}}}}}};function B(n){return(0,g.TS)(n,{inputAffixPadding:n.paddingXXS})}const R=n=>{const{controlHeight:r,fontSize:E,lineHeight:z,lineWidth:X,controlHeightSM:k,controlHeightLG:N,fontSizeLG:L,lineHeightLG:D,paddingSM:a,controlPaddingHorizontalSM:v,controlPaddingHorizontal:w,colorFillAlter:p,colorPrimaryHover:c,controlOutlineWidth:y,controlOutline:C,colorErrorOutline:u,colorWarningOutline:b}=n;return{paddingBlock:Math.max(Math.round((r-E*z)/2*10)/10-X,3),paddingBlockSM:Math.max(Math.round((k-E*z)/2*10)/10-X,0),paddingBlockLG:Math.ceil((N-L*D)/2*10)/10-X,paddingInline:a-X,paddingInlineSM:v-X,paddingInlineLG:w-X,addonBg:p,activeBorderColor:c,hoverBorderColor:c,activeShadow:`0 0 0 ${y}px ${C}`,errorActiveShadow:`0 0 0 ${y}px ${u}`,warningActiveShadow:`0 0 0 ${y}px ${b}`}};ne.ZP=(0,M.Z)("Input",n=>{const r=(0,g.TS)(n,B(n));return[o(r),ve(r),ce(r),be(r),Fe(r),(0,H.c)(r)]},R)},8378:function(He,ne){const t=x=>({[x.componentCls]:{[`${x.antCls}-motion-collapse-legacy`]:{overflow:"hidden","&-active":{transition:`height ${x.motionDurationMid} ${x.motionEaseInOut}, - opacity ${x.motionDurationMid} ${x.motionEaseInOut} !important`}},[`${x.antCls}-motion-collapse`]:{overflow:"hidden",transition:`height ${x.motionDurationMid} ${x.motionEaseInOut}, - opacity ${x.motionDurationMid} ${x.motionEaseInOut} !important`}}});ne.Z=t},78673:function(He,ne,t){t.d(ne,{Z:function(){return D}});var x=t(58617),H=t(92310),g=t.n(H),M=t(54476),l=t(20068),m=t(42978),h=t(75931),A=t(59301),$=t(18929),s=t(10228),K=["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"],pe=A.forwardRef(function(a,v){var w,p=a.prefixCls,c=p===void 0?"rc-switch":p,y=a.className,C=a.checked,u=a.defaultChecked,b=a.disabled,Z=a.loadingIcon,T=a.checkedChildren,F=a.unCheckedChildren,I=a.onClick,S=a.onChange,Q=a.onKeyDown,ie=(0,h.Z)(a,K),ae=(0,$.Z)(!1,{value:C,defaultValue:u}),he=(0,m.Z)(ae,2),te=he[0],G=he[1];function de(J,fe){var U=te;return b||(U=J,G(U),S==null||S(U,fe)),U}function Se(J){J.which===s.Z.LEFT?de(!1,J):J.which===s.Z.RIGHT&&de(!0,J),Q==null||Q(J)}function se(J){var fe=de(!te,J);I==null||I(fe,J)}var Y=g()(c,y,(w={},(0,l.Z)(w,"".concat(c,"-checked"),te),(0,l.Z)(w,"".concat(c,"-disabled"),b),w));return A.createElement("button",(0,M.Z)({},ie,{type:"button",role:"switch","aria-checked":te,disabled:b,className:Y,ref:v,onKeyDown:Se,onClick:se}),Z,A.createElement("span",{className:"".concat(c,"-inner")},A.createElement("span",{className:"".concat(c,"-inner-checked")},T),A.createElement("span",{className:"".concat(c,"-inner-unchecked")},F)))});pe.displayName="Switch";var P=pe,o=t(14088),le=t(36355),ce=t(1684),be=t(19716),Fe=t(64993),ve=t(17313),B=t(83116),R=t(37613);const n=a=>{const{componentCls:v,trackHeightSM:w,trackPadding:p,trackMinWidthSM:c,innerMinMarginSM:y,innerMaxMarginSM:C,handleSizeSM:u}=a,b=`${v}-inner`;return{[v]:{[`&${v}-small`]:{minWidth:c,height:w,lineHeight:`${w}px`,[`${v}-inner`]:{paddingInlineStart:C,paddingInlineEnd:y,[`${b}-checked`]:{marginInlineStart:`calc(-100% + ${u+p*2}px - ${C*2}px)`,marginInlineEnd:`calc(100% - ${u+p*2}px + ${C*2}px)`},[`${b}-unchecked`]:{marginTop:-w,marginInlineStart:0,marginInlineEnd:0}},[`${v}-handle`]:{width:u,height:u},[`${v}-loading-icon`]:{top:(u-a.switchLoadingIconSize)/2,fontSize:a.switchLoadingIconSize},[`&${v}-checked`]:{[`${v}-inner`]:{paddingInlineStart:y,paddingInlineEnd:C,[`${b}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${b}-unchecked`]:{marginInlineStart:`calc(100% - ${u+p*2}px + ${C*2}px)`,marginInlineEnd:`calc(-100% + ${u+p*2}px - ${C*2}px)`}},[`${v}-handle`]:{insetInlineStart:`calc(100% - ${u+p}px)`}},[`&:not(${v}-disabled):active`]:{[`&:not(${v}-checked) ${b}`]:{[`${b}-unchecked`]:{marginInlineStart:a.marginXXS/2,marginInlineEnd:-a.marginXXS/2}},[`&${v}-checked ${b}`]:{[`${b}-checked`]:{marginInlineStart:-a.marginXXS/2,marginInlineEnd:a.marginXXS/2}}}}}}},r=a=>{const{componentCls:v,handleSize:w}=a;return{[v]:{[`${v}-loading-icon${a.iconCls}`]:{position:"relative",top:(w-a.fontSize)/2,color:a.switchLoadingIconColor,verticalAlign:"top"},[`&${v}-checked ${v}-loading-icon`]:{color:a.switchColor}}}},E=a=>{const{componentCls:v,motion:w,trackPadding:p,handleBg:c,handleShadow:y,handleSize:C}=a,u=`${v}-handle`;return{[v]:{[u]:{position:"absolute",top:p,insetInlineStart:p,width:C,height:C,transition:`all ${a.switchDuration} ease-in-out`,"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,backgroundColor:c,borderRadius:C/2,boxShadow:y,transition:`all ${a.switchDuration} ease-in-out`,content:'""'}},[`&${v}-checked ${u}`]:{insetInlineStart:`calc(100% - ${C+p}px)`},[`&:not(${v}-disabled):active`]:w?{[`${u}::before`]:{insetInlineEnd:a.switchHandleActiveInset,insetInlineStart:0},[`&${v}-checked ${u}::before`]:{insetInlineEnd:0,insetInlineStart:a.switchHandleActiveInset}}:{}}}},z=a=>{const{componentCls:v,trackHeight:w,trackPadding:p,innerMinMargin:c,innerMaxMargin:y,handleSize:C}=a,u=`${v}-inner`;return{[v]:{[u]:{display:"block",overflow:"hidden",borderRadius:100,height:"100%",paddingInlineStart:y,paddingInlineEnd:c,transition:`padding-inline-start ${a.switchDuration} ease-in-out, padding-inline-end ${a.switchDuration} ease-in-out`,[`${u}-checked, ${u}-unchecked`]:{display:"block",color:a.colorTextLightSolid,fontSize:a.fontSizeSM,transition:`margin-inline-start ${a.switchDuration} ease-in-out, margin-inline-end ${a.switchDuration} ease-in-out`,pointerEvents:"none"},[`${u}-checked`]:{marginInlineStart:`calc(-100% + ${C+p*2}px - ${y*2}px)`,marginInlineEnd:`calc(100% - ${C+p*2}px + ${y*2}px)`},[`${u}-unchecked`]:{marginTop:-w,marginInlineStart:0,marginInlineEnd:0}},[`&${v}-checked ${u}`]:{paddingInlineStart:c,paddingInlineEnd:y,[`${u}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${u}-unchecked`]:{marginInlineStart:`calc(100% - ${C+p*2}px + ${y*2}px)`,marginInlineEnd:`calc(-100% + ${C+p*2}px - ${y*2}px)`}},[`&:not(${v}-disabled):active`]:{[`&:not(${v}-checked) ${u}`]:{[`${u}-unchecked`]:{marginInlineStart:p*2,marginInlineEnd:-p*2}},[`&${v}-checked ${u}`]:{[`${u}-checked`]:{marginInlineStart:-p*2,marginInlineEnd:p*2}}}}}},X=a=>{const{componentCls:v,trackHeight:w,trackMinWidth:p}=a;return{[v]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,ve.Wf)(a)),{position:"relative",display:"inline-block",boxSizing:"border-box",minWidth:p,height:w,lineHeight:`${w}px`,verticalAlign:"middle",background:a.colorTextQuaternary,border:"0",borderRadius:100,cursor:"pointer",transition:`all ${a.motionDurationMid}`,userSelect:"none",[`&:hover:not(${v}-disabled)`]:{background:a.colorTextTertiary}}),(0,ve.Qy)(a)),{[`&${v}-checked`]:{background:a.switchColor,[`&:hover:not(${v}-disabled)`]:{background:a.colorPrimaryHover}},[`&${v}-loading, &${v}-disabled`]:{cursor:"not-allowed",opacity:a.switchDisabledOpacity,"*":{boxShadow:"none",cursor:"not-allowed"}},[`&${v}-rtl`]:{direction:"rtl"}})}};var k=(0,B.Z)("Switch",a=>{const v=(0,R.TS)(a,{switchDuration:a.motionDurationMid,switchColor:a.colorPrimary,switchDisabledOpacity:a.opacityLoading,switchLoadingIconSize:a.fontSizeIcon*.75,switchLoadingIconColor:`rgba(0, 0, 0, ${a.opacityLoading})`,switchHandleActiveInset:"-30%"});return[X(v),z(v),E(v),r(v),n(v)]},a=>{const{fontSize:v,lineHeight:w,controlHeight:p,colorWhite:c}=a,y=v*w,C=p/2,u=2,b=y-u*2,Z=C-u*2;return{trackHeight:y,trackHeightSM:C,trackMinWidth:b*2+u*4,trackMinWidthSM:Z*2+u*2,trackPadding:u,handleBg:c,handleSize:b,handleSizeSM:Z,handleShadow:`0 2px 4px 0 ${new Fe.C("#00230b").setAlpha(.2).toRgbString()}`,innerMinMargin:b/2,innerMaxMargin:b+u+u*2,innerMinMarginSM:Z/2,innerMaxMarginSM:Z+u+u*2}}),N=function(a,v){var w={};for(var p in a)Object.prototype.hasOwnProperty.call(a,p)&&v.indexOf(p)<0&&(w[p]=a[p]);if(a!=null&&typeof Object.getOwnPropertySymbols=="function")for(var c=0,p=Object.getOwnPropertySymbols(a);c{const{prefixCls:w,size:p,disabled:c,loading:y,className:C,rootClassName:u,style:b}=a,Z=N(a,["prefixCls","size","disabled","loading","className","rootClassName","style"]),{getPrefixCls:T,direction:F,switch:I}=A.useContext(le.E_),S=A.useContext(ce.Z),Q=(c!=null?c:S)||y,ie=T("switch",w),ae=A.createElement("div",{className:`${ie}-handle`},y&&A.createElement(x.Z,{className:`${ie}-loading-icon`})),[he,te]=k(ie),G=(0,be.Z)(p),de=g()(I==null?void 0:I.className,{[`${ie}-small`]:G==="small",[`${ie}-loading`]:y,[`${ie}-rtl`]:F==="rtl"},C,u,te),Se=Object.assign(Object.assign({},I==null?void 0:I.style),b);return he(A.createElement(o.Z,{component:"Switch"},A.createElement(P,Object.assign({},Z,{prefixCls:ie,className:de,style:Se,disabled:Q,ref:v,loadingIcon:ae}))))});L.__ANT_SWITCH=!0;var D=L},93681:function(He,ne,t){t.r(ne),t.d(ne,{BaseInput:function(){return s},default:function(){return ve}});var x=t(54476),H=t(33885),g=t(20068),M=t(76190),l=t(92310),m=t.n(l),h=t(59301),A=t(5643),$=function(R){var n,r,E=R.inputElement,z=R.prefixCls,X=R.prefix,k=R.suffix,N=R.addonBefore,L=R.addonAfter,D=R.className,a=R.style,v=R.disabled,w=R.readOnly,p=R.focused,c=R.triggerFocus,y=R.allowClear,C=R.value,u=R.handleReset,b=R.hidden,Z=R.classes,T=R.classNames,F=R.dataAttrs,I=R.styles,S=R.components,Q=(S==null?void 0:S.affixWrapper)||"span",ie=(S==null?void 0:S.groupWrapper)||"span",ae=(S==null?void 0:S.wrapper)||"span",he=(S==null?void 0:S.groupAddon)||"span",te=(0,h.useRef)(null),G=function(oe){var Ee;(Ee=te.current)!==null&&Ee!==void 0&&Ee.contains(oe.target)&&(c==null||c())},de=function(){var oe;if(!y)return null;var Ee=!v&&!w&&C,Ie="".concat(z,"-clear-icon"),ze=(0,M.Z)(y)==="object"&&y!==null&&y!==void 0&&y.clearIcon?y.clearIcon:"\u2716";return h.createElement("span",{onClick:u,onMouseDown:function(xe){return xe.preventDefault()},className:m()(Ie,(oe={},(0,g.Z)(oe,"".concat(Ie,"-hidden"),!Ee),(0,g.Z)(oe,"".concat(Ie,"-has-suffix"),!!k),oe)),role:"button",tabIndex:-1},ze)},Se=(0,h.cloneElement)(E,{value:C,hidden:b,className:m()((n=E.props)===null||n===void 0?void 0:n.className,!(0,A.X3)(R)&&!(0,A.He)(R)&&D)||null,style:(0,H.Z)((0,H.Z)({},(r=E.props)===null||r===void 0?void 0:r.style),!(0,A.X3)(R)&&!(0,A.He)(R)?a:{})});if((0,A.X3)(R)){var se,Y="".concat(z,"-affix-wrapper"),J=m()(Y,(se={},(0,g.Z)(se,"".concat(Y,"-disabled"),v),(0,g.Z)(se,"".concat(Y,"-focused"),p),(0,g.Z)(se,"".concat(Y,"-readonly"),w),(0,g.Z)(se,"".concat(Y,"-input-with-clear-btn"),k&&y&&C),se),!(0,A.He)(R)&&D,Z==null?void 0:Z.affixWrapper,T==null?void 0:T.affixWrapper),fe=(k||y)&&h.createElement("span",{className:m()("".concat(z,"-suffix"),T==null?void 0:T.suffix),style:I==null?void 0:I.suffix},de(),k);Se=h.createElement(Q,(0,x.Z)({className:J,style:(0,H.Z)((0,H.Z)({},(0,A.He)(R)?void 0:a),I==null?void 0:I.affixWrapper),hidden:!(0,A.He)(R)&&b,onClick:G},F==null?void 0:F.affixWrapper,{ref:te}),X&&h.createElement("span",{className:m()("".concat(z,"-prefix"),T==null?void 0:T.prefix),style:I==null?void 0:I.prefix},X),(0,h.cloneElement)(E,{value:C,hidden:null}),fe)}if((0,A.He)(R)){var U="".concat(z,"-group"),re="".concat(U,"-addon"),q=m()("".concat(z,"-wrapper"),U,Z==null?void 0:Z.wrapper),V=m()("".concat(z,"-group-wrapper"),D,Z==null?void 0:Z.group);return h.createElement(ie,{className:V,style:a,hidden:b},h.createElement(ae,{className:q},N&&h.createElement(he,{className:re},N),(0,h.cloneElement)(Se,{hidden:null}),L&&h.createElement(he,{className:re},L)))}return Se},s=$,K=t(94480),pe=t(42978),P=t(75931),o=t(18929),le=t(2738),ce=["autoComplete","onChange","onFocus","onBlur","onPressEnter","onKeyDown","prefixCls","disabled","htmlSize","className","maxLength","suffix","showCount","type","classes","classNames","styles"],be=(0,h.forwardRef)(function(B,R){var n=B.autoComplete,r=B.onChange,E=B.onFocus,z=B.onBlur,X=B.onPressEnter,k=B.onKeyDown,N=B.prefixCls,L=N===void 0?"rc-input":N,D=B.disabled,a=B.htmlSize,v=B.className,w=B.maxLength,p=B.suffix,c=B.showCount,y=B.type,C=y===void 0?"text":y,u=B.classes,b=B.classNames,Z=B.styles,T=(0,P.Z)(B,ce),F=(0,o.Z)(B.defaultValue,{value:B.value}),I=(0,pe.Z)(F,2),S=I[0],Q=I[1],ie=(0,h.useState)(!1),ae=(0,pe.Z)(ie,2),he=ae[0],te=ae[1],G=(0,h.useRef)(null),de=function(V){G.current&&(0,A.nH)(G.current,V)};(0,h.useImperativeHandle)(R,function(){return{focus:de,blur:function(){var V;(V=G.current)===null||V===void 0||V.blur()},setSelectionRange:function(V,Ae,oe){var Ee;(Ee=G.current)===null||Ee===void 0||Ee.setSelectionRange(V,Ae,oe)},select:function(){var V;(V=G.current)===null||V===void 0||V.select()},input:G.current}}),(0,h.useEffect)(function(){te(function(q){return q&&D?!1:q})},[D]);var Se=function(V){B.value===void 0&&Q(V.target.value),G.current&&(0,A.rJ)(G.current,V,r)},se=function(V){X&&V.key==="Enter"&&X(V),k==null||k(V)},Y=function(V){te(!0),E==null||E(V)},J=function(V){te(!1),z==null||z(V)},fe=function(V){Q(""),de(),G.current&&(0,A.rJ)(G.current,V,r)},U=function(){var V=(0,le.Z)(B,["prefixCls","onPressEnter","addonBefore","addonAfter","prefix","suffix","allowClear","defaultValue","showCount","classes","htmlSize","styles","classNames"]);return h.createElement("input",(0,x.Z)({autoComplete:n},V,{onChange:Se,onFocus:Y,onBlur:J,onKeyDown:se,className:m()(L,(0,g.Z)({},"".concat(L,"-disabled"),D),b==null?void 0:b.input),style:Z==null?void 0:Z.input,ref:G,size:a,type:C}))},re=function(){var V=Number(w)>0;if(p||c){var Ae=(0,A.D7)(S),oe=(0,K.Z)(Ae).length,Ee=(0,M.Z)(c)==="object"?c.formatter({value:Ae,count:oe,maxLength:w}):"".concat(oe).concat(V?" / ".concat(w):"");return h.createElement(h.Fragment,null,!!c&&h.createElement("span",{className:m()("".concat(L,"-show-count-suffix"),(0,g.Z)({},"".concat(L,"-show-count-has-suffix"),!!p),b==null?void 0:b.count),style:(0,H.Z)({},Z==null?void 0:Z.count)},Ee),p)}return null};return h.createElement(s,(0,x.Z)({},T,{prefixCls:L,className:v,inputElement:U(),handleReset:fe,value:(0,A.D7)(S),focused:he,triggerFocus:de,suffix:re(),disabled:D,classes:u,classNames:b,styles:Z}))}),Fe=be,ve=Fe},5643:function(He,ne,t){t.d(ne,{D7:function(){return l},He:function(){return x},X3:function(){return H},nH:function(){return M},rJ:function(){return g}});function x(m){return!!(m.addonBefore||m.addonAfter)}function H(m){return!!(m.prefix||m.suffix||m.allowClear)}function g(m,h,A,$){if(A){var s=h;if(h.type==="click"){var K=m.cloneNode(!0);s=Object.create(h,{target:{value:K},currentTarget:{value:K}}),K.value="",A(s);return}if($!==void 0){s=Object.create(h,{target:{value:m},currentTarget:{value:m}}),m.value=$,A(s);return}A(s)}}function M(m,h){if(m){m.focus(h);var A=h||{},$=A.cursor;if($){var s=m.value.length;switch($){case"start":m.setSelectionRange(0,0);break;case"end":m.setSelectionRange(s,s);break;default:m.setSelectionRange(0,s)}}}}function l(m){return typeof m=="undefined"||m===null?"":String(m)}},9296:function(He,ne,t){t.r(ne),t.d(ne,{ResizableTextArea:function(){return N},default:function(){return p}});var x=t(54476),H=t(33885),g=t(20068),M=t(76190),l=t(42978),m=t(75931),h=t(94480),A=t(92310),$=t.n(A),s=t(93681),K=t(5643),pe=t(18929),P=t(59301),o=t(29301),le=t(34280),ce=t(16089),be=` - min-height:0 !important; - max-height:none !important; - height:0 !important; - visibility:hidden !important; - overflow:hidden !important; - position:absolute !important; - z-index:-1000 !important; - top:0 !important; - right:0 !important; - pointer-events: none !important; -`,Fe=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","font-variant","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing","word-break","white-space"],ve={},B;function R(c){var y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,C=c.getAttribute("id")||c.getAttribute("data-reactid")||c.getAttribute("name");if(y&&ve[C])return ve[C];var u=window.getComputedStyle(c),b=u.getPropertyValue("box-sizing")||u.getPropertyValue("-moz-box-sizing")||u.getPropertyValue("-webkit-box-sizing"),Z=parseFloat(u.getPropertyValue("padding-bottom"))+parseFloat(u.getPropertyValue("padding-top")),T=parseFloat(u.getPropertyValue("border-bottom-width"))+parseFloat(u.getPropertyValue("border-top-width")),F=Fe.map(function(S){return"".concat(S,":").concat(u.getPropertyValue(S))}).join(";"),I={sizingStyle:F,paddingSize:Z,borderSize:T,boxSizing:b};return y&&C&&(ve[C]=I),I}function n(c){var y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,C=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,u=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;B||(B=document.createElement("textarea"),B.setAttribute("tab-index","-1"),B.setAttribute("aria-hidden","true"),document.body.appendChild(B)),c.getAttribute("wrap")?B.setAttribute("wrap",c.getAttribute("wrap")):B.removeAttribute("wrap");var b=R(c,y),Z=b.paddingSize,T=b.borderSize,F=b.boxSizing,I=b.sizingStyle;B.setAttribute("style","".concat(I,";").concat(be)),B.value=c.value||c.placeholder||"";var S=void 0,Q=void 0,ie,ae=B.scrollHeight;if(F==="border-box"?ae+=T:F==="content-box"&&(ae-=Z),C!==null||u!==null){B.value=" ";var he=B.scrollHeight-Z;C!==null&&(S=he*C,F==="border-box"&&(S=S+Z+T),ae=Math.max(S,ae)),u!==null&&(Q=he*u,F==="border-box"&&(Q=Q+Z+T),ie=ae>Q?"":"hidden",ae=Math.min(Q,ae))}var te={height:ae,overflowY:ie,resize:"none"};return S&&(te.minHeight=S),Q&&(te.maxHeight=Q),te}var r=["prefixCls","onPressEnter","defaultValue","value","autoSize","onResize","className","style","disabled","onChange","onInternalAutoSize"],E=0,z=1,X=2,k=P.forwardRef(function(c,y){var C=c,u=C.prefixCls,b=C.onPressEnter,Z=C.defaultValue,T=C.value,F=C.autoSize,I=C.onResize,S=C.className,Q=C.style,ie=C.disabled,ae=C.onChange,he=C.onInternalAutoSize,te=(0,m.Z)(C,r),G=(0,pe.Z)(Z,{value:T,postState:function(Ve){return Ve!=null?Ve:""}}),de=(0,l.Z)(G,2),Se=de[0],se=de[1],Y=function(Ve){se(Ve.target.value),ae==null||ae(Ve)},J=P.useRef();P.useImperativeHandle(y,function(){return{textArea:J.current}});var fe=P.useMemo(function(){return F&&(0,M.Z)(F)==="object"?[F.minRows,F.maxRows]:[]},[F]),U=(0,l.Z)(fe,2),re=U[0],q=U[1],V=!!F,Ae=function(){try{if(document.activeElement===J.current){var Ve=J.current,Et=Ve.selectionStart,tt=Ve.selectionEnd,st=Ve.scrollTop;J.current.setSelectionRange(Et,tt),J.current.scrollTop=st}}catch(bt){}},oe=P.useState(X),Ee=(0,l.Z)(oe,2),Ie=Ee[0],ze=Ee[1],et=P.useState(),xe=(0,l.Z)(et,2),Oe=xe[0],Je=xe[1],at=function(){ze(E)};(0,le.Z)(function(){V&&at()},[T,re,q,V]),(0,le.Z)(function(){if(Ie===E)ze(z);else if(Ie===z){var Qe=n(J.current,!1,re,q);ze(X),Je(Qe)}else Ae()},[Ie]);var vt=P.useRef(),ot=function(){ce.Z.cancel(vt.current)},pt=function(Ve){Ie===X&&(I==null||I(Ve),F&&(ot(),vt.current=(0,ce.Z)(function(){at()})))};P.useEffect(function(){return ot},[]);var it=V?Oe:null,ht=(0,H.Z)((0,H.Z)({},Q),it);return(Ie===E||Ie===z)&&(ht.overflowY="hidden",ht.overflowX="hidden"),P.createElement(o.Z,{onResize:pt,disabled:!(F||I)},P.createElement("textarea",(0,x.Z)({},te,{ref:J,style:ht,className:$()(u,S,(0,g.Z)({},"".concat(u,"-disabled"),ie)),disabled:ie,value:Se,onChange:Y})))}),N=k,L=["defaultValue","value","onFocus","onBlur","onChange","allowClear","maxLength","onCompositionStart","onCompositionEnd","suffix","prefixCls","classes","showCount","className","style","disabled","hidden","classNames","styles","onResize"];function D(c,y){return(0,h.Z)(c||"").slice(0,y).join("")}function a(c,y,C,u){var b=C;return c?b=D(C,u):(0,h.Z)(y||"").lengthu&&(b=y),b}var v=P.forwardRef(function(c,y){var C,u=c.defaultValue,b=c.value,Z=c.onFocus,T=c.onBlur,F=c.onChange,I=c.allowClear,S=c.maxLength,Q=c.onCompositionStart,ie=c.onCompositionEnd,ae=c.suffix,he=c.prefixCls,te=he===void 0?"rc-textarea":he,G=c.classes,de=c.showCount,Se=c.className,se=c.style,Y=c.disabled,J=c.hidden,fe=c.classNames,U=c.styles,re=c.onResize,q=(0,m.Z)(c,L),V=(0,pe.Z)(u,{value:b,defaultValue:u}),Ae=(0,l.Z)(V,2),oe=Ae[0],Ee=Ae[1],Ie=(0,P.useRef)(null),ze=P.useState(!1),et=(0,l.Z)(ze,2),xe=et[0],Oe=et[1],Je=P.useState(!1),at=(0,l.Z)(Je,2),vt=at[0],ot=at[1],pt=P.useRef(),it=P.useRef(0),ht=P.useState(null),Qe=(0,l.Z)(ht,2),Ve=Qe[0],Et=Qe[1],tt=function(){var j;(j=Ie.current)===null||j===void 0||j.textArea.focus()};(0,P.useImperativeHandle)(y,function(){return{resizableTextArea:Ie.current,focus:tt,blur:function(){var j;(j=Ie.current)===null||j===void 0||j.textArea.blur()}}}),(0,P.useEffect)(function(){Oe(function(_){return!Y&&_})},[Y]);var st=Number(S)>0,bt=function(j){ot(!0),pt.current=oe,it.current=j.currentTarget.selectionStart,Q==null||Q(j)},Ft=function(j){ot(!1);var me=j.currentTarget.value;if(st){var e,i=it.current>=S+1||it.current===((e=pt.current)===null||e===void 0?void 0:e.length);me=a(i,pt.current,me,S)}me!==oe&&(Ee(me),(0,K.rJ)(j.currentTarget,j,F,me)),ie==null||ie(j)},At=function(j){var me=j.target.value;if(!vt&&st){var e=j.target.selectionStart>=S+1||j.target.selectionStart===me.length||!j.target.selectionStart;me=a(e,oe,me,S)}Ee(me),(0,K.rJ)(j.currentTarget,j,F,me)},$t=function(j){var me=q.onPressEnter,e=q.onKeyDown;j.key==="Enter"&&me&&me(j),e==null||e(j)},Ot=function(j){Oe(!0),Z==null||Z(j)},Pt=function(j){Oe(!1),T==null||T(j)},Rt=function(j){var me;Ee(""),tt(),(0,K.rJ)((me=Ie.current)===null||me===void 0?void 0:me.textArea,j,F)},lt=(0,K.D7)(oe);!vt&&st&&b==null&&(lt=D(lt,S));var It=ae,ut;if(de){var Dt=(0,h.Z)(lt).length;(0,M.Z)(de)==="object"?ut=de.formatter({value:lt,count:Dt,maxLength:S}):ut="".concat(Dt).concat(st?" / ".concat(S):""),It=P.createElement(P.Fragment,null,It,P.createElement("span",{className:$()("".concat(te,"-data-count"),fe==null?void 0:fe.count),style:U==null?void 0:U.count},ut))}var zt=function(j){var me;re==null||re(j),(me=Ie.current)!==null&&me!==void 0&&me.textArea.style.height&&Et(!0)},ee=!q.autoSize&&!de&&!I,Ce=P.createElement(s.BaseInput,{value:lt,allowClear:I,handleReset:Rt,suffix:It,prefixCls:te,classes:{affixWrapper:$()(G==null?void 0:G.affixWrapper,(C={},(0,g.Z)(C,"".concat(te,"-show-count"),de),(0,g.Z)(C,"".concat(te,"-textarea-allow-clear"),I),C))},disabled:Y,focused:xe,className:Se,style:(0,H.Z)((0,H.Z)({},se),Ve&&!ee?{height:"auto"}:{}),dataAttrs:{affixWrapper:{"data-count":typeof ut=="string"?ut:void 0}},hidden:J,inputElement:P.createElement(N,(0,x.Z)({},q,{onKeyDown:$t,onChange:At,onFocus:Ot,onBlur:Pt,onCompositionStart:bt,onCompositionEnd:Ft,className:fe==null?void 0:fe.textarea,style:(0,H.Z)((0,H.Z)({},U==null?void 0:U.textarea),{},{resize:se==null?void 0:se.resize}),disabled:Y,prefixCls:te,onResize:zt,ref:Ie}))});return Ce}),w=v,p=w},16722:function(He,ne,t){t.d(ne,{Z:function(){return A}});const x=$=>typeof $=="object"&&$!=null&&$.nodeType===1,H=($,s)=>(!s||$!=="hidden")&&$!=="visible"&&$!=="clip",g=($,s)=>{if($.clientHeight<$.scrollHeight||$.clientWidth<$.scrollWidth){const K=getComputedStyle($,null);return H(K.overflowY,s)||H(K.overflowX,s)||(pe=>{const P=(o=>{if(!o.ownerDocument||!o.ownerDocument.defaultView)return null;try{return o.ownerDocument.defaultView.frameElement}catch(le){return null}})(pe);return!!P&&(P.clientHeighto<$&&le>s||o>$&&le=s&&ce>=K?o-$-pe:le>s&&ceK?le-s+P:0,l=$=>{const s=$.parentElement;return s==null?$.getRootNode().host||null:s},m=($,s)=>{var K,pe,P,o;if(typeof document=="undefined")return[];const{scrollMode:le,block:ce,inline:be,boundary:Fe,skipOverflowHiddenElements:ve}=s,B=typeof Fe=="function"?Fe:T=>T!==Fe;if(!x($))throw new TypeError("Invalid target");const R=document.scrollingElement||document.documentElement,n=[];let r=$;for(;x(r)&&B(r);){if(r=l(r),r===R){n.push(r);break}r!=null&&r===document.body&&g(r)&&!g(document.documentElement)||r!=null&&g(r,ve)&&n.push(r)}const E=(pe=(K=window.visualViewport)==null?void 0:K.width)!=null?pe:innerWidth,z=(o=(P=window.visualViewport)==null?void 0:P.height)!=null?o:innerHeight,{scrollX:X,scrollY:k}=window,{height:N,width:L,top:D,right:a,bottom:v,left:w}=$.getBoundingClientRect(),{top:p,right:c,bottom:y,left:C}=(T=>{const F=window.getComputedStyle(T);return{top:parseFloat(F.scrollMarginTop)||0,right:parseFloat(F.scrollMarginRight)||0,bottom:parseFloat(F.scrollMarginBottom)||0,left:parseFloat(F.scrollMarginLeft)||0}})($);let u=ce==="start"||ce==="nearest"?D-p:ce==="end"?v+y:D+N/2-p+y,b=be==="center"?w+L/2-C+c:be==="end"?a+c:w-C;const Z=[];for(let T=0;T=0&&w>=0&&v<=z&&a<=E&&(F===R&&!g(F)||D>=Q&&v<=ae&&w>=he&&a<=ie))return Z;const te=getComputedStyle(F),G=parseInt(te.borderLeftWidth,10),de=parseInt(te.borderTopWidth,10),Se=parseInt(te.borderRightWidth,10),se=parseInt(te.borderBottomWidth,10);let Y=0,J=0;const fe="offsetWidth"in F?F.offsetWidth-F.clientWidth-G-Se:0,U="offsetHeight"in F?F.offsetHeight-F.clientHeight-de-se:0,re="offsetWidth"in F?F.offsetWidth===0?0:S/F.offsetWidth:0,q="offsetHeight"in F?F.offsetHeight===0?0:I/F.offsetHeight:0;if(R===F)Y=ce==="start"?u:ce==="end"?u-z:ce==="nearest"?M(k,k+z,z,de,se,k+u,k+u+N,N):u-z/2,J=be==="start"?b:be==="center"?b-E/2:be==="end"?b-E:M(X,X+E,E,G,Se,X+b,X+b+L,L),Y=Math.max(0,Y+k),J=Math.max(0,J+X);else{Y=ce==="start"?u-Q-de:ce==="end"?u-ae+se+U:ce==="nearest"?M(Q,ae,I,de,se+U,u,u+N,N):u-(Q+I/2)+U/2,J=be==="start"?b-he-G:be==="center"?b-(he+S/2)+fe/2:be==="end"?b-ie+Se+fe:M(he,ie,S,G,Se+fe,b,b+L,L);const{scrollLeft:V,scrollTop:Ae}=F;Y=q===0?0:Math.max(0,Math.min(Ae+Y/q,F.scrollHeight-I/q+U)),J=re===0?0:Math.max(0,Math.min(V+J/re,F.scrollWidth-S/re+fe)),u+=Ae-Y,b+=V-J}Z.push({el:F,top:Y,left:J})}return Z},h=$=>$===!1?{block:"end",inline:"nearest"}:(s=>s===Object(s)&&Object.keys(s).length!==0)($)?$:{block:"start",inline:"nearest"};function A($,s){if(!$.isConnected||!(P=>{let o=P;for(;o&&o.parentNode;){if(o.parentNode===document)return!0;o=o.parentNode instanceof ShadowRoot?o.parentNode.host:o.parentNode}return!1})($))return;const K=(P=>{const o=window.getComputedStyle(P);return{top:parseFloat(o.scrollMarginTop)||0,right:parseFloat(o.scrollMarginRight)||0,bottom:parseFloat(o.scrollMarginBottom)||0,left:parseFloat(o.scrollMarginLeft)||0}})($);if((P=>typeof P=="object"&&typeof P.behavior=="function")(s))return s.behavior(m($,s));const pe=typeof s=="boolean"||s==null?void 0:s.behavior;for(const{el:P,top:o,left:le}of m($,h(s))){const ce=o-K.top+K.bottom,be=le-K.left+K.right;P.scroll({top:ce,left:be,behavior:pe})}}}}]); diff --git a/p__Account__Secure__index.f746685b.async.js b/p__Account__Secure__index.f746685b.async.js new file mode 100644 index 0000000000..616e3c8667 --- /dev/null +++ b/p__Account__Secure__index.f746685b.async.js @@ -0,0 +1,35 @@ +"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[4520],{73331:function(He,ee,t){t.d(ee,{Z:function(){return O}});var x=t(54476),W=t(59301),v={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z"}},{tag:"path",attrs:{d:"M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z"}}]},name:"eye-invisible",theme:"outlined"},N=v,l=t(7657),g=function(c,H){return W.createElement(l.Z,(0,x.Z)({},c,{ref:H,icon:N}))},p=W.forwardRef(g),O=p},15277:function(He,ee,t){t.d(ee,{Z:function(){return O}});var x=t(54476),W=t(59301),v={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"}}]},name:"eye",theme:"outlined"},N=v,l=t(7657),g=function(c,H){return W.createElement(l.Z,(0,x.Z)({},c,{ref:H,icon:N}))},p=W.forwardRef(g),O=p},61485:function(He,ee,t){t.d(ee,{Z:function(){return O}});var x=t(54476),W=t(59301),v={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"question-circle",theme:"outlined"},N=v,l=t(7657),g=function(c,H){return W.createElement(l.Z,(0,x.Z)({},c,{ref:H,icon:N}))},p=W.forwardRef(g),O=p},47472:function(He,ee,t){t.d(ee,{Z:function(){return O}});var x=t(54476),W=t(59301),v={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"},N=v,l=t(7657),g=function(c,H){return W.createElement(l.Z,(0,x.Z)({},c,{ref:H,icon:N}))},p=W.forwardRef(g),O=p},6969:function(He,ee,t){t.r(ee),t.d(ee,{default:function(){return ge}});var x=t(59301),W=t(75759),v=t(78241),N=t(8591),l=t(92832),g=t(3113),p=t(6848),O=t(78673),$=t(43418),c={wrap:"wrap___vEhcs",content:"content___ebZIP",hint:"hint___b1gVO",titleWrap:"titleWrap___iGFyX",title:"title___O7ajd",formWrap:"formWrap___hsI9d",row:"row___xYJES",rowBorder:"rowBorder___YP4Tf",name:"name___kvtHq",status:"status___Z3SQA",description:"description___iGcNP",active:"active___DoK2i",color999:"color999___MWFZD",colorCDCDCD:"colorCDCDCD___miC4g",colorRed:"colorRed___YHbHP",submitButton:"submitButton___iLv6C",buttonWrap:"buttonWrap___gaJuB",limit:"limit___Imnh5"},H=t(78279),me=t(19694),P=t(79884),o=t(59301),ae=Object.getOwnPropertySymbols,ie=Object.prototype.hasOwnProperty,be=Object.prototype.propertyIsEnumerable,Fe=(R,V)=>{var r={};for(var s in R)ie.call(R,s)&&V.indexOf(s)<0&&(r[s]=R[s]);if(R!=null&&ae)for(var s of ae(R))V.indexOf(s)<0&&be.call(R,s)&&(r[s]=R[s]);return r},de=(R,V,r)=>new Promise((s,S)=>{var C=E=>{try{B(r.next(E))}catch(d){S(d)}},u=E=>{try{B(r.throw(E))}catch(d){S(d)}},B=E=>E.done?s(E.value):Promise.resolve(E.value).then(C,u);B((r=r.apply(R,V)).next())}),A=(R=>(R[R.Phone=1]="Phone",R[R.Email=2]="Email",R[R.Password=3]="Password",R))(A||{});const z=/^1\d{10}$/,n=/^[a-zA-Z0-9]+([.\-_\\]*[a-zA-Z0-9])*@([a-z0-9]+[-a-z0-9]*[a-z0-9]+.){1,63}[a-z0-9]+$/,a=/^(?![\d]+$)(?![a-zA-Z]+$)(?![^\da-zA-Z]+$).{8,16}$/,h=/^(?=.*[A-Z])(?=.*[a-z])(?=.*\d)(?=.*[!@#$%^&*()_+\-=\[\]{};':"\\|,.<>\/?]).{12,16}$/,M=(R,V,r)=>{V?V.indexOf(" ")>-1||V.length<12||V.length>16?r("\u8BF7\u8F93\u516512~16\u4F4D\u5B57\u7B26\uFF0C\u5FC5\u987B\u5305\u542B\u5927\u5C0F\u5199\u5B57\u6BCD\u3001\u6570\u5B57\u548C\u7279\u6B8A\u7B26\u53F7"):h.test(V)?r():r("\u8BF7\u8F93\u516512~16\u4F4D\u5B57\u7B26\uFF0C\u5FC5\u987B\u5305\u542B\u5927\u5C0F\u5199\u5B57\u6BCD\u3001\u6570\u5B57\u548C\u7279\u6B8A\u7B26\u53F7"):r("\u8BF7\u8F93\u516512-16\u4F4D\u5B57\u7B26\uFF0C\u5FC5\u987B\u5305\u542B\u5927\u5C0F\u5199\u5B57\u6BCD\u3001\u6570\u5B57\u548C\u7279\u6B8A\u7B26\u53F7")};var X=(R=>(R.Wechat="wechat",R.QQ="qq",R))(X||{});const _=R=>{var V=R,{user:r,account:s,globalSetting:S,loading:C,dispatch:u}=V,B=Fe(V,["user","account","globalSetting","loading","dispatch"]),E,d,b,Z,T,F,I,y,U,re,te,he,k,K,se,xe,oe,Q,Y,ue,ne;const[ve]=v.default.useForm(),[G,j]=(0,x.useState)(),[$e,Ee]=(0,x.useState)(60),[pe,Ce]=(0,x.useState)(),Pe=(0,x.useRef)(),[Qe,Se]=(0,x.useState)({}),[Ae,Ye]=(0,x.useState)({}),[gt,nt]=(0,x.useState)(!1),[vt,rt]=(0,x.useState)(!1),[ht,ot]=(0,x.useState)(!1),[et,Te]=(0,x.useState)(!1),[St,lt]=(0,x.useState)(!1),Je=(0,x.useRef)(!1),[yt,It]=(0,x.useState)(!1),[Ft,wt]=(0,x.useState)(""),[At,Ot]=(0,x.useState)(""),Pt=(0,W.useLocation)(),[it]=(0,W.useSearchParams)();(0,x.useEffect)(()=>{var J,q;const w=((J=s.basicInfo)==null?void 0:J.open_users.find(e=>e.en_type==="wechat"))||{};Se(w);const fe=((q=s.basicInfo)==null?void 0:q.open_users.find(e=>e.en_type==="qq"))||{};Ye(fe)},[s.basicInfo]),(0,x.useEffect)(()=>()=>{Pe.current&&clearInterval(Pe.current)},[]),(0,x.useEffect)(()=>{j(parseInt(it.get("active")))},[Pt]),(0,H.Y)(()=>{if(pe)Ee(60);else return;$e>0?Ee($e-1):(Ee(60),Ce(!1),Pe.current&&clearInterval(Pe.current))},1e3);const Et=J=>de(void 0,null,function*(){var q;let w,fe;if(J){if(fe=3,w=ve.getFieldValue("phone"),!z.test(w)){N.ZP.info("\u8BF7\u5148\u8F93\u5165\u6B63\u786E\u7684\u624B\u673A\u53F7\u7801");return}let f=yield(0,P.ZP)(`/api/users/accounts/${(q=r.userInfo)==null?void 0:q.login}/valid_phone.json`,{method:"get",params:{phone:w}});if((f==null?void 0:f.status)===-1)return;if(f!=null&&f.is_exists){ot(!0);return}}else if(fe=4,w=ve.getFieldValue("email"),!n.test(w)){N.ZP.info("\u8BF7\u5148\u8F93\u5165\u6B63\u786E\u7684\u90AE\u7BB1\u5730\u5740");return}let e=(0,me.M)(w);(yield u({type:"account/getCode",payload:{login:w,type:fe,smscode:e}})).status===1&&(N.ZP.info("\u9A8C\u8BC1\u7801\u5DF2\u53D1\u9001\uFF0C\u8BF7\u6CE8\u610F\u67E5\u6536"),Ce(!0))}),st=J=>de(void 0,null,function*(){var q;const{phone:w,phoneValidateCode:fe}=J||{},{login:e}=r.userInfo||{};if(!z.test(w)){N.ZP.info("\u8BF7\u8F93\u5165\u6709\u6548\u768411\u4F4D\u624B\u673A\u53F7\u7801");return}const i=yield u({type:"account/bindPhone",payload:{login:e,phone:w,code:fe}});(i==null?void 0:i.status)===0&&(N.ZP.info("\u624B\u673A\u53F7\u7801\u7ED1\u5B9A\u6210\u529F!"),j(null),Ce(!1),u({type:"account/getBasicInfo",payload:{login:(q=r.userInfo)==null?void 0:q.login}}))}),Dt=J=>de(void 0,null,function*(){var q;const{email:w,emailValidateCode:fe}=J||{},{login:e}=r.userInfo||{};if(!n.test(w)){N.ZP.info("\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u90AE\u7BB1\u5730\u5740");return}const i=yield u({type:"account/bindEmail",payload:{login:e,email:w,code:fe}});(i==null?void 0:i.status)===0&&(N.ZP.info("\u90AE\u7BB1\u5730\u5740\u7ED1\u5B9A\u6210\u529F!"),j(null),Ce(!1),u({type:"account/getBasicInfo",payload:{login:(q=r.userInfo)==null?void 0:q.login}}))}),Rt=J=>de(void 0,null,function*(){var q,w;const{oldPassword:fe,newPassword:e,againPassword:i}=J||{},{login:f}=r.userInfo||{};if((q=s.basicInfo)!=null&&q.has_password&&fe===e){N.ZP.info("\u65B0\u5BC6\u7801\u4E0D\u80FD\u4E0E\u65E7\u5BC6\u7801\u76F8\u540C\uFF01");return}if(e!==i){N.ZP.info("\u4E24\u6B21\u8F93\u5165\u7684\u65B0\u5BC6\u7801\u5FC5\u987B\u4E00\u81F4\uFF01");return}const m=yield u({type:"account/updatePassword",payload:{login:f,old_password:fe,password:e}});(m==null?void 0:m.status)===0&&(N.ZP.info("\u5BC6\u7801\u66F4\u65B0\u6210\u529F\uFF01"),j(null),u({type:"account/getBasicInfo",payload:{login:(w=r.userInfo)==null?void 0:w.login}}))}),jt=J=>{const{}=J||{};console.log("handleFinish values: ",J),G===1&&st(J),G===2&&Dt(J),G===3&&Rt(J)};return(0,x.useEffect)(()=>{G||ve.setFieldsValue({phone:"",phoneValidateCode:"",email:"",emailValidateCode:"",oldPassword:"",newPassword:"",againPassword:""})},[G]),o.createElement("section",{className:c.wrap},o.createElement("div",null,o.createElement("div",{className:c.content},o.createElement("div",{className:`${c.titleWrap} mt10`},o.createElement("div",{className:c.title},"\u5B89\u5168\u8BBE\u7F6E")),o.createElement(v.default,{form:ve,className:c.formWrap,labelCol:{span:6},wrapperCol:{span:10},onFinish:jt},o.createElement("div",{className:`${c.row} ${G===1?"":c.rowBorder}`},o.createElement("span",{className:`${c.name} ${c.color999}`},"\u624B\u673A"),o.createElement("div",{className:`${c.description} ${c.colorCDCDCD}`},(E=s.basicInfo)!=null&&E.phone?o.createElement("span",{className:`${c.status} mr20`},(d=s.basicInfo)==null?void 0:d.phone):o.createElement("span",{className:`${c.status} ${c.colorRed} mr20`},"\u672A\u7ED1\u5B9A"),(b=s.basicInfo)!=null&&b.phone?"\u4EC5\u81EA\u5DF1\u53EF\u89C1\uFF0C\u53EF\u7528\u624B\u673A\u53F7\u7801\u767B\u5F55\u5E73\u53F0":"\u7ED1\u5B9A\u624B\u673A\u53F7\u7801\uFF0C\u5C06\u83B7\u5F97500\u91D1\u5E01\u7684\u5956\u52B1\u54DF\uFF5E\uFF0C\u624B\u673A\u53F7\u7801\u4EC5\u81EA\u5DF1\u53EF\u89C1~"),((Z=s.basicInfo)==null?void 0:Z.phone)&&G!==1&&o.createElement("span",{className:c.active,style:{marginRight:"30px",cursor:"pointer"},onClick:()=>{var J;!(Qe!=null&&Qe.id)&&!(Ae!=null&&Ae.id)&&!((J=s.basicInfo)!=null&&J.mail)?nt(!0):rt(!0)}},"\u89E3\u7ED1\u624B\u673A\u53F7"),G!==1&&o.createElement("span",{className:c.active,onClick:()=>j(1)},(T=s.basicInfo)!=null&&T.phone?"\u66F4\u6362":"\u7ACB\u5373\u7ED1\u5B9A")),G===1&&o.createElement(o.Fragment,null,o.createElement(v.default.Item,{label:"\u4F60\u7684\u624B\u673A\u53F7",name:"phone",rules:[{required:!0,message:`\u8BF7\u8F93\u5165\u8981${(F=s.basicInfo)!=null&&F.phone?"\u66F4\u6362":"\u7ED1\u5B9A"}\u7684\u624B\u673A\u53F7\u7801`},{validator:(J,q,w)=>{z.test(q)&&w(),w("\u8BF7\u8F93\u5165\u6709\u6548\u768411\u4F4D\u624B\u673A\u53F7\u7801")}}]},o.createElement(l.default,{placeholder:`\u8BF7\u8F93\u5165\u8981${(I=s.basicInfo)!=null&&I.phone?"\u66F4\u6362":"\u7ED1\u5B9A"}\u7684\u624B\u673A\u53F7\u7801`})),((y=S==null?void 0:S.setting)==null?void 0:y.is_local)&&((U=S==null?void 0:S.setting)==null?void 0:U.is_need_code)=="true"&&o.createElement(v.default.Item,{label:"\u624B\u673A\u9A8C\u8BC1\u7801"},o.createElement(v.default.Item,{name:"phoneValidateCode",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u624B\u673A\u83B7\u53D6\u7684\u9A8C\u8BC1\u7801"}],noStyle:!0},o.createElement(l.default,{placeholder:"\u8BF7\u8F93\u5165\u624B\u673A\u83B7\u53D6\u7684\u9A8C\u8BC1\u7801"})),o.createElement(g.ZP,{type:"primary",className:"ml5",disabled:pe,onClick:()=>Et(!0)},pe?`\u91CD\u65B0\u53D1\u9001${$e}s`:"\u83B7\u53D6\u9A8C\u8BC1\u7801")),o.createElement(v.default.Item,{noStyle:!0},o.createElement("div",{className:c.buttonWrap},o.createElement(g.ZP,{className:`${c.submitButton}`,size:"middle",type:"primary",htmlType:"submit"},"\u786E\u5B9A"),o.createElement(g.ZP,{className:c.submitButton,size:"middle",onClick:()=>j(null)},"\u53D6\u6D88")))),o.createElement("div",{className:`${c.row} ${G===2?"":c.rowBorder}`},o.createElement("span",{className:`${c.name} ${c.color999}`},"\u90AE\u7BB1"),o.createElement("div",{className:`${c.description} ${c.colorCDCDCD}`},(re=s.basicInfo)!=null&&re.mail?o.createElement("span",{className:`${c.status} mr20`},(te=s.basicInfo)==null?void 0:te.mail):o.createElement("span",{className:`${c.status} ${c.colorRed} mr20`},"\u672A\u7ED1\u5B9A"),"\u90AE\u7BB1\u8D26\u53F7\u4EC5\u81EA\u5DF1\u53EF\u89C1\uFF0C\u53EF\u7528\u4E8E\u90AE\u7BB1\u8D26\u53F7\u767B\u5F55",!((he=S==null?void 0:S.setting)!=null&&he.is_local)&&"\u5E73\u53F0"),G!==2&&o.createElement("span",{className:c.active,onClick:()=>j(2)},(k=s.basicInfo)!=null&&k.mail?"\u66F4\u6362":"\u7ACB\u5373\u7ED1\u5B9A")),G===2&&o.createElement(o.Fragment,null,o.createElement(v.default.Item,{label:"\u90AE\u7BB1\u5730\u5740",name:"email",rules:[{required:!0,message:(K=s.basicInfo)!=null&&K.mail?"\u8BF7\u8F93\u5165\u8981\u66F4\u6362\u7684\u65B0\u90AE\u7BB1\u5730\u5740":"\u8BF7\u8F93\u5165\u90AE\u7BB1\u5730\u5740"}]},o.createElement(l.default,{placeholder:(se=s.basicInfo)!=null&&se.mail?"\u8BF7\u8F93\u5165\u8981\u66F4\u6362\u7684\u65B0\u90AE\u7BB1\u5730\u5740":"\u8BF7\u8F93\u5165\u90AE\u7BB1\u5730\u5740"})),((xe=S==null?void 0:S.setting)==null?void 0:xe.is_local)&&((oe=S==null?void 0:S.setting)==null?void 0:oe.is_need_code)=="true"&&o.createElement(v.default.Item,{label:"\u90AE\u7BB1\u9A8C\u8BC1\u7801"},o.createElement(v.default.Item,{name:"emailValidateCode",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u90AE\u7BB1\u6536\u5230\u7684\u9A8C\u8BC1\u7801"}],noStyle:!0},o.createElement(l.default,{placeholder:"\u8BF7\u8F93\u5165\u90AE\u7BB1\u6536\u5230\u7684\u9A8C\u8BC1\u7801"})),o.createElement(g.ZP,{type:"primary",className:"ml5",disabled:pe,onClick:()=>Et(!1)},pe?`\u91CD\u65B0\u53D1\u9001${$e}s`:"\u83B7\u53D6\u9A8C\u8BC1\u7801")),o.createElement(v.default.Item,{noStyle:!0},o.createElement("div",{className:c.buttonWrap},o.createElement(g.ZP,{className:`${c.submitButton}`,size:"middle",type:"primary",htmlType:"submit"},"\u786E\u5B9A"),o.createElement(g.ZP,{className:c.submitButton,size:"middle",onClick:()=>j(null)},"\u53D6\u6D88")))),o.createElement("div",{className:c.row},o.createElement("span",{className:`${c.name} ${c.color999}`},"\u5BC6\u7801"),o.createElement("div",{className:`${c.description} ${c.colorCDCDCD}`},o.createElement("span",{className:`${c.status} mr20`},"**********"),"\u7528\u4E8E\u4FDD\u62A4\u8D26\u6237\u4FE1\u606F\u548C\u767B\u5F55\u5B89\u5168"),G!==3&&o.createElement("span",{className:c.active,onClick:()=>j(3)},"\u4FEE\u6539")),G===3&&o.createElement(o.Fragment,null,((Q=s.basicInfo)==null?void 0:Q.has_password)&&o.createElement(v.default.Item,{label:"\u65E7\u5BC6\u7801",name:"oldPassword",rules:[{required:!0,message:"\u8BF7\u8BBE\u7F6E8\uFF5E16\u4F4D\u5BC6\u7801\uFF0C\u533A\u5206\u5927\u5C0F\u5199"}]},o.createElement(l.default,{type:"password",placeholder:"\u8BF7\u8BBE\u7F6E8\uFF5E16\u4F4D\u5BC6\u7801\uFF0C\u533A\u5206\u5927\u5C0F\u5199"})),o.createElement(p.Z,{title:o.createElement("div",null,o.createElement("span",null,"\u957F\u5EA6\u4E3A12-16\u4F4D\u5B57\u7B26"),o.createElement("br",null),o.createElement("span",null,"\u5FC5\u987B\u5305\u542B\u5927\u5C0F\u5B57\u6BCD/\u6570\u5B57\u4EE5\u53CA\u6807\u70B9\u7B26\u53F7"),o.createElement("br",null),o.createElement("span",null,"\u4E0D\u5141\u8BB8\u6709\u7A7A\u683C\u3001\u4E2D\u6587")),placement:"top"},o.createElement(v.default.Item,{label:"\u65B0\u5BC6\u7801",name:"newPassword",rules:[{},{validator:M}]},o.createElement(l.default,{type:"password",placeholder:"\u8BF7\u8F93\u516512\uFF5E16\u4F4D\u7684\u65B0\u5BC6\u7801\uFF0C\u533A\u5206\u5927\u5C0F\u5199"}))),o.createElement(p.Z,{title:o.createElement("div",null,o.createElement("span",null,"\u957F\u5EA6\u4E3A12-16\u4F4D\u5B57\u7B26"),o.createElement("br",null),o.createElement("span",null,"\u5FC5\u987B\u5305\u542B\u5927\u5C0F\u5B57\u6BCD/\u6570\u5B57\u4EE5\u53CA\u6807\u70B9\u7B26\u53F7"),o.createElement("br",null),o.createElement("span",null,"\u4E0D\u5141\u8BB8\u6709\u7A7A\u683C\u3001\u4E2D\u6587")),placement:"top"},o.createElement(v.default.Item,{label:"\u518D\u6B21\u8F93\u5165",name:"againPassword",rules:[{required:!0,message:"\u8BF7\u518D\u6B21\u8F93\u5165\u65B0\u5BC6\u7801"},{validator:(J,q,w)=>{q!=ve.getFieldsValue().newPassword?w("\u4E24\u6B21\u8F93\u5165\u7684\u65B0\u5BC6\u7801\u5FC5\u987B\u4E00\u81F4\uFF01"):w()}}]},o.createElement(l.default,{type:"password",placeholder:"\u8BF7\u518D\u6B21\u8F93\u5165\u65B0\u5BC6\u7801"}))),o.createElement(v.default.Item,{noStyle:!0},o.createElement("div",{className:c.buttonWrap},o.createElement(g.ZP,{className:`${c.submitButton}`,size:"middle",type:"primary",htmlType:"submit"},"\u786E\u5B9A"),o.createElement(g.ZP,{className:c.submitButton,size:"middle",onClick:()=>j(null)},"\u53D6\u6D88")))),o.createElement("div",{className:c.row},o.createElement("span",{className:`${c.name} ${c.color999}`},"\u767B\u5F55\u9650\u5236"),o.createElement("div",{className:c.limit},o.createElement(O.Z,{size:"default",checked:(Y=s==null?void 0:s.basicInfo)==null?void 0:Y.login_restrict,onChange:J=>{Je.current=J,lt(!0)}}),o.createElement("span",{className:"ml15"},(ue=s==null?void 0:s.basicInfo)!=null&&ue.login_restrict?"\u5DF2\u5F00\u542F":"\u672A\u5F00\u542F"),o.createElement("span",{style:{color:"#cdcdcd"}},"\uFF08\u5F00\u542F\u540E\uFF0C\u9650\u5236\u8D26\u53F7\u4EC5\u80FD\u5728\u4E00\u53F0\u8BBE\u5907\u4E0A\u767B\u5F55\uFF09"))))),o.createElement("div",{className:`${c.hint} font14`},"* \u6211\u4EEC\u786E\u4FDD\u4F60\u6240\u63D0\u4F9B\u7684\u4FE1\u606F\u5747\u5904\u4E8E\u4E25\u683C\u4FDD\u5BC6\u72B6\u6001\uFF0C\u4E0D\u4F1A\u6CC4\u9732")),o.createElement($.default,{title:"\u63D0\u793A",open:gt,onCancel:()=>{nt(!1)},footer:o.createElement("div",null,o.createElement(g.ZP,{style:{textAlign:"end"},type:"primary",onClick:()=>nt(!1)},"\u786E \u5B9A"))},o.createElement("div",{style:{padding:"7px 24px"}},o.createElement("span",null,"\u60A8\u76EE\u524D\u53EA\u6709\u624B\u673A\u53F7\u767B\u5F55\u4E00\u79CD\u65B9\u5F0F\uFF0C\u89E3\u7ED1\u540E\u5C06\u65E0\u6CD5\u6B63\u5E38\u4F7F\u7528\u5E73\u53F0\uFF0C\u9700\u8981\u60A8\u5148\u7ED1\u5B9A\u4EE5\u4E0B\u7684\u4EFB\u610F\u4E00\u79CD\u767B\u5F55\u65B9\u5F0F\uFF0C\u518D\u8FDB\u884C\u89E3\u7ED1\u3002"),o.createElement("br",null),o.createElement("p",{style:{marginTop:"1em",display:"flex"}},o.createElement("span",{style:{flex:"1"}},"1\u3001\u7ED1\u5B9A\u90AE\u7BB1 ")," ",o.createElement(g.ZP,{style:{height:24,padding:"0px 11px",borderRadius:12},type:"primary",ghost:!0,onClick:()=>nt(!1)},"\u524D\u5F80\u7ED1\u5B9A")))),o.createElement($.default,{title:"\u624B\u673A\u53F7\u89E3\u7ED1",open:vt,onCancel:()=>rt(!1),onOk:()=>de(void 0,null,function*(){var J,q;if(!Ft){N.ZP.info("\u9A8C\u8BC1\u7801\u4E0D\u80FD\u4E3A\u7A7A");return}let w=yield(0,P.ZP)(`/api/users/accounts/${(J=r==null?void 0:r.userInfo)==null?void 0:J.login}/phone_unbind.json`,{method:"POST",body:{code:Ft}});(w==null?void 0:w.status)===0&&(N.ZP.info("\u89E3\u7ED1\u6210\u529F"),Ce(!1),rt(!1),wt(""),u({type:"account/getBasicInfo",payload:{login:(q=r.userInfo)==null?void 0:q.login}}))})},o.createElement("div",{style:{padding:"8px 20px"}},o.createElement("p",null,"\u624B\u673A\u53F7\u89E3\u7ED1\u540E\uFF0C\u5C06\u65E0\u6CD5\u4F7F\u7528\u8BE5\u624B\u673A\u53F7\u767B\u5F55\u5E73\u53F0\uFF0C\u8BF7\u77E5\u6089"),o.createElement("p",null,"\u4F60\u7684\u624B\u673A\u53F7\uFF1A",(ne=s.basicInfo)==null?void 0:ne.phone),o.createElement("p",null,"\u624B\u673A\u9A8C\u8BC1\u7801\uFF1A",o.createElement(l.default,{size:"middle",value:Ft,onChange:J=>wt(J.target.value),style:{width:"220px"}})," ",o.createElement(g.ZP,{disabled:pe,type:"primary",size:"middle",onClick:()=>de(void 0,null,function*(){var J;let q=yield(0,P.ZP)(`/api/users/accounts/${(J=r==null?void 0:r.userInfo)==null?void 0:J.login}/get_phone_code.json`,{method:"get"});(q==null?void 0:q.status)===0&&(N.ZP.info("\u9A8C\u8BC1\u7801\u53D1\u9001\u6210\u529F"),Ce(!0))})},pe?`\u91CD\u65B0\u53D1\u9001${$e}s`:"\u83B7\u53D6\u9A8C\u8BC1\u7801")))),o.createElement($.default,{title:"\u5F3A\u5236\u89E3\u7ED1",open:et,onCancel:()=>Te(!1),onOk:()=>de(void 0,null,function*(){var J,q;if(!At){N.ZP.info("\u9A8C\u8BC1\u7801\u4E0D\u80FD\u4E3A\u7A7A");return}let w=yield(0,P.ZP)(`/api/users/accounts/${(J=r==null?void 0:r.userInfo)==null?void 0:J.login}/phone_force_unbind.json`,{method:"POST",body:{code:At,phone:ve.getFieldValue("phone")}});(w==null?void 0:w.status)===0&&(N.ZP.info("\u89E3\u7ED1\u6210\u529F"),Ce(!1),Te(!1),j(null),Ot(""),u({type:"account/getBasicInfo",payload:{login:(q=r.userInfo)==null?void 0:q.login}}))})},o.createElement("div",{style:{padding:"8px 20px"}},o.createElement("p",null,"\u82E5\u539F\u8D26\u53F7\u53EA\u6709\u7ED1\u5B9A\u4E86\u624B\u673A\u53F7\u4E00\u79CD\u767B\u5F55\u65B9\u5F0F\uFF0C\u5F3A\u5236\u89E3\u7ED1\u540E\u4F1A\u5BFC\u81F4\u539F\u8D26\u53F7\u65E0\u6CD5\u767B\u5F55\uFF0C\u8BF7\u786E\u5B9A\u662F\u5426\u5F3A\u5236\u89E3\u7ED1"),o.createElement("p",null,"\u4F60\u7684\u624B\u673A\u53F7\uFF1A",ve.getFieldValue("phone")),o.createElement("p",null,"\u624B\u673A\u9A8C\u8BC1\u7801\uFF1A",o.createElement(l.default,{value:At,size:"middle",onChange:J=>Ot(J.target.value),style:{width:"230px"}})," ",o.createElement(g.ZP,{disabled:pe,type:"primary",size:"middle",onClick:()=>de(void 0,null,function*(){let J=(0,me.M)(ve.getFieldValue("phone"));(yield u({type:"account/getCode",payload:{login:ve.getFieldValue("phone"),type:10,smscode:J}})).status===1&&(N.ZP.info("\u9A8C\u8BC1\u7801\u5DF2\u53D1\u9001\uFF0C\u8BF7\u6CE8\u610F\u67E5\u6536"),Ce(!0))})},pe?`\u91CD\u65B0\u53D1\u9001${$e}s`:"\u83B7\u53D6\u9A8C\u8BC1\u7801")))),o.createElement($.default,{title:"\u63D0\u793A",open:ht,onCancel:()=>{ot(!1)},okText:"\u8FDB\u884C\u5F3A\u5236\u89E3\u7ED1",okButtonProps:{type:"primary",ghost:!0,style:{width:"124px"}},onOk:()=>{Te(!0),ot(!1)}},o.createElement("div",{style:{padding:"7px 24px"}},o.createElement("span",null,"\u8BE5\u624B\u673A\u53F7\u5DF2\u7ECF\u88AB\u7ED1\u5B9A\u8D26\u53F7\uFF0C\u5982\u679C\u9700\u8981\u5C06\u8BE5\u624B\u673A\u53F7\u7ED1\u5B9A\u5728\u5F53\u524D\u8D26\u53F7\u4E0A\uFF0C\u4F60\u53EF\u4EE5\u8FDB\u884C\u4E0B\u65B9\u4EFB\u610F\u4E00\u79CD\u89E3\u7ED1\u64CD\u4F5C\uFF1A"),o.createElement("br",null),o.createElement("p",{style:{marginTop:"1em",display:"flex"}},o.createElement("span",{style:{flex:"1"}},"1\u3001\u4F7F\u7528\u8BE5\u624B\u673A\u53F7\u767B\u5F55\u5E73\u53F0\u8FDB\u884C\u89E3\u7ED1\uFF0C\u518D\u5C06\u624B\u673A\u53F7\u7ED1\u5B9A\u5F53\u524D\u8D26\u53F7\u4E0A\u3002")),o.createElement("p",{style:{marginTop:"1em",display:"flex"}},o.createElement("span",{style:{flex:"1"}},"2\u3001\u5F3A\u5236\u89E3\u7ED1\uFF08\u5F3A\u5236\u89E3\u7ED1\u53EF\u80FD\u4F1A\u5BFC\u81F4\u89E3\u7ED1\u8D26\u53F7\u65E0\u6CD5\u767B\u5F55\uFF09")))),o.createElement($.default,{title:`${Je.current?"\u5F00\u542F":"\u5173\u95ED"}\u767B\u5F55\u9650\u5236`,open:St,onCancel:()=>{lt(!1)},okText:`\u786E\u8BA4${Je.current?"\u5F00\u542F":"\u5173\u95ED"}`,confirmLoading:yt,onOk:()=>de(void 0,null,function*(){var J,q;It(!0);let w=yield(0,P.ZP)(`/api/users/accounts/${(J=r==null?void 0:r.userInfo)==null?void 0:J.login}/login_restrict.json`,{method:"POST",body:{login_restrict:Je.current}});(w==null?void 0:w.status)===0&&(N.ZP.info(`${Je.current?"\u5F00\u542F":"\u5173\u95ED"}\u767B\u5F55\u9650\u5236\u6210\u529F`),lt(!1),u({type:"account/getBasicInfo",payload:{login:(q=r.userInfo)==null?void 0:q.login}})),It(!1)})},o.createElement("div",null,Je.current?"\u5F00\u542F\u767B\u5F55\u9650\u5236\u540E\uFF0C\u5176\u4ED6\u8BBE\u5907\u4E0A\u8BE5\u8D26\u53F7\u7684\u767B\u5F55\u72B6\u6001\u5C06\u4F1A\u88AB\u5F3A\u5236\u4E0B\u7EBF\u3002\u8BF7\u786E\u8BA4\u662F\u5426\u5F00\u542F\u767B\u5F55\u9650\u5236":"\u5173\u95ED\u767B\u5F55\u9650\u5236\u540E\uFF0C\u8BE5\u8D26\u53F7\u53EF\u5728\u591A\u53F0\u8BBE\u5907\u4E0A\u767B\u5F55\u3002\u8BF7\u786E\u8BA4\u662F\u5426\u5173\u95ED\u767B\u5F55\u9650\u5236")))};var ge=(0,W.connect)(({user:R,account:V,loading:r,globalSetting:s})=>({user:R,account:V,globalSetting:s,loading:r.models.index}))(_)},78279:function(He,ee,t){t.d(ee,{Y:function(){return W}});var x=t(59301);function W(v,N){const l=(0,x.useRef)(),g=(0,x.useRef)();(0,x.useEffect)(()=>{l.current=v}),(0,x.useEffect)(()=>{function p(){l.current()}if(N!==null){let O=setInterval(p,N);return g.current=O,()=>clearInterval(O)}},[N])}},19080:function(He,ee,t){t.d(ee,{F:function(){return l},Z:function(){return N}});var x=t(92310),W=t.n(x);const v=null;function N(g,p,O){return W()({[`${g}-status-success`]:p==="success",[`${g}-status-warning`]:p==="warning",[`${g}-status-error`]:p==="error",[`${g}-status-validating`]:p==="validating",[`${g}-has-feedback`]:O})}const l=(g,p)=>p||g},78241:function(He,ee,t){t.d(ee,{default:function(){return fe}});var x=t(94480),W=t(92310),v=t.n(W),N=t(77900),l=t(59301),g=t(62892),p=t(32441);function O(e){const[i,f]=l.useState(e);return l.useEffect(()=>{const m=setTimeout(()=>{f(e)},e.length?0:10);return()=>{clearTimeout(m)}},[e]),i}var $=t(17313),c=t(29878),H=t(8378),me=t(37613),P=t(83116),ae=e=>{const{componentCls:i}=e,f=`${i}-show-help`,m=`${i}-show-help-item`;return{[f]:{transition:`opacity ${e.motionDurationSlow} ${e.motionEaseInOut}`,"&-appear, &-enter":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}},[m]:{overflow:"hidden",transition:`height ${e.motionDurationSlow} ${e.motionEaseInOut}, + opacity ${e.motionDurationSlow} ${e.motionEaseInOut}, + transform ${e.motionDurationSlow} ${e.motionEaseInOut} !important`,[`&${m}-appear, &${m}-enter`]:{transform:"translateY(-5px)",opacity:0,"&-active":{transform:"translateY(0)",opacity:1}},[`&${m}-leave-active`]:{transform:"translateY(-5px)"}}}}};const ie=e=>({legend:{display:"block",width:"100%",marginBottom:e.marginLG,padding:0,color:e.colorTextDescription,fontSize:e.fontSizeLG,lineHeight:"inherit",border:0,borderBottom:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`},label:{fontSize:e.fontSize},'input[type="search"]':{boxSizing:"border-box"},'input[type="radio"], input[type="checkbox"]':{lineHeight:"normal"},'input[type="file"]':{display:"block"},'input[type="range"]':{display:"block",width:"100%"},"select[multiple], select[size]":{height:"auto"},"input[type='file']:focus,\n input[type='radio']:focus,\n input[type='checkbox']:focus":{outline:0,boxShadow:`0 0 0 ${e.controlOutlineWidth}px ${e.controlOutline}`},output:{display:"block",paddingTop:15,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight}}),be=(e,i)=>{const{formItemCls:f}=e;return{[f]:{[`${f}-label > label`]:{height:i},[`${f}-control-input`]:{minHeight:i}}}},Fe=e=>{const{componentCls:i}=e;return{[e.componentCls]:Object.assign(Object.assign(Object.assign({},(0,$.Wf)(e)),ie(e)),{[`${i}-text`]:{display:"inline-block",paddingInlineEnd:e.paddingSM},"&-small":Object.assign({},be(e,e.controlHeightSM)),"&-large":Object.assign({},be(e,e.controlHeightLG))})}},de=e=>{const{formItemCls:i,iconCls:f,componentCls:m,rootPrefixCls:D,labelRequiredMarkColor:L,labelColor:le,labelFontSize:we,labelHeight:ye,labelColonMarginInlineStart:Be,labelColonMarginInlineEnd:Oe,itemMarginBottom:Ie}=e;return{[i]:Object.assign(Object.assign({},(0,$.Wf)(e)),{marginBottom:Ie,verticalAlign:"top","&-with-help":{transition:"none"},[`&-hidden, + &-hidden.${D}-row`]:{display:"none"},"&-has-warning":{[`${i}-split`]:{color:e.colorError}},"&-has-error":{[`${i}-split`]:{color:e.colorWarning}},[`${i}-label`]:{flexGrow:0,overflow:"hidden",whiteSpace:"nowrap",textAlign:"end",verticalAlign:"middle","&-left":{textAlign:"start"},"&-wrap":{overflow:"unset",lineHeight:`${e.lineHeight} - 0.25em`,whiteSpace:"unset"},"> label":{position:"relative",display:"inline-flex",alignItems:"center",maxWidth:"100%",height:ye,color:le,fontSize:we,[`> ${f}`]:{fontSize:e.fontSize,verticalAlign:"top"},[`&${i}-required:not(${i}-required-mark-optional)::before`]:{display:"inline-block",marginInlineEnd:e.marginXXS,color:L,fontSize:e.fontSize,fontFamily:"SimSun, sans-serif",lineHeight:1,content:'"*"',[`${m}-hide-required-mark &`]:{display:"none"}},[`${i}-optional`]:{display:"inline-block",marginInlineStart:e.marginXXS,color:e.colorTextDescription,[`${m}-hide-required-mark &`]:{display:"none"}},[`${i}-tooltip`]:{color:e.colorTextDescription,cursor:"help",writingMode:"horizontal-tb",marginInlineStart:e.marginXXS},"&::after":{content:'":"',position:"relative",marginBlock:0,marginInlineStart:Be,marginInlineEnd:Oe},[`&${i}-no-colon::after`]:{content:'"\\a0"'}}},[`${i}-control`]:{"--ant-display":"flex",flexDirection:"column",flexGrow:1,[`&:first-child:not([class^="'${D}-col-'"]):not([class*="' ${D}-col-'"])`]:{width:"100%"},"&-input":{position:"relative",display:"flex",alignItems:"center",minHeight:e.controlHeight,"&-content":{flex:"auto",maxWidth:"100%"}}},[i]:{"&-explain, &-extra":{clear:"both",color:e.colorTextDescription,fontSize:e.fontSize,lineHeight:e.lineHeight},"&-explain-connected":{width:"100%"},"&-extra":{minHeight:e.controlHeightSM,transition:`color ${e.motionDurationMid} ${e.motionEaseOut}`},"&-explain":{"&-error":{color:e.colorError},"&-warning":{color:e.colorWarning}}},[`&-with-help ${i}-explain`]:{height:"auto",opacity:1},[`${i}-feedback-icon`]:{fontSize:e.fontSize,textAlign:"center",visibility:"visible",animationName:c.kr,animationDuration:e.motionDurationMid,animationTimingFunction:e.motionEaseOutBack,pointerEvents:"none","&-success":{color:e.colorSuccess},"&-error":{color:e.colorError},"&-warning":{color:e.colorWarning},"&-validating":{color:e.colorPrimary}}})}},A=e=>{const{componentCls:i,formItemCls:f}=e;return{[`${i}-horizontal`]:{[`${f}-label`]:{flexGrow:0},[`${f}-control`]:{flex:"1 1 0",minWidth:0},[`${f}-label[class$='-24'], ${f}-label[class*='-24 ']`]:{[`& + ${f}-control`]:{minWidth:"unset"}}}}},z=e=>{const{componentCls:i,formItemCls:f}=e;return{[`${i}-inline`]:{display:"flex",flexWrap:"wrap",[f]:{flex:"none",marginInlineEnd:e.margin,marginBottom:0,"&-row":{flexWrap:"nowrap"},[`> ${f}-label, + > ${f}-control`]:{display:"inline-block",verticalAlign:"top"},[`> ${f}-label`]:{flex:"none"},[`${i}-text`]:{display:"inline-block"},[`${f}-has-feedback`]:{display:"inline-block"}}}}},n=e=>({padding:e.verticalLabelPadding,margin:e.verticalLabelMargin,whiteSpace:"initial",textAlign:"start","> label":{margin:0,"&::after":{visibility:"hidden"}}}),a=e=>{const{componentCls:i,formItemCls:f,rootPrefixCls:m}=e;return{[`${f} ${f}-label`]:n(e),[i]:{[f]:{flexWrap:"wrap",[`${f}-label, ${f}-control`]:{[`&:not([class*=" ${m}-col-xs"])`]:{flex:"0 0 100%",maxWidth:"100%"}}}}}},h=e=>{const{componentCls:i,formItemCls:f,rootPrefixCls:m}=e;return{[`${i}-vertical`]:{[f]:{"&-row":{flexDirection:"column"},"&-label > label":{height:"auto"},[`${i}-item-control`]:{width:"100%"}}},[`${i}-vertical ${f}-label, + .${m}-col-24${f}-label, + .${m}-col-xl-24${f}-label`]:n(e),[`@media (max-width: ${e.screenXSMax}px)`]:[a(e),{[i]:{[`.${m}-col-xs-24${f}-label`]:n(e)}}],[`@media (max-width: ${e.screenSMMax}px)`]:{[i]:{[`.${m}-col-sm-24${f}-label`]:n(e)}},[`@media (max-width: ${e.screenMDMax}px)`]:{[i]:{[`.${m}-col-md-24${f}-label`]:n(e)}},[`@media (max-width: ${e.screenLGMax}px)`]:{[i]:{[`.${m}-col-lg-24${f}-label`]:n(e)}}}},M=(e,i)=>(0,me.TS)(e,{formItemCls:`${e.componentCls}-item`,rootPrefixCls:i});var X=(0,P.Z)("Form",(e,i)=>{let{rootPrefixCls:f}=i;const m=M(e,f);return[Fe(m),de(m),ae(m),A(m),z(m),h(m),(0,H.Z)(m),c.kr]},e=>({labelRequiredMarkColor:e.colorError,labelColor:e.colorTextHeading,labelFontSize:e.fontSize,labelHeight:e.controlHeight,labelColonMarginInlineStart:e.marginXXS/2,labelColonMarginInlineEnd:e.marginXS,itemMarginBottom:e.marginLG,verticalLabelPadding:`0 0 ${e.paddingXS}px`,verticalLabelMargin:0}),{order:-1e3});const _=[];function ge(e,i,f){let m=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;return{key:typeof e=="string"?e:`${i}-${m}`,error:e,errorStatus:f}}var V=e=>{let{help:i,helpStatus:f,errors:m=_,warnings:D=_,className:L,fieldId:le,onVisibleChanged:we}=e;const{prefixCls:ye}=l.useContext(p.Rk),Be=`${ye}-item-explain`,[,Oe]=X(ye),Ie=(0,l.useMemo)(()=>(0,g.Z)(ye),[ye]),Ve=O(m),Ne=O(D),Ke=l.useMemo(()=>i!=null?[ge(i,"help",f)]:[].concat((0,x.Z)(Ve.map((We,ze)=>ge(We,"error","error",ze))),(0,x.Z)(Ne.map((We,ze)=>ge(We,"warning","warning",ze)))),[i,f,Ve,Ne]),Le={};return le&&(Le.id=`${le}_help`),l.createElement(N.default,{motionDeadline:Ie.motionDeadline,motionName:`${ye}-show-help`,visible:!!Ke.length,onVisibleChanged:we},We=>{const{className:ze,style:ce}=We;return l.createElement("div",Object.assign({},Le,{className:v()(Be,ze,L,Oe),style:ce,role:"alert"}),l.createElement(N.CSSMotionList,Object.assign({keys:Ke},(0,g.Z)(ye),{motionName:`${ye}-show-help-item`,component:!1}),Ze=>{const{key:Me,error:De,errorStatus:je,className:qe,style:_e}=Ze;return l.createElement("div",{key:Me,className:v()(qe,{[`${Be}-${je}`]:je}),style:_e},De)}))})},r=t(95013),s=t(36355),S=t(1684),C=t(52946),u=t(19716),B=t(16722);const E=["parentNode"],d="form_item";function b(e){return e===void 0||e===!1?[]:Array.isArray(e)?e:[e]}function Z(e,i){if(!e.length)return;const f=e.join("_");return i?`${i}_${f}`:E.includes(f)?`${d}_${f}`:f}function T(e,i,f,m,D,L){let le=m;return L!==void 0?le=L:f.validating?le="validating":e.length?le="error":i.length?le="warning":(f.touched||D&&f.validated)&&(le="success"),le}function F(e){return b(e).join("_")}function I(e){const[i]=(0,r.useForm)(),f=l.useRef({}),m=l.useMemo(()=>e!=null?e:Object.assign(Object.assign({},i),{__INTERNAL__:{itemRef:D=>L=>{const le=F(D);L?f.current[le]=L:delete f.current[le]}},scrollToField:function(D){let L=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const le=b(D),we=Z(le,m.__INTERNAL__.name),ye=we?document.getElementById(we):null;ye&&(0,B.Z)(ye,Object.assign({scrollMode:"if-needed",block:"nearest"},L))},getFieldInstance:D=>{const L=F(D);return f.current[L]}}),[e,i]);return[m]}var y=t(28726),U=function(e,i){var f={};for(var m in e)Object.prototype.hasOwnProperty.call(e,m)&&i.indexOf(m)<0&&(f[m]=e[m]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var D=0,m=Object.getOwnPropertySymbols(e);D{const f=l.useContext(S.Z),{getPrefixCls:m,direction:D,form:L}=l.useContext(s.E_),{prefixCls:le,className:we,rootClassName:ye,size:Be,disabled:Oe=f,form:Ie,colon:Ve,labelAlign:Ne,labelWrap:Ke,labelCol:Le,wrapperCol:We,hideRequiredMark:ze,layout:ce="horizontal",scrollToFirstError:Ze,requiredMark:Me,onFinishFailed:De,name:je,style:qe,feedbackIcons:_e}=e,pt=U(e,["prefixCls","className","rootClassName","size","disabled","form","colon","labelAlign","labelWrap","labelCol","wrapperCol","hideRequiredMark","layout","scrollToFirstError","requiredMark","onFinishFailed","name","style","feedbackIcons"]),at=(0,u.Z)(Be),ut=l.useContext(y.Z),ct=(0,l.useMemo)(()=>Me!==void 0?Me:L&&L.requiredMark!==void 0?L.requiredMark:!ze,[ze,Me,L]),Ct=Ve!=null?Ve:L==null?void 0:L.colon,Ge=m("form",le),[dt,ft]=X(Ge),zt=v()(Ge,`${Ge}-${ce}`,{[`${Ge}-hide-required-mark`]:ct===!1,[`${Ge}-rtl`]:D==="rtl",[`${Ge}-${at}`]:at},ft,L==null?void 0:L.className,we,ye),[mt]=I(Ie),{__INTERNAL__:bt}=mt;bt.name=je;const Mt=(0,l.useMemo)(()=>({name:je,labelAlign:Ne,labelCol:Le,labelWrap:Ke,wrapperCol:We,vertical:ce==="vertical",colon:Ct,requiredMark:ct,itemRef:bt.itemRef,form:mt,feedbackIcons:_e}),[je,Ne,Le,We,ce,Ct,ct,mt,_e]);l.useImperativeHandle(i,()=>mt);const Tt=(tt,Re)=>{if(tt){let Ue={block:"nearest"};typeof tt=="object"&&(Ue=tt),mt.scrollToField(Re,Ue)}},Lt=tt=>{if(De==null||De(tt),tt.errorFields.length){const Re=tt.errorFields[0].name;if(Ze!==void 0){Tt(Ze,Re);return}L&&L.scrollToFirstError!==void 0&&Tt(L.scrollToFirstError,Re)}};return dt(l.createElement(S.n,{disabled:Oe},l.createElement(C.q,{size:at},l.createElement(p.RV,Object.assign({},{validateMessages:ut}),l.createElement(p.q3.Provider,{value:Mt},l.createElement(r.default,Object.assign({id:je},pt,{name:je,onFinishFailed:Lt,form:mt,style:Object.assign(Object.assign({},L==null?void 0:L.style),qe),className:zt})))))))};var he=l.forwardRef(re),k=t(41799),K=t(8654),se=t(92343),xe=t(11592);function oe(e){if(typeof e=="function")return e;const i=(0,xe.Z)(e);return i.length<=1?i[0]:i}const Q=()=>{const{status:e,errors:i=[],warnings:f=[]}=(0,l.useContext)(p.aM);return{status:e,errors:i,warnings:f}};Q.Context=p.aM;var Y=Q,ue=t(16089);function ne(e){const[i,f]=l.useState(e),m=(0,l.useRef)(null),D=(0,l.useRef)([]),L=(0,l.useRef)(!1);l.useEffect(()=>(L.current=!1,()=>{L.current=!0,ue.Z.cancel(m.current),m.current=null}),[]);function le(we){L.current||(m.current===null&&(D.current=[],m.current=(0,ue.Z)(()=>{m.current=null,f(ye=>{let Be=ye;return D.current.forEach(Oe=>{Be=Oe(Be)}),Be})})),D.current.push(we))}return[i,le]}function ve(){const{itemRef:e}=l.useContext(p.q3),i=l.useRef({});function f(m,D){const L=D&&typeof D=="object"&&D.ref,le=m.join("_");return(i.current.name!==le||i.current.originRef!==L)&&(i.current.name=le,i.current.originRef=L,i.current.ref=(0,K.sQ)(e(m),L)),i.current.ref}return f}var G=t(29194),j=t(34280),$e=t(2738),Ee=t(27382),pe=t(37028);const Ce=e=>{const{formItemCls:i}=e;return{"@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none)":{[`${i}-control`]:{display:"flex"}}}};var Pe=(0,P.b)(["Form","item-item"],(e,i)=>{let{rootPrefixCls:f}=i;const m=M(e,f);return[Ce(m)]}),Se=e=>{const{prefixCls:i,status:f,wrapperCol:m,children:D,errors:L,warnings:le,_internalItemRender:we,extra:ye,help:Be,fieldId:Oe,marginBottom:Ie,onErrorVisibleChanged:Ve}=e,Ne=`${i}-item`,Ke=l.useContext(p.q3),Le=m||Ke.wrapperCol||{},We=v()(`${Ne}-control`,Le.className),ze=l.useMemo(()=>Object.assign({},Ke),[Ke]);delete ze.labelCol,delete ze.wrapperCol;const ce=l.createElement("div",{className:`${Ne}-control-input`},l.createElement("div",{className:`${Ne}-control-input-content`},D)),Ze=l.useMemo(()=>({prefixCls:i,status:f}),[i,f]),Me=Ie!==null||L.length||le.length?l.createElement("div",{style:{display:"flex",flexWrap:"nowrap"}},l.createElement(p.Rk.Provider,{value:Ze},l.createElement(V,{fieldId:Oe,errors:L,warnings:le,help:Be,helpStatus:f,className:`${Ne}-explain-connected`,onVisibleChanged:Ve})),!!Ie&&l.createElement("div",{style:{width:0,height:Ie}})):null,De={};Oe&&(De.id=`${Oe}_extra`);const je=ye?l.createElement("div",Object.assign({},De,{className:`${Ne}-extra`}),ye):null,qe=we&&we.mark==="pro_table_render"&&we.render?we.render(e,{input:ce,errorList:Me,extra:je}):l.createElement(l.Fragment,null,ce,Me,je);return l.createElement(p.q3.Provider,{value:ze},l.createElement(pe.Z,Object.assign({},Le,{className:We}),qe),l.createElement(Pe,{prefixCls:i}))},Ae=t(61485),Ye=t(31724),gt=t(9763),nt=t(6848),vt=function(e,i){var f={};for(var m in e)Object.prototype.hasOwnProperty.call(e,m)&&i.indexOf(m)<0&&(f[m]=e[m]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var D=0,m=Object.getOwnPropertySymbols(e);D{let{prefixCls:i,label:f,htmlFor:m,labelCol:D,labelAlign:L,colon:le,required:we,requiredMark:ye,tooltip:Be}=e;var Oe;const[Ie]=(0,gt.Z)("Form"),{vertical:Ve,labelAlign:Ne,labelCol:Ke,labelWrap:Le,colon:We}=l.useContext(p.q3);if(!f)return null;const ze=D||Ke||{},ce=L||Ne,Ze=`${i}-item-label`,Me=v()(Ze,ce==="left"&&`${Ze}-left`,ze.className,{[`${Ze}-wrap`]:!!Le});let De=f;const je=le===!0||We!==!1&&le!==!1;je&&!Ve&&typeof f=="string"&&f.trim()!==""&&(De=f.replace(/[:|:]\s*$/,""));const _e=rt(Be);if(_e){const{icon:ct=l.createElement(Ae.Z,null)}=_e,Ct=vt(_e,["icon"]),Ge=l.createElement(nt.Z,Object.assign({},Ct),l.cloneElement(ct,{className:`${i}-item-tooltip`,title:""}));De=l.createElement(l.Fragment,null,De,Ge)}const pt=ye==="optional",at=typeof ye=="function";at?De=ye(De,{required:!!we}):pt&&!we&&(De=l.createElement(l.Fragment,null,De,l.createElement("span",{className:`${i}-item-optional`,title:""},(Ie==null?void 0:Ie.optional)||((Oe=Ye.Z.Form)===null||Oe===void 0?void 0:Oe.optional))));const ut=v()({[`${i}-item-required`]:we,[`${i}-item-required-mark-optional`]:pt||at,[`${i}-item-no-colon`]:!je});return l.createElement(pe.Z,Object.assign({},ze,{className:Me}),l.createElement("label",{htmlFor:m,className:ut,title:typeof f=="string"?f:""},De))},et=t(29679),Te=t(19248),St=t(96512),lt=t(58617);const Je={success:et.Z,warning:St.Z,error:Te.Z,validating:lt.Z};function yt(e){let{children:i,errors:f,warnings:m,hasFeedback:D,validateStatus:L,prefixCls:le,meta:we,noStyle:ye}=e;const Be=`${le}-item`,{feedbackIcons:Oe}=l.useContext(p.q3),Ie=T(f,m,we,null,!!D,L),{isFormItemInput:Ve,status:Ne}=l.useContext(p.aM),Ke=l.useMemo(()=>{var Le;let We;if(D){const Ze=D!==!0&&D.icons||Oe,Me=Ie&&((Le=Ze==null?void 0:Ze({status:Ie,errors:f,warnings:m}))===null||Le===void 0?void 0:Le[Ie]),De=Ie&&Je[Ie];We=Me!==!1&&De?l.createElement("span",{className:v()(`${Be}-feedback-icon`,`${Be}-feedback-icon-${Ie}`)},Me||l.createElement(De,null)):null}let ze=!0,ce=Ie||"";return ye&&(ze=Ve,ce=(Ie!=null?Ie:Ne)||""),{status:ce,errors:f,warnings:m,hasFeedback:!!D,feedbackIcon:We,isFormItemInput:ze}},[Ie,D,ye,Ve,Ne]);return l.createElement(p.aM.Provider,{value:Ke},i)}var It=function(e,i){var f={};for(var m in e)Object.prototype.hasOwnProperty.call(e,m)&&i.indexOf(m)<0&&(f[m]=e[m]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var D=0,m=Object.getOwnPropertySymbols(e);D{if(_e&&Me.current){const ft=getComputedStyle(Me.current);ut(parseInt(ft.marginBottom,10))}},[_e,pt]);const ct=ft=>{ft||ut(null)},Ge=function(){let ft=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;const zt=ft?De:Be.errors,mt=ft?je:Be.warnings;return T(zt,mt,Be,"",!!Oe,ye)}(),dt=v()(ce,f,m,{[`${ce}-with-help`]:qe||De.length||je.length,[`${ce}-has-feedback`]:Ge&&Oe,[`${ce}-has-success`]:Ge==="success",[`${ce}-has-warning`]:Ge==="warning",[`${ce}-has-error`]:Ge==="error",[`${ce}-is-validating`]:Ge==="validating",[`${ce}-hidden`]:Ie});return l.createElement("div",{className:dt,style:D,ref:Me},l.createElement(Ee.Z,Object.assign({className:`${ce}-row`},(0,$e.Z)(ze,["_internalItemRender","colon","dependencies","extra","fieldKey","getValueFromEvent","getValueProps","htmlFor","id","initialValue","isListField","label","labelAlign","labelCol","labelWrap","messageVariables","name","normalize","noStyle","preserve","requiredMark","rules","shouldUpdate","trigger","tooltip","validateFirst","validateTrigger","valuePropName","wrapperCol","validateDebounce"])),l.createElement(ot,Object.assign({htmlFor:Ne},e,{requiredMark:Ze,required:Ke!=null?Ke:Le,prefixCls:i})),l.createElement(Se,Object.assign({},e,Be,{errors:De,warnings:je,prefixCls:i,status:Ge,help:L,marginBottom:at,onErrorVisibleChanged:ct}),l.createElement(p.qI.Provider,{value:We},l.createElement(yt,{prefixCls:i,meta:Be,errors:Be.errors,warnings:Be.warnings,hasFeedback:Oe,validateStatus:Ge},Ve)))),!!at&&l.createElement("div",{className:`${ce}-margin-offset`,style:{marginBottom:-at}}))}const wt="__SPLIT__",At=null,Ot=l.memo(e=>{let{children:i}=e;return i},(e,i)=>e.value===i.value&&e.update===i.update&&e.childProps.length===i.childProps.length&&e.childProps.every((f,m)=>f===i.childProps[m]));function Pt(e){return e!=null}function it(){return{errors:[],warnings:[],touched:!1,validating:!1,name:[],validated:!1}}function Et(e){const{name:i,noStyle:f,className:m,dependencies:D,prefixCls:L,shouldUpdate:le,rules:we,children:ye,required:Be,label:Oe,messageVariables:Ie,trigger:Ve="onChange",validateTrigger:Ne,hidden:Ke,help:Le}=e,{getPrefixCls:We}=l.useContext(s.E_),{name:ze}=l.useContext(p.q3),ce=oe(ye),Ze=typeof ce=="function",Me=l.useContext(p.qI),{validateTrigger:De}=l.useContext(r.FieldContext),je=Ne!==void 0?Ne:De,qe=Pt(i),_e=We("form",L),[pt,at]=X(_e),ut=l.useContext(r.ListContext),ct=l.useRef(),[Ct,Ge]=ne({}),[dt,ft]=(0,k.Z)(()=>it()),zt=Re=>{const Ue=ut==null?void 0:ut.getKey(Re.name);if(ft(Re.destroy?it():Re,!0),f&&Le!==!1&&Me){let ke=Re.name;if(Re.destroy)ke=ct.current||ke;else if(Ue!==void 0){const[xt,$t]=Ue;ke=[xt].concat((0,x.Z)($t)),ct.current=ke}Me(Re,ke)}},mt=(Re,Ue)=>{Ge(ke=>{const xt=Object.assign({},ke),Nt=[].concat((0,x.Z)(Re.name.slice(0,-1)),(0,x.Z)(Ue)).join(wt);return Re.destroy?delete xt[Nt]:xt[Nt]=Re,xt})},[bt,Mt]=l.useMemo(()=>{const Re=(0,x.Z)(dt.errors),Ue=(0,x.Z)(dt.warnings);return Object.values(Ct).forEach(ke=>{Re.push.apply(Re,(0,x.Z)(ke.errors||[])),Ue.push.apply(Ue,(0,x.Z)(ke.warnings||[]))}),[Re,Ue]},[Ct,dt.errors,dt.warnings]),Tt=ve();function Lt(Re,Ue,ke){return f&&!Ke?l.createElement(yt,{prefixCls:_e,hasFeedback:e.hasFeedback,validateStatus:e.validateStatus,meta:dt,errors:bt,warnings:Mt,noStyle:!0},Re):l.createElement(Ft,Object.assign({key:"row"},e,{className:v()(m,at),prefixCls:_e,fieldId:Ue,isRequired:ke,errors:bt,warnings:Mt,meta:dt,onSubItemMetaChange:mt}),Re)}if(!qe&&!Ze&&!D)return pt(Lt(ce));let tt={};return typeof Oe=="string"?tt.label=Oe:i&&(tt.label=String(i)),Ie&&(tt=Object.assign(Object.assign({},tt),Ie)),pt(l.createElement(r.Field,Object.assign({},e,{messageVariables:tt,trigger:Ve,validateTrigger:je,onMetaChange:zt}),(Re,Ue,ke)=>{const xt=b(i).length&&Ue?Ue.name:[],$t=Z(xt,ze),Nt=Be!==void 0?Be:!!(we&&we.some(Xe=>{if(Xe&&typeof Xe=="object"&&Xe.required&&!Xe.warningOnly)return!0;if(typeof Xe=="function"){const Ht=Xe(ke);return Ht&&Ht.required&&!Ht.warningOnly}return!1})),Wt=Object.assign({},Re);let Zt=null;if(Array.isArray(ce)&&qe)Zt=ce;else if(!(Ze&&(!(le||D)||qe))){if(!(D&&!Ze&&!qe))if((0,se.l$)(ce)){const Xe=Object.assign(Object.assign({},ce.props),Wt);if(Xe.id||(Xe.id=$t),Le||bt.length>0||Mt.length>0||e.extra){const Bt=[];(Le||bt.length>0)&&Bt.push(`${$t}_help`),e.extra&&Bt.push(`${$t}_extra`),Xe["aria-describedby"]=Bt.join(" ")}bt.length>0&&(Xe["aria-invalid"]="true"),Nt&&(Xe["aria-required"]="true"),(0,K.Yr)(ce)&&(Xe.ref=Tt(xt,ce)),new Set([].concat((0,x.Z)(b(Ve)),(0,x.Z)(b(je)))).forEach(Bt=>{Xe[Bt]=function(){for(var Ut,Qt,Kt,Yt,Gt,Jt=arguments.length,Xt=new Array(Jt),Vt=0;Vt{var{prefixCls:i,children:f}=e,m=Rt(e,["prefixCls","children"]);const{getPrefixCls:D}=l.useContext(s.E_),L=D("form",i),le=l.useMemo(()=>({prefixCls:L,status:"error"}),[L]);return l.createElement(r.List,Object.assign({},m),(we,ye,Be)=>l.createElement(p.Rk.Provider,{value:le},f(we.map(Oe=>Object.assign(Object.assign({},Oe),{fieldKey:Oe.key})),ye,{errors:Be.errors,warnings:Be.warnings})))};function q(){const{form:e}=(0,l.useContext)(p.q3);return e}const w=he;w.Item=Dt,w.List=J,w.ErrorList=V,w.useForm=I,w.useFormInstance=q,w.useWatch=r.useWatch,w.Provider=p.RV,w.create=()=>{};var fe=w},9432:function(He,ee,t){t.d(ee,{Z:function(){return de},n:function(){return be}});var x=t(19248),W=t(92310),v=t.n(W),N=t(93681),l=t(8654),g=t(59301),p=t(19080),O=t(36355),$=t(1684),c=t(19716),H=t(32441),me=t(33234),P=t(59412),o=t(9937);function ae(A){return!!(A.prefix||A.suffix||A.allowClear)}var ie=function(A,z){var n={};for(var a in A)Object.prototype.hasOwnProperty.call(A,a)&&z.indexOf(a)<0&&(n[a]=A[a]);if(A!=null&&typeof Object.getOwnPropertySymbols=="function")for(var h=0,a=Object.getOwnPropertySymbols(A);h{var n;const{prefixCls:a,bordered:h=!0,status:M,size:X,disabled:_,onBlur:ge,onFocus:R,suffix:V,allowClear:r,addonAfter:s,addonBefore:S,className:C,style:u,styles:B,rootClassName:E,onChange:d,classNames:b}=A,Z=ie(A,["prefixCls","bordered","status","size","disabled","onBlur","onFocus","suffix","allowClear","addonAfter","addonBefore","className","style","styles","rootClassName","onChange","classNames"]),{getPrefixCls:T,direction:F,input:I}=g.useContext(O.E_),y=T("input",a),U=(0,g.useRef)(null),[re,te]=(0,o.ZP)(y),{compactSize:he,compactItemClassnames:k}=(0,me.ri)(y,F),K=(0,c.Z)(Pe=>{var Qe;return(Qe=X!=null?X:he)!==null&&Qe!==void 0?Qe:Pe}),se=g.useContext($.Z),xe=_!=null?_:se,{status:oe,hasFeedback:Q,feedbackIcon:Y}=(0,g.useContext)(H.aM),ue=(0,p.F)(oe,M),ne=ae(A)||!!Q,ve=(0,g.useRef)(ne);(0,g.useEffect)(()=>{var Pe;ne&&ve.current,ve.current=ne},[ne]);const G=(0,P.Z)(U,!0),j=Pe=>{G(),ge==null||ge(Pe)},$e=Pe=>{G(),R==null||R(Pe)},Ee=Pe=>{G(),d==null||d(Pe)},pe=(Q||V)&&g.createElement(g.Fragment,null,V,Q&&Y);let Ce;return typeof r=="object"&&(r!=null&&r.clearIcon)?Ce=r:r&&(Ce={clearIcon:g.createElement(x.Z,null)}),re(g.createElement(N.default,Object.assign({ref:(0,l.sQ)(z,U),prefixCls:y,autoComplete:I==null?void 0:I.autoComplete},Z,{disabled:xe,onBlur:j,onFocus:$e,style:Object.assign(Object.assign({},I==null?void 0:I.style),u),styles:Object.assign(Object.assign({},I==null?void 0:I.styles),B),suffix:pe,allowClear:Ce,className:v()(C,E,k,I==null?void 0:I.className),onChange:Ee,addonAfter:s&&g.createElement(me.BR,null,g.createElement(H.Ux,{override:!0,status:!0},s)),addonBefore:S&&g.createElement(me.BR,null,g.createElement(H.Ux,{override:!0,status:!0},S)),classNames:Object.assign(Object.assign(Object.assign({},b),I==null?void 0:I.classNames),{input:v()({[`${y}-sm`]:K==="small",[`${y}-lg`]:K==="large",[`${y}-rtl`]:F==="rtl",[`${y}-borderless`]:!h},!ne&&(0,p.Z)(y,ue),b==null?void 0:b.input,(n=I==null?void 0:I.classNames)===null||n===void 0?void 0:n.input,te)}),classes:{affixWrapper:v()({[`${y}-affix-wrapper-sm`]:K==="small",[`${y}-affix-wrapper-lg`]:K==="large",[`${y}-affix-wrapper-rtl`]:F==="rtl",[`${y}-affix-wrapper-borderless`]:!h},(0,p.Z)(`${y}-affix-wrapper`,ue,Q),te),wrapper:v()({[`${y}-group-rtl`]:F==="rtl"},te),group:v()({[`${y}-group-wrapper-sm`]:K==="small",[`${y}-group-wrapper-lg`]:K==="large",[`${y}-group-wrapper-rtl`]:F==="rtl",[`${y}-group-wrapper-disabled`]:xe},(0,p.Z)(`${y}-group-wrapper`,ue,Q),te)}})))})},1643:function(He,ee,t){var x=t(19248),W=t(92310),v=t.n(W),N=t(9296),l=t(59301),g=t(19080),p=t(36355),O=t(1684),$=t(19716),c=t(32441),H=t(9432),me=t(9937),P=function(ae,ie){var be={};for(var Fe in ae)Object.prototype.hasOwnProperty.call(ae,Fe)&&ie.indexOf(Fe)<0&&(be[Fe]=ae[Fe]);if(ae!=null&&typeof Object.getOwnPropertySymbols=="function")for(var de=0,Fe=Object.getOwnPropertySymbols(ae);de{const{prefixCls:be,bordered:Fe=!0,size:de,disabled:A,status:z,allowClear:n,showCount:a,classNames:h,rootClassName:M,className:X}=ae,_=P(ae,["prefixCls","bordered","size","disabled","status","allowClear","showCount","classNames","rootClassName","className"]),{getPrefixCls:ge,direction:R}=l.useContext(p.E_),V=(0,$.Z)(de),r=l.useContext(O.Z),s=A!=null?A:r,{status:S,hasFeedback:C,feedbackIcon:u}=l.useContext(c.aM),B=(0,g.F)(S,z),E=l.useRef(null);l.useImperativeHandle(ie,()=>{var F;return{resizableTextArea:(F=E.current)===null||F===void 0?void 0:F.resizableTextArea,focus:I=>{var y,U;(0,H.n)((U=(y=E.current)===null||y===void 0?void 0:y.resizableTextArea)===null||U===void 0?void 0:U.textArea,I)},blur:()=>{var I;return(I=E.current)===null||I===void 0?void 0:I.blur()}}});const d=ge("input",be);let b;typeof n=="object"&&(n!=null&&n.clearIcon)?b=n:n&&(b={clearIcon:l.createElement(x.Z,null)});const[Z,T]=(0,me.ZP)(d);return Z(l.createElement(N.default,Object.assign({},_,{disabled:s,allowClear:b,className:v()(X,M),classes:{affixWrapper:v()(`${d}-textarea-affix-wrapper`,{[`${d}-affix-wrapper-rtl`]:R==="rtl",[`${d}-affix-wrapper-borderless`]:!Fe,[`${d}-affix-wrapper-sm`]:V==="small",[`${d}-affix-wrapper-lg`]:V==="large",[`${d}-textarea-show-count`]:a},(0,g.Z)(`${d}-affix-wrapper`,B),T)},classNames:Object.assign(Object.assign({},h),{textarea:v()({[`${d}-borderless`]:!Fe,[`${d}-sm`]:V==="small",[`${d}-lg`]:V==="large"},(0,g.Z)(d,B),T,h==null?void 0:h.textarea)}),prefixCls:d,suffix:C&&l.createElement("span",{className:`${d}-textarea-suffix`},u),showCount:a,ref:E})))});ee.Z=o},59412:function(He,ee,t){t.d(ee,{Z:function(){return W}});var x=t(59301);function W(v,N){const l=(0,x.useRef)([]),g=()=>{l.current.push(setTimeout(()=>{var p,O,$,c;!((p=v.current)===null||p===void 0)&&p.input&&((O=v.current)===null||O===void 0?void 0:O.input.getAttribute("type"))==="password"&&(!(($=v.current)===null||$===void 0)&&$.input.hasAttribute("value"))&&((c=v.current)===null||c===void 0||c.input.removeAttribute("value"))}))};return(0,x.useEffect)(()=>(N&&g(),()=>l.current.forEach(p=>{p&&clearTimeout(p)})),[]),g}},92832:function(He,ee,t){t.d(ee,{default:function(){return V}});var x=t(92310),W=t.n(x),v=t(59301),N=t(36355),l=t(32441),g=t(9937),O=r=>{const{getPrefixCls:s,direction:S}=(0,v.useContext)(N.E_),{prefixCls:C,className:u}=r,B=s("input-group",C),E=s("input"),[d,b]=(0,g.ZP)(E),Z=W()(B,{[`${B}-lg`]:r.size==="large",[`${B}-sm`]:r.size==="small",[`${B}-compact`]:r.compact,[`${B}-rtl`]:S==="rtl"},b,u),T=(0,v.useContext)(l.aM),F=(0,v.useMemo)(()=>Object.assign(Object.assign({},T),{isFormItemInput:!1}),[T]);return d(v.createElement("span",{className:Z,style:r.style,onMouseEnter:r.onMouseEnter,onMouseLeave:r.onMouseLeave,onFocus:r.onFocus,onBlur:r.onBlur},v.createElement(l.aM.Provider,{value:F},r.children)))},$=t(9432),c=t(73331),H=t(15277),me=t(2738),P=t(8654),o=t(59412),ae=function(r,s){var S={};for(var C in r)Object.prototype.hasOwnProperty.call(r,C)&&s.indexOf(C)<0&&(S[C]=r[C]);if(r!=null&&typeof Object.getOwnPropertySymbols=="function")for(var u=0,C=Object.getOwnPropertySymbols(r);ur?v.createElement(H.Z,null):v.createElement(c.Z,null),be={click:"onClick",hover:"onMouseOver"};var de=v.forwardRef((r,s)=>{const{visibilityToggle:S=!0}=r,C=typeof S=="object"&&S.visible!==void 0,[u,B]=(0,v.useState)(()=>C?S.visible:!1),E=(0,v.useRef)(null);v.useEffect(()=>{C&&B(S.visible)},[C,S]);const d=(0,o.Z)(E),b=()=>{const{disabled:xe}=r;xe||(u&&d(),B(oe=>{var Q;const Y=!oe;return typeof S=="object"&&((Q=S.onVisibleChange)===null||Q===void 0||Q.call(S,Y)),Y}))},Z=xe=>{const{action:oe="click",iconRender:Q=ie}=r,Y=be[oe]||"",ue=Q(u),ne={[Y]:b,className:`${xe}-icon`,key:"passwordIcon",onMouseDown:ve=>{ve.preventDefault()},onMouseUp:ve=>{ve.preventDefault()}};return v.cloneElement(v.isValidElement(ue)?ue:v.createElement("span",null,ue),ne)},{className:T,prefixCls:F,inputPrefixCls:I,size:y}=r,U=ae(r,["className","prefixCls","inputPrefixCls","size"]),{getPrefixCls:re}=v.useContext(N.E_),te=re("input",I),he=re("input-password",F),k=S&&Z(he),K=W()(he,T,{[`${he}-${y}`]:!!y}),se=Object.assign(Object.assign({},(0,me.Z)(U,["suffix","iconRender","visibilityToggle"])),{type:u?"text":"password",className:K,prefixCls:te,suffix:k});return y&&(se.size=y),v.createElement($.Z,Object.assign({ref:(0,P.sQ)(s,E)},se))}),A=t(47472),z=t(92343),n=t(3113),a=t(19716),h=t(33234),M=function(r,s){var S={};for(var C in r)Object.prototype.hasOwnProperty.call(r,C)&&s.indexOf(C)<0&&(S[C]=r[C]);if(r!=null&&typeof Object.getOwnPropertySymbols=="function")for(var u=0,C=Object.getOwnPropertySymbols(r);u{const{prefixCls:S,inputPrefixCls:C,className:u,size:B,suffix:E,enterButton:d=!1,addonAfter:b,loading:Z,disabled:T,onSearch:F,onChange:I,onCompositionStart:y,onCompositionEnd:U}=r,re=M(r,["prefixCls","inputPrefixCls","className","size","suffix","enterButton","addonAfter","loading","disabled","onSearch","onChange","onCompositionStart","onCompositionEnd"]),{getPrefixCls:te,direction:he}=v.useContext(N.E_),k=v.useRef(!1),K=te("input-search",S),se=te("input",C),{compactSize:xe}=(0,h.ri)(K,he),oe=(0,a.Z)(Se=>{var Ae;return(Ae=B!=null?B:xe)!==null&&Ae!==void 0?Ae:Se}),Q=v.useRef(null),Y=Se=>{Se&&Se.target&&Se.type==="click"&&F&&F(Se.target.value,Se,{source:"clear"}),I&&I(Se)},ue=Se=>{var Ae;document.activeElement===((Ae=Q.current)===null||Ae===void 0?void 0:Ae.input)&&Se.preventDefault()},ne=Se=>{var Ae,Ye;F&&F((Ye=(Ae=Q.current)===null||Ae===void 0?void 0:Ae.input)===null||Ye===void 0?void 0:Ye.value,Se,{source:"input"})},ve=Se=>{k.current||Z||ne(Se)},G=typeof d=="boolean"?v.createElement(A.Z,null):null,j=`${K}-button`;let $e;const Ee=d||{},pe=Ee.type&&Ee.type.__ANT_BUTTON===!0;pe||Ee.type==="button"?$e=(0,z.Tm)(Ee,Object.assign({onMouseDown:ue,onClick:Se=>{var Ae,Ye;(Ye=(Ae=Ee==null?void 0:Ee.props)===null||Ae===void 0?void 0:Ae.onClick)===null||Ye===void 0||Ye.call(Ae,Se),ne(Se)},key:"enterButton"},pe?{className:j,size:oe}:{})):$e=v.createElement(n.ZP,{className:j,type:d?"primary":void 0,size:oe,disabled:T,key:"enterButton",onMouseDown:ue,onClick:ne,loading:Z,icon:G},d),b&&($e=[$e,(0,z.Tm)(b,{key:"addonAfter"})]);const Ce=W()(K,{[`${K}-rtl`]:he==="rtl",[`${K}-${oe}`]:!!oe,[`${K}-with-button`]:!!d},u),Pe=Se=>{k.current=!0,y==null||y(Se)},Qe=Se=>{k.current=!1,U==null||U(Se)};return v.createElement($.Z,Object.assign({ref:(0,P.sQ)(Q,s),onPressEnter:ve},re,{size:oe,onCompositionStart:Pe,onCompositionEnd:Qe,prefixCls:se,addonAfter:$e,suffix:E,onChange:Y,className:Ce,disabled:T}))}),ge=t(1643);const R=$.Z;R.Group=O,R.Search=_,R.TextArea=ge.Z,R.Password=de;var V=R},9937:function(He,ee,t){t.d(ee,{M1:function(){return p},TM:function(){return z},Xy:function(){return O},bi:function(){return H},e5:function(){return A},ik:function(){return me},nz:function(){return l},pU:function(){return g},s7:function(){return P},x0:function(){return c}});var x=t(17313),W=t(74207),v=t(37613),N=t(83116);const l=n=>({"&::-moz-placeholder":{opacity:1},"&::placeholder":{color:n,userSelect:"none"},"&:placeholder-shown":{textOverflow:"ellipsis"}}),g=n=>({borderColor:n.hoverBorderColor}),p=n=>({borderColor:n.activeBorderColor,boxShadow:n.activeShadow,outline:0}),O=n=>({color:n.colorTextDisabled,backgroundColor:n.colorBgContainerDisabled,borderColor:n.colorBorder,boxShadow:"none",cursor:"not-allowed",opacity:1,"&:hover":Object.assign({},g((0,v.TS)(n,{hoverBorderColor:n.colorBorder})))}),$=n=>{const{paddingBlockLG:a,fontSizeLG:h,lineHeightLG:M,borderRadiusLG:X,paddingInlineLG:_}=n;return{padding:`${a}px ${_}px`,fontSize:h,lineHeight:M,borderRadius:X}},c=n=>({padding:`${n.paddingBlockSM}px ${n.paddingInlineSM}px`,borderRadius:n.borderRadiusSM}),H=(n,a)=>{const{componentCls:h,colorError:M,colorWarning:X,errorActiveShadow:_,warningActiveShadow:ge,colorErrorBorderHover:R,colorWarningBorderHover:V}=n;return{[`&-status-error:not(${a}-disabled):not(${a}-borderless)${a}`]:{borderColor:M,"&:hover":{borderColor:R},"&:focus, &-focused":Object.assign({},p((0,v.TS)(n,{activeBorderColor:M,activeShadow:_}))),[`${h}-prefix, ${h}-suffix`]:{color:M}},[`&-status-warning:not(${a}-disabled):not(${a}-borderless)${a}`]:{borderColor:X,"&:hover":{borderColor:V},"&:focus, &-focused":Object.assign({},p((0,v.TS)(n,{activeBorderColor:X,activeShadow:ge}))),[`${h}-prefix, ${h}-suffix`]:{color:X}}}},me=n=>Object.assign(Object.assign({position:"relative",display:"inline-block",width:"100%",minWidth:0,padding:`${n.paddingBlock}px ${n.paddingInline}px`,color:n.colorText,fontSize:n.fontSize,lineHeight:n.lineHeight,backgroundColor:n.colorBgContainer,backgroundImage:"none",borderWidth:n.lineWidth,borderStyle:n.lineType,borderColor:n.colorBorder,borderRadius:n.borderRadius,transition:`all ${n.motionDurationMid}`},l(n.colorTextPlaceholder)),{"&:hover":Object.assign({},g(n)),"&:focus, &-focused":Object.assign({},p(n)),"&-disabled, &[disabled]":Object.assign({},O(n)),"&-borderless":{"&, &:hover, &:focus, &-focused, &-disabled, &[disabled]":{backgroundColor:"transparent",border:"none",boxShadow:"none"}},"textarea&":{maxWidth:"100%",height:"auto",minHeight:n.controlHeight,lineHeight:n.lineHeight,verticalAlign:"bottom",transition:`all ${n.motionDurationSlow}, height 0s`,resize:"vertical"},"&-lg":Object.assign({},$(n)),"&-sm":Object.assign({},c(n)),"&-rtl":{direction:"rtl"},"&-textarea-rtl":{direction:"rtl"}}),P=n=>{const{componentCls:a,antCls:h}=n;return{position:"relative",display:"table",width:"100%",borderCollapse:"separate",borderSpacing:0,"&[class*='col-']":{paddingInlineEnd:n.paddingXS,"&:last-child":{paddingInlineEnd:0}},[`&-lg ${a}, &-lg > ${a}-group-addon`]:Object.assign({},$(n)),[`&-sm ${a}, &-sm > ${a}-group-addon`]:Object.assign({},c(n)),[`&-lg ${h}-select-single ${h}-select-selector`]:{height:n.controlHeightLG},[`&-sm ${h}-select-single ${h}-select-selector`]:{height:n.controlHeightSM},[`> ${a}`]:{display:"table-cell","&:not(:first-child):not(:last-child)":{borderRadius:0}},[`${a}-group`]:{"&-addon, &-wrap":{display:"table-cell",width:1,whiteSpace:"nowrap",verticalAlign:"middle","&:not(:first-child):not(:last-child)":{borderRadius:0}},"&-wrap > *":{display:"block !important"},"&-addon":{position:"relative",padding:`0 ${n.paddingInline}px`,color:n.colorText,fontWeight:"normal",fontSize:n.fontSize,textAlign:"center",backgroundColor:n.colorFillAlter,border:`${n.lineWidth}px ${n.lineType} ${n.colorBorder}`,borderRadius:n.borderRadius,transition:`all ${n.motionDurationSlow}`,lineHeight:1,[`${h}-select`]:{margin:`-${n.paddingBlock+1}px -${n.paddingInline}px`,[`&${h}-select-single:not(${h}-select-customize-input)`]:{[`${h}-select-selector`]:{backgroundColor:"inherit",border:`${n.lineWidth}px ${n.lineType} transparent`,boxShadow:"none"}},"&-open, &-focused":{[`${h}-select-selector`]:{color:n.colorPrimary}}},[`${h}-cascader-picker`]:{margin:`-9px -${n.paddingInline}px`,backgroundColor:"transparent",[`${h}-cascader-input`]:{textAlign:"start",border:0,boxShadow:"none"}}},"&-addon:first-child":{borderInlineEnd:0},"&-addon:last-child":{borderInlineStart:0}},[`${a}`]:{width:"100%",marginBottom:0,textAlign:"inherit","&:focus":{zIndex:1,borderInlineEndWidth:1},"&:hover":{zIndex:1,borderInlineEndWidth:1,[`${a}-search-with-button &`]:{zIndex:0}}},[`> ${a}:first-child, ${a}-group-addon:first-child`]:{borderStartEndRadius:0,borderEndEndRadius:0,[`${h}-select ${h}-select-selector`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${a}-affix-wrapper`]:{[`&:not(:first-child) ${a}`]:{borderStartStartRadius:0,borderEndStartRadius:0},[`&:not(:last-child) ${a}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${a}:last-child, ${a}-group-addon:last-child`]:{borderStartStartRadius:0,borderEndStartRadius:0,[`${h}-select ${h}-select-selector`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`${a}-affix-wrapper`]:{"&:not(:last-child)":{borderStartEndRadius:0,borderEndEndRadius:0,[`${a}-search &`]:{borderStartStartRadius:n.borderRadius,borderEndStartRadius:n.borderRadius}},[`&:not(:first-child), ${a}-search &:not(:first-child)`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&${a}-group-compact`]:Object.assign(Object.assign({display:"block"},(0,x.dF)()),{[`${a}-group-addon, ${a}-group-wrap, > ${a}`]:{"&:not(:first-child):not(:last-child)":{borderInlineEndWidth:n.lineWidth,"&:hover":{zIndex:1},"&:focus":{zIndex:1}}},"& > *":{display:"inline-block",float:"none",verticalAlign:"top",borderRadius:0},[` + & > ${a}-affix-wrapper, + & > ${a}-number-affix-wrapper, + & > ${h}-picker-range + `]:{display:"inline-flex"},"& > *:not(:last-child)":{marginInlineEnd:-n.lineWidth,borderInlineEndWidth:n.lineWidth},[`${a}`]:{float:"none"},[`& > ${h}-select > ${h}-select-selector, + & > ${h}-select-auto-complete ${a}, + & > ${h}-cascader-picker ${a}, + & > ${a}-group-wrapper ${a}`]:{borderInlineEndWidth:n.lineWidth,borderRadius:0,"&:hover":{zIndex:1},"&:focus":{zIndex:1}},[`& > ${h}-select-focused`]:{zIndex:1},[`& > ${h}-select > ${h}-select-arrow`]:{zIndex:1},[`& > *:first-child, + & > ${h}-select:first-child > ${h}-select-selector, + & > ${h}-select-auto-complete:first-child ${a}, + & > ${h}-cascader-picker:first-child ${a}`]:{borderStartStartRadius:n.borderRadius,borderEndStartRadius:n.borderRadius},[`& > *:last-child, + & > ${h}-select:last-child > ${h}-select-selector, + & > ${h}-cascader-picker:last-child ${a}, + & > ${h}-cascader-picker-focused:last-child ${a}`]:{borderInlineEndWidth:n.lineWidth,borderStartEndRadius:n.borderRadius,borderEndEndRadius:n.borderRadius},[`& > ${h}-select-auto-complete ${a}`]:{verticalAlign:"top"},[`${a}-group-wrapper + ${a}-group-wrapper`]:{marginInlineStart:-n.lineWidth,[`${a}-affix-wrapper`]:{borderRadius:0}},[`${a}-group-wrapper:not(:last-child)`]:{[`&${a}-search > ${a}-group`]:{[`& > ${a}-group-addon > ${a}-search-button`]:{borderRadius:0},[`& > ${a}`]:{borderStartStartRadius:n.borderRadius,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:n.borderRadius}}}})}},o=n=>{const{componentCls:a,controlHeightSM:h,lineWidth:M}=n,_=(h-M*2-16)/2;return{[a]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,x.Wf)(n)),me(n)),H(n,a)),{'&[type="color"]':{height:n.controlHeight,[`&${a}-lg`]:{height:n.controlHeightLG},[`&${a}-sm`]:{height:h,paddingTop:_,paddingBottom:_}},'&[type="search"]::-webkit-search-cancel-button, &[type="search"]::-webkit-search-decoration':{"-webkit-appearance":"none"}})}},ae=n=>{const{componentCls:a}=n;return{[`${a}-clear-icon`]:{margin:0,color:n.colorTextQuaternary,fontSize:n.fontSizeIcon,verticalAlign:-1,cursor:"pointer",transition:`color ${n.motionDurationSlow}`,"&:hover":{color:n.colorTextTertiary},"&:active":{color:n.colorText},"&-hidden":{visibility:"hidden"},"&-has-suffix":{margin:`0 ${n.inputAffixPadding}px`}}}},ie=n=>{const{componentCls:a,inputAffixPadding:h,colorTextDescription:M,motionDurationSlow:X,colorIcon:_,colorIconHover:ge,iconCls:R}=n;return{[`${a}-affix-wrapper`]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},me(n)),{display:"inline-flex",[`&:not(${a}-affix-wrapper-disabled):hover`]:Object.assign(Object.assign({},g(n)),{zIndex:1,[`${a}-search-with-button &`]:{zIndex:0}}),"&-focused, &:focus":{zIndex:1},"&-disabled":{[`${a}[disabled]`]:{background:"transparent"}},[`> input${a}`]:{padding:0,fontSize:"inherit",border:"none",borderRadius:0,outline:"none","&::-ms-reveal":{display:"none"},"&:focus":{boxShadow:"none !important"}},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[`${a}`]:{"&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center","> *:not(:last-child)":{marginInlineEnd:n.paddingXS}},"&-show-count-suffix":{color:M},"&-show-count-has-suffix":{marginInlineEnd:n.paddingXXS},"&-prefix":{marginInlineEnd:h},"&-suffix":{marginInlineStart:h}}}),ae(n)),{[`${R}${a}-password-icon`]:{color:_,cursor:"pointer",transition:`all ${X}`,"&:hover":{color:ge}}}),H(n,`${a}-affix-wrapper`))}},be=n=>{const{componentCls:a,colorError:h,colorWarning:M,borderRadiusLG:X,borderRadiusSM:_}=n;return{[`${a}-group`]:Object.assign(Object.assign(Object.assign({},(0,x.Wf)(n)),P(n)),{"&-rtl":{direction:"rtl"},"&-wrapper":{display:"inline-block",width:"100%",textAlign:"start",verticalAlign:"top","&-rtl":{direction:"rtl"},"&-lg":{[`${a}-group-addon`]:{borderRadius:X,fontSize:n.fontSizeLG}},"&-sm":{[`${a}-group-addon`]:{borderRadius:_}},"&-status-error":{[`${a}-group-addon`]:{color:h,borderColor:h}},"&-status-warning":{[`${a}-group-addon`]:{color:M,borderColor:M}},"&-disabled":{[`${a}-group-addon`]:Object.assign({},O(n))},[`&:not(${a}-compact-first-item):not(${a}-compact-last-item)${a}-compact-item`]:{[`${a}, ${a}-group-addon`]:{borderRadius:0}},[`&:not(${a}-compact-last-item)${a}-compact-first-item`]:{[`${a}, ${a}-group-addon`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${a}-compact-first-item)${a}-compact-last-item`]:{[`${a}, ${a}-group-addon`]:{borderStartStartRadius:0,borderEndStartRadius:0}}}})}},Fe=n=>{const{componentCls:a,antCls:h}=n,M=`${a}-search`;return{[M]:{[`${a}`]:{"&:hover, &:focus":{borderColor:n.colorPrimaryHover,[`+ ${a}-group-addon ${M}-button:not(${h}-btn-primary)`]:{borderInlineStartColor:n.colorPrimaryHover}}},[`${a}-affix-wrapper`]:{borderRadius:0},[`${a}-lg`]:{lineHeight:n.lineHeightLG-2e-4},[`> ${a}-group`]:{[`> ${a}-group-addon:last-child`]:{insetInlineStart:-1,padding:0,border:0,[`${M}-button`]:{paddingTop:0,paddingBottom:0,borderStartStartRadius:0,borderStartEndRadius:n.borderRadius,borderEndEndRadius:n.borderRadius,borderEndStartRadius:0,boxShadow:"none"},[`${M}-button:not(${h}-btn-primary)`]:{color:n.colorTextDescription,"&:hover":{color:n.colorPrimaryHover},"&:active":{color:n.colorPrimaryActive},[`&${h}-btn-loading::before`]:{insetInlineStart:0,insetInlineEnd:0,insetBlockStart:0,insetBlockEnd:0}}}},[`${M}-button`]:{height:n.controlHeight,"&:hover, &:focus":{zIndex:1}},[`&-large ${M}-button`]:{height:n.controlHeightLG},[`&-small ${M}-button`]:{height:n.controlHeightSM},"&-rtl":{direction:"rtl"},[`&${a}-compact-item`]:{[`&:not(${a}-compact-last-item)`]:{[`${a}-group-addon`]:{[`${a}-search-button`]:{marginInlineEnd:-n.lineWidth,borderRadius:0}}},[`&:not(${a}-compact-first-item)`]:{[`${a},${a}-affix-wrapper`]:{borderRadius:0}},[`> ${a}-group-addon ${a}-search-button, + > ${a}, + ${a}-affix-wrapper`]:{"&:hover,&:focus,&:active":{zIndex:2}},[`> ${a}-affix-wrapper-focused`]:{zIndex:2}}}}},de=n=>{const{componentCls:a,paddingLG:h}=n,M=`${a}-textarea`;return{[M]:{position:"relative","&-show-count":{[`> ${a}`]:{height:"100%"},[`${a}-data-count`]:{position:"absolute",bottom:-n.fontSize*n.lineHeight,insetInlineEnd:0,color:n.colorTextDescription,whiteSpace:"nowrap",pointerEvents:"none"}},"&-allow-clear":{[`> ${a}`]:{paddingInlineEnd:h}},[`&-affix-wrapper${M}-has-feedback`]:{[`${a}`]:{paddingInlineEnd:h}},[`&-affix-wrapper${a}-affix-wrapper`]:{padding:0,[`> textarea${a}`]:{fontSize:"inherit",border:"none",outline:"none","&:focus":{boxShadow:"none !important"}},[`${a}-suffix`]:{margin:0,"> *:not(:last-child)":{marginInline:0},[`${a}-clear-icon`]:{position:"absolute",insetInlineEnd:n.paddingXS,insetBlockStart:n.paddingXS},[`${M}-suffix`]:{position:"absolute",top:0,insetInlineEnd:n.paddingInline,bottom:0,zIndex:1,display:"inline-flex",alignItems:"center",margin:"auto",pointerEvents:"none"}}}}}};function A(n){return(0,v.TS)(n,{inputAffixPadding:n.paddingXXS})}const z=n=>{const{controlHeight:a,fontSize:h,lineHeight:M,lineWidth:X,controlHeightSM:_,controlHeightLG:ge,fontSizeLG:R,lineHeightLG:V,paddingSM:r,controlPaddingHorizontalSM:s,controlPaddingHorizontal:S,colorFillAlter:C,colorPrimaryHover:u,controlOutlineWidth:B,controlOutline:E,colorErrorOutline:d,colorWarningOutline:b}=n;return{paddingBlock:Math.max(Math.round((a-h*M)/2*10)/10-X,3),paddingBlockSM:Math.max(Math.round((_-h*M)/2*10)/10-X,0),paddingBlockLG:Math.ceil((ge-R*V)/2*10)/10-X,paddingInline:r-X,paddingInlineSM:s-X,paddingInlineLG:S-X,addonBg:C,activeBorderColor:u,hoverBorderColor:u,activeShadow:`0 0 0 ${B}px ${E}`,errorActiveShadow:`0 0 0 ${B}px ${d}`,warningActiveShadow:`0 0 0 ${B}px ${b}`}};ee.ZP=(0,N.Z)("Input",n=>{const a=(0,v.TS)(n,A(n));return[o(a),de(a),ie(a),be(a),Fe(a),(0,W.c)(a)]},z)},8378:function(He,ee){const t=x=>({[x.componentCls]:{[`${x.antCls}-motion-collapse-legacy`]:{overflow:"hidden","&-active":{transition:`height ${x.motionDurationMid} ${x.motionEaseInOut}, + opacity ${x.motionDurationMid} ${x.motionEaseInOut} !important`}},[`${x.antCls}-motion-collapse`]:{overflow:"hidden",transition:`height ${x.motionDurationMid} ${x.motionEaseInOut}, + opacity ${x.motionDurationMid} ${x.motionEaseInOut} !important`}}});ee.Z=t},78673:function(He,ee,t){t.d(ee,{Z:function(){return V}});var x=t(58617),W=t(92310),v=t.n(W),N=t(54476),l=t(20068),g=t(42978),p=t(75931),O=t(59301),$=t(18929),c=t(10228),H=["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"],me=O.forwardRef(function(r,s){var S,C=r.prefixCls,u=C===void 0?"rc-switch":C,B=r.className,E=r.checked,d=r.defaultChecked,b=r.disabled,Z=r.loadingIcon,T=r.checkedChildren,F=r.unCheckedChildren,I=r.onClick,y=r.onChange,U=r.onKeyDown,re=(0,p.Z)(r,H),te=(0,$.Z)(!1,{value:E,defaultValue:d}),he=(0,g.Z)(te,2),k=he[0],K=he[1];function se(Y,ue){var ne=k;return b||(ne=Y,K(ne),y==null||y(ne,ue)),ne}function xe(Y){Y.which===c.Z.LEFT?se(!1,Y):Y.which===c.Z.RIGHT&&se(!0,Y),U==null||U(Y)}function oe(Y){var ue=se(!k,Y);I==null||I(ue,Y)}var Q=v()(u,B,(S={},(0,l.Z)(S,"".concat(u,"-checked"),k),(0,l.Z)(S,"".concat(u,"-disabled"),b),S));return O.createElement("button",(0,N.Z)({},re,{type:"button",role:"switch","aria-checked":k,disabled:b,className:Q,ref:s,onKeyDown:xe,onClick:oe}),Z,O.createElement("span",{className:"".concat(u,"-inner")},O.createElement("span",{className:"".concat(u,"-inner-checked")},T),O.createElement("span",{className:"".concat(u,"-inner-unchecked")},F)))});me.displayName="Switch";var P=me,o=t(14088),ae=t(36355),ie=t(1684),be=t(19716),Fe=t(64993),de=t(17313),A=t(83116),z=t(37613);const n=r=>{const{componentCls:s,trackHeightSM:S,trackPadding:C,trackMinWidthSM:u,innerMinMarginSM:B,innerMaxMarginSM:E,handleSizeSM:d}=r,b=`${s}-inner`;return{[s]:{[`&${s}-small`]:{minWidth:u,height:S,lineHeight:`${S}px`,[`${s}-inner`]:{paddingInlineStart:E,paddingInlineEnd:B,[`${b}-checked`]:{marginInlineStart:`calc(-100% + ${d+C*2}px - ${E*2}px)`,marginInlineEnd:`calc(100% - ${d+C*2}px + ${E*2}px)`},[`${b}-unchecked`]:{marginTop:-S,marginInlineStart:0,marginInlineEnd:0}},[`${s}-handle`]:{width:d,height:d},[`${s}-loading-icon`]:{top:(d-r.switchLoadingIconSize)/2,fontSize:r.switchLoadingIconSize},[`&${s}-checked`]:{[`${s}-inner`]:{paddingInlineStart:B,paddingInlineEnd:E,[`${b}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${b}-unchecked`]:{marginInlineStart:`calc(100% - ${d+C*2}px + ${E*2}px)`,marginInlineEnd:`calc(-100% + ${d+C*2}px - ${E*2}px)`}},[`${s}-handle`]:{insetInlineStart:`calc(100% - ${d+C}px)`}},[`&:not(${s}-disabled):active`]:{[`&:not(${s}-checked) ${b}`]:{[`${b}-unchecked`]:{marginInlineStart:r.marginXXS/2,marginInlineEnd:-r.marginXXS/2}},[`&${s}-checked ${b}`]:{[`${b}-checked`]:{marginInlineStart:-r.marginXXS/2,marginInlineEnd:r.marginXXS/2}}}}}}},a=r=>{const{componentCls:s,handleSize:S}=r;return{[s]:{[`${s}-loading-icon${r.iconCls}`]:{position:"relative",top:(S-r.fontSize)/2,color:r.switchLoadingIconColor,verticalAlign:"top"},[`&${s}-checked ${s}-loading-icon`]:{color:r.switchColor}}}},h=r=>{const{componentCls:s,motion:S,trackPadding:C,handleBg:u,handleShadow:B,handleSize:E}=r,d=`${s}-handle`;return{[s]:{[d]:{position:"absolute",top:C,insetInlineStart:C,width:E,height:E,transition:`all ${r.switchDuration} ease-in-out`,"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,backgroundColor:u,borderRadius:E/2,boxShadow:B,transition:`all ${r.switchDuration} ease-in-out`,content:'""'}},[`&${s}-checked ${d}`]:{insetInlineStart:`calc(100% - ${E+C}px)`},[`&:not(${s}-disabled):active`]:S?{[`${d}::before`]:{insetInlineEnd:r.switchHandleActiveInset,insetInlineStart:0},[`&${s}-checked ${d}::before`]:{insetInlineEnd:0,insetInlineStart:r.switchHandleActiveInset}}:{}}}},M=r=>{const{componentCls:s,trackHeight:S,trackPadding:C,innerMinMargin:u,innerMaxMargin:B,handleSize:E}=r,d=`${s}-inner`;return{[s]:{[d]:{display:"block",overflow:"hidden",borderRadius:100,height:"100%",paddingInlineStart:B,paddingInlineEnd:u,transition:`padding-inline-start ${r.switchDuration} ease-in-out, padding-inline-end ${r.switchDuration} ease-in-out`,[`${d}-checked, ${d}-unchecked`]:{display:"block",color:r.colorTextLightSolid,fontSize:r.fontSizeSM,transition:`margin-inline-start ${r.switchDuration} ease-in-out, margin-inline-end ${r.switchDuration} ease-in-out`,pointerEvents:"none"},[`${d}-checked`]:{marginInlineStart:`calc(-100% + ${E+C*2}px - ${B*2}px)`,marginInlineEnd:`calc(100% - ${E+C*2}px + ${B*2}px)`},[`${d}-unchecked`]:{marginTop:-S,marginInlineStart:0,marginInlineEnd:0}},[`&${s}-checked ${d}`]:{paddingInlineStart:u,paddingInlineEnd:B,[`${d}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${d}-unchecked`]:{marginInlineStart:`calc(100% - ${E+C*2}px + ${B*2}px)`,marginInlineEnd:`calc(-100% + ${E+C*2}px - ${B*2}px)`}},[`&:not(${s}-disabled):active`]:{[`&:not(${s}-checked) ${d}`]:{[`${d}-unchecked`]:{marginInlineStart:C*2,marginInlineEnd:-C*2}},[`&${s}-checked ${d}`]:{[`${d}-checked`]:{marginInlineStart:-C*2,marginInlineEnd:C*2}}}}}},X=r=>{const{componentCls:s,trackHeight:S,trackMinWidth:C}=r;return{[s]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,de.Wf)(r)),{position:"relative",display:"inline-block",boxSizing:"border-box",minWidth:C,height:S,lineHeight:`${S}px`,verticalAlign:"middle",background:r.colorTextQuaternary,border:"0",borderRadius:100,cursor:"pointer",transition:`all ${r.motionDurationMid}`,userSelect:"none",[`&:hover:not(${s}-disabled)`]:{background:r.colorTextTertiary}}),(0,de.Qy)(r)),{[`&${s}-checked`]:{background:r.switchColor,[`&:hover:not(${s}-disabled)`]:{background:r.colorPrimaryHover}},[`&${s}-loading, &${s}-disabled`]:{cursor:"not-allowed",opacity:r.switchDisabledOpacity,"*":{boxShadow:"none",cursor:"not-allowed"}},[`&${s}-rtl`]:{direction:"rtl"}})}};var _=(0,A.Z)("Switch",r=>{const s=(0,z.TS)(r,{switchDuration:r.motionDurationMid,switchColor:r.colorPrimary,switchDisabledOpacity:r.opacityLoading,switchLoadingIconSize:r.fontSizeIcon*.75,switchLoadingIconColor:`rgba(0, 0, 0, ${r.opacityLoading})`,switchHandleActiveInset:"-30%"});return[X(s),M(s),h(s),a(s),n(s)]},r=>{const{fontSize:s,lineHeight:S,controlHeight:C,colorWhite:u}=r,B=s*S,E=C/2,d=2,b=B-d*2,Z=E-d*2;return{trackHeight:B,trackHeightSM:E,trackMinWidth:b*2+d*4,trackMinWidthSM:Z*2+d*2,trackPadding:d,handleBg:u,handleSize:b,handleSizeSM:Z,handleShadow:`0 2px 4px 0 ${new Fe.C("#00230b").setAlpha(.2).toRgbString()}`,innerMinMargin:b/2,innerMaxMargin:b+d+d*2,innerMinMarginSM:Z/2,innerMaxMarginSM:Z+d+d*2}}),ge=function(r,s){var S={};for(var C in r)Object.prototype.hasOwnProperty.call(r,C)&&s.indexOf(C)<0&&(S[C]=r[C]);if(r!=null&&typeof Object.getOwnPropertySymbols=="function")for(var u=0,C=Object.getOwnPropertySymbols(r);u{const{prefixCls:S,size:C,disabled:u,loading:B,className:E,rootClassName:d,style:b}=r,Z=ge(r,["prefixCls","size","disabled","loading","className","rootClassName","style"]),{getPrefixCls:T,direction:F,switch:I}=O.useContext(ae.E_),y=O.useContext(ie.Z),U=(u!=null?u:y)||B,re=T("switch",S),te=O.createElement("div",{className:`${re}-handle`},B&&O.createElement(x.Z,{className:`${re}-loading-icon`})),[he,k]=_(re),K=(0,be.Z)(C),se=v()(I==null?void 0:I.className,{[`${re}-small`]:K==="small",[`${re}-loading`]:B,[`${re}-rtl`]:F==="rtl"},E,d,k),xe=Object.assign(Object.assign({},I==null?void 0:I.style),b);return he(O.createElement(o.Z,{component:"Switch"},O.createElement(P,Object.assign({},Z,{prefixCls:re,className:se,style:xe,disabled:U,ref:s,loadingIcon:te}))))});R.__ANT_SWITCH=!0;var V=R},93681:function(He,ee,t){t.r(ee),t.d(ee,{BaseInput:function(){return c},default:function(){return de}});var x=t(54476),W=t(33885),v=t(20068),N=t(76190),l=t(92310),g=t.n(l),p=t(59301),O=t(5643),$=function(z){var n,a,h=z.inputElement,M=z.prefixCls,X=z.prefix,_=z.suffix,ge=z.addonBefore,R=z.addonAfter,V=z.className,r=z.style,s=z.disabled,S=z.readOnly,C=z.focused,u=z.triggerFocus,B=z.allowClear,E=z.value,d=z.handleReset,b=z.hidden,Z=z.classes,T=z.classNames,F=z.dataAttrs,I=z.styles,y=z.components,U=(y==null?void 0:y.affixWrapper)||"span",re=(y==null?void 0:y.groupWrapper)||"span",te=(y==null?void 0:y.wrapper)||"span",he=(y==null?void 0:y.groupAddon)||"span",k=(0,p.useRef)(null),K=function(Ee){var pe;(pe=k.current)!==null&&pe!==void 0&&pe.contains(Ee.target)&&(u==null||u())},se=function(){var Ee;if(!B)return null;var pe=!s&&!S&&E,Ce="".concat(M,"-clear-icon"),Pe=(0,N.Z)(B)==="object"&&B!==null&&B!==void 0&&B.clearIcon?B.clearIcon:"\u2716";return p.createElement("span",{onClick:d,onMouseDown:function(Se){return Se.preventDefault()},className:g()(Ce,(Ee={},(0,v.Z)(Ee,"".concat(Ce,"-hidden"),!pe),(0,v.Z)(Ee,"".concat(Ce,"-has-suffix"),!!_),Ee)),role:"button",tabIndex:-1},Pe)},xe=(0,p.cloneElement)(h,{value:E,hidden:b,className:g()((n=h.props)===null||n===void 0?void 0:n.className,!(0,O.X3)(z)&&!(0,O.He)(z)&&V)||null,style:(0,W.Z)((0,W.Z)({},(a=h.props)===null||a===void 0?void 0:a.style),!(0,O.X3)(z)&&!(0,O.He)(z)?r:{})});if((0,O.X3)(z)){var oe,Q="".concat(M,"-affix-wrapper"),Y=g()(Q,(oe={},(0,v.Z)(oe,"".concat(Q,"-disabled"),s),(0,v.Z)(oe,"".concat(Q,"-focused"),C),(0,v.Z)(oe,"".concat(Q,"-readonly"),S),(0,v.Z)(oe,"".concat(Q,"-input-with-clear-btn"),_&&B&&E),oe),!(0,O.He)(z)&&V,Z==null?void 0:Z.affixWrapper,T==null?void 0:T.affixWrapper),ue=(_||B)&&p.createElement("span",{className:g()("".concat(M,"-suffix"),T==null?void 0:T.suffix),style:I==null?void 0:I.suffix},se(),_);xe=p.createElement(U,(0,x.Z)({className:Y,style:(0,W.Z)((0,W.Z)({},(0,O.He)(z)?void 0:r),I==null?void 0:I.affixWrapper),hidden:!(0,O.He)(z)&&b,onClick:K},F==null?void 0:F.affixWrapper,{ref:k}),X&&p.createElement("span",{className:g()("".concat(M,"-prefix"),T==null?void 0:T.prefix),style:I==null?void 0:I.prefix},X),(0,p.cloneElement)(h,{value:E,hidden:null}),ue)}if((0,O.He)(z)){var ne="".concat(M,"-group"),ve="".concat(ne,"-addon"),G=g()("".concat(M,"-wrapper"),ne,Z==null?void 0:Z.wrapper),j=g()("".concat(M,"-group-wrapper"),V,Z==null?void 0:Z.group);return p.createElement(re,{className:j,style:r,hidden:b},p.createElement(te,{className:G},ge&&p.createElement(he,{className:ve},ge),(0,p.cloneElement)(xe,{hidden:null}),R&&p.createElement(he,{className:ve},R)))}return xe},c=$,H=t(94480),me=t(42978),P=t(75931),o=t(18929),ae=t(2738),ie=["autoComplete","onChange","onFocus","onBlur","onPressEnter","onKeyDown","prefixCls","disabled","htmlSize","className","maxLength","suffix","showCount","type","classes","classNames","styles"],be=(0,p.forwardRef)(function(A,z){var n=A.autoComplete,a=A.onChange,h=A.onFocus,M=A.onBlur,X=A.onPressEnter,_=A.onKeyDown,ge=A.prefixCls,R=ge===void 0?"rc-input":ge,V=A.disabled,r=A.htmlSize,s=A.className,S=A.maxLength,C=A.suffix,u=A.showCount,B=A.type,E=B===void 0?"text":B,d=A.classes,b=A.classNames,Z=A.styles,T=(0,P.Z)(A,ie),F=(0,o.Z)(A.defaultValue,{value:A.value}),I=(0,me.Z)(F,2),y=I[0],U=I[1],re=(0,p.useState)(!1),te=(0,me.Z)(re,2),he=te[0],k=te[1],K=(0,p.useRef)(null),se=function(j){K.current&&(0,O.nH)(K.current,j)};(0,p.useImperativeHandle)(z,function(){return{focus:se,blur:function(){var j;(j=K.current)===null||j===void 0||j.blur()},setSelectionRange:function(j,$e,Ee){var pe;(pe=K.current)===null||pe===void 0||pe.setSelectionRange(j,$e,Ee)},select:function(){var j;(j=K.current)===null||j===void 0||j.select()},input:K.current}}),(0,p.useEffect)(function(){k(function(G){return G&&V?!1:G})},[V]);var xe=function(j){A.value===void 0&&U(j.target.value),K.current&&(0,O.rJ)(K.current,j,a)},oe=function(j){X&&j.key==="Enter"&&X(j),_==null||_(j)},Q=function(j){k(!0),h==null||h(j)},Y=function(j){k(!1),M==null||M(j)},ue=function(j){U(""),se(),K.current&&(0,O.rJ)(K.current,j,a)},ne=function(){var j=(0,ae.Z)(A,["prefixCls","onPressEnter","addonBefore","addonAfter","prefix","suffix","allowClear","defaultValue","showCount","classes","htmlSize","styles","classNames"]);return p.createElement("input",(0,x.Z)({autoComplete:n},j,{onChange:xe,onFocus:Q,onBlur:Y,onKeyDown:oe,className:g()(R,(0,v.Z)({},"".concat(R,"-disabled"),V),b==null?void 0:b.input),style:Z==null?void 0:Z.input,ref:K,size:r,type:E}))},ve=function(){var j=Number(S)>0;if(C||u){var $e=(0,O.D7)(y),Ee=(0,H.Z)($e).length,pe=(0,N.Z)(u)==="object"?u.formatter({value:$e,count:Ee,maxLength:S}):"".concat(Ee).concat(j?" / ".concat(S):"");return p.createElement(p.Fragment,null,!!u&&p.createElement("span",{className:g()("".concat(R,"-show-count-suffix"),(0,v.Z)({},"".concat(R,"-show-count-has-suffix"),!!C),b==null?void 0:b.count),style:(0,W.Z)({},Z==null?void 0:Z.count)},pe),C)}return null};return p.createElement(c,(0,x.Z)({},T,{prefixCls:R,className:s,inputElement:ne(),handleReset:ue,value:(0,O.D7)(y),focused:he,triggerFocus:se,suffix:ve(),disabled:V,classes:d,classNames:b,styles:Z}))}),Fe=be,de=Fe},5643:function(He,ee,t){t.d(ee,{D7:function(){return l},He:function(){return x},X3:function(){return W},nH:function(){return N},rJ:function(){return v}});function x(g){return!!(g.addonBefore||g.addonAfter)}function W(g){return!!(g.prefix||g.suffix||g.allowClear)}function v(g,p,O,$){if(O){var c=p;if(p.type==="click"){var H=g.cloneNode(!0);c=Object.create(p,{target:{value:H},currentTarget:{value:H}}),H.value="",O(c);return}if($!==void 0){c=Object.create(p,{target:{value:g},currentTarget:{value:g}}),g.value=$,O(c);return}O(c)}}function N(g,p){if(g){g.focus(p);var O=p||{},$=O.cursor;if($){var c=g.value.length;switch($){case"start":g.setSelectionRange(0,0);break;case"end":g.setSelectionRange(c,c);break;default:g.setSelectionRange(0,c)}}}}function l(g){return typeof g=="undefined"||g===null?"":String(g)}},9296:function(He,ee,t){t.r(ee),t.d(ee,{ResizableTextArea:function(){return ge},default:function(){return C}});var x=t(54476),W=t(33885),v=t(20068),N=t(76190),l=t(42978),g=t(75931),p=t(94480),O=t(92310),$=t.n(O),c=t(93681),H=t(5643),me=t(18929),P=t(59301),o=t(29301),ae=t(34280),ie=t(16089),be=` + min-height:0 !important; + max-height:none !important; + height:0 !important; + visibility:hidden !important; + overflow:hidden !important; + position:absolute !important; + z-index:-1000 !important; + top:0 !important; + right:0 !important; + pointer-events: none !important; +`,Fe=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","font-variant","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing","word-break","white-space"],de={},A;function z(u){var B=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,E=u.getAttribute("id")||u.getAttribute("data-reactid")||u.getAttribute("name");if(B&&de[E])return de[E];var d=window.getComputedStyle(u),b=d.getPropertyValue("box-sizing")||d.getPropertyValue("-moz-box-sizing")||d.getPropertyValue("-webkit-box-sizing"),Z=parseFloat(d.getPropertyValue("padding-bottom"))+parseFloat(d.getPropertyValue("padding-top")),T=parseFloat(d.getPropertyValue("border-bottom-width"))+parseFloat(d.getPropertyValue("border-top-width")),F=Fe.map(function(y){return"".concat(y,":").concat(d.getPropertyValue(y))}).join(";"),I={sizingStyle:F,paddingSize:Z,borderSize:T,boxSizing:b};return B&&E&&(de[E]=I),I}function n(u){var B=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,E=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,d=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;A||(A=document.createElement("textarea"),A.setAttribute("tab-index","-1"),A.setAttribute("aria-hidden","true"),document.body.appendChild(A)),u.getAttribute("wrap")?A.setAttribute("wrap",u.getAttribute("wrap")):A.removeAttribute("wrap");var b=z(u,B),Z=b.paddingSize,T=b.borderSize,F=b.boxSizing,I=b.sizingStyle;A.setAttribute("style","".concat(I,";").concat(be)),A.value=u.value||u.placeholder||"";var y=void 0,U=void 0,re,te=A.scrollHeight;if(F==="border-box"?te+=T:F==="content-box"&&(te-=Z),E!==null||d!==null){A.value=" ";var he=A.scrollHeight-Z;E!==null&&(y=he*E,F==="border-box"&&(y=y+Z+T),te=Math.max(y,te)),d!==null&&(U=he*d,F==="border-box"&&(U=U+Z+T),re=te>U?"":"hidden",te=Math.min(U,te))}var k={height:te,overflowY:re,resize:"none"};return y&&(k.minHeight=y),U&&(k.maxHeight=U),k}var a=["prefixCls","onPressEnter","defaultValue","value","autoSize","onResize","className","style","disabled","onChange","onInternalAutoSize"],h=0,M=1,X=2,_=P.forwardRef(function(u,B){var E=u,d=E.prefixCls,b=E.onPressEnter,Z=E.defaultValue,T=E.value,F=E.autoSize,I=E.onResize,y=E.className,U=E.style,re=E.disabled,te=E.onChange,he=E.onInternalAutoSize,k=(0,g.Z)(E,a),K=(0,me.Z)(Z,{value:T,postState:function(Te){return Te!=null?Te:""}}),se=(0,l.Z)(K,2),xe=se[0],oe=se[1],Q=function(Te){oe(Te.target.value),te==null||te(Te)},Y=P.useRef();P.useImperativeHandle(B,function(){return{textArea:Y.current}});var ue=P.useMemo(function(){return F&&(0,N.Z)(F)==="object"?[F.minRows,F.maxRows]:[]},[F]),ne=(0,l.Z)(ue,2),ve=ne[0],G=ne[1],j=!!F,$e=function(){try{if(document.activeElement===Y.current){var Te=Y.current,St=Te.selectionStart,lt=Te.selectionEnd,Je=Te.scrollTop;Y.current.setSelectionRange(St,lt),Y.current.scrollTop=Je}}catch(yt){}},Ee=P.useState(X),pe=(0,l.Z)(Ee,2),Ce=pe[0],Pe=pe[1],Qe=P.useState(),Se=(0,l.Z)(Qe,2),Ae=Se[0],Ye=Se[1],gt=function(){Pe(h)};(0,ae.Z)(function(){j&>()},[T,ve,G,j]),(0,ae.Z)(function(){if(Ce===h)Pe(M);else if(Ce===M){var et=n(Y.current,!1,ve,G);Pe(X),Ye(et)}else $e()},[Ce]);var nt=P.useRef(),vt=function(){ie.Z.cancel(nt.current)},rt=function(Te){Ce===X&&(I==null||I(Te),F&&(vt(),nt.current=(0,ie.Z)(function(){gt()})))};P.useEffect(function(){return vt},[]);var ht=j?Ae:null,ot=(0,W.Z)((0,W.Z)({},U),ht);return(Ce===h||Ce===M)&&(ot.overflowY="hidden",ot.overflowX="hidden"),P.createElement(o.Z,{onResize:rt,disabled:!(F||I)},P.createElement("textarea",(0,x.Z)({},k,{ref:Y,style:ot,className:$()(d,y,(0,v.Z)({},"".concat(d,"-disabled"),re)),disabled:re,value:xe,onChange:Q})))}),ge=_,R=["defaultValue","value","onFocus","onBlur","onChange","allowClear","maxLength","onCompositionStart","onCompositionEnd","suffix","prefixCls","classes","showCount","className","style","disabled","hidden","classNames","styles","onResize"];function V(u,B){return(0,p.Z)(u||"").slice(0,B).join("")}function r(u,B,E,d){var b=E;return u?b=V(E,d):(0,p.Z)(B||"").lengthd&&(b=B),b}var s=P.forwardRef(function(u,B){var E,d=u.defaultValue,b=u.value,Z=u.onFocus,T=u.onBlur,F=u.onChange,I=u.allowClear,y=u.maxLength,U=u.onCompositionStart,re=u.onCompositionEnd,te=u.suffix,he=u.prefixCls,k=he===void 0?"rc-textarea":he,K=u.classes,se=u.showCount,xe=u.className,oe=u.style,Q=u.disabled,Y=u.hidden,ue=u.classNames,ne=u.styles,ve=u.onResize,G=(0,g.Z)(u,R),j=(0,me.Z)(d,{value:b,defaultValue:d}),$e=(0,l.Z)(j,2),Ee=$e[0],pe=$e[1],Ce=(0,P.useRef)(null),Pe=P.useState(!1),Qe=(0,l.Z)(Pe,2),Se=Qe[0],Ae=Qe[1],Ye=P.useState(!1),gt=(0,l.Z)(Ye,2),nt=gt[0],vt=gt[1],rt=P.useRef(),ht=P.useRef(0),ot=P.useState(null),et=(0,l.Z)(ot,2),Te=et[0],St=et[1],lt=function(){var w;(w=Ce.current)===null||w===void 0||w.textArea.focus()};(0,P.useImperativeHandle)(B,function(){return{resizableTextArea:Ce.current,focus:lt,blur:function(){var w;(w=Ce.current)===null||w===void 0||w.textArea.blur()}}}),(0,P.useEffect)(function(){Ae(function(q){return!Q&&q})},[Q]);var Je=Number(y)>0,yt=function(w){vt(!0),rt.current=Ee,ht.current=w.currentTarget.selectionStart,U==null||U(w)},It=function(w){vt(!1);var fe=w.currentTarget.value;if(Je){var e,i=ht.current>=y+1||ht.current===((e=rt.current)===null||e===void 0?void 0:e.length);fe=r(i,rt.current,fe,y)}fe!==Ee&&(pe(fe),(0,H.rJ)(w.currentTarget,w,F,fe)),re==null||re(w)},Ft=function(w){var fe=w.target.value;if(!nt&&Je){var e=w.target.selectionStart>=y+1||w.target.selectionStart===fe.length||!w.target.selectionStart;fe=r(e,Ee,fe,y)}pe(fe),(0,H.rJ)(w.currentTarget,w,F,fe)},wt=function(w){var fe=G.onPressEnter,e=G.onKeyDown;w.key==="Enter"&&fe&&fe(w),e==null||e(w)},At=function(w){Ae(!0),Z==null||Z(w)},Ot=function(w){Ae(!1),T==null||T(w)},Pt=function(w){var fe;pe(""),lt(),(0,H.rJ)((fe=Ce.current)===null||fe===void 0?void 0:fe.textArea,w,F)},it=(0,H.D7)(Ee);!nt&&Je&&b==null&&(it=V(it,y));var Et=te,st;if(se){var Dt=(0,p.Z)(it).length;(0,N.Z)(se)==="object"?st=se.formatter({value:it,count:Dt,maxLength:y}):st="".concat(Dt).concat(Je?" / ".concat(y):""),Et=P.createElement(P.Fragment,null,Et,P.createElement("span",{className:$()("".concat(k,"-data-count"),ue==null?void 0:ue.count),style:ne==null?void 0:ne.count},st))}var Rt=function(w){var fe;ve==null||ve(w),(fe=Ce.current)!==null&&fe!==void 0&&fe.textArea.style.height&&St(!0)},jt=!G.autoSize&&!se&&!I,J=P.createElement(c.BaseInput,{value:it,allowClear:I,handleReset:Pt,suffix:Et,prefixCls:k,classes:{affixWrapper:$()(K==null?void 0:K.affixWrapper,(E={},(0,v.Z)(E,"".concat(k,"-show-count"),se),(0,v.Z)(E,"".concat(k,"-textarea-allow-clear"),I),E))},disabled:Q,focused:Se,className:xe,style:(0,W.Z)((0,W.Z)({},oe),Te&&!jt?{height:"auto"}:{}),dataAttrs:{affixWrapper:{"data-count":typeof st=="string"?st:void 0}},hidden:Y,inputElement:P.createElement(ge,(0,x.Z)({},G,{onKeyDown:wt,onChange:Ft,onFocus:At,onBlur:Ot,onCompositionStart:yt,onCompositionEnd:It,className:ue==null?void 0:ue.textarea,style:(0,W.Z)((0,W.Z)({},ne==null?void 0:ne.textarea),{},{resize:oe==null?void 0:oe.resize}),disabled:Q,prefixCls:k,onResize:Rt,ref:Ce}))});return J}),S=s,C=S},16722:function(He,ee,t){t.d(ee,{Z:function(){return O}});const x=$=>typeof $=="object"&&$!=null&&$.nodeType===1,W=($,c)=>(!c||$!=="hidden")&&$!=="visible"&&$!=="clip",v=($,c)=>{if($.clientHeight<$.scrollHeight||$.clientWidth<$.scrollWidth){const H=getComputedStyle($,null);return W(H.overflowY,c)||W(H.overflowX,c)||(me=>{const P=(o=>{if(!o.ownerDocument||!o.ownerDocument.defaultView)return null;try{return o.ownerDocument.defaultView.frameElement}catch(ae){return null}})(me);return!!P&&(P.clientHeighto<$&&ae>c||o>$&&ae=c&&ie>=H?o-$-me:ae>c&&ieH?ae-c+P:0,l=$=>{const c=$.parentElement;return c==null?$.getRootNode().host||null:c},g=($,c)=>{var H,me,P,o;if(typeof document=="undefined")return[];const{scrollMode:ae,block:ie,inline:be,boundary:Fe,skipOverflowHiddenElements:de}=c,A=typeof Fe=="function"?Fe:T=>T!==Fe;if(!x($))throw new TypeError("Invalid target");const z=document.scrollingElement||document.documentElement,n=[];let a=$;for(;x(a)&&A(a);){if(a=l(a),a===z){n.push(a);break}a!=null&&a===document.body&&v(a)&&!v(document.documentElement)||a!=null&&v(a,de)&&n.push(a)}const h=(me=(H=window.visualViewport)==null?void 0:H.width)!=null?me:innerWidth,M=(o=(P=window.visualViewport)==null?void 0:P.height)!=null?o:innerHeight,{scrollX:X,scrollY:_}=window,{height:ge,width:R,top:V,right:r,bottom:s,left:S}=$.getBoundingClientRect(),{top:C,right:u,bottom:B,left:E}=(T=>{const F=window.getComputedStyle(T);return{top:parseFloat(F.scrollMarginTop)||0,right:parseFloat(F.scrollMarginRight)||0,bottom:parseFloat(F.scrollMarginBottom)||0,left:parseFloat(F.scrollMarginLeft)||0}})($);let d=ie==="start"||ie==="nearest"?V-C:ie==="end"?s+B:V+ge/2-C+B,b=be==="center"?S+R/2-E+u:be==="end"?r+u:S-E;const Z=[];for(let T=0;T=0&&S>=0&&s<=M&&r<=h&&(F===z&&!v(F)||V>=U&&s<=te&&S>=he&&r<=re))return Z;const k=getComputedStyle(F),K=parseInt(k.borderLeftWidth,10),se=parseInt(k.borderTopWidth,10),xe=parseInt(k.borderRightWidth,10),oe=parseInt(k.borderBottomWidth,10);let Q=0,Y=0;const ue="offsetWidth"in F?F.offsetWidth-F.clientWidth-K-xe:0,ne="offsetHeight"in F?F.offsetHeight-F.clientHeight-se-oe:0,ve="offsetWidth"in F?F.offsetWidth===0?0:y/F.offsetWidth:0,G="offsetHeight"in F?F.offsetHeight===0?0:I/F.offsetHeight:0;if(z===F)Q=ie==="start"?d:ie==="end"?d-M:ie==="nearest"?N(_,_+M,M,se,oe,_+d,_+d+ge,ge):d-M/2,Y=be==="start"?b:be==="center"?b-h/2:be==="end"?b-h:N(X,X+h,h,K,xe,X+b,X+b+R,R),Q=Math.max(0,Q+_),Y=Math.max(0,Y+X);else{Q=ie==="start"?d-U-se:ie==="end"?d-te+oe+ne:ie==="nearest"?N(U,te,I,se,oe+ne,d,d+ge,ge):d-(U+I/2)+ne/2,Y=be==="start"?b-he-K:be==="center"?b-(he+y/2)+ue/2:be==="end"?b-re+xe+ue:N(he,re,y,K,xe+ue,b,b+R,R);const{scrollLeft:j,scrollTop:$e}=F;Q=G===0?0:Math.max(0,Math.min($e+Q/G,F.scrollHeight-I/G+ne)),Y=ve===0?0:Math.max(0,Math.min(j+Y/ve,F.scrollWidth-y/ve+ue)),d+=$e-Q,b+=j-Y}Z.push({el:F,top:Q,left:Y})}return Z},p=$=>$===!1?{block:"end",inline:"nearest"}:(c=>c===Object(c)&&Object.keys(c).length!==0)($)?$:{block:"start",inline:"nearest"};function O($,c){if(!$.isConnected||!(P=>{let o=P;for(;o&&o.parentNode;){if(o.parentNode===document)return!0;o=o.parentNode instanceof ShadowRoot?o.parentNode.host:o.parentNode}return!1})($))return;const H=(P=>{const o=window.getComputedStyle(P);return{top:parseFloat(o.scrollMarginTop)||0,right:parseFloat(o.scrollMarginRight)||0,bottom:parseFloat(o.scrollMarginBottom)||0,left:parseFloat(o.scrollMarginLeft)||0}})($);if((P=>typeof P=="object"&&typeof P.behavior=="function")(c))return c.behavior(g($,c));const me=typeof c=="boolean"||c==null?void 0:c.behavior;for(const{el:P,top:o,left:ae}of g($,p(c))){const ie=o-H.top+H.bottom,be=ae-H.left+H.right;P.scroll({top:ie,left:be,behavior:me})}}}}]); diff --git a/p__knowledgegraph__SanD__index.37610420.async.js b/p__knowledgegraph__SanD__index.46e959db.async.js similarity index 99% rename from p__knowledgegraph__SanD__index.37610420.async.js rename to p__knowledgegraph__SanD__index.46e959db.async.js index 1b4294f155..ed94c21c73 100644 --- a/p__knowledgegraph__SanD__index.37610420.async.js +++ b/p__knowledgegraph__SanD__index.46e959db.async.js @@ -119,7 +119,7 @@ YYYY`):R(Z,"MM\u6708");case"year":return R(Z,"YYYY");default:return R(Z,"YYYY-MM - `).join("")})}}Au.defaultOptions={position:"top-left"};var Ev=d(75242);class Nu extends bo{constructor(t,e){super(t,Object.assign({},Nu.defaultOptions,e)),this.currentTarget=null,this.tooltipElement=null,this.container=null,this.isEnable=n=>{const{enable:r}=this.options;return typeof r=="function"?r(n):r},this.onClick=n=>{const{target:{id:r}}=n;this.currentTarget===r?(this.hide(n),this.currentTarget=null):(this.currentTarget=r,this.show(n))},this.onPointerMove=n=>{const{target:r}=n;!this.currentTarget||r.id===this.currentTarget||this.show(n)},this.onPointerLeave=n=>{this.hide(n),this.currentTarget=null},this.onCanvasMove=n=>{this.hide(n),this.currentTarget=null},this.onPointerEnter=n=>{this.show(n)},this.showById=n=>{const r={target:{id:n}};this.show(r)},this.getElementData=(n,r)=>{const{model:o}=this.context;switch(r){case"node":return o.getNodeData([n]);case"edge":return o.getEdgeData([n]);case"combo":return o.getComboData([n]);default:return[]}},this.show=n=>{const{client:r,target:{id:o}}=n;if(Ea(n.target)||!this.tooltipElement||!this.isEnable(n))return;const u=this.context.graph.getElementType(o),{getContent:v,title:S}=this.options;this.currentTarget=o;const C=this.getElementData(o,u);let T,$;if(r)T=r.x,$=r.y;else{const vt=(0,la.Z)(C,"0.style",{x:0,y:0});T=vt.x,$=vt.y}let lt={};if(v)lt.content=v(n,C);else{const vt=this.context.graph.getElementRenderStyle(o),Gt=u==="node"?vt.fill:vt.stroke;lt={title:S||u,data:C.map(ee=>({name:"ID",value:ee.id||`${ee.source} -> ${ee.target}`,color:Gt}))}}this.tooltipElement.update(Object.assign(Object.assign(Object.assign({},this.tooltipStyleProps),{x:T,y:$,style:{".tooltip":{visibility:"visible"}}}),lt))},this.hide=n=>{var r;if(!n){(r=this.tooltipElement)===null||r===void 0||r.hide();return}if(!this.tooltipElement||!this.currentTarget)return;const{client:{x:o,y:u}}=n;this.tooltipElement.hide(o,u)},this.initTooltip=()=>{var n;const r=new Ev.u({className:"tooltip",style:this.tooltipStyleProps});return(n=this.container)===null||n===void 0||n.appendChild(r.HTMLTooltipElement),r},this.render(),this.bindEvents()}getEvents(){return this.options.trigger==="click"?{"node:click":this.onClick,"edge:click":this.onClick,"combo:click":this.onClick,"canvas:click":this.onPointerLeave,contextmenu:this.onPointerLeave,drag:this.onPointerLeave}:{"node:pointerenter":this.onPointerEnter,"node:pointermove":this.onPointerMove,"canvas:pointermove":this.onCanvasMove,"edge:pointerenter":this.onPointerEnter,"edge:pointermove":this.onPointerMove,"combo:pointerenter":this.onPointerEnter,"combo:pointermove":this.onPointerMove,contextmenu:this.onPointerLeave,"node:drag":this.onPointerLeave}}update(t){var e;this.unbindEvents(),super.update(t),this.tooltipElement&&((e=this.container)===null||e===void 0||e.removeChild(this.tooltipElement.HTMLTooltipElement)),this.tooltipElement=this.initTooltip(),this.bindEvents()}render(){const{canvas:t}=this.context,e=t.getContainer();e&&(this.container=e,this.tooltipElement=this.initTooltip())}unbindEvents(){const{graph:t}=this.context,e=this.getEvents();Object.keys(e).forEach(n=>{t.off(n,e[n])})}bindEvents(){const{graph:t}=this.context,e=this.getEvents();Object.keys(e).forEach(n=>{t.on(n,e[n])})}get tooltipStyleProps(){const{canvas:t}=this.context,{center:e}=t.getBounds(),n=t.getContainer(),{top:r,left:o}=n.getBoundingClientRect(),{style:u,position:v,enterable:S,container:C={x:-o,y:-r},title:T,offset:$}=this.options,[lt,vt]=e,[Gt,ee]=t.getSize();return{x:lt,y:vt,container:C,title:T,bounding:{x:0,y:0,width:Gt,height:ee},position:v,enterable:S,offset:$,style:u}}destroy(){var t;this.unbindEvents(),this.tooltipElement&&((t=this.container)===null||t===void 0||t.removeChild(this.tooltipElement.HTMLTooltipElement)),super.destroy()}}Nu.defaultOptions={trigger:"hover",position:"top-right",enterable:!1,enable:!0,offset:[10,10],style:{".tooltip":{visibility:"hidden"}}};var Af=function(i,t,e,n){function r(o){return o instanceof e?o:new e(function(u){u(o)})}return new(e||(e=Promise))(function(o,u){function v(T){try{C(n.next(T))}catch($){u($)}}function S(T){try{C(n.throw(T))}catch($){u($)}}function C(T){T.done?o(T.value):r(T.value).then(v,S)}C((n=n.apply(i,t||[])).next())})};let _l;function Nf(i,t){return _l||(_l=document.createElement("canvas")),_l.width=i,_l.height=t,_l.getContext("2d").clearRect(0,0,i,t),_l}function xv(i,t,e,n){return Af(this,void 0,void 0,function*(){const r=Nf(i,t),o=r.getContext("2d"),{rotate:u,opacity:v,textFill:S,textFontSize:C,textFontFamily:T,textFontVariant:$,textFontWeight:lt,textAlign:vt,textBaseline:Gt}=n;return o.textAlign=vt,o.textBaseline=Gt,o.translate(i/2,t/2),o.font=`${C}px ${T} ${$} ${lt}`,u&&o.rotate(u),v&&(o.globalAlpha=v),S&&(o.fillStyle=S,o.fillText(`${e}`,0,0)),r.toDataURL()})}function wv(i,t,e,n){return Af(this,void 0,void 0,function*(){const r=Nf(i,t),o=r.getContext("2d"),{rotate:u,opacity:v}=n;u&&o.rotate(u),v&&(o.globalAlpha=v);const S=new Image;return S.crossOrigin="anonymous",S.src=e,new Promise(C=>{S.onload=function(){const T=i>S.width?(i-S.width)/2:0,$=t>S.height?(t-S.height)/2:0;o.drawImage(S,0,0,S.width,S.height,T,$,i-T*2,t-$*2),C(r.toDataURL())}})})}var Sv=function(i,t,e,n){function r(o){return o instanceof e?o:new e(function(u){u(o)})}return new(e||(e=Promise))(function(o,u){function v(T){try{C(n.next(T))}catch($){u($)}}function S(T){try{C(n.throw(T))}catch($){u($)}}function C(T){T.done?o(T.value):r(T.value).then(v,S)}C((n=n.apply(i,t||[])).next())})},Mv=function(i,t){var e={};for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&t.indexOf(n)<0&&(e[n]=i[n]);if(i!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,n=Object.getOwnPropertySymbols(i);rsuper.update}});return Sv(this,void 0,void 0,function*(){e.update.call(this,t);const n=this.options,{width:r,height:o,text:u,imageURL:v}=n,S=Mv(n,["width","height","text","imageURL"]);Object.keys(S).forEach(T=>{T.startsWith("background")&&(this.$element.style[T]=t[T])});const C=v?yield wv(r,o,v,S):yield xv(r,o,u,S);this.$element.style.backgroundImage=`url(${C})`})}destroy(){super.destroy(),this.$element.remove()}}Ru.defaultOptions={width:200,height:100,opacity:.2,rotate:Math.PI/12,text:"",textFill:"#000",textFontSize:16,textAlign:"center",textBaseline:"middle",backgroundRepeat:"repeat"};const Cv=["#7E92B5","#F4664A","#FFBE3A"],Ov={type:"group",color:["#1783FF","#00C9C9","#F08F56","#D580FF","#7863FF","#DB9D0D","#60C42D","#FF80CA","#2491B3","#17C76F"]},Tv={type:"group",color:["#99ADD1","#1783FF","#00C9C9","#F08F56","#D580FF","#7863FF","#DB9D0D","#60C42D","#FF80CA","#2491B3","#17C76F"]};function Rf(i){const{bgColor:t,textColor:e,nodeColor:n,nodeColorDisabled:r,nodeStroke:o,nodeHaloStrokeOpacityActive:u=.15,nodeHaloStrokeOpacitySelected:v=.25,nodeOpacityDisabled:S=.06,nodeIconOpacityInactive:C=.85,nodeOpacityInactive:T=.25,nodeBadgePalette:$=Cv,nodePaletteOptions:lt=Ov,edgeColor:vt,edgeColorDisabled:Gt,edgePaletteOptions:ee=Tv,comboColor:ve,comboColorDisabled:ke,comboStroke:Fe,comboStrokeDisabled:Xe,edgeColorInactive:cn}=i;return{background:t,node:{palette:lt,style:{donutOpacity:1,badgeBackgroundOpacity:1,badgeFill:"#fff",badgeFontSize:8,badgePadding:[0,4],badgePalette:$,fill:n,fillOpacity:1,halo:!1,iconFill:"#fff",iconOpacity:1,labelBackground:!1,labelBackgroundFill:t,labelBackgroundLineWidth:0,labelBackgroundOpacity:.75,labelFill:e,labelFillOpacity:.85,labelLineHeight:16,labelPadding:[0,2],labelFontSize:12,labelFontWeight:400,labelOpacity:1,labelOffsetY:2,lineWidth:0,portFill:n,portLineWidth:1,portStroke:o,portStrokeOpacity:.65,size:32,stroke:o,strokeOpacity:1,zIndex:2},state:{selected:{halo:!0,haloLineWidth:24,haloStrokeOpacity:v,labelFontSize:12,labelFontWeight:"bold",lineWidth:4,stroke:o},active:{halo:!0,haloLineWidth:12,haloStrokeOpacity:u},highlight:{labelFontWeight:"bold",lineWidth:4,stroke:o,strokeOpacity:.85},inactive:{badgeBackgroundOpacity:T,donutOpacity:T,fillOpacity:T,iconOpacity:C,labelFill:e,labelFillOpacity:T,strokeOpacity:T},disabled:{badgeBackgroundOpacity:.25,donutOpacity:S,fill:r,fillOpacity:S,iconFill:r,iconOpacity:.25,labelFill:e,labelFillOpacity:.25,strokeOpacity:S}},animation:{enter:"fade",exit:"fade",show:"fade",hide:"fade",expand:"node-expand",collapse:"node-collapse",update:[{fields:["x","y","fill","stroke"]}],translate:[{fields:["x","y"]}]}},edge:{palette:ee,style:{badgeBackgroundFill:vt,badgeFill:"#fff",badgeFontSize:8,badgeOffsetX:10,fillOpacity:1,halo:!1,haloLineWidth:12,haloStrokeOpacity:1,increasedLineWidthForHitTesting:2,labelBackground:!1,labelBackgroundFill:t,labelBackgroundLineWidth:0,labelBackgroundOpacity:.75,labelBackgroundPadding:[4,4,4,4],labelFill:e,labelFontSize:12,labelFontWeight:400,labelOpacity:1,labelPlacement:"center",labelTextBaseline:"middle",lineWidth:1,stroke:vt,strokeOpacity:1,zIndex:1},state:{selected:{halo:!0,haloStrokeOpacity:.25,labelFontSize:14,labelFontWeight:"bold",lineWidth:3},active:{halo:!0,haloStrokeOpacity:.15},highlight:{labelFontWeight:"bold",lineWidth:3},inactive:{stroke:cn,fillOpacity:.08,labelOpacity:.25,strokeOpacity:.08,badgeBackgroundOpacity:.25},disabled:{stroke:Gt,fillOpacity:.45,strokeOpacity:.45,labelOpacity:.25,badgeBackgroundOpacity:.45}},animation:{enter:"fade",exit:"fade",expand:"path-in",collapse:"path-out",show:"fade",hide:"fade",update:[{fields:["sourceNode","targetNode"]},{fields:["stroke"],shape:"key"}],translate:[{fields:["sourceNode","targetNode"]}]}},combo:{style:{collapsedMarkerFill:t,collapsedMarkerFontSize:12,collapsedMarkerFillOpacity:1,collapsedSize:32,collapsedFillOpacity:1,fill:ve,halo:!1,haloLineWidth:12,haloStroke:Fe,haloStrokeOpacity:.25,labelBackground:!1,labelBackgroundFill:t,labelBackgroundLineWidth:0,labelBackgroundOpacity:.75,labelBackgroundPadding:[2,4,2,4],labelFill:e,labelFontSize:12,labelFontWeight:400,labelOpacity:1,lineDash:0,lineWidth:1,fillOpacity:.04,strokeOpacity:1,padding:10,stroke:Fe},state:{selected:{halo:!0,labelFontSize:14,labelFontWeight:700,lineWidth:4},active:{halo:!0},highlight:{labelFontWeight:700,lineWidth:4},inactive:{fillOpacity:.65,labelOpacity:.25,strokeOpacity:.65},disabled:{fill:ke,fillOpacity:.25,labelOpacity:.25,stroke:Xe,strokeOpacity:.25}},animation:{enter:"fade",exit:"fade",show:"fade",hide:"fade",expand:"combo-expand",collapse:"combo-collapse",update:[{fields:["x","y"]},{fields:["fill","stroke","lineWidth"],shape:"key"}],translate:[{fields:["x","y"]}]}}}}const Pv=Rf({bgColor:"#000000",comboColor:"#fdfdfd",comboColorDisabled:"#d0e4ff",comboStroke:"#99add1",comboStrokeDisabled:"#969696",edgeColor:"#637088",edgeColorDisabled:"#637088",edgeColorInactive:"#D0E4FF",edgePaletteOptions:{type:"group",color:["#637088","#0F55A6","#008383","#9C5D38","#8B53A6","#4E40A6","#8F6608","#3E801D","#A65383","#175E75","#0F8248"]},nodeColor:"#1783ff",nodeColorDisabled:"#D0E4FF",nodeHaloStrokeOpacityActive:.25,nodeHaloStrokeOpacitySelected:.45,nodeIconOpacityInactive:.45,nodeOpacityDisabled:.25,nodeOpacityInactive:.45,nodeStroke:"#d0e4ff",textColor:"#ffffff"}),Av=Rf({bgColor:"#ffffff",comboColor:"#99ADD1",comboColorDisabled:"#f0f0f0",comboStroke:"#99add1",comboStrokeDisabled:"#d9d9d9",edgeColor:"#99add1",edgeColorDisabled:"#d9d9d9",edgeColorInactive:"#1B324F",nodeColor:"#1783ff",nodeColorDisabled:"#1B324F",nodeHaloStrokeOpacityActive:.15,nodeHaloStrokeOpacitySelected:.25,nodeIconOpacityInactive:.85,nodeOpacityDisabled:.06,nodeOpacityInactive:.25,nodeStroke:"#000000",textColor:"#000000"});class $s extends Vt{beforeDraw(t,e){return t}afterLayout(){}}class Nv extends $s{beforeDraw(t){const{model:e}=this.context,n=t.add.combos,r=o=>{const u=[];return o.forEach((v,S)=>{const T=e.getAncestorsData(S,"combo").map($=>dn($)).reverse();u.push([S,v,T.length])}),new Map(u.sort(([,,v],[,,S])=>S-v).map(([v,S])=>[v,S]))};return t.add.combos=r(n),t.update.combos=r(t.update.combos),t}}function Xo(i,t,e,n,r){const o=dn(n),u=`${e}s`,v=r?n:i.add[u].get(o)||i.update[u].get(o)||i.remove[u].get(o)||n;Object.entries(i).forEach(([S,C])=>{t===S?C[u].set(o,v):C[u].delete(o)})}function Iu(i,t){return Object.keys(i).every(e=>i[e]===t[e])}class Rv extends $s{beforeDraw(t,e){if(e.stage==="visibility"||!this.context.model.model.hasTreeStructure(ne))return t;const{model:n}=this.context,{add:r,update:o}=t,u=[...t.update.combos.entries(),...t.add.combos.entries()];for(;u.length;){const[v,S]=u.pop();if(ha(S)){const C=n.getDescendantsData(v),T=C.map(dn),{internal:$,external:lt}=xt(T,vt=>n.getRelatedEdgesData(vt));C.forEach(vt=>{const Gt=dn(vt),ee=u.findIndex(([ke])=>ke===Gt);ee!==-1&&u.splice(ee,1);const ve=n.getElementType(Gt);Xo(t,"remove",ve,vt)}),$.forEach(vt=>Xo(t,"remove","edge",vt)),lt.forEach(vt=>{var Gt;const ee=dn(vt);((Gt=this.context.element)===null||Gt===void 0?void 0:Gt.getElement(ee))?o.edges.set(ee,vt):r.edges.set(ee,vt)})}else{const C=n.getChildrenData(v),T=C.map(dn),{edges:$}=xt(T,lt=>n.getRelatedEdgesData(lt));[...C,...$].forEach(lt=>{var vt;const Gt=dn(lt),ee=n.getElementType(Gt);((vt=this.context.element)===null||vt===void 0?void 0:vt.getElement(Gt))?Xo(t,"update",ee,lt):Xo(t,"add",ee,lt),ee==="combo"&&u.push([Gt,lt])})}}return t}}const If=(i,t,e,n)=>{const r=`${e}s`,o=dn(n);!i.add[r].has(o)&&!i.update[r].has(o)&&i[t][r].set(dn(n),n)};class Iv extends $s{getElement(t){return this.context.element.getElement(t)}handleExpand(t,e){if(If(e,"add","node",t),ha(t))return;const n=dn(t);If(e,"add","node",t),this.context.model.getRelatedEdgesData(n,"out").forEach(u=>{Xo(e,"add","edge",u)}),this.context.model.getChildrenData(n).forEach(u=>{this.handleExpand(u,e)})}beforeDraw(t){const{graph:e,model:n}=this.context;if(!n.model.hasTreeStructure(Me))return t;const{add:{nodes:r,edges:o},update:{nodes:u}}=t,v=new Map,S=new Map;r.forEach((T,$)=>{ha(T)&&v.set($,T)}),o.forEach(T=>{if(e.getElementType(T.source)!=="node")return;const $=e.getNodeData(T.source);ha($)&&v.set(T.source,$)}),u.forEach((T,$)=>{const lt=this.getElement($);if(!lt)return;const vt=lt.attributes.collapsed;ha(T)?vt||v.set($,T):vt&&S.set($,T)});const C=new Set;return v.forEach((T,$)=>{n.getDescendantsData($).forEach(vt=>{const Gt=dn(vt);if(C.has(Gt))return;Xo(t,"remove","node",vt),n.getRelatedEdgesData(Gt).forEach(ve=>{Xo(t,"remove","edge",ve)}),C.add(Gt)})}),S.forEach((T,$)=>{if(n.getAncestorsData($,Me).some(ha)){Xo(t,"remove","node",T);return}this.handleExpand(T,t)}),t}}function Lv(i,t,e,n=!1){const r=ce[i][t];!n&&r?r!==e&&ot.warn(`The extension ${t} of ${i} has been registered before.`):Object.assign(ce[i],{[t]:e})}class Lu{constructor(t){this.type=t}}class go extends Lu{constructor(t,e){super(t),this.data=e}}class as extends Lu{constructor(t,e,n,r){super(t),this.animationType=e,this.animation=n,this.data=r}}class Bl extends Lu{constructor(t,e,n){super(t),this.elementType=e,this.data=n}}class Du extends Lu{constructor(t,e){super(t),this.data=e}}function Eo(i,t){i.emit(t.type,t)}function Dv(i){if(!i)return null;if(i instanceof nt.BB)return{type:"canvas",element:i};let t=i;for(;t;){if(Pi(t))return{type:"node",element:t};if(na(t))return{type:"edge",element:t};if(co(t))return{type:"combo",element:t};t=t.parentElement}return null}const Zl="cachedStyle",ku=i=>`__${i}__`;function kv(i,t){const e=Array.isArray(t)?t:[t];(0,la.Z)(i,Zl)||(0,ao.Z)(i,Zl,{}),e.forEach(n=>{(0,ao.Z)((0,la.Z)(i,Zl),ku(n),i.attributes[n])})}function Lf(i,t){return(0,la.Z)(i,[Zl,ku(t)])}function _v(i,t){return ku(t)in((0,la.Z)(i,Zl)||{})}function B0(i,t,e){set(i,[Zl,ku(t)],e)}class Bv{constructor(t){this.tasks=[],this.animations=new Set,this.context=t}getTasks(){const t=[...this.tasks];return this.tasks=[],t}add(t,e){this.tasks.push([t,e])}animate(t,e,n){var r,o,u;(r=e==null?void 0:e.before)===null||r===void 0||r.call(e);const v=this.getTasks().map(([C,T])=>{var $,lt,vt;const{element:Gt,elementType:ee,stage:ve}=C,ke=bt(this.context.options,ee,ve,t);($=T==null?void 0:T.before)===null||$===void 0||$.call(T);const Fe=M(Gt,this.inferStyle(C,n),ke);return Fe?((lt=T==null?void 0:T.beforeAnimate)===null||lt===void 0||lt.call(T,Fe),Fe.finished.then(()=>{var Xe,cn;(Xe=T==null?void 0:T.afterAnimate)===null||Xe===void 0||Xe.call(T,Fe),(cn=T==null?void 0:T.after)===null||cn===void 0||cn.call(T),this.animations.delete(Fe)})):(vt=T==null?void 0:T.after)===null||vt===void 0||vt.call(T),Fe}).filter(Boolean);v.forEach(C=>this.animations.add(C));const S=Ze(v);return S?((o=e==null?void 0:e.beforeAnimate)===null||o===void 0||o.call(e,S),S.finished.then(()=>{var C,T;(C=e==null?void 0:e.afterAnimate)===null||C===void 0||C.call(e,S),(T=e==null?void 0:e.after)===null||T===void 0||T.call(e),this.release()})):(u=e==null?void 0:e.after)===null||u===void 0||u.call(e),S}inferStyle(t,e){var n,r;const{element:o,elementType:u,stage:v,originalStyle:S,modifiedStyle:C}=t,T={},$={};if(v==="enter")Object.assign(T,{opacity:0});else if(v==="exit")Object.assign($,{opacity:0});else if(v==="show")Object.assign(T,{opacity:0}),Object.assign($,{opacity:(n=Lf(o,"opacity"))!==null&&n!==void 0?n:ge("opacity")});else if(v==="hide")Object.assign(T,{opacity:(r=Lf(o,"opacity"))!==null&&r!==void 0?r:ge("opacity")}),Object.assign($,{opacity:0});else if(v==="collapse"){const{collapse:lt}=e||{},{target:vt,descendants:Gt,position:ee}=lt;if(u==="node"){if(Gt.includes(o.id)){const[ve,ke,Fe]=ee;Object.assign($,{x:ve,y:ke,z:Fe})}}else if(u==="combo"){if(o.id===vt||Gt.includes(o.id)){const[ve,ke]=ee;Object.assign($,{x:ve,y:ke,childrenNode:S.childrenNode})}}else u==="edge"&&Object.assign($,{sourceNode:C.sourceNode,targetNode:C.targetNode})}else if(v==="expand"){const{expand:lt}=e||{},{target:vt,descendants:Gt,position:ee}=lt;if(u==="node"){if(o.id===vt||Gt.includes(o.id)){const[ve,ke,Fe]=ee;Object.assign(T,{x:ve,y:ke,z:Fe})}}else if(u==="combo"){if(o.id===vt||Gt.includes(o.id)){const[ve,ke,Fe]=ee;Object.assign(T,{x:ve,y:ke,z:Fe,childrenNode:C.childrenNode})}}else u==="edge"&&Object.assign(T,{sourceNode:C.sourceNode,targetNode:C.targetNode})}return[Object.keys(T).length>0?Object.assign({},S,T):S,Object.keys($).length>0?Object.assign({},C,$):C]}stop(){this.animations.forEach(t=>t.cancel())}clear(){this.tasks=[]}release(){var t,e;const{canvas:n}=this.context,r=(e=(t=n.document)===null||t===void 0?void 0:t.timeline)===null||e===void 0?void 0:e.animationsWithPromises;r&&(n.document.timeline.animationsWithPromises=r.filter(o=>o.playState!=="finished"))}destroy(){this.stop(),this.animations.clear(),this.tasks=[]}}class Zv{constructor(t){this.batchCount=0,this.context=t}emit(t){const{graph:e}=this.context;e.emit(t.type,t)}startBatch(t=!0){this.batchCount++,this.batchCount===1&&this.emit(new go(Te.BATCH_START,{initiate:t}))}endBatch(){this.batchCount--,this.batchCount===0&&this.emit(new go(Te.BATCH_END))}get isBatching(){return this.batchCount>0}destroy(){this.context=null}}class Fv extends mt{constructor(t){super(t),this.currentTarget=null,this.currentTargetType=null,this.category="behavior",this.forwardCanvasEvents=e=>{const{target:n}=e,r=Dv(n);if(!r)return;const{graph:o,canvas:u}=this.context,{type:v,element:S}=r;if("destroyed"in S&&(Ea(S)||S.destroyed))return;const{type:C,detail:T,button:$}=e,lt=Object.assign(Object.assign({},e),{target:S,targetType:v,originalTarget:n});C===qt.POINTER_MOVE&&(this.currentTarget!==S&&(this.currentTarget&&o.emit(`${this.currentTargetType}:${qt.POINTER_LEAVE}`,Object.assign(Object.assign({},lt),{type:qt.POINTER_LEAVE,target:this.currentTarget,targetType:this.currentTargetType})),S&&(Object.assign(lt,{type:qt.POINTER_ENTER}),o.emit(`${v}:${qt.POINTER_ENTER}`,lt))),this.currentTarget=S,this.currentTargetType=v),C===qt.CLICK&&$===2||(o.emit(`${v}:${C}`,lt),o.emit(C,lt)),C===qt.CLICK&&T===2&&(Object.assign(lt,{type:qt.DBLCLICK}),o.emit(`${v}:${qt.DBLCLICK}`,lt),o.emit(qt.DBLCLICK,lt)),C===qt.POINTER_DOWN&&$===2&&(Object.assign(lt,{type:qt.CONTEXT_MENU,preventDefault:()=>{var vt;(vt=u.getContainer())===null||vt===void 0||vt.addEventListener(qt.CONTEXT_MENU,Gt=>Gt.preventDefault(),{once:!0})}}),o.emit(`${v}:${qt.CONTEXT_MENU}`,lt),o.emit(qt.CONTEXT_MENU,lt))},this.forwardContainerEvents=e=>{this.context.graph.emit(e.type,e)},this.forwardEvents(),this.setBehaviors(this.context.options.behaviors||[])}setBehaviors(t){this.setExtensions(t)}forwardEvents(){const t=this.context.canvas.getContainer();t&&[He.KEY_DOWN,He.KEY_UP].forEach(n=>{t.addEventListener(n,this.forwardContainerEvents)});const e=this.context.canvas.document;e&&[qt.CLICK,qt.DBLCLICK,qt.POINTER_OVER,qt.POINTER_LEAVE,qt.POINTER_ENTER,qt.POINTER_MOVE,qt.POINTER_OUT,qt.POINTER_DOWN,qt.POINTER_UP,qt.CONTEXT_MENU,qt.DRAG_START,qt.DRAG,qt.DRAG_END,qt.DRAG_ENTER,qt.DRAG_OVER,qt.DRAG_LEAVE,qt.DROP,qt.WHEEL].forEach(n=>{e.addEventListener(n,this.forwardCanvasEvents)})}destroy(){const t=this.context.canvas.getContainer();t&&[He.KEY_DOWN,He.KEY_UP].forEach(e=>{t.removeEventListener(e,this.forwardContainerEvents)}),this.context.canvas.document.removeAllEventListeners(),super.destroy()}}var zv=d(95194),jv=d(85580),Df=function(i,t,e,n){function r(o){return o instanceof e?o:new e(function(u){u(o)})}return new(e||(e=Promise))(function(o,u){function v(T){try{C(n.next(T))}catch($){u($)}}function S(T){try{C(n.throw(T))}catch($){u($)}}function C(T){T.done?o(T.value):r(T.value).then(v,S)}C((n=n.apply(i,t||[])).next())})},kf=function(i,t){var e={};for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&t.indexOf(n)<0&&(e[n]=i[n]);if(i!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,n=Object.getOwnPropertySymbols(i);r{const C=new nt.Xz(Object.assign(Object.assign({},o),{supportsMutipleCanvasesInOneContainer:!0,renderer:u[S],background:S==="background"?n:void 0}));return[S,C]}));Ff(v),this.extends={config:t,renderer:e,renderers:u,layers:v}}get ready(){return Promise.all(Object.entries(this.getLayers()).map(([,t])=>t.ready))}resize(t,e){Object.assign(this.extends.config,{width:t,height:e}),Object.values(this.getLayers()).forEach(n=>{const r=n.getCamera(),o=r.getPosition(),u=r.getFocalPoint();n.resize(t,e),r.setPosition(o),r.setFocalPoint(u)})}getBounds(t){return Gn(Object.values(this.getLayers()).map(e=>t?e.getRoot().childNodes.find(r=>r.classList.includes(t)):e.getRoot()).filter(e=>(e==null?void 0:e.childNodes.length)>0).map(e=>e.getBounds()))}getContainer(){const t=this.extends.config.container;return typeof t=="string"?document.getElementById(t):t}getSize(){return[this.extends.config.width||0,this.extends.config.height||0]}appendChild(t,e){var n;const r=((n=t.style)===null||n===void 0?void 0:n.$layer)||"main";return this.getLayer(r).appendChild(t,e)}setRenderer(t){if(t===this.extends.renderer)return;const e=Zf(t);this.extends.renderers=e,Object.entries(e).forEach(([n,r])=>this.getLayer(n).setRenderer(r)),Ff(this.getLayers())}getCanvasByViewport(t){return Vr(this.getLayer().viewport2Canvas(qr(t)))}getViewportByCanvas(t){return Vr(this.getLayer().canvas2Viewport(qr(t)))}getViewportByClient(t){return Vr(this.getLayer().client2Viewport(qr(t)))}getClientByViewport(t){return Vr(this.getLayer().viewport2Client(qr(t)))}getClientByCanvas(t){return this.getClientByViewport(this.getViewportByCanvas(t))}getCanvasByClient(t){const e=this.getLayer(),n=e.client2Viewport(qr(t));return Vr(e.viewport2Canvas(n))}toDataURL(){return Df(this,arguments,void 0,function*(t={}){const e=window.devicePixelRatio||1,{mode:n="viewport"}=t,r=kf(t,["mode"]);let[o,u,v,S]=[0,0,0,0];if(n==="viewport")[v,S]=this.getSize();else if(n==="overall"){const ke=this.getBounds(),Fe=Rn(ke);[o,u]=ke.min,[v,S]=Fe}const C=(0,jv.L)('
'),T=new nt.Xz({width:v,height:S,renderer:new Ga.Th,devicePixelRatio:e,container:C,background:this.extends.config.background});yield T.ready,T.appendChild(this.getLayer("background").getRoot().cloneNode(!0)),T.appendChild(this.getRoot().cloneNode(!0));const $=this.getLayer("label").getRoot().cloneNode(!0),lt=T.viewport2Canvas({x:0,y:0}),vt=this.getCanvasByViewport([0,0]);$.translate([vt[0]-lt.x,vt[1]-lt.y]),$.scale(1/this.getCamera().getZoom()),T.appendChild($),T.appendChild(this.getLayer("transient").getRoot().cloneNode(!0));const Gt=this.getCamera(),ee=T.getCamera();if(n==="viewport")ee.setZoom(Gt.getZoom()),ee.setPosition(Gt.getPosition()),ee.setFocalPoint(Gt.getFocalPoint());else if(n==="overall"){const[ke,Fe,Xe]=ee.getPosition(),[cn,jn,Ln]=ee.getFocalPoint();ee.setPosition([ke+o,Fe+u,Xe]),ee.setFocalPoint([cn+o,jn+u,Ln])}const ve=T.getContextService();return new Promise(ke=>{T.addEventListener(nt.$6.RERENDER,()=>Df(this,void 0,void 0,function*(){yield new Promise(Xe=>setTimeout(Xe,300));const Fe=yield ve.toDataURL(r);ke(Fe)}))})})}destroy(){Object.values(this.getLayers()).forEach(t=>{t.getCamera().cancelLandmarkAnimation(),t.destroy()})}}function Zf(i){return Object.fromEntries(_f.map(t=>{const e=(i==null?void 0:i(t))||new Ga.Th;return t==="main"?e.registerPlugin(new zv.S({isDocumentDraggable:!0,isDocumentDroppable:!0,dragstartDistanceThreshold:10,dragstartTimeThreshold:100})):e.unregisterPlugin(e.getPlugin("dom-interaction")),[t,e]}))}function Ff(i){Object.entries(i).forEach(([t,e])=>{const n=e.getContextService().getDomElement();n.style.position="absolute",n.style.outline="none",n.tabIndex=1,t!=="main"&&(n.style.pointerEvents="none")})}var $v=d(35300),xc=function(i,t){var e={};for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&t.indexOf(n)<0&&(e[n]=i[n]);if(i!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,n=Object.getOwnPropertySymbols(i);rGt.length!==ee.length?!1:Gt.every((ve,ke)=>ve===ee[ke]),vt=(Gt,ee)=>{const ve=Object.keys(Gt),ke=Object.keys(ee);return ve.length!==ke.length?!1:ve.every(Fe=>Gt[Fe]===ee[Fe])};return!(!vt(u,$)||!lt(o,T)||!lt(e,v)||!vt(n,S)||!vt(r,C))}var Wv=function(i,t){var e={};for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&t.indexOf(n)<0&&(e[n]=i[n]);if(i!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,n=Object.getOwnPropertySymbols(i);r{const r=po(n);return this.isCombo(dn(r))||(t===void 0||t.includes(dn(r)))&&e.push(r),e},[])}getEdgeDatum(t){return po(this.model.getEdge(t))}getEdgeData(t){return this.model.getAllEdges().reduce((e,n)=>{const r=po(n);return(t===void 0||t.includes(dn(r)))&&e.push(r),e},[])}getComboData(t){return this.model.getAllNodes().reduce((e,n)=>{const r=po(n);return this.isCombo(dn(r))&&(t===void 0||t.includes(dn(r)))&&e.push(r),e},[])}getRootsData(t=Me){return this.model.getRoots(t).map(po)}getAncestorsData(t,e){const{model:n}=this;return!n.hasNode(t)||!n.hasTreeStructure(e)?[]:n.getAncestors(t,e).map(po)}getDescendantsData(t){const e=this.getElementDataById(t),n=[];return Ha(e,r=>{r!==e&&n.push(r)},r=>this.getChildrenData(dn(r)),"TB"),n}getParentData(t,e){const{model:n}=this;if(!e){ot.warn("The hierarchy structure key is not specified");return}if(!n.hasNode(t)||!n.hasTreeStructure(e))return;const r=n.getParent(t,e);return r?po(r):void 0}getChildrenData(t){const e=this.getElementType(t)==="node"?Me:ne,{model:n}=this;return!n.hasNode(t)||!n.hasTreeStructure(e)?[]:n.getChildren(t,e).map(po)}getElementsDataByType(t){return t==="node"?this.getNodeData():t==="edge"?this.getEdgeData():t==="combo"?this.getComboData():[]}getElementDataById(t){return this.getElementType(t)==="edge"?this.getEdgeDatum(t):this.getNodeLikeDatum(t)}getNodeLikeDatum(t){const e=this.model.getNode(t);return po(e)}getNodeLikeData(t){return this.model.getAllNodes().reduce((e,n)=>{const r=po(n);return t?t.includes(dn(r))&&e.push(r):e.push(r),e},[])}getElementDataByState(t,e){return this.getElementsDataByType(t).filter(r=>{var o;return(o=r.states)===null||o===void 0?void 0:o.includes(e)})}getElementState(t){var e;return((e=this.getElementDataById(t))===null||e===void 0?void 0:e.states)||[]}hasNode(t){return this.model.hasNode(t)&&!this.isCombo(t)}hasEdge(t){return this.model.hasEdge(t)}hasCombo(t){return this.model.hasNode(t)&&this.isCombo(t)}getRelatedEdgesData(t,e="both"){return this.model.getRelatedEdges(t,e).map(po)}getNeighborNodesData(t){return this.model.getNeighbors(t).map(po)}setData(t){const{nodes:e=[],edges:n=[],combos:r=[]}=t,{nodes:o,edges:u,combos:v}=this.getData(),S=Lt(o,e,$=>dn($),Fl),C=Lt(u,n,$=>dn($),Fl),T=Lt(v,r,$=>dn($),Fl);this.batch(()=>{this.addData({nodes:S.enter,edges:C.enter,combos:T.enter}),this.updateData({nodes:S.update,edges:C.update,combos:T.update}),this.removeData({nodes:S.exit.map(dn),edges:C.exit.map(dn),combos:T.exit.map(dn)})})}addData(t){const{nodes:e,edges:n,combos:r}=t;this.batch(()=>{this.addComboData(r),this.addNodeData(e),this.addEdgeData(n)})}addNodeData(t=[]){t.length&&(this.model.addNodes(t.map(e=>(this.pushChange({value:e,type:jt.NodeAdded}),Qd(e)))),this.updateNodeLikeHierarchy(t))}addEdgeData(t=[]){t.length&&this.model.addEdges(t.map(e=>(this.pushChange({value:e,type:jt.EdgeAdded}),Qd(e))))}addComboData(t=[]){if(!t.length)return;const{model:e}=this;e.hasTreeStructure(ne)||e.attachTreeStructure(ne),e.addNodes(t.map(n=>(this.comboIds.add(dn(n)),this.pushChange({value:n,type:jt.ComboAdded}),Qd(n)))),this.updateNodeLikeHierarchy(t)}addChildrenData(t,e){const n=this.getNodeLikeDatum(t),r=e.map(dn);this.addNodeData(e),this.updateNodeData([{id:t,children:[...n.children||[],...r]}]),this.addEdgeData(r.map(o=>({source:t,target:o})))}updateNodeLikeHierarchy(t){if(!this.enableUpdateNodeLikeHierarchy)return;const{model:e}=this;t.forEach(n=>{const r=dn(n);Et(n)&&(e.hasTreeStructure(ne)||e.attachTreeStructure(ne),this.setParent(r,Et(n),ne));const u=n.children||[];if(u.length){e.hasTreeStructure(Me)||e.attachTreeStructure(Me);const v=u.filter(S=>e.hasNode(S));v.forEach(S=>this.setParent(S,r,Me)),v.length!==u.length&&this.updateNodeData([{id:r,children:v}])}})}preventUpdateNodeLikeHierarchy(t){this.enableUpdateNodeLikeHierarchy=!1,t(),this.enableUpdateNodeLikeHierarchy=!0}updateData(t){const{nodes:e,edges:n,combos:r}=t;this.batch(()=>{this.updateNodeData(e),this.updateComboData(r),this.updateEdgeData(n)})}updateNodeData(t=[]){if(!t.length)return;const{model:e}=this;this.batch(()=>{const n=[];t.forEach(r=>{const o=dn(r),u=po(e.getNode(o));if(Fl(u,r))return;const v=Ws(u,r);this.pushChange({value:v,original:u,type:jt.NodeUpdated}),e.mergeNodeData(o,v),n.push(v)}),this.updateNodeLikeHierarchy(n)})}refreshData(){const{nodes:t,edges:e,combos:n}=this.getData();t.forEach(r=>{this.pushChange({value:r,original:r,type:jt.NodeUpdated})}),e.forEach(r=>{this.pushChange({value:r,original:r,type:jt.EdgeUpdated})}),n.forEach(r=>{this.pushChange({value:r,original:r,type:jt.ComboUpdated})})}syncNodeDatum(t){const{model:e}=this,n=dn(t),r=po(e.getNode(n)),o=Ws(r,t);e.mergeNodeData(n,o)}updateEdgeData(t=[]){if(!t.length)return;const{model:e}=this;this.batch(()=>{t.forEach(n=>{const r=dn(n),o=po(e.getEdge(r));if(Fl(o,n))return;n.source&&o.source!==n.source&&e.updateEdgeSource(r,n.source),n.target&&o.target!==n.target&&e.updateEdgeTarget(r,n.target);const u=Ws(o,n);this.pushChange({value:u,original:o,type:jt.EdgeUpdated}),e.mergeEdgeData(r,u)})})}updateComboData(t=[]){if(!t.length)return;const{model:e}=this;e.batch(()=>{const n=[];t.forEach(r=>{const o=dn(r),u=po(e.getNode(o));if(Fl(u,r))return;const v=Ws(u,r);this.pushChange({value:v,original:u,type:jt.ComboUpdated}),e.mergeNodeData(o,v),n.push(v)}),this.updateNodeLikeHierarchy(n)})}setParent(t,e,n,r=!0){var o;if(t===e)return;const u=this.getNodeLikeDatum(t),v=Et(u);if(e){const S=this.getNodeLikeDatum(e);if(((o=S.style)===null||o===void 0?void 0:o.zIndex)!==void 0){const C=(0,la.Z)(S,["style","zIndex"],0)+(this.isCombo(e)?1:0);(0,ao.Z)(u,["style","zIndex"],C)}}if(v!==e&&n===ne){const S={id:t,combo:e};this.isCombo(t)?this.syncComboDatum(S):this.syncNodeDatum(S)}this.model.setParent(t,e,n),r&&n===ne&&(0,$v.Z)([v,e]).forEach(S=>{S!==void 0&&this.refreshComboData(S)})}refreshComboData(t){const e=this.getComboData([t])[0],n=this.getAncestorsData(t,ne);e&&this.pushChange({value:e,original:e,type:jt.ComboUpdated}),n.forEach(r=>{this.pushChange({value:r,original:r,type:jt.ComboUpdated})})}syncComboDatum(t){const{model:e}=this,n=dn(t);if(!e.hasNode(n))return;const r=po(e.getNode(n)),o=Ws(r,t);e.mergeNodeData(n,o)}getElementPosition(t){const e=this.getElementDataById(t);return ar(e)}translateNodeLikeBy(t,e){this.isCombo(t)?this.translateComboBy(t,e):this.translateNodeBy(t,e)}translateNodeLikeTo(t,e){this.isCombo(t)?this.translateComboTo(t,e):this.translateNodeTo(t,e)}translateNodeBy(t,e){const n=this.getElementPosition(t),r=rt(n,[...e,0].slice(0,3));this.translateNodeTo(t,r)}translateNodeTo(t,e){const[n=0,r=0,o=0]=e;this.preventUpdateNodeLikeHierarchy(()=>{this.updateNodeData([{id:t,style:{x:n,y:r,z:o}}])})}translateComboBy(t,e){const[n=0,r=0,o=0]=e;if([n,r,o].some(isNaN)||[n,r,o].every(S=>S===0))return;const u=this.getComboData([t])[0];if(!u)return;const v=new Set;Ha(u,S=>{const C=dn(S);if(v.has(C))return;v.add(C);const[T,$,lt]=ar(S),vt=Ws(S,{style:{x:T+n,y:$+r,z:lt+o}});this.pushChange({value:vt,original:S,type:this.isCombo(C)?jt.ComboUpdated:jt.NodeUpdated}),this.model.mergeNodeData(C,vt)},S=>this.getChildrenData(dn(S)),"BT")}translateComboTo(t,e){var n;if(e.some(isNaN))return;const[r=0,o=0,u=0]=e,v=(n=this.getComboData([t]))===null||n===void 0?void 0:n[0];if(!v)return;const[S,C,T]=ar(v),$=r-S,lt=o-C,vt=u-T;Ha(v,Gt=>{const ee=dn(Gt),[ve,ke,Fe]=ar(Gt),Xe=Ws(Gt,{style:{x:ve+$,y:ke+lt,z:Fe+vt}});this.pushChange({value:Xe,original:Gt,type:this.isCombo(ee)?jt.ComboUpdated:jt.NodeUpdated}),this.model.mergeNodeData(ee,Xe)},Gt=>this.getChildrenData(dn(Gt)),"BT")}removeData(t){const{nodes:e,edges:n,combos:r}=t;this.batch(()=>{this.removeEdgeData(n),this.removeNodeData(e),this.removeComboData(r),this.latestRemovedComboIds=new Set(r)})}removeNodeData(t=[]){t.length&&this.batch(()=>{t.forEach(e=>{this.removeEdgeData(this.getRelatedEdgesData(e).map(dn)),this.pushChange({value:this.getNodeData([e])[0],type:jt.NodeRemoved}),this.removeNodeLikeHierarchy(e)}),this.model.removeNodes(t)})}removeEdgeData(t=[]){t.length&&(t.forEach(e=>this.pushChange({value:this.getEdgeData([e])[0],type:jt.EdgeRemoved})),this.model.removeEdges(t))}removeComboData(t=[]){t.length&&this.batch(()=>{t.forEach(e=>{this.pushChange({value:this.getComboData([e])[0],type:jt.ComboRemoved}),this.removeNodeLikeHierarchy(e),this.comboIds.delete(e)}),this.model.removeNodes(t)})}removeNodeLikeHierarchy(t){if(this.model.hasTreeStructure(ne)){const e=Et(this.getNodeLikeDatum(t));this.setParent(t,void 0,ne,!1),this.model.getChildren(t,ne).forEach(n=>{const r=po(n),o=dn(r);this.setParent(dn(r),e,ne,!1);const u=Ws(r,{id:dn(r),combo:e});this.pushChange({value:u,original:r,type:this.isCombo(o)?jt.ComboUpdated:jt.NodeUpdated}),this.model.mergeNodeData(dn(r),u)}),(0,ra.Z)(e)||this.refreshComboData(e)}}getElementType(t){if(this.model.hasNode(t))return this.isCombo(t)?"combo":"node";if(this.model.hasEdge(t))return"edge";throw new Error(wt(`Unknown element type of id: ${t}`))}destroy(){const{model:t}=this,e=t.getAllNodes(),n=t.getAllEdges();t.removeEdges(n.map(r=>r.id)),t.removeNodes(e.map(r=>r.id)),this.context={}}}var _u=function(i,t,e,n){function r(o){return o instanceof e?o:new e(function(u){u(o)})}return new(e||(e=Promise))(function(o,u){function v(T){try{C(n.next(T))}catch($){u($)}}function S(T){try{C(n.throw(T))}catch($){u($)}}function C(T){T.done?o(T.value):r(T.value).then(v,S)}C((n=n.apply(i,t||[])).next())})};class Uv{constructor(t){this.elementMap={},this.shapeTypeMap={},this.paletteStyle={},this.defaultStyle={},this.stateStyle={},this.visibilityCache=new WeakMap,this.context=t}init(){if(!this.container){const{canvas:t}=this.context;this.container=t.appendChild(new nt.ZA({className:"elements"}))}}emit(t,e){e.silence||Eo(this.context.graph,t)}forEachElementData(t){ja.forEach(e=>{const n=this.context.model.getElementsDataByType(e);t(e,n)})}getElementType(t,e){var n;const{options:r,graph:o}=this.context,u=((n=r[t])===null||n===void 0?void 0:n.type)||e.type;return u?typeof u=="string"?u:u.call(o,e):t==="edge"?"line":"circle"}getTheme(t){return le(this.context.options)[t]||{}}getThemeStyle(t){return this.getTheme(t).style||{}}getThemeStateStyle(t,e){const{state:n={}}=this.getTheme(t);return Object.assign({},...e.map(r=>n[r]||{}))}computePaletteStyle(){const{options:t}=this.context;this.paletteStyle={},this.forEachElementData((e,n)=>{var r,o;const u=Object.assign({},ss((r=this.getTheme(e))===null||r===void 0?void 0:r.palette),ss((o=t[e])===null||o===void 0?void 0:o.palette));u!=null&&u.field&&Object.assign(this.paletteStyle,so(n,u))})}getPaletteStyle(t,e){const n=this.paletteStyle[e];return n?t==="edge"?{stroke:n}:{fill:n}:{}}computeElementDefaultStyle(t,e){var n;const{options:r}=this.context,o=((n=r[t])===null||n===void 0?void 0:n.style)||{};"transform"in o&&Array.isArray(o.transform)&&(o.transform=[...o.transform]),this.defaultStyle[dn(e.datum)]=pa(o,e)}computeElementsDefaultStyle(t){const{graph:e}=this.context;this.forEachElementData((n,r)=>{const o=r.length;for(let u=0;uthis.getElementStateStyle(t,r,n)))}computeElementsStatesStyle(t){const{graph:e}=this.context;this.forEachElementData((n,r)=>{const o=r.length;for(let u=0;uthis.elementMap[t])}getEdges(){return this.context.model.getEdgeData().map(t=>this.elementMap[dn(t)])}getCombos(){return this.context.model.getComboData().map(({id:t})=>this.elementMap[t])}getElementComputedStyle(t,e){const n=dn(e),r=this.getThemeStyle(t),o=this.getPaletteStyle(t,n),u=e.style||{},v=this.getDefaultStyle(n),S=this.getThemeStateStyle(t,this.getElementState(n)),C=this.getStateStyle(n),T=Object.assign({},r,o,u,v,S,C);if(t==="combo"){const $=this.context.model.getChildrenData(n),vt=!!T.collapsed?[]:$.map(dn).filter(Gt=>this.getElement(Gt));Object.assign(T,{childrenNode:vt,childrenData:$})}return T}draw(t={animation:!0}){this.init();const e=this.computeChangesAndDrawData(t);if(!e)return null;const{dataChanges:n,drawData:r}=e;this.markDestroyElement(r),this.computeStyle(t.stage);const{add:o,update:u,remove:v}=r;this.destroyElements(v,t),this.createElements(o,t),this.updateElements(u,t);const{animation:S,silence:C}=t,{type:T="draw"}=t;return this.context.animation.animate(S,C?{}:{before:()=>this.emit(new go(Te.BEFORE_DRAW,{dataChanges:n,animation:S,render:T==="render"}),t),beforeAnimate:$=>this.emit(new as(Te.BEFORE_ANIMATE,Pt.DRAW,$,r),t),afterAnimate:$=>this.emit(new as(Te.AFTER_ANIMATE,Pt.DRAW,$,r),t),after:()=>this.emit(new go(Te.AFTER_DRAW,{dataChanges:n,animation:S,render:T==="render"}),t)})}computeChangesAndDrawData(t){const{model:e}=this.context,n=e.getChanges(),r=Hd(n);if(r.length===0)return null;const{NodeAdded:o=[],NodeUpdated:u=[],NodeRemoved:v=[],EdgeAdded:S=[],EdgeUpdated:C=[],EdgeRemoved:T=[],ComboAdded:$=[],ComboUpdated:lt=[],ComboRemoved:vt=[]}=(0,Dt.Z)(r,ke=>ke.type),Gt=ke=>new Map(ke.map(Fe=>{const Xe=Fe.value;return[dn(Xe),Xe]})),ee={add:{nodes:Gt(o),edges:Gt(S),combos:Gt($)},update:{nodes:Gt(u),edges:Gt(C),combos:Gt(lt)},remove:{nodes:Gt(v),edges:Gt(T),combos:Gt(vt)}},ve=this.transformData(ee,t);return e.clearChanges(),{dataChanges:n,drawData:ve}}transformData(t,e){const n=this.context.transform.getTransformInstance();return Object.values(n).reduce((r,o)=>o.beforeDraw(r,e),t)}createElement(t,e,n){var r,o;const u=dn(e);if(this.getElement(u))return;const S=this.getElementType(t,e),C=this.getElementComputedStyle(t,e),T=be(t,S);if(!T)return ot.warn(`The element ${S} of ${t} is not registered.`);if(this.emit(new Bl(Te.BEFORE_ELEMENT_CREATE,t,e),n),n.stage==="expand"){const vt=this.getElementZIndex(n.target);(!C.zIndex||C.zIndex{var vt;this.emit(new Bl(Te.AFTER_ELEMENT_CREATE,t,e),n),(vt=$.onCreate)===null||vt===void 0||vt.call($)}})}createElements(t,e){const{nodes:n,edges:r,combos:o}=t;[["node",n],["combo",o],["edge",r]].forEach(([v,S])=>{S.forEach(C=>this.createElement(v,C,e))})}getUpdateStageStyle(t,e,n){const{stage:r="update"}=n;if(r==="translate")if(t==="node"||t==="combo"){const{style:{x:o=0,y:u=0,z:v=0}={}}=e;return{x:o,y:u,z:v}}else return{};return this.getElementComputedStyle(t,e)}updateElement(t,e,n){var r;const o=dn(e),{stage:u="update"}=n,v=this.getElement(o);if(!v)return()=>null;this.emit(new Bl(Te.BEFORE_ELEMENT_UPDATE,t,e),n);const S=this.getElementType(t,e),C=this.getUpdateStageStyle(t,e,n);this.shapeTypeMap[o]!==S&&(v.destroy(),delete this.shapeTypeMap[o],delete this.elementMap[o],this.createElement(t,e,{animation:!1,silence:!0}));const T=u!=="visibility"?u:C.visibility==="hidden"?"hide":"show";T==="hide"&&delete C.visibility,(r=this.context.animation)===null||r===void 0||r.add({element:v,elementType:t,stage:T,originalStyle:Object.assign({},v.attributes),modifiedStyle:Object.assign(Object.assign({},v.attributes),C)},{before:()=>{const $=this.elementMap[o];u!=="collapse"&&vs($,C),u==="visibility"&&(_v($,"opacity")||kv($,"opacity"),this.visibilityCache.set($,T==="show"?"visible":"hidden"),T==="show"&&K($,"visible"))},after:()=>{var $;const lt=this.elementMap[o];u==="collapse"&&vs(lt,C),T==="hide"&&K(lt,this.visibilityCache.get(lt)),this.emit(new Bl(Te.AFTER_ELEMENT_UPDATE,t,e),n),($=lt.onUpdate)===null||$===void 0||$.call(lt)}})}updateElements(t,e){const{nodes:n,edges:r,combos:o}=t;[["node",n],["combo",o],["edge",r]].forEach(([v,S])=>{S.forEach(C=>this.updateElement(v,C,e))})}markDestroyElement(t){Object.values(t.remove).forEach(e=>{e.forEach(n=>{const r=dn(n),o=this.getElement(r);o&&yo(o)})})}destroyElement(t,e,n){var r;const{stage:o="exit"}=n,u=dn(e),v=this.elementMap[u];if(!v)return()=>null;this.emit(new Bl(Te.BEFORE_ELEMENT_DESTROY,t,e),n),(r=this.context.animation)===null||r===void 0||r.add({element:v,elementType:t,stage:o,originalStyle:Object.assign({},v.attributes),modifiedStyle:Object.assign({},v.attributes)},{after:()=>{var S;this.clearElement(u),v.destroy(),(S=v.onDestroy)===null||S===void 0||S.call(v),this.emit(new Bl(Te.AFTER_ELEMENT_DESTROY,t,e),n)}})}destroyElements(t,e){const{nodes:n,edges:r,combos:o}=t;[["combo",o],["edge",r],["node",n]].forEach(([v,S])=>{S.forEach(C=>this.destroyElement(v,C,e))})}clearElement(t){delete this.paletteStyle[t],delete this.defaultStyle[t],delete this.stateStyle[t],delete this.elementMap[t],delete this.shapeTypeMap[t]}collapseNode(t,e){return _u(this,void 0,void 0,function*(){var n;const{model:r,layout:o}=this.context,u=this.computeChangesAndDrawData({stage:"collapse",animation:e});if(!u)return;this.markDestroyElement(u.drawData);const v=yield o.simulate();r.updateData(v);const S=this.computeChangesAndDrawData({stage:"collapse",animation:e});if(!S)return;const{drawData:C}=S,{add:T,remove:$,update:lt}=C;this.markDestroyElement(C);const vt={animation:e,stage:"collapse",data:C};this.destroyElements($,vt),this.createElements(T,vt),this.updateElements(lt,vt),yield(n=this.context.animation.animate(e,{beforeAnimate:Gt=>this.emit(new as(Te.BEFORE_ANIMATE,Pt.COLLAPSE,Gt,C),vt),afterAnimate:Gt=>this.emit(new as(Te.AFTER_ANIMATE,Pt.COLLAPSE,Gt,C),vt)},{collapse:{target:t,descendants:Array.from($.nodes).map(([,Gt])=>dn(Gt)),position:ar(lt.nodes.get(t))}}))===null||n===void 0?void 0:n.finished})}expandNode(t,e){return _u(this,void 0,void 0,function*(){var n;const{model:r,layout:o}=this.context;if(!r.getAncestorsData(t,ne).every(Gt=>ha(Gt)))return;const u=ar(r.getNodeData([t])[0]),v=this.computeChangesAndDrawData({stage:"expand",animation:e});if(!v)return;const{drawData:{add:S}}=v;this.createElements(S,{animation:!1,stage:"expand",target:t}),this.context.animation.clear();const C=yield o.simulate();r.updateData(C),this.computeStyle("expand");const T=this.computeChangesAndDrawData({stage:"collapse",animation:e});if(!T)return;const{drawData:$}=T,{update:lt}=$,vt={animation:e,stage:"expand",data:$};S.edges.forEach(Gt=>lt.edges.set(dn(Gt),Gt)),S.nodes.forEach(Gt=>lt.nodes.set(dn(Gt),Gt)),this.updateElements(lt,vt),yield(n=this.context.animation.animate(e,{beforeAnimate:Gt=>this.emit(new as(Te.BEFORE_ANIMATE,Pt.EXPAND,Gt,$),vt),afterAnimate:Gt=>this.emit(new as(Te.AFTER_ANIMATE,Pt.EXPAND,Gt,$),vt)},{expand:{target:t,descendants:Array.from(S.nodes).map(([,Gt])=>dn(Gt)),position:u}}))===null||n===void 0?void 0:n.finished})}collapseCombo(t,e){return _u(this,void 0,void 0,function*(){var n;const{model:r,element:o}=this.context;if(r.getAncestorsData(t,ne).some(ee=>ha(ee)))return;const u=o.getElement(t),v=u.getComboPosition(Object.assign(Object.assign({},u.attributes),{collapsed:!0})),S=this.computeChangesAndDrawData({stage:"collapse",animation:e});if(!S)return;const{dataChanges:C,drawData:T}=S;this.markDestroyElement(T);const{update:$,remove:lt}=T,vt={animation:e,stage:"collapse",data:T};this.destroyElements(lt,vt),this.updateElements($,vt);const Gt=ee=>Array.from(ee).map(([,ve])=>dn(ve));yield(n=this.context.animation.animate(e,{before:()=>this.emit(new go(Te.BEFORE_DRAW,{dataChanges:C,animation:e}),vt),beforeAnimate:ee=>this.emit(new as(Te.BEFORE_ANIMATE,Pt.COLLAPSE,ee,T),vt),afterAnimate:ee=>this.emit(new as(Te.AFTER_ANIMATE,Pt.COLLAPSE,ee,T),vt),after:()=>this.emit(new go(Te.AFTER_DRAW,{dataChanges:C,animation:e}),vt)},{collapse:{target:t,descendants:[...Gt(lt.nodes),...Gt(lt.combos)],position:v}}))===null||n===void 0?void 0:n.finished})}expandCombo(t,e){return _u(this,void 0,void 0,function*(){var n;const{model:r}=this.context,o=ar(r.getComboData([t])[0]);this.computeStyle("expand");const u=this.computeChangesAndDrawData({stage:"expand",animation:e});if(!u)return;const{dataChanges:v,drawData:S}=u,{add:C,update:T}=S,$={animation:e,stage:"expand",data:S,target:t};this.createElements(C,$),this.updateElements(T,$);const lt=vt=>Array.from(vt).map(([,Gt])=>dn(Gt));yield(n=this.context.animation.animate(e,{before:()=>this.emit(new go(Te.BEFORE_DRAW,{dataChanges:v,animation:e}),$),beforeAnimate:vt=>this.emit(new as(Te.BEFORE_ANIMATE,Pt.EXPAND,vt,S),$),afterAnimate:vt=>this.emit(new as(Te.AFTER_ANIMATE,Pt.EXPAND,vt,S),$),after:()=>this.emit(new go(Te.AFTER_DRAW,{dataChanges:v,animation:e}),$)},{expand:{target:t,descendants:[...lt(C.nodes),...lt(C.combos)],position:o}}))===null||n===void 0?void 0:n.finished})}getFrontZIndex(t){const{model:e}=this.context,n=e.getElementType(t),r=e.getElementDataById(t),o=e.getData();if(Object.assign(o,{[`${n}s`]:o[`${n}s`].filter(u=>dn(u)!==t)}),n==="combo"&&!ha(r)){const u=e.getAncestorsData(t,ne).map(dn);o.nodes=o.nodes.filter(v=>!u.includes(dn(v))),o.combos=o.combos.filter(v=>!u.includes(dn(v))),o.edges=o.edges.filter(({source:v,target:S})=>u.includes(v)&&u.includes(S))}return Math.max(0,...Object.values(o).flat().map(u=>{const v=dn(u);return this.getElementZIndex(v)}))+1}destroy(){this.container.destroy(),this.elementMap={},this.shapeTypeMap={},this.defaultStyle={},this.stateStyle={},this.paletteStyle={},this.context={}}}var zf=d(96262);class Hv extends Ud.Z{constructor(t,e,n){super(),this.graph=t,this.layout=e,this.options=n,this.spawnWorker()}spawnWorker(){this.proxy=zf.Ud(new Worker(new URL(d.p+d.u(8556),d.b),{type:void 0})),this.running&&(this.running=!1,this.execute())}execute(){var t;return(0,pi.mG)(this,void 0,void 0,function*(){if(this.running)return this;this.running=!0;const e=this.layout.options,{onTick:n}=e,r=(0,pi._T)(e,["onTick"]),o={};Object.keys(r).forEach(C=>{(0,Rt.Z)(r[C])||(o[C]=r[C])});const u={layout:{id:this.layout.id,options:o,iterations:(t=this.options)===null||t===void 0?void 0:t.iterations},nodes:this.graph.getAllNodes(),edges:this.graph.getAllEdges()},v=new Float32Array([0]),[S]=yield this.proxy.calculateLayout(u,[v]);return S})}stop(){return this.running=!1,this.proxy.stopLayout(),this}kill(){this.proxy[zf.Yy]()}isRunning(){return this.running}}var wc=function(i,t,e,n){function r(o){return o instanceof e?o:new e(function(u){u(o)})}return new(e||(e=Promise))(function(o,u){function v(T){try{C(n.next(T))}catch($){u($)}}function S(T){try{C(n.throw(T))}catch($){u($)}}function C(T){T.done?o(T.value):r(T.value).then(v,S)}C((n=n.apply(i,t||[])).next())})},Yv=function(i,t){var e={};for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&t.indexOf(n)<0&&(e[n]=i[n]);if(i!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,n=Object.getOwnPropertySymbols(i);re.afterLayout())}simulate(){return wc(this,void 0,void 0,function*(){if(!this.options)return{};const t=Array.isArray(this.options)?this.options:[this.options];let e={};for(const n of t){const r=t.indexOf(n),o=this.getLayoutData(n);e=yield this.stepLayout(o,Object.assign(Object.assign(Object.assign({},this.presetOptions),n),{animation:!1}),r)}return e})}stepLayout(t,e,n){return wc(this,void 0,void 0,function*(){return Wu(e)?yield this.treeLayout(t,e,n):yield this.graphLayout(t,e,n)})}graphLayout(t,e,n){return wc(this,void 0,void 0,function*(){const{animation:r,enableWorker:o,iterations:u=300}=e,v=this.initGraphLayout(e);if(!v)return{};if(this.instances[n]=v,this.instance=v,o){const C=v;return this.supervisor=new Hv(C.graphData2LayoutModel(t),C.instance,{iterations:u}),ul(yield this.supervisor.execute())}if(Al(v))return r?yield v.execute(t,{onTick:C=>{this.updateElementPosition(C,!1)}}):(v.execute(t),v.stop(),v.tick(u));const S=yield v.execute(t);if(r){const C=this.updateElementPosition(S,r);yield C==null?void 0:C.finished}return S})}treeLayout(t,e,n){return wc(this,void 0,void 0,function*(){const{type:r,animation:o}=e,u=be("layout",r);if(!u)return{};const{nodes:v=[],edges:S=[]}=t,C=new Qa.k({nodes:v.map(Gt=>({id:dn(Gt),data:Gt.data||{}})),edges:S.map(Gt=>({id:dn(Gt),source:Gt.source,target:Gt.target,data:Gt.data||{}}))});Gv(C);const T={nodes:[],edges:[]},$={nodes:[],edges:[]};C.getRoots(Me).forEach(Gt=>{Ha(Gt,Xe=>{Xe.children=C.getSuccessors(Xe.id)},Xe=>C.getSuccessors(Xe.id),"TB");const ee=u(Gt,e),{x:ve,y:ke,z:Fe=0}=ee;Ha(ee,Xe=>{const{id:cn,x:jn,y:Ln,z:kn=0}=Xe;T.nodes.push({id:cn,style:{x:ve,y:ke,z:Fe}}),$.nodes.push({id:cn,style:{x:jn,y:Ln,z:kn}})},Xe=>Xe.children,"TB")});const vt=this.inferTreeLayoutOffset($);if(jf($,vt),o){jf(T,vt),this.updateElementPosition(T,!1);const Gt=this.updateElementPosition($,o);yield Gt==null?void 0:Gt.finished}return $})}inferTreeLayoutOffset(t){var e;let[n,r]=[1/0,-1/0],[o,u]=[1/0,-1/0];(e=t.nodes)===null||e===void 0||e.forEach(ee=>{const{x:ve=0,y:ke=0}=ee.style||{};n=Math.min(n,ve),r=Math.max(r,ve),o=Math.min(o,ke),u=Math.max(u,ke)});const{canvas:v}=this.context,S=v.getSize(),[C,T]=v.getCanvasByViewport([0,0]),[$,lt]=v.getCanvasByViewport(S);if(n>=C&&r<=$&&o>=T&&u<=lt)return[0,0];const vt=(C+$)/2,Gt=(T+lt)/2;return[vt-(n+r)/2,Gt-(o+u)/2]}stopLayout(){this.instance&&Al(this.instance)&&(this.instance.stop(),this.instance=void 0),this.supervisor&&(this.supervisor.stop(),this.supervisor=void 0),this.animationResult&&(this.animationResult.finish(),this.animationResult=void 0)}getLayoutData(t){const{nodeFilter:e=()=>!0}=t,{nodes:n,edges:r,combos:o}=this.context.model.getData(),u=T=>this.context.element.getElement(T),v=n.filter(T=>{const $=dn(T),lt=u($);return!lt||Ea(lt)?!1:e(T)}),S=new Map(v.map(T=>[dn(T),T])),C=r.filter(T=>{const{source:$,target:lt}=T;return!(!S.has($)||!S.has(lt))});return{nodes:v,edges:C,combos:o}}initGraphLayout(t){var e;const{element:n,viewport:r}=this.context,{type:o,enableWorker:u,animation:v,iterations:S}=t,C=Yv(t,["type","enableWorker","animation","iterations"]),[T,$]=r.getCanvasSize(),lt=[T/2,$/2],vt=(e=t==null?void 0:t.nodeSize)!==null&&e!==void 0?e:Fe=>{const Xe=n==null?void 0:n.getElement(Fe.id),{size:cn}=(Xe==null?void 0:Xe.attributes)||{};return Math.max(...wi(cn))},Gt=be("layout",o);if(!Gt)return ot.warn(`The layout of ${o} is not registered.`);const ee=Object.getPrototypeOf(Gt.prototype)===Pc.prototype?Gt:ns(Gt,this.context),ve=new ee(this.context),ke={nodeSize:vt,width:T,height:$,center:lt};switch(ve.id){case"d3-force":case"d3-force-3d":Object.assign(ke,{center:{x:T/2,y:$/2,z:0}});break;default:break}return(0,dt.Z)(ve.options,ke,C),ve}updateElementPosition(t,e){const{model:n,element:r}=this.context;return r?(n.updateData(t),r.draw({animation:e,silence:!0})):null}destroy(){var t;this.stopLayout(),this.context={},(t=this.supervisor)===null||t===void 0||t.kill(),this.supervisor=void 0,this.instance=void 0,this.instances=[],this.animationResult=void 0}}const jf=(i,t)=>{var e;const[n,r]=t;(e=i.nodes)===null||e===void 0||e.forEach(o=>{if(o.style){const{x:u=0,y:v=0}=o.style;o.style.x=u+n,o.style.y=v+r}else o.style={x:n,y:r}})};class Kv extends mt{constructor(t){super(t),this.category="plugin",this.setPlugins(this.context.options.plugins||[])}setPlugins(t){this.setExtensions(t)}getPluginInstance(t){const e=this.extensionMap[t];if(e)return e;ot.warn(`Cannot find the plugin ${t}, will try to find it by type.`);const n=this.extensions.find(r=>r.type===t);if(n)return this.extensionMap[n.key]}}const Bu=["update-related-edges","collapse-expand-node","collapse-expand-combo","get-edge-actual-ends","arrange-draw-order"];class Qv extends mt{constructor(t){super(t),this.category="transform",this.setTransforms(this.context.options.transforms||[])}getTransforms(){}setTransforms(t){this.setExtensions([...Bu.slice(0,Bu.length-1),...t,Bu[Bu.length-1]])}getTransformInstance(t){return t?this.extensionMap[t]:this.extensionMap}}var Sc=function(i,t,e,n){function r(o){return o instanceof e?o:new e(function(u){u(o)})}return new(e||(e=Promise))(function(o,u){function v(T){try{C(n.next(T))}catch($){u($)}}function S(T){try{C(n.throw(T))}catch($){u($)}}function C(T){T.done?o(T.value):r(T.value).then(v,S)}C((n=n.apply(i,t||[])).next())})};class Jv{get padding(){return Ue(this.context.options.padding)}get paddingOffset(){const[t,e,n,r]=this.padding,[o,u,v]=[(r-e)/2,(t-n)/2,0];return[o,u,v]}constructor(t){this.landmarkCounter=0,this.context=t;const[e,n]=this.paddingOffset,{zoom:r,rotation:o,x:u=e,y:v=n}=t.options;this.transform({mode:"absolute",scale:r,translate:[u,v],rotate:o},!1)}get camera(){const{canvas:t}=this.context;return new Proxy(t.getCamera(),{get:(e,n)=>{const o=Object.entries(t.getLayers()).filter(([v])=>!["main"].includes(v)).map(([,v])=>v.getCamera()),u=e[n];if(typeof u=="function")return(...v)=>{const S=u.apply(e,v);return o.forEach(C=>{C[n].apply(C,v)}),S}}})}createLandmark(t){return this.camera.createLandmark(`landmark-${this.landmarkCounter++}`,t)}getAnimation(t){const e=Ie(this.context.options,t);return e?(0,Wo.Z)(Object.assign({},e),["easing","duration"]):!1}getCanvasSize(){const{canvas:t}=this.context,{width:e=0,height:n=0}=t.getConfig();return[e,n]}getCanvasCenter(){const{canvas:t}=this.context,{width:e=0,height:n=0}=t.getConfig();return[e/2,n/2,0]}getViewportCenter(){const[t,e]=this.camera.getPosition();return[t,e,0]}getGraphCenter(){return this.context.graph.getViewportByCanvas(this.getCanvasCenter())}getZoom(){return this.camera.getZoom()}getRotation(){return this.camera.getRoll()}getTranslateOptions(t){const{camera:e}=this,{mode:n,translate:r=[]}=t,o=this.getZoom(),u=e.getPosition(),v=e.getFocalPoint(),[S,C]=this.getCanvasCenter(),[T=0,$=0,lt=0]=r,vt=he([-T,-$,-lt],o);return n==="relative"?{position:rt(u,vt),focalPoint:rt(v,vt)}:{position:rt([S,C,u[2]],vt),focalPoint:rt([S,C,v[2]],vt)}}getRotateOptions(t){const{mode:e,rotate:n=0}=t;return{roll:e==="relative"?this.camera.getRoll()+n:n}}getZoomOptions(t){const{zoomRange:e}=this.context.options,n=this.camera.getZoom(),{mode:r,scale:o=1}=t;return(0,Ic.Z)(r==="relative"?n*o:o,...e)}transform(t,e){return Sc(this,void 0,void 0,function*(){const{graph:n}=this.context,{translate:r,rotate:o,scale:u,origin:v}=t;this.cancelAnimation();const S=this.getAnimation(e);if(Eo(n,new Du(Te.BEFORE_TRANSFORM,t)),!o&&u&&!r&&v&&!S){this.camera.setZoomByViewportPoint(this.getZoomOptions(t),v),Eo(n,new Du(Te.AFTER_TRANSFORM,t));return}const C={};if(r&&Object.assign(C,this.getTranslateOptions(t)),(0,Wr.Z)(o)&&Object.assign(C,this.getRotateOptions(t)),(0,Wr.Z)(u)&&Object.assign(C,{zoom:this.getZoomOptions(t)}),S)return Eo(n,new as(Te.BEFORE_ANIMATE,Pt.TRANSFORM,null,t)),new Promise(T=>{this.transformResolver=T,this.camera.gotoLandmark(this.createLandmark(C),Object.assign(Object.assign({},S),{onfinish:()=>{Eo(n,new as(Te.AFTER_ANIMATE,Pt.TRANSFORM,null,t)),Eo(n,new Du(Te.AFTER_TRANSFORM,t)),this.transformResolver=void 0,T()}}))});this.camera.gotoLandmark(this.createLandmark(C),{duration:0}),Eo(n,new Du(Te.AFTER_TRANSFORM,t))})}fitView(t,e){return Sc(this,void 0,void 0,function*(){const[n,r,o,u]=this.padding,{when:v="always",direction:S="both"}=t||{},[C,T]=this.context.canvas.getSize(),$=C-u-r,lt=T-n-o,vt=this.context.canvas.getBounds(),Gt=this.getBBoxInViewport(vt),[ee,ve]=Rn(Gt),ke=S==="x"&&ee>=$||S==="y"&&ve>=lt||S==="both"&&ee>=$&&ve>=lt;if(v==="overflow"&&!ke)return yield this.fitCenter(e);const Fe=$/ee,Xe=lt/ve,cn=S==="x"?Fe:S==="y"?Xe:Math.min(Fe,Xe),jn=this.getAnimation(e);yield this.transform({mode:"relative",scale:cn,translate:rt(Wt(this.getCanvasCenter(),this.getBBoxInViewport(vt).center),he(this.paddingOffset,cn))},jn)})}fitCenter(t){return Sc(this,void 0,void 0,function*(){const e=this.context.canvas.getBounds();yield this.focus(e,t)})}focusElements(t,e){return Sc(this,void 0,void 0,function*(){const{element:n}=this.context;if(!n)return;const r=Gn(t.map(o=>n.getElement(o).getRenderBounds()));yield this.focus(r,e)})}focus(t,e){return Sc(this,void 0,void 0,function*(){const n=this.context.graph.getViewportByCanvas(t.center),r=this.getCanvasCenter(),o=Wt(r,n);yield this.transform({mode:"relative",translate:rt(o,this.paddingOffset)},e)})}getBBoxInViewport(t){const{min:e,max:n}=t,{graph:r}=this.context,[o,u]=r.getViewportByCanvas(e),[v,S]=r.getViewportByCanvas(n),C=new nt.mN;return C.setMinMax([o,u,0],[v,S,0]),C}isInViewport(t,e=!1,n=0){const{graph:r}=this.context,o=this.getCanvasSize(),[u,v]=r.getCanvasByViewport([0,0]),[S,C]=r.getCanvasByViewport(o);let T=new nt.mN;return T.setMinMax([u,v,0],[S,C,0]),n&&(T=gr(T,n)),Be(t)?br(t,T):e?Or(t,T):T.intersects(t)}cancelAnimation(){var t,e;!((t=this.camera.landmarks)===null||t===void 0)&&t.length&&this.camera.cancelLandmarkAnimation(),(e=this.transformResolver)===null||e===void 0||e.call(this)}}var ma=function(i,t,e,n){function r(o){return o instanceof e?o:new e(function(u){u(o)})}return new(e||(e=Promise))(function(o,u){function v(T){try{C(n.next(T))}catch($){u($)}}function S(T){try{C(n.throw(T))}catch($){u($)}}function C(T){T.done?o(T.value):r(T.value).then(v,S)}C((n=n.apply(i,t||[])).next())})};class Jd extends Ud.Z{constructor(t){super(),this.destroyed=!1,this.context={model:new Vv},this.isCollapsingExpanding=!1,this.onResize=(0,ps.Z)(()=>{this.resize()},300),this.options=Object.assign({},Jd.defaultOptions,t),this._setOptions(this.options,!0),this.context.graph=this,this.options.autoResize&&window.addEventListener("resize",this.onResize)}getOptions(){return this.options}setOptions(t){this._setOptions(t,!1)}_setOptions(t,e){if(this.updateCanvas(t),e){const{data:lt}=t;lt&&this.addData(lt);return}Object.assign(this.options,t);const{behaviors:n,combo:r,data:o,edge:u,layout:v,node:S,plugins:C,theme:T,transforms:$}=t;n&&this.setBehaviors(n),o&&this.setData(o),S&&this.setNode(S),u&&this.setEdge(u),r&&this.setCombo(r),v&&this.setLayout(v),T&&this.setTheme(T),C&&this.setPlugins(C),$&&this.setTransforms($)}getSize(){return this.context.canvas?this.context.canvas.getSize():[this.options.width||0,this.options.height||0]}setSize(t,e){var n;Object.assign(this.options,{width:t,height:e}),(n=this.context.canvas)===null||n===void 0||n.resize(t,e)}setZoomRange(t){this.options.zoomRange=t}getZoomRange(){return this.options.zoomRange}setNode(t){this.options.node=t,this.context.model.refreshData()}setEdge(t){this.options.edge=t,this.context.model.refreshData()}setCombo(t){this.options.combo=t,this.context.model.refreshData()}getTheme(){return this.options.theme}setTheme(t){this.options.theme=(0,Rt.Z)(t)?t(this.getTheme()):t}setLayout(t){this.options.layout=(0,Rt.Z)(t)?t(this.getLayout()):t}getLayout(){return this.options.layout}setBehaviors(t){var e;this.options.behaviors=(0,Rt.Z)(t)?t(this.getBehaviors()):t,(e=this.context.behavior)===null||e===void 0||e.setBehaviors(this.options.behaviors)}updateBehavior(t){this.setBehaviors(e=>e.map(n=>typeof n=="object"&&n.key===t.key?Object.assign(Object.assign({},n),t):n))}getBehaviors(){return this.options.behaviors||[]}setPlugins(t){var e;this.options.plugins=(0,Rt.Z)(t)?t(this.getPlugins()):t,(e=this.context.plugin)===null||e===void 0||e.setPlugins(this.options.plugins)}updatePlugin(t){this.setPlugins(e=>e.map(n=>typeof n=="object"&&n.key===t.key?Object.assign(Object.assign({},n),t):n))}getPlugins(){return this.options.plugins||[]}getPluginInstance(t){return this.context.plugin.getPluginInstance(t)}setTransforms(t){var e;this.options.transforms=(0,Rt.Z)(t)?t(this.getTransforms()):t,(e=this.context.transform)===null||e===void 0||e.setTransforms(this.options.transforms)}updateTransform(t){this.setTransforms(e=>e.map(n=>typeof n=="object"&&n.key===t.key?Object.assign(Object.assign({},n),t):n)),this.context.model.refreshData()}getTransforms(){return this.options.transforms||[]}getData(){return this.context.model.getData()}getElementData(t){return Array.isArray(t)?t.map(e=>this.context.model.getElementDataById(e)):this.context.model.getElementDataById(t)}getNodeData(t){var e;return t===void 0?this.context.model.getNodeData():Array.isArray(t)?this.context.model.getNodeData(t):(e=this.context.model.getNodeData([t]))===null||e===void 0?void 0:e[0]}getEdgeData(t){var e;return t===void 0?this.context.model.getEdgeData():Array.isArray(t)?this.context.model.getEdgeData(t):(e=this.context.model.getEdgeData([t]))===null||e===void 0?void 0:e[0]}getComboData(t){var e;return t===void 0?this.context.model.getComboData():Array.isArray(t)?this.context.model.getComboData(t):(e=this.context.model.getComboData([t]))===null||e===void 0?void 0:e[0]}setData(t){this.context.model.setData((0,Rt.Z)(t)?t(this.getData()):t)}addData(t){this.context.model.addData((0,Rt.Z)(t)?t(this.getData()):t)}addNodeData(t){this.context.model.addNodeData((0,Rt.Z)(t)?t(this.getNodeData()):t)}addEdgeData(t){this.context.model.addEdgeData((0,Rt.Z)(t)?t(this.getEdgeData()):t)}addComboData(t){this.context.model.addComboData((0,Rt.Z)(t)?t(this.getComboData()):t)}addChildrenData(t,e){this.context.model.addChildrenData(t,e)}updateData(t){this.context.model.updateData((0,Rt.Z)(t)?t(this.getData()):t)}updateNodeData(t){this.context.model.updateNodeData((0,Rt.Z)(t)?t(this.getNodeData()):t)}updateEdgeData(t){this.context.model.updateEdgeData((0,Rt.Z)(t)?t(this.getEdgeData()):t)}updateComboData(t){this.context.model.updateComboData((0,Rt.Z)(t)?t(this.getComboData()):t)}removeData(t){this.context.model.removeData((0,Rt.Z)(t)?t(this.getData()):t)}removeNodeData(t){this.context.model.removeNodeData((0,Rt.Z)(t)?t(this.getNodeData()):t)}removeEdgeData(t){this.context.model.removeEdgeData((0,Rt.Z)(t)?t(this.getEdgeData()):t)}removeComboData(t){this.context.model.removeComboData((0,Rt.Z)(t)?t(this.getComboData()):t)}getElementType(t){return this.context.model.getElementType(t)}getRelatedEdgesData(t,e="both"){return this.context.model.getRelatedEdgesData(t,e)}getNeighborNodesData(t){return this.context.model.getNeighborNodesData(t)}getAncestorsData(t,e){return this.context.model.getAncestorsData(t,e)}getParentData(t,e){return this.context.model.getParentData(t,e)}getChildrenData(t){return this.context.model.getChildrenData(t)}getDescendantsData(t){return this.context.model.getDescendantsData(t)}getElementDataByState(t,e){return this.context.model.getElementDataByState(t,e)}initCanvas(){return ma(this,void 0,void 0,function*(){var t;if(this.context.canvas)return yield this.context.canvas.ready;const{container:e="container",width:n,height:r,renderer:o,cursor:u,background:v,devicePixelRatio:S=(t=window.devicePixelRatio)!==null&&t!==void 0?t:1}=this.options;if(e instanceof Bf)this.context.canvas=e,u&&e.setCursor(u),o&&e.setRenderer(o),yield e.ready;else{const C=(0,ta.Z)(e)?document.getElementById(e):e,T=gf(C);this.emit(Te.BEFORE_CANVAS_INIT,{container:C,width:n,height:r});const $=new Bf({container:C,width:n||T[0],height:r||T[1],background:v,renderer:o,cursor:u,devicePixelRatio:S});this.context.canvas=$,yield $.ready,this.emit(Te.AFTER_CANVAS_INIT,{canvas:$})}})}updateCanvas(t){var e,n;const{renderer:r,cursor:o,height:u,width:v}=t,S=this.context.canvas;S&&(r&&(this.emit(Te.BEFORE_RENDERER_CHANGE,{renderer:this.options.renderer}),S.setRenderer(r),this.emit(Te.AFTER_RENDERER_CHANGE,{renderer:r})),o&&S.setCursor(o),((0,Wr.Z)(v)||(0,Wr.Z)(u))&&this.setSize((e=v!=null?v:this.options.width)!==null&&e!==void 0?e:0,(n=u!=null?u:this.options.height)!==null&&n!==void 0?n:0))}initRuntime(){this.context.options=this.options,this.context.batch||(this.context.batch=new Zv(this.context)),this.context.plugin||(this.context.plugin=new Kv(this.context)),this.context.viewport||(this.context.viewport=new Jv(this.context)),this.context.transform||(this.context.transform=new Qv(this.context)),this.context.element||(this.context.element=new Uv(this.context)),this.context.animation||(this.context.animation=new Bv(this.context)),this.context.layout||(this.context.layout=new Xv(this.context)),this.context.behavior||(this.context.behavior=new Fv(this.context))}prepare(){return ma(this,void 0,void 0,function*(){if(yield Promise.resolve(),this.destroyed)throw new Error(wt("The graph instance has been destroyed"));yield this.initCanvas(),this.initRuntime()})}render(){return ma(this,void 0,void 0,function*(){yield this.prepare(),Eo(this,new go(Te.BEFORE_RENDER));const t=this.context.element.draw({type:"render"});yield Promise.all([t==null?void 0:t.finished,this.context.layout.layout()]),yield this.autoFit(),Eo(this,new go(Te.AFTER_RENDER))})}draw(){return ma(this,void 0,void 0,function*(){var t;yield this.prepare(),yield(t=this.context.element.draw())===null||t===void 0?void 0:t.finished})}layout(){return ma(this,void 0,void 0,function*(){yield this.context.layout.layout()})}stopLayout(){this.context.layout.stopLayout()}clear(){return ma(this,void 0,void 0,function*(){this.context.model.setData({}),yield this.draw()})}destroy(){Eo(this,new go(Te.BEFORE_DESTROY));const{layout:t,animation:e,element:n,model:r,canvas:o,behavior:u,plugin:v}=this.context;v==null||v.destroy(),u==null||u.destroy(),t==null||t.destroy(),e==null||e.destroy(),n==null||n.destroy(),r.destroy(),o==null||o.destroy(),this.options={},this.context={},this.off(),window.removeEventListener("resize",this.onResize),this.destroyed=!0,Eo(this,new go(Te.AFTER_DESTROY))}getCanvas(){return this.context.canvas}resize(t,e){const n=!t||!e?gf(this.context.canvas.getContainer()):[t,e];(0,zt.Z)(n,this.getSize())||(Eo(this,new go(Te.BEFORE_SIZE_CHANGE,{size:n})),this.context.canvas.resize(...n),Eo(this,new go(Te.AFTER_SIZE_CHANGE,{size:n})))}fitView(t,e){return ma(this,void 0,void 0,function*(){var n;yield(n=this.context.viewport)===null||n===void 0?void 0:n.fitView(t,e)})}fitCenter(t){return ma(this,void 0,void 0,function*(){var e;yield(e=this.context.viewport)===null||e===void 0?void 0:e.fitCenter(t)})}autoFit(){return ma(this,void 0,void 0,function*(){const{autoFit:t}=this.context.options;if(t)if((0,ta.Z)(t))t==="view"?yield this.fitView():t==="center"&&(yield this.fitCenter());else{const{type:e,animation:n}=t;e==="view"?yield this.fitView(t.options,n):e==="center"&&(yield this.fitCenter(n))}})}focusElement(t,e){return ma(this,void 0,void 0,function*(){var n;yield(n=this.context.viewport)===null||n===void 0?void 0:n.focusElements(Array.isArray(t)?t:[t],e)})}zoomBy(t,e,n){return ma(this,void 0,void 0,function*(){yield this.context.viewport.transform({mode:"relative",scale:t,origin:n},e)})}zoomTo(t,e,n){return ma(this,void 0,void 0,function*(){this.context.viewport.transform({mode:"absolute",scale:t,origin:n},e)})}getZoom(){return this.context.viewport.getZoom()}rotateBy(t,e,n){return ma(this,void 0,void 0,function*(){yield this.context.viewport.transform({mode:"relative",rotate:t,origin:n},e)})}rotateTo(t,e,n){return ma(this,void 0,void 0,function*(){yield this.context.viewport.transform({mode:"absolute",rotate:t,origin:n},e)})}getRotation(){return this.context.viewport.getRotation()}translateBy(t,e){return ma(this,void 0,void 0,function*(){yield this.context.viewport.transform({mode:"relative",translate:t},e)})}translateTo(t,e){return ma(this,void 0,void 0,function*(){yield this.context.viewport.transform({mode:"absolute",translate:t},e)})}getPosition(){return Wt([0,0],this.getCanvasByViewport([0,0]))}translateElementBy(t,e){return ma(this,arguments,void 0,function*(n,r,o=!0){var u,v;const[S,C]=(0,Kt.Z)(n)?[n,(u=r)!==null&&u!==void 0?u:!0]:[{[n]:r},o];Object.entries(S).forEach(([T,$])=>this.context.model.translateNodeLikeBy(T,$)),yield(v=this.context.element.draw({animation:C,stage:"translate"}))===null||v===void 0?void 0:v.finished})}translateElementTo(t,e){return ma(this,arguments,void 0,function*(n,r,o=!0){var u,v;const[S,C]=(0,Kt.Z)(n)?[n,(u=r)!==null&&u!==void 0?u:!0]:[{[n]:r},o];Object.entries(S).forEach(([T,$])=>this.context.model.translateNodeLikeTo(T,$)),yield(v=this.context.element.draw({animation:C,stage:"translate"}))===null||v===void 0?void 0:v.finished})}getElementPosition(t){return this.context.model.getElementPosition(t)}getElementRenderStyle(t){return(0,vf.Z)(this.context.element.getElement(t).attributes,["context"])}setElementVisibility(t,e){return ma(this,arguments,void 0,function*(n,r,o=!0){var u,v;const[S,C]=(0,Kt.Z)(n)?[n,(u=r)!==null&&u!==void 0?u:!0]:[{[n]:r},o],T={nodes:[],edges:[],combos:[]};Object.entries(S).forEach(([vt,Gt])=>{const ee=this.getElementType(vt);T[`${ee}s`].push({id:vt,style:{visibility:Gt}})});const{model:$,element:lt}=this.context;$.preventUpdateNodeLikeHierarchy(()=>{$.updateData(T)}),yield(v=lt.draw({animation:C,stage:"visibility"}))===null||v===void 0?void 0:v.finished})}showElement(t,e){return ma(this,void 0,void 0,function*(){const n=Array.isArray(t)?t:[t];yield this.setElementVisibility(Object.fromEntries(n.map(r=>[r,"visible"])),e)})}hideElement(t,e){return ma(this,void 0,void 0,function*(){const n=Array.isArray(t)?t:[t];yield this.setElementVisibility(Object.fromEntries(n.map(r=>[r,"hidden"])),e)})}getElementVisibility(t){var e,n;const r=this.context.element.getElement(t);return(n=(e=r==null?void 0:r.style)===null||e===void 0?void 0:e.visibility)!==null&&n!==void 0?n:"visible"}setElementZIndex(t,e){return ma(this,void 0,void 0,function*(){var n;const r={nodes:[],edges:[],combos:[]},o=(0,Kt.Z)(t)?t:{[t]:e};Object.entries(o).forEach(([S,C])=>{const T=this.getElementType(S);r[`${T}s`].push({id:S,style:{zIndex:C}})});const{model:u,element:v}=this.context;u.preventUpdateNodeLikeHierarchy(()=>u.updateData(r)),yield(n=v.draw({animation:!1,stage:"zIndex"}))===null||n===void 0?void 0:n.finished})}frontElement(t){return ma(this,void 0,void 0,function*(){const e=Array.isArray(t)?t:[t],{model:n,element:r}=this.context,o={};e.map(u=>{const v=r.getFrontZIndex(u);if(n.getElementType(u)==="combo"){const C=n.getAncestorsData(u,ne).at(-1)||this.getComboData(u),T=[C,...n.getDescendantsData(dn(C))],$=v-r.getElementZIndex(u);T.forEach(vt=>{o[dn(vt)]=this.getElementZIndex(dn(vt))+$});const{internal:lt}=xt(T.map(dn),vt=>n.getRelatedEdgesData(vt));lt.forEach(vt=>{const Gt=dn(vt);o[Gt]=this.getElementZIndex(Gt)+$})}else o[u]=v}),yield this.setElementZIndex(o)})}getElementZIndex(t){var e,n,r;const{model:o,element:u}=this.context;return(r=(n=(e=o.getElementDataById(t))===null||e===void 0?void 0:e.style)===null||n===void 0?void 0:n.zIndex)!==null&&r!==void 0?r:u.getElementZIndex(t)}setElementState(t,e){return ma(this,arguments,void 0,function*(n,r,o=!0){var u,v;const[S,C]=(0,Kt.Z)(n)?[n,(u=r)!==null&&u!==void 0?u:!0]:[{[n]:r},o],T=lt=>lt?Array.isArray(lt)?lt:[lt]:[],$={nodes:[],edges:[],combos:[]};Object.entries(S).forEach(([lt,vt])=>{const Gt=this.getElementType(lt);$[`${Gt}s`].push({id:lt,states:T(vt)})}),this.updateData($),yield(v=this.context.element.draw({animation:C}))===null||v===void 0?void 0:v.finished})}getElementState(t){return this.context.model.getElementState(t)}getElementRenderBounds(t){return this.context.element.getElement(t).getRenderBounds()}collapseElement(t){return ma(this,arguments,void 0,function*(e,n=!0){const{model:r,element:o}=this.context;if(ha(r.getNodeLikeData([e])[0])||this.isCollapsingExpanding)return;const u=r.getElementType(e);yield this.frontElement(e),this.isCollapsingExpanding=!0,this.setElementCollapsibility(e,!0),u==="node"?yield o.collapseNode(e,n):u==="combo"&&(yield o.collapseCombo(e,n)),this.isCollapsingExpanding=!1})}expandElement(t){return ma(this,arguments,void 0,function*(e,n=!0){const{model:r,element:o}=this.context;if(!ha(r.getNodeLikeData([e])[0])||this.isCollapsingExpanding)return;const u=r.getElementType(e);this.isCollapsingExpanding=!0,this.setElementCollapsibility(e,!1),u==="node"?yield o.expandNode(e,n):u==="combo"&&(yield o.expandCombo(e,n)),this.isCollapsingExpanding=!1})}setElementCollapsibility(t,e){const n=this.getElementType(t);n==="node"?this.updateNodeData([{id:t,style:{collapsed:e}}]):n==="combo"&&this.updateComboData([{id:t,style:{collapsed:e}}])}toDataURL(){return ma(this,arguments,void 0,function*(t={}){return this.context.canvas.toDataURL(t)})}getCanvasByViewport(t){return this.context.canvas.getCanvasByViewport(t)}getViewportByCanvas(t){return this.context.canvas.getViewportByCanvas(t)}getClientByCanvas(t){return this.context.canvas.getClientByCanvas(t)}getCanvasByClient(t){return this.context.canvas.getCanvasByClient(t)}getViewportCenter(){return this.context.viewport.getViewportCenter()}getCanvasCenter(){return this.context.viewport.getCanvasCenter()}on(t,e,n){return super.on(t,e,n)}once(t,e){return super.once(t,e)}off(t,e){return super.off(t,e)}}Jd.defaultOptions={autoResize:!1,theme:"light",rotation:0,zoom:1,zoomRange:[.01,10]};var qv=function(i,t){var e={};for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&t.indexOf(n)<0&&(e[n]=i[n]);if(i!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,n=Object.getOwnPropertySymbols(i);r{if(v.depth=S,!v.children)return v;const{children:C}=v,T=qv(v,["children"]);return Object.assign(Object.assign({},T),{children:C.map($=>$.id)})},getEdgeData:n=(v,S)=>({source:v.id,target:S.id}),getChildren:r=v=>v.children||[]}=t||{},o=[],u=[];return Ha(i,(v,S)=>{o.push(e(v,S));const C=r(v);for(const T of C)u.push(n(v,T))},v=>r(v),"TB"),{nodes:o,edges:u}}class e0 extends $s{beforeDraw(t){const{add:e,update:n}=t,{model:r}=this.context;return[...e.edges.entries(),...n.edges.entries()].forEach(([,o])=>{$f(r,o)}),t}}const $f=(i,t)=>{const{source:e,target:n}=t,r=i.getElementDataById(e),o=i.getElementDataById(n),u=Ft(r,$=>i.getParentData($,ne)),v=Ft(o,$=>i.getParentData($,ne)),S=dn(u),C=dn(v),T={sourceNode:S,targetNode:C};return t.style?Object.assign(t.style,T):t.style=T,t},n0=(i,t,e)=>{const[n,r]=t,[o,u]=e;if(r===n)return o;const v=(i-n)/(r-n);return o+v*(u-o)},r0=(i,t,e)=>{const[n,r]=t,[o,u]=e,v=Math.log(i-n+1)/Math.log(r-n+1);return o+v*(u-o)},i0=(i,t,e,n=2)=>{const[r,o]=t,[u,v]=e,S=Math.pow((i-r)/(o-r),n);return u+S*(v-u)},a0=(i,t,e)=>{const[n,r]=t,[o,u]=e,v=Math.sqrt((i-n)/(r-n));return o+v*(u-o)};class Zu extends $s{constructor(t,e){super(t,(0,dt.Z)({},Zu.defaultOptions,e)),this.assignSizeByCentrality=(n,r,o,u,v,S)=>{const C=[r,o],T=[u[0],v[0]],$=[u[1],v[1]],lt=[u[2],v[2]],vt=(Gt,ee)=>{if(typeof S=="function")return S(Gt,C,ee);switch(S){case"linear":return n0(Gt,C,ee);case"log":return r0(Gt,C,ee);case"pow":return i0(Gt,C,ee,2);case"sqrt":return a0(Gt,C,ee);default:return ee[0]}};return[vt(n,T),vt(n,$),vt(n,lt)]}}beforeDraw(t){const{model:e}=this.context,n=e.getNodeData(),r=wi(this.options.maxSize),o=wi(this.options.minSize),u=this.getCentralities(this.options.centrality),v=u.size>0?Math.max(...u.values()):0,S=u.size>0?Math.min(...u.values()):0;return n.forEach(C=>{var T;const $=this.assignSizeByCentrality(u.get(dn(C))||0,S,v,o,r,this.options.scale),lt=(T=this.context.element)===null||T===void 0?void 0:T.getElement(dn(C)),vt={size:$};this.assignLabelStyle(vt,$,C,lt),(!lt||!Iu(vt,lt.attributes))&&Xo(t,lt?"update":"add","node",(0,dt.Z)(C,{style:vt}),!0)}),t}assignLabelStyle(t,e,n,r){var o;const u=r?r.config.style:(o=this.context.element)===null||o===void 0?void 0:o.getElementComputedStyle("node",n);if(Object.assign(t,(0,Wo.Z)(u,["labelFontSize","labelLineHeight"])),this.options.mapLabelSize){const v=this.getLabelSizeByNodeSize(e,1/0,Number(t.labelFontSize));Object.assign(t,{labelFontSize:v,labelLineHeight:v+rn(t.labelPadding)})}return t}getLabelSizeByNodeSize(t,e,n){const r=Math.min(...t)/2,[o,u]=Array.isArray(this.options.mapLabelSize)?this.options.mapLabelSize:[n,e];return Math.min(u,Math.max(r,o))}getCentralities(t){const{model:e}=this.context,n=e.getData();if(typeof t=="function")return t(n);const r=e.getRelatedEdgesData.bind(e);return E(n,r,t)}}Zu.defaultOptions={centrality:{type:"degree"},maxSize:80,minSize:20,scale:"linear",mapLabelSize:!1};class Fu extends $s{constructor(t,e){super(t,Object.assign({},Fu.defaultOptions,e))}get ref(){return this.context.model.getRootsData()[0]}afterLayout(){var t;const e=ar(this.ref),{graph:n,model:r}=this.context;(t=r.getData().nodes)===null||t===void 0||t.forEach(u=>{if(dn(u)===dn(this.ref))return;const v=sr(Wt(ar(u),e)),S=Math.abs(v)>Math.PI/2,C=u.transformd||!u.children||u.children.length===0,T=wi(n.getElementRenderStyle(dn(u)).size)[0]/2,$=(C?1:-1)*(T+this.options.offset),lt=[["translate",$*Math.cos(v),$*Math.sin(v)],["rotate",S?(0,nt.BV)(v)+180:(0,nt.BV)(v)]];r.updateNodeData([{id:dn(u),style:{labelTextAlign:S===C?"right":"left",labelTextBaseline:"middle",labelTransform:lt}}])}),n.draw()}}Fu.defaultOptions={offset:5};var Wf=d(50264);const o0="quadratic",Gf=["top","top-right","right","right-bottom","bottom","bottom-left","left","left-top"];class zu extends $s{constructor(t,e){super(t,Object.assign({},zu.defaultOptions,e)),this.cacheMergeStyle=new Map,this.getAffectedParallelEdges=n=>{const{add:{edges:r},update:{nodes:o,edges:u,combos:v},remove:{edges:S}}=n,{model:C}=this.context,T=new Map,$=(Gt,ee)=>{C.getRelatedEdgesData(ee).forEach(ke=>!T.has(dn(ke))&&T.set(dn(ke),ke))};o.forEach($),v.forEach($);const lt=Gt=>{const ee=C.getEdgeData().map(ke=>$f(C,ke));s0(Gt,ee,!0).forEach(ke=>!T.has(dn(ke))&&T.set(dn(ke),ke))};if(S.size&&S.forEach(lt),r.size&&r.forEach(lt),u.size){const Gt=wf(Hd(C.getChanges())).update.edges;u.forEach(ee=>{var ve;lt(ee);const ke=(ve=Gt.find(Fe=>dn(Fe.value)===dn(ee)))===null||ve===void 0?void 0:ve.original;ke&&!qd(ee,ke)&<(ke)})}(0,Lo.Z)(this.options.edges)||T.forEach((Gt,ee)=>!this.options.edges.includes(ee)&&T.delete(ee));const vt=C.getEdgeData().map(dn);return new Map([...T].sort((Gt,ee)=>vt.indexOf(Gt[0])-vt.indexOf(ee[0])))},this.applyBundlingStyle=(n,r,o)=>{const{edgeMap:u,reverses:v}=Vf(r);u.forEach(S=>{S.forEach((C,T,$)=>{var lt;const vt=$.length,Gt=C.style||{};if(C.source===C.target){const ke=Gf.length;Gt.loopPlacement=Gf[T%ke],Gt.loopDist=Math.floor(T/ke)*o+50}else if(vt===1)Gt.curveOffset=0;else{const ke=(T%2===0?1:-1)*(v[`${C.source}|${C.target}|${T}`]?-1:1);Gt.curveOffset=vt%2===1?ke*Math.ceil(T/2)*o*2:ke*(Math.floor(T/2)*o*2+o)}const ee=Object.assign(C,{type:o0,style:Gt}),ve=(lt=this.context.element)===null||lt===void 0?void 0:lt.getElement(dn(C));(!ve||!Iu(ee.style,ve.attributes))&&Xo(n,ve?"update":"add","edge",ee,!0)})})},this.resetEdgeStyle=n=>{const r=n.style||{},o=this.cacheMergeStyle.get(dn(n))||{};return Object.keys(o).forEach(u=>{(0,zt.Z)(r[u],o[u])&&(n[u]?r[u]=n[u]:delete r[u])}),Object.assign(n,{style:r})},this.applyMergingStyle=(n,r)=>{const{edgeMap:o,reverses:u}=Vf(r);o.forEach(v=>{var S;if(v.length===1){const T=v[0],$=(S=this.context.element)===null||S===void 0?void 0:S.getElement(dn(T)),lt=this.resetEdgeStyle(T);(!$||!Iu(lt,$.attributes))&&Xo(n,$?"update":"add","edge",lt);return}const C=v.map(({source:T,target:$,style:lt={}},vt)=>{const{startArrow:Gt,endArrow:ee}=lt,ve={},[ke,Fe]=u[`${T}|${$}|${vt}`]?["endArrow","startArrow"]:["startArrow","endArrow"];return(0,Wf.Z)(Gt)&&(ve[ke]=Gt),(0,Wf.Z)(ee)&&(ve[Fe]=ee),ve}).reduce((T,$)=>Object.assign(Object.assign({},T),$),{});v.forEach((T,$,lt)=>{var vt;if($!==0){Xo(n,"remove","edge",T);return}const Gt=Object.assign({},(0,Rt.Z)(this.options.style)?this.options.style(lt):this.options.style,{childrenData:lt});this.cacheMergeStyle.set(dn(T),Gt);const ee=Object.assign(Object.assign({},T),{type:"line",style:Object.assign(Object.assign(Object.assign({},T.style),C),Gt)}),ve=(vt=this.context.element)===null||vt===void 0?void 0:vt.getElement(dn(T));(!ve||!Iu(ee.style,ve.attributes))&&Xo(n,ve?"update":"add","edge",ee,!0)})})}}beforeDraw(t){const e=this.getAffectedParallelEdges(t);return e.size===0||(this.options.mode==="bundle"?this.applyBundlingStyle(t,e,this.options.distance):this.applyMergingStyle(t,e)),t}}zu.defaultOptions={mode:"bundle",distance:15};const Vf=i=>{const t=new Map,e=new Set,n={};for(const[r,o]of i){if(e.has(r))continue;const{source:u,target:v}=o,S=`${u}-${v}`;t.has(S)||t.set(S,[]),t.get(S).push(o),e.add(r);for(const[C,T]of i)e.has(C)||qd(o,T)&&(t.get(S).push(T),e.add(C),u===T.target&&v===T.source&&(n[`${T.source}|${T.target}|${t.get(S).length-1}`]=!0))}return{edgeMap:t,reverses:n}},s0=(i,t,e)=>t.filter(n=>(e||dn(n)!==dn(i))&&qd(n,i)),qd=(i,t)=>{const{sourceNode:e,targetNode:n}=i.style||{},{sourceNode:r,targetNode:o}=t.style||{};return e===r&&n===o||e===o&&n===r};class l0 extends $s{beforeDraw(t,e){const{stage:n}=e;if(n==="visibility")return t;const{model:r}=this.context,{update:{nodes:o,edges:u,combos:v}}=t,S=(C,T)=>{r.getRelatedEdgesData(T).forEach(lt=>!u.has(dn(lt))&&u.set(dn(lt),lt))};return o.forEach(S),v.forEach(S),t}}const c0={animation:{"combo-collapse":pt,"combo-expand":X,"node-collapse":Yt,"node-expand":we,"path-in":Ce,"path-out":_e,fade:Q,translate:te},behavior:{"brush-select":da,"click-select":ho,"collapse-expand":Co,"create-edge":gs,"drag-canvas":cl,"drag-element-force":Nc,"drag-element":Xs,"fix-element-size":dl,"focus-element":Qs,"hover-activate":fl,"lasso-select":Vu,"auto-adapt-label":Jt,"optimize-viewport-transform":Js,"scroll-canvas":qs,"zoom-canvas":ro},combo:{circle:de,rect:Ee},edge:{cubic:Vn,line:xr,polyline:Ji,quadratic:Ti,"cubic-horizontal":ir,"cubic-radial":tr,"cubic-vertical":hr},layout:{"antv-dagre":bn,"combo-combined":lu,"compact-box":ks.compactBox,"force-atlas2":ah,circular:Qn,concentric:zn,"d3-force":$d,dagre:du,dendrogram:ks.dendrogram,force:Aa,fruchterman:lh,grid:uh,indented:ks.indented,mds:iu,mindmap:ks.mindmap,radial:bh,random:Oh},node:{circle:_a,diamond:Gs,ellipse:qo,hexagon:mo,html:Zo,image:So,rect:Vs,star:$t,donut:Jo,triangle:it},palette:{spectral:Th,tableau:Ph,oranges:Ah,greens:Nh,blues:Rh},theme:{dark:Pv,light:Av},plugin:{"bubble-sets":gu,"edge-bundling":mu,"edge-filter-lens":yu,"grid-line":xu,background:vu,contextmenu:pu,fisheye:bu,fullscreen:Eu,history:wu,hull:Su,legend:Cu,minimap:Ou,snapline:Tu,timebar:Pu,toolbar:Au,tooltip:Nu,watermark:Ru},transform:{"arrange-draw-order":Nv,"collapse-expand-combo":Rv,"collapse-expand-node":Iv,"get-edge-actual-ends":e0,"map-node-size":Zu,"place-radial-labels":Fu,"process-parallel-edges":zu,"update-related-edges":l0},shape:{circle:nt.Cd,ellipse:nt.Pj,group:nt.ZA,html:nt.k9,image:Ri,line:nt.x1,path:nt.y$,polygon:nt.mg,polyline:nt.aH,rect:nt.UL,text:nt.xv,label:Xa,badge:wo}};function u0(){Object.entries(c0).forEach(([i,t])=>{Object.entries(t).forEach(([e,n])=>{Lv(i,e,n)})})}u0();const F0={css:"//at.alicdn.com/t/a/font_470089_8hnbbf8n4u8.css",js:"//at.alicdn.com/t/a/font_470089_8hnbbf8n4u8.js"};var d0=Object.defineProperty,Uf=Object.getOwnPropertySymbols,f0=Object.prototype.hasOwnProperty,h0=Object.prototype.propertyIsEnumerable,Hf=(i,t,e)=>t in i?d0(i,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):i[t]=e,v0=(i,t)=>{for(var e in t||(t={}))f0.call(t,e)&&Hf(i,e,t[e]);if(Uf)for(var e of Uf(t))h0.call(t,e)&&Hf(i,e,t[e]);return i};const z0=i=>React.createElement("svg",v0({width:12,height:8,xmlns:"http://www.w3.org/2000/svg"},i),React.createElement("title",null,"\u7F16\u7EC4 10"),React.createElement("g",{fillRule:"nonzero",fill:"none"},React.createElement("path",{d:"m.565 4.503 3.488 3.284c.217.204.533.26.814.154a.708.708 0 0 0 .463-.652V.72a.708.708 0 0 0-.463-.652.807.807 0 0 0-.288-.056.737.737 0 0 0-.526.21L.565 3.506a.692.692 0 0 0-.217.499.655.655 0 0 0 .217.498Z",fill:"#462BB1"}),React.createElement("path",{d:"m7.232 4.503 3.488 3.284c.217.204.533.26.814.154a.708.708 0 0 0 .463-.652V.72a.708.708 0 0 0-.463-.652.807.807 0 0 0-.288-.056.737.737 0 0 0-.526.21L7.232 3.506a.692.692 0 0 0-.218.499.655.655 0 0 0 .218.498Z",fill:"#A395D9"})));var g0="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIiIGhlaWdodD0iOCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBmaWxsLXJ1bGU9Im5vbnplcm8iIGZpbGw9Im5vbmUiPjxwYXRoIGQ9Im0uNTY1IDQuNTAzIDMuNDg4IDMuMjg0Yy4yMTcuMjA0LjUzMy4yNi44MTQuMTU0YS43MDguNzA4IDAgMCAwIC40NjMtLjY1MlYuNzJhLjcwOC43MDggMCAwIDAtLjQ2My0uNjUyLjgwNy44MDcgMCAwIDAtLjI4OC0uMDU2LjczNy43MzcgMCAwIDAtLjUyNi4yMUwuNTY1IDMuNTA2YS42OTIuNjkyIDAgMCAwLS4yMTcuNDk5LjY1NS42NTUgMCAwIDAgLjIxNy40OThaIiBmaWxsPSIjNDYyQkIxIi8+PHBhdGggZD0ibTcuMjMyIDQuNTAzIDMuNDg4IDMuMjg0Yy4yMTcuMjA0LjUzMy4yNi44MTQuMTU0YS43MDguNzA4IDAgMCAwIC40NjMtLjY1MlYuNzJhLjcwOC43MDggMCAwIDAtLjQ2My0uNjUyLjgwNy44MDcgMCAwIDAtLjI4OC0uMDU2LjczNy43MzcgMCAwIDAtLjUyNi4yMUw3LjIzMiAzLjUwNmEuNjkyLjY5MiAwIDAgMC0uMjE4LjQ5OS42NTUuNjU1IDAgMCAwIC4yMTguNDk4WiIgZmlsbD0iI0EzOTVEOSIvPjwvZz48L3N2Zz4=",p0=Object.defineProperty,Yf=Object.getOwnPropertySymbols,m0=Object.prototype.hasOwnProperty,y0=Object.prototype.propertyIsEnumerable,Xf=(i,t,e)=>t in i?p0(i,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):i[t]=e,b0=(i,t)=>{for(var e in t||(t={}))m0.call(t,e)&&Xf(i,e,t[e]);if(Yf)for(var e of Yf(t))y0.call(t,e)&&Xf(i,e,t[e]);return i};const j0=i=>React.createElement("svg",b0({width:12,height:8,xmlns:"http://www.w3.org/2000/svg"},i),React.createElement("title",null,"\u7F16\u7EC4 10"),React.createElement("g",{fillRule:"nonzero",fill:"none"},React.createElement("path",{d:"M11.435 4.503 7.947 7.787a.785.785 0 0 1-.814.154.708.708 0 0 1-.463-.652V.72c0-.287.182-.54.463-.652a.807.807 0 0 1 .288-.056c.196 0 .386.07.526.21l3.488 3.284c.14.134.217.316.217.499a.655.655 0 0 1-.217.498Z",fill:"#462BB1"}),React.createElement("path",{d:"M4.768 4.503 1.28 7.787a.785.785 0 0 1-.814.154.708.708 0 0 1-.463-.652V.72c0-.287.183-.54.463-.652A.807.807 0 0 1 .754.012c.197 0 .386.07.526.21l3.488 3.284c.14.134.218.316.218.499a.655.655 0 0 1-.218.498Z",fill:"#A395D9"})));var E0="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIiIGhlaWdodD0iOCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBmaWxsLXJ1bGU9Im5vbnplcm8iIGZpbGw9Im5vbmUiPjxwYXRoIGQ9Ik0xMS40MzUgNC41MDMgNy45NDcgNy43ODdhLjc4NS43ODUgMCAwIDEtLjgxNC4xNTQuNzA4LjcwOCAwIDAgMS0uNDYzLS42NTJWLjcyYzAtLjI4Ny4xODItLjU0LjQ2My0uNjUyYS44MDcuODA3IDAgMCAxIC4yODgtLjA1NmMuMTk2IDAgLjM4Ni4wNy41MjYuMjFsMy40ODggMy4yODRjLjE0LjEzNC4yMTcuMzE2LjIxNy40OTlhLjY1NS42NTUgMCAwIDEtLjIxNy40OThaIiBmaWxsPSIjNDYyQkIxIi8+PHBhdGggZD0iTTQuNzY4IDQuNTAzIDEuMjggNy43ODdhLjc4NS43ODUgMCAwIDEtLjgxNC4xNTQuNzA4LjcwOCAwIDAgMS0uNDYzLS42NTJWLjcyYzAtLjI4Ny4xODMtLjU0LjQ2My0uNjUyQS44MDcuODA3IDAgMCAxIC43NTQuMDEyYy4xOTcgMCAuMzg2LjA3LjUyNi4yMWwzLjQ4OCAzLjI4NGMuMTQuMTM0LjIxOC4zMTYuMjE4LjQ5OWEuNjU1LjY1NSAwIDAgMS0uMjE4LjQ5OFoiIGZpbGw9IiNBMzk1RDkiLz48L2c+PC9zdmc+",x0=Object.defineProperty,w0=Object.defineProperties,S0=Object.getOwnPropertyDescriptors,Kf=Object.getOwnPropertySymbols,M0=Object.prototype.hasOwnProperty,C0=Object.prototype.propertyIsEnumerable,Qf=(i,t,e)=>t in i?x0(i,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):i[t]=e,ju=(i,t)=>{for(var e in t||(t={}))M0.call(t,e)&&Qf(i,e,t[e]);if(Kf)for(var e of Kf(t))C0.call(t,e)&&Qf(i,e,t[e]);return i},O0=(i,t)=>w0(i,S0(t)),Mc=(i,t,e)=>new Promise((n,r)=>{var o=S=>{try{v(e.next(S))}catch(C){r(C)}},u=S=>{try{v(e.throw(S))}catch(C){r(C)}},v=S=>S.done?n(S.value):Promise.resolve(S.value).then(o,u);v((e=e.apply(i,t)).next())}),T0=()=>{const i=(0,I.useRef)(null),t=(0,I.useRef)(null),{pathId:e}=(0,tt.useParams)(),[n,r]=(0,I.useState)([]),[o,u]=(0,I.useState)(!1),[v,S]=(0,I.useState)([]),[C,T]=(0,I.useState)(1),[$,lt]=(0,I.useState)(!1),[vt]=P.default.useForm(),[Gt,ee]=(0,I.useState)([]),[ve,ke]=(0,I.useState)({knowledge_type:1}),[Fe,Xe]=(0,I.useState)([]),[cn,jn]=(0,I.useState)({}),[Ln,kn]=(0,I.useState)({nodes:[],links:[]});(0,I.useEffect)(()=>{vn()},[]);function vn(){return Mc(this,null,function*(){var Kn,_r,Sr,Tr,yr,kr,Hi,ur;if(!i.current)return;let Hr=yield(0,q.ZP)(`/api/knowledge_maps/${e}.json`,{method:"get"});if((Hr==null?void 0:Hr.status)===0){S(Hr==null?void 0:Hr.data);let Bi=[];(_r=(Kn=Hr==null?void 0:Hr.data)==null?void 0:Kn.node_data)==null||_r.map(Zi=>{var us;return(us=Zi==null?void 0:Zi.nodes)==null?void 0:us.map((ds,os)=>{os==0&&Bi.push(ds)})});let ua=(Sr=Bi==null?void 0:Bi.splice(1))==null?void 0:Sr.map((Zi,us)=>{var ds,os,Cc;return{startNodeUuid:(os=(ds=Bi==null?void 0:Bi[0])==null?void 0:ds.properties)==null?void 0:os.uuid,type:"\u5305\u542B",endNodeUuid:(Cc=Zi==null?void 0:Zi.properties)==null?void 0:Cc.uuid}});const{nodes:Za,links:Fi}=(yr=(Tr=Hr==null?void 0:Hr.data)==null?void 0:Tr.node_data)==null?void 0:yr.reduce((Zi,us)=>(Zi.nodes.push(...us.nodes),Zi.links.push(...us.relationships),Zi),{nodes:[],links:[]});let Sa=(0,Tt.fX)(Za==null?void 0:Za.map((Zi,us)=>{var ds,os,Cc,Jf,qf,th;return O0(ju(ju({},Zi),Zi==null?void 0:Zi.properties),{rootNodeUuid:(ds=Zi==null?void 0:Zi.properties)==null?void 0:ds.rootNodeUuid,id:(os=Zi==null?void 0:Zi.properties)==null?void 0:os.name,name:(Cc=Zi==null?void 0:Zi.properties)==null?void 0:Cc.name,labelstype:(Jf=Zi==null?void 0:Zi.labels)==null?void 0:Jf[1],description:(qf=Zi==null?void 0:Zi.properties)==null?void 0:qf.description,nodeType:(th=Zi==null?void 0:Zi.properties)==null?void 0:th.nodeType,level:0})}),[...Fi==null?void 0:Fi.filter(Zi=>Zi.type==="\u5305\u542B"),...ua]),Fa=t0(Sa),Ma=(kr=Fa.nodes)==null?void 0:kr.filter((Zi,us,ds)=>us===ds.findIndex(os=>os.id===Zi.id)),Fo=(Hi=Fa.edges)==null?void 0:Hi.filter((Zi,us,ds)=>us===ds.findIndex(os=>os.source===Zi.source&&os.target===Zi.target));console.log("----",Sa),kn({nodes:Ma,links:Fo})}let Ai=yield(0,q.ZP)(`/api/knowledge_maps/${e}/knowledge_list.json`,{method:"get"});(Ai==null?void 0:Ai.status)===0&&(r((ur=Ai==null?void 0:Ai.data)==null?void 0:ur.list),jn(Ai==null?void 0:Ai.data))})}(0,I.useEffect)(()=>{if(!i.current||Ln.nodes.length===0)return;const Kn=(0,O.Z)()(i.current).graphData(Ln).nodeAutoColorBy("group").nodeThreeObject(_r=>{const Sr=Math.max(10*Math.pow(.7,_r.level),2),Tr=new g.Kj0(new g.xo$(Sr,16,16),new g.vBJ({color:_r.color||16777215})),yr=new _.Z(_r.id);yr.color="#fff",yr.textHeight=Sr*.9,yr.position.set(0,Sr+2,0);const kr=new g.ZAu;return kr.add(Tr),kr.add(yr),kr}).linkOpacity(.3).linkWidth(.5).linkDirectionalParticles(0).linkDirectionalParticleWidth(0).onNodeClick(_r=>{const Tr=1+80/Math.hypot(_r.x,_r.y,_r.z);Kn.cameraPosition({x:_r.x*Tr,y:_r.y*Tr,z:_r.z*Tr},_r,3e3)});return t.current=Kn,()=>{Kn._destructor()}},[Ln]);function dr(){return Mc(this,null,function*(){let Kn=yield(0,q.ZP)("/api/paths.json",{method:"get",params:{page:1,limit:800}});Kn&&ee(Kn==null?void 0:Kn.subjects)})}function Cr(Kn){return Mc(this,null,function*(){var _r;let Sr=yield(0,q.ZP)("/api/knowledge_maps.json",{method:"get",params:{page:1,limit:800,knowledge_type:Kn}});Sr&&Xe(((_r=Sr==null?void 0:Sr.data)==null?void 0:_r.list)||[])})}return I.createElement("div",{style:{position:"relative"}},I.createElement(b.ZP,{type:"primary",ghost:!0,style:{position:"absolute",top:20,left:20,zIndex:10},onClick:()=>{history.back()}},"\u8FD4\u56DE"),I.createElement("div",{onClick:()=>{u(!o)},className:ut.rightopen,style:{right:o?600:0}},I.createElement("div",null,o?"\u6536":"\u5C55"),I.createElement("div",null,o?"\u8D77":"\u5F00"),I.createElement("img",{src:o?E0:g0})),o&&I.createElement("div",{className:ut.rightmodal},I.createElement("div",{style:{display:"flex",justifyContent:"end"}},I.createElement("a",{onClick:()=>{(cn==null?void 0:cn.knowledge_type)==2?dr():(cn==null?void 0:cn.knowledge_type)==3&&Cr(2),vt.setFieldsValue({knowledge_type:cn==null?void 0:cn.knowledge_type,name:v==null?void 0:v.name,description:v==null?void 0:v.description,subject_ids:(cn==null?void 0:cn.knowledge_type)==2?v==null?void 0:v.subject_ids:[],knowledge_map_ids:(cn==null?void 0:cn.knowledge_type)==3?v==null?void 0:v.map_ids:[]}),ke({knowledge_type:cn==null?void 0:cn.knowledge_type,name:v==null?void 0:v.name,description:v==null?void 0:v.description,subject_ids:(cn==null?void 0:cn.knowledge_type)==2?v==null?void 0:v.subject_ids:[],knowledge_map_ids:(cn==null?void 0:cn.knowledge_type)==3?v==null?void 0:v.map_ids:[]}),lt(!0)}},"\u7F16\u8F91"),I.createElement("a",{onClick:()=>Mc(void 0,null,function*(){let Kn=yield(0,q.ZP)(`/api/knowledge_maps/${e}.json`,{method:"DELETE"});(Kn==null?void 0:Kn.status)===0&&(A.ZP.info("\u5220\u9664\u6210\u529F"),history.back())}),style:{marginLeft:20}},"\u5220\u9664")),I.createElement("div",{className:ut.rname},I.createElement("div",{style:{color:"#333333",fontSize:16}},v==null?void 0:v.name),I.createElement("div",{style:{marginTop:14}},I.createElement("span",{style:{color:"#5F6A95"}},"\u521B\u5EFA\u65E5\u671F"),I.createElement("span",{style:{marginLeft:10}},v==null?void 0:v.created_at))),I.createElement("div",{style:{marginTop:20,display:"flex"}},I.createElement("div",{onClick:()=>{T(1)},className:ut.topradios},"\u4E13\u4E1A\u6982\u89C8"),I.createElement("div",{onClick:()=>{T(2)},className:ut.topradio},"\u56FE\u8C31\u5217\u8868")),C===1&&I.createElement("div",{className:ut.bocent},I.createElement("div",{className:ut.bctitle},I.createElement("div",null,"\u8BFE\u7A0B\u6570\u91CF"),I.createElement("div",null,"\u56FE\u8C31\u6570\u91CF"),I.createElement("div",null,"\u56FE\u8C31\u8282\u70B9\u6570\u91CF")),I.createElement("div",{className:ut.btcent},I.createElement("div",null,v==null?void 0:v.subject_count),I.createElement("div",null,v==null?void 0:v.knowledge_count),I.createElement("div",null,v==null?void 0:v.node_count)),I.createElement("div",{style:{marginTop:20}},v==null?void 0:v.description)),C===2&&I.createElement("div",{className:ut.bocent},I.createElement("div",{className:ut.bctitles},I.createElement("div",null,"\u8BFE\u7A0B\u540D\u79F0"),I.createElement("div",null,"\u56FE\u8C31\u6570\u91CF"),I.createElement("div",null,"\u6807\u7B7E\u8282\u70B9"),I.createElement("div",null,"\u8D44\u6E90\u8282\u70B9")),n==null?void 0:n.map(Kn=>I.createElement("div",{className:ut.bctitles},I.createElement("div",{style:{color:"#3061D0"},onClick:()=>{window.open(`/knowledgegraph/${Kn==null?void 0:Kn.identifier}`)}},"\u300A",Kn==null?void 0:Kn.name,"\u300B"),I.createElement("div",null,Kn==null?void 0:Kn.knowledge_count),I.createElement("div",null,Kn==null?void 0:Kn.label_count),I.createElement("div",null,Kn==null?void 0:Kn.resource_count))))),I.createElement("div",{ref:i,style:{width:"100vw",height:"100vh",background:"#000",margin:0,overflow:"hidden"}}),I.createElement(D.default,{open:$,title:"\u7F16\u8F91\u77E5\u8BC6\u56FE\u8C31",centered:!0,width:1200,onCancel:()=>{lt(!1)},onOk:()=>vt.submit()},I.createElement(P.default,{form:vt,scrollToFirstError:!0,layout:"horizontal",colon:!1,size:"large",labelCol:{flex:"110rem"},onValuesChange:(Kn,_r)=>{(Kn==null?void 0:Kn.knowledge_type)==2?dr():(Kn==null?void 0:Kn.knowledge_type)==3&&Cr(2),ke(ju({},_r)),Kn!=null&&Kn.knowledge_type&&vt.setFieldsValue({name:"",description:"",subject_id:"",subject_ids:[],knowledge_map_ids:[],knowledge_type:Kn==null?void 0:Kn.knowledge_type})},initialValues:{knowledge_type:1},onFinish:Kn=>Mc(void 0,null,function*(){let _r=yield(0,q.ZP)(`/api/knowledge_maps/${e}.json`,{method:"POST",body:ju({},Kn)});(_r==null?void 0:_r.status)===0&&(A.ZP.info("\u4FEE\u6539\u6210\u529F"),vn(),lt(!1),vt.resetFields(),ke({name:"",description:"",subject_id:"",subject_ids:[],knowledge_map_ids:[],knowledge_type:1}))}),className:ut.form},I.createElement(P.default.Item,{label:"\u56FE\u8C31\u603B\u7C7B",name:"knowledge_type",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u56FE\u8C31\u603B\u7C7B"}]},I.createElement(x.ZP.Group,{disabled:!0},I.createElement(x.ZP,{value:1},"\u8BFE\u7A0B\u56FE\u8C31"),I.createElement(x.ZP,{value:2},"\u4E13\u4E1A\u56FE\u8C31"),I.createElement(x.ZP,{value:3},"\u5B66\u79D1\u56FE\u8C31"))),I.createElement(P.default.Item,{label:ve.knowledge_type==1?"\u56FE\u8C31\u540D\u79F0":ve.knowledge_type==2?"\u4E13\u4E1A\u540D\u79F0":"\u5B66\u79D1\u540D\u79F0",name:"name",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u540D\u79F0"},{type:"string",max:60,message:"\u8F93\u5165\u8D85\u9650\uFF0C\u8BF7\u7F29\u51CF\u5B57\u7B26\u6570"},{type:"string",whitespace:!0,message:"\u5185\u5BB9\u4E0D\u80FD\u5168\u4E3A\u7A7A\u683C"}]},I.createElement(k.default,{maxLength:60,showCount:!0,placeholder:"\u8BF7\u8F93\u5165"})),I.createElement(P.default.Item,{label:ve.knowledge_type==1?"\u56FE\u8C31\u7B80\u4ECB":ve.knowledge_type==2?"\u4E13\u4E1A\u7B80\u4ECB":"\u5B66\u79D1\u7B80\u4ECB",name:"description",rules:[{required:!1,message:"\u8BF7\u8F93\u5165\u7B80\u4ECB"},{type:"string",max:500,message:"\u8F93\u5165\u8D85\u9650\uFF0C\u8BF7\u7F29\u51CF\u5B57\u7B26\u6570"},{type:"string",whitespace:!0,message:"\u5185\u5BB9\u4E0D\u80FD\u5168\u4E3A\u7A7A\u683C"}]},I.createElement(k.default.TextArea,{maxLength:500,showCount:!0,placeholder:"\u8BF7\u8F93\u5165"})),ve.knowledge_type=="2"&&I.createElement(P.default.Item,{className:ut.mType,label:ve.knowledge_type==2?"\u9009\u62E9\u8BFE\u7A0B":"\u9009\u62E9\u4E13\u4E1A",name:ve.knowledge_type==2?"subject_ids":"knowledge_map_ids",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u8BFE\u7A0B"}]},I.createElement(R.default,{mode:"multiple"},Gt==null?void 0:Gt.map(Kn=>I.createElement(R.default.Option,{value:Kn==null?void 0:Kn.id},Kn==null?void 0:Kn.name)))),ve.knowledge_type=="3"&&I.createElement(P.default.Item,{className:ut.mType,label:"\u9009\u62E9\u4E13\u4E1A",name:"knowledge_map_ids",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u4E13\u4E1A"}]},I.createElement(R.default,{mode:"multiple"},Fe==null?void 0:Fe.map(Kn=>I.createElement(R.default.Option,{value:Kn==null?void 0:Kn.id},Kn==null?void 0:Kn.name)))))))}},3522:function(At,ht,d){"use strict";var l,I=Object.defineProperty,O=Et=>{throw TypeError(Et)},_=Math.pow,g=(Et,y,E)=>y in Et?I(Et,y,{enumerable:!0,configurable:!0,writable:!0,value:E}):Et[y]=E,P=(Et,y,E)=>g(Et,typeof y!="symbol"?y+"":y,E),b=(Et,y,E)=>y.has(Et)||O("Cannot "+E),A=(Et,y,E)=>(b(Et,y,"read from private field"),E?E.call(Et):y.get(Et)),D=(Et,y,E)=>y.has(Et)?O("Cannot add the same private member more than once"):y instanceof WeakSet?y.add(Et):y.set(Et,E),x=(Et,y,E,c)=>(b(Et,y,"write to private field"),c?c.call(Et,E):y.set(Et,E),E),k=(Et,y,E)=>(b(Et,y,"access private method"),E),R,tt,q;l={value:!0};var Tt=d(34634),ut=d(34402);const nt=" ".repeat(2),_t=" ".repeat(4);function It(){return zt(this)}function zt(Et,y={}){const{maxRows:E=15,maxColumns:c=10,maxNumSize:f=8,padMinus:w="auto"}=y;return`${Et.constructor.name} { + `).join("")})}}Au.defaultOptions={position:"top-left"};var Ev=d(75242);class Nu extends bo{constructor(t,e){super(t,Object.assign({},Nu.defaultOptions,e)),this.currentTarget=null,this.tooltipElement=null,this.container=null,this.isEnable=n=>{const{enable:r}=this.options;return typeof r=="function"?r(n):r},this.onClick=n=>{const{target:{id:r}}=n;this.currentTarget===r?(this.hide(n),this.currentTarget=null):(this.currentTarget=r,this.show(n))},this.onPointerMove=n=>{const{target:r}=n;!this.currentTarget||r.id===this.currentTarget||this.show(n)},this.onPointerLeave=n=>{this.hide(n),this.currentTarget=null},this.onCanvasMove=n=>{this.hide(n),this.currentTarget=null},this.onPointerEnter=n=>{this.show(n)},this.showById=n=>{const r={target:{id:n}};this.show(r)},this.getElementData=(n,r)=>{const{model:o}=this.context;switch(r){case"node":return o.getNodeData([n]);case"edge":return o.getEdgeData([n]);case"combo":return o.getComboData([n]);default:return[]}},this.show=n=>{const{client:r,target:{id:o}}=n;if(Ea(n.target)||!this.tooltipElement||!this.isEnable(n))return;const u=this.context.graph.getElementType(o),{getContent:v,title:S}=this.options;this.currentTarget=o;const C=this.getElementData(o,u);let T,$;if(r)T=r.x,$=r.y;else{const vt=(0,la.Z)(C,"0.style",{x:0,y:0});T=vt.x,$=vt.y}let lt={};if(v)lt.content=v(n,C);else{const vt=this.context.graph.getElementRenderStyle(o),Gt=u==="node"?vt.fill:vt.stroke;lt={title:S||u,data:C.map(ee=>({name:"ID",value:ee.id||`${ee.source} -> ${ee.target}`,color:Gt}))}}this.tooltipElement.update(Object.assign(Object.assign(Object.assign({},this.tooltipStyleProps),{x:T,y:$,style:{".tooltip":{visibility:"visible"}}}),lt))},this.hide=n=>{var r;if(!n){(r=this.tooltipElement)===null||r===void 0||r.hide();return}if(!this.tooltipElement||!this.currentTarget)return;const{client:{x:o,y:u}}=n;this.tooltipElement.hide(o,u)},this.initTooltip=()=>{var n;const r=new Ev.u({className:"tooltip",style:this.tooltipStyleProps});return(n=this.container)===null||n===void 0||n.appendChild(r.HTMLTooltipElement),r},this.render(),this.bindEvents()}getEvents(){return this.options.trigger==="click"?{"node:click":this.onClick,"edge:click":this.onClick,"combo:click":this.onClick,"canvas:click":this.onPointerLeave,contextmenu:this.onPointerLeave,drag:this.onPointerLeave}:{"node:pointerenter":this.onPointerEnter,"node:pointermove":this.onPointerMove,"canvas:pointermove":this.onCanvasMove,"edge:pointerenter":this.onPointerEnter,"edge:pointermove":this.onPointerMove,"combo:pointerenter":this.onPointerEnter,"combo:pointermove":this.onPointerMove,contextmenu:this.onPointerLeave,"node:drag":this.onPointerLeave}}update(t){var e;this.unbindEvents(),super.update(t),this.tooltipElement&&((e=this.container)===null||e===void 0||e.removeChild(this.tooltipElement.HTMLTooltipElement)),this.tooltipElement=this.initTooltip(),this.bindEvents()}render(){const{canvas:t}=this.context,e=t.getContainer();e&&(this.container=e,this.tooltipElement=this.initTooltip())}unbindEvents(){const{graph:t}=this.context,e=this.getEvents();Object.keys(e).forEach(n=>{t.off(n,e[n])})}bindEvents(){const{graph:t}=this.context,e=this.getEvents();Object.keys(e).forEach(n=>{t.on(n,e[n])})}get tooltipStyleProps(){const{canvas:t}=this.context,{center:e}=t.getBounds(),n=t.getContainer(),{top:r,left:o}=n.getBoundingClientRect(),{style:u,position:v,enterable:S,container:C={x:-o,y:-r},title:T,offset:$}=this.options,[lt,vt]=e,[Gt,ee]=t.getSize();return{x:lt,y:vt,container:C,title:T,bounding:{x:0,y:0,width:Gt,height:ee},position:v,enterable:S,offset:$,style:u}}destroy(){var t;this.unbindEvents(),this.tooltipElement&&((t=this.container)===null||t===void 0||t.removeChild(this.tooltipElement.HTMLTooltipElement)),super.destroy()}}Nu.defaultOptions={trigger:"hover",position:"top-right",enterable:!1,enable:!0,offset:[10,10],style:{".tooltip":{visibility:"hidden"}}};var Af=function(i,t,e,n){function r(o){return o instanceof e?o:new e(function(u){u(o)})}return new(e||(e=Promise))(function(o,u){function v(T){try{C(n.next(T))}catch($){u($)}}function S(T){try{C(n.throw(T))}catch($){u($)}}function C(T){T.done?o(T.value):r(T.value).then(v,S)}C((n=n.apply(i,t||[])).next())})};let _l;function Nf(i,t){return _l||(_l=document.createElement("canvas")),_l.width=i,_l.height=t,_l.getContext("2d").clearRect(0,0,i,t),_l}function xv(i,t,e,n){return Af(this,void 0,void 0,function*(){const r=Nf(i,t),o=r.getContext("2d"),{rotate:u,opacity:v,textFill:S,textFontSize:C,textFontFamily:T,textFontVariant:$,textFontWeight:lt,textAlign:vt,textBaseline:Gt}=n;return o.textAlign=vt,o.textBaseline=Gt,o.translate(i/2,t/2),o.font=`${C}px ${T} ${$} ${lt}`,u&&o.rotate(u),v&&(o.globalAlpha=v),S&&(o.fillStyle=S,o.fillText(`${e}`,0,0)),r.toDataURL()})}function wv(i,t,e,n){return Af(this,void 0,void 0,function*(){const r=Nf(i,t),o=r.getContext("2d"),{rotate:u,opacity:v}=n;u&&o.rotate(u),v&&(o.globalAlpha=v);const S=new Image;return S.crossOrigin="anonymous",S.src=e,new Promise(C=>{S.onload=function(){const T=i>S.width?(i-S.width)/2:0,$=t>S.height?(t-S.height)/2:0;o.drawImage(S,0,0,S.width,S.height,T,$,i-T*2,t-$*2),C(r.toDataURL())}})})}var Sv=function(i,t,e,n){function r(o){return o instanceof e?o:new e(function(u){u(o)})}return new(e||(e=Promise))(function(o,u){function v(T){try{C(n.next(T))}catch($){u($)}}function S(T){try{C(n.throw(T))}catch($){u($)}}function C(T){T.done?o(T.value):r(T.value).then(v,S)}C((n=n.apply(i,t||[])).next())})},Mv=function(i,t){var e={};for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&t.indexOf(n)<0&&(e[n]=i[n]);if(i!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,n=Object.getOwnPropertySymbols(i);rsuper.update}});return Sv(this,void 0,void 0,function*(){e.update.call(this,t);const n=this.options,{width:r,height:o,text:u,imageURL:v}=n,S=Mv(n,["width","height","text","imageURL"]);Object.keys(S).forEach(T=>{T.startsWith("background")&&(this.$element.style[T]=t[T])});const C=v?yield wv(r,o,v,S):yield xv(r,o,u,S);this.$element.style.backgroundImage=`url(${C})`})}destroy(){super.destroy(),this.$element.remove()}}Ru.defaultOptions={width:200,height:100,opacity:.2,rotate:Math.PI/12,text:"",textFill:"#000",textFontSize:16,textAlign:"center",textBaseline:"middle",backgroundRepeat:"repeat"};const Cv=["#7E92B5","#F4664A","#FFBE3A"],Ov={type:"group",color:["#1783FF","#00C9C9","#F08F56","#D580FF","#7863FF","#DB9D0D","#60C42D","#FF80CA","#2491B3","#17C76F"]},Tv={type:"group",color:["#99ADD1","#1783FF","#00C9C9","#F08F56","#D580FF","#7863FF","#DB9D0D","#60C42D","#FF80CA","#2491B3","#17C76F"]};function Rf(i){const{bgColor:t,textColor:e,nodeColor:n,nodeColorDisabled:r,nodeStroke:o,nodeHaloStrokeOpacityActive:u=.15,nodeHaloStrokeOpacitySelected:v=.25,nodeOpacityDisabled:S=.06,nodeIconOpacityInactive:C=.85,nodeOpacityInactive:T=.25,nodeBadgePalette:$=Cv,nodePaletteOptions:lt=Ov,edgeColor:vt,edgeColorDisabled:Gt,edgePaletteOptions:ee=Tv,comboColor:ve,comboColorDisabled:ke,comboStroke:Fe,comboStrokeDisabled:Xe,edgeColorInactive:cn}=i;return{background:t,node:{palette:lt,style:{donutOpacity:1,badgeBackgroundOpacity:1,badgeFill:"#fff",badgeFontSize:8,badgePadding:[0,4],badgePalette:$,fill:n,fillOpacity:1,halo:!1,iconFill:"#fff",iconOpacity:1,labelBackground:!1,labelBackgroundFill:t,labelBackgroundLineWidth:0,labelBackgroundOpacity:.75,labelFill:e,labelFillOpacity:.85,labelLineHeight:16,labelPadding:[0,2],labelFontSize:12,labelFontWeight:400,labelOpacity:1,labelOffsetY:2,lineWidth:0,portFill:n,portLineWidth:1,portStroke:o,portStrokeOpacity:.65,size:32,stroke:o,strokeOpacity:1,zIndex:2},state:{selected:{halo:!0,haloLineWidth:24,haloStrokeOpacity:v,labelFontSize:12,labelFontWeight:"bold",lineWidth:4,stroke:o},active:{halo:!0,haloLineWidth:12,haloStrokeOpacity:u},highlight:{labelFontWeight:"bold",lineWidth:4,stroke:o,strokeOpacity:.85},inactive:{badgeBackgroundOpacity:T,donutOpacity:T,fillOpacity:T,iconOpacity:C,labelFill:e,labelFillOpacity:T,strokeOpacity:T},disabled:{badgeBackgroundOpacity:.25,donutOpacity:S,fill:r,fillOpacity:S,iconFill:r,iconOpacity:.25,labelFill:e,labelFillOpacity:.25,strokeOpacity:S}},animation:{enter:"fade",exit:"fade",show:"fade",hide:"fade",expand:"node-expand",collapse:"node-collapse",update:[{fields:["x","y","fill","stroke"]}],translate:[{fields:["x","y"]}]}},edge:{palette:ee,style:{badgeBackgroundFill:vt,badgeFill:"#fff",badgeFontSize:8,badgeOffsetX:10,fillOpacity:1,halo:!1,haloLineWidth:12,haloStrokeOpacity:1,increasedLineWidthForHitTesting:2,labelBackground:!1,labelBackgroundFill:t,labelBackgroundLineWidth:0,labelBackgroundOpacity:.75,labelBackgroundPadding:[4,4,4,4],labelFill:e,labelFontSize:12,labelFontWeight:400,labelOpacity:1,labelPlacement:"center",labelTextBaseline:"middle",lineWidth:1,stroke:vt,strokeOpacity:1,zIndex:1},state:{selected:{halo:!0,haloStrokeOpacity:.25,labelFontSize:14,labelFontWeight:"bold",lineWidth:3},active:{halo:!0,haloStrokeOpacity:.15},highlight:{labelFontWeight:"bold",lineWidth:3},inactive:{stroke:cn,fillOpacity:.08,labelOpacity:.25,strokeOpacity:.08,badgeBackgroundOpacity:.25},disabled:{stroke:Gt,fillOpacity:.45,strokeOpacity:.45,labelOpacity:.25,badgeBackgroundOpacity:.45}},animation:{enter:"fade",exit:"fade",expand:"path-in",collapse:"path-out",show:"fade",hide:"fade",update:[{fields:["sourceNode","targetNode"]},{fields:["stroke"],shape:"key"}],translate:[{fields:["sourceNode","targetNode"]}]}},combo:{style:{collapsedMarkerFill:t,collapsedMarkerFontSize:12,collapsedMarkerFillOpacity:1,collapsedSize:32,collapsedFillOpacity:1,fill:ve,halo:!1,haloLineWidth:12,haloStroke:Fe,haloStrokeOpacity:.25,labelBackground:!1,labelBackgroundFill:t,labelBackgroundLineWidth:0,labelBackgroundOpacity:.75,labelBackgroundPadding:[2,4,2,4],labelFill:e,labelFontSize:12,labelFontWeight:400,labelOpacity:1,lineDash:0,lineWidth:1,fillOpacity:.04,strokeOpacity:1,padding:10,stroke:Fe},state:{selected:{halo:!0,labelFontSize:14,labelFontWeight:700,lineWidth:4},active:{halo:!0},highlight:{labelFontWeight:700,lineWidth:4},inactive:{fillOpacity:.65,labelOpacity:.25,strokeOpacity:.65},disabled:{fill:ke,fillOpacity:.25,labelOpacity:.25,stroke:Xe,strokeOpacity:.25}},animation:{enter:"fade",exit:"fade",show:"fade",hide:"fade",expand:"combo-expand",collapse:"combo-collapse",update:[{fields:["x","y"]},{fields:["fill","stroke","lineWidth"],shape:"key"}],translate:[{fields:["x","y"]}]}}}}const Pv=Rf({bgColor:"#000000",comboColor:"#fdfdfd",comboColorDisabled:"#d0e4ff",comboStroke:"#99add1",comboStrokeDisabled:"#969696",edgeColor:"#637088",edgeColorDisabled:"#637088",edgeColorInactive:"#D0E4FF",edgePaletteOptions:{type:"group",color:["#637088","#0F55A6","#008383","#9C5D38","#8B53A6","#4E40A6","#8F6608","#3E801D","#A65383","#175E75","#0F8248"]},nodeColor:"#1783ff",nodeColorDisabled:"#D0E4FF",nodeHaloStrokeOpacityActive:.25,nodeHaloStrokeOpacitySelected:.45,nodeIconOpacityInactive:.45,nodeOpacityDisabled:.25,nodeOpacityInactive:.45,nodeStroke:"#d0e4ff",textColor:"#ffffff"}),Av=Rf({bgColor:"#ffffff",comboColor:"#99ADD1",comboColorDisabled:"#f0f0f0",comboStroke:"#99add1",comboStrokeDisabled:"#d9d9d9",edgeColor:"#99add1",edgeColorDisabled:"#d9d9d9",edgeColorInactive:"#1B324F",nodeColor:"#1783ff",nodeColorDisabled:"#1B324F",nodeHaloStrokeOpacityActive:.15,nodeHaloStrokeOpacitySelected:.25,nodeIconOpacityInactive:.85,nodeOpacityDisabled:.06,nodeOpacityInactive:.25,nodeStroke:"#000000",textColor:"#000000"});class $s extends Vt{beforeDraw(t,e){return t}afterLayout(){}}class Nv extends $s{beforeDraw(t){const{model:e}=this.context,n=t.add.combos,r=o=>{const u=[];return o.forEach((v,S)=>{const T=e.getAncestorsData(S,"combo").map($=>dn($)).reverse();u.push([S,v,T.length])}),new Map(u.sort(([,,v],[,,S])=>S-v).map(([v,S])=>[v,S]))};return t.add.combos=r(n),t.update.combos=r(t.update.combos),t}}function Xo(i,t,e,n,r){const o=dn(n),u=`${e}s`,v=r?n:i.add[u].get(o)||i.update[u].get(o)||i.remove[u].get(o)||n;Object.entries(i).forEach(([S,C])=>{t===S?C[u].set(o,v):C[u].delete(o)})}function Iu(i,t){return Object.keys(i).every(e=>i[e]===t[e])}class Rv extends $s{beforeDraw(t,e){if(e.stage==="visibility"||!this.context.model.model.hasTreeStructure(ne))return t;const{model:n}=this.context,{add:r,update:o}=t,u=[...t.update.combos.entries(),...t.add.combos.entries()];for(;u.length;){const[v,S]=u.pop();if(ha(S)){const C=n.getDescendantsData(v),T=C.map(dn),{internal:$,external:lt}=xt(T,vt=>n.getRelatedEdgesData(vt));C.forEach(vt=>{const Gt=dn(vt),ee=u.findIndex(([ke])=>ke===Gt);ee!==-1&&u.splice(ee,1);const ve=n.getElementType(Gt);Xo(t,"remove",ve,vt)}),$.forEach(vt=>Xo(t,"remove","edge",vt)),lt.forEach(vt=>{var Gt;const ee=dn(vt);((Gt=this.context.element)===null||Gt===void 0?void 0:Gt.getElement(ee))?o.edges.set(ee,vt):r.edges.set(ee,vt)})}else{const C=n.getChildrenData(v),T=C.map(dn),{edges:$}=xt(T,lt=>n.getRelatedEdgesData(lt));[...C,...$].forEach(lt=>{var vt;const Gt=dn(lt),ee=n.getElementType(Gt);((vt=this.context.element)===null||vt===void 0?void 0:vt.getElement(Gt))?Xo(t,"update",ee,lt):Xo(t,"add",ee,lt),ee==="combo"&&u.push([Gt,lt])})}}return t}}const If=(i,t,e,n)=>{const r=`${e}s`,o=dn(n);!i.add[r].has(o)&&!i.update[r].has(o)&&i[t][r].set(dn(n),n)};class Iv extends $s{getElement(t){return this.context.element.getElement(t)}handleExpand(t,e){if(If(e,"add","node",t),ha(t))return;const n=dn(t);If(e,"add","node",t),this.context.model.getRelatedEdgesData(n,"out").forEach(u=>{Xo(e,"add","edge",u)}),this.context.model.getChildrenData(n).forEach(u=>{this.handleExpand(u,e)})}beforeDraw(t){const{graph:e,model:n}=this.context;if(!n.model.hasTreeStructure(Me))return t;const{add:{nodes:r,edges:o},update:{nodes:u}}=t,v=new Map,S=new Map;r.forEach((T,$)=>{ha(T)&&v.set($,T)}),o.forEach(T=>{if(e.getElementType(T.source)!=="node")return;const $=e.getNodeData(T.source);ha($)&&v.set(T.source,$)}),u.forEach((T,$)=>{const lt=this.getElement($);if(!lt)return;const vt=lt.attributes.collapsed;ha(T)?vt||v.set($,T):vt&&S.set($,T)});const C=new Set;return v.forEach((T,$)=>{n.getDescendantsData($).forEach(vt=>{const Gt=dn(vt);if(C.has(Gt))return;Xo(t,"remove","node",vt),n.getRelatedEdgesData(Gt).forEach(ve=>{Xo(t,"remove","edge",ve)}),C.add(Gt)})}),S.forEach((T,$)=>{if(n.getAncestorsData($,Me).some(ha)){Xo(t,"remove","node",T);return}this.handleExpand(T,t)}),t}}function Lv(i,t,e,n=!1){const r=ce[i][t];!n&&r?r!==e&&ot.warn(`The extension ${t} of ${i} has been registered before.`):Object.assign(ce[i],{[t]:e})}class Lu{constructor(t){this.type=t}}class go extends Lu{constructor(t,e){super(t),this.data=e}}class as extends Lu{constructor(t,e,n,r){super(t),this.animationType=e,this.animation=n,this.data=r}}class Bl extends Lu{constructor(t,e,n){super(t),this.elementType=e,this.data=n}}class Du extends Lu{constructor(t,e){super(t),this.data=e}}function Eo(i,t){i.emit(t.type,t)}function Dv(i){if(!i)return null;if(i instanceof nt.BB)return{type:"canvas",element:i};let t=i;for(;t;){if(Pi(t))return{type:"node",element:t};if(na(t))return{type:"edge",element:t};if(co(t))return{type:"combo",element:t};t=t.parentElement}return null}const Zl="cachedStyle",ku=i=>`__${i}__`;function kv(i,t){const e=Array.isArray(t)?t:[t];(0,la.Z)(i,Zl)||(0,ao.Z)(i,Zl,{}),e.forEach(n=>{(0,ao.Z)((0,la.Z)(i,Zl),ku(n),i.attributes[n])})}function Lf(i,t){return(0,la.Z)(i,[Zl,ku(t)])}function _v(i,t){return ku(t)in((0,la.Z)(i,Zl)||{})}function B0(i,t,e){set(i,[Zl,ku(t)],e)}class Bv{constructor(t){this.tasks=[],this.animations=new Set,this.context=t}getTasks(){const t=[...this.tasks];return this.tasks=[],t}add(t,e){this.tasks.push([t,e])}animate(t,e,n){var r,o,u;(r=e==null?void 0:e.before)===null||r===void 0||r.call(e);const v=this.getTasks().map(([C,T])=>{var $,lt,vt;const{element:Gt,elementType:ee,stage:ve}=C,ke=bt(this.context.options,ee,ve,t);($=T==null?void 0:T.before)===null||$===void 0||$.call(T);const Fe=M(Gt,this.inferStyle(C,n),ke);return Fe?((lt=T==null?void 0:T.beforeAnimate)===null||lt===void 0||lt.call(T,Fe),Fe.finished.then(()=>{var Xe,cn;(Xe=T==null?void 0:T.afterAnimate)===null||Xe===void 0||Xe.call(T,Fe),(cn=T==null?void 0:T.after)===null||cn===void 0||cn.call(T),this.animations.delete(Fe)})):(vt=T==null?void 0:T.after)===null||vt===void 0||vt.call(T),Fe}).filter(Boolean);v.forEach(C=>this.animations.add(C));const S=Ze(v);return S?((o=e==null?void 0:e.beforeAnimate)===null||o===void 0||o.call(e,S),S.finished.then(()=>{var C,T;(C=e==null?void 0:e.afterAnimate)===null||C===void 0||C.call(e,S),(T=e==null?void 0:e.after)===null||T===void 0||T.call(e),this.release()})):(u=e==null?void 0:e.after)===null||u===void 0||u.call(e),S}inferStyle(t,e){var n,r;const{element:o,elementType:u,stage:v,originalStyle:S,modifiedStyle:C}=t,T={},$={};if(v==="enter")Object.assign(T,{opacity:0});else if(v==="exit")Object.assign($,{opacity:0});else if(v==="show")Object.assign(T,{opacity:0}),Object.assign($,{opacity:(n=Lf(o,"opacity"))!==null&&n!==void 0?n:ge("opacity")});else if(v==="hide")Object.assign(T,{opacity:(r=Lf(o,"opacity"))!==null&&r!==void 0?r:ge("opacity")}),Object.assign($,{opacity:0});else if(v==="collapse"){const{collapse:lt}=e||{},{target:vt,descendants:Gt,position:ee}=lt;if(u==="node"){if(Gt.includes(o.id)){const[ve,ke,Fe]=ee;Object.assign($,{x:ve,y:ke,z:Fe})}}else if(u==="combo"){if(o.id===vt||Gt.includes(o.id)){const[ve,ke]=ee;Object.assign($,{x:ve,y:ke,childrenNode:S.childrenNode})}}else u==="edge"&&Object.assign($,{sourceNode:C.sourceNode,targetNode:C.targetNode})}else if(v==="expand"){const{expand:lt}=e||{},{target:vt,descendants:Gt,position:ee}=lt;if(u==="node"){if(o.id===vt||Gt.includes(o.id)){const[ve,ke,Fe]=ee;Object.assign(T,{x:ve,y:ke,z:Fe})}}else if(u==="combo"){if(o.id===vt||Gt.includes(o.id)){const[ve,ke,Fe]=ee;Object.assign(T,{x:ve,y:ke,z:Fe,childrenNode:C.childrenNode})}}else u==="edge"&&Object.assign(T,{sourceNode:C.sourceNode,targetNode:C.targetNode})}return[Object.keys(T).length>0?Object.assign({},S,T):S,Object.keys($).length>0?Object.assign({},C,$):C]}stop(){this.animations.forEach(t=>t.cancel())}clear(){this.tasks=[]}release(){var t,e;const{canvas:n}=this.context,r=(e=(t=n.document)===null||t===void 0?void 0:t.timeline)===null||e===void 0?void 0:e.animationsWithPromises;r&&(n.document.timeline.animationsWithPromises=r.filter(o=>o.playState!=="finished"))}destroy(){this.stop(),this.animations.clear(),this.tasks=[]}}class Zv{constructor(t){this.batchCount=0,this.context=t}emit(t){const{graph:e}=this.context;e.emit(t.type,t)}startBatch(t=!0){this.batchCount++,this.batchCount===1&&this.emit(new go(Te.BATCH_START,{initiate:t}))}endBatch(){this.batchCount--,this.batchCount===0&&this.emit(new go(Te.BATCH_END))}get isBatching(){return this.batchCount>0}destroy(){this.context=null}}class Fv extends mt{constructor(t){super(t),this.currentTarget=null,this.currentTargetType=null,this.category="behavior",this.forwardCanvasEvents=e=>{const{target:n}=e,r=Dv(n);if(!r)return;const{graph:o,canvas:u}=this.context,{type:v,element:S}=r;if("destroyed"in S&&(Ea(S)||S.destroyed))return;const{type:C,detail:T,button:$}=e,lt=Object.assign(Object.assign({},e),{target:S,targetType:v,originalTarget:n});C===qt.POINTER_MOVE&&(this.currentTarget!==S&&(this.currentTarget&&o.emit(`${this.currentTargetType}:${qt.POINTER_LEAVE}`,Object.assign(Object.assign({},lt),{type:qt.POINTER_LEAVE,target:this.currentTarget,targetType:this.currentTargetType})),S&&(Object.assign(lt,{type:qt.POINTER_ENTER}),o.emit(`${v}:${qt.POINTER_ENTER}`,lt))),this.currentTarget=S,this.currentTargetType=v),C===qt.CLICK&&$===2||(o.emit(`${v}:${C}`,lt),o.emit(C,lt)),C===qt.CLICK&&T===2&&(Object.assign(lt,{type:qt.DBLCLICK}),o.emit(`${v}:${qt.DBLCLICK}`,lt),o.emit(qt.DBLCLICK,lt)),C===qt.POINTER_DOWN&&$===2&&(Object.assign(lt,{type:qt.CONTEXT_MENU,preventDefault:()=>{var vt;(vt=u.getContainer())===null||vt===void 0||vt.addEventListener(qt.CONTEXT_MENU,Gt=>Gt.preventDefault(),{once:!0})}}),o.emit(`${v}:${qt.CONTEXT_MENU}`,lt),o.emit(qt.CONTEXT_MENU,lt))},this.forwardContainerEvents=e=>{this.context.graph.emit(e.type,e)},this.forwardEvents(),this.setBehaviors(this.context.options.behaviors||[])}setBehaviors(t){this.setExtensions(t)}forwardEvents(){const t=this.context.canvas.getContainer();t&&[He.KEY_DOWN,He.KEY_UP].forEach(n=>{t.addEventListener(n,this.forwardContainerEvents)});const e=this.context.canvas.document;e&&[qt.CLICK,qt.DBLCLICK,qt.POINTER_OVER,qt.POINTER_LEAVE,qt.POINTER_ENTER,qt.POINTER_MOVE,qt.POINTER_OUT,qt.POINTER_DOWN,qt.POINTER_UP,qt.CONTEXT_MENU,qt.DRAG_START,qt.DRAG,qt.DRAG_END,qt.DRAG_ENTER,qt.DRAG_OVER,qt.DRAG_LEAVE,qt.DROP,qt.WHEEL].forEach(n=>{e.addEventListener(n,this.forwardCanvasEvents)})}destroy(){const t=this.context.canvas.getContainer();t&&[He.KEY_DOWN,He.KEY_UP].forEach(e=>{t.removeEventListener(e,this.forwardContainerEvents)}),this.context.canvas.document.removeAllEventListeners(),super.destroy()}}var zv=d(95194),jv=d(85580),Df=function(i,t,e,n){function r(o){return o instanceof e?o:new e(function(u){u(o)})}return new(e||(e=Promise))(function(o,u){function v(T){try{C(n.next(T))}catch($){u($)}}function S(T){try{C(n.throw(T))}catch($){u($)}}function C(T){T.done?o(T.value):r(T.value).then(v,S)}C((n=n.apply(i,t||[])).next())})},kf=function(i,t){var e={};for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&t.indexOf(n)<0&&(e[n]=i[n]);if(i!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,n=Object.getOwnPropertySymbols(i);r{const C=new nt.Xz(Object.assign(Object.assign({},o),{supportsMutipleCanvasesInOneContainer:!0,renderer:u[S],background:S==="background"?n:void 0}));return[S,C]}));Ff(v),this.extends={config:t,renderer:e,renderers:u,layers:v}}get ready(){return Promise.all(Object.entries(this.getLayers()).map(([,t])=>t.ready))}resize(t,e){Object.assign(this.extends.config,{width:t,height:e}),Object.values(this.getLayers()).forEach(n=>{const r=n.getCamera(),o=r.getPosition(),u=r.getFocalPoint();n.resize(t,e),r.setPosition(o),r.setFocalPoint(u)})}getBounds(t){return Gn(Object.values(this.getLayers()).map(e=>t?e.getRoot().childNodes.find(r=>r.classList.includes(t)):e.getRoot()).filter(e=>(e==null?void 0:e.childNodes.length)>0).map(e=>e.getBounds()))}getContainer(){const t=this.extends.config.container;return typeof t=="string"?document.getElementById(t):t}getSize(){return[this.extends.config.width||0,this.extends.config.height||0]}appendChild(t,e){var n;const r=((n=t.style)===null||n===void 0?void 0:n.$layer)||"main";return this.getLayer(r).appendChild(t,e)}setRenderer(t){if(t===this.extends.renderer)return;const e=Zf(t);this.extends.renderers=e,Object.entries(e).forEach(([n,r])=>this.getLayer(n).setRenderer(r)),Ff(this.getLayers())}getCanvasByViewport(t){return Vr(this.getLayer().viewport2Canvas(qr(t)))}getViewportByCanvas(t){return Vr(this.getLayer().canvas2Viewport(qr(t)))}getViewportByClient(t){return Vr(this.getLayer().client2Viewport(qr(t)))}getClientByViewport(t){return Vr(this.getLayer().viewport2Client(qr(t)))}getClientByCanvas(t){return this.getClientByViewport(this.getViewportByCanvas(t))}getCanvasByClient(t){const e=this.getLayer(),n=e.client2Viewport(qr(t));return Vr(e.viewport2Canvas(n))}toDataURL(){return Df(this,arguments,void 0,function*(t={}){const e=window.devicePixelRatio||1,{mode:n="viewport"}=t,r=kf(t,["mode"]);let[o,u,v,S]=[0,0,0,0];if(n==="viewport")[v,S]=this.getSize();else if(n==="overall"){const ke=this.getBounds(),Fe=Rn(ke);[o,u]=ke.min,[v,S]=Fe}const C=(0,jv.L)('
'),T=new nt.Xz({width:v,height:S,renderer:new Ga.Th,devicePixelRatio:e,container:C,background:this.extends.config.background});yield T.ready,T.appendChild(this.getLayer("background").getRoot().cloneNode(!0)),T.appendChild(this.getRoot().cloneNode(!0));const $=this.getLayer("label").getRoot().cloneNode(!0),lt=T.viewport2Canvas({x:0,y:0}),vt=this.getCanvasByViewport([0,0]);$.translate([vt[0]-lt.x,vt[1]-lt.y]),$.scale(1/this.getCamera().getZoom()),T.appendChild($),T.appendChild(this.getLayer("transient").getRoot().cloneNode(!0));const Gt=this.getCamera(),ee=T.getCamera();if(n==="viewport")ee.setZoom(Gt.getZoom()),ee.setPosition(Gt.getPosition()),ee.setFocalPoint(Gt.getFocalPoint());else if(n==="overall"){const[ke,Fe,Xe]=ee.getPosition(),[cn,jn,Ln]=ee.getFocalPoint();ee.setPosition([ke+o,Fe+u,Xe]),ee.setFocalPoint([cn+o,jn+u,Ln])}const ve=T.getContextService();return new Promise(ke=>{T.addEventListener(nt.$6.RERENDER,()=>Df(this,void 0,void 0,function*(){yield new Promise(Xe=>setTimeout(Xe,300));const Fe=yield ve.toDataURL(r);ke(Fe)}))})})}destroy(){Object.values(this.getLayers()).forEach(t=>{t.getCamera().cancelLandmarkAnimation(),t.destroy()})}}function Zf(i){return Object.fromEntries(_f.map(t=>{const e=(i==null?void 0:i(t))||new Ga.Th;return t==="main"?e.registerPlugin(new zv.S({isDocumentDraggable:!0,isDocumentDroppable:!0,dragstartDistanceThreshold:10,dragstartTimeThreshold:100})):e.unregisterPlugin(e.getPlugin("dom-interaction")),[t,e]}))}function Ff(i){Object.entries(i).forEach(([t,e])=>{const n=e.getContextService().getDomElement();n.style.position="absolute",n.style.outline="none",n.tabIndex=1,t!=="main"&&(n.style.pointerEvents="none")})}var $v=d(35300),xc=function(i,t){var e={};for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&t.indexOf(n)<0&&(e[n]=i[n]);if(i!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,n=Object.getOwnPropertySymbols(i);rGt.length!==ee.length?!1:Gt.every((ve,ke)=>ve===ee[ke]),vt=(Gt,ee)=>{const ve=Object.keys(Gt),ke=Object.keys(ee);return ve.length!==ke.length?!1:ve.every(Fe=>Gt[Fe]===ee[Fe])};return!(!vt(u,$)||!lt(o,T)||!lt(e,v)||!vt(n,S)||!vt(r,C))}var Wv=function(i,t){var e={};for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&t.indexOf(n)<0&&(e[n]=i[n]);if(i!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,n=Object.getOwnPropertySymbols(i);r{const r=po(n);return this.isCombo(dn(r))||(t===void 0||t.includes(dn(r)))&&e.push(r),e},[])}getEdgeDatum(t){return po(this.model.getEdge(t))}getEdgeData(t){return this.model.getAllEdges().reduce((e,n)=>{const r=po(n);return(t===void 0||t.includes(dn(r)))&&e.push(r),e},[])}getComboData(t){return this.model.getAllNodes().reduce((e,n)=>{const r=po(n);return this.isCombo(dn(r))&&(t===void 0||t.includes(dn(r)))&&e.push(r),e},[])}getRootsData(t=Me){return this.model.getRoots(t).map(po)}getAncestorsData(t,e){const{model:n}=this;return!n.hasNode(t)||!n.hasTreeStructure(e)?[]:n.getAncestors(t,e).map(po)}getDescendantsData(t){const e=this.getElementDataById(t),n=[];return Ha(e,r=>{r!==e&&n.push(r)},r=>this.getChildrenData(dn(r)),"TB"),n}getParentData(t,e){const{model:n}=this;if(!e){ot.warn("The hierarchy structure key is not specified");return}if(!n.hasNode(t)||!n.hasTreeStructure(e))return;const r=n.getParent(t,e);return r?po(r):void 0}getChildrenData(t){const e=this.getElementType(t)==="node"?Me:ne,{model:n}=this;return!n.hasNode(t)||!n.hasTreeStructure(e)?[]:n.getChildren(t,e).map(po)}getElementsDataByType(t){return t==="node"?this.getNodeData():t==="edge"?this.getEdgeData():t==="combo"?this.getComboData():[]}getElementDataById(t){return this.getElementType(t)==="edge"?this.getEdgeDatum(t):this.getNodeLikeDatum(t)}getNodeLikeDatum(t){const e=this.model.getNode(t);return po(e)}getNodeLikeData(t){return this.model.getAllNodes().reduce((e,n)=>{const r=po(n);return t?t.includes(dn(r))&&e.push(r):e.push(r),e},[])}getElementDataByState(t,e){return this.getElementsDataByType(t).filter(r=>{var o;return(o=r.states)===null||o===void 0?void 0:o.includes(e)})}getElementState(t){var e;return((e=this.getElementDataById(t))===null||e===void 0?void 0:e.states)||[]}hasNode(t){return this.model.hasNode(t)&&!this.isCombo(t)}hasEdge(t){return this.model.hasEdge(t)}hasCombo(t){return this.model.hasNode(t)&&this.isCombo(t)}getRelatedEdgesData(t,e="both"){return this.model.getRelatedEdges(t,e).map(po)}getNeighborNodesData(t){return this.model.getNeighbors(t).map(po)}setData(t){const{nodes:e=[],edges:n=[],combos:r=[]}=t,{nodes:o,edges:u,combos:v}=this.getData(),S=Lt(o,e,$=>dn($),Fl),C=Lt(u,n,$=>dn($),Fl),T=Lt(v,r,$=>dn($),Fl);this.batch(()=>{this.addData({nodes:S.enter,edges:C.enter,combos:T.enter}),this.updateData({nodes:S.update,edges:C.update,combos:T.update}),this.removeData({nodes:S.exit.map(dn),edges:C.exit.map(dn),combos:T.exit.map(dn)})})}addData(t){const{nodes:e,edges:n,combos:r}=t;this.batch(()=>{this.addComboData(r),this.addNodeData(e),this.addEdgeData(n)})}addNodeData(t=[]){t.length&&(this.model.addNodes(t.map(e=>(this.pushChange({value:e,type:jt.NodeAdded}),Qd(e)))),this.updateNodeLikeHierarchy(t))}addEdgeData(t=[]){t.length&&this.model.addEdges(t.map(e=>(this.pushChange({value:e,type:jt.EdgeAdded}),Qd(e))))}addComboData(t=[]){if(!t.length)return;const{model:e}=this;e.hasTreeStructure(ne)||e.attachTreeStructure(ne),e.addNodes(t.map(n=>(this.comboIds.add(dn(n)),this.pushChange({value:n,type:jt.ComboAdded}),Qd(n)))),this.updateNodeLikeHierarchy(t)}addChildrenData(t,e){const n=this.getNodeLikeDatum(t),r=e.map(dn);this.addNodeData(e),this.updateNodeData([{id:t,children:[...n.children||[],...r]}]),this.addEdgeData(r.map(o=>({source:t,target:o})))}updateNodeLikeHierarchy(t){if(!this.enableUpdateNodeLikeHierarchy)return;const{model:e}=this;t.forEach(n=>{const r=dn(n);Et(n)&&(e.hasTreeStructure(ne)||e.attachTreeStructure(ne),this.setParent(r,Et(n),ne));const u=n.children||[];if(u.length){e.hasTreeStructure(Me)||e.attachTreeStructure(Me);const v=u.filter(S=>e.hasNode(S));v.forEach(S=>this.setParent(S,r,Me)),v.length!==u.length&&this.updateNodeData([{id:r,children:v}])}})}preventUpdateNodeLikeHierarchy(t){this.enableUpdateNodeLikeHierarchy=!1,t(),this.enableUpdateNodeLikeHierarchy=!0}updateData(t){const{nodes:e,edges:n,combos:r}=t;this.batch(()=>{this.updateNodeData(e),this.updateComboData(r),this.updateEdgeData(n)})}updateNodeData(t=[]){if(!t.length)return;const{model:e}=this;this.batch(()=>{const n=[];t.forEach(r=>{const o=dn(r),u=po(e.getNode(o));if(Fl(u,r))return;const v=Ws(u,r);this.pushChange({value:v,original:u,type:jt.NodeUpdated}),e.mergeNodeData(o,v),n.push(v)}),this.updateNodeLikeHierarchy(n)})}refreshData(){const{nodes:t,edges:e,combos:n}=this.getData();t.forEach(r=>{this.pushChange({value:r,original:r,type:jt.NodeUpdated})}),e.forEach(r=>{this.pushChange({value:r,original:r,type:jt.EdgeUpdated})}),n.forEach(r=>{this.pushChange({value:r,original:r,type:jt.ComboUpdated})})}syncNodeDatum(t){const{model:e}=this,n=dn(t),r=po(e.getNode(n)),o=Ws(r,t);e.mergeNodeData(n,o)}updateEdgeData(t=[]){if(!t.length)return;const{model:e}=this;this.batch(()=>{t.forEach(n=>{const r=dn(n),o=po(e.getEdge(r));if(Fl(o,n))return;n.source&&o.source!==n.source&&e.updateEdgeSource(r,n.source),n.target&&o.target!==n.target&&e.updateEdgeTarget(r,n.target);const u=Ws(o,n);this.pushChange({value:u,original:o,type:jt.EdgeUpdated}),e.mergeEdgeData(r,u)})})}updateComboData(t=[]){if(!t.length)return;const{model:e}=this;e.batch(()=>{const n=[];t.forEach(r=>{const o=dn(r),u=po(e.getNode(o));if(Fl(u,r))return;const v=Ws(u,r);this.pushChange({value:v,original:u,type:jt.ComboUpdated}),e.mergeNodeData(o,v),n.push(v)}),this.updateNodeLikeHierarchy(n)})}setParent(t,e,n,r=!0){var o;if(t===e)return;const u=this.getNodeLikeDatum(t),v=Et(u);if(e){const S=this.getNodeLikeDatum(e);if(((o=S.style)===null||o===void 0?void 0:o.zIndex)!==void 0){const C=(0,la.Z)(S,["style","zIndex"],0)+(this.isCombo(e)?1:0);(0,ao.Z)(u,["style","zIndex"],C)}}if(v!==e&&n===ne){const S={id:t,combo:e};this.isCombo(t)?this.syncComboDatum(S):this.syncNodeDatum(S)}this.model.setParent(t,e,n),r&&n===ne&&(0,$v.Z)([v,e]).forEach(S=>{S!==void 0&&this.refreshComboData(S)})}refreshComboData(t){const e=this.getComboData([t])[0],n=this.getAncestorsData(t,ne);e&&this.pushChange({value:e,original:e,type:jt.ComboUpdated}),n.forEach(r=>{this.pushChange({value:r,original:r,type:jt.ComboUpdated})})}syncComboDatum(t){const{model:e}=this,n=dn(t);if(!e.hasNode(n))return;const r=po(e.getNode(n)),o=Ws(r,t);e.mergeNodeData(n,o)}getElementPosition(t){const e=this.getElementDataById(t);return ar(e)}translateNodeLikeBy(t,e){this.isCombo(t)?this.translateComboBy(t,e):this.translateNodeBy(t,e)}translateNodeLikeTo(t,e){this.isCombo(t)?this.translateComboTo(t,e):this.translateNodeTo(t,e)}translateNodeBy(t,e){const n=this.getElementPosition(t),r=rt(n,[...e,0].slice(0,3));this.translateNodeTo(t,r)}translateNodeTo(t,e){const[n=0,r=0,o=0]=e;this.preventUpdateNodeLikeHierarchy(()=>{this.updateNodeData([{id:t,style:{x:n,y:r,z:o}}])})}translateComboBy(t,e){const[n=0,r=0,o=0]=e;if([n,r,o].some(isNaN)||[n,r,o].every(S=>S===0))return;const u=this.getComboData([t])[0];if(!u)return;const v=new Set;Ha(u,S=>{const C=dn(S);if(v.has(C))return;v.add(C);const[T,$,lt]=ar(S),vt=Ws(S,{style:{x:T+n,y:$+r,z:lt+o}});this.pushChange({value:vt,original:S,type:this.isCombo(C)?jt.ComboUpdated:jt.NodeUpdated}),this.model.mergeNodeData(C,vt)},S=>this.getChildrenData(dn(S)),"BT")}translateComboTo(t,e){var n;if(e.some(isNaN))return;const[r=0,o=0,u=0]=e,v=(n=this.getComboData([t]))===null||n===void 0?void 0:n[0];if(!v)return;const[S,C,T]=ar(v),$=r-S,lt=o-C,vt=u-T;Ha(v,Gt=>{const ee=dn(Gt),[ve,ke,Fe]=ar(Gt),Xe=Ws(Gt,{style:{x:ve+$,y:ke+lt,z:Fe+vt}});this.pushChange({value:Xe,original:Gt,type:this.isCombo(ee)?jt.ComboUpdated:jt.NodeUpdated}),this.model.mergeNodeData(ee,Xe)},Gt=>this.getChildrenData(dn(Gt)),"BT")}removeData(t){const{nodes:e,edges:n,combos:r}=t;this.batch(()=>{this.removeEdgeData(n),this.removeNodeData(e),this.removeComboData(r),this.latestRemovedComboIds=new Set(r)})}removeNodeData(t=[]){t.length&&this.batch(()=>{t.forEach(e=>{this.removeEdgeData(this.getRelatedEdgesData(e).map(dn)),this.pushChange({value:this.getNodeData([e])[0],type:jt.NodeRemoved}),this.removeNodeLikeHierarchy(e)}),this.model.removeNodes(t)})}removeEdgeData(t=[]){t.length&&(t.forEach(e=>this.pushChange({value:this.getEdgeData([e])[0],type:jt.EdgeRemoved})),this.model.removeEdges(t))}removeComboData(t=[]){t.length&&this.batch(()=>{t.forEach(e=>{this.pushChange({value:this.getComboData([e])[0],type:jt.ComboRemoved}),this.removeNodeLikeHierarchy(e),this.comboIds.delete(e)}),this.model.removeNodes(t)})}removeNodeLikeHierarchy(t){if(this.model.hasTreeStructure(ne)){const e=Et(this.getNodeLikeDatum(t));this.setParent(t,void 0,ne,!1),this.model.getChildren(t,ne).forEach(n=>{const r=po(n),o=dn(r);this.setParent(dn(r),e,ne,!1);const u=Ws(r,{id:dn(r),combo:e});this.pushChange({value:u,original:r,type:this.isCombo(o)?jt.ComboUpdated:jt.NodeUpdated}),this.model.mergeNodeData(dn(r),u)}),(0,ra.Z)(e)||this.refreshComboData(e)}}getElementType(t){if(this.model.hasNode(t))return this.isCombo(t)?"combo":"node";if(this.model.hasEdge(t))return"edge";throw new Error(wt(`Unknown element type of id: ${t}`))}destroy(){const{model:t}=this,e=t.getAllNodes(),n=t.getAllEdges();t.removeEdges(n.map(r=>r.id)),t.removeNodes(e.map(r=>r.id)),this.context={}}}var _u=function(i,t,e,n){function r(o){return o instanceof e?o:new e(function(u){u(o)})}return new(e||(e=Promise))(function(o,u){function v(T){try{C(n.next(T))}catch($){u($)}}function S(T){try{C(n.throw(T))}catch($){u($)}}function C(T){T.done?o(T.value):r(T.value).then(v,S)}C((n=n.apply(i,t||[])).next())})};class Uv{constructor(t){this.elementMap={},this.shapeTypeMap={},this.paletteStyle={},this.defaultStyle={},this.stateStyle={},this.visibilityCache=new WeakMap,this.context=t}init(){if(!this.container){const{canvas:t}=this.context;this.container=t.appendChild(new nt.ZA({className:"elements"}))}}emit(t,e){e.silence||Eo(this.context.graph,t)}forEachElementData(t){ja.forEach(e=>{const n=this.context.model.getElementsDataByType(e);t(e,n)})}getElementType(t,e){var n;const{options:r,graph:o}=this.context,u=((n=r[t])===null||n===void 0?void 0:n.type)||e.type;return u?typeof u=="string"?u:u.call(o,e):t==="edge"?"line":"circle"}getTheme(t){return le(this.context.options)[t]||{}}getThemeStyle(t){return this.getTheme(t).style||{}}getThemeStateStyle(t,e){const{state:n={}}=this.getTheme(t);return Object.assign({},...e.map(r=>n[r]||{}))}computePaletteStyle(){const{options:t}=this.context;this.paletteStyle={},this.forEachElementData((e,n)=>{var r,o;const u=Object.assign({},ss((r=this.getTheme(e))===null||r===void 0?void 0:r.palette),ss((o=t[e])===null||o===void 0?void 0:o.palette));u!=null&&u.field&&Object.assign(this.paletteStyle,so(n,u))})}getPaletteStyle(t,e){const n=this.paletteStyle[e];return n?t==="edge"?{stroke:n}:{fill:n}:{}}computeElementDefaultStyle(t,e){var n;const{options:r}=this.context,o=((n=r[t])===null||n===void 0?void 0:n.style)||{};"transform"in o&&Array.isArray(o.transform)&&(o.transform=[...o.transform]),this.defaultStyle[dn(e.datum)]=pa(o,e)}computeElementsDefaultStyle(t){const{graph:e}=this.context;this.forEachElementData((n,r)=>{const o=r.length;for(let u=0;uthis.getElementStateStyle(t,r,n)))}computeElementsStatesStyle(t){const{graph:e}=this.context;this.forEachElementData((n,r)=>{const o=r.length;for(let u=0;uthis.elementMap[t])}getEdges(){return this.context.model.getEdgeData().map(t=>this.elementMap[dn(t)])}getCombos(){return this.context.model.getComboData().map(({id:t})=>this.elementMap[t])}getElementComputedStyle(t,e){const n=dn(e),r=this.getThemeStyle(t),o=this.getPaletteStyle(t,n),u=e.style||{},v=this.getDefaultStyle(n),S=this.getThemeStateStyle(t,this.getElementState(n)),C=this.getStateStyle(n),T=Object.assign({},r,o,u,v,S,C);if(t==="combo"){const $=this.context.model.getChildrenData(n),vt=!!T.collapsed?[]:$.map(dn).filter(Gt=>this.getElement(Gt));Object.assign(T,{childrenNode:vt,childrenData:$})}return T}draw(t={animation:!0}){this.init();const e=this.computeChangesAndDrawData(t);if(!e)return null;const{dataChanges:n,drawData:r}=e;this.markDestroyElement(r),this.computeStyle(t.stage);const{add:o,update:u,remove:v}=r;this.destroyElements(v,t),this.createElements(o,t),this.updateElements(u,t);const{animation:S,silence:C}=t,{type:T="draw"}=t;return this.context.animation.animate(S,C?{}:{before:()=>this.emit(new go(Te.BEFORE_DRAW,{dataChanges:n,animation:S,render:T==="render"}),t),beforeAnimate:$=>this.emit(new as(Te.BEFORE_ANIMATE,Pt.DRAW,$,r),t),afterAnimate:$=>this.emit(new as(Te.AFTER_ANIMATE,Pt.DRAW,$,r),t),after:()=>this.emit(new go(Te.AFTER_DRAW,{dataChanges:n,animation:S,render:T==="render"}),t)})}computeChangesAndDrawData(t){const{model:e}=this.context,n=e.getChanges(),r=Hd(n);if(r.length===0)return null;const{NodeAdded:o=[],NodeUpdated:u=[],NodeRemoved:v=[],EdgeAdded:S=[],EdgeUpdated:C=[],EdgeRemoved:T=[],ComboAdded:$=[],ComboUpdated:lt=[],ComboRemoved:vt=[]}=(0,Dt.Z)(r,ke=>ke.type),Gt=ke=>new Map(ke.map(Fe=>{const Xe=Fe.value;return[dn(Xe),Xe]})),ee={add:{nodes:Gt(o),edges:Gt(S),combos:Gt($)},update:{nodes:Gt(u),edges:Gt(C),combos:Gt(lt)},remove:{nodes:Gt(v),edges:Gt(T),combos:Gt(vt)}},ve=this.transformData(ee,t);return e.clearChanges(),{dataChanges:n,drawData:ve}}transformData(t,e){const n=this.context.transform.getTransformInstance();return Object.values(n).reduce((r,o)=>o.beforeDraw(r,e),t)}createElement(t,e,n){var r,o;const u=dn(e);if(this.getElement(u))return;const S=this.getElementType(t,e),C=this.getElementComputedStyle(t,e),T=be(t,S);if(!T)return ot.warn(`The element ${S} of ${t} is not registered.`);if(this.emit(new Bl(Te.BEFORE_ELEMENT_CREATE,t,e),n),n.stage==="expand"){const vt=this.getElementZIndex(n.target);(!C.zIndex||C.zIndex{var vt;this.emit(new Bl(Te.AFTER_ELEMENT_CREATE,t,e),n),(vt=$.onCreate)===null||vt===void 0||vt.call($)}})}createElements(t,e){const{nodes:n,edges:r,combos:o}=t;[["node",n],["combo",o],["edge",r]].forEach(([v,S])=>{S.forEach(C=>this.createElement(v,C,e))})}getUpdateStageStyle(t,e,n){const{stage:r="update"}=n;if(r==="translate")if(t==="node"||t==="combo"){const{style:{x:o=0,y:u=0,z:v=0}={}}=e;return{x:o,y:u,z:v}}else return{};return this.getElementComputedStyle(t,e)}updateElement(t,e,n){var r;const o=dn(e),{stage:u="update"}=n,v=this.getElement(o);if(!v)return()=>null;this.emit(new Bl(Te.BEFORE_ELEMENT_UPDATE,t,e),n);const S=this.getElementType(t,e),C=this.getUpdateStageStyle(t,e,n);this.shapeTypeMap[o]!==S&&(v.destroy(),delete this.shapeTypeMap[o],delete this.elementMap[o],this.createElement(t,e,{animation:!1,silence:!0}));const T=u!=="visibility"?u:C.visibility==="hidden"?"hide":"show";T==="hide"&&delete C.visibility,(r=this.context.animation)===null||r===void 0||r.add({element:v,elementType:t,stage:T,originalStyle:Object.assign({},v.attributes),modifiedStyle:Object.assign(Object.assign({},v.attributes),C)},{before:()=>{const $=this.elementMap[o];u!=="collapse"&&vs($,C),u==="visibility"&&(_v($,"opacity")||kv($,"opacity"),this.visibilityCache.set($,T==="show"?"visible":"hidden"),T==="show"&&K($,"visible"))},after:()=>{var $;const lt=this.elementMap[o];u==="collapse"&&vs(lt,C),T==="hide"&&K(lt,this.visibilityCache.get(lt)),this.emit(new Bl(Te.AFTER_ELEMENT_UPDATE,t,e),n),($=lt.onUpdate)===null||$===void 0||$.call(lt)}})}updateElements(t,e){const{nodes:n,edges:r,combos:o}=t;[["node",n],["combo",o],["edge",r]].forEach(([v,S])=>{S.forEach(C=>this.updateElement(v,C,e))})}markDestroyElement(t){Object.values(t.remove).forEach(e=>{e.forEach(n=>{const r=dn(n),o=this.getElement(r);o&&yo(o)})})}destroyElement(t,e,n){var r;const{stage:o="exit"}=n,u=dn(e),v=this.elementMap[u];if(!v)return()=>null;this.emit(new Bl(Te.BEFORE_ELEMENT_DESTROY,t,e),n),(r=this.context.animation)===null||r===void 0||r.add({element:v,elementType:t,stage:o,originalStyle:Object.assign({},v.attributes),modifiedStyle:Object.assign({},v.attributes)},{after:()=>{var S;this.clearElement(u),v.destroy(),(S=v.onDestroy)===null||S===void 0||S.call(v),this.emit(new Bl(Te.AFTER_ELEMENT_DESTROY,t,e),n)}})}destroyElements(t,e){const{nodes:n,edges:r,combos:o}=t;[["combo",o],["edge",r],["node",n]].forEach(([v,S])=>{S.forEach(C=>this.destroyElement(v,C,e))})}clearElement(t){delete this.paletteStyle[t],delete this.defaultStyle[t],delete this.stateStyle[t],delete this.elementMap[t],delete this.shapeTypeMap[t]}collapseNode(t,e){return _u(this,void 0,void 0,function*(){var n;const{model:r,layout:o}=this.context,u=this.computeChangesAndDrawData({stage:"collapse",animation:e});if(!u)return;this.markDestroyElement(u.drawData);const v=yield o.simulate();r.updateData(v);const S=this.computeChangesAndDrawData({stage:"collapse",animation:e});if(!S)return;const{drawData:C}=S,{add:T,remove:$,update:lt}=C;this.markDestroyElement(C);const vt={animation:e,stage:"collapse",data:C};this.destroyElements($,vt),this.createElements(T,vt),this.updateElements(lt,vt),yield(n=this.context.animation.animate(e,{beforeAnimate:Gt=>this.emit(new as(Te.BEFORE_ANIMATE,Pt.COLLAPSE,Gt,C),vt),afterAnimate:Gt=>this.emit(new as(Te.AFTER_ANIMATE,Pt.COLLAPSE,Gt,C),vt)},{collapse:{target:t,descendants:Array.from($.nodes).map(([,Gt])=>dn(Gt)),position:ar(lt.nodes.get(t))}}))===null||n===void 0?void 0:n.finished})}expandNode(t,e){return _u(this,void 0,void 0,function*(){var n;const{model:r,layout:o}=this.context;if(!r.getAncestorsData(t,ne).every(Gt=>ha(Gt)))return;const u=ar(r.getNodeData([t])[0]),v=this.computeChangesAndDrawData({stage:"expand",animation:e});if(!v)return;const{drawData:{add:S}}=v;this.createElements(S,{animation:!1,stage:"expand",target:t}),this.context.animation.clear();const C=yield o.simulate();r.updateData(C),this.computeStyle("expand");const T=this.computeChangesAndDrawData({stage:"collapse",animation:e});if(!T)return;const{drawData:$}=T,{update:lt}=$,vt={animation:e,stage:"expand",data:$};S.edges.forEach(Gt=>lt.edges.set(dn(Gt),Gt)),S.nodes.forEach(Gt=>lt.nodes.set(dn(Gt),Gt)),this.updateElements(lt,vt),yield(n=this.context.animation.animate(e,{beforeAnimate:Gt=>this.emit(new as(Te.BEFORE_ANIMATE,Pt.EXPAND,Gt,$),vt),afterAnimate:Gt=>this.emit(new as(Te.AFTER_ANIMATE,Pt.EXPAND,Gt,$),vt)},{expand:{target:t,descendants:Array.from(S.nodes).map(([,Gt])=>dn(Gt)),position:u}}))===null||n===void 0?void 0:n.finished})}collapseCombo(t,e){return _u(this,void 0,void 0,function*(){var n;const{model:r,element:o}=this.context;if(r.getAncestorsData(t,ne).some(ee=>ha(ee)))return;const u=o.getElement(t),v=u.getComboPosition(Object.assign(Object.assign({},u.attributes),{collapsed:!0})),S=this.computeChangesAndDrawData({stage:"collapse",animation:e});if(!S)return;const{dataChanges:C,drawData:T}=S;this.markDestroyElement(T);const{update:$,remove:lt}=T,vt={animation:e,stage:"collapse",data:T};this.destroyElements(lt,vt),this.updateElements($,vt);const Gt=ee=>Array.from(ee).map(([,ve])=>dn(ve));yield(n=this.context.animation.animate(e,{before:()=>this.emit(new go(Te.BEFORE_DRAW,{dataChanges:C,animation:e}),vt),beforeAnimate:ee=>this.emit(new as(Te.BEFORE_ANIMATE,Pt.COLLAPSE,ee,T),vt),afterAnimate:ee=>this.emit(new as(Te.AFTER_ANIMATE,Pt.COLLAPSE,ee,T),vt),after:()=>this.emit(new go(Te.AFTER_DRAW,{dataChanges:C,animation:e}),vt)},{collapse:{target:t,descendants:[...Gt(lt.nodes),...Gt(lt.combos)],position:v}}))===null||n===void 0?void 0:n.finished})}expandCombo(t,e){return _u(this,void 0,void 0,function*(){var n;const{model:r}=this.context,o=ar(r.getComboData([t])[0]);this.computeStyle("expand");const u=this.computeChangesAndDrawData({stage:"expand",animation:e});if(!u)return;const{dataChanges:v,drawData:S}=u,{add:C,update:T}=S,$={animation:e,stage:"expand",data:S,target:t};this.createElements(C,$),this.updateElements(T,$);const lt=vt=>Array.from(vt).map(([,Gt])=>dn(Gt));yield(n=this.context.animation.animate(e,{before:()=>this.emit(new go(Te.BEFORE_DRAW,{dataChanges:v,animation:e}),$),beforeAnimate:vt=>this.emit(new as(Te.BEFORE_ANIMATE,Pt.EXPAND,vt,S),$),afterAnimate:vt=>this.emit(new as(Te.AFTER_ANIMATE,Pt.EXPAND,vt,S),$),after:()=>this.emit(new go(Te.AFTER_DRAW,{dataChanges:v,animation:e}),$)},{expand:{target:t,descendants:[...lt(C.nodes),...lt(C.combos)],position:o}}))===null||n===void 0?void 0:n.finished})}getFrontZIndex(t){const{model:e}=this.context,n=e.getElementType(t),r=e.getElementDataById(t),o=e.getData();if(Object.assign(o,{[`${n}s`]:o[`${n}s`].filter(u=>dn(u)!==t)}),n==="combo"&&!ha(r)){const u=e.getAncestorsData(t,ne).map(dn);o.nodes=o.nodes.filter(v=>!u.includes(dn(v))),o.combos=o.combos.filter(v=>!u.includes(dn(v))),o.edges=o.edges.filter(({source:v,target:S})=>u.includes(v)&&u.includes(S))}return Math.max(0,...Object.values(o).flat().map(u=>{const v=dn(u);return this.getElementZIndex(v)}))+1}destroy(){this.container.destroy(),this.elementMap={},this.shapeTypeMap={},this.defaultStyle={},this.stateStyle={},this.paletteStyle={},this.context={}}}var zf=d(96262);class Hv extends Ud.Z{constructor(t,e,n){super(),this.graph=t,this.layout=e,this.options=n,this.spawnWorker()}spawnWorker(){this.proxy=zf.Ud(new Worker(new URL(d.p+d.u(8556),d.b),{type:void 0})),this.running&&(this.running=!1,this.execute())}execute(){var t;return(0,pi.mG)(this,void 0,void 0,function*(){if(this.running)return this;this.running=!0;const e=this.layout.options,{onTick:n}=e,r=(0,pi._T)(e,["onTick"]),o={};Object.keys(r).forEach(C=>{(0,Rt.Z)(r[C])||(o[C]=r[C])});const u={layout:{id:this.layout.id,options:o,iterations:(t=this.options)===null||t===void 0?void 0:t.iterations},nodes:this.graph.getAllNodes(),edges:this.graph.getAllEdges()},v=new Float32Array([0]),[S]=yield this.proxy.calculateLayout(u,[v]);return S})}stop(){return this.running=!1,this.proxy.stopLayout(),this}kill(){this.proxy[zf.Yy]()}isRunning(){return this.running}}var wc=function(i,t,e,n){function r(o){return o instanceof e?o:new e(function(u){u(o)})}return new(e||(e=Promise))(function(o,u){function v(T){try{C(n.next(T))}catch($){u($)}}function S(T){try{C(n.throw(T))}catch($){u($)}}function C(T){T.done?o(T.value):r(T.value).then(v,S)}C((n=n.apply(i,t||[])).next())})},Yv=function(i,t){var e={};for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&t.indexOf(n)<0&&(e[n]=i[n]);if(i!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,n=Object.getOwnPropertySymbols(i);re.afterLayout())}simulate(){return wc(this,void 0,void 0,function*(){if(!this.options)return{};const t=Array.isArray(this.options)?this.options:[this.options];let e={};for(const n of t){const r=t.indexOf(n),o=this.getLayoutData(n);e=yield this.stepLayout(o,Object.assign(Object.assign(Object.assign({},this.presetOptions),n),{animation:!1}),r)}return e})}stepLayout(t,e,n){return wc(this,void 0,void 0,function*(){return Wu(e)?yield this.treeLayout(t,e,n):yield this.graphLayout(t,e,n)})}graphLayout(t,e,n){return wc(this,void 0,void 0,function*(){const{animation:r,enableWorker:o,iterations:u=300}=e,v=this.initGraphLayout(e);if(!v)return{};if(this.instances[n]=v,this.instance=v,o){const C=v;return this.supervisor=new Hv(C.graphData2LayoutModel(t),C.instance,{iterations:u}),ul(yield this.supervisor.execute())}if(Al(v))return r?yield v.execute(t,{onTick:C=>{this.updateElementPosition(C,!1)}}):(v.execute(t),v.stop(),v.tick(u));const S=yield v.execute(t);if(r){const C=this.updateElementPosition(S,r);yield C==null?void 0:C.finished}return S})}treeLayout(t,e,n){return wc(this,void 0,void 0,function*(){const{type:r,animation:o}=e,u=be("layout",r);if(!u)return{};const{nodes:v=[],edges:S=[]}=t,C=new Qa.k({nodes:v.map(Gt=>({id:dn(Gt),data:Gt.data||{}})),edges:S.map(Gt=>({id:dn(Gt),source:Gt.source,target:Gt.target,data:Gt.data||{}}))});Gv(C);const T={nodes:[],edges:[]},$={nodes:[],edges:[]};C.getRoots(Me).forEach(Gt=>{Ha(Gt,Xe=>{Xe.children=C.getSuccessors(Xe.id)},Xe=>C.getSuccessors(Xe.id),"TB");const ee=u(Gt,e),{x:ve,y:ke,z:Fe=0}=ee;Ha(ee,Xe=>{const{id:cn,x:jn,y:Ln,z:kn=0}=Xe;T.nodes.push({id:cn,style:{x:ve,y:ke,z:Fe}}),$.nodes.push({id:cn,style:{x:jn,y:Ln,z:kn}})},Xe=>Xe.children,"TB")});const vt=this.inferTreeLayoutOffset($);if(jf($,vt),o){jf(T,vt),this.updateElementPosition(T,!1);const Gt=this.updateElementPosition($,o);yield Gt==null?void 0:Gt.finished}return $})}inferTreeLayoutOffset(t){var e;let[n,r]=[1/0,-1/0],[o,u]=[1/0,-1/0];(e=t.nodes)===null||e===void 0||e.forEach(ee=>{const{x:ve=0,y:ke=0}=ee.style||{};n=Math.min(n,ve),r=Math.max(r,ve),o=Math.min(o,ke),u=Math.max(u,ke)});const{canvas:v}=this.context,S=v.getSize(),[C,T]=v.getCanvasByViewport([0,0]),[$,lt]=v.getCanvasByViewport(S);if(n>=C&&r<=$&&o>=T&&u<=lt)return[0,0];const vt=(C+$)/2,Gt=(T+lt)/2;return[vt-(n+r)/2,Gt-(o+u)/2]}stopLayout(){this.instance&&Al(this.instance)&&(this.instance.stop(),this.instance=void 0),this.supervisor&&(this.supervisor.stop(),this.supervisor=void 0),this.animationResult&&(this.animationResult.finish(),this.animationResult=void 0)}getLayoutData(t){const{nodeFilter:e=()=>!0}=t,{nodes:n,edges:r,combos:o}=this.context.model.getData(),u=T=>this.context.element.getElement(T),v=n.filter(T=>{const $=dn(T),lt=u($);return!lt||Ea(lt)?!1:e(T)}),S=new Map(v.map(T=>[dn(T),T])),C=r.filter(T=>{const{source:$,target:lt}=T;return!(!S.has($)||!S.has(lt))});return{nodes:v,edges:C,combos:o}}initGraphLayout(t){var e;const{element:n,viewport:r}=this.context,{type:o,enableWorker:u,animation:v,iterations:S}=t,C=Yv(t,["type","enableWorker","animation","iterations"]),[T,$]=r.getCanvasSize(),lt=[T/2,$/2],vt=(e=t==null?void 0:t.nodeSize)!==null&&e!==void 0?e:Fe=>{const Xe=n==null?void 0:n.getElement(Fe.id),{size:cn}=(Xe==null?void 0:Xe.attributes)||{};return Math.max(...wi(cn))},Gt=be("layout",o);if(!Gt)return ot.warn(`The layout of ${o} is not registered.`);const ee=Object.getPrototypeOf(Gt.prototype)===Pc.prototype?Gt:ns(Gt,this.context),ve=new ee(this.context),ke={nodeSize:vt,width:T,height:$,center:lt};switch(ve.id){case"d3-force":case"d3-force-3d":Object.assign(ke,{center:{x:T/2,y:$/2,z:0}});break;default:break}return(0,dt.Z)(ve.options,ke,C),ve}updateElementPosition(t,e){const{model:n,element:r}=this.context;return r?(n.updateData(t),r.draw({animation:e,silence:!0})):null}destroy(){var t;this.stopLayout(),this.context={},(t=this.supervisor)===null||t===void 0||t.kill(),this.supervisor=void 0,this.instance=void 0,this.instances=[],this.animationResult=void 0}}const jf=(i,t)=>{var e;const[n,r]=t;(e=i.nodes)===null||e===void 0||e.forEach(o=>{if(o.style){const{x:u=0,y:v=0}=o.style;o.style.x=u+n,o.style.y=v+r}else o.style={x:n,y:r}})};class Kv extends mt{constructor(t){super(t),this.category="plugin",this.setPlugins(this.context.options.plugins||[])}setPlugins(t){this.setExtensions(t)}getPluginInstance(t){const e=this.extensionMap[t];if(e)return e;ot.warn(`Cannot find the plugin ${t}, will try to find it by type.`);const n=this.extensions.find(r=>r.type===t);if(n)return this.extensionMap[n.key]}}const Bu=["update-related-edges","collapse-expand-node","collapse-expand-combo","get-edge-actual-ends","arrange-draw-order"];class Qv extends mt{constructor(t){super(t),this.category="transform",this.setTransforms(this.context.options.transforms||[])}getTransforms(){}setTransforms(t){this.setExtensions([...Bu.slice(0,Bu.length-1),...t,Bu[Bu.length-1]])}getTransformInstance(t){return t?this.extensionMap[t]:this.extensionMap}}var Sc=function(i,t,e,n){function r(o){return o instanceof e?o:new e(function(u){u(o)})}return new(e||(e=Promise))(function(o,u){function v(T){try{C(n.next(T))}catch($){u($)}}function S(T){try{C(n.throw(T))}catch($){u($)}}function C(T){T.done?o(T.value):r(T.value).then(v,S)}C((n=n.apply(i,t||[])).next())})};class Jv{get padding(){return Ue(this.context.options.padding)}get paddingOffset(){const[t,e,n,r]=this.padding,[o,u,v]=[(r-e)/2,(t-n)/2,0];return[o,u,v]}constructor(t){this.landmarkCounter=0,this.context=t;const[e,n]=this.paddingOffset,{zoom:r,rotation:o,x:u=e,y:v=n}=t.options;this.transform({mode:"absolute",scale:r,translate:[u,v],rotate:o},!1)}get camera(){const{canvas:t}=this.context;return new Proxy(t.getCamera(),{get:(e,n)=>{const o=Object.entries(t.getLayers()).filter(([v])=>!["main"].includes(v)).map(([,v])=>v.getCamera()),u=e[n];if(typeof u=="function")return(...v)=>{const S=u.apply(e,v);return o.forEach(C=>{C[n].apply(C,v)}),S}}})}createLandmark(t){return this.camera.createLandmark(`landmark-${this.landmarkCounter++}`,t)}getAnimation(t){const e=Ie(this.context.options,t);return e?(0,Wo.Z)(Object.assign({},e),["easing","duration"]):!1}getCanvasSize(){const{canvas:t}=this.context,{width:e=0,height:n=0}=t.getConfig();return[e,n]}getCanvasCenter(){const{canvas:t}=this.context,{width:e=0,height:n=0}=t.getConfig();return[e/2,n/2,0]}getViewportCenter(){const[t,e]=this.camera.getPosition();return[t,e,0]}getGraphCenter(){return this.context.graph.getViewportByCanvas(this.getCanvasCenter())}getZoom(){return this.camera.getZoom()}getRotation(){return this.camera.getRoll()}getTranslateOptions(t){const{camera:e}=this,{mode:n,translate:r=[]}=t,o=this.getZoom(),u=e.getPosition(),v=e.getFocalPoint(),[S,C]=this.getCanvasCenter(),[T=0,$=0,lt=0]=r,vt=he([-T,-$,-lt],o);return n==="relative"?{position:rt(u,vt),focalPoint:rt(v,vt)}:{position:rt([S,C,u[2]],vt),focalPoint:rt([S,C,v[2]],vt)}}getRotateOptions(t){const{mode:e,rotate:n=0}=t;return{roll:e==="relative"?this.camera.getRoll()+n:n}}getZoomOptions(t){const{zoomRange:e}=this.context.options,n=this.camera.getZoom(),{mode:r,scale:o=1}=t;return(0,Ic.Z)(r==="relative"?n*o:o,...e)}transform(t,e){return Sc(this,void 0,void 0,function*(){const{graph:n}=this.context,{translate:r,rotate:o,scale:u,origin:v}=t;this.cancelAnimation();const S=this.getAnimation(e);if(Eo(n,new Du(Te.BEFORE_TRANSFORM,t)),!o&&u&&!r&&v&&!S){this.camera.setZoomByViewportPoint(this.getZoomOptions(t),v),Eo(n,new Du(Te.AFTER_TRANSFORM,t));return}const C={};if(r&&Object.assign(C,this.getTranslateOptions(t)),(0,Wr.Z)(o)&&Object.assign(C,this.getRotateOptions(t)),(0,Wr.Z)(u)&&Object.assign(C,{zoom:this.getZoomOptions(t)}),S)return Eo(n,new as(Te.BEFORE_ANIMATE,Pt.TRANSFORM,null,t)),new Promise(T=>{this.transformResolver=T,this.camera.gotoLandmark(this.createLandmark(C),Object.assign(Object.assign({},S),{onfinish:()=>{Eo(n,new as(Te.AFTER_ANIMATE,Pt.TRANSFORM,null,t)),Eo(n,new Du(Te.AFTER_TRANSFORM,t)),this.transformResolver=void 0,T()}}))});this.camera.gotoLandmark(this.createLandmark(C),{duration:0}),Eo(n,new Du(Te.AFTER_TRANSFORM,t))})}fitView(t,e){return Sc(this,void 0,void 0,function*(){const[n,r,o,u]=this.padding,{when:v="always",direction:S="both"}=t||{},[C,T]=this.context.canvas.getSize(),$=C-u-r,lt=T-n-o,vt=this.context.canvas.getBounds(),Gt=this.getBBoxInViewport(vt),[ee,ve]=Rn(Gt),ke=S==="x"&&ee>=$||S==="y"&&ve>=lt||S==="both"&&ee>=$&&ve>=lt;if(v==="overflow"&&!ke)return yield this.fitCenter(e);const Fe=$/ee,Xe=lt/ve,cn=S==="x"?Fe:S==="y"?Xe:Math.min(Fe,Xe),jn=this.getAnimation(e);yield this.transform({mode:"relative",scale:cn,translate:rt(Wt(this.getCanvasCenter(),this.getBBoxInViewport(vt).center),he(this.paddingOffset,cn))},jn)})}fitCenter(t){return Sc(this,void 0,void 0,function*(){const e=this.context.canvas.getBounds();yield this.focus(e,t)})}focusElements(t,e){return Sc(this,void 0,void 0,function*(){const{element:n}=this.context;if(!n)return;const r=Gn(t.map(o=>n.getElement(o).getRenderBounds()));yield this.focus(r,e)})}focus(t,e){return Sc(this,void 0,void 0,function*(){const n=this.context.graph.getViewportByCanvas(t.center),r=this.getCanvasCenter(),o=Wt(r,n);yield this.transform({mode:"relative",translate:rt(o,this.paddingOffset)},e)})}getBBoxInViewport(t){const{min:e,max:n}=t,{graph:r}=this.context,[o,u]=r.getViewportByCanvas(e),[v,S]=r.getViewportByCanvas(n),C=new nt.mN;return C.setMinMax([o,u,0],[v,S,0]),C}isInViewport(t,e=!1,n=0){const{graph:r}=this.context,o=this.getCanvasSize(),[u,v]=r.getCanvasByViewport([0,0]),[S,C]=r.getCanvasByViewport(o);let T=new nt.mN;return T.setMinMax([u,v,0],[S,C,0]),n&&(T=gr(T,n)),Be(t)?br(t,T):e?Or(t,T):T.intersects(t)}cancelAnimation(){var t,e;!((t=this.camera.landmarks)===null||t===void 0)&&t.length&&this.camera.cancelLandmarkAnimation(),(e=this.transformResolver)===null||e===void 0||e.call(this)}}var ma=function(i,t,e,n){function r(o){return o instanceof e?o:new e(function(u){u(o)})}return new(e||(e=Promise))(function(o,u){function v(T){try{C(n.next(T))}catch($){u($)}}function S(T){try{C(n.throw(T))}catch($){u($)}}function C(T){T.done?o(T.value):r(T.value).then(v,S)}C((n=n.apply(i,t||[])).next())})};class Jd extends Ud.Z{constructor(t){super(),this.destroyed=!1,this.context={model:new Vv},this.isCollapsingExpanding=!1,this.onResize=(0,ps.Z)(()=>{this.resize()},300),this.options=Object.assign({},Jd.defaultOptions,t),this._setOptions(this.options,!0),this.context.graph=this,this.options.autoResize&&window.addEventListener("resize",this.onResize)}getOptions(){return this.options}setOptions(t){this._setOptions(t,!1)}_setOptions(t,e){if(this.updateCanvas(t),e){const{data:lt}=t;lt&&this.addData(lt);return}Object.assign(this.options,t);const{behaviors:n,combo:r,data:o,edge:u,layout:v,node:S,plugins:C,theme:T,transforms:$}=t;n&&this.setBehaviors(n),o&&this.setData(o),S&&this.setNode(S),u&&this.setEdge(u),r&&this.setCombo(r),v&&this.setLayout(v),T&&this.setTheme(T),C&&this.setPlugins(C),$&&this.setTransforms($)}getSize(){return this.context.canvas?this.context.canvas.getSize():[this.options.width||0,this.options.height||0]}setSize(t,e){var n;Object.assign(this.options,{width:t,height:e}),(n=this.context.canvas)===null||n===void 0||n.resize(t,e)}setZoomRange(t){this.options.zoomRange=t}getZoomRange(){return this.options.zoomRange}setNode(t){this.options.node=t,this.context.model.refreshData()}setEdge(t){this.options.edge=t,this.context.model.refreshData()}setCombo(t){this.options.combo=t,this.context.model.refreshData()}getTheme(){return this.options.theme}setTheme(t){this.options.theme=(0,Rt.Z)(t)?t(this.getTheme()):t}setLayout(t){this.options.layout=(0,Rt.Z)(t)?t(this.getLayout()):t}getLayout(){return this.options.layout}setBehaviors(t){var e;this.options.behaviors=(0,Rt.Z)(t)?t(this.getBehaviors()):t,(e=this.context.behavior)===null||e===void 0||e.setBehaviors(this.options.behaviors)}updateBehavior(t){this.setBehaviors(e=>e.map(n=>typeof n=="object"&&n.key===t.key?Object.assign(Object.assign({},n),t):n))}getBehaviors(){return this.options.behaviors||[]}setPlugins(t){var e;this.options.plugins=(0,Rt.Z)(t)?t(this.getPlugins()):t,(e=this.context.plugin)===null||e===void 0||e.setPlugins(this.options.plugins)}updatePlugin(t){this.setPlugins(e=>e.map(n=>typeof n=="object"&&n.key===t.key?Object.assign(Object.assign({},n),t):n))}getPlugins(){return this.options.plugins||[]}getPluginInstance(t){return this.context.plugin.getPluginInstance(t)}setTransforms(t){var e;this.options.transforms=(0,Rt.Z)(t)?t(this.getTransforms()):t,(e=this.context.transform)===null||e===void 0||e.setTransforms(this.options.transforms)}updateTransform(t){this.setTransforms(e=>e.map(n=>typeof n=="object"&&n.key===t.key?Object.assign(Object.assign({},n),t):n)),this.context.model.refreshData()}getTransforms(){return this.options.transforms||[]}getData(){return this.context.model.getData()}getElementData(t){return Array.isArray(t)?t.map(e=>this.context.model.getElementDataById(e)):this.context.model.getElementDataById(t)}getNodeData(t){var e;return t===void 0?this.context.model.getNodeData():Array.isArray(t)?this.context.model.getNodeData(t):(e=this.context.model.getNodeData([t]))===null||e===void 0?void 0:e[0]}getEdgeData(t){var e;return t===void 0?this.context.model.getEdgeData():Array.isArray(t)?this.context.model.getEdgeData(t):(e=this.context.model.getEdgeData([t]))===null||e===void 0?void 0:e[0]}getComboData(t){var e;return t===void 0?this.context.model.getComboData():Array.isArray(t)?this.context.model.getComboData(t):(e=this.context.model.getComboData([t]))===null||e===void 0?void 0:e[0]}setData(t){this.context.model.setData((0,Rt.Z)(t)?t(this.getData()):t)}addData(t){this.context.model.addData((0,Rt.Z)(t)?t(this.getData()):t)}addNodeData(t){this.context.model.addNodeData((0,Rt.Z)(t)?t(this.getNodeData()):t)}addEdgeData(t){this.context.model.addEdgeData((0,Rt.Z)(t)?t(this.getEdgeData()):t)}addComboData(t){this.context.model.addComboData((0,Rt.Z)(t)?t(this.getComboData()):t)}addChildrenData(t,e){this.context.model.addChildrenData(t,e)}updateData(t){this.context.model.updateData((0,Rt.Z)(t)?t(this.getData()):t)}updateNodeData(t){this.context.model.updateNodeData((0,Rt.Z)(t)?t(this.getNodeData()):t)}updateEdgeData(t){this.context.model.updateEdgeData((0,Rt.Z)(t)?t(this.getEdgeData()):t)}updateComboData(t){this.context.model.updateComboData((0,Rt.Z)(t)?t(this.getComboData()):t)}removeData(t){this.context.model.removeData((0,Rt.Z)(t)?t(this.getData()):t)}removeNodeData(t){this.context.model.removeNodeData((0,Rt.Z)(t)?t(this.getNodeData()):t)}removeEdgeData(t){this.context.model.removeEdgeData((0,Rt.Z)(t)?t(this.getEdgeData()):t)}removeComboData(t){this.context.model.removeComboData((0,Rt.Z)(t)?t(this.getComboData()):t)}getElementType(t){return this.context.model.getElementType(t)}getRelatedEdgesData(t,e="both"){return this.context.model.getRelatedEdgesData(t,e)}getNeighborNodesData(t){return this.context.model.getNeighborNodesData(t)}getAncestorsData(t,e){return this.context.model.getAncestorsData(t,e)}getParentData(t,e){return this.context.model.getParentData(t,e)}getChildrenData(t){return this.context.model.getChildrenData(t)}getDescendantsData(t){return this.context.model.getDescendantsData(t)}getElementDataByState(t,e){return this.context.model.getElementDataByState(t,e)}initCanvas(){return ma(this,void 0,void 0,function*(){var t;if(this.context.canvas)return yield this.context.canvas.ready;const{container:e="container",width:n,height:r,renderer:o,cursor:u,background:v,devicePixelRatio:S=(t=window.devicePixelRatio)!==null&&t!==void 0?t:1}=this.options;if(e instanceof Bf)this.context.canvas=e,u&&e.setCursor(u),o&&e.setRenderer(o),yield e.ready;else{const C=(0,ta.Z)(e)?document.getElementById(e):e,T=gf(C);this.emit(Te.BEFORE_CANVAS_INIT,{container:C,width:n,height:r});const $=new Bf({container:C,width:n||T[0],height:r||T[1],background:v,renderer:o,cursor:u,devicePixelRatio:S});this.context.canvas=$,yield $.ready,this.emit(Te.AFTER_CANVAS_INIT,{canvas:$})}})}updateCanvas(t){var e,n;const{renderer:r,cursor:o,height:u,width:v}=t,S=this.context.canvas;S&&(r&&(this.emit(Te.BEFORE_RENDERER_CHANGE,{renderer:this.options.renderer}),S.setRenderer(r),this.emit(Te.AFTER_RENDERER_CHANGE,{renderer:r})),o&&S.setCursor(o),((0,Wr.Z)(v)||(0,Wr.Z)(u))&&this.setSize((e=v!=null?v:this.options.width)!==null&&e!==void 0?e:0,(n=u!=null?u:this.options.height)!==null&&n!==void 0?n:0))}initRuntime(){this.context.options=this.options,this.context.batch||(this.context.batch=new Zv(this.context)),this.context.plugin||(this.context.plugin=new Kv(this.context)),this.context.viewport||(this.context.viewport=new Jv(this.context)),this.context.transform||(this.context.transform=new Qv(this.context)),this.context.element||(this.context.element=new Uv(this.context)),this.context.animation||(this.context.animation=new Bv(this.context)),this.context.layout||(this.context.layout=new Xv(this.context)),this.context.behavior||(this.context.behavior=new Fv(this.context))}prepare(){return ma(this,void 0,void 0,function*(){if(yield Promise.resolve(),this.destroyed)throw new Error(wt("The graph instance has been destroyed"));yield this.initCanvas(),this.initRuntime()})}render(){return ma(this,void 0,void 0,function*(){yield this.prepare(),Eo(this,new go(Te.BEFORE_RENDER));const t=this.context.element.draw({type:"render"});yield Promise.all([t==null?void 0:t.finished,this.context.layout.layout()]),yield this.autoFit(),Eo(this,new go(Te.AFTER_RENDER))})}draw(){return ma(this,void 0,void 0,function*(){var t;yield this.prepare(),yield(t=this.context.element.draw())===null||t===void 0?void 0:t.finished})}layout(){return ma(this,void 0,void 0,function*(){yield this.context.layout.layout()})}stopLayout(){this.context.layout.stopLayout()}clear(){return ma(this,void 0,void 0,function*(){this.context.model.setData({}),yield this.draw()})}destroy(){Eo(this,new go(Te.BEFORE_DESTROY));const{layout:t,animation:e,element:n,model:r,canvas:o,behavior:u,plugin:v}=this.context;v==null||v.destroy(),u==null||u.destroy(),t==null||t.destroy(),e==null||e.destroy(),n==null||n.destroy(),r.destroy(),o==null||o.destroy(),this.options={},this.context={},this.off(),window.removeEventListener("resize",this.onResize),this.destroyed=!0,Eo(this,new go(Te.AFTER_DESTROY))}getCanvas(){return this.context.canvas}resize(t,e){const n=!t||!e?gf(this.context.canvas.getContainer()):[t,e];(0,zt.Z)(n,this.getSize())||(Eo(this,new go(Te.BEFORE_SIZE_CHANGE,{size:n})),this.context.canvas.resize(...n),Eo(this,new go(Te.AFTER_SIZE_CHANGE,{size:n})))}fitView(t,e){return ma(this,void 0,void 0,function*(){var n;yield(n=this.context.viewport)===null||n===void 0?void 0:n.fitView(t,e)})}fitCenter(t){return ma(this,void 0,void 0,function*(){var e;yield(e=this.context.viewport)===null||e===void 0?void 0:e.fitCenter(t)})}autoFit(){return ma(this,void 0,void 0,function*(){const{autoFit:t}=this.context.options;if(t)if((0,ta.Z)(t))t==="view"?yield this.fitView():t==="center"&&(yield this.fitCenter());else{const{type:e,animation:n}=t;e==="view"?yield this.fitView(t.options,n):e==="center"&&(yield this.fitCenter(n))}})}focusElement(t,e){return ma(this,void 0,void 0,function*(){var n;yield(n=this.context.viewport)===null||n===void 0?void 0:n.focusElements(Array.isArray(t)?t:[t],e)})}zoomBy(t,e,n){return ma(this,void 0,void 0,function*(){yield this.context.viewport.transform({mode:"relative",scale:t,origin:n},e)})}zoomTo(t,e,n){return ma(this,void 0,void 0,function*(){this.context.viewport.transform({mode:"absolute",scale:t,origin:n},e)})}getZoom(){return this.context.viewport.getZoom()}rotateBy(t,e,n){return ma(this,void 0,void 0,function*(){yield this.context.viewport.transform({mode:"relative",rotate:t,origin:n},e)})}rotateTo(t,e,n){return ma(this,void 0,void 0,function*(){yield this.context.viewport.transform({mode:"absolute",rotate:t,origin:n},e)})}getRotation(){return this.context.viewport.getRotation()}translateBy(t,e){return ma(this,void 0,void 0,function*(){yield this.context.viewport.transform({mode:"relative",translate:t},e)})}translateTo(t,e){return ma(this,void 0,void 0,function*(){yield this.context.viewport.transform({mode:"absolute",translate:t},e)})}getPosition(){return Wt([0,0],this.getCanvasByViewport([0,0]))}translateElementBy(t,e){return ma(this,arguments,void 0,function*(n,r,o=!0){var u,v;const[S,C]=(0,Kt.Z)(n)?[n,(u=r)!==null&&u!==void 0?u:!0]:[{[n]:r},o];Object.entries(S).forEach(([T,$])=>this.context.model.translateNodeLikeBy(T,$)),yield(v=this.context.element.draw({animation:C,stage:"translate"}))===null||v===void 0?void 0:v.finished})}translateElementTo(t,e){return ma(this,arguments,void 0,function*(n,r,o=!0){var u,v;const[S,C]=(0,Kt.Z)(n)?[n,(u=r)!==null&&u!==void 0?u:!0]:[{[n]:r},o];Object.entries(S).forEach(([T,$])=>this.context.model.translateNodeLikeTo(T,$)),yield(v=this.context.element.draw({animation:C,stage:"translate"}))===null||v===void 0?void 0:v.finished})}getElementPosition(t){return this.context.model.getElementPosition(t)}getElementRenderStyle(t){return(0,vf.Z)(this.context.element.getElement(t).attributes,["context"])}setElementVisibility(t,e){return ma(this,arguments,void 0,function*(n,r,o=!0){var u,v;const[S,C]=(0,Kt.Z)(n)?[n,(u=r)!==null&&u!==void 0?u:!0]:[{[n]:r},o],T={nodes:[],edges:[],combos:[]};Object.entries(S).forEach(([vt,Gt])=>{const ee=this.getElementType(vt);T[`${ee}s`].push({id:vt,style:{visibility:Gt}})});const{model:$,element:lt}=this.context;$.preventUpdateNodeLikeHierarchy(()=>{$.updateData(T)}),yield(v=lt.draw({animation:C,stage:"visibility"}))===null||v===void 0?void 0:v.finished})}showElement(t,e){return ma(this,void 0,void 0,function*(){const n=Array.isArray(t)?t:[t];yield this.setElementVisibility(Object.fromEntries(n.map(r=>[r,"visible"])),e)})}hideElement(t,e){return ma(this,void 0,void 0,function*(){const n=Array.isArray(t)?t:[t];yield this.setElementVisibility(Object.fromEntries(n.map(r=>[r,"hidden"])),e)})}getElementVisibility(t){var e,n;const r=this.context.element.getElement(t);return(n=(e=r==null?void 0:r.style)===null||e===void 0?void 0:e.visibility)!==null&&n!==void 0?n:"visible"}setElementZIndex(t,e){return ma(this,void 0,void 0,function*(){var n;const r={nodes:[],edges:[],combos:[]},o=(0,Kt.Z)(t)?t:{[t]:e};Object.entries(o).forEach(([S,C])=>{const T=this.getElementType(S);r[`${T}s`].push({id:S,style:{zIndex:C}})});const{model:u,element:v}=this.context;u.preventUpdateNodeLikeHierarchy(()=>u.updateData(r)),yield(n=v.draw({animation:!1,stage:"zIndex"}))===null||n===void 0?void 0:n.finished})}frontElement(t){return ma(this,void 0,void 0,function*(){const e=Array.isArray(t)?t:[t],{model:n,element:r}=this.context,o={};e.map(u=>{const v=r.getFrontZIndex(u);if(n.getElementType(u)==="combo"){const C=n.getAncestorsData(u,ne).at(-1)||this.getComboData(u),T=[C,...n.getDescendantsData(dn(C))],$=v-r.getElementZIndex(u);T.forEach(vt=>{o[dn(vt)]=this.getElementZIndex(dn(vt))+$});const{internal:lt}=xt(T.map(dn),vt=>n.getRelatedEdgesData(vt));lt.forEach(vt=>{const Gt=dn(vt);o[Gt]=this.getElementZIndex(Gt)+$})}else o[u]=v}),yield this.setElementZIndex(o)})}getElementZIndex(t){var e,n,r;const{model:o,element:u}=this.context;return(r=(n=(e=o.getElementDataById(t))===null||e===void 0?void 0:e.style)===null||n===void 0?void 0:n.zIndex)!==null&&r!==void 0?r:u.getElementZIndex(t)}setElementState(t,e){return ma(this,arguments,void 0,function*(n,r,o=!0){var u,v;const[S,C]=(0,Kt.Z)(n)?[n,(u=r)!==null&&u!==void 0?u:!0]:[{[n]:r},o],T=lt=>lt?Array.isArray(lt)?lt:[lt]:[],$={nodes:[],edges:[],combos:[]};Object.entries(S).forEach(([lt,vt])=>{const Gt=this.getElementType(lt);$[`${Gt}s`].push({id:lt,states:T(vt)})}),this.updateData($),yield(v=this.context.element.draw({animation:C}))===null||v===void 0?void 0:v.finished})}getElementState(t){return this.context.model.getElementState(t)}getElementRenderBounds(t){return this.context.element.getElement(t).getRenderBounds()}collapseElement(t){return ma(this,arguments,void 0,function*(e,n=!0){const{model:r,element:o}=this.context;if(ha(r.getNodeLikeData([e])[0])||this.isCollapsingExpanding)return;const u=r.getElementType(e);yield this.frontElement(e),this.isCollapsingExpanding=!0,this.setElementCollapsibility(e,!0),u==="node"?yield o.collapseNode(e,n):u==="combo"&&(yield o.collapseCombo(e,n)),this.isCollapsingExpanding=!1})}expandElement(t){return ma(this,arguments,void 0,function*(e,n=!0){const{model:r,element:o}=this.context;if(!ha(r.getNodeLikeData([e])[0])||this.isCollapsingExpanding)return;const u=r.getElementType(e);this.isCollapsingExpanding=!0,this.setElementCollapsibility(e,!1),u==="node"?yield o.expandNode(e,n):u==="combo"&&(yield o.expandCombo(e,n)),this.isCollapsingExpanding=!1})}setElementCollapsibility(t,e){const n=this.getElementType(t);n==="node"?this.updateNodeData([{id:t,style:{collapsed:e}}]):n==="combo"&&this.updateComboData([{id:t,style:{collapsed:e}}])}toDataURL(){return ma(this,arguments,void 0,function*(t={}){return this.context.canvas.toDataURL(t)})}getCanvasByViewport(t){return this.context.canvas.getCanvasByViewport(t)}getViewportByCanvas(t){return this.context.canvas.getViewportByCanvas(t)}getClientByCanvas(t){return this.context.canvas.getClientByCanvas(t)}getCanvasByClient(t){return this.context.canvas.getCanvasByClient(t)}getViewportCenter(){return this.context.viewport.getViewportCenter()}getCanvasCenter(){return this.context.viewport.getCanvasCenter()}on(t,e,n){return super.on(t,e,n)}once(t,e){return super.once(t,e)}off(t,e){return super.off(t,e)}}Jd.defaultOptions={autoResize:!1,theme:"light",rotation:0,zoom:1,zoomRange:[.01,10]};var qv=function(i,t){var e={};for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&t.indexOf(n)<0&&(e[n]=i[n]);if(i!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,n=Object.getOwnPropertySymbols(i);r{if(v.depth=S,!v.children)return v;const{children:C}=v,T=qv(v,["children"]);return Object.assign(Object.assign({},T),{children:C.map($=>$.id)})},getEdgeData:n=(v,S)=>({source:v.id,target:S.id}),getChildren:r=v=>v.children||[]}=t||{},o=[],u=[];return Ha(i,(v,S)=>{o.push(e(v,S));const C=r(v);for(const T of C)u.push(n(v,T))},v=>r(v),"TB"),{nodes:o,edges:u}}class e0 extends $s{beforeDraw(t){const{add:e,update:n}=t,{model:r}=this.context;return[...e.edges.entries(),...n.edges.entries()].forEach(([,o])=>{$f(r,o)}),t}}const $f=(i,t)=>{const{source:e,target:n}=t,r=i.getElementDataById(e),o=i.getElementDataById(n),u=Ft(r,$=>i.getParentData($,ne)),v=Ft(o,$=>i.getParentData($,ne)),S=dn(u),C=dn(v),T={sourceNode:S,targetNode:C};return t.style?Object.assign(t.style,T):t.style=T,t},n0=(i,t,e)=>{const[n,r]=t,[o,u]=e;if(r===n)return o;const v=(i-n)/(r-n);return o+v*(u-o)},r0=(i,t,e)=>{const[n,r]=t,[o,u]=e,v=Math.log(i-n+1)/Math.log(r-n+1);return o+v*(u-o)},i0=(i,t,e,n=2)=>{const[r,o]=t,[u,v]=e,S=Math.pow((i-r)/(o-r),n);return u+S*(v-u)},a0=(i,t,e)=>{const[n,r]=t,[o,u]=e,v=Math.sqrt((i-n)/(r-n));return o+v*(u-o)};class Zu extends $s{constructor(t,e){super(t,(0,dt.Z)({},Zu.defaultOptions,e)),this.assignSizeByCentrality=(n,r,o,u,v,S)=>{const C=[r,o],T=[u[0],v[0]],$=[u[1],v[1]],lt=[u[2],v[2]],vt=(Gt,ee)=>{if(typeof S=="function")return S(Gt,C,ee);switch(S){case"linear":return n0(Gt,C,ee);case"log":return r0(Gt,C,ee);case"pow":return i0(Gt,C,ee,2);case"sqrt":return a0(Gt,C,ee);default:return ee[0]}};return[vt(n,T),vt(n,$),vt(n,lt)]}}beforeDraw(t){const{model:e}=this.context,n=e.getNodeData(),r=wi(this.options.maxSize),o=wi(this.options.minSize),u=this.getCentralities(this.options.centrality),v=u.size>0?Math.max(...u.values()):0,S=u.size>0?Math.min(...u.values()):0;return n.forEach(C=>{var T;const $=this.assignSizeByCentrality(u.get(dn(C))||0,S,v,o,r,this.options.scale),lt=(T=this.context.element)===null||T===void 0?void 0:T.getElement(dn(C)),vt={size:$};this.assignLabelStyle(vt,$,C,lt),(!lt||!Iu(vt,lt.attributes))&&Xo(t,lt?"update":"add","node",(0,dt.Z)(C,{style:vt}),!0)}),t}assignLabelStyle(t,e,n,r){var o;const u=r?r.config.style:(o=this.context.element)===null||o===void 0?void 0:o.getElementComputedStyle("node",n);if(Object.assign(t,(0,Wo.Z)(u,["labelFontSize","labelLineHeight"])),this.options.mapLabelSize){const v=this.getLabelSizeByNodeSize(e,1/0,Number(t.labelFontSize));Object.assign(t,{labelFontSize:v,labelLineHeight:v+rn(t.labelPadding)})}return t}getLabelSizeByNodeSize(t,e,n){const r=Math.min(...t)/2,[o,u]=Array.isArray(this.options.mapLabelSize)?this.options.mapLabelSize:[n,e];return Math.min(u,Math.max(r,o))}getCentralities(t){const{model:e}=this.context,n=e.getData();if(typeof t=="function")return t(n);const r=e.getRelatedEdgesData.bind(e);return E(n,r,t)}}Zu.defaultOptions={centrality:{type:"degree"},maxSize:80,minSize:20,scale:"linear",mapLabelSize:!1};class Fu extends $s{constructor(t,e){super(t,Object.assign({},Fu.defaultOptions,e))}get ref(){return this.context.model.getRootsData()[0]}afterLayout(){var t;const e=ar(this.ref),{graph:n,model:r}=this.context;(t=r.getData().nodes)===null||t===void 0||t.forEach(u=>{if(dn(u)===dn(this.ref))return;const v=sr(Wt(ar(u),e)),S=Math.abs(v)>Math.PI/2,C=u.transformd||!u.children||u.children.length===0,T=wi(n.getElementRenderStyle(dn(u)).size)[0]/2,$=(C?1:-1)*(T+this.options.offset),lt=[["translate",$*Math.cos(v),$*Math.sin(v)],["rotate",S?(0,nt.BV)(v)+180:(0,nt.BV)(v)]];r.updateNodeData([{id:dn(u),style:{labelTextAlign:S===C?"right":"left",labelTextBaseline:"middle",labelTransform:lt}}])}),n.draw()}}Fu.defaultOptions={offset:5};var Wf=d(50264);const o0="quadratic",Gf=["top","top-right","right","right-bottom","bottom","bottom-left","left","left-top"];class zu extends $s{constructor(t,e){super(t,Object.assign({},zu.defaultOptions,e)),this.cacheMergeStyle=new Map,this.getAffectedParallelEdges=n=>{const{add:{edges:r},update:{nodes:o,edges:u,combos:v},remove:{edges:S}}=n,{model:C}=this.context,T=new Map,$=(Gt,ee)=>{C.getRelatedEdgesData(ee).forEach(ke=>!T.has(dn(ke))&&T.set(dn(ke),ke))};o.forEach($),v.forEach($);const lt=Gt=>{const ee=C.getEdgeData().map(ke=>$f(C,ke));s0(Gt,ee,!0).forEach(ke=>!T.has(dn(ke))&&T.set(dn(ke),ke))};if(S.size&&S.forEach(lt),r.size&&r.forEach(lt),u.size){const Gt=wf(Hd(C.getChanges())).update.edges;u.forEach(ee=>{var ve;lt(ee);const ke=(ve=Gt.find(Fe=>dn(Fe.value)===dn(ee)))===null||ve===void 0?void 0:ve.original;ke&&!qd(ee,ke)&<(ke)})}(0,Lo.Z)(this.options.edges)||T.forEach((Gt,ee)=>!this.options.edges.includes(ee)&&T.delete(ee));const vt=C.getEdgeData().map(dn);return new Map([...T].sort((Gt,ee)=>vt.indexOf(Gt[0])-vt.indexOf(ee[0])))},this.applyBundlingStyle=(n,r,o)=>{const{edgeMap:u,reverses:v}=Vf(r);u.forEach(S=>{S.forEach((C,T,$)=>{var lt;const vt=$.length,Gt=C.style||{};if(C.source===C.target){const ke=Gf.length;Gt.loopPlacement=Gf[T%ke],Gt.loopDist=Math.floor(T/ke)*o+50}else if(vt===1)Gt.curveOffset=0;else{const ke=(T%2===0?1:-1)*(v[`${C.source}|${C.target}|${T}`]?-1:1);Gt.curveOffset=vt%2===1?ke*Math.ceil(T/2)*o*2:ke*(Math.floor(T/2)*o*2+o)}const ee=Object.assign(C,{type:o0,style:Gt}),ve=(lt=this.context.element)===null||lt===void 0?void 0:lt.getElement(dn(C));(!ve||!Iu(ee.style,ve.attributes))&&Xo(n,ve?"update":"add","edge",ee,!0)})})},this.resetEdgeStyle=n=>{const r=n.style||{},o=this.cacheMergeStyle.get(dn(n))||{};return Object.keys(o).forEach(u=>{(0,zt.Z)(r[u],o[u])&&(n[u]?r[u]=n[u]:delete r[u])}),Object.assign(n,{style:r})},this.applyMergingStyle=(n,r)=>{const{edgeMap:o,reverses:u}=Vf(r);o.forEach(v=>{var S;if(v.length===1){const T=v[0],$=(S=this.context.element)===null||S===void 0?void 0:S.getElement(dn(T)),lt=this.resetEdgeStyle(T);(!$||!Iu(lt,$.attributes))&&Xo(n,$?"update":"add","edge",lt);return}const C=v.map(({source:T,target:$,style:lt={}},vt)=>{const{startArrow:Gt,endArrow:ee}=lt,ve={},[ke,Fe]=u[`${T}|${$}|${vt}`]?["endArrow","startArrow"]:["startArrow","endArrow"];return(0,Wf.Z)(Gt)&&(ve[ke]=Gt),(0,Wf.Z)(ee)&&(ve[Fe]=ee),ve}).reduce((T,$)=>Object.assign(Object.assign({},T),$),{});v.forEach((T,$,lt)=>{var vt;if($!==0){Xo(n,"remove","edge",T);return}const Gt=Object.assign({},(0,Rt.Z)(this.options.style)?this.options.style(lt):this.options.style,{childrenData:lt});this.cacheMergeStyle.set(dn(T),Gt);const ee=Object.assign(Object.assign({},T),{type:"line",style:Object.assign(Object.assign(Object.assign({},T.style),C),Gt)}),ve=(vt=this.context.element)===null||vt===void 0?void 0:vt.getElement(dn(T));(!ve||!Iu(ee.style,ve.attributes))&&Xo(n,ve?"update":"add","edge",ee,!0)})})}}beforeDraw(t){const e=this.getAffectedParallelEdges(t);return e.size===0||(this.options.mode==="bundle"?this.applyBundlingStyle(t,e,this.options.distance):this.applyMergingStyle(t,e)),t}}zu.defaultOptions={mode:"bundle",distance:15};const Vf=i=>{const t=new Map,e=new Set,n={};for(const[r,o]of i){if(e.has(r))continue;const{source:u,target:v}=o,S=`${u}-${v}`;t.has(S)||t.set(S,[]),t.get(S).push(o),e.add(r);for(const[C,T]of i)e.has(C)||qd(o,T)&&(t.get(S).push(T),e.add(C),u===T.target&&v===T.source&&(n[`${T.source}|${T.target}|${t.get(S).length-1}`]=!0))}return{edgeMap:t,reverses:n}},s0=(i,t,e)=>t.filter(n=>(e||dn(n)!==dn(i))&&qd(n,i)),qd=(i,t)=>{const{sourceNode:e,targetNode:n}=i.style||{},{sourceNode:r,targetNode:o}=t.style||{};return e===r&&n===o||e===o&&n===r};class l0 extends $s{beforeDraw(t,e){const{stage:n}=e;if(n==="visibility")return t;const{model:r}=this.context,{update:{nodes:o,edges:u,combos:v}}=t,S=(C,T)=>{r.getRelatedEdgesData(T).forEach(lt=>!u.has(dn(lt))&&u.set(dn(lt),lt))};return o.forEach(S),v.forEach(S),t}}const c0={animation:{"combo-collapse":pt,"combo-expand":X,"node-collapse":Yt,"node-expand":we,"path-in":Ce,"path-out":_e,fade:Q,translate:te},behavior:{"brush-select":da,"click-select":ho,"collapse-expand":Co,"create-edge":gs,"drag-canvas":cl,"drag-element-force":Nc,"drag-element":Xs,"fix-element-size":dl,"focus-element":Qs,"hover-activate":fl,"lasso-select":Vu,"auto-adapt-label":Jt,"optimize-viewport-transform":Js,"scroll-canvas":qs,"zoom-canvas":ro},combo:{circle:de,rect:Ee},edge:{cubic:Vn,line:xr,polyline:Ji,quadratic:Ti,"cubic-horizontal":ir,"cubic-radial":tr,"cubic-vertical":hr},layout:{"antv-dagre":bn,"combo-combined":lu,"compact-box":ks.compactBox,"force-atlas2":ah,circular:Qn,concentric:zn,"d3-force":$d,dagre:du,dendrogram:ks.dendrogram,force:Aa,fruchterman:lh,grid:uh,indented:ks.indented,mds:iu,mindmap:ks.mindmap,radial:bh,random:Oh},node:{circle:_a,diamond:Gs,ellipse:qo,hexagon:mo,html:Zo,image:So,rect:Vs,star:$t,donut:Jo,triangle:it},palette:{spectral:Th,tableau:Ph,oranges:Ah,greens:Nh,blues:Rh},theme:{dark:Pv,light:Av},plugin:{"bubble-sets":gu,"edge-bundling":mu,"edge-filter-lens":yu,"grid-line":xu,background:vu,contextmenu:pu,fisheye:bu,fullscreen:Eu,history:wu,hull:Su,legend:Cu,minimap:Ou,snapline:Tu,timebar:Pu,toolbar:Au,tooltip:Nu,watermark:Ru},transform:{"arrange-draw-order":Nv,"collapse-expand-combo":Rv,"collapse-expand-node":Iv,"get-edge-actual-ends":e0,"map-node-size":Zu,"place-radial-labels":Fu,"process-parallel-edges":zu,"update-related-edges":l0},shape:{circle:nt.Cd,ellipse:nt.Pj,group:nt.ZA,html:nt.k9,image:Ri,line:nt.x1,path:nt.y$,polygon:nt.mg,polyline:nt.aH,rect:nt.UL,text:nt.xv,label:Xa,badge:wo}};function u0(){Object.entries(c0).forEach(([i,t])=>{Object.entries(t).forEach(([e,n])=>{Lv(i,e,n)})})}u0();const F0={css:"//at.alicdn.com/t/a/font_470089_8hnbbf8n4u8.css",js:"//at.alicdn.com/t/a/font_470089_8hnbbf8n4u8.js"};var d0=Object.defineProperty,Uf=Object.getOwnPropertySymbols,f0=Object.prototype.hasOwnProperty,h0=Object.prototype.propertyIsEnumerable,Hf=(i,t,e)=>t in i?d0(i,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):i[t]=e,v0=(i,t)=>{for(var e in t||(t={}))f0.call(t,e)&&Hf(i,e,t[e]);if(Uf)for(var e of Uf(t))h0.call(t,e)&&Hf(i,e,t[e]);return i};const z0=i=>React.createElement("svg",v0({width:12,height:8,xmlns:"http://www.w3.org/2000/svg"},i),React.createElement("title",null,"\u7F16\u7EC4 10"),React.createElement("g",{fillRule:"nonzero",fill:"none"},React.createElement("path",{d:"m.565 4.503 3.488 3.284c.217.204.533.26.814.154a.708.708 0 0 0 .463-.652V.72a.708.708 0 0 0-.463-.652.807.807 0 0 0-.288-.056.737.737 0 0 0-.526.21L.565 3.506a.692.692 0 0 0-.217.499.655.655 0 0 0 .217.498Z",fill:"#462BB1"}),React.createElement("path",{d:"m7.232 4.503 3.488 3.284c.217.204.533.26.814.154a.708.708 0 0 0 .463-.652V.72a.708.708 0 0 0-.463-.652.807.807 0 0 0-.288-.056.737.737 0 0 0-.526.21L7.232 3.506a.692.692 0 0 0-.218.499.655.655 0 0 0 .218.498Z",fill:"#A395D9"})));var g0="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIiIGhlaWdodD0iOCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBmaWxsLXJ1bGU9Im5vbnplcm8iIGZpbGw9Im5vbmUiPjxwYXRoIGQ9Im0uNTY1IDQuNTAzIDMuNDg4IDMuMjg0Yy4yMTcuMjA0LjUzMy4yNi44MTQuMTU0YS43MDguNzA4IDAgMCAwIC40NjMtLjY1MlYuNzJhLjcwOC43MDggMCAwIDAtLjQ2My0uNjUyLjgwNy44MDcgMCAwIDAtLjI4OC0uMDU2LjczNy43MzcgMCAwIDAtLjUyNi4yMUwuNTY1IDMuNTA2YS42OTIuNjkyIDAgMCAwLS4yMTcuNDk5LjY1NS42NTUgMCAwIDAgLjIxNy40OThaIiBmaWxsPSIjNDYyQkIxIi8+PHBhdGggZD0ibTcuMjMyIDQuNTAzIDMuNDg4IDMuMjg0Yy4yMTcuMjA0LjUzMy4yNi44MTQuMTU0YS43MDguNzA4IDAgMCAwIC40NjMtLjY1MlYuNzJhLjcwOC43MDggMCAwIDAtLjQ2My0uNjUyLjgwNy44MDcgMCAwIDAtLjI4OC0uMDU2LjczNy43MzcgMCAwIDAtLjUyNi4yMUw3LjIzMiAzLjUwNmEuNjkyLjY5MiAwIDAgMC0uMjE4LjQ5OS42NTUuNjU1IDAgMCAwIC4yMTguNDk4WiIgZmlsbD0iI0EzOTVEOSIvPjwvZz48L3N2Zz4=",p0=Object.defineProperty,Yf=Object.getOwnPropertySymbols,m0=Object.prototype.hasOwnProperty,y0=Object.prototype.propertyIsEnumerable,Xf=(i,t,e)=>t in i?p0(i,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):i[t]=e,b0=(i,t)=>{for(var e in t||(t={}))m0.call(t,e)&&Xf(i,e,t[e]);if(Yf)for(var e of Yf(t))y0.call(t,e)&&Xf(i,e,t[e]);return i};const j0=i=>React.createElement("svg",b0({width:12,height:8,xmlns:"http://www.w3.org/2000/svg"},i),React.createElement("title",null,"\u7F16\u7EC4 10"),React.createElement("g",{fillRule:"nonzero",fill:"none"},React.createElement("path",{d:"M11.435 4.503 7.947 7.787a.785.785 0 0 1-.814.154.708.708 0 0 1-.463-.652V.72c0-.287.182-.54.463-.652a.807.807 0 0 1 .288-.056c.196 0 .386.07.526.21l3.488 3.284c.14.134.217.316.217.499a.655.655 0 0 1-.217.498Z",fill:"#462BB1"}),React.createElement("path",{d:"M4.768 4.503 1.28 7.787a.785.785 0 0 1-.814.154.708.708 0 0 1-.463-.652V.72c0-.287.183-.54.463-.652A.807.807 0 0 1 .754.012c.197 0 .386.07.526.21l3.488 3.284c.14.134.218.316.218.499a.655.655 0 0 1-.218.498Z",fill:"#A395D9"})));var E0="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIiIGhlaWdodD0iOCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBmaWxsLXJ1bGU9Im5vbnplcm8iIGZpbGw9Im5vbmUiPjxwYXRoIGQ9Ik0xMS40MzUgNC41MDMgNy45NDcgNy43ODdhLjc4NS43ODUgMCAwIDEtLjgxNC4xNTQuNzA4LjcwOCAwIDAgMS0uNDYzLS42NTJWLjcyYzAtLjI4Ny4xODItLjU0LjQ2My0uNjUyYS44MDcuODA3IDAgMCAxIC4yODgtLjA1NmMuMTk2IDAgLjM4Ni4wNy41MjYuMjFsMy40ODggMy4yODRjLjE0LjEzNC4yMTcuMzE2LjIxNy40OTlhLjY1NS42NTUgMCAwIDEtLjIxNy40OThaIiBmaWxsPSIjNDYyQkIxIi8+PHBhdGggZD0iTTQuNzY4IDQuNTAzIDEuMjggNy43ODdhLjc4NS43ODUgMCAwIDEtLjgxNC4xNTQuNzA4LjcwOCAwIDAgMS0uNDYzLS42NTJWLjcyYzAtLjI4Ny4xODMtLjU0LjQ2My0uNjUyQS44MDcuODA3IDAgMCAxIC43NTQuMDEyYy4xOTcgMCAuMzg2LjA3LjUyNi4yMWwzLjQ4OCAzLjI4NGMuMTQuMTM0LjIxOC4zMTYuMjE4LjQ5OWEuNjU1LjY1NSAwIDAgMS0uMjE4LjQ5OFoiIGZpbGw9IiNBMzk1RDkiLz48L2c+PC9zdmc+",x0=Object.defineProperty,w0=Object.defineProperties,S0=Object.getOwnPropertyDescriptors,Kf=Object.getOwnPropertySymbols,M0=Object.prototype.hasOwnProperty,C0=Object.prototype.propertyIsEnumerable,Qf=(i,t,e)=>t in i?x0(i,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):i[t]=e,ju=(i,t)=>{for(var e in t||(t={}))M0.call(t,e)&&Qf(i,e,t[e]);if(Kf)for(var e of Kf(t))C0.call(t,e)&&Qf(i,e,t[e]);return i},O0=(i,t)=>w0(i,S0(t)),Mc=(i,t,e)=>new Promise((n,r)=>{var o=S=>{try{v(e.next(S))}catch(C){r(C)}},u=S=>{try{v(e.throw(S))}catch(C){r(C)}},v=S=>S.done?n(S.value):Promise.resolve(S.value).then(o,u);v((e=e.apply(i,t)).next())}),T0=()=>{const i=(0,I.useRef)(null),t=(0,I.useRef)(null),{pathId:e}=(0,tt.useParams)(),[n,r]=(0,I.useState)([]),[o,u]=(0,I.useState)(!1),[v,S]=(0,I.useState)([]),[C,T]=(0,I.useState)(1),[$,lt]=(0,I.useState)(!1),[vt]=P.default.useForm(),[Gt,ee]=(0,I.useState)([]),[ve,ke]=(0,I.useState)({knowledge_type:1}),[Fe,Xe]=(0,I.useState)([]),[cn,jn]=(0,I.useState)({}),[Ln,kn]=(0,I.useState)({nodes:[],links:[]});(0,I.useEffect)(()=>{vn()},[]);function vn(){return Mc(this,null,function*(){var Kn,_r,Sr,Tr,yr,kr,Hi,ur;if(!i.current)return;let Hr=yield(0,q.ZP)(`/api/knowledge_maps/${e}.json`,{method:"get"});if((Hr==null?void 0:Hr.status)===0){S(Hr==null?void 0:Hr.data);let Bi=[];(_r=(Kn=Hr==null?void 0:Hr.data)==null?void 0:Kn.node_data)==null||_r.map(Zi=>{var us;return(us=Zi==null?void 0:Zi.nodes)==null?void 0:us.map((ds,os)=>{os==0&&Bi.push(ds)})});let ua=(Sr=Bi==null?void 0:Bi.splice(1))==null?void 0:Sr.map((Zi,us)=>{var ds,os,Cc;return{startNodeUuid:(os=(ds=Bi==null?void 0:Bi[0])==null?void 0:ds.properties)==null?void 0:os.uuid,type:"\u5305\u542B",endNodeUuid:(Cc=Zi==null?void 0:Zi.properties)==null?void 0:Cc.uuid}});const{nodes:Za,links:Fi}=(yr=(Tr=Hr==null?void 0:Hr.data)==null?void 0:Tr.node_data)==null?void 0:yr.reduce((Zi,us)=>(Zi.nodes.push(...us.nodes),Zi.links.push(...us.relationships),Zi),{nodes:[],links:[]});let Sa=(0,Tt.fX)(Za==null?void 0:Za.map((Zi,us)=>{var ds,os,Cc,Jf,qf,th;return O0(ju(ju({},Zi),Zi==null?void 0:Zi.properties),{rootNodeUuid:(ds=Zi==null?void 0:Zi.properties)==null?void 0:ds.rootNodeUuid,id:(os=Zi==null?void 0:Zi.properties)==null?void 0:os.name,name:(Cc=Zi==null?void 0:Zi.properties)==null?void 0:Cc.name,labelstype:(Jf=Zi==null?void 0:Zi.labels)==null?void 0:Jf[1],description:(qf=Zi==null?void 0:Zi.properties)==null?void 0:qf.description,nodeType:(th=Zi==null?void 0:Zi.properties)==null?void 0:th.nodeType,level:0})}),[...Fi==null?void 0:Fi.filter(Zi=>Zi.type==="\u5305\u542B"),...ua]),Fa=t0(Sa),Ma=(kr=Fa.nodes)==null?void 0:kr.filter((Zi,us,ds)=>us===ds.findIndex(os=>os.id===Zi.id)),Fo=(Hi=Fa.edges)==null?void 0:Hi.filter((Zi,us,ds)=>us===ds.findIndex(os=>os.source===Zi.source&&os.target===Zi.target));console.log("----",Sa),kn({nodes:Ma,links:Fo})}let Ai=yield(0,q.ZP)(`/api/knowledge_maps/${e}/knowledge_list.json`,{method:"get"});(Ai==null?void 0:Ai.status)===0&&(r((ur=Ai==null?void 0:Ai.data)==null?void 0:ur.list),jn(Ai==null?void 0:Ai.data))})}(0,I.useEffect)(()=>{if(!i.current||Ln.nodes.length===0)return;const Kn=(0,O.Z)()(i.current).graphData(Ln).nodeAutoColorBy("group").nodeThreeObject(_r=>{const Sr=Math.max(10*Math.pow(.7,_r.level),2),Tr=new g.Kj0(new g.xo$(Sr,16,16),new g.vBJ({color:_r.color||16777215})),yr=new _.Z(_r.id);yr.color="#fff",yr.textHeight=Sr*.9,yr.position.set(0,Sr+2,0);const kr=new g.ZAu;return kr.add(Tr),kr.add(yr),kr}).linkOpacity(.3).linkWidth(.5).linkDirectionalParticles(0).linkDirectionalParticleWidth(0).onNodeClick(_r=>{const Tr=1+80/Math.hypot(_r.x,_r.y,_r.z);Kn.cameraPosition({x:_r.x*Tr,y:_r.y*Tr,z:_r.z*Tr},_r,3e3)});return t.current=Kn,()=>{Kn._destructor()}},[Ln]);function dr(){return Mc(this,null,function*(){let Kn=yield(0,q.ZP)("/api/paths.json",{method:"get",params:{page:1,limit:800}});Kn&&ee(Kn==null?void 0:Kn.subjects)})}function Cr(Kn){return Mc(this,null,function*(){var _r;let Sr=yield(0,q.ZP)("/api/knowledge_maps.json",{method:"get",params:{page:1,limit:800,knowledge_type:Kn}});Sr&&Xe(((_r=Sr==null?void 0:Sr.data)==null?void 0:_r.list)||[])})}return I.createElement("div",{style:{position:"relative"}},I.createElement(b.ZP,{type:"primary",ghost:!0,style:{position:"absolute",top:20,left:20,zIndex:10},onClick:()=>{history.back()}},"\u8FD4\u56DE"),I.createElement("div",{onClick:()=>{u(!o)},className:ut.rightopen,style:{right:o?600:0}},I.createElement("div",null,o?"\u6536":"\u5C55"),I.createElement("div",null,o?"\u8D77":"\u5F00"),I.createElement("img",{src:o?E0:g0})),o&&I.createElement("div",{className:ut.rightmodal},I.createElement("div",{style:{display:"flex",justifyContent:"end"}},I.createElement("a",{onClick:()=>{(cn==null?void 0:cn.knowledge_type)==2?dr():(cn==null?void 0:cn.knowledge_type)==3&&Cr(2),vt.setFieldsValue({knowledge_type:cn==null?void 0:cn.knowledge_type,name:v==null?void 0:v.name,description:v==null?void 0:v.description,subject_ids:(cn==null?void 0:cn.knowledge_type)==2?v==null?void 0:v.subject_ids:[],knowledge_map_ids:(cn==null?void 0:cn.knowledge_type)==3?v==null?void 0:v.map_ids:[]}),ke({knowledge_type:cn==null?void 0:cn.knowledge_type,name:v==null?void 0:v.name,description:v==null?void 0:v.description,subject_ids:(cn==null?void 0:cn.knowledge_type)==2?v==null?void 0:v.subject_ids:[],knowledge_map_ids:(cn==null?void 0:cn.knowledge_type)==3?v==null?void 0:v.map_ids:[]}),lt(!0)}},"\u7F16\u8F91"),I.createElement("a",{onClick:()=>Mc(void 0,null,function*(){let Kn=yield(0,q.ZP)(`/api/knowledge_maps/${e}.json`,{method:"DELETE"});(Kn==null?void 0:Kn.status)===0&&(A.ZP.info("\u5220\u9664\u6210\u529F"),history.back())}),style:{marginLeft:20}},"\u5220\u9664")),I.createElement("div",{className:ut.rname},I.createElement("div",{style:{color:"#333333",fontSize:16}},v==null?void 0:v.name),I.createElement("div",{style:{marginTop:14}},I.createElement("span",{style:{color:"#5F6A95"}},"\u521B\u5EFA\u65E5\u671F"),I.createElement("span",{style:{marginLeft:10}},v==null?void 0:v.created_at))),I.createElement("div",{style:{marginTop:20,display:"flex"}},I.createElement("div",{onClick:()=>{T(1)},className:ut.topradios},"\u4E13\u4E1A\u6982\u89C8"),I.createElement("div",{onClick:()=>{T(2)},className:ut.topradio},"\u56FE\u8C31\u5217\u8868")),C===1&&I.createElement("div",{className:ut.bocent},I.createElement("div",{className:ut.bctitle},I.createElement("div",null,"\u8BFE\u7A0B\u6570\u91CF"),I.createElement("div",null,"\u56FE\u8C31\u6570\u91CF"),I.createElement("div",null,"\u56FE\u8C31\u8282\u70B9\u6570\u91CF")),I.createElement("div",{className:ut.btcent},I.createElement("div",null,v==null?void 0:v.subject_count),I.createElement("div",null,v==null?void 0:v.knowledge_count),I.createElement("div",null,v==null?void 0:v.node_count)),I.createElement("div",{style:{marginTop:20}},v==null?void 0:v.description)),C===2&&I.createElement("div",{className:ut.bocent},I.createElement("div",{className:ut.bctitles},I.createElement("div",null,"\u8BFE\u7A0B\u540D\u79F0"),I.createElement("div",null,"\u56FE\u8C31\u6570\u91CF"),I.createElement("div",null,"\u6807\u7B7E\u8282\u70B9"),I.createElement("div",null,"\u8D44\u6E90\u8282\u70B9")),n==null?void 0:n.map(Kn=>I.createElement("div",{className:ut.bctitles},I.createElement("div",{style:{color:"#3061D0"},onClick:()=>{window.open(`/knowledgegraph/${Kn==null?void 0:Kn.identifier}`)}},"\u300A",Kn==null?void 0:Kn.name,"\u300B"),I.createElement("div",null,Kn==null?void 0:Kn.knowledge_count),I.createElement("div",null,Kn==null?void 0:Kn.label_count),I.createElement("div",null,Kn==null?void 0:Kn.resource_count))))),I.createElement("div",{ref:i,style:{width:"100vw",height:"100vh",background:"#000",margin:0,overflow:"hidden"}}),I.createElement(D.default,{open:$,title:"\u7F16\u8F91\u77E5\u8BC6\u56FE\u8C31",centered:!0,width:1200,onCancel:()=>{lt(!1)},onOk:()=>vt.submit()},I.createElement(P.default,{form:vt,scrollToFirstError:!0,layout:"horizontal",colon:!1,size:"large",labelCol:{flex:"110rem"},onValuesChange:(Kn,_r)=>{(Kn==null?void 0:Kn.knowledge_type)==2?dr():(Kn==null?void 0:Kn.knowledge_type)==3&&Cr(2),ke(ju({},_r)),Kn!=null&&Kn.knowledge_type&&vt.setFieldsValue({name:"",description:"",subject_id:"",subject_ids:[],knowledge_map_ids:[],knowledge_type:Kn==null?void 0:Kn.knowledge_type})},initialValues:{knowledge_type:1},onFinish:Kn=>Mc(void 0,null,function*(){let _r=yield(0,q.ZP)(`/api/knowledge_maps/${e}.json`,{method:"PUT",body:ju({},Kn)});(_r==null?void 0:_r.status)===0&&(A.ZP.info("\u4FEE\u6539\u6210\u529F"),vn(),lt(!1),vt.resetFields(),ke({name:"",description:"",subject_id:"",subject_ids:[],knowledge_map_ids:[],knowledge_type:1}))}),className:ut.form},I.createElement(P.default.Item,{label:"\u56FE\u8C31\u603B\u7C7B",name:"knowledge_type",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u56FE\u8C31\u603B\u7C7B"}]},I.createElement(x.ZP.Group,{disabled:!0},I.createElement(x.ZP,{value:1},"\u8BFE\u7A0B\u56FE\u8C31"),I.createElement(x.ZP,{value:2},"\u4E13\u4E1A\u56FE\u8C31"),I.createElement(x.ZP,{value:3},"\u5B66\u79D1\u56FE\u8C31"))),I.createElement(P.default.Item,{label:ve.knowledge_type==1?"\u56FE\u8C31\u540D\u79F0":ve.knowledge_type==2?"\u4E13\u4E1A\u540D\u79F0":"\u5B66\u79D1\u540D\u79F0",name:"name",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u540D\u79F0"},{type:"string",max:60,message:"\u8F93\u5165\u8D85\u9650\uFF0C\u8BF7\u7F29\u51CF\u5B57\u7B26\u6570"},{type:"string",whitespace:!0,message:"\u5185\u5BB9\u4E0D\u80FD\u5168\u4E3A\u7A7A\u683C"}]},I.createElement(k.default,{maxLength:60,showCount:!0,placeholder:"\u8BF7\u8F93\u5165"})),I.createElement(P.default.Item,{label:ve.knowledge_type==1?"\u56FE\u8C31\u7B80\u4ECB":ve.knowledge_type==2?"\u4E13\u4E1A\u7B80\u4ECB":"\u5B66\u79D1\u7B80\u4ECB",name:"description",rules:[{required:!1,message:"\u8BF7\u8F93\u5165\u7B80\u4ECB"},{type:"string",max:500,message:"\u8F93\u5165\u8D85\u9650\uFF0C\u8BF7\u7F29\u51CF\u5B57\u7B26\u6570"},{type:"string",whitespace:!0,message:"\u5185\u5BB9\u4E0D\u80FD\u5168\u4E3A\u7A7A\u683C"}]},I.createElement(k.default.TextArea,{maxLength:500,showCount:!0,placeholder:"\u8BF7\u8F93\u5165"})),ve.knowledge_type=="2"&&I.createElement(P.default.Item,{className:ut.mType,label:ve.knowledge_type==2?"\u9009\u62E9\u8BFE\u7A0B":"\u9009\u62E9\u4E13\u4E1A",name:ve.knowledge_type==2?"subject_ids":"knowledge_map_ids",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u8BFE\u7A0B"}]},I.createElement(R.default,{mode:"multiple"},Gt==null?void 0:Gt.map(Kn=>I.createElement(R.default.Option,{value:Kn==null?void 0:Kn.id},Kn==null?void 0:Kn.name)))),ve.knowledge_type=="3"&&I.createElement(P.default.Item,{className:ut.mType,label:"\u9009\u62E9\u4E13\u4E1A",name:"knowledge_map_ids",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u4E13\u4E1A"}]},I.createElement(R.default,{mode:"multiple"},Fe==null?void 0:Fe.map(Kn=>I.createElement(R.default.Option,{value:Kn==null?void 0:Kn.id},Kn==null?void 0:Kn.name)))))))}},3522:function(At,ht,d){"use strict";var l,I=Object.defineProperty,O=Et=>{throw TypeError(Et)},_=Math.pow,g=(Et,y,E)=>y in Et?I(Et,y,{enumerable:!0,configurable:!0,writable:!0,value:E}):Et[y]=E,P=(Et,y,E)=>g(Et,typeof y!="symbol"?y+"":y,E),b=(Et,y,E)=>y.has(Et)||O("Cannot "+E),A=(Et,y,E)=>(b(Et,y,"read from private field"),E?E.call(Et):y.get(Et)),D=(Et,y,E)=>y.has(Et)?O("Cannot add the same private member more than once"):y instanceof WeakSet?y.add(Et):y.set(Et,E),x=(Et,y,E,c)=>(b(Et,y,"write to private field"),c?c.call(Et,E):y.set(Et,E),E),k=(Et,y,E)=>(b(Et,y,"access private method"),E),R,tt,q;l={value:!0};var Tt=d(34634),ut=d(34402);const nt=" ".repeat(2),_t=" ".repeat(4);function It(){return zt(this)}function zt(Et,y={}){const{maxRows:E=15,maxColumns:c=10,maxNumSize:f=8,padMinus:w="auto"}=y;return`${Et.constructor.name} { ${nt}[ ${_t}${Kt(Et,E,c,f,w)} ${nt}] diff --git a/umi.fd5fa667.js b/umi.0227eab4.js similarity index 99% rename from umi.fd5fa667.js rename to umi.0227eab4.js index ab936d7ea4..11ff8b81c0 100644 --- a/umi.fd5fa667.js +++ b/umi.0227eab4.js @@ -1480,6 +1480,6 @@ Schedule: ${X.map(it=>Bu(it))} pos: ${this.timelinePos}`),ue.length&&this.log(`R `).split(` `),$=[],ue=t?Jo(t.baseTime,t.timescale):0;let de="00:00.000",xe=0,ke=0,Re,it=!0;j.oncue=function(nt){const qt=n[s];let ir=n.ccOffset;const lr=(xe-ue)/9e4;if(qt!=null&&qt.new&&(ke!==void 0?ir=n.ccOffset=qt.start:Il(n,s,lr)),lr){if(!t){Re=new Error("Missing initPTS for VTT MPEGTS");return}ir=lr-n.presentationOffset}const Cr=nt.endTime-nt.startTime,zr=eu((nt.startTime+ir-ke)*9e4,v*9e4)/9e4;nt.startTime=Math.max(zr,0),nt.endTime=Math.max(zr+Cr,0);const vn=nt.text.trim();nt.text=decodeURIComponent(encodeURIComponent(vn)),nt.id||(nt.id=lf(nt.startTime,nt.endTime,vn)),nt.endTime>0&&$.push(nt)},j.onparsingerror=function(nt){Re=nt},j.onflush=function(){if(Re){P(Re);return}w($)},X.forEach(nt=>{if(it)if(ou(nt,"X-TIMESTAMP-MAP=")){it=!1,nt.slice(16).split(",").forEach(qt=>{ou(qt,"LOCAL:")?de=qt.slice(6):ou(qt,"MPEGTS:")&&(xe=parseInt(qt.slice(7)))});try{ke=Af(de)/1e3}catch(qt){Re=qt}return}else nt===""&&(it=!1);j.parse(nt+` `)}),j.flush()}const uu="stpp.ttml.im1t",Cf=/^(\d{2,}):(\d{2}):(\d{2}):(\d{2})\.?(\d+)?$/,Tf=/^(\d*(?:\.\d*)?)(h|m|s|ms|f|t)$/,cf={left:"start",center:"center",right:"end",start:"start",end:"end"};function zc(D,t,n,s){const v=ct(new Uint8Array(D),["mdat"]);if(v.length===0){s(new Error("Could not parse IMSC1 mdat"));return}const w=v.map(j=>J(j)),P=Su(t.baseTime,1,t.timescale);try{w.forEach(j=>n(Ff(j,P)))}catch(j){s(j)}}function Ff(D,t){const v=new DOMParser().parseFromString(D,"text/xml").getElementsByTagName("tt")[0];if(!v)throw new Error("Invalid ttml");const w={frameRate:30,subFrameRate:1,frameRateMultiplier:0,tickRate:0},P=Object.keys(w).reduce((de,xe)=>(de[xe]=v.getAttribute(`ttp:${xe}`)||w[xe],de),{}),j=v.getAttribute("xml:space")!=="preserve",X=Zf(Zc(v,"styling","style")),$=Zf(Zc(v,"layout","region")),ue=Zc(v,"body","[begin]");return[].map.call(ue,de=>{const xe=Yf(de,j);if(!xe||!de.hasAttribute("begin"))return null;const ke=ff(de.getAttribute("begin"),P),Re=ff(de.getAttribute("dur"),P);let it=ff(de.getAttribute("end"),P);if(ke===null)throw Wf(de);if(it===null){if(Re===null)throw Wf(de);it=ke+Re}const nt=new Sf(ke-t,it-t,xe);nt.id=lf(nt.startTime,nt.endTime,nt.text);const qt=$[de.getAttribute("region")],ir=X[de.getAttribute("style")],lr=Bf(qt,ir,X),{textAlign:Cr}=lr;if(Cr){const zr=cf[Cr];zr&&(nt.lineAlign=zr),nt.align=Cr}return y(nt,lr),nt}).filter(de=>de!==null)}function Zc(D,t,n){const s=D.getElementsByTagName(t)[0];return s?[].slice.call(s.querySelectorAll(n)):[]}function Zf(D){return D.reduce((t,n)=>{const s=n.getAttribute("xml:id");return s&&(t[s]=n),t},{})}function Yf(D,t){return[].slice.call(D.childNodes).reduce((n,s,v)=>{var w;return s.nodeName==="br"&&v?n+` -`:(w=s.childNodes)!=null&&w.length?Yf(s,t):t?n+s.textContent.trim().replace(/\s+/g," "):n+s.textContent},"")}function Bf(D,t,n){const s="http://www.w3.org/ns/ttml#styling";let v=null;const w=["displayAlign","textAlign","color","backgroundColor","fontSize","fontFamily"],P=D!=null&&D.hasAttribute("style")?D.getAttribute("style"):null;return P&&n.hasOwnProperty(P)&&(v=n[P]),w.reduce((j,X)=>{const $=Xf(t,s,X)||Xf(D,s,X)||Xf(v,s,X);return $&&(j[X]=$),j},{})}function Xf(D,t,n){return D&&D.hasAttributeNS(t,n)?D.getAttributeNS(t,n):null}function Wf(D){return new Error(`Could not parse ttml timestamp ${D}`)}function ff(D,t){if(!D)return null;let n=Lf(D);return n===null&&(Cf.test(D)?n=id(D,t):Tf.test(D)&&(n=Hf(D,t))),n}function id(D,t){const n=Cf.exec(D),s=(n[4]|0)+(n[5]|0)/t.subFrameRate;return(n[1]|0)*3600+(n[2]|0)*60+(n[3]|0)+s/t.frameRate}function Hf(D,t){const n=Tf.exec(D),s=Number(n[1]);switch(n[2]){case"h":return s*3600;case"m":return s*60;case"ms":return s*1e3;case"f":return s/t.frameRate;case"t":return s/t.tickRate}return s}class Nf{constructor(t,n){this.timelineController=void 0,this.cueRanges=[],this.trackName=void 0,this.startTime=null,this.endTime=null,this.screen=null,this.timelineController=t,this.trackName=n}dispatchCue(){this.startTime!==null&&(this.timelineController.addCues(this.trackName,this.startTime,this.endTime,this.screen,this.cueRanges),this.startTime=null)}newCue(t,n,s){(this.startTime===null||this.startTime>t)&&(this.startTime=t),this.endTime=n,this.screen=s,this.timelineController.createCaptionsTrack(this.trackName)}reset(){this.cueRanges=[],this.startTime=null}}class ad{constructor(t){this.hls=void 0,this.media=null,this.config=void 0,this.enabled=!0,this.Cues=void 0,this.textTracks=[],this.tracks=[],this.initPTS=[],this.unparsedVttFrags=[],this.captionsTracks={},this.nonNativeCaptionsTracks={},this.cea608Parser1=void 0,this.cea608Parser2=void 0,this.lastCc=-1,this.lastSn=-1,this.lastPartIndex=-1,this.prevCC=-1,this.vttCCs=g(),this.captionsProperties=void 0,this.hls=t,this.config=t.config,this.Cues=t.config.cueHandler,this.captionsProperties={textTrack1:{label:this.config.captionsTextTrack1Label,languageCode:this.config.captionsTextTrack1LanguageCode},textTrack2:{label:this.config.captionsTextTrack2Label,languageCode:this.config.captionsTextTrack2LanguageCode},textTrack3:{label:this.config.captionsTextTrack3Label,languageCode:this.config.captionsTextTrack3LanguageCode},textTrack4:{label:this.config.captionsTextTrack4Label,languageCode:this.config.captionsTextTrack4LanguageCode}},t.on(u.MEDIA_ATTACHING,this.onMediaAttaching,this),t.on(u.MEDIA_DETACHING,this.onMediaDetaching,this),t.on(u.MANIFEST_LOADING,this.onManifestLoading,this),t.on(u.MANIFEST_LOADED,this.onManifestLoaded,this),t.on(u.SUBTITLE_TRACKS_UPDATED,this.onSubtitleTracksUpdated,this),t.on(u.FRAG_LOADING,this.onFragLoading,this),t.on(u.FRAG_LOADED,this.onFragLoaded,this),t.on(u.FRAG_PARSING_USERDATA,this.onFragParsingUserdata,this),t.on(u.FRAG_DECRYPTED,this.onFragDecrypted,this),t.on(u.INIT_PTS_FOUND,this.onInitPtsFound,this),t.on(u.SUBTITLE_TRACKS_CLEARED,this.onSubtitleTracksCleared,this),t.on(u.BUFFER_FLUSHING,this.onBufferFlushing,this)}destroy(){const{hls:t}=this;t.off(u.MEDIA_ATTACHING,this.onMediaAttaching,this),t.off(u.MEDIA_DETACHING,this.onMediaDetaching,this),t.off(u.MANIFEST_LOADING,this.onManifestLoading,this),t.off(u.MANIFEST_LOADED,this.onManifestLoaded,this),t.off(u.SUBTITLE_TRACKS_UPDATED,this.onSubtitleTracksUpdated,this),t.off(u.FRAG_LOADING,this.onFragLoading,this),t.off(u.FRAG_LOADED,this.onFragLoaded,this),t.off(u.FRAG_PARSING_USERDATA,this.onFragParsingUserdata,this),t.off(u.FRAG_DECRYPTED,this.onFragDecrypted,this),t.off(u.INIT_PTS_FOUND,this.onInitPtsFound,this),t.off(u.SUBTITLE_TRACKS_CLEARED,this.onSubtitleTracksCleared,this),t.off(u.BUFFER_FLUSHING,this.onBufferFlushing,this),this.hls=this.config=this.media=null,this.cea608Parser1=this.cea608Parser2=void 0}initCea608Parsers(){const t=new Nf(this,"textTrack1"),n=new Nf(this,"textTrack2"),s=new Nf(this,"textTrack3"),v=new Nf(this,"textTrack4");this.cea608Parser1=new wl(1,t,n),this.cea608Parser2=new wl(3,s,v)}addCues(t,n,s,v,w){let P=!1;for(let j=w.length;j--;){const X=w[j],$=Gf(X[0],X[1],n,s);if($>=0&&(X[0]=Math.min(X[0],n),X[1]=Math.max(X[1],s),P=!0,$/(s-n)>.5))return}if(P||w.push([n,s]),this.config.renderTextTracksNatively){const j=this.captionsTracks[t];this.Cues.newCue(j,n,s,v)}else{const j=this.Cues.newCue(null,n,s,v);this.hls.trigger(u.CUES_PARSED,{type:"captions",cues:j,track:t})}}onInitPtsFound(t,{frag:n,id:s,initPTS:v,timescale:w,trackId:P}){const{unparsedVttFrags:j}=this;s===o.MAIN&&(this.initPTS[n.cc]={baseTime:v,timescale:w,trackId:P}),j.length&&(this.unparsedVttFrags=[],j.forEach(X=>{this.initPTS[X.frag.cc]?this.onFragLoaded(u.FRAG_LOADED,X):this.hls.trigger(u.SUBTITLE_FRAG_PROCESSED,{success:!1,frag:X.frag,error:new Error("Subtitle discontinuity domain does not match main")})}))}getExistingTrack(t,n){const{media:s}=this;if(s)for(let v=0;v{is(v[w]),delete v[w]}),this.nonNativeCaptionsTracks={}}onManifestLoading(){this.lastCc=-1,this.lastSn=-1,this.lastPartIndex=-1,this.prevCC=-1,this.vttCCs=g(),this._cleanTracks(),this.tracks=[],this.captionsTracks={},this.nonNativeCaptionsTracks={},this.textTracks=[],this.unparsedVttFrags=[],this.initPTS=[],this.cea608Parser1&&this.cea608Parser2&&(this.cea608Parser1.reset(),this.cea608Parser2.reset())}_cleanTracks(){const{media:t}=this;if(!t)return;const n=t.textTracks;if(n)for(let s=0;sw.textCodec===uu);if(this.config.enableWebVTT||v&&this.config.enableIMSC1){if(Kc(this.tracks,s)){this.tracks=s;return}if(this.textTracks=[],this.tracks=s,this.config.renderTextTracksNatively){const P=this.media,j=P?Jl(P.textTracks):null;if(this.tracks.forEach((X,$)=>{let ue;if(j){let de=null;for(let xe=0;xe$!==null).map($=>$.label);X.length&&this.hls.logger.warn(`Media element contains unused subtitle tracks: ${X.join(", ")}. Replace media element for each source to clear TextTracks and captions menu.`)}}else if(this.tracks.length){const P=this.tracks.map(j=>({label:j.name,kind:j.type.toLowerCase(),default:j.default,subtitleTrack:j}));this.hls.trigger(u.NON_NATIVE_TEXT_TRACKS_FOUND,{tracks:P})}}}onManifestLoaded(t,n){this.config.enableCEA708Captions&&n.captions&&n.captions.forEach(s=>{const v=/(?:CC|SERVICE)([1-4])/.exec(s.instreamId);if(!v)return;const w=`textTrack${v[1]}`,P=this.captionsProperties[w];P&&(P.label=s.name,s.lang&&(P.languageCode=s.lang),P.media=s)})}closedCaptionsForLevel(t){const n=this.hls.levels[t.level];return n==null?void 0:n.attrs["CLOSED-CAPTIONS"]}onFragLoading(t,n){if(this.enabled&&n.frag.type===o.MAIN){var s,v;const{cea608Parser1:w,cea608Parser2:P,lastSn:j}=this,{cc:X,sn:$}=n.frag,ue=(s=(v=n.part)==null?void 0:v.index)!=null?s:-1;w&&P&&($!==j+1||$===j&&ue!==this.lastPartIndex+1||X!==this.lastCc)&&(w.reset(),P.reset()),this.lastCc=X,this.lastSn=$,this.lastPartIndex=ue}}onFragLoaded(t,n){const{frag:s,payload:v}=n;if(s.type===o.SUBTITLE)if(v.byteLength){const w=s.decryptdata,P="stats"in n;if(w==null||!w.encrypted||P){const j=this.tracks[s.level],X=this.vttCCs;X[s.cc]||(X[s.cc]={start:s.start,prevCC:this.prevCC,new:!0},this.prevCC=s.cc),j&&j.textCodec===uu?this._parseIMSC1(s,v):this._parseVTTs(n)}}else this.hls.trigger(u.SUBTITLE_FRAG_PROCESSED,{success:!1,frag:s,error:new Error("Empty subtitle payload")})}_parseIMSC1(t,n){const s=this.hls;zc(n,this.initPTS[t.cc],v=>{this._appendCues(v,t.level),s.trigger(u.SUBTITLE_FRAG_PROCESSED,{success:!0,frag:t})},v=>{s.logger.log(`Failed to parse IMSC1: ${v}`),s.trigger(u.SUBTITLE_FRAG_PROCESSED,{success:!1,frag:t,error:v})})}_parseVTTs(t){var n;const{frag:s,payload:v}=t,{initPTS:w,unparsedVttFrags:P}=this,j=w.length-1;if(!w[s.cc]&&j===-1){P.push(t);return}const X=this.hls,$=(n=s.initSegment)!=null&&n.data?Yt(s.initSegment.data,new Uint8Array(v)).buffer:v;Uc($,this.initPTS[s.cc],this.vttCCs,s.cc,s.start,ue=>{this._appendCues(ue,s.level),X.trigger(u.SUBTITLE_FRAG_PROCESSED,{success:!0,frag:s})},ue=>{const de=ue.message==="Missing initPTS for VTT MPEGTS";de?P.push(t):this._fallbackToIMSC1(s,v),X.logger.log(`Failed to parse VTT cue: ${ue}`),!(de&&j>s.cc)&&X.trigger(u.SUBTITLE_FRAG_PROCESSED,{success:!1,frag:s,error:ue})})}_fallbackToIMSC1(t,n){const s=this.tracks[t.level];s.textCodec||zc(n,this.initPTS[t.cc],()=>{s.textCodec=uu,this._parseIMSC1(t,n)},()=>{s.textCodec="wvtt"})}_appendCues(t,n){const s=this.hls;if(this.config.renderTextTracksNatively){const v=this.textTracks[n];if(!v||v.mode==="disabled")return;t.forEach(w=>Yo(v,w))}else{const v=this.tracks[n];if(!v)return;const w=v.default?"default":"subtitles"+n;s.trigger(u.CUES_PARSED,{type:"subtitles",cues:t,track:w})}}onFragDecrypted(t,n){const{frag:s}=n;s.type===o.SUBTITLE&&this.onFragLoaded(u.FRAG_LOADED,n)}onSubtitleTracksCleared(){this.tracks=[],this.captionsTracks={}}onFragParsingUserdata(t,n){if(!this.enabled||!this.config.enableCEA708Captions)return;const{frag:s,samples:v}=n;if(!(s.type===o.MAIN&&this.closedCaptionsForLevel(s)==="NONE"))for(let w=0;wPo(j[X],n,s))}if(this.config.renderTextTracksNatively&&n===0&&v!==void 0){const{textTracks:j}=this;Object.keys(j).forEach(X=>Po(j[X],n,v))}}}extractCea608Data(t){const n=[[],[]],s=t[0]&31;let v=2;for(let w=0;w=16?X--:X++;const ke=ll($.trim()),Re=lf(t,n,ke);D!=null&&(de=D.cues)!=null&&de.getCueById(Re)||(P=new ue(t,n,ke),P.id=Re,P.line=xe+1,P.align="left",P.position=10+Math.min(80,Math.floor(X*8/32)*10),v.push(P))}return D&&v.length&&(v.sort((xe,ke)=>xe.line==="auto"||ke.line==="auto"?0:xe.line>8&&ke.line>8?ke.line-xe.line:xe.line-ke.line),v.forEach(xe=>Yo(D,xe))),v}};function ge(){if(self.fetch&&self.AbortController&&self.ReadableStream&&self.Request)try{return new self.ReadableStream({}),!0}catch(D){}return!1}const Oe=/(\d+)-(\d+)\/(\d+)/;class tt{constructor(t){this.fetchSetup=void 0,this.requestTimeout=void 0,this.request=null,this.response=null,this.controller=void 0,this.context=null,this.config=null,this.callbacks=null,this.stats=void 0,this.loader=null,this.fetchSetup=t.fetchSetup||gn,this.controller=new self.AbortController,this.stats=new U}destroy(){this.loader=this.callbacks=this.context=this.config=this.request=null,this.abortInternal(),this.response=null,this.fetchSetup=this.controller=this.stats=null}abortInternal(){this.controller&&!this.stats.loading.end&&(this.stats.aborted=!0,this.controller.abort())}abort(){var t;this.abortInternal(),(t=this.callbacks)!=null&&t.onAbort&&this.callbacks.onAbort(this.stats,this.context,this.response)}load(t,n,s){const v=this.stats;if(v.loading.start)throw new Error("Loader can only be used once.");v.loading.start=self.performance.now();const w=Ut(t,this.controller.signal),P=t.responseType==="arraybuffer",j=P?"byteLength":"length",{maxTimeToFirstByteMs:X,maxLoadTimeMs:$}=n.loadPolicy;this.context=t,this.config=n,this.callbacks=s,this.request=this.fetchSetup(t,w),self.clearTimeout(this.requestTimeout),n.timeout=X&&r(X)?X:$,this.requestTimeout=self.setTimeout(()=>{this.callbacks&&(this.abortInternal(),this.callbacks.onTimeout(v,t,this.response))},n.timeout),(ho(this.request)?this.request.then(self.fetch):self.fetch(this.request)).then(de=>{var xe;this.response=this.loader=de;const ke=Math.max(self.performance.now(),v.loading.start);if(self.clearTimeout(this.requestTimeout),n.timeout=$,this.requestTimeout=self.setTimeout(()=>{this.callbacks&&(this.abortInternal(),this.callbacks.onTimeout(v,t,this.response))},$-(ke-v.loading.start)),!de.ok){const{status:it,statusText:nt}=de;throw new Di(nt||"fetch, bad network response",it,de)}v.loading.first=ke,v.total=Rr(de.headers)||v.total;const Re=(xe=this.callbacks)==null?void 0:xe.onProgress;return Re&&r(n.highWaterMark)?this.loadProgressively(de,v,t,n.highWaterMark,Re):P?de.arrayBuffer():t.responseType==="json"?de.json():de.text()}).then(de=>{var xe,ke;const Re=this.response;if(!Re)throw new Error("loader destroyed");self.clearTimeout(this.requestTimeout),v.loading.end=Math.max(self.performance.now(),v.loading.first);const it=de[j];it&&(v.loaded=v.total=it);const nt={url:Re.url,data:de,code:Re.status},qt=(xe=this.callbacks)==null?void 0:xe.onProgress;qt&&!r(n.highWaterMark)&&qt(v,t,de,Re),(ke=this.callbacks)==null||ke.onSuccess(nt,v,t,Re)}).catch(de=>{var xe;if(self.clearTimeout(this.requestTimeout),v.aborted)return;const ke=de&&de.code||0,Re=de?de.message:null;(xe=this.callbacks)==null||xe.onError({code:ke,text:Re},t,de?de.details:null,v)})}getCacheAge(){let t=null;if(this.response){const n=this.response.headers.get("age");t=n?parseFloat(n):null}return t}getResponseHeader(t){return this.response?this.response.headers.get(t):null}loadProgressively(t,n,s,v=0,w){const P=new Ar,j=t.body.getReader(),X=()=>j.read().then($=>{if($.done)return P.dataLength&&w(n,s,P.flush().buffer,t),Promise.resolve(new ArrayBuffer(0));const ue=$.value,de=ue.length;return n.loaded+=de,de=v&&w(n,s,P.flush().buffer,t)):w(n,s,ue.buffer,t),X()}).catch(()=>Promise.reject());return X()}}function Ut(D,t){const n={method:"GET",mode:"cors",credentials:"same-origin",signal:t,headers:new self.Headers(y({},D.headers))};return D.rangeEnd&&n.headers.set("Range","bytes="+D.rangeStart+"-"+String(D.rangeEnd-1)),n}function dr(D){const t=Oe.exec(D);if(t)return parseInt(t[2])-parseInt(t[1])+1}function Rr(D){const t=D.get("Content-Range");if(t){const s=dr(t);if(r(s))return s}const n=D.get("Content-Length");if(n)return parseInt(n)}function gn(D,t){return new self.Request(D.url,t)}class Di extends Error{constructor(t,n,s){super(t),this.code=void 0,this.details=void 0,this.code=n,this.details=s}}const Ua=/^age:\s*[\d.]+\s*$/im;class Vn{constructor(t){this.xhrSetup=void 0,this.requestTimeout=void 0,this.retryTimeout=void 0,this.retryDelay=void 0,this.config=null,this.callbacks=null,this.context=null,this.loader=null,this.stats=void 0,this.xhrSetup=t&&t.xhrSetup||null,this.stats=new U,this.retryDelay=0}destroy(){this.callbacks=null,this.abortInternal(),this.loader=null,this.config=null,this.context=null,this.xhrSetup=null}abortInternal(){const t=this.loader;self.clearTimeout(this.requestTimeout),self.clearTimeout(this.retryTimeout),t&&(t.onreadystatechange=null,t.onprogress=null,t.readyState!==4&&(this.stats.aborted=!0,t.abort()))}abort(){var t;this.abortInternal(),(t=this.callbacks)!=null&&t.onAbort&&this.callbacks.onAbort(this.stats,this.context,this.loader)}load(t,n,s){if(this.stats.loading.start)throw new Error("Loader can only be used once.");this.stats.loading.start=self.performance.now(),this.context=t,this.config=n,this.callbacks=s,this.loadInternal()}loadInternal(){const{config:t,context:n}=this;if(!t||!n)return;const s=this.loader=new self.XMLHttpRequest,v=this.stats;v.loading.first=0,v.loaded=0,v.aborted=!1;const w=this.xhrSetup;w?Promise.resolve().then(()=>{if(!(this.loader!==s||this.stats.aborted))return w(s,n.url)}).catch(P=>{if(!(this.loader!==s||this.stats.aborted))return s.open("GET",n.url,!0),w(s,n.url)}).then(()=>{this.loader!==s||this.stats.aborted||this.openAndSendXhr(s,n,t)}).catch(P=>{var j;(j=this.callbacks)==null||j.onError({code:s.status,text:P.message},n,s,v)}):this.openAndSendXhr(s,n,t)}openAndSendXhr(t,n,s){t.readyState||t.open("GET",n.url,!0);const v=n.headers,{maxTimeToFirstByteMs:w,maxLoadTimeMs:P}=s.loadPolicy;if(v)for(const j in v)t.setRequestHeader(j,v[j]);n.rangeEnd&&t.setRequestHeader("Range","bytes="+n.rangeStart+"-"+(n.rangeEnd-1)),t.onreadystatechange=this.readystatechange.bind(this),t.onprogress=this.loadprogress.bind(this),t.responseType=n.responseType,self.clearTimeout(this.requestTimeout),s.timeout=w&&r(w)?w:P,this.requestTimeout=self.setTimeout(this.loadtimeout.bind(this),s.timeout),t.send()}readystatechange(){const{context:t,loader:n,stats:s}=this;if(!t||!n)return;const v=n.readyState,w=this.config;if(!s.aborted&&v>=2&&(s.loading.first===0&&(s.loading.first=Math.max(self.performance.now(),s.loading.start),w.timeout!==w.loadPolicy.maxLoadTimeMs&&(self.clearTimeout(this.requestTimeout),w.timeout=w.loadPolicy.maxLoadTimeMs,this.requestTimeout=self.setTimeout(this.loadtimeout.bind(this),w.loadPolicy.maxLoadTimeMs-(s.loading.first-s.loading.start)))),v===4)){self.clearTimeout(this.requestTimeout),n.onreadystatechange=null,n.onprogress=null;const $=n.status,ue=n.responseType==="text"?n.responseText:null;if($>=200&&$<300){const Re=ue!=null?ue:n.response;if(Re!=null){var P,j;s.loading.end=Math.max(self.performance.now(),s.loading.first);const it=n.responseType==="arraybuffer"?Re.byteLength:Re.length;s.loaded=s.total=it,s.bwEstimate=s.total*8e3/(s.loading.end-s.loading.first);const nt=(P=this.callbacks)==null?void 0:P.onProgress;nt&&nt(s,t,Re,n);const qt={url:n.responseURL,data:Re,code:$};(j=this.callbacks)==null||j.onSuccess(qt,s,t,n);return}}const de=w.loadPolicy.errorRetry,xe=s.retry,ke={url:t.url,data:void 0,code:$};if(lt(de,xe,!1,ke))this.retry(de);else{var X;H.error(`${$} while loading ${t.url}`),(X=this.callbacks)==null||X.onError({code:$,text:n.statusText},t,n,s)}}}loadtimeout(){if(!this.config)return;const t=this.config.loadPolicy.timeoutRetry,n=this.stats.retry;if(lt(t,n,!0))this.retry(t);else{var s;H.warn(`timeout while loading ${(s=this.context)==null?void 0:s.url}`);const v=this.callbacks;v&&(this.abortInternal(),v.onTimeout(this.stats,this.context,this.loader))}}retry(t){const{context:n,stats:s}=this;this.retryDelay=qn(t,s.retry),s.retry++,H.warn(`${status?"HTTP Status "+status:"Timeout"} while loading ${n==null?void 0:n.url}, retrying ${s.retry}/${t.maxNumRetry} in ${this.retryDelay}ms`),this.abortInternal(),this.loader=null,self.clearTimeout(this.retryTimeout),this.retryTimeout=self.setTimeout(this.loadInternal.bind(this),this.retryDelay)}loadprogress(t){const n=this.stats;n.loaded=t.loaded,t.lengthComputable&&(n.total=t.total)}getCacheAge(){let t=null;if(this.loader&&Ua.test(this.loader.getAllResponseHeaders())){const n=this.loader.getResponseHeader("age");t=n?parseFloat(n):null}return t}getResponseHeader(t){return this.loader&&new RegExp(`^${t}:\\s*[\\d.]+\\s*$`,"im").test(this.loader.getAllResponseHeaders())?this.loader.getResponseHeader(t):null}}const ca={maxTimeToFirstByteMs:8e3,maxLoadTimeMs:2e4,timeoutRetry:null,errorRetry:null},za=b(b({autoStartLoad:!0,startPosition:-1,defaultAudioCodec:void 0,debug:!1,capLevelOnFPSDrop:!1,capLevelToPlayerSize:!1,ignoreDevicePixelRatio:!1,maxDevicePixelRatio:Number.POSITIVE_INFINITY,preferManagedMediaSource:!0,initialLiveManifestSize:1,maxBufferLength:30,backBufferLength:1/0,frontBufferFlushThreshold:1/0,startOnSegmentBoundary:!1,maxBufferSize:60*1e3*1e3,maxFragLookUpTolerance:.25,maxBufferHole:.1,detectStallWithCurrentTimeMs:1250,highBufferWatchdogPeriod:2,nudgeOffset:.1,nudgeMaxRetry:3,nudgeOnVideoHole:!0,liveSyncMode:"edge",liveSyncDurationCount:3,liveSyncOnStallIncrease:1,liveMaxLatencyDurationCount:1/0,liveSyncDuration:void 0,liveMaxLatencyDuration:void 0,maxLiveSyncPlaybackRate:1,liveDurationInfinity:!1,liveBackBufferLength:null,maxMaxBufferLength:600,enableWorker:!0,workerPath:null,enableSoftwareAES:!0,startLevel:void 0,startFragPrefetch:!1,fpsDroppedMonitoringPeriod:5e3,fpsDroppedMonitoringThreshold:.2,appendErrorMaxRetry:3,ignorePlaylistParsingErrors:!1,loader:Vn,fLoader:void 0,pLoader:void 0,xhrSetup:void 0,licenseXhrSetup:void 0,licenseResponseCallback:void 0,abrController:me,bufferController:vo,capLevelController:Al,errorController:$r,fpsController:ds,stretchShortVideoTrack:!1,maxAudioFramesDrift:1,forceKeyFrameOnDiscontinuity:!0,abrEwmaFastLive:3,abrEwmaSlowLive:9,abrEwmaFastVoD:3,abrEwmaSlowVoD:9,abrEwmaDefaultEstimate:5e5,abrEwmaDefaultEstimateMax:5e6,abrBandWidthFactor:.95,abrBandWidthUpFactor:.7,abrMaxWithRealBitrate:!1,maxStarvationDelay:4,maxLoadingDelay:4,minAutoBitrate:0,emeEnabled:!1,widevineLicenseUrl:void 0,drmSystems:{},drmSystemOptions:{},requestMediaKeySystemAccessFunc:wu,requireKeySystemAccessOnStart:!1,testBandwidth:!0,progressive:!1,lowLatencyMode:!0,cmcd:void 0,enableDateRangeMetadataCues:!0,enableEmsgMetadataCues:!0,enableEmsgKLVMetadata:!1,enableID3MetadataCues:!0,enableInterstitialPlayback:!0,interstitialAppendInPlace:!0,interstitialLiveLookAhead:10,useMediaCapabilities:!0,preserveManualLevelOnError:!1,certLoadPolicy:{default:ca},keyLoadPolicy:{default:{maxTimeToFirstByteMs:8e3,maxLoadTimeMs:2e4,timeoutRetry:{maxNumRetry:1,retryDelayMs:1e3,maxRetryDelayMs:2e4,backoff:"linear"},errorRetry:{maxNumRetry:8,retryDelayMs:1e3,maxRetryDelayMs:2e4,backoff:"linear"}}},manifestLoadPolicy:{default:{maxTimeToFirstByteMs:1/0,maxLoadTimeMs:2e4,timeoutRetry:{maxNumRetry:2,retryDelayMs:0,maxRetryDelayMs:0},errorRetry:{maxNumRetry:1,retryDelayMs:1e3,maxRetryDelayMs:8e3}}},playlistLoadPolicy:{default:{maxTimeToFirstByteMs:1e4,maxLoadTimeMs:2e4,timeoutRetry:{maxNumRetry:2,retryDelayMs:0,maxRetryDelayMs:0},errorRetry:{maxNumRetry:2,retryDelayMs:1e3,maxRetryDelayMs:8e3}}},fragLoadPolicy:{default:{maxTimeToFirstByteMs:1e4,maxLoadTimeMs:12e4,timeoutRetry:{maxNumRetry:4,retryDelayMs:0,maxRetryDelayMs:0},errorRetry:{maxNumRetry:6,retryDelayMs:1e3,maxRetryDelayMs:8e3}}},steeringManifestLoadPolicy:{default:{maxTimeToFirstByteMs:1e4,maxLoadTimeMs:2e4,timeoutRetry:{maxNumRetry:2,retryDelayMs:0,maxRetryDelayMs:0},errorRetry:{maxNumRetry:1,retryDelayMs:1e3,maxRetryDelayMs:8e3}}},interstitialAssetListLoadPolicy:{default:{maxTimeToFirstByteMs:1e4,maxLoadTimeMs:3e4,timeoutRetry:{maxNumRetry:0,retryDelayMs:0,maxRetryDelayMs:0},errorRetry:{maxNumRetry:0,retryDelayMs:1e3,maxRetryDelayMs:8e3}}},manifestLoadingTimeOut:1e4,manifestLoadingMaxRetry:1,manifestLoadingRetryDelay:1e3,manifestLoadingMaxRetryTimeout:64e3,levelLoadingTimeOut:1e4,levelLoadingMaxRetry:4,levelLoadingRetryDelay:1e3,levelLoadingMaxRetryTimeout:64e3,fragLoadingTimeOut:2e4,fragLoadingMaxRetry:6,fragLoadingRetryDelay:1e3,fragLoadingMaxRetryTimeout:64e3},ka()),{},{subtitleStreamController:Pl,subtitleTrackController:Bc,timelineController:ad,audioStreamController:$c,audioTrackController:Dl,emeController:Ie,cmcdController:xf,contentSteeringController:O,interstitialsController:Ef});function ka(){return{cueHandler:z,enableWebVTT:!0,enableIMSC1:!0,enableCEA708Captions:!0,captionsTextTrack1Label:"English",captionsTextTrack1LanguageCode:"en",captionsTextTrack2Label:"Spanish",captionsTextTrack2LanguageCode:"es",captionsTextTrack3Label:"Unknown CC",captionsTextTrack3LanguageCode:"",captionsTextTrack4Label:"Unknown CC",captionsTextTrack4LanguageCode:"",renderTextTracksNatively:!0}}function an(D,t,n){if((t.liveSyncDurationCount||t.liveMaxLatencyDurationCount)&&(t.liveSyncDuration||t.liveMaxLatencyDuration))throw new Error("Illegal hls.js config: don't mix up liveSyncDurationCount/liveMaxLatencyDurationCount and liveSyncDuration/liveMaxLatencyDuration");if(t.liveMaxLatencyDurationCount!==void 0&&(t.liveSyncDurationCount===void 0||t.liveMaxLatencyDurationCount<=t.liveSyncDurationCount))throw new Error('Illegal hls.js config: "liveMaxLatencyDurationCount" must be greater than "liveSyncDurationCount"');if(t.liveMaxLatencyDuration!==void 0&&(t.liveSyncDuration===void 0||t.liveMaxLatencyDuration<=t.liveSyncDuration))throw new Error('Illegal hls.js config: "liveMaxLatencyDuration" must be greater than "liveSyncDuration"');const s=Ur(D),v=["manifest","level","frag"],w=["TimeOut","MaxRetry","RetryDelay","MaxRetryTimeout"];return v.forEach(P=>{const j=`${P==="level"?"playlist":P}LoadPolicy`,X=t[j]===void 0,$=[];w.forEach(ue=>{const de=`${P}Loading${ue}`,xe=t[de];if(xe!==void 0&&X){$.push(de);const ke=s[j].default;switch(t[j]={default:ke},ue){case"TimeOut":ke.maxLoadTimeMs=xe,ke.maxTimeToFirstByteMs=xe;break;case"MaxRetry":ke.errorRetry.maxNumRetry=xe,ke.timeoutRetry.maxNumRetry=xe;break;case"RetryDelay":ke.errorRetry.retryDelayMs=xe,ke.timeoutRetry.retryDelayMs=xe;break;case"MaxRetryTimeout":ke.errorRetry.maxRetryDelayMs=xe,ke.timeoutRetry.maxRetryDelayMs=xe;break}}}),$.length&&n.warn(`hls.js config: "${$.join('", "')}" setting(s) are deprecated, use "${j}": ${zi(t[j])}`)}),b(b({},s),t)}function Ur(D){return D&&typeof D=="object"?Array.isArray(D)?D.map(Ur):Object.keys(D).reduce((t,n)=>(t[n]=Ur(D[n]),t),{}):D}function nn(D,t){const n=D.loader;n!==tt&&n!==Vn?(t.log("[config]: Custom loader detected, cannot enable progressive streaming"),D.progressive=!1):ge()&&(D.loader=tt,D.progressive=!0,D.enableSoftwareAES=!0,t.log("[config]: Progressive streaming enabled, using FetchLoader"))}const Dn=2,zn=.1,Ya=.05,Wi=100;class Xa extends ro{constructor(t,n){super("gap-controller",t.logger),this.hls=void 0,this.fragmentTracker=void 0,this.media=null,this.mediaSource=void 0,this.nudgeRetry=0,this.stallReported=!1,this.stalled=null,this.moved=!1,this.seeking=!1,this.buffered={},this.lastCurrentTime=0,this.ended=0,this.waiting=0,this.onMediaPlaying=()=>{this.ended=0,this.waiting=0},this.onMediaWaiting=()=>{var s;(s=this.media)!=null&&s.seeking||(this.waiting=self.performance.now(),this.tick())},this.onMediaEnded=()=>{if(this.hls){var s;this.ended=((s=this.media)==null?void 0:s.currentTime)||1,this.hls.trigger(u.MEDIA_ENDED,{stalled:!1})}},this.hls=t,this.fragmentTracker=n,this.registerListeners()}registerListeners(){const{hls:t}=this;t&&(t.on(u.MEDIA_ATTACHED,this.onMediaAttached,this),t.on(u.MEDIA_DETACHING,this.onMediaDetaching,this),t.on(u.BUFFER_APPENDED,this.onBufferAppended,this))}unregisterListeners(){const{hls:t}=this;t&&(t.off(u.MEDIA_ATTACHED,this.onMediaAttached,this),t.off(u.MEDIA_DETACHING,this.onMediaDetaching,this),t.off(u.BUFFER_APPENDED,this.onBufferAppended,this))}destroy(){super.destroy(),this.unregisterListeners(),this.media=this.hls=this.fragmentTracker=null,this.mediaSource=void 0}onMediaAttached(t,n){this.setInterval(Wi),this.mediaSource=n.mediaSource;const s=this.media=n.media;ja(s,"playing",this.onMediaPlaying),ja(s,"waiting",this.onMediaWaiting),ja(s,"ended",this.onMediaEnded)}onMediaDetaching(t,n){this.clearInterval();const{media:s}=this;s&&(os(s,"playing",this.onMediaPlaying),os(s,"waiting",this.onMediaWaiting),os(s,"ended",this.onMediaEnded),this.media=null),this.mediaSource=void 0}onBufferAppended(t,n){this.buffered=n.timeRanges}get hasBuffered(){return Object.keys(this.buffered).length>0}tick(){var t;if(!((t=this.media)!=null&&t.readyState)||!this.hasBuffered)return;const n=this.media.currentTime;this.poll(n,this.lastCurrentTime),this.lastCurrentTime=n}poll(t,n){var s,v;const w=(s=this.hls)==null?void 0:s.config;if(!w)return;const P=this.media;if(!P)return;const{seeking:j}=P,X=this.seeking&&!j,$=!this.seeking&&j,ue=P.paused&&!j||P.ended||P.playbackRate===0;if(this.seeking=j,t!==n){n&&(this.ended=0),this.moved=!0,j||(this.nudgeRetry=0,w.nudgeOnVideoHole&&!ue&&t>n&&this.nudgeOnVideoHole(t,n)),this.waiting===0&&this.stallResolved(t);return}if($||X){X&&this.stallResolved(t);return}if(ue){this.nudgeRetry=0,this.stallResolved(t),!this.ended&&P.ended&&this.hls&&(this.ended=t||1,this.hls.trigger(u.MEDIA_ENDED,{stalled:!1}));return}if(!mi.getBuffered(P).length){this.nudgeRetry=0;return}const de=mi.bufferInfo(P,t,0),xe=de.nextStart||0,ke=this.fragmentTracker;if(j&&ke&&this.hls){const vn=hs(this.hls.inFlightFragments,t),Zr=de.len>Dn,cn=!xe||vn||xe-t>Dn&&!ke.getPartialFragment(t);if(Zr||cn)return;this.moved=!1}const Re=(v=this.hls)==null?void 0:v.latestLevelDetails;if(!this.moved&&this.stalled!==null&&ke){if(!(de.len>0)&&!xe)return;const Zr=Math.max(xe,de.start||0)-t,un=!!(Re!=null&&Re.live)?Re.targetduration*2:Dn,qr=Ul(t,ke);if(Zr>0&&(Zr<=un||qr)){P.paused||this._trySkipBufferHole(qr);return}}const it=w.detectStallWithCurrentTimeMs,nt=self.performance.now(),qt=this.waiting;let ir=this.stalled;if(ir===null)if(qt>0&&nt-qt=it||qt)&&this.hls){var Cr;if(((Cr=this.mediaSource)==null?void 0:Cr.readyState)==="ended"&&!(Re!=null&&Re.live)&&Math.abs(t-((Re==null?void 0:Re.edge)||0))<1){if(this.ended)return;this.ended=t||1,this.hls.trigger(u.MEDIA_ENDED,{stalled:!0});return}if(this._reportStall(de),!this.media||!this.hls)return}const zr=mi.bufferInfo(P,t,w.maxBufferHole);this._tryFixBufferStall(zr,lr,t)}stallResolved(t){const n=this.stalled;if(n&&this.hls&&(this.stalled=null,this.stallReported)){const s=self.performance.now()-n;this.log(`playback not stuck anymore @${t}, after ${Math.round(s)}ms`),this.stallReported=!1,this.waiting=0,this.hls.trigger(u.STALL_RESOLVED,{})}}nudgeOnVideoHole(t,n){var s;const v=this.buffered.video;if(this.hls&&this.media&&this.fragmentTracker&&(s=this.buffered.audio)!=null&&s.length&&v&&v.length>1&&t>v.end(0)){const w=mi.bufferedInfo(mi.timeRangesToArray(this.buffered.audio),t,0);if(w.len>1&&n>=w.start){const P=mi.timeRangesToArray(v),j=mi.bufferedInfo(P,n,0).bufferedIndex;if(j>-1&&jj)&&ue-$<1&&t-$<2){const de=new Error(`nudging playhead to flush pipeline after video hole. currentTime: ${t} hole: ${$} -> ${ue} buffered index: ${X}`);this.warn(de.message),this.media.currentTime+=1e-6;let xe=Ul(t,this.fragmentTracker);xe&&"fragment"in xe?xe=xe.fragment:xe||(xe=void 0);const ke=mi.bufferInfo(this.media,t,0);this.hls.trigger(u.ERROR,{type:c.MEDIA_ERROR,details:f.BUFFER_SEEK_OVER_HOLE,fatal:!1,error:de,reason:de.message,frag:xe,buffer:ke.len,bufferInfo:ke})}}}}}_tryFixBufferStall(t,n,s){var v,w;const{fragmentTracker:P,media:j}=this,X=(v=this.hls)==null?void 0:v.config;if(!j||!P||!X)return;const $=(w=this.hls)==null?void 0:w.latestLevelDetails,ue=Ul(s,P);if((ue||$!=null&&$.live&&s<$.fragmentStart)&&(this._trySkipBufferHole(ue)||!this.media))return;const de=t.buffered,xe=this.adjacentTraversal(t,s);(de&&de.length>1&&t.len>X.maxBufferHole||t.nextStart&&(t.nextStart-sX.highBufferWatchdogPeriod*1e3||this.waiting)&&(this.warn("Trying to nudge playhead over buffer-hole"),this._tryNudgeBuffer(t))}adjacentTraversal(t,n){const s=this.fragmentTracker,v=t.nextStart;if(s&&v){const w=s.getFragAtPos(n,o.MAIN),P=s.getFragAtPos(v,o.MAIN);if(w&&P)return P.sn-w.sn<2}return!1}_reportStall(t){const{hls:n,media:s,stallReported:v,stalled:w}=this;if(!v&&w!==null&&s&&n){this.stallReported=!0;const P=new Error(`Playback stalling at @${s.currentTime} due to low buffer (${zi(t)})`);this.warn(P.message),n.trigger(u.ERROR,{type:c.MEDIA_ERROR,details:f.BUFFER_STALLED_ERROR,fatal:!1,error:P,buffer:t.len,bufferInfo:t,stalled:{start:w}})}}_trySkipBufferHole(t){var n;const{fragmentTracker:s,media:v}=this,w=(n=this.hls)==null?void 0:n.config;if(!v||!s||!w)return 0;const P=v.currentTime,j=mi.bufferInfo(v,P,0),X=P0&&j.len<1&&v.readyState<3,xe=X-P;if(xe>0&&(ue||de)){if(xe>w.maxBufferHole){let Re=!1;if(P===0){const it=s.getAppendedFrag(0,o.MAIN);it&&X{const D=od();try{D&&new D(0,Number.POSITIVE_INFINITY,"")}catch(t){return Number.MAX_VALUE}return Number.POSITIVE_INFINITY})();class Sd{constructor(t){this.hls=void 0,this.id3Track=null,this.media=null,this.dateRangeCuesAppended={},this.removeCues=!0,this.assetCue=void 0,this.onEventCueEnter=()=>{this.hls&&this.hls.trigger(u.EVENT_CUE_ENTER,{})},this.hls=t,this._registerListeners()}destroy(){this._unregisterListeners(),this.id3Track=null,this.media=null,this.dateRangeCuesAppended={},this.hls=this.onEventCueEnter=null}_registerListeners(){const{hls:t}=this;t&&(t.on(u.MEDIA_ATTACHING,this.onMediaAttaching,this),t.on(u.MEDIA_ATTACHED,this.onMediaAttached,this),t.on(u.MEDIA_DETACHING,this.onMediaDetaching,this),t.on(u.MANIFEST_LOADING,this.onManifestLoading,this),t.on(u.FRAG_PARSING_METADATA,this.onFragParsingMetadata,this),t.on(u.BUFFER_FLUSHING,this.onBufferFlushing,this),t.on(u.LEVEL_UPDATED,this.onLevelUpdated,this),t.on(u.LEVEL_PTS_UPDATED,this.onLevelPtsUpdated,this))}_unregisterListeners(){const{hls:t}=this;t&&(t.off(u.MEDIA_ATTACHING,this.onMediaAttaching,this),t.off(u.MEDIA_ATTACHED,this.onMediaAttached,this),t.off(u.MEDIA_DETACHING,this.onMediaDetaching,this),t.off(u.MANIFEST_LOADING,this.onManifestLoading,this),t.off(u.FRAG_PARSING_METADATA,this.onFragParsingMetadata,this),t.off(u.BUFFER_FLUSHING,this.onBufferFlushing,this),t.off(u.LEVEL_UPDATED,this.onLevelUpdated,this),t.off(u.LEVEL_PTS_UPDATED,this.onLevelPtsUpdated,this))}onMediaAttaching(t,n){var s;this.media=n.media,((s=n.overrides)==null?void 0:s.cueRemoval)===!1&&(this.removeCues=!1)}onMediaAttached(){var t;const n=(t=this.hls)==null?void 0:t.latestLevelDetails;n&&this.updateDateRangeCues(n)}onMediaDetaching(t,n){this.media=null,!n.transferMedia&&(this.id3Track&&(this.removeCues&&is(this.id3Track,this.onEventCueEnter),this.id3Track=null),this.dateRangeCuesAppended={})}onManifestLoading(){this.dateRangeCuesAppended={}}createTrack(t){const n=this.getID3Track(t.textTracks);return n.mode="hidden",n}getID3Track(t){if(this.media){for(let n=0;ned&&(de=ed),de-ue<=0&&(de=ue+sd);for(let ke=0;ke<$.length;ke++){const Re=$[ke];if(!Sr(Re)){this.updateId3CueEnds(ue,X);const it=ud(P,ue,de,Re,X);it&&this.id3Track.addCue(it)}}}}updateId3CueEnds(t,n){var s;const v=(s=this.id3Track)==null?void 0:s.cues;if(v)for(let w=v.length;w--;){const P=v[w];P.type===n&&P.startTimeue.type===yn.audioId3&&X:v==="video"?$=ue=>ue.type===yn.emsg&&j:$=ue=>ue.type===yn.audioId3&&X||ue.type===yn.emsg&&j,Po(w,n,s,$)}}onLevelUpdated(t,{details:n}){this.updateDateRangeCues(n,!0)}onLevelPtsUpdated(t,n){Math.abs(n.drift)>.01&&this.updateDateRangeCues(n.details)}updateDateRangeCues(t,n){if(!this.hls||!this.media)return;const{assetPlayerId:s,timelineOffset:v,enableDateRangeMetadataCues:w,interstitialsController:P}=this.hls.config;if(!w)return;const j=od();if(s&&v&&!P){const{fragmentStart:it,fragmentEnd:nt}=t;let qt=this.assetCue;qt?(qt.startTime=it,qt.endTime=nt):j&&(qt=this.assetCue=ud(j,it,nt,{assetPlayerId:this.hls.config.assetPlayerId},"hlsjs.interstitial.asset"),qt&&(qt.id=s,this.id3Track||(this.id3Track=this.createTrack(this.media)),this.id3Track.addCue(qt),qt.addEventListener("enter",this.onEventCueEnter)))}if(!t.hasProgramDateTime)return;const{id3Track:X}=this,{dateRanges:$}=t,ue=Object.keys($);let de=this.dateRangeCuesAppended;if(X&&n){var xe;if((xe=X.cues)!=null&&xe.length){const it=Object.keys(de).filter(nt=>!ue.includes(nt));for(let nt=it.length;nt--;){var ke;const qt=it[nt],ir=(ke=de[qt])==null?void 0:ke.cues;delete de[qt],ir&&Object.keys(ir).forEach(lr=>{const Cr=ir[lr];if(Cr){Cr.removeEventListener("enter",this.onEventCueEnter);try{X.removeCue(Cr)}catch(zr){}}})}}else de=this.dateRangeCuesAppended={}}const Re=t.fragments[t.fragments.length-1];if(!(ue.length===0||!r(Re==null?void 0:Re.programDateTime))){this.id3Track||(this.id3Track=this.createTrack(this.media));for(let it=0;it{if(Si!==qt.id){const Vi=$[Si];if(Vi.class===qt.class&&Vi.startDate>qt.startDate&&(!kn||qt.startDate.01&&(Si.startTime=ir,Si.endTime=vn);else if(j){let Vi=qt.attr[kn];Ho(kn)&&(Vi=V(Vi));const Yi=ud(j,ir,vn,{key:kn,data:Vi},yn.dateRange);Yi&&(Yi.id=nt,this.id3Track.addCue(Yi),Cr[kn]=Yi,P&&(kn==="X-ASSET-LIST"||kn==="X-ASSET-URL")&&Yi.addEventListener("enter",this.onEventCueEnter))}}de[nt]={cues:Cr,dateRange:qt,durationKnown:zr}}}}}class Ad{constructor(t){this.hls=void 0,this.config=void 0,this.media=null,this.currentTime=0,this.stallCount=0,this._latency=null,this._targetLatencyUpdated=!1,this.onTimeupdate=()=>{const{media:n}=this,s=this.levelDetails;if(!n||!s)return;this.currentTime=n.currentTime;const v=this.computeLatency();if(v===null)return;this._latency=v;const{lowLatencyMode:w,maxLiveSyncPlaybackRate:P}=this.config;if(!w||P===1||!s.live)return;const j=this.targetLatency;if(j===null)return;const X=v-j,$=Math.min(this.maxLatency,j+s.targetduration);if(X<$&&X>.05&&this.forwardBufferLength>1){const de=Math.min(2,Math.max(1,P)),xe=Math.round(2/(1+Math.exp(-.75*X-this.edgeStalled))*20)/20,ke=Math.min(de,Math.max(1,xe));this.changeMediaPlaybackRate(n,ke)}else n.playbackRate!==1&&n.playbackRate!==0&&this.changeMediaPlaybackRate(n,1)},this.hls=t,this.config=t.config,this.registerListeners()}get levelDetails(){var t;return((t=this.hls)==null?void 0:t.latestLevelDetails)||null}get latency(){return this._latency||0}get maxLatency(){const{config:t}=this;if(t.liveMaxLatencyDuration!==void 0)return t.liveMaxLatencyDuration;const n=this.levelDetails;return n?t.liveMaxLatencyDurationCount*n.targetduration:0}get targetLatency(){const t=this.levelDetails;if(t===null||this.hls===null)return null;const{holdBack:n,partHoldBack:s,targetduration:v}=t,{liveSyncDuration:w,liveSyncDurationCount:P,lowLatencyMode:j}=this.config,X=this.hls.userConfig;let $=j&&s||n;(this._targetLatencyUpdated||X.liveSyncDuration||X.liveSyncDurationCount||$===0)&&($=w!==void 0?w:P*v);const ue=v;return $+Math.min(this.stallCount*this.config.liveSyncOnStallIncrease,ue)}set targetLatency(t){this.stallCount=0,this.config.liveSyncDuration=t,this._targetLatencyUpdated=!0}get liveSyncPosition(){const t=this.estimateLiveEdge(),n=this.targetLatency;if(t===null||n===null)return null;const s=this.levelDetails;if(s===null)return null;const v=s.edge,w=t-n-this.edgeStalled,P=v-s.totalduration,j=v-(this.config.lowLatencyMode&&s.partTarget||s.targetduration);return Math.min(Math.max(P,w),j)}get drift(){const t=this.levelDetails;return t===null?1:t.drift}get edgeStalled(){const t=this.levelDetails;if(t===null)return 0;const n=(this.config.lowLatencyMode&&t.partTarget||t.targetduration)*3;return Math.max(t.age-n,0)}get forwardBufferLength(){const{media:t}=this,n=this.levelDetails;if(!t||!n)return 0;const s=t.buffered.length;return(s?t.buffered.end(s-1):n.edge)-this.currentTime}destroy(){this.unregisterListeners(),this.onMediaDetaching(),this.hls=null}registerListeners(){const{hls:t}=this;t&&(t.on(u.MEDIA_ATTACHED,this.onMediaAttached,this),t.on(u.MEDIA_DETACHING,this.onMediaDetaching,this),t.on(u.MANIFEST_LOADING,this.onManifestLoading,this),t.on(u.LEVEL_UPDATED,this.onLevelUpdated,this),t.on(u.ERROR,this.onError,this))}unregisterListeners(){const{hls:t}=this;t&&(t.off(u.MEDIA_ATTACHED,this.onMediaAttached,this),t.off(u.MEDIA_DETACHING,this.onMediaDetaching,this),t.off(u.MANIFEST_LOADING,this.onManifestLoading,this),t.off(u.LEVEL_UPDATED,this.onLevelUpdated,this),t.off(u.ERROR,this.onError,this))}onMediaAttached(t,n){this.media=n.media,this.media.addEventListener("timeupdate",this.onTimeupdate)}onMediaDetaching(){this.media&&(this.media.removeEventListener("timeupdate",this.onTimeupdate),this.media=null)}onManifestLoading(){this._latency=null,this.stallCount=0}onLevelUpdated(t,{details:n}){n.advanced&&this.onTimeupdate(),!n.live&&this.media&&this.media.removeEventListener("timeupdate",this.onTimeupdate)}onError(t,n){var s;n.details===f.BUFFER_STALLED_ERROR&&(this.stallCount++,this.hls&&(s=this.levelDetails)!=null&&s.live&&this.hls.logger.warn("[latency-controller]: Stall detected, adjusting target latency"))}changeMediaPlaybackRate(t,n){var s,v;t.playbackRate!==n&&((s=this.hls)==null||s.logger.debug(`[latency-controller]: latency=${this.latency.toFixed(3)}, targetLatency=${(v=this.targetLatency)==null?void 0:v.toFixed(3)}, forwardBufferLength=${this.forwardBufferLength.toFixed(3)}: adjusting playback rate from ${t.playbackRate} to ${n}`),t.playbackRate=n)}estimateLiveEdge(){const t=this.levelDetails;return t===null?null:t.edge+t.age}computeLatency(){const t=this.estimateLiveEdge();return t===null?null:t-this.currentTime}}class Cd extends Ao{constructor(t,n){super(t,"level-controller"),this._levels=[],this._firstLevel=-1,this._maxAutoLevel=-1,this._startLevel=void 0,this.currentLevel=null,this.currentLevelIndex=-1,this.manualLevelIndex=-1,this.steering=void 0,this.onParsedComplete=void 0,this.steering=n,this._registerListeners()}_registerListeners(){const{hls:t}=this;t.on(u.MANIFEST_LOADING,this.onManifestLoading,this),t.on(u.MANIFEST_LOADED,this.onManifestLoaded,this),t.on(u.LEVEL_LOADED,this.onLevelLoaded,this),t.on(u.LEVELS_UPDATED,this.onLevelsUpdated,this),t.on(u.FRAG_BUFFERED,this.onFragBuffered,this),t.on(u.ERROR,this.onError,this)}_unregisterListeners(){const{hls:t}=this;t.off(u.MANIFEST_LOADING,this.onManifestLoading,this),t.off(u.MANIFEST_LOADED,this.onManifestLoaded,this),t.off(u.LEVEL_LOADED,this.onLevelLoaded,this),t.off(u.LEVELS_UPDATED,this.onLevelsUpdated,this),t.off(u.FRAG_BUFFERED,this.onFragBuffered,this),t.off(u.ERROR,this.onError,this)}destroy(){this._unregisterListeners(),this.steering=null,this.resetLevels(),super.destroy()}stopLoad(){this._levels.forEach(n=>{n.loadError=0,n.fragmentError=0}),super.stopLoad()}resetLevels(){this._startLevel=void 0,this.manualLevelIndex=-1,this.currentLevelIndex=-1,this.currentLevel=null,this._levels=[],this._maxAutoLevel=-1}onManifestLoading(t,n){this.resetLevels()}onManifestLoaded(t,n){const s=this.hls.config.preferManagedMediaSource,v=[],w={},P={};let j=!1,X=!1,$=!1;n.levels.forEach(ue=>{const de=ue.attrs;let{audioCodec:xe,videoCodec:ke}=ue;xe&&(ue.audioCodec=xe=pt(xe,s)||void 0),ke&&(ke=ue.videoCodec=Jt(ke));const{width:Re,height:it,unknownCodecs:nt}=ue,qt=(nt==null?void 0:nt.length)||0;if(j||(j=!!(Re&&it)),X||(X=!!ke),$||($=!!xe),qt||xe&&!this.isAudioSupported(xe)||ke&&!this.isVideoSupported(ke)){this.log(`Some or all CODECS not supported "${de.CODECS}"`);return}const{CODECS:ir,"FRAME-RATE":lr,"HDCP-LEVEL":Cr,"PATHWAY-ID":zr,RESOLUTION:vn,"VIDEO-RANGE":Zr}=de,un=`${`${zr||"."}-`}${ue.bitrate}-${vn}-${lr}-${ir}-${Zr}-${Cr}`;if(w[un])if(w[un].uri!==ue.url&&!ue.attrs["PATHWAY-ID"]){const qr=P[un]+=1;ue.attrs["PATHWAY-ID"]=new Array(qr+1).join(".");const kn=this.createLevel(ue);w[un]=kn,v.push(kn)}else w[un].addGroupId("audio",de.AUDIO),w[un].addGroupId("text",de.SUBTITLES);else{const qr=this.createLevel(ue);w[un]=qr,P[un]=1,v.push(qr)}}),this.filterAndSortMediaOptions(v,n,j,X,$)}createLevel(t){const n=new pi(t),s=t.supplemental;if(s!=null&&s.videoCodec&&!this.isVideoSupported(s.videoCodec)){const v=new Error(`SUPPLEMENTAL-CODECS not supported "${s.videoCodec}"`);this.log(v.message),n.supportedResult=Lt(v,[])}return n}isAudioSupported(t){return Ae(t,"audio",this.hls.config.preferManagedMediaSource)}isVideoSupported(t){return Ae(t,"video",this.hls.config.preferManagedMediaSource)}filterAndSortMediaOptions(t,n,s,v,w){var P;let j=[],X=[],$=t;const ue=((P=n.stats)==null?void 0:P.parsing)||{};if((s||v)&&w&&($=$.filter(({videoCodec:ir,videoRange:lr,width:Cr,height:zr})=>(!!ir||!!(Cr&&zr))&&Mi(lr))),$.length===0){Promise.resolve().then(()=>{if(this.hls){let ir="no level with compatible codecs found in manifest",lr=ir;n.levels.length&&(lr=`one or more CODECS in variant not supported: ${zi(n.levels.map(zr=>zr.attrs.CODECS).filter((zr,vn,Zr)=>Zr.indexOf(zr)===vn))}`,this.warn(lr),ir+=` (${lr})`);const Cr=new Error(ir);this.hls.trigger(u.ERROR,{type:c.MEDIA_ERROR,details:f.MANIFEST_INCOMPATIBLE_CODECS_ERROR,fatal:!0,url:n.url,error:Cr,reason:lr})}}),ue.end=performance.now();return}n.audioTracks&&(j=n.audioTracks.filter(ir=>!ir.audioCodec||this.isAudioSupported(ir.audioCodec)),hd(j)),n.subtitles&&(X=n.subtitles,hd(X));const de=$.slice(0);$.sort((ir,lr)=>{if(ir.attrs["HDCP-LEVEL"]!==lr.attrs["HDCP-LEVEL"])return(ir.attrs["HDCP-LEVEL"]||"")>(lr.attrs["HDCP-LEVEL"]||"")?1:-1;if(s&&ir.height!==lr.height)return ir.height-lr.height;if(ir.frameRate!==lr.frameRate)return ir.frameRate-lr.frameRate;if(ir.videoRange!==lr.videoRange)return ni.indexOf(ir.videoRange)-ni.indexOf(lr.videoRange);if(ir.videoCodec!==lr.videoCodec){const Cr=et(ir.videoCodec),zr=et(lr.videoCodec);if(Cr!==zr)return zr-Cr}if(ir.uri===lr.uri&&ir.codecSet!==lr.codecSet){const Cr=bt(ir.codecSet),zr=bt(lr.codecSet);if(Cr!==zr)return zr-Cr}return ir.averageBitrate!==lr.averageBitrate?ir.averageBitrate-lr.averageBitrate:0});let xe=de[0];if(this.steering&&($=this.steering.filterParsedLevels($),$.length!==de.length)){for(let ir=0;irCr&&Cr===this.hls.abrEwmaDefaultEstimate&&(this.hls.bandwidthEstimate=zr)}break}const Re=w&&!v,it=this.hls.config,nt=!!(it.audioStreamController&&it.audioTrackController),qt={levels:$,audioTracks:j,subtitleTracks:X,sessionData:n.sessionData,sessionKeys:n.sessionKeys,firstLevel:this._firstLevel,stats:n.stats,audio:w,video:v,altAudio:nt&&!Re&&j.some(ir=>!!ir.url)};ue.end=performance.now(),this.hls.trigger(u.MANIFEST_PARSED,qt)}get levels(){return this._levels.length===0?null:this._levels}get loadLevelObj(){return this.currentLevel}get level(){return this.currentLevelIndex}set level(t){const n=this._levels;if(n.length===0)return;if(t<0||t>=n.length){const ue=new Error("invalid level idx"),de=t<0;if(this.hls.trigger(u.ERROR,{type:c.OTHER_ERROR,details:f.LEVEL_SWITCH_ERROR,level:t,fatal:de,error:ue,reason:ue.message}),de)return;t=Math.min(t,n.length-1)}const s=this.currentLevelIndex,v=this.currentLevel,w=v?v.attrs["PATHWAY-ID"]:void 0,P=n[t],j=P.attrs["PATHWAY-ID"];if(this.currentLevelIndex=t,this.currentLevel=P,s===t&&v&&w===j)return;this.log(`Switching to level ${t} (${P.height?P.height+"p ":""}${P.videoRange?P.videoRange+" ":""}${P.codecSet?P.codecSet+" ":""}@${P.bitrate})${j?" with Pathway "+j:""} from level ${s}${w?" with Pathway "+w:""}`);const X={level:t,attrs:P.attrs,details:P.details,bitrate:P.bitrate,averageBitrate:P.averageBitrate,maxBitrate:P.maxBitrate,realBitrate:P.realBitrate,width:P.width,height:P.height,codecSet:P.codecSet,audioCodec:P.audioCodec,videoCodec:P.videoCodec,audioGroups:P.audioGroups,subtitleGroups:P.subtitleGroups,loaded:P.loaded,loadError:P.loadError,fragmentError:P.fragmentError,name:P.name,id:P.id,uri:P.uri,url:P.url,urlId:0,audioGroupIds:P.audioGroupIds,textGroupIds:P.textGroupIds};this.hls.trigger(u.LEVEL_SWITCHING,X);const $=P.details;if(!$||$.live){const ue=this.switchParams(P.uri,v==null?void 0:v.details,$);this.loadPlaylist(ue)}}get manualLevel(){return this.manualLevelIndex}set manualLevel(t){this.manualLevelIndex=t,this._startLevel===void 0&&(this._startLevel=t),t!==-1&&(this.level=t)}get firstLevel(){return this._firstLevel}set firstLevel(t){this._firstLevel=t}get startLevel(){if(this._startLevel===void 0){const t=this.hls.config.startLevel;return t!==void 0?t:this.hls.firstAutoLevel}return this._startLevel}set startLevel(t){this._startLevel=t}get pathways(){return this.steering?this.steering.pathways():[]}get pathwayPriority(){return this.steering?this.steering.pathwayPriority:null}set pathwayPriority(t){if(this.steering){const n=this.steering.pathways(),s=t.filter(v=>n.indexOf(v)!==-1);if(t.length<1){this.warn(`pathwayPriority ${t} should contain at least one pathway from list: ${n}`);return}this.steering.pathwayPriority=s}}onError(t,n){n.fatal||!n.context||n.context.type===h.LEVEL&&n.context.level===this.level&&this.checkRetry(n)}onFragBuffered(t,{frag:n}){if(n!==void 0&&n.type===o.MAIN){const s=n.elementaryStreams;if(!Object.keys(s).some(w=>!!s[w]))return;const v=this._levels[n.level];v!=null&&v.loadError&&(this.log(`Resetting level error count of ${v.loadError} on frag buffered`),v.loadError=0)}}onLevelLoaded(t,n){var s;const{level:v,details:w}=n,P=n.levelInfo;if(!P){var j;this.warn(`Invalid level index ${v}`),(j=n.deliveryDirectives)!=null&&j.skip&&(w.deltaUpdateFailed=!0);return}if(P===this.currentLevel||n.withoutMultiVariant){P.fragmentError===0&&(P.loadError=0);let X=P.details;X===n.details&&X.advanced&&(X=void 0),this.playlistLoaded(v,n,X)}else(s=n.deliveryDirectives)!=null&&s.skip&&(w.deltaUpdateFailed=!0)}loadPlaylist(t){super.loadPlaylist(),this.shouldLoadPlaylist(this.currentLevel)&&this.scheduleLoading(this.currentLevel,t)}loadingPlaylist(t,n){super.loadingPlaylist(t,n);const s=this.getUrlWithDirectives(t.uri,n),v=this.currentLevelIndex,w=t.attrs["PATHWAY-ID"],P=t.details,j=P==null?void 0:P.age;this.log(`Loading level index ${v}${(n==null?void 0:n.msn)!==void 0?" at sn "+n.msn+" part "+n.part:""}${w?" Pathway "+w:""}${j&&P.live?" age "+j.toFixed(1)+(P.type?" "+P.type||0:""):""} ${s}`),this.hls.trigger(u.LEVEL_LOADING,{url:s,level:v,levelInfo:t,pathwayId:t.attrs["PATHWAY-ID"],id:0,deliveryDirectives:n||null})}get nextLoadLevel(){return this.manualLevelIndex!==-1?this.manualLevelIndex:this.hls.nextAutoLevel}set nextLoadLevel(t){this.level=t,this.manualLevelIndex===-1&&(this.hls.nextAutoLevel=t)}removeLevel(t){var n;if(this._levels.length===1)return;const s=this._levels.filter((w,P)=>P!==t?!0:(this.steering&&this.steering.removeLevel(w),w===this.currentLevel&&(this.currentLevel=null,this.currentLevelIndex=-1,w.details&&w.details.fragments.forEach(j=>j.level=-1)),!1));Ra(s),this._levels=s,this.currentLevelIndex>-1&&(n=this.currentLevel)!=null&&n.details&&(this.currentLevelIndex=this.currentLevel.details.fragments[0].level),this.manualLevelIndex>-1&&(this.manualLevelIndex=this.currentLevelIndex);const v=s.length-1;this._firstLevel=Math.min(this._firstLevel,v),this._startLevel&&(this._startLevel=Math.min(this._startLevel,v)),this.hls.trigger(u.LEVELS_UPDATED,{levels:s})}onLevelsUpdated(t,{levels:n}){this._levels=n}checkMaxAutoUpdated(){const{autoLevelCapping:t,maxAutoLevel:n,maxHdcpLevel:s}=this.hls;this._maxAutoLevel!==n&&(this._maxAutoLevel=n,this.hls.trigger(u.MAX_AUTO_LEVEL_UPDATED,{autoLevelCapping:t,levels:this.levels,maxAutoLevel:n,minAutoLevel:this.hls.minAutoLevel,maxHdcpLevel:s}))}}function hd(D){const t={};D.forEach(n=>{const s=n.groupId||"";n.id=t[s]=t[s]||0,t[s]++})}function pd(){return self.SourceBuffer||self.WebKitSourceBuffer}function md(){if(!ae())return!1;const t=pd();return!t||t.prototype&&typeof t.prototype.appendBuffer=="function"&&typeof t.prototype.remove=="function"}function Td(){if(!md())return!1;const D=ae();return typeof(D==null?void 0:D.isTypeSupported)=="function"&&(["avc1.42E01E,mp4a.40.2","av01.0.01M.08","vp09.00.50.08"].some(t=>D.isTypeSupported(ze(t,"video")))||["mp4a.40.2","fLaC"].some(t=>D.isTypeSupported(ze(t,"audio"))))}function Pd(){var D;const t=pd();return typeof(t==null||(D=t.prototype)==null?void 0:D.changeType)=="function"}const vd=100;class _d extends Bt{constructor(t,n,s){super(t,n,s,"stream-controller",o.MAIN),this.audioCodecSwap=!1,this.level=-1,this._forceStartLoad=!1,this._hasEnoughToStart=!1,this.altAudio=0,this.audioOnly=!1,this.fragPlaying=null,this.fragLastKbps=0,this.couldBacktrack=!1,this.backtrackFragment=null,this.audioCodecSwitch=!1,this.videoBuffer=null,this.onMediaPlaying=()=>{this.tick()},this.onMediaSeeked=()=>{const v=this.media,w=v?v.currentTime:null;if(w===null||!r(w)||(this.log(`Media seeked to ${w.toFixed(3)}`),!this.getBufferedFrag(w)))return;const P=this.getFwdBufferInfoAtPos(v,w,o.MAIN,0);if(P===null||P.len===0){this.warn(`Main forward buffer length at ${w} on "seeked" event ${P?P.len:"empty"})`);return}this.tick()},this.registerListeners()}registerListeners(){super.registerListeners();const{hls:t}=this;t.on(u.MANIFEST_PARSED,this.onManifestParsed,this),t.on(u.LEVEL_LOADING,this.onLevelLoading,this),t.on(u.LEVEL_LOADED,this.onLevelLoaded,this),t.on(u.FRAG_LOAD_EMERGENCY_ABORTED,this.onFragLoadEmergencyAborted,this),t.on(u.AUDIO_TRACK_SWITCHING,this.onAudioTrackSwitching,this),t.on(u.AUDIO_TRACK_SWITCHED,this.onAudioTrackSwitched,this),t.on(u.BUFFER_CREATED,this.onBufferCreated,this),t.on(u.BUFFER_FLUSHED,this.onBufferFlushed,this),t.on(u.LEVELS_UPDATED,this.onLevelsUpdated,this),t.on(u.FRAG_BUFFERED,this.onFragBuffered,this)}unregisterListeners(){super.unregisterListeners();const{hls:t}=this;t.off(u.MANIFEST_PARSED,this.onManifestParsed,this),t.off(u.LEVEL_LOADED,this.onLevelLoaded,this),t.off(u.FRAG_LOAD_EMERGENCY_ABORTED,this.onFragLoadEmergencyAborted,this),t.off(u.AUDIO_TRACK_SWITCHING,this.onAudioTrackSwitching,this),t.off(u.AUDIO_TRACK_SWITCHED,this.onAudioTrackSwitched,this),t.off(u.BUFFER_CREATED,this.onBufferCreated,this),t.off(u.BUFFER_FLUSHED,this.onBufferFlushed,this),t.off(u.LEVELS_UPDATED,this.onLevelsUpdated,this),t.off(u.FRAG_BUFFERED,this.onFragBuffered,this)}onHandlerDestroying(){this.onMediaPlaying=this.onMediaSeeked=null,this.unregisterListeners(),super.onHandlerDestroying()}startLoad(t,n){if(this.levels){const{lastCurrentTime:s,hls:v}=this;if(this.stopLoad(),this.setInterval(vd),this.level=-1,!this.startFragRequested){let w=v.startLevel;w===-1&&(v.config.testBandwidth&&this.levels.length>1?(w=0,this.bitrateTest=!0):w=v.firstAutoLevel),v.nextLoadLevel=w,this.level=v.loadLevel,this._hasEnoughToStart=!!n}s>0&&t===-1&&!n&&(this.log(`Override startPosition with lastCurrentTime @${s.toFixed(3)}`),t=s),this.state=Pe.IDLE,this.nextLoadPosition=this.lastCurrentTime=t+this.timelineOffset,this.startPosition=n?-1:t,this.tick()}else this._forceStartLoad=!0,this.state=Pe.STOPPED}stopLoad(){this._forceStartLoad=!1,super.stopLoad()}doTick(){switch(this.state){case Pe.WAITING_LEVEL:{const{levels:t,level:n}=this,s=t==null?void 0:t[n],v=s==null?void 0:s.details;if(v&&(!v.live||this.levelLastLoaded===s&&!this.waitForLive(s))){if(this.waitForCdnTuneIn(v))break;this.state=Pe.IDLE;break}else if(this.hls.nextLoadLevel!==this.level){this.state=Pe.IDLE;break}break}case Pe.FRAG_LOADING_WAITING_RETRY:this.checkRetryDate();break}this.state===Pe.IDLE&&this.doTickIdle(),this.onTickEnd()}onTickEnd(){var t;super.onTickEnd(),(t=this.media)!=null&&t.readyState&&this.media.seeking===!1&&(this.lastCurrentTime=this.media.currentTime),this.checkFragmentChanged()}doTickIdle(){const{hls:t,levelLastLoaded:n,levels:s,media:v}=this;if(n===null||!v&&!this.primaryPrefetch&&(this.startFragRequested||!t.config.startFragPrefetch)||this.altAudio&&this.audioOnly)return;const w=this.buffering?t.nextLoadLevel:t.loadLevel;if(!(s!=null&&s[w]))return;const P=s[w],j=this.getMainFwdBufferInfo();if(j===null)return;const X=this.getLevelDetails();if(X&&this._streamEnded(j,X)){const it={};this.altAudio===2&&(it.type="video"),this.hls.trigger(u.BUFFER_EOS,it),this.state=Pe.ENDED;return}if(!this.buffering)return;t.loadLevel!==w&&t.manualLevel===-1&&this.log(`Adapting to level ${w} from level ${this.level}`),this.level=t.nextLoadLevel=w;const $=P.details;if(!$||this.state===Pe.WAITING_LEVEL||this.waitForLive(P)){this.level=w,this.state=Pe.WAITING_LEVEL,this.startFragRequested=!1;return}const ue=j.len,de=this.getMaxBufferLength(P.maxBitrate);if(ue>=de)return;this.backtrackFragment&&this.backtrackFragment.start>j.end&&(this.backtrackFragment=null);const xe=this.backtrackFragment?this.backtrackFragment.start:j.end;let ke=this.getNextFragment(xe,$);if(this.couldBacktrack&&!this.fragPrevious&&ke&&Ee(ke)&&this.fragmentTracker.getState(ke)!==pn.OK){var Re;const nt=((Re=this.backtrackFragment)!=null?Re:ke).sn-$.startSN,qt=$.fragments[nt-1];qt&&ke.cc===qt.cc&&(ke=qt,this.fragmentTracker.removeFragment(qt))}else this.backtrackFragment&&j.len&&(this.backtrackFragment=null);if(ke&&this.isLoopLoading(ke,xe)){if(!ke.gap){const nt=this.audioOnly&&!this.altAudio?ie.AUDIO:ie.VIDEO,qt=(nt===ie.VIDEO?this.videoBuffer:this.mediaBuffer)||this.media;qt&&this.afterBufferFlushed(qt,nt,o.MAIN)}ke=this.getNextFragmentLoopLoading(ke,$,j,o.MAIN,de)}ke&&(ke.initSegment&&!ke.initSegment.data&&!this.bitrateTest&&(ke=ke.initSegment),this.loadFragment(ke,P,xe))}loadFragment(t,n,s){const v=this.fragmentTracker.getState(t);v===pn.NOT_LOADED||v===pn.PARTIAL?Ee(t)?this.bitrateTest?(this.log(`Fragment ${t.sn} of level ${t.level} is being downloaded to test bitrate and will not be buffered`),this._loadBitrateTestFrag(t,n)):super.loadFragment(t,n,s):this._loadInitSegment(t,n):this.clearTrackerIfNeeded(t)}getBufferedFrag(t){return this.fragmentTracker.getBufferedFrag(t,o.MAIN)}followingBufferedFrag(t){return t?this.getBufferedFrag(t.end+.5):null}immediateLevelSwitch(){this.abortCurrentFrag(),this.flushMainBuffer(0,Number.POSITIVE_INFINITY)}nextLevelSwitch(){const{levels:t,media:n}=this;if(n!=null&&n.readyState){let s;const v=this.getAppendedFrag(n.currentTime);v&&v.start>1&&this.flushMainBuffer(0,v.start-1);const w=this.getLevelDetails();if(w!=null&&w.live){const j=this.getMainFwdBufferInfo();if(!j||j.len=P-n.maxFragLookUpTolerance&&w<=j;if(v!==null&&s.duration>v&&(w{this.hls&&this.hls.trigger(u.AUDIO_TRACK_SWITCHED,n)}),s.trigger(u.BUFFER_FLUSHING,{startOffset:0,endOffset:Number.POSITIVE_INFINITY,type:null});return}s.trigger(u.AUDIO_TRACK_SWITCHED,n)}}onAudioTrackSwitched(t,n){const s=ut(n.url,this.hls);if(s){const v=this.videoBuffer;v&&this.mediaBuffer!==v&&(this.log("Switching on alternate audio, use video.buffered to schedule main fragment loading"),this.mediaBuffer=v)}this.altAudio=s?2:0,this.tick()}onBufferCreated(t,n){const s=n.tracks;let v,w,P=!1;for(const j in s){const X=s[j];if(X.id==="main"){if(w=j,v=X,j==="video"){const $=s[j];$&&(this.videoBuffer=$.buffer)}}else P=!0}P&&v?(this.log(`Alternate track found, use ${w}.buffered to schedule main fragment loading`),this.mediaBuffer=v.buffer):this.mediaBuffer=this.media}onFragBuffered(t,n){const{frag:s,part:v}=n,w=s.type===o.MAIN;if(w){if(this.fragContextChanged(s)){this.warn(`Fragment ${s.sn}${v?" p: "+v.index:""} of level ${s.level} finished buffering, but was aborted. state: ${this.state}`),this.state===Pe.PARSED&&(this.state=Pe.IDLE);return}const j=v?v.stats:s.stats;this.fragLastKbps=Math.round(8*j.total/(j.buffering.end-j.loading.first)),Ee(s)&&(this.fragPrevious=s),this.fragBufferedComplete(s,v)}const P=this.media;P&&(!this._hasEnoughToStart&&mi.getBuffered(P).length&&(this._hasEnoughToStart=!0,this.seekToStartPos()),w&&this.tick())}get hasEnoughToStart(){return this._hasEnoughToStart}onError(t,n){var s;if(n.fatal){this.state=Pe.ERROR;return}switch(n.details){case f.FRAG_GAP:case f.FRAG_PARSING_ERROR:case f.FRAG_DECRYPT_ERROR:case f.FRAG_LOAD_ERROR:case f.FRAG_LOAD_TIMEOUT:case f.KEY_LOAD_ERROR:case f.KEY_LOAD_TIMEOUT:this.onFragmentOrKeyLoadError(o.MAIN,n);break;case f.LEVEL_LOAD_ERROR:case f.LEVEL_LOAD_TIMEOUT:case f.LEVEL_PARSING_ERROR:!n.levelRetry&&this.state===Pe.WAITING_LEVEL&&((s=n.context)==null?void 0:s.type)===h.LEVEL&&(this.state=Pe.IDLE);break;case f.BUFFER_ADD_CODEC_ERROR:case f.BUFFER_APPEND_ERROR:if(n.parent!=="main")return;this.reduceLengthAndFlushBuffer(n)&&this.resetLoadingState();break;case f.BUFFER_FULL_ERROR:if(n.parent!=="main")return;this.reduceLengthAndFlushBuffer(n)&&(!this.config.interstitialsController&&this.config.assetPlayerId?this._hasEnoughToStart=!0:this.flushMainBuffer(0,Number.POSITIVE_INFINITY));break;case f.INTERNAL_EXCEPTION:this.recoverWorkerError(n);break}}onFragLoadEmergencyAborted(){this.state=Pe.IDLE,this._hasEnoughToStart||(this.startFragRequested=!1,this.nextLoadPosition=this.lastCurrentTime),this.tickImmediate()}onBufferFlushed(t,{type:n}){if(n!==ie.AUDIO||!this.altAudio){const s=(n===ie.VIDEO?this.videoBuffer:this.mediaBuffer)||this.media;s&&(this.afterBufferFlushed(s,n,o.MAIN),this.tick())}}onLevelsUpdated(t,n){this.level>-1&&this.fragCurrent&&(this.level=this.fragCurrent.level,this.level===-1&&this.resetWhenMissingContext(this.fragCurrent)),this.levels=n.levels}swapAudioCodec(){this.audioCodecSwap=!this.audioCodecSwap}seekToStartPos(){const{media:t}=this;if(!t)return;const n=t.currentTime;let s=this.startPosition;if(s>=0&&n0&&(X<$||this.loadingParts&&X<2*((w==null?void 0:w.partTarget)||0)))&&(this.log(`adjusting start position by ${X} to match buffer start`),s+=X,this.startPosition=s),n{const{hls:v}=this,w=s==null?void 0:s.frag;if(!w||this.fragContextChanged(w))return;n.fragmentError=0,this.state=Pe.IDLE,this.startFragRequested=!1,this.bitrateTest=!1;const P=w.stats;P.parsing.start=P.parsing.end=P.buffering.start=P.buffering.end=self.performance.now(),v.trigger(u.FRAG_LOADED,s),w.bitrateTest=!1}).catch(s=>{this.state===Pe.STOPPED||this.state===Pe.ERROR||(this.warn(s),this.resetFragmentLoading(t))})}_handleTransmuxComplete(t){const n=this.playlistType,{hls:s}=this,{remuxResult:v,chunkMeta:w}=t,P=this.getCurrentContext(w);if(!P){this.resetWhenMissingContext(w);return}const{frag:j,part:X,level:$}=P,{video:ue,text:de,id3:xe,initSegment:ke}=v,{details:Re}=$,it=this.altAudio?void 0:v.audio;if(this.fragContextChanged(j)){this.fragmentTracker.removeFragment(j);return}if(this.state=Pe.PARSING,ke){const nt=ke.tracks;if(nt){const Cr=j.initSegment||j;if(this.unhandledEncryptionError(ke,j))return;this._bufferInitSegment($,nt,Cr,w),s.trigger(u.FRAG_PARSING_INIT_SEGMENT,{frag:Cr,id:n,tracks:nt})}const qt=ke.initPTS,ir=ke.timescale,lr=this.initPTS[j.cc];if(r(qt)&&(!lr||lr.baseTime!==qt||lr.timescale!==ir)){const Cr=ke.trackId;this.initPTS[j.cc]={baseTime:qt,timescale:ir,trackId:Cr},s.trigger(u.INIT_PTS_FOUND,{frag:j,id:n,initPTS:qt,timescale:ir,trackId:Cr})}}if(ue&&Re){it&&ue.type==="audiovideo"&&this.logMuxedErr(j);const nt=Re.fragments[j.sn-1-Re.startSN],qt=j.sn===Re.startSN,ir=!nt||j.cc>nt.cc;if(v.independent!==!1){const{startPTS:lr,endPTS:Cr,startDTS:zr,endDTS:vn}=ue;if(X)X.elementaryStreams[ue.type]={startPTS:lr,endPTS:Cr,startDTS:zr,endDTS:vn};else if(ue.firstKeyFrame&&ue.independent&&w.id===1&&!ir&&(this.couldBacktrack=!0),ue.dropped&&ue.independent){const Zr=this.getMainFwdBufferInfo(),cn=(Zr?Zr.end:this.getLoadPosition())+this.config.maxBufferHole,un=ue.firstKeyFramePTS?ue.firstKeyFramePTS:lr;if(!qt&&cnDn&&(j.gap=!0);j.setElementaryStreamInfo(ue.type,lr,Cr,zr,vn),this.backtrackFragment&&(this.backtrackFragment=j),this.bufferFragmentData(ue,j,X,w,qt||ir)}else if(qt||ir)j.gap=!0;else{this.backtrack(j);return}}if(it){const{startPTS:nt,endPTS:qt,startDTS:ir,endDTS:lr}=it;X&&(X.elementaryStreams[ie.AUDIO]={startPTS:nt,endPTS:qt,startDTS:ir,endDTS:lr}),j.setElementaryStreamInfo(ie.AUDIO,nt,qt,ir,lr),this.bufferFragmentData(it,j,X,w)}if(Re&&xe!=null&&xe.samples.length){const nt={id:n,frag:j,details:Re,samples:xe.samples};s.trigger(u.FRAG_PARSING_METADATA,nt)}if(Re&&de){const nt={id:n,frag:j,details:Re,samples:de.samples};s.trigger(u.FRAG_PARSING_USERDATA,nt)}}logMuxedErr(t){this.warn(`${Ee(t)?"Media":"Init"} segment with muxed audiovideo where only video expected: ${t.url}`)}_bufferInitSegment(t,n,s,v){if(this.state!==Pe.PARSING)return;this.audioOnly=!!n.audio&&!n.video,this.altAudio&&!this.audioOnly&&(delete n.audio,n.audiovideo&&this.logMuxedErr(s));const{audio:w,video:P,audiovideo:j}=n;if(w){const $=t.audioCodec;let ue=on(w.codec,$);ue==="mp4a"&&(ue="mp4a.40.5");const de=navigator.userAgent.toLowerCase();if(this.audioCodecSwitch){ue&&(ue.indexOf("mp4a.40.5")!==-1?ue="mp4a.40.2":ue="mp4a.40.5");const xe=w.metadata;xe&&"channelCount"in xe&&(xe.channelCount||1)!==1&&de.indexOf("firefox")===-1&&(ue="mp4a.40.5")}ue&&ue.indexOf("mp4a.40.5")!==-1&&de.indexOf("android")!==-1&&w.container!=="audio/mpeg"&&(ue="mp4a.40.2",this.log(`Android: force audio codec to ${ue}`)),$&&$!==ue&&this.log(`Swapping manifest audio codec "${$}" for "${ue}"`),w.levelCodec=ue,w.id=o.MAIN,this.log(`Init audio buffer, container:${w.container}, codecs[selected/level/parsed]=[${ue||""}/${$||""}/${w.codec}]`),delete n.audiovideo}if(P){P.levelCodec=t.videoCodec,P.id=o.MAIN;const $=P.codec;if(($==null?void 0:$.length)===4)switch($){case"hvc1":case"hev1":P.codec="hvc1.1.6.L120.90";break;case"av01":P.codec="av01.0.04M.08";break;case"avc1":P.codec="avc1.42e01e";break}this.log(`Init video buffer, container:${P.container}, codecs[level/parsed]=[${t.videoCodec||""}/${$}]${P.codec!==$?" parsed-corrected="+P.codec:""}${P.supplemental?" supplemental="+P.supplemental:""}`),delete n.audiovideo}j&&(this.log(`Init audiovideo buffer, container:${j.container}, codecs[level/parsed]=[${t.codecs}/${j.codec}]`),delete n.video,delete n.audio);const X=Object.keys(n);if(X.length){if(this.hls.trigger(u.BUFFER_CODECS,n),!this.hls)return;X.forEach($=>{const de=n[$].initSegment;de!=null&&de.byteLength&&this.hls.trigger(u.BUFFER_APPENDING,{type:$,data:de,frag:s,part:null,chunkMeta:v,parent:s.type})})}this.tickImmediate()}getMainFwdBufferInfo(){const t=this.mediaBuffer&&this.altAudio===2?this.mediaBuffer:this.media;return this.getFwdBufferInfo(t,o.MAIN)}get maxBufferLength(){const{levels:t,level:n}=this,s=t==null?void 0:t[n];return s?this.getMaxBufferLength(s.maxBitrate):this.config.maxBufferLength}backtrack(t){this.couldBacktrack=!0,this.backtrackFragment=t,this.resetTransmuxer(),this.flushBufferGap(t),this.fragmentTracker.removeFragment(t),this.fragPrevious=null,this.nextLoadPosition=t.start,this.state=Pe.IDLE}checkFragmentChanged(){const t=this.media;let n=null;if(t&&t.readyState>1&&t.seeking===!1){const s=t.currentTime;if(mi.isBuffered(t,s)?n=this.getAppendedFrag(s):mi.isBuffered(t,s+.1)&&(n=this.getAppendedFrag(s+.1)),n){this.backtrackFragment=null;const v=this.fragPlaying,w=n.level;(!v||n.sn!==v.sn||v.level!==w)&&(this.fragPlaying=n,this.hls.trigger(u.FRAG_CHANGED,{frag:n}),(!v||v.level!==w)&&this.hls.trigger(u.LEVEL_SWITCHED,{level:w}))}}}get nextLevel(){const t=this.nextBufferedFrag;return t?t.level:-1}get currentFrag(){var t;if(this.fragPlaying)return this.fragPlaying;const n=((t=this.media)==null?void 0:t.currentTime)||this.lastCurrentTime;return r(n)?this.getAppendedFrag(n):null}get currentProgramDateTime(){var t;const n=((t=this.media)==null?void 0:t.currentTime)||this.lastCurrentTime;if(r(n)){const s=this.getLevelDetails(),v=this.currentFrag||(s?pr(null,s.fragments,n):null);if(v){const w=v.programDateTime;if(w!==null){const P=w+(n-v.start)*1e3;return new Date(P)}}}return null}get currentLevel(){const t=this.currentFrag;return t?t.level:-1}get nextBufferedFrag(){const t=this.currentFrag;return t?this.followingBufferedFrag(t):null}get forceStartLoad(){return this._forceStartLoad}}class Id extends R{constructor(t,n){super("key-loader",n),this.config=void 0,this.keyIdToKeyInfo={},this.emeController=null,this.config=t}abort(t){for(const s in this.keyIdToKeyInfo){const v=this.keyIdToKeyInfo[s].loader;if(v){var n;if(t&&t!==((n=v.context)==null?void 0:n.frag.type))return;v.abort()}}}detach(){for(const t in this.keyIdToKeyInfo){const n=this.keyIdToKeyInfo[t];(n.mediaKeySessionContext||n.decryptdata.isCommonEncryption)&&delete this.keyIdToKeyInfo[t]}}destroy(){this.detach();for(const t in this.keyIdToKeyInfo){const n=this.keyIdToKeyInfo[t].loader;n&&n.destroy()}this.keyIdToKeyInfo={}}createKeyLoadError(t,n=f.KEY_LOAD_ERROR,s,v,w){return new Ji({type:c.NETWORK_ERROR,details:n,fatal:!1,frag:t,response:w,error:s,networkDetails:v})}loadClear(t,n,s){if(this.emeController&&this.config.emeEnabled&&!this.emeController.getSelectedKeySystemFormats().length){if(n.length)for(let v=0,w=n.length;v{if(!this.emeController)return;P.setKeyFormat(j);const X=Qo(j);if(X)return this.emeController.getKeySystemAccess([X])})}if(this.config.requireKeySystemAccessOnStart){const v=Mo(this.config);if(v.length)return this.emeController.getKeySystemAccess(v)}}return null}load(t){return!t.decryptdata&&t.encrypted&&this.emeController&&this.config.emeEnabled?this.emeController.selectKeySystemFormat(t).then(n=>this.loadInternal(t,n)):this.loadInternal(t)}loadInternal(t,n){var s,v;n&&t.setKeyFormat(n);const w=t.decryptdata;if(!w){const $=new Error(n?`Expected frag.decryptdata to be defined after setting format ${n}`:`Missing decryption data on fragment in onKeyLoading (emeEnabled with controller: ${this.emeController&&this.config.emeEnabled})`);return Promise.reject(this.createKeyLoadError(t,f.KEY_LOAD_ERROR,$))}const P=w.uri;if(!P)return Promise.reject(this.createKeyLoadError(t,f.KEY_LOAD_ERROR,new Error(`Invalid key URI: "${P}"`)));const j=ld(w);let X=this.keyIdToKeyInfo[j];if((s=X)!=null&&s.decryptdata.key)return w.key=X.decryptdata.key,Promise.resolve({frag:t,keyInfo:X});if(this.emeController&&(v=X)!=null&&v.keyLoadPromise)switch(this.emeController.getKeyStatus(X.decryptdata)){case"usable":case"usable-in-future":return X.keyLoadPromise.then(ue=>{const{keyInfo:de}=ue;return w.key=de.decryptdata.key,{frag:t,keyInfo:de}})}switch(this.log(`${this.keyIdToKeyInfo[j]?"Rel":"L"}oading${w.keyId?" keyId: "+q(w.keyId):""} URI: ${w.uri} from ${t.type} ${t.level}`),X=this.keyIdToKeyInfo[j]={decryptdata:w,keyLoadPromise:null,loader:null,mediaKeySessionContext:null},w.method){case"SAMPLE-AES":case"SAMPLE-AES-CENC":case"SAMPLE-AES-CTR":return w.keyFormat==="identity"?this.loadKeyHTTP(X,t):this.loadKeyEME(X,t);case"AES-128":case"AES-256":case"AES-256-CTR":return this.loadKeyHTTP(X,t);default:return Promise.reject(this.createKeyLoadError(t,f.KEY_LOAD_ERROR,new Error(`Key supplied with unsupported METHOD: "${w.method}"`)))}}loadKeyEME(t,n){const s={frag:n,keyInfo:t};if(this.emeController&&this.config.emeEnabled){var v;if(!t.decryptdata.keyId&&(v=n.initSegment)!=null&&v.data){const P=ht(n.initSegment.data);if(P.length){let j=P[0];j.some(X=>X!==0)?(this.log(`Using keyId found in init segment ${q(j)}`),Bo.setKeyIdForUri(t.decryptdata.uri,j)):(j=Bo.addKeyIdForUri(t.decryptdata.uri),this.log(`Generating keyId to patch media ${q(j)}`)),t.decryptdata.keyId=j}}if(!t.decryptdata.keyId&&!Ee(n))return Promise.resolve(s);const w=this.emeController.loadKey(s);return(t.keyLoadPromise=w.then(P=>(t.mediaKeySessionContext=P,s))).catch(P=>{throw t.keyLoadPromise=null,"data"in P&&(P.data.frag=n),P})}return Promise.resolve(s)}loadKeyHTTP(t,n){const s=this.config,v=s.loader,w=new v(s);return n.keyLoader=t.loader=w,t.keyLoadPromise=new Promise((P,j)=>{const X={keyInfo:t,frag:n,responseType:"arraybuffer",url:t.decryptdata.uri},$=s.keyLoadPolicy.default,ue={loadPolicy:$,timeout:$.maxLoadTimeMs,maxRetry:0,retryDelay:0,maxRetryDelay:0},de={onSuccess:(xe,ke,Re,it)=>{const{frag:nt,keyInfo:qt}=Re,ir=ld(qt.decryptdata);if(!nt.decryptdata||qt!==this.keyIdToKeyInfo[ir])return j(this.createKeyLoadError(nt,f.KEY_LOAD_ERROR,new Error("after key load, decryptdata unset or changed"),it));qt.decryptdata.key=nt.decryptdata.key=new Uint8Array(xe.data),nt.keyLoader=null,qt.loader=null,P({frag:nt,keyInfo:qt})},onError:(xe,ke,Re,it)=>{this.resetLoader(ke),j(this.createKeyLoadError(n,f.KEY_LOAD_ERROR,new Error(`HTTP Error ${xe.code} loading key ${xe.text}`),Re,b({url:X.url,data:void 0},xe)))},onTimeout:(xe,ke,Re)=>{this.resetLoader(ke),j(this.createKeyLoadError(n,f.KEY_LOAD_TIMEOUT,new Error("key loading timed out"),Re))},onAbort:(xe,ke,Re)=>{this.resetLoader(ke),j(this.createKeyLoadError(n,f.INTERNAL_ABORTED,new Error("key loading aborted"),Re))}};w.load(X,ue,de)})}resetLoader(t){const{frag:n,keyInfo:s,url:v}=t,w=s.loader;n.keyLoader===w&&(n.keyLoader=null,s.loader=null);const P=ld(s.decryptdata)||v;delete this.keyIdToKeyInfo[P],w&&w.destroy()}}function ld(D){if(D.keyFormat!==ms.FAIRPLAY){const t=D.keyId;if(t)return q(t)}return D.uri}function gd(D){const{type:t}=D;switch(t){case h.AUDIO_TRACK:return o.AUDIO;case h.SUBTITLE_TRACK:return o.SUBTITLE;default:return o.MAIN}}function cd(D,t){let n=D.url;return(n===void 0||n.indexOf("data:")===0)&&(n=t.url),n}class td{constructor(t){this.hls=void 0,this.loaders=Object.create(null),this.variableList=null,this.onManifestLoaded=this.checkAutostartLoad,this.hls=t,this.registerListeners()}startLoad(t){}stopLoad(){this.destroyInternalLoaders()}registerListeners(){const{hls:t}=this;t.on(u.MANIFEST_LOADING,this.onManifestLoading,this),t.on(u.LEVEL_LOADING,this.onLevelLoading,this),t.on(u.AUDIO_TRACK_LOADING,this.onAudioTrackLoading,this),t.on(u.SUBTITLE_TRACK_LOADING,this.onSubtitleTrackLoading,this),t.on(u.LEVELS_UPDATED,this.onLevelsUpdated,this)}unregisterListeners(){const{hls:t}=this;t.off(u.MANIFEST_LOADING,this.onManifestLoading,this),t.off(u.LEVEL_LOADING,this.onLevelLoading,this),t.off(u.AUDIO_TRACK_LOADING,this.onAudioTrackLoading,this),t.off(u.SUBTITLE_TRACK_LOADING,this.onSubtitleTrackLoading,this),t.off(u.LEVELS_UPDATED,this.onLevelsUpdated,this)}createInternalLoader(t){const n=this.hls.config,s=n.pLoader,v=n.loader,w=s||v,P=new w(n);return this.loaders[t.type]=P,P}getInternalLoader(t){return this.loaders[t.type]}resetInternalLoader(t){this.loaders[t]&&delete this.loaders[t]}destroyInternalLoaders(){for(const t in this.loaders){const n=this.loaders[t];n&&n.destroy(),this.resetInternalLoader(t)}}destroy(){this.variableList=null,this.unregisterListeners(),this.destroyInternalLoaders()}onManifestLoading(t,n){const{url:s}=n;this.variableList=null,this.load({id:null,level:0,responseType:"text",type:h.MANIFEST,url:s,deliveryDirectives:null,levelOrTrack:null})}onLevelLoading(t,n){const{id:s,level:v,pathwayId:w,url:P,deliveryDirectives:j,levelInfo:X}=n;this.load({id:s,level:v,pathwayId:w,responseType:"text",type:h.LEVEL,url:P,deliveryDirectives:j,levelOrTrack:X})}onAudioTrackLoading(t,n){const{id:s,groupId:v,url:w,deliveryDirectives:P,track:j}=n;this.load({id:s,groupId:v,level:null,responseType:"text",type:h.AUDIO_TRACK,url:w,deliveryDirectives:P,levelOrTrack:j})}onSubtitleTrackLoading(t,n){const{id:s,groupId:v,url:w,deliveryDirectives:P,track:j}=n;this.load({id:s,groupId:v,level:null,responseType:"text",type:h.SUBTITLE_TRACK,url:w,deliveryDirectives:P,levelOrTrack:j})}onLevelsUpdated(t,n){const s=this.loaders[h.LEVEL];if(s){const v=s.context;v&&!n.levels.some(w=>w===v.levelOrTrack)&&(s.abort(),delete this.loaders[h.LEVEL])}}load(t){var n;const s=this.hls.config;let v=this.getInternalLoader(t);if(v){const $=this.hls.logger,ue=v.context;if(ue&&ue.levelOrTrack===t.levelOrTrack&&(ue.url===t.url||ue.deliveryDirectives&&!t.deliveryDirectives)){ue.url===t.url?$.log(`[playlist-loader]: ignore ${t.url} ongoing request`):$.log(`[playlist-loader]: ignore ${t.url} in favor of ${ue.url}`);return}$.log(`[playlist-loader]: aborting previous loader for type: ${t.type}`),v.abort()}let w;if(t.type===h.MANIFEST?w=s.manifestLoadPolicy.default:w=y({},s.playlistLoadPolicy.default,{timeoutRetry:null,errorRetry:null}),v=this.createInternalLoader(t),r((n=t.deliveryDirectives)==null?void 0:n.part)){let $;if(t.type===h.LEVEL&&t.level!==null?$=this.hls.levels[t.level].details:t.type===h.AUDIO_TRACK&&t.id!==null?$=this.hls.audioTracks[t.id].details:t.type===h.SUBTITLE_TRACK&&t.id!==null&&($=this.hls.subtitleTracks[t.id].details),$){const ue=$.partTarget,de=$.targetduration;if(ue&&de){const xe=Math.max(ue*3,de*.8)*1e3;w=y({},w,{maxTimeToFirstByteMs:Math.min(xe,w.maxTimeToFirstByteMs),maxLoadTimeMs:Math.min(xe,w.maxTimeToFirstByteMs)})}}}const P=w.errorRetry||w.timeoutRetry||{},j={loadPolicy:w,timeout:w.maxLoadTimeMs,maxRetry:P.maxNumRetry||0,retryDelay:P.retryDelayMs||0,maxRetryDelay:P.maxRetryDelayMs||0},X={onSuccess:($,ue,de,xe)=>{const ke=this.getInternalLoader(de);this.resetInternalLoader(de.type);const Re=$.data;ue.parsing.start=performance.now(),Ko.isMediaPlaylist(Re)||de.type!==h.MANIFEST?this.handleTrackOrLevelPlaylist($,ue,de,xe||null,ke):this.handleMasterPlaylist($,ue,de,xe)},onError:($,ue,de,xe)=>{this.handleNetworkError(ue,de,!1,$,xe)},onTimeout:($,ue,de)=>{this.handleNetworkError(ue,de,!0,void 0,$)}};v.load(t,j,X)}checkAutostartLoad(){if(!this.hls)return;const{config:{autoStartLoad:t,startPosition:n},forceStartLoad:s}=this.hls;(t||s)&&(this.hls.logger.log(`${t?"auto":"force"} startLoad with configured startPosition ${n}`),this.hls.startLoad(n))}handleMasterPlaylist(t,n,s,v){const w=this.hls,P=t.data,j=cd(t,s),X=Ko.parseMasterPlaylist(P,j);if(X.playlistParsingError){n.parsing.end=performance.now(),this.handleManifestParsingError(t,s,X.playlistParsingError,v,n);return}const{contentSteering:$,levels:ue,sessionData:de,sessionKeys:xe,startTimeOffset:ke,variableList:Re}=X;this.variableList=Re,ue.forEach(ir=>{const{unknownCodecs:lr}=ir;if(lr){const{preferManagedMediaSource:Cr}=this.hls.config;let{audioCodec:zr,videoCodec:vn}=ir;for(let Zr=lr.length;Zr--;){const cn=lr[Zr];Ae(cn,"audio",Cr)?(ir.audioCodec=zr=zr?`${zr},${cn}`:cn,$t.audio[zr.substring(0,4)]=2,lr.splice(Zr,1)):Ae(cn,"video",Cr)&&(ir.videoCodec=vn=vn?`${vn},${cn}`:cn,$t.video[vn.substring(0,4)]=2,lr.splice(Zr,1))}}});const{AUDIO:it=[],SUBTITLES:nt,"CLOSED-CAPTIONS":qt}=Ko.parseMasterPlaylistMedia(P,j,X);it.length&&!it.some(lr=>!lr.url)&&ue[0].audioCodec&&!ue[0].attrs.AUDIO&&(this.hls.logger.log("[playlist-loader]: audio codec signaled in quality level, but no embedded audio track signaled, create one"),it.unshift({type:"main",name:"main",groupId:"main",default:!1,autoselect:!1,forced:!1,id:-1,attrs:new Zi({}),bitrate:0,url:""})),w.trigger(u.MANIFEST_LOADED,{levels:ue,audioTracks:it,subtitles:nt,captions:qt,contentSteering:$,url:j,stats:n,networkDetails:v,sessionData:de,sessionKeys:xe,startTimeOffset:ke,variableList:Re})}handleTrackOrLevelPlaylist(t,n,s,v,w){const P=this.hls,{id:j,level:X,type:$}=s,ue=cd(t,s),de=r(X)?X:r(j)?j:0,xe=gd(s),ke=Ko.parseLevelPlaylist(t.data,ue,de,xe,0,this.variableList);if($===h.MANIFEST){const Re={attrs:new Zi({}),bitrate:0,details:ke,name:"",url:ue};ke.requestScheduled=n.loading.start+bi(ke,0),P.trigger(u.MANIFEST_LOADED,{levels:[Re],audioTracks:[],url:ue,stats:n,networkDetails:v,sessionData:null,sessionKeys:null,contentSteering:null,startTimeOffset:null,variableList:null})}n.parsing.end=performance.now(),s.levelDetails=ke,this.handlePlaylistLoaded(ke,t,n,s,v,w)}handleManifestParsingError(t,n,s,v,w){this.hls.trigger(u.ERROR,{type:c.NETWORK_ERROR,details:f.MANIFEST_PARSING_ERROR,fatal:n.type===h.MANIFEST,url:t.url,err:s,error:s,reason:s.message,response:t,context:n,networkDetails:v,stats:w})}handleNetworkError(t,n,s=!1,v,w){let P=`A network ${s?"timeout":"error"+(v?" (status "+v.code+")":"")} occurred while loading ${t.type}`;t.type===h.LEVEL?P+=`: ${t.level} id: ${t.id}`:(t.type===h.AUDIO_TRACK||t.type===h.SUBTITLE_TRACK)&&(P+=` id: ${t.id} group-id: "${t.groupId}"`);const j=new Error(P);this.hls.logger.warn(`[playlist-loader]: ${P}`);let X=f.UNKNOWN,$=!1;const ue=this.getInternalLoader(t);switch(t.type){case h.MANIFEST:X=s?f.MANIFEST_LOAD_TIMEOUT:f.MANIFEST_LOAD_ERROR,$=!0;break;case h.LEVEL:X=s?f.LEVEL_LOAD_TIMEOUT:f.LEVEL_LOAD_ERROR,$=!1;break;case h.AUDIO_TRACK:X=s?f.AUDIO_TRACK_LOAD_TIMEOUT:f.AUDIO_TRACK_LOAD_ERROR,$=!1;break;case h.SUBTITLE_TRACK:X=s?f.SUBTITLE_TRACK_LOAD_TIMEOUT:f.SUBTITLE_LOAD_ERROR,$=!1;break}ue&&this.resetInternalLoader(t.type);const de={type:c.NETWORK_ERROR,details:X,fatal:$,url:t.url,loader:ue,context:t,error:j,networkDetails:n,stats:w};if(v){const xe=(n==null?void 0:n.url)||t.url;de.response=b({url:xe,data:void 0},v)}this.hls.trigger(u.ERROR,de)}handlePlaylistLoaded(t,n,s,v,w,P){const j=this.hls,{type:X,level:$,levelOrTrack:ue,id:de,groupId:xe,deliveryDirectives:ke}=v,Re=cd(n,v),it=gd(v);let nt=typeof v.level=="number"&&it===o.MAIN?$:void 0;const qt=t.playlistParsingError;if(qt){if(this.hls.logger.warn(`${qt} ${t.url}`),!j.config.ignorePlaylistParsingErrors){j.trigger(u.ERROR,{type:c.NETWORK_ERROR,details:f.LEVEL_PARSING_ERROR,fatal:!1,url:Re,error:qt,reason:qt.message,response:n,context:v,level:nt,parent:it,networkDetails:w,stats:s});return}t.playlistParsingError=null}if(!t.fragments.length){const ir=t.playlistParsingError=new Error("No Segments found in Playlist");j.trigger(u.ERROR,{type:c.NETWORK_ERROR,details:f.LEVEL_EMPTY_ERROR,fatal:!1,url:Re,error:ir,reason:ir.message,response:n,context:v,level:nt,parent:it,networkDetails:w,stats:s});return}switch(t.live&&P&&(P.getCacheAge&&(t.ageHeader=P.getCacheAge()||0),(!P.getCacheAge||isNaN(t.ageHeader))&&(t.ageHeader=0)),X){case h.MANIFEST:case h.LEVEL:if(nt){if(!ue)nt=0;else if(ue!==j.levels[nt]){const ir=j.levels.indexOf(ue);ir>-1&&(nt=ir)}}j.trigger(u.LEVEL_LOADED,{details:t,levelInfo:ue||j.levels[0],level:nt||0,id:de||0,stats:s,networkDetails:w,deliveryDirectives:ke,withoutMultiVariant:X===h.MANIFEST});break;case h.AUDIO_TRACK:j.trigger(u.AUDIO_TRACK_LOADED,{details:t,track:ue,id:de||0,groupId:xe||"",stats:s,networkDetails:w,deliveryDirectives:ke});break;case h.SUBTITLE_TRACK:j.trigger(u.SUBTITLE_TRACK_LOADED,{details:t,track:ue,id:de||0,groupId:xe||"",stats:s,networkDetails:w,deliveryDirectives:ke});break}}}class If{static get version(){return ai}static isMSESupported(){return md()}static isSupported(){return Td()}static getMediaSource(){return ae()}static get Events(){return u}static get MetadataSchema(){return yn}static get ErrorTypes(){return c}static get ErrorDetails(){return f}static get DefaultConfig(){return If.defaultConfig?If.defaultConfig:za}static set DefaultConfig(t){If.defaultConfig=t}constructor(t={}){this.config=void 0,this.userConfig=void 0,this.logger=void 0,this.coreComponents=void 0,this.networkControllers=void 0,this._emitter=new ii,this._autoLevelCapping=-1,this._maxHdcpLevel=null,this.abrController=void 0,this.bufferController=void 0,this.capLevelController=void 0,this.latencyController=void 0,this.levelController=void 0,this.streamController=void 0,this.audioStreamController=void 0,this.subtititleStreamController=void 0,this.audioTrackController=void 0,this.subtitleTrackController=void 0,this.interstitialsController=void 0,this.gapController=void 0,this.emeController=void 0,this.cmcdController=void 0,this._media=null,this._url=null,this._sessionId=void 0,this.triggeringException=void 0,this.started=!1;const n=this.logger=G(t.debug||!1,"Hls instance",t.assetPlayerId),s=this.config=an(If.DefaultConfig,t,n);this.userConfig=t,s.progressive&&nn(s,n);const{abrController:v,bufferController:w,capLevelController:P,errorController:j,fpsController:X}=s,$=new j(this),ue=this.abrController=new v(this),de=new Ti(this),xe=s.interstitialsController,ke=xe?this.interstitialsController=new xe(this,If):null,Re=this.bufferController=new w(this,de),it=this.capLevelController=new P(this),nt=new X(this),qt=new td(this),ir=s.contentSteeringController,lr=ir?new ir(this):null,Cr=this.levelController=new Cd(this,lr),zr=new Sd(this),vn=new Id(this.config,this.logger),Zr=this.streamController=new _d(this,de,vn),cn=this.gapController=new Xa(this,de);it.setStreamController(Zr),nt.setStreamController(Zr);const un=[qt,Cr,Zr];ke&&un.splice(1,0,ke),lr&&un.splice(1,0,lr),this.networkControllers=un;const qr=[ue,Re,cn,it,nt,zr,de];this.audioTrackController=this.createController(s.audioTrackController,un);const kn=s.audioStreamController;kn&&un.push(this.audioStreamController=new kn(this,de,vn)),this.subtitleTrackController=this.createController(s.subtitleTrackController,un);const Si=s.subtitleStreamController;Si&&un.push(this.subtititleStreamController=new Si(this,de,vn)),this.createController(s.timelineController,qr),vn.emeController=this.emeController=this.createController(s.emeController,qr),this.cmcdController=this.createController(s.cmcdController,qr),this.latencyController=this.createController(Ad,qr),this.coreComponents=qr,un.push($);const Vi=$.onErrorOut;typeof Vi=="function"&&this.on(u.ERROR,Vi,$),this.on(u.MANIFEST_LOADED,qt.onManifestLoaded,qt)}createController(t,n){if(t){const s=new t(this);return n&&n.push(s),s}return null}on(t,n,s=this){this._emitter.on(t,n,s)}once(t,n,s=this){this._emitter.once(t,n,s)}removeAllListeners(t){this._emitter.removeAllListeners(t)}off(t,n,s=this,v){this._emitter.off(t,n,s,v)}listeners(t){return this._emitter.listeners(t)}emit(t,n,s){return this._emitter.emit(t,n,s)}trigger(t,n){if(this.config.debug)return this.emit(t,t,n);try{return this.emit(t,t,n)}catch(s){if(this.logger.error("An internal error happened while handling event "+t+'. Error message: "'+s.message+'". Here is a stacktrace:',s),!this.triggeringException){this.triggeringException=!0;const v=t===u.ERROR;this.trigger(u.ERROR,{type:c.OTHER_ERROR,details:f.INTERNAL_EXCEPTION,fatal:v,event:t,error:s}),this.triggeringException=!1}}return!1}listenerCount(t){return this._emitter.listenerCount(t)}destroy(){this.logger.log("destroy"),this.trigger(u.DESTROYING,void 0),this.detachMedia(),this.removeAllListeners(),this._autoLevelCapping=-1,this._url=null,this.networkControllers.forEach(n=>n.destroy()),this.networkControllers.length=0,this.coreComponents.forEach(n=>n.destroy()),this.coreComponents.length=0;const t=this.config;t.xhrSetup=t.fetchSetup=void 0,this.userConfig=null}attachMedia(t){if(!t||"media"in t&&!t.media){const w=new Error(`attachMedia failed: invalid argument (${t})`);this.trigger(u.ERROR,{type:c.OTHER_ERROR,details:f.ATTACH_MEDIA_ERROR,fatal:!0,error:w});return}this.logger.log("attachMedia"),this._media&&(this.logger.warn("media must be detached before attaching"),this.detachMedia());const n="media"in t,s=n?t.media:t,v=n?t:{media:s};this._media=s,this.trigger(u.MEDIA_ATTACHING,v)}detachMedia(){this.logger.log("detachMedia"),this.trigger(u.MEDIA_DETACHING,{}),this._media=null}transferMedia(){this._media=null;const t=this.bufferController.transferMedia();return this.trigger(u.MEDIA_DETACHING,{transferMedia:t}),t}loadSource(t){this.stopLoad();const n=this.media,s=this._url,v=this._url=Z.buildAbsoluteURL(self.location.href,t,{alwaysNormalize:!0});this._autoLevelCapping=-1,this._maxHdcpLevel=null,this.logger.log(`loadSource:${v}`),n&&s&&(s!==v||this.bufferController.hasSourceTypes())&&(this.detachMedia(),this.attachMedia(n)),this.trigger(u.MANIFEST_LOADING,{url:t})}get url(){return this._url}get hasEnoughToStart(){return this.streamController.hasEnoughToStart}get startPosition(){return this.streamController.startPositionValue}startLoad(t=-1,n){this.logger.log(`startLoad(${t+(n?", ":"")})`),this.started=!0,this.resumeBuffering();for(let s=0;s{t.resumeBuffering&&t.resumeBuffering()}))}pauseBuffering(){this.bufferingEnabled&&(this.logger.log("pause buffering"),this.networkControllers.forEach(t=>{t.pauseBuffering&&t.pauseBuffering()}))}get inFlightFragments(){const t={[o.MAIN]:this.streamController.inFlightFrag};return this.audioStreamController&&(t[o.AUDIO]=this.audioStreamController.inFlightFrag),this.subtititleStreamController&&(t[o.SUBTITLE]=this.subtititleStreamController.inFlightFrag),t}swapAudioCodec(){this.logger.log("swapAudioCodec"),this.streamController.swapAudioCodec()}recoverMediaError(){this.logger.log("recoverMediaError");const t=this._media,n=t==null?void 0:t.currentTime;this.detachMedia(),t&&(this.attachMedia(t),n&&this.startLoad(n))}removeLevel(t){this.levelController.removeLevel(t)}get sessionId(){let t=this._sessionId;return t||(t=this._sessionId=rf()),t}get levels(){const t=this.levelController.levels;return t||[]}get latestLevelDetails(){return this.streamController.getLevelDetails()||null}get loadLevelObj(){return this.levelController.loadLevelObj}get currentLevel(){return this.streamController.currentLevel}set currentLevel(t){this.logger.log(`set currentLevel:${t}`),this.levelController.manualLevel=t,this.streamController.immediateLevelSwitch()}get nextLevel(){return this.streamController.nextLevel}set nextLevel(t){this.logger.log(`set nextLevel:${t}`),this.levelController.manualLevel=t,this.streamController.nextLevelSwitch()}get loadLevel(){return this.levelController.level}set loadLevel(t){this.logger.log(`set loadLevel:${t}`),this.levelController.manualLevel=t}get nextLoadLevel(){return this.levelController.nextLoadLevel}set nextLoadLevel(t){this.levelController.nextLoadLevel=t}get firstLevel(){return Math.max(this.levelController.firstLevel,this.minAutoLevel)}set firstLevel(t){this.logger.log(`set firstLevel:${t}`),this.levelController.firstLevel=t}get startLevel(){const t=this.levelController.startLevel;return t===-1&&this.abrController.forcedAutoLevel>-1?this.abrController.forcedAutoLevel:t}set startLevel(t){this.logger.log(`set startLevel:${t}`),t!==-1&&(t=Math.max(t,this.minAutoLevel)),this.levelController.startLevel=t}get capLevelToPlayerSize(){return this.config.capLevelToPlayerSize}set capLevelToPlayerSize(t){const n=!!t;n!==this.config.capLevelToPlayerSize&&(n?this.capLevelController.startCapping():(this.capLevelController.stopCapping(),this.autoLevelCapping=-1,this.streamController.nextLevelSwitch()),this.config.capLevelToPlayerSize=n)}get autoLevelCapping(){return this._autoLevelCapping}get bandwidthEstimate(){const{bwEstimator:t}=this.abrController;return t?t.getEstimate():NaN}set bandwidthEstimate(t){this.abrController.resetEstimator(t)}get abrEwmaDefaultEstimate(){const{bwEstimator:t}=this.abrController;return t?t.defaultEstimate:NaN}get ttfbEstimate(){const{bwEstimator:t}=this.abrController;return t?t.getEstimateTTFB():NaN}set autoLevelCapping(t){this._autoLevelCapping!==t&&(this.logger.log(`set autoLevelCapping:${t}`),this._autoLevelCapping=t,this.levelController.checkMaxAutoUpdated())}get maxHdcpLevel(){return this._maxHdcpLevel}set maxHdcpLevel(t){Yr(t)&&this._maxHdcpLevel!==t&&(this._maxHdcpLevel=t,this.levelController.checkMaxAutoUpdated())}get autoLevelEnabled(){return this.levelController.manualLevel===-1}get manualLevel(){return this.levelController.manualLevel}get minAutoLevel(){const{levels:t,config:{minAutoBitrate:n}}=this;if(!t)return 0;const s=t.length;for(let v=0;v=n)return v;return 0}get maxAutoLevel(){const{levels:t,autoLevelCapping:n,maxHdcpLevel:s}=this;let v;if(n===-1&&t!=null&&t.length?v=t.length-1:v=n,s)for(let w=v;w--;){const P=t[w].attrs["HDCP-LEVEL"];if(P&&P<=s)return w}return v}get firstAutoLevel(){return this.abrController.firstAutoLevel}get nextAutoLevel(){return this.abrController.nextAutoLevel}set nextAutoLevel(t){this.abrController.nextAutoLevel=t}get playingDate(){return this.streamController.currentProgramDateTime}get mainForwardBufferInfo(){return this.streamController.getMainFwdBufferInfo()}get maxBufferLength(){return this.streamController.maxBufferLength}setAudioOption(t){var n;return((n=this.audioTrackController)==null?void 0:n.setAudioOption(t))||null}setSubtitleOption(t){var n;return((n=this.subtitleTrackController)==null?void 0:n.setSubtitleOption(t))||null}get allAudioTracks(){const t=this.audioTrackController;return t?t.allAudioTracks:[]}get audioTracks(){const t=this.audioTrackController;return t?t.audioTracks:[]}get audioTrack(){const t=this.audioTrackController;return t?t.audioTrack:-1}set audioTrack(t){const n=this.audioTrackController;n&&(n.audioTrack=t)}get allSubtitleTracks(){const t=this.subtitleTrackController;return t?t.allSubtitleTracks:[]}get subtitleTracks(){const t=this.subtitleTrackController;return t?t.subtitleTracks:[]}get subtitleTrack(){const t=this.subtitleTrackController;return t?t.subtitleTrack:-1}get media(){return this._media}set subtitleTrack(t){const n=this.subtitleTrackController;n&&(n.subtitleTrack=t)}get subtitleDisplay(){const t=this.subtitleTrackController;return t?t.subtitleDisplay:!1}set subtitleDisplay(t){const n=this.subtitleTrackController;n&&(n.subtitleDisplay=t)}get lowLatencyMode(){return this.config.lowLatencyMode}set lowLatencyMode(t){this.config.lowLatencyMode=t}get liveSyncPosition(){return this.latencyController.liveSyncPosition}get latency(){return this.latencyController.latency}get maxLatency(){return this.latencyController.maxLatency}get targetLatency(){return this.latencyController.targetLatency}set targetLatency(t){this.latencyController.targetLatency=t}get drift(){return this.latencyController.drift}get forceStartLoad(){return this.streamController.forceStartLoad}get pathways(){return this.levelController.pathways}get pathwayPriority(){return this.levelController.pathwayPriority}set pathwayPriority(t){this.levelController.pathwayPriority=t}get bufferedToEnd(){var t;return!!((t=this.bufferController)!=null&&t.bufferedToEnd)}get interstitialsManager(){var t;return((t=this.interstitialsController)==null?void 0:t.interstitialsManager)||null}getMediaDecodingInfo(t,n=this.allAudioTracks){const s=Ta(n);return br(t,s,navigator.mediaCapabilities)}}If.defaultConfig=void 0},53280:function(d,_,e){"use strict";e.d(_,{D:function(){return i}});function r(l,c,f){var u=f||{},h=u.noTrailing,o=h===void 0?!1:h,a=u.noLeading,x=a===void 0?!1:a,p=u.debounceMode,y=p===void 0?void 0:p,m,b=!1,S=0;function k(){m&&clearTimeout(m)}function R(I){var M=I||{},B=M.upcomingOnly,N=B===void 0?!1:B;k(),b=!N}function A(){for(var I=arguments.length,M=new Array(I),B=0;Bl?x?(S=Date.now(),o||(m=setTimeout(y?H:G,l))):G():o!==!0&&(m=setTimeout(y?H:G,y===void 0?l-K:l))}return A.cancel=R,A}function i(l,c,f){var u=f||{},h=u.atBegin,o=h===void 0?!1:h;return r(l,c,{debounceMode:o!==!1})}}},__webpack_module_cache__={};function __webpack_require__(d){var _=__webpack_module_cache__[d];if(_!==void 0)return _.exports;var e=__webpack_module_cache__[d]={id:d,loaded:!1,exports:{}};return __webpack_modules__[d].call(e.exports,e,e.exports,__webpack_require__),e.loaded=!0,e.exports}__webpack_require__.m=__webpack_modules__,function(){__webpack_require__.amdO={}}(),function(){__webpack_require__.n=function(d){var _=d&&d.__esModule?function(){return d.default}:function(){return d};return __webpack_require__.d(_,{a:_}),_}}(),function(){var d=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},_;__webpack_require__.t=function(e,r){if(r&1&&(e=this(e)),r&8||typeof e=="object"&&e&&(r&4&&e.__esModule||r&16&&typeof e.then=="function"))return e;var i=Object.create(null);__webpack_require__.r(i);var l={};_=_||[null,d({}),d([]),d(d)];for(var c=r&2&&e;typeof c=="object"&&!~_.indexOf(c);c=d(c))Object.getOwnPropertyNames(c).forEach(function(f){l[f]=function(){return e[f]}});return l.default=function(){return e},__webpack_require__.d(i,l),i}}(),function(){__webpack_require__.d=function(d,_){for(var e in _)__webpack_require__.o(_,e)&&!__webpack_require__.o(d,e)&&Object.defineProperty(d,e,{enumerable:!0,get:_[e]})}}(),function(){__webpack_require__.f={},__webpack_require__.e=function(d){return Promise.all(Object.keys(__webpack_require__.f).reduce(function(_,e){return __webpack_require__.f[e](d,_),_},[]))}}(),function(){__webpack_require__.u=function(d){return""+({26:"p__Classrooms__Lists__Graduation__Tasks__Edit__index",67:"p__Message__index",109:"p__Classrooms__Lists__ShixunHomeworks__Detail__components__CodeReview__Detail__index",119:"p__User__ThemeChange__Paths",141:"p__Demo__indextree",195:"p__Classrooms__Lists__GroupHomework__Detail__index",201:"p__Classrooms__ThemeChange__Students",264:"p__User__Detail__Order__pages__orderPay__index",292:"p__Classrooms__Lists__Exercise__Add__index",337:"p__Paperlibrary__Random__PreviewEdit__index",479:"p__Classrooms__Lists__GroupHomework__EditWork__index",485:"p__Question__AddOrEdit__BatchAdd__index",508:"p__Forums__Detail__id",518:"p__Shixuns__Detail__Settings__ThemeChange__index",532:"p__ExcellentCourse__index",533:"p__Classrooms__Lists__Video__Statistics__Detail__index",547:"p__Account__index",556:"p__User__Detail__Order__pages__invoice__index",559:"layouts__virtualDetail__index",570:"p__Home__Detail__OnlineNum__index",576:"p__Account__Profile__Edit__index",643:"p__Classrooms__Lists__Polls__QuestionnaireInfo__index",680:"p__Innovation__index",700:"p__tasks__Jupyter__index",737:"p__Classrooms__Lists__CommonHomework__Detail__components__CodeReview__Detail__index",799:"p__User__Detail__Topics__Poll__Detail__index",879:"p__User__ThemeChange__AccountInfo",895:"p__Classrooms__Lists__Video__Items__videoInfo__index",900:"p__User__ThemeChange__Classrooms",906:"p__User__ThemeChange__CareerCertification",919:"p__knowledgegraph__Statistics__LearningPath__index",921:"p__Classrooms__Lists__Exercise__CodeDetails__index",928:"p__RestFul__Edit__index",953:"p__AIgc__index",1006:"p__RestFul__index",1043:"p__Classrooms__Lists__Graduation__Tasks__index",1045:"p__virtualSpaces__Lists__Knowledge__AddAndEdit__index",1048:"p__Classrooms__Lists__ProgramHomework__Detail__Ranking__index",1070:"p__Innovation__PublicMirror__index",1077:"p__User__ThemeTwoLogin__index",1211:"p__Classrooms__Lists__CommonHomework__EditWork__index",1253:"p__Graduations__Lists__Gradingsummary__index",1257:"p__Classrooms__Lists__ResourceRecommend__index",1276:"p__MoopCases__Success__index",1343:"p__User__Detail__ResourceAllocation__index",1423:"p__Shixuns__Edit__body__Level__Challenges__EditPracticeAnswer__index",1427:"p__Classrooms__Lists__Statistics__index",1450:"p__Classrooms__Lists__ShixunHomeworks__Commitsummary__index",1461:"p__Graduations__Lists__Topics__index",1470:"p__User__Register__index",1475:"p__Shixuns__Detail__Dataset__JupyterData__index",1477:"p__Classrooms__ThemeChange__Assistant",1482:"p__Classrooms__Lists__Graduation__Topics__Edit__index",1490:"p__Information__Edit__index",1512:"p__Classrooms__Lists__Exercise__AnswerCheck__index",1520:"p__Engineering__Lists__StudentList__index",1545:"p__Paperlibrary__Random__ExchangeFromProblemSet__index",1578:"p__Classrooms__Lists__Graduation__Topics__Detail__index",1581:"p__Problemset__Preview__index",1582:"p__Classrooms__Lists__GroupHomework__Add__index",1651:"p__Paths__ThemeChange__Statistics",1657:"p__Shixuns__Edit__body__Level__Challenges__EditQuestion__index",1660:"p__User__QQLogin__index",1674:"p__Classrooms__ClassicCases__index",1678:"p__Classrooms__ThemeChange__Attachment",1713:"p__virtualSpaces__Lists__Settings__index",1717:"layouts__index",1727:"p__Classrooms__Lists__CourseGroup__NotList__index",1754:"p__Classrooms__ThemeChange__Video",1783:"p__virtualSpaces__Lists__Experiment__index",1798:"p__Classrooms__ThemeChange__GroupHomework",1799:"p__Competitions__Entered__Assembly__TeamDateil",1831:"p__Graduations__Index__index",1836:"p__Classrooms__Lists__Attendance__Webview__Teacher__index",1855:"p__MoopCases__InfoPanel__index",1880:"p__User__Detail__Order__pages__apply__index",1897:"p__User__ThemeChange__ClassManagement",1939:"p__User__Detail__Order__index",1953:"p__Problemset__NewItem__index",1962:"p__Classrooms__Lists__Engineering__index",1993:"p__Shixuns__Detail__Dataset__ThemeChange__index",2045:"p__Engineering__Lists__TeacherList__index",2099:"p__Paperlibrary__ThemeChange__index",2102:"p__Classrooms__Lists__Board__Edit__index",2130:"p__Shixuns__Detail__Repository__UploadFile__ThemeChange__index",2141:"p__Shixuns__Detail__Split__index",2203:"p__Classrooms__ThemeChange__ShixunHomeworks",2216:"p__DataSet__Index__index",2240:"p__User__Detail__Videos__Upload__index",2281:"p__Paths__ThemeChange__Detail",2300:"p__Api__index",2303:"p__Classrooms__Lists__CommonHomework__Comment__index",2307:"p__Report__index",2338:"p__Classrooms__Lists__CommonHomework__Review__index",2339:"p__virtualSpaces__Lists__Plan__Detail__index",2396:"p__User__Detail__ResourcesCenter__index",2404:"p__Classrooms__Lists__Template__teacher__index",2412:"p__User__Detail__Videos__index",2425:"p__Classrooms__Lists__Board__Detail__index",2443:"p__Graduations__Lists__StageModule__index",2476:"p__Colleges__index",2501:"p__Search__index",2524:"p__knowledgegraph__Detail__components__Content__components__AbilityMap__Detail__index",2539:"p__Graduations__Review__index",2548:"p__Engineering__Norm__Detail__index",2570:"p__Competitions__Detail__index",2603:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Add__index",2659:"p__User__Detail__UserPortrait__index",2707:"p__Innovation__MyDataSet__index",2806:"p__User__Detail__Topics__Exercise__Detail__index",2819:"p__Classrooms__Lists__Template__detail__index",2823:"p__Engineering__Navigation__Home__index",2829:"p__Messages__Private__index",2862:"p__User__ThemeChange__ExperImentImg",2865:"p__Innovation__MyMirror__index",2884:"p__Classrooms__Lists__ProgramHomework__Comment__index",3006:"p__Engineering__index",3086:"p__Shixuns__Detail__ForkList__ThemeChange__index",3141:"p__Innovation__Detail__index",3157:"p__User__Detail__ExperImentImg__Add__index",3183:"p__Engineering__Lists__GraduationIndex__index",3212:"p__MoopCases__index",3247:"p__Paperlibrary__See__index",3260:"p__Paperlibrary__Add__index",3276:"p__Classrooms__Lists__Statistics__UserportraitStatistics__index",3317:"p__Classrooms__Lists__Graduation__Topics__Add__index",3391:"p__Classrooms__Lists__ProgramHomework__Detail__components__CodeReview__Detail__index",3433:"p__Classrooms__Lists__Exercise__Sumup__Edit__index",3442:"p__Classrooms__Lists__Board__Add__index",3443:"p__knowledgegraph__Statistics__AbilityMap__Detail",3447:"p__User__Detail__Order__pages__orderInformation__index",3451:"p__Classrooms__Lists__Statistics__StudentStatistics__Detail__index",3509:"p__HttpStatus__SixActivities",3581:"p__Shixuns__Detail__Collaborators__ThemeChange__index",3585:"p__Classrooms__Lists__Statistics__StudentSituation__index",3589:"p__knowledgegraph__Statistics__index",3668:"p__Classrooms__Lists__CommonHomework__Detail__index",3685:"p__knowledgegraph__Detail__components__Content__components__AbilityMap__Edit__index",3747:"p__virtualSpaces__Lists__Homepage__index",3784:"p__Paperlibrary__Random__Detail__index",3831:"p__User__ThemeChange__VirtualSpaces",3862:"p__HttpStatus__403",3873:"p__virtualSpaces__Lists__Lesson__index",3910:"p__HttpStatus__introduction",3951:"p__Classrooms__Lists__ProgramHomework__Detail__index",3980:"p__Information__Add__index",4017:"p__Classrooms__Lists__PlaceholderPage__index",4030:"p__Classrooms__Lists__ProgramHomework__AddAndEdit__index",4048:"p__Forums__ThemeChange__index",4056:"p__IntrainCourse__index",4078:"p__Messages__Tidings__index",4093:"p__Classrooms__Lists__Attendance__Detail__index",4105:"p__Classrooms__Lists__Exercise__Answer__index",4144:"p__Problemset__Preview__New__index",4164:"p__Classrooms__Lists__Exercise__Detail__index",4216:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Edit__index",4217:"p__Classrooms__Lists__Video__Statistics__index",4227:"p__Paths__Overview__index",4259:"p__User__Detail__Order__pages__result__index",4264:"p__Forums__New__index",4297:"p__Classrooms__ThemeChange__Polls",4339:"p__knowledgegraph__Statistics__PathAtlas__Detail",4420:"p__knowledgegraph__index",4449:"p__Competitions__Exports__index",4492:"p__Graduations__Lists__StudentSelection__index",4496:"p__HttpStatus__HpcCourse",4498:"p__Shixuns__Edit__body__Level__Challenges__NewPractice__index",4504:"p__virtualSpaces__Lists__Survey__index",4514:"p__Account__Results__index",4520:"p__Account__Secure__index",4546:"p__Engineering__Lists__TrainingProgram__Add__index",4565:"p__HttpStatus__500",4572:"p__Classrooms__Lists__ExportList__index",4599:"p__Problemset__index",4610:"p__User__Detail__LearningPath__index",4621:"p__Administration__Profession__index",4662:"p__Classrooms__Lists__GroupHomework__Review__index",4715:"p__virtualSpaces__Lists__Material__Detail__index",4736:"p__User__Detail__Projects__index",4741:"p__Problems__OjForm__NewEdit__index",4757:"p__virtualSpaces__Lists__Workplace__index",4766:"p__Administration__index",4770:"p__Classrooms__Lists__ProgramHomework__Detail__answer__index",4795:"p__Classrooms__Lists__Graduation__Tasks__Add__index",4800:"p__Engineering__Lists__GraduatedMatrix__index",4888:"p__Information__index",4889:"p__Classrooms__Lists__Exercise__ImitateAnswer__index",4928:"p__Classrooms__Lists__LearningPath__index",4973:"p__Engineering__Evaluate__List__index",4994:"p__Problems__OjForm__index",5022:"p__Graduations__Lists__Settings__index",5043:"p__User__Detail__Topics__Poll__Edit__index",5048:"p__Classrooms__Lists__Graduation__Topics__index",5096:"p__Shixuns__Detail__AuditSituation__index",5111:"p__Terminal__index",5117:"p__User__ThemeChange__Certificate",5125:"p__Classrooms__Lists__Exercise__DetailedAnalysis__index",5148:"p__Classrooms__Lists__Polls__Answer__index",5165:"p__User__ThemeChange__Topics",5176:"p__User__Detail__Videos__Protocol__index",5177:"p__Classrooms__ThemeChange__Teachers",5179:"p__Administration__Student__Edit__index",5186:"p__Classrooms__Overview__index",5230:"p__Shixuns__Detail__Repository__AddFile__ThemeChange__index",5238:"p__virtualSpaces__Lists__Material__index",5297:"p__Classrooms__Lists__Exercise__Detail__components__DuplicateChecking__CheckDetail__index",5307:"p__Shixuns__ThemeChange__New",5319:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Detail__index",5330:"p__Classrooms__ThemeChange__ShixunHomeworksComment",5335:"p__Engineering__Lists__CourseMatrix__index",5357:"p__Engineering__Lists__TrainingProgram__Edit__index",5359:"p__Messages__Detail__index",5382:"p__DataSet__Detail__index",5402:"p__User__Detail__Topics__Detail__index",5466:"p__Classrooms__ThemeChange__LiveVideo",5518:"p__Classrooms__Lists__Template__index",5549:"p__Shixuns__New__CreateImg__index",5572:"p__Paths__HigherVocationalEducation__index",5573:"p__Shixuns__Detail__Merge__index",5624:"p__Graduations__Lists__Index__index",5650:"p__Competitions__Update__index",5694:"p__Classrooms__ThemeChange__ShixunHomeworksDetail",5705:"p__virtualSpaces__Lists__Construction__index",5729:"p__Help__Index",5775:"p__Engineering__Lists__Document__index",5776:"p__User__ThemeChange__RealNameCertification",5786:"layouts__LoginAndRegister__index",5798:"p__Classrooms__Lists__Video__Statistics__UserDetail__index",5800:"p__User__ThemeChange__Competitions",5816:"p__Paperlibrary__Random__Edit__index",5888:"p__Classrooms__Lists__CommonHomework__Add__index",5891:"p__virtualSpaces__Lists__Resources__index",5894:"p__Shixuns__Detail__Repository__Commit__ThemeChange__index",5902:"p__Classrooms__Lists__Exercise__Sumup__index",5915:"p__knowledgegraph__Detail__Statistics__index",5972:"layouts__user__index",5992:"p__Classrooms__Lists__Exercise__ReviewGroup__index",6029:"p__Administration__Student__index",6034:"p__HttpStatus__UserAgents",6063:"p__Graduations__Lists__Personmanage__index",6069:"p__virtualSpaces__Lists__Lesson__Detail__index",6080:"p__Paths__ThemeChange__New",6127:"p__Classrooms__Lists__ProgramHomework__Ranking__index",6170:"p__HttpStatus__downloadStudent",6185:"p__Classrooms__ThemeChange__Announcement",6205:"p__Classrooms__ThemeChange__VideoUpload",6265:"p__virtualSpaces__Lists__Discussion__index",6270:"p__MyProblem__index",6282:"p__Classrooms__ThemeChange__ProgramHomework",6328:"p__Shixuns__Edit__body__Warehouse__index",6366:"p__Innovation__PublicProject__index",6434:"p__User__Detail__Order__pages__records__index",6444:"p__Video__Detail__id",6451:"p__Shixuns__Detail__RankingList__ThemeChange__index",6452:"p__Innovation__PublicDataSet__index",6531:"p__HttpStatus__404",6583:"p__User__Detail__Classrooms__index",6587:"p__User__Detail__Videos__Protocol__resource",6634:"p__Innovation__Tasks__index",6637:"p__Shixuns__Detail__Repository__ThemeChange__index",6651:"p__Engineering__Evaluate__Detail__index",6682:"p__User__ThemeChange__Shixuns",6685:"p__Classrooms__Index__index",6729:"p__Classrooms__Lists__GroupHomework__Edit__index",6741:"p__Engineering__Norm__List__index",6776:"p__Classrooms__ThemeChange__Exercise",6784:"p__Innovation__Edit__index",6788:"p__Home__Detail__ShixunContext__Detail__index",6789:"p__Classrooms__ThemeChange__index",6796:"p__virtualSpaces__Lists__Announcement__Detail__index",6820:"p__User__Detail__Topics__Normal__index",6882:"p__Classrooms__New__StartClass__index",6904:"p__MoopCases__FormPanel__index",6913:"p__Question__AddOrEdit__index",6963:"p__Classrooms__Lists__Engineering__Detail__index",6979:"p__knowledgegraph__SanD__index",6988:"p__Information__Detail__index",7042:"p__knowledgegraph__Statistics__LearningPath__Detail",7043:"p__User__Detail__Topics__Exercise__Edit__index",7045:"p__Classrooms__Lists__CommonHomework__SubmitWork__index",7058:"p__virtualSpaces__Lists__Survey__Detail__index",7062:"layouts__SimpleLayouts",7099:"p__Competitions__ThemeChange__index",7178:"p__User__BindAccount__index",7182:"p__User__ResetPassword__index",7224:"p__StatsDashboard__index",7242:"p__Innovation__MyProject__index",7260:"p__Account__Certification__index",7289:"p__tasks__ThemeChange__index",7322:"layouts__ThemeChange__ShixunDetail",7323:"p__Classrooms__ThemeChange__New",7329:"p__Classrooms__ThemeChange__Attendance",7333:"p__User__WechatLogin__index",7395:"p__Classrooms__Lists__Statistics__StudentDetail__index",7402:"p__User__ThemeChange__OtherResources",7460:"p__Question__OjProblem__index",7477:"p__virtualSpaces__Lists__Announcement__index",7482:"p__Classrooms__Lists__Exercise__Notice__index",7527:"p__MyProblem__RecordDetail__index",7545:"p__Graduations__Lists__Archives__index",7560:"p__Administration__College__index",7589:"p__virtualSpaces__Lists__DigitalTopics__index",7614:"p__Shixuns__Edit__body__Level__Challenges__RankingSetting__index",7622:"p__Classrooms__Lists__Polls__Detail__index",7806:"p__Classrooms__Lists__Statistics__StatisticsQuality__index",7835:"p__Problemset__ThemeChange__index",7855:"p__User__Detail__ResourcesCenter__Detail__index",7857:"p__Shixuns__Edit__body__Level__Challenges__NewQuestion__index",7883:"p__Classrooms__Lists__Exercise__WrongAnswer__index",7884:"p__Shixuns__Exports__index",7901:"p__Guidance__ThemeChange",7922:"p__Classrooms__Lists__CourseGroup__Detail__index",8062:"p__User__Detail__Topicbank__index",8072:"p__Classrooms__Lists__GroupHomework__SubmitWork__index",8085:"p__Classrooms__Lists__Exercise__Review__index",8115:"p__User__ThemeChange__DataSet",8137:"p__knowledgegraph__Statistics__PathAtlas__index",8143:"layouts__GraduationsDetail__index",8145:"p__User__ThemeChange__ClassManagementItem",8155:"p__Shixuns__Overview__index",8217:"p__User__ThemeChange__AccountInfoEdit",8237:"p__User__Detail__Order__pages__view__index",8241:"p__virtualSpaces__Lists__Plan__index",8286:"p__User__ThemeChange__ExperImentImgDetail",8332:"p__User__ThemeChange__Detail",8340:"p__Classrooms__Lists__Attendance__Webview__Student__index",8365:"p__Home__Detail__ShixunContext__index",8398:"p__virtualSpaces__Lists__Resources__Detail__index",8431:"p__Classrooms__Lists__Exercise__Export__index",8435:"p__Classrooms__Lists__Attendance__index",8447:"p__virtualSpaces__Lists__Knowledge__index",8458:"p__Classrooms__ThemeChange__CommonHomework",8479:"p__User__ThemeChange__TeachGroup",8517:"p__User__Detail__Topics__Group__index",8552:"p__Shixuns__ThemeChange__index",8563:"p__virtualSpaces__Lists__Discussion__Detail__index",8579:"p__Competitions__ThemeChange__Edit",8639:"p__Forums__Index__redirect",8665:"p__Engineering__Lists__TrainingObjectives__index",8688:"p__Shixuns__Detail__Repository__index",8689:"p__Classrooms__Lists__Statistics__VideoStatistics__index",8723:"p__Classrooms__Lists__Polls__Edit__index",8787:"p__Competitions__Entered__index",8823:"p__knowledgegraph__Detail__id",8827:"p__Classrooms__Lists__OnlineLearning__index",8866:"p__index",8882:"p__Classrooms__Lists__Graduation__Tasks__Detail__index",8885:"p__Classrooms__Lists__Statistics__StudentStatistics__index",8965:"p__Shixuns__Detail__Discuss__ThemeChange__index",8999:"p__Three__index",9039:"p__Classrooms__ThemeChange__CourseGroup",9076:"p__Account__Binding__index",9205:"p__Shixuns__Edit__body__Level__Challenges__EditPracticeSetting__index",9366:"p__User__Login__index",9391:"p__Engineering__Lists__CurseSetting__index",9404:"monaco-editor",9406:"p__Classrooms__ThemeChange__Board",9416:"p__Graduations__Lists__Tasks__index",9417:"p__Shixuns__ThemeOne__Detail__SkillTags__index",9449:"p__Shixuns__ThemeChange__Detail",9487:"p__LargeScreen__index",9489:"p__Engineering__Lists__CourseList__index",9507:"p__User__Detail__ResourceGuarantee__index",9511:"p__Shixuns__ThemeChange__Edit",9595:"p__knowledgegraph__Statistics__AbilityMap__index",9647:"p__Question__Index__index",9649:"p__Engineering__Lists__TrainingProgram__index",9674:"p__Shixuns__New__ImagePreview__index",9677:"p__virtualSpaces__Lists__Announcement__AddAndEdit__index",9695:"p__Classrooms__Lists__Polls__Add__index",9715:"p__Classrooms__Lists__CommonHomework__Edit__index",9716:"p__Question__OjProblem__RecordDetail__index",9785:"p__Classrooms__Lists__Template__student__index",9788:"p__Account__Profile__index",9814:"p__Shixuns__Detail__Challenges__ThemeChange__index",9891:"p__User__Detail__Videos__Success__index",9906:"p__Paths__ThemeChange__index",9921:"p__Classrooms__ExamList__index",9922:"p__Classrooms__Lists__Statistics__StudentVideo__index",9944:"p__Classrooms__Lists__Video__Statistics__StudentDetail__index"}[d]||d)+"."+{26:"c2171a2f",67:"1d4228d2",109:"a24fe139",119:"04efa13c",141:"b62b555a",195:"971a82a0",201:"689697e5",264:"d3adc995",292:"ad59def9",316:"1f60ada6",337:"8ee8337a",345:"fe9b2c91",354:"d4d139cf",479:"1e9be74e",485:"5e71afee",508:"e329715f",518:"4d4a35cd",532:"9487f9d1",533:"af645a49",547:"73c38c32",556:"1ff8b8c2",559:"54b51901",570:"8a8f7da7",576:"777dcf61",629:"44a1d9a5",643:"01333bce",671:"4a609b8d",680:"70512d5a",700:"b59c485d",737:"b3714f67",741:"3d598f26",799:"9e9dc614",879:"d5b6a8fc",895:"c1fff1f7",900:"aec58bfa",906:"8b03eec4",919:"e1b51882",921:"80d38b80",928:"4c3c2296",953:"b3d88e7b",981:"24da50c7",1006:"a54e6ad4",1043:"9b78cd61",1045:"459e3acd",1048:"0d70997c",1070:"a7080371",1077:"4dd9dd85",1144:"c90eccaf",1154:"8cb80842",1211:"eeac1cd4",1253:"f8bfc9ae",1257:"47570555",1274:"5f6ea65a",1276:"a1121c53",1302:"df60cd94",1343:"7fa1a254",1423:"0082b015",1427:"eda83517",1450:"485cac38",1461:"aa81a64b",1462:"fcf08abc",1470:"c111e969",1475:"6c99d151",1477:"7ea54f0d",1482:"68ed1374",1490:"69b014ef",1511:"233b1b40",1512:"2154d25b",1520:"f122642f",1545:"cd50678a",1578:"0a68d914",1581:"1f0b0e58",1582:"46de2dc5",1646:"e6e27b60",1651:"5e9554ef",1657:"6ed7ab41",1660:"2228a49f",1674:"6d42486a",1678:"01e572b8",1713:"6cdad109",1717:"312631ac",1727:"3112937b",1754:"524ec3be",1783:"1676f1fc",1798:"8f1a3dab",1799:"abe3d6f2",1831:"d4ecee29",1836:"66f820f1",1855:"c4c7fcd5",1880:"02a00552",1897:"0b75d789",1939:"5bb34952",1953:"19d2e010",1962:"98e79bfb",1991:"eb72b4c4",1993:"8c679ade",2011:"59d51f98",2045:"e668dfab",2099:"74383f26",2102:"126c6e37",2130:"7e37f0e5",2141:"0c4619f2",2203:"dd3b7a90",2216:"1b9be89f",2225:"714b03fb",2240:"a4ae682d",2249:"f4830452",2281:"59af6080",2300:"e174fc20",2303:"26a1ea83",2307:"55023379",2338:"18c2fa90",2339:"cbdc6806",2386:"192e235c",2396:"0230b956",2404:"67c77c13",2412:"8d8c8da1",2425:"a707a3c8",2443:"2c8e5c72",2476:"63b5318c",2494:"68080a87",2501:"35c5d02b",2524:"b58a430b",2538:"de4a3723",2539:"70186508",2548:"17dc6fe1",2570:"b23212ed",2594:"e87d3761",2603:"b17f34db",2659:"c2ac41e5",2670:"f2da537c",2707:"f821f258",2806:"ccfad226",2819:"12967f86",2823:"61eb8fbf",2829:"60f0844b",2837:"54a82605",2859:"8bd2c38f",2862:"2edc7104",2865:"e50fb22b",2884:"797b69aa",2969:"ab3357d7",3006:"7a71f33a",3086:"e066759f",3133:"9bf3f89c",3141:"5acaf941",3157:"cc56e7c4",3183:"1f134e0a",3198:"8e655451",3212:"b35b3078",3247:"7bfc22f9",3260:"def95120",3276:"55c86d0d",3317:"61821207",3391:"dc7312fa",3433:"ca5a6ff6",3442:"99404841",3443:"809c79b7",3447:"9a0747cc",3451:"004e6a2c",3509:"94edc2ba",3550:"3dc83156",3581:"476e69f0",3585:"9bd5e322",3589:"7075a1c8",3668:"41b98024",3685:"639b8a92",3696:"a9df6bf4",3697:"481a10d9",3747:"dc4b06cd",3754:"9e1b8736",3777:"d5b0f2f1",3784:"4f75c740",3805:"9dbcb95e",3831:"cc3feb94",3862:"7521f7c5",3873:"b7069a77",3885:"f87f7f15",3910:"89d17540",3951:"8f1c1ac6",3980:"90bf9ff9",3987:"5cecd51b",4014:"27a8e97c",4017:"faf13315",4030:"55a27f96",4048:"427837de",4056:"e98c4b1c",4078:"2b28eae3",4088:"236723f3",4093:"ce7dfb21",4105:"5f0aba62",4144:"34e3ea50",4164:"fd89804a",4216:"551121ba",4217:"e53075e6",4227:"d6830153",4259:"a11d7b4d",4264:"7e45ef8d",4297:"9a4b55c2",4339:"762fb2db",4347:"ce21ef2e",4354:"140899b7",4360:"cf5efa52",4420:"03bbcee3",4449:"e5824f67",4492:"21ec8ce5",4496:"365d7197",4498:"1b9ed9ce",4504:"77ac46e8",4514:"4c59e54e",4520:"ca5975fd",4546:"5c5ded19",4549:"d6931d43",4565:"5a2dfdb2",4572:"be82894e",4599:"61def4cb",4610:"6ca071f9",4621:"433d81f4",4628:"ece2c60c",4662:"6aa257a5",4685:"c33f1528",4715:"ebefa73a",4736:"e67ef1fd",4741:"a42fe0d9",4757:"779188a7",4766:"4325f121",4770:"ba702f3d",4790:"619413e4",4795:"da267b4e",4797:"a24e92db",4800:"c09d9df8",4850:"1edda4b7",4888:"a7c71420",4889:"d24a9527",4928:"570359c2",4973:"851db662",4994:"821cafa7",5022:"f2eccc32",5043:"1283e657",5048:"f33767a2",5060:"85dafcc6",5096:"7800a877",5111:"ee637cc0",5117:"f9dcaccd",5125:"d7ec6444",5148:"8ff7ecc5",5165:"330bb196",5176:"6cac60f4",5177:"73bc6ff1",5179:"321e96fe",5186:"a5da658f",5230:"3f95a136",5238:"395643fa",5290:"5dabcdc2",5297:"6b6be5cb",5307:"2424b6b7",5319:"23ed77fc",5321:"1163c84e",5330:"e0465d09",5335:"d23c85e8",5354:"7ae70604",5357:"eb60617a",5359:"2bd4e815",5382:"16008873",5402:"4f983e25",5416:"454536b7",5434:"38b302a6",5466:"e9f7e42e",5494:"d89549c4",5518:"962d1fe7",5549:"44867c4e",5572:"4a17bcf2",5573:"7a2f5e57",5624:"aca200e1",5631:"e00d3d36",5650:"1bb3f7dc",5679:"4a090bef",5694:"18459682",5705:"be6ab672",5729:"8f58f937",5749:"604df919",5764:"e0d7e586",5775:"a5d13750",5776:"3c42dc5e",5786:"024d87d6",5798:"8c8da678",5800:"e3f4bac3",5816:"d03e83f6",5876:"5eded409",5888:"98892274",5891:"0376f088",5894:"1dd44fa6",5902:"d09c18ee",5915:"3e7b29b9",5972:"ae8e8f67",5992:"86b84705",6029:"ea11ef22",6034:"d47ed817",6045:"d268f87f",6047:"3ce45acd",6063:"503e7f36",6069:"83646f60",6080:"5c900ce6",6126:"99519171",6127:"705e3a6f",6170:"8777678f",6185:"c7f0b2e3",6205:"2d4f70a7",6265:"11350181",6270:"03bf981c",6282:"375aadfa",6328:"75243a29",6366:"a937a6b1",6378:"7f3a946a",6411:"3b971528",6434:"40f031cb",6444:"8585bc1b",6451:"36977c9b",6452:"3f06e52a",6531:"e9eb8ce4",6583:"2b278f44",6587:"fafaa7c9",6634:"3e1740bf",6637:"3bfe56a8",6647:"fbb19106",6651:"25901153",6665:"81bf97ca",6682:"93c2b292",6685:"bbdcc048",6729:"20c385f4",6741:"32bb1539",6774:"59d4d618",6776:"2572cb9d",6784:"20fc25ac",6788:"b4502844",6789:"391cd9fd",6796:"75be423f",6820:"537d97c5",6882:"5c8cb492",6892:"de446bcb",6904:"4f43f29f",6913:"07a4b2da",6963:"41d220ab",6979:"37610420",6988:"1a317d0a",7042:"f659d38a",7043:"eb648179",7045:"5f072901",7058:"7481feb2",7062:"2ad6bd01",7084:"46ccce72",7099:"ae46789c",7156:"e7466006",7178:"21f4ee44",7182:"e357fd46",7210:"c3c40125",7224:"feee46aa",7242:"d14c6fd8",7260:"86b0c32b",7289:"fc364a00",7322:"12cbcd9a",7323:"09705703",7329:"4bdaefed",7333:"7bd1d639",7365:"1005464f",7395:"1e95c2a1",7402:"ee70c0d3",7460:"e0afd04f",7477:"beed8673",7482:"abe4c2c5",7527:"e00970f3",7545:"30bdc4f7",7560:"bbbf5920",7573:"97f85034",7589:"375b1c87",7591:"c8233ce9",7614:"f92f0a83",7622:"f25b4c1d",7686:"4fcec9f9",7706:"c2a79e40",7722:"4996b218",7806:"90b40858",7835:"0d7dbbdf",7855:"25a78edf",7857:"67f1d469",7883:"c057ce21",7884:"8259407f",7901:"a837e981",7922:"6a313f6e",7964:"29aed9a1",8037:"e2680c5c",8062:"9789f9cf",8072:"1b25d3e0",8085:"33c79540",8089:"d536b13a",8115:"76de9834",8137:"796bafe9",8143:"fea7890d",8145:"dbb00430",8155:"7b5146dd",8161:"83c5fa9a",8217:"6a1271e1",8237:"d934e27c",8241:"1235f343",8286:"9bd1b611",8302:"55794970",8332:"5d98ca9a",8340:"ef008c50",8350:"07df8a75",8365:"350033e0",8398:"ebff1597",8431:"02722e96",8435:"29ffda57",8447:"aed74b1b",8458:"edb4869b",8479:"9e803cc0",8517:"47fd16ec",8552:"b541b9e2",8556:"93a193ce",8561:"333e8ec9",8563:"db746432",8579:"c38406e7",8639:"27223976",8665:"8b951aca",8688:"cad07271",8689:"227bf401",8723:"e1c97ad8",8737:"ce7dad23",8776:"0ad26240",8787:"6acfa5ec",8823:"cca63914",8827:"604ed91b",8842:"9f25a3e2",8866:"e13c88a2",8882:"35de928b",8885:"0cc39f27",8898:"d002bcd8",8909:"21392179",8920:"7f82440c",8963:"790aecdd",8965:"5217c021",8999:"29671722",9039:"2b8f28e2",9076:"cdb90660",9104:"bbcb2345",9205:"4c0df551",9252:"0d791a59",9260:"f163e60e",9366:"b285aecb",9391:"f477f90b",9404:"9fcc3d3e",9406:"820ae196",9416:"dcf632df",9417:"4d16506b",9449:"235317c1",9487:"6bf47249",9489:"58886895",9507:"95b8da25",9511:"6f220ddc",9554:"ed358e7b",9559:"f794af19",9595:"1b6a50ab",9647:"d1531f77",9649:"d6f9a104",9674:"13ea89eb",9677:"0a46efd1",9695:"08c5faf5",9715:"eaf5d7c6",9716:"3009f466",9785:"5464c1d4",9788:"6bf720be",9814:"7b908fc0",9891:"d3ecf37d",9895:"b8e31ff2",9906:"646ebd22",9921:"e5de3972",9922:"b8a7709f",9928:"5989f5e0",9944:"bdaf58dc",9950:"74f6dfb2",9968:"17466785"}[d]+".async.js"}}(),function(){__webpack_require__.miniCssF=function(d){return""+({26:"p__Classrooms__Lists__Graduation__Tasks__Edit__index",67:"p__Message__index",109:"p__Classrooms__Lists__ShixunHomeworks__Detail__components__CodeReview__Detail__index",119:"p__User__ThemeChange__Paths",195:"p__Classrooms__Lists__GroupHomework__Detail__index",201:"p__Classrooms__ThemeChange__Students",264:"p__User__Detail__Order__pages__orderPay__index",292:"p__Classrooms__Lists__Exercise__Add__index",337:"p__Paperlibrary__Random__PreviewEdit__index",479:"p__Classrooms__Lists__GroupHomework__EditWork__index",485:"p__Question__AddOrEdit__BatchAdd__index",508:"p__Forums__Detail__id",518:"p__Shixuns__Detail__Settings__ThemeChange__index",532:"p__ExcellentCourse__index",533:"p__Classrooms__Lists__Video__Statistics__Detail__index",547:"p__Account__index",556:"p__User__Detail__Order__pages__invoice__index",559:"layouts__virtualDetail__index",576:"p__Account__Profile__Edit__index",643:"p__Classrooms__Lists__Polls__QuestionnaireInfo__index",680:"p__Innovation__index",700:"p__tasks__Jupyter__index",737:"p__Classrooms__Lists__CommonHomework__Detail__components__CodeReview__Detail__index",799:"p__User__Detail__Topics__Poll__Detail__index",879:"p__User__ThemeChange__AccountInfo",895:"p__Classrooms__Lists__Video__Items__videoInfo__index",900:"p__User__ThemeChange__Classrooms",906:"p__User__ThemeChange__CareerCertification",919:"p__knowledgegraph__Statistics__LearningPath__index",921:"p__Classrooms__Lists__Exercise__CodeDetails__index",928:"p__RestFul__Edit__index",953:"p__AIgc__index",1006:"p__RestFul__index",1043:"p__Classrooms__Lists__Graduation__Tasks__index",1045:"p__virtualSpaces__Lists__Knowledge__AddAndEdit__index",1048:"p__Classrooms__Lists__ProgramHomework__Detail__Ranking__index",1070:"p__Innovation__PublicMirror__index",1077:"p__User__ThemeTwoLogin__index",1211:"p__Classrooms__Lists__CommonHomework__EditWork__index",1253:"p__Graduations__Lists__Gradingsummary__index",1257:"p__Classrooms__Lists__ResourceRecommend__index",1276:"p__MoopCases__Success__index",1343:"p__User__Detail__ResourceAllocation__index",1423:"p__Shixuns__Edit__body__Level__Challenges__EditPracticeAnswer__index",1427:"p__Classrooms__Lists__Statistics__index",1450:"p__Classrooms__Lists__ShixunHomeworks__Commitsummary__index",1461:"p__Graduations__Lists__Topics__index",1470:"p__User__Register__index",1475:"p__Shixuns__Detail__Dataset__JupyterData__index",1477:"p__Classrooms__ThemeChange__Assistant",1482:"p__Classrooms__Lists__Graduation__Topics__Edit__index",1490:"p__Information__Edit__index",1512:"p__Classrooms__Lists__Exercise__AnswerCheck__index",1520:"p__Engineering__Lists__StudentList__index",1545:"p__Paperlibrary__Random__ExchangeFromProblemSet__index",1578:"p__Classrooms__Lists__Graduation__Topics__Detail__index",1581:"p__Problemset__Preview__index",1582:"p__Classrooms__Lists__GroupHomework__Add__index",1651:"p__Paths__ThemeChange__Statistics",1657:"p__Shixuns__Edit__body__Level__Challenges__EditQuestion__index",1674:"p__Classrooms__ClassicCases__index",1678:"p__Classrooms__ThemeChange__Attachment",1713:"p__virtualSpaces__Lists__Settings__index",1717:"layouts__index",1727:"p__Classrooms__Lists__CourseGroup__NotList__index",1754:"p__Classrooms__ThemeChange__Video",1783:"p__virtualSpaces__Lists__Experiment__index",1798:"p__Classrooms__ThemeChange__GroupHomework",1831:"p__Graduations__Index__index",1836:"p__Classrooms__Lists__Attendance__Webview__Teacher__index",1855:"p__MoopCases__InfoPanel__index",1880:"p__User__Detail__Order__pages__apply__index",1897:"p__User__ThemeChange__ClassManagement",1939:"p__User__Detail__Order__index",1953:"p__Problemset__NewItem__index",1962:"p__Classrooms__Lists__Engineering__index",1993:"p__Shixuns__Detail__Dataset__ThemeChange__index",2045:"p__Engineering__Lists__TeacherList__index",2099:"p__Paperlibrary__ThemeChange__index",2102:"p__Classrooms__Lists__Board__Edit__index",2130:"p__Shixuns__Detail__Repository__UploadFile__ThemeChange__index",2141:"p__Shixuns__Detail__Split__index",2203:"p__Classrooms__ThemeChange__ShixunHomeworks",2216:"p__DataSet__Index__index",2240:"p__User__Detail__Videos__Upload__index",2281:"p__Paths__ThemeChange__Detail",2303:"p__Classrooms__Lists__CommonHomework__Comment__index",2307:"p__Report__index",2338:"p__Classrooms__Lists__CommonHomework__Review__index",2339:"p__virtualSpaces__Lists__Plan__Detail__index",2396:"p__User__Detail__ResourcesCenter__index",2404:"p__Classrooms__Lists__Template__teacher__index",2412:"p__User__Detail__Videos__index",2425:"p__Classrooms__Lists__Board__Detail__index",2443:"p__Graduations__Lists__StageModule__index",2476:"p__Colleges__index",2501:"p__Search__index",2524:"p__knowledgegraph__Detail__components__Content__components__AbilityMap__Detail__index",2539:"p__Graduations__Review__index",2548:"p__Engineering__Norm__Detail__index",2570:"p__Competitions__Detail__index",2603:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Add__index",2659:"p__User__Detail__UserPortrait__index",2707:"p__Innovation__MyDataSet__index",2806:"p__User__Detail__Topics__Exercise__Detail__index",2819:"p__Classrooms__Lists__Template__detail__index",2823:"p__Engineering__Navigation__Home__index",2829:"p__Messages__Private__index",2862:"p__User__ThemeChange__ExperImentImg",2865:"p__Innovation__MyMirror__index",2884:"p__Classrooms__Lists__ProgramHomework__Comment__index",3006:"p__Engineering__index",3086:"p__Shixuns__Detail__ForkList__ThemeChange__index",3141:"p__Innovation__Detail__index",3157:"p__User__Detail__ExperImentImg__Add__index",3183:"p__Engineering__Lists__GraduationIndex__index",3212:"p__MoopCases__index",3247:"p__Paperlibrary__See__index",3260:"p__Paperlibrary__Add__index",3276:"p__Classrooms__Lists__Statistics__UserportraitStatistics__index",3317:"p__Classrooms__Lists__Graduation__Topics__Add__index",3391:"p__Classrooms__Lists__ProgramHomework__Detail__components__CodeReview__Detail__index",3433:"p__Classrooms__Lists__Exercise__Sumup__Edit__index",3442:"p__Classrooms__Lists__Board__Add__index",3443:"p__knowledgegraph__Statistics__AbilityMap__Detail",3447:"p__User__Detail__Order__pages__orderInformation__index",3451:"p__Classrooms__Lists__Statistics__StudentStatistics__Detail__index",3509:"p__HttpStatus__SixActivities",3581:"p__Shixuns__Detail__Collaborators__ThemeChange__index",3585:"p__Classrooms__Lists__Statistics__StudentSituation__index",3668:"p__Classrooms__Lists__CommonHomework__Detail__index",3685:"p__knowledgegraph__Detail__components__Content__components__AbilityMap__Edit__index",3747:"p__virtualSpaces__Lists__Homepage__index",3784:"p__Paperlibrary__Random__Detail__index",3831:"p__User__ThemeChange__VirtualSpaces",3873:"p__virtualSpaces__Lists__Lesson__index",3910:"p__HttpStatus__introduction",3951:"p__Classrooms__Lists__ProgramHomework__Detail__index",3980:"p__Information__Add__index",4030:"p__Classrooms__Lists__ProgramHomework__AddAndEdit__index",4048:"p__Forums__ThemeChange__index",4056:"p__IntrainCourse__index",4078:"p__Messages__Tidings__index",4093:"p__Classrooms__Lists__Attendance__Detail__index",4105:"p__Classrooms__Lists__Exercise__Answer__index",4144:"p__Problemset__Preview__New__index",4164:"p__Classrooms__Lists__Exercise__Detail__index",4216:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Edit__index",4217:"p__Classrooms__Lists__Video__Statistics__index",4227:"p__Paths__Overview__index",4259:"p__User__Detail__Order__pages__result__index",4264:"p__Forums__New__index",4297:"p__Classrooms__ThemeChange__Polls",4339:"p__knowledgegraph__Statistics__PathAtlas__Detail",4420:"p__knowledgegraph__index",4449:"p__Competitions__Exports__index",4492:"p__Graduations__Lists__StudentSelection__index",4496:"p__HttpStatus__HpcCourse",4498:"p__Shixuns__Edit__body__Level__Challenges__NewPractice__index",4504:"p__virtualSpaces__Lists__Survey__index",4514:"p__Account__Results__index",4520:"p__Account__Secure__index",4546:"p__Engineering__Lists__TrainingProgram__Add__index",4572:"p__Classrooms__Lists__ExportList__index",4599:"p__Problemset__index",4610:"p__User__Detail__LearningPath__index",4621:"p__Administration__Profession__index",4662:"p__Classrooms__Lists__GroupHomework__Review__index",4715:"p__virtualSpaces__Lists__Material__Detail__index",4736:"p__User__Detail__Projects__index",4741:"p__Problems__OjForm__NewEdit__index",4757:"p__virtualSpaces__Lists__Workplace__index",4766:"p__Administration__index",4770:"p__Classrooms__Lists__ProgramHomework__Detail__answer__index",4795:"p__Classrooms__Lists__Graduation__Tasks__Add__index",4800:"p__Engineering__Lists__GraduatedMatrix__index",4888:"p__Information__index",4889:"p__Classrooms__Lists__Exercise__ImitateAnswer__index",4928:"p__Classrooms__Lists__LearningPath__index",4973:"p__Engineering__Evaluate__List__index",4994:"p__Problems__OjForm__index",5022:"p__Graduations__Lists__Settings__index",5043:"p__User__Detail__Topics__Poll__Edit__index",5048:"p__Classrooms__Lists__Graduation__Topics__index",5096:"p__Shixuns__Detail__AuditSituation__index",5111:"p__Terminal__index",5117:"p__User__ThemeChange__Certificate",5125:"p__Classrooms__Lists__Exercise__DetailedAnalysis__index",5148:"p__Classrooms__Lists__Polls__Answer__index",5165:"p__User__ThemeChange__Topics",5176:"p__User__Detail__Videos__Protocol__index",5177:"p__Classrooms__ThemeChange__Teachers",5179:"p__Administration__Student__Edit__index",5186:"p__Classrooms__Overview__index",5230:"p__Shixuns__Detail__Repository__AddFile__ThemeChange__index",5238:"p__virtualSpaces__Lists__Material__index",5297:"p__Classrooms__Lists__Exercise__Detail__components__DuplicateChecking__CheckDetail__index",5307:"p__Shixuns__ThemeChange__New",5319:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Detail__index",5330:"p__Classrooms__ThemeChange__ShixunHomeworksComment",5335:"p__Engineering__Lists__CourseMatrix__index",5357:"p__Engineering__Lists__TrainingProgram__Edit__index",5359:"p__Messages__Detail__index",5382:"p__DataSet__Detail__index",5402:"p__User__Detail__Topics__Detail__index",5466:"p__Classrooms__ThemeChange__LiveVideo",5518:"p__Classrooms__Lists__Template__index",5549:"p__Shixuns__New__CreateImg__index",5572:"p__Paths__HigherVocationalEducation__index",5573:"p__Shixuns__Detail__Merge__index",5624:"p__Graduations__Lists__Index__index",5650:"p__Competitions__Update__index",5694:"p__Classrooms__ThemeChange__ShixunHomeworksDetail",5705:"p__virtualSpaces__Lists__Construction__index",5729:"p__Help__Index",5775:"p__Engineering__Lists__Document__index",5776:"p__User__ThemeChange__RealNameCertification",5786:"layouts__LoginAndRegister__index",5798:"p__Classrooms__Lists__Video__Statistics__UserDetail__index",5800:"p__User__ThemeChange__Competitions",5816:"p__Paperlibrary__Random__Edit__index",5888:"p__Classrooms__Lists__CommonHomework__Add__index",5891:"p__virtualSpaces__Lists__Resources__index",5894:"p__Shixuns__Detail__Repository__Commit__ThemeChange__index",5915:"p__knowledgegraph__Detail__Statistics__index",5972:"layouts__user__index",5992:"p__Classrooms__Lists__Exercise__ReviewGroup__index",6029:"p__Administration__Student__index",6063:"p__Graduations__Lists__Personmanage__index",6069:"p__virtualSpaces__Lists__Lesson__Detail__index",6080:"p__Paths__ThemeChange__New",6127:"p__Classrooms__Lists__ProgramHomework__Ranking__index",6185:"p__Classrooms__ThemeChange__Announcement",6205:"p__Classrooms__ThemeChange__VideoUpload",6265:"p__virtualSpaces__Lists__Discussion__index",6270:"p__MyProblem__index",6282:"p__Classrooms__ThemeChange__ProgramHomework",6328:"p__Shixuns__Edit__body__Warehouse__index",6366:"p__Innovation__PublicProject__index",6434:"p__User__Detail__Order__pages__records__index",6444:"p__Video__Detail__id",6451:"p__Shixuns__Detail__RankingList__ThemeChange__index",6452:"p__Innovation__PublicDataSet__index",6583:"p__User__Detail__Classrooms__index",6587:"p__User__Detail__Videos__Protocol__resource",6634:"p__Innovation__Tasks__index",6637:"p__Shixuns__Detail__Repository__ThemeChange__index",6651:"p__Engineering__Evaluate__Detail__index",6682:"p__User__ThemeChange__Shixuns",6685:"p__Classrooms__Index__index",6729:"p__Classrooms__Lists__GroupHomework__Edit__index",6741:"p__Engineering__Norm__List__index",6776:"p__Classrooms__ThemeChange__Exercise",6784:"p__Innovation__Edit__index",6789:"p__Classrooms__ThemeChange__index",6796:"p__virtualSpaces__Lists__Announcement__Detail__index",6820:"p__User__Detail__Topics__Normal__index",6882:"p__Classrooms__New__StartClass__index",6904:"p__MoopCases__FormPanel__index",6913:"p__Question__AddOrEdit__index",6963:"p__Classrooms__Lists__Engineering__Detail__index",6979:"p__knowledgegraph__SanD__index",6988:"p__Information__Detail__index",7042:"p__knowledgegraph__Statistics__LearningPath__Detail",7043:"p__User__Detail__Topics__Exercise__Edit__index",7045:"p__Classrooms__Lists__CommonHomework__SubmitWork__index",7058:"p__virtualSpaces__Lists__Survey__Detail__index",7062:"layouts__SimpleLayouts",7099:"p__Competitions__ThemeChange__index",7178:"p__User__BindAccount__index",7182:"p__User__ResetPassword__index",7224:"p__StatsDashboard__index",7242:"p__Innovation__MyProject__index",7260:"p__Account__Certification__index",7289:"p__tasks__ThemeChange__index",7322:"layouts__ThemeChange__ShixunDetail",7323:"p__Classrooms__ThemeChange__New",7329:"p__Classrooms__ThemeChange__Attendance",7395:"p__Classrooms__Lists__Statistics__StudentDetail__index",7402:"p__User__ThemeChange__OtherResources",7460:"p__Question__OjProblem__index",7477:"p__virtualSpaces__Lists__Announcement__index",7482:"p__Classrooms__Lists__Exercise__Notice__index",7527:"p__MyProblem__RecordDetail__index",7545:"p__Graduations__Lists__Archives__index",7560:"p__Administration__College__index",7589:"p__virtualSpaces__Lists__DigitalTopics__index",7614:"p__Shixuns__Edit__body__Level__Challenges__RankingSetting__index",7622:"p__Classrooms__Lists__Polls__Detail__index",7806:"p__Classrooms__Lists__Statistics__StatisticsQuality__index",7835:"p__Problemset__ThemeChange__index",7855:"p__User__Detail__ResourcesCenter__Detail__index",7857:"p__Shixuns__Edit__body__Level__Challenges__NewQuestion__index",7883:"p__Classrooms__Lists__Exercise__WrongAnswer__index",7884:"p__Shixuns__Exports__index",7901:"p__Guidance__ThemeChange",7922:"p__Classrooms__Lists__CourseGroup__Detail__index",8062:"p__User__Detail__Topicbank__index",8072:"p__Classrooms__Lists__GroupHomework__SubmitWork__index",8085:"p__Classrooms__Lists__Exercise__Review__index",8115:"p__User__ThemeChange__DataSet",8137:"p__knowledgegraph__Statistics__PathAtlas__index",8143:"layouts__GraduationsDetail__index",8145:"p__User__ThemeChange__ClassManagementItem",8155:"p__Shixuns__Overview__index",8217:"p__User__ThemeChange__AccountInfoEdit",8237:"p__User__Detail__Order__pages__view__index",8241:"p__virtualSpaces__Lists__Plan__index",8286:"p__User__ThemeChange__ExperImentImgDetail",8332:"p__User__ThemeChange__Detail",8398:"p__virtualSpaces__Lists__Resources__Detail__index",8431:"p__Classrooms__Lists__Exercise__Export__index",8435:"p__Classrooms__Lists__Attendance__index",8447:"p__virtualSpaces__Lists__Knowledge__index",8458:"p__Classrooms__ThemeChange__CommonHomework",8479:"p__User__ThemeChange__TeachGroup",8517:"p__User__Detail__Topics__Group__index",8552:"p__Shixuns__ThemeChange__index",8563:"p__virtualSpaces__Lists__Discussion__Detail__index",8579:"p__Competitions__ThemeChange__Edit",8665:"p__Engineering__Lists__TrainingObjectives__index",8688:"p__Shixuns__Detail__Repository__index",8689:"p__Classrooms__Lists__Statistics__VideoStatistics__index",8723:"p__Classrooms__Lists__Polls__Edit__index",8787:"p__Competitions__Entered__index",8823:"p__knowledgegraph__Detail__id",8827:"p__Classrooms__Lists__OnlineLearning__index",8866:"p__index",8882:"p__Classrooms__Lists__Graduation__Tasks__Detail__index",8885:"p__Classrooms__Lists__Statistics__StudentStatistics__index",8965:"p__Shixuns__Detail__Discuss__ThemeChange__index",8999:"p__Three__index",9039:"p__Classrooms__ThemeChange__CourseGroup",9076:"p__Account__Binding__index",9205:"p__Shixuns__Edit__body__Level__Challenges__EditPracticeSetting__index",9366:"p__User__Login__index",9391:"p__Engineering__Lists__CurseSetting__index",9404:"monaco-editor",9406:"p__Classrooms__ThemeChange__Board",9416:"p__Graduations__Lists__Tasks__index",9449:"p__Shixuns__ThemeChange__Detail",9487:"p__LargeScreen__index",9489:"p__Engineering__Lists__CourseList__index",9507:"p__User__Detail__ResourceGuarantee__index",9511:"p__Shixuns__ThemeChange__Edit",9595:"p__knowledgegraph__Statistics__AbilityMap__index",9647:"p__Question__Index__index",9649:"p__Engineering__Lists__TrainingProgram__index",9674:"p__Shixuns__New__ImagePreview__index",9677:"p__virtualSpaces__Lists__Announcement__AddAndEdit__index",9695:"p__Classrooms__Lists__Polls__Add__index",9715:"p__Classrooms__Lists__CommonHomework__Edit__index",9716:"p__Question__OjProblem__RecordDetail__index",9785:"p__Classrooms__Lists__Template__student__index",9788:"p__Account__Profile__index",9814:"p__Shixuns__Detail__Challenges__ThemeChange__index",9891:"p__User__Detail__Videos__Success__index",9906:"p__Paths__ThemeChange__index",9921:"p__Classrooms__ExamList__index",9922:"p__Classrooms__Lists__Statistics__StudentVideo__index",9944:"p__Classrooms__Lists__Video__Statistics__StudentDetail__index"}[d]||d)+"."+{26:"91ed81ab",67:"249d60ed",109:"1a7fc455",119:"5a5d8480",195:"8bc56a44",201:"749be0d6",264:"5fd9b3fc",292:"8c3a8076",337:"497aa9e8",479:"bba9e475",485:"d63578fe",508:"82593858",518:"a22ced2d",532:"1e2e38ec",533:"308bfa22",547:"5581debc",556:"0e9c5cde",559:"c49aa5ba",576:"e4f97d42",643:"22ded693",680:"e67e9e01",700:"26166636",737:"98eb2f74",799:"b1dec428",879:"64e845d8",895:"ad846737",900:"5db55ef3",906:"d2399d94",919:"898b0443",921:"30cc7e9b",928:"0277270a",953:"ceeabce9",1006:"2263131d",1043:"e8c0878b",1045:"bce697db",1048:"dafc3f4f",1070:"e67e9e01",1077:"4749f7c5",1211:"bdb8faab",1253:"a97ebbb0",1257:"2c6cc63e",1276:"bbc6eeec",1343:"e4e2ebc7",1423:"5c4a76fc",1427:"3d93dfaa",1450:"1edcc2ed",1461:"82857f62",1470:"183c9793",1475:"01717533",1477:"08b9f795",1482:"d159af07",1490:"a0745791",1512:"f3653a35",1520:"f7300d0e",1545:"0da47095",1578:"efcb0bdc",1581:"efffd7c0",1582:"8e45b6ff",1651:"f43c37e5",1657:"49a2443a",1674:"fdbc1e05",1678:"c99d5f02",1713:"a4a3dbd7",1717:"488b6fa6",1727:"4eec53ba",1754:"1f751b14",1783:"4b6779fc",1798:"d4c3f3eb",1831:"12095e09",1836:"5f0d3f7f",1855:"b92cccb4",1880:"29bc2b98",1897:"35d10918",1939:"164385ec",1953:"d6d2346f",1962:"84e145fa",1993:"7cc7cf77",2045:"dcfad42d",2099:"69273354",2102:"ec61f9f0",2130:"50dfcc51",2141:"5eb2f330",2203:"6b55d48d",2216:"90f34d3c",2240:"e7cce869",2281:"ecea98be",2303:"5a9dc2b1",2307:"b2c54321",2338:"9f251b40",2339:"bf4c6e3d",2396:"1234f229",2404:"08d36549",2412:"4490ba2a",2425:"47b23ee4",2443:"2f614807",2476:"cf85a190",2501:"2441982c",2524:"6e1463fc",2539:"43c55c4d",2548:"75182034",2570:"ecab12cb",2603:"0277270a",2659:"f6071a36",2707:"cabcb16e",2806:"066a1e3c",2819:"9455b08a",2823:"a13b21fb",2829:"a5909474",2862:"67c37a4e",2865:"6ef3cf6b",2884:"405c2ef9",3006:"7fce4e74",3086:"d0ebac07",3141:"beff8d87",3157:"d0ba1925",3183:"b2253f40",3212:"ad1521c1",3247:"50105eb7",3260:"ee8e2fb8",3276:"7bbb651d",3317:"137440b7",3391:"f0e498fe",3433:"9a871026",3442:"bdf7849c",3443:"898b0443",3447:"1653d818",3451:"e3a31387",3509:"70043ca5",3581:"f3335635",3585:"5f288e7b",3668:"1a8ed604",3685:"5356e3de",3747:"c50b2b70",3784:"c81d4a51",3831:"4987c55d",3873:"9b32f93d",3910:"658d457f",3951:"9b11b034",3980:"02fcc53a",4030:"d3df931a",4048:"f9582bef",4056:"10eacfff",4078:"aa54548e",4093:"7d2dbef2",4105:"7f9d4513",4144:"f10aa199",4164:"2e8b2a11",4216:"0277270a",4217:"387bf824",4227:"79c3b323",4259:"ebd953ac",4264:"36917df0",4297:"0d7e3efe",4339:"9de29759",4420:"d1920d14",4449:"e68d8d58",4492:"9fd5ba05",4496:"77babddd",4498:"e1d76eaf",4504:"b05222a6",4514:"887bdbb6",4520:"e86d61a1",4546:"4101a1f2",4572:"70e5675d",4599:"6327db8f",4610:"687005a6",4621:"4c789bfa",4662:"30b29314",4715:"cf749061",4736:"aa2d53d9",4741:"c51f7784",4757:"73b754d2",4766:"b5df5a8e",4770:"674b2d2a",4795:"939f9f81",4800:"f50302a4",4888:"1206b858",4889:"a91da64a",4928:"7c2ece62",4973:"129c56e8",4994:"a8674b97",5022:"81b1b86b",5043:"247e6954",5048:"aa08c681",5096:"4f6a4d00",5111:"5d09a39a",5117:"4358a2fb",5125:"57501e4a",5148:"572faeac",5165:"dc6d9bc6",5176:"9c49e7fa",5177:"b612c017",5179:"699b44a8",5186:"30047116",5230:"94dfecf3",5238:"694000a4",5297:"5426028f",5307:"edd49aa8",5319:"34217c3f",5330:"5b911c36",5335:"fec6fd9f",5357:"1fbb7d24",5359:"b254a598",5382:"28b79a42",5402:"68063d1e",5466:"90694dbb",5518:"9f425be3",5549:"39285664",5572:"c945fbf2",5573:"6ecf393c",5624:"685b3a03",5650:"f8f63f4b",5694:"fc68e7f6",5705:"df6bf207",5729:"46f9b5d4",5775:"8945cad2",5776:"e07b4b49",5786:"37a81eaa",5798:"ce1cf7da",5800:"f214b296",5816:"2fe25dcc",5888:"193a7f8f",5891:"2f4cf052",5894:"4faa35bb",5915:"bc9c3e69",5972:"5a946d1e",5992:"419f5d2f",6029:"3f8b2a62",6063:"2c0a986c",6069:"5e1528e7",6080:"4e17dacd",6127:"f31505a8",6185:"4617aa93",6205:"6eef461f",6265:"ab7c4ade",6270:"5496b206",6282:"37b2b2dd",6328:"de2b9d62",6366:"079fc2d8",6434:"c5a95b1e",6444:"fd46d237",6451:"949d91e5",6452:"50a6d310",6583:"56bd7407",6587:"9c49e7fa",6634:"20d7dcef",6637:"cd627031",6651:"b07fe216",6682:"d2765c91",6685:"cc9a5255",6729:"aea3b7f5",6741:"b838eb14",6776:"e7f1be47",6784:"1affe817",6789:"bb555561",6796:"88ef2b35",6820:"cebdf1cf",6882:"c2d2eada",6904:"44afaa9b",6913:"739202fe",6963:"84e145fa",6979:"a619b685",6988:"d1510090",7042:"898b0443",7043:"25478869",7045:"48f6fc4c",7058:"7c5ff3cf",7062:"76d743b7",7099:"e6e46152",7178:"6e47d75d",7182:"183c9793",7224:"7caf9754",7242:"4f353f61",7260:"2c380d56",7289:"c6aafe55",7322:"8c1bddb9",7323:"6abde4ad",7329:"4677c004",7395:"ff574c5d",7402:"c3bf3e69",7460:"dedd2038",7477:"b45b8d42",7482:"c37a3f01",7527:"a4765b7e",7545:"88c2815e",7560:"d82e43ca",7589:"5abfc7e4",7614:"de9ee12f",7622:"79b56687",7722:"03cdfb68",7806:"80b7b1d6",7835:"b70268cc",7855:"d9440df4",7857:"13a29416",7883:"93cf27b2",7884:"1ca6cde0",7901:"7f54315c",7922:"49f2762f",8062:"8e384b9f",8072:"540f746b",8085:"a1cadc76",8115:"47861430",8137:"66f37f26",8143:"baf130b5",8145:"0eefaae0",8155:"d345abd7",8217:"000115b7",8237:"cc24fd46",8241:"c8299739",8286:"4b01dd59",8332:"ed1a1f89",8398:"7bb61fdd",8431:"289b326c",8435:"c54dbac3",8447:"9c541ee4",8458:"ddd4164b",8479:"ef522a60",8517:"cccfddad",8552:"208da293",8563:"b1f16cfe",8579:"c4e34db8",8665:"c52575bc",8688:"c044db56",8689:"38303690",8723:"77277ca8",8787:"121de108",8823:"75b63dcd",8827:"14015163",8866:"223de787",8882:"f3e42f72",8885:"de905169",8965:"f169309d",8999:"448aa22f",9039:"4e72f6be",9076:"6a501148",9205:"49a3e67d",9366:"4f511490",9391:"c11edda0",9404:"d8cf04f7",9406:"df76000e",9416:"bc1cc3b9",9449:"aefaca43",9487:"a73f5679",9489:"ee2bb5b7",9507:"af07d346",9511:"cd820ced",9595:"898b0443",9647:"bea72042",9649:"00fb4211",9674:"5f24eb80",9677:"18c220c4",9695:"7288e7ae",9715:"b6c6645f",9716:"a5750e0d",9785:"08d36549",9788:"781a4d20",9814:"9f959c59",9891:"512a9301",9906:"c603619a",9921:"e0db9101",9922:"33690872",9944:"1ba31055"}[d]+".chunk.css"}}(),function(){__webpack_require__.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch(d){if(typeof window=="object")return window}}()}(),function(){__webpack_require__.hmd=function(d){return d=Object.create(d),d.children||(d.children=[]),Object.defineProperty(d,"exports",{enumerable:!0,set:function(){throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+d.id)}}),d}}(),function(){__webpack_require__.o=function(d,_){return Object.prototype.hasOwnProperty.call(d,_)}}(),function(){var d={};__webpack_require__.l=function(_,e,r,i){if(d[_]){d[_].push(e);return}var l,c;if(r!==void 0)for(var f=document.getElementsByTagName("script"),u=0;u{const $=Xf(t,s,X)||Xf(D,s,X)||Xf(v,s,X);return $&&(j[X]=$),j},{})}function Xf(D,t,n){return D&&D.hasAttributeNS(t,n)?D.getAttributeNS(t,n):null}function Wf(D){return new Error(`Could not parse ttml timestamp ${D}`)}function ff(D,t){if(!D)return null;let n=Lf(D);return n===null&&(Cf.test(D)?n=id(D,t):Tf.test(D)&&(n=Hf(D,t))),n}function id(D,t){const n=Cf.exec(D),s=(n[4]|0)+(n[5]|0)/t.subFrameRate;return(n[1]|0)*3600+(n[2]|0)*60+(n[3]|0)+s/t.frameRate}function Hf(D,t){const n=Tf.exec(D),s=Number(n[1]);switch(n[2]){case"h":return s*3600;case"m":return s*60;case"ms":return s*1e3;case"f":return s/t.frameRate;case"t":return s/t.tickRate}return s}class Nf{constructor(t,n){this.timelineController=void 0,this.cueRanges=[],this.trackName=void 0,this.startTime=null,this.endTime=null,this.screen=null,this.timelineController=t,this.trackName=n}dispatchCue(){this.startTime!==null&&(this.timelineController.addCues(this.trackName,this.startTime,this.endTime,this.screen,this.cueRanges),this.startTime=null)}newCue(t,n,s){(this.startTime===null||this.startTime>t)&&(this.startTime=t),this.endTime=n,this.screen=s,this.timelineController.createCaptionsTrack(this.trackName)}reset(){this.cueRanges=[],this.startTime=null}}class ad{constructor(t){this.hls=void 0,this.media=null,this.config=void 0,this.enabled=!0,this.Cues=void 0,this.textTracks=[],this.tracks=[],this.initPTS=[],this.unparsedVttFrags=[],this.captionsTracks={},this.nonNativeCaptionsTracks={},this.cea608Parser1=void 0,this.cea608Parser2=void 0,this.lastCc=-1,this.lastSn=-1,this.lastPartIndex=-1,this.prevCC=-1,this.vttCCs=g(),this.captionsProperties=void 0,this.hls=t,this.config=t.config,this.Cues=t.config.cueHandler,this.captionsProperties={textTrack1:{label:this.config.captionsTextTrack1Label,languageCode:this.config.captionsTextTrack1LanguageCode},textTrack2:{label:this.config.captionsTextTrack2Label,languageCode:this.config.captionsTextTrack2LanguageCode},textTrack3:{label:this.config.captionsTextTrack3Label,languageCode:this.config.captionsTextTrack3LanguageCode},textTrack4:{label:this.config.captionsTextTrack4Label,languageCode:this.config.captionsTextTrack4LanguageCode}},t.on(u.MEDIA_ATTACHING,this.onMediaAttaching,this),t.on(u.MEDIA_DETACHING,this.onMediaDetaching,this),t.on(u.MANIFEST_LOADING,this.onManifestLoading,this),t.on(u.MANIFEST_LOADED,this.onManifestLoaded,this),t.on(u.SUBTITLE_TRACKS_UPDATED,this.onSubtitleTracksUpdated,this),t.on(u.FRAG_LOADING,this.onFragLoading,this),t.on(u.FRAG_LOADED,this.onFragLoaded,this),t.on(u.FRAG_PARSING_USERDATA,this.onFragParsingUserdata,this),t.on(u.FRAG_DECRYPTED,this.onFragDecrypted,this),t.on(u.INIT_PTS_FOUND,this.onInitPtsFound,this),t.on(u.SUBTITLE_TRACKS_CLEARED,this.onSubtitleTracksCleared,this),t.on(u.BUFFER_FLUSHING,this.onBufferFlushing,this)}destroy(){const{hls:t}=this;t.off(u.MEDIA_ATTACHING,this.onMediaAttaching,this),t.off(u.MEDIA_DETACHING,this.onMediaDetaching,this),t.off(u.MANIFEST_LOADING,this.onManifestLoading,this),t.off(u.MANIFEST_LOADED,this.onManifestLoaded,this),t.off(u.SUBTITLE_TRACKS_UPDATED,this.onSubtitleTracksUpdated,this),t.off(u.FRAG_LOADING,this.onFragLoading,this),t.off(u.FRAG_LOADED,this.onFragLoaded,this),t.off(u.FRAG_PARSING_USERDATA,this.onFragParsingUserdata,this),t.off(u.FRAG_DECRYPTED,this.onFragDecrypted,this),t.off(u.INIT_PTS_FOUND,this.onInitPtsFound,this),t.off(u.SUBTITLE_TRACKS_CLEARED,this.onSubtitleTracksCleared,this),t.off(u.BUFFER_FLUSHING,this.onBufferFlushing,this),this.hls=this.config=this.media=null,this.cea608Parser1=this.cea608Parser2=void 0}initCea608Parsers(){const t=new Nf(this,"textTrack1"),n=new Nf(this,"textTrack2"),s=new Nf(this,"textTrack3"),v=new Nf(this,"textTrack4");this.cea608Parser1=new wl(1,t,n),this.cea608Parser2=new wl(3,s,v)}addCues(t,n,s,v,w){let P=!1;for(let j=w.length;j--;){const X=w[j],$=Gf(X[0],X[1],n,s);if($>=0&&(X[0]=Math.min(X[0],n),X[1]=Math.max(X[1],s),P=!0,$/(s-n)>.5))return}if(P||w.push([n,s]),this.config.renderTextTracksNatively){const j=this.captionsTracks[t];this.Cues.newCue(j,n,s,v)}else{const j=this.Cues.newCue(null,n,s,v);this.hls.trigger(u.CUES_PARSED,{type:"captions",cues:j,track:t})}}onInitPtsFound(t,{frag:n,id:s,initPTS:v,timescale:w,trackId:P}){const{unparsedVttFrags:j}=this;s===o.MAIN&&(this.initPTS[n.cc]={baseTime:v,timescale:w,trackId:P}),j.length&&(this.unparsedVttFrags=[],j.forEach(X=>{this.initPTS[X.frag.cc]?this.onFragLoaded(u.FRAG_LOADED,X):this.hls.trigger(u.SUBTITLE_FRAG_PROCESSED,{success:!1,frag:X.frag,error:new Error("Subtitle discontinuity domain does not match main")})}))}getExistingTrack(t,n){const{media:s}=this;if(s)for(let v=0;v{is(v[w]),delete v[w]}),this.nonNativeCaptionsTracks={}}onManifestLoading(){this.lastCc=-1,this.lastSn=-1,this.lastPartIndex=-1,this.prevCC=-1,this.vttCCs=g(),this._cleanTracks(),this.tracks=[],this.captionsTracks={},this.nonNativeCaptionsTracks={},this.textTracks=[],this.unparsedVttFrags=[],this.initPTS=[],this.cea608Parser1&&this.cea608Parser2&&(this.cea608Parser1.reset(),this.cea608Parser2.reset())}_cleanTracks(){const{media:t}=this;if(!t)return;const n=t.textTracks;if(n)for(let s=0;sw.textCodec===uu);if(this.config.enableWebVTT||v&&this.config.enableIMSC1){if(Kc(this.tracks,s)){this.tracks=s;return}if(this.textTracks=[],this.tracks=s,this.config.renderTextTracksNatively){const P=this.media,j=P?Jl(P.textTracks):null;if(this.tracks.forEach((X,$)=>{let ue;if(j){let de=null;for(let xe=0;xe$!==null).map($=>$.label);X.length&&this.hls.logger.warn(`Media element contains unused subtitle tracks: ${X.join(", ")}. Replace media element for each source to clear TextTracks and captions menu.`)}}else if(this.tracks.length){const P=this.tracks.map(j=>({label:j.name,kind:j.type.toLowerCase(),default:j.default,subtitleTrack:j}));this.hls.trigger(u.NON_NATIVE_TEXT_TRACKS_FOUND,{tracks:P})}}}onManifestLoaded(t,n){this.config.enableCEA708Captions&&n.captions&&n.captions.forEach(s=>{const v=/(?:CC|SERVICE)([1-4])/.exec(s.instreamId);if(!v)return;const w=`textTrack${v[1]}`,P=this.captionsProperties[w];P&&(P.label=s.name,s.lang&&(P.languageCode=s.lang),P.media=s)})}closedCaptionsForLevel(t){const n=this.hls.levels[t.level];return n==null?void 0:n.attrs["CLOSED-CAPTIONS"]}onFragLoading(t,n){if(this.enabled&&n.frag.type===o.MAIN){var s,v;const{cea608Parser1:w,cea608Parser2:P,lastSn:j}=this,{cc:X,sn:$}=n.frag,ue=(s=(v=n.part)==null?void 0:v.index)!=null?s:-1;w&&P&&($!==j+1||$===j&&ue!==this.lastPartIndex+1||X!==this.lastCc)&&(w.reset(),P.reset()),this.lastCc=X,this.lastSn=$,this.lastPartIndex=ue}}onFragLoaded(t,n){const{frag:s,payload:v}=n;if(s.type===o.SUBTITLE)if(v.byteLength){const w=s.decryptdata,P="stats"in n;if(w==null||!w.encrypted||P){const j=this.tracks[s.level],X=this.vttCCs;X[s.cc]||(X[s.cc]={start:s.start,prevCC:this.prevCC,new:!0},this.prevCC=s.cc),j&&j.textCodec===uu?this._parseIMSC1(s,v):this._parseVTTs(n)}}else this.hls.trigger(u.SUBTITLE_FRAG_PROCESSED,{success:!1,frag:s,error:new Error("Empty subtitle payload")})}_parseIMSC1(t,n){const s=this.hls;zc(n,this.initPTS[t.cc],v=>{this._appendCues(v,t.level),s.trigger(u.SUBTITLE_FRAG_PROCESSED,{success:!0,frag:t})},v=>{s.logger.log(`Failed to parse IMSC1: ${v}`),s.trigger(u.SUBTITLE_FRAG_PROCESSED,{success:!1,frag:t,error:v})})}_parseVTTs(t){var n;const{frag:s,payload:v}=t,{initPTS:w,unparsedVttFrags:P}=this,j=w.length-1;if(!w[s.cc]&&j===-1){P.push(t);return}const X=this.hls,$=(n=s.initSegment)!=null&&n.data?Yt(s.initSegment.data,new Uint8Array(v)).buffer:v;Uc($,this.initPTS[s.cc],this.vttCCs,s.cc,s.start,ue=>{this._appendCues(ue,s.level),X.trigger(u.SUBTITLE_FRAG_PROCESSED,{success:!0,frag:s})},ue=>{const de=ue.message==="Missing initPTS for VTT MPEGTS";de?P.push(t):this._fallbackToIMSC1(s,v),X.logger.log(`Failed to parse VTT cue: ${ue}`),!(de&&j>s.cc)&&X.trigger(u.SUBTITLE_FRAG_PROCESSED,{success:!1,frag:s,error:ue})})}_fallbackToIMSC1(t,n){const s=this.tracks[t.level];s.textCodec||zc(n,this.initPTS[t.cc],()=>{s.textCodec=uu,this._parseIMSC1(t,n)},()=>{s.textCodec="wvtt"})}_appendCues(t,n){const s=this.hls;if(this.config.renderTextTracksNatively){const v=this.textTracks[n];if(!v||v.mode==="disabled")return;t.forEach(w=>Yo(v,w))}else{const v=this.tracks[n];if(!v)return;const w=v.default?"default":"subtitles"+n;s.trigger(u.CUES_PARSED,{type:"subtitles",cues:t,track:w})}}onFragDecrypted(t,n){const{frag:s}=n;s.type===o.SUBTITLE&&this.onFragLoaded(u.FRAG_LOADED,n)}onSubtitleTracksCleared(){this.tracks=[],this.captionsTracks={}}onFragParsingUserdata(t,n){if(!this.enabled||!this.config.enableCEA708Captions)return;const{frag:s,samples:v}=n;if(!(s.type===o.MAIN&&this.closedCaptionsForLevel(s)==="NONE"))for(let w=0;wPo(j[X],n,s))}if(this.config.renderTextTracksNatively&&n===0&&v!==void 0){const{textTracks:j}=this;Object.keys(j).forEach(X=>Po(j[X],n,v))}}}extractCea608Data(t){const n=[[],[]],s=t[0]&31;let v=2;for(let w=0;w=16?X--:X++;const ke=ll($.trim()),Re=lf(t,n,ke);D!=null&&(de=D.cues)!=null&&de.getCueById(Re)||(P=new ue(t,n,ke),P.id=Re,P.line=xe+1,P.align="left",P.position=10+Math.min(80,Math.floor(X*8/32)*10),v.push(P))}return D&&v.length&&(v.sort((xe,ke)=>xe.line==="auto"||ke.line==="auto"?0:xe.line>8&&ke.line>8?ke.line-xe.line:xe.line-ke.line),v.forEach(xe=>Yo(D,xe))),v}};function ge(){if(self.fetch&&self.AbortController&&self.ReadableStream&&self.Request)try{return new self.ReadableStream({}),!0}catch(D){}return!1}const Oe=/(\d+)-(\d+)\/(\d+)/;class tt{constructor(t){this.fetchSetup=void 0,this.requestTimeout=void 0,this.request=null,this.response=null,this.controller=void 0,this.context=null,this.config=null,this.callbacks=null,this.stats=void 0,this.loader=null,this.fetchSetup=t.fetchSetup||gn,this.controller=new self.AbortController,this.stats=new U}destroy(){this.loader=this.callbacks=this.context=this.config=this.request=null,this.abortInternal(),this.response=null,this.fetchSetup=this.controller=this.stats=null}abortInternal(){this.controller&&!this.stats.loading.end&&(this.stats.aborted=!0,this.controller.abort())}abort(){var t;this.abortInternal(),(t=this.callbacks)!=null&&t.onAbort&&this.callbacks.onAbort(this.stats,this.context,this.response)}load(t,n,s){const v=this.stats;if(v.loading.start)throw new Error("Loader can only be used once.");v.loading.start=self.performance.now();const w=Ut(t,this.controller.signal),P=t.responseType==="arraybuffer",j=P?"byteLength":"length",{maxTimeToFirstByteMs:X,maxLoadTimeMs:$}=n.loadPolicy;this.context=t,this.config=n,this.callbacks=s,this.request=this.fetchSetup(t,w),self.clearTimeout(this.requestTimeout),n.timeout=X&&r(X)?X:$,this.requestTimeout=self.setTimeout(()=>{this.callbacks&&(this.abortInternal(),this.callbacks.onTimeout(v,t,this.response))},n.timeout),(ho(this.request)?this.request.then(self.fetch):self.fetch(this.request)).then(de=>{var xe;this.response=this.loader=de;const ke=Math.max(self.performance.now(),v.loading.start);if(self.clearTimeout(this.requestTimeout),n.timeout=$,this.requestTimeout=self.setTimeout(()=>{this.callbacks&&(this.abortInternal(),this.callbacks.onTimeout(v,t,this.response))},$-(ke-v.loading.start)),!de.ok){const{status:it,statusText:nt}=de;throw new Di(nt||"fetch, bad network response",it,de)}v.loading.first=ke,v.total=Rr(de.headers)||v.total;const Re=(xe=this.callbacks)==null?void 0:xe.onProgress;return Re&&r(n.highWaterMark)?this.loadProgressively(de,v,t,n.highWaterMark,Re):P?de.arrayBuffer():t.responseType==="json"?de.json():de.text()}).then(de=>{var xe,ke;const Re=this.response;if(!Re)throw new Error("loader destroyed");self.clearTimeout(this.requestTimeout),v.loading.end=Math.max(self.performance.now(),v.loading.first);const it=de[j];it&&(v.loaded=v.total=it);const nt={url:Re.url,data:de,code:Re.status},qt=(xe=this.callbacks)==null?void 0:xe.onProgress;qt&&!r(n.highWaterMark)&&qt(v,t,de,Re),(ke=this.callbacks)==null||ke.onSuccess(nt,v,t,Re)}).catch(de=>{var xe;if(self.clearTimeout(this.requestTimeout),v.aborted)return;const ke=de&&de.code||0,Re=de?de.message:null;(xe=this.callbacks)==null||xe.onError({code:ke,text:Re},t,de?de.details:null,v)})}getCacheAge(){let t=null;if(this.response){const n=this.response.headers.get("age");t=n?parseFloat(n):null}return t}getResponseHeader(t){return this.response?this.response.headers.get(t):null}loadProgressively(t,n,s,v=0,w){const P=new Ar,j=t.body.getReader(),X=()=>j.read().then($=>{if($.done)return P.dataLength&&w(n,s,P.flush().buffer,t),Promise.resolve(new ArrayBuffer(0));const ue=$.value,de=ue.length;return n.loaded+=de,de=v&&w(n,s,P.flush().buffer,t)):w(n,s,ue.buffer,t),X()}).catch(()=>Promise.reject());return X()}}function Ut(D,t){const n={method:"GET",mode:"cors",credentials:"same-origin",signal:t,headers:new self.Headers(y({},D.headers))};return D.rangeEnd&&n.headers.set("Range","bytes="+D.rangeStart+"-"+String(D.rangeEnd-1)),n}function dr(D){const t=Oe.exec(D);if(t)return parseInt(t[2])-parseInt(t[1])+1}function Rr(D){const t=D.get("Content-Range");if(t){const s=dr(t);if(r(s))return s}const n=D.get("Content-Length");if(n)return parseInt(n)}function gn(D,t){return new self.Request(D.url,t)}class Di extends Error{constructor(t,n,s){super(t),this.code=void 0,this.details=void 0,this.code=n,this.details=s}}const Ua=/^age:\s*[\d.]+\s*$/im;class Vn{constructor(t){this.xhrSetup=void 0,this.requestTimeout=void 0,this.retryTimeout=void 0,this.retryDelay=void 0,this.config=null,this.callbacks=null,this.context=null,this.loader=null,this.stats=void 0,this.xhrSetup=t&&t.xhrSetup||null,this.stats=new U,this.retryDelay=0}destroy(){this.callbacks=null,this.abortInternal(),this.loader=null,this.config=null,this.context=null,this.xhrSetup=null}abortInternal(){const t=this.loader;self.clearTimeout(this.requestTimeout),self.clearTimeout(this.retryTimeout),t&&(t.onreadystatechange=null,t.onprogress=null,t.readyState!==4&&(this.stats.aborted=!0,t.abort()))}abort(){var t;this.abortInternal(),(t=this.callbacks)!=null&&t.onAbort&&this.callbacks.onAbort(this.stats,this.context,this.loader)}load(t,n,s){if(this.stats.loading.start)throw new Error("Loader can only be used once.");this.stats.loading.start=self.performance.now(),this.context=t,this.config=n,this.callbacks=s,this.loadInternal()}loadInternal(){const{config:t,context:n}=this;if(!t||!n)return;const s=this.loader=new self.XMLHttpRequest,v=this.stats;v.loading.first=0,v.loaded=0,v.aborted=!1;const w=this.xhrSetup;w?Promise.resolve().then(()=>{if(!(this.loader!==s||this.stats.aborted))return w(s,n.url)}).catch(P=>{if(!(this.loader!==s||this.stats.aborted))return s.open("GET",n.url,!0),w(s,n.url)}).then(()=>{this.loader!==s||this.stats.aborted||this.openAndSendXhr(s,n,t)}).catch(P=>{var j;(j=this.callbacks)==null||j.onError({code:s.status,text:P.message},n,s,v)}):this.openAndSendXhr(s,n,t)}openAndSendXhr(t,n,s){t.readyState||t.open("GET",n.url,!0);const v=n.headers,{maxTimeToFirstByteMs:w,maxLoadTimeMs:P}=s.loadPolicy;if(v)for(const j in v)t.setRequestHeader(j,v[j]);n.rangeEnd&&t.setRequestHeader("Range","bytes="+n.rangeStart+"-"+(n.rangeEnd-1)),t.onreadystatechange=this.readystatechange.bind(this),t.onprogress=this.loadprogress.bind(this),t.responseType=n.responseType,self.clearTimeout(this.requestTimeout),s.timeout=w&&r(w)?w:P,this.requestTimeout=self.setTimeout(this.loadtimeout.bind(this),s.timeout),t.send()}readystatechange(){const{context:t,loader:n,stats:s}=this;if(!t||!n)return;const v=n.readyState,w=this.config;if(!s.aborted&&v>=2&&(s.loading.first===0&&(s.loading.first=Math.max(self.performance.now(),s.loading.start),w.timeout!==w.loadPolicy.maxLoadTimeMs&&(self.clearTimeout(this.requestTimeout),w.timeout=w.loadPolicy.maxLoadTimeMs,this.requestTimeout=self.setTimeout(this.loadtimeout.bind(this),w.loadPolicy.maxLoadTimeMs-(s.loading.first-s.loading.start)))),v===4)){self.clearTimeout(this.requestTimeout),n.onreadystatechange=null,n.onprogress=null;const $=n.status,ue=n.responseType==="text"?n.responseText:null;if($>=200&&$<300){const Re=ue!=null?ue:n.response;if(Re!=null){var P,j;s.loading.end=Math.max(self.performance.now(),s.loading.first);const it=n.responseType==="arraybuffer"?Re.byteLength:Re.length;s.loaded=s.total=it,s.bwEstimate=s.total*8e3/(s.loading.end-s.loading.first);const nt=(P=this.callbacks)==null?void 0:P.onProgress;nt&&nt(s,t,Re,n);const qt={url:n.responseURL,data:Re,code:$};(j=this.callbacks)==null||j.onSuccess(qt,s,t,n);return}}const de=w.loadPolicy.errorRetry,xe=s.retry,ke={url:t.url,data:void 0,code:$};if(lt(de,xe,!1,ke))this.retry(de);else{var X;H.error(`${$} while loading ${t.url}`),(X=this.callbacks)==null||X.onError({code:$,text:n.statusText},t,n,s)}}}loadtimeout(){if(!this.config)return;const t=this.config.loadPolicy.timeoutRetry,n=this.stats.retry;if(lt(t,n,!0))this.retry(t);else{var s;H.warn(`timeout while loading ${(s=this.context)==null?void 0:s.url}`);const v=this.callbacks;v&&(this.abortInternal(),v.onTimeout(this.stats,this.context,this.loader))}}retry(t){const{context:n,stats:s}=this;this.retryDelay=qn(t,s.retry),s.retry++,H.warn(`${status?"HTTP Status "+status:"Timeout"} while loading ${n==null?void 0:n.url}, retrying ${s.retry}/${t.maxNumRetry} in ${this.retryDelay}ms`),this.abortInternal(),this.loader=null,self.clearTimeout(this.retryTimeout),this.retryTimeout=self.setTimeout(this.loadInternal.bind(this),this.retryDelay)}loadprogress(t){const n=this.stats;n.loaded=t.loaded,t.lengthComputable&&(n.total=t.total)}getCacheAge(){let t=null;if(this.loader&&Ua.test(this.loader.getAllResponseHeaders())){const n=this.loader.getResponseHeader("age");t=n?parseFloat(n):null}return t}getResponseHeader(t){return this.loader&&new RegExp(`^${t}:\\s*[\\d.]+\\s*$`,"im").test(this.loader.getAllResponseHeaders())?this.loader.getResponseHeader(t):null}}const ca={maxTimeToFirstByteMs:8e3,maxLoadTimeMs:2e4,timeoutRetry:null,errorRetry:null},za=b(b({autoStartLoad:!0,startPosition:-1,defaultAudioCodec:void 0,debug:!1,capLevelOnFPSDrop:!1,capLevelToPlayerSize:!1,ignoreDevicePixelRatio:!1,maxDevicePixelRatio:Number.POSITIVE_INFINITY,preferManagedMediaSource:!0,initialLiveManifestSize:1,maxBufferLength:30,backBufferLength:1/0,frontBufferFlushThreshold:1/0,startOnSegmentBoundary:!1,maxBufferSize:60*1e3*1e3,maxFragLookUpTolerance:.25,maxBufferHole:.1,detectStallWithCurrentTimeMs:1250,highBufferWatchdogPeriod:2,nudgeOffset:.1,nudgeMaxRetry:3,nudgeOnVideoHole:!0,liveSyncMode:"edge",liveSyncDurationCount:3,liveSyncOnStallIncrease:1,liveMaxLatencyDurationCount:1/0,liveSyncDuration:void 0,liveMaxLatencyDuration:void 0,maxLiveSyncPlaybackRate:1,liveDurationInfinity:!1,liveBackBufferLength:null,maxMaxBufferLength:600,enableWorker:!0,workerPath:null,enableSoftwareAES:!0,startLevel:void 0,startFragPrefetch:!1,fpsDroppedMonitoringPeriod:5e3,fpsDroppedMonitoringThreshold:.2,appendErrorMaxRetry:3,ignorePlaylistParsingErrors:!1,loader:Vn,fLoader:void 0,pLoader:void 0,xhrSetup:void 0,licenseXhrSetup:void 0,licenseResponseCallback:void 0,abrController:me,bufferController:vo,capLevelController:Al,errorController:$r,fpsController:ds,stretchShortVideoTrack:!1,maxAudioFramesDrift:1,forceKeyFrameOnDiscontinuity:!0,abrEwmaFastLive:3,abrEwmaSlowLive:9,abrEwmaFastVoD:3,abrEwmaSlowVoD:9,abrEwmaDefaultEstimate:5e5,abrEwmaDefaultEstimateMax:5e6,abrBandWidthFactor:.95,abrBandWidthUpFactor:.7,abrMaxWithRealBitrate:!1,maxStarvationDelay:4,maxLoadingDelay:4,minAutoBitrate:0,emeEnabled:!1,widevineLicenseUrl:void 0,drmSystems:{},drmSystemOptions:{},requestMediaKeySystemAccessFunc:wu,requireKeySystemAccessOnStart:!1,testBandwidth:!0,progressive:!1,lowLatencyMode:!0,cmcd:void 0,enableDateRangeMetadataCues:!0,enableEmsgMetadataCues:!0,enableEmsgKLVMetadata:!1,enableID3MetadataCues:!0,enableInterstitialPlayback:!0,interstitialAppendInPlace:!0,interstitialLiveLookAhead:10,useMediaCapabilities:!0,preserveManualLevelOnError:!1,certLoadPolicy:{default:ca},keyLoadPolicy:{default:{maxTimeToFirstByteMs:8e3,maxLoadTimeMs:2e4,timeoutRetry:{maxNumRetry:1,retryDelayMs:1e3,maxRetryDelayMs:2e4,backoff:"linear"},errorRetry:{maxNumRetry:8,retryDelayMs:1e3,maxRetryDelayMs:2e4,backoff:"linear"}}},manifestLoadPolicy:{default:{maxTimeToFirstByteMs:1/0,maxLoadTimeMs:2e4,timeoutRetry:{maxNumRetry:2,retryDelayMs:0,maxRetryDelayMs:0},errorRetry:{maxNumRetry:1,retryDelayMs:1e3,maxRetryDelayMs:8e3}}},playlistLoadPolicy:{default:{maxTimeToFirstByteMs:1e4,maxLoadTimeMs:2e4,timeoutRetry:{maxNumRetry:2,retryDelayMs:0,maxRetryDelayMs:0},errorRetry:{maxNumRetry:2,retryDelayMs:1e3,maxRetryDelayMs:8e3}}},fragLoadPolicy:{default:{maxTimeToFirstByteMs:1e4,maxLoadTimeMs:12e4,timeoutRetry:{maxNumRetry:4,retryDelayMs:0,maxRetryDelayMs:0},errorRetry:{maxNumRetry:6,retryDelayMs:1e3,maxRetryDelayMs:8e3}}},steeringManifestLoadPolicy:{default:{maxTimeToFirstByteMs:1e4,maxLoadTimeMs:2e4,timeoutRetry:{maxNumRetry:2,retryDelayMs:0,maxRetryDelayMs:0},errorRetry:{maxNumRetry:1,retryDelayMs:1e3,maxRetryDelayMs:8e3}}},interstitialAssetListLoadPolicy:{default:{maxTimeToFirstByteMs:1e4,maxLoadTimeMs:3e4,timeoutRetry:{maxNumRetry:0,retryDelayMs:0,maxRetryDelayMs:0},errorRetry:{maxNumRetry:0,retryDelayMs:1e3,maxRetryDelayMs:8e3}}},manifestLoadingTimeOut:1e4,manifestLoadingMaxRetry:1,manifestLoadingRetryDelay:1e3,manifestLoadingMaxRetryTimeout:64e3,levelLoadingTimeOut:1e4,levelLoadingMaxRetry:4,levelLoadingRetryDelay:1e3,levelLoadingMaxRetryTimeout:64e3,fragLoadingTimeOut:2e4,fragLoadingMaxRetry:6,fragLoadingRetryDelay:1e3,fragLoadingMaxRetryTimeout:64e3},ka()),{},{subtitleStreamController:Pl,subtitleTrackController:Bc,timelineController:ad,audioStreamController:$c,audioTrackController:Dl,emeController:Ie,cmcdController:xf,contentSteeringController:O,interstitialsController:Ef});function ka(){return{cueHandler:z,enableWebVTT:!0,enableIMSC1:!0,enableCEA708Captions:!0,captionsTextTrack1Label:"English",captionsTextTrack1LanguageCode:"en",captionsTextTrack2Label:"Spanish",captionsTextTrack2LanguageCode:"es",captionsTextTrack3Label:"Unknown CC",captionsTextTrack3LanguageCode:"",captionsTextTrack4Label:"Unknown CC",captionsTextTrack4LanguageCode:"",renderTextTracksNatively:!0}}function an(D,t,n){if((t.liveSyncDurationCount||t.liveMaxLatencyDurationCount)&&(t.liveSyncDuration||t.liveMaxLatencyDuration))throw new Error("Illegal hls.js config: don't mix up liveSyncDurationCount/liveMaxLatencyDurationCount and liveSyncDuration/liveMaxLatencyDuration");if(t.liveMaxLatencyDurationCount!==void 0&&(t.liveSyncDurationCount===void 0||t.liveMaxLatencyDurationCount<=t.liveSyncDurationCount))throw new Error('Illegal hls.js config: "liveMaxLatencyDurationCount" must be greater than "liveSyncDurationCount"');if(t.liveMaxLatencyDuration!==void 0&&(t.liveSyncDuration===void 0||t.liveMaxLatencyDuration<=t.liveSyncDuration))throw new Error('Illegal hls.js config: "liveMaxLatencyDuration" must be greater than "liveSyncDuration"');const s=Ur(D),v=["manifest","level","frag"],w=["TimeOut","MaxRetry","RetryDelay","MaxRetryTimeout"];return v.forEach(P=>{const j=`${P==="level"?"playlist":P}LoadPolicy`,X=t[j]===void 0,$=[];w.forEach(ue=>{const de=`${P}Loading${ue}`,xe=t[de];if(xe!==void 0&&X){$.push(de);const ke=s[j].default;switch(t[j]={default:ke},ue){case"TimeOut":ke.maxLoadTimeMs=xe,ke.maxTimeToFirstByteMs=xe;break;case"MaxRetry":ke.errorRetry.maxNumRetry=xe,ke.timeoutRetry.maxNumRetry=xe;break;case"RetryDelay":ke.errorRetry.retryDelayMs=xe,ke.timeoutRetry.retryDelayMs=xe;break;case"MaxRetryTimeout":ke.errorRetry.maxRetryDelayMs=xe,ke.timeoutRetry.maxRetryDelayMs=xe;break}}}),$.length&&n.warn(`hls.js config: "${$.join('", "')}" setting(s) are deprecated, use "${j}": ${zi(t[j])}`)}),b(b({},s),t)}function Ur(D){return D&&typeof D=="object"?Array.isArray(D)?D.map(Ur):Object.keys(D).reduce((t,n)=>(t[n]=Ur(D[n]),t),{}):D}function nn(D,t){const n=D.loader;n!==tt&&n!==Vn?(t.log("[config]: Custom loader detected, cannot enable progressive streaming"),D.progressive=!1):ge()&&(D.loader=tt,D.progressive=!0,D.enableSoftwareAES=!0,t.log("[config]: Progressive streaming enabled, using FetchLoader"))}const Dn=2,zn=.1,Ya=.05,Wi=100;class Xa extends ro{constructor(t,n){super("gap-controller",t.logger),this.hls=void 0,this.fragmentTracker=void 0,this.media=null,this.mediaSource=void 0,this.nudgeRetry=0,this.stallReported=!1,this.stalled=null,this.moved=!1,this.seeking=!1,this.buffered={},this.lastCurrentTime=0,this.ended=0,this.waiting=0,this.onMediaPlaying=()=>{this.ended=0,this.waiting=0},this.onMediaWaiting=()=>{var s;(s=this.media)!=null&&s.seeking||(this.waiting=self.performance.now(),this.tick())},this.onMediaEnded=()=>{if(this.hls){var s;this.ended=((s=this.media)==null?void 0:s.currentTime)||1,this.hls.trigger(u.MEDIA_ENDED,{stalled:!1})}},this.hls=t,this.fragmentTracker=n,this.registerListeners()}registerListeners(){const{hls:t}=this;t&&(t.on(u.MEDIA_ATTACHED,this.onMediaAttached,this),t.on(u.MEDIA_DETACHING,this.onMediaDetaching,this),t.on(u.BUFFER_APPENDED,this.onBufferAppended,this))}unregisterListeners(){const{hls:t}=this;t&&(t.off(u.MEDIA_ATTACHED,this.onMediaAttached,this),t.off(u.MEDIA_DETACHING,this.onMediaDetaching,this),t.off(u.BUFFER_APPENDED,this.onBufferAppended,this))}destroy(){super.destroy(),this.unregisterListeners(),this.media=this.hls=this.fragmentTracker=null,this.mediaSource=void 0}onMediaAttached(t,n){this.setInterval(Wi),this.mediaSource=n.mediaSource;const s=this.media=n.media;ja(s,"playing",this.onMediaPlaying),ja(s,"waiting",this.onMediaWaiting),ja(s,"ended",this.onMediaEnded)}onMediaDetaching(t,n){this.clearInterval();const{media:s}=this;s&&(os(s,"playing",this.onMediaPlaying),os(s,"waiting",this.onMediaWaiting),os(s,"ended",this.onMediaEnded),this.media=null),this.mediaSource=void 0}onBufferAppended(t,n){this.buffered=n.timeRanges}get hasBuffered(){return Object.keys(this.buffered).length>0}tick(){var t;if(!((t=this.media)!=null&&t.readyState)||!this.hasBuffered)return;const n=this.media.currentTime;this.poll(n,this.lastCurrentTime),this.lastCurrentTime=n}poll(t,n){var s,v;const w=(s=this.hls)==null?void 0:s.config;if(!w)return;const P=this.media;if(!P)return;const{seeking:j}=P,X=this.seeking&&!j,$=!this.seeking&&j,ue=P.paused&&!j||P.ended||P.playbackRate===0;if(this.seeking=j,t!==n){n&&(this.ended=0),this.moved=!0,j||(this.nudgeRetry=0,w.nudgeOnVideoHole&&!ue&&t>n&&this.nudgeOnVideoHole(t,n)),this.waiting===0&&this.stallResolved(t);return}if($||X){X&&this.stallResolved(t);return}if(ue){this.nudgeRetry=0,this.stallResolved(t),!this.ended&&P.ended&&this.hls&&(this.ended=t||1,this.hls.trigger(u.MEDIA_ENDED,{stalled:!1}));return}if(!mi.getBuffered(P).length){this.nudgeRetry=0;return}const de=mi.bufferInfo(P,t,0),xe=de.nextStart||0,ke=this.fragmentTracker;if(j&&ke&&this.hls){const vn=hs(this.hls.inFlightFragments,t),Zr=de.len>Dn,cn=!xe||vn||xe-t>Dn&&!ke.getPartialFragment(t);if(Zr||cn)return;this.moved=!1}const Re=(v=this.hls)==null?void 0:v.latestLevelDetails;if(!this.moved&&this.stalled!==null&&ke){if(!(de.len>0)&&!xe)return;const Zr=Math.max(xe,de.start||0)-t,un=!!(Re!=null&&Re.live)?Re.targetduration*2:Dn,qr=Ul(t,ke);if(Zr>0&&(Zr<=un||qr)){P.paused||this._trySkipBufferHole(qr);return}}const it=w.detectStallWithCurrentTimeMs,nt=self.performance.now(),qt=this.waiting;let ir=this.stalled;if(ir===null)if(qt>0&&nt-qt=it||qt)&&this.hls){var Cr;if(((Cr=this.mediaSource)==null?void 0:Cr.readyState)==="ended"&&!(Re!=null&&Re.live)&&Math.abs(t-((Re==null?void 0:Re.edge)||0))<1){if(this.ended)return;this.ended=t||1,this.hls.trigger(u.MEDIA_ENDED,{stalled:!0});return}if(this._reportStall(de),!this.media||!this.hls)return}const zr=mi.bufferInfo(P,t,w.maxBufferHole);this._tryFixBufferStall(zr,lr,t)}stallResolved(t){const n=this.stalled;if(n&&this.hls&&(this.stalled=null,this.stallReported)){const s=self.performance.now()-n;this.log(`playback not stuck anymore @${t}, after ${Math.round(s)}ms`),this.stallReported=!1,this.waiting=0,this.hls.trigger(u.STALL_RESOLVED,{})}}nudgeOnVideoHole(t,n){var s;const v=this.buffered.video;if(this.hls&&this.media&&this.fragmentTracker&&(s=this.buffered.audio)!=null&&s.length&&v&&v.length>1&&t>v.end(0)){const w=mi.bufferedInfo(mi.timeRangesToArray(this.buffered.audio),t,0);if(w.len>1&&n>=w.start){const P=mi.timeRangesToArray(v),j=mi.bufferedInfo(P,n,0).bufferedIndex;if(j>-1&&jj)&&ue-$<1&&t-$<2){const de=new Error(`nudging playhead to flush pipeline after video hole. currentTime: ${t} hole: ${$} -> ${ue} buffered index: ${X}`);this.warn(de.message),this.media.currentTime+=1e-6;let xe=Ul(t,this.fragmentTracker);xe&&"fragment"in xe?xe=xe.fragment:xe||(xe=void 0);const ke=mi.bufferInfo(this.media,t,0);this.hls.trigger(u.ERROR,{type:c.MEDIA_ERROR,details:f.BUFFER_SEEK_OVER_HOLE,fatal:!1,error:de,reason:de.message,frag:xe,buffer:ke.len,bufferInfo:ke})}}}}}_tryFixBufferStall(t,n,s){var v,w;const{fragmentTracker:P,media:j}=this,X=(v=this.hls)==null?void 0:v.config;if(!j||!P||!X)return;const $=(w=this.hls)==null?void 0:w.latestLevelDetails,ue=Ul(s,P);if((ue||$!=null&&$.live&&s<$.fragmentStart)&&(this._trySkipBufferHole(ue)||!this.media))return;const de=t.buffered,xe=this.adjacentTraversal(t,s);(de&&de.length>1&&t.len>X.maxBufferHole||t.nextStart&&(t.nextStart-sX.highBufferWatchdogPeriod*1e3||this.waiting)&&(this.warn("Trying to nudge playhead over buffer-hole"),this._tryNudgeBuffer(t))}adjacentTraversal(t,n){const s=this.fragmentTracker,v=t.nextStart;if(s&&v){const w=s.getFragAtPos(n,o.MAIN),P=s.getFragAtPos(v,o.MAIN);if(w&&P)return P.sn-w.sn<2}return!1}_reportStall(t){const{hls:n,media:s,stallReported:v,stalled:w}=this;if(!v&&w!==null&&s&&n){this.stallReported=!0;const P=new Error(`Playback stalling at @${s.currentTime} due to low buffer (${zi(t)})`);this.warn(P.message),n.trigger(u.ERROR,{type:c.MEDIA_ERROR,details:f.BUFFER_STALLED_ERROR,fatal:!1,error:P,buffer:t.len,bufferInfo:t,stalled:{start:w}})}}_trySkipBufferHole(t){var n;const{fragmentTracker:s,media:v}=this,w=(n=this.hls)==null?void 0:n.config;if(!v||!s||!w)return 0;const P=v.currentTime,j=mi.bufferInfo(v,P,0),X=P0&&j.len<1&&v.readyState<3,xe=X-P;if(xe>0&&(ue||de)){if(xe>w.maxBufferHole){let Re=!1;if(P===0){const it=s.getAppendedFrag(0,o.MAIN);it&&X{const D=od();try{D&&new D(0,Number.POSITIVE_INFINITY,"")}catch(t){return Number.MAX_VALUE}return Number.POSITIVE_INFINITY})();class Sd{constructor(t){this.hls=void 0,this.id3Track=null,this.media=null,this.dateRangeCuesAppended={},this.removeCues=!0,this.assetCue=void 0,this.onEventCueEnter=()=>{this.hls&&this.hls.trigger(u.EVENT_CUE_ENTER,{})},this.hls=t,this._registerListeners()}destroy(){this._unregisterListeners(),this.id3Track=null,this.media=null,this.dateRangeCuesAppended={},this.hls=this.onEventCueEnter=null}_registerListeners(){const{hls:t}=this;t&&(t.on(u.MEDIA_ATTACHING,this.onMediaAttaching,this),t.on(u.MEDIA_ATTACHED,this.onMediaAttached,this),t.on(u.MEDIA_DETACHING,this.onMediaDetaching,this),t.on(u.MANIFEST_LOADING,this.onManifestLoading,this),t.on(u.FRAG_PARSING_METADATA,this.onFragParsingMetadata,this),t.on(u.BUFFER_FLUSHING,this.onBufferFlushing,this),t.on(u.LEVEL_UPDATED,this.onLevelUpdated,this),t.on(u.LEVEL_PTS_UPDATED,this.onLevelPtsUpdated,this))}_unregisterListeners(){const{hls:t}=this;t&&(t.off(u.MEDIA_ATTACHING,this.onMediaAttaching,this),t.off(u.MEDIA_ATTACHED,this.onMediaAttached,this),t.off(u.MEDIA_DETACHING,this.onMediaDetaching,this),t.off(u.MANIFEST_LOADING,this.onManifestLoading,this),t.off(u.FRAG_PARSING_METADATA,this.onFragParsingMetadata,this),t.off(u.BUFFER_FLUSHING,this.onBufferFlushing,this),t.off(u.LEVEL_UPDATED,this.onLevelUpdated,this),t.off(u.LEVEL_PTS_UPDATED,this.onLevelPtsUpdated,this))}onMediaAttaching(t,n){var s;this.media=n.media,((s=n.overrides)==null?void 0:s.cueRemoval)===!1&&(this.removeCues=!1)}onMediaAttached(){var t;const n=(t=this.hls)==null?void 0:t.latestLevelDetails;n&&this.updateDateRangeCues(n)}onMediaDetaching(t,n){this.media=null,!n.transferMedia&&(this.id3Track&&(this.removeCues&&is(this.id3Track,this.onEventCueEnter),this.id3Track=null),this.dateRangeCuesAppended={})}onManifestLoading(){this.dateRangeCuesAppended={}}createTrack(t){const n=this.getID3Track(t.textTracks);return n.mode="hidden",n}getID3Track(t){if(this.media){for(let n=0;ned&&(de=ed),de-ue<=0&&(de=ue+sd);for(let ke=0;ke<$.length;ke++){const Re=$[ke];if(!Sr(Re)){this.updateId3CueEnds(ue,X);const it=ud(P,ue,de,Re,X);it&&this.id3Track.addCue(it)}}}}updateId3CueEnds(t,n){var s;const v=(s=this.id3Track)==null?void 0:s.cues;if(v)for(let w=v.length;w--;){const P=v[w];P.type===n&&P.startTimeue.type===yn.audioId3&&X:v==="video"?$=ue=>ue.type===yn.emsg&&j:$=ue=>ue.type===yn.audioId3&&X||ue.type===yn.emsg&&j,Po(w,n,s,$)}}onLevelUpdated(t,{details:n}){this.updateDateRangeCues(n,!0)}onLevelPtsUpdated(t,n){Math.abs(n.drift)>.01&&this.updateDateRangeCues(n.details)}updateDateRangeCues(t,n){if(!this.hls||!this.media)return;const{assetPlayerId:s,timelineOffset:v,enableDateRangeMetadataCues:w,interstitialsController:P}=this.hls.config;if(!w)return;const j=od();if(s&&v&&!P){const{fragmentStart:it,fragmentEnd:nt}=t;let qt=this.assetCue;qt?(qt.startTime=it,qt.endTime=nt):j&&(qt=this.assetCue=ud(j,it,nt,{assetPlayerId:this.hls.config.assetPlayerId},"hlsjs.interstitial.asset"),qt&&(qt.id=s,this.id3Track||(this.id3Track=this.createTrack(this.media)),this.id3Track.addCue(qt),qt.addEventListener("enter",this.onEventCueEnter)))}if(!t.hasProgramDateTime)return;const{id3Track:X}=this,{dateRanges:$}=t,ue=Object.keys($);let de=this.dateRangeCuesAppended;if(X&&n){var xe;if((xe=X.cues)!=null&&xe.length){const it=Object.keys(de).filter(nt=>!ue.includes(nt));for(let nt=it.length;nt--;){var ke;const qt=it[nt],ir=(ke=de[qt])==null?void 0:ke.cues;delete de[qt],ir&&Object.keys(ir).forEach(lr=>{const Cr=ir[lr];if(Cr){Cr.removeEventListener("enter",this.onEventCueEnter);try{X.removeCue(Cr)}catch(zr){}}})}}else de=this.dateRangeCuesAppended={}}const Re=t.fragments[t.fragments.length-1];if(!(ue.length===0||!r(Re==null?void 0:Re.programDateTime))){this.id3Track||(this.id3Track=this.createTrack(this.media));for(let it=0;it{if(Si!==qt.id){const Vi=$[Si];if(Vi.class===qt.class&&Vi.startDate>qt.startDate&&(!kn||qt.startDate.01&&(Si.startTime=ir,Si.endTime=vn);else if(j){let Vi=qt.attr[kn];Ho(kn)&&(Vi=V(Vi));const Yi=ud(j,ir,vn,{key:kn,data:Vi},yn.dateRange);Yi&&(Yi.id=nt,this.id3Track.addCue(Yi),Cr[kn]=Yi,P&&(kn==="X-ASSET-LIST"||kn==="X-ASSET-URL")&&Yi.addEventListener("enter",this.onEventCueEnter))}}de[nt]={cues:Cr,dateRange:qt,durationKnown:zr}}}}}class Ad{constructor(t){this.hls=void 0,this.config=void 0,this.media=null,this.currentTime=0,this.stallCount=0,this._latency=null,this._targetLatencyUpdated=!1,this.onTimeupdate=()=>{const{media:n}=this,s=this.levelDetails;if(!n||!s)return;this.currentTime=n.currentTime;const v=this.computeLatency();if(v===null)return;this._latency=v;const{lowLatencyMode:w,maxLiveSyncPlaybackRate:P}=this.config;if(!w||P===1||!s.live)return;const j=this.targetLatency;if(j===null)return;const X=v-j,$=Math.min(this.maxLatency,j+s.targetduration);if(X<$&&X>.05&&this.forwardBufferLength>1){const de=Math.min(2,Math.max(1,P)),xe=Math.round(2/(1+Math.exp(-.75*X-this.edgeStalled))*20)/20,ke=Math.min(de,Math.max(1,xe));this.changeMediaPlaybackRate(n,ke)}else n.playbackRate!==1&&n.playbackRate!==0&&this.changeMediaPlaybackRate(n,1)},this.hls=t,this.config=t.config,this.registerListeners()}get levelDetails(){var t;return((t=this.hls)==null?void 0:t.latestLevelDetails)||null}get latency(){return this._latency||0}get maxLatency(){const{config:t}=this;if(t.liveMaxLatencyDuration!==void 0)return t.liveMaxLatencyDuration;const n=this.levelDetails;return n?t.liveMaxLatencyDurationCount*n.targetduration:0}get targetLatency(){const t=this.levelDetails;if(t===null||this.hls===null)return null;const{holdBack:n,partHoldBack:s,targetduration:v}=t,{liveSyncDuration:w,liveSyncDurationCount:P,lowLatencyMode:j}=this.config,X=this.hls.userConfig;let $=j&&s||n;(this._targetLatencyUpdated||X.liveSyncDuration||X.liveSyncDurationCount||$===0)&&($=w!==void 0?w:P*v);const ue=v;return $+Math.min(this.stallCount*this.config.liveSyncOnStallIncrease,ue)}set targetLatency(t){this.stallCount=0,this.config.liveSyncDuration=t,this._targetLatencyUpdated=!0}get liveSyncPosition(){const t=this.estimateLiveEdge(),n=this.targetLatency;if(t===null||n===null)return null;const s=this.levelDetails;if(s===null)return null;const v=s.edge,w=t-n-this.edgeStalled,P=v-s.totalduration,j=v-(this.config.lowLatencyMode&&s.partTarget||s.targetduration);return Math.min(Math.max(P,w),j)}get drift(){const t=this.levelDetails;return t===null?1:t.drift}get edgeStalled(){const t=this.levelDetails;if(t===null)return 0;const n=(this.config.lowLatencyMode&&t.partTarget||t.targetduration)*3;return Math.max(t.age-n,0)}get forwardBufferLength(){const{media:t}=this,n=this.levelDetails;if(!t||!n)return 0;const s=t.buffered.length;return(s?t.buffered.end(s-1):n.edge)-this.currentTime}destroy(){this.unregisterListeners(),this.onMediaDetaching(),this.hls=null}registerListeners(){const{hls:t}=this;t&&(t.on(u.MEDIA_ATTACHED,this.onMediaAttached,this),t.on(u.MEDIA_DETACHING,this.onMediaDetaching,this),t.on(u.MANIFEST_LOADING,this.onManifestLoading,this),t.on(u.LEVEL_UPDATED,this.onLevelUpdated,this),t.on(u.ERROR,this.onError,this))}unregisterListeners(){const{hls:t}=this;t&&(t.off(u.MEDIA_ATTACHED,this.onMediaAttached,this),t.off(u.MEDIA_DETACHING,this.onMediaDetaching,this),t.off(u.MANIFEST_LOADING,this.onManifestLoading,this),t.off(u.LEVEL_UPDATED,this.onLevelUpdated,this),t.off(u.ERROR,this.onError,this))}onMediaAttached(t,n){this.media=n.media,this.media.addEventListener("timeupdate",this.onTimeupdate)}onMediaDetaching(){this.media&&(this.media.removeEventListener("timeupdate",this.onTimeupdate),this.media=null)}onManifestLoading(){this._latency=null,this.stallCount=0}onLevelUpdated(t,{details:n}){n.advanced&&this.onTimeupdate(),!n.live&&this.media&&this.media.removeEventListener("timeupdate",this.onTimeupdate)}onError(t,n){var s;n.details===f.BUFFER_STALLED_ERROR&&(this.stallCount++,this.hls&&(s=this.levelDetails)!=null&&s.live&&this.hls.logger.warn("[latency-controller]: Stall detected, adjusting target latency"))}changeMediaPlaybackRate(t,n){var s,v;t.playbackRate!==n&&((s=this.hls)==null||s.logger.debug(`[latency-controller]: latency=${this.latency.toFixed(3)}, targetLatency=${(v=this.targetLatency)==null?void 0:v.toFixed(3)}, forwardBufferLength=${this.forwardBufferLength.toFixed(3)}: adjusting playback rate from ${t.playbackRate} to ${n}`),t.playbackRate=n)}estimateLiveEdge(){const t=this.levelDetails;return t===null?null:t.edge+t.age}computeLatency(){const t=this.estimateLiveEdge();return t===null?null:t-this.currentTime}}class Cd extends Ao{constructor(t,n){super(t,"level-controller"),this._levels=[],this._firstLevel=-1,this._maxAutoLevel=-1,this._startLevel=void 0,this.currentLevel=null,this.currentLevelIndex=-1,this.manualLevelIndex=-1,this.steering=void 0,this.onParsedComplete=void 0,this.steering=n,this._registerListeners()}_registerListeners(){const{hls:t}=this;t.on(u.MANIFEST_LOADING,this.onManifestLoading,this),t.on(u.MANIFEST_LOADED,this.onManifestLoaded,this),t.on(u.LEVEL_LOADED,this.onLevelLoaded,this),t.on(u.LEVELS_UPDATED,this.onLevelsUpdated,this),t.on(u.FRAG_BUFFERED,this.onFragBuffered,this),t.on(u.ERROR,this.onError,this)}_unregisterListeners(){const{hls:t}=this;t.off(u.MANIFEST_LOADING,this.onManifestLoading,this),t.off(u.MANIFEST_LOADED,this.onManifestLoaded,this),t.off(u.LEVEL_LOADED,this.onLevelLoaded,this),t.off(u.LEVELS_UPDATED,this.onLevelsUpdated,this),t.off(u.FRAG_BUFFERED,this.onFragBuffered,this),t.off(u.ERROR,this.onError,this)}destroy(){this._unregisterListeners(),this.steering=null,this.resetLevels(),super.destroy()}stopLoad(){this._levels.forEach(n=>{n.loadError=0,n.fragmentError=0}),super.stopLoad()}resetLevels(){this._startLevel=void 0,this.manualLevelIndex=-1,this.currentLevelIndex=-1,this.currentLevel=null,this._levels=[],this._maxAutoLevel=-1}onManifestLoading(t,n){this.resetLevels()}onManifestLoaded(t,n){const s=this.hls.config.preferManagedMediaSource,v=[],w={},P={};let j=!1,X=!1,$=!1;n.levels.forEach(ue=>{const de=ue.attrs;let{audioCodec:xe,videoCodec:ke}=ue;xe&&(ue.audioCodec=xe=pt(xe,s)||void 0),ke&&(ke=ue.videoCodec=Jt(ke));const{width:Re,height:it,unknownCodecs:nt}=ue,qt=(nt==null?void 0:nt.length)||0;if(j||(j=!!(Re&&it)),X||(X=!!ke),$||($=!!xe),qt||xe&&!this.isAudioSupported(xe)||ke&&!this.isVideoSupported(ke)){this.log(`Some or all CODECS not supported "${de.CODECS}"`);return}const{CODECS:ir,"FRAME-RATE":lr,"HDCP-LEVEL":Cr,"PATHWAY-ID":zr,RESOLUTION:vn,"VIDEO-RANGE":Zr}=de,un=`${`${zr||"."}-`}${ue.bitrate}-${vn}-${lr}-${ir}-${Zr}-${Cr}`;if(w[un])if(w[un].uri!==ue.url&&!ue.attrs["PATHWAY-ID"]){const qr=P[un]+=1;ue.attrs["PATHWAY-ID"]=new Array(qr+1).join(".");const kn=this.createLevel(ue);w[un]=kn,v.push(kn)}else w[un].addGroupId("audio",de.AUDIO),w[un].addGroupId("text",de.SUBTITLES);else{const qr=this.createLevel(ue);w[un]=qr,P[un]=1,v.push(qr)}}),this.filterAndSortMediaOptions(v,n,j,X,$)}createLevel(t){const n=new pi(t),s=t.supplemental;if(s!=null&&s.videoCodec&&!this.isVideoSupported(s.videoCodec)){const v=new Error(`SUPPLEMENTAL-CODECS not supported "${s.videoCodec}"`);this.log(v.message),n.supportedResult=Lt(v,[])}return n}isAudioSupported(t){return Ae(t,"audio",this.hls.config.preferManagedMediaSource)}isVideoSupported(t){return Ae(t,"video",this.hls.config.preferManagedMediaSource)}filterAndSortMediaOptions(t,n,s,v,w){var P;let j=[],X=[],$=t;const ue=((P=n.stats)==null?void 0:P.parsing)||{};if((s||v)&&w&&($=$.filter(({videoCodec:ir,videoRange:lr,width:Cr,height:zr})=>(!!ir||!!(Cr&&zr))&&Mi(lr))),$.length===0){Promise.resolve().then(()=>{if(this.hls){let ir="no level with compatible codecs found in manifest",lr=ir;n.levels.length&&(lr=`one or more CODECS in variant not supported: ${zi(n.levels.map(zr=>zr.attrs.CODECS).filter((zr,vn,Zr)=>Zr.indexOf(zr)===vn))}`,this.warn(lr),ir+=` (${lr})`);const Cr=new Error(ir);this.hls.trigger(u.ERROR,{type:c.MEDIA_ERROR,details:f.MANIFEST_INCOMPATIBLE_CODECS_ERROR,fatal:!0,url:n.url,error:Cr,reason:lr})}}),ue.end=performance.now();return}n.audioTracks&&(j=n.audioTracks.filter(ir=>!ir.audioCodec||this.isAudioSupported(ir.audioCodec)),hd(j)),n.subtitles&&(X=n.subtitles,hd(X));const de=$.slice(0);$.sort((ir,lr)=>{if(ir.attrs["HDCP-LEVEL"]!==lr.attrs["HDCP-LEVEL"])return(ir.attrs["HDCP-LEVEL"]||"")>(lr.attrs["HDCP-LEVEL"]||"")?1:-1;if(s&&ir.height!==lr.height)return ir.height-lr.height;if(ir.frameRate!==lr.frameRate)return ir.frameRate-lr.frameRate;if(ir.videoRange!==lr.videoRange)return ni.indexOf(ir.videoRange)-ni.indexOf(lr.videoRange);if(ir.videoCodec!==lr.videoCodec){const Cr=et(ir.videoCodec),zr=et(lr.videoCodec);if(Cr!==zr)return zr-Cr}if(ir.uri===lr.uri&&ir.codecSet!==lr.codecSet){const Cr=bt(ir.codecSet),zr=bt(lr.codecSet);if(Cr!==zr)return zr-Cr}return ir.averageBitrate!==lr.averageBitrate?ir.averageBitrate-lr.averageBitrate:0});let xe=de[0];if(this.steering&&($=this.steering.filterParsedLevels($),$.length!==de.length)){for(let ir=0;irCr&&Cr===this.hls.abrEwmaDefaultEstimate&&(this.hls.bandwidthEstimate=zr)}break}const Re=w&&!v,it=this.hls.config,nt=!!(it.audioStreamController&&it.audioTrackController),qt={levels:$,audioTracks:j,subtitleTracks:X,sessionData:n.sessionData,sessionKeys:n.sessionKeys,firstLevel:this._firstLevel,stats:n.stats,audio:w,video:v,altAudio:nt&&!Re&&j.some(ir=>!!ir.url)};ue.end=performance.now(),this.hls.trigger(u.MANIFEST_PARSED,qt)}get levels(){return this._levels.length===0?null:this._levels}get loadLevelObj(){return this.currentLevel}get level(){return this.currentLevelIndex}set level(t){const n=this._levels;if(n.length===0)return;if(t<0||t>=n.length){const ue=new Error("invalid level idx"),de=t<0;if(this.hls.trigger(u.ERROR,{type:c.OTHER_ERROR,details:f.LEVEL_SWITCH_ERROR,level:t,fatal:de,error:ue,reason:ue.message}),de)return;t=Math.min(t,n.length-1)}const s=this.currentLevelIndex,v=this.currentLevel,w=v?v.attrs["PATHWAY-ID"]:void 0,P=n[t],j=P.attrs["PATHWAY-ID"];if(this.currentLevelIndex=t,this.currentLevel=P,s===t&&v&&w===j)return;this.log(`Switching to level ${t} (${P.height?P.height+"p ":""}${P.videoRange?P.videoRange+" ":""}${P.codecSet?P.codecSet+" ":""}@${P.bitrate})${j?" with Pathway "+j:""} from level ${s}${w?" with Pathway "+w:""}`);const X={level:t,attrs:P.attrs,details:P.details,bitrate:P.bitrate,averageBitrate:P.averageBitrate,maxBitrate:P.maxBitrate,realBitrate:P.realBitrate,width:P.width,height:P.height,codecSet:P.codecSet,audioCodec:P.audioCodec,videoCodec:P.videoCodec,audioGroups:P.audioGroups,subtitleGroups:P.subtitleGroups,loaded:P.loaded,loadError:P.loadError,fragmentError:P.fragmentError,name:P.name,id:P.id,uri:P.uri,url:P.url,urlId:0,audioGroupIds:P.audioGroupIds,textGroupIds:P.textGroupIds};this.hls.trigger(u.LEVEL_SWITCHING,X);const $=P.details;if(!$||$.live){const ue=this.switchParams(P.uri,v==null?void 0:v.details,$);this.loadPlaylist(ue)}}get manualLevel(){return this.manualLevelIndex}set manualLevel(t){this.manualLevelIndex=t,this._startLevel===void 0&&(this._startLevel=t),t!==-1&&(this.level=t)}get firstLevel(){return this._firstLevel}set firstLevel(t){this._firstLevel=t}get startLevel(){if(this._startLevel===void 0){const t=this.hls.config.startLevel;return t!==void 0?t:this.hls.firstAutoLevel}return this._startLevel}set startLevel(t){this._startLevel=t}get pathways(){return this.steering?this.steering.pathways():[]}get pathwayPriority(){return this.steering?this.steering.pathwayPriority:null}set pathwayPriority(t){if(this.steering){const n=this.steering.pathways(),s=t.filter(v=>n.indexOf(v)!==-1);if(t.length<1){this.warn(`pathwayPriority ${t} should contain at least one pathway from list: ${n}`);return}this.steering.pathwayPriority=s}}onError(t,n){n.fatal||!n.context||n.context.type===h.LEVEL&&n.context.level===this.level&&this.checkRetry(n)}onFragBuffered(t,{frag:n}){if(n!==void 0&&n.type===o.MAIN){const s=n.elementaryStreams;if(!Object.keys(s).some(w=>!!s[w]))return;const v=this._levels[n.level];v!=null&&v.loadError&&(this.log(`Resetting level error count of ${v.loadError} on frag buffered`),v.loadError=0)}}onLevelLoaded(t,n){var s;const{level:v,details:w}=n,P=n.levelInfo;if(!P){var j;this.warn(`Invalid level index ${v}`),(j=n.deliveryDirectives)!=null&&j.skip&&(w.deltaUpdateFailed=!0);return}if(P===this.currentLevel||n.withoutMultiVariant){P.fragmentError===0&&(P.loadError=0);let X=P.details;X===n.details&&X.advanced&&(X=void 0),this.playlistLoaded(v,n,X)}else(s=n.deliveryDirectives)!=null&&s.skip&&(w.deltaUpdateFailed=!0)}loadPlaylist(t){super.loadPlaylist(),this.shouldLoadPlaylist(this.currentLevel)&&this.scheduleLoading(this.currentLevel,t)}loadingPlaylist(t,n){super.loadingPlaylist(t,n);const s=this.getUrlWithDirectives(t.uri,n),v=this.currentLevelIndex,w=t.attrs["PATHWAY-ID"],P=t.details,j=P==null?void 0:P.age;this.log(`Loading level index ${v}${(n==null?void 0:n.msn)!==void 0?" at sn "+n.msn+" part "+n.part:""}${w?" Pathway "+w:""}${j&&P.live?" age "+j.toFixed(1)+(P.type?" "+P.type||0:""):""} ${s}`),this.hls.trigger(u.LEVEL_LOADING,{url:s,level:v,levelInfo:t,pathwayId:t.attrs["PATHWAY-ID"],id:0,deliveryDirectives:n||null})}get nextLoadLevel(){return this.manualLevelIndex!==-1?this.manualLevelIndex:this.hls.nextAutoLevel}set nextLoadLevel(t){this.level=t,this.manualLevelIndex===-1&&(this.hls.nextAutoLevel=t)}removeLevel(t){var n;if(this._levels.length===1)return;const s=this._levels.filter((w,P)=>P!==t?!0:(this.steering&&this.steering.removeLevel(w),w===this.currentLevel&&(this.currentLevel=null,this.currentLevelIndex=-1,w.details&&w.details.fragments.forEach(j=>j.level=-1)),!1));Ra(s),this._levels=s,this.currentLevelIndex>-1&&(n=this.currentLevel)!=null&&n.details&&(this.currentLevelIndex=this.currentLevel.details.fragments[0].level),this.manualLevelIndex>-1&&(this.manualLevelIndex=this.currentLevelIndex);const v=s.length-1;this._firstLevel=Math.min(this._firstLevel,v),this._startLevel&&(this._startLevel=Math.min(this._startLevel,v)),this.hls.trigger(u.LEVELS_UPDATED,{levels:s})}onLevelsUpdated(t,{levels:n}){this._levels=n}checkMaxAutoUpdated(){const{autoLevelCapping:t,maxAutoLevel:n,maxHdcpLevel:s}=this.hls;this._maxAutoLevel!==n&&(this._maxAutoLevel=n,this.hls.trigger(u.MAX_AUTO_LEVEL_UPDATED,{autoLevelCapping:t,levels:this.levels,maxAutoLevel:n,minAutoLevel:this.hls.minAutoLevel,maxHdcpLevel:s}))}}function hd(D){const t={};D.forEach(n=>{const s=n.groupId||"";n.id=t[s]=t[s]||0,t[s]++})}function pd(){return self.SourceBuffer||self.WebKitSourceBuffer}function md(){if(!ae())return!1;const t=pd();return!t||t.prototype&&typeof t.prototype.appendBuffer=="function"&&typeof t.prototype.remove=="function"}function Td(){if(!md())return!1;const D=ae();return typeof(D==null?void 0:D.isTypeSupported)=="function"&&(["avc1.42E01E,mp4a.40.2","av01.0.01M.08","vp09.00.50.08"].some(t=>D.isTypeSupported(ze(t,"video")))||["mp4a.40.2","fLaC"].some(t=>D.isTypeSupported(ze(t,"audio"))))}function Pd(){var D;const t=pd();return typeof(t==null||(D=t.prototype)==null?void 0:D.changeType)=="function"}const vd=100;class _d extends Bt{constructor(t,n,s){super(t,n,s,"stream-controller",o.MAIN),this.audioCodecSwap=!1,this.level=-1,this._forceStartLoad=!1,this._hasEnoughToStart=!1,this.altAudio=0,this.audioOnly=!1,this.fragPlaying=null,this.fragLastKbps=0,this.couldBacktrack=!1,this.backtrackFragment=null,this.audioCodecSwitch=!1,this.videoBuffer=null,this.onMediaPlaying=()=>{this.tick()},this.onMediaSeeked=()=>{const v=this.media,w=v?v.currentTime:null;if(w===null||!r(w)||(this.log(`Media seeked to ${w.toFixed(3)}`),!this.getBufferedFrag(w)))return;const P=this.getFwdBufferInfoAtPos(v,w,o.MAIN,0);if(P===null||P.len===0){this.warn(`Main forward buffer length at ${w} on "seeked" event ${P?P.len:"empty"})`);return}this.tick()},this.registerListeners()}registerListeners(){super.registerListeners();const{hls:t}=this;t.on(u.MANIFEST_PARSED,this.onManifestParsed,this),t.on(u.LEVEL_LOADING,this.onLevelLoading,this),t.on(u.LEVEL_LOADED,this.onLevelLoaded,this),t.on(u.FRAG_LOAD_EMERGENCY_ABORTED,this.onFragLoadEmergencyAborted,this),t.on(u.AUDIO_TRACK_SWITCHING,this.onAudioTrackSwitching,this),t.on(u.AUDIO_TRACK_SWITCHED,this.onAudioTrackSwitched,this),t.on(u.BUFFER_CREATED,this.onBufferCreated,this),t.on(u.BUFFER_FLUSHED,this.onBufferFlushed,this),t.on(u.LEVELS_UPDATED,this.onLevelsUpdated,this),t.on(u.FRAG_BUFFERED,this.onFragBuffered,this)}unregisterListeners(){super.unregisterListeners();const{hls:t}=this;t.off(u.MANIFEST_PARSED,this.onManifestParsed,this),t.off(u.LEVEL_LOADED,this.onLevelLoaded,this),t.off(u.FRAG_LOAD_EMERGENCY_ABORTED,this.onFragLoadEmergencyAborted,this),t.off(u.AUDIO_TRACK_SWITCHING,this.onAudioTrackSwitching,this),t.off(u.AUDIO_TRACK_SWITCHED,this.onAudioTrackSwitched,this),t.off(u.BUFFER_CREATED,this.onBufferCreated,this),t.off(u.BUFFER_FLUSHED,this.onBufferFlushed,this),t.off(u.LEVELS_UPDATED,this.onLevelsUpdated,this),t.off(u.FRAG_BUFFERED,this.onFragBuffered,this)}onHandlerDestroying(){this.onMediaPlaying=this.onMediaSeeked=null,this.unregisterListeners(),super.onHandlerDestroying()}startLoad(t,n){if(this.levels){const{lastCurrentTime:s,hls:v}=this;if(this.stopLoad(),this.setInterval(vd),this.level=-1,!this.startFragRequested){let w=v.startLevel;w===-1&&(v.config.testBandwidth&&this.levels.length>1?(w=0,this.bitrateTest=!0):w=v.firstAutoLevel),v.nextLoadLevel=w,this.level=v.loadLevel,this._hasEnoughToStart=!!n}s>0&&t===-1&&!n&&(this.log(`Override startPosition with lastCurrentTime @${s.toFixed(3)}`),t=s),this.state=Pe.IDLE,this.nextLoadPosition=this.lastCurrentTime=t+this.timelineOffset,this.startPosition=n?-1:t,this.tick()}else this._forceStartLoad=!0,this.state=Pe.STOPPED}stopLoad(){this._forceStartLoad=!1,super.stopLoad()}doTick(){switch(this.state){case Pe.WAITING_LEVEL:{const{levels:t,level:n}=this,s=t==null?void 0:t[n],v=s==null?void 0:s.details;if(v&&(!v.live||this.levelLastLoaded===s&&!this.waitForLive(s))){if(this.waitForCdnTuneIn(v))break;this.state=Pe.IDLE;break}else if(this.hls.nextLoadLevel!==this.level){this.state=Pe.IDLE;break}break}case Pe.FRAG_LOADING_WAITING_RETRY:this.checkRetryDate();break}this.state===Pe.IDLE&&this.doTickIdle(),this.onTickEnd()}onTickEnd(){var t;super.onTickEnd(),(t=this.media)!=null&&t.readyState&&this.media.seeking===!1&&(this.lastCurrentTime=this.media.currentTime),this.checkFragmentChanged()}doTickIdle(){const{hls:t,levelLastLoaded:n,levels:s,media:v}=this;if(n===null||!v&&!this.primaryPrefetch&&(this.startFragRequested||!t.config.startFragPrefetch)||this.altAudio&&this.audioOnly)return;const w=this.buffering?t.nextLoadLevel:t.loadLevel;if(!(s!=null&&s[w]))return;const P=s[w],j=this.getMainFwdBufferInfo();if(j===null)return;const X=this.getLevelDetails();if(X&&this._streamEnded(j,X)){const it={};this.altAudio===2&&(it.type="video"),this.hls.trigger(u.BUFFER_EOS,it),this.state=Pe.ENDED;return}if(!this.buffering)return;t.loadLevel!==w&&t.manualLevel===-1&&this.log(`Adapting to level ${w} from level ${this.level}`),this.level=t.nextLoadLevel=w;const $=P.details;if(!$||this.state===Pe.WAITING_LEVEL||this.waitForLive(P)){this.level=w,this.state=Pe.WAITING_LEVEL,this.startFragRequested=!1;return}const ue=j.len,de=this.getMaxBufferLength(P.maxBitrate);if(ue>=de)return;this.backtrackFragment&&this.backtrackFragment.start>j.end&&(this.backtrackFragment=null);const xe=this.backtrackFragment?this.backtrackFragment.start:j.end;let ke=this.getNextFragment(xe,$);if(this.couldBacktrack&&!this.fragPrevious&&ke&&Ee(ke)&&this.fragmentTracker.getState(ke)!==pn.OK){var Re;const nt=((Re=this.backtrackFragment)!=null?Re:ke).sn-$.startSN,qt=$.fragments[nt-1];qt&&ke.cc===qt.cc&&(ke=qt,this.fragmentTracker.removeFragment(qt))}else this.backtrackFragment&&j.len&&(this.backtrackFragment=null);if(ke&&this.isLoopLoading(ke,xe)){if(!ke.gap){const nt=this.audioOnly&&!this.altAudio?ie.AUDIO:ie.VIDEO,qt=(nt===ie.VIDEO?this.videoBuffer:this.mediaBuffer)||this.media;qt&&this.afterBufferFlushed(qt,nt,o.MAIN)}ke=this.getNextFragmentLoopLoading(ke,$,j,o.MAIN,de)}ke&&(ke.initSegment&&!ke.initSegment.data&&!this.bitrateTest&&(ke=ke.initSegment),this.loadFragment(ke,P,xe))}loadFragment(t,n,s){const v=this.fragmentTracker.getState(t);v===pn.NOT_LOADED||v===pn.PARTIAL?Ee(t)?this.bitrateTest?(this.log(`Fragment ${t.sn} of level ${t.level} is being downloaded to test bitrate and will not be buffered`),this._loadBitrateTestFrag(t,n)):super.loadFragment(t,n,s):this._loadInitSegment(t,n):this.clearTrackerIfNeeded(t)}getBufferedFrag(t){return this.fragmentTracker.getBufferedFrag(t,o.MAIN)}followingBufferedFrag(t){return t?this.getBufferedFrag(t.end+.5):null}immediateLevelSwitch(){this.abortCurrentFrag(),this.flushMainBuffer(0,Number.POSITIVE_INFINITY)}nextLevelSwitch(){const{levels:t,media:n}=this;if(n!=null&&n.readyState){let s;const v=this.getAppendedFrag(n.currentTime);v&&v.start>1&&this.flushMainBuffer(0,v.start-1);const w=this.getLevelDetails();if(w!=null&&w.live){const j=this.getMainFwdBufferInfo();if(!j||j.len=P-n.maxFragLookUpTolerance&&w<=j;if(v!==null&&s.duration>v&&(w{this.hls&&this.hls.trigger(u.AUDIO_TRACK_SWITCHED,n)}),s.trigger(u.BUFFER_FLUSHING,{startOffset:0,endOffset:Number.POSITIVE_INFINITY,type:null});return}s.trigger(u.AUDIO_TRACK_SWITCHED,n)}}onAudioTrackSwitched(t,n){const s=ut(n.url,this.hls);if(s){const v=this.videoBuffer;v&&this.mediaBuffer!==v&&(this.log("Switching on alternate audio, use video.buffered to schedule main fragment loading"),this.mediaBuffer=v)}this.altAudio=s?2:0,this.tick()}onBufferCreated(t,n){const s=n.tracks;let v,w,P=!1;for(const j in s){const X=s[j];if(X.id==="main"){if(w=j,v=X,j==="video"){const $=s[j];$&&(this.videoBuffer=$.buffer)}}else P=!0}P&&v?(this.log(`Alternate track found, use ${w}.buffered to schedule main fragment loading`),this.mediaBuffer=v.buffer):this.mediaBuffer=this.media}onFragBuffered(t,n){const{frag:s,part:v}=n,w=s.type===o.MAIN;if(w){if(this.fragContextChanged(s)){this.warn(`Fragment ${s.sn}${v?" p: "+v.index:""} of level ${s.level} finished buffering, but was aborted. state: ${this.state}`),this.state===Pe.PARSED&&(this.state=Pe.IDLE);return}const j=v?v.stats:s.stats;this.fragLastKbps=Math.round(8*j.total/(j.buffering.end-j.loading.first)),Ee(s)&&(this.fragPrevious=s),this.fragBufferedComplete(s,v)}const P=this.media;P&&(!this._hasEnoughToStart&&mi.getBuffered(P).length&&(this._hasEnoughToStart=!0,this.seekToStartPos()),w&&this.tick())}get hasEnoughToStart(){return this._hasEnoughToStart}onError(t,n){var s;if(n.fatal){this.state=Pe.ERROR;return}switch(n.details){case f.FRAG_GAP:case f.FRAG_PARSING_ERROR:case f.FRAG_DECRYPT_ERROR:case f.FRAG_LOAD_ERROR:case f.FRAG_LOAD_TIMEOUT:case f.KEY_LOAD_ERROR:case f.KEY_LOAD_TIMEOUT:this.onFragmentOrKeyLoadError(o.MAIN,n);break;case f.LEVEL_LOAD_ERROR:case f.LEVEL_LOAD_TIMEOUT:case f.LEVEL_PARSING_ERROR:!n.levelRetry&&this.state===Pe.WAITING_LEVEL&&((s=n.context)==null?void 0:s.type)===h.LEVEL&&(this.state=Pe.IDLE);break;case f.BUFFER_ADD_CODEC_ERROR:case f.BUFFER_APPEND_ERROR:if(n.parent!=="main")return;this.reduceLengthAndFlushBuffer(n)&&this.resetLoadingState();break;case f.BUFFER_FULL_ERROR:if(n.parent!=="main")return;this.reduceLengthAndFlushBuffer(n)&&(!this.config.interstitialsController&&this.config.assetPlayerId?this._hasEnoughToStart=!0:this.flushMainBuffer(0,Number.POSITIVE_INFINITY));break;case f.INTERNAL_EXCEPTION:this.recoverWorkerError(n);break}}onFragLoadEmergencyAborted(){this.state=Pe.IDLE,this._hasEnoughToStart||(this.startFragRequested=!1,this.nextLoadPosition=this.lastCurrentTime),this.tickImmediate()}onBufferFlushed(t,{type:n}){if(n!==ie.AUDIO||!this.altAudio){const s=(n===ie.VIDEO?this.videoBuffer:this.mediaBuffer)||this.media;s&&(this.afterBufferFlushed(s,n,o.MAIN),this.tick())}}onLevelsUpdated(t,n){this.level>-1&&this.fragCurrent&&(this.level=this.fragCurrent.level,this.level===-1&&this.resetWhenMissingContext(this.fragCurrent)),this.levels=n.levels}swapAudioCodec(){this.audioCodecSwap=!this.audioCodecSwap}seekToStartPos(){const{media:t}=this;if(!t)return;const n=t.currentTime;let s=this.startPosition;if(s>=0&&n0&&(X<$||this.loadingParts&&X<2*((w==null?void 0:w.partTarget)||0)))&&(this.log(`adjusting start position by ${X} to match buffer start`),s+=X,this.startPosition=s),n{const{hls:v}=this,w=s==null?void 0:s.frag;if(!w||this.fragContextChanged(w))return;n.fragmentError=0,this.state=Pe.IDLE,this.startFragRequested=!1,this.bitrateTest=!1;const P=w.stats;P.parsing.start=P.parsing.end=P.buffering.start=P.buffering.end=self.performance.now(),v.trigger(u.FRAG_LOADED,s),w.bitrateTest=!1}).catch(s=>{this.state===Pe.STOPPED||this.state===Pe.ERROR||(this.warn(s),this.resetFragmentLoading(t))})}_handleTransmuxComplete(t){const n=this.playlistType,{hls:s}=this,{remuxResult:v,chunkMeta:w}=t,P=this.getCurrentContext(w);if(!P){this.resetWhenMissingContext(w);return}const{frag:j,part:X,level:$}=P,{video:ue,text:de,id3:xe,initSegment:ke}=v,{details:Re}=$,it=this.altAudio?void 0:v.audio;if(this.fragContextChanged(j)){this.fragmentTracker.removeFragment(j);return}if(this.state=Pe.PARSING,ke){const nt=ke.tracks;if(nt){const Cr=j.initSegment||j;if(this.unhandledEncryptionError(ke,j))return;this._bufferInitSegment($,nt,Cr,w),s.trigger(u.FRAG_PARSING_INIT_SEGMENT,{frag:Cr,id:n,tracks:nt})}const qt=ke.initPTS,ir=ke.timescale,lr=this.initPTS[j.cc];if(r(qt)&&(!lr||lr.baseTime!==qt||lr.timescale!==ir)){const Cr=ke.trackId;this.initPTS[j.cc]={baseTime:qt,timescale:ir,trackId:Cr},s.trigger(u.INIT_PTS_FOUND,{frag:j,id:n,initPTS:qt,timescale:ir,trackId:Cr})}}if(ue&&Re){it&&ue.type==="audiovideo"&&this.logMuxedErr(j);const nt=Re.fragments[j.sn-1-Re.startSN],qt=j.sn===Re.startSN,ir=!nt||j.cc>nt.cc;if(v.independent!==!1){const{startPTS:lr,endPTS:Cr,startDTS:zr,endDTS:vn}=ue;if(X)X.elementaryStreams[ue.type]={startPTS:lr,endPTS:Cr,startDTS:zr,endDTS:vn};else if(ue.firstKeyFrame&&ue.independent&&w.id===1&&!ir&&(this.couldBacktrack=!0),ue.dropped&&ue.independent){const Zr=this.getMainFwdBufferInfo(),cn=(Zr?Zr.end:this.getLoadPosition())+this.config.maxBufferHole,un=ue.firstKeyFramePTS?ue.firstKeyFramePTS:lr;if(!qt&&cnDn&&(j.gap=!0);j.setElementaryStreamInfo(ue.type,lr,Cr,zr,vn),this.backtrackFragment&&(this.backtrackFragment=j),this.bufferFragmentData(ue,j,X,w,qt||ir)}else if(qt||ir)j.gap=!0;else{this.backtrack(j);return}}if(it){const{startPTS:nt,endPTS:qt,startDTS:ir,endDTS:lr}=it;X&&(X.elementaryStreams[ie.AUDIO]={startPTS:nt,endPTS:qt,startDTS:ir,endDTS:lr}),j.setElementaryStreamInfo(ie.AUDIO,nt,qt,ir,lr),this.bufferFragmentData(it,j,X,w)}if(Re&&xe!=null&&xe.samples.length){const nt={id:n,frag:j,details:Re,samples:xe.samples};s.trigger(u.FRAG_PARSING_METADATA,nt)}if(Re&&de){const nt={id:n,frag:j,details:Re,samples:de.samples};s.trigger(u.FRAG_PARSING_USERDATA,nt)}}logMuxedErr(t){this.warn(`${Ee(t)?"Media":"Init"} segment with muxed audiovideo where only video expected: ${t.url}`)}_bufferInitSegment(t,n,s,v){if(this.state!==Pe.PARSING)return;this.audioOnly=!!n.audio&&!n.video,this.altAudio&&!this.audioOnly&&(delete n.audio,n.audiovideo&&this.logMuxedErr(s));const{audio:w,video:P,audiovideo:j}=n;if(w){const $=t.audioCodec;let ue=on(w.codec,$);ue==="mp4a"&&(ue="mp4a.40.5");const de=navigator.userAgent.toLowerCase();if(this.audioCodecSwitch){ue&&(ue.indexOf("mp4a.40.5")!==-1?ue="mp4a.40.2":ue="mp4a.40.5");const xe=w.metadata;xe&&"channelCount"in xe&&(xe.channelCount||1)!==1&&de.indexOf("firefox")===-1&&(ue="mp4a.40.5")}ue&&ue.indexOf("mp4a.40.5")!==-1&&de.indexOf("android")!==-1&&w.container!=="audio/mpeg"&&(ue="mp4a.40.2",this.log(`Android: force audio codec to ${ue}`)),$&&$!==ue&&this.log(`Swapping manifest audio codec "${$}" for "${ue}"`),w.levelCodec=ue,w.id=o.MAIN,this.log(`Init audio buffer, container:${w.container}, codecs[selected/level/parsed]=[${ue||""}/${$||""}/${w.codec}]`),delete n.audiovideo}if(P){P.levelCodec=t.videoCodec,P.id=o.MAIN;const $=P.codec;if(($==null?void 0:$.length)===4)switch($){case"hvc1":case"hev1":P.codec="hvc1.1.6.L120.90";break;case"av01":P.codec="av01.0.04M.08";break;case"avc1":P.codec="avc1.42e01e";break}this.log(`Init video buffer, container:${P.container}, codecs[level/parsed]=[${t.videoCodec||""}/${$}]${P.codec!==$?" parsed-corrected="+P.codec:""}${P.supplemental?" supplemental="+P.supplemental:""}`),delete n.audiovideo}j&&(this.log(`Init audiovideo buffer, container:${j.container}, codecs[level/parsed]=[${t.codecs}/${j.codec}]`),delete n.video,delete n.audio);const X=Object.keys(n);if(X.length){if(this.hls.trigger(u.BUFFER_CODECS,n),!this.hls)return;X.forEach($=>{const de=n[$].initSegment;de!=null&&de.byteLength&&this.hls.trigger(u.BUFFER_APPENDING,{type:$,data:de,frag:s,part:null,chunkMeta:v,parent:s.type})})}this.tickImmediate()}getMainFwdBufferInfo(){const t=this.mediaBuffer&&this.altAudio===2?this.mediaBuffer:this.media;return this.getFwdBufferInfo(t,o.MAIN)}get maxBufferLength(){const{levels:t,level:n}=this,s=t==null?void 0:t[n];return s?this.getMaxBufferLength(s.maxBitrate):this.config.maxBufferLength}backtrack(t){this.couldBacktrack=!0,this.backtrackFragment=t,this.resetTransmuxer(),this.flushBufferGap(t),this.fragmentTracker.removeFragment(t),this.fragPrevious=null,this.nextLoadPosition=t.start,this.state=Pe.IDLE}checkFragmentChanged(){const t=this.media;let n=null;if(t&&t.readyState>1&&t.seeking===!1){const s=t.currentTime;if(mi.isBuffered(t,s)?n=this.getAppendedFrag(s):mi.isBuffered(t,s+.1)&&(n=this.getAppendedFrag(s+.1)),n){this.backtrackFragment=null;const v=this.fragPlaying,w=n.level;(!v||n.sn!==v.sn||v.level!==w)&&(this.fragPlaying=n,this.hls.trigger(u.FRAG_CHANGED,{frag:n}),(!v||v.level!==w)&&this.hls.trigger(u.LEVEL_SWITCHED,{level:w}))}}}get nextLevel(){const t=this.nextBufferedFrag;return t?t.level:-1}get currentFrag(){var t;if(this.fragPlaying)return this.fragPlaying;const n=((t=this.media)==null?void 0:t.currentTime)||this.lastCurrentTime;return r(n)?this.getAppendedFrag(n):null}get currentProgramDateTime(){var t;const n=((t=this.media)==null?void 0:t.currentTime)||this.lastCurrentTime;if(r(n)){const s=this.getLevelDetails(),v=this.currentFrag||(s?pr(null,s.fragments,n):null);if(v){const w=v.programDateTime;if(w!==null){const P=w+(n-v.start)*1e3;return new Date(P)}}}return null}get currentLevel(){const t=this.currentFrag;return t?t.level:-1}get nextBufferedFrag(){const t=this.currentFrag;return t?this.followingBufferedFrag(t):null}get forceStartLoad(){return this._forceStartLoad}}class Id extends R{constructor(t,n){super("key-loader",n),this.config=void 0,this.keyIdToKeyInfo={},this.emeController=null,this.config=t}abort(t){for(const s in this.keyIdToKeyInfo){const v=this.keyIdToKeyInfo[s].loader;if(v){var n;if(t&&t!==((n=v.context)==null?void 0:n.frag.type))return;v.abort()}}}detach(){for(const t in this.keyIdToKeyInfo){const n=this.keyIdToKeyInfo[t];(n.mediaKeySessionContext||n.decryptdata.isCommonEncryption)&&delete this.keyIdToKeyInfo[t]}}destroy(){this.detach();for(const t in this.keyIdToKeyInfo){const n=this.keyIdToKeyInfo[t].loader;n&&n.destroy()}this.keyIdToKeyInfo={}}createKeyLoadError(t,n=f.KEY_LOAD_ERROR,s,v,w){return new Ji({type:c.NETWORK_ERROR,details:n,fatal:!1,frag:t,response:w,error:s,networkDetails:v})}loadClear(t,n,s){if(this.emeController&&this.config.emeEnabled&&!this.emeController.getSelectedKeySystemFormats().length){if(n.length)for(let v=0,w=n.length;v{if(!this.emeController)return;P.setKeyFormat(j);const X=Qo(j);if(X)return this.emeController.getKeySystemAccess([X])})}if(this.config.requireKeySystemAccessOnStart){const v=Mo(this.config);if(v.length)return this.emeController.getKeySystemAccess(v)}}return null}load(t){return!t.decryptdata&&t.encrypted&&this.emeController&&this.config.emeEnabled?this.emeController.selectKeySystemFormat(t).then(n=>this.loadInternal(t,n)):this.loadInternal(t)}loadInternal(t,n){var s,v;n&&t.setKeyFormat(n);const w=t.decryptdata;if(!w){const $=new Error(n?`Expected frag.decryptdata to be defined after setting format ${n}`:`Missing decryption data on fragment in onKeyLoading (emeEnabled with controller: ${this.emeController&&this.config.emeEnabled})`);return Promise.reject(this.createKeyLoadError(t,f.KEY_LOAD_ERROR,$))}const P=w.uri;if(!P)return Promise.reject(this.createKeyLoadError(t,f.KEY_LOAD_ERROR,new Error(`Invalid key URI: "${P}"`)));const j=ld(w);let X=this.keyIdToKeyInfo[j];if((s=X)!=null&&s.decryptdata.key)return w.key=X.decryptdata.key,Promise.resolve({frag:t,keyInfo:X});if(this.emeController&&(v=X)!=null&&v.keyLoadPromise)switch(this.emeController.getKeyStatus(X.decryptdata)){case"usable":case"usable-in-future":return X.keyLoadPromise.then(ue=>{const{keyInfo:de}=ue;return w.key=de.decryptdata.key,{frag:t,keyInfo:de}})}switch(this.log(`${this.keyIdToKeyInfo[j]?"Rel":"L"}oading${w.keyId?" keyId: "+q(w.keyId):""} URI: ${w.uri} from ${t.type} ${t.level}`),X=this.keyIdToKeyInfo[j]={decryptdata:w,keyLoadPromise:null,loader:null,mediaKeySessionContext:null},w.method){case"SAMPLE-AES":case"SAMPLE-AES-CENC":case"SAMPLE-AES-CTR":return w.keyFormat==="identity"?this.loadKeyHTTP(X,t):this.loadKeyEME(X,t);case"AES-128":case"AES-256":case"AES-256-CTR":return this.loadKeyHTTP(X,t);default:return Promise.reject(this.createKeyLoadError(t,f.KEY_LOAD_ERROR,new Error(`Key supplied with unsupported METHOD: "${w.method}"`)))}}loadKeyEME(t,n){const s={frag:n,keyInfo:t};if(this.emeController&&this.config.emeEnabled){var v;if(!t.decryptdata.keyId&&(v=n.initSegment)!=null&&v.data){const P=ht(n.initSegment.data);if(P.length){let j=P[0];j.some(X=>X!==0)?(this.log(`Using keyId found in init segment ${q(j)}`),Bo.setKeyIdForUri(t.decryptdata.uri,j)):(j=Bo.addKeyIdForUri(t.decryptdata.uri),this.log(`Generating keyId to patch media ${q(j)}`)),t.decryptdata.keyId=j}}if(!t.decryptdata.keyId&&!Ee(n))return Promise.resolve(s);const w=this.emeController.loadKey(s);return(t.keyLoadPromise=w.then(P=>(t.mediaKeySessionContext=P,s))).catch(P=>{throw t.keyLoadPromise=null,"data"in P&&(P.data.frag=n),P})}return Promise.resolve(s)}loadKeyHTTP(t,n){const s=this.config,v=s.loader,w=new v(s);return n.keyLoader=t.loader=w,t.keyLoadPromise=new Promise((P,j)=>{const X={keyInfo:t,frag:n,responseType:"arraybuffer",url:t.decryptdata.uri},$=s.keyLoadPolicy.default,ue={loadPolicy:$,timeout:$.maxLoadTimeMs,maxRetry:0,retryDelay:0,maxRetryDelay:0},de={onSuccess:(xe,ke,Re,it)=>{const{frag:nt,keyInfo:qt}=Re,ir=ld(qt.decryptdata);if(!nt.decryptdata||qt!==this.keyIdToKeyInfo[ir])return j(this.createKeyLoadError(nt,f.KEY_LOAD_ERROR,new Error("after key load, decryptdata unset or changed"),it));qt.decryptdata.key=nt.decryptdata.key=new Uint8Array(xe.data),nt.keyLoader=null,qt.loader=null,P({frag:nt,keyInfo:qt})},onError:(xe,ke,Re,it)=>{this.resetLoader(ke),j(this.createKeyLoadError(n,f.KEY_LOAD_ERROR,new Error(`HTTP Error ${xe.code} loading key ${xe.text}`),Re,b({url:X.url,data:void 0},xe)))},onTimeout:(xe,ke,Re)=>{this.resetLoader(ke),j(this.createKeyLoadError(n,f.KEY_LOAD_TIMEOUT,new Error("key loading timed out"),Re))},onAbort:(xe,ke,Re)=>{this.resetLoader(ke),j(this.createKeyLoadError(n,f.INTERNAL_ABORTED,new Error("key loading aborted"),Re))}};w.load(X,ue,de)})}resetLoader(t){const{frag:n,keyInfo:s,url:v}=t,w=s.loader;n.keyLoader===w&&(n.keyLoader=null,s.loader=null);const P=ld(s.decryptdata)||v;delete this.keyIdToKeyInfo[P],w&&w.destroy()}}function ld(D){if(D.keyFormat!==ms.FAIRPLAY){const t=D.keyId;if(t)return q(t)}return D.uri}function gd(D){const{type:t}=D;switch(t){case h.AUDIO_TRACK:return o.AUDIO;case h.SUBTITLE_TRACK:return o.SUBTITLE;default:return o.MAIN}}function cd(D,t){let n=D.url;return(n===void 0||n.indexOf("data:")===0)&&(n=t.url),n}class td{constructor(t){this.hls=void 0,this.loaders=Object.create(null),this.variableList=null,this.onManifestLoaded=this.checkAutostartLoad,this.hls=t,this.registerListeners()}startLoad(t){}stopLoad(){this.destroyInternalLoaders()}registerListeners(){const{hls:t}=this;t.on(u.MANIFEST_LOADING,this.onManifestLoading,this),t.on(u.LEVEL_LOADING,this.onLevelLoading,this),t.on(u.AUDIO_TRACK_LOADING,this.onAudioTrackLoading,this),t.on(u.SUBTITLE_TRACK_LOADING,this.onSubtitleTrackLoading,this),t.on(u.LEVELS_UPDATED,this.onLevelsUpdated,this)}unregisterListeners(){const{hls:t}=this;t.off(u.MANIFEST_LOADING,this.onManifestLoading,this),t.off(u.LEVEL_LOADING,this.onLevelLoading,this),t.off(u.AUDIO_TRACK_LOADING,this.onAudioTrackLoading,this),t.off(u.SUBTITLE_TRACK_LOADING,this.onSubtitleTrackLoading,this),t.off(u.LEVELS_UPDATED,this.onLevelsUpdated,this)}createInternalLoader(t){const n=this.hls.config,s=n.pLoader,v=n.loader,w=s||v,P=new w(n);return this.loaders[t.type]=P,P}getInternalLoader(t){return this.loaders[t.type]}resetInternalLoader(t){this.loaders[t]&&delete this.loaders[t]}destroyInternalLoaders(){for(const t in this.loaders){const n=this.loaders[t];n&&n.destroy(),this.resetInternalLoader(t)}}destroy(){this.variableList=null,this.unregisterListeners(),this.destroyInternalLoaders()}onManifestLoading(t,n){const{url:s}=n;this.variableList=null,this.load({id:null,level:0,responseType:"text",type:h.MANIFEST,url:s,deliveryDirectives:null,levelOrTrack:null})}onLevelLoading(t,n){const{id:s,level:v,pathwayId:w,url:P,deliveryDirectives:j,levelInfo:X}=n;this.load({id:s,level:v,pathwayId:w,responseType:"text",type:h.LEVEL,url:P,deliveryDirectives:j,levelOrTrack:X})}onAudioTrackLoading(t,n){const{id:s,groupId:v,url:w,deliveryDirectives:P,track:j}=n;this.load({id:s,groupId:v,level:null,responseType:"text",type:h.AUDIO_TRACK,url:w,deliveryDirectives:P,levelOrTrack:j})}onSubtitleTrackLoading(t,n){const{id:s,groupId:v,url:w,deliveryDirectives:P,track:j}=n;this.load({id:s,groupId:v,level:null,responseType:"text",type:h.SUBTITLE_TRACK,url:w,deliveryDirectives:P,levelOrTrack:j})}onLevelsUpdated(t,n){const s=this.loaders[h.LEVEL];if(s){const v=s.context;v&&!n.levels.some(w=>w===v.levelOrTrack)&&(s.abort(),delete this.loaders[h.LEVEL])}}load(t){var n;const s=this.hls.config;let v=this.getInternalLoader(t);if(v){const $=this.hls.logger,ue=v.context;if(ue&&ue.levelOrTrack===t.levelOrTrack&&(ue.url===t.url||ue.deliveryDirectives&&!t.deliveryDirectives)){ue.url===t.url?$.log(`[playlist-loader]: ignore ${t.url} ongoing request`):$.log(`[playlist-loader]: ignore ${t.url} in favor of ${ue.url}`);return}$.log(`[playlist-loader]: aborting previous loader for type: ${t.type}`),v.abort()}let w;if(t.type===h.MANIFEST?w=s.manifestLoadPolicy.default:w=y({},s.playlistLoadPolicy.default,{timeoutRetry:null,errorRetry:null}),v=this.createInternalLoader(t),r((n=t.deliveryDirectives)==null?void 0:n.part)){let $;if(t.type===h.LEVEL&&t.level!==null?$=this.hls.levels[t.level].details:t.type===h.AUDIO_TRACK&&t.id!==null?$=this.hls.audioTracks[t.id].details:t.type===h.SUBTITLE_TRACK&&t.id!==null&&($=this.hls.subtitleTracks[t.id].details),$){const ue=$.partTarget,de=$.targetduration;if(ue&&de){const xe=Math.max(ue*3,de*.8)*1e3;w=y({},w,{maxTimeToFirstByteMs:Math.min(xe,w.maxTimeToFirstByteMs),maxLoadTimeMs:Math.min(xe,w.maxTimeToFirstByteMs)})}}}const P=w.errorRetry||w.timeoutRetry||{},j={loadPolicy:w,timeout:w.maxLoadTimeMs,maxRetry:P.maxNumRetry||0,retryDelay:P.retryDelayMs||0,maxRetryDelay:P.maxRetryDelayMs||0},X={onSuccess:($,ue,de,xe)=>{const ke=this.getInternalLoader(de);this.resetInternalLoader(de.type);const Re=$.data;ue.parsing.start=performance.now(),Ko.isMediaPlaylist(Re)||de.type!==h.MANIFEST?this.handleTrackOrLevelPlaylist($,ue,de,xe||null,ke):this.handleMasterPlaylist($,ue,de,xe)},onError:($,ue,de,xe)=>{this.handleNetworkError(ue,de,!1,$,xe)},onTimeout:($,ue,de)=>{this.handleNetworkError(ue,de,!0,void 0,$)}};v.load(t,j,X)}checkAutostartLoad(){if(!this.hls)return;const{config:{autoStartLoad:t,startPosition:n},forceStartLoad:s}=this.hls;(t||s)&&(this.hls.logger.log(`${t?"auto":"force"} startLoad with configured startPosition ${n}`),this.hls.startLoad(n))}handleMasterPlaylist(t,n,s,v){const w=this.hls,P=t.data,j=cd(t,s),X=Ko.parseMasterPlaylist(P,j);if(X.playlistParsingError){n.parsing.end=performance.now(),this.handleManifestParsingError(t,s,X.playlistParsingError,v,n);return}const{contentSteering:$,levels:ue,sessionData:de,sessionKeys:xe,startTimeOffset:ke,variableList:Re}=X;this.variableList=Re,ue.forEach(ir=>{const{unknownCodecs:lr}=ir;if(lr){const{preferManagedMediaSource:Cr}=this.hls.config;let{audioCodec:zr,videoCodec:vn}=ir;for(let Zr=lr.length;Zr--;){const cn=lr[Zr];Ae(cn,"audio",Cr)?(ir.audioCodec=zr=zr?`${zr},${cn}`:cn,$t.audio[zr.substring(0,4)]=2,lr.splice(Zr,1)):Ae(cn,"video",Cr)&&(ir.videoCodec=vn=vn?`${vn},${cn}`:cn,$t.video[vn.substring(0,4)]=2,lr.splice(Zr,1))}}});const{AUDIO:it=[],SUBTITLES:nt,"CLOSED-CAPTIONS":qt}=Ko.parseMasterPlaylistMedia(P,j,X);it.length&&!it.some(lr=>!lr.url)&&ue[0].audioCodec&&!ue[0].attrs.AUDIO&&(this.hls.logger.log("[playlist-loader]: audio codec signaled in quality level, but no embedded audio track signaled, create one"),it.unshift({type:"main",name:"main",groupId:"main",default:!1,autoselect:!1,forced:!1,id:-1,attrs:new Zi({}),bitrate:0,url:""})),w.trigger(u.MANIFEST_LOADED,{levels:ue,audioTracks:it,subtitles:nt,captions:qt,contentSteering:$,url:j,stats:n,networkDetails:v,sessionData:de,sessionKeys:xe,startTimeOffset:ke,variableList:Re})}handleTrackOrLevelPlaylist(t,n,s,v,w){const P=this.hls,{id:j,level:X,type:$}=s,ue=cd(t,s),de=r(X)?X:r(j)?j:0,xe=gd(s),ke=Ko.parseLevelPlaylist(t.data,ue,de,xe,0,this.variableList);if($===h.MANIFEST){const Re={attrs:new Zi({}),bitrate:0,details:ke,name:"",url:ue};ke.requestScheduled=n.loading.start+bi(ke,0),P.trigger(u.MANIFEST_LOADED,{levels:[Re],audioTracks:[],url:ue,stats:n,networkDetails:v,sessionData:null,sessionKeys:null,contentSteering:null,startTimeOffset:null,variableList:null})}n.parsing.end=performance.now(),s.levelDetails=ke,this.handlePlaylistLoaded(ke,t,n,s,v,w)}handleManifestParsingError(t,n,s,v,w){this.hls.trigger(u.ERROR,{type:c.NETWORK_ERROR,details:f.MANIFEST_PARSING_ERROR,fatal:n.type===h.MANIFEST,url:t.url,err:s,error:s,reason:s.message,response:t,context:n,networkDetails:v,stats:w})}handleNetworkError(t,n,s=!1,v,w){let P=`A network ${s?"timeout":"error"+(v?" (status "+v.code+")":"")} occurred while loading ${t.type}`;t.type===h.LEVEL?P+=`: ${t.level} id: ${t.id}`:(t.type===h.AUDIO_TRACK||t.type===h.SUBTITLE_TRACK)&&(P+=` id: ${t.id} group-id: "${t.groupId}"`);const j=new Error(P);this.hls.logger.warn(`[playlist-loader]: ${P}`);let X=f.UNKNOWN,$=!1;const ue=this.getInternalLoader(t);switch(t.type){case h.MANIFEST:X=s?f.MANIFEST_LOAD_TIMEOUT:f.MANIFEST_LOAD_ERROR,$=!0;break;case h.LEVEL:X=s?f.LEVEL_LOAD_TIMEOUT:f.LEVEL_LOAD_ERROR,$=!1;break;case h.AUDIO_TRACK:X=s?f.AUDIO_TRACK_LOAD_TIMEOUT:f.AUDIO_TRACK_LOAD_ERROR,$=!1;break;case h.SUBTITLE_TRACK:X=s?f.SUBTITLE_TRACK_LOAD_TIMEOUT:f.SUBTITLE_LOAD_ERROR,$=!1;break}ue&&this.resetInternalLoader(t.type);const de={type:c.NETWORK_ERROR,details:X,fatal:$,url:t.url,loader:ue,context:t,error:j,networkDetails:n,stats:w};if(v){const xe=(n==null?void 0:n.url)||t.url;de.response=b({url:xe,data:void 0},v)}this.hls.trigger(u.ERROR,de)}handlePlaylistLoaded(t,n,s,v,w,P){const j=this.hls,{type:X,level:$,levelOrTrack:ue,id:de,groupId:xe,deliveryDirectives:ke}=v,Re=cd(n,v),it=gd(v);let nt=typeof v.level=="number"&&it===o.MAIN?$:void 0;const qt=t.playlistParsingError;if(qt){if(this.hls.logger.warn(`${qt} ${t.url}`),!j.config.ignorePlaylistParsingErrors){j.trigger(u.ERROR,{type:c.NETWORK_ERROR,details:f.LEVEL_PARSING_ERROR,fatal:!1,url:Re,error:qt,reason:qt.message,response:n,context:v,level:nt,parent:it,networkDetails:w,stats:s});return}t.playlistParsingError=null}if(!t.fragments.length){const ir=t.playlistParsingError=new Error("No Segments found in Playlist");j.trigger(u.ERROR,{type:c.NETWORK_ERROR,details:f.LEVEL_EMPTY_ERROR,fatal:!1,url:Re,error:ir,reason:ir.message,response:n,context:v,level:nt,parent:it,networkDetails:w,stats:s});return}switch(t.live&&P&&(P.getCacheAge&&(t.ageHeader=P.getCacheAge()||0),(!P.getCacheAge||isNaN(t.ageHeader))&&(t.ageHeader=0)),X){case h.MANIFEST:case h.LEVEL:if(nt){if(!ue)nt=0;else if(ue!==j.levels[nt]){const ir=j.levels.indexOf(ue);ir>-1&&(nt=ir)}}j.trigger(u.LEVEL_LOADED,{details:t,levelInfo:ue||j.levels[0],level:nt||0,id:de||0,stats:s,networkDetails:w,deliveryDirectives:ke,withoutMultiVariant:X===h.MANIFEST});break;case h.AUDIO_TRACK:j.trigger(u.AUDIO_TRACK_LOADED,{details:t,track:ue,id:de||0,groupId:xe||"",stats:s,networkDetails:w,deliveryDirectives:ke});break;case h.SUBTITLE_TRACK:j.trigger(u.SUBTITLE_TRACK_LOADED,{details:t,track:ue,id:de||0,groupId:xe||"",stats:s,networkDetails:w,deliveryDirectives:ke});break}}}class If{static get version(){return ai}static isMSESupported(){return md()}static isSupported(){return Td()}static getMediaSource(){return ae()}static get Events(){return u}static get MetadataSchema(){return yn}static get ErrorTypes(){return c}static get ErrorDetails(){return f}static get DefaultConfig(){return If.defaultConfig?If.defaultConfig:za}static set DefaultConfig(t){If.defaultConfig=t}constructor(t={}){this.config=void 0,this.userConfig=void 0,this.logger=void 0,this.coreComponents=void 0,this.networkControllers=void 0,this._emitter=new ii,this._autoLevelCapping=-1,this._maxHdcpLevel=null,this.abrController=void 0,this.bufferController=void 0,this.capLevelController=void 0,this.latencyController=void 0,this.levelController=void 0,this.streamController=void 0,this.audioStreamController=void 0,this.subtititleStreamController=void 0,this.audioTrackController=void 0,this.subtitleTrackController=void 0,this.interstitialsController=void 0,this.gapController=void 0,this.emeController=void 0,this.cmcdController=void 0,this._media=null,this._url=null,this._sessionId=void 0,this.triggeringException=void 0,this.started=!1;const n=this.logger=G(t.debug||!1,"Hls instance",t.assetPlayerId),s=this.config=an(If.DefaultConfig,t,n);this.userConfig=t,s.progressive&&nn(s,n);const{abrController:v,bufferController:w,capLevelController:P,errorController:j,fpsController:X}=s,$=new j(this),ue=this.abrController=new v(this),de=new Ti(this),xe=s.interstitialsController,ke=xe?this.interstitialsController=new xe(this,If):null,Re=this.bufferController=new w(this,de),it=this.capLevelController=new P(this),nt=new X(this),qt=new td(this),ir=s.contentSteeringController,lr=ir?new ir(this):null,Cr=this.levelController=new Cd(this,lr),zr=new Sd(this),vn=new Id(this.config,this.logger),Zr=this.streamController=new _d(this,de,vn),cn=this.gapController=new Xa(this,de);it.setStreamController(Zr),nt.setStreamController(Zr);const un=[qt,Cr,Zr];ke&&un.splice(1,0,ke),lr&&un.splice(1,0,lr),this.networkControllers=un;const qr=[ue,Re,cn,it,nt,zr,de];this.audioTrackController=this.createController(s.audioTrackController,un);const kn=s.audioStreamController;kn&&un.push(this.audioStreamController=new kn(this,de,vn)),this.subtitleTrackController=this.createController(s.subtitleTrackController,un);const Si=s.subtitleStreamController;Si&&un.push(this.subtititleStreamController=new Si(this,de,vn)),this.createController(s.timelineController,qr),vn.emeController=this.emeController=this.createController(s.emeController,qr),this.cmcdController=this.createController(s.cmcdController,qr),this.latencyController=this.createController(Ad,qr),this.coreComponents=qr,un.push($);const Vi=$.onErrorOut;typeof Vi=="function"&&this.on(u.ERROR,Vi,$),this.on(u.MANIFEST_LOADED,qt.onManifestLoaded,qt)}createController(t,n){if(t){const s=new t(this);return n&&n.push(s),s}return null}on(t,n,s=this){this._emitter.on(t,n,s)}once(t,n,s=this){this._emitter.once(t,n,s)}removeAllListeners(t){this._emitter.removeAllListeners(t)}off(t,n,s=this,v){this._emitter.off(t,n,s,v)}listeners(t){return this._emitter.listeners(t)}emit(t,n,s){return this._emitter.emit(t,n,s)}trigger(t,n){if(this.config.debug)return this.emit(t,t,n);try{return this.emit(t,t,n)}catch(s){if(this.logger.error("An internal error happened while handling event "+t+'. Error message: "'+s.message+'". Here is a stacktrace:',s),!this.triggeringException){this.triggeringException=!0;const v=t===u.ERROR;this.trigger(u.ERROR,{type:c.OTHER_ERROR,details:f.INTERNAL_EXCEPTION,fatal:v,event:t,error:s}),this.triggeringException=!1}}return!1}listenerCount(t){return this._emitter.listenerCount(t)}destroy(){this.logger.log("destroy"),this.trigger(u.DESTROYING,void 0),this.detachMedia(),this.removeAllListeners(),this._autoLevelCapping=-1,this._url=null,this.networkControllers.forEach(n=>n.destroy()),this.networkControllers.length=0,this.coreComponents.forEach(n=>n.destroy()),this.coreComponents.length=0;const t=this.config;t.xhrSetup=t.fetchSetup=void 0,this.userConfig=null}attachMedia(t){if(!t||"media"in t&&!t.media){const w=new Error(`attachMedia failed: invalid argument (${t})`);this.trigger(u.ERROR,{type:c.OTHER_ERROR,details:f.ATTACH_MEDIA_ERROR,fatal:!0,error:w});return}this.logger.log("attachMedia"),this._media&&(this.logger.warn("media must be detached before attaching"),this.detachMedia());const n="media"in t,s=n?t.media:t,v=n?t:{media:s};this._media=s,this.trigger(u.MEDIA_ATTACHING,v)}detachMedia(){this.logger.log("detachMedia"),this.trigger(u.MEDIA_DETACHING,{}),this._media=null}transferMedia(){this._media=null;const t=this.bufferController.transferMedia();return this.trigger(u.MEDIA_DETACHING,{transferMedia:t}),t}loadSource(t){this.stopLoad();const n=this.media,s=this._url,v=this._url=Z.buildAbsoluteURL(self.location.href,t,{alwaysNormalize:!0});this._autoLevelCapping=-1,this._maxHdcpLevel=null,this.logger.log(`loadSource:${v}`),n&&s&&(s!==v||this.bufferController.hasSourceTypes())&&(this.detachMedia(),this.attachMedia(n)),this.trigger(u.MANIFEST_LOADING,{url:t})}get url(){return this._url}get hasEnoughToStart(){return this.streamController.hasEnoughToStart}get startPosition(){return this.streamController.startPositionValue}startLoad(t=-1,n){this.logger.log(`startLoad(${t+(n?", ":"")})`),this.started=!0,this.resumeBuffering();for(let s=0;s{t.resumeBuffering&&t.resumeBuffering()}))}pauseBuffering(){this.bufferingEnabled&&(this.logger.log("pause buffering"),this.networkControllers.forEach(t=>{t.pauseBuffering&&t.pauseBuffering()}))}get inFlightFragments(){const t={[o.MAIN]:this.streamController.inFlightFrag};return this.audioStreamController&&(t[o.AUDIO]=this.audioStreamController.inFlightFrag),this.subtititleStreamController&&(t[o.SUBTITLE]=this.subtititleStreamController.inFlightFrag),t}swapAudioCodec(){this.logger.log("swapAudioCodec"),this.streamController.swapAudioCodec()}recoverMediaError(){this.logger.log("recoverMediaError");const t=this._media,n=t==null?void 0:t.currentTime;this.detachMedia(),t&&(this.attachMedia(t),n&&this.startLoad(n))}removeLevel(t){this.levelController.removeLevel(t)}get sessionId(){let t=this._sessionId;return t||(t=this._sessionId=rf()),t}get levels(){const t=this.levelController.levels;return t||[]}get latestLevelDetails(){return this.streamController.getLevelDetails()||null}get loadLevelObj(){return this.levelController.loadLevelObj}get currentLevel(){return this.streamController.currentLevel}set currentLevel(t){this.logger.log(`set currentLevel:${t}`),this.levelController.manualLevel=t,this.streamController.immediateLevelSwitch()}get nextLevel(){return this.streamController.nextLevel}set nextLevel(t){this.logger.log(`set nextLevel:${t}`),this.levelController.manualLevel=t,this.streamController.nextLevelSwitch()}get loadLevel(){return this.levelController.level}set loadLevel(t){this.logger.log(`set loadLevel:${t}`),this.levelController.manualLevel=t}get nextLoadLevel(){return this.levelController.nextLoadLevel}set nextLoadLevel(t){this.levelController.nextLoadLevel=t}get firstLevel(){return Math.max(this.levelController.firstLevel,this.minAutoLevel)}set firstLevel(t){this.logger.log(`set firstLevel:${t}`),this.levelController.firstLevel=t}get startLevel(){const t=this.levelController.startLevel;return t===-1&&this.abrController.forcedAutoLevel>-1?this.abrController.forcedAutoLevel:t}set startLevel(t){this.logger.log(`set startLevel:${t}`),t!==-1&&(t=Math.max(t,this.minAutoLevel)),this.levelController.startLevel=t}get capLevelToPlayerSize(){return this.config.capLevelToPlayerSize}set capLevelToPlayerSize(t){const n=!!t;n!==this.config.capLevelToPlayerSize&&(n?this.capLevelController.startCapping():(this.capLevelController.stopCapping(),this.autoLevelCapping=-1,this.streamController.nextLevelSwitch()),this.config.capLevelToPlayerSize=n)}get autoLevelCapping(){return this._autoLevelCapping}get bandwidthEstimate(){const{bwEstimator:t}=this.abrController;return t?t.getEstimate():NaN}set bandwidthEstimate(t){this.abrController.resetEstimator(t)}get abrEwmaDefaultEstimate(){const{bwEstimator:t}=this.abrController;return t?t.defaultEstimate:NaN}get ttfbEstimate(){const{bwEstimator:t}=this.abrController;return t?t.getEstimateTTFB():NaN}set autoLevelCapping(t){this._autoLevelCapping!==t&&(this.logger.log(`set autoLevelCapping:${t}`),this._autoLevelCapping=t,this.levelController.checkMaxAutoUpdated())}get maxHdcpLevel(){return this._maxHdcpLevel}set maxHdcpLevel(t){Yr(t)&&this._maxHdcpLevel!==t&&(this._maxHdcpLevel=t,this.levelController.checkMaxAutoUpdated())}get autoLevelEnabled(){return this.levelController.manualLevel===-1}get manualLevel(){return this.levelController.manualLevel}get minAutoLevel(){const{levels:t,config:{minAutoBitrate:n}}=this;if(!t)return 0;const s=t.length;for(let v=0;v=n)return v;return 0}get maxAutoLevel(){const{levels:t,autoLevelCapping:n,maxHdcpLevel:s}=this;let v;if(n===-1&&t!=null&&t.length?v=t.length-1:v=n,s)for(let w=v;w--;){const P=t[w].attrs["HDCP-LEVEL"];if(P&&P<=s)return w}return v}get firstAutoLevel(){return this.abrController.firstAutoLevel}get nextAutoLevel(){return this.abrController.nextAutoLevel}set nextAutoLevel(t){this.abrController.nextAutoLevel=t}get playingDate(){return this.streamController.currentProgramDateTime}get mainForwardBufferInfo(){return this.streamController.getMainFwdBufferInfo()}get maxBufferLength(){return this.streamController.maxBufferLength}setAudioOption(t){var n;return((n=this.audioTrackController)==null?void 0:n.setAudioOption(t))||null}setSubtitleOption(t){var n;return((n=this.subtitleTrackController)==null?void 0:n.setSubtitleOption(t))||null}get allAudioTracks(){const t=this.audioTrackController;return t?t.allAudioTracks:[]}get audioTracks(){const t=this.audioTrackController;return t?t.audioTracks:[]}get audioTrack(){const t=this.audioTrackController;return t?t.audioTrack:-1}set audioTrack(t){const n=this.audioTrackController;n&&(n.audioTrack=t)}get allSubtitleTracks(){const t=this.subtitleTrackController;return t?t.allSubtitleTracks:[]}get subtitleTracks(){const t=this.subtitleTrackController;return t?t.subtitleTracks:[]}get subtitleTrack(){const t=this.subtitleTrackController;return t?t.subtitleTrack:-1}get media(){return this._media}set subtitleTrack(t){const n=this.subtitleTrackController;n&&(n.subtitleTrack=t)}get subtitleDisplay(){const t=this.subtitleTrackController;return t?t.subtitleDisplay:!1}set subtitleDisplay(t){const n=this.subtitleTrackController;n&&(n.subtitleDisplay=t)}get lowLatencyMode(){return this.config.lowLatencyMode}set lowLatencyMode(t){this.config.lowLatencyMode=t}get liveSyncPosition(){return this.latencyController.liveSyncPosition}get latency(){return this.latencyController.latency}get maxLatency(){return this.latencyController.maxLatency}get targetLatency(){return this.latencyController.targetLatency}set targetLatency(t){this.latencyController.targetLatency=t}get drift(){return this.latencyController.drift}get forceStartLoad(){return this.streamController.forceStartLoad}get pathways(){return this.levelController.pathways}get pathwayPriority(){return this.levelController.pathwayPriority}set pathwayPriority(t){this.levelController.pathwayPriority=t}get bufferedToEnd(){var t;return!!((t=this.bufferController)!=null&&t.bufferedToEnd)}get interstitialsManager(){var t;return((t=this.interstitialsController)==null?void 0:t.interstitialsManager)||null}getMediaDecodingInfo(t,n=this.allAudioTracks){const s=Ta(n);return br(t,s,navigator.mediaCapabilities)}}If.defaultConfig=void 0},53280:function(d,_,e){"use strict";e.d(_,{D:function(){return i}});function r(l,c,f){var u=f||{},h=u.noTrailing,o=h===void 0?!1:h,a=u.noLeading,x=a===void 0?!1:a,p=u.debounceMode,y=p===void 0?void 0:p,m,b=!1,S=0;function k(){m&&clearTimeout(m)}function R(I){var M=I||{},B=M.upcomingOnly,N=B===void 0?!1:B;k(),b=!N}function A(){for(var I=arguments.length,M=new Array(I),B=0;Bl?x?(S=Date.now(),o||(m=setTimeout(y?H:G,l))):G():o!==!0&&(m=setTimeout(y?H:G,y===void 0?l-K:l))}return A.cancel=R,A}function i(l,c,f){var u=f||{},h=u.atBegin,o=h===void 0?!1:h;return r(l,c,{debounceMode:o!==!1})}}},__webpack_module_cache__={};function __webpack_require__(d){var _=__webpack_module_cache__[d];if(_!==void 0)return _.exports;var e=__webpack_module_cache__[d]={id:d,loaded:!1,exports:{}};return __webpack_modules__[d].call(e.exports,e,e.exports,__webpack_require__),e.loaded=!0,e.exports}__webpack_require__.m=__webpack_modules__,function(){__webpack_require__.amdO={}}(),function(){__webpack_require__.n=function(d){var _=d&&d.__esModule?function(){return d.default}:function(){return d};return __webpack_require__.d(_,{a:_}),_}}(),function(){var d=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},_;__webpack_require__.t=function(e,r){if(r&1&&(e=this(e)),r&8||typeof e=="object"&&e&&(r&4&&e.__esModule||r&16&&typeof e.then=="function"))return e;var i=Object.create(null);__webpack_require__.r(i);var l={};_=_||[null,d({}),d([]),d(d)];for(var c=r&2&&e;typeof c=="object"&&!~_.indexOf(c);c=d(c))Object.getOwnPropertyNames(c).forEach(function(f){l[f]=function(){return e[f]}});return l.default=function(){return e},__webpack_require__.d(i,l),i}}(),function(){__webpack_require__.d=function(d,_){for(var e in _)__webpack_require__.o(_,e)&&!__webpack_require__.o(d,e)&&Object.defineProperty(d,e,{enumerable:!0,get:_[e]})}}(),function(){__webpack_require__.f={},__webpack_require__.e=function(d){return Promise.all(Object.keys(__webpack_require__.f).reduce(function(_,e){return __webpack_require__.f[e](d,_),_},[]))}}(),function(){__webpack_require__.u=function(d){return""+({26:"p__Classrooms__Lists__Graduation__Tasks__Edit__index",67:"p__Message__index",109:"p__Classrooms__Lists__ShixunHomeworks__Detail__components__CodeReview__Detail__index",119:"p__User__ThemeChange__Paths",141:"p__Demo__indextree",195:"p__Classrooms__Lists__GroupHomework__Detail__index",201:"p__Classrooms__ThemeChange__Students",264:"p__User__Detail__Order__pages__orderPay__index",292:"p__Classrooms__Lists__Exercise__Add__index",337:"p__Paperlibrary__Random__PreviewEdit__index",479:"p__Classrooms__Lists__GroupHomework__EditWork__index",485:"p__Question__AddOrEdit__BatchAdd__index",508:"p__Forums__Detail__id",518:"p__Shixuns__Detail__Settings__ThemeChange__index",532:"p__ExcellentCourse__index",533:"p__Classrooms__Lists__Video__Statistics__Detail__index",547:"p__Account__index",556:"p__User__Detail__Order__pages__invoice__index",559:"layouts__virtualDetail__index",570:"p__Home__Detail__OnlineNum__index",576:"p__Account__Profile__Edit__index",643:"p__Classrooms__Lists__Polls__QuestionnaireInfo__index",680:"p__Innovation__index",700:"p__tasks__Jupyter__index",737:"p__Classrooms__Lists__CommonHomework__Detail__components__CodeReview__Detail__index",799:"p__User__Detail__Topics__Poll__Detail__index",879:"p__User__ThemeChange__AccountInfo",895:"p__Classrooms__Lists__Video__Items__videoInfo__index",900:"p__User__ThemeChange__Classrooms",906:"p__User__ThemeChange__CareerCertification",919:"p__knowledgegraph__Statistics__LearningPath__index",921:"p__Classrooms__Lists__Exercise__CodeDetails__index",928:"p__RestFul__Edit__index",953:"p__AIgc__index",1006:"p__RestFul__index",1043:"p__Classrooms__Lists__Graduation__Tasks__index",1045:"p__virtualSpaces__Lists__Knowledge__AddAndEdit__index",1048:"p__Classrooms__Lists__ProgramHomework__Detail__Ranking__index",1070:"p__Innovation__PublicMirror__index",1077:"p__User__ThemeTwoLogin__index",1211:"p__Classrooms__Lists__CommonHomework__EditWork__index",1253:"p__Graduations__Lists__Gradingsummary__index",1257:"p__Classrooms__Lists__ResourceRecommend__index",1276:"p__MoopCases__Success__index",1343:"p__User__Detail__ResourceAllocation__index",1423:"p__Shixuns__Edit__body__Level__Challenges__EditPracticeAnswer__index",1427:"p__Classrooms__Lists__Statistics__index",1450:"p__Classrooms__Lists__ShixunHomeworks__Commitsummary__index",1461:"p__Graduations__Lists__Topics__index",1470:"p__User__Register__index",1475:"p__Shixuns__Detail__Dataset__JupyterData__index",1477:"p__Classrooms__ThemeChange__Assistant",1482:"p__Classrooms__Lists__Graduation__Topics__Edit__index",1490:"p__Information__Edit__index",1512:"p__Classrooms__Lists__Exercise__AnswerCheck__index",1520:"p__Engineering__Lists__StudentList__index",1545:"p__Paperlibrary__Random__ExchangeFromProblemSet__index",1578:"p__Classrooms__Lists__Graduation__Topics__Detail__index",1581:"p__Problemset__Preview__index",1582:"p__Classrooms__Lists__GroupHomework__Add__index",1651:"p__Paths__ThemeChange__Statistics",1657:"p__Shixuns__Edit__body__Level__Challenges__EditQuestion__index",1660:"p__User__QQLogin__index",1674:"p__Classrooms__ClassicCases__index",1678:"p__Classrooms__ThemeChange__Attachment",1713:"p__virtualSpaces__Lists__Settings__index",1717:"layouts__index",1727:"p__Classrooms__Lists__CourseGroup__NotList__index",1754:"p__Classrooms__ThemeChange__Video",1783:"p__virtualSpaces__Lists__Experiment__index",1798:"p__Classrooms__ThemeChange__GroupHomework",1799:"p__Competitions__Entered__Assembly__TeamDateil",1831:"p__Graduations__Index__index",1836:"p__Classrooms__Lists__Attendance__Webview__Teacher__index",1855:"p__MoopCases__InfoPanel__index",1880:"p__User__Detail__Order__pages__apply__index",1897:"p__User__ThemeChange__ClassManagement",1939:"p__User__Detail__Order__index",1953:"p__Problemset__NewItem__index",1962:"p__Classrooms__Lists__Engineering__index",1993:"p__Shixuns__Detail__Dataset__ThemeChange__index",2045:"p__Engineering__Lists__TeacherList__index",2099:"p__Paperlibrary__ThemeChange__index",2102:"p__Classrooms__Lists__Board__Edit__index",2130:"p__Shixuns__Detail__Repository__UploadFile__ThemeChange__index",2141:"p__Shixuns__Detail__Split__index",2203:"p__Classrooms__ThemeChange__ShixunHomeworks",2216:"p__DataSet__Index__index",2240:"p__User__Detail__Videos__Upload__index",2281:"p__Paths__ThemeChange__Detail",2300:"p__Api__index",2303:"p__Classrooms__Lists__CommonHomework__Comment__index",2307:"p__Report__index",2338:"p__Classrooms__Lists__CommonHomework__Review__index",2339:"p__virtualSpaces__Lists__Plan__Detail__index",2396:"p__User__Detail__ResourcesCenter__index",2404:"p__Classrooms__Lists__Template__teacher__index",2412:"p__User__Detail__Videos__index",2425:"p__Classrooms__Lists__Board__Detail__index",2443:"p__Graduations__Lists__StageModule__index",2476:"p__Colleges__index",2501:"p__Search__index",2524:"p__knowledgegraph__Detail__components__Content__components__AbilityMap__Detail__index",2539:"p__Graduations__Review__index",2548:"p__Engineering__Norm__Detail__index",2570:"p__Competitions__Detail__index",2603:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Add__index",2659:"p__User__Detail__UserPortrait__index",2707:"p__Innovation__MyDataSet__index",2806:"p__User__Detail__Topics__Exercise__Detail__index",2819:"p__Classrooms__Lists__Template__detail__index",2823:"p__Engineering__Navigation__Home__index",2829:"p__Messages__Private__index",2862:"p__User__ThemeChange__ExperImentImg",2865:"p__Innovation__MyMirror__index",2884:"p__Classrooms__Lists__ProgramHomework__Comment__index",3006:"p__Engineering__index",3086:"p__Shixuns__Detail__ForkList__ThemeChange__index",3141:"p__Innovation__Detail__index",3157:"p__User__Detail__ExperImentImg__Add__index",3183:"p__Engineering__Lists__GraduationIndex__index",3212:"p__MoopCases__index",3247:"p__Paperlibrary__See__index",3260:"p__Paperlibrary__Add__index",3276:"p__Classrooms__Lists__Statistics__UserportraitStatistics__index",3317:"p__Classrooms__Lists__Graduation__Topics__Add__index",3391:"p__Classrooms__Lists__ProgramHomework__Detail__components__CodeReview__Detail__index",3433:"p__Classrooms__Lists__Exercise__Sumup__Edit__index",3442:"p__Classrooms__Lists__Board__Add__index",3443:"p__knowledgegraph__Statistics__AbilityMap__Detail",3447:"p__User__Detail__Order__pages__orderInformation__index",3451:"p__Classrooms__Lists__Statistics__StudentStatistics__Detail__index",3509:"p__HttpStatus__SixActivities",3581:"p__Shixuns__Detail__Collaborators__ThemeChange__index",3585:"p__Classrooms__Lists__Statistics__StudentSituation__index",3589:"p__knowledgegraph__Statistics__index",3668:"p__Classrooms__Lists__CommonHomework__Detail__index",3685:"p__knowledgegraph__Detail__components__Content__components__AbilityMap__Edit__index",3747:"p__virtualSpaces__Lists__Homepage__index",3784:"p__Paperlibrary__Random__Detail__index",3831:"p__User__ThemeChange__VirtualSpaces",3862:"p__HttpStatus__403",3873:"p__virtualSpaces__Lists__Lesson__index",3910:"p__HttpStatus__introduction",3951:"p__Classrooms__Lists__ProgramHomework__Detail__index",3980:"p__Information__Add__index",4017:"p__Classrooms__Lists__PlaceholderPage__index",4030:"p__Classrooms__Lists__ProgramHomework__AddAndEdit__index",4048:"p__Forums__ThemeChange__index",4056:"p__IntrainCourse__index",4078:"p__Messages__Tidings__index",4093:"p__Classrooms__Lists__Attendance__Detail__index",4105:"p__Classrooms__Lists__Exercise__Answer__index",4144:"p__Problemset__Preview__New__index",4164:"p__Classrooms__Lists__Exercise__Detail__index",4216:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Edit__index",4217:"p__Classrooms__Lists__Video__Statistics__index",4227:"p__Paths__Overview__index",4259:"p__User__Detail__Order__pages__result__index",4264:"p__Forums__New__index",4297:"p__Classrooms__ThemeChange__Polls",4339:"p__knowledgegraph__Statistics__PathAtlas__Detail",4420:"p__knowledgegraph__index",4449:"p__Competitions__Exports__index",4492:"p__Graduations__Lists__StudentSelection__index",4496:"p__HttpStatus__HpcCourse",4498:"p__Shixuns__Edit__body__Level__Challenges__NewPractice__index",4504:"p__virtualSpaces__Lists__Survey__index",4514:"p__Account__Results__index",4520:"p__Account__Secure__index",4546:"p__Engineering__Lists__TrainingProgram__Add__index",4565:"p__HttpStatus__500",4572:"p__Classrooms__Lists__ExportList__index",4599:"p__Problemset__index",4610:"p__User__Detail__LearningPath__index",4621:"p__Administration__Profession__index",4662:"p__Classrooms__Lists__GroupHomework__Review__index",4715:"p__virtualSpaces__Lists__Material__Detail__index",4736:"p__User__Detail__Projects__index",4741:"p__Problems__OjForm__NewEdit__index",4757:"p__virtualSpaces__Lists__Workplace__index",4766:"p__Administration__index",4770:"p__Classrooms__Lists__ProgramHomework__Detail__answer__index",4795:"p__Classrooms__Lists__Graduation__Tasks__Add__index",4800:"p__Engineering__Lists__GraduatedMatrix__index",4888:"p__Information__index",4889:"p__Classrooms__Lists__Exercise__ImitateAnswer__index",4928:"p__Classrooms__Lists__LearningPath__index",4973:"p__Engineering__Evaluate__List__index",4994:"p__Problems__OjForm__index",5022:"p__Graduations__Lists__Settings__index",5043:"p__User__Detail__Topics__Poll__Edit__index",5048:"p__Classrooms__Lists__Graduation__Topics__index",5096:"p__Shixuns__Detail__AuditSituation__index",5111:"p__Terminal__index",5117:"p__User__ThemeChange__Certificate",5125:"p__Classrooms__Lists__Exercise__DetailedAnalysis__index",5148:"p__Classrooms__Lists__Polls__Answer__index",5165:"p__User__ThemeChange__Topics",5176:"p__User__Detail__Videos__Protocol__index",5177:"p__Classrooms__ThemeChange__Teachers",5179:"p__Administration__Student__Edit__index",5186:"p__Classrooms__Overview__index",5230:"p__Shixuns__Detail__Repository__AddFile__ThemeChange__index",5238:"p__virtualSpaces__Lists__Material__index",5297:"p__Classrooms__Lists__Exercise__Detail__components__DuplicateChecking__CheckDetail__index",5307:"p__Shixuns__ThemeChange__New",5319:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Detail__index",5330:"p__Classrooms__ThemeChange__ShixunHomeworksComment",5335:"p__Engineering__Lists__CourseMatrix__index",5357:"p__Engineering__Lists__TrainingProgram__Edit__index",5359:"p__Messages__Detail__index",5382:"p__DataSet__Detail__index",5402:"p__User__Detail__Topics__Detail__index",5466:"p__Classrooms__ThemeChange__LiveVideo",5518:"p__Classrooms__Lists__Template__index",5549:"p__Shixuns__New__CreateImg__index",5572:"p__Paths__HigherVocationalEducation__index",5573:"p__Shixuns__Detail__Merge__index",5624:"p__Graduations__Lists__Index__index",5650:"p__Competitions__Update__index",5694:"p__Classrooms__ThemeChange__ShixunHomeworksDetail",5705:"p__virtualSpaces__Lists__Construction__index",5729:"p__Help__Index",5775:"p__Engineering__Lists__Document__index",5776:"p__User__ThemeChange__RealNameCertification",5786:"layouts__LoginAndRegister__index",5798:"p__Classrooms__Lists__Video__Statistics__UserDetail__index",5800:"p__User__ThemeChange__Competitions",5816:"p__Paperlibrary__Random__Edit__index",5888:"p__Classrooms__Lists__CommonHomework__Add__index",5891:"p__virtualSpaces__Lists__Resources__index",5894:"p__Shixuns__Detail__Repository__Commit__ThemeChange__index",5902:"p__Classrooms__Lists__Exercise__Sumup__index",5915:"p__knowledgegraph__Detail__Statistics__index",5972:"layouts__user__index",5992:"p__Classrooms__Lists__Exercise__ReviewGroup__index",6029:"p__Administration__Student__index",6034:"p__HttpStatus__UserAgents",6063:"p__Graduations__Lists__Personmanage__index",6069:"p__virtualSpaces__Lists__Lesson__Detail__index",6080:"p__Paths__ThemeChange__New",6127:"p__Classrooms__Lists__ProgramHomework__Ranking__index",6170:"p__HttpStatus__downloadStudent",6185:"p__Classrooms__ThemeChange__Announcement",6205:"p__Classrooms__ThemeChange__VideoUpload",6265:"p__virtualSpaces__Lists__Discussion__index",6270:"p__MyProblem__index",6282:"p__Classrooms__ThemeChange__ProgramHomework",6328:"p__Shixuns__Edit__body__Warehouse__index",6366:"p__Innovation__PublicProject__index",6434:"p__User__Detail__Order__pages__records__index",6444:"p__Video__Detail__id",6451:"p__Shixuns__Detail__RankingList__ThemeChange__index",6452:"p__Innovation__PublicDataSet__index",6531:"p__HttpStatus__404",6583:"p__User__Detail__Classrooms__index",6587:"p__User__Detail__Videos__Protocol__resource",6634:"p__Innovation__Tasks__index",6637:"p__Shixuns__Detail__Repository__ThemeChange__index",6651:"p__Engineering__Evaluate__Detail__index",6682:"p__User__ThemeChange__Shixuns",6685:"p__Classrooms__Index__index",6729:"p__Classrooms__Lists__GroupHomework__Edit__index",6741:"p__Engineering__Norm__List__index",6776:"p__Classrooms__ThemeChange__Exercise",6784:"p__Innovation__Edit__index",6788:"p__Home__Detail__ShixunContext__Detail__index",6789:"p__Classrooms__ThemeChange__index",6796:"p__virtualSpaces__Lists__Announcement__Detail__index",6820:"p__User__Detail__Topics__Normal__index",6882:"p__Classrooms__New__StartClass__index",6904:"p__MoopCases__FormPanel__index",6913:"p__Question__AddOrEdit__index",6963:"p__Classrooms__Lists__Engineering__Detail__index",6979:"p__knowledgegraph__SanD__index",6988:"p__Information__Detail__index",7042:"p__knowledgegraph__Statistics__LearningPath__Detail",7043:"p__User__Detail__Topics__Exercise__Edit__index",7045:"p__Classrooms__Lists__CommonHomework__SubmitWork__index",7058:"p__virtualSpaces__Lists__Survey__Detail__index",7062:"layouts__SimpleLayouts",7099:"p__Competitions__ThemeChange__index",7178:"p__User__BindAccount__index",7182:"p__User__ResetPassword__index",7224:"p__StatsDashboard__index",7242:"p__Innovation__MyProject__index",7260:"p__Account__Certification__index",7289:"p__tasks__ThemeChange__index",7322:"layouts__ThemeChange__ShixunDetail",7323:"p__Classrooms__ThemeChange__New",7329:"p__Classrooms__ThemeChange__Attendance",7333:"p__User__WechatLogin__index",7395:"p__Classrooms__Lists__Statistics__StudentDetail__index",7402:"p__User__ThemeChange__OtherResources",7460:"p__Question__OjProblem__index",7477:"p__virtualSpaces__Lists__Announcement__index",7482:"p__Classrooms__Lists__Exercise__Notice__index",7527:"p__MyProblem__RecordDetail__index",7545:"p__Graduations__Lists__Archives__index",7560:"p__Administration__College__index",7589:"p__virtualSpaces__Lists__DigitalTopics__index",7614:"p__Shixuns__Edit__body__Level__Challenges__RankingSetting__index",7622:"p__Classrooms__Lists__Polls__Detail__index",7806:"p__Classrooms__Lists__Statistics__StatisticsQuality__index",7835:"p__Problemset__ThemeChange__index",7855:"p__User__Detail__ResourcesCenter__Detail__index",7857:"p__Shixuns__Edit__body__Level__Challenges__NewQuestion__index",7883:"p__Classrooms__Lists__Exercise__WrongAnswer__index",7884:"p__Shixuns__Exports__index",7901:"p__Guidance__ThemeChange",7922:"p__Classrooms__Lists__CourseGroup__Detail__index",8062:"p__User__Detail__Topicbank__index",8072:"p__Classrooms__Lists__GroupHomework__SubmitWork__index",8085:"p__Classrooms__Lists__Exercise__Review__index",8115:"p__User__ThemeChange__DataSet",8137:"p__knowledgegraph__Statistics__PathAtlas__index",8143:"layouts__GraduationsDetail__index",8145:"p__User__ThemeChange__ClassManagementItem",8155:"p__Shixuns__Overview__index",8217:"p__User__ThemeChange__AccountInfoEdit",8237:"p__User__Detail__Order__pages__view__index",8241:"p__virtualSpaces__Lists__Plan__index",8286:"p__User__ThemeChange__ExperImentImgDetail",8332:"p__User__ThemeChange__Detail",8340:"p__Classrooms__Lists__Attendance__Webview__Student__index",8365:"p__Home__Detail__ShixunContext__index",8398:"p__virtualSpaces__Lists__Resources__Detail__index",8431:"p__Classrooms__Lists__Exercise__Export__index",8435:"p__Classrooms__Lists__Attendance__index",8447:"p__virtualSpaces__Lists__Knowledge__index",8458:"p__Classrooms__ThemeChange__CommonHomework",8479:"p__User__ThemeChange__TeachGroup",8517:"p__User__Detail__Topics__Group__index",8552:"p__Shixuns__ThemeChange__index",8563:"p__virtualSpaces__Lists__Discussion__Detail__index",8579:"p__Competitions__ThemeChange__Edit",8639:"p__Forums__Index__redirect",8665:"p__Engineering__Lists__TrainingObjectives__index",8688:"p__Shixuns__Detail__Repository__index",8689:"p__Classrooms__Lists__Statistics__VideoStatistics__index",8723:"p__Classrooms__Lists__Polls__Edit__index",8787:"p__Competitions__Entered__index",8823:"p__knowledgegraph__Detail__id",8827:"p__Classrooms__Lists__OnlineLearning__index",8866:"p__index",8882:"p__Classrooms__Lists__Graduation__Tasks__Detail__index",8885:"p__Classrooms__Lists__Statistics__StudentStatistics__index",8965:"p__Shixuns__Detail__Discuss__ThemeChange__index",8999:"p__Three__index",9039:"p__Classrooms__ThemeChange__CourseGroup",9076:"p__Account__Binding__index",9205:"p__Shixuns__Edit__body__Level__Challenges__EditPracticeSetting__index",9366:"p__User__Login__index",9391:"p__Engineering__Lists__CurseSetting__index",9404:"monaco-editor",9406:"p__Classrooms__ThemeChange__Board",9416:"p__Graduations__Lists__Tasks__index",9417:"p__Shixuns__ThemeOne__Detail__SkillTags__index",9449:"p__Shixuns__ThemeChange__Detail",9487:"p__LargeScreen__index",9489:"p__Engineering__Lists__CourseList__index",9507:"p__User__Detail__ResourceGuarantee__index",9511:"p__Shixuns__ThemeChange__Edit",9595:"p__knowledgegraph__Statistics__AbilityMap__index",9647:"p__Question__Index__index",9649:"p__Engineering__Lists__TrainingProgram__index",9674:"p__Shixuns__New__ImagePreview__index",9677:"p__virtualSpaces__Lists__Announcement__AddAndEdit__index",9695:"p__Classrooms__Lists__Polls__Add__index",9715:"p__Classrooms__Lists__CommonHomework__Edit__index",9716:"p__Question__OjProblem__RecordDetail__index",9785:"p__Classrooms__Lists__Template__student__index",9788:"p__Account__Profile__index",9814:"p__Shixuns__Detail__Challenges__ThemeChange__index",9891:"p__User__Detail__Videos__Success__index",9906:"p__Paths__ThemeChange__index",9921:"p__Classrooms__ExamList__index",9922:"p__Classrooms__Lists__Statistics__StudentVideo__index",9944:"p__Classrooms__Lists__Video__Statistics__StudentDetail__index"}[d]||d)+"."+{26:"c2171a2f",67:"1d4228d2",109:"a24fe139",119:"04efa13c",141:"b62b555a",195:"971a82a0",201:"689697e5",264:"d3adc995",292:"ad59def9",316:"1f60ada6",337:"8ee8337a",345:"fe9b2c91",354:"d4d139cf",479:"1e9be74e",485:"5e71afee",508:"e329715f",518:"4d4a35cd",532:"9487f9d1",533:"af645a49",547:"73c38c32",556:"1ff8b8c2",559:"54b51901",570:"8a8f7da7",576:"777dcf61",629:"44a1d9a5",643:"01333bce",671:"4a609b8d",680:"70512d5a",700:"b59c485d",737:"b3714f67",741:"3d598f26",799:"9e9dc614",879:"d5b6a8fc",895:"c1fff1f7",900:"aec58bfa",906:"8b03eec4",919:"e1b51882",921:"80d38b80",928:"4c3c2296",953:"b3d88e7b",981:"24da50c7",1006:"a54e6ad4",1043:"9b78cd61",1045:"459e3acd",1048:"0d70997c",1070:"a7080371",1077:"4dd9dd85",1144:"c90eccaf",1154:"8cb80842",1211:"eeac1cd4",1253:"f8bfc9ae",1257:"47570555",1274:"5f6ea65a",1276:"a1121c53",1302:"df60cd94",1343:"7fa1a254",1423:"0082b015",1427:"eda83517",1450:"485cac38",1461:"aa81a64b",1462:"fcf08abc",1470:"c111e969",1475:"6c99d151",1477:"7ea54f0d",1482:"68ed1374",1490:"69b014ef",1511:"233b1b40",1512:"2154d25b",1520:"f122642f",1545:"cd50678a",1578:"0a68d914",1581:"1f0b0e58",1582:"46de2dc5",1646:"e6e27b60",1651:"5e9554ef",1657:"6ed7ab41",1660:"2228a49f",1674:"6d42486a",1678:"01e572b8",1713:"6cdad109",1717:"312631ac",1727:"3112937b",1754:"524ec3be",1783:"1676f1fc",1798:"8f1a3dab",1799:"abe3d6f2",1831:"d4ecee29",1836:"66f820f1",1855:"c4c7fcd5",1880:"02a00552",1897:"0b75d789",1939:"5bb34952",1953:"19d2e010",1962:"98e79bfb",1991:"eb72b4c4",1993:"8c679ade",2011:"59d51f98",2045:"e668dfab",2099:"74383f26",2102:"126c6e37",2130:"7e37f0e5",2141:"0c4619f2",2203:"dd3b7a90",2216:"1b9be89f",2225:"714b03fb",2240:"a4ae682d",2249:"f4830452",2281:"59af6080",2300:"e174fc20",2303:"26a1ea83",2307:"55023379",2338:"18c2fa90",2339:"cbdc6806",2386:"192e235c",2396:"0230b956",2404:"67c77c13",2412:"8d8c8da1",2425:"a707a3c8",2443:"2c8e5c72",2476:"63b5318c",2494:"68080a87",2501:"35c5d02b",2524:"b58a430b",2538:"de4a3723",2539:"70186508",2548:"17dc6fe1",2570:"b23212ed",2594:"e87d3761",2603:"b17f34db",2659:"c2ac41e5",2670:"f2da537c",2707:"f821f258",2806:"ccfad226",2819:"12967f86",2823:"61eb8fbf",2829:"60f0844b",2837:"54a82605",2859:"8bd2c38f",2862:"2edc7104",2865:"e50fb22b",2884:"797b69aa",2969:"ab3357d7",3006:"7a71f33a",3086:"e066759f",3133:"9bf3f89c",3141:"5acaf941",3157:"cc56e7c4",3183:"1f134e0a",3198:"8e655451",3212:"b35b3078",3247:"7bfc22f9",3260:"def95120",3276:"55c86d0d",3317:"61821207",3391:"dc7312fa",3433:"ca5a6ff6",3442:"99404841",3443:"809c79b7",3447:"9a0747cc",3451:"004e6a2c",3509:"94edc2ba",3550:"3dc83156",3581:"476e69f0",3585:"9bd5e322",3589:"7075a1c8",3668:"41b98024",3685:"639b8a92",3696:"a9df6bf4",3697:"481a10d9",3747:"dc4b06cd",3754:"9e1b8736",3777:"d5b0f2f1",3784:"4f75c740",3805:"9dbcb95e",3831:"cc3feb94",3862:"7521f7c5",3873:"b7069a77",3885:"f87f7f15",3910:"89d17540",3951:"8f1c1ac6",3980:"90bf9ff9",3987:"5cecd51b",4014:"27a8e97c",4017:"faf13315",4030:"55a27f96",4048:"427837de",4056:"e98c4b1c",4078:"2b28eae3",4088:"236723f3",4093:"ce7dfb21",4105:"5f0aba62",4144:"34e3ea50",4164:"fd89804a",4216:"551121ba",4217:"e53075e6",4227:"d6830153",4259:"a11d7b4d",4264:"7e45ef8d",4297:"9a4b55c2",4339:"762fb2db",4347:"ce21ef2e",4354:"140899b7",4360:"cf5efa52",4420:"03bbcee3",4449:"e5824f67",4492:"21ec8ce5",4496:"365d7197",4498:"1b9ed9ce",4504:"77ac46e8",4514:"4c59e54e",4520:"f746685b",4546:"5c5ded19",4549:"d6931d43",4565:"5a2dfdb2",4572:"be82894e",4599:"61def4cb",4610:"6ca071f9",4621:"433d81f4",4628:"ece2c60c",4662:"6aa257a5",4685:"c33f1528",4715:"ebefa73a",4736:"e67ef1fd",4741:"a42fe0d9",4757:"779188a7",4766:"4325f121",4770:"ba702f3d",4790:"619413e4",4795:"da267b4e",4797:"a24e92db",4800:"c09d9df8",4850:"1edda4b7",4888:"a7c71420",4889:"d24a9527",4928:"570359c2",4973:"851db662",4994:"821cafa7",5022:"f2eccc32",5043:"1283e657",5048:"f33767a2",5060:"85dafcc6",5096:"7800a877",5111:"ee637cc0",5117:"f9dcaccd",5125:"d7ec6444",5148:"8ff7ecc5",5165:"330bb196",5176:"6cac60f4",5177:"73bc6ff1",5179:"321e96fe",5186:"a5da658f",5230:"3f95a136",5238:"395643fa",5290:"5dabcdc2",5297:"6b6be5cb",5307:"2424b6b7",5319:"23ed77fc",5321:"1163c84e",5330:"e0465d09",5335:"d23c85e8",5354:"7ae70604",5357:"eb60617a",5359:"2bd4e815",5382:"16008873",5402:"4f983e25",5416:"454536b7",5434:"38b302a6",5466:"e9f7e42e",5494:"d89549c4",5518:"962d1fe7",5549:"44867c4e",5572:"4a17bcf2",5573:"7a2f5e57",5624:"aca200e1",5631:"e00d3d36",5650:"1bb3f7dc",5679:"4a090bef",5694:"18459682",5705:"be6ab672",5729:"8f58f937",5749:"604df919",5764:"e0d7e586",5775:"a5d13750",5776:"3c42dc5e",5786:"024d87d6",5798:"8c8da678",5800:"e3f4bac3",5816:"d03e83f6",5876:"5eded409",5888:"98892274",5891:"0376f088",5894:"1dd44fa6",5902:"d09c18ee",5915:"3e7b29b9",5972:"ae8e8f67",5992:"86b84705",6029:"ea11ef22",6034:"d47ed817",6045:"d268f87f",6047:"3ce45acd",6063:"503e7f36",6069:"83646f60",6080:"5c900ce6",6126:"99519171",6127:"705e3a6f",6170:"8777678f",6185:"c7f0b2e3",6205:"2d4f70a7",6265:"11350181",6270:"03bf981c",6282:"375aadfa",6328:"75243a29",6366:"a937a6b1",6378:"7f3a946a",6411:"3b971528",6434:"40f031cb",6444:"8585bc1b",6451:"36977c9b",6452:"3f06e52a",6531:"e9eb8ce4",6583:"2b278f44",6587:"fafaa7c9",6634:"3e1740bf",6637:"3bfe56a8",6647:"fbb19106",6651:"25901153",6665:"81bf97ca",6682:"93c2b292",6685:"bbdcc048",6729:"20c385f4",6741:"32bb1539",6774:"59d4d618",6776:"2572cb9d",6784:"20fc25ac",6788:"b4502844",6789:"391cd9fd",6796:"75be423f",6820:"537d97c5",6882:"5c8cb492",6892:"de446bcb",6904:"4f43f29f",6913:"07a4b2da",6963:"41d220ab",6979:"46e959db",6988:"1a317d0a",7042:"f659d38a",7043:"eb648179",7045:"5f072901",7058:"7481feb2",7062:"2ad6bd01",7084:"46ccce72",7099:"ae46789c",7156:"e7466006",7178:"21f4ee44",7182:"e357fd46",7210:"c3c40125",7224:"feee46aa",7242:"d14c6fd8",7260:"86b0c32b",7289:"fc364a00",7322:"12cbcd9a",7323:"09705703",7329:"4bdaefed",7333:"7bd1d639",7365:"1005464f",7395:"1e95c2a1",7402:"ee70c0d3",7460:"e0afd04f",7477:"beed8673",7482:"abe4c2c5",7527:"e00970f3",7545:"30bdc4f7",7560:"bbbf5920",7573:"97f85034",7589:"375b1c87",7591:"c8233ce9",7614:"f92f0a83",7622:"f25b4c1d",7686:"4fcec9f9",7706:"c2a79e40",7722:"4996b218",7806:"90b40858",7835:"0d7dbbdf",7855:"25a78edf",7857:"67f1d469",7883:"c057ce21",7884:"8259407f",7901:"a837e981",7922:"6a313f6e",7964:"29aed9a1",8037:"e2680c5c",8062:"9789f9cf",8072:"1b25d3e0",8085:"33c79540",8089:"d536b13a",8115:"76de9834",8137:"796bafe9",8143:"fea7890d",8145:"dbb00430",8155:"7b5146dd",8161:"83c5fa9a",8217:"6a1271e1",8237:"d934e27c",8241:"1235f343",8286:"9bd1b611",8302:"55794970",8332:"5d98ca9a",8340:"ef008c50",8350:"07df8a75",8365:"350033e0",8398:"ebff1597",8431:"02722e96",8435:"29ffda57",8447:"aed74b1b",8458:"edb4869b",8479:"9e803cc0",8517:"47fd16ec",8552:"b541b9e2",8556:"93a193ce",8561:"333e8ec9",8563:"db746432",8579:"c38406e7",8639:"27223976",8665:"8b951aca",8688:"cad07271",8689:"227bf401",8723:"e1c97ad8",8737:"ce7dad23",8776:"0ad26240",8787:"6acfa5ec",8823:"cca63914",8827:"604ed91b",8842:"9f25a3e2",8866:"e13c88a2",8882:"35de928b",8885:"0cc39f27",8898:"d002bcd8",8909:"21392179",8920:"7f82440c",8963:"790aecdd",8965:"5217c021",8999:"29671722",9039:"2b8f28e2",9076:"cdb90660",9104:"bbcb2345",9205:"4c0df551",9252:"0d791a59",9260:"f163e60e",9366:"b285aecb",9391:"f477f90b",9404:"9fcc3d3e",9406:"820ae196",9416:"dcf632df",9417:"4d16506b",9449:"235317c1",9487:"6bf47249",9489:"58886895",9507:"95b8da25",9511:"6f220ddc",9554:"ed358e7b",9559:"f794af19",9595:"1b6a50ab",9647:"d1531f77",9649:"d6f9a104",9674:"13ea89eb",9677:"0a46efd1",9695:"08c5faf5",9715:"eaf5d7c6",9716:"3009f466",9785:"5464c1d4",9788:"6bf720be",9814:"7b908fc0",9891:"d3ecf37d",9895:"b8e31ff2",9906:"646ebd22",9921:"e5de3972",9922:"b8a7709f",9928:"5989f5e0",9944:"bdaf58dc",9950:"74f6dfb2",9968:"17466785"}[d]+".async.js"}}(),function(){__webpack_require__.miniCssF=function(d){return""+({26:"p__Classrooms__Lists__Graduation__Tasks__Edit__index",67:"p__Message__index",109:"p__Classrooms__Lists__ShixunHomeworks__Detail__components__CodeReview__Detail__index",119:"p__User__ThemeChange__Paths",195:"p__Classrooms__Lists__GroupHomework__Detail__index",201:"p__Classrooms__ThemeChange__Students",264:"p__User__Detail__Order__pages__orderPay__index",292:"p__Classrooms__Lists__Exercise__Add__index",337:"p__Paperlibrary__Random__PreviewEdit__index",479:"p__Classrooms__Lists__GroupHomework__EditWork__index",485:"p__Question__AddOrEdit__BatchAdd__index",508:"p__Forums__Detail__id",518:"p__Shixuns__Detail__Settings__ThemeChange__index",532:"p__ExcellentCourse__index",533:"p__Classrooms__Lists__Video__Statistics__Detail__index",547:"p__Account__index",556:"p__User__Detail__Order__pages__invoice__index",559:"layouts__virtualDetail__index",576:"p__Account__Profile__Edit__index",643:"p__Classrooms__Lists__Polls__QuestionnaireInfo__index",680:"p__Innovation__index",700:"p__tasks__Jupyter__index",737:"p__Classrooms__Lists__CommonHomework__Detail__components__CodeReview__Detail__index",799:"p__User__Detail__Topics__Poll__Detail__index",879:"p__User__ThemeChange__AccountInfo",895:"p__Classrooms__Lists__Video__Items__videoInfo__index",900:"p__User__ThemeChange__Classrooms",906:"p__User__ThemeChange__CareerCertification",919:"p__knowledgegraph__Statistics__LearningPath__index",921:"p__Classrooms__Lists__Exercise__CodeDetails__index",928:"p__RestFul__Edit__index",953:"p__AIgc__index",1006:"p__RestFul__index",1043:"p__Classrooms__Lists__Graduation__Tasks__index",1045:"p__virtualSpaces__Lists__Knowledge__AddAndEdit__index",1048:"p__Classrooms__Lists__ProgramHomework__Detail__Ranking__index",1070:"p__Innovation__PublicMirror__index",1077:"p__User__ThemeTwoLogin__index",1211:"p__Classrooms__Lists__CommonHomework__EditWork__index",1253:"p__Graduations__Lists__Gradingsummary__index",1257:"p__Classrooms__Lists__ResourceRecommend__index",1276:"p__MoopCases__Success__index",1343:"p__User__Detail__ResourceAllocation__index",1423:"p__Shixuns__Edit__body__Level__Challenges__EditPracticeAnswer__index",1427:"p__Classrooms__Lists__Statistics__index",1450:"p__Classrooms__Lists__ShixunHomeworks__Commitsummary__index",1461:"p__Graduations__Lists__Topics__index",1470:"p__User__Register__index",1475:"p__Shixuns__Detail__Dataset__JupyterData__index",1477:"p__Classrooms__ThemeChange__Assistant",1482:"p__Classrooms__Lists__Graduation__Topics__Edit__index",1490:"p__Information__Edit__index",1512:"p__Classrooms__Lists__Exercise__AnswerCheck__index",1520:"p__Engineering__Lists__StudentList__index",1545:"p__Paperlibrary__Random__ExchangeFromProblemSet__index",1578:"p__Classrooms__Lists__Graduation__Topics__Detail__index",1581:"p__Problemset__Preview__index",1582:"p__Classrooms__Lists__GroupHomework__Add__index",1651:"p__Paths__ThemeChange__Statistics",1657:"p__Shixuns__Edit__body__Level__Challenges__EditQuestion__index",1674:"p__Classrooms__ClassicCases__index",1678:"p__Classrooms__ThemeChange__Attachment",1713:"p__virtualSpaces__Lists__Settings__index",1717:"layouts__index",1727:"p__Classrooms__Lists__CourseGroup__NotList__index",1754:"p__Classrooms__ThemeChange__Video",1783:"p__virtualSpaces__Lists__Experiment__index",1798:"p__Classrooms__ThemeChange__GroupHomework",1831:"p__Graduations__Index__index",1836:"p__Classrooms__Lists__Attendance__Webview__Teacher__index",1855:"p__MoopCases__InfoPanel__index",1880:"p__User__Detail__Order__pages__apply__index",1897:"p__User__ThemeChange__ClassManagement",1939:"p__User__Detail__Order__index",1953:"p__Problemset__NewItem__index",1962:"p__Classrooms__Lists__Engineering__index",1993:"p__Shixuns__Detail__Dataset__ThemeChange__index",2045:"p__Engineering__Lists__TeacherList__index",2099:"p__Paperlibrary__ThemeChange__index",2102:"p__Classrooms__Lists__Board__Edit__index",2130:"p__Shixuns__Detail__Repository__UploadFile__ThemeChange__index",2141:"p__Shixuns__Detail__Split__index",2203:"p__Classrooms__ThemeChange__ShixunHomeworks",2216:"p__DataSet__Index__index",2240:"p__User__Detail__Videos__Upload__index",2281:"p__Paths__ThemeChange__Detail",2303:"p__Classrooms__Lists__CommonHomework__Comment__index",2307:"p__Report__index",2338:"p__Classrooms__Lists__CommonHomework__Review__index",2339:"p__virtualSpaces__Lists__Plan__Detail__index",2396:"p__User__Detail__ResourcesCenter__index",2404:"p__Classrooms__Lists__Template__teacher__index",2412:"p__User__Detail__Videos__index",2425:"p__Classrooms__Lists__Board__Detail__index",2443:"p__Graduations__Lists__StageModule__index",2476:"p__Colleges__index",2501:"p__Search__index",2524:"p__knowledgegraph__Detail__components__Content__components__AbilityMap__Detail__index",2539:"p__Graduations__Review__index",2548:"p__Engineering__Norm__Detail__index",2570:"p__Competitions__Detail__index",2603:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Add__index",2659:"p__User__Detail__UserPortrait__index",2707:"p__Innovation__MyDataSet__index",2806:"p__User__Detail__Topics__Exercise__Detail__index",2819:"p__Classrooms__Lists__Template__detail__index",2823:"p__Engineering__Navigation__Home__index",2829:"p__Messages__Private__index",2862:"p__User__ThemeChange__ExperImentImg",2865:"p__Innovation__MyMirror__index",2884:"p__Classrooms__Lists__ProgramHomework__Comment__index",3006:"p__Engineering__index",3086:"p__Shixuns__Detail__ForkList__ThemeChange__index",3141:"p__Innovation__Detail__index",3157:"p__User__Detail__ExperImentImg__Add__index",3183:"p__Engineering__Lists__GraduationIndex__index",3212:"p__MoopCases__index",3247:"p__Paperlibrary__See__index",3260:"p__Paperlibrary__Add__index",3276:"p__Classrooms__Lists__Statistics__UserportraitStatistics__index",3317:"p__Classrooms__Lists__Graduation__Topics__Add__index",3391:"p__Classrooms__Lists__ProgramHomework__Detail__components__CodeReview__Detail__index",3433:"p__Classrooms__Lists__Exercise__Sumup__Edit__index",3442:"p__Classrooms__Lists__Board__Add__index",3443:"p__knowledgegraph__Statistics__AbilityMap__Detail",3447:"p__User__Detail__Order__pages__orderInformation__index",3451:"p__Classrooms__Lists__Statistics__StudentStatistics__Detail__index",3509:"p__HttpStatus__SixActivities",3581:"p__Shixuns__Detail__Collaborators__ThemeChange__index",3585:"p__Classrooms__Lists__Statistics__StudentSituation__index",3668:"p__Classrooms__Lists__CommonHomework__Detail__index",3685:"p__knowledgegraph__Detail__components__Content__components__AbilityMap__Edit__index",3747:"p__virtualSpaces__Lists__Homepage__index",3784:"p__Paperlibrary__Random__Detail__index",3831:"p__User__ThemeChange__VirtualSpaces",3873:"p__virtualSpaces__Lists__Lesson__index",3910:"p__HttpStatus__introduction",3951:"p__Classrooms__Lists__ProgramHomework__Detail__index",3980:"p__Information__Add__index",4030:"p__Classrooms__Lists__ProgramHomework__AddAndEdit__index",4048:"p__Forums__ThemeChange__index",4056:"p__IntrainCourse__index",4078:"p__Messages__Tidings__index",4093:"p__Classrooms__Lists__Attendance__Detail__index",4105:"p__Classrooms__Lists__Exercise__Answer__index",4144:"p__Problemset__Preview__New__index",4164:"p__Classrooms__Lists__Exercise__Detail__index",4216:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Edit__index",4217:"p__Classrooms__Lists__Video__Statistics__index",4227:"p__Paths__Overview__index",4259:"p__User__Detail__Order__pages__result__index",4264:"p__Forums__New__index",4297:"p__Classrooms__ThemeChange__Polls",4339:"p__knowledgegraph__Statistics__PathAtlas__Detail",4420:"p__knowledgegraph__index",4449:"p__Competitions__Exports__index",4492:"p__Graduations__Lists__StudentSelection__index",4496:"p__HttpStatus__HpcCourse",4498:"p__Shixuns__Edit__body__Level__Challenges__NewPractice__index",4504:"p__virtualSpaces__Lists__Survey__index",4514:"p__Account__Results__index",4520:"p__Account__Secure__index",4546:"p__Engineering__Lists__TrainingProgram__Add__index",4572:"p__Classrooms__Lists__ExportList__index",4599:"p__Problemset__index",4610:"p__User__Detail__LearningPath__index",4621:"p__Administration__Profession__index",4662:"p__Classrooms__Lists__GroupHomework__Review__index",4715:"p__virtualSpaces__Lists__Material__Detail__index",4736:"p__User__Detail__Projects__index",4741:"p__Problems__OjForm__NewEdit__index",4757:"p__virtualSpaces__Lists__Workplace__index",4766:"p__Administration__index",4770:"p__Classrooms__Lists__ProgramHomework__Detail__answer__index",4795:"p__Classrooms__Lists__Graduation__Tasks__Add__index",4800:"p__Engineering__Lists__GraduatedMatrix__index",4888:"p__Information__index",4889:"p__Classrooms__Lists__Exercise__ImitateAnswer__index",4928:"p__Classrooms__Lists__LearningPath__index",4973:"p__Engineering__Evaluate__List__index",4994:"p__Problems__OjForm__index",5022:"p__Graduations__Lists__Settings__index",5043:"p__User__Detail__Topics__Poll__Edit__index",5048:"p__Classrooms__Lists__Graduation__Topics__index",5096:"p__Shixuns__Detail__AuditSituation__index",5111:"p__Terminal__index",5117:"p__User__ThemeChange__Certificate",5125:"p__Classrooms__Lists__Exercise__DetailedAnalysis__index",5148:"p__Classrooms__Lists__Polls__Answer__index",5165:"p__User__ThemeChange__Topics",5176:"p__User__Detail__Videos__Protocol__index",5177:"p__Classrooms__ThemeChange__Teachers",5179:"p__Administration__Student__Edit__index",5186:"p__Classrooms__Overview__index",5230:"p__Shixuns__Detail__Repository__AddFile__ThemeChange__index",5238:"p__virtualSpaces__Lists__Material__index",5297:"p__Classrooms__Lists__Exercise__Detail__components__DuplicateChecking__CheckDetail__index",5307:"p__Shixuns__ThemeChange__New",5319:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Detail__index",5330:"p__Classrooms__ThemeChange__ShixunHomeworksComment",5335:"p__Engineering__Lists__CourseMatrix__index",5357:"p__Engineering__Lists__TrainingProgram__Edit__index",5359:"p__Messages__Detail__index",5382:"p__DataSet__Detail__index",5402:"p__User__Detail__Topics__Detail__index",5466:"p__Classrooms__ThemeChange__LiveVideo",5518:"p__Classrooms__Lists__Template__index",5549:"p__Shixuns__New__CreateImg__index",5572:"p__Paths__HigherVocationalEducation__index",5573:"p__Shixuns__Detail__Merge__index",5624:"p__Graduations__Lists__Index__index",5650:"p__Competitions__Update__index",5694:"p__Classrooms__ThemeChange__ShixunHomeworksDetail",5705:"p__virtualSpaces__Lists__Construction__index",5729:"p__Help__Index",5775:"p__Engineering__Lists__Document__index",5776:"p__User__ThemeChange__RealNameCertification",5786:"layouts__LoginAndRegister__index",5798:"p__Classrooms__Lists__Video__Statistics__UserDetail__index",5800:"p__User__ThemeChange__Competitions",5816:"p__Paperlibrary__Random__Edit__index",5888:"p__Classrooms__Lists__CommonHomework__Add__index",5891:"p__virtualSpaces__Lists__Resources__index",5894:"p__Shixuns__Detail__Repository__Commit__ThemeChange__index",5915:"p__knowledgegraph__Detail__Statistics__index",5972:"layouts__user__index",5992:"p__Classrooms__Lists__Exercise__ReviewGroup__index",6029:"p__Administration__Student__index",6063:"p__Graduations__Lists__Personmanage__index",6069:"p__virtualSpaces__Lists__Lesson__Detail__index",6080:"p__Paths__ThemeChange__New",6127:"p__Classrooms__Lists__ProgramHomework__Ranking__index",6185:"p__Classrooms__ThemeChange__Announcement",6205:"p__Classrooms__ThemeChange__VideoUpload",6265:"p__virtualSpaces__Lists__Discussion__index",6270:"p__MyProblem__index",6282:"p__Classrooms__ThemeChange__ProgramHomework",6328:"p__Shixuns__Edit__body__Warehouse__index",6366:"p__Innovation__PublicProject__index",6434:"p__User__Detail__Order__pages__records__index",6444:"p__Video__Detail__id",6451:"p__Shixuns__Detail__RankingList__ThemeChange__index",6452:"p__Innovation__PublicDataSet__index",6583:"p__User__Detail__Classrooms__index",6587:"p__User__Detail__Videos__Protocol__resource",6634:"p__Innovation__Tasks__index",6637:"p__Shixuns__Detail__Repository__ThemeChange__index",6651:"p__Engineering__Evaluate__Detail__index",6682:"p__User__ThemeChange__Shixuns",6685:"p__Classrooms__Index__index",6729:"p__Classrooms__Lists__GroupHomework__Edit__index",6741:"p__Engineering__Norm__List__index",6776:"p__Classrooms__ThemeChange__Exercise",6784:"p__Innovation__Edit__index",6789:"p__Classrooms__ThemeChange__index",6796:"p__virtualSpaces__Lists__Announcement__Detail__index",6820:"p__User__Detail__Topics__Normal__index",6882:"p__Classrooms__New__StartClass__index",6904:"p__MoopCases__FormPanel__index",6913:"p__Question__AddOrEdit__index",6963:"p__Classrooms__Lists__Engineering__Detail__index",6979:"p__knowledgegraph__SanD__index",6988:"p__Information__Detail__index",7042:"p__knowledgegraph__Statistics__LearningPath__Detail",7043:"p__User__Detail__Topics__Exercise__Edit__index",7045:"p__Classrooms__Lists__CommonHomework__SubmitWork__index",7058:"p__virtualSpaces__Lists__Survey__Detail__index",7062:"layouts__SimpleLayouts",7099:"p__Competitions__ThemeChange__index",7178:"p__User__BindAccount__index",7182:"p__User__ResetPassword__index",7224:"p__StatsDashboard__index",7242:"p__Innovation__MyProject__index",7260:"p__Account__Certification__index",7289:"p__tasks__ThemeChange__index",7322:"layouts__ThemeChange__ShixunDetail",7323:"p__Classrooms__ThemeChange__New",7329:"p__Classrooms__ThemeChange__Attendance",7395:"p__Classrooms__Lists__Statistics__StudentDetail__index",7402:"p__User__ThemeChange__OtherResources",7460:"p__Question__OjProblem__index",7477:"p__virtualSpaces__Lists__Announcement__index",7482:"p__Classrooms__Lists__Exercise__Notice__index",7527:"p__MyProblem__RecordDetail__index",7545:"p__Graduations__Lists__Archives__index",7560:"p__Administration__College__index",7589:"p__virtualSpaces__Lists__DigitalTopics__index",7614:"p__Shixuns__Edit__body__Level__Challenges__RankingSetting__index",7622:"p__Classrooms__Lists__Polls__Detail__index",7806:"p__Classrooms__Lists__Statistics__StatisticsQuality__index",7835:"p__Problemset__ThemeChange__index",7855:"p__User__Detail__ResourcesCenter__Detail__index",7857:"p__Shixuns__Edit__body__Level__Challenges__NewQuestion__index",7883:"p__Classrooms__Lists__Exercise__WrongAnswer__index",7884:"p__Shixuns__Exports__index",7901:"p__Guidance__ThemeChange",7922:"p__Classrooms__Lists__CourseGroup__Detail__index",8062:"p__User__Detail__Topicbank__index",8072:"p__Classrooms__Lists__GroupHomework__SubmitWork__index",8085:"p__Classrooms__Lists__Exercise__Review__index",8115:"p__User__ThemeChange__DataSet",8137:"p__knowledgegraph__Statistics__PathAtlas__index",8143:"layouts__GraduationsDetail__index",8145:"p__User__ThemeChange__ClassManagementItem",8155:"p__Shixuns__Overview__index",8217:"p__User__ThemeChange__AccountInfoEdit",8237:"p__User__Detail__Order__pages__view__index",8241:"p__virtualSpaces__Lists__Plan__index",8286:"p__User__ThemeChange__ExperImentImgDetail",8332:"p__User__ThemeChange__Detail",8398:"p__virtualSpaces__Lists__Resources__Detail__index",8431:"p__Classrooms__Lists__Exercise__Export__index",8435:"p__Classrooms__Lists__Attendance__index",8447:"p__virtualSpaces__Lists__Knowledge__index",8458:"p__Classrooms__ThemeChange__CommonHomework",8479:"p__User__ThemeChange__TeachGroup",8517:"p__User__Detail__Topics__Group__index",8552:"p__Shixuns__ThemeChange__index",8563:"p__virtualSpaces__Lists__Discussion__Detail__index",8579:"p__Competitions__ThemeChange__Edit",8665:"p__Engineering__Lists__TrainingObjectives__index",8688:"p__Shixuns__Detail__Repository__index",8689:"p__Classrooms__Lists__Statistics__VideoStatistics__index",8723:"p__Classrooms__Lists__Polls__Edit__index",8787:"p__Competitions__Entered__index",8823:"p__knowledgegraph__Detail__id",8827:"p__Classrooms__Lists__OnlineLearning__index",8866:"p__index",8882:"p__Classrooms__Lists__Graduation__Tasks__Detail__index",8885:"p__Classrooms__Lists__Statistics__StudentStatistics__index",8965:"p__Shixuns__Detail__Discuss__ThemeChange__index",8999:"p__Three__index",9039:"p__Classrooms__ThemeChange__CourseGroup",9076:"p__Account__Binding__index",9205:"p__Shixuns__Edit__body__Level__Challenges__EditPracticeSetting__index",9366:"p__User__Login__index",9391:"p__Engineering__Lists__CurseSetting__index",9404:"monaco-editor",9406:"p__Classrooms__ThemeChange__Board",9416:"p__Graduations__Lists__Tasks__index",9449:"p__Shixuns__ThemeChange__Detail",9487:"p__LargeScreen__index",9489:"p__Engineering__Lists__CourseList__index",9507:"p__User__Detail__ResourceGuarantee__index",9511:"p__Shixuns__ThemeChange__Edit",9595:"p__knowledgegraph__Statistics__AbilityMap__index",9647:"p__Question__Index__index",9649:"p__Engineering__Lists__TrainingProgram__index",9674:"p__Shixuns__New__ImagePreview__index",9677:"p__virtualSpaces__Lists__Announcement__AddAndEdit__index",9695:"p__Classrooms__Lists__Polls__Add__index",9715:"p__Classrooms__Lists__CommonHomework__Edit__index",9716:"p__Question__OjProblem__RecordDetail__index",9785:"p__Classrooms__Lists__Template__student__index",9788:"p__Account__Profile__index",9814:"p__Shixuns__Detail__Challenges__ThemeChange__index",9891:"p__User__Detail__Videos__Success__index",9906:"p__Paths__ThemeChange__index",9921:"p__Classrooms__ExamList__index",9922:"p__Classrooms__Lists__Statistics__StudentVideo__index",9944:"p__Classrooms__Lists__Video__Statistics__StudentDetail__index"}[d]||d)+"."+{26:"91ed81ab",67:"249d60ed",109:"1a7fc455",119:"5a5d8480",195:"8bc56a44",201:"749be0d6",264:"5fd9b3fc",292:"8c3a8076",337:"497aa9e8",479:"bba9e475",485:"d63578fe",508:"82593858",518:"a22ced2d",532:"1e2e38ec",533:"308bfa22",547:"5581debc",556:"0e9c5cde",559:"c49aa5ba",576:"e4f97d42",643:"22ded693",680:"e67e9e01",700:"26166636",737:"98eb2f74",799:"b1dec428",879:"64e845d8",895:"ad846737",900:"5db55ef3",906:"d2399d94",919:"898b0443",921:"30cc7e9b",928:"0277270a",953:"ceeabce9",1006:"2263131d",1043:"e8c0878b",1045:"bce697db",1048:"dafc3f4f",1070:"e67e9e01",1077:"4749f7c5",1211:"bdb8faab",1253:"a97ebbb0",1257:"2c6cc63e",1276:"bbc6eeec",1343:"e4e2ebc7",1423:"5c4a76fc",1427:"3d93dfaa",1450:"1edcc2ed",1461:"82857f62",1470:"183c9793",1475:"01717533",1477:"08b9f795",1482:"d159af07",1490:"a0745791",1512:"f3653a35",1520:"f7300d0e",1545:"0da47095",1578:"efcb0bdc",1581:"efffd7c0",1582:"8e45b6ff",1651:"f43c37e5",1657:"49a2443a",1674:"fdbc1e05",1678:"c99d5f02",1713:"a4a3dbd7",1717:"488b6fa6",1727:"4eec53ba",1754:"1f751b14",1783:"4b6779fc",1798:"d4c3f3eb",1831:"12095e09",1836:"5f0d3f7f",1855:"b92cccb4",1880:"29bc2b98",1897:"35d10918",1939:"164385ec",1953:"d6d2346f",1962:"84e145fa",1993:"7cc7cf77",2045:"dcfad42d",2099:"69273354",2102:"ec61f9f0",2130:"50dfcc51",2141:"5eb2f330",2203:"6b55d48d",2216:"90f34d3c",2240:"e7cce869",2281:"ecea98be",2303:"5a9dc2b1",2307:"b2c54321",2338:"9f251b40",2339:"bf4c6e3d",2396:"1234f229",2404:"08d36549",2412:"4490ba2a",2425:"47b23ee4",2443:"2f614807",2476:"cf85a190",2501:"2441982c",2524:"6e1463fc",2539:"43c55c4d",2548:"75182034",2570:"ecab12cb",2603:"0277270a",2659:"f6071a36",2707:"cabcb16e",2806:"066a1e3c",2819:"9455b08a",2823:"a13b21fb",2829:"a5909474",2862:"67c37a4e",2865:"6ef3cf6b",2884:"405c2ef9",3006:"7fce4e74",3086:"d0ebac07",3141:"beff8d87",3157:"d0ba1925",3183:"b2253f40",3212:"ad1521c1",3247:"50105eb7",3260:"ee8e2fb8",3276:"7bbb651d",3317:"137440b7",3391:"f0e498fe",3433:"9a871026",3442:"bdf7849c",3443:"898b0443",3447:"1653d818",3451:"e3a31387",3509:"70043ca5",3581:"f3335635",3585:"5f288e7b",3668:"1a8ed604",3685:"5356e3de",3747:"c50b2b70",3784:"c81d4a51",3831:"4987c55d",3873:"9b32f93d",3910:"658d457f",3951:"9b11b034",3980:"02fcc53a",4030:"d3df931a",4048:"f9582bef",4056:"10eacfff",4078:"aa54548e",4093:"7d2dbef2",4105:"7f9d4513",4144:"f10aa199",4164:"2e8b2a11",4216:"0277270a",4217:"387bf824",4227:"79c3b323",4259:"ebd953ac",4264:"36917df0",4297:"0d7e3efe",4339:"9de29759",4420:"d1920d14",4449:"e68d8d58",4492:"9fd5ba05",4496:"77babddd",4498:"e1d76eaf",4504:"b05222a6",4514:"887bdbb6",4520:"e86d61a1",4546:"4101a1f2",4572:"70e5675d",4599:"6327db8f",4610:"687005a6",4621:"4c789bfa",4662:"30b29314",4715:"cf749061",4736:"aa2d53d9",4741:"c51f7784",4757:"73b754d2",4766:"b5df5a8e",4770:"674b2d2a",4795:"939f9f81",4800:"f50302a4",4888:"1206b858",4889:"a91da64a",4928:"7c2ece62",4973:"129c56e8",4994:"a8674b97",5022:"81b1b86b",5043:"247e6954",5048:"aa08c681",5096:"4f6a4d00",5111:"5d09a39a",5117:"4358a2fb",5125:"57501e4a",5148:"572faeac",5165:"dc6d9bc6",5176:"9c49e7fa",5177:"b612c017",5179:"699b44a8",5186:"30047116",5230:"94dfecf3",5238:"694000a4",5297:"5426028f",5307:"edd49aa8",5319:"34217c3f",5330:"5b911c36",5335:"fec6fd9f",5357:"1fbb7d24",5359:"b254a598",5382:"28b79a42",5402:"68063d1e",5466:"90694dbb",5518:"9f425be3",5549:"39285664",5572:"c945fbf2",5573:"6ecf393c",5624:"685b3a03",5650:"f8f63f4b",5694:"fc68e7f6",5705:"df6bf207",5729:"46f9b5d4",5775:"8945cad2",5776:"e07b4b49",5786:"37a81eaa",5798:"ce1cf7da",5800:"f214b296",5816:"2fe25dcc",5888:"193a7f8f",5891:"2f4cf052",5894:"4faa35bb",5915:"bc9c3e69",5972:"5a946d1e",5992:"419f5d2f",6029:"3f8b2a62",6063:"2c0a986c",6069:"5e1528e7",6080:"4e17dacd",6127:"f31505a8",6185:"4617aa93",6205:"6eef461f",6265:"ab7c4ade",6270:"5496b206",6282:"37b2b2dd",6328:"de2b9d62",6366:"079fc2d8",6434:"c5a95b1e",6444:"fd46d237",6451:"949d91e5",6452:"50a6d310",6583:"56bd7407",6587:"9c49e7fa",6634:"20d7dcef",6637:"cd627031",6651:"b07fe216",6682:"d2765c91",6685:"cc9a5255",6729:"aea3b7f5",6741:"b838eb14",6776:"e7f1be47",6784:"1affe817",6789:"bb555561",6796:"88ef2b35",6820:"cebdf1cf",6882:"c2d2eada",6904:"44afaa9b",6913:"739202fe",6963:"84e145fa",6979:"a619b685",6988:"d1510090",7042:"898b0443",7043:"25478869",7045:"48f6fc4c",7058:"7c5ff3cf",7062:"76d743b7",7099:"e6e46152",7178:"6e47d75d",7182:"183c9793",7224:"7caf9754",7242:"4f353f61",7260:"2c380d56",7289:"c6aafe55",7322:"8c1bddb9",7323:"6abde4ad",7329:"4677c004",7395:"ff574c5d",7402:"c3bf3e69",7460:"dedd2038",7477:"b45b8d42",7482:"c37a3f01",7527:"a4765b7e",7545:"88c2815e",7560:"d82e43ca",7589:"5abfc7e4",7614:"de9ee12f",7622:"79b56687",7722:"03cdfb68",7806:"80b7b1d6",7835:"b70268cc",7855:"d9440df4",7857:"13a29416",7883:"93cf27b2",7884:"1ca6cde0",7901:"7f54315c",7922:"49f2762f",8062:"8e384b9f",8072:"540f746b",8085:"a1cadc76",8115:"47861430",8137:"66f37f26",8143:"baf130b5",8145:"0eefaae0",8155:"d345abd7",8217:"000115b7",8237:"cc24fd46",8241:"c8299739",8286:"4b01dd59",8332:"ed1a1f89",8398:"7bb61fdd",8431:"289b326c",8435:"c54dbac3",8447:"9c541ee4",8458:"ddd4164b",8479:"ef522a60",8517:"cccfddad",8552:"208da293",8563:"b1f16cfe",8579:"c4e34db8",8665:"c52575bc",8688:"c044db56",8689:"38303690",8723:"77277ca8",8787:"121de108",8823:"75b63dcd",8827:"14015163",8866:"223de787",8882:"f3e42f72",8885:"de905169",8965:"f169309d",8999:"448aa22f",9039:"4e72f6be",9076:"6a501148",9205:"49a3e67d",9366:"4f511490",9391:"c11edda0",9404:"d8cf04f7",9406:"df76000e",9416:"bc1cc3b9",9449:"aefaca43",9487:"a73f5679",9489:"ee2bb5b7",9507:"af07d346",9511:"cd820ced",9595:"898b0443",9647:"bea72042",9649:"00fb4211",9674:"5f24eb80",9677:"18c220c4",9695:"7288e7ae",9715:"b6c6645f",9716:"a5750e0d",9785:"08d36549",9788:"781a4d20",9814:"9f959c59",9891:"512a9301",9906:"c603619a",9921:"e0db9101",9922:"33690872",9944:"1ba31055"}[d]+".chunk.css"}}(),function(){__webpack_require__.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch(d){if(typeof window=="object")return window}}()}(),function(){__webpack_require__.hmd=function(d){return d=Object.create(d),d.children||(d.children=[]),Object.defineProperty(d,"exports",{enumerable:!0,set:function(){throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+d.id)}}),d}}(),function(){__webpack_require__.o=function(d,_){return Object.prototype.hasOwnProperty.call(d,_)}}(),function(){var d={};__webpack_require__.l=function(_,e,r,i){if(d[_]){d[_].push(e);return}var l,c;if(r!==void 0)for(var f=document.getElementsByTagName("script"),u=0;u0&&arguments[0]!==void 0?arguments[0]:"";return Fn.endsWith("/")?Fn:"".concat(Fn,"/")}var dc=__webpack_require__(38127),hc=__webpack_require__(38329),al=__webpack_require__(8616),sl=["content"],Mu=["content"],yf=/^(http:|https:)?\/\//;function pc(Fn){return yf.test(Fn)||Fn.startsWith("/")&&!Fn.startsWith("/*")||Fn.startsWith("./")||Fn.startsWith("../")}var Cu=function(){return Me.createElement("noscript",{dangerouslySetInnerHTML:{__html:"Enable JavaScript to run this app."}})},yl=function(ri){var Ki,Ma=ri.loaderData,sa=ri.htmlPageOpts,Ea=ri.manifest,va=(Ea==null||(Ki=Ea.assets)===null||Ki===void 0?void 0:Ki["umi.css"])||"";return Me.createElement("script",{suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:"window.__UMI_LOADER_DATA__ = ".concat(JSON.stringify(Ma||{}),"; window.__UMI_METADATA_LOADER_DATA__ = ").concat(JSON.stringify(sa||{}),"; window.__UMI_BUILD_ClIENT_CSS__ = '").concat(va,"'")}})};function Fu(Fn){var ri=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(typeof Fn=="string")return pc(Fn)?(0,bo.Z)({src:Fn},ri):{content:Fn};if((0,al.Z)(Fn)==="object")return(0,bo.Z)((0,bo.Z)({},Fn),ri);throw new Error("Invalid script type: ".concat((0,al.Z)(Fn)))}function zf(Fn){return pc(Fn)?{type:"link",href:Fn}:{type:"style",content:Fn}}var Jc=function(ri){var Ki,Ma,sa,Ea,va,Bs,oa=ri.htmlPageOpts;return Me.createElement(Me.Fragment,null,(oa==null?void 0:oa.title)&&Me.createElement("title",null,oa.title),oa==null||(Ki=oa.favicons)===null||Ki===void 0?void 0:Ki.map(function(Us,Ju){return Me.createElement("link",{key:Ju,rel:"shortcut icon",href:Us})}),(oa==null?void 0:oa.description)&&Me.createElement("meta",{name:"description",content:oa.description}),(oa==null||(Ma=oa.keywords)===null||Ma===void 0?void 0:Ma.length)&&Me.createElement("meta",{name:"keywords",content:oa.keywords.join(",")}),oa==null||(sa=oa.metas)===null||sa===void 0?void 0:sa.map(function(Us){return Me.createElement("meta",{key:Us.name,name:Us.name,content:Us.content})}),oa==null||(Ea=oa.links)===null||Ea===void 0?void 0:Ea.map(function(Us,Ju){return Me.createElement("link",(0,hc.Z)({key:Ju},Us))}),oa==null||(va=oa.styles)===null||va===void 0?void 0:va.map(function(Us,Ju){var ul=zf(Us),wl=ul.type,el=ul.href,jl=ul.content;if(wl==="link")return Me.createElement("link",{key:Ju,rel:"stylesheet",href:el});if(wl==="style")return Me.createElement("style",{key:Ju},jl)}),oa==null||(Bs=oa.headScripts)===null||Bs===void 0?void 0:Bs.map(function(Us,Ju){var ul=Fu(Us),wl=ul.content,el=(0,dc.Z)(ul,sl);return Me.createElement("script",(0,hc.Z)({dangerouslySetInnerHTML:{__html:wl},key:Ju},el))}))};function Vo(Fn){var ri,Ki=Fn.children,Ma=Fn.loaderData,sa=Fn.manifest,Ea=Fn.htmlPageOpts,va=Fn.__INTERNAL_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Bs=Fn.mountElementId;if(va!=null&&va.pureHtml)return Me.createElement("html",null,Me.createElement("head",null,Me.createElement(Jc,{htmlPageOpts:Ea})),Me.createElement("body",null,Me.createElement(Cu,null),Me.createElement("div",{id:Bs},Ki),Me.createElement(yl,{manifest:sa,loaderData:Ma,htmlPageOpts:Ea})));if(va!=null&&va.pureApp)return Me.createElement(Me.Fragment,null,Ki);var oa=typeof window=="undefined"?sa==null?void 0:sa.assets["umi.css"]:window.__UMI_BUILD_ClIENT_CSS__;return Me.createElement("html",{suppressHydrationWarning:!0,lang:(Ea==null?void 0:Ea.lang)||"en"},Me.createElement("head",null,Me.createElement("meta",{charSet:"utf-8"}),Me.createElement("meta",{name:"viewport",content:"width=device-width, initial-scale=1"}),oa&&Me.createElement("link",{suppressHydrationWarning:!0,rel:"stylesheet",href:oa}),Me.createElement(Jc,{htmlPageOpts:Ea})),Me.createElement("body",null,Me.createElement(Cu,null),Me.createElement("div",{id:Bs},Ki),Me.createElement(yl,{manifest:sa,loaderData:Ma,htmlPageOpts:Ea}),Ea==null||(ri=Ea.scripts)===null||ri===void 0?void 0:ri.map(function(Us,Ju){var ul=Fu(Us),wl=ul.content,el=(0,dc.Z)(ul,Mu);return Me.createElement("script",(0,hc.Z)({dangerouslySetInnerHTML:{__html:wl},key:Ju},el))})))}var Ml=Me.createContext(void 0);function Rc(){return Me.useContext(Ml)}var mc=["redirect"];function vc(Fn){var ri=Fn.routesById,Ki=Fn.parentId,Ma=Fn.routeComponents,sa=Fn.useStream,Ea=sa===void 0?!0:sa;return Object.keys(ri).filter(function(va){return ri[va].parentId===Ki}).map(function(va){var Bs=gc((0,bo.Z)((0,bo.Z)({route:ri[va],routeComponent:Ma[va],loadingComponent:Fn.loadingComponent,reactRouter5Compat:Fn.reactRouter5Compat},Fn.reactRouter5Compat&&{hasChildren:Object.keys(ri).filter(function(Us){return ri[Us].parentId===va}).length>0}),{},{useStream:Ea})),oa=vc({routesById:ri,routeComponents:Ma,parentId:Bs.id,loadingComponent:Fn.loadingComponent,reactRouter5Compat:Fn.reactRouter5Compat,useStream:Ea});return oa.length>0&&(Bs.children=oa,Bs.routes=oa),Bs})}function _c(Fn){var ri=(0,Au.UO)(),Ki=(0,Au.Gn)(Fn.to,ri),Ma=(0,fc.T$)(),sa=(0,Au.TH)();if(Ma!=null&&Ma.keepQuery){var Ea=sa.search+sa.hash;Ki+=Ea}var va=(0,bo.Z)((0,bo.Z)({},Fn),{},{to:Ki});return Me.createElement(Au.Fg,(0,hc.Z)({replace:!0},va))}function gc(Fn){var ri=Fn.route,Ki=Fn.useStream,Ma=Ki===void 0?!0:Ki,sa=ri.redirect,Ea=(0,dc.Z)(ri,mc),va=Fn.reactRouter5Compat?Lc:ql;return(0,bo.Z)({element:sa?Me.createElement(_c,{to:sa}):Me.createElement(Ml.Provider,{value:{route:Fn.route}},Me.createElement(va,{loader:Me.memo(Fn.routeComponent),loadingComponent:Fn.loadingComponent||Rf,hasChildren:Fn.hasChildren,useStream:Ma}))},Ea)}function Rf(){return Me.createElement("div",null)}function Lc(Fn){var ri=Rc(),Ki=ri.route,Ma=(0,fc.Ov)(),sa=Ma.history,Ea=Ma.clientRoutes,va=(0,Au.UO)(),Bs={params:va,isExact:!0,path:Ki.path,url:sa.location.pathname},oa=Fn.loader,Us={location:sa.location,match:Bs,history:sa,params:va,route:Ki,routes:Ea};return Fn.useStream?Me.createElement(Me.Suspense,{fallback:Me.createElement(Fn.loadingComponent,null)},Me.createElement(oa,Us,Fn.hasChildren&&Me.createElement(Au.j3,null))):Me.createElement(oa,Us,Fn.hasChildren&&Me.createElement(Au.j3,null))}function ql(Fn){var ri=Fn.loader;return Fn.useStream?Me.createElement(Me.Suspense,{fallback:Me.createElement(Fn.loadingComponent,null)},Me.createElement(ri,null)):Me.createElement(ri,null)}var Ql=null;function bf(){return Ql}function ef(Fn){var ri=Fn.history,Ki=Me.useState({action:ri.action,location:ri.location}),Ma=(0,Lu.Z)(Ki,2),sa=Ma[0],Ea=Ma[1];return(0,Me.useLayoutEffect)(function(){return ri.listen(Ea)},[ri]),(0,Me.useLayoutEffect)(function(){function va(Bs){Fn.pluginManager.applyPlugins({key:"onRouteChange",type:"event",args:{routes:Fn.routes,clientRoutes:Fn.clientRoutes,location:Bs.location,action:Bs.action,basename:Fn.basename,isFirst:!!Bs.isFirst}})}return va({location:sa.location,action:sa.action,isFirst:!0}),ri.listen(va)},[ri,Fn.routes,Fn.clientRoutes]),Me.createElement(Au.F0,{navigator:ri,location:sa.location,basename:Fn.basename},Fn.children)}function ol(){var Fn=(0,fc.Ov)(),ri=Fn.clientRoutes;return(0,Au.V$)(ri)}var yc=["innerProvider","i18nProvider","accessProvider","dataflowProvider","outerProvider","rootContainer"],bc=function(ri,Ki){var Ma=ri.basename||"/",sa=vc({routesById:ri.routes,routeComponents:ri.routeComponents,loadingComponent:ri.loadingComponent,reactRouter5Compat:ri.reactRouter5Compat,useStream:ri.useStream});ri.pluginManager.applyPlugins({key:"patchClientRoutes",type:"event",args:{routes:sa}});for(var Ea=Me.createElement(ef,{basename:Ma,pluginManager:ri.pluginManager,routes:ri.routes,clientRoutes:sa,history:ri.history},Ki),va=0,Bs=yc;vanew Promise((Ma,sa)=>{var Ea=oa=>{try{Bs(Ki.next(oa))}catch(Us){sa(Us)}},va=oa=>{try{Bs(Ki.throw(oa))}catch(Us){sa(Us)}},Bs=oa=>oa.done?Ma(oa.value):Promise.resolve(oa.value).then(Ea,va);Bs((Ki=Ki.apply(Fn,ri)).next())});function xf(){return Fc(this,null,function*(){return{routes:{1:{path:"/",parentId:"@@/global-layout",id:"1"},2:{path:"/paperlibrary",parentId:"1",id:"2"},3:{path:"/paperlibrary",parentId:"2",id:"3"},4:{path:"/paperlibrary/add",parentId:"2",id:"4"},5:{path:"/paperlibrary/add/:id",parentId:"2",id:"5"},6:{path:"/paperlibrary/see/:id",parentId:"2",id:"6"},7:{path:"/paperlibrary/edit_select/:id",parentId:"2",id:"7"},8:{path:"/paperlibrary/exchangequestion",parentId:"2",id:"8"},9:{path:"/paths",parentId:"1",id:"9"},10:{path:"/paths",parentId:"9",id:"10"},11:{path:"/paths/higherVocationalEducation",parentId:"9",id:"11"},12:{path:"/paths/new",parentId:"9",id:"12"},13:{path:"/paths/guidance",exact:!0,parentId:"9",id:"13"},14:{path:"/paths/:pathId",parentId:"9",id:"14"},15:{path:"/paths/:pathId/statistics",parentId:"9",id:"15"},16:{path:"/paths/:pathId/edit",parentId:"9",id:"16"},17:{path:"/paths/:pathId/:stageId/program_homework/:categoryId/add",parentId:"9",id:"17"},18:{path:"/paths/:pathId/:stageId/program_homework/:categoryId/edit",parentId:"9",id:"18"},19:{path:"/classrooms",parentId:"1",id:"19"},20:{path:"/classrooms",parentId:"19",id:"20"},21:{path:"/classrooms/examList",parentId:"19",id:"21"},22:{path:"/classrooms/classicCases",parentId:"19",id:"22"},23:{path:"/classrooms/index",parentId:"19",id:"23"},24:{path:"/classrooms/new",parentId:"19",id:"24"},25:{path:"/classrooms/:coursesId/edit",parentId:"19",id:"25"},26:{path:"/classrooms/news/:subjectid/newgold/:id",parentId:"19",id:"26"},27:{path:"/classrooms/:coursesId/newgolds/settings",parentId:"19",id:"27"},28:{path:"/classrooms/:coursesId/shixun_homework/:categoryId/review_detail/:userId",parentId:"19",id:"28"},29:{path:"/classrooms/:coursesId/common_homework/:categoryId/review_detail/:userId",parentId:"19",id:"29"},30:{path:"/classrooms/:coursesId/program_homework/:categoryId/review_detail/:userId",parentId:"19",id:"30"},31:{path:"/classrooms/:coursesId/shixun_homework/:categoryId/detail",parentId:"19",id:"31"},32:{path:"/classrooms/:coursesId/shixun_homework/:categoryId/:homeworkId/comment",parentId:"19",id:"32"},33:{path:"/classrooms/:coursesId/common_homework/:categoryId/:homeworkId/comment",parentId:"19",id:"33"},34:{path:"/classrooms/:coursesId/shixun_homework/:categoryId/:homeworkId/commitsummary",parentId:"19",id:"34"},35:{path:"/classrooms/:coursesId/group_homework/:categoryId/detail",parentId:"19",id:"35"},36:{path:"/classrooms/:coursesId/common_homework/:categoryId/detail",parentId:"19",id:"36"},37:{path:"/classrooms/:coursesId/common_homework/:categoryId/review/:userId",parentId:"19",id:"37"},38:{path:"/classrooms/:coursesId/group_homework/:commonHomeworkId/review/:userId",parentId:"19",id:"38"},39:{path:"/classrooms/:coursesId/group_homework/:commonHomeworkId/post",parentId:"19",id:"39"},40:{path:"/classrooms/:coursesId/group_homework/:commonHomeworkId/:homeworkId/edit",parentId:"19",id:"40"},41:{path:"/classrooms/:coursesId/exercise/:categoryId/detail/:userId/review_detail",parentId:"19",id:"41"},42:{path:"/classrooms/:coursesId/exercise/:categoryId/detail",parentId:"19",id:"42"},43:{path:"/classrooms/:coursesId/exercise/:categoryId/preview_select",parentId:"19",id:"43"},44:{path:"/classrooms/:coursesId/exercise/:categoryId/:login/initate_answer",parentId:"19",id:"44"},45:{path:"/classrooms/:coursesId/exercise/:categoryId/users/:login",parentId:"19",id:"45"},46:{path:"/classrooms/:coursesId/exercise/:categoryId/wrongAnswer/:login",parentId:"19",id:"46"},47:{path:"/classrooms/:coursesId/exercisenotice/:categoryId/users/:login",parentId:"19",id:"47"},48:{path:"/classrooms/:coursesId/exercise/:categoryId/random/edit",parentId:"19",id:"48"},49:{path:"/classrooms/:coursesId/exercise/:categoryId/random/preview",parentId:"19",id:"49"},50:{path:"/classrooms/:coursesId/exercise/add",parentId:"19",id:"50"},51:{path:"/classrooms/:coursesId/exercise/add/:exerciseId",parentId:"19",id:"51"},52:{path:"/classrooms/:coursesId/exercise/:exerciseId/reviews/group",parentId:"19",id:"52"},53:{path:"/classrooms/:coursesId/exercise/:exerciseId/review/:userId",parentId:"19",id:"53"},54:{path:"/classrooms/:coursesId/exercise/:exerciseId/centralizeReview/:userId",parentId:"19",id:"54"},55:{path:"/classrooms/:coursesId/exercise/:exerciseId/export_blank",parentId:"19",id:"55"},56:{path:"/classrooms/:coursesId/exercise/:exerciseId/sumup",parentId:"19",id:"56"},57:{path:"/classrooms/:coursesId/exercise/:exerciseId/sumup/edit",parentId:"19",id:"57"},58:{path:"/classrooms/:coursesId/exercise/:exerciseId/analysis/:studentId",parentId:"19",id:"58"},59:{path:"/classrooms/:coursesId/shixun_homework/:exerciseId/analysis/:studentId",parentId:"19",id:"59"},60:{path:"/classrooms/:coursesId/exercise/:exerciseId/analysis/:studentId/code",parentId:"19",id:"60"},61:{path:"/classrooms/:coursesId/shixun_homework/:exerciseId/analysis/:studentId/code",parentId:"19",id:"61"},62:{path:"/classrooms/:coursesId/graduation_topics/:categoryId/detail",parentId:"19",id:"62"},63:{path:"/classrooms/:coursesId/graduation_topics/:categoryId/add",parentId:"19",id:"63"},64:{path:"/classrooms/:coursesId/graduation_topics/:categoryId/edit",parentId:"19",id:"64"},65:{path:"/classrooms/:coursesId/graduation_tasks/:categoryId/add",parentId:"19",id:"65"},66:{path:"/classrooms/:coursesId/graduation_tasks/:categoryId/edit",parentId:"19",id:"66"},67:{path:"/classrooms/:coursesId/graduation_tasks/:categoryId/detail",parentId:"19",id:"67"},68:{path:"/classrooms/:coursesId/common_homework/:categoryId/add",parentId:"19",id:"68"},69:{path:"/classrooms/:coursesId/common_homework/:categoryId/edit",parentId:"19",id:"69"},70:{path:"/classrooms/:coursesId/common_homework/:commonHomeworkId/post",parentId:"19",id:"70"},71:{path:"/classrooms/:coursesId/common_homework/:commonHomeworkId/:homeworkId/edit",parentId:"19",id:"71"},72:{path:"/classrooms/:coursesId/group_homework/:categoryId/add",parentId:"19",id:"72"},73:{path:"/classrooms/:coursesId/group_homework/:categoryId/edit",parentId:"19",id:"73"},74:{path:"/classrooms/:coursesId/poll/:categoryId/add",parentId:"19",id:"74"},75:{path:"/classrooms/:coursesId/poll/:categoryId/edit",parentId:"19",id:"75"},76:{path:"/classrooms/:coursesId/poll/:categoryId/detail",parentId:"19",id:"76"},77:{path:"/classrooms/:coursesId/poll/:categoryId/users/:login",parentId:"19",id:"77"},78:{path:"/classrooms/:coursesId/poll/:categoryId/questionnaireInfo/:login",parentId:"19",id:"78"},79:{path:"/classrooms/:coursesId/board/:categoryId/Add",parentId:"19",id:"79"},80:{path:"/classrooms/:coursesId/board/:categoryId/Edit/:boardId",parentId:"19",id:"80"},81:{path:"/classrooms/:coursesId/board/:categoryId/Detail/:boardId",parentId:"19",id:"81"},82:{path:"/classrooms/:courseId/template/:templateId",parentId:"19",id:"82"},83:{path:"/classrooms/:courseId/common_homework/:homeworkId/lab-report/:reportId",parentId:"19",id:"83"},84:{path:"/classrooms/guidance",parentId:"19",id:"84"},85:{path:"/classrooms/:courseId/common_homework/:homeworkId/lab-report-view/:workId",parentId:"19",id:"85"},86:{path:"/classrooms/:coursesId/exercise/:categoryId/users/:login/check",parentId:"19",id:"86"},87:{path:"/classrooms/:coursesId/Studentdetail/:login",parentId:"19",id:"87"},88:{path:"/classrooms/:coursesId/StudentSituation/:categoryId/:login",parentId:"19",id:"88"},89:{path:"/classrooms/:coursesId/engineering/datail",parentId:"19",id:"89"},90:{path:"/classrooms/:coursesId/program_homework/:categoryId/add",parentId:"19",id:"90"},91:{path:"/classrooms/:coursesId/program_homework/:categoryId/edit",parentId:"19",id:"91"},92:{path:"/classrooms/:coursesId/program_homework/ranking",parentId:"19",id:"92"},93:{path:"/classrooms/:coursesId/program_homework/:categoryId/detail",parentId:"19",id:"93"},94:{path:"/classrooms/:coursesId/program_homework/:categoryId/:homeworkId/ranking",parentId:"19",id:"94"},95:{path:"/classrooms/:coursesId/program_homework/:categoryId/:homeworkId/:user_id/comment",parentId:"19",id:"95"},96:{path:"/classrooms/:coursesId/program_homework/:categoryId/answer",parentId:"19",id:"96"},97:{path:"/classrooms/:coursesId/program_homework/:categoryId/answer/add",parentId:"19",id:"97"},98:{path:"/classrooms/:coursesId/program_homework/:categoryId/answer/:answerid/edit",parentId:"19",id:"98"},99:{path:"/classrooms/:coursesId/program_homework/:categoryId/answer/:answerid/detail",parentId:"19",id:"99"},100:{path:"/classrooms/:videoId/video_info",parentId:"19",id:"100"},101:{path:"/classrooms/",parentId:"19",id:"101"},102:{path:"/classrooms/:coursesId/shixun_homework/:categoryId",parentId:"101",id:"102"},103:{path:"/classrooms/:coursesId/shixun_homework",parentId:"101",id:"103"},104:{path:"/classrooms/:coursesId/graduation_topics/:categoryId",parentId:"101",id:"104"},105:{path:"/classrooms/:coursesId/graduation_tasks/:categoryId",parentId:"101",id:"105"},106:{path:"/classrooms/:coursesId/graduation_tasks/:categoryId",parentId:"101",id:"106"},107:{path:"/classrooms/:coursesId/exercise/:categoryId",parentId:"101",id:"107"},108:{path:"/classrooms/:coursesId/exercise",parentId:"101",id:"108"},109:{path:"/classrooms/:coursesId/poll/:categoryId",parentId:"101",id:"109"},110:{path:"/classrooms/:coursesId/poll",parentId:"101",id:"110"},111:{path:"/classrooms/:coursesId/common_homework/:categoryId",parentId:"101",id:"111"},112:{path:"/classrooms/:coursesId/common_homework",parentId:"101",id:"112"},113:{path:"/classrooms/:coursesId/group_homework/:categoryId",parentId:"101",id:"113"},114:{path:"/classrooms/:coursesId/group_homework",parentId:"101",id:"114"},115:{path:"/classrooms/:coursesId/teachers",parentId:"101",id:"115"},116:{path:"/classrooms/:coursesId/students",parentId:"101",id:"116"},117:{path:"/classrooms/:coursesId/assistant",parentId:"101",id:"117"},118:{path:"/classrooms/:coursesId/program_homework",parentId:"101",id:"118"},119:{path:"/classrooms/:coursesId/program_homework/:categoryId",parentId:"101",id:"119"},120:{path:"/classrooms/:coursesId/engineering",parentId:"101",id:"120"},121:{path:"/classrooms/:coursesId/learning_path",parentId:"101",id:"121"},122:{path:"/classrooms/:coursesId/resource_recommend",parentId:"101",id:"122"},123:{path:"/classrooms/:coursesId/attendance",parentId:"101",id:"123"},124:{path:"/classrooms/:coursesId/attendance/StudetnSign",parentId:"101",id:"124"},125:{path:"/classrooms/:coursesId/attendance/:categoryId/:tabId/detail",parentId:"101",id:"125"},126:{path:"/classrooms/:coursesId/announcement",parentId:"101",id:"126"},127:{path:"/classrooms/:coursesId/announcement/:categoryId",parentId:"101",id:"127"},128:{path:"/classrooms/:coursesId/online_learning",parentId:"101",id:"128"},129:{path:"/classrooms/:coursesId/online_learning/:categoryId",parentId:"101",id:"129"},130:{path:"/classrooms/:coursesId/attachment/:categoryId",parentId:"101",id:"130"},131:{path:"/classrooms/:coursesId/attachment",parentId:"101",id:"131"},132:{path:"/classrooms/:coursesId/video",parentId:"101",id:"132"},133:{path:"/classrooms/:coursesId/video/:categoryId",parentId:"101",id:"133"},134:{path:"/classrooms/:coursesId/video/:categoryId/statistics",parentId:"101",id:"134"},135:{path:"/classrooms/:coursesId/video/:username/upload",parentId:"101",id:"135"},136:{path:"/classrooms/:coursesId/video/:categoryId/statistics/:videoId",parentId:"101",id:"136"},137:{path:"/classrooms/:coursesId/video/:categoryId/statistics/:videoId/:userId",parentId:"101",id:"137"},138:{path:"/classrooms/:coursesId/live_video/:categoryId",parentId:"101",id:"138"},139:{path:"/classrooms/:coursesId/live_video",parentId:"101",id:"139"},140:{path:"/classrooms/:coursesId/video/:categoryId/studentstatistics",parentId:"101",id:"140"},141:{path:"/classrooms/:coursesId/board/:categoryId",parentId:"101",id:"141"},142:{path:"/classrooms/:coursesId/board",parentId:"101",id:"142"},143:{path:"/classrooms/:coursesId/course_group",parentId:"101",id:"143"},144:{path:"/classrooms/:coursesId/course_group/:categoryId",parentId:"101",id:"144"},145:{path:"/classrooms/:coursesId/course_group/:categoryId/detail",parentId:"101",id:"145"},146:{path:"/classrooms/:coursesId/not_course_group/:categoryId",parentId:"101",id:"146"},147:{path:"/classrooms/:coursesId/not_course_group",parentId:"101",id:"147"},148:{path:"/classrooms/:coursesId/statistics/",parentId:"101",id:"148"},149:{path:"/classrooms/:coursesId/statistics/:categoryId",parentId:"101",id:"149"},150:{path:"/classrooms/:coursesId/statistics_video/:categoryId",parentId:"101",id:"150"},151:{path:"/classrooms/:coursesId/statistics_quality/:categoryId",parentId:"101",id:"151"},152:{path:"/classrooms/:coursesId/statistics_user_portrait/:categoryId",parentId:"101",id:"152"},153:{path:"/classrooms/:coursesId/student_statistics/:categoryId",parentId:"101",id:"153"},154:{path:"/classrooms/:coursesId/student_statistics/:categoryId/:listId/:type",parentId:"101",id:"154"},155:{path:"/classrooms/:coursesId/video_statistics/:categoryId/Student/:studentid",parentId:"101",id:"155"},156:{path:"/classrooms/:coursesId/exportlist/:type",parentId:"101",id:"156"},157:{path:"/classrooms/:coursesId",parentId:"101",id:"157"},158:{path:"/classrooms/:coursesId/template",parentId:"101",id:"158"},159:{path:"/competitions",parentId:"1",id:"159"},160:{path:"/competitions/index",parentId:"159",id:"160"},161:{path:"/competitions/:identifier/list",parentId:"159",id:"161"},162:{path:"/competitions/exports",parentId:"159",id:"162"},163:{path:"/competitions",parentId:"159",id:"163"},164:{path:"/competitions/:identifier",parentId:"159",id:"164"},165:{path:"/competitions/index/:identifier",parentId:"159",id:"165"},166:{path:"/competitions/:identifier/detail/enroll",parentId:"159",id:"166"},167:{path:"/competitions/:identifier/detail/UpdateTeanname/:Teannameid",parentId:"159",id:"167"},168:{path:"/competitions/:identifier/detail/teamDetail/:Teamid",parentId:"159",id:"168"},169:{path:"/competitions/detail/:identifier",parentId:"159",id:"169"},170:{path:"/forums",parentId:"1",id:"170"},171:{path:"/forums",parentId:"170",id:"171"},172:{path:"/forums/categories/:memoType",parentId:"170",id:"172"},173:{path:"/forums/new",parentId:"170",id:"173"},174:{path:"/forums/:memoId/edit",parentId:"170",id:"174"},175:{path:"/forums/:memoId",parentId:"170",id:"175"},176:{path:"/problemset",parentId:"1",id:"176"},177:{path:"/problemset",parentId:"176",id:"177"},178:{path:"/problemset/newitem",parentId:"176",id:"178"},179:{path:"/problemset/:type/:id",parentId:"176",id:"179"},180:{path:"/problemset/preview",parentId:"176",id:"180"},181:{path:"/problemset/preview_new",parentId:"176",id:"181"},182:{path:"/problemset/preview_select",parentId:"176",id:"182"},183:{path:"/shixuns",parentId:"1",id:"183"},184:{path:"/shixuns",parentId:"183",id:"184"},185:{path:"/shixuns/exports",parentId:"183",id:"185"},186:{path:"/shixuns/new",parentId:"183",id:"186"},187:{path:"/shixuns/new/CreateImg",parentId:"183",id:"187"},188:{path:"/shixuns/new/:id/imagepreview",parentId:"183",id:"188"},189:{path:"/shixuns/:id/Merge",parentId:"183",id:"189"},190:{path:"/shixuns/:id/Split",parentId:"183",id:"190"},191:{path:"/shixuns/:id/edit",parentId:"183",id:"191"},192:{path:"shixuns/:id/edit/warehouse",parentId:"191",id:"192"},193:{path:"/shixuns/:id/edit/newquestion",parentId:"191",id:"193"},194:{path:"/shixuns/:id/edit/:challengesId/editquestion",parentId:"191",id:"194"},195:{path:"/shixuns/:id/edit/:challengesId/editquestion/:questionId",parentId:"191",id:"195"},196:{path:"/shixuns/:id/edit/new",parentId:"191",id:"196"},197:{path:"/shixuns/:id/edit/:challengesId/editcheckpoint",parentId:"191",id:"197"},198:{path:"/shixuns/:id/edit/:challengesId/tab=2",parentId:"191",id:"198"},199:{path:"/shixuns/:id/edit/:challengesId/tab=3",parentId:"191",id:"199"},200:{path:"/shixuns/:id/edit/:challengesId/tab=4",parentId:"191",id:"200"},201:{path:"/shixuns/:id",parentId:"183",id:"201"},202:{path:"/shixuns/:id/challenges",parentId:"201",id:"202"},203:{path:"/shixuns/:id/repository",parentId:"201",id:"203"},204:{path:"/shixuns/:id/secret_repository",parentId:"201",id:"204"},205:{path:"/shixuns/:id/collaborators",parentId:"201",id:"205"},206:{path:"/shixuns/:id/dataset",parentId:"201",id:"206"},207:{path:"/shixuns/:id/dataset/jupyterEdit",parentId:"201",id:"207"},208:{path:"/shixuns/:id/shixun_discuss",parentId:"201",id:"208"},209:{path:"/shixuns/:id/ranking_list",parentId:"201",id:"209"},210:{path:"/shixuns/:id/settings",parentId:"201",id:"210"},211:{path:"/shixuns/:id/repository/:repoId/commits",parentId:"201",id:"211"},212:{path:"/shixuns/:id/secret_repository/:repoId/commits",parentId:"201",id:"212"},213:{path:"/shixuns/:id/repository/upload_file",parentId:"201",id:"213"},214:{path:"/shixuns/:id/secret_repository/upload_file",parentId:"201",id:"214"},215:{path:"/shixuns/:id/repository/add_file",parentId:"201",id:"215"},216:{path:"/shixuns/:id/secret_repository/add_file",parentId:"201",id:"216"},217:{path:"/shixuns/:id/repository/master/shixun_show/:fileId",exact:!1,parentId:"201",id:"217"},218:{path:"/shixuns/:id/secret_repository/master/shixun_show/:fileId",exact:!1,parentId:"201",id:"218"},219:{path:"/shixuns/:id/audit_situation",parentId:"201",id:"219"},220:{path:"/shixuns/:id/fork_list",parentId:"201",id:"220"},221:{path:"/shixuns/:id/skill_tags",parentId:"201",id:"221"},222:{path:"/users",parentId:"1",id:"222"},223:{path:"/users/:username/videos/protocol",parentId:"222",id:"223"},224:{path:"/users/:username/videos/resourceProtocol",parentId:"222",id:"224"},225:{path:"/users/:username/videos/success",parentId:"222",id:"225"},226:{path:"/users/:username/topicbank/:topicstype",parentId:"222",id:"226"},227:{path:"/users/:username/topics/:topicId/:topictype/normal/detail",parentId:"222",id:"227"},228:{path:"/users/:username/topics/:topicId/:topictype/group/detail",parentId:"222",id:"228"},229:{path:"/users/:username/topics/:topicId/:topictype/normal/edit",parentId:"222",id:"229"},230:{path:"/users/:username/topics/:topicId/:topictype/group/edit",parentId:"222",id:"230"},231:{path:"/users/:username/topics/:topicId/:topictype/exercise/edit",parentId:"222",id:"231"},232:{path:"/users/:username/topics/:topicId/:topictype/exercise/detail",parentId:"222",id:"232"},233:{path:"/users/:username/topics/:topicId/:topictype/poll/edit",parentId:"222",id:"233"},234:{path:"/users/:username/topics/:topicId/:topictype/poll/detail",parentId:"222",id:"234"},235:{path:"/users/:username/experiment-img/add",parentId:"222",id:"235"},236:{path:"/users/:username",parentId:"222",id:"236"},237:{path:"/users/:username",parentId:"236",id:"237"},238:{path:"/users/:username/baseInfo/edit",parentId:"236",id:"238"},239:{path:"/users/:username/baseInfo",parentId:"236",id:"239"},240:{path:"/users/:username/realNameCertification",parentId:"236",id:"240"},241:{path:"/users/:username/careerCertification",parentId:"236",id:"241"},242:{path:"/users/:username/classrooms",parentId:"236",id:"242"},243:{path:"/users/:username/shixuns",parentId:"236",id:"243"},244:{path:"/users/:username/dataSet",parentId:"236",id:"244"},245:{path:"/users/:username/userPortrait",parentId:"236",id:"245"},246:{path:"/users/:username/learningPath",parentId:"236",id:"246"},247:{path:"/users/:username/teach-group",parentId:"236",id:"247"},248:{path:"/users/:username/competitions",parentId:"236",id:"248"},249:{path:"/users/:username/experiment-img",parentId:"236",id:"249"},250:{path:"/users/:username/experiment-img/:experid/detail",parentId:"236",id:"250"},251:{path:"/users/:username/certificate",parentId:"236",id:"251"},252:{path:"/users/:username/otherResources",parentId:"236",id:"252"},253:{path:"/users/:username/classmanagement",parentId:"236",id:"253"},254:{path:"/users/:username/classmanagement/:couserid",parentId:"236",id:"254"},255:{path:"/users/:username/paths",parentId:"236",id:"255"},256:{path:"/users/:username/projects",parentId:"236",id:"256"},257:{path:"/users/:username/videos",parentId:"236",id:"257"},258:{path:"/users/:username/videos/upload",parentId:"236",id:"258"},259:{path:"/users/:username/topics/:topicstype",parentId:"236",id:"259"},260:{path:"/users/:username/vspaces",parentId:"236",id:"260"},261:{path:"/users/:username/resourcesCenter",parentId:"236",id:"261"},262:{path:"/users/:username/resourcesCenter/:id/detail",parentId:"236",id:"262"},263:{path:"/users/:username/resourceGuarantee",parentId:"236",id:"263"},264:{path:"/users/:username/resourceAllocation",parentId:"236",id:"264"},265:{parentId:"1",id:"265"},266:{path:"/problems",parentId:"265",id:"266"},267:{path:"/problems",parentId:"266",id:"267"},268:{path:"/problems/batchAdd",parentId:"266",id:"268"},269:{path:"/problems/newcreate",parentId:"265",id:"269"},270:{path:"/problems/newedit/:id",exact:!0,parentId:"265",id:"270"},271:{path:"/problems/:id/edit",exact:!0,parentId:"265",id:"271"},272:{path:"/problems/new",exact:!0,parentId:"265",id:"272"},273:{path:"/problems/:id/oj/:save_identifier",parentId:"265",id:"273"},274:{path:"/problems/:id/record-detail/:submitId",parentId:"265",id:"274"},275:{path:"/problems/add",parentId:"265",id:"275"},276:{path:"/problems/:id/ojedit",parentId:"265",id:"276"},277:{path:"/engineering",parentId:"1",id:"277"},278:{path:"/engineering",parentId:"277",id:"278"},279:{path:"/engineering/teacherList",parentId:"278",id:"279"},280:{path:"/engineering/studentList",parentId:"278",id:"280"},281:{path:"/engineering/training/program",parentId:"278",id:"281"},282:{path:"/engineering/training/program/add",parentId:"278",id:"282"},283:{path:"/engineering/training/program/edit",parentId:"278",id:"283"},284:{path:"/engineering/training/objectives",parentId:"278",id:"284"},285:{path:"/engineering/graduated/index",parentId:"278",id:"285"},286:{path:"/engineering/graduated/matrix",parentId:"278",id:"286"},287:{path:"/engineering/course/list",parentId:"278",id:"287"},288:{path:"/engineering/course/setting",parentId:"278",id:"288"},289:{path:"/engineering/course/matrix",parentId:"278",id:"289"},290:{path:"/engineering/navigation",parentId:"278",id:"290"},291:{path:"/engineering/evaluate/course",parentId:"278",id:"291"},292:{path:"/engineering/evaluate/course/:ec_year_id/:id",parentId:"278",id:"292"},293:{path:"/engineering/evaluate/norm",parentId:"278",id:"293"},294:{path:"/engineering/evaluate/document",parentId:"278",id:"294"},295:{path:"/engineering/evaluate/norm/:ec_year_id/:id",parentId:"278",id:"295"},296:{path:"/engineering/*",redirect:"/404",parentId:"278",id:"296"},297:{path:"/innovation",parentId:"1",id:"297"},298:{path:"/innovation/tasks/:taskId",parentId:"297",id:"298"},299:{path:"/innovation",parentId:"297",id:"299"},300:{path:"/innovation/project",parentId:"299",id:"300"},301:{path:"/innovation/dataset",parentId:"299",id:"301"},302:{path:"/innovation/mirror",parentId:"299",id:"302"},303:{path:"/innovation/my-project",parentId:"299",id:"303"},304:{path:"/innovation/my-dataset",parentId:"299",id:"304"},305:{path:"/innovation/my-mirror",parentId:"299",id:"305"},306:{path:"/innovation/project/create",parentId:"299",id:"306"},307:{path:"/innovation/project/edit/:id",parentId:"299",id:"307"},308:{path:"/innovation/project/detail/:taskId",parentId:"299",id:"308"},309:{path:"/tasks",parentId:"1",id:"309"},310:{path:"/tasks/:taskId",exact:!0,parentId:"309",id:"310"},311:{path:"/tasks/:identifier/jupyter/",exact:!0,parentId:"309",id:"311"},312:{path:"/tasks/:courseId/:homeworkId/:taskId",exact:!0,parentId:"309",id:"312"},313:{path:"/tasks/jupyter/:courseId/:homeworkId/:identifier",exact:!0,parentId:"309",id:"313"},314:{path:"/tasks/:courseId/:exerciseId/:taskId/exercise",exact:!0,parentId:"309",id:"314"},315:{path:"/myproblems",parentId:"1",id:"315"},316:{path:"/myproblems/:id/record-detail/:submitId",exact:!0,parentId:"315",id:"316"},317:{path:"/myproblems/:id",exact:!0,parentId:"315",id:"317"},318:{path:"/account",parentId:"1",id:"318"},319:{path:"/account",parentId:"318",id:"319"},320:{path:"/account/profile",parentId:"319",id:"320"},321:{path:"/account/profile/edit",parentId:"319",id:"321"},322:{path:"/account/certification",parentId:"319",id:"322"},323:{path:"/account/secure",parentId:"319",id:"323"},324:{path:"/account/binding",parentId:"319",id:"324"},325:{path:"/account/Results",parentId:"319",id:"325"},326:{path:"/ch",parentId:"1",id:"326"},327:{path:"/ch/rest/edit/:categoryId/:id",exact:!0,parentId:"326",id:"327"},328:{path:"/ch/rest/",exact:!0,parentId:"326",id:"328"},329:{path:"/ch/rest/:id",exact:!0,parentId:"326",id:"329"},330:{path:"/order",parentId:"1",id:"330"},331:{path:"/order",parentId:"330",id:"331"},332:{path:"/order/invoice",parentId:"330",id:"332"},333:{path:"/order/records",parentId:"330",id:"333"},334:{path:"/order/apply",parentId:"330",id:"334"},335:{path:"/order/view",parentId:"330",id:"335"},336:{path:"/order/:courseId/information",parentId:"330",id:"336"},337:{path:"/order/:courseId/pay",parentId:"330",id:"337"},338:{path:"/order/:orderNum/result",parentId:"330",id:"338"},339:{path:"/messages",parentId:"1",id:"339"},340:{path:"/messages/:userId/user_tidings",parentId:"339",id:"340"},341:{path:"/messages/:userId/private_messages",parentId:"339",id:"341"},342:{path:"/messages/:userId/message_detail",parentId:"339",id:"342"},343:{path:"/vtrs",parentId:"1",id:"343"},344:{path:"/vtrs/:virtual_spacesId",parentId:"343",id:"344"},345:{path:"/vtrs/:virtual_spacesId",exact:!0,parentId:"344",id:"345"},346:{path:"/vtrs/:virtual_spacesId/workplace",exact:!0,parentId:"344",id:"346"},347:{path:"/vtrs/:virtual_spacesId/experiment",parentId:"344",id:"347"},348:{path:"/vtrs/:virtual_spacesId/announcement",parentId:"344",id:"348"},349:{path:"/vtrs/:virtual_spacesId/announcement/add",parentId:"344",id:"349"},350:{path:"/vtrs/:virtual_spacesId/announcement/:id/edit",parentId:"344",id:"350"},351:{path:"/vtrs/:virtual_spacesId/announcement/:id/detail",parentId:"344",id:"351"},352:{path:"/vtrs/:virtual_spacesId/survey",parentId:"344",id:"352"},353:{path:"/vtrs/:virtual_spacesId/survey/:id/detail",parentId:"344",id:"353"},354:{path:"/vtrs/:virtual_spacesId/knowledge",parentId:"344",id:"354"},355:{path:"/vtrs/:virtual_spacesId/knowledge/add",parentId:"344",id:"355"},356:{path:"/vtrs/:virtual_spacesId/knowledge/:id/edit",parentId:"344",id:"356"},357:{path:"/vtrs/:virtual_spacesId/material",parentId:"344",id:"357"},358:{path:"/vtrs/:virtual_spacesId/material/:id/detail",parentId:"344",id:"358"},359:{path:"/vtrs/:virtual_spacesId/lesson",parentId:"344",id:"359"},360:{path:"/vtrs/:virtual_spacesId/lesson/:id/detail",parentId:"344",id:"360"},361:{path:"/vtrs/:virtual_spacesId/lesson/:id/detail/:fileid",parentId:"344",id:"361"},362:{path:"/vtrs/:virtual_spacesId/discussion",parentId:"344",id:"362"},363:{path:"/vtrs/:virtual_spacesId/discussion/:id/detail",parentId:"344",id:"363"},364:{path:"/vtrs/:virtual_spacesId/discussion/:id/detail/:fileid",parentId:"344",id:"364"},365:{path:"/vtrs/:virtual_spacesId/settings",parentId:"344",id:"365"},366:{path:"/vtrs/:virtual_spacesId/resources",parentId:"344",id:"366"},367:{path:"/vtrs/:virtual_spacesId/resources/:id/detail",parentId:"344",id:"367"},368:{path:"/vtrs/:virtual_spacesId/Plan",parentId:"344",id:"368"},369:{path:"/vtrs/:virtual_spacesId/plan/:id/detail",parentId:"344",id:"369"},370:{path:"/vtrs/:virtual_spacesId/digtal",parentId:"344",id:"370"},371:{path:"/vtrs/:virtual_spacesId/homepage",parentId:"344",id:"371"},372:{path:"/vtrs/:virtual_spacesId/*",parentId:"344",id:"372"},373:{path:"/101",parentId:"1",id:"373"},374:{path:"/101/:virtual_spacesId",parentId:"373",id:"374"},375:{path:"/101/:virtual_spacesId",exact:!0,parentId:"374",id:"375"},376:{path:"/101/:virtual_spacesId/workplace",exact:!0,parentId:"374",id:"376"},377:{path:"/101/:virtual_spacesId/experiment",parentId:"374",id:"377"},378:{path:"/101/:virtual_spacesId/announcement",parentId:"374",id:"378"},379:{path:"/101/:virtual_spacesId/announcement/add",parentId:"374",id:"379"},380:{path:"/101/:virtual_spacesId/announcement/:id/edit",parentId:"374",id:"380"},381:{path:"/101/:virtual_spacesId/announcement/:id/detail",parentId:"374",id:"381"},382:{path:"/101/:virtual_spacesId/survey",parentId:"374",id:"382"},383:{path:"/101/:virtual_spacesId/survey/:id/detail",parentId:"374",id:"383"},384:{path:"/101/:virtual_spacesId/knowledge",parentId:"374",id:"384"},385:{path:"/101/:virtual_spacesId/knowledge/add",parentId:"374",id:"385"},386:{path:"/101/:virtual_spacesId/knowledge/:id/edit",parentId:"374",id:"386"},387:{path:"/101/:virtual_spacesId/material",parentId:"374",id:"387"},388:{path:"/101/:virtual_spacesId/material/:id/detail",parentId:"374",id:"388"},389:{path:"/101/:virtual_spacesId/lesson",parentId:"374",id:"389"},390:{path:"/101/:virtual_spacesId/lesson/:id/detail",parentId:"374",id:"390"},391:{path:"/101/:virtual_spacesId/lesson/:id/detail/:fileid",parentId:"374",id:"391"},392:{path:"/101/:virtual_spacesId/discussion",parentId:"374",id:"392"},393:{path:"/101/:virtual_spacesId/discussion/:id/detail",parentId:"374",id:"393"},394:{path:"/101/:virtual_spacesId/discussion/:id/detail/:fileid",parentId:"374",id:"394"},395:{path:"/101/:virtual_spacesId/settings",parentId:"374",id:"395"},396:{path:"/101/:virtual_spacesId/resources",parentId:"374",id:"396"},397:{path:"/101/:virtual_spacesId/resources/:id/detail",parentId:"374",id:"397"},398:{path:"/101/:virtual_spacesId/Plan",parentId:"374",id:"398"},399:{path:"/101/:virtual_spacesId/plan/:id/detail",parentId:"374",id:"399"},400:{path:"/101/:virtual_spacesId/digtal",parentId:"374",id:"400"},401:{path:"/101/:virtual_spacesId/homepage",parentId:"374",id:"401"},402:{path:"/101/:virtual_spacesId/*",parentId:"374",id:"402"},403:{path:"/administration",parentId:"1",id:"403"},404:{path:"/administration",parentId:"403",id:"404"},405:{path:"/administration/college",parentId:"404",id:"405"},406:{path:"/administration/student",parentId:"404",id:"406"},407:{path:"/administration/student/:studentId/edit",parentId:"404",id:"407"},408:{path:"/administration/profession",parentId:"404",id:"408"},409:{path:"/graduations",parentId:"1",id:"409"},410:{path:"/graduations",exact:!0,parentId:"409",id:"410"},411:{path:"/graduations/:id/:moduleKey/:moduleId/review/:itemId",exact:!0,parentId:"409",id:"411"},412:{path:"/graduations/:id",parentId:"409",id:"412"},413:{path:"/graduations/:id/index",parentId:"412",id:"413"},414:{path:"/graduations/:id/topics",parentId:"412",id:"414"},415:{path:"/graduations/:id/student_selection",parentId:"412",id:"415"},416:{path:"/graduations/:id/tasks",parentId:"412",id:"416"},417:{path:"/graduations/:id/opening_report",parentId:"412",id:"417"},418:{path:"/graduations/:id/midterm_report",parentId:"412",id:"418"},419:{path:"/graduations/:id/thesis",parentId:"412",id:"419"},420:{path:"/graduations/:id/final_defense",parentId:"412",id:"420"},421:{path:"/graduations/:id/final_thesis",parentId:"412",id:"421"},422:{path:"/graduations/:id/settings",parentId:"412",id:"422"},423:{path:"/graduations/:id/teachers",parentId:"412",id:"423"},424:{path:"/graduations/:id/students",parentId:"412",id:"424"},425:{path:"/graduations/:id/archives",parentId:"412",id:"425"},426:{path:"/graduations/:id/grading_summary",parentId:"412",id:"426"},427:{path:"/dataset",parentId:"1",id:"427"},428:{path:"/dataset",exact:!0,parentId:"427",id:"428"},429:{path:"/dataset/:id/detail",exact:!0,parentId:"427",id:"429"},430:{path:"/knowledgegraph",parentId:"1",id:"430"},431:{path:"/knowledgegraph",parentId:"430",id:"431"},432:{path:"/knowledgegraph/:pathId/sanD",parentId:"430",id:"432"},433:{path:"/knowledgegraph/:pathId",parentId:"430",id:"433"},434:{path:"/knowledgegraph/:pathId/abilityMap/edit/:abilityMapId",parentId:"430",id:"434"},435:{path:"/knowledgegraph/:pathId/abilityMap/detail/:abilityId",parentId:"430",id:"435"},436:{path:"/knowledgegraph/:pathId/statistics",parentId:"430",id:"436"},437:{parentId:"430",id:"437"},438:{path:"/knowledgegraph/:pathId/statistics/learningpath/:learningpathId",parentId:"437",id:"438"},439:{path:"/knowledgegraph/:pathId/statistics/learningpath/:learningpathId/detail/:detailId",parentId:"437",id:"439"},440:{path:"/knowledgegraph/:pathId/statistics/pathatlas/:learningpathId",parentId:"437",id:"440"},441:{path:"/knowledgegraph/:pathId/statistics/pathatlas/:learningpathId/detail",parentId:"437",id:"441"},442:{path:"/knowledgegraph/:pathId/statistics/abilitymap/:learningpathId",parentId:"437",id:"442"},443:{path:"/knowledgegraph/:pathId/statistics/abilitymap/:learningpathId/detail/:detailId",parentId:"437",id:"443"},444:{path:"/information",parentId:"1",id:"444"},445:{path:"/information",exact:!0,parentId:"444",id:"445"},446:{path:"/information/add",exact:!0,parentId:"444",id:"446"},447:{path:"/information/:id/detail",exact:!0,parentId:"444",id:"447"},448:{path:"/information/:id/edit",exact:!0,parentId:"444",id:"448"},449:{path:"/newlogin",parentId:"1",id:"449"},450:{path:"/onlinenum",parentId:"1",id:"450"},451:{path:"/onlinenum",parentId:"450",id:"451"},452:{path:"/shixuncontext",parentId:"1",id:"452"},453:{path:"/shixuncontext",parentId:"452",id:"453"},454:{path:"/shixuncontext/:Id/detail",parentId:"452",id:"454"},455:{path:"/educoder-demo",exact:!0,parentId:"1",id:"455"},456:{path:"/training",parentId:"1",id:"456"},457:{name:"\u7CBE\u57F9\u8BFE\u7A0B",path:"/training",parentId:"456",id:"457"},458:{path:"/AIgc",parentId:"1",id:"458"},459:{path:"/AIgc",parentId:"458",id:"459"},460:{path:"/largeScreen",exact:!0,parentId:"1",id:"460"},461:{path:"/quality",parentId:"1",id:"461"},462:{name:"\u7CBE\u54C1\u8BFE\u7A0B",path:"/quality",parentId:"461",id:"462"},463:{path:"/otherlogin",exact:!0,parentId:"1",id:"463"},464:{path:"/otherloginqq",exact:!0,parentId:"1",id:"464"},465:{path:"/otherloginstart",exact:!0,parentId:"1",id:"465"},466:{path:"/pathsoverview",exact:!0,parentId:"1",id:"466"},467:{path:"/shixunsoverview",exact:!0,parentId:"1",id:"467"},468:{path:"/classroomsoverview",exact:!0,parentId:"1",id:"468"},469:{path:"/login",parentId:"1",id:"469"},470:{path:"/login",parentId:"469",id:"470"},471:{path:"/user",parentId:"1",id:"471"},472:{path:"/user/login",parentId:"471",id:"472"},473:{path:"/user/register",parentId:"471",id:"473"},474:{path:"/user/reset-password",parentId:"471",id:"474"},475:{path:"/colleges",parentId:"1",id:"475"},476:{path:"/colleges/:id/statistics",parentId:"475",id:"476"},477:{path:"/help",parentId:"1",id:"477"},478:{path:"/help/:id",parentId:"477",id:"478"},479:{path:"/video",parentId:"1",id:"479"},480:{path:"/video/:videoId",parentId:"479",id:"480"},481:{path:"/terminal",parentId:"1",id:"481"},482:{path:"/report/:taskId/:game_report_id",parentId:"1",id:"482"},483:{path:"/statsDashboard",parentId:"1",id:"483"},484:{path:"/",parentId:"1",id:"484"},485:{path:"/",exact:!0,parentId:"484",id:"485"},486:{path:"/api/*",exact:!0,parentId:"484",id:"486"},487:{path:"/search",exact:!0,parentId:"484",id:"487"},488:{path:"/moop_cases",exact:!0,parentId:"484",id:"488"},489:{path:"/moop_cases/new",exact:!0,parentId:"484",id:"489"},490:{path:"/moop_cases/:caseId",exact:!0,parentId:"484",id:"490"},491:{path:"/moop_cases/:caseId/edit",exact:!0,parentId:"484",id:"491"},492:{path:"/moop_cases/:caseId/publish-success",exact:!0,parentId:"484",id:"492"},493:{path:"/randompaper",exact:!0,parentId:"484",id:"493"},494:{path:"/randompaper/edit/:id",exact:!0,parentId:"484",id:"494"},495:{path:"/randompaper/detail/:id",exact:!0,parentId:"484",id:"495"},496:{path:"/403",parentId:"484",id:"496"},497:{path:"/500",parentId:"484",id:"497"},498:{path:"/404",parentId:"484",id:"498"},499:{path:"/download",parentId:"484",id:"499"},500:{path:"/iwce",parentId:"484",id:"500"},501:{path:"/classrooms/:coursesId/attendance/TeacherSign",parentId:"484",id:"501"},502:{path:"/classrooms/:coursesId/attendance/:categoryId",parentId:"484",id:"502"},503:{path:"/Activities",parentId:"484",id:"503"},504:{path:"/iwce/:itemname",parentId:"484",id:"504"},505:{path:"/hpc-course",parentId:"484",id:"505"},506:{path:"/user_agents",parentId:"484",id:"506"},507:{path:"/three",parentId:"484",id:"507"},508:{path:"/introduction",parentId:"484",id:"508"},509:{path:"/chatgpt",parentId:"484",id:"509"},510:{path:"/*",parentId:"484",id:"510"},"@@/global-layout":{id:"@@/global-layout",path:"/",isLayout:!0}},routeComponents:{1:Me.lazy(()=>__webpack_require__.e(1302).then(__webpack_require__.bind(__webpack_require__,81302))),2:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(2670),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,52429))),3:Me.lazy(()=>Promise.all([__webpack_require__.e(2670),__webpack_require__.e(2099)]).then(__webpack_require__.bind(__webpack_require__,85482))),4:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(2670),__webpack_require__.e(3260)]).then(__webpack_require__.bind(__webpack_require__,89826))),5:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(2670),__webpack_require__.e(3260)]).then(__webpack_require__.bind(__webpack_require__,89826))),6:Me.lazy(()=>__webpack_require__.e(3247).then(__webpack_require__.bind(__webpack_require__,52277))),7:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(2670),__webpack_require__.e(8037),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,36386))),8:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(2670),__webpack_require__.e(8037),__webpack_require__.e(1545)]).then(__webpack_require__.bind(__webpack_require__,63988))),9:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(2670),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,52429))),10:Me.lazy(()=>__webpack_require__.e(9906).then(__webpack_require__.bind(__webpack_require__,74975))),11:Me.lazy(()=>__webpack_require__.e(5572).then(__webpack_require__.bind(__webpack_require__,30998))),12:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(6080)]).then(__webpack_require__.bind(__webpack_require__,27233))),13:Me.lazy(()=>__webpack_require__.e(7901).then(__webpack_require__.bind(__webpack_require__,87654))),14:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(6411),__webpack_require__.e(2281)]).then(__webpack_require__.bind(__webpack_require__,55171))),15:Me.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(1651)]).then(__webpack_require__.bind(__webpack_require__,21962))),16:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(6080)]).then(__webpack_require__.bind(__webpack_require__,27233))),17:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(2670),__webpack_require__.e(8037),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,36386))),18:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(2670),__webpack_require__.e(8037),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,36386))),19:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(2670),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,52429))),20:Me.lazy(()=>__webpack_require__.e(6789).then(__webpack_require__.bind(__webpack_require__,6042))),21:Me.lazy(()=>__webpack_require__.e(9921).then(__webpack_require__.bind(__webpack_require__,80176))),22:Me.lazy(()=>__webpack_require__.e(1674).then(__webpack_require__.bind(__webpack_require__,51852))),23:Me.lazy(()=>__webpack_require__.e(6685).then(__webpack_require__.bind(__webpack_require__,39140))),24:Me.lazy(()=>__webpack_require__.e(7323).then(__webpack_require__.bind(__webpack_require__,19866))),25:Me.lazy(()=>__webpack_require__.e(7323).then(__webpack_require__.bind(__webpack_require__,19866))),26:Me.lazy(()=>__webpack_require__.e(6882).then(__webpack_require__.bind(__webpack_require__,67573))),27:Me.lazy(()=>__webpack_require__.e(6882).then(__webpack_require__.bind(__webpack_require__,67573))),28:Me.lazy(()=>__webpack_require__.e(109).then(__webpack_require__.bind(__webpack_require__,41033))),29:Me.lazy(()=>__webpack_require__.e(737).then(__webpack_require__.bind(__webpack_require__,26106))),30:Me.lazy(()=>__webpack_require__.e(3391).then(__webpack_require__.bind(__webpack_require__,74952))),31:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(6411),__webpack_require__.e(5694)]).then(__webpack_require__.bind(__webpack_require__,70612))),32:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(6411),__webpack_require__.e(5330)]).then(__webpack_require__.bind(__webpack_require__,3461))),33:Me.lazy(()=>Promise.all([__webpack_require__.e(2670),__webpack_require__.e(2303)]).then(__webpack_require__.bind(__webpack_require__,84859))),34:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(1450)]).then(__webpack_require__.bind(__webpack_require__,41088))),35:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(195)]).then(__webpack_require__.bind(__webpack_require__,32615))),36:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(3668)]).then(__webpack_require__.bind(__webpack_require__,2792))),37:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(2670),__webpack_require__.e(2338)]).then(__webpack_require__.bind(__webpack_require__,18032))),38:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(4662)]).then(__webpack_require__.bind(__webpack_require__,60143))),39:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(8072)]).then(__webpack_require__.bind(__webpack_require__,20109))),40:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(479)]).then(__webpack_require__.bind(__webpack_require__,76419))),41:Me.lazy(()=>__webpack_require__.e(5297).then(__webpack_require__.bind(__webpack_require__,70704))),42:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(6411),__webpack_require__.e(4164)]).then(__webpack_require__.bind(__webpack_require__,16428))),43:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(2670),__webpack_require__.e(8037),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,36386))),44:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(6647),__webpack_require__.e(4889)]).then(__webpack_require__.bind(__webpack_require__,23464))),45:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(6647),__webpack_require__.e(4105)]).then(__webpack_require__.bind(__webpack_require__,30898))),46:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(7883)]).then(__webpack_require__.bind(__webpack_require__,12489))),47:Me.lazy(()=>__webpack_require__.e(7482).then(__webpack_require__.bind(__webpack_require__,94415))),48:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(5816)]).then(__webpack_require__.bind(__webpack_require__,93661))),49:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(337)]).then(__webpack_require__.bind(__webpack_require__,29419))),50:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(2670),__webpack_require__.e(292)]).then(__webpack_require__.bind(__webpack_require__,6335))),51:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(2670),__webpack_require__.e(292)]).then(__webpack_require__.bind(__webpack_require__,6335))),52:Me.lazy(()=>__webpack_require__.e(5992).then(__webpack_require__.bind(__webpack_require__,27474))),53:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(6411),__webpack_require__.e(2670),__webpack_require__.e(8085)]).then(__webpack_require__.bind(__webpack_require__,13085))),54:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(6411),__webpack_require__.e(2670),__webpack_require__.e(8085)]).then(__webpack_require__.bind(__webpack_require__,13085))),55:Me.lazy(()=>__webpack_require__.e(8431).then(__webpack_require__.bind(__webpack_require__,37998))),56:Me.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5902)]).then(__webpack_require__.bind(__webpack_require__,90421))),57:Me.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(3433)]).then(__webpack_require__.bind(__webpack_require__,73311))),58:Me.lazy(()=>__webpack_require__.e(5125).then(__webpack_require__.bind(__webpack_require__,92866))),59:Me.lazy(()=>__webpack_require__.e(5125).then(__webpack_require__.bind(__webpack_require__,92866))),60:Me.lazy(()=>__webpack_require__.e(921).then(__webpack_require__.bind(__webpack_require__,26899))),61:Me.lazy(()=>__webpack_require__.e(921).then(__webpack_require__.bind(__webpack_require__,26899))),62:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(1578)]).then(__webpack_require__.bind(__webpack_require__,9708))),63:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(3317)]).then(__webpack_require__.bind(__webpack_require__,36845))),64:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(1482)]).then(__webpack_require__.bind(__webpack_require__,44237))),65:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(4795)]).then(__webpack_require__.bind(__webpack_require__,25487))),66:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(26)]).then(__webpack_require__.bind(__webpack_require__,484))),67:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(8882)]).then(__webpack_require__.bind(__webpack_require__,73881))),68:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(5888)]).then(__webpack_require__.bind(__webpack_require__,63159))),69:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(9715)]).then(__webpack_require__.bind(__webpack_require__,40686))),70:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(7045)]).then(__webpack_require__.bind(__webpack_require__,40905))),71:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(1211)]).then(__webpack_require__.bind(__webpack_require__,28109))),72:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(1582)]).then(__webpack_require__.bind(__webpack_require__,15215))),73:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(6729)]).then(__webpack_require__.bind(__webpack_require__,10431))),74:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(9695)]).then(__webpack_require__.bind(__webpack_require__,22425))),75:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(8723)]).then(__webpack_require__.bind(__webpack_require__,15490))),76:Me.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(7622)]).then(__webpack_require__.bind(__webpack_require__,89679))),77:Me.lazy(()=>__webpack_require__.e(5148).then(__webpack_require__.bind(__webpack_require__,53248))),78:Me.lazy(()=>__webpack_require__.e(643).then(__webpack_require__.bind(__webpack_require__,84775))),79:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(3442)]).then(__webpack_require__.bind(__webpack_require__,98944))),80:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(2102)]).then(__webpack_require__.bind(__webpack_require__,29773))),81:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(2425)]).then(__webpack_require__.bind(__webpack_require__,91967))),82:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(2404)]).then(__webpack_require__.bind(__webpack_require__,34629))),83:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(9785)]).then(__webpack_require__.bind(__webpack_require__,59696))),84:Me.lazy(()=>__webpack_require__.e(7901).then(__webpack_require__.bind(__webpack_require__,87654))),85:Me.lazy(()=>__webpack_require__.e(2819).then(__webpack_require__.bind(__webpack_require__,45446))),86:Me.lazy(()=>__webpack_require__.e(1512).then(__webpack_require__.bind(__webpack_require__,69532))),87:Me.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(7395)]).then(__webpack_require__.bind(__webpack_require__,95391))),88:Me.lazy(()=>__webpack_require__.e(3585).then(__webpack_require__.bind(__webpack_require__,52668))),89:Me.lazy(()=>__webpack_require__.e(6963).then(__webpack_require__.bind(__webpack_require__,65912))),90:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(4030)]).then(__webpack_require__.bind(__webpack_require__,37039))),91:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(4030)]).then(__webpack_require__.bind(__webpack_require__,37039))),92:Me.lazy(()=>__webpack_require__.e(6127).then(__webpack_require__.bind(__webpack_require__,21050))),93:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(3951)]).then(__webpack_require__.bind(__webpack_require__,3515))),94:Me.lazy(()=>__webpack_require__.e(1048).then(__webpack_require__.bind(__webpack_require__,38899))),95:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(2884)]).then(__webpack_require__.bind(__webpack_require__,58652))),96:Me.lazy(()=>__webpack_require__.e(4770).then(__webpack_require__.bind(__webpack_require__,63578))),97:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(2603)]).then(__webpack_require__.bind(__webpack_require__,48454))),98:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(4216)]).then(__webpack_require__.bind(__webpack_require__,6573))),99:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(5319)]).then(__webpack_require__.bind(__webpack_require__,59428))),100:Me.lazy(()=>__webpack_require__.e(895).then(__webpack_require__.bind(__webpack_require__,14231))),101:Me.lazy(()=>__webpack_require__.e(7322).then(__webpack_require__.bind(__webpack_require__,93099))),102:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(1991),__webpack_require__.e(2203)]).then(__webpack_require__.bind(__webpack_require__,46961))),103:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(1991),__webpack_require__.e(2203)]).then(__webpack_require__.bind(__webpack_require__,46961))),104:Me.lazy(()=>__webpack_require__.e(5048).then(__webpack_require__.bind(__webpack_require__,24471))),105:Me.lazy(()=>__webpack_require__.e(1043).then(__webpack_require__.bind(__webpack_require__,93622))),106:Me.lazy(()=>__webpack_require__.e(1043).then(__webpack_require__.bind(__webpack_require__,93622))),107:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(6776)]).then(__webpack_require__.bind(__webpack_require__,68406))),108:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(6776)]).then(__webpack_require__.bind(__webpack_require__,68406))),109:Me.lazy(()=>__webpack_require__.e(4297).then(__webpack_require__.bind(__webpack_require__,7040))),110:Me.lazy(()=>__webpack_require__.e(4297).then(__webpack_require__.bind(__webpack_require__,7040))),111:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(1991),__webpack_require__.e(8458)]).then(__webpack_require__.bind(__webpack_require__,21215))),112:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(1991),__webpack_require__.e(8458)]).then(__webpack_require__.bind(__webpack_require__,21215))),113:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(1991),__webpack_require__.e(1798)]).then(__webpack_require__.bind(__webpack_require__,11427))),114:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(1991),__webpack_require__.e(1798)]).then(__webpack_require__.bind(__webpack_require__,11427))),115:Me.lazy(()=>__webpack_require__.e(5177).then(__webpack_require__.bind(__webpack_require__,14343))),116:Me.lazy(()=>__webpack_require__.e(201).then(__webpack_require__.bind(__webpack_require__,27793))),117:Me.lazy(()=>__webpack_require__.e(1477).then(__webpack_require__.bind(__webpack_require__,33963))),118:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(1991),__webpack_require__.e(6282)]).then(__webpack_require__.bind(__webpack_require__,10778))),119:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(1991),__webpack_require__.e(6282)]).then(__webpack_require__.bind(__webpack_require__,10778))),120:Me.lazy(()=>__webpack_require__.e(1962).then(__webpack_require__.bind(__webpack_require__,65005))),121:Me.lazy(()=>__webpack_require__.e(4928).then(__webpack_require__.bind(__webpack_require__,57341))),122:Me.lazy(()=>__webpack_require__.e(1257).then(__webpack_require__.bind(__webpack_require__,94097))),123:Me.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(7210),__webpack_require__.e(7329)]).then(__webpack_require__.bind(__webpack_require__,21075))),124:Me.lazy(()=>__webpack_require__.e(8340).then(__webpack_require__.bind(__webpack_require__,20241))),125:Me.lazy(()=>__webpack_require__.e(4093).then(__webpack_require__.bind(__webpack_require__,84621))),126:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(6185)]).then(__webpack_require__.bind(__webpack_require__,51156))),127:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(6185)]).then(__webpack_require__.bind(__webpack_require__,51156))),128:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(8827)]).then(__webpack_require__.bind(__webpack_require__,11558))),129:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(8827)]).then(__webpack_require__.bind(__webpack_require__,11558))),130:Me.lazy(()=>__webpack_require__.e(1678).then(__webpack_require__.bind(__webpack_require__,13827))),131:Me.lazy(()=>__webpack_require__.e(1678).then(__webpack_require__.bind(__webpack_require__,13827))),132:Me.lazy(()=>__webpack_require__.e(1754).then(__webpack_require__.bind(__webpack_require__,79067))),133:Me.lazy(()=>__webpack_require__.e(1754).then(__webpack_require__.bind(__webpack_require__,79067))),134:Me.lazy(()=>__webpack_require__.e(4217).then(__webpack_require__.bind(__webpack_require__,53518))),135:Me.lazy(()=>__webpack_require__.e(6205).then(__webpack_require__.bind(__webpack_require__,97039))),136:Me.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(533)]).then(__webpack_require__.bind(__webpack_require__,34729))),137:Me.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5798)]).then(__webpack_require__.bind(__webpack_require__,47976))),138:Me.lazy(()=>__webpack_require__.e(5466).then(__webpack_require__.bind(__webpack_require__,83104))),139:Me.lazy(()=>__webpack_require__.e(5466).then(__webpack_require__.bind(__webpack_require__,83104))),140:Me.lazy(()=>__webpack_require__.e(9944).then(__webpack_require__.bind(__webpack_require__,33815))),141:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(2670),__webpack_require__.e(9406)]).then(__webpack_require__.bind(__webpack_require__,8329))),142:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(2670),__webpack_require__.e(9406)]).then(__webpack_require__.bind(__webpack_require__,8329))),143:Me.lazy(()=>__webpack_require__.e(9039).then(__webpack_require__.bind(__webpack_require__,44626))),144:Me.lazy(()=>__webpack_require__.e(9039).then(__webpack_require__.bind(__webpack_require__,44626))),145:Me.lazy(()=>__webpack_require__.e(7922).then(__webpack_require__.bind(__webpack_require__,24006))),146:Me.lazy(()=>__webpack_require__.e(1727).then(__webpack_require__.bind(__webpack_require__,32721))),147:Me.lazy(()=>__webpack_require__.e(1727).then(__webpack_require__.bind(__webpack_require__,32721))),148:Me.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(1427)]).then(__webpack_require__.bind(__webpack_require__,55089))),149:Me.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(1427)]).then(__webpack_require__.bind(__webpack_require__,55089))),150:Me.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8689)]).then(__webpack_require__.bind(__webpack_require__,77346))),151:Me.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(7806)]).then(__webpack_require__.bind(__webpack_require__,32244))),152:Me.lazy(()=>__webpack_require__.e(3276).then(__webpack_require__.bind(__webpack_require__,47774))),153:Me.lazy(()=>__webpack_require__.e(8885).then(__webpack_require__.bind(__webpack_require__,80405))),154:Me.lazy(()=>__webpack_require__.e(3451).then(__webpack_require__.bind(__webpack_require__,67361))),155:Me.lazy(()=>__webpack_require__.e(9922).then(__webpack_require__.bind(__webpack_require__,93079))),156:Me.lazy(()=>__webpack_require__.e(4572).then(__webpack_require__.bind(__webpack_require__,59521))),157:Me.lazy(()=>__webpack_require__.e(4017).then(__webpack_require__.bind(__webpack_require__,52271))),158:Me.lazy(()=>__webpack_require__.e(5518).then(__webpack_require__.bind(__webpack_require__,41195))),159:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(2670),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,52429))),160:Me.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(1511),__webpack_require__.e(7099)]).then(__webpack_require__.bind(__webpack_require__,35140))),161:Me.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(1511),__webpack_require__.e(7099)]).then(__webpack_require__.bind(__webpack_require__,35140))),162:Me.lazy(()=>__webpack_require__.e(4449).then(__webpack_require__.bind(__webpack_require__,79909))),163:Me.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(1511),__webpack_require__.e(7099)]).then(__webpack_require__.bind(__webpack_require__,35140))),164:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(4549),__webpack_require__.e(2570)]).then(__webpack_require__.bind(__webpack_require__,55208))),165:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(4549),__webpack_require__.e(2570)]).then(__webpack_require__.bind(__webpack_require__,55208))),166:Me.lazy(()=>__webpack_require__.e(8787).then(__webpack_require__.bind(__webpack_require__,15351))),167:Me.lazy(()=>__webpack_require__.e(5650).then(__webpack_require__.bind(__webpack_require__,67400))),168:Me.lazy(()=>__webpack_require__.e(1799).then(__webpack_require__.bind(__webpack_require__,697))),169:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(4549),__webpack_require__.e(8579)]).then(__webpack_require__.bind(__webpack_require__,46113))),170:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(2670),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,52429))),171:Me.lazy(()=>__webpack_require__.e(8639).then(__webpack_require__.bind(__webpack_require__,27440))),172:Me.lazy(()=>__webpack_require__.e(4048).then(__webpack_require__.bind(__webpack_require__,63458))),173:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(4264)]).then(__webpack_require__.bind(__webpack_require__,56461))),174:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(4264)]).then(__webpack_require__.bind(__webpack_require__,56461))),175:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(508)]).then(__webpack_require__.bind(__webpack_require__,83695))),176:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(2670),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,52429))),177:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(2670),__webpack_require__.e(8037),__webpack_require__.e(7835)]).then(__webpack_require__.bind(__webpack_require__,43495))),178:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(2670),__webpack_require__.e(1953)]).then(__webpack_require__.bind(__webpack_require__,9074))),179:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(2670),__webpack_require__.e(1953)]).then(__webpack_require__.bind(__webpack_require__,9074))),180:Me.lazy(()=>__webpack_require__.e(1581).then(__webpack_require__.bind(__webpack_require__,27753))),181:Me.lazy(()=>__webpack_require__.e(4144).then(__webpack_require__.bind(__webpack_require__,24536))),182:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(2670),__webpack_require__.e(8037),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,36386))),183:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(2670),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,52429))),184:Me.lazy(()=>__webpack_require__.e(8552).then(__webpack_require__.bind(__webpack_require__,29713))),185:Me.lazy(()=>__webpack_require__.e(7884).then(__webpack_require__.bind(__webpack_require__,82490))),186:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(5307)]).then(__webpack_require__.bind(__webpack_require__,51941))),187:Me.lazy(()=>__webpack_require__.e(5549).then(__webpack_require__.bind(__webpack_require__,68608))),188:Me.lazy(()=>__webpack_require__.e(9674).then(__webpack_require__.bind(__webpack_require__,66323))),189:Me.lazy(()=>__webpack_require__.e(5573).then(__webpack_require__.bind(__webpack_require__,3293))),190:Me.lazy(()=>__webpack_require__.e(2141).then(__webpack_require__.bind(__webpack_require__,20660))),191:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(6411),__webpack_require__.e(2859),__webpack_require__.e(9511)]).then(__webpack_require__.bind(__webpack_require__,62163))),192:Me.lazy(()=>__webpack_require__.e(6328).then(__webpack_require__.bind(__webpack_require__,67365))),193:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(7857)]).then(__webpack_require__.bind(__webpack_require__,88209))),194:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(2670),__webpack_require__.e(1657)]).then(__webpack_require__.bind(__webpack_require__,74871))),195:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(2670),__webpack_require__.e(1657)]).then(__webpack_require__.bind(__webpack_require__,74871))),196:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(2670),__webpack_require__.e(4498)]).then(__webpack_require__.bind(__webpack_require__,3630))),197:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(2670),__webpack_require__.e(4498)]).then(__webpack_require__.bind(__webpack_require__,3630))),198:Me.lazy(()=>__webpack_require__.e(9205).then(__webpack_require__.bind(__webpack_require__,13272))),199:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(1423)]).then(__webpack_require__.bind(__webpack_require__,6731))),200:Me.lazy(()=>__webpack_require__.e(7614).then(__webpack_require__.bind(__webpack_require__,44918))),201:Me.lazy(()=>__webpack_require__.e(9449).then(__webpack_require__.bind(__webpack_require__,95712))),202:Me.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(9814)]).then(__webpack_require__.bind(__webpack_require__,22349))),203:Me.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(6637)]).then(__webpack_require__.bind(__webpack_require__,41873))),204:Me.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(6637)]).then(__webpack_require__.bind(__webpack_require__,41873))),205:Me.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(3581)]).then(__webpack_require__.bind(__webpack_require__,98114))),206:Me.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(1993)]).then(__webpack_require__.bind(__webpack_require__,9958))),207:Me.lazy(()=>Promise.all([__webpack_require__.e(2859),__webpack_require__.e(1475)]).then(__webpack_require__.bind(__webpack_require__,26116))),208:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(6411),__webpack_require__.e(8965)]).then(__webpack_require__.bind(__webpack_require__,30827))),209:Me.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(6451)]).then(__webpack_require__.bind(__webpack_require__,30551))),210:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(6411),__webpack_require__.e(518)]).then(__webpack_require__.bind(__webpack_require__,26181))),211:Me.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5894)]).then(__webpack_require__.bind(__webpack_require__,76863))),212:Me.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5894)]).then(__webpack_require__.bind(__webpack_require__,76863))),213:Me.lazy(()=>__webpack_require__.e(2130).then(__webpack_require__.bind(__webpack_require__,89384))),214:Me.lazy(()=>__webpack_require__.e(2130).then(__webpack_require__.bind(__webpack_require__,89384))),215:Me.lazy(()=>__webpack_require__.e(5230).then(__webpack_require__.bind(__webpack_require__,65435))),216:Me.lazy(()=>__webpack_require__.e(5230).then(__webpack_require__.bind(__webpack_require__,65435))),217:Me.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8688)]).then(__webpack_require__.bind(__webpack_require__,99412))),218:Me.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8688)]).then(__webpack_require__.bind(__webpack_require__,99412))),219:Me.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5096)]).then(__webpack_require__.bind(__webpack_require__,38852))),220:Me.lazy(()=>__webpack_require__.e(3086).then(__webpack_require__.bind(__webpack_require__,8418))),221:Me.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(9417)]).then(__webpack_require__.bind(__webpack_require__,20628))),222:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(2670),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,52429))),223:Me.lazy(()=>__webpack_require__.e(5176).then(__webpack_require__.bind(__webpack_require__,62985))),224:Me.lazy(()=>__webpack_require__.e(6587).then(__webpack_require__.bind(__webpack_require__,17915))),225:Me.lazy(()=>__webpack_require__.e(9891).then(__webpack_require__.bind(__webpack_require__,2918))),226:Me.lazy(()=>__webpack_require__.e(8062).then(__webpack_require__.bind(__webpack_require__,22636))),227:Me.lazy(()=>__webpack_require__.e(5402).then(__webpack_require__.bind(__webpack_require__,47280))),228:Me.lazy(()=>__webpack_require__.e(5402).then(__webpack_require__.bind(__webpack_require__,47280))),229:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(6820)]).then(__webpack_require__.bind(__webpack_require__,77796))),230:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(8517)]).then(__webpack_require__.bind(__webpack_require__,54369))),231:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(7043)]).then(__webpack_require__.bind(__webpack_require__,70349))),232:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(2806)]).then(__webpack_require__.bind(__webpack_require__,93429))),233:Me.lazy(()=>__webpack_require__.e(5043).then(__webpack_require__.bind(__webpack_require__,40362))),234:Me.lazy(()=>__webpack_require__.e(799).then(__webpack_require__.bind(__webpack_require__,47137))),235:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(3157)]).then(__webpack_require__.bind(__webpack_require__,4408))),236:Me.lazy(()=>__webpack_require__.e(8332).then(__webpack_require__.bind(__webpack_require__,12551))),237:Me.lazy(()=>__webpack_require__.e(6583).then(__webpack_require__.bind(__webpack_require__,88264))),238:Me.lazy(()=>__webpack_require__.e(8217).then(__webpack_require__.bind(__webpack_require__,35618))),239:Me.lazy(()=>__webpack_require__.e(879).then(__webpack_require__.bind(__webpack_require__,23030))),240:Me.lazy(()=>__webpack_require__.e(5776).then(__webpack_require__.bind(__webpack_require__,43816))),241:Me.lazy(()=>__webpack_require__.e(906).then(__webpack_require__.bind(__webpack_require__,54731))),242:Me.lazy(()=>__webpack_require__.e(900).then(__webpack_require__.bind(__webpack_require__,65406))),243:Me.lazy(()=>__webpack_require__.e(6682).then(__webpack_require__.bind(__webpack_require__,93442))),244:Me.lazy(()=>__webpack_require__.e(8115).then(__webpack_require__.bind(__webpack_require__,42742))),245:Me.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(2659)]).then(__webpack_require__.bind(__webpack_require__,58485))),246:Me.lazy(()=>__webpack_require__.e(4610).then(__webpack_require__.bind(__webpack_require__,15175))),247:Me.lazy(()=>__webpack_require__.e(8479).then(__webpack_require__.bind(__webpack_require__,22779))),248:Me.lazy(()=>__webpack_require__.e(5800).then(__webpack_require__.bind(__webpack_require__,18744))),249:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(2862)]).then(__webpack_require__.bind(__webpack_require__,56950))),250:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(8286)]).then(__webpack_require__.bind(__webpack_require__,92673))),251:Me.lazy(()=>__webpack_require__.e(5117).then(__webpack_require__.bind(__webpack_require__,62561))),252:Me.lazy(()=>__webpack_require__.e(7402).then(__webpack_require__.bind(__webpack_require__,99573))),253:Me.lazy(()=>__webpack_require__.e(1897).then(__webpack_require__.bind(__webpack_require__,78521))),254:Me.lazy(()=>__webpack_require__.e(8145).then(__webpack_require__.bind(__webpack_require__,6615))),255:Me.lazy(()=>__webpack_require__.e(119).then(__webpack_require__.bind(__webpack_require__,53026))),256:Me.lazy(()=>__webpack_require__.e(4736).then(__webpack_require__.bind(__webpack_require__,89926))),257:Me.lazy(()=>__webpack_require__.e(2412).then(__webpack_require__.bind(__webpack_require__,84018))),258:Me.lazy(()=>__webpack_require__.e(2240).then(__webpack_require__.bind(__webpack_require__,84424))),259:Me.lazy(()=>__webpack_require__.e(5165).then(__webpack_require__.bind(__webpack_require__,4146))),260:Me.lazy(()=>__webpack_require__.e(3831).then(__webpack_require__.bind(__webpack_require__,72159))),261:Me.lazy(()=>__webpack_require__.e(2396).then(__webpack_require__.bind(__webpack_require__,69625))),262:Me.lazy(()=>__webpack_require__.e(7855).then(__webpack_require__.bind(__webpack_require__,80414))),263:Me.lazy(()=>__webpack_require__.e(9507).then(__webpack_require__.bind(__webpack_require__,55729))),264:Me.lazy(()=>__webpack_require__.e(1343).then(__webpack_require__.bind(__webpack_require__,75172))),265:Me.lazy(()=>__webpack_require__.e(1302).then(__webpack_require__.bind(__webpack_require__,81302))),266:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(2670),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,52429))),267:Me.lazy(()=>__webpack_require__.e(9647).then(__webpack_require__.bind(__webpack_require__,64970))),268:Me.lazy(()=>__webpack_require__.e(485).then(__webpack_require__.bind(__webpack_require__,18684))),269:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(4741)]).then(__webpack_require__.bind(__webpack_require__,89459))),270:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(4741)]).then(__webpack_require__.bind(__webpack_require__,89459))),271:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(4994)]).then(__webpack_require__.bind(__webpack_require__,42134))),272:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(4994)]).then(__webpack_require__.bind(__webpack_require__,42134))),273:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(7460)]).then(__webpack_require__.bind(__webpack_require__,92634))),274:Me.lazy(()=>__webpack_require__.e(9716).then(__webpack_require__.bind(__webpack_require__,25120))),275:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(6913)]).then(__webpack_require__.bind(__webpack_require__,89761))),276:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(6913)]).then(__webpack_require__.bind(__webpack_require__,89761))),277:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(2670),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,52429))),278:Me.lazy(()=>__webpack_require__.e(3006).then(__webpack_require__.bind(__webpack_require__,76401))),279:Me.lazy(()=>__webpack_require__.e(2045).then(__webpack_require__.bind(__webpack_require__,36534))),280:Me.lazy(()=>__webpack_require__.e(1520).then(__webpack_require__.bind(__webpack_require__,2830))),281:Me.lazy(()=>__webpack_require__.e(9649).then(__webpack_require__.bind(__webpack_require__,93328))),282:Me.lazy(()=>__webpack_require__.e(4546).then(__webpack_require__.bind(__webpack_require__,40050))),283:Me.lazy(()=>__webpack_require__.e(5357).then(__webpack_require__.bind(__webpack_require__,58635))),284:Me.lazy(()=>__webpack_require__.e(8665).then(__webpack_require__.bind(__webpack_require__,61581))),285:Me.lazy(()=>__webpack_require__.e(3183).then(__webpack_require__.bind(__webpack_require__,5254))),286:Me.lazy(()=>__webpack_require__.e(4800).then(__webpack_require__.bind(__webpack_require__,2520))),287:Me.lazy(()=>__webpack_require__.e(9489).then(__webpack_require__.bind(__webpack_require__,60505))),288:Me.lazy(()=>__webpack_require__.e(9391).then(__webpack_require__.bind(__webpack_require__,26845))),289:Me.lazy(()=>__webpack_require__.e(5335).then(__webpack_require__.bind(__webpack_require__,38896))),290:Me.lazy(()=>__webpack_require__.e(2823).then(__webpack_require__.bind(__webpack_require__,38438))),291:Me.lazy(()=>__webpack_require__.e(4973).then(__webpack_require__.bind(__webpack_require__,60999))),292:Me.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(6651)]).then(__webpack_require__.bind(__webpack_require__,88105))),293:Me.lazy(()=>__webpack_require__.e(6741).then(__webpack_require__.bind(__webpack_require__,63703))),294:Me.lazy(()=>__webpack_require__.e(5775).then(__webpack_require__.bind(__webpack_require__,15993))),295:Me.lazy(()=>__webpack_require__.e(2548).then(__webpack_require__.bind(__webpack_require__,3643))),296:Me.lazy(()=>__webpack_require__.e(1302).then(__webpack_require__.bind(__webpack_require__,81302))),297:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(2670),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,52429))),298:Me.lazy(()=>__webpack_require__.e(6634).then(__webpack_require__.bind(__webpack_require__,45589))),299:Me.lazy(()=>__webpack_require__.e(680).then(__webpack_require__.bind(__webpack_require__,11315))),300:Me.lazy(()=>__webpack_require__.e(6366).then(__webpack_require__.bind(__webpack_require__,30287))),301:Me.lazy(()=>__webpack_require__.e(6452).then(__webpack_require__.bind(__webpack_require__,3876))),302:Me.lazy(()=>__webpack_require__.e(1070).then(__webpack_require__.bind(__webpack_require__,37988))),303:Me.lazy(()=>__webpack_require__.e(7242).then(__webpack_require__.bind(__webpack_require__,18639))),304:Me.lazy(()=>__webpack_require__.e(2707).then(__webpack_require__.bind(__webpack_require__,37304))),305:Me.lazy(()=>__webpack_require__.e(2865).then(__webpack_require__.bind(__webpack_require__,83019))),306:Me.lazy(()=>__webpack_require__.e(6784).then(__webpack_require__.bind(__webpack_require__,16475))),307:Me.lazy(()=>__webpack_require__.e(6784).then(__webpack_require__.bind(__webpack_require__,16475))),308:Me.lazy(()=>__webpack_require__.e(3141).then(__webpack_require__.bind(__webpack_require__,11393))),309:Me.lazy(()=>__webpack_require__.e(1302).then(__webpack_require__.bind(__webpack_require__,81302))),310:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(6411),__webpack_require__.e(2670),__webpack_require__.e(7289)]).then(__webpack_require__.bind(__webpack_require__,99905))),311:Me.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(2670),__webpack_require__.e(700)]).then(__webpack_require__.bind(__webpack_require__,24262))),312:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(6411),__webpack_require__.e(2670),__webpack_require__.e(7289)]).then(__webpack_require__.bind(__webpack_require__,99905))),313:Me.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(2670),__webpack_require__.e(700)]).then(__webpack_require__.bind(__webpack_require__,24262))),314:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(6411),__webpack_require__.e(2670),__webpack_require__.e(7289)]).then(__webpack_require__.bind(__webpack_require__,99905))),315:Me.lazy(()=>__webpack_require__.e(1302).then(__webpack_require__.bind(__webpack_require__,81302))),316:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(7527)]).then(__webpack_require__.bind(__webpack_require__,28491))),317:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(6270)]).then(__webpack_require__.bind(__webpack_require__,18810))),318:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(2670),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,52429))),319:Me.lazy(()=>__webpack_require__.e(547).then(__webpack_require__.bind(__webpack_require__,60105))),320:Me.lazy(()=>__webpack_require__.e(9788).then(__webpack_require__.bind(__webpack_require__,55850))),321:Me.lazy(()=>__webpack_require__.e(576).then(__webpack_require__.bind(__webpack_require__,94962))),322:Me.lazy(()=>__webpack_require__.e(7260).then(__webpack_require__.bind(__webpack_require__,57146))),323:Me.lazy(()=>__webpack_require__.e(4520).then(__webpack_require__.bind(__webpack_require__,6969))),324:Me.lazy(()=>__webpack_require__.e(9076).then(__webpack_require__.bind(__webpack_require__,61217))),325:Me.lazy(()=>__webpack_require__.e(4514).then(__webpack_require__.bind(__webpack_require__,94870))),326:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(2670),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,52429))),327:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(928)]).then(__webpack_require__.bind(__webpack_require__,60838))),328:Me.lazy(()=>__webpack_require__.e(1006).then(__webpack_require__.bind(__webpack_require__,53206))),329:Me.lazy(()=>__webpack_require__.e(1006).then(__webpack_require__.bind(__webpack_require__,53206))),330:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(2670),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,52429))),331:Me.lazy(()=>__webpack_require__.e(1939).then(__webpack_require__.bind(__webpack_require__,63809))),332:Me.lazy(()=>__webpack_require__.e(556).then(__webpack_require__.bind(__webpack_require__,27470))),333:Me.lazy(()=>__webpack_require__.e(6434).then(__webpack_require__.bind(__webpack_require__,39769))),334:Me.lazy(()=>__webpack_require__.e(1880).then(__webpack_require__.bind(__webpack_require__,20462))),335:Me.lazy(()=>__webpack_require__.e(8237).then(__webpack_require__.bind(__webpack_require__,13929))),336:Me.lazy(()=>__webpack_require__.e(3447).then(__webpack_require__.bind(__webpack_require__,10880))),337:Me.lazy(()=>__webpack_require__.e(264).then(__webpack_require__.bind(__webpack_require__,16734))),338:Me.lazy(()=>__webpack_require__.e(4259).then(__webpack_require__.bind(__webpack_require__,41829))),339:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(2670),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,52429))),340:Me.lazy(()=>__webpack_require__.e(4078).then(__webpack_require__.bind(__webpack_require__,54030))),341:Me.lazy(()=>__webpack_require__.e(2829).then(__webpack_require__.bind(__webpack_require__,19742))),342:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(5359)]).then(__webpack_require__.bind(__webpack_require__,19192))),343:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(2670),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,52429))),344:Me.lazy(()=>__webpack_require__.e(559).then(__webpack_require__.bind(__webpack_require__,84667))),345:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(3747)]).then(__webpack_require__.bind(__webpack_require__,64162))),346:Me.lazy(()=>__webpack_require__.e(4757).then(__webpack_require__.bind(__webpack_require__,98638))),347:Me.lazy(()=>__webpack_require__.e(1783).then(__webpack_require__.bind(__webpack_require__,85896))),348:Me.lazy(()=>__webpack_require__.e(7477).then(__webpack_require__.bind(__webpack_require__,15819))),349:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(9677)]).then(__webpack_require__.bind(__webpack_require__,35013))),350:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(9677)]).then(__webpack_require__.bind(__webpack_require__,35013))),351:Me.lazy(()=>__webpack_require__.e(6796).then(__webpack_require__.bind(__webpack_require__,98954))),352:Me.lazy(()=>__webpack_require__.e(4504).then(__webpack_require__.bind(__webpack_require__,93925))),353:Me.lazy(()=>__webpack_require__.e(7058).then(__webpack_require__.bind(__webpack_require__,88726))),354:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(8447)]).then(__webpack_require__.bind(__webpack_require__,39166))),355:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(1045)]).then(__webpack_require__.bind(__webpack_require__,1916))),356:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(1045)]).then(__webpack_require__.bind(__webpack_require__,1916))),357:Me.lazy(()=>__webpack_require__.e(5238).then(__webpack_require__.bind(__webpack_require__,75565))),358:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(4715)]).then(__webpack_require__.bind(__webpack_require__,38617))),359:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(3873)]).then(__webpack_require__.bind(__webpack_require__,18727))),360:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(6069)]).then(__webpack_require__.bind(__webpack_require__,33851))),361:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(6069)]).then(__webpack_require__.bind(__webpack_require__,33851))),362:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(6265)]).then(__webpack_require__.bind(__webpack_require__,2506))),363:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(8563)]).then(__webpack_require__.bind(__webpack_require__,86074))),364:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(8563)]).then(__webpack_require__.bind(__webpack_require__,86074))),365:Me.lazy(()=>__webpack_require__.e(1713).then(__webpack_require__.bind(__webpack_require__,48856))),366:Me.lazy(()=>__webpack_require__.e(5891).then(__webpack_require__.bind(__webpack_require__,20757))),367:Me.lazy(()=>__webpack_require__.e(8398).then(__webpack_require__.bind(__webpack_require__,67579))),368:Me.lazy(()=>__webpack_require__.e(8241).then(__webpack_require__.bind(__webpack_require__,75342))),369:Me.lazy(()=>__webpack_require__.e(2339).then(__webpack_require__.bind(__webpack_require__,17571))),370:Me.lazy(()=>__webpack_require__.e(7589).then(__webpack_require__.bind(__webpack_require__,35350))),371:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(3747)]).then(__webpack_require__.bind(__webpack_require__,64162))),372:Me.lazy(()=>__webpack_require__.e(5705).then(__webpack_require__.bind(__webpack_require__,74598))),373:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(2670),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,52429))),374:Me.lazy(()=>__webpack_require__.e(559).then(__webpack_require__.bind(__webpack_require__,84667))),375:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(3747)]).then(__webpack_require__.bind(__webpack_require__,64162))),376:Me.lazy(()=>__webpack_require__.e(4757).then(__webpack_require__.bind(__webpack_require__,98638))),377:Me.lazy(()=>__webpack_require__.e(1783).then(__webpack_require__.bind(__webpack_require__,85896))),378:Me.lazy(()=>__webpack_require__.e(7477).then(__webpack_require__.bind(__webpack_require__,15819))),379:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(9677)]).then(__webpack_require__.bind(__webpack_require__,35013))),380:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(9677)]).then(__webpack_require__.bind(__webpack_require__,35013))),381:Me.lazy(()=>__webpack_require__.e(6796).then(__webpack_require__.bind(__webpack_require__,98954))),382:Me.lazy(()=>__webpack_require__.e(4504).then(__webpack_require__.bind(__webpack_require__,93925))),383:Me.lazy(()=>__webpack_require__.e(7058).then(__webpack_require__.bind(__webpack_require__,88726))),384:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(8447)]).then(__webpack_require__.bind(__webpack_require__,39166))),385:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(1045)]).then(__webpack_require__.bind(__webpack_require__,1916))),386:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(1045)]).then(__webpack_require__.bind(__webpack_require__,1916))),387:Me.lazy(()=>__webpack_require__.e(5238).then(__webpack_require__.bind(__webpack_require__,75565))),388:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(4715)]).then(__webpack_require__.bind(__webpack_require__,38617))),389:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(3873)]).then(__webpack_require__.bind(__webpack_require__,18727))),390:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(6069)]).then(__webpack_require__.bind(__webpack_require__,33851))),391:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(6069)]).then(__webpack_require__.bind(__webpack_require__,33851))),392:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(6265)]).then(__webpack_require__.bind(__webpack_require__,2506))),393:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(8563)]).then(__webpack_require__.bind(__webpack_require__,86074))),394:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(8563)]).then(__webpack_require__.bind(__webpack_require__,86074))),395:Me.lazy(()=>__webpack_require__.e(1713).then(__webpack_require__.bind(__webpack_require__,48856))),396:Me.lazy(()=>__webpack_require__.e(5891).then(__webpack_require__.bind(__webpack_require__,20757))),397:Me.lazy(()=>__webpack_require__.e(8398).then(__webpack_require__.bind(__webpack_require__,67579))),398:Me.lazy(()=>__webpack_require__.e(8241).then(__webpack_require__.bind(__webpack_require__,75342))),399:Me.lazy(()=>__webpack_require__.e(2339).then(__webpack_require__.bind(__webpack_require__,17571))),400:Me.lazy(()=>__webpack_require__.e(7589).then(__webpack_require__.bind(__webpack_require__,35350))),401:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(3747)]).then(__webpack_require__.bind(__webpack_require__,64162))),402:Me.lazy(()=>__webpack_require__.e(5705).then(__webpack_require__.bind(__webpack_require__,74598))),403:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(2670),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,52429))),404:Me.lazy(()=>__webpack_require__.e(4766).then(__webpack_require__.bind(__webpack_require__,80429))),405:Me.lazy(()=>__webpack_require__.e(7560).then(__webpack_require__.bind(__webpack_require__,18128))),406:Me.lazy(()=>__webpack_require__.e(6029).then(__webpack_require__.bind(__webpack_require__,65719))),407:Me.lazy(()=>__webpack_require__.e(5179).then(__webpack_require__.bind(__webpack_require__,2486))),408:Me.lazy(()=>__webpack_require__.e(4621).then(__webpack_require__.bind(__webpack_require__,3128))),409:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(2670),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,52429))),410:Me.lazy(()=>__webpack_require__.e(1831).then(__webpack_require__.bind(__webpack_require__,53944))),411:Me.lazy(()=>__webpack_require__.e(2539).then(__webpack_require__.bind(__webpack_require__,33481))),412:Me.lazy(()=>__webpack_require__.e(8143).then(__webpack_require__.bind(__webpack_require__,88292))),413:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(5624)]).then(__webpack_require__.bind(__webpack_require__,59056))),414:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(1461)]).then(__webpack_require__.bind(__webpack_require__,20987))),415:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(4492)]).then(__webpack_require__.bind(__webpack_require__,14684))),416:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(9416)]).then(__webpack_require__.bind(__webpack_require__,86892))),417:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(2443)]).then(__webpack_require__.bind(__webpack_require__,39478))),418:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(2443)]).then(__webpack_require__.bind(__webpack_require__,39478))),419:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(2443)]).then(__webpack_require__.bind(__webpack_require__,39478))),420:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(2443)]).then(__webpack_require__.bind(__webpack_require__,39478))),421:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(2443)]).then(__webpack_require__.bind(__webpack_require__,39478))),422:Me.lazy(()=>__webpack_require__.e(5022).then(__webpack_require__.bind(__webpack_require__,41753))),423:Me.lazy(()=>__webpack_require__.e(6063).then(__webpack_require__.bind(__webpack_require__,7435))),424:Me.lazy(()=>__webpack_require__.e(6063).then(__webpack_require__.bind(__webpack_require__,7435))),425:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(7545)]).then(__webpack_require__.bind(__webpack_require__,47106))),426:Me.lazy(()=>__webpack_require__.e(1253).then(__webpack_require__.bind(__webpack_require__,42391))),427:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(2670),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,52429))),428:Me.lazy(()=>__webpack_require__.e(2216).then(__webpack_require__.bind(__webpack_require__,86189))),429:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(5382)]).then(__webpack_require__.bind(__webpack_require__,53804))),430:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(2670),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,52429))),431:Me.lazy(()=>__webpack_require__.e(4420).then(__webpack_require__.bind(__webpack_require__,74812))),432:Me.lazy(()=>Promise.all([__webpack_require__.e(5749),__webpack_require__.e(6979)]).then(__webpack_require__.bind(__webpack_require__,873))),433:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(6411),__webpack_require__.e(5749),__webpack_require__.e(6665),__webpack_require__.e(2225),__webpack_require__.e(8823)]).then(__webpack_require__.bind(__webpack_require__,66557))),434:Me.lazy(()=>__webpack_require__.e(3685).then(__webpack_require__.bind(__webpack_require__,81252))),435:Me.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(2225),__webpack_require__.e(2524)]).then(__webpack_require__.bind(__webpack_require__,12750))),436:Me.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5915)]).then(__webpack_require__.bind(__webpack_require__,76246))),437:Me.lazy(()=>__webpack_require__.e(3589).then(__webpack_require__.bind(__webpack_require__,39253))),438:Me.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(919)]).then(__webpack_require__.bind(__webpack_require__,14714))),439:Me.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(7042)]).then(__webpack_require__.bind(__webpack_require__,53772))),440:Me.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8137)]).then(__webpack_require__.bind(__webpack_require__,73705))),441:Me.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(6665),__webpack_require__.e(4339)]).then(__webpack_require__.bind(__webpack_require__,21651))),442:Me.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(9595)]).then(__webpack_require__.bind(__webpack_require__,78368))),443:Me.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(3443)]).then(__webpack_require__.bind(__webpack_require__,7587))),444:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(2670),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,52429))),445:Me.lazy(()=>__webpack_require__.e(4888).then(__webpack_require__.bind(__webpack_require__,98539))),446:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(3980)]).then(__webpack_require__.bind(__webpack_require__,71792))),447:Me.lazy(()=>__webpack_require__.e(6988).then(__webpack_require__.bind(__webpack_require__,23023))),448:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(1490)]).then(__webpack_require__.bind(__webpack_require__,45290))),449:Me.lazy(()=>__webpack_require__.e(1077).then(__webpack_require__.bind(__webpack_require__,31317))),450:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(2670),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,52429))),451:Me.lazy(()=>__webpack_require__.e(570).then(__webpack_require__.bind(__webpack_require__,89971))),452:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(2670),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,52429))),453:Me.lazy(()=>__webpack_require__.e(8365).then(__webpack_require__.bind(__webpack_require__,67389))),454:Me.lazy(()=>__webpack_require__.e(6788).then(__webpack_require__.bind(__webpack_require__,42988))),455:Me.lazy(()=>Promise.all([__webpack_require__.e(5749),__webpack_require__.e(141)]).then(__webpack_require__.bind(__webpack_require__,14021))),456:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(2670),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,52429))),457:Me.lazy(()=>__webpack_require__.e(4056).then(__webpack_require__.bind(__webpack_require__,80350))),458:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(2670),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,52429))),459:Me.lazy(()=>__webpack_require__.e(953).then(__webpack_require__.bind(__webpack_require__,96417))),460:Me.lazy(()=>__webpack_require__.e(9487).then(__webpack_require__.bind(__webpack_require__,18383))),461:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(2670),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,52429))),462:Me.lazy(()=>__webpack_require__.e(532).then(__webpack_require__.bind(__webpack_require__,730))),463:Me.lazy(()=>__webpack_require__.e(7178).then(__webpack_require__.bind(__webpack_require__,107))),464:Me.lazy(()=>__webpack_require__.e(1660).then(__webpack_require__.bind(__webpack_require__,45600))),465:Me.lazy(()=>__webpack_require__.e(7333).then(__webpack_require__.bind(__webpack_require__,32623))),466:Me.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(4227)]).then(__webpack_require__.bind(__webpack_require__,81653))),467:Me.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8155)]).then(__webpack_require__.bind(__webpack_require__,96366))),468:Me.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5186)]).then(__webpack_require__.bind(__webpack_require__,31921))),469:Me.lazy(()=>__webpack_require__.e(5786).then(__webpack_require__.bind(__webpack_require__,16283))),470:Me.lazy(()=>__webpack_require__.e(9366).then(__webpack_require__.bind(__webpack_require__,51942))),471:Me.lazy(()=>__webpack_require__.e(5972).then(__webpack_require__.bind(__webpack_require__,49172))),472:Me.lazy(()=>__webpack_require__.e(9366).then(__webpack_require__.bind(__webpack_require__,51942))),473:Me.lazy(()=>__webpack_require__.e(1470).then(__webpack_require__.bind(__webpack_require__,42878))),474:Me.lazy(()=>__webpack_require__.e(7182).then(__webpack_require__.bind(__webpack_require__,5539))),475:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(2670),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,52429))),476:Me.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(2476)]).then(__webpack_require__.bind(__webpack_require__,70881))),477:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(2670),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,52429))),478:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(5729)]).then(__webpack_require__.bind(__webpack_require__,20578))),479:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(2670),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,52429))),480:Me.lazy(()=>__webpack_require__.e(6444).then(__webpack_require__.bind(__webpack_require__,29128))),481:Me.lazy(()=>__webpack_require__.e(5111).then(__webpack_require__.bind(__webpack_require__,1837))),482:Me.lazy(()=>__webpack_require__.e(2307).then(__webpack_require__.bind(__webpack_require__,42031))),483:Me.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(7224)]).then(__webpack_require__.bind(__webpack_require__,46090))),484:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(2670),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,52429))),485:Me.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(1511),__webpack_require__.e(8866)]).then(__webpack_require__.bind(__webpack_require__,43246))),486:Me.lazy(()=>__webpack_require__.e(2300).then(__webpack_require__.bind(__webpack_require__,85700))),487:Me.lazy(()=>__webpack_require__.e(2501).then(__webpack_require__.bind(__webpack_require__,1055))),488:Me.lazy(()=>__webpack_require__.e(3212).then(__webpack_require__.bind(__webpack_require__,60284))),489:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(6904)]).then(__webpack_require__.bind(__webpack_require__,71936))),490:Me.lazy(()=>__webpack_require__.e(1855).then(__webpack_require__.bind(__webpack_require__,41769))),491:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(6904)]).then(__webpack_require__.bind(__webpack_require__,71936))),492:Me.lazy(()=>__webpack_require__.e(1276).then(__webpack_require__.bind(__webpack_require__,5496))),493:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(5816)]).then(__webpack_require__.bind(__webpack_require__,93661))),494:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(5816)]).then(__webpack_require__.bind(__webpack_require__,93661))),495:Me.lazy(()=>__webpack_require__.e(3784).then(__webpack_require__.bind(__webpack_require__,64567))),496:Me.lazy(()=>__webpack_require__.e(3862).then(__webpack_require__.bind(__webpack_require__,77982))),497:Me.lazy(()=>__webpack_require__.e(4565).then(__webpack_require__.bind(__webpack_require__,86795))),498:Me.lazy(()=>__webpack_require__.e(6531).then(__webpack_require__.bind(__webpack_require__,11581))),499:Me.lazy(()=>__webpack_require__.e(6170).then(__webpack_require__.bind(__webpack_require__,92408))),500:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(4496)]).then(__webpack_require__.bind(__webpack_require__,51296))),501:Me.lazy(()=>__webpack_require__.e(1836).then(__webpack_require__.bind(__webpack_require__,13780))),502:Me.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(7210),__webpack_require__.e(8435)]).then(__webpack_require__.bind(__webpack_require__,2408))),503:Me.lazy(()=>__webpack_require__.e(3509).then(__webpack_require__.bind(__webpack_require__,67031))),504:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(4496)]).then(__webpack_require__.bind(__webpack_require__,51296))),505:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(4496)]).then(__webpack_require__.bind(__webpack_require__,51296))),506:Me.lazy(()=>__webpack_require__.e(6034).then(__webpack_require__.bind(__webpack_require__,53588))),507:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(8999)]).then(__webpack_require__.bind(__webpack_require__,8152))),508:Me.lazy(()=>__webpack_require__.e(3910).then(__webpack_require__.bind(__webpack_require__,86210))),509:Me.lazy(()=>Promise.all([__webpack_require__.e(3696),__webpack_require__.e(67)]).then(__webpack_require__.bind(__webpack_require__,31477))),510:Me.lazy(()=>__webpack_require__.e(6531).then(__webpack_require__.bind(__webpack_require__,11581))),"@@/global-layout":Me.lazy(()=>__webpack_require__.e(1717).then(__webpack_require__.bind(__webpack_require__,77921)))}}})}var T=__webpack_require__(46234),O=__webpack_require__(43336),L=__webpack_require__(71418),_e=__webpack_require__(89335),Ie=()=>Me.createElement(L.Z,{size:"middle",className:_e.Z.loading}),hn=__webpack_require__(75759),On=__webpack_require__(66649),mn=__webpack_require__.n(On),Bi=__webpack_require__(91392),ds=__webpack_require__.n(Bi),$a=__webpack_require__(73100),Yo=__webpack_require__.n($a),is=__webpack_require__(14805),Po=__webpack_require__.n(is),$s=__webpack_require__(13477),tf=__webpack_require__.n($s),Jl=__webpack_require__(64796),Bc=__webpack_require__.n(Jl),rf=__webpack_require__(9007),Qu=__webpack_require__.n(rf),Pi=__webpack_require__(58626),Cl=__webpack_require__.n(Pi),Nc=__webpack_require__(9084),su=__webpack_require__.n(Nc),_o=__webpack_require__(5116),gs=__webpack_require__.n(_o),bl=__webpack_require__(50991),ec=__webpack_require__.n(bl),xl=__webpack_require__(39050),Fl=__webpack_require__.n(xl),Tl=__webpack_require__(1554),wf=__webpack_require__.n(Tl),Bu=__webpack_require__(59697),Bl=__webpack_require__.n(Bu);mn().extend(Yo()),mn().extend(Po()),mn().extend(tf()),mn().extend(Bc()),mn().extend(Qu()),mn().extend(Cl()),mn().extend(su()),mn().extend(gs()),mn().extend(ec()),mn().extend(Fl()),mn().extend(wf()),mn().extend(Bl()),mn().extend(ds());var nf=Object.defineProperty,Nl=Object.getOwnPropertySymbols,Ef=Object.prototype.hasOwnProperty,Nu=Object.prototype.propertyIsEnumerable,Pl=(Fn,ri,Ki)=>ri in Fn?nf(Fn,ri,{enumerable:!0,configurable:!0,writable:!0,value:Ki}):Fn[ri]=Ki,tc=(Fn,ri)=>{for(var Ki in ri||(ri={}))Ef.call(ri,Ki)&&Pl(Fn,Ki,ri[Ki]);if(Nl)for(var Ki of Nl(ri))Nu.call(ri,Ki)&&Pl(Fn,Ki,ri[Ki]);return Fn},jc=(Fn,ri,Ki)=>new Promise((Ma,sa)=>{var Ea=oa=>{try{Bs(Ki.next(oa))}catch(Us){sa(Us)}},va=oa=>{try{Bs(Ki.throw(oa))}catch(Us){sa(Us)}},Bs=oa=>oa.done?Ma(oa.value):Promise.resolve(oa.value).then(Ea,va);Bs((Ki=Ki.apply(Fn,ri)).next())});const Hu="/react/build/",Tu=!1;function Pu(){return jc(this,null,function*(){const Fn=(0,T.gD)(),{routes:ri,routeComponents:Ki}=yield xf(Fn);yield Fn.applyPlugins({key:"patchRoutes",type:hn.ApplyPluginsType.event,args:{routes:ri,routeComponents:Ki}});const Ma=Fn.applyPlugins({key:"modifyContextOpts",type:hn.ApplyPluginsType.modify,initialValue:{}}),sa=Ma.basename||"/",Ea=Ma.historyType||"browser",va=(0,O.fi)(tc({type:Ea,basename:sa},Ma.historyOpts));return Fn.applyPlugins({key:"render",type:hn.ApplyPluginsType.compose,initialValue(){const Bs={useStream:!0,routes:ri,routeComponents:Ki,pluginManager:Fn,mountElementId:"root",rootElement:Ma.rootElement||document.getElementById("root"),loadingComponent:Ie,publicPath:Hu,runtimePublicPath:Tu,history:va,historyType:Ea,basename:sa,__INTERNAL_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{pureApp:!1,pureHtml:!1},callback:Ma.callback},oa=Fn.applyPlugins({key:"modifyClientRenderOpts",type:hn.ApplyPluginsType.modify,initialValue:Bs});return Mc(oa)}})()})}Pu(),typeof window!="undefined"&&(window.g_umi={version:"4.6.0"})})()})();