Commit 7d8d89bd by haojie

1

parent a1b48f8d
System.register(["./vue-legacy-e1572d11.js","./userApi-legacy-f48623ab.js","./index-legacy-68247afe.js"],(function(t,e){"use strict";var a,o,s,c,i,n,r,d,l,u,y,g,m,v;return{setters:[t=>{a=t.d,o=t.I,s=t.Q,c=t.a0,i=t.S},t=>{n=t.C,r=t.E,d=t.F,l=t.G,u=t.H,y=t.s,g=t.I},t=>{m=t.t,v=t.d}],execute:function(){const e=[i("div",{class:"loading"},[i("div"),i("div"),i("div"),i("div"),i("div"),i("div"),i("div"),i("div")],-1)];t("L",a({__name:"loading",props:{position:{default:"absolute"}},setup:t=>(a,i)=>(o(),s("div",{class:"custom-loading-two",style:c({position:t.position})},e,4))})),t("b",(async()=>{try{let t=await n();if(0==t.code)return t.data}catch(t){return console.log(t),{}}})),t("g",(async()=>{let t={adminList:[],myList:[]};try{let e=await r();return 0==e.code&&(t.adminList=e.data.filter((t=>0==t.users_id)),t.myList=e.data.filter((t=>0!=t.users_id))),t}catch(e){return console.log(e),t}})),t("c",(async()=>{let t={tones:[],soundColor:[]};try{let e=await d();return 0==e.code&&(e.data.forEach((t=>{t.img=t.icon,t.c_name=t.name,t.c_categorie=t.extend?.voice})),t.tones=e.data.filter((t=>t.type==m)),t.soundColor=e.data.filter((t=>t.type==v))),t}catch(e){return console.log(e),t}})),t("d",(async(t=!1)=>{try{let e=await l();if(0==e.code)return e.data.forEach((e=>{e.c_name=e.name,e.c_status=!0,e.popup=!1,e.edit=!1,e.blurNum=1,e.loading=!1,t&&(e.label=e.name,e.value=e.id)})),e.data}catch(e){return console.log(e),[]}})),t("o",(async(t,e)=>{try{return 0==(await u(t,e)).code&&(y("更新成功","success"),!0)}catch(a){return console.log(a),!1}})),t("a",(async(t,e)=>{try{return 0==(await g(t,e)).code&&(y("更新成功","success"),!0)}catch(a){return console.log(a),!1}}))}}}));
System.register(["./userApi-legacy-f48623ab.js","./vue-legacy-e1572d11.js"],(function(e,l){"use strict";var t,o,a,s,n,u,c,d,r,i,f,m,p,y,v;return{setters:[e=>{t=e.B},e=>{o=e.d,a=e.r,s=e.w,n=e.I,u=e.J,c=e.R,d=e.S,r=e.Y,i=e.Q,f=e.a,m=e.V,p=e.K,y=e.X,v=e.D}],execute:function(){const l={class:"custom-confirm-dialog-body"},b={class:"title"},C={key:0,class:"footer-default"},g=y("取消"),V=y("确定"),_=o({__name:"ConfirmDialog",props:{modelValue:{type:Boolean},header:null,footer:{type:Boolean,default:null},placement:{default:"center"},destroyOnClose:{type:Boolean,default:!1},className:{default:""},title:{default:""}},emits:["update:modelValue","confirm"],setup(e,{emit:o}){const y=e,_=a(y.modelValue);s((()=>y.modelValue),(e=>{_.value=e})),s((()=>_.value),(e=>{o("update:modelValue",e)}));const B=()=>{o("update:modelValue",!1),o("confirm")};return(o,a)=>{const s=v("t-dialog");return n(),u(s,{visible:_.value,"onUpdate:visible":a[1]||(a[1]=e=>_.value=e),attach:"body",class:p([e.className,"c-dialog-confirm-default"]),destroyOnClose:e.destroyOnClose,placement:e.placement},{body:c((()=>[d("div",l,[d("div",b,r(e.title),1)])])),footer:c((()=>[null===e.footer?(n(),i("div",C,[f(t,{onClick:a[0]||(a[0]=e=>_.value=!1),class:"footer-cancel footer-public-btn"},{default:c((()=>[g])),_:1}),f(t,{onClick:B,class:"footer-confrim footer-public-btn"},{default:c((()=>[V])),_:1})])):m("",!0)])),_:1},8,["visible","class","destroyOnClose","placement"])}}});e("C",_)}}}));
This source diff could not be displayed because it is too large. You can view the blob instead.
System.register(["./vue-legacy-e1572d11.js","./changeName-legacy-e0f05d42.js"],(function(e,a){"use strict";var l,n,s,u,c,t,i,o,r,d,m,v,g,h,k;return{setters:[e=>{l=e.d,n=e.r,s=e.w,u=e.I,c=e.Q,t=e.S,i=e.e,o=e.z,r=e.Z,d=e.J,m=e.F,v=e.X,g=e.Y,h=e.K},e=>{k=e._}],execute:function(){const a=["src"];e("_",l({__name:"cardOne",props:{id:null,img:null,name:null,clicked:{type:Boolean,default:!0},className:{default:""},row:{default:{}},edit:{type:Boolean,default:!1}},emits:["change","nameChange"],setup(e,{emit:l}){const y=e,f=n(y.name),p=n(!1),C=e=>{l("nameChange",y.id,e)},N=()=>{y.clicked&&l("change",y.id,y.row)},_=()=>{p.value=!0},w=()=>{p.value=!1};return s((()=>y.name),(e=>{f.value=e})),(l,n)=>(u(),c("div",{class:h(["custom-card-box",[e.clicked?"cursor-pointer":"",e.className?e.className:""]]),onClick:N},[t("div",{class:"img-box",onMouseenter:_,onMouseleave:w},[t("img",{src:e.img,alt:""},null,8,a),i(t("div",null,[r(l.$slots,"hover")],512),[[o,p.value]])],32),t("div",null,[e.edit?(u(),d(k,{key:0,value:f.value,onChange:C},null,8,["value"])):(u(),c(m,{key:1},[v(g(e.name),1)],64))])],2))}}))}}}));
System.register(["./index-legacy-31c6062c.js","./edit-legacy-59c4e814.js","./vue-legacy-e1572d11.js"],(function(e,a){"use strict";var l,t,u,n,s,c,i,v,o,d,m,p,r,g,y;return{setters:[e=>{l=e._},e=>{t=e.E},e=>{u=e.d,n=e.r,s=e.w,c=e.I,i=e.Q,v=e.J,o=e.F,d=e.X,m=e.Y,p=e.V,r=e.S,g=e.a,y=e.L}],execute:function(){const a={class:"custom-change-name-box"},h={key:1,class:"empty-tips"};e("_",u({__name:"changeName",props:{isEdit:{type:Boolean,default:!1},event:{type:Function,default:()=>!0},value:null},emits:["change"],setup(e,{emit:u}){const f=e,k=n(!1),x=n(f.value),V=()=>{k.value=!0},_=async()=>{k.value=!1,await f.event(x.value)||(x.value=f.value),u("change",x.value)};return s((()=>f.value),(e=>{x.value=e})),(u,n)=>(c(),i("div",a,[k.value?(c(),v(l,{key:0,modelValue:x.value,"onUpdate:modelValue":n[0]||(n[0]=e=>x.value=e),align:"left",theme:"light",width:"auto",height:"23px",autoFocus:!0,onInputBlur:_},null,8,["modelValue"])):e.value?k.value?p("",!0):(c(),i(o,{key:2},[d(m(e.value),1)],64)):(c(),i("span",h,"未命名草稿")),r("span",{onClick:V,class:"edit-icon"},[g(y(t))])]))}}))}}}));
System.register(["./vue-legacy-e1572d11.js"],(function(t,e){"use strict";var c,n,r;return{setters:[t=>{c=t.I,n=t.Q,r=t.S}],execute:function(){const e={width:"18",height:"18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},s=[r("path",{d:"M16.494 2.87c.048.109.087.235.117.379.03.143.045.293.045.45a1.3 1.3 0 0 1-.09.467c-.06.156-.155.306-.287.45-.143.144-.271.27-.385.378-.113.107-.212.203-.296.287-.095.096-.185.18-.268.252L11.979 2.17c.143-.132.313-.29.51-.477.197-.186.362-.332.493-.44A1.571 1.571 0 0 1 14.031.9c.173.006.34.033.501.08.162.049.302.103.421.163.251.132.529.362.834.692.304.33.54.675.707 1.035Zm-13.96 8.78c.072-.072.24-.243.503-.513.262-.27.59-.603.985-.998L5.33 8.825l1.452-1.457L10.635 3.5l3.35 3.383-3.852 3.867-1.434 1.458c-.478.467-.908.896-1.29 1.286s-.699.71-.95.962a7.768 7.768 0 0 1-.86.774 2.24 2.24 0 0 1-.484.288 7.813 7.813 0 0 1-.734.306c-.323.12-.66.237-1.013.35a19.61 19.61 0 0 1-1.003.297 7.53 7.53 0 0 1-.708.162c-.323.036-.538-.012-.645-.144-.108-.132-.138-.354-.09-.665.024-.168.08-.411.17-.729.09-.318.185-.648.287-.99.101-.341.2-.656.296-.944.095-.288.173-.486.233-.594.071-.168.152-.32.241-.458.09-.138.219-.291.386-.46Z",fill:"#B4B4B4"},null,-1)];t("E",{render:function(t,r){return c(),n("svg",e,s)}})}}}));
System.register(["./vue-legacy-e1572d11.js","./Common-legacy-6e401395.js","./ConfirmDialog-legacy-f4d50655.js","./edit-legacy-59c4e814.js","./TdesignNext-legacy-e721ed2d.js","./userApi-legacy-f48623ab.js","./index-legacy-671251eb.js","./index-legacy-447759e3.js","./textarea-legacy-f77d13d8.js","./index-legacy-31c6062c.js","./index-legacy-68247afe.js","./otherRequest-legacy-ad8ec785.js"],(function(e,l){"use strict";var a,t,u,o,n,s,i,c,d,v,r,m,p,g,h,f,y,V,_,b,w,k,C,U,x,N,L,j,z,Z,B,G,I,S,H,R,T,A,K,M,D,P,E,F,O,q,$,J,Q,W,X,Y;return{setters:[e=>{a=e.I,t=e.Q,u=e.S,o=e.d,n=e.r,s=e.w,i=e.J,c=e.R,d=e.Z,v=e.L,r=e.a,m=e.V,p=e.O,g=e.F,h=e.j,f=e.o,y=e.e,V=e.z,_=e.Y,b=e.X,w=e.a0,k=e.U,C=e.K},e=>{U=e.L,x=e.b,N=e.c,L=e.d},e=>{j=e.C},e=>{z=e.E},e=>{Z=e.h,B=e.g,G=e.T,I=e.P,S=e.e},e=>{H=e.B,R=e.s,T=e.k,A=e.l,K=e.m,M=e.n,D=e.c,P=e.e,E=e.o,F=e.p,O=e.q},e=>{q=e.U},e=>{$=e.C,J=e.a,Q=e.D},e=>{W=e.T,X=e.S},e=>{Y=e._},null,null],execute:function(){const ee={width:"22",height:"25",fill:"none",xmlns:"http://www.w3.org/2000/svg"},le=[u("path",{d:"M2.669 3.935H19.33c.92 0 1.669.742 1.669 1.65v2.916a.22.22 0 0 1-.065.156.224.224 0 0 1-.157.064H1.223a.224.224 0 0 1-.158-.064A.22.22 0 0 1 1 8.5V5.585c0-.908.75-1.65 1.669-1.65Zm-.306 5.477h17.274c.306 0 .556.247.556.55v12.387c0 .91-.749 1.651-1.668 1.651H3.475a1.663 1.663 0 0 1-1.668-1.65V9.961c0-.303.25-.55.556-.55ZM8.647 1h4.705c.553 0 .875.166 1.066.732.14.419.182.954.26 1.446a.22.22 0 0 1-.127.234.225.225 0 0 1-.093.02H7.542a.225.225 0 0 1-.214-.16.218.218 0 0 1-.006-.094c.078-.492.12-1.027.26-1.446C7.773 1.166 8.095 1 8.647 1Zm1.506 10.766v9.972c0 1.07 1.694 1.07 1.694 0v-9.972c0-1.319-1.694-1.319-1.694 0Zm4.794 0v9.972c0 1.073 1.734 1.093 1.734 0v-9.972c0-1.354-1.734-1.354-1.734 0Zm-7.894 0c0-1.354-1.734-1.354-1.734 0v9.972c0 1.093 1.734 1.073 1.734 0v-9.971Z",fill:"#B4B4B4"},null,-1)],ae={render:function(e,l){return a(),t("svg",ee,le)}},te=o({__name:"Popup",props:{modelValue:{type:Boolean},className:{default:""},trigger:{default:"click"},placement:{default:"bottom-right"}},emits:["update:modelValue"],setup(e,{emit:l}){const t=e,u=n(!1);return s((()=>t.modelValue),(e=>{u.value=e})),s((()=>u.value),(e=>{l("update:modelValue",e)})),(l,t)=>(a(),i(v(Z),{modelValue:u.value,"onUpdate:modelValue":t[0]||(t[0]=e=>u.value=e),placement:e.placement,trigger:e.trigger,overlayClassName:["custom-globle-popup",e.className]},{content:c((()=>[d(l.$slots,"content")])),default:c((()=>[d(l.$slots,"default")])),_:3},8,["modelValue","placement","trigger","overlayClassName"]))}}),ue={width:"40",height:"40",fill:"none",xmlns:"http://www.w3.org/2000/svg"},oe=[u("path",{d:"M34.815 6.221v.002C34.51 5.503 33.857 5 33.097 5H11.9c-.76 0-1.412.502-1.715 1.223-.12.278-.183.581-.185.888v14.412c0 .206.035.4.086.587.231.88.952 1.525 1.813 1.525h13.099a.558.558 0 0 1 .321.2c.058.117.132.222.223.313l2.107 2.147c.168.218.38.394.618.515.239.122.5.187.765.19.091 0 .178-.019.267-.034.471-.08.895-.352 1.183-.76.152-.212.235-.47.236-.738l.01-1.752a.455.455 0 0 1 .19-.08h2.178c.864 0 1.587-.649 1.82-1.525.053-.191.082-.39.084-.591V7.115c0-.32-.068-.621-.184-.894h-.001Zm-17.405 9.78c-.226-.001-.449-.049-.657-.142a1.713 1.713 0 0 1-.555-.398 1.84 1.84 0 0 1-.37-.594 1.931 1.931 0 0 1-.13-.7c0-1.013.765-1.834 1.71-1.834h.004c.945 0 1.71.821 1.709 1.834 0 1.012-.767 1.832-1.711 1.832v.002Zm5.7 0c-.225 0-.448-.049-.656-.141a1.713 1.713 0 0 1-.556-.398 1.842 1.842 0 0 1-.37-.594 1.931 1.931 0 0 1-.13-.7c0-1.013.766-1.834 1.71-1.834h.005c.944 0 1.71.821 1.708 1.834 0 1.013-.766 1.833-1.71 1.833Zm5.8 0c-.226 0-.449-.049-.657-.141a1.714 1.714 0 0 1-.556-.398 1.842 1.842 0 0 1-.37-.594 1.936 1.936 0 0 1-.13-.7c0-1.013.765-1.834 1.71-1.834h.005c.944 0 1.71.821 1.708 1.834 0 1.013-.766 1.833-1.71 1.833Z",fill:"#00DFB0"},null,-1),u("path",{d:"m23.968 29.679-.698-.752h-.012l-2.843-3.01h-7.44c-4.097-.04-4.202-3.793-4.202-3.793l-.001-8.987a1.318 1.318 0 0 0-.362-.806A1.07 1.07 0 0 0 7.657 12h-.76C5.853 12 5 12.991 5 14.21v15.061c0 1.22.855 2.21 1.903 2.21H9.08c.069.013.134.043.192.087l.009 1.83c0 .11.022.217.048.325.037.16.1.313.187.447.363.527.89.83 1.448.83h.003c.527 0 1.023-.267 1.382-.736l.506-.541 1.598-1.705c.07-.074.17-.233.221-.324a.554.554 0 0 1 .323-.21h8.614c.545 0 1.036-.27 1.383-.7l-.012-.015H25l-1.03-1.091h-.002Z",fill:"#00DFB0"},null,-1)],ne={render:function(e,l){return a(),t("svg",ue,oe)}},se={key:0,class:"custom-pagination"},ie=o({__name:"table",props:{rowkey:{default:"index"},columns:null,checkbox:{type:Boolean,default:!0},filter_num:{default:1},filter_api:{default:!1},AlreadyChoose:{default:{}},pageNum:null,pageSize:null,loading:{type:Boolean},total:null,list:null,pagination:{type:Boolean,default:!0}},emits:["ChangeList","ChoseList","PageNumChange"],setup(e,{emit:l}){const u=e,o=n(!1),s=e=>{(e=>{pageNum.value=e,l("PageNumChange",e)})(e)},d=(e=[])=>{l("ChoseList",e)},h=()=>{u.list.forEach((e=>{e.is_check=o.value})),o.value?d(u.list):d()};return(l,n)=>(a(),t(g,null,[r(v(G),{class:"admin-real-table","row-key":e.rowkey,data:e.list,columns:e.columns,loading:e.loading},{check_all:c((()=>[e.checkbox?(a(),i(v(B),{key:0,class:"check-all-box",modelValue:o.value,"onUpdate:modelValue":n[0]||(n[0]=e=>o.value=e),onChange:h},null,8,["modelValue"])):m("",!0)])),checkbox:c((({row:l})=>[e.checkbox?(a(),i(v(B),{key:0,modelValue:l.is_check,"onUpdate:modelValue":e=>l.is_check=e,class:"check-all-box",onChange:e=>(e=>{let l=0,a=0;for(let t=0;t<u.list.length;t++)u.list[t].is_check?l+=1:a+=1;if(l==u.list.length)o.value=!0,d(u.list);else if(a==u.list.length)o.value=!1,d();else{const e=u.list.filter((e=>1==e.is_check));d(e)}})()},null,8,["modelValue","onUpdate:modelValue","onChange"])):m("",!0)])),_:1},8,["row-key","data","columns","loading"]),e.pagination?(a(),t("div",se,[r(v(I),{modelValue:e.pageNum,"onUpdate:modelValue":n[1]||(n[1]=e=>p(pageNum)?pageNum.value=e:null),"page-size":e.pageSize,"onUpdate:page-size":n[2]||(n[2]=e=>p(pageSize)?pageSize.value=e:null),total:e.total,pageSizeOptions:[],onCurrentChange:s},null,8,["modelValue","page-size","total"])])):m("",!0)],64))}}),ce=o({__name:"switch",props:{id:{default:""},modelValue:{type:Boolean},size:{default:"large"}},emits:["update:modelValue","change"],setup(e,{emit:l}){const t=e,u=n(t.modelValue);return s((()=>t.modelValue),(e=>{u.value=e})),s((()=>u.value),(e=>{l("update:modelValue",e),l("change",e,t.id)})),(l,t)=>(a(),i(v(S),{class:"c-default-switch",modelValue:u.value,"onUpdate:modelValue":t[0]||(t[0]=e=>u.value=e),size:e.size,label:["开","关"]},null,8,["modelValue","size"]))}}),de=b(" 新增互动内容 "),ve=b(" 修改互动内容 "),re={class:"custom-interact-dialog-body"},me={class:"form-item"},pe=u("div",{class:"label"},"问题:",-1),ge={class:"value"},he={class:"form-item margin"},fe=u("div",{class:"label"},"回复:",-1),ye={class:"value"},Ve={class:"right-add-box"},_e={class:"my-tones-default"},be={class:"my-tones-active"},we=["src"],ke={class:"name"},Ce={class:"categorie"},Ue={class:"right-chose-tones"},xe={class:"default-label"},Ne=b(" 音调"),Le={key:1,class:"chose-tones-item"},je=["src"],ze={class:"name"},Ze={class:"categorie"},Be=u("div",{class:"default-add"},"+",-1),Ge=b(" 音色"),Ie={key:1,class:"chose-tones-item"},Se=["src"],He={class:"name"},Re={class:"form-item margin"},Te=u("div",{class:"label"},"状态:",-1),Ae={class:"value"},Ke={class:"custom-interact-dialog-footer"},Me=b("保存并继续"),De=b("保存"),Pe=o({__name:"AddInteractDialog",props:{modelValue:{type:Boolean},currentGroup:{default:""},type:{default:"add"},info:{default:{}},editRow:{type:Function,default:()=>!1}},emits:["update:modelValue","updateTable"],setup(e,{emit:o}){const d=e,b={label1:"选择音频",label2:"或拖音频到此处上传",buttonLabel:"选择音频",successIcon:new URL(""+new URL("success1-983d8c8d.svg",l.meta.url).href,self.location).href,successButtonLabel:"替换音频"},w=n({}),k=n(!1),C=h({tones:[],soundColor:[]}),L=n(""),j=n("1"),z=n(!0),Z=n(!1),B=n(""),G=n({}),I=n(""),S=n(!1),A=n(""),K=n({}),M=n(""),D=n(!1),P=n(""),E=n({}),F=n(!0);s((()=>d.modelValue),(e=>{o("update:modelValue",e)})),s((()=>A.value),(e=>{F.value=!e}));const O=()=>{A.value?D.value=!0:R("请先选择音调")},Y=e=>{G.value=e},ee=e=>{K.value=e},le=e=>{E.value=e},ae=()=>{L.value="",j.value="1",z.value=!0,Z.value=!1,B.value="",G.value={},I.value="",S.value=!1,A.value="",K.value={},M.value="",D.value=!1,P.value="",E.value={},F.value=!0},te=async e=>{try{k.value=!0,0==(await T(e)).code&&(R("添加成功","success"),ae(),status||o("update:modelValue",!1),o("updateTable")),k.value=!1}catch(l){k.value=!1,console.log(l)}};s((()=>d.type),(e=>{"add"==e&&ae()})),s((()=>d.info),(e=>{e&&Object.keys(e).length&&(L.value=e.problem,z.value=1==e.status,1==e.type?(j.value="1",B.value=e.phonetic_timbres_id,I.value=e.reply_content):(j.value="2",A.value=e.tone_id,P.value=e.phonetic_timbres_id,M.value=e.reply_content))}));const ue=async e=>{let l={};if(d.currentGroup)if(L.value){if("1"==j.value){if(!I.value)return void R("问题或音频必填");l.type=1,l.reply_content=I.value}else if("2"==j.value){if(!A.value||!M.value)return void R("音调或文字必填");l.type=2,l.reply_content=M.value,l.tone_id=A.value,P.value&&(l.phonetic_timbres_id=P.value)}l.problem=L.value,l.groups_id=d.currentGroup,l.status=z.value?1:0,"add"==d.type?await te(l):"edit"==d.type&&await(async(e,l)=>{await d.editRow(e,d.info.id)&&(o("updateTable"),o("update:modelValue",!1))})(l)}else R("问题必填");else R("未选择分组")};return f((()=>{(async()=>{w.value=await x()})(),(async()=>{let e=await N();C.soundColor=e.soundColor,C.tones=e.tones})()})),(l,o)=>(a(),i(Q,{modelValue:e.modelValue,"onUpdate:modelValue":o[13]||(o[13]=e=>p(modelValue)?modelValue.value=e:null),className:"reset-interact-dialog",footer:!0,destroyOnClose:!1},{header:c((()=>["add"==e.type?(a(),t(g,{key:0},[de],64)):(a(),t(g,{key:1},[ve],64))])),body:c((()=>[u("div",re,[y(r(U,null,null,512),[[V,k.value]]),u("div",me,[pe,u("div",ge,[r(W,{class:"interact-textarea",modelValue:L.value,"onUpdate:modelValue":o[0]||(o[0]=e=>L.value=e)},null,8,["modelValue"])])]),u("div",he,[fe,u("div",ye,[r(v(J),{modelValue:j.value,"onUpdate:modelValue":o[9]||(o[9]=e=>j.value=e),theme:"dark",defaultLineWidth:92},{rightComponent:c((()=>[u("div",Ve,[y(u("div",null,[r(X,{modelValue:Z.value,"onUpdate:modelValue":o[1]||(o[1]=e=>Z.value=e),title:"选择一种音色",list:C.soundColor,value:B.value,"onUpdate:value":o[2]||(o[2]=e=>B.value=e),onItemChange:Y},{default:c((()=>[y(u("div",_e,"我的音色",512),[[V,!B.value]]),y(u("div",be,[u("img",{src:G.value.img,alt:""},null,8,we),u("div",null,[u("div",ke,_(G.value.c_name),1),u("div",Ce,_(G.value.c_categorie),1)])],512),[[V,B.value]])])),_:1},8,["modelValue","list","value"])],512),[[V,"1"==j.value]]),y(u("div",Ue,[u("div",xe,[r(X,{modelValue:S.value,"onUpdate:modelValue":o[3]||(o[3]=e=>S.value=e),title:"选择一种音调",list:C.tones,value:A.value,"onUpdate:value":o[4]||(o[4]=e=>A.value=e),onItemChange:ee},{default:c((()=>[u("div",null,[A.value?(a(),t("div",Le,[u("img",{src:K.value.img,alt:""},null,8,je),u("div",null,[u("div",ze,_(K.value.c_name),1),u("div",Ze,_(K.value.c_categorie),1)])])):(a(),t(g,{key:0},[Ne],64))])])),_:1},8,["modelValue","list","value"])]),Be,u("div",{onClick:O,class:"default-label"},[r(X,{title:"选择一种音色",modelValue:D.value,"onUpdate:modelValue":o[5]||(o[5]=e=>D.value=e),disabled:F.value,value:P.value,"onUpdate:value":o[6]||(o[6]=e=>P.value=e),list:C.soundColor,onItemChange:le},{default:c((()=>[u("div",null,[P.value?(a(),t("div",Ie,[u("img",{src:E.value.img,alt:""},null,8,Se),u("div",null,[u("div",He,_(E.value.c_name),1)])])):(a(),t(g,{key:0},[Ge],64))])])),_:1},8,["modelValue","disabled","value","list"])])],512),[[V,"2"==j.value]])])])),default:c((()=>[r(v($),{name:"1",label:"音频回复"},{default:c((()=>[r(v(q),{modelValue:I.value,"onUpdate:modelValue":o[7]||(o[7]=e=>I.value=e),config:w.value,uploadInfo:b,accept:"wav",class:"reset-upload-dialog"},null,8,["modelValue","config"])])),_:1}),r(v($),{name:"2",label:"文字回复"},{default:c((()=>[r(W,{class:"reset-textarea",modelValue:M.value,"onUpdate:modelValue":o[8]||(o[8]=e=>M.value=e)},null,8,["modelValue"])])),_:1})])),_:1},8,["modelValue"])])]),u("div",Re,[Te,u("div",Ae,[r(ce,{modelValue:z.value,"onUpdate:modelValue":o[10]||(o[10]=e=>z.value=e)},null,8,["modelValue"])])])])])),footer:c((()=>[u("div",Ke,["add"==e.type?(a(),i(H,{key:0,theme:"opacity",onClick:o[11]||(o[11]=e=>ue())},{default:c((()=>[Me])),_:1})):m("",!0),r(H,{theme:"green",onClick:o[12]||(o[12]=e=>ue())},{default:c((()=>[De])),_:1})])])),_:1},8,["modelValue"]))}}),Ee={class:"right-content"},Fe={class:"right-content-header"},Oe=u("span",{class:"label"},"互动内容",-1),qe=b("+ 新增互动内容"),$e={class:"interact-table"},Je=o({__name:"InteractTable",props:{currentGroup:null},setup(e){const l=e,o=n(!1),i=n({}),d=n("add"),v=n(!1),m=n(1),p=n(10),g=n(0),f=n(!1),y=h({list:[],row:{}}),V=async()=>{let e=i.value.id;if(e)try{0==(await A(e)).code&&(R("删除成功","success"),x())}catch(l){console.log(l)}},_=e=>{i.value=e,o.value=!0},b=async(e,l)=>{try{return 0==(await K(l,e)).code&&(R("更新成功","success"),!0)}catch(a){return!1}},w=e=>{y.row=e,d.value="edit",f.value=!0},k=async(e,l)=>{let a=y.list.findIndex((e=>e.id==l)),t={};if(-1!==a){let u=y.list[a];t.status=e?1:0,t.groups_id=u.groups_id,t.phonetic_timbres_id=u.phonetic_timbres_id,t.problem=u.problem,t.reply_content=u.reply_content,t.tone_id=u.tone_id,t.type=u.type,await b(t,l)&&(u.status=e)}else R("没有id")},C=[{title:"问题",colKey:"problem",width:"60%"},{title:"状态",colKey:"c_status",cell:(e,{col:l,row:a})=>r("div",null,[r(ce,{modelValue:a[l.colKey],"onUpdate:modelValue":e=>a[l.colKey]=e,id:a.id,onChange:k},null)])},{title:"操作",colKey:"get3",cell:(e,{col:l,row:a})=>r("div",{class:"edit-box"},[r("span",{class:"edit-icon",onClick:w.bind(this,a)},[r(z,null,null)]),r("span",{class:"delete-icon",onClick:_.bind(this,a)},[r(ae,null,null)])])}],U=()=>{x()},x=async()=>{try{if(!l.currentGroup)return void R("缺少必要内容");v.value=!0;let e=await M({groups_id:l.currentGroup});0==e.code&&(e.data.forEach((e=>{e.c_status=1==e.status})),y.list=e.data),v.value=!1}catch(e){v.value=!1,console.log(e)}};s((()=>l.currentGroup),(e=>{e?x():y.list=[]}));const N=e=>{m.value=e};return(l,n)=>(a(),t("div",Ee,[u("div",Fe,[Oe,r(H,{class:"add-interact-button",onClick:n[0]||(n[0]=e=>(d.value="add",void(f.value=!0)))},{default:c((()=>[qe])),_:1})]),u("div",$e,[r(ie,{rowkey:"id",pageNum:m.value,pageSize:p.value,total:g.value,list:y.list,columns:C,loading:v.value,pagination:!1,onPageNumChange:N},null,8,["pageNum","pageSize","total","list","loading"])]),r(Pe,{modelValue:f.value,"onUpdate:modelValue":n[1]||(n[1]=e=>f.value=e),currentGroup:e.currentGroup,editRow:b,info:y.row,type:d.value,onUpdateTable:U},null,8,["modelValue","currentGroup","info","type"]),r(j,{modelValue:o.value,"onUpdate:modelValue":n[2]||(n[2]=e=>o.value=e),title:"确认删除这条数据吗?",onConfirm:V},null,8,["modelValue"])]))}}),Qe={width:"25",height:"25",fill:"none",xmlns:"http://www.w3.org/2000/svg"},We=[u("path",{d:"M10.177 19.485c-.396 0-.79-.152-1.091-.454l-6.17-6.195a1.555 1.555 0 0 1 0-2.19 1.538 1.538 0 0 1 2.18 0l5.08 5.1L19.884 6a1.535 1.535 0 0 1 2.181 0 1.553 1.553 0 0 1 0 2.19L11.267 19.03a1.54 1.54 0 0 1-1.09.454Z",fill:"#fff"},null,-1)],Xe={render:function(e,l){return a(),t("svg",Qe,We)}},Ye={width:"25",height:"25",fill:"none",xmlns:"http://www.w3.org/2000/svg"},el=[u("path",{d:"M5.615 20.833A1.449 1.449 0 0 1 4.59 18.36L18.36 4.59a1.449 1.449 0 1 1 2.049 2.05L6.639 20.409a1.444 1.444 0 0 1-1.024.424Z",fill:"#fff"},null,-1),u("path",{d:"M19.384 20.833c-.37 0-.741-.141-1.024-.424L4.59 6.639a1.449 1.449 0 0 1 2.05-2.048L20.409 18.36a1.449 1.449 0 0 1-1.025 2.473Z",fill:"#fff"},null,-1)],ll={render:function(e,l){return a(),t("svg",Ye,el)}},al={class:"custom-create-interact-page"},tl={class:"header"},ul=u("span",null,"互动回答",-1),ol={class:"content"},nl={class:"left-content"},sl={class:"left-content-header"},il=u("span",{class:"label"},"互动回答库",-1),cl=b("+ 新增互动回答库"),dl=["onClick"],vl={class:"name"},rl={class:"total"},ml={class:"tool"},pl=u("div",{class:"tool-dot"},[u("div"),u("div"),u("div")],-1),gl={class:"custom-popup-tool-content"},hl=["onClick"],fl=u("span",null,"重命名",-1),yl=["onClick"],Vl=u("span",null,"删除",-1),_l={class:"confirm-box"},bl=["onClick"],wl={class:"right-content-box"};e("default",o({__name:"index",setup(e){const l=n(),o=n(),s=n(!1),d=n(""),m=n(!1),p=n({}),x=h({list:[]}),N=async(e=!0)=>{try{if(s.value=!0,x.list=await L(),e&&x.list.length){let e=x.list[0];d.value=e.id}s.value=!1}catch(l){return s.value=!1,console.log(l),[]}},Z=async(e,l)=>{let a=x.list.findIndex((e=>e.id===l));if(-1!==a){let u=x.list[a];if(!u.c_status)return;try{u.loading=!0,0==(await F(l,{name:e})).code&&(u.name=u.c_name,R("修改成功","success")),u.loading=!1}catch(t){u.loading=!1,console.log(t)}}x.list.forEach((e=>{e.edit=!1}))},B=()=>{x.list.push({name:"",c_name:"",c_status:!1,number:0,popup:!1,edit:!0,blurNum:1,loading:!1})},G=()=>{x.list.pop()},I=async()=>{let e=p.value;try{0==(await E(e.id,{name:e.name})).code&&(R("删除成功","success"),N(!1),e.id==d.value&&(d.value=""))}catch(l){console.log(l)}},S=()=>{x.list.pop()};return f((()=>{let e=D(l.value),a=P();o.value=a.height-e.top,N()})),(e,n)=>(a(),t("div",al,[u("div",tl,[r(v(ne)),ul]),u("div",ol,[u("div",nl,[u("div",sl,[il,r(H,{class:"add-interact-button",onClick:B},{default:c((()=>[cl])),_:1})]),u("div",{class:"interact-list narrow-scrollbar",style:w({maxHeight:o.value+"px"}),ref_key:"interactRef",ref:l},[(a(!0),t(g,null,k(x.list,(e=>(a(),t("div",{class:C(["interact-items",{"interact-items-active":d.value==e.id}]),key:e.id,onClick:l=>(e=>{d.value=e.id})(e)},[y(r(U,null,null,512),[[V,e.loading]]),u("div",vl,[e.edit?(a(),i(Y,{key:1,className:"reset-edit-name-input",align:"left",theme:"opacity",modelValue:e.c_name,"onUpdate:modelValue":l=>e.c_name=l,id:e.id,blurNum:e.blurNum,onInputBlur:Z},null,8,["modelValue","onUpdate:modelValue","id","blurNum"])):(a(),t(g,{key:0},[b(_(e.name),1)],64))]),u("div",rl,"共"+_(e.number)+"条",1),y(u("div",ml,[r(te,{modelValue:e.popup,"onUpdate:modelValue":l=>e.popup=l},{content:c((()=>[u("div",gl,[u("div",{class:"custom-popup-tool-item",onClick:l=>(e=>{e.edit=!0,e.blurNum+=1,e.popup=!1})(e)},[r(v(z)),fl],8,hl),u("div",{class:"custom-popup-tool-item",onClick:l=>(e=>{e.popup=!1,m.value=!0,p.value=e})(e)},[r(v(ae)),Vl],8,yl)])])),default:c((()=>[pl])),_:2},1032,["modelValue","onUpdate:modelValue"])],512),[[V,e.c_status]]),y(u("div",_l,[u("span",{onClick:l=>(async e=>{if(e.c_name)try{e.loading=!0,0==(await O({name:e.c_name})).code?(e.c_status=!0,e.loading=!1,e.name=e.c_name,R("创建成功","success")):G()}catch(l){console.log(l),G()}else R("请输入标题")})(e)},[r(v(Xe))],8,bl),u("span",{onClick:S},[r(v(ll))])],512),[[V,!e.c_status]])],10,dl)))),128)),y(r(U,null,null,512),[[V,s.value]])],4)]),u("div",wl,[r(Je,{currentGroup:d.value},null,8,["currentGroup"])])]),r(j,{modelValue:m.value,"onUpdate:modelValue":n[0]||(n[0]=e=>m.value=e),title:"确定删除吗?",onConfirm:I},null,8,["modelValue"])]))}}))}}}));
System.register(["./vue-legacy-e1572d11.js","./index-legacy-68247afe.js"],(function(e,t){"use strict";var l,u,a,s,i,n,d,o,r,c,p,m,v,f,h,g,y,b,w,x,k,C,B;return{setters:[e=>{l=e.I,u=e.Q,a=e.S,s=e.d,i=e.r,n=e.j,d=e.w,o=e.o,r=e.Z,c=e.e,p=e.a5,m=e.a0,v=e.a,f=e.R,h=e.F,g=e.U,y=e.V,b=e.y,w=e.K,x=e.Y,k=e.J,C=e.L},e=>{B=e.g}],execute:function(){const t={width:"28",height:"28",fill:"none",xmlns:"http://www.w3.org/2000/svg"},V=[a("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M21.09 17.802a22.529 22.529 0 0 0 2.462-2.559c.453-.55.68-.824.68-1.243 0-.419-.227-.694-.68-1.243C21.895 10.745 18.242 7 14 7c-1.073 0-2.108.24-3.083.63l2.877 2.876a3.5 3.5 0 0 1 3.7 3.7l3.595 3.596Zm-9.996-5.753a3.5 3.5 0 0 0 4.857 4.857l2.691 2.692C17.242 20.422 15.666 21 14 21c-4.242 0-7.896-3.745-9.553-5.757-.453-.55-.68-.824-.68-1.243 0-.419.227-.694.68-1.243.82-.996 2.13-2.417 3.758-3.597l2.889 2.889Z",fill:"#B9BDCA"},null,-1),a("path",{d:"M5.833 2.333 24.5 21",stroke:"#B9BDCA","stroke-width":"2"},null,-1)],R={render:function(e,a){return l(),u("svg",t,V)}},S={width:"28",height:"28",fill:"none",xmlns:"http://www.w3.org/2000/svg"},I=[a("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M24.273 14c0-.353-.193-.593-.58-1.072C22.11 10.968 18.366 7 14 7c-4.365 0-8.109 3.967-9.692 5.928-.387.48-.58.719-.58 1.072 0 .353.193.593.58 1.072C5.89 17.032 9.635 21 14 21c4.366 0 8.11-3.967 9.693-5.928.387-.48.58-.719.58-1.072ZM14 17.5a3.5 3.5 0 1 0 0-7 3.5 3.5 0 0 0 0 7Z",fill:"#CCD2E3"},null,-1)],Z={render:function(e,t){return l(),u("svg",S,I)}},_=a("span",{class:"left-input-icon"},null,-1),A=["type","disabled","placeholder"],F={key:0,class:"custom-pwd-hide-button"},L={key:0,class:"remember-select-box"},M=["onClick"],N={class:"account"},j=a("div",{class:"password"},"********",-1),D={key:0,class:"custom-input-rule"};e("_",s({__name:"index",props:{className:{default:""},type:{default:"text"},placeholder:{default:"请输入"},num:null,rules:null,modelValue:null,disabled:{type:Boolean,default:!1},needSelect:{type:Boolean,default:!1},selectList:{default:[]},align:{default:"center"},height:{default:"32px"},autoFocus:{type:Boolean,default:!1},theme:{default:"dark"},borderRadius:{default:"4px"},width:{default:"200px"},id:{default:""},blurNum:{default:1}},emits:["update:modelValue","submitType","submitAccount","inputChange","inputBlur"],setup(e,{emit:t}){const s=e,V=i(s.modelValue),S=i(),I=i(!1),T=n({status:!1,message:""}),U=i("text"),$=i("private"),q=()=>{s.needSelect&&(I.value=!0)},E=()=>{s.needSelect&&(I.value=!1),t("inputBlur",V.value,s.id)},J=e=>{T.status=!0,T.message=e.message,t("submitType",!1)},K=()=>{T.status=!1,T.message="",t("submitType",!0)};"password"==s.type&&(U.value=s.type);const Q=e=>{$.value="text"===e?"public":"private",U.value=e},Y=()=>{const{rules:e}=s;let t=V.value;if(e)for(let l in e){let u=e[l];if(u.required&&!t)return void J(u);if(K(),u.validator){let e=u.validator(t);if(!e.status)return void J(e);K()}if("email"==u.type){if(!B.test(t))return void J(u);K()}if(u.min&&t.length<u.min)return void J(u);K()}};return d((()=>V.value),(e=>{t("update:modelValue",e),Y()})),d((()=>s.modelValue),(e=>{V.value=e})),d((()=>s.num),(e=>{Y()})),o((()=>{s.autoFocus&&S.value.focus()})),d((()=>s.blurNum),(e=>{S.value&&S.value.focus()})),(i,n)=>(l(),u("div",{class:w(["custom-input-global",e.className]),style:m({width:e.width})},[a("div",{class:w(["custom-input-box",{"custom-input-error":T.status,"dark-input-box":"dark"===e.theme,"light-input-box":"light"===e.theme,"opacity-input-box":"opacity"===e.theme}]),style:m({height:e.height,borderRadius:e.borderRadius})},[r(i.$slots,"leftIcon",{},(()=>[_])),c(a("input",{ref_key:"customInput",ref:S,type:U.value,"onUpdate:modelValue":n[0]||(n[0]=e=>V.value=e),class:"cust-input",disabled:e.disabled,placeholder:e.placeholder,onFocus:q,onBlur:E,onInput:n[1]||(n[1]=e=>(e=>{const{type:l}=s;"number"==l&&(V.value=e.replace(/[^\d]/g,"")),t("inputChange",V.value)})(V.value)),style:m({"text-align":e.align,borderRadius:e.borderRadius})},null,44,A),[[p,V.value]]),r(i.$slots,"rightIcon",{},(()=>["password"===e.type?(l(),u("span",F,["private"===$.value?(l(),k(C(R),{key:0,onClick:n[2]||(n[2]=e=>Q("text"))})):(l(),k(C(Z),{key:1,onClick:n[3]||(n[3]=e=>Q("password"))}))])):y("",!0)])),v(b,{name:"remember-fade"},{default:f((()=>[e.needSelect&&I.value&&e.selectList.length?(l(),u("div",L,[(l(!0),u(h,null,g(e.selectList,(e=>(l(),u("div",{key:e.account,class:"line",onClick:l=>(e=>{t("submitAccount",e)})(e)},[a("div",N,x(e.account),1),j],8,M)))),128))])):y("",!0)])),_:1})],6),e.rules&&e.rules.length?(l(),u("div",D,x(T.message),1)):y("",!0)],6))}}))}}}));
System.register(["./index-legacy-671251eb.js","./userApi-legacy-f48623ab.js","./Common-legacy-6e401395.js","./index-legacy-447759e3.js","./index-legacy-31c6062c.js","./vue-legacy-e1572d11.js","./otherRequest-legacy-ad8ec785.js"],(function(e,a){"use strict";var l,t,o,u,n,s,d,i,c,p,r,v,m,g,f,y,b,h,I,V,_;return{setters:[e=>{l=e.U,t=e.v},e=>{o=e.s,u=e.B,n=e.y},e=>{s=e.b},e=>{d=e.D},e=>{i=e._},e=>{c=e.d,p=e.r,r=e.w,v=e.I,m=e.J,g=e.R,f=e.S,y=e.Y,b=e.a,h=e.O,I=e.o,V=e.X},e=>{_=e.i}],execute:function(){e("L",{LIVE_AUDIT_STATUS_EXAMINE:1,LIVE_AUDIT_STATUS_PROCEED:2,LIVE_AUDIT_STATUS_FINISH:3,LIVE_AUDIT_STATUS_ERROR:4});const a={class:"custom-mizable-dialog-body"},A={class:"title"},U={class:"input-box"},S={class:"label"},w=c({__name:"dialog",props:{modelValue:{type:Boolean},value:null,dialogInfo:{default:{}}},emits:["update:modelValue","update:value","confirm"],setup(e,{emit:l}){const t=e,u=p(t.value);r((()=>t.modelValue),(e=>{l("update:modelValue",e)}));const n=()=>{u.value?(l("update:modelValue",!1),l("confirm",u.value)):o("请输入名称")};return r((()=>t.value),(e=>{u.value=e})),r((()=>u.value),(e=>{l("update:value",e)})),(l,t)=>(v(),m(d,{modelValue:e.modelValue,"onUpdate:modelValue":t[1]||(t[1]=e=>h(modelValue)?modelValue.value=e:null),onConfirm:n},{default:g((()=>[f("div",a,[f("div",A,y(e.dialogInfo.title),1),f("div",U,[f("span",S,y(e.dialogInfo.inputLabel)+":",1),b(i,{modelValue:u.value,"onUpdate:modelValue":t[0]||(t[0]=e=>u.value=e),align:"left",placeholder:e.dialogInfo.placeholder},null,8,["modelValue","placeholder"])])])])),_:1},8,["modelValue"]))}});e("C",c({props:{icon:Object,label:String,uploadInfo:Object,accept:{type:String,default:""},dialogInfo:{type:Object,default:{}},video:{type:Boolean,default:!1},submit:{type:[Function,Boolean],default:!1}},setup(e,{slots:a}){const d=p({}),i=p(""),c=p(""),v=p(""),m=p(!1),g=p("");I((async()=>{d.value=await s()}));const f=()=>{i.value=""},y=async()=>{i.value||n()?m.value=!0:o("请先上传文件")},h=async e=>(e=await function(e){const a=e.split(","),l=a[0].match(/:(.*?);/)[1],t=atob(a[1]);let o=t.length;const u=new Uint8Array(o);for(;o--;)u[o]=t.charCodeAt(o);return new Blob([u],{type:l})}(e),new Promise((a=>{const l=t();let o="";const u=d.value;o="https://"+u.host;const n=new FormData;n.append("key",u.dir+l+".png"),n.append("policy",u.policy),n.append("OSSAccessKeyId",u.accessid),n.append("success_action_status","200"),n.append("callback",u.callback),n.append("signature",u.signature),console.log(e),n.append("file",e),_.post(o,n,{headers:{"Content-Type":"multipart/form-data;charset=utf-8"}}).then((e=>{if(""===e||200==e){const e=u.domain+u.dir+l+".png";v.value=e,a({status:"success",response:{url:""}})}})).catch((e=>{console.log(e)}))}))),A=async()=>new Promise(((e,a)=>{let l=null,t=document.createElement("video");t.setAttribute("crossOrigin","Anonymous"),t.setAttribute("src",i.value),t.setAttribute("preload","auto"),t.currentTime=.001,t.addEventListener("loadeddata",(function(){let a,o=document.createElement("canvas"),u=t.videoWidth,n=t.videoHeight,s=0;u<n?(console.log("上下长图片"),a=300,s=n/2-150,console.log("splitHeight:",s)):(console.log("左右宽图片"),a=n),o.width=512,o.height=300,o.getContext("2d").drawImage(t,0,s,u,a,0,0,o.width,o.height),l=o.toDataURL("image/png"),e(l)}))})),U=async a=>{e.video?a&&i.value&&v.value?e.submit&&await e.submit({video_url:i.value,name:a,cover_url:v.value})&&(v.value="",i.value="",g.value=""):o("缺少数据"):a&&i.value&&e.submit&&await e.submit({audio_url:i.value,name:a})&&(i.value="",g.value="")};return r((()=>i.value),(a=>{a&&e.video?(async()=>{let e=await A();h(e)})():c.value=""})),()=>b("div",{class:"custom-izable-page"},[b("div",{class:"header"},[e.icon,b("span",null,[e.label])]),b("div",{class:"izable-page-upload-box"},[b(l,{modelValue:i.value,"onUpdate:modelValue":e=>i.value=e,uploadInfo:e.uploadInfo,accept:e.accept,config:d.value},null),b("div",{class:"upload-box-footer"},[b(u,{theme:"opacity",onClick:f},{default:()=>[V("重置")]}),b(u,{theme:"green",onClick:y},{default:()=>[V("生成")]})])]),b("div",{class:"izable-page-tabs"},[a.default?.()]),b(w,{value:g.value,"onUpdate:value":e=>g.value=e,onConfirm:U,dialogInfo:e.dialogInfo,modelValue:m.value,"onUpdate:modelValue":e=>m.value=e},null)])}}))}}}));
System.register(["./userApi-legacy-f48623ab.js","./vue-legacy-e1572d11.js"],(function(e,t){"use strict";var l,a,s,n,o,i,u,d,r,c,m,f,v,p,h,b,g,y,_,k,V,C,w;return{setters:[e=>{l=e.B},e=>{a=e.d,s=e.r,n=e.w,o=e.I,i=e.J,u=e.R,d=e.Q,r=e.a,c=e.V,m=e.Z,f=e.S,v=e.K,p=e.X,h=e.D,b=e.a1,g=e.j,y=e.o,_=e.s,k=e.p,V=e.e,C=e.z,w=e.i}],execute:function(){const t={class:"header-default"},x={key:0,class:"footer-default"},S=p("取消"),W=p("确定"),B=a({__name:"Dialog",props:{modelValue:{type:Boolean},header:null,footer:{type:Boolean,default:null},placement:{default:"center"},destroyOnClose:{type:Boolean,default:!1},className:{default:""}},emits:["update:modelValue","confirm"],setup(e,{emit:a}){const p=e,b=s(p.modelValue);n((()=>p.modelValue),(e=>{b.value=e})),n((()=>b.value),(e=>{a("update:modelValue",e)}));const g=()=>{a("confirm")};return(a,s)=>{const n=h("t-dialog");return o(),i(n,{visible:b.value,"onUpdate:visible":s[1]||(s[1]=e=>b.value=e),attach:"body",class:v([e.className,"c-dialog-default"]),destroyOnClose:e.destroyOnClose,placement:e.placement},{footer:u((()=>[null===e.footer?(o(),d("div",x,[r(l,{onClick:s[0]||(s[0]=e=>b.value=!1),class:"footer-cancel footer-public-btn"},{default:u((()=>[S])),_:1}),r(l,{onClick:g,class:"footer-confrim footer-public-btn"},{default:u((()=>[W])),_:1})])):c("",!0)])),default:u((()=>[m(a.$slots,"default"),f("div",t,[m(a.$slots,"header")]),m(a.$slots,"body"),e.footer?m(a.$slots,"footer",{key:0}):c("",!0)])),_:3},8,["visible","class","destroyOnClose","placement"])}}});e("D",B),e("a",a({props:{modelValue:String,theme:{type:String,default:"light"},defaultLineWidth:{type:Number,default:0}},emits:["update:modelValue"],setup(e,t){const{slots:l,emit:a}=t,n=b(),o=s(e.modelValue);k("currentTab",o);const i=s((()=>{const e=n.default().map((({props:e})=>{if(e){const{label:t,name:l}=e;return{label:t,name:l}}}));return e})()),u=g({width:0,left:0,right:0}),d=s((()=>{const{modelValue:t}=e;if(i&&t){let e=i.value.findIndex((e=>e.name==t));return-1!==e?e:0}return 0})()),c=s([]),m=e=>{e&&-1===c.value.findIndex((t=>t===e))&&c.value.push(e)},f=()=>{_((()=>{const t=c.value[d.value];t.clientWidth?u.width=t.clientWidth:u.width=e.defaultLineWidth}))},v=(e,t)=>{o.value=e,a("update:modelValue",e),d.value=t,f(),_((()=>{let e=0;for(let t=0;t<d.value;t++)e+=c.value[t].clientWidth;u.right=null,u.left=e}))},p=t=>e.modelValue===t.name?"light"===e.theme?"c-nav-item_active":"dark2"===e.theme?"c-nav-item-_active_dark2":"c-nav-item_active_dark":"";return y((()=>{f()})),()=>r("div",{class:"custom-c-tabs"},[r("div",{class:"c-tabs-header"},[l.rightComponent?.(),i.value.map(((t,l)=>r("div",{key:t.name,class:["c-nav-item-default","light"===e.theme?"c-nav-item-light":"dark2"===e.theme?"c-nav-item-dark2":"c-nav-item-dark",p(t)],ref:m,onClick:v.bind(this,t.name,l)},[r("div",{class:"c-tabs__nav-item-wrapper"},[t.label])]))),"dark"===e.theme?r("div",{class:"c-tabs__bar",style:{width:u.width+"px",left:u.left+"px",right:u.right+"px"}},null):""]),r("div",{class:"c-tabs-content"},[l.default?.()])])}})),e("C",a({props:{name:String,label:String},setup(e,{emit:t,slots:l}){let a=w("currentTab");return()=>V(r("div",null,[l.default?.()]),[[C,a.value===e.name]])}}))}}}));
System.register(["./index-legacy-34161ba9.js","./Common-legacy-6e401395.js","./vue-legacy-e1572d11.js","./ConfirmDialog-legacy-f4d50655.js","./userApi-legacy-f48623ab.js","./cardOne-legacy-1ea6bcaf.js","./index-legacy-68247afe.js","./index-legacy-447759e3.js","./index-legacy-671251eb.js","./otherRequest-legacy-ad8ec785.js","./TdesignNext-legacy-e721ed2d.js","./index-legacy-31c6062c.js","./changeName-legacy-e0f05d42.js","./edit-legacy-59c4e814.js"],(function(e,l){"use strict";var s,a,t,c,i,n,u,d,r,o,m,v,g,_,h,y,f,p,L,U,I,w,T,R,A,S,k,j,E,V,C;return{setters:[e=>{s=e.L,a=e.C},e=>{t=e.g,c=e.L},e=>{i=e.d,n=e.j,u=e.r,d=e.o,r=e.I,o=e.Q,m=e.F,v=e.U,g=e.S,_=e.Y,h=e.L,y=e.V,f=e.X,p=e.e,L=e.z,U=e.a,I=e.W,w=e.J,T=e.R},e=>{R=e.C},e=>{A=e.B,S=e.w,k=e.s},e=>{j=e._},e=>{E=e.r},e=>{V=e.a,C=e.C},null,null,null,null,null,null],execute:function(){const b={class:"image-custom-record"},x={class:"left"},D=["src"],F={class:"center"},M={class:"name"},N=f(" 名称: "),Z={class:"create"},O=f(" 创建时间: "),q={class:"right"},H={key:0,class:"status"},P=["src"],X=g("div",null,"审核中",-1),z={key:1,class:"status"},B=["src"],J=g("div",null,"审核失败",-1),Q={key:2,class:"status"},W=["src"],Y=g("div",null,"进行中",-1),G={key:3,class:"status"},K=["src"],$=g("div",null,"已完成",-1),ee=i({__name:"Record",setup(e){const a={underReview:new URL(""+new URL("underReview-e1e9d152.svg",l.meta.url).href,self.location).href,auditFailure:new URL(""+new URL("auditFailure-aedeaf8e.svg",l.meta.url).href,self.location).href,progress:new URL(""+new URL("progress-6820e84c.svg",l.meta.url).href,self.location).href,success:new URL(""+new URL("success-38963be9.svg",l.meta.url).href,self.location).href},c=n({list:[]}),i=u(!1);return d((()=>{(async()=>{i.value=!0;let e=await t();c.list=e.myList,console.log(e.myList),i.value=!1})()})),(e,l)=>(r(),o("div",b,[(r(!0),o(m,null,v(c.list,(e=>(r(),o("div",{class:"record-items",key:e.id},[g("div",x,[g("img",{src:e.cover_url,alt:""},null,8,D)]),g("div",F,[g("div",M,[N,g("span",null,_(e.name),1)]),g("div",Z,[O,g("span",null,_(e.created_at),1)])]),g("div",q,[e.audit_status==h(s).LIVE_AUDIT_STATUS_EXAMINE?(r(),o("div",H,[g("img",{src:a.underReview},null,8,P),X])):e.audit_status==h(s).LIVE_AUDIT_STATUS_ERROR?(r(),o("div",z,[g("img",{src:a.auditFailure},null,8,B),J])):e.audit_status==h(s).LIVE_AUDIT_STATUS_PROCEED?(r(),o("div",Q,[g("img",{src:a.progress},null,8,W),Y])):e.audit_status==h(s).LIVE_AUDIT_STATUS_FINISH?(r(),o("div",G,[g("img",{src:a.success},null,8,K),$])):y("",!0)])])))),128))]))}}),le={class:"image-custom-my-person-box"},se={class:"my-person-items"},ae={class:"my-digtal-people-hover2"},te=f("去合成"),ce={class:"digtal-people-hover-tool"},ie=f("删除"),ne={key:1,class:"my-person-loading-item"},ue={class:"progress"},de=g("div",{class:"tips"},"请耐心等待,此过程需要一些时间",-1),re={class:"name"},oe={key:2,class:"my-person-loading-item-examine"},me=g("div",{class:"tips"},"审核中",-1),ve={class:"name"},ge=i({__name:"MyDigitalPerson",setup(e){const l=I(),a=n({list:[]}),i=u(!1),f=u(!1),S=u(),k=(e,l)=>{},V=()=>{};return d((()=>{(async()=>{i.value=!0;let e=await t();a.list=e.myList,i.value=!1})()})),(e,t)=>(r(),o("div",le,[p(U(c,null,null,512),[[L,i.value]]),g("div",se,[(r(!0),o(m,null,v(a.list,(e=>(r(),o(m,{key:e.id},[e.audit_status==h(s).LIVE_AUDIT_STATUS_FINISH?(r(),w(j,{key:0,id:e.id,img:e.cover_url,name:e.name,edit:!0,onNameChange:k},{hover:T((()=>[g("div",ae,[(r(),w(A,{key:0,class:"digtal-people-start-end",theme:"danger",height:"40px",onClick:s=>(e=>{l.push({path:E.createLive.path,name:E.createLive.name,query:{id:e.id,title:""}})})(e)},{default:T((()=>[te])),_:2},1032,["onClick"])),g("div",ce,[U(A,{size:"13",theme:"dark",onClick:l=>(e=>{f.value=!0,S.value=e.id})(e)},{default:T((()=>[ie])),_:2},1032,["onClick"])])])])),_:2},1032,["id","img","name"])):e.audit_status==h(s).LIVE_AUDIT_STATUS_PROCEED?(r(),o("div",ne,[U(c),g("div",ue,_(e.schedule)+"%",1),de,g("div",re,_(e.name),1)])):e.audit_status==h(s).LIVE_AUDIT_STATUS_EXAMINE?(r(),o("div",oe,[me,g("div",ve,_(e.name),1)])):y("",!0)],64)))),128))]),U(R,{modelValue:f.value,"onUpdate:modelValue":t[0]||(t[0]=e=>f.value=e),title:"确认删除吗?",onConfirm:V},null,8,["modelValue"])]))}}),_e={width:"40",height:"40",fill:"none",xmlns:"http://www.w3.org/2000/svg"},he=[g("path",{d:"M31.94 33.198c-.117.84-.268 1.332-.496 1.497-.136.085-.43.207-.886.292-.446.086-1.012.208-1.67.286-.674.122-1.391.207-2.2.293-.81.096-1.627.182-2.436.25-.835.068-1.619.114-2.384.157-.6.036-3.86.036-4.452 0-.768-.043-1.56-.085-2.395-.157a77.536 77.536 0 0 1-2.428-.25 33.185 33.185 0 0 1-2.207-.293c-.659-.078-1.214-.2-1.67-.286-.445-.085-.743-.207-.876-.292-.228-.165-.386-.658-.497-1.497-.117-.84-.077-1.904.137-3.21.092-.504.242-.912.496-1.222.243-.322.556-.59.92-.84a6.824 6.824 0 0 1 1.188-.571c.43-.129.876-.268 1.358-.407.445-.14.901-.279 1.324-.433.43-.164.835-.339 1.17-.57.43-.269.743-.519.971-.772a2.69 2.69 0 0 0 .497-.747c.085-.25.162-.503.162-.753 0-.268 0-.536-.026-.883-.051-.442-.21-.832-.482-1.1a15.227 15.227 0 0 0-.92-.85c-.161-.128-.312-.34-.43-.59a6.923 6.923 0 0 1-.338-.77c-.085-.304-.203-.615-.287-.936a1.82 1.82 0 0 1-.43-.207c-.119-.086-.255-.25-.387-.433a2.255 2.255 0 0 1-.364-.796c-.092-.34-.136-.657-.11-.925a2.394 2.394 0 0 1 .562-1.386c0-.76.04-1.507.11-2.286.092-.632.221-1.332.431-2.079.195-.746.515-1.41.92-2 .404-.564.828-1.014 1.28-1.36a6.92 6.92 0 0 1 1.442-.84c.497-.2.994-.339 1.494-.4a9.01 9.01 0 0 1 1.416-.121c.066 0 .136 0 .195.007.066-.007.125-.007.195-.007.445 0 .92.043 1.417.121.496.061.985.2 1.493.4.49.207.986.504 1.435.84.456.346.887.796 1.291 1.36.398.59.718 1.258.92 2 .202.743.338 1.447.423 2.08.066.778.118 1.524.118 2.285.176.218.294.407.386.632.085.225.151.475.177.754.026.268-.026.59-.118.925-.085.364-.22.614-.364.796-.136.183-.261.347-.38.433a2.049 2.049 0 0 1-.43.207c-.092.321-.21.632-.294.935-.092.268-.21.518-.338.772a1.61 1.61 0 0 1-.43.59c-.34.292-.648.57-.92.85-.27.267-.424.657-.471 1.1-.026.346-.026.614-.026.881 0 .25.066.504.15.754.118.25.27.493.497.747.236.25.541.503.979.771.338.232.732.407 1.162.572.43.157.876.292 1.332.432.471.139.92.278 1.35.407.43.157.835.346 1.196.571.364.25.673.518.92.84.243.31.397.718.496 1.221.2 1.304.243 2.368.133 3.211ZM12.653 5.143c0 .314-.132.6-.346.807a1.192 1.192 0 0 1-.831.336h-4.12v4c0 .632-.527 1.143-1.178 1.143-.323 0-.618-.129-.831-.336A1.123 1.123 0 0 1 5 10.286V5.143C5 4.51 5.526 4 6.177 4h5.298c.651 0 1.177.51 1.177 1.143Z",fill:"#2770FF"},null,-1),g("path",{d:"M12.54 22.857c0 .314-.13.6-.34.807-.211.207-.501.336-.82.336H6.16A1.15 1.15 0 0 1 5 22.857v-5.143a1.15 1.15 0 0 1 1.16-1.143c.319 0 .609.129.82.336.21.207.34.493.34.807v4h4.06c.642 0 1.16.511 1.16 1.143ZM34 17.714v5.143A1.15 1.15 0 0 1 32.84 24h-5.22a1.15 1.15 0 0 1-1.16-1.143c0-.314.13-.6.34-.807.211-.207.501-.336.82-.336h4.06v-4a1.15 1.15 0 0 1 1.16-1.143c.319 0 .609.129.82.336.21.207.34.493.34.807Zm0-12.571v5.143a1.15 1.15 0 0 1-1.16 1.143c-.319 0-.609-.129-.82-.336a1.131 1.131 0 0 1-.34-.807v-4h-4.06a1.15 1.15 0 0 1-1.16-1.143c0-.314.13-.6.34-.807.211-.207.501-.336.82-.336h5.22c.642 0 1.16.51 1.16 1.143Z",fill:"#2770FF"},null,-1)],ye={render:function(e,l){return r(),o("svg",_e,he)}},fe={class:""};e("default",i({__name:"index",setup(e){const s=u("1"),t={success:new URL(""+new URL("success2-016cfe10.svg",l.meta.url).href,self.location).href},c={title:"形象定制",inputLabel:"数字人名称",placeholder:"请输入数字人名称"},i={label1:"选择视频",label2:"或拖视频到此处上传",buttonLabel:"选择视频",successIcon:t.success,successButtonLabel:"替换视频"},n=async e=>{try{if(0==(await S(e)).code)return k("提交成功","success"),!0}catch(l){console.log(l)}};return(e,l)=>(r(),o("div",fe,[U(h(a),{video:!0,submit:n,icon:U(ye,null,null),uploadInfo:i,dialogInfo:c,label:"形象定制"},{default:T((()=>[U(h(V),{modelValue:s.value,"onUpdate:modelValue":l[0]||(l[0]=e=>s.value=e),theme:"dark2"},{default:T((()=>[U(h(C),{name:"1",label:"我的数字人"},{default:T((()=>[U(ge)])),_:1}),U(h(C),{name:"2",label:"生成记录"},{default:T((()=>[U(ee)])),_:1})])),_:1},8,["modelValue"])])),_:1},8,["icon"])]))}}))}}}));
System.register(["./vue-legacy-e1572d11.js","./userApi-legacy-f48623ab.js","./otherRequest-legacy-ad8ec785.js","./TdesignNext-legacy-e721ed2d.js"],(function(e,t){"use strict";var a,l,s,u,o,c,n,r,d,i,p,m,f,g,h,v,y,w;return{setters:[e=>{a=e.I,l=e.Q,s=e.S,u=e.d,o=e.r,c=e.j,n=e.w,r=e.a,d=e.X},e=>{i=e.z,p=e.B,m=e.s,f=e.y},e=>{g=e.i},e=>{h=e.B,v=e.U,y=e.i,w=e.M}],execute:function(){e("v",k);const t={width:"50",height:"50",fill:"none",xmlns:"http://www.w3.org/2000/svg"},I=[s("path",{d:"M48.75 27.188c0-.313 0-.625-.313-1.25L42.5 15.624c-.625-.938-1.563-1.25-2.5-.625-.938.625-1.25 1.563-.625 2.5l4.688 8.125H36.25c-.938 0-1.563.625-1.875 1.563-.313 2.187-1.563 4.375-3.125 5.625A10.065 10.065 0 0 1 25 35c-2.188 0-4.375-.938-6.25-2.188-1.563-1.562-2.813-3.437-3.125-5.624 0-.938-.938-1.563-1.875-1.563H5.937l4.688-8.125c.625-.938.313-1.875-.625-2.5s-1.875-.313-2.5.625L1.562 25.938c-.312.312-.312.937-.312 1.25v16.875c0 .937.938 1.874 1.875 1.874h43.75c.938 0 1.875-.937 1.875-1.874V27.186Zm-3.75 15H5V29.062h7.5c.625 2.5 2.188 4.688 4.063 6.25C18.75 37.5 21.875 38.75 25 38.75c3.125 0 6.25-1.25 8.438-3.125 1.874-1.563 3.437-3.75 4.062-6.25H45v12.813ZM14.687 18.125H20v11.25c0 .625.625.938.938.938h7.5c.625 0 1.25-.625 1.25-.938v-11.25H35c.625 0 1.25-.625 1.25-1.25 0-.313 0-.625-.313-.625l-10.312-10c-.313-.625-.938-.625-1.563 0l-10 10c-.312.313-.312 1.25 0 1.563 0 .312.313.312.626.312ZM25 8.437l7.813 7.5H28.75c-.625 0-.938.626-.938 1.25v10.938h-5.625V17.187c0-.625-.625-.937-1.25-.937H17.5L25 8.437Z",fill:"#888FA1"},null,-1)],b={render:function(e,s){return a(),l("svg",t,I)}};let U;const V=new Uint8Array(16);function S(){if(!U&&(U="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!U))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return U(V)}const j=[];for(let e=0;e<256;++e)j.push((e+256).toString(16).slice(1));const H={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};function k(e,t,a){if(H.randomUUID&&!t&&!e)return H.randomUUID();const l=(e=e||{}).random||(e.rng||S)();if(l[6]=15&l[6]|64,l[8]=63&l[8]|128,t){a=a||0;for(let e=0;e<16;++e)t[a+e]=l[e];return t}return function(e,t=0){return(j[e[t+0]]+j[e[t+1]]+j[e[t+2]]+j[e[t+3]]+"-"+j[e[t+4]]+j[e[t+5]]+"-"+j[e[t+6]]+j[e[t+7]]+"-"+j[e[t+8]]+j[e[t+9]]+"-"+j[e[t+10]]+j[e[t+11]]+j[e[t+12]]+j[e[t+13]]+j[e[t+14]]+j[e[t+15]]).toLowerCase()}(l)}e("U",u({props:{modelValue:String,config:Object,rules:Array,uploadInfo:{type:Object,default:{}},accept:{type:String,default:""}},emits:["update:modelValue","change","file"],setup(e,{emit:t}){const a=o([]),l=c({url:"",status:0,uploadStatus:!1}),s=o(""),u=o(0);let I=null;const U=async t=>{try{const{config:a}=e;if(!a)return void m("缺少必要的配置");if(!Object.keys(a).length)return m("无法上传,请尝试刷新页面"),!1;if(e.accept&&!f()){let a=t.name.split(".")[1];if(-1==e.accept.indexOf(a))return m(`本次上传仅支持${e.accept}格式`),!1}return!0}catch(a){return console.log(a),!1}},V=({file:e})=>{w.error(`文件 ${e.name} 上传失败`)},S=a=>(u.value=0,I=setInterval((()=>{99!=u.value&&(u.value+=1)}),100),new Promise((s=>{const u=k();l.status=1;let o="";const{config:c}=e;o="https://"+c.host;let n=a.name.split(".")[1];setTimeout((()=>{const e=new FormData;e.append("key",c.dir+u+`.${n}`),e.append("policy",c.policy),e.append("OSSAccessKeyId",c.accessid),e.append("success_action_status","200"),e.append("callback",c.callback),e.append("signature",c.signature),e.append("file",a.raw),t("file",a.raw),g.post(o,e,{headers:{"Content-Type":"multipart/form-data;charset=utf-8"}}).then((e=>{""===e||200==e?(((e,a)=>{window.clearInterval(I),w.success("上传成功"),l.url=a,l.status=2,t("update:modelValue",l.url),t("change",l.url)})(0,c.domain+c.dir+u+`.${n}`),l.uploadStatus=!0,s({status:"success",response:{url:l.url}})):(window.clearInterval(I),l.url="",l.status=0,t("update:modelValue",l.url),t("change",l.url),w.warning("上传失败"),l.uploadStatus=!1)})).catch((e=>{console.log(e)}))}),1e3)})));n((()=>e.modelValue),(e=>{e&&(l.url=e,l.status=2)}));const j=()=>{a.value=[],l.url="",l.status=0,l.uploadStatus=!1,t("update:modelValue",""),t("change","")},H=async e=>S(e),x=()=>0==l.status?r(v,{modelValue:a.value,"onUpdate:modelValue":e=>a.value=e,method:"PUT",requestMethod:H,action:s.value,headers:{authorization:`Bearer ${i()}`},theme:"custom","before-upload":U,multiple:!0,max:1,draggable:!0,onFail:V},{default:()=>[r("div",{class:"custom-upload-click-box"},[r("div",{class:"title"},[e.uploadInfo.label1??"选择图片"]),r("div",{class:"title2"},[e.uploadInfo.label2??"或拖拽图片到此处"]),r("div",null,[r(b,null,null)]),r(h,{class:"custom-chose-file"},{default:()=>[e.uploadInfo.buttonLabel??"选择文件"]})])]}):1==l.status?r("div",{class:"custom-uploading-stauts"},[r(y,{class:"custom-t-progress",theme:"circle",percentage:u.value,size:"small",color:"#00f9f9"},null),r("div",{class:"uploading-title"},[d("正在上传")])]):r("div",{class:"custom-UploadSuccess-stauts"},[r("div",{class:"icon"},[e.uploadInfo.successIcon?r("img",{src:e.uploadInfo.successIcon,alt:""},null):""]),r("div",{class:"file-name"},null),r(p,{class:"reset-submit",theme:"green",onClick:j},{default:()=>[e.uploadInfo.successButtonLabel??"重新上传"]})]);return n((()=>e.modelValue),(e=>{e||(l.status=0)})),()=>r("div",{class:"custom-real-upload"},[r("div",{class:"real-upload-content"},[r("div",{class:"custom-real-upload-component"},[x()])])])}}))}}}));
This source diff could not be displayed because it is too large. You can view the blob instead.
System.register(["./plugin-vue_export-helper-legacy-762b7923.js","./vue-legacy-e1572d11.js"],(function(e,t){"use strict";var r,n,s;return{setters:[e=>{r=e._},e=>{n=e.I,s=e.Q}],execute:function(){const t={class:""};e("default",r({},[["render",function(e,r){return n(),s("div",t,"直播管理页面")}]]))}}}));
System.register(["./vue-legacy-e1572d11.js","./changeName-legacy-e0f05d42.js","./index-legacy-68247afe.js","./index-legacy-31c6062c.js","./edit-legacy-59c4e814.js","./TdesignNext-legacy-e721ed2d.js"],(function(t,e){"use strict";var A,l,a,o,n,r,g,i,s,h,P,f,d,C,O,c,u,I,v,y,R;return{setters:[t=>{A=t.I,l=t.Q,a=t.a2,o=t.d,n=t.c,r=t.S,g=t.L,i=t.a,s=t.V,h=t._,P=t.W,f=t.M,d=t.J,C=t.R,O=t.D,c=t.a3,u=t.y,I=t.r,v=t.a4},t=>{y=t._},t=>{R=t.r},null,null,null],execute:function(){const Q={width:"36",height:"36",fill:"none",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},G=[a('<g clip-path="url(#a)"><path fill="url(#b)" d="M0 0h32v32H0z"></path></g><rect x="16" y="16" width="20" height="20" rx="10" fill="url(#c)"></rect><defs><pattern id="b" patternContentUnits="objectBoundingBox" width="1" height="1"><use xlink:href="#d" transform="scale(.00694)"></use></pattern><pattern id="c" patternContentUnits="objectBoundingBox" width="1" height="1"><use xlink:href="#e" transform="scale(.025)"></use></pattern><image id="d" width="144" height="144" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJAAAACQCAMAAADQmBKKAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAACFlBMVEUAAADv///s/f/s///s/v/s/v/r/v/r/v/s///s///s/v/s///t///t///v///r/f/s///s/v/s///t/v/n//+81vnM4/uCo/SDo/ODo/R8k/aAnvZ9l/VyhP95jvd6kvh2ifp7kvhzgvp0hPl0hftzhPpygvpygvtzgvpygvrt///s/P7v///y///u+/zd9PnN6/fF5/W03/Gs2O+n2O6e0+yb1OzT7vm84fTn+P3Z7fqg0uyi0e2m0O+hzOWjyeCex9udw9Sbwc/j9v2r1PGgxdOqytjC3OTP5evX6fHp+Pjk8vfe7/KxztzW6Pq81OKmyNbH4Oay1/Krz++uz/DK5fe30d/r9vzI3vfB2vG41vOZz+yox92zzvCXzO2syuWVye3h7f2bzO+Uxu7C4faTxe6Swe+4z/GQvu+xy+iPvPCc0O6OuvCbyPCaxvGawfKNt/GsyfGyz/eLtfKKsfKjxfSIrvK8z/GHrPOGqvOEp/S/0PGDpfTE1PuCovWnu/qBoPWAnvaAnPbR2/3D0fG5zPl9mPe0wf18lfd7kvh5j/nI0/F4jPl2ifrD0+p1h/pzg/vO1vFxgPuSnf1ve/zB1+XG2edtd/2Kj//I2unAyf1rc/5/hP9pb//R1/HO3ux4fP/Z4/JmaP/d5vSttP7p8vna3fHV2vGbof7n7frU4vDc3/Gkqv7i6ffg4vDj5PCWuvT///9gEDpQAAAAKnRSTlMAEDBff5+vz9+/QJDvTyCPb6/P3SDPzo9w7yDbgBA+76S/32C/UHrPkO8/QTbHAAAAAWJLR0SxNGOeUgAAAAd0SU1FB+YJGxQPE57Itm0AABFCSURBVHjavVsJQxTHEl4EwiJHNOG93IaoubZnFhDM7hI8cEFRWUBUUBQPYsSYCBqCSjDeiQcmEQ3EmxieGlSIP/H13dU9PbO7gH67s+dM9TdV1dXdNTWh0ByQsyA3L/+1gnA4QhEOFxbm5+UuzJmLzFlzyS0qLI74oLiwqKT0VZIpeT1s44HwE8kvBfklr0RVOYsKLUQsHwkKc1+yonJKCiMRH+VYKCHK6eXRKc0rtrLQ1OIgk2w4/+WoaWGQqSIeGtqO+QtfAR1dGY4fF+FN80tJ0pFWQuIzgtpxdGKa2grnz3Cli33M4ihNIQf/7dhMh+TbfPlSXrGdiMNoIE6GNOxgmFqDyJsPa4WN0+WWchzkEBrknQKxDRGmFjr0JxSeq5JyiqwnS1XiRBgPSsgVnOg7on9GHG8MmKOSSgusmuctI0oEPzAbvCHKSpBS/o3AK8ZclLRI8x7mtIieOFaCS+kgwsWlpBgvl/2Od4g4jhkNKKviRbPlU+TtvtRLkDARbZvSoW8EyGVKY5qittPCA92KZmsuBBjxoVwYBbeJXF8whbmO47EfQ8EszFYaNsMIY4OYOhw3PbhnOeRAELaIsOwdaYHmPo7wY0ecvFCE+AasJj8R/qz3RbhLKWcqXpAdn9xiZS9HaMfhLgPbd3QKFoLM3QgpzW7FWU1LcjVXdnhHJ6dLPMdxPUrRTAhZk4OIrhCNoxqlLBjlGn3V4Z3L9WlV+8XxUMRn4fAQPjtGOp8I61sg3Nhc2rFw0vyKds+IPs5lyGgBmKqTQIhMX7ZYzEIQ/EsCBIvj+jCXmWeXgv7lsA4WYI70fV96Oo/fUPXFGfT+Um10d+gYgUyfCGjeFaHa8i+SEVIE7QziUYHuPEh5j3HaabWk2Zl3T8YIjAAF6fgUaSqNIBB7bIhWVFatqK5Z+QXGypoVK6oqK6JBDMWcSVkuzbi2CNCh47rrzycai9d8YUF1PJbwJ0W9CHb+RZk6NLCXzR0qV6wMwAo/Tqz3w7VuoGOHYSdwxGTHi4pANgzxWj9GPCIRnyDtFfinAPLk3IVNT+WERzdVZU16OgQ1MR9CiM9ueRDwdaNS4M0RMbR7UFnzZcawUnIdc67tt4gMK0J8wmcxVnXmdAiqYzZCyIFzkUjYz2BgiHcitg6fiNdlhy/r6uIe96aTJE1FeYEG4/ZCXnvFVmXJh8KiJEJJG9RsPS0fDGDY3bzmQlU2Faxes7a+vn4dQX392jWrv7TsVGUKo1OkCLDIYruCoL08XT5R7Wlo9VrGREP92tVeJZlmYyteEI+8fg3SLcix+E+yYZWO1WvX+QFzMnauTnpdG8Gxv9Dks9AToXVGMZMO103j+g1NGzdtIrts2tzctCElOK0xDoh5CUUQcO2FXgWpDJ1XPy1WOo0bmr1DaXNrG6NkaKnF8EhHD0eF/gqKIBTMh9HBbFwfNLcySoGMXJ67EYrQVZQfUUkBRAKi1i90e62hdLb4TzOI+bZQNel2i3kZ8YkacSZNRaXSWlQ/hoKSmtj69HQYJa+SkiYfR80dI5FSQ0Giw3s8OtG+VYGqJ7UpHR1KiTr4GnDwNq33s7WVPVzr82h9UoZMPo1NmdAhaGo0GLVrnoDoNET2tGI1DcmVBmOzVk1B2w0+bRmphyupzWC03bQZ7PklZlBEYlYG+dQCcSQUptJ6D0S0Ax+yFoioNRmBPFuh6dI8KmoSE+3bJIh+NmRDh2AD0ZGSsa1TZ4TojJ9lRFEOsJjKLOh9bIfOZ0u2fFx3i85op/anCI7MuRdZhzGt19fOUT8WHcG+T1MYShncZjlwHmQEoS4pZysW22FrL1EZr6bLIbwsq0za9iDdf6sU1GXoB87VmM1K4NUuw6PViZH+5fXniiq6RtyFnww18QrPTlHc1+qVpBbIyHXg7LFEj4oRzzqsCxqs0dPfY9W7LKjzDOybcDzaLUV1g25DUkdg2cjWH2/I/hUx5q26gsx4WFvHCOzZQzaIukpj1yZ8+F6rilwtRRM2Or0ZE7u6Beo9DpSo3hcAc2aP3ahRCuuC//Cej5QTlUCf1hS0X4rYi89QN1hFjx+Xr+iLYTditL1SXBLy4f2eMSA5tSKgIKSFxR1QQXoEOvB1WhzQDsDRqF6Kg7GIpJ+UF70Oo5C5FOuECtJHsAMHD359kG3+0BhFNRVBt4bdDJFIVKwUphOq7RUwFXTASuAQ3/i3Q4c0RlhFjVIgHNEQvPBQTMIiiEKJyqqYNPDO3t5u+vjG8KADh4JwmGwMOwwVfSMkCpuhZKwqloCr2Bw1m8a8EjUrv8Vo6KqqTboJeT67161rhf7Mmzv8Hd3w4zu6WQA1gUeQ3VIkchO12+OrSGsraxC4oLJAJqWJa1VRPj09R4709R3pghYD8/lkv2ju6HdH06AfxPZmrGcpchtp4UhPD2VUBVSUy1IM3IPijE8P3ruv75g4GFusDZzp955mB/DTBzDkMJsxHCMtYEJ7SItxMCnKkwMHmUzG8L97CB/MqL/bbrHkgD9+GPjBRK2PzSghrqIYmFnnw7mH4xxQCuqTxzZqFhv0tHmcvx7/wYJBzWb1GiHOqAoOr69BQsRogk//4AmOXmx7EAs4iXQ4yV9PKhWRftYrpA72c6P1xGm/Fzp6Ayw4aM6jneun/5g4FLtQCngQbsOOIfwQHwCAivCA9o2Qeqy/n6moXV8Mvanl8chfDUxBitBeOFFMDgXgRxuOR6ET7QWEKKMGVn8g+304BK440ysBSWIzvHf3MMOJ3Y1gIbbD0uSpUz+SB/tAnjp+kgc3NTbu5lKHuwmfnp66Cjh2kIAUEotZlsRzEjWs6/f1ikPXNzYqnx48lSlOkwfBGXnwRkCot6+HR0UjKRvSXMhRsfGEOHR3W9tmKXPotC/OincC9krxozx4U1tbmyQkoyIZYEGoDoErM1hDSMZGSQhLkQNZ7Vk/nDt7zsD58+fPnSevSUBovZB6gnQwGhXJ8BqxaShCr6rGOJ8jw4CQPMcLpIFsoZwIaGj4CGcUk/lPj8nYEugAH8wuCqxfv15K/NnW4C/k+Ys/fpaHY1FSrIiKvNRAGiqkChh45j7OBlcroUu/ZIDL+EFfLjOcsRNiUZFlHDxxCLFuxqZnLDbKI1MpFRfPXJbNBOHK5StX6EahCGFRgBBm1O6KAhFFqIBlYUAqmMXGYUBIOvWZK8G4euWqF5LQptR6SWiYRUWXroRAvV9haLGaL4opbHIP1tHwCIdG6OosAAilUkLqMNZPHV3kaktXTAhOP9gykc0bMaGL9NGRSjV7CV3DoC/pIQltTqU6hNQTPCqaC6F8edEuIi+RsdjYK86lNZXaKJ3aaOvXa7+mxyUZqVOpViG1V0VFmkUTJPJgXQUrOHFZbOwW5/JbR4ccy36ytPc7fgZCxqGmjo7fhNRuERWZgpBaKS5Qc3y+lI5RQtvEuWBCcrRv+T0Nrl+/TjYNF8TRWyghhm109hrz+NBCmR2i6WuWHaKxcdXIyCh9jHR0tIopROd1X9zQXm/coBuFTOK1dmAX4lJXsajo0iIgEKhz2EJRmcyVsXFEOlFrqxxdb16X7WSKm9KnsSDCh4LE6TgNMg4L1QzFZCktq+hUApbERn4qoyO/tbYqr7Y1+ceNPwIgfbqptZVajMi8eIRFRZY+V05dCJMNSGWHUAOe5I9yjIyNjcnR9Y+ssV8cOz42NiJk9sqoSIsQ5Vq6CGTNya8yPZRY1XdslKtoFBOSofGmt8U/8dMft6TFsJhRIfNY3yqeQZLX76mOSkDOkybxXZGPwYzE2YzeHhuTNrvzZzDumrgjo9DY2G0pclDwEbkGbrJS40IHuFKWGByWh4+P35YD5L27WeGeOC46Pj4uBV6UfEh1iqoCe4PmGIuAhkBCJtmrVHR7XI4ed3Ar90lT9+/TT/eDIRXUfHucKOgBcyGVQ9Nm1Pk8LazmjDBBlHwggBlNyJ9v3c8Cf0kFTdy+PSoFgusLtORSECjRE+fISFk9lAImJiakilpoS3/f/xvjPt98IbtYMxYhxU0KMnruHPHEuYhEdEBBrkozdj6AjOSC7xKnEsiE4X9KQYDPg0fCoV1+eYr3MnE5CJRVOVoNyuMHD57QByEkO5r7T3omDP/IQzZSQkzYk8eavaRPI1nXmCMnaIZfT1EZT8iGBcrxo/NeZnzuSVfZjA8nUoiwJ0+EIIeWgII+XgYv4LEJgKNVwaHHTyQmJp5Ko3X+lR2f6FPMR0IpCOmFluq6dIlyaz03PKXEPH369KGbjY4UH/chPlhJeiR/d2EiBlai5sgR3+HrRYFn6ryw0Ekl6nk6Ps/Vvs34UKXrZ5APmC0iWNaUp3k1uN7R+Vjh4cOHapHv3gk0291Las/N+EAgRijIYSl8MyoylIEpkn7FYxKLeEKfJqP9AZ3t5n5fPtOyg2nXpDGvMkCIJfZYZXlE1t1Tf3wGVDQ5OQkYuS237HRuXQA7bcYHAULPokpBDrzKgaCCYDGKqL0X1R+PHuuMpkBjWEsew919Dum40zqfx8qjYRUBinjqdbTcJ4IFelNA3AwWP+1quPD81l1J5pbOhvGZAQLk6YgL5JY+bylo0t1o5pnC5DRGp2ug88KFO3cutOz3/E72ngSHz8AOplfqeWq+9PQwLDCPQkYzpI0pNxNEp8i+2sFRQAgF1TMZKkJIm4dEZyCmrUryopPxgQBXPpBxN0yZh1BosSrFp/VqgNEjTey/UwSd6egQ6Hy0EE1vfJJOlO/lEyoD95aYZZ46o5mpaUrJtywlSulMT//rx8c1Kj1tCgrBtAMts4LXXw1GTEmMUyJRUVERw8BviYRgg6HTAXzEXXGKj89dcGE126Y3T8BL5p0zJqXplu3xFTWemvOV1SviOzZ66Mx0anzooAHSZnYs1IuKdatFYQsTXdUrdwXi2+qdE5B/FJqLLQ5RsMHA+kO6tt7X/mWY2NmwK0M0dE3wg3Q++u0dAbct5hToGjIdCbPp+naPDfvY6z7ygb1w1LVjTrB7iZDoyIlrOOSPsmI5tPA7KCAhtLNn3yxQ156A+mF3LaleVlwWQAjO9/l9oZJSbYNeTUE/fPUV2fzxNXtp55fxkJEEJqe+KBSIInjjM78jkdFJX1yhcFD7SCogeipl/9KR9gZK485Wdka1Ww/OGVuT/E4cjVLaW3FCZbDIkmX4E13Wsgr8cujQIV5XcZBWNRwMrHloT7JJPWD0ZllaQsKxlYpaRDOHD8taCvHhcDrI6gfypW+7eYNZBnzUDZxsfZvoCiilyBpd2hiW6a2cqhI1EkkOpiunyA79SUAou5sUaeoh2X904OjAwNGBecOLZPZ81G2TyReWcgr6ijHAN/WWEQQjlP2NrphPxs2ASgtZenGcFUDwf8XX45QRyu7GW+bZiRdpKypUVQX/QGsbSImFbwXEyaEXCZSxPyuUhiPfW4QNDZ1kJRX8fYhWVpwcygrfozdncTt52X9EBYV6o5UM9M1eV5Ep/ptR/PHgLVY+QcooTtFSCvaNVVTQIgu6wyn+a+Z4a1Z0MN5+J6OaCryxwopTpzPBO2/Plk8o9O573ooKWklB30+DgorTZzPFe+/Ong/G++fOnmN1FGfPko1+9pRVnDt3XlZXcPjVQLz1wZz4ECXNorrCF+8tmSMdqqTzpJCClVOcz6S0wRcfvj8PdIiSyj3FFKqqgnwmL2wLrHwon5v3aJQ+spRTwC8Ml0GBhQcfzYe1FJZ8dOXqVVpNgWEpqbiSprxhnulQSuXZV1lcoyUQV6+9BDrUcOVLMyuu0PHh+/PnOx4sW55BbYWG5R/PNfCkUxPmlK6+QWL5Jy+ZDcMHH5d/KqoqfvctdVj62cvWja6ojz9b/jktqmAPDZ8v/2zZqySjVLVk2Sfly5cvXcp4LF36aXn5J8uWzInL/wE2DX3WX3E00wAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAyMi0wOS0yN1QxODoxNToxOSswMjowMMba8UQAAAAldEVYdGRhdGU6bW9kaWZ5ADIwMjItMDktMjdUMTg6MTU6MTkrMDI6MDC3h0n4AAAAAElFTkSuQmCC"></image><image id="e" width="40" height="40" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAAAXNSR0IArs4c6QAABktJREFUWEftmF1MU1ccwM+9t7cUNqik07Zao7VgylQgg1qtkNSF7IGWrUu5VJaQZZnPLrole5s1e9nLliW+zWQ6Xcxo7aX1gRCSBTOBCmiQqSlBIpQgoaThQ5AW6L1nOVcOufSDXigPZvEmhJSej9/5nf//f86FAG/5Q7zlfOAdYK479P8y6Ha7SbvdTuVqZXFxEVqtVo4gCJhtLMkGIYSElAGzTYi/lzqeJEA8mN/v/zAej3/O87x8h7DIGEXT9LhGo/HW1NQsZgPNCoi21e12821tbSfz8vI6dTqdkqZpiAaWakvcjiRJPhqNktFo9C+Hw9GcMyAewOfztZWXlztKSkpWIIQkQeyID7FCjuPI+/fvy2ZmZmwul6vd4/FQTU1NXLoFbzkL7tja2tqgVqvv1tbW8iRJkhC+iW30G/1IgcVtUHtkcXJyknz48GHQ4XDUEgTBZTKZEVDcwefz9ZjNZsuBAwf4HO2JJfHBYJAMh8NfNTc33+jq6pKdPXs2kWwxI6DInlOr1d5B9gAAJDaHjEQiEdDd3S1YzPTwPA+USiWoq6sDFPWmQq1b5yORCNnX1zdE07S5vr4ehU5KpUgLiBv29vbmRyKRbrPZ/JFWq92whyYlSRI8ffoUXL9+HdA0DWQyGUB/Fz9oEWtra0ClUoFLly4J7ZIerq+vjxofH79w7ty5q+liMS0g1u3xeL45fPjwryaTCQXwpgKNY29kZAQEAgGwsLAAFArFJpsIMB6PA4ZhQEVFhbAAtDCRRTg/P0/09PRMEQRRZbPZppMtpgDiBoFAoJAkycHTp08bVCpV2tjDkLOzswLk6OgokMvlQtJgOKPRCFpaWtJGwHr/xODgoOz58+dXXC6XO9liCqAo9r43GAw/VVVVpdjbFOnrVpaWlkBHRwcIhULCtqJ4Q5Dnz58H+/fvT5vt64Dw1atXyOJMLBY76XQ6w7j2onk2AWJ7N2/efE+lUoUsFsvBPXv2CEU5UynBFu/duweGhobAoUOHwIsXL8DU1BSw2+3AarVuWYqwxSdPnshCoZDb5XJdEWd0WsDbt29/oFKpxqxW6/tyuRylaKZkEiyhbL527RpYXl4WMvbIkSOCQZvNBvLy8rY8cNbjcm10dJR+/PjxVYZhLoi3OWMMsix7Q6/Xf1lZWbkGIaTTGcT2bt26BYaHh0F+fr6wvWjSyspKwSACFCeHmBaXm6WlJTIYDK4tLi7WOZ3OfyQBohIzPT3tLy0t/eT48eMJCKFMDIknHRgYACzLgoKCAgEEt4nFYkLsoQzWaDQp24zjb3l5GaKCPT8/39LY2PinOP5SYjD5KtTe3l4Uj8cDZWVlVqPRuAGJzc3NzQlb+/r1a6EOigs2Al1dXRUMIpPIqGh8tBCI4ebm5r5jGOZnyXUQDYRXEggE1BzHdZaVlZUbjUZ0ZlLr5yno7+8HXq93w15ykUbQqA6iuLx48aJQgrC5eDzO9/b2UrOzsz8wDPPjto86NBlekd/vP8jz/N/Hjh0rPXr0qACJDK2srICxsTGQSCRSLgwIBiUKx3GgsLBw0zavrq5yCC4ajV5hGCal9m1aaLY7HYYMBAIlPM93nDhxwmAwGDYgs/VPOds4jnvw4AH18uXLjcLMMAyf6QIs6VInhoQQdlRVVRl0Oh3H83zG95PkrEefIYRcf38/NTEx8UtTU9O3KIwuX76MimzG24YkQPF2syxbRlFUp8lk0mm1WskmIYSJgYEB2cTExO8Mw3wtBS5jFmfaNmySZdkKmqa7qqurizUaTdY7ogjO09jY2IxuXMLku/lWh6FFkB/TNO03mUyFarV6K8jEo0ePZGNjY3erq6tder0+nlzrtopjyVssHgSXBJZl7XK53Hvq1ClF8o0Hn7FDQ0OykZGRuyaTadtw297idJA+n+9ThULReubMGYVSqeR5nhdeqAiCSDx79gzBdWo0GofFYoltxxyea0cGcWds0uv1fqZUKu+YzWaqqKgIvVfA4eFheSgU6t63b189ev/dCVxOBpMhPR7PF8XFxX/o9XpqYWGBCIfD/0IIbU6nc3KncLsCKC5BHo+nBgDQAiEMFxQU/NbQ0BDNBW7XAMVnt/jCIbWU7HoWb1Un9+7dK8S11P9eZTsqc0qSbIPvxvfvAHO1+NYb/A/a5MBWwjVGJQAAAABJRU5ErkJggg=="></image><clipPath id="a"><path fill="#fff" d="M0 0h32v32H0z"></path></clipPath></defs>',3)],w={render:function(t,e){return A(),l("svg",Q,G)}},E={class:"s-header"},F=["src"],B={key:0,class:"s-header-live-name"},p={class:"right"},U={class:"user-info"},z=o({__name:"Header",setup(t){const a=h(),o=P(),d=f(),C={logo:new URL(""+new URL("logo-1c58bd8a.svg",e.meta.url).href,self.location).href},O=n((()=>d.getters["live/getName"])),c=()=>{o.replace({path:"/"})},u=async t=>(o.replace({path:R.createLive.path,name:R.createLive.name,query:{id:a.query.id,title:t}}),d.commit("live/setName",t),!0);return(t,e)=>(A(),l("div",E,[r("div",{class:"logo",onClick:c},[r("img",{src:C.logo,alt:""},null,8,F)]),g(a).meta.liveName?(A(),l("div",B,[i(y,{value:g(O),event:u},null,8,["value"])])):s("",!0),r("div",p,[r("div",U,[i(g(w))])])]))}}),S=o({__name:"Content",setup:t=>(h(),(t,e)=>{const l=O("router-view");return A(),d(l,null,{default:C((({Component:t})=>[i(u,{name:"fade"},{default:C((()=>[(A(),d(c(t)))])),_:2},1024)])),_:1})})});t("default",o({name:"s-base-layout",setup(){const t=h(),e=I(!1!==t.meta.footer);return v((t=>{e.value=!1})),{footer:e}},watch:{"$route.meta":{deep:!0,handler(t){t.footer&&(this.footer=!1!==t.footer)}}},render:()=>i("div",null,[i(O("t-layout"),{key:"no-side"},{default:()=>[i(z,null,null),i(O("t-content"),{class:"s-layout-content narrow-scrollbar",id:"layout-scroll"},{default:()=>[i(S,null,null)]})]})])}))}}}));
System.register(["./index-legacy-31c6062c.js","./userApi-legacy-f48623ab.js","./vue-legacy-e1572d11.js","./TdesignNext-legacy-e721ed2d.js","./index-legacy-68247afe.js"],(function(e,l){"use strict";var a,s,t,o,c,r,n,u,i,d,m,p,g,f,b,v,w,h,_,y;return{setters:[e=>{a=e._},e=>{s=e.B,t=e.U,o=e.s},e=>{c=e.d,r=e.r,n=e.j,u=e.c,i=e.o,d=e.I,m=e.Q,p=e.S,g=e.a,f=e.R,b=e.L,v=e.X,w=e.M,h=e.W,_=e.D},e=>{y=e.c},null],execute:function(){const x="remember_phone",S="remember_email",V=e=>{let l="";l="phone"==e?x:S;const a=localStorage.getItem(l);return a?JSON.parse(a):[]},U={class:"login-page"},j={class:"logo"},I=["src"],L={class:"login-content"},N=p("div",{class:"label"},"登录账户",-1),k={class:"form-item-box"},q=p("div",{class:"label required"},"账号",-1),R={class:"form-item-box"},A=p("div",{class:"label required"},"请输入密码",-1),J=v("记住密码"),O={class:"submit-box"},T=v("登录");e("default",c({__name:"index",setup(e){const c=w(),v=h(),B=r(!1),D={logo:new URL(""+new URL("logo-1c58bd8a.svg",l.meta.url).href,self.location).href},E=r(!1),M=n({list:[]}),Q=n({account:"",password:""}),W=u((()=>({account:[{required:!0,message:"账号不能为空",type:"error"}],password:[{required:!0,message:"密码不能为空",type:"error"}]}))),X=e=>{Q.account=e.account,Q.password=e.password},z=async({validateResult:e,firstError:l})=>{if(!0===e)try{B.value=!0;let e=await t({email:Q.account,password:Q.password});0==e.code&&(o("登录成功","success"),c.commit("user/setToken",{token:e.data.access_token,time:e.data.expires_in}),c.dispatch("user/UserInfo"),v.replace({path:"/"}),E.value&&((e,l)=>{let a=[e],s="";"phone"==l?s=x:"email"==l&&(s=S);const t=V(s);if(t.length){const l=t.findIndex((l=>l.account==e.account));-1!==l&&t.splice(l,1),a=a.concat(t)}localStorage.setItem(s,JSON.stringify(a))})({account:Q.account,password:Q.password},"email")),B.value=!1}catch(a){console.log(a),B.value=!1}else o(l,"warning")};return i((()=>{M.list=V("email")})),(e,l)=>{const t=_("t-form-item"),o=_("t-checkbox");return d(),m("div",U,[p("div",j,[p("img",{src:D.logo,alt:""},null,8,I)]),p("div",L,[N,g(b(y),{ref:"form",class:"custom-login-form",data:Q,rules:b(W),colon:!0,"label-width":0,onSubmit:z},{default:f((()=>[g(t,{name:"account"},{default:f((()=>[p("div",k,[q,g(a,{placeholder:"",needSelect:!0,selectList:M.list,modelValue:Q.account,"onUpdate:modelValue":l[0]||(l[0]=e=>Q.account=e),onSubmitAccount:X,align:"left",className:"reset-login-input"},null,8,["selectList","modelValue"])])])),_:1}),g(t,{name:"password"},{default:f((()=>[p("div",R,[A,g(a,{placeholder:"",className:"reset-login-input",type:"password",modelValue:Q.password,"onUpdate:modelValue":l[1]||(l[1]=e=>Q.password=e),align:"left"},null,8,["modelValue"])])])),_:1}),g(t,null,{default:f((()=>[g(o,{class:"remember-password-box",modelValue:E.value,"onUpdate:modelValue":l[2]||(l[2]=e=>E.value=e)},{default:f((()=>[J])),_:1},8,["modelValue"])])),_:1}),g(t,null,{default:f((()=>[p("div",O,[g(s,{type:"submit",theme:"green",class:"reset-login-submit-btn"},{default:f((()=>[T])),_:1})])])),_:1})])),_:1},8,["data","rules"])])])}}}))}}}));
System.register(["./vue-legacy-e1572d11.js","./plugin-vue_export-helper-legacy-762b7923.js","./Common-legacy-6e401395.js","./index-legacy-34161ba9.js","./changeName-legacy-e0f05d42.js","./ConfirmDialog-legacy-f4d50655.js","./index-legacy-447759e3.js","./userApi-legacy-f48623ab.js","./index-legacy-68247afe.js","./TdesignNext-legacy-e721ed2d.js","./index-legacy-671251eb.js","./otherRequest-legacy-ad8ec785.js","./index-legacy-31c6062c.js","./edit-legacy-59c4e814.js"],(function(l,e){"use strict";var a,s,t,u,n,c,i,r,o,d,v,g,y,m,p,A,f,h,k,I,U,_,w,R,L,S,C,T,O,b,B,E,V,x;return{setters:[l=>{a=l.d,s=l.u,t=l.m,u=l.r,n=l.c,c=l.w,i=l.I,r=l.Q,o=l.S,d=l.F,v=l.e,g=l.z,y=l.V,m=l.Y,p=l.a0,A=l.L,f=l.j,h=l.o,k=l.U,I=l.a,U=l.X,_=l.W,w=l.R},l=>{R=l._},l=>{L=l.c,S=l.L},l=>{C=l.L,T=l.C},l=>{O=l._},l=>{b=l.C},l=>{B=l.a,E=l.C},l=>{V=l.x,x=l.s},null,null,null,null,null,null],execute:function(){const j=["src"],P=["src"],F={class:"play-time"},Z={class:"play-progress"},M={key:1,class:"mode-2-audio"},N=["src"],K=["src"],q={class:"play-time"},Q={key:2,class:"mode-3-audio"},W=["src"],z=["src"],H=["src"],Y=a({__name:"Audio",props:{url:{default:""},need_progress:{type:Boolean,default:!0},bk:{default:"transparent"},autoPlay:{type:Boolean,default:!1},clickPlay:{type:Boolean,default:!1},mode:{default:"1"},canPlay:{type:Boolean,default:!1},status:{type:Boolean,default:!1},id:{default:0}},emits:["startPlay"],setup(l,{emit:a}){const f=l,h={start:new URL(""+new URL("startAudio-84529604.svg",e.meta.url).href,self.location).href,stop:new URL(""+new URL("stopAudio-0d6593f4.svg",e.meta.url).href,self.location).href};s((()=>{clearInterval(R.value)})),t((()=>{clearInterval(R.value)}));const k=u(),I=u(0),U=u(0),_=u(!1),w=u(0),R=u(),L=u(0),S=n((()=>function(){const{url:l}=f;return"string"==typeof l?l:l[L.value]})),C=()=>{I.value=k?.value.duration||0,f.canPlay};c((()=>f.status),(l=>{console.log(l),l||O()}));const T=async()=>{await k.value.play(),a("startPlay",f.id),_.value=!0,I.value=k.value.duration,R.value=setInterval((()=>{U.value=k.value.currentTime,w.value=U.value/I.value*100,100===w.value&&("string"==typeof f.url||(async()=>{const{url:l}=f;l&&l.length&&(L.value===l.length-1?await O():L.value<l.length-1&&(L.value+=1,await O(),T()))})())}),100)},O=async()=>{await k.value.pause(),_.value=!1,clearInterval(R.value)},b=l=>{let e="",a=parseInt(String(l/3600));l%=3600;let s=parseInt(String(l/60)),t=parseInt(String(l%60));return e=B(a>0?a+":"+s+":"+t:s+":"+t),e},B=l=>{let e="",a=l.split(":"),s=0;for(;s<a.length-1;s++)e+=1==a[s].length?"0"+a[s]:a[s],e+=":";return e+=1==a[s].length?"0"+a[s]:a[s],e};return(e,a)=>(i(),r(d,null,[o("div",{class:"audio-player",style:p({background:l.bk})},["1"===l.mode?(i(),r(d,{key:0},[l.clickPlay?(i(),r(d,{key:0},[v(o("img",{src:h.start,alt:"",class:"play-icon",onClick:T},null,8,j),[[g,!_.value]]),v(o("img",{src:h.stop,alt:"",class:"play-icon",onClick:O},null,8,P),[[g,_.value]])],64)):y("",!0),l.need_progress?(i(),r(d,{key:1},[o("span",F,m(b(U.value))+"/"+m(b(I.value)),1),o("div",Z,[o("div",{class:"play-current-progress",style:p({width:`${w.value}%`})},null,4)])],64)):y("",!0)],64)):"2"===l.mode?(i(),r("div",M,[o("div",null,[v(o("img",{src:h.start,alt:"",class:"play-icon",onClick:T},null,8,N),[[g,!_.value]]),v(o("img",{src:h.stop,alt:"",class:"play-icon",onClick:O},null,8,K),[[g,_.value]])]),o("div",null,[o("span",q,m(b(U.value))+"/"+m(b(I.value)),1)])])):"3"===l.mode?(i(),r("div",Q,[o("div",null,[v(o("img",{src:h.start,alt:"",class:"play-icon",onClick:T},null,8,W),[[g,!_.value]]),v(o("img",{src:h.stop,alt:"",class:"play-icon",onClick:O},null,8,z),[[g,_.value]])])])):y("",!0)],4),o("audio",{ref_key:"audioRef",ref:k,src:A(S)(),onCanplay:C},null,40,H)],64))}}),D=R(Y,[["__scopeId","data-v-314b032e"]]),X={class:"image-custom-record"},G={class:"left"},J={class:"center"},$={class:"name"},ll=U(" 名称: "),el={class:"create"},al=U(" 创建时间: "),sl={class:"right"},tl={key:0,class:"status"},ul=["src"],nl=o("div",null,"审核中",-1),cl={key:1,class:"status"},il=["src"],rl=o("div",null,"审核失败",-1),ol={key:2,class:"status"},dl=["src"],vl=o("div",null,"进行中",-1),gl={key:3,class:"status"},yl=["src"],ml=o("div",null,"已完成",-1),pl=a({__name:"Record",setup(l){const a={underReview:new URL(""+new URL("underReview-e1e9d152.svg",e.meta.url).href,self.location).href,auditFailure:new URL(""+new URL("auditFailure-aedeaf8e.svg",e.meta.url).href,self.location).href,progress:new URL(""+new URL("progress-6820e84c.svg",e.meta.url).href,self.location).href,success:new URL(""+new URL("success-38963be9.svg",e.meta.url).href,self.location).href},s=f({list:[]}),t=u(!1),n=l=>{s.list.forEach((e=>{e.id==l?e.play_status=!0:e.play_status=!1}))};return h((()=>{(async()=>{try{t.value=!0;let l=await L();l.soundColor.forEach((l=>{l.play_status=!1})),s.list=l.soundColor,t.value=!1}catch(l){t.value=!1,console.log(l)}})()})),(l,e)=>(i(),r("div",X,[(i(!0),r(d,null,k(s.list,(l=>(i(),r("div",{class:"record-items",key:l.id},[o("div",G,[I(D,{url:l.audio_url,mode:"3",id:l.id,onStartPlay:n,clickPlay:!0,status:l.play_status},null,8,["url","id","status"])]),o("div",J,[o("div",$,[ll,o("span",null,m(l.name),1)]),o("div",el,[al,o("span",null,m(l.created_at),1)])]),o("div",sl,[l.audit_status==A(C).LIVE_AUDIT_STATUS_EXAMINE?(i(),r("div",tl,[o("img",{src:a.underReview},null,8,ul),nl])):l.audit_status==A(C).LIVE_AUDIT_STATUS_ERROR?(i(),r("div",cl,[o("img",{src:a.auditFailure},null,8,il),rl])):l.audit_status==A(C).LIVE_AUDIT_STATUS_PROCEED?(i(),r("div",ol,[o("img",{src:a.progress},null,8,dl),vl])):l.audit_status==A(C).LIVE_AUDIT_STATUS_FINISH?(i(),r("div",gl,[o("img",{src:a.success},null,8,yl),ml])):y("",!0)])])))),128))]))}}),Al={class:"image-custom-my-person-box"},fl={class:"my-person-items"},hl={key:0,class:"my-person-loading-item"},kl={key:0},Il=a({__name:"MyDigitalPerson",setup(l){_();const e=f({list:[]}),a=u(!1);u();const s=u(!1),t=l=>{e.list.forEach((e=>{e.id==l?e.play_status=!0:e.play_status=!1}))},n=()=>{};return h((()=>{(async()=>{try{s.value=!0;let l=await L();l.soundColor.forEach((l=>{l.play_status=!1})),e.list=l.soundColor,s.value=!1}catch(l){s.value=!1,console.log(l)}})()})),(l,u)=>(i(),r("div",Al,[v(I(S,null,null,512),[[g,s.value]]),o("div",fl,[(i(!0),r(d,null,k(e.list,(l=>(i(),r(d,{key:l.id},[(l.audit_status,A(C).LIVE_AUDIT_STATUS_FINISH,i(),r("div",hl,[I(D,{url:l.audio_url,mode:"2",id:l.id,onStartPlay:t,clickPlay:!0,status:l.play_status},null,8,["url","id","status"]),I(O,{value:l.name},null,8,["value"])]))],64)))),128)),(i(!0),r(d,null,k(e.list,((l,a)=>(i(),r(d,{key:l.id},[a!=e.list.length-1?(i(),r("i",kl)):y("",!0)],64)))),128))]),I(b,{modelValue:a.value,"onUpdate:modelValue":u[0]||(u[0]=l=>a.value=l),title:"确认删除吗?",onConfirm:n},null,8,["modelValue"])]))}}),Ul={class:""};l("default",a({__name:"index",setup(l){const a={speak:new URL("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAOaSURBVHgB7ZhJaFRZFIb/c6vKpjWm03TTtrS22TR0Qze00PSgnRrigKII4kZQcQBxIQriygFinMGFuBDciEF0oRsVFRWHVKyIUUTNIitRI6I4oAkaTEzqveNf0dSUqkrey3u1ED94Vffec+q+v8595w4P+MJnjsAHVFWQCP8Iq++rdKOl3TL9xnM4xDOB2hitQsBaCRvz2O1vbPmugNtbXm0wSED0gNQ0Pxiq3xEL1Lo6g9iVOhbX8qqCMxqgffUSa2kv5jAigdpSOw49vefZzZ9wjT6CkVUSTlwoZHUtUBNTf4ZlLrH4C0ZOF4d9IUWezTcYuMUy2+GNuBQVfHaPaOO/1fkGVwK1sWYZv5bAW6ogoUP5je4iKNgIf4hqPBLLbnAskNPJ7/BuaAtgbciuuYhgchp8RWJ6cfo3AzXnAg3+gL8EEeiOZG7nGKmA3xhJr0JukmQ8/MbI9+kiHKBXauZAEYb/JAcKwxbI7K2m936UA8t+OlAclkC9MHMMjH2OxUkoB4LiArV15hi9XPtTTuOonh3c5P2K8tAu0WuJgcrgCHZ070Gg90xOm+gKlI/G7EqOwI9rrC6GJuczIXZqPDz5k6kB5cHi/nArigmESB1s2Q0TWMjnYAm0tyO1U5ZogptRM4UOJ+AnolvyN69pgRr/j9HSagQowjbrmBSbOakv5Z9q7f9ttOk6O/AzSW5KpHl7fmNWBIN/UWAbbHsco/cD7CfHKGs5YO9Ku1h6DL4gd2G65hayZAnUbzkJv2aUvmbGvkFg4lgKnYRQ6Famn+Bx+nTCW9p5n3kSvvMSpQVKB5eY8XwGKVIqOcQ9bOxEMplZOYy1mp05PRiVRuwtErn6uJg5I1CkjdGZgIB50S/MwmzW63ltSvvY1tF+m5dUhk6VMmcEhmMt/OymikUc4n1Qsw/oO0mBtWmf99oFeBhBxW2ZHO8clkCReps/2AiV9VyqD3MoLzNxqqW2uTXtPTq4F14idmhIl/wGvVpzkUIrJZL4Z5CtKXyN0Z0Cr1B9h/i0sVLP4BRh8FI3qmIBZa8p3KF9FF4iMhozLv1d0gUO0fhUnrpkFozegwYeIBi8z5dEB3mudXdWMVjOA3tDMXMQDuFOI7WY5yzo2vT/aVrcHqY6Shndv1nIxkIcbhA8xLNX50q7eASTaxmHeRuLE3INeMe7vGYhNZ2komUhNZeKuYFKc2CoacZzmOkT9US0StWfl6Nf+Oz4AOxOIjab5ZTQAAAAAElFTkSuQmCC",self.location).href,success:new URL(""+new URL("success1-983d8c8d.svg",e.meta.url).href,self.location).href},s=u("1"),t={title:"声音定制",inputLabel:"声音名称",placeholder:"请输入声音名称"},n={label1:"选择音频",label2:"或拖音频到此处上传",buttonLabel:"选择音频",successIcon:a.success,successButtonLabel:"替换音频"},c=async l=>{try{if(0==(await V(l)).code)return x("提交成功","success"),!0}catch(e){console.log(e)}};return(l,e)=>(i(),r("div",Ul,[I(A(T),{accept:"wav",submit:c,dialogInfo:t,icon:I("img",{src:a.speak,style:""},null),uploadInfo:n,label:"声音定制"},{default:w((()=>[I(A(B),{modelValue:s.value,"onUpdate:modelValue":e[0]||(e[0]=l=>s.value=l),theme:"dark2"},{default:w((()=>[I(A(E),{name:"1",label:"我的音色"},{default:w((()=>[I(Il)])),_:1}),I(A(E),{name:"2",label:"生成记录"},{default:w((()=>[I(pl)])),_:1})])),_:1},8,["modelValue"])])),_:1},8,["icon"])]))}}))}}}));
System.register(["./vue-legacy-e1572d11.js","./Common-legacy-6e401395.js","./cardOne-legacy-1ea6bcaf.js","./userApi-legacy-f48623ab.js","./index-legacy-447759e3.js","./index-legacy-68247afe.js","./ConfirmDialog-legacy-f4d50655.js","./changeName-legacy-e0f05d42.js","./index-legacy-31c6062c.js","./TdesignNext-legacy-e721ed2d.js","./edit-legacy-59c4e814.js"],(function(e,a){"use strict";var l,i,t,s,n,o,d,c,u,m,r,v,p,g,h,y,_,f,k,L,C,b,V,w,x,U,j,N,z,R,q,D,I,B,P,M,S,T,A,E;return{setters:[e=>{l=e.d,i=e.r,t=e.w,s=e.I,n=e.J,o=e.R,d=e.S,c=e.Q,u=e.U,m=e.F,r=e.V,v=e.W,p=e.a,g=e.X,h=e.Y,y=e.K,_=e.e,f=e.z,k=e.Z,L=e.j,C=e.o,b=e.L},e=>{V=e.L,w=e.o,x=e.a,U=e.g},e=>{j=e._},e=>{N=e.B,z=e.g,R=e.d,q=e.s,D=e.a,I=e.b},e=>{B=e.D,P=e.C,M=e.a},e=>{S=e.r},e=>{T=e.C},e=>{A=e._},e=>{E=e._},null,null],execute:function(){const F={class:"chose-person-dialog-body"},J=d("div",{class:"header"},"选择数字人",-1),K={class:"group-btns"},O={class:"person-list"},Q=l({__name:"digitalPeopleDiaog",props:{modelValue:{type:Boolean},adminList:null,myList:null},emits:["update:modelValue"],setup(e,{emit:a}){const l=e,_=i(l.modelValue),f=v(),k=i(""),L=e=>{k.value=e},C=i("1"),b=[{label:"数字人库",value:"1"},{label:"我的数字人",value:"2"}],V=()=>{_.value=!1,f.push({path:S.createLive.path,name:S.createLive.name,query:{id:k.value,title:""}})};return t((()=>l.modelValue),(e=>{_.value=e})),t((()=>_.value),(e=>{a("update:modelValue",e)})),(a,l)=>(s(),n(B,{modelValue:_.value,"onUpdate:modelValue":l[0]||(l[0]=e=>_.value=e),className:"chose-person-dialog",onConfirm:V},{default:o((()=>[d("div",F,[J,d("div",K,[(s(),c(m,null,u(b,(e=>p(N,{key:e.value,theme:"opacity",class:y(["default-chose-person-btn",{"btn-active":e.value===C.value}]),onClick:a=>(e=>{C.value=e.value})(e)},{default:o((()=>[g(h(e.label),1)])),_:2},1032,["onClick","class"]))),64))]),d("div",O,["1"==C.value?(s(!0),c(m,{key:0},u(e.adminList,(e=>(s(),c("div",{class:"",key:e.id},[p(j,{className:e.id==k.value?"card-active":"",img:e.cover_url,id:e.id,name:e.name,onChange:L},null,8,["className","img","id","name"])])))),128)):r("",!0),"2"==C.value?(s(!0),c(m,{key:1},u(e.myList,(e=>(s(),c("div",{class:"",key:e.id},[p(j,{className:e.id==k.value?"card-active":"",img:e.cover_url,id:e.id,name:e.name,onChange:L},null,8,["className","img","id","name"])])))),128)):r("",!0)])])])),_:1},8,["modelValue"]))}}),W={class:"custom-card-two-image"},X=["src"],Y={class:"custom-card-footer"},Z={class:"create-time"},$=l({__name:"cardTwo",props:{id:null,img:{default:""},value:null,created_at:null,clicked:{type:Boolean,default:!0}},emits:["change","nameChange"],setup(e,{emit:a}){const l=e,t=i(!1),n=()=>{l.clicked&&a("change",l.id)},o=()=>{t.value=!0},u=()=>{t.value=!1},m=e=>{a("nameChange",l.id,e)};return(a,l)=>(s(),c("div",{class:y(["custom-card-two-box",{"cursor-pointer":e.clicked}]),onMouseenter:o,onMouseleave:u,onClick:n},[d("div",W,[d("img",{src:e.img,alt:""},null,8,X),_(d("div",null,[k(a.$slots,"hover")],512),[[f,t.value]])]),d("div",Y,[p(A,{value:e.value,onChange:m},null,8,["value"]),d("div",Z,h(e.created_at),1)])],34))}}),G={class:"my-digtal-people"},H={class:"card-item-list"},ee={class:"my-digtal-people-hover"},ae=g("开启直播"),le=g("开播中"),ie={class:"digtal-people-hover-tool"},te=g("编辑"),se=g("下载"),ne=g("删除"),oe=l({__name:"myDigtalPeople",setup(e){const a=v(),l=L({list:[],loading:!1}),t=i(!1),r=i(""),g=e=>{a.push({path:S.startLive.path,name:S.startLive.name,query:{id:e.id,status:e.status,digital_image:e.cover_url,digital_name:e.name}})},h=async()=>{try{l.loading=!0;let e=await z();0==e.code&&(l.list=e.data),l.loading=!1}catch(e){console.log(e),l.loading=!1}},y=async()=>{try{0==(await R(r.value)).code&&(q("删除成功","success"),h())}catch(e){console.log(e)}},k=async(e,a)=>{let i=l.list.find((a=>a.id==e));i&&(i.name=a,await w(e,i))};return C((()=>{h()})),(e,i)=>(s(),c("div",G,[d("div",H,[(s(!0),c(m,null,u(l.list,(e=>(s(),n($,{key:e.id,id:e.id,img:e.cover_url,created_at:e.updated_at,value:e.name,onNameChange:k},{hover:o((()=>[d("div",ee,[0==e.is_live?(s(),n(N,{key:0,class:"digtal-people-start-end",theme:"danger",height:"40px",onClick:a=>g(e)},{default:o((()=>[ae])),_:2},1032,["onClick"])):(s(),n(N,{key:1,class:"digtal-people-start-end",theme:"danger",height:"40px",onClick:a=>g(e)},{default:o((()=>[le])),_:2},1032,["onClick"])),d("div",ie,[p(N,{size:"13",theme:"dark",onClick:l=>(e=>{a.push({path:S.createLive.path,name:S.createLive.name,query:{id:e.id,status:e.status,type:"edit"}})})(e)},{default:o((()=>[te])),_:2},1032,["onClick"]),p(N,{size:"13",theme:"dark"},{default:o((()=>[se])),_:1}),p(N,{size:"13",theme:"dark",onClick:a=>(e=>{r.value=e.id,t.value=!0})(e)},{default:o((()=>[ne])),_:2},1032,["onClick"])])])])),_:2},1032,["id","img","created_at","value"])))),128))]),_(p(V,null,null,512),[[f,l.loading]]),p(T,{modelValue:t.value,"onUpdate:modelValue":i[0]||(i[0]=e=>t.value=e),title:"确定删除吗?",onConfirm:y},null,8,["modelValue"])]))}}),de={class:"digital-people-draft"},ce={class:"card-item-list"},ue={class:"my-digtal-people-hover"},me=g("编辑"),re={class:"digtal-people-hover-tool"},ve=g("删除"),pe=l({__name:"digitalPeopleDraft",setup(e){const a=v(),l=L({list:[],loading:!1}),t=i(!1),r=i(""),g=async()=>{try{let e=await D();0==e.code&&(e.data.forEach((e=>{e.c_name=e.name?e.name:""})),l.list=e.data)}catch(e){console.log(e)}},h=async()=>{try{0==(await I(r.value)).code&&(q("删除成功","success"),g())}catch(e){console.log(e)}},y=async(e,a)=>{let i=l.list.findIndex((a=>a.id==e));if(-1!==i){let t=l.list[i];t.name=a,await x(e,t)?(l.list[i].name=a,l.list[i].c_name=a):l.list[i].c_name=t.name}};return C((()=>{g()})),(e,i)=>(s(),c("div",de,[d("div",ce,[(s(!0),c(m,null,u(l.list,(e=>(s(),n($,{key:e.id,id:e.id,img:e.cover_url,created_at:e.created_at,value:e.c_name,onNameChange:y},{hover:o((()=>[d("div",ue,[p(N,{class:"digtal-people-start-end",theme:"danger",height:"40px",onClick:l=>(e=>{a.push({path:S.createLive.path,name:S.createLive.name,query:{id:e.id,title:e.name,type:"edit_drafts"}})})(e)},{default:o((()=>[me])),_:2},1032,["onClick"]),d("div",re,[p(N,{size:"13",theme:"dark",onClick:a=>(e=>{t.value=!0,r.value=e.id})(e)},{default:o((()=>[ve])),_:2},1032,["onClick"])])])])),_:2},1032,["id","img","created_at","value"])))),128))]),_(p(V,null,null,512),[[f,l.loading]]),p(T,{modelValue:t.value,"onUpdate:modelValue":i[0]||(i[0]=e=>t.value=e),title:"确定删除吗?",onConfirm:h},null,8,["modelValue"])]))}}),ge={class:"custom-home-page"},he={class:"home-tool-bar"},ye=d("div",{class:"label-box"},[d("span",{class:"label"},"工具栏 "),d("span",{class:"tips"},"选择数字人主播并输入文字即可生成视频")],-1),_e={class:"tool-list"},fe=["onClick"],ke=["src"],Le={class:"home-tool-bar"},Ce=d("div",{class:"label-box"},[d("span",{class:"label"},"直播数字人创建 "),d("span",{class:"tips"},"选择数字人主播并输入文字即可生成视频")],-1),be={class:"digital-people-list-box"},Ve=d("div",{class:"tool-line"},[d("div",{class:"label"},"选择数字人")],-1),we={class:"digital-people-list"},xe={class:"home-tool-bar"},Ue=g(" 直播创建 "),je={class:"create-live-dialog-body"},Ne=d("span",{class:"label"}," 直播名称: ",-1);e("default",l({__name:"index",setup(e){const l=v(),t=i("1"),n=i(!1),g=i(!1),y=i(),k=i(""),w={profile:new URL(""+new URL("profile-55a4ac64.svg",a.meta.url).href,self.location).href,speaking:new URL(""+new URL("speaking-0c962acf.svg",a.meta.url).href,self.location).href,interaction:new URL(""+new URL("interaction-fa518879.svg",a.meta.url).href,self.location).href},x=[{label:"形象定制",icon:w.profile,path:S.ImageCustomization.path},{label:"音色定制",icon:w.speaking,path:S.VocalCustomization.path},{label:"互动回答",icon:w.interaction,path:S.createInteract.path}],N=L({list:[],adminList:[],myList:[],loading:!1}),z=e=>{y.value=e,n.value=!0},R=()=>{n.value=!1,l.push({path:S.createLive.path,name:S.createLive.name,query:{id:y.value,title:k.value}})};return C((()=>{(async()=>{try{N.loading=!0;let e=await U();N.adminList=e.adminList,N.myList=e.myList,N.myList.length>5?N.list=N.myList.slice(0,5):N.list=N.myList.concat(N.adminList),N.loading=!1}catch(e){console.log(e),N.loading=!1}})()})),(e,a)=>(s(),c("div",ge,[d("div",he,[ye,d("div",_e,[(s(),c(m,null,u(x,(e=>d("div",{key:e.icon,class:"tool-item",onClick:a=>(e=>{e.path&&l.push({path:e.path})})(e)},[d("img",{src:e.icon,alt:""},null,8,ke),d("span",null,h(e.label),1)],8,fe))),64))])]),d("div",Le,[Ce,d("div",be,[Ve,d("div",we,[(s(!0),c(m,null,u(N.list,((e,l)=>(s(),c(m,{key:e.id},[p(j,{id:e.id,img:e.cover_url,name:e.name,onChange:z},null,8,["id","img","name"]),l===N.list.length-1?(s(),c("div",{key:0,class:"more-choices",onClick:a[0]||(a[0]=e=>g.value=!0)},"更多选择 >")):r("",!0)],64)))),128)),_(p(V,null,null,512),[[f,N.loading]])])])]),d("div",xe,[p(b(M),{modelValue:t.value,"onUpdate:modelValue":a[1]||(a[1]=e=>t.value=e),theme:"dark2"},{default:o((()=>[p(b(P),{label:"数字人作品",name:"1"},{default:o((()=>[p(oe)])),_:1}),p(b(P),{label:"数字人草稿",name:"2"},{default:o((()=>[p(pe)])),_:1})])),_:1},8,["modelValue"])]),p(B,{modelValue:n.value,"onUpdate:modelValue":a[3]||(a[3]=e=>n.value=e),onConfirm:R},{header:o((()=>[Ue])),body:o((()=>[d("div",je,[Ne,p(E,{modelValue:k.value,"onUpdate:modelValue":a[2]||(a[2]=e=>k.value=e),placeholder:"请输入直播标题",align:"left"},null,8,["modelValue"])])])),_:1},8,["modelValue"]),p(Q,{modelValue:g.value,"onUpdate:modelValue":a[4]||(a[4]=e=>g.value=e),adminList:N.adminList,myList:N.myList},null,8,["modelValue","adminList","myList"])]))}}))}}}));
System.register(["./vue-legacy-e1572d11.js","./otherRequest-legacy-ad8ec785.js","./TdesignNext-legacy-e721ed2d.js","./textarea-legacy-f77d13d8.js","./userApi-legacy-f48623ab.js","./Common-legacy-6e401395.js","./index-legacy-68247afe.js"],(function(e,l){"use strict";var a,d,o,u,t,n,s,v,i,c,r,m,p,y,f,g,h,w,_,V,C,I,k,b,Z,j,x,U,E,H,q;return{setters:[e=>{a=e.d,d=e.r,o=e.w,u=e.m,t=e.I,n=e.Q,s=e.e,v=e.z,i=e.S,c=e.J,r=e.L,m=e._,p=e.a,y=e.R,f=e.V,g=e.X,h=e.j,w=e.o,_=e.F,V=e.Y},null,e=>{C=e.i},e=>{I=e.T,k=e.S},e=>{b=e.B,Z=e.r,j=e.s,x=e.t,U=e.u,E=e.v},e=>{H=e.c,q=e.L},null],execute:function(){const L=["src"],R=["src"],S=a({__name:"AddVideoPlay",props:{video1:null,video2:null,playId:null},emits:["playEnd"],setup(e,{emit:l}){const a=e,c=d(!0),r=d(!1),m=d(),p=d();let y=null;const f=()=>{_()},g=()=>{p.value?.ended&&(console.log("重新播放第一个视频"),c.value=!0,m.value?.play())},h=()=>{r.value?w():r.value=!0,p.value?.addEventListener("video",(e=>{console.log(e)}))},w=()=>{console.log("开始播放第二个视频"),m.value?.pause(),p.value?.play(),y=window.setInterval((()=>{p.value.ended&&l("playEnd",a.playId)}),1e3)},_=()=>{m.value.play(),p.value.play(),p.value.pause()};return o((()=>a.video2),(e=>{e&&(c.value=!1,w())})),u((()=>{window.clearInterval(y),clearInterval(y),y=null})),(l,a)=>(t(),n("div",null,[s(i("div",null,[i("video",{ref_key:"videoFirst",ref:m,class:"video-default",src:e.video1,onCanplay:f},null,40,L)],512),[[v,c.value]]),s(i("div",null,[i("video",{ref_key:"videoSecond",ref:p,class:"video-default2",src:e.video2,onEnded:g,onCanplay:h},null,40,R)],512),[[v,!c.value]])]))}}),M={class:"start-live-video"},A={key:1,class:"default-video"},P=a({__name:"video",props:{video:null,video2:null,playId:{default:0},modelValue:null},emits:["update:modelValue","playEnd"],setup(e,{emit:l}){d(),d(!0),d(0);let a=null;d(0);const o=e=>{l("playEnd",e)};return u((()=>{window.clearInterval(a),clearInterval(a),a=null})),(l,a)=>(t(),n("div",M,[e.video?(t(),c(S,{key:0,playId:e.playId,onPlayEnd:o,video1:e.video,video2:e.video2},null,8,["playId","video1","video2"])):(t(),n("div",A))]))}}),T=a({__name:"Progress",props:{value:null},setup:e=>(l,a)=>(t(),c(r(C),{theme:"plump",percentage:e.value,label:!1,trackColor:"#fff",color:"#0DD",strokeWidth:12},null,8,["percentage"]))}),D={width:"28",height:"28",fill:"none",xmlns:"http://www.w3.org/2000/svg"},F=[i("path",{d:"M25.165 5.56c.58 0 1.049.47 1.049 1.048v14.679a1.048 1.048 0 1 1-2.097 0V6.608c0-.579.47-1.048 1.048-1.048Zm-5.591 6.99c.579 0 1.048.47 1.048 1.048v7.689a1.048 1.048 0 1 1-2.097 0v-7.689c0-.579.47-1.048 1.049-1.048Zm-5.592-6.291c.579 0 1.048.47 1.048 1.048v13.98a1.048 1.048 0 1 1-2.097 0V7.307c0-.579.47-1.048 1.049-1.048ZM8.39 3.463c.579 0 1.048.47 1.048 1.048v16.776a1.048 1.048 0 1 1-2.096 0V4.51c0-.579.469-1.048 1.048-1.048ZM2.798 11.85c.58 0 1.048.47 1.048 1.048v8.388a1.048 1.048 0 1 1-2.096 0v-8.388c0-.579.469-1.048 1.048-1.048Z",fill:"#fff"},null,-1)],J={render:function(e,l){return t(),n("svg",D,F)}},N={width:"48",height:"48",fill:"none",xmlns:"http://www.w3.org/2000/svg"},z=[i("path",{d:"M5.25 15.75H9v18H5.25v-18ZM0 21.14h3.75v8.72H0v-8.72Zm10.5-8.39h3.75v24H10.5v-24Zm6 8.25h3.75v7.5H16.5V21Zm6-2.25h3.75v12H22.5v-12Zm6-3h3.75v18H28.5v-18Zm5.25 6h3.75v6h-3.75v-6Zm5.25-3h3.75v12H39v-12ZM44.25 21H48v7.5h-3.75V21Z",fill:"#fff"},null,-1)],B={render:function(e,l){return t(),n("svg",N,z)}},O={class:"start-live-audio-box"},Q={class:"start-live-audio-content"},W=i("div",{class:"label"},"音频脚本",-1),X={class:"play-audio-box"},Y={class:"line"},G=g("查看文字脚本"),K={class:"custom-video-progress"},$={key:0},ee={class:"start-live-audio-footer"},le={class:"live-status"},ae={class:"live-icon"},de=i("span",null,"直播中",-1),oe={class:"stop"},ue=g("关闭直播"),te=a({__name:"audio",props:{url:null,value:{default:""},modelValue:null},setup(e){const l=e,a=m(),u=d(!1);o((()=>l.url),(e=>{e&&(u.value=!0)}));const s=d(!1),v=d(l.value),g=()=>{s.value=!0},h=async()=>{try{0==(await Z(a.query.id)).code&&j("关播成功","success")}catch(e){console.log(e)}};return o((()=>l.value),(e=>{e&&(v.value=e)})),(l,a)=>(t(),n("div",O,[i("div",Q,[W,i("div",X,[i("div",Y,[p(r(B)),(t(),c(b,{key:0,theme:"opacity",style:{color:"#fff"},onClick:g},{default:y((()=>[G])),_:1}))]),i("div",K,[p(T,{value:e.modelValue},null,8,["value"])])]),s.value?(t(),n("div",$,[p(I,{disabled:!0,class:"reset-live-audio-textarea",modelValue:v.value,"onUpdate:modelValue":a[0]||(a[0]=e=>v.value=e)},null,8,["modelValue"])])):f("",!0)]),i("div",ee,[i("div",le,[i("div",ae,[p(r(J))]),de]),i("div",oe,[p(b,{theme:"opacity",onClick:h},{default:y((()=>[ue])),_:1})])])]))}}),ne={class:"start-live-human-box"},se={class:"content"},ve=g("连接直播平台"),ie=i("div",{class:"header"},"人工回复",-1),ce={class:"chose-sound-color"},re=i("div",{class:"label"},"选择音色",-1),me={class:"value"},pe={class:"right-chose-tones"},ye={class:"default-label"},fe=g(" 音调"),ge={key:1,class:"chose-tones-item"},he=["src"],we={class:"name"},_e={class:"categorie"},Ve=i("div",{class:"default-add"},"+",-1),Ce=g(" 音色"),Ie={key:1,class:"chose-tones-item"},ke=["src"],be={class:"name"},Ze={class:"input-box"},je={class:"footer"},xe=g("发送"),Ue=a({__name:"human",emits:["createAudio"],setup(e,{emit:l}){const a=m(),u=h({tones:[],soundColor:[]}),c=d(!1),r=d(!1),f=d(""),g=d({}),C=d(!1),Z=d(""),U=d({}),E=d(!0),L=d(""),R=e=>{g.value=e},S=e=>{U.value=e},M=async()=>{if(f.value)try{c.value=!0;let e=await x(a.query.id,{phonetic_timbres_id:Z.value,reply_content:L.value,tone_id:f.value});0==e.code&&l("createAudio",e.data.status),c.value=!1}catch(e){c.value=!1,console.log(e)}else j("音调必选")};o((()=>f.value),(e=>{E.value=!e}));const A=()=>{let e={id:a.query.id,digital_image:a.query.digital_image,digital_name:a.query.digital_name};window.pyjs?window.pyjs.openCtrlPage(JSON.stringify(e)):j("empty py")};return w((async()=>{let e=await H();u.tones=e.tones,u.soundColor=e.soundColor})),(e,l)=>(t(),n("div",ne,[s(p(q,null,null,512),[[v,c.value]]),i("div",se,[p(b,{theme:"green",class:"jump-btn",onClick:A},{default:y((()=>[ve])),_:1}),ie,i("div",ce,[re,i("div",me,[i("div",pe,[i("div",ye,[p(k,{modelValue:r.value,"onUpdate:modelValue":l[0]||(l[0]=e=>r.value=e),title:"选择一种音调",list:u.tones,value:f.value,"onUpdate:value":l[1]||(l[1]=e=>f.value=e),onItemChange:R},{default:y((()=>[i("div",null,[f.value?(t(),n("div",ge,[i("img",{src:g.value.img,alt:""},null,8,he),i("div",null,[i("div",we,V(g.value.c_name),1),i("div",_e,V(g.value.c_categorie),1)])])):(t(),n(_,{key:0},[fe],64))])])),_:1},8,["modelValue","list","value"])]),Ve,i("div",{onClick:l[4]||(l[4]=(...l)=>e.openSoundColor&&e.openSoundColor(...l)),class:"default-label"},[p(k,{title:"选择一种音色",modelValue:C.value,"onUpdate:modelValue":l[2]||(l[2]=e=>C.value=e),disabled:E.value,value:Z.value,"onUpdate:value":l[3]||(l[3]=e=>Z.value=e),list:u.soundColor,onItemChange:S},{default:y((()=>[i("div",null,[Z.value?(t(),n("div",Ie,[i("img",{src:U.value.img,alt:""},null,8,ke),i("div",null,[i("div",be,V(U.value.c_name),1)])])):(t(),n(_,{key:0},[Ce],64))])])),_:1},8,["modelValue","disabled","value","list"])])])])]),i("div",Ze,[p(I,{modelValue:L.value,"onUpdate:modelValue":l[5]||(l[5]=e=>L.value=e),placeholder:"输入内容点击下方发送,数字人将口播内容"},null,8,["modelValue"])])]),i("div",je,[p(b,{theme:"green",class:"reset-send-btn",onClick:M},{default:y((()=>[xe])),_:1})])]))}}),Ee={class:"custom-start-live-page"},He=["src"];e("default",a({__name:"index",setup(e){const a=m(),o=a.query,c=d(0),r=d(),y=d(""),f={mp4:new URL(""+new URL("1-414be3ad.mp4",l.meta.url).href,self.location).href,mp3:new URL(""+new URL("2-036152dc.wav",l.meta.url).href,self.location).href};d();const g=e=>{y.value=e},_=()=>{r.value.play()},V=h({video:[],audio:"",content:"",status:1,startTime:"00:50:00"});let C=null;d();const I=d(""),k=d(f.mp4),b=d([]),Z=d(""),x=d(""),H=e=>{if(e){let l=b.value.findIndex((l=>l.id==e));-1!==l&&(b.value[l].play_status=!0)}},q=()=>{L(),C=window.setInterval((()=>{(async()=>{try{let e=await E(a.query.id);0==e.code&&e.data&&e.data.length&&(e.data.forEach((e=>{e.play_status=!1})),b.value=b.value.concat(e.data))}catch(e){console.log(e)}})()}),3e3)},L=()=>{window.clearInterval(C),clearInterval(C),C=null},R=()=>{try{window.pyjs?window.pyjs.run(V.video,o.id):j("empty-1 py")}catch(e){j(e.message)}},S=e=>{e.video&&(I.value=e.video),e.add_video&&(k.value=e.add_video)};return w((async()=>{((e="")=>{e?window[e]={}:window.pyEvent={}})(),((e,l,a="")=>{a?window[a][e]=l:window.pyEvent[e]=l})("mergeCallback",S),await(async()=>{if(o.id)try{let e=await U(o.id);0==e.code&&(V.video=e.data.url,V.content=e.data.content,R())}catch(e){console.log(e)}else j("禁止访问")})(),q()})),u((()=>{L()})),(e,l)=>(t(),n("div",Ee,[p(P,{video:I.value,modelValue:c.value,"onUpdate:modelValue":l[0]||(l[0]=e=>c.value=e),video2:k.value,playId:Z.value,onPlayEnd:H},null,8,["video","modelValue","video2","playId"]),p(te,{url:x.value,modelValue:c.value,"onUpdate:modelValue":l[1]||(l[1]=e=>c.value=e)},null,8,["url","modelValue"]),p(Ue,{onCreateAudio:g}),s(i("div",null,[i("audio",{src:y.value,ref_key:"audioRef",ref:r,onCanplay:_},null,40,He)],512),[[v,!1]])]))}}))}}}));
System.register(["./vue-legacy-e1572d11.js","./Common-legacy-6e401395.js","./ConfirmDialog-legacy-f4d50655.js","./index-legacy-671251eb.js","./TdesignNext-legacy-e721ed2d.js","./textarea-legacy-f77d13d8.js","./userApi-legacy-f48623ab.js","./index-legacy-68247afe.js","./cardOne-legacy-1ea6bcaf.js","./otherRequest-legacy-ad8ec785.js","./changeName-legacy-e0f05d42.js","./index-legacy-31c6062c.js","./edit-legacy-59c4e814.js"],(function(t,e){"use strict";var i,l,a,s,o,n,h,c,d,u,r,m,v,p,g,y,f,_,b,x,w,V,k,C,I,T,B,N,H,Z,M,L,S,W,X,Y,j,E,U,q,z,O,$,F,D,J,P,R,A,K,Q,G,tt;return{setters:[t=>{i=t.d,l=t.r,a=t.w,s=t.a,o=t.F,n=t.I,h=t.Q,c=t.R,d=t.U,u=t.L,r=t.J,m=t.M,v=t.c,p=t.j,g=t.o,y=t.S,f=t.e,_=t.z,b=t.Y,x=t.X,w=t._,V=t.W,k=t.$,C=t.K,I=t.a0,T=t.V},t=>{B=t.b,N=t.c,H=t.d,Z=t.g,M=t.L,L=t.o},t=>{S=t.C},t=>{W=t.U},t=>{X=t.S,Y=t.O},t=>{j=t.S,E=t.T},t=>{U=t.s,q=t.B,z=t.c,O=t.e,$=t.f,F=t.h,D=t.i,J=t.j,P=t.D},t=>{R=t.s,A=t.c,K=t.a,Q=t.b,G=t.r},t=>{tt=t._},null,null,null,null],execute:function(){const et=i({props:{modelValue:[String,Number],list:Object},emits:["update:modelValue"],setup(t,{emit:e}){const i=l(t.modelValue);return a((()=>t.modelValue),(t=>{i.value=t})),()=>s(o,null,[t.list.map((t=>s("div",{class:["create-live-step",i.value===t.value?"create-live-step_active":""]},[s("div",{class:"icon"},[t.icon]),s("div",null,[t.label])])))])}}),it={class:"custom-select-box"},lt=i({__name:"Select",props:{options:null,modelValue:null,width:{default:"50%"},placeholder:{default:"请选择"},className:null,autoWidth:{type:Boolean,default:!0},multiple:{type:Boolean,default:!1}},emits:["update:modelValue","change"],setup(t,{emit:e}){const i=t,m=l(i.modelValue);a((()=>m.value),(t=>{e("update:modelValue",t)})),a((()=>i.modelValue),(t=>{m.value=t}));const v=t=>{e("change",t)};return(e,i)=>(n(),h("div",it,[s(u(X),{modelValue:m.value,"onUpdate:modelValue":i[0]||(i[0]=t=>m.value=t),autoWidth:t.autoWidth,placeholder:t.placeholder,multiple:t.multiple,onChange:v,popupProps:{overlayClassName:[t.className,"custom-select-popup"]}},{default:c((()=>[(n(!0),h(o,null,d(t.options,(t=>(n(),r(u(Y),{key:t.value,value:t.value,label:t.label},null,8,["value","label"])))),128))])),_:1},8,["modelValue","autoWidth","placeholder","multiple","popupProps"])]))}}),at=()=>{const t=m();return[e=>{t.commit("live/setLiveInfo",e)}]},st={class:"create-live-script-setting"},ot={class:"all-select"},nt={class:"right-chose-tones"},ht=x(" 音调"),ct={key:1,class:"chose-tones-item"},dt=["src"],ut={class:"name"},rt={class:"categorie"},mt=y("div",{class:"default-add"},"+",-1),vt=x(" 音色"),pt={key:1,class:"chose-tones-item"},gt=["src"],yt={class:"name"},ft={class:"categorie"},_t={class:"phonetics-chose"},bt={class:"default-label"},xt=x("我的音色"),wt={key:1,class:"phonetics-chose-item"},Vt=["src"],kt={class:"name"},Ct={class:"script-setting-text flex1"},It={class:"script-setting-upload flex1"},Tt=i({__name:"scripts",setup(t){const[i]=at(),d={success:new URL(""+new URL("success1-983d8c8d.svg",e.meta.url).href,self.location).href},r=m(),x=w(),V=v((()=>r.getters["live/getEditLive"])),k=p({tones:[],soundColor:[]}),C=l(!1),I=l(""),T=l({}),H=l(!1),Z=l(""),M=l({}),L=l(!0),S=l({}),X=l(""),Y={label1:"选择音频",label2:"或拖音频到此处上传",buttonLabel:"选择音频",successIcon:d.success,successButtonLabel:"替换音频"},q=l(!1),z=l(""),O=l({}),$=l(""),F=l(R),D=(t,e)=>{if(t){let e=k.tones.find((e=>e.id==t));e&&(T.value=e)}if(e){let t=k.soundColor.find((t=>t.id==e));t&&(M.value=t)}};a((()=>V.value),(t=>{t&&(t=>{console.log(t);let e="",i="",l="",a="";"edit"==x.query.type?(e=t.type,i=t.type_content,l=t.phonetic_timbres_id,a=t.tone_id):(e=t.content.type,i=t.content.type_content,l=t.content.phonetic_timbres_id?t.content.phonetic_timbres_id:"",a=t.content.tone_id?t.content.tone_id:""),e==R?(F.value=R,$.value=i):(F.value=Q,X.value=i,l&&(z.value=l)),I.value=a,l&&(Z.value=l),D(a,l)})(t)}));const J=()=>{I.value?H.value=!0:U("请先选择音调")},P=t=>{i({[A.phoneticsFile]:t})},G=t=>{T.value=t,i({[A.textTones]:t.id})},tt=t=>{M.value=t,i({[A.textSoundColor]:t.id})},et=t=>{O.value=t,i({[A.phoneticsSoundColor]:t.id})},it=()=>{i({[A.textScriptValue]:$.value})},Tt=t=>{i({[A.scriptType]:t})};return a((()=>I.value),(t=>{L.value=!t})),g((async()=>{S.value=await B(),i({[A.scriptType]:F.value}),(async()=>{let t=await N();k.tones=t.tones,k.soundColor=t.soundColor,D(I.value,Z.value)})()})),(t,e)=>(n(),h("div",st,[y("div",ot,[s(lt,{options:u(K),modelValue:F.value,"onUpdate:modelValue":e[0]||(e[0]=t=>F.value=t),onChange:Tt},null,8,["options","modelValue"]),f(y("div",nt,[y("div",{onClick:e[3]||(e[3]=t=>C.value=!0),class:"default-label"},[s(j,{modelValue:C.value,"onUpdate:modelValue":e[1]||(e[1]=t=>C.value=t),title:"选择一种音调",list:k.tones,value:I.value,"onUpdate:value":e[2]||(e[2]=t=>I.value=t),onItemChange:G},{default:c((()=>[y("div",null,[I.value?(n(),h("div",ct,[y("img",{src:T.value.img,alt:""},null,8,dt),y("div",null,[y("div",ut,b(T.value.c_name),1),y("div",rt,b(T.value.c_categorie),1)])])):(n(),h(o,{key:0},[ht],64))])])),_:1},8,["modelValue","list","value"])]),mt,y("div",{onClick:J,class:"default-label"},[s(j,{title:"选择一种音色",modelValue:H.value,"onUpdate:modelValue":e[4]||(e[4]=t=>H.value=t),disabled:L.value,value:Z.value,"onUpdate:value":e[5]||(e[5]=t=>Z.value=t),list:k.soundColor,reset:!0,onItemChange:tt},{default:c((()=>[y("div",null,[Z.value?(n(),h("div",pt,[y("img",{src:M.value.img,alt:""},null,8,gt),y("div",null,[y("div",yt,b(M.value.c_name),1),y("div",ft,b(M.value.c_categorie),1)])])):(n(),h(o,{key:0},[vt],64))])])),_:1},8,["modelValue","disabled","value","list"])])],512),[[_,F.value===u(R)]]),f(y("div",_t,[y("div",bt,[s(j,{title:"选择一种音色",needCategorie:!1,modelValue:q.value,"onUpdate:modelValue":e[6]||(e[6]=t=>q.value=t),value:z.value,"onUpdate:value":e[7]||(e[7]=t=>z.value=t),list:k.soundColor,onItemChange:et},{default:c((()=>[y("div",null,[z.value?(n(),h("div",wt,[y("img",{src:O.value.img,alt:""},null,8,Vt),y("div",null,[y("div",kt,b(O.value.c_name),1)])])):(n(),h(o,{key:0},[xt],64))])])),_:1},8,["modelValue","value","list"])])],512),[[_,F.value===u(Q)]])]),f(y("div",Ct,[s(E,{modelValue:$.value,"onUpdate:modelValue":e[8]||(e[8]=t=>$.value=t),onChange:it},null,8,["modelValue"])],512),[[_,F.value===u(R)]]),f(y("div",It,[s(u(W),{modelValue:X.value,"onUpdate:modelValue":e[9]||(e[9]=t=>X.value=t),uploadInfo:Y,config:S.value,onChange:P},null,8,["modelValue","config"])],512),[[_,F.value===u(Q)]])]))}}),Bt={class:"chose-interact-box"},Nt={class:"all-select"},Ht=x("+ 添加互动回答"),Zt={class:"chose-interact-content"},Mt=y("div",{class:"label"},"评论方式",-1),Lt={class:"value"},St=y("div",{class:"label"},"互动问答库选择",-1),Wt={class:"value"},Xt=i({__name:"interact",setup(t){const[e]=at(),i=m(),o=V(),d=w(),u=v((()=>i.getters["live/getEditLive"])),r=l(""),p=l([{label:"主播评论",value:"1"}]),f=l([]),_=l([]);a((()=>u.value),(t=>{t&&(t=>{let e=[];e="edit"==d.query.type?t.interaction_ids:t.content.interaction_ids?t.content.interaction_ids:[],r.value=p.value[0].value,f.value=e})(t)}));const b=t=>{e({[A.commentMethod]:t})},x=t=>{e({[A.interactiveLibrary]:t})},k=()=>{o.push({path:G.createInteract.path,name:G.createInteract.name})};return g((async()=>{_.value=await H(!0)})),(t,e)=>(n(),h("div",Bt,[y("div",Nt,[s(q,{theme:"dark",class:"reset-button",onClick:k},{default:c((()=>[Ht])),_:1})]),y("div",Zt,[Mt,y("div",Lt,[s(lt,{autoWidth:!1,className:"interact-reset-select",options:p.value,modelValue:r.value,"onUpdate:modelValue":e[0]||(e[0]=t=>r.value=t),onChange:b},null,8,["options","modelValue"])]),St,y("div",Wt,[s(lt,{autoWidth:!1,className:"interact-reset-select",options:_.value,multiple:!0,modelValue:f.value,"onUpdate:modelValue":e[1]||(e[1]=t=>f.value=t),onChange:x},null,8,["options","modelValue"])])])]))}}),Yt=["src"],jt=i({__name:"drag",props:{id:null,img:null},emits:["delete"],setup(t,{emit:e}){const i=t,a=l(),s=l("custom-drag-img"+i.id);class o{constructor(t,e={limit:!0,drag:!0,zoom:!0,minWidth:0,minHeight:0}){this.target=t,this.options=e,this.init()}init(){this.target.style.position="relative",this.getBoundary(),this.options.drag&&this.drag(),this.options.zoom&&(this.addHorn(),this.addBorder(),this.leftZoom(),this.rightZoom(),this.topZoom(),this.bottomZoom(),this.leftTopZoom(),this.leftBottomZoom(),this.rightTopZoom(),this.rightBottomZoom())}getBoundary(){this.maxWidth=this.target.parentNode.clientWidth,this.maxHeight=this.target.parentNode.clientHeight}getInfo(t){this.width=this.target.clientWidth,this.height=this.target.clientHeight;let e=this.target.style.transform;if(e){const t=/\d+/g;let i=e.match(t);this.tx=Number(i[0]),this.ty=Number(i[1])}else this.tx=0,this.ty=0;this.startX=t.clientX,this.startY=t.clientY}drag(){this.target.addEventListener("mousedown",(t=>{this.getInfo(t),document.onmousemove=t=>{this.options.limit?(this.distanceX=Math.max(0,Math.min(this.tx+t.clientX-this.startX,this.maxWidth-this.width)),this.distanceY=Math.max(0,Math.min(this.ty+t.clientY-this.startY,this.maxHeight-this.height))):(this.distanceX=this.tx+t.clientX-this.startX,this.distanceY=this.ty+t.clientY-this.startY),this.target.style.transform=`translate(${this.distanceX}px, ${this.distanceY}px)`},document.onmouseup=()=>{document.onmousemove=null}}))}addHorn(){this.leftTop=document.createElement("div"),this.rightTop=document.createElement("div"),this.leftBottom=document.createElement("div"),this.rightBottom=document.createElement("div"),this.leftTop.className="horn leftTop",this.rightTop.className="horn rightTop",this.leftBottom.className="horn leftBottom",this.rightBottom.className="horn rightBottom",this.target.append(this.leftTop),this.target.append(this.rightTop),this.target.append(this.leftBottom),this.target.append(this.rightBottom)}addBorder(){this.left=document.createElement("div"),this.right=document.createElement("div"),this._top=document.createElement("div"),this.bottom=document.createElement("div"),this.left.className="vertical left",this.right.className="vertical right",this._top.className="horizontal top",this.bottom.className="horizontal bottom",this.target.append(this.left),this.target.append(this.right),this.target.append(this._top),this.target.append(this.bottom)}zoom(t,e){t.addEventListener("mousedown",(t=>{t.stopPropagation(),this.getInfo(t),document.onmousemove=t=>{switch(e){case"left":this.leftInfo(t);break;case"right":this.rightInfo(t);break;case"top":this.topInfo(t);break;case"bottom":this.bottomInfo(t);break;case"leftTop":this.leftTopInfo(t);break;case"leftBottom":this.leftBottomInfo(t);break;case"rightTop":this.rightTopInfo(t);break;case"rightBottom":this.rightBottomInfo(t)}let i=void 0!==this.newWidth?this.newWidth:this.width,l=void 0!==this.newHeight?this.newHeight:this.height,a=void 0!==this.distanceX?this.distanceX:this.tx,s=void 0!==this.distanceY?this.distanceY:this.ty;this.target.style.width=`${i}px`,this.target.style.height=`${l}px`,this.target.style.transform=`translate(${a}px, ${s}px)`},document.onmouseup=()=>{document.onmousemove=null}}))}leftInfo(t){this.newWidth=this.width-(t.clientX-this.startX),this.distanceX=this.tx+(t.clientX-this.startX),this.options.limit&&(this.newWidth=Math.max(this.options.minWidth,Math.min(this.newWidth,this.width+this.tx)),this.distanceX=Math.max(0,Math.min(this.distanceX,this.width+this.tx-this.options.minWidth)))}rightInfo(t){this.newWidth=this.width+(t.clientX-this.startX),this.options.limit&&(this.newWidth=Math.max(this.options.minWidth,Math.min(this.newWidth,this.maxWidth-this.tx)))}topInfo(t){this.newHeight=this.height-(t.clientY-this.startY),this.distanceY=this.ty+(t.clientY-this.startY),this.options.limit&&(this.newHeight=Math.max(this.options.minHeight,Math.min(this.newHeight,this.height+this.ty)),this.distanceY=Math.max(0,Math.min(this.distanceY,this.height+this.ty-this.options.minHeight)))}bottomInfo(t){this.newHeight=this.height+(t.clientY-this.startY),this.options.limit&&(this.newHeight=Math.max(this.options.minHeight,Math.min(this.newHeight,this.maxHeight-this.ty)))}leftTopInfo(t){this.leftInfo(t),this.topInfo(t)}leftBottomInfo(t){this.leftInfo(t),this.bottomInfo(t)}rightTopInfo(t){this.rightInfo(t),this.topInfo(t)}rightBottomInfo(t){this.rightInfo(t),this.bottomInfo(t)}leftZoom(){this.zoom(this.left,"left")}rightZoom(){this.zoom(this.right,"right")}topZoom(){this.zoom(this._top,"top")}bottomZoom(){this.zoom(this.bottom,"bottom")}leftTopZoom(){this.zoom(this.leftTop,"leftTop")}leftBottomZoom(){this.zoom(this.leftBottom,"leftBottom")}rightTopZoom(){this.zoom(this.rightTop,"rightTop")}rightBottomZoom(){this.zoom(this.rightBottom,"rightBottom")}}return g((()=>{let t=document.querySelector(`.${s.value}`);t&&new o(t)})),(e,i)=>(n(),h("div",{ref_key:"DragBox",ref:a,class:C([s.value,"drag"])},[y("img",{class:"show-img",onDragstart:i[0]||(i[0]=k((()=>{}),["prevent"])),src:t.img},null,40,Yt)],2))}}),Et=jt,Ut={class:"chose-digital-person-box"},qt={class:"all-select"},zt={class:"create-digital-person-list-box-parent"},Ot=i({__name:"ChoseDigitalPerson",props:{toolHeight:null},setup(t){const e=t,[i]=at(),c=m(),u=w(),f=v((()=>c.getters["live/getEditLive"])),_=l(),b=l(),x=l("1"),V=l(""),k=[{label:"数字人库",value:"1"},{label:"我的数字人",value:"2"}];a((()=>f.value),(t=>{t&&(t=>{let e="",i="";"edit"==u.query.type?(e=t.name,i=t.digital_man_id):(e=t.content.name?t.content.name:"",i=t.content.digital_man_id?t.content.digital_man_id:""),c.commit("live/setName",e),0!==t.users_id?x.value="2":x.value="1",V.value=i,N(),H()})(t)}));const C=t=>{i({[A.id_type]:t}),x.value=t,H()},T=(t,e)=>{V.value=t,i({[A.id]:t}),c.commit("live/setLiveImage",e.cover_url)},B=p({list:[],admin:[],my:[]}),N=()=>{if(V.value){let t=B.admin.findIndex((t=>t.id==V.value));x.value=-1!==t?"1":"2"}},H=()=>{"1"==x.value?B.list=JSON.parse(JSON.stringify(B.admin)):B.list=JSON.parse(JSON.stringify(B.my))};return g((()=>{(async()=>{try{let t=await Z();B.admin=t.adminList,B.my=t.myList,N(),H()}catch(t){console.log(t)}})(),i({[A.id_type]:x.value})})),a((()=>e.toolHeight),(t=>{t&&setTimeout((()=>{let e=z(_.value),i=O();b.value=i.height-e.top-t}),500)})),(t,e)=>(n(),h("div",Ut,[y("div",qt,[s(lt,{options:k,modelValue:x.value,"onUpdate:modelValue":e[0]||(e[0]=t=>x.value=t),onChange:C},null,8,["modelValue"])]),y("div",zt,[y("div",{class:"create-digital-person-list-box narrow-scrollbar",ref_key:"personList",ref:_,style:I({maxHeight:b.value+"px"})},[(n(!0),h(o,null,d(B.list,(t=>(n(),r(tt,{key:t.id,row:t,id:t.id,img:t.cover_url,name:t.name,className:t.id==V.value?"card-active":"",onChange:T},null,8,["row","id","img","name","className"])))),128))],4)])]))}}),$t={width:"30",height:"30",xmlns:"http://www.w3.org/2000/svg"},Ft=[y("path",{d:"M15.684 14.962c2.75-.303 4.977-2.53 5.28-5.28A6 6 0 0 0 15.002 3c-3.314 0-6 2.684-6 5.999V9a6 6 0 0 0 6.683 5.961ZM15 16.715C10.996 16.715 3 19.012 3 23.573v2.57c0 .475.385.857.856.857h22.288a.856.856 0 0 0 .856-.856v-2.571c.003-4.558-7.993-6.858-11.999-6.858Z"},null,-1)],Dt={render:function(t,e){return n(),h("svg",$t,Ft)}},Jt={width:"30",height:"30",xmlns:"http://www.w3.org/2000/svg"},Pt=[y("path",{d:"M26.87 3.814v.001c-.24-.59-.754-1.002-1.352-1.002H8.826c-.598 0-1.112.411-1.35 1.002a1.945 1.945 0 0 0-.146.729v11.823c0 .168.028.328.067.48.183.723.75 1.252 1.428 1.252H19.14a.436.436 0 0 1 .254.164.975.975 0 0 0 .175.257l1.66 1.76c.132.18.298.324.486.424.188.1.393.153.602.155.072 0 .14-.015.21-.028.372-.065.706-.288.932-.623.12-.173.185-.386.186-.606l.008-1.436a.35.35 0 0 1 .15-.067h1.715c.68 0 1.249-.531 1.432-1.25.042-.157.065-.32.067-.485V4.548c0-.263-.054-.51-.145-.734h-.001Zm-13.706 8.022c-.177 0-.353-.04-.516-.115a1.352 1.352 0 0 1-.438-.327 1.521 1.521 0 0 1-.292-.488 1.644 1.644 0 0 1-.1-.574c0-.83.6-1.504 1.345-1.504h.003c.744 0 1.346.674 1.346 1.504s-.604 1.503-1.348 1.503v.001Zm4.49 0c-.178 0-.354-.04-.517-.115a1.351 1.351 0 0 1-.438-.326 1.522 1.522 0 0 1-.292-.488 1.641 1.641 0 0 1-.102-.574c0-.83.603-1.504 1.347-1.504h.003c.744 0 1.347.673 1.346 1.504 0 .83-.604 1.503-1.348 1.503Zm4.566 0c-.178 0-.353-.04-.517-.115a1.35 1.35 0 0 1-.438-.326 1.52 1.52 0 0 1-.292-.488 1.646 1.646 0 0 1-.101-.574c0-.83.602-1.504 1.346-1.504h.003c.744 0 1.347.673 1.346 1.504 0 .83-.603 1.503-1.347 1.503Z"},null,-1),y("path",{d:"m17.828 22.778-.548-.59h-.01l-2.232-2.362H9.195c-3.217-.031-3.3-2.976-3.3-2.976l-.001-7.052a1.034 1.034 0 0 0-.284-.632.84.84 0 0 0-.591-.26h-.597c-.821 0-1.49.778-1.49 1.735v11.817c0 .957.671 1.735 1.495 1.735h1.708c.054.01.106.032.151.067l.007 1.436c0 .087.017.17.038.255.029.126.078.246.147.35.285.414.698.652 1.137.652h.002c.414 0 .803-.21 1.086-.577l.397-.425 1.255-1.338c.055-.058.133-.183.174-.254a.436.436 0 0 1 .253-.165h6.765c.428 0 .813-.212 1.087-.549l-.01-.011h.015l-.81-.857Z"},null,-1)],Rt={render:function(t,e){return n(),h("svg",Jt,Pt)}},At={width:"30",height:"30",xmlns:"http://www.w3.org/2000/svg"},Kt=[y("path",{d:"M24.351 3.75H5.62a1.872 1.872 0 0 0-1.874 1.875v18.75A1.876 1.876 0 0 0 5.62 26.25H24.35a1.872 1.872 0 0 0 1.873-1.875V5.625a1.876 1.876 0 0 0-1.873-1.875ZM11.58 18.362l-1.325 1.326-4.635-4.64 1.324-1.326 3.311-3.315 1.325 1.325-3.311 3.315 3.311 3.315Zm2.469 4.138h-1.873l3.746-15h1.873l-3.746 15Zm5.666-2.813-1.324-1.325 3.311-3.315-3.311-3.315 1.324-1.325 3.312 3.314 1.324 1.326-4.636 4.64Z"},null,-1)],Qt={render:function(t,e){return n(),h("svg",At,Kt)}},Gt={class:"custom-create-live-page"},te={class:"setps-list"},ee={class:"setps-right-box"},ie={class:"setps-body"},le={key:0,class:"steps-item"},ae={key:1,class:"steps-item"},se={key:2,class:"steps-item"},oe=x("保存草稿"),ne=x("上一步"),he=x("下一步"),ce=x("保存"),de=x("生成"),ue={class:"create-live-right-drag"},re=y("div",{class:"label"},"画面预览:点中主播,即可缩放、移动位置",-1),me={class:"drag-box"};t("default",i({__name:"index",setup(t){const[e]=at(),i=m(),a=w(),d=a.query,p=V(),b=v((()=>i.getters["live/getLiveimage"])),x=v((()=>i.getters["live/getLiveInfo"])),k=v((()=>i.getters["live/getName"])),C=l(!1),I=l(!1),B=l(),N=l(0),H=l(1),Z=t=>"edit"===a.query.type||"edit_drafts"===a.query.type||1==t,W=[{label:"人物选择",value:1,icon:s(Dt,null,null),load:Z(1),roles:[{key:A.id,message:"数字人必选"}]},{label:"脚本设置",value:2,load:Z(2),icon:s(Qt,null,null),roles:[{key:A.scriptType,value:R,require:[A.textTones,A.textScriptValue],message:"音调或文本必填"},{key:A.scriptType,value:Q,require:[A.phoneticsFile],message:"音频文件必填"}]},{label:"互动设置",value:3,load:Z(3),icon:s(Rt,null,null),roles:[{key:A.commentMethod,message:"评论方式必选"},{key:A.interactiveLibrary,message:"互动库必选"}]}];g((()=>{let t=z(B.value);N.value=t.height,d.id&&d.type&&(async(t,l)=>{try{let a=null;if("edit"==l){if(a=await $(t),0==a.code){i.commit("live/setEditLive",a.data);let t={[A.id]:a.data.digital_man_id,[A.id_type]:"",[A.scriptType]:a.data.type+"",[A.textTones]:a.data.tone_id,[A.commentMethod]:1,[A.interactiveLibrary]:a.data.interaction_ids};"2"==a.data.type?(t[A.textSoundColor]=a.data.phonetic_timbres_id,t[A.textScriptValue]=a.data.type_content):(t[A.phoneticsSoundColor]=a.data.phonetic_timbres_id,t[A.phoneticsFile]=a.data.type_content),e(t)}}else if("edit_drafts"==l&&(a=await F(t),0==a.code)){i.commit("live/setEditLive",a.data);let t=a.data.content,l={[A.id]:t.digital_man_id,[A.id_type]:"",[A.scriptType]:t.type+"",[A.textTones]:t.tone_id,[A.commentMethod]:1,[A.interactiveLibrary]:t.interaction_ids};"2"==a.data.type?(l[A.textSoundColor]=t.phonetic_timbres_id?t.phonetic_timbres_id:"",l[A.textScriptValue]=t.type_content?t.type_content:""):(l[A.phoneticsSoundColor]=t.phonetic_timbres_id?t.phonetic_timbres_id:"",l[A.phoneticsFile]=t.type_content?t.type_content:""),e(l)}}catch(a){console.log(a)}})(d.id,d.type),i.commit("live/setName",a.query.title?a.query.title:"")}));const X=()=>{p.replace({path:G.home.path,name:G.home.name})},Y=()=>{let t=W.findIndex((t=>t.value===H.value));if(-1!==t){let e=W[t].roles,i=!0,l="";return e.forEach((t=>{t.value?x.value[t.key]===t.value&&t.require.forEach((e=>{Object.keys(x.value).forEach((a=>{if(e===a){let e=x.value[a];P(e)&&!e.length?(i=!1,l=t.message):e||(i=!1,l=t.message)}}))})):Object.keys(x.value).forEach((e=>{t.key===e&&(x.value[e]||(i=!1,l=t.message))}))})),!!i||void U(l)}},j=()=>{1!=H.value&&(H.value-=1)},E=()=>{3!=H.value&&Y()&&(W[H.value].load=!0,H.value+=1)},O=()=>{Y()&&(I.value=!0)},K=()=>{let t=x.value,e={};return e.name=k.value,e.digital_man_id=t[A.id],e.type=t[A.scriptType],t[A.scriptType]==R?(e.type_content=t[A.textScriptValue],e.phonetic_timbres_id=t[A.textSoundColor]):(e.type_content=t[A.phoneticsFile],e.phonetic_timbres_id=t[A.phoneticsSoundColor]),e.tone_id=t[A.textTones],e.interaction_ids=t[A.interactiveLibrary],e},tt=async()=>{let t=K();try{C.value=!0,0==(await D(t)).code&&(U("保存成功","success"),X()),C.value=!1}catch(e){console.log(e),C.value=!1}},it=async()=>{if(Y())try{C.value=!0,await L(a.query.id,K())&&X(),C.value=!1}catch(t){C.value=!1,console.log(t)}},lt=async()=>{if(k.value)try{C.value=!0,0==(await J(K())).code&&(U("创建成功","success"),i.commit("live/setName",""),X()),C.value=!1}catch(t){C.value=!1,console.log(t)}else U("请输入标题")};return(t,e)=>(n(),h("div",Gt,[y("div",te,[s(u(et),{modelValue:H.value,"onUpdate:modelValue":e[0]||(e[0]=t=>H.value=t),list:W},null,8,["modelValue"])]),y("div",ee,[y("div",ie,[W[0].load?f((n(),h("div",le,[s(Ot,{toolHeight:N.value},null,8,["toolHeight"])],512)),[[_,"1"==H.value]]):T("",!0),W[1].load?f((n(),h("div",ae,[s(Tt)],512)),[[_,"2"==H.value]]):T("",!0),W[2].load?f((n(),h("div",se,[s(Xt)],512)),[[_,"3"==H.value]]):T("",!0),y("div",{class:"public-tool",ref_key:"publicTool",ref:B},[s(q,{height:"28px",theme:"light",class:"tool-button",onClick:tt},{default:c((()=>[oe])),_:1}),s(q,{height:"28px",theme:"light",class:"tool-button",onClick:j},{default:c((()=>[ne])),_:1}),"3"!=H.value?(n(),r(q,{key:0,height:"28px",theme:"green",class:"tool-button",onClick:E},{default:c((()=>[he])),_:1})):(n(),h(o,{key:1},["edit"===u(a).query.type?(n(),r(q,{key:0,height:"28px",theme:"green",class:"tool-button",onClick:it},{default:c((()=>[ce])),_:1})):(n(),r(q,{key:1,height:"28px",theme:"green",class:"tool-button",onClick:O},{default:c((()=>[de])),_:1}))],64))],512)]),y("div",ue,[re,y("div",me,[u(b)?(n(),r(Et,{key:0,img:u(b),id:"1"},null,8,["img"])):T("",!0)])])]),s(S,{modelValue:I.value,"onUpdate:modelValue":e[1]||(e[1]=t=>I.value=t),title:"确定要生成该直播吗?",onConfirm:lt},null,8,["modelValue"]),f(s(M,null,null,512),[[_,C.value]])]))}}))}}}));
System.register(["./TdesignNext-legacy-e721ed2d.js"],(function(e,t){"use strict";return{setters:[null],execute:function(){}}}));
System.register(["./userApi-legacy-f48623ab.js","./TdesignNext-legacy-e721ed2d.js"],(function(e,s){"use strict";var r,t;return{setters:[e=>{r=e.A},e=>{t=e.M}],execute:function(){const s=e("i",r.create({timeout:6e4,withCredentials:!1}));s.all=r.all,s.interceptors.request.use((e=>e)),s.interceptors.response.use((e=>{const{data:s,status:r}=e;return 201==r||200==r||0===s.code?s:(t.error(s.msg||"请求错误"),Promise.reject(s.msg))}),(e=>{if(console.log(e),"response"in e){const{message:s}=e.response.data;return-1!==e.response.data.indexOf("<Code>UserDisable</Code>")?t.error("阿里云可能欠费"):t.error(s||"请求错误"),e.response}}))}}}));
System.register([],(function(t,e){"use strict";return{execute:function(){t("_",((t,e)=>{const c=t.__vccOpts||t;for(const[n,r]of e)c[n]=r;return c}))}}}));
!function(){"use strict";var r="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=function(r){return r&&r.Math==Math&&r},e=t("object"==typeof globalThis&&globalThis)||t("object"==typeof window&&window)||t("object"==typeof self&&self)||t("object"==typeof r&&r)||function(){return this}()||r||Function("return this")(),n={},o=function(r){try{return!!r()}catch(t){return!0}},i=!o((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),u=!o((function(){var r=function(){}.bind();return"function"!=typeof r||r.hasOwnProperty("prototype")})),a=u,c=Function.prototype.call,f=a?c.bind(c):function(){return c.apply(c,arguments)},s={},l={}.propertyIsEnumerable,p=Object.getOwnPropertyDescriptor,h=p&&!l.call({1:2},1);s.f=h?function(r){var t=p(this,r);return!!t&&t.enumerable}:l;var d,y,v=function(r,t){return{enumerable:!(1&r),configurable:!(2&r),writable:!(4&r),value:t}},g=u,m=Function.prototype,b=m.call,E=g&&m.bind.bind(b,b),w=g?E:function(r){return function(){return b.apply(r,arguments)}},O=w,S=O({}.toString),A=O("".slice),T=function(r){return A(S(r),8,-1)},I=o,R=T,j=Object,_=w("".split),x=I((function(){return!j("z").propertyIsEnumerable(0)}))?function(r){return"String"==R(r)?_(r,""):j(r)}:j,P=function(r){return null==r},L=P,D=TypeError,C=function(r){if(L(r))throw D("Can't call method on "+r);return r},k=x,M=C,N=function(r){return k(M(r))},U="object"==typeof document&&document.all,F={all:U,IS_HTMLDDA:void 0===U&&void 0!==U},z=F.all,B=F.IS_HTMLDDA?function(r){return"function"==typeof r||r===z}:function(r){return"function"==typeof r},W=B,V=F.all,Y=F.IS_HTMLDDA?function(r){return"object"==typeof r?null!==r:W(r)||r===V}:function(r){return"object"==typeof r?null!==r:W(r)},H=e,$=B,G=function(r,t){return arguments.length<2?(e=H[r],$(e)?e:void 0):H[r]&&H[r][t];var e},q=w({}.isPrototypeOf),X=e,J="undefined"!=typeof navigator&&String(navigator.userAgent)||"",Q=X.process,K=X.Deno,Z=Q&&Q.versions||K&&K.version,rr=Z&&Z.v8;rr&&(y=(d=rr.split("."))[0]>0&&d[0]<4?1:+(d[0]+d[1])),!y&&J&&(!(d=J.match(/Edge\/(\d+)/))||d[1]>=74)&&(d=J.match(/Chrome\/(\d+)/))&&(y=+d[1]);var tr=y,er=tr,nr=o,or=e.String,ir=!!Object.getOwnPropertySymbols&&!nr((function(){var r=Symbol();return!or(r)||!(Object(r)instanceof Symbol)||!Symbol.sham&&er&&er<41})),ur=ir&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,ar=G,cr=B,fr=q,sr=Object,lr=ur?function(r){return"symbol"==typeof r}:function(r){var t=ar("Symbol");return cr(t)&&fr(t.prototype,sr(r))},pr=String,hr=function(r){try{return pr(r)}catch(t){return"Object"}},dr=B,yr=hr,vr=TypeError,gr=function(r){if(dr(r))return r;throw vr(yr(r)+" is not a function")},mr=gr,br=P,Er=function(r,t){var e=r[t];return br(e)?void 0:mr(e)},wr=f,Or=B,Sr=Y,Ar=TypeError,Tr={exports:{}},Ir=e,Rr=Object.defineProperty,jr=function(r,t){try{Rr(Ir,r,{value:t,configurable:!0,writable:!0})}catch(e){Ir[r]=t}return t},_r=jr,xr="__core-js_shared__",Pr=e[xr]||_r(xr,{}),Lr=Pr;(Tr.exports=function(r,t){return Lr[r]||(Lr[r]=void 0!==t?t:{})})("versions",[]).push({version:"3.31.1",mode:"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.31.1/LICENSE",source:"https://github.com/zloirock/core-js"});var Dr=Tr.exports,Cr=C,kr=Object,Mr=function(r){return kr(Cr(r))},Nr=Mr,Ur=w({}.hasOwnProperty),Fr=Object.hasOwn||function(r,t){return Ur(Nr(r),t)},zr=w,Br=0,Wr=Math.random(),Vr=zr(1..toString),Yr=function(r){return"Symbol("+(void 0===r?"":r)+")_"+Vr(++Br+Wr,36)},Hr=Dr,$r=Fr,Gr=Yr,qr=ir,Xr=ur,Jr=e.Symbol,Qr=Hr("wks"),Kr=Xr?Jr.for||Jr:Jr&&Jr.withoutSetter||Gr,Zr=function(r){return $r(Qr,r)||(Qr[r]=qr&&$r(Jr,r)?Jr[r]:Kr("Symbol."+r)),Qr[r]},rt=f,tt=Y,et=lr,nt=Er,ot=function(r,t){var e,n;if("string"===t&&Or(e=r.toString)&&!Sr(n=wr(e,r)))return n;if(Or(e=r.valueOf)&&!Sr(n=wr(e,r)))return n;if("string"!==t&&Or(e=r.toString)&&!Sr(n=wr(e,r)))return n;throw Ar("Can't convert object to primitive value")},it=TypeError,ut=Zr("toPrimitive"),at=function(r,t){if(!tt(r)||et(r))return r;var e,n=nt(r,ut);if(n){if(void 0===t&&(t="default"),e=rt(n,r,t),!tt(e)||et(e))return e;throw it("Can't convert object to primitive value")}return void 0===t&&(t="number"),ot(r,t)},ct=at,ft=lr,st=function(r){var t=ct(r,"string");return ft(t)?t:t+""},lt=Y,pt=e.document,ht=lt(pt)&&lt(pt.createElement),dt=function(r){return ht?pt.createElement(r):{}},yt=dt,vt=!i&&!o((function(){return 7!=Object.defineProperty(yt("div"),"a",{get:function(){return 7}}).a})),gt=i,mt=f,bt=s,Et=v,wt=N,Ot=st,St=Fr,At=vt,Tt=Object.getOwnPropertyDescriptor;n.f=gt?Tt:function(r,t){if(r=wt(r),t=Ot(t),At)try{return Tt(r,t)}catch(e){}if(St(r,t))return Et(!mt(bt.f,r,t),r[t])};var It={},Rt=i&&o((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),jt=Y,_t=String,xt=TypeError,Pt=function(r){if(jt(r))return r;throw xt(_t(r)+" is not an object")},Lt=i,Dt=vt,Ct=Rt,kt=Pt,Mt=st,Nt=TypeError,Ut=Object.defineProperty,Ft=Object.getOwnPropertyDescriptor,zt="enumerable",Bt="configurable",Wt="writable";It.f=Lt?Ct?function(r,t,e){if(kt(r),t=Mt(t),kt(e),"function"==typeof r&&"prototype"===t&&"value"in e&&Wt in e&&!e[Wt]){var n=Ft(r,t);n&&n[Wt]&&(r[t]=e.value,e={configurable:Bt in e?e[Bt]:n[Bt],enumerable:zt in e?e[zt]:n[zt],writable:!1})}return Ut(r,t,e)}:Ut:function(r,t,e){if(kt(r),t=Mt(t),kt(e),Dt)try{return Ut(r,t,e)}catch(n){}if("get"in e||"set"in e)throw Nt("Accessors not supported");return"value"in e&&(r[t]=e.value),r};var Vt=It,Yt=v,Ht=i?function(r,t,e){return Vt.f(r,t,Yt(1,e))}:function(r,t,e){return r[t]=e,r},$t={exports:{}},Gt=i,qt=Fr,Xt=Function.prototype,Jt=Gt&&Object.getOwnPropertyDescriptor,Qt=qt(Xt,"name"),Kt={EXISTS:Qt,PROPER:Qt&&"something"===function(){}.name,CONFIGURABLE:Qt&&(!Gt||Gt&&Jt(Xt,"name").configurable)},Zt=B,re=Pr,te=w(Function.toString);Zt(re.inspectSource)||(re.inspectSource=function(r){return te(r)});var ee,ne,oe,ie=re.inspectSource,ue=B,ae=e.WeakMap,ce=ue(ae)&&/native code/.test(String(ae)),fe=Yr,se=Dr("keys"),le=function(r){return se[r]||(se[r]=fe(r))},pe={},he=ce,de=e,ye=Y,ve=Ht,ge=Fr,me=Pr,be=le,Ee=pe,we="Object already initialized",Oe=de.TypeError,Se=de.WeakMap;if(he||me.state){var Ae=me.state||(me.state=new Se);Ae.get=Ae.get,Ae.has=Ae.has,Ae.set=Ae.set,ee=function(r,t){if(Ae.has(r))throw Oe(we);return t.facade=r,Ae.set(r,t),t},ne=function(r){return Ae.get(r)||{}},oe=function(r){return Ae.has(r)}}else{var Te=be("state");Ee[Te]=!0,ee=function(r,t){if(ge(r,Te))throw Oe(we);return t.facade=r,ve(r,Te,t),t},ne=function(r){return ge(r,Te)?r[Te]:{}},oe=function(r){return ge(r,Te)}}var Ie={set:ee,get:ne,has:oe,enforce:function(r){return oe(r)?ne(r):ee(r,{})},getterFor:function(r){return function(t){var e;if(!ye(t)||(e=ne(t)).type!==r)throw Oe("Incompatible receiver, "+r+" required");return e}}},Re=w,je=o,_e=B,xe=Fr,Pe=i,Le=Kt.CONFIGURABLE,De=ie,Ce=Ie.enforce,ke=Ie.get,Me=String,Ne=Object.defineProperty,Ue=Re("".slice),Fe=Re("".replace),ze=Re([].join),Be=Pe&&!je((function(){return 8!==Ne((function(){}),"length",{value:8}).length})),We=String(String).split("String"),Ve=$t.exports=function(r,t,e){"Symbol("===Ue(Me(t),0,7)&&(t="["+Fe(Me(t),/^Symbol\(([^)]*)\)/,"$1")+"]"),e&&e.getter&&(t="get "+t),e&&e.setter&&(t="set "+t),(!xe(r,"name")||Le&&r.name!==t)&&(Pe?Ne(r,"name",{value:t,configurable:!0}):r.name=t),Be&&e&&xe(e,"arity")&&r.length!==e.arity&&Ne(r,"length",{value:e.arity});try{e&&xe(e,"constructor")&&e.constructor?Pe&&Ne(r,"prototype",{writable:!1}):r.prototype&&(r.prototype=void 0)}catch(o){}var n=Ce(r);return xe(n,"source")||(n.source=ze(We,"string"==typeof t?t:"")),r};Function.prototype.toString=Ve((function(){return _e(this)&&ke(this).source||De(this)}),"toString");var Ye=$t.exports,He=B,$e=It,Ge=Ye,qe=jr,Xe=function(r,t,e,n){n||(n={});var o=n.enumerable,i=void 0!==n.name?n.name:t;if(He(e)&&Ge(e,i,n),n.global)o?r[t]=e:qe(t,e);else{try{n.unsafe?r[t]&&(o=!0):delete r[t]}catch(u){}o?r[t]=e:$e.f(r,t,{value:e,enumerable:!1,configurable:!n.nonConfigurable,writable:!n.nonWritable})}return r},Je={},Qe=Math.ceil,Ke=Math.floor,Ze=Math.trunc||function(r){var t=+r;return(t>0?Ke:Qe)(t)},rn=function(r){var t=+r;return t!=t||0===t?0:Ze(t)},tn=rn,en=Math.max,nn=Math.min,on=rn,un=Math.min,an=function(r){return r>0?un(on(r),9007199254740991):0},cn=an,fn=function(r){return cn(r.length)},sn=N,ln=function(r,t){var e=tn(r);return e<0?en(e+t,0):nn(e,t)},pn=fn,hn=function(r){return function(t,e,n){var o,i=sn(t),u=pn(i),a=ln(n,u);if(r&&e!=e){for(;u>a;)if((o=i[a++])!=o)return!0}else for(;u>a;a++)if((r||a in i)&&i[a]===e)return r||a||0;return!r&&-1}},dn={includes:hn(!0),indexOf:hn(!1)},yn=Fr,vn=N,gn=dn.indexOf,mn=pe,bn=w([].push),En=function(r,t){var e,n=vn(r),o=0,i=[];for(e in n)!yn(mn,e)&&yn(n,e)&&bn(i,e);for(;t.length>o;)yn(n,e=t[o++])&&(~gn(i,e)||bn(i,e));return i},wn=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],On=En,Sn=wn.concat("length","prototype");Je.f=Object.getOwnPropertyNames||function(r){return On(r,Sn)};var An={};An.f=Object.getOwnPropertySymbols;var Tn=G,In=Je,Rn=An,jn=Pt,_n=w([].concat),xn=Tn("Reflect","ownKeys")||function(r){var t=In.f(jn(r)),e=Rn.f;return e?_n(t,e(r)):t},Pn=Fr,Ln=xn,Dn=n,Cn=It,kn=o,Mn=B,Nn=/#|\.prototype\./,Un=function(r,t){var e=zn[Fn(r)];return e==Wn||e!=Bn&&(Mn(t)?kn(t):!!t)},Fn=Un.normalize=function(r){return String(r).replace(Nn,".").toLowerCase()},zn=Un.data={},Bn=Un.NATIVE="N",Wn=Un.POLYFILL="P",Vn=Un,Yn=e,Hn=n.f,$n=Ht,Gn=Xe,qn=jr,Xn=function(r,t,e){for(var n=Ln(t),o=Cn.f,i=Dn.f,u=0;u<n.length;u++){var a=n[u];Pn(r,a)||e&&Pn(e,a)||o(r,a,i(t,a))}},Jn=Vn,Qn=function(r,t){var e,n,o,i,u,a=r.target,c=r.global,f=r.stat;if(e=c?Yn:f?Yn[a]||qn(a,{}):(Yn[a]||{}).prototype)for(n in t){if(i=t[n],o=r.dontCallGetSet?(u=Hn(e,n))&&u.value:e[n],!Jn(c?n:a+(f?".":"#")+n,r.forced)&&void 0!==o){if(typeof i==typeof o)continue;Xn(i,o)}(r.sham||o&&o.sham)&&$n(i,"sham",!0),Gn(e,n,i,r)}},Kn=T,Zn=Array.isArray||function(r){return"Array"==Kn(r)},ro=i,to=Zn,eo=TypeError,no=Object.getOwnPropertyDescriptor,oo=ro&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(r){return r instanceof TypeError}}()?function(r,t){if(to(r)&&!no(r,"length").writable)throw eo("Cannot set read only .length");return r.length=t}:function(r,t){return r.length=t},io=TypeError,uo=function(r){if(r>9007199254740991)throw io("Maximum allowed index exceeded");return r},ao=Mr,co=fn,fo=oo,so=uo;Qn({target:"Array",proto:!0,arity:1,forced:o((function(){return 4294967297!==[].push.call({length:4294967296},1)}))||!function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(r){return r instanceof TypeError}}()},{push:function(r){var t=ao(this),e=co(t),n=arguments.length;so(e+n);for(var o=0;o<n;o++)t[e]=arguments[o],e++;return fo(t,e),e}});var lo=w,po=Set.prototype,ho={Set:Set,add:lo(po.add),has:lo(po.has),remove:lo(po.delete),proto:po},yo=ho.has,vo=function(r){return yo(r),r},go=f,mo=function(r,t,e){for(var n,o,i=e||r.next;!(n=go(i,r)).done;)if(void 0!==(o=t(n.value)))return o},bo=w,Eo=mo,wo=ho.Set,Oo=ho.proto,So=bo(Oo.forEach),Ao=bo(Oo.keys),To=Ao(new wo).next,Io=function(r,t,e){return e?Eo(Ao(r),t,To):So(r,t)},Ro=Io,jo=ho.Set,_o=ho.add,xo=function(r){var t=new jo;return Ro(r,(function(r){_o(t,r)})),t},Po=w,Lo=gr,Do=function(r,t,e){try{return Po(Lo(Object.getOwnPropertyDescriptor(r,t)[e]))}catch(n){}},Co=Do(ho.proto,"size","get")||function(r){return r.size},ko=gr,Mo=Pt,No=f,Uo=rn,Fo=TypeError,zo=Math.max,Bo=function(r,t,e,n){this.set=r,this.size=t,this.has=e,this.keys=n};Bo.prototype={getIterator:function(){return Mo(No(this.keys,this.set))},includes:function(r){return No(this.has,this.set,r)}};var Wo=function(r){Mo(r);var t=+r.size;if(t!=t)throw Fo("Invalid size");return new Bo(r,zo(Uo(t),0),ko(r.has),ko(r.keys))},Vo=vo,Yo=xo,Ho=Co,$o=Wo,Go=Io,qo=mo,Xo=ho.has,Jo=ho.remove,Qo=G,Ko=function(r){try{return(new(Qo("Set")))[r]({size:0,has:function(){return!1},keys:function(){return{next:function(){return{done:!0}}}}}),!0}catch(t){return!1}},Zo=function(r){var t=Vo(this),e=$o(r),n=Yo(t);return Ho(t)<=e.size?Go(t,(function(r){e.includes(r)&&Jo(n,r)})):qo(e.getIterator(),(function(r){Xo(t,r)&&Jo(n,r)})),n};Qn({target:"Set",proto:!0,real:!0,forced:!Ko("difference")},{difference:Zo});var ri=vo,ti=Co,ei=Wo,ni=Io,oi=mo,ii=ho.Set,ui=ho.add,ai=ho.has,ci=o,fi=function(r){var t=ri(this),e=ei(r),n=new ii;return ti(t)>e.size?oi(e.getIterator(),(function(r){ai(t,r)&&ui(n,r)})):ni(t,(function(r){e.includes(r)&&ui(n,r)})),n};Qn({target:"Set",proto:!0,real:!0,forced:!Ko("intersection")||ci((function(){return"3,2"!=Array.from(new Set([1,2,3]).intersection(new Set([3,2])))}))},{intersection:fi});var si=f,li=Pt,pi=Er,hi=function(r,t,e){var n,o;li(r);try{if(!(n=pi(r,"return"))){if("throw"===t)throw e;return e}n=si(n,r)}catch(i){o=!0,n=i}if("throw"===t)throw e;if(o)throw n;return li(n),e},di=vo,yi=ho.has,vi=Co,gi=Wo,mi=Io,bi=mo,Ei=hi,wi=function(r){var t=di(this),e=gi(r);if(vi(t)<=e.size)return!1!==mi(t,(function(r){if(e.includes(r))return!1}),!0);var n=e.getIterator();return!1!==bi(n,(function(r){if(yi(t,r))return Ei(n,"normal",!1)}))};Qn({target:"Set",proto:!0,real:!0,forced:!Ko("isDisjointFrom")},{isDisjointFrom:wi});var Oi=vo,Si=Co,Ai=Io,Ti=Wo,Ii=function(r){var t=Oi(this),e=Ti(r);return!(Si(t)>e.size)&&!1!==Ai(t,(function(r){if(!e.includes(r))return!1}),!0)};Qn({target:"Set",proto:!0,real:!0,forced:!Ko("isSubsetOf")},{isSubsetOf:Ii});var Ri=vo,ji=ho.has,_i=Co,xi=Wo,Pi=mo,Li=hi,Di=function(r){var t=Ri(this),e=xi(r);if(_i(t)<e.size)return!1;var n=e.getIterator();return!1!==Pi(n,(function(r){if(!ji(t,r))return Li(n,"normal",!1)}))};Qn({target:"Set",proto:!0,real:!0,forced:!Ko("isSupersetOf")},{isSupersetOf:Di});var Ci=vo,ki=xo,Mi=Wo,Ni=mo,Ui=ho.add,Fi=ho.has,zi=ho.remove,Bi=function(r){var t=Ci(this),e=Mi(r).getIterator(),n=ki(t);return Ni(e,(function(r){Fi(t,r)?zi(n,r):Ui(n,r)})),n};Qn({target:"Set",proto:!0,real:!0,forced:!Ko("symmetricDifference")},{symmetricDifference:Bi});var Wi=vo,Vi=ho.add,Yi=xo,Hi=Wo,$i=mo,Gi=function(r){var t=Wi(this),e=Hi(r).getIterator(),n=Yi(t);return $i(e,(function(r){Vi(n,r)})),n};Qn({target:"Set",proto:!0,real:!0,forced:!Ko("union")},{union:Gi});var qi=hr,Xi=TypeError,Ji=Mr,Qi=fn,Ki=oo,Zi=function(r,t){if(!delete r[t])throw Xi("Cannot delete property "+qi(t)+" of "+qi(r))},ru=uo;Qn({target:"Array",proto:!0,arity:1,forced:1!==[].unshift(0)||!function(){try{Object.defineProperty([],"length",{writable:!1}).unshift()}catch(r){return r instanceof TypeError}}()},{unshift:function(r){var t=Ji(this),e=Qi(t),n=arguments.length;if(n){ru(e+n);for(var o=e;o--;){var i=o+n;o in t?t[i]=t[o]:Zi(t,i)}for(var u=0;u<n;u++)t[u]=arguments[u]}return Ki(t,e+n)}});var tu={};tu[Zr("toStringTag")]="z";var eu="[object z]"===String(tu),nu=B,ou=T,iu=Zr("toStringTag"),uu=Object,au="Arguments"==ou(function(){return arguments}()),cu=eu?ou:function(r){var t,e,n;return void 0===r?"Undefined":null===r?"Null":"string"==typeof(e=function(r,t){try{return r[t]}catch(e){}}(t=uu(r),iu))?e:au?ou(t):"Object"==(n=ou(t))&&nu(t.callee)?"Arguments":n},fu=cu,su=String,lu=function(r){if("Symbol"===fu(r))throw TypeError("Cannot convert a Symbol value to a string");return su(r)},pu=st,hu=It,du=v,yu=w,vu=Fr,gu=SyntaxError,mu=parseInt,bu=String.fromCharCode,Eu=yu("".charAt),wu=yu("".slice),Ou=yu(/./.exec),Su={'\\"':'"',"\\\\":"\\","\\/":"/","\\b":"\b","\\f":"\f","\\n":"\n","\\r":"\r","\\t":"\t"},Au=/^[\da-f]{4}$/i,Tu=/^[\u0000-\u001F]$/,Iu=Qn,Ru=i,ju=e,_u=G,xu=w,Pu=f,Lu=B,Du=Y,Cu=Zn,ku=Fr,Mu=lu,Nu=fn,Uu=function(r,t,e){var n=pu(t);n in r?hu.f(r,n,du(0,e)):r[n]=e},Fu=o,zu=function(r,t){for(var e=!0,n="";t<r.length;){var o=Eu(r,t);if("\\"==o){var i=wu(r,t,t+2);if(vu(Su,i))n+=Su[i],t+=2;else{if("\\u"!=i)throw gu('Unknown escape sequence: "'+i+'"');var u=wu(r,t+=2,t+4);if(!Ou(Au,u))throw gu("Bad Unicode escape at: "+t);n+=bu(mu(u,16)),t+=4}}else{if('"'==o){e=!1,t++;break}if(Ou(Tu,o))throw gu("Bad control character in string literal at: "+t);n+=o,t++}}if(e)throw gu("Unterminated string at: "+t);return{value:n,end:t}},Bu=ir,Wu=ju.JSON,Vu=ju.Number,Yu=ju.SyntaxError,Hu=Wu&&Wu.parse,$u=_u("Object","keys"),Gu=Object.getOwnPropertyDescriptor,qu=xu("".charAt),Xu=xu("".slice),Ju=xu(/./.exec),Qu=xu([].push),Ku=/^\d$/,Zu=/^[1-9]$/,ra=/^(-|\d)$/,ta=/^[\t\n\r ]$/,ea=function(r,t,e,n){var o,i,u,a,c,f=r[t],s=n&&f===n.value,l=s&&"string"==typeof n.source?{source:n.source}:{};if(Du(f)){var p=Cu(f),h=s?n.nodes:p?[]:{};if(p)for(o=h.length,u=Nu(f),a=0;a<u;a++)na(f,a,ea(f,""+a,e,a<o?h[a]:void 0));else for(i=$u(f),u=Nu(i),a=0;a<u;a++)c=i[a],na(f,c,ea(f,c,e,ku(h,c)?h[c]:void 0))}return Pu(e,r,t,f,l)},na=function(r,t,e){if(Ru){var n=Gu(r,t);if(n&&!n.configurable)return}void 0===e?delete r[t]:Uu(r,t,e)},oa=function(r,t,e,n){this.value=r,this.end=t,this.source=e,this.nodes=n},ia=function(r,t){this.source=r,this.index=t};ia.prototype={fork:function(r){return new ia(this.source,r)},parse:function(){var r=this.source,t=this.skip(ta,this.index),e=this.fork(t),n=qu(r,t);if(Ju(ra,n))return e.number();switch(n){case"{":return e.object();case"[":return e.array();case'"':return e.string();case"t":return e.keyword(!0);case"f":return e.keyword(!1);case"n":return e.keyword(null)}throw Yu('Unexpected character: "'+n+'" at: '+t)},node:function(r,t,e,n,o){return new oa(t,n,r?null:Xu(this.source,e,n),o)},object:function(){for(var r=this.source,t=this.index+1,e=!1,n={},o={};t<r.length;){if(t=this.until(['"',"}"],t),"}"==qu(r,t)&&!e){t++;break}var i=this.fork(t).string(),u=i.value;t=i.end,t=this.until([":"],t)+1,t=this.skip(ta,t),i=this.fork(t).parse(),Uu(o,u,i),Uu(n,u,i.value),t=this.until([",","}"],i.end);var a=qu(r,t);if(","==a)e=!0,t++;else if("}"==a){t++;break}}return this.node(1,n,this.index,t,o)},array:function(){for(var r=this.source,t=this.index+1,e=!1,n=[],o=[];t<r.length;){if(t=this.skip(ta,t),"]"==qu(r,t)&&!e){t++;break}var i=this.fork(t).parse();if(Qu(o,i),Qu(n,i.value),t=this.until([",","]"],i.end),","==qu(r,t))e=!0,t++;else if("]"==qu(r,t)){t++;break}}return this.node(1,n,this.index,t,o)},string:function(){var r=this.index,t=zu(this.source,this.index+1);return this.node(0,t.value,r,t.end)},number:function(){var r=this.source,t=this.index,e=t;if("-"==qu(r,e)&&e++,"0"==qu(r,e))e++;else{if(!Ju(Zu,qu(r,e)))throw Yu("Failed to parse number at: "+e);e=this.skip(Ku,++e)}if(("."==qu(r,e)&&(e=this.skip(Ku,++e)),"e"==qu(r,e)||"E"==qu(r,e))&&(e++,"+"!=qu(r,e)&&"-"!=qu(r,e)||e++,e==(e=this.skip(Ku,e))))throw Yu("Failed to parse number's exponent value at: "+e);return this.node(0,Vu(Xu(r,t,e)),t,e)},keyword:function(r){var t=""+r,e=this.index,n=e+t.length;if(Xu(this.source,e,n)!=t)throw Yu("Failed to parse value at: "+e);return this.node(0,r,e,n)},skip:function(r,t){for(var e=this.source;t<e.length&&Ju(r,qu(e,t));t++);return t},until:function(r,t){t=this.skip(ta,t);for(var e=qu(this.source,t),n=0;n<r.length;n++)if(r[n]==e)return t;throw Yu('Unexpected character: "'+e+'" at: '+t)}};var ua=Fu((function(){var r,t="9007199254740993";return Hu(t,(function(t,e,n){r=n.source})),r!==t})),aa=Bu&&!Fu((function(){return 1/Hu("-0 \t")!=-1/0}));Iu({target:"JSON",stat:!0,forced:ua},{parse:function(r,t){return aa&&!Lu(t)?Hu(r):function(r,t){r=Mu(r);var e=new ia(r,0),n=e.parse(),o=n.value,i=e.skip(ta,n.end);if(i<r.length)throw Yu('Unexpected extra character: "'+qu(r,i)+'" after the parsed data at: '+i);return Lu(t)?ea({"":o},"",t,n):o}(r,t)}});var ca=T,fa=w,sa=function(r){if("Function"===ca(r))return fa(r)},la=gr,pa=u,ha=sa(sa.bind),da=function(r,t){return la(r),void 0===t?r:pa?ha(r,t):function(){return r.apply(t,arguments)}},ya=da,va=x,ga=Mr,ma=fn,ba=function(r){var t=1==r;return function(e,n,o){for(var i,u=ga(e),a=va(u),c=ya(n,o),f=ma(a);f-- >0;)if(c(i=a[f],f,u))switch(r){case 0:return i;case 1:return f}return t?-1:void 0}},Ea={findLast:ba(0),findLastIndex:ba(1)},wa={},Oa=En,Sa=wn,Aa=Object.keys||function(r){return Oa(r,Sa)},Ta=i,Ia=Rt,Ra=It,ja=Pt,_a=N,xa=Aa;wa.f=Ta&&!Ia?Object.defineProperties:function(r,t){ja(r);for(var e,n=_a(t),o=xa(t),i=o.length,u=0;i>u;)Ra.f(r,e=o[u++],n[e]);return r};var Pa,La=G("document","documentElement"),Da=Pt,Ca=wa,ka=wn,Ma=pe,Na=La,Ua=dt,Fa="prototype",za="script",Ba=le("IE_PROTO"),Wa=function(){},Va=function(r){return"<"+za+">"+r+"</"+za+">"},Ya=function(r){r.write(Va("")),r.close();var t=r.parentWindow.Object;return r=null,t},Ha=function(){try{Pa=new ActiveXObject("htmlfile")}catch(o){}var r,t,e;Ha="undefined"!=typeof document?document.domain&&Pa?Ya(Pa):(t=Ua("iframe"),e="java"+za+":",t.style.display="none",Na.appendChild(t),t.src=String(e),(r=t.contentWindow.document).open(),r.write(Va("document.F=Object")),r.close(),r.F):Ya(Pa);for(var n=ka.length;n--;)delete Ha[Fa][ka[n]];return Ha()};Ma[Ba]=!0;var $a=Object.create||function(r,t){var e;return null!==r?(Wa[Fa]=Da(r),e=new Wa,Wa[Fa]=null,e[Ba]=r):e=Ha(),void 0===t?e:Ca.f(e,t)},Ga=Zr,qa=$a,Xa=It.f,Ja=Ga("unscopables"),Qa=Array.prototype;null==Qa[Ja]&&Xa(Qa,Ja,{configurable:!0,value:qa(null)});var Ka=function(r){Qa[Ja][r]=!0},Za=Ea.findLast,rc=Ka;Qn({target:"Array",proto:!0},{findLast:function(r){return Za(this,r,arguments.length>1?arguments[1]:void 0)}}),rc("findLast");var tc=Ea.findLastIndex,ec=Ka;Qn({target:"Array",proto:!0},{findLastIndex:function(r){return tc(this,r,arguments.length>1?arguments[1]:void 0)}}),ec("findLastIndex");var nc=fn,oc=function(r,t){for(var e=0,n=nc(t),o=new r(n);n>e;)o[e]=t[e++];return o},ic=da,uc=x,ac=Mr,cc=st,fc=fn,sc=$a,lc=oc,pc=Array,hc=w([].push),dc=function(r,t,e,n){for(var o,i,u,a=ac(r),c=uc(a),f=ic(t,e),s=sc(null),l=fc(c),p=0;l>p;p++)u=c[p],(i=cc(f(u,p,a)))in s?hc(s[i],u):s[i]=[u];if(n&&(o=n(a))!==pc)for(i in s)s[i]=lc(o,s[i]);return s},yc=Ka;Qn({target:"Array",proto:!0},{group:function(r){return dc(this,r,arguments.length>1?arguments[1]:void 0)}}),yc("group");var vc=TypeError,gc=function(r,t){if(r<t)throw vc("Not enough arguments");return r},mc=Xe,bc=w,Ec=lu,wc=gc,Oc=URLSearchParams,Sc=Oc.prototype,Ac=bc(Sc.append),Tc=bc(Sc.delete),Ic=bc(Sc.forEach),Rc=bc([].push),jc=new Oc("a=1&a=2");jc.delete("a",1),jc+""!="a=2"&&mc(Sc,"delete",(function(r){var t=arguments.length,e=t<2?void 0:arguments[1];if(t&&void 0===e)return Tc(this,r);var n=[];Ic(this,(function(r,t){Rc(n,{key:t,value:r})})),wc(t,1);for(var o,i=Ec(r),u=Ec(e),a=0,c=0,f=!1,s=n.length;a<s;)o=n[a++],f||o.key===i?(f=!0,Tc(this,o.key)):c++;for(;c<s;)(o=n[c++]).key===i&&o.value===u||Ac(this,o.key,o.value)}),{enumerable:!0,unsafe:!0});var _c=Xe,xc=w,Pc=lu,Lc=gc,Dc=URLSearchParams,Cc=Dc.prototype,kc=xc(Cc.getAll),Mc=xc(Cc.has);new Dc("a=1").has("a",2)&&_c(Cc,"has",(function(r){var t=arguments.length,e=t<2?void 0:arguments[1];if(t&&void 0===e)return Mc(this,r);var n=kc(this,r);Lc(t,1);for(var o=Pc(e),i=0;i<n.length;)if(n[i++]===o)return!0;return!1}),{enumerable:!0,unsafe:!0});var Nc=Ye,Uc=It,Fc=function(r,t,e){return e.get&&Nc(e.get,t,{getter:!0}),e.set&&Nc(e.set,t,{setter:!0}),Uc.f(r,t,e)},zc=i,Bc=w,Wc=Fc,Vc=URLSearchParams.prototype,Yc=Bc(Vc.forEach);zc&&!("size"in Vc)&&Wc(Vc,"size",{get:function(){var r=0;return Yc(this,(function(){r++})),r},configurable:!0,enumerable:!0});var Hc=q,$c=TypeError,Gc=B,qc=String,Xc=TypeError,Jc=Do,Qc=Pt,Kc=function(r){if("object"==typeof r||Gc(r))return r;throw Xc("Can't set "+qc(r)+" as a prototype")},Zc=Object.setPrototypeOf||("__proto__"in{}?function(){var r,t=!1,e={};try{(r=Jc(Object.prototype,"__proto__","set"))(e,[]),t=e instanceof Array}catch(n){}return function(e,n){return Qc(e),Kc(n),t?r(e,n):e.__proto__=n,e}}():void 0),rf=B,tf=Y,ef=Zc,nf=lu,of=Error,uf=w("".replace),af=String(of("zxcasd").stack),cf=/\n\s*at [^:]*:[^\n]*/,ff=cf.test(af),sf=Qn,lf=e,pf=G,hf=v,df=It.f,yf=Fr,vf=function(r,t){if(Hc(t,r))return r;throw $c("Incorrect invocation")},gf=function(r,t,e){var n,o;return ef&&rf(n=t.constructor)&&n!==e&&tf(o=n.prototype)&&o!==e.prototype&&ef(r,o),r},mf=function(r,t){return void 0===r?arguments.length<2?"":t:nf(r)},bf={IndexSizeError:{s:"INDEX_SIZE_ERR",c:1,m:1},DOMStringSizeError:{s:"DOMSTRING_SIZE_ERR",c:2,m:0},HierarchyRequestError:{s:"HIERARCHY_REQUEST_ERR",c:3,m:1},WrongDocumentError:{s:"WRONG_DOCUMENT_ERR",c:4,m:1},InvalidCharacterError:{s:"INVALID_CHARACTER_ERR",c:5,m:1},NoDataAllowedError:{s:"NO_DATA_ALLOWED_ERR",c:6,m:0},NoModificationAllowedError:{s:"NO_MODIFICATION_ALLOWED_ERR",c:7,m:1},NotFoundError:{s:"NOT_FOUND_ERR",c:8,m:1},NotSupportedError:{s:"NOT_SUPPORTED_ERR",c:9,m:1},InUseAttributeError:{s:"INUSE_ATTRIBUTE_ERR",c:10,m:1},InvalidStateError:{s:"INVALID_STATE_ERR",c:11,m:1},SyntaxError:{s:"SYNTAX_ERR",c:12,m:1},InvalidModificationError:{s:"INVALID_MODIFICATION_ERR",c:13,m:1},NamespaceError:{s:"NAMESPACE_ERR",c:14,m:1},InvalidAccessError:{s:"INVALID_ACCESS_ERR",c:15,m:1},ValidationError:{s:"VALIDATION_ERR",c:16,m:0},TypeMismatchError:{s:"TYPE_MISMATCH_ERR",c:17,m:1},SecurityError:{s:"SECURITY_ERR",c:18,m:1},NetworkError:{s:"NETWORK_ERR",c:19,m:1},AbortError:{s:"ABORT_ERR",c:20,m:1},URLMismatchError:{s:"URL_MISMATCH_ERR",c:21,m:1},QuotaExceededError:{s:"QUOTA_EXCEEDED_ERR",c:22,m:1},TimeoutError:{s:"TIMEOUT_ERR",c:23,m:1},InvalidNodeTypeError:{s:"INVALID_NODE_TYPE_ERR",c:24,m:1},DataCloneError:{s:"DATA_CLONE_ERR",c:25,m:1}},Ef=function(r,t){if(ff&&"string"==typeof r&&!of.prepareStackTrace)for(;t--;)r=uf(r,cf,"");return r},wf=i,Of="DOMException",Sf=pf("Error"),Af=pf(Of),Tf=function(){vf(this,If);var r=arguments.length,t=mf(r<1?void 0:arguments[0]),e=mf(r<2?void 0:arguments[1],"Error"),n=new Af(t,e),o=Sf(t);return o.name=Of,df(n,"stack",hf(1,Ef(o.stack,1))),gf(n,this,Tf),n},If=Tf.prototype=Af.prototype,Rf="stack"in Sf(Of),jf="stack"in new Af(1,2),_f=Af&&wf&&Object.getOwnPropertyDescriptor(lf,Of),xf=!(!_f||_f.writable&&_f.configurable),Pf=Rf&&!xf&&!jf;sf({global:!0,constructor:!0,forced:Pf},{DOMException:Pf?Tf:Af});var Lf=pf(Of),Df=Lf.prototype;if(Df.constructor!==Lf)for(var Cf in df(Df,"constructor",hf(1,Lf)),bf)if(yf(bf,Cf)){var kf=bf[Cf],Mf=kf.s;yf(Lf,Mf)||df(Lf,Mf,hf(6,kf.c))}var Nf,Uf,Ff,zf="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView,Bf=!o((function(){function r(){}return r.prototype.constructor=null,Object.getPrototypeOf(new r)!==r.prototype})),Wf=Fr,Vf=B,Yf=Mr,Hf=Bf,$f=le("IE_PROTO"),Gf=Object,qf=Gf.prototype,Xf=Hf?Gf.getPrototypeOf:function(r){var t=Yf(r);if(Wf(t,$f))return t[$f];var e=t.constructor;return Vf(e)&&t instanceof e?e.prototype:t instanceof Gf?qf:null},Jf=zf,Qf=i,Kf=e,Zf=B,rs=Y,ts=Fr,es=cu,ns=hr,os=Ht,is=Xe,us=Fc,as=q,cs=Xf,fs=Zc,ss=Zr,ls=Yr,ps=Ie.enforce,hs=Ie.get,ds=Kf.Int8Array,ys=ds&&ds.prototype,vs=Kf.Uint8ClampedArray,gs=vs&&vs.prototype,ms=ds&&cs(ds),bs=ys&&cs(ys),Es=Object.prototype,ws=Kf.TypeError,Os=ss("toStringTag"),Ss=ls("TYPED_ARRAY_TAG"),As="TypedArrayConstructor",Ts=Jf&&!!fs&&"Opera"!==es(Kf.opera),Is=!1,Rs={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},js={BigInt64Array:8,BigUint64Array:8},_s=function(r){var t=cs(r);if(rs(t)){var e=hs(t);return e&&ts(e,As)?e[As]:_s(t)}},xs=function(r){if(!rs(r))return!1;var t=es(r);return ts(Rs,t)||ts(js,t)};for(Nf in Rs)(Ff=(Uf=Kf[Nf])&&Uf.prototype)?ps(Ff)[As]=Uf:Ts=!1;for(Nf in js)(Ff=(Uf=Kf[Nf])&&Uf.prototype)&&(ps(Ff)[As]=Uf);if((!Ts||!Zf(ms)||ms===Function.prototype)&&(ms=function(){throw ws("Incorrect invocation")},Ts))for(Nf in Rs)Kf[Nf]&&fs(Kf[Nf],ms);if((!Ts||!bs||bs===Es)&&(bs=ms.prototype,Ts))for(Nf in Rs)Kf[Nf]&&fs(Kf[Nf].prototype,bs);if(Ts&&cs(gs)!==bs&&fs(gs,bs),Qf&&!ts(bs,Os))for(Nf in Is=!0,us(bs,Os,{configurable:!0,get:function(){return rs(this)?this[Ss]:void 0}}),Rs)Kf[Nf]&&os(Kf[Nf],Ss,Nf);var Ps={NATIVE_ARRAY_BUFFER_VIEWS:Ts,TYPED_ARRAY_TAG:Is&&Ss,aTypedArray:function(r){if(xs(r))return r;throw ws("Target is not a typed array")},aTypedArrayConstructor:function(r){if(Zf(r)&&(!fs||as(ms,r)))return r;throw ws(ns(r)+" is not a typed array constructor")},exportTypedArrayMethod:function(r,t,e,n){if(Qf){if(e)for(var o in Rs){var i=Kf[o];if(i&&ts(i.prototype,r))try{delete i.prototype[r]}catch(u){try{i.prototype[r]=t}catch(a){}}}bs[r]&&!e||is(bs,r,e?t:Ts&&ys[r]||t,n)}},exportTypedArrayStaticMethod:function(r,t,e){var n,o;if(Qf){if(fs){if(e)for(n in Rs)if((o=Kf[n])&&ts(o,r))try{delete o[r]}catch(i){}if(ms[r]&&!e)return;try{return is(ms,r,e?t:Ts&&ms[r]||t)}catch(i){}}for(n in Rs)!(o=Kf[n])||o[r]&&!e||is(o,r,t)}},getTypedArrayConstructor:_s,isView:function(r){if(!rs(r))return!1;var t=es(r);return"DataView"===t||ts(Rs,t)||ts(js,t)},isTypedArray:xs,TypedArray:ms,TypedArrayPrototype:bs},Ls=Ea.findLast,Ds=Ps.aTypedArray;(0,Ps.exportTypedArrayMethod)("findLast",(function(r){return Ls(Ds(this),r,arguments.length>1?arguments[1]:void 0)}));var Cs=Ea.findLastIndex,ks=Ps.aTypedArray;(0,Ps.exportTypedArrayMethod)("findLastIndex",(function(r){return Cs(ks(this),r,arguments.length>1?arguments[1]:void 0)}));var Ms=fn,Ns=function(r,t){for(var e=Ms(r),n=new t(e),o=0;o<e;o++)n[o]=r[e-o-1];return n},Us=Ps.aTypedArray,Fs=Ps.getTypedArrayConstructor;(0,Ps.exportTypedArrayMethod)("toReversed",(function(){return Ns(Us(this),Fs(this))}));var zs=gr,Bs=oc,Ws=Ps.aTypedArray,Vs=Ps.getTypedArrayConstructor,Ys=Ps.exportTypedArrayMethod,Hs=w(Ps.TypedArrayPrototype.sort);Ys("toSorted",(function(r){void 0!==r&&zs(r);var t=Ws(this),e=Bs(Vs(t),t);return Hs(e,r)}));var $s=fn,Gs=rn,qs=RangeError,Xs=cu,Js=at,Qs=TypeError,Ks=function(r,t,e,n){var o=$s(r),i=Gs(e),u=i<0?o+i:i;if(u>=o||u<0)throw qs("Incorrect index");for(var a=new t(o),c=0;c<o;c++)a[c]=c===u?n:r[c];return a},Zs=function(r){var t=Xs(r);return"BigInt64Array"==t||"BigUint64Array"==t},rl=rn,tl=function(r){var t=Js(r,"number");if("number"==typeof t)throw Qs("Can't convert number to bigint");return BigInt(t)},el=Ps.aTypedArray,nl=Ps.getTypedArrayConstructor,ol=Ps.exportTypedArrayMethod,il=!!function(){try{new Int8Array(1).with(2,{valueOf:function(){throw 8}})}catch(r){return 8===r}}();ol("with",{with:function(r,t){var e=el(this),n=rl(r),o=Zs(e)?tl(t):+t;return Ks(e,nl(e),n,o)}}.with,!il);var ul=T,al=TypeError,cl=Do(ArrayBuffer.prototype,"byteLength","get")||function(r){if("ArrayBuffer"!=ul(r))throw al("ArrayBuffer expected");return r.byteLength},fl=cl,sl=w(ArrayBuffer.prototype.slice),ll=function(r){if(0!==fl(r))return!1;try{return sl(r,0,0),!1}catch(t){return!0}},pl=i,hl=Fc,dl=ll,yl=ArrayBuffer.prototype;pl&&!("detached"in yl)&&hl(yl,"detached",{configurable:!0,get:function(){return dl(this)}});var vl=rn,gl=an,ml=RangeError,bl="object"==typeof Deno&&Deno&&"object"==typeof Deno.version,El="undefined"!=typeof process&&"process"==T(process),wl=!bl&&!El&&"object"==typeof window&&"object"==typeof document,Ol=o,Sl=tr,Al=wl,Tl=bl,Il=El,Rl=e.structuredClone,jl=!!Rl&&!Ol((function(){if(Tl&&Sl>92||Il&&Sl>94||Al&&Sl>97)return!1;var r=new ArrayBuffer(8),t=Rl(r,{transfer:[r]});return 0!=r.byteLength||8!=t.byteLength})),_l=e,xl=w,Pl=Do,Ll=function(r){if(void 0===r)return 0;var t=vl(r),e=gl(t);if(t!==e)throw ml("Wrong length or index");return e},Dl=ll,Cl=cl,kl=jl,Ml=_l.TypeError,Nl=_l.structuredClone,Ul=_l.ArrayBuffer,Fl=_l.DataView,zl=Math.min,Bl=Ul.prototype,Wl=Fl.prototype,Vl=xl(Bl.slice),Yl=Pl(Bl,"resizable","get"),Hl=Pl(Bl,"maxByteLength","get"),$l=xl(Wl.getInt8),Gl=xl(Wl.setInt8),ql=kl&&function(r,t,e){var n=Cl(r),o=void 0===t?n:Ll(t),i=!Yl||!Yl(r);if(Dl(r))throw Ml("ArrayBuffer is detached");var u=Nl(r,{transfer:[r]});if(n==o&&(e||i))return u;if(n>=o&&(!e||i))return Vl(u,0,o);for(var a=e&&!i&&Hl?{maxByteLength:Hl(u)}:void 0,c=new Ul(o,a),f=new Fl(u),s=new Fl(c),l=zl(o,n),p=0;p<l;p++)Gl(s,p,$l(f,p));return c},Xl=ql;Xl&&Qn({target:"ArrayBuffer",proto:!0},{transfer:function(){return Xl(this,arguments.length?arguments[0]:void 0,!0)}});var Jl=ql;Jl&&Qn({target:"ArrayBuffer",proto:!0},{transferToFixedLength:function(){return Jl(this,arguments.length?arguments[0]:void 0,!1)}})
/*!
* SJS 6.14.1
*/,function(){function t(r,t){return(t||"")+" (SystemJS https://github.com/systemjs/systemjs/blob/main/docs/errors.md#"+r+")"}function e(r,t){if(-1!==r.indexOf("\\")&&(r=r.replace(A,"/")),"/"===r[0]&&"/"===r[1])return t.slice(0,t.indexOf(":")+1)+r;if("."===r[0]&&("/"===r[1]||"."===r[1]&&("/"===r[2]||2===r.length&&(r+="/"))||1===r.length&&(r+="/"))||"/"===r[0]){var e,n=t.slice(0,t.indexOf(":")+1);if(e="/"===t[n.length+1]?"file:"!==n?(e=t.slice(n.length+2)).slice(e.indexOf("/")+1):t.slice(8):t.slice(n.length+("/"===t[n.length])),"/"===r[0])return t.slice(0,t.length-e.length-1)+r;for(var o=e.slice(0,e.lastIndexOf("/")+1)+r,i=[],u=-1,a=0;a<o.length;a++)-1!==u?"/"===o[a]&&(i.push(o.slice(u,a+1)),u=-1):"."===o[a]?"."!==o[a+1]||"/"!==o[a+2]&&a+2!==o.length?"/"===o[a+1]||a+1===o.length?a+=1:u=a:(i.pop(),a+=2):u=a;return-1!==u&&i.push(o.slice(u)),t.slice(0,t.length-e.length)+i.join("")}}function n(r,t){return e(r,t)||(-1!==r.indexOf(":")?r:e("./"+r,t))}function o(r,t,n,o,i){for(var u in r){var a=e(u,n)||u,s=r[u];if("string"==typeof s){var l=f(o,e(s,n)||s,i);l?t[a]=l:c("W1",u,s)}}}function i(r,t,e){var i;for(i in r.imports&&o(r.imports,e.imports,t,e,null),r.scopes||{}){var u=n(i,t);o(r.scopes[i],e.scopes[u]||(e.scopes[u]={}),t,e,u)}for(i in r.depcache||{})e.depcache[n(i,t)]=r.depcache[i];for(i in r.integrity||{})e.integrity[n(i,t)]=r.integrity[i]}function u(r,t){if(t[r])return r;var e=r.length;do{var n=r.slice(0,e+1);if(n in t)return n}while(-1!==(e=r.lastIndexOf("/",e-1)))}function a(r,t){var e=u(r,t);if(e){var n=t[e];if(null===n)return;if(!(r.length>e.length&&"/"!==n[n.length-1]))return n+r.slice(e.length);c("W2",e,n)}}function c(r,e,n){console.warn(t(r,[n,e].join(", ")))}function f(r,t,e){for(var n=r.scopes,o=e&&u(e,n);o;){var i=a(t,n[o]);if(i)return i;o=u(o.slice(0,o.lastIndexOf("/")),n)}return a(t,r.imports)||-1!==t.indexOf(":")&&t}function s(){this[I]={}}function l(r,e,n,o){var i=r[I][e];if(i)return i;var u=[],a=Object.create(null);T&&Object.defineProperty(a,T,{value:"Module"});var c=Promise.resolve().then((function(){return r.instantiate(e,n,o)})).then((function(n){if(!n)throw Error(t(2,e));var o=n[1]((function(r,t){i.h=!0;var e=!1;if("string"==typeof r)r in a&&a[r]===t||(a[r]=t,e=!0);else{for(var n in r)t=r[n],n in a&&a[n]===t||(a[n]=t,e=!0);r&&r.__esModule&&(a.__esModule=r.__esModule)}if(e)for(var o=0;o<u.length;o++){var c=u[o];c&&c(a)}return t}),2===n[1].length?{import:function(t,n){return r.import(t,e,n)},meta:r.createContext(e)}:void 0);return i.e=o.execute||function(){},[n[0],o.setters||[],n[2]||[]]}),(function(r){throw i.e=null,i.er=r,r})),f=c.then((function(t){return Promise.all(t[0].map((function(n,o){var i=t[1][o],u=t[2][o];return Promise.resolve(r.resolve(n,e)).then((function(t){var n=l(r,t,e,u);return Promise.resolve(n.I).then((function(){return i&&(n.i.push(i),!n.h&&n.I||i(n.n)),n}))}))}))).then((function(r){i.d=r}))}));return i=r[I][e]={id:e,i:u,n:a,m:o,I:c,L:f,h:!1,d:void 0,e:void 0,er:void 0,E:void 0,C:void 0,p:void 0}}function p(r,t,e,n){if(!n[t.id])return n[t.id]=!0,Promise.resolve(t.L).then((function(){return t.p&&null!==t.p.e||(t.p=e),Promise.all(t.d.map((function(t){return p(r,t,e,n)})))})).catch((function(r){if(t.er)throw r;throw t.e=null,r}))}function h(r,t){return t.C=p(r,t,t,{}).then((function(){return d(r,t,{})})).then((function(){return t.n}))}function d(r,t,e){function n(){try{var r=i.call(j);if(r)return r=r.then((function(){t.C=t.n,t.E=null}),(function(r){throw t.er=r,t.E=null,r})),t.E=r;t.C=t.n,t.L=t.I=void 0}catch(e){throw t.er=e,e}}if(!e[t.id]){if(e[t.id]=!0,!t.e){if(t.er)throw t.er;return t.E?t.E:void 0}var o,i=t.e;return t.e=null,t.d.forEach((function(n){try{var i=d(r,n,e);i&&(o=o||[]).push(i)}catch(a){throw t.er=a,a}})),o?Promise.all(o).then(n):n()}}function y(){[].forEach.call(document.querySelectorAll("script"),(function(r){if(!r.sp)if("systemjs-module"===r.type){if(r.sp=!0,!r.src)return;System.import("import:"===r.src.slice(0,7)?r.src.slice(7):n(r.src,v)).catch((function(t){if(t.message.indexOf("https://github.com/systemjs/systemjs/blob/main/docs/errors.md#3")>-1){var e=document.createEvent("Event");e.initEvent("error",!1,!1),r.dispatchEvent(e)}return Promise.reject(t)}))}else if("systemjs-importmap"===r.type){r.sp=!0;var e=r.src?(System.fetch||fetch)(r.src,{integrity:r.integrity,passThrough:!0}).then((function(r){if(!r.ok)throw Error(r.status);return r.text()})).catch((function(e){return e.message=t("W4",r.src)+"\n"+e.message,console.warn(e),"function"==typeof r.onerror&&r.onerror(),"{}"})):r.innerHTML;P=P.then((function(){return e})).then((function(e){!function(r,e,n){var o={};try{o=JSON.parse(e)}catch(a){console.warn(Error(t("W5")))}i(o,n,r)}(L,e,r.src||v)}))}}))}var v,g="undefined"!=typeof Symbol,m="undefined"!=typeof self,b="undefined"!=typeof document,E=m?self:r;if(b){var w=document.querySelector("base[href]");w&&(v=w.href)}if(!v&&"undefined"!=typeof location){var O=(v=location.href.split("#")[0].split("?")[0]).lastIndexOf("/");-1!==O&&(v=v.slice(0,O+1))}var S,A=/\\/g,T=g&&Symbol.toStringTag,I=g?Symbol():"@",R=s.prototype;R.import=function(r,t,e){var n=this;return t&&"object"==typeof t&&(e=t,t=void 0),Promise.resolve(n.prepareImport()).then((function(){return n.resolve(r,t,e)})).then((function(r){var t=l(n,r,void 0,e);return t.C||h(n,t)}))},R.createContext=function(r){var t=this;return{url:r,resolve:function(e,n){return Promise.resolve(t.resolve(e,n||r))}}},R.register=function(r,t,e){S=[r,t,e]},R.getRegister=function(){var r=S;return S=void 0,r};var j=Object.freeze(Object.create(null));E.System=new s;var _,x,P=Promise.resolve(),L={imports:{},scopes:{},depcache:{},integrity:{}},D=b;if(R.prepareImport=function(r){return(D||r)&&(y(),D=!1),P},b&&(y(),window.addEventListener("DOMContentLoaded",y)),R.addImportMap=function(r,t){i(r,t||v,L)},b){window.addEventListener("error",(function(r){k=r.filename,M=r.error}));var C=location.origin}R.createScript=function(r){var t=document.createElement("script");t.async=!0,r.indexOf(C+"/")&&(t.crossOrigin="anonymous");var e=L.integrity[r];return e&&(t.integrity=e),t.src=r,t};var k,M,N={},U=R.register;R.register=function(r,t){if(b&&"loading"===document.readyState&&"string"!=typeof r){var e=document.querySelectorAll("script[src]"),n=e[e.length-1];if(n){_=r;var o=this;x=setTimeout((function(){N[n.src]=[r,t],o.import(n.src)}))}}else _=void 0;return U.call(this,r,t)},R.instantiate=function(r,e){var n=N[r];if(n)return delete N[r],n;var o=this;return Promise.resolve(R.createScript(r)).then((function(n){return new Promise((function(i,u){n.addEventListener("error",(function(){u(Error(t(3,[r,e].join(", "))))})),n.addEventListener("load",(function(){if(document.head.removeChild(n),k===r)u(M);else{var t=o.getRegister(r);t&&t[0]===_&&clearTimeout(x),i(t)}})),document.head.appendChild(n)}))}))},R.shouldFetch=function(){return!1},"undefined"!=typeof fetch&&(R.fetch=fetch);var F=R.instantiate,z=/^(text|application)\/(x-)?javascript(;|$)/;R.instantiate=function(r,e,n){var o=this;return this.shouldFetch(r,e,n)?this.fetch(r,{credentials:"same-origin",integrity:L.integrity[r],meta:n}).then((function(n){if(!n.ok)throw Error(t(7,[n.status,n.statusText,r,e].join(", ")));var i=n.headers.get("content-type");if(!i||!z.test(i))throw Error(t(4,i));return n.text().then((function(t){return t.indexOf("//# sourceURL=")<0&&(t+="\n//# sourceURL="+r),(0,eval)(t),o.getRegister(r)}))})):F.apply(this,arguments)},R.resolve=function(r,n){return f(L,e(r,n=n||v)||r,n)||function(r,e){throw Error(t(8,[r,e].join(", ")))}(r,n)};var B=R.instantiate;R.instantiate=function(r,t,e){var n=L.depcache[r];if(n)for(var o=0;o<n.length;o++)l(this,this.resolve(n[o],r),r);return B.call(this,r,t,e)},m&&"function"==typeof importScripts&&(R.instantiate=function(r){var t=this;return Promise.resolve().then((function(){return importScripts(r),t.getRegister(r)}))})}()}();
System.register(["./userApi-legacy-f48623ab.js","./vue-legacy-e1572d11.js","./TdesignNext-legacy-e721ed2d.js"],(function(e,l){"use strict";var t,a,s,i,n,o,u,c,d,m,r,p,v,g,h,f,y,b,x,w,k,C;return{setters:[e=>{t=e.B},e=>{a=e.I,s=e.Q,i=e.S,n=e.d,o=e.r,u=e.j,c=e.w,d=e.J,m=e.R,r=e.X,p=e.Y,v=e.a,g=e.L,h=e.V,f=e.U,y=e.F,b=e.Z,x=e.D,w=e.K,k=e.c},e=>{C=e.m}],execute:function(){const l={width:"16",height:"16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},V=[i("path",{d:"m11.149 3.988-.916 1.128L15 5.558 13.575 1l-1.133 1.396A7.17 7.17 0 0 0 8.18 1C4.215 1 1 4.206 1 8.16c0 3.955 3.215 7.16 7.18 7.16a7.182 7.182 0 0 0 6.71-4.605 1.022 1.022 0 0 0-1.376-1.299c-.248.11-.442.315-.54.569a5.13 5.13 0 0 1-4.793 3.29c-2.833 0-5.13-2.29-5.13-5.115 0-2.824 2.297-5.114 5.13-5.114 1.084 0 2.113.336 2.968.942Z",fill:"#B4B4B4"},null,-1)],_={render:function(e,t){return a(),s("svg",l,V)}},B={class:"custom-chose-tones-content"},R={class:"title"},j={class:"reset-popup-button-child"},L=i("span",null,"重置",-1),S={class:"list narrow-scrollbar"},A=["onClick"],F=["src"],U={class:"name"},z={key:0,class:"categorie"},N=["onClick"],T=["src"],Z={class:"name"},D={key:0,class:"categorie"},E=n({__name:"SelectionPopup",props:{modelValue:{type:Boolean},value:null,disabled:{type:Boolean,default:!1},title:{default:""},list:{default:null},event:{type:Function,default:()=>""},placement:{default:"bottom"},needCategorie:{type:Boolean,default:!0},reset:{type:Boolean,default:!1}},emits:["update:modelValue","update:value","itemChange"],setup(e,{emit:l}){const n=e,k=o(n.modelValue),C=u({list:[]}),V=o(!0);c((()=>n.modelValue),(e=>{k.value=e})),c((()=>k.value),(e=>{e&&V.value&&!n.list&&(async()=>{let e=await n.event();C.list=e})(),l("update:modelValue",e)}));const E=()=>{l("update:value","")},I=e=>{k.value=!1,l("update:value",e.id),l("itemChange",e)};return(l,n)=>{const o=x("t-popup");return a(),d(o,{overlayClassName:["custom-chose-tones"],disabled:e.disabled,placement:e.placement,trigger:"click",visible:k.value,"onUpdate:visible":n[0]||(n[0]=e=>k.value=e)},{content:m((()=>[i("div",B,[i("div",R,[r(p(e.title)+": ",1),e.reset?(a(),d(t,{key:0,theme:"opacity",class:"reset-popup-button",onClick:E},{default:m((()=>[i("div",j,[v(g(_)),L])])),_:1})):h("",!0)]),i("div",S,[e.list?(a(!0),s(y,{key:0},f(e.list,(l=>(a(),s("div",{class:w(["chose-tones-item",{"chose-tones-item_active":l.id===e.value}]),onClick:e=>I(l),key:l.id},[i("img",{src:l.img,alt:""},null,8,F),i("div",null,[i("div",U,p(l.c_name),1),e.needCategorie?(a(),s("div",z,p(l.c_categorie),1)):h("",!0)])],10,A)))),128)):(a(!0),s(y,{key:1},f(C.list,(l=>(a(),s("div",{class:w(["chose-tones-item",{"chose-tones-item_active":l.id===e.value}]),onClick:e=>I(l),key:l.id},[i("img",{src:l.img,alt:""},null,8,T),i("div",null,[i("div",Z,p(l.c_name),1),e.needCategorie?(a(),s("div",D,p(l.c_categorie),1)):h("",!0)])],10,N)))),128))])])])),default:m((()=>[b(l.$slots,"default")])),_:3},8,["disabled","placement","visible"])}}}),I=(e("S",E),{class:"custom-textarea-box"}),J={key:0,class:"position-text"},K=r(" | "),P=n({__name:"textarea",props:{modelValue:null,placeholder:{default:"请输入"},maxRows:{default:5},minRows:{default:5},maxlength:{default:0},showLimit:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},emits:["update:modelValue","change"],setup(e,{emit:l}){const t=e,n=o(""),u=()=>{n.value=""},d=k((()=>{const e=n.value.length;if(e){let l=/[\u4E00-\u9FA5]/g,t=n.value.match(l);if(t&&t.length){const l=e-t.length;return 2*t.length+l}}return e}));return c((()=>n.value),(e=>{l("update:modelValue",e),l("change")})),c((()=>t.modelValue),(e=>{n.value=e})),(l,t)=>(a(),s("div",I,[v(g(C),{class:"custom-t-textarea",disabled:e.disabled,modelValue:n.value,"onUpdate:modelValue":t[0]||(t[0]=e=>n.value=e),placeholder:e.placeholder,maxcharacter:e.maxlength?e.maxlength:null,autosize:{maxRows:e.maxRows,minRows:e.minRows}},null,8,["disabled","modelValue","placeholder","maxcharacter","autosize"]),e.showLimit?(a(),s("div",J,[i("span",null,p(g(d))+"/"+p(e.maxlength),1),K,i("span",{class:"reset-btn",onClick:u},"清空")])):h("",!0)]))}});e("T",P)}}}));
System.register(["./vue-legacy-e1572d11.js","./TdesignNext-legacy-e721ed2d.js","./index-legacy-68247afe.js"],(function(e,t){"use strict";var n,r,i,o,s,a,u,c,f,l,d,h,p;return{setters:[e=>{n=e.d,r=e.I,i=e.J,o=e.R,s=e.Z,a=e.K,u=e.a0,c=e.D},e=>{f=e.n,e.o,l=e.M},e=>{d=e.i,h=e.e,p=e.f}],execute:function(){e("B",n({__name:"Button",props:{theme:{default:"default"},size:{default:"16"},width:{default:""},height:{default:"32px"}},emits:["update:modelValue"],setup:(e,{emit:t})=>(t,n)=>{const f=c("t-button");return r(),i(f,{class:a(["default-t-button",[`c-button-${e.size}`,`c-button-${e.theme}`]]),style:u({height:e.height})},{default:o((()=>[s(t.$slots,"default")])),_:3},8,["style","class"])}}));var t={exports:{}},m=function(e,t){return function(){for(var n=new Array(arguments.length),r=0;r<n.length;r++)n[r]=arguments[r];return e.apply(t,n)}},g=m,v=Object.prototype.toString;function y(e){return"[object Array]"===v.call(e)}function w(e){return void 0===e}function b(e){return null!==e&&"object"==typeof e}function $(e){if("[object Object]"!==v.call(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function S(e){return"[object Function]"===v.call(e)}function O(e,t){if(null!=e)if("object"!=typeof e&&(e=[e]),y(e))for(var n=0,r=e.length;n<r;n++)t.call(null,e[n],n,e);else for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.call(null,e[i],i,e)}var E={isArray:y,isArrayBuffer:function(e){return"[object ArrayBuffer]"===v.call(e)},isBuffer:function(e){return null!==e&&!w(e)&&null!==e.constructor&&!w(e.constructor)&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)},isFormData:function(e){return"undefined"!=typeof FormData&&e instanceof FormData},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&e.buffer instanceof ArrayBuffer},isString:function(e){return"string"==typeof e},isNumber:function(e){return"number"==typeof e},isObject:b,isPlainObject:$,isUndefined:w,isDate:function(e){return"[object Date]"===v.call(e)},isFile:function(e){return"[object File]"===v.call(e)},isBlob:function(e){return"[object Blob]"===v.call(e)},isFunction:S,isStream:function(e){return b(e)&&S(e.pipe)},isURLSearchParams:function(e){return"undefined"!=typeof URLSearchParams&&e instanceof URLSearchParams},isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&"undefined"!=typeof window&&"undefined"!=typeof document},forEach:O,merge:function e(){var t={};function n(n,r){$(t[r])&&$(n)?t[r]=e(t[r],n):$(n)?t[r]=e({},n):y(n)?t[r]=n.slice():t[r]=n}for(var r=0,i=arguments.length;r<i;r++)O(arguments[r],n);return t},extend:function(e,t,n){return O(t,(function(t,r){e[r]=n&&"function"==typeof t?g(t,n):t})),e},trim:function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")},stripBOM:function(e){return 65279===e.charCodeAt(0)&&(e=e.slice(1)),e}},x=E;function D(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var j=function(e,t,n){if(!t)return e;var r;if(n)r=n(t);else if(x.isURLSearchParams(t))r=t.toString();else{var i=[];x.forEach(t,(function(e,t){null!=e&&(x.isArray(e)?t+="[]":e=[e],x.forEach(e,(function(e){x.isDate(e)?e=e.toISOString():x.isObject(e)&&(e=JSON.stringify(e)),i.push(D(t)+"="+D(e))})))})),r=i.join("&")}if(r){var o=e.indexOf("#");-1!==o&&(e=e.slice(0,o)),e+=(-1===e.indexOf("?")?"?":"&")+r}return e},C=E;function M(){this.handlers=[]}M.prototype.use=function(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1},M.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},M.prototype.forEach=function(e){C.forEach(this.handlers,(function(t){null!==t&&e(t)}))};var T,A,N,k,_,R,U,L,P,B,H,q,I,J,F,z,W,Y,V,X,Z,K,G=M,Q=E,ee=function(e,t){Q.forEach(e,(function(n,r){r!==t&&r.toUpperCase()===t.toUpperCase()&&(e[t]=n,delete e[r])}))},te=function(e,t,n,r,i){return e.config=t,n&&(e.code=n),e.request=r,e.response=i,e.isAxiosError=!0,e.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}},e};function ne(){if(A)return T;A=1;var e=te;return T=function(t,n,r,i,o){var s=new Error(t);return e(s,n,r,i,o)}}function re(){if(k)return N;k=1;var e=ne();return N=function(t,n,r){var i=r.config.validateStatus;r.status&&i&&!i(r.status)?n(e("Request failed with status code "+r.status,r.config,null,r.request,r)):t(r)}}function ie(){if(R)return _;R=1;var e=E;return _=e.isStandardBrowserEnv()?{write:function(t,n,r,i,o,s){var a=[];a.push(t+"="+encodeURIComponent(n)),e.isNumber(r)&&a.push("expires="+new Date(r).toGMTString()),e.isString(i)&&a.push("path="+i),e.isString(o)&&a.push("domain="+o),!0===s&&a.push("secure"),document.cookie=a.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}}function oe(){return L?U:(L=1,U=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)})}function se(){return B?P:(B=1,P=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e})}function ae(){if(q)return H;q=1;var e=oe(),t=se();return H=function(n,r){return n&&!e(r)?t(n,r):r}}function ue(){if(J)return I;J=1;var e=E,t=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];return I=function(n){var r,i,o,s={};return n?(e.forEach(n.split("\n"),(function(n){if(o=n.indexOf(":"),r=e.trim(n.substr(0,o)).toLowerCase(),i=e.trim(n.substr(o+1)),r){if(s[r]&&t.indexOf(r)>=0)return;s[r]="set-cookie"===r?(s[r]?s[r]:[]).concat([i]):s[r]?s[r]+", "+i:i}})),s):s}}function ce(){if(z)return F;z=1;var e=E;return F=e.isStandardBrowserEnv()?function(){var t,n=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");function i(e){var t=e;return n&&(r.setAttribute("href",t),t=r.href),r.setAttribute("href",t),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:"/"===r.pathname.charAt(0)?r.pathname:"/"+r.pathname}}return t=i(window.location.href),function(n){var r=e.isString(n)?i(n):n;return r.protocol===t.protocol&&r.host===t.host}}():function(){return!0}}function fe(){if(Y)return W;function e(e){this.message=e}return Y=1,e.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},e.prototype.__CANCEL__=!0,W=e}function le(){if(X)return V;X=1;var e=E,t=re(),n=ie(),r=j,i=ae(),o=ue(),s=ce(),a=ne(),u=de(),c=fe();return V=function(f){return new Promise((function(l,d){var h,p=f.data,m=f.headers,g=f.responseType;function v(){f.cancelToken&&f.cancelToken.unsubscribe(h),f.signal&&f.signal.removeEventListener("abort",h)}e.isFormData(p)&&delete m["Content-Type"];var y=new XMLHttpRequest;if(f.auth){var w=f.auth.username||"",b=f.auth.password?unescape(encodeURIComponent(f.auth.password)):"";m.Authorization="Basic "+btoa(w+":"+b)}var $=i(f.baseURL,f.url);function S(){if(y){var e="getAllResponseHeaders"in y?o(y.getAllResponseHeaders()):null,n={data:g&&"text"!==g&&"json"!==g?y.response:y.responseText,status:y.status,statusText:y.statusText,headers:e,config:f,request:y};t((function(e){l(e),v()}),(function(e){d(e),v()}),n),y=null}}if(y.open(f.method.toUpperCase(),r($,f.params,f.paramsSerializer),!0),y.timeout=f.timeout,"onloadend"in y?y.onloadend=S:y.onreadystatechange=function(){y&&4===y.readyState&&(0!==y.status||y.responseURL&&0===y.responseURL.indexOf("file:"))&&setTimeout(S)},y.onabort=function(){y&&(d(a("Request aborted",f,"ECONNABORTED",y)),y=null)},y.onerror=function(){d(a("Network Error",f,null,y)),y=null},y.ontimeout=function(){var e=f.timeout?"timeout of "+f.timeout+"ms exceeded":"timeout exceeded",t=f.transitional||u.transitional;f.timeoutErrorMessage&&(e=f.timeoutErrorMessage),d(a(e,f,t.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",y)),y=null},e.isStandardBrowserEnv()){var O=(f.withCredentials||s($))&&f.xsrfCookieName?n.read(f.xsrfCookieName):void 0;O&&(m[f.xsrfHeaderName]=O)}"setRequestHeader"in y&&e.forEach(m,(function(e,t){void 0===p&&"content-type"===t.toLowerCase()?delete m[t]:y.setRequestHeader(t,e)})),e.isUndefined(f.withCredentials)||(y.withCredentials=!!f.withCredentials),g&&"json"!==g&&(y.responseType=f.responseType),"function"==typeof f.onDownloadProgress&&y.addEventListener("progress",f.onDownloadProgress),"function"==typeof f.onUploadProgress&&y.upload&&y.upload.addEventListener("progress",f.onUploadProgress),(f.cancelToken||f.signal)&&(h=function(e){y&&(d(!e||e&&e.type?new c("canceled"):e),y.abort(),y=null)},f.cancelToken&&f.cancelToken.subscribe(h),f.signal&&(f.signal.aborted?h():f.signal.addEventListener("abort",h))),p||(p=null),y.send(p)}))}}function de(){if(K)return Z;K=1;var e=E,t=ee,n=te,r={"Content-Type":"application/x-www-form-urlencoded"};function i(t,n){!e.isUndefined(t)&&e.isUndefined(t["Content-Type"])&&(t["Content-Type"]=n)}var o,s={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:(("undefined"!=typeof XMLHttpRequest||"undefined"!=typeof process&&"[object process]"===Object.prototype.toString.call(process))&&(o=le()),o),transformRequest:[function(n,r){return t(r,"Accept"),t(r,"Content-Type"),e.isFormData(n)||e.isArrayBuffer(n)||e.isBuffer(n)||e.isStream(n)||e.isFile(n)||e.isBlob(n)?n:e.isArrayBufferView(n)?n.buffer:e.isURLSearchParams(n)?(i(r,"application/x-www-form-urlencoded;charset=utf-8"),n.toString()):e.isObject(n)||r&&"application/json"===r["Content-Type"]?(i(r,"application/json"),function(t,n,r){if(e.isString(t))try{return(n||JSON.parse)(t),e.trim(t)}catch(i){if("SyntaxError"!==i.name)throw i}return(r||JSON.stringify)(t)}(n)):n}],transformResponse:[function(t){var r=this.transitional||s.transitional,i=r&&r.silentJSONParsing,o=r&&r.forcedJSONParsing,a=!i&&"json"===this.responseType;if(a||o&&e.isString(t)&&t.length)try{return JSON.parse(t)}catch(u){if(a){if("SyntaxError"===u.name)throw n(u,this,"E_JSON_PARSE");throw u}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};return e.forEach(["delete","get","head"],(function(e){s.headers[e]={}})),e.forEach(["post","put","patch"],(function(t){s.headers[t]=e.merge(r)})),Z=s}var he,pe,me=E,ge=de();function ve(){return pe?he:(pe=1,he=function(e){return!(!e||!e.__CANCEL__)})}var ye=E,we=function(e,t,n){var r=this||ge;return me.forEach(n,(function(n){e=n.call(r,e,t)})),e},be=ve(),$e=de(),Se=fe();function Oe(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Se("canceled")}var Ee,xe,De=E,je=function(e,t){t=t||{};var n={};function r(e,t){return De.isPlainObject(e)&&De.isPlainObject(t)?De.merge(e,t):De.isPlainObject(t)?De.merge({},t):De.isArray(t)?t.slice():t}function i(n){return De.isUndefined(t[n])?De.isUndefined(e[n])?void 0:r(void 0,e[n]):r(e[n],t[n])}function o(e){if(!De.isUndefined(t[e]))return r(void 0,t[e])}function s(n){return De.isUndefined(t[n])?De.isUndefined(e[n])?void 0:r(void 0,e[n]):r(void 0,t[n])}function a(n){return n in t?r(e[n],t[n]):n in e?r(void 0,e[n]):void 0}var u={url:o,method:o,data:o,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:a};return De.forEach(Object.keys(e).concat(Object.keys(t)),(function(e){var t=u[e]||i,r=t(e);De.isUndefined(r)&&t!==a||(n[e]=r)})),n};function Ce(){return xe?Ee:(xe=1,Ee={version:"0.24.0"})}var Me=Ce().version,Te={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){Te[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));var Ae={};Te.transitional=function(e,t,n){function r(e,t){return"[Axios v"+Me+"] Transitional option '"+e+"'"+t+(n?". "+n:"")}return function(n,i,o){if(!1===e)throw new Error(r(i," has been removed"+(t?" in "+t:"")));return t&&!Ae[i]&&(Ae[i]=!0,console.warn(r(i," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,i,o)}};var Ne,ke,_e,Re,Ue,Le,Pe={assertOptions:function(e,t,n){if("object"!=typeof e)throw new TypeError("options must be an object");for(var r=Object.keys(e),i=r.length;i-- >0;){var o=r[i],s=t[o];if(s){var a=e[o],u=void 0===a||s(a,o,e);if(!0!==u)throw new TypeError("option "+o+" must be "+u)}else if(!0!==n)throw Error("Unknown option "+o)}},validators:Te},Be=E,He=j,qe=G,Ie=function(e){return Oe(e),e.headers=e.headers||{},e.data=we.call(e,e.data,e.headers,e.transformRequest),e.headers=ye.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),ye.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]})),(e.adapter||$e.adapter)(e).then((function(t){return Oe(e),t.data=we.call(e,t.data,t.headers,e.transformResponse),t}),(function(t){return be(t)||(Oe(e),t&&t.response&&(t.response.data=we.call(e,t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))},Je=je,Fe=Pe,ze=Fe.validators;function We(e){this.defaults=e,this.interceptors={request:new qe,response:new qe}}We.prototype.request=function(e){"string"==typeof e?(e=arguments[1]||{}).url=arguments[0]:e=e||{},(e=Je(this.defaults,e)).method?e.method=e.method.toLowerCase():this.defaults.method?e.method=this.defaults.method.toLowerCase():e.method="get";var t=e.transitional;void 0!==t&&Fe.assertOptions(t,{silentJSONParsing:ze.transitional(ze.boolean),forcedJSONParsing:ze.transitional(ze.boolean),clarifyTimeoutError:ze.transitional(ze.boolean)},!1);var n=[],r=!0;this.interceptors.request.forEach((function(t){"function"==typeof t.runWhen&&!1===t.runWhen(e)||(r=r&&t.synchronous,n.unshift(t.fulfilled,t.rejected))}));var i,o=[];if(this.interceptors.response.forEach((function(e){o.push(e.fulfilled,e.rejected)})),!r){var s=[Ie,void 0];for(Array.prototype.unshift.apply(s,n),s=s.concat(o),i=Promise.resolve(e);s.length;)i=i.then(s.shift(),s.shift());return i}for(var a=e;n.length;){var u=n.shift(),c=n.shift();try{a=u(a)}catch(f){c(f);break}}try{i=Ie(a)}catch(f){return Promise.reject(f)}for(;o.length;)i=i.then(o.shift(),o.shift());return i},We.prototype.getUri=function(e){return e=Je(this.defaults,e),He(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},Be.forEach(["delete","get","head","options"],(function(e){We.prototype[e]=function(t,n){return this.request(Je(n||{},{method:e,url:t,data:(n||{}).data}))}})),Be.forEach(["post","put","patch"],(function(e){We.prototype[e]=function(t,n,r){return this.request(Je(r||{},{method:e,url:t,data:n}))}}));var Ye=E,Ve=m,Xe=We,Ze=je,Ke=function e(t){var n=new Xe(t),r=Ve(Xe.prototype.request,n);return Ye.extend(r,Xe.prototype,n),Ye.extend(r,n),r.create=function(n){return e(Ze(t,n))},r}(de());Ke.Axios=Xe,Ke.Cancel=fe(),Ke.CancelToken=function(){if(ke)return Ne;ke=1;var e=fe();function t(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var n;this.promise=new Promise((function(e){n=e}));var r=this;this.promise.then((function(e){if(r._listeners){var t,n=r._listeners.length;for(t=0;t<n;t++)r._listeners[t](e);r._listeners=null}})),this.promise.then=function(e){var t,n=new Promise((function(e){r.subscribe(e),t=e})).then(e);return n.cancel=function(){r.unsubscribe(t)},n},t((function(t){r.reason||(r.reason=new e(t),n(r.reason))}))}return t.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},t.prototype.subscribe=function(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]},t.prototype.unsubscribe=function(e){if(this._listeners){var t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}},t.source=function(){var e;return{token:new t((function(t){e=t})),cancel:e}},Ne=t}(),Ke.isCancel=ve(),Ke.VERSION=Ce().version,Ke.all=function(e){return Promise.all(e)},Ke.spread=Re?_e:(Re=1,_e=function(e){return function(t){return e.apply(null,t)}}),Ke.isAxiosError=Le?Ue:(Le=1,Ue=function(e){return"object"==typeof e&&!0===e.isAxiosError}),t.exports=Ke,t.exports.default=Ke;var Ge=t.exports;const Qe=e("A",f(Ge));!function(e,t){e.exports=function(){var e=1e3,t=6e4,n=36e5,r="millisecond",i="second",o="minute",s="hour",a="day",u="week",c="month",f="quarter",l="year",d="date",h="Invalid Date",p=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,m=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,g={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_")},v=function(e,t,n){var r=String(e);return!r||r.length>=t?e:""+Array(t+1-r.length).join(n)+e},y={s:v,z:function(e){var t=-e.utcOffset(),n=Math.abs(t),r=Math.floor(n/60),i=n%60;return(t<=0?"+":"-")+v(r,2,"0")+":"+v(i,2,"0")},m:function e(t,n){if(t.date()<n.date())return-e(n,t);var r=12*(n.year()-t.year())+(n.month()-t.month()),i=t.clone().add(r,c),o=n-i<0,s=t.clone().add(r+(o?-1:1),c);return+(-(r+(n-i)/(o?i-s:s-i))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(e){return{M:c,y:l,w:u,d:a,D:d,h:s,m:o,s:i,ms:r,Q:f}[e]||String(e||"").toLowerCase().replace(/s$/,"")},u:function(e){return void 0===e}},w="en",b={};b[w]=g;var $=function(e){return e instanceof x},S=function e(t,n,r){var i;if(!t)return w;if("string"==typeof t){var o=t.toLowerCase();b[o]&&(i=o),n&&(b[o]=n,i=o);var s=t.split("-");if(!i&&s.length>1)return e(s[0])}else{var a=t.name;b[a]=t,i=a}return!r&&i&&(w=i),i||!r&&w},O=function(e,t){if($(e))return e.clone();var n="object"==typeof t?t:{};return n.date=e,n.args=arguments,new x(n)},E=y;E.l=S,E.i=$,E.w=function(e,t){return O(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var x=function(){function g(e){this.$L=S(e.locale,null,!0),this.parse(e)}var v=g.prototype;return v.parse=function(e){this.$d=function(e){var t=e.date,n=e.utc;if(null===t)return new Date(NaN);if(E.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var r=t.match(p);if(r){var i=r[2]-1||0,o=(r[7]||"0").substring(0,3);return n?new Date(Date.UTC(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,o)):new Date(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,o)}}return new Date(t)}(e),this.$x=e.x||{},this.init()},v.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},v.$utils=function(){return E},v.isValid=function(){return!(this.$d.toString()===h)},v.isSame=function(e,t){var n=O(e);return this.startOf(t)<=n&&n<=this.endOf(t)},v.isAfter=function(e,t){return O(e)<this.startOf(t)},v.isBefore=function(e,t){return this.endOf(t)<O(e)},v.$g=function(e,t,n){return E.u(e)?this[t]:this.set(n,e)},v.unix=function(){return Math.floor(this.valueOf()/1e3)},v.valueOf=function(){return this.$d.getTime()},v.startOf=function(e,t){var n=this,r=!!E.u(t)||t,f=E.p(e),h=function(e,t){var i=E.w(n.$u?Date.UTC(n.$y,t,e):new Date(n.$y,t,e),n);return r?i:i.endOf(a)},p=function(e,t){return E.w(n.toDate()[e].apply(n.toDate("s"),(r?[0,0,0,0]:[23,59,59,999]).slice(t)),n)},m=this.$W,g=this.$M,v=this.$D,y="set"+(this.$u?"UTC":"");switch(f){case l:return r?h(1,0):h(31,11);case c:return r?h(1,g):h(0,g+1);case u:var w=this.$locale().weekStart||0,b=(m<w?m+7:m)-w;return h(r?v-b:v+(6-b),g);case a:case d:return p(y+"Hours",0);case s:return p(y+"Minutes",1);case o:return p(y+"Seconds",2);case i:return p(y+"Milliseconds",3);default:return this.clone()}},v.endOf=function(e){return this.startOf(e,!1)},v.$set=function(e,t){var n,u=E.p(e),f="set"+(this.$u?"UTC":""),h=(n={},n[a]=f+"Date",n[d]=f+"Date",n[c]=f+"Month",n[l]=f+"FullYear",n[s]=f+"Hours",n[o]=f+"Minutes",n[i]=f+"Seconds",n[r]=f+"Milliseconds",n)[u],p=u===a?this.$D+(t-this.$W):t;if(u===c||u===l){var m=this.clone().set(d,1);m.$d[h](p),m.init(),this.$d=m.set(d,Math.min(this.$D,m.daysInMonth())).$d}else h&&this.$d[h](p);return this.init(),this},v.set=function(e,t){return this.clone().$set(e,t)},v.get=function(e){return this[E.p(e)]()},v.add=function(r,f){var d,h=this;r=Number(r);var p=E.p(f),m=function(e){var t=O(h);return E.w(t.date(t.date()+Math.round(e*r)),h)};if(p===c)return this.set(c,this.$M+r);if(p===l)return this.set(l,this.$y+r);if(p===a)return m(1);if(p===u)return m(7);var g=(d={},d[o]=t,d[s]=n,d[i]=e,d)[p]||1,v=this.$d.getTime()+r*g;return E.w(v,this)},v.subtract=function(e,t){return this.add(-1*e,t)},v.format=function(e){var t=this,n=this.$locale();if(!this.isValid())return n.invalidDate||h;var r=e||"YYYY-MM-DDTHH:mm:ssZ",i=E.z(this),o=this.$H,s=this.$m,a=this.$M,u=n.weekdays,c=n.months,f=function(e,n,i,o){return e&&(e[n]||e(t,r))||i[n].slice(0,o)},l=function(e){return E.s(o%12||12,e,"0")},d=n.meridiem||function(e,t,n){var r=e<12?"AM":"PM";return n?r.toLowerCase():r},p={YY:String(this.$y).slice(-2),YYYY:this.$y,M:a+1,MM:E.s(a+1,2,"0"),MMM:f(n.monthsShort,a,c,3),MMMM:f(c,a),D:this.$D,DD:E.s(this.$D,2,"0"),d:String(this.$W),dd:f(n.weekdaysMin,this.$W,u,2),ddd:f(n.weekdaysShort,this.$W,u,3),dddd:u[this.$W],H:String(o),HH:E.s(o,2,"0"),h:l(1),hh:l(2),a:d(o,s,!0),A:d(o,s,!1),m:String(s),mm:E.s(s,2,"0"),s:String(this.$s),ss:E.s(this.$s,2,"0"),SSS:E.s(this.$ms,3,"0"),Z:i};return r.replace(m,(function(e,t){return t||p[e]||i.replace(":","")}))},v.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},v.diff=function(r,d,h){var p,m=E.p(d),g=O(r),v=(g.utcOffset()-this.utcOffset())*t,y=this-g,w=E.m(this,g);return w=(p={},p[l]=w/12,p[c]=w,p[f]=w/3,p[u]=(y-v)/6048e5,p[a]=(y-v)/864e5,p[s]=y/n,p[o]=y/t,p[i]=y/e,p)[m]||y,h?w:E.a(w)},v.daysInMonth=function(){return this.endOf(c).$D},v.$locale=function(){return b[this.$L]},v.locale=function(e,t){if(!e)return this.$L;var n=this.clone(),r=S(e,t,!0);return r&&(n.$L=r),n},v.clone=function(){return E.w(this.$d,this)},v.toDate=function(){return new Date(this.valueOf())},v.toJSON=function(){return this.isValid()?this.toISOString():null},v.toISOString=function(){return this.$d.toISOString()},v.toString=function(){return this.$d.toUTCString()},g}(),D=x.prototype;return O.prototype=D,[["$ms",r],["$s",i],["$m",o],["$H",s],["$W",a],["$M",c],["$y",l],["$D",d]].forEach((function(e){D[e[1]]=function(t){return this.$g(t,e[0],e[1])}})),O.extend=function(e,t){return e.$i||(e(t,x,O),e.$i=!0),O},O.locale=S,O.isDayjs=$,O.unix=function(e){return O(1e3*e)},O.en=b[w],O.Ls=b,O.p={},O}()}({exports:{}});const et=e("s",((e,t="warning",n=!0)=>{n&&l.closeAll(),"warning"==t?l.warning(e):"success"==t?l.success(e):"info"==t?l.info(e):"error"==t&&l.error(e)})),tt=(e("e",(()=>({width:window.innerWidth||document.documentElement.clientWidth,height:window.innerHeight||document.documentElement.clientHeight}))),e("c",(e=>e.getBoundingClientRect())),e("y",(()=>!1)),e("D",((e,t="array")=>{const n=Object.prototype.toString;if("array"==t)return"[object Array]"===n.call(e)})),Qe.create({baseURL:"http://156.247.11.21:92/",withCredentials:!1}));tt.interceptors.request.use((e=>e)),tt.defaults.timeout=6e4,tt.interceptors.response.use((e=>{const{data:t}=e;return 0===t.code||e.config.needCode?t:(l.closeAll(),l.error(t.msg||d.global.t("message.error")),Promise.reject(t.msg))}),(e=>{if("response"in e&&e.response){const{status:t,data:n}=e.response;return 401==t?(h.push({path:"/login"}),p.commit("user/removeToken"),p.commit("user/removeUserInfo"),void p.commit("user/removeBindInfo")):(et(n.message||d.global.t("message.error"),"error"),e.response)}{let t=e.toJSON();et(t.message,"error")}}));const nt=e("z",(()=>p.getters["user/token"])),rt=()=>({authorization:`Bearer ${nt()}`});e("U",(e=>tt.post("/api/login",e))),e("C",(()=>{const e=rt();return tt.get("/api/live/upload/policy",{headers:{...e}})})),e("E",(()=>{const e=rt();return tt.get("/api/live/digital-man",{params:{},headers:{...e}})})),e("g",((e={})=>{const t=rt();return tt.get("/api/live/task",{params:e,headers:{...t}})})),e("u",(e=>{const t=rt();return tt.get(`/api/live/task/${e}/generate`,{headers:{...t}})})),e("F",(()=>{const e=rt();return tt.get("/api/live/content/phonetic-timbres",{headers:{...e}})})),e("G",(()=>{const e=rt();return tt.get("/api/live/groups/interaction",{headers:{...e}})})),e("q",(e=>{const t=rt();return tt.post("/api/live/groups/interaction",e,{headers:{...t}})})),e("p",((e,t)=>{const n=rt();return tt.post(`/api/live/groups/interaction/${e}`,t,{headers:{...n}})})),e("o",((e,t)=>{const n=rt();return tt.delete(`/api/live/groups/interaction/${e}`,{params:t,headers:{...n}})})),e("n",(e=>{const t=rt();return tt.get("/api/live/interaction",{params:e,headers:{...t}})})),e("k",(e=>{const t=rt();return tt.post("/api/live/interaction",e,{headers:{...t}})})),e("m",((e,t)=>{const n=rt();return tt.post(`/api/live/interaction/${e}`,t,{headers:{...n}})})),e("l",(e=>{const t=rt();return tt.delete(`/api/live/interaction/${e}`,{params:{},headers:{...t}})})),e("j",(e=>{const t=rt();return tt.post("/api/live/task",e,{headers:{...t}})})),e("r",(e=>{const t=rt();return tt.get(`/api/live/task/${e}/close`,{headers:{...t}})})),e("v",(e=>{const t=rt();return tt.get(`/api/live/task/${e}/reply`,{headers:{...t}})})),e("H",((e,t)=>{const n=rt();return tt.post(`/api/live/task/${e}`,t,{headers:{...n}})})),e("f",(e=>{const t=rt();return tt.get(`/api/live/task/${e}`,{headers:{...t}})})),e("d",(e=>{const t=rt();return tt.delete(`/api/live/task/${e}`,{params:{},headers:{...t}})})),e("t",((e,t)=>{const n=rt();return tt.post(`/api/live/interaction/${e}/reply`,t,{headers:{...n}})})),e("w",(e=>{const t=rt();return tt.post("/api/live/digital-man",e,{headers:{...t}})})),e("x",(e=>{const t=rt();return tt.post("/api/live/content/phonetic-timbres",e,{headers:{...t}})})),e("i",(e=>{const t=rt();return tt.post("/api/live/draft",e,{headers:{...t}})})),e("a",(()=>{const e=rt();return tt.get("/api/live/draft",{headers:{...e}})})),e("I",((e,t)=>{const n=rt();return tt.post(`/api/live/draft/${e}`,t,{headers:{...n}})})),e("h",(e=>{const t=rt();return tt.get(`/api/live/draft/${e}`,{headers:{...t}})})),e("b",(e=>{const t=rt();return tt.delete(`/api/live/draft/${e}`,{headers:{...t}})}))}}}));
System.register([],(function(e,t){"use strict";return{execute:function(){function t(e,t){const n=Object.create(null),o=e.split(",");for(let r=0;r<o.length;r++)n[o[r]]=!0;return t?e=>!!n[e.toLowerCase()]:e=>!!n[e]}e({A:function(e,t){return dn(e,null,t)},C:or,D:function(e,t){return Kn(Wn,e,!0,t)||e},E:function(e){return new Zs(e)},G:function(e){const t=function(e,t){const n=[],o=new Map;function r(e){return o.get(e)}function s(e,n,o){const r=!o,l=function(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:Wi(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||{}:{default:e.component}}}(e);l.aliasOf=o&&o.record;const a=Ki(t,e),u=[l];if("alias"in e){const t="string"==typeof e.alias?[e.alias]:e.alias;for(const e of t)u.push(ai({},l,{components:o?o.record.components:l.components,path:e,aliasOf:o?o.record:l}))}let f,p;for(const t of u){const{path:u}=t;if(n&&"/"!==u[0]){const e=n.record.path,o="/"===e[e.length-1]?"":"/";t.path=n.record.path+(u&&o+u)}if(f=qi(t,n,a),o?o.alias.push(f):(p=p||f,p!==f&&p.alias.push(f),r&&e.name&&!zi(f)&&i(e.name)),"children"in l){const e=l.children;for(let t=0;t<e.length;t++)s(e[t],f,o&&o.children[t])}o=o||f,c(f)}return p?()=>{i(p)}:fi}function i(e){if(Pi(e)){const t=o.get(e);t&&(o.delete(e),n.splice(n.indexOf(t),1),t.children.forEach(i),t.alias.forEach(i))}else{const t=n.indexOf(e);t>-1&&(n.splice(t,1),e.record.name&&o.delete(e.record.name),e.children.forEach(i),e.alias.forEach(i))}}function l(){return n}function c(e){let t=0;for(;t<n.length&&Ni(e,n[t])>=0&&(e.record.path!==n[t].record.path||!Qi(e,n[t]));)t++;n.splice(t,0,e),e.record.name&&!zi(e)&&o.set(e.record.name,e)}function a(e,t){let r,s,i,l={};if("name"in e&&e.name){if(r=o.get(e.name),!r)throw Li(1,{location:e});i=r.record.name,l=ai(function(e,t){const n={};for(const o of t)o in e&&(n[o]=e[o]);return n}(t.params,r.keys.filter((e=>!e.optional)).map((e=>e.name))),e.params),s=r.stringify(l)}else if("path"in e)s=e.path,r=n.find((e=>e.re.test(s))),r&&(l=r.parse(s),i=r.record.name);else{if(r=t.name?o.get(t.name):n.find((e=>e.re.test(t.path))),!r)throw Li(1,{location:e,currentLocation:t});i=r.record.name,l=ai({},t.params,e.params),s=r.stringify(l)}const c=[];let a=r;for(;a;)c.unshift(a.record),a=a.parent;return{name:i,path:s,params:l,matched:c,meta:Hi(c)}}return t=Ki({strict:!1,end:!0,sensitive:!1},t),e.forEach((e=>s(e))),{addRoute:s,resolve:a,removeRoute:i,getRoutes:l,getRecordMatcher:r}}(e.routes,e),n=e.parseQuery||hl,o=e.stringifyQuery||gl,r=e.history,s=vl(),i=vl(),l=vl(),c=yt(Ri);let a=Ri;ci&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=ui.bind(null,(e=>""+e)),f=ui.bind(null,pl),p=ui.bind(null,dl);function d(e,s){if(s=ai({},s||c.value),"string"==typeof e){const o=hi(n,e,s.path),i=t.resolve({path:o.path},s),l=r.createHref(o.fullPath);return ai(o,i,{params:p(i.params),hash:dl(o.hash),redirectedFrom:void 0,href:l})}let i;if("path"in e)i=ai({},e,{path:hi(n,e.path,s.path).path});else{const t=ai({},e.params);for(const e in t)null==t[e]&&delete t[e];i=ai({},e,{params:f(e.params)}),s.params=f(s.params)}const l=t.resolve(i,s),a=e.hash||"";l.params=u(p(l.params));const d=function(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}(o,ai({},e,{hash:(h=a,ul(h).replace(il,"{").replace(cl,"}").replace(rl,"^")),path:l.path}));var h;const g=r.createHref(d);return ai({fullPath:d,hash:a,query:o===gl?ml(e.query):e.query||{}},l,{redirectedFrom:void 0,href:g})}function h(e){return"string"==typeof e?hi(n,e,c.value.path):ai({},e)}function g(e,t){if(a!==e)return Li(8,{from:t,to:e})}function m(e){return y(e)}function v(e){const t=e.matched[e.matched.length-1];if(t&&t.redirect){const{redirect:n}=t;let o="function"==typeof n?n(e):n;return"string"==typeof o&&(o=o.includes("?")||o.includes("#")?o=h(o):{path:o},o.params={}),ai({query:e.query,hash:e.hash,params:e.params},o)}}function y(e,t){const n=a=d(e),r=c.value,s=e.state,i=e.force,l=!0===e.replace,u=v(n);if(u)return y(ai(h(u),{state:s,force:i,replace:l}),t||n);const f=n;let p;return f.redirectedFrom=t,!i&&function(e,t,n){const o=t.matched.length-1,r=n.matched.length-1;return o>-1&&o===r&&mi(t.matched[o],n.matched[r])&&vi(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}(o,r,n)&&(p=Li(16,{to:f,from:r}),P(r,r,!0,!1)),(p?Promise.resolve(p):b(f,r)).catch((e=>Fi(e)?Fi(e,2)?e:j(e):A(e,f,r))).then((e=>{if(e){if(Fi(e,2))return y(ai(h(e.to),{state:s,force:i,replace:l}),t||f)}else e=x(f,r,!0,l,s);return w(f,r,e),e}))}function _(e,t){const n=g(e,t);return n?Promise.reject(n):Promise.resolve()}function b(e,t){let n;const[o,r,l]=function(e,t){const n=[],o=[],r=[],s=Math.max(t.matched.length,e.matched.length);for(let i=0;i<s;i++){const s=t.matched[i];s&&(e.matched.find((e=>mi(e,s)))?o.push(s):n.push(s));const l=e.matched[i];l&&(t.matched.find((e=>mi(e,l)))||r.push(l))}return[n,o,r]}(e,t);n=_l(o.reverse(),"beforeRouteLeave",e,t);for(const s of o)s.leaveGuards.forEach((o=>{n.push(yl(o,e,t))}));const c=_.bind(null,e,t);return n.push(c),kl(n).then((()=>{n=[];for(const o of s.list())n.push(yl(o,e,t));return n.push(c),kl(n)})).then((()=>{n=_l(r,"beforeRouteUpdate",e,t);for(const o of r)o.updateGuards.forEach((o=>{n.push(yl(o,e,t))}));return n.push(c),kl(n)})).then((()=>{n=[];for(const o of e.matched)if(o.beforeEnter&&!t.matched.includes(o))if(Array.isArray(o.beforeEnter))for(const r of o.beforeEnter)n.push(yl(r,e,t));else n.push(yl(o.beforeEnter,e,t));return n.push(c),kl(n)})).then((()=>(e.matched.forEach((e=>e.enterCallbacks={})),n=_l(l,"beforeRouteEnter",e,t),n.push(c),kl(n)))).then((()=>{n=[];for(const o of i.list())n.push(yl(o,e,t));return n.push(c),kl(n)})).catch((e=>Fi(e,8)?e:Promise.reject(e)))}function w(e,t,n){for(const o of l.list())o(e,t,n)}function x(e,t,n,o,s){const i=g(e,t);if(i)return i;const l=t===Ri,a=ci?history.state:{};n&&(o||l?r.replace(e.fullPath,ai({scroll:l&&a&&a.scroll},s)):r.push(e.fullPath,s)),c.value=e,P(e,t,n,l),j()}let C;function E(){C||(C=r.listen(((e,t,n)=>{const o=d(e),s=v(o);if(s)return void y(ai(s,{replace:!0}),o).catch(fi);a=o;const i=c.value;var l,u;ci&&(l=Si(i.fullPath,n.delta),u=Ei(),ki.set(l,u)),b(o,i).catch((e=>Fi(e,12)?e:Fi(e,2)?(y(e.to,o).then((e=>{Fi(e,20)&&!n.delta&&n.type===bi.pop&&r.go(-1,!1)})).catch(fi),Promise.reject()):(n.delta&&r.go(-n.delta,!1),A(e,o,i)))).then((e=>{(e=e||x(o,i,!1))&&(n.delta?r.go(-n.delta,!1):n.type===bi.pop&&Fi(e,20)&&r.go(-1,!1)),w(o,i,e)})).catch(fi)})))}let S,k=vl(),O=vl();function A(e,t,n){j(e);const o=O.list();return o.length?o.forEach((o=>o(e,t,n))):console.error(e),Promise.reject(e)}function j(e){return S||(S=!e,E(),k.list().forEach((([t,n])=>e?n(e):t())),k.reset()),e}function P(t,n,o,r){const{scrollBehavior:s}=e;if(!ci||!s)return Promise.resolve();const i=!o&&function(e){const t=ki.get(e);return ki.delete(e),t}(Si(t.fullPath,0))||(r||!o)&&history.state&&history.state.scroll||null;return Gt().then((()=>s(t,n,i))).then((e=>e&&function(e){let t;if("el"in e){const n=e.el,o="string"==typeof n&&n.startsWith("#"),r="string"==typeof n?o?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!r)return;t=function(e,t){const n=document.documentElement.getBoundingClientRect(),o=e.getBoundingClientRect();return{behavior:t.behavior,left:o.left-n.left-(t.left||0),top:o.top-n.top-(t.top||0)}}(r,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(null!=t.left?t.left:window.pageXOffset,null!=t.top?t.top:window.pageYOffset)}(e))).catch((e=>A(e,t,n)))}const R=e=>r.go(e);let T;const M=new Set,L={currentRoute:c,addRoute:function(e,n){let o,r;return Pi(e)?(o=t.getRecordMatcher(e),r=n):r=e,t.addRoute(r,o)},removeRoute:function(e){const n=t.getRecordMatcher(e);n&&t.removeRoute(n)},hasRoute:function(e){return!!t.getRecordMatcher(e)},getRoutes:function(){return t.getRoutes().map((e=>e.record))},resolve:d,options:e,push:m,replace:function(e){return m(ai(h(e),{replace:!0}))},go:R,back:()=>R(-1),forward:()=>R(1),beforeEach:s.add,beforeResolve:i.add,afterEach:l.add,onError:O.add,isReady:function(){return S&&c.value!==Ri?Promise.resolve():new Promise(((e,t)=>{k.add([e,t])}))},install(e){e.component("RouterLink",wl),e.component("RouterView",Sl),e.config.globalProperties.$router=this,Object.defineProperty(e.config.globalProperties,"$route",{enumerable:!0,get:()=>wt(c)}),ci&&!T&&c.value===Ri&&(T=!0,m(r.location).catch((e=>{})));const t={};for(const o in Ri)t[o]=Cr((()=>c.value[o]));e.provide(si,this),e.provide(ii,ot(t)),e.provide(li,c);const n=e.unmount;M.add(e),e.unmount=function(){M.delete(e),M.size<1&&(a=Ri,C&&C(),C=null,c.value=Ri,T=!1,S=!1),n()}}};return L},H:function(e){return(e=location.host?e||location.pathname+location.search:"").includes("#")||(e+="#"),function(e){const t=function(e){const{history:t,location:n}=window,o={value:Ai(e,n)},r={value:t.state};function s(o,s,i){const l=e.indexOf("#"),c=l>-1?(n.host&&document.querySelector("base")?e:e.slice(l))+o:Oi()+e+o;try{t[i?"replaceState":"pushState"](s,"",c),r.value=s}catch(a){console.error(a),n[i?"replace":"assign"](c)}}function i(e,n){s(e,ai({},t.state,ji(r.value.back,e,r.value.forward,!0),n,{position:r.value.position}),!0),o.value=e}function l(e,n){const i=ai({},r.value,t.state,{forward:e,scroll:Ei()});s(i.current,i,!0),s(e,ai({},ji(o.value,e,null),{position:i.position+1},n),!1),o.value=e}return r.value||s(o.value,{back:null,current:o.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0),{location:o,state:r,push:l,replace:i}}(e=function(e){if(!e)if(ci){const t=document.querySelector("base");e=(e=t&&t.getAttribute("href")||"/").replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return"/"!==e[0]&&"#"!==e[0]&&(e="/"+e),di(e)}(e)),n=function(e,t,n,o){let r=[],s=[],i=null;const l=({state:s})=>{const l=Ai(e,location),c=n.value,a=t.value;let u=0;if(s){if(n.value=l,t.value=s,i&&i===c)return void(i=null);u=a?s.position-a.position:0}else o(l);r.forEach((e=>{e(n.value,c,{delta:u,type:bi.pop,direction:u?u>0?wi.forward:wi.back:wi.unknown})}))};function c(){i=n.value}function a(e){r.push(e);const t=()=>{const t=r.indexOf(e);t>-1&&r.splice(t,1)};return s.push(t),t}function u(){const{history:e}=window;e.state&&e.replaceState(ai({},e.state,{scroll:Ei()}),"")}function f(){for(const e of s)e();s=[],window.removeEventListener("popstate",l),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",l),window.addEventListener("beforeunload",u),{pauseListeners:c,listen:a,destroy:f}}(e,t.state,t.location,t.replace);function o(e,t=!0){t||n.pauseListeners(),history.go(e)}const r=ai({location:"",base:e,go:o,createHref:Ci.bind(null,e)},t,n);return Object.defineProperty(r,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(r,"state",{enumerable:!0,get:()=>t.state.value}),r}(e)},I:Wo,J:Qo,K:c,L:wt,M:function(e){return void 0===e&&(e=null),un(null!==e?e:js)},N:function(e){return new Y(e)},O:mt,P:yt,Q:function(e,t,n,o,r,s){return Ko(tr(e,t,n,o,r,s,!0))},R:on,S:tr,U:function(e,t,n,o){let r;const s=n&&n[o];if(C(e)||A(e)){r=new Array(e.length);for(let n=0,o=e.length;n<o;n++)r[n]=t(e[n],n,void 0,s&&s[n])}else if("number"==typeof e){r=new Array(e);for(let n=0;n<e;n++)r[n]=t(n+1,n,void 0,s&&s[n])}else if(P(e))if(e[Symbol.iterator])r=Array.from(e,((e,n)=>t(e,n,void 0,s&&s[n])));else{const n=Object.keys(e);r=new Array(n.length);for(let o=0,i=n.length;o<i;o++){const i=n[o];r[o]=t(e[i],i,o,s&&s[o])}}else r=[];return n&&(n[o]=r),r},V:function(e="",t=!1){return t?(Wo(),Qo(Bo,null,e)):nr(Bo,null,e)},W:function(){return un(si)},X:rr,Z:function(e,t,n={},o,r){if(en.isCE||en.parent&&kn(en.parent)&&en.parent.isCE)return nr("slot","default"===t?null:{name:t},o&&o());let s=e[t];s&&s._c&&(s._d=!1),Wo();const i=s&&Xn(s(n)),l=Qo(Uo,{key:n.key||`_${t}`},i||(o?o():[]),i&&1===e._?64:-2);return!r&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),s&&s._c&&(s._d=!0),l},_:function(){return un(ii)},a0:r,a1:function(){return function(){const e=dr();return e.setupContext||(e.setupContext=wr(e))}().slots},a2:function(e,t){const n=nr(Do,null,e);return n.staticCount=t,n},a3:function(e){return A(e)?Kn(Wn,e,!1)||e:e||Hn},a4:function(e){const t=un(oi,{}).value;t&&function(e,t,n){const o=()=>{e[t].delete(n)};Un(o),jn(o),An((()=>{e[t].add(n)})),e[t].add(n)}(t,"updateGuards",e)},b:Xo,d:Sn,e:function(e,t){const n=en;if(null===n)return e;const o=xr(n)||n.proxy,r=e.dirs||(e.dirs=[]);for(let s=0;s<t.length;s++){let[e,n,i,l=p]=t[s];O(e)&&(e={mounted:e,updated:e}),e.deep&&mn(n),r.push({dir:e,instance:o,value:n,oldValue:void 0,arg:i,modifiers:l})}return e},f:function(e){return Kn(zn,e)},h:Er,i:un,j:ot,n:An,p:an,q:jn,r:vt,s:Gt,t:function(e){const t=C(e)?new Array(e.length):{};for(const n in e)t[n]=St(e,n);return t},v:cr,w:pn});const n=t("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function o(e){return!!e||""===e}function r(e){if(C(e)){const t={};for(let n=0;n<e.length;n++){const o=e[n],s=A(o)?l(o):r(o);if(s)for(const e in s)t[e]=s[e]}return t}return A(e)||P(e)?e:void 0}const s=/;(?![^(]*\))/g,i=/:(.+)/;function l(e){const t={};return e.split(s).forEach((e=>{if(e){const n=e.split(i);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}function c(e){let t="";if(A(e))t=e;else if(C(e))for(let n=0;n<e.length;n++){const o=c(e[n]);o&&(t+=o+" ")}else if(P(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function a(e,t){if(e===t)return!0;let n=k(e),o=k(t);if(n||o)return!(!n||!o)&&e.getTime()===t.getTime();if(n=j(e),o=j(t),n||o)return e===t;if(n=C(e),o=C(t),n||o)return!(!n||!o)&&function(e,t){if(e.length!==t.length)return!1;let n=!0;for(let o=0;n&&o<e.length;o++)n=a(e[o],t[o]);return n}(e,t);if(n=P(e),o=P(t),n||o){if(!n||!o)return!1;if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e){const o=e.hasOwnProperty(n),r=t.hasOwnProperty(n);if(o&&!r||!o&&r||!a(e[n],t[n]))return!1}}return String(e)===String(t)}function u(e,t){return e.findIndex((e=>a(e,t)))}e("Y",(e=>A(e)?e:null==e?"":C(e)||P(e)&&(e.toString===T||!O(e.toString))?JSON.stringify(e,f,2):String(e)));const f=(e,t)=>t&&t.__v_isRef?f(e,t.value):E(t)?{[`Map(${t.size})`]:[...t.entries()].reduce(((e,[t,n])=>(e[`${t} =>`]=n,e)),{})}:S(t)?{[`Set(${t.size})`]:[...t.values()]}:!P(t)||C(t)||F(t)?t:String(t),p={},d=[],h=()=>{},g=()=>!1,m=/^on[^a-z]/,v=e=>m.test(e),y=e=>e.startsWith("onUpdate:"),_=Object.assign,b=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},w=Object.prototype.hasOwnProperty,x=(e,t)=>w.call(e,t),C=Array.isArray,E=e=>"[object Map]"===M(e),S=e=>"[object Set]"===M(e),k=e=>"[object Date]"===M(e),O=e=>"function"==typeof e,A=e=>"string"==typeof e,j=e=>"symbol"==typeof e,P=e=>null!==e&&"object"==typeof e,R=e=>P(e)&&O(e.then)&&O(e.catch),T=Object.prototype.toString,M=e=>T.call(e),L=e=>M(e).slice(8,-1),F=e=>"[object Object]"===M(e),I=e=>A(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,$=t(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),V=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},U=/-(\w)/g,N=V((e=>e.replace(U,((e,t)=>t?t.toUpperCase():"")))),B=/\B([A-Z])/g,D=V((e=>e.replace(B,"-$1").toLowerCase())),G=V((e=>e.charAt(0).toUpperCase()+e.slice(1))),q=V((e=>e?`on${G(e)}`:"")),W=(e,t)=>!Object.is(e,t),z=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},H=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},K=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let Q;const X=()=>Q||(Q="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{});let J;class Y{constructor(e=!1){this.active=!0,this.effects=[],this.cleanups=[],!e&&J&&(this.parent=J,this.index=(J.scopes||(J.scopes=[])).push(this)-1)}run(e){if(this.active){const t=J;try{return J=this,e()}finally{J=t}}}on(){J=this}off(){J=this.parent}stop(e){if(this.active){let t,n;for(t=0,n=this.effects.length;t<n;t++)this.effects[t].stop();for(t=0,n=this.cleanups.length;t<n;t++)this.cleanups[t]();if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].stop(!0);if(this.parent&&!e){const e=this.parent.scopes.pop();e&&e!==this&&(this.parent.scopes[this.index]=e,e.index=this.index)}this.active=!1}}}const Z=e=>{const t=new Set(e);return t.w=0,t.n=0,t},ee=e=>(e.w&re)>0,te=e=>(e.n&re)>0,ne=new WeakMap;let oe=0,re=1;const se=30;let ie;const le=Symbol(""),ce=Symbol("");class ae{constructor(e,t=null,n){this.fn=e,this.scheduler=t,this.active=!0,this.deps=[],this.parent=void 0,function(e,t=J){t&&t.active&&t.effects.push(e)}(this,n)}run(){if(!this.active)return this.fn();let e=ie,t=fe;for(;e;){if(e===this)return;e=e.parent}try{return this.parent=ie,ie=this,fe=!0,re=1<<++oe,oe<=se?(({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=re})(this):ue(this),this.fn()}finally{oe<=se&&(e=>{const{deps:t}=e;if(t.length){let n=0;for(let o=0;o<t.length;o++){const r=t[o];ee(r)&&!te(r)?r.delete(e):t[n++]=r,r.w&=~re,r.n&=~re}t.length=n}})(this),re=1<<--oe,ie=this.parent,fe=t,this.parent=void 0,this.deferStop&&this.stop()}}stop(){ie===this?this.deferStop=!0:this.active&&(ue(this),this.onStop&&this.onStop(),this.active=!1)}}function ue(e){const{deps:t}=e;if(t.length){for(let n=0;n<t.length;n++)t[n].delete(e);t.length=0}}let fe=!0;const pe=[];function de(){pe.push(fe),fe=!1}function he(){const e=pe.pop();fe=void 0===e||e}function ge(e,t,n){if(fe&&ie){let t=ne.get(e);t||ne.set(e,t=new Map);let o=t.get(n);o||t.set(n,o=Z()),me(o)}}function me(e,t){let n=!1;oe<=se?te(e)||(e.n|=re,n=!ee(e)):n=!e.has(ie),n&&(e.add(ie),ie.deps.push(e))}function ve(e,t,n,o,r,s){const i=ne.get(e);if(!i)return;let l=[];if("clear"===t)l=[...i.values()];else if("length"===n&&C(e))i.forEach(((e,t)=>{("length"===t||t>=o)&&l.push(e)}));else switch(void 0!==n&&l.push(i.get(n)),t){case"add":C(e)?I(n)&&l.push(i.get("length")):(l.push(i.get(le)),E(e)&&l.push(i.get(ce)));break;case"delete":C(e)||(l.push(i.get(le)),E(e)&&l.push(i.get(ce)));break;case"set":E(e)&&l.push(i.get(le))}if(1===l.length)l[0]&&ye(l[0]);else{const e=[];for(const t of l)t&&e.push(...t);ye(Z(e))}}function ye(e,t){const n=C(e)?e:[...e];for(const o of n)o.computed&&_e(o);for(const o of n)o.computed||_e(o)}function _e(e,t){(e!==ie||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}const be=t("__proto__,__v_isRef,__isVue"),we=new Set(Object.getOwnPropertyNames(Symbol).filter((e=>"arguments"!==e&&"caller"!==e)).map((e=>Symbol[e])).filter(j)),xe=Oe(),Ce=Oe(!1,!0),Ee=Oe(!0),Se=ke();function ke(){const e={};return["includes","indexOf","lastIndexOf"].forEach((t=>{e[t]=function(...e){const n=ut(this);for(let t=0,r=this.length;t<r;t++)ge(n,0,t+"");const o=n[t](...e);return-1===o||!1===o?n[t](...e.map(ut)):o}})),["push","pop","shift","unshift","splice"].forEach((t=>{e[t]=function(...e){de();const n=ut(this)[t].apply(this,e);return he(),n}})),e}function Oe(e=!1,t=!1){return function(n,o,r){if("__v_isReactive"===o)return!e;if("__v_isReadonly"===o)return e;if("__v_isShallow"===o)return t;if("__v_raw"===o&&r===(e?t?nt:tt:t?et:Ze).get(n))return n;const s=C(n);if(!e&&s&&x(Se,o))return Reflect.get(Se,o,r);const i=Reflect.get(n,o,r);return(j(o)?we.has(o):be(o))?i:(e||ge(n,0,o),t?i:mt(i)?s&&I(o)?i:i.value:P(i)?e?rt(i):ot(i):i)}}function Ae(e=!1){return function(t,n,o,r){let s=t[n];if(lt(s)&&mt(s)&&!mt(o))return!1;if(!e&&!lt(o)&&(ct(o)||(o=ut(o),s=ut(s)),!C(t)&&mt(s)&&!mt(o)))return s.value=o,!0;const i=C(t)&&I(n)?Number(n)<t.length:x(t,n),l=Reflect.set(t,n,o,r);return t===ut(r)&&(i?W(o,s)&&ve(t,"set",n,o):ve(t,"add",n,o)),l}}const je={get:xe,set:Ae(),deleteProperty:function(e,t){const n=x(e,t);e[t];const o=Reflect.deleteProperty(e,t);return o&&n&&ve(e,"delete",t,void 0),o},has:function(e,t){const n=Reflect.has(e,t);return j(t)&&we.has(t)||ge(e,0,t),n},ownKeys:function(e){return ge(e,0,C(e)?"length":le),Reflect.ownKeys(e)}},Pe={get:Ee,set:(e,t)=>!0,deleteProperty:(e,t)=>!0},Re=_({},je,{get:Ce,set:Ae(!0)}),Te=e=>e,Me=e=>Reflect.getPrototypeOf(e);function Le(e,t,n=!1,o=!1){const r=ut(e=e.__v_raw),s=ut(t);n||(t!==s&&ge(r,0,t),ge(r,0,s));const{has:i}=Me(r),l=o?Te:n?dt:pt;return i.call(r,t)?l(e.get(t)):i.call(r,s)?l(e.get(s)):void(e!==r&&e.get(t))}function Fe(e,t=!1){const n=this.__v_raw,o=ut(n),r=ut(e);return t||(e!==r&&ge(o,0,e),ge(o,0,r)),e===r?n.has(e):n.has(e)||n.has(r)}function Ie(e,t=!1){return e=e.__v_raw,!t&&ge(ut(e),0,le),Reflect.get(e,"size",e)}function $e(e){e=ut(e);const t=ut(this);return Me(t).has.call(t,e)||(t.add(e),ve(t,"add",e,e)),this}function Ve(e,t){t=ut(t);const n=ut(this),{has:o,get:r}=Me(n);let s=o.call(n,e);s||(e=ut(e),s=o.call(n,e));const i=r.call(n,e);return n.set(e,t),s?W(t,i)&&ve(n,"set",e,t):ve(n,"add",e,t),this}function Ue(e){const t=ut(this),{has:n,get:o}=Me(t);let r=n.call(t,e);r||(e=ut(e),r=n.call(t,e)),o&&o.call(t,e);const s=t.delete(e);return r&&ve(t,"delete",e,void 0),s}function Ne(){const e=ut(this),t=0!==e.size,n=e.clear();return t&&ve(e,"clear",void 0,void 0),n}function Be(e,t){return function(n,o){const r=this,s=r.__v_raw,i=ut(s),l=t?Te:e?dt:pt;return!e&&ge(i,0,le),s.forEach(((e,t)=>n.call(o,l(e),l(t),r)))}}function De(e,t,n){return function(...o){const r=this.__v_raw,s=ut(r),i=E(s),l="entries"===e||e===Symbol.iterator&&i,c="keys"===e&&i,a=r[e](...o),u=n?Te:t?dt:pt;return!t&&ge(s,0,c?ce:le),{next(){const{value:e,done:t}=a.next();return t?{value:e,done:t}:{value:l?[u(e[0]),u(e[1])]:u(e),done:t}},[Symbol.iterator](){return this}}}}function Ge(e){return function(...t){return"delete"!==e&&this}}function qe(){const e={get(e){return Le(this,e)},get size(){return Ie(this)},has:Fe,add:$e,set:Ve,delete:Ue,clear:Ne,forEach:Be(!1,!1)},t={get(e){return Le(this,e,!1,!0)},get size(){return Ie(this)},has:Fe,add:$e,set:Ve,delete:Ue,clear:Ne,forEach:Be(!1,!0)},n={get(e){return Le(this,e,!0)},get size(){return Ie(this,!0)},has(e){return Fe.call(this,e,!0)},add:Ge("add"),set:Ge("set"),delete:Ge("delete"),clear:Ge("clear"),forEach:Be(!0,!1)},o={get(e){return Le(this,e,!0,!0)},get size(){return Ie(this,!0)},has(e){return Fe.call(this,e,!0)},add:Ge("add"),set:Ge("set"),delete:Ge("delete"),clear:Ge("clear"),forEach:Be(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach((r=>{e[r]=De(r,!1,!1),n[r]=De(r,!0,!1),t[r]=De(r,!1,!0),o[r]=De(r,!0,!0)})),[e,n,t,o]}const[We,ze,He,Ke]=qe();function Qe(e,t){const n=t?e?Ke:He:e?ze:We;return(t,o,r)=>"__v_isReactive"===o?!e:"__v_isReadonly"===o?e:"__v_raw"===o?t:Reflect.get(x(n,o)&&o in t?n:t,o,r)}const Xe={get:Qe(!1,!1)},Je={get:Qe(!1,!0)},Ye={get:Qe(!0,!1)},Ze=new WeakMap,et=new WeakMap,tt=new WeakMap,nt=new WeakMap;function ot(e){return lt(e)?e:st(e,!1,je,Xe,Ze)}function rt(e){return st(e,!0,Pe,Ye,tt)}function st(e,t,n,o,r){if(!P(e))return e;if(e.__v_raw&&(!t||!e.__v_isReactive))return e;const s=r.get(e);if(s)return s;const i=(l=e).__v_skip||!Object.isExtensible(l)?0:function(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}(L(l));var l;if(0===i)return e;const c=new Proxy(e,2===i?o:n);return r.set(e,c),c}function it(e){return lt(e)?it(e.__v_raw):!(!e||!e.__v_isReactive)}function lt(e){return!(!e||!e.__v_isReadonly)}function ct(e){return!(!e||!e.__v_isShallow)}function at(e){return it(e)||lt(e)}function ut(e){const t=e&&e.__v_raw;return t?ut(t):e}function ft(e){return H(e,"__v_skip",!0),e}const pt=e=>P(e)?ot(e):e,dt=e=>P(e)?rt(e):e;function ht(e){fe&&ie&&me((e=ut(e)).dep||(e.dep=Z()))}function gt(e,t){(e=ut(e)).dep&&ye(e.dep)}function mt(e){return!(!e||!0!==e.__v_isRef)}function vt(e){return _t(e,!1)}function yt(e){return _t(e,!0)}function _t(e,t){return mt(e)?e:new bt(e,t)}class bt{constructor(e,t){this.__v_isShallow=t,this.dep=void 0,this.__v_isRef=!0,this._rawValue=t?e:ut(e),this._value=t?e:pt(e)}get value(){return ht(this),this._value}set value(e){e=this.__v_isShallow?e:ut(e),W(e,this._rawValue)&&(this._rawValue=e,this._value=this.__v_isShallow?e:pt(e),gt(this))}}function wt(e){return mt(e)?e.value:e}const xt={get:(e,t,n)=>wt(Reflect.get(e,t,n)),set:(e,t,n,o)=>{const r=e[t];return mt(r)&&!mt(n)?(r.value=n,!0):Reflect.set(e,t,n,o)}};function Ct(e){return it(e)?e:new Proxy(e,xt)}class Et{constructor(e,t,n){this._object=e,this._key=t,this._defaultValue=n,this.__v_isRef=!0}get value(){const e=this._object[this._key];return void 0===e?this._defaultValue:e}set value(e){this._object[this._key]=e}}function St(e,t,n){const o=e[t];return mt(o)?o:new Et(e,t,n)}class kt{constructor(e,t,n,o){this._setter=t,this.dep=void 0,this.__v_isRef=!0,this._dirty=!0,this.effect=new ae(e,(()=>{this._dirty||(this._dirty=!0,gt(this))})),this.effect.computed=this,this.effect.active=this._cacheable=!o,this.__v_isReadonly=n}get value(){const e=ut(this);return ht(e),!e._dirty&&e._cacheable||(e._dirty=!1,e._value=e.effect.run()),e._value}set value(e){this._setter(e)}}function Ot(e,t,n,o){let r;try{r=o?e(...o):e()}catch(s){jt(s,t,n)}return r}function At(e,t,n,o){if(O(e)){const r=Ot(e,t,n,o);return r&&R(r)&&r.catch((e=>{jt(e,t,n)})),r}const r=[];for(let s=0;s<e.length;s++)r.push(At(e[s],t,n,o));return r}function jt(e,t,n,o=!0){if(t&&t.vnode,t){let o=t.parent;const r=t.proxy,s=n;for(;o;){const t=o.ec;if(t)for(let n=0;n<t.length;n++)if(!1===t[n](e,r,s))return;o=o.parent}const i=t.appContext.config.errorHandler;if(i)return void Ot(i,null,10,[e,r,s])}!function(e,t,n,o=!0){console.error(e)}(e,0,0,o)}let Pt=!1,Rt=!1;const Tt=[];let Mt=0;const Lt=[];let Ft=null,It=0;const $t=[];let Vt=null,Ut=0;const Nt=Promise.resolve();let Bt=null,Dt=null;function Gt(e){const t=Bt||Nt;return e?t.then(this?e.bind(this):e):t}function qt(e){Tt.length&&Tt.includes(e,Pt&&e.allowRecurse?Mt+1:Mt)||e===Dt||(null==e.id?Tt.push(e):Tt.splice(function(e){let t=Mt+1,n=Tt.length;for(;t<n;){const o=t+n>>>1;Qt(Tt[o])<e?t=o+1:n=o}return t}(e.id),0,e),Wt())}function Wt(){Pt||Rt||(Rt=!0,Bt=Nt.then(Xt))}function zt(e,t,n,o){C(e)?n.push(...e):t&&t.includes(e,e.allowRecurse?o+1:o)||n.push(e),Wt()}function Ht(e,t=null){if(Lt.length){for(Dt=t,Ft=[...new Set(Lt)],Lt.length=0,It=0;It<Ft.length;It++)Ft[It]();Ft=null,It=0,Dt=null,Ht(e,t)}}function Kt(e){if(Ht(),$t.length){const e=[...new Set($t)];if($t.length=0,Vt)return void Vt.push(...e);for(Vt=e,Vt.sort(((e,t)=>Qt(e)-Qt(t))),Ut=0;Ut<Vt.length;Ut++)Vt[Ut]();Vt=null,Ut=0}}const Qt=e=>null==e.id?1/0:e.id;function Xt(e){Rt=!1,Pt=!0,Ht(e),Tt.sort(((e,t)=>Qt(e)-Qt(t)));try{for(Mt=0;Mt<Tt.length;Mt++){const e=Tt[Mt];e&&!1!==e.active&&Ot(e,null,14)}}finally{Mt=0,Tt.length=0,Kt(),Pt=!1,Bt=null,(Tt.length||Lt.length||$t.length)&&Xt(e)}}function Jt(e,t,...n){if(e.isUnmounted)return;const o=e.vnode.props||p;let r=n;const s=t.startsWith("update:"),i=s&&t.slice(7);if(i&&i in o){const e=`${"modelValue"===i?"model":i}Modifiers`,{number:t,trim:s}=o[e]||p;s&&(r=n.map((e=>e.trim()))),t&&(r=n.map(K))}let l,c=o[l=q(t)]||o[l=q(N(t))];!c&&s&&(c=o[l=q(D(t))]),c&&At(c,e,6,r);const a=o[l+"Once"];if(a){if(e.emitted){if(e.emitted[l])return}else e.emitted={};e.emitted[l]=!0,At(a,e,6,r)}}function Yt(e,t,n=!1){const o=t.emitsCache,r=o.get(e);if(void 0!==r)return r;const s=e.emits;let i={},l=!1;if(!O(e)){const o=e=>{const n=Yt(e,t,!0);n&&(l=!0,_(i,n))};!n&&t.mixins.length&&t.mixins.forEach(o),e.extends&&o(e.extends),e.mixins&&e.mixins.forEach(o)}return s||l?(C(s)?s.forEach((e=>i[e]=null)):_(i,s),o.set(e,i),i):(o.set(e,null),null)}function Zt(e,t){return!(!e||!v(t))&&(t=t.slice(2).replace(/Once$/,""),x(e,t[0].toLowerCase()+t.slice(1))||x(e,D(t))||x(e,t))}let en=null,tn=null;function nn(e){const t=en;return en=e,tn=e&&e.type.__scopeId||null,t}function on(e,t=en,n){if(!t)return e;if(e._n)return e;const o=(...n)=>{o._d&&Ho(-1);const r=nn(t),s=e(...n);return nn(r),o._d&&Ho(1),s};return o._n=!0,o._c=!0,o._d=!0,o}function rn(e){const{type:t,vnode:n,proxy:o,withProxy:r,props:s,propsOptions:[i],slots:l,attrs:c,emit:a,render:u,renderCache:f,data:p,setupState:d,ctx:h,inheritAttrs:g}=e;let m,v;const _=nn(e);try{if(4&n.shapeFlag){const e=r||o;m=sr(u.call(e,e,f,s,d,p,h)),v=c}else{const e=t;m=sr(e.length>1?e(s,{attrs:c,slots:l,emit:a}):e(s,null)),v=t.props?c:sn(c)}}catch(w){Go.length=0,jt(w,e,1),m=nr(Bo)}let b=m;if(v&&!1!==g){const e=Object.keys(v),{shapeFlag:t}=b;e.length&&7&t&&(i&&e.some(y)&&(v=ln(v,i)),b=or(b,v))}return n.dirs&&(b=or(b),b.dirs=b.dirs?b.dirs.concat(n.dirs):n.dirs),n.transition&&(b.transition=n.transition),m=b,nn(_),m}const sn=e=>{let t;for(const n in e)("class"===n||"style"===n||v(n))&&((t||(t={}))[n]=e[n]);return t},ln=(e,t)=>{const n={};for(const o in e)y(o)&&o.slice(9)in t||(n[o]=e[o]);return n};function cn(e,t,n){const o=Object.keys(t);if(o.length!==Object.keys(e).length)return!0;for(let r=0;r<o.length;r++){const s=o[r];if(t[s]!==e[s]&&!Zt(n,s))return!0}return!1}function an(e,t){if(pr){let n=pr.provides;const o=pr.parent&&pr.parent.provides;o===n&&(n=pr.provides=Object.create(o)),n[e]=t}}function un(e,t,n=!1){const o=pr||en;if(o){const r=null==o.parent?o.vnode.appContext&&o.vnode.appContext.provides:o.parent.provides;if(r&&e in r)return r[e];if(arguments.length>1)return n&&O(t)?t.call(o.proxy):t}}const fn={};function pn(e,t,n){return dn(e,t,n)}function dn(e,t,{immediate:n,deep:o,flush:r,onTrack:s,onTrigger:i}=p){const l=pr;let c,a,u=!1,f=!1;if(mt(e)?(c=()=>e.value,u=ct(e)):it(e)?(c=()=>e,o=!0):C(e)?(f=!0,u=e.some((e=>it(e)||ct(e))),c=()=>e.map((e=>mt(e)?e.value:it(e)?mn(e):O(e)?Ot(e,l,2):void 0))):c=O(e)?t?()=>Ot(e,l,2):()=>{if(!l||!l.isUnmounted)return a&&a(),At(e,l,3,[d])}:h,t&&o){const e=c;c=()=>mn(e())}let d=e=>{a=y.onStop=()=>{Ot(e,l,4)}};if(yr)return d=h,t?n&&At(t,l,3,[c(),f?[]:void 0,d]):c(),h;let g=f?[]:fn;const m=()=>{if(y.active)if(t){const e=y.run();(o||u||(f?e.some(((e,t)=>W(e,g[t]))):W(e,g)))&&(a&&a(),At(t,l,3,[e,g===fn?void 0:g,d]),g=e)}else y.run()};let v;m.allowRecurse=!!t,v="sync"===r?m:"post"===r?()=>Ro(m,l&&l.suspense):()=>function(e){zt(e,Ft,Lt,It)}(m);const y=new ae(c,v);return t?n?m():g=y.run():"post"===r?Ro(y.run.bind(y),l&&l.suspense):y.run(),()=>{y.stop(),l&&l.scope&&b(l.scope.effects,y)}}function hn(e,t,n){const o=this.proxy,r=A(e)?e.includes(".")?gn(o,e):()=>o[e]:e.bind(o,o);let s;O(t)?s=t:(s=t.handler,n=t);const i=pr;hr(this);const l=dn(r,s.bind(o),n);return i?hr(i):gr(),l}function gn(e,t){const n=t.split(".");return()=>{let t=e;for(let e=0;e<n.length&&t;e++)t=t[n[e]];return t}}function mn(e,t){if(!P(e)||e.__v_skip)return e;if((t=t||new Set).has(e))return e;if(t.add(e),mt(e))mn(e.value,t);else if(C(e))for(let n=0;n<e.length;n++)mn(e[n],t);else if(S(e)||E(e))e.forEach((e=>{mn(e,t)}));else if(F(e))for(const n in e)mn(e[n],t);return e}const vn=[Function,Array],yn={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:vn,onEnter:vn,onAfterEnter:vn,onEnterCancelled:vn,onBeforeLeave:vn,onLeave:vn,onAfterLeave:vn,onLeaveCancelled:vn,onBeforeAppear:vn,onAppear:vn,onAfterAppear:vn,onAppearCancelled:vn},setup(e,{slots:t}){const n=dr(),o=function(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Fn((()=>{e.isMounted=!0})),Vn((()=>{e.isUnmounting=!0})),e}();let r;return()=>{const s=t.default&&En(t.default(),!0);if(!s||!s.length)return;let i=s[0];if(s.length>1)for(const e of s)if(e.type!==Bo){i=e;break}const l=ut(e),{mode:c}=l;if(o.isLeaving)return wn(i);const a=xn(i);if(!a)return wn(i);const u=bn(a,l,o,n);Cn(a,u);const f=n.subTree,p=f&&xn(f);let d=!1;const{getTransitionKey:h}=a.type;if(h){const e=h();void 0===r?r=e:e!==r&&(r=e,d=!0)}if(p&&p.type!==Bo&&(!Jo(a,p)||d)){const e=bn(p,l,o,n);if(Cn(p,e),"out-in"===c)return o.isLeaving=!0,e.afterLeave=()=>{o.isLeaving=!1,n.update()},wn(i);"in-out"===c&&a.type!==Bo&&(e.delayLeave=(e,t,n)=>{_n(o,p)[String(p.key)]=p,e._leaveCb=()=>{t(),e._leaveCb=void 0,delete u.delayedLeave},u.delayedLeave=n})}return i}}};function _n(e,t){const{leavingVNodes:n}=e;let o=n.get(t.type);return o||(o=Object.create(null),n.set(t.type,o)),o}function bn(e,t,n,o){const{appear:r,mode:s,persisted:i=!1,onBeforeEnter:l,onEnter:c,onAfterEnter:a,onEnterCancelled:u,onBeforeLeave:f,onLeave:p,onAfterLeave:d,onLeaveCancelled:h,onBeforeAppear:g,onAppear:m,onAfterAppear:v,onAppearCancelled:y}=t,_=String(e.key),b=_n(n,e),w=(e,t)=>{e&&At(e,o,9,t)},x=(e,t)=>{const n=t[1];w(e,t),C(e)?e.every((e=>e.length<=1))&&n():e.length<=1&&n()},E={mode:s,persisted:i,beforeEnter(t){let o=l;if(!n.isMounted){if(!r)return;o=g||l}t._leaveCb&&t._leaveCb(!0);const s=b[_];s&&Jo(e,s)&&s.el._leaveCb&&s.el._leaveCb(),w(o,[t])},enter(e){let t=c,o=a,s=u;if(!n.isMounted){if(!r)return;t=m||c,o=v||a,s=y||u}let i=!1;const l=e._enterCb=t=>{i||(i=!0,w(t?s:o,[e]),E.delayedLeave&&E.delayedLeave(),e._enterCb=void 0)};t?x(t,[e,l]):l()},leave(t,o){const r=String(e.key);if(t._enterCb&&t._enterCb(!0),n.isUnmounting)return o();w(f,[t]);let s=!1;const i=t._leaveCb=n=>{s||(s=!0,o(),w(n?h:d,[t]),t._leaveCb=void 0,b[r]===e&&delete b[r])};b[r]=e,p?x(p,[t,i]):i()},clone:e=>bn(e,t,n,o)};return E}function wn(e){if(On(e))return(e=or(e)).children=null,e}function xn(e){return On(e)?e.children?e.children[0]:void 0:e}function Cn(e,t){6&e.shapeFlag&&e.component?Cn(e.component.subTree,t):128&e.shapeFlag?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function En(e,t=!1,n){let o=[],r=0;for(let s=0;s<e.length;s++){let i=e[s];const l=null==n?i.key:String(n)+String(null!=i.key?i.key:s);i.type===Uo?(128&i.patchFlag&&r++,o=o.concat(En(i.children,t,l))):(t||i.type!==Bo)&&o.push(null!=l?or(i,{key:l}):i)}if(r>1)for(let s=0;s<o.length;s++)o[s].patchFlag=-2;return o}function Sn(e){return O(e)?{setup:e,name:e.name}:e}const kn=e=>!!e.type.__asyncLoader,On=e=>e.type.__isKeepAlive;function An(e,t){Pn(e,"a",t)}function jn(e,t){Pn(e,"da",t)}function Pn(e,t,n=pr){const o=e.__wdc||(e.__wdc=()=>{let t=n;for(;t;){if(t.isDeactivated)return;t=t.parent}return e()});if(Tn(t,o,n),n){let e=n.parent;for(;e&&e.parent;)On(e.parent.vnode)&&Rn(o,t,n,e),e=e.parent}}function Rn(e,t,n,o){const r=Tn(t,e,o,!0);Un((()=>{b(o[t],r)}),n)}function Tn(e,t,n=pr,o=!1){if(n){const r=n[e]||(n[e]=[]),s=t.__weh||(t.__weh=(...o)=>{if(n.isUnmounted)return;de(),hr(n);const r=At(t,n,e,o);return gr(),he(),r});return o?r.unshift(s):r.push(s),s}}const Mn=e=>(t,n=pr)=>(!yr||"sp"===e)&&Tn(e,t,n),Ln=e("u",Mn("bm")),Fn=e("o",Mn("m")),In=Mn("bu"),$n=e("B",Mn("u")),Vn=e("m",Mn("bum")),Un=e("l",Mn("um")),Nn=Mn("sp"),Bn=Mn("rtg"),Dn=Mn("rtc");function Gn(e,t=pr){Tn("ec",e,t)}function qn(e,t,n,o){const r=e.dirs,s=t&&t.dirs;for(let i=0;i<r.length;i++){const l=r[i];s&&(l.oldValue=s[i].value);let c=l.dir[o];c&&(de(),At(c,n,8,[e.el,l,e,t]),he())}}const Wn="components",zn="directives",Hn=Symbol();function Kn(e,t,n=!0,o=!1){const r=en||pr;if(r){const n=r.type;if(e===Wn){const e=function(e,t=!0){return O(e)?e.displayName||e.name:e.name||t&&e.__name}(n,!1);if(e&&(e===t||e===N(t)||e===G(N(t))))return n}const s=Qn(r[e]||n[e],t)||Qn(r.appContext[e],t);return!s&&o?n:s}}function Qn(e,t){return e&&(e[t]||e[N(t)]||e[G(N(t))])}function Xn(e){return e.some((e=>!Xo(e)||e.type!==Bo&&!(e.type===Uo&&!Xn(e.children))))?e:null}const Jn=e=>e?mr(e)?xr(e)||e.proxy:Jn(e.parent):null,Yn=_(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Jn(e.parent),$root:e=>Jn(e.root),$emit:e=>e.emit,$options:e=>ro(e),$forceUpdate:e=>e.f||(e.f=()=>qt(e.update)),$nextTick:e=>e.n||(e.n=Gt.bind(e.proxy)),$watch:e=>hn.bind(e)}),Zn={get({_:e},t){const{ctx:n,setupState:o,data:r,props:s,accessCache:i,type:l,appContext:c}=e;let a;if("$"!==t[0]){const l=i[t];if(void 0!==l)switch(l){case 1:return o[t];case 2:return r[t];case 4:return n[t];case 3:return s[t]}else{if(o!==p&&x(o,t))return i[t]=1,o[t];if(r!==p&&x(r,t))return i[t]=2,r[t];if((a=e.propsOptions[0])&&x(a,t))return i[t]=3,s[t];if(n!==p&&x(n,t))return i[t]=4,n[t];eo&&(i[t]=0)}}const u=Yn[t];let f,d;return u?("$attrs"===t&&ge(e,0,t),u(e)):(f=l.__cssModules)&&(f=f[t])?f:n!==p&&x(n,t)?(i[t]=4,n[t]):(d=c.config.globalProperties,x(d,t)?d[t]:void 0)},set({_:e},t,n){const{data:o,setupState:r,ctx:s}=e;return r!==p&&x(r,t)?(r[t]=n,!0):o!==p&&x(o,t)?(o[t]=n,!0):!(x(e.props,t)||"$"===t[0]&&t.slice(1)in e||(s[t]=n,0))},has({_:{data:e,setupState:t,accessCache:n,ctx:o,appContext:r,propsOptions:s}},i){let l;return!!n[i]||e!==p&&x(e,i)||t!==p&&x(t,i)||(l=s[0])&&x(l,i)||x(o,i)||x(Yn,i)||x(r.config.globalProperties,i)},defineProperty(e,t,n){return null!=n.get?e._.accessCache[t]=0:x(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};let eo=!0;function to(e){const t=ro(e),n=e.proxy,o=e.ctx;eo=!1,t.beforeCreate&&no(t.beforeCreate,e,"bc");const{data:r,computed:s,methods:i,watch:l,provide:c,inject:a,created:u,beforeMount:f,mounted:p,beforeUpdate:d,updated:g,activated:m,deactivated:v,beforeDestroy:y,beforeUnmount:_,destroyed:b,unmounted:w,render:x,renderTracked:E,renderTriggered:S,errorCaptured:k,serverPrefetch:A,expose:j,inheritAttrs:R,components:T,directives:M,filters:L}=t;if(a&&function(e,t,n=h,o=!1){C(e)&&(e=co(e));for(const r in e){const n=e[r];let s;s=P(n)?"default"in n?un(n.from||r,n.default,!0):un(n.from||r):un(n),mt(s)&&o?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>s.value,set:e=>s.value=e}):t[r]=s}}(a,o,null,e.appContext.config.unwrapInjectedRef),i)for(const h in i){const e=i[h];O(e)&&(o[h]=e.bind(n))}if(r){const t=r.call(n,n);P(t)&&(e.data=ot(t))}if(eo=!0,s)for(const C in s){const e=s[C],t=O(e)?e.bind(n,n):O(e.get)?e.get.bind(n,n):h,r=!O(e)&&O(e.set)?e.set.bind(n):h,i=Cr({get:t,set:r});Object.defineProperty(o,C,{enumerable:!0,configurable:!0,get:()=>i.value,set:e=>i.value=e})}if(l)for(const h in l)oo(l[h],o,n,h);if(c){const e=O(c)?c.call(n):c;Reflect.ownKeys(e).forEach((t=>{an(t,e[t])}))}function F(e,t){C(t)?t.forEach((t=>e(t.bind(n)))):t&&e(t.bind(n))}if(u&&no(u,e,"c"),F(Ln,f),F(Fn,p),F(In,d),F($n,g),F(An,m),F(jn,v),F(Gn,k),F(Dn,E),F(Bn,S),F(Vn,_),F(Un,w),F(Nn,A),C(j))if(j.length){const t=e.exposed||(e.exposed={});j.forEach((e=>{Object.defineProperty(t,e,{get:()=>n[e],set:t=>n[e]=t})}))}else e.exposed||(e.exposed={});x&&e.render===h&&(e.render=x),null!=R&&(e.inheritAttrs=R),T&&(e.components=T),M&&(e.directives=M)}function no(e,t,n){At(C(e)?e.map((e=>e.bind(t.proxy))):e.bind(t.proxy),t,n)}function oo(e,t,n,o){const r=o.includes(".")?gn(n,o):()=>n[o];if(A(e)){const n=t[e];O(n)&&pn(r,n)}else if(O(e))pn(r,e.bind(n));else if(P(e))if(C(e))e.forEach((e=>oo(e,t,n,o)));else{const o=O(e.handler)?e.handler.bind(n):t[e.handler];O(o)&&pn(r,o,e)}}function ro(e){const t=e.type,{mixins:n,extends:o}=t,{mixins:r,optionsCache:s,config:{optionMergeStrategies:i}}=e.appContext,l=s.get(t);let c;return l?c=l:r.length||n||o?(c={},r.length&&r.forEach((e=>so(c,e,i,!0))),so(c,t,i)):c=t,s.set(t,c),c}function so(e,t,n,o=!1){const{mixins:r,extends:s}=t;s&&so(e,s,n,!0),r&&r.forEach((t=>so(e,t,n,!0)));for(const i in t)if(o&&"expose"===i);else{const o=io[i]||n&&n[i];e[i]=o?o(e[i],t[i]):t[i]}return e}const io={data:lo,props:uo,emits:uo,methods:uo,computed:uo,beforeCreate:ao,created:ao,beforeMount:ao,mounted:ao,beforeUpdate:ao,updated:ao,beforeDestroy:ao,beforeUnmount:ao,destroyed:ao,unmounted:ao,activated:ao,deactivated:ao,errorCaptured:ao,serverPrefetch:ao,components:uo,directives:uo,watch:function(e,t){if(!e)return t;if(!t)return e;const n=_(Object.create(null),e);for(const o in t)n[o]=ao(e[o],t[o]);return n},provide:lo,inject:function(e,t){return uo(co(e),co(t))}};function lo(e,t){return t?e?function(){return _(O(e)?e.call(this,this):e,O(t)?t.call(this,this):t)}:t:e}function co(e){if(C(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function ao(e,t){return e?[...new Set([].concat(e,t))]:t}function uo(e,t){return e?_(_(Object.create(null),e),t):t}function fo(e,t,n,o=!1){const r={},s={};H(s,Yo,1),e.propsDefaults=Object.create(null),po(e,t,r,s);for(const i in e.propsOptions[0])i in r||(r[i]=void 0);n?e.props=o?r:st(r,!1,Re,Je,et):e.type.props?e.props=r:e.props=s,e.attrs=s}function po(e,t,n,o){const[r,s]=e.propsOptions;let i,l=!1;if(t)for(let c in t){if($(c))continue;const a=t[c];let u;r&&x(r,u=N(c))?s&&s.includes(u)?(i||(i={}))[u]=a:n[u]=a:Zt(e.emitsOptions,c)||c in o&&a===o[c]||(o[c]=a,l=!0)}if(s){const t=ut(n),o=i||p;for(let i=0;i<s.length;i++){const l=s[i];n[l]=ho(r,t,l,o[l],e,!x(o,l))}}return l}function ho(e,t,n,o,r,s){const i=e[n];if(null!=i){const e=x(i,"default");if(e&&void 0===o){const e=i.default;if(i.type!==Function&&O(e)){const{propsDefaults:s}=r;n in s?o=s[n]:(hr(r),o=s[n]=e.call(null,t),gr())}else o=e}i[0]&&(s&&!e?o=!1:!i[1]||""!==o&&o!==D(n)||(o=!0))}return o}function go(e,t,n=!1){const o=t.propsCache,r=o.get(e);if(r)return r;const s=e.props,i={},l=[];let c=!1;if(!O(e)){const o=e=>{c=!0;const[n,o]=go(e,t,!0);_(i,n),o&&l.push(...o)};!n&&t.mixins.length&&t.mixins.forEach(o),e.extends&&o(e.extends),e.mixins&&e.mixins.forEach(o)}if(!s&&!c)return o.set(e,d),d;if(C(s))for(let u=0;u<s.length;u++){const e=N(s[u]);mo(e)&&(i[e]=p)}else if(s)for(const u in s){const e=N(u);if(mo(e)){const t=s[u],n=i[e]=C(t)||O(t)?{type:t}:t;if(n){const t=_o(Boolean,n.type),o=_o(String,n.type);n[0]=t>-1,n[1]=o<0||t<o,(t>-1||x(n,"default"))&&l.push(e)}}}const a=[i,l];return o.set(e,a),a}function mo(e){return"$"!==e[0]}function vo(e){const t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:null===e?"null":""}function yo(e,t){return vo(e)===vo(t)}function _o(e,t){return C(t)?t.findIndex((t=>yo(t,e))):O(t)&&yo(t,e)?0:-1}const bo=e=>"_"===e[0]||"$stable"===e,wo=e=>C(e)?e.map(sr):[sr(e)],xo=(e,t,n)=>{if(t._n)return t;const o=on(((...e)=>wo(t(...e))),n);return o._c=!1,o},Co=(e,t,n)=>{const o=e._ctx;for(const r in e){if(bo(r))continue;const n=e[r];if(O(n))t[r]=xo(0,n,o);else if(null!=n){const e=wo(n);t[r]=()=>e}}},Eo=(e,t)=>{const n=wo(t);e.slots.default=()=>n},So=(e,t)=>{if(32&e.vnode.shapeFlag){const n=t._;n?(e.slots=ut(t),H(t,"_",n)):Co(t,e.slots={})}else e.slots={},t&&Eo(e,t);H(e.slots,Yo,1)},ko=(e,t,n)=>{const{vnode:o,slots:r}=e;let s=!0,i=p;if(32&o.shapeFlag){const e=t._;e?n&&1===e?s=!1:(_(r,t),n||1!==e||delete r._):(s=!t.$stable,Co(t,r)),i=t}else t&&(Eo(e,t),i={default:1});if(s)for(const l in r)bo(l)||l in i||delete r[l]};function Oo(){return{app:null,config:{isNativeTag:g,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let Ao=0;function jo(e,t){return function(n,o=null){O(n)||(n=Object.assign({},n)),null==o||P(o)||(o=null);const r=Oo(),s=new Set;let i=!1;const l=r.app={_uid:Ao++,_component:n,_props:o,_container:null,_context:r,_instance:null,version:Sr,get config(){return r.config},set config(e){},use:(e,...t)=>(s.has(e)||(e&&O(e.install)?(s.add(e),e.install(l,...t)):O(e)&&(s.add(e),e(l,...t))),l),mixin:e=>(r.mixins.includes(e)||r.mixins.push(e),l),component:(e,t)=>t?(r.components[e]=t,l):r.components[e],directive:(e,t)=>t?(r.directives[e]=t,l):r.directives[e],mount(s,c,a){if(!i){const u=nr(n,o);return u.appContext=r,c&&t?t(u,s):e(u,s,a),i=!0,l._container=s,s.__vue_app__=l,xr(u.component)||u.component.proxy}},unmount(){i&&(e(null,l._container),delete l._container.__vue_app__)},provide:(e,t)=>(r.provides[e]=t,l)};return l}}function Po(e,t,n,o,r=!1){if(C(e))return void e.forEach(((e,s)=>Po(e,t&&(C(t)?t[s]:t),n,o,r)));if(kn(o)&&!r)return;const s=4&o.shapeFlag?xr(o.component)||o.component.proxy:o.el,i=r?null:s,{i:l,r:c}=e,a=t&&t.r,u=l.refs===p?l.refs={}:l.refs,f=l.setupState;if(null!=a&&a!==c&&(A(a)?(u[a]=null,x(f,a)&&(f[a]=null)):mt(a)&&(a.value=null)),O(c))Ot(c,l,12,[i,u]);else{const t=A(c),o=mt(c);if(t||o){const l=()=>{if(e.f){const n=t?u[c]:c.value;r?C(n)&&b(n,s):C(n)?n.includes(s)||n.push(s):t?(u[c]=[s],x(f,c)&&(f[c]=u[c])):(c.value=[s],e.k&&(u[e.k]=c.value))}else t?(u[c]=i,x(f,c)&&(f[c]=i)):o&&(c.value=i,e.k&&(u[e.k]=i))};i?(l.id=-1,Ro(l,n)):l()}}}const Ro=function(e,t){t&&t.pendingBranch?C(e)?t.effects.push(...e):t.effects.push(e):zt(e,Vt,$t,Ut)};function To(e){return function(e,t){X().__VUE__=!0;const{insert:n,remove:o,patchProp:r,createElement:s,createText:i,createComment:l,setText:c,setElementText:a,parentNode:u,nextSibling:f,setScopeId:g=h,cloneNode:m,insertStaticContent:v}=e,y=(e,t,n,o=null,r=null,s=null,i=!1,l=null,c=!!t.dynamicChildren)=>{if(e===t)return;e&&!Jo(e,t)&&(o=ee(e),H(e,r,s,!0),e=null),-2===t.patchFlag&&(c=!1,t.dynamicChildren=null);const{type:a,ref:u,shapeFlag:f}=t;switch(a){case No:_(e,t,n,o);break;case Bo:b(e,t,n,o);break;case Do:null==e&&w(t,n,o,i);break;case Uo:M(e,t,n,o,r,s,i,l,c);break;default:1&f?S(e,t,n,o,r,s,i,l,c):6&f?L(e,t,n,o,r,s,i,l,c):(64&f||128&f)&&a.process(e,t,n,o,r,s,i,l,c,ne)}null!=u&&r&&Po(u,e&&e.ref,s,t||e,!t)},_=(e,t,o,r)=>{if(null==e)n(t.el=i(t.children),o,r);else{const n=t.el=e.el;t.children!==e.children&&c(n,t.children)}},b=(e,t,o,r)=>{null==e?n(t.el=l(t.children||""),o,r):t.el=e.el},w=(e,t,n,o)=>{[e.el,e.anchor]=v(e.children,t,n,o,e.el,e.anchor)},C=({el:e,anchor:t},o,r)=>{let s;for(;e&&e!==t;)s=f(e),n(e,o,r),e=s;n(t,o,r)},E=({el:e,anchor:t})=>{let n;for(;e&&e!==t;)n=f(e),o(e),e=n;o(t)},S=(e,t,n,o,r,s,i,l,c)=>{i=i||"svg"===t.type,null==e?k(t,n,o,r,s,i,l,c):j(e,t,r,s,i,l,c)},k=(e,t,o,i,l,c,u,f)=>{let p,d;const{type:h,props:g,shapeFlag:v,transition:y,patchFlag:_,dirs:b}=e;if(e.el&&void 0!==m&&-1===_)p=e.el=m(e.el);else{if(p=e.el=s(e.type,c,g&&g.is,g),8&v?a(p,e.children):16&v&&A(e.children,p,null,i,l,c&&"foreignObject"!==h,u,f),b&&qn(e,null,i,"created"),g){for(const t in g)"value"===t||$(t)||r(p,t,null,g[t],c,e.children,i,l,Z);"value"in g&&r(p,"value",null,g.value),(d=g.onVnodeBeforeMount)&&ar(d,i,e)}O(p,e,e.scopeId,u,i)}b&&qn(e,null,i,"beforeMount");const w=(!l||l&&!l.pendingBranch)&&y&&!y.persisted;w&&y.beforeEnter(p),n(p,t,o),((d=g&&g.onVnodeMounted)||w||b)&&Ro((()=>{d&&ar(d,i,e),w&&y.enter(p),b&&qn(e,null,i,"mounted")}),l)},O=(e,t,n,o,r)=>{if(n&&g(e,n),o)for(let s=0;s<o.length;s++)g(e,o[s]);if(r&&t===r.subTree){const t=r.vnode;O(e,t,t.scopeId,t.slotScopeIds,r.parent)}},A=(e,t,n,o,r,s,i,l,c=0)=>{for(let a=c;a<e.length;a++){const c=e[a]=l?ir(e[a]):sr(e[a]);y(null,c,t,n,o,r,s,i,l)}},j=(e,t,n,o,s,i,l)=>{const c=t.el=e.el;let{patchFlag:u,dynamicChildren:f,dirs:d}=t;u|=16&e.patchFlag;const h=e.props||p,g=t.props||p;let m;n&&Mo(n,!1),(m=g.onVnodeBeforeUpdate)&&ar(m,n,t,e),d&&qn(t,e,n,"beforeUpdate"),n&&Mo(n,!0);const v=s&&"foreignObject"!==t.type;if(f?P(e.dynamicChildren,f,c,n,o,v,i):l||B(e,t,c,null,n,o,v,i,!1),u>0){if(16&u)T(c,t,h,g,n,o,s);else if(2&u&&h.class!==g.class&&r(c,"class",null,g.class,s),4&u&&r(c,"style",h.style,g.style,s),8&u){const i=t.dynamicProps;for(let t=0;t<i.length;t++){const l=i[t],a=h[l],u=g[l];u===a&&"value"!==l||r(c,l,a,u,s,e.children,n,o,Z)}}1&u&&e.children!==t.children&&a(c,t.children)}else l||null!=f||T(c,t,h,g,n,o,s);((m=g.onVnodeUpdated)||d)&&Ro((()=>{m&&ar(m,n,t,e),d&&qn(t,e,n,"updated")}),o)},P=(e,t,n,o,r,s,i)=>{for(let l=0;l<t.length;l++){const c=e[l],a=t[l],f=c.el&&(c.type===Uo||!Jo(c,a)||70&c.shapeFlag)?u(c.el):n;y(c,a,f,null,o,r,s,i,!0)}},T=(e,t,n,o,s,i,l)=>{if(n!==o){for(const c in o){if($(c))continue;const a=o[c],u=n[c];a!==u&&"value"!==c&&r(e,c,u,a,l,t.children,s,i,Z)}if(n!==p)for(const c in n)$(c)||c in o||r(e,c,n[c],null,l,t.children,s,i,Z);"value"in o&&r(e,"value",n.value,o.value)}},M=(e,t,o,r,s,l,c,a,u)=>{const f=t.el=e?e.el:i(""),p=t.anchor=e?e.anchor:i("");let{patchFlag:d,dynamicChildren:h,slotScopeIds:g}=t;g&&(a=a?a.concat(g):g),null==e?(n(f,o,r),n(p,o,r),A(t.children,o,p,s,l,c,a,u)):d>0&&64&d&&h&&e.dynamicChildren?(P(e.dynamicChildren,h,o,s,l,c,a),(null!=t.key||s&&t===s.subTree)&&Lo(e,t,!0)):B(e,t,o,p,s,l,c,a,u)},L=(e,t,n,o,r,s,i,l,c)=>{t.slotScopeIds=l,null==e?512&t.shapeFlag?r.ctx.activate(t,n,o,i,c):F(t,n,o,r,s,i,c):I(e,t,c)},F=(e,t,n,o,r,s,i)=>{const l=e.component=function(e,t,n){const o=e.type,r=(t?t.appContext:e.appContext)||ur,s={uid:fr++,vnode:e,type:o,parent:t,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,scope:new Y(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(r.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:go(o,r),emitsOptions:Yt(o,r),emit:null,emitted:null,propsDefaults:p,inheritAttrs:o.inheritAttrs,ctx:p,data:p,props:p,attrs:p,slots:p,refs:p,setupState:p,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return s.ctx={_:s},s.root=t?t.root:s,s.emit=Jt.bind(null,s),e.ce&&e.ce(s),s}(e,o,r);if(On(e)&&(l.ctx.renderer=ne),function(e,t=!1){yr=t;const{props:n,children:o}=e.vnode,r=mr(e);fo(e,n,r,t),So(e,o);r&&function(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=ft(new Proxy(e.ctx,Zn));const{setup:o}=n;if(o){const n=e.setupContext=o.length>1?wr(e):null;hr(e),de();const r=Ot(o,e,0,[e.props,n]);if(he(),gr(),R(r)){if(r.then(gr,gr),t)return r.then((n=>{_r(e,n,t)})).catch((t=>{jt(t,e,0)}));e.asyncDep=r}else _r(e,r,t)}else br(e,t)}(e,t);yr=!1}(l),l.asyncDep){if(r&&r.registerDep(l,V),!e.el){const e=l.subTree=nr(Bo);b(null,e,t,n)}}else V(l,e,t,n,r,s,i)},I=(e,t,n)=>{const o=t.component=e.component;if(function(e,t,n){const{props:o,children:r,component:s}=e,{props:i,children:l,patchFlag:c}=t,a=s.emitsOptions;if(t.dirs||t.transition)return!0;if(!(n&&c>=0))return!(!r&&!l||l&&l.$stable)||o!==i&&(o?!i||cn(o,i,a):!!i);if(1024&c)return!0;if(16&c)return o?cn(o,i,a):!!i;if(8&c){const e=t.dynamicProps;for(let t=0;t<e.length;t++){const n=e[t];if(i[n]!==o[n]&&!Zt(a,n))return!0}}return!1}(e,t,n)){if(o.asyncDep&&!o.asyncResolved)return void U(o,t,n);o.next=t,function(e){const t=Tt.indexOf(e);t>Mt&&Tt.splice(t,1)}(o.update),o.update()}else t.el=e.el,o.vnode=t},V=(e,t,n,o,r,s,i)=>{const l=()=>{if(e.isMounted){let t,{next:n,bu:o,u:l,parent:c,vnode:a}=e,f=n;Mo(e,!1),n?(n.el=a.el,U(e,n,i)):n=a,o&&z(o),(t=n.props&&n.props.onVnodeBeforeUpdate)&&ar(t,c,n,a),Mo(e,!0);const p=rn(e),d=e.subTree;e.subTree=p,y(d,p,u(d.el),ee(d),e,r,s),n.el=p.el,null===f&&function({vnode:e,parent:t},n){for(;t&&t.subTree===e;)(e=t.vnode).el=n,t=t.parent}(e,p.el),l&&Ro(l,r),(t=n.props&&n.props.onVnodeUpdated)&&Ro((()=>ar(t,c,n,a)),r)}else{let i;const{el:l,props:c}=t,{bm:a,m:u,parent:f}=e,p=kn(t);if(Mo(e,!1),a&&z(a),!p&&(i=c&&c.onVnodeBeforeMount)&&ar(i,f,t),Mo(e,!0),l&&re){const n=()=>{e.subTree=rn(e),re(l,e.subTree,e,r,null)};p?t.type.__asyncLoader().then((()=>!e.isUnmounted&&n())):n()}else{const i=e.subTree=rn(e);y(null,i,n,o,e,r,s),t.el=i.el}if(u&&Ro(u,r),!p&&(i=c&&c.onVnodeMounted)){const e=t;Ro((()=>ar(i,f,e)),r)}(256&t.shapeFlag||f&&kn(f.vnode)&&256&f.vnode.shapeFlag)&&e.a&&Ro(e.a,r),e.isMounted=!0,t=n=o=null}},c=e.effect=new ae(l,(()=>qt(a)),e.scope),a=e.update=()=>c.run();a.id=e.uid,Mo(e,!0),a()},U=(e,t,n)=>{t.component=e;const o=e.vnode.props;e.vnode=t,e.next=null,function(e,t,n,o){const{props:r,attrs:s,vnode:{patchFlag:i}}=e,l=ut(r),[c]=e.propsOptions;let a=!1;if(!(o||i>0)||16&i){let o;po(e,t,r,s)&&(a=!0);for(const s in l)t&&(x(t,s)||(o=D(s))!==s&&x(t,o))||(c?!n||void 0===n[s]&&void 0===n[o]||(r[s]=ho(c,l,s,void 0,e,!0)):delete r[s]);if(s!==l)for(const e in s)t&&x(t,e)||(delete s[e],a=!0)}else if(8&i){const n=e.vnode.dynamicProps;for(let o=0;o<n.length;o++){let i=n[o];if(Zt(e.emitsOptions,i))continue;const u=t[i];if(c)if(x(s,i))u!==s[i]&&(s[i]=u,a=!0);else{const t=N(i);r[t]=ho(c,l,t,u,e,!1)}else u!==s[i]&&(s[i]=u,a=!0)}}a&&ve(e,"set","$attrs")}(e,t.props,o,n),ko(e,t.children,n),de(),Ht(void 0,e.update),he()},B=(e,t,n,o,r,s,i,l,c=!1)=>{const u=e&&e.children,f=e?e.shapeFlag:0,p=t.children,{patchFlag:d,shapeFlag:h}=t;if(d>0){if(128&d)return void q(u,p,n,o,r,s,i,l,c);if(256&d)return void G(u,p,n,o,r,s,i,l,c)}8&h?(16&f&&Z(u,r,s),p!==u&&a(n,p)):16&f?16&h?q(u,p,n,o,r,s,i,l,c):Z(u,r,s,!0):(8&f&&a(n,""),16&h&&A(p,n,o,r,s,i,l,c))},G=(e,t,n,o,r,s,i,l,c)=>{t=t||d;const a=(e=e||d).length,u=t.length,f=Math.min(a,u);let p;for(p=0;p<f;p++){const o=t[p]=c?ir(t[p]):sr(t[p]);y(e[p],o,n,null,r,s,i,l,c)}a>u?Z(e,r,s,!0,!1,f):A(t,n,o,r,s,i,l,c,f)},q=(e,t,n,o,r,s,i,l,c)=>{let a=0;const u=t.length;let f=e.length-1,p=u-1;for(;a<=f&&a<=p;){const o=e[a],u=t[a]=c?ir(t[a]):sr(t[a]);if(!Jo(o,u))break;y(o,u,n,null,r,s,i,l,c),a++}for(;a<=f&&a<=p;){const o=e[f],a=t[p]=c?ir(t[p]):sr(t[p]);if(!Jo(o,a))break;y(o,a,n,null,r,s,i,l,c),f--,p--}if(a>f){if(a<=p){const e=p+1,f=e<u?t[e].el:o;for(;a<=p;)y(null,t[a]=c?ir(t[a]):sr(t[a]),n,f,r,s,i,l,c),a++}}else if(a>p)for(;a<=f;)H(e[a],r,s,!0),a++;else{const h=a,g=a,m=new Map;for(a=g;a<=p;a++){const e=t[a]=c?ir(t[a]):sr(t[a]);null!=e.key&&m.set(e.key,a)}let v,_=0;const b=p-g+1;let w=!1,x=0;const C=new Array(b);for(a=0;a<b;a++)C[a]=0;for(a=h;a<=f;a++){const o=e[a];if(_>=b){H(o,r,s,!0);continue}let u;if(null!=o.key)u=m.get(o.key);else for(v=g;v<=p;v++)if(0===C[v-g]&&Jo(o,t[v])){u=v;break}void 0===u?H(o,r,s,!0):(C[u-g]=a+1,u>=x?x=u:w=!0,y(o,t[u],n,null,r,s,i,l,c),_++)}const E=w?function(e){const t=e.slice(),n=[0];let o,r,s,i,l;const c=e.length;for(o=0;o<c;o++){const c=e[o];if(0!==c){if(r=n[n.length-1],e[r]<c){t[o]=r,n.push(o);continue}for(s=0,i=n.length-1;s<i;)l=s+i>>1,e[n[l]]<c?s=l+1:i=l;c<e[n[s]]&&(s>0&&(t[o]=n[s-1]),n[s]=o)}}for(s=n.length,i=n[s-1];s-- >0;)n[s]=i,i=t[i];return n}(C):d;for(v=E.length-1,a=b-1;a>=0;a--){const e=g+a,f=t[e],p=e+1<u?t[e+1].el:o;0===C[a]?y(null,f,n,p,r,s,i,l,c):w&&(v<0||a!==E[v]?W(f,n,p,2):v--)}}},W=(e,t,o,r,s=null)=>{const{el:i,type:l,transition:c,children:a,shapeFlag:u}=e;if(6&u)W(e.component.subTree,t,o,r);else if(128&u)e.suspense.move(t,o,r);else if(64&u)l.move(e,t,o,ne);else if(l!==Uo)if(l!==Do)if(2!==r&&1&u&&c)if(0===r)c.beforeEnter(i),n(i,t,o),Ro((()=>c.enter(i)),s);else{const{leave:e,delayLeave:r,afterLeave:s}=c,l=()=>n(i,t,o),a=()=>{e(i,(()=>{l(),s&&s()}))};r?r(i,l,a):a()}else n(i,t,o);else C(e,t,o);else{n(i,t,o);for(let e=0;e<a.length;e++)W(a[e],t,o,r);n(e.anchor,t,o)}},H=(e,t,n,o=!1,r=!1)=>{const{type:s,props:i,ref:l,children:c,dynamicChildren:a,shapeFlag:u,patchFlag:f,dirs:p}=e;if(null!=l&&Po(l,null,n,e,!0),256&u)return void t.ctx.deactivate(e);const d=1&u&&p,h=!kn(e);let g;if(h&&(g=i&&i.onVnodeBeforeUnmount)&&ar(g,t,e),6&u)J(e.component,n,o);else{if(128&u)return void e.suspense.unmount(n,o);d&&qn(e,null,t,"beforeUnmount"),64&u?e.type.remove(e,t,n,r,ne,o):a&&(s!==Uo||f>0&&64&f)?Z(a,t,n,!1,!0):(s===Uo&&384&f||!r&&16&u)&&Z(c,t,n),o&&K(e)}(h&&(g=i&&i.onVnodeUnmounted)||d)&&Ro((()=>{g&&ar(g,t,e),d&&qn(e,null,t,"unmounted")}),n)},K=e=>{const{type:t,el:n,anchor:r,transition:s}=e;if(t===Uo)return void Q(n,r);if(t===Do)return void E(e);const i=()=>{o(n),s&&!s.persisted&&s.afterLeave&&s.afterLeave()};if(1&e.shapeFlag&&s&&!s.persisted){const{leave:t,delayLeave:o}=s,r=()=>t(n,i);o?o(e.el,i,r):r()}else i()},Q=(e,t)=>{let n;for(;e!==t;)n=f(e),o(e),e=n;o(t)},J=(e,t,n)=>{const{bum:o,scope:r,update:s,subTree:i,um:l}=e;o&&z(o),r.stop(),s&&(s.active=!1,H(i,e,t,n)),l&&Ro(l,t),Ro((()=>{e.isUnmounted=!0}),t),t&&t.pendingBranch&&!t.isUnmounted&&e.asyncDep&&!e.asyncResolved&&e.suspenseId===t.pendingId&&(t.deps--,0===t.deps&&t.resolve())},Z=(e,t,n,o=!1,r=!1,s=0)=>{for(let i=s;i<e.length;i++)H(e[i],t,n,o,r)},ee=e=>6&e.shapeFlag?ee(e.component.subTree):128&e.shapeFlag?e.suspense.next():f(e.anchor||e.el),te=(e,t,n)=>{null==e?t._vnode&&H(t._vnode,null,null,!0):y(t._vnode||null,e,t,null,null,null,n),Kt(),t._vnode=e},ne={p:y,um:H,m:W,r:K,mt:F,mc:A,pc:B,pbc:P,n:ee,o:e};let oe,re;return t&&([oe,re]=t(ne)),{render:te,hydrate:oe,createApp:jo(te,oe)}}(e)}function Mo({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function Lo(e,t,n=!1){const o=e.children,r=t.children;if(C(o)&&C(r))for(let s=0;s<o.length;s++){const e=o[s];let t=r[s];1&t.shapeFlag&&!t.dynamicChildren&&((t.patchFlag<=0||32===t.patchFlag)&&(t=r[s]=ir(r[s]),t.el=e.el),n||Lo(e,t))}}const Fo=e=>e&&(e.disabled||""===e.disabled),Io=e=>"undefined"!=typeof SVGElement&&e instanceof SVGElement,$o=(e,t)=>{const n=e&&e.to;return A(n)?t?t(n):null:n};function Vo(e,t,n,{o:{insert:o},m:r},s=2){0===s&&o(e.targetAnchor,t,n);const{el:i,anchor:l,shapeFlag:c,children:a,props:u}=e,f=2===s;if(f&&o(i,t,n),(!f||Fo(u))&&16&c)for(let p=0;p<a.length;p++)r(a[p],t,n,2);f&&o(l,t,n)}e("x",{__isTeleport:!0,process(e,t,n,o,r,s,i,l,c,a){const{mc:u,pc:f,pbc:p,o:{insert:d,querySelector:h,createText:g,createComment:m}}=a,v=Fo(t.props);let{shapeFlag:y,children:_,dynamicChildren:b}=t;if(null==e){const e=t.el=g(""),a=t.anchor=g("");d(e,n,o),d(a,n,o);const f=t.target=$o(t.props,h),p=t.targetAnchor=g("");f&&(d(p,f),i=i||Io(f));const m=(e,t)=>{16&y&&u(_,e,t,r,s,i,l,c)};v?m(n,a):f&&m(f,p)}else{t.el=e.el;const o=t.anchor=e.anchor,u=t.target=e.target,d=t.targetAnchor=e.targetAnchor,g=Fo(e.props),m=g?n:u,y=g?o:d;if(i=i||Io(u),b?(p(e.dynamicChildren,b,m,r,s,i,l),Lo(e,t,!0)):c||f(e,t,m,y,r,s,i,l,!1),v)g||Vo(t,n,o,a,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const e=t.target=$o(t.props,h);e&&Vo(t,e,null,a,0)}else g&&Vo(t,u,d,a,1)}},remove(e,t,n,o,{um:r,o:{remove:s}},i){const{shapeFlag:l,children:c,anchor:a,targetAnchor:u,target:f,props:p}=e;if(f&&s(u),(i||!Fo(p))&&(s(a),16&l))for(let d=0;d<c.length;d++){const e=c[d];r(e,t,n,!0,!!e.dynamicChildren)}},move:Vo,hydrate:function(e,t,n,o,r,s,{o:{nextSibling:i,parentNode:l,querySelector:c}},a){const u=t.target=$o(t.props,c);if(u){const c=u._lpa||u.firstChild;if(16&t.shapeFlag)if(Fo(t.props))t.anchor=a(i(e),t,l(e),n,o,r,s),t.targetAnchor=c;else{t.anchor=i(e);let l=c;for(;l;)if(l=i(l),l&&8===l.nodeType&&"teleport anchor"===l.data){t.targetAnchor=l,u._lpa=t.targetAnchor&&i(t.targetAnchor);break}a(c,t,u,n,o,r,s)}}return t.anchor&&i(t.anchor)}});const Uo=e("F",Symbol(void 0)),No=e("T",Symbol(void 0)),Bo=Symbol(void 0),Do=Symbol(void 0),Go=[];let qo=null;function Wo(e=!1){Go.push(qo=e?null:[])}let zo=1;function Ho(e){zo+=e}function Ko(e){return e.dynamicChildren=zo>0?qo||d:null,Go.pop(),qo=Go[Go.length-1]||null,zo>0&&qo&&qo.push(e),e}function Qo(e,t,n,o,r){return Ko(nr(e,t,n,o,r,!0))}function Xo(e){return!!e&&!0===e.__v_isVNode}function Jo(e,t){return e.type===t.type&&e.key===t.key}const Yo="__vInternal",Zo=({key:e})=>null!=e?e:null,er=({ref:e,ref_key:t,ref_for:n})=>null!=e?A(e)||mt(e)||O(e)?{i:en,r:e,k:t,f:!!n}:e:null;function tr(e,t=null,n=null,o=0,r=null,s=(e===Uo?0:1),i=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Zo(t),ref:t&&er(t),scopeId:tn,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:s,patchFlag:o,dynamicProps:r,dynamicChildren:null,appContext:null};return l?(lr(c,n),128&s&&e.normalize(c)):n&&(c.shapeFlag|=A(n)?8:16),zo>0&&!i&&qo&&(c.patchFlag>0||6&s)&&32!==c.patchFlag&&qo.push(c),c}const nr=e("a",(function(e,t=null,n=null,o=0,s=null,i=!1){if(e&&e!==Hn||(e=Bo),Xo(e)){const o=or(e,t,!0);return n&&lr(o,n),zo>0&&!i&&qo&&(6&o.shapeFlag?qo[qo.indexOf(e)]=o:qo.push(o)),o.patchFlag|=-2,o}var l;if(O(l=e)&&"__vccOpts"in l&&(e=e.__vccOpts),t){t=function(e){return e?at(e)||Yo in e?_({},e):e:null}(t);let{class:e,style:n}=t;e&&!A(e)&&(t.class=c(e)),P(n)&&(at(n)&&!C(n)&&(n=_({},n)),t.style=r(n))}const a=A(e)?1:(e=>e.__isSuspense)(e)?128:(e=>e.__isTeleport)(e)?64:P(e)?4:O(e)?2:0;return tr(e,t,n,o,s,a,i,!0)}));function or(e,t,n=!1){const{props:o,ref:r,patchFlag:s,children:i}=e,l=t?cr(o||{},t):o;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&Zo(l),ref:t&&t.ref?n&&r?C(r)?r.concat(er(t)):[r,er(t)]:er(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:i,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Uo?-1===s?16:16|s:s,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&or(e.ssContent),ssFallback:e.ssFallback&&or(e.ssFallback),el:e.el,anchor:e.anchor}}function rr(e=" ",t=0){return nr(No,null,e,t)}function sr(e){return null==e||"boolean"==typeof e?nr(Bo):C(e)?nr(Uo,null,e.slice()):"object"==typeof e?ir(e):nr(No,null,String(e))}function ir(e){return null===e.el||e.memo?e:or(e)}function lr(e,t){let n=0;const{shapeFlag:o}=e;if(null==t)t=null;else if(C(t))n=16;else if("object"==typeof t){if(65&o){const n=t.default;return void(n&&(n._c&&(n._d=!1),lr(e,n()),n._c&&(n._d=!0)))}{n=32;const o=t._;o||Yo in t?3===o&&en&&(1===en.slots._?t._=1:(t._=2,e.patchFlag|=1024)):t._ctx=en}}else O(t)?(t={default:t,_ctx:en},n=32):(t=String(t),64&o?(n=16,t=[rr(t)]):n=8);e.children=t,e.shapeFlag|=n}function cr(...e){const t={};for(let n=0;n<e.length;n++){const o=e[n];for(const e in o)if("class"===e)t.class!==o.class&&(t.class=c([t.class,o.class]));else if("style"===e)t.style=r([t.style,o.style]);else if(v(e)){const n=t[e],r=o[e];!r||n===r||C(n)&&n.includes(r)||(t[e]=n?[].concat(n,r):r)}else""!==e&&(t[e]=o[e])}return t}function ar(e,t,n,o=null){At(e,t,7,[n,o])}const ur=Oo();let fr=0,pr=null;const dr=e("g",(()=>pr||en)),hr=e=>{pr=e,e.scope.on()},gr=()=>{pr&&pr.scope.off(),pr=null};function mr(e){return 4&e.vnode.shapeFlag}let vr,yr=!1;function _r(e,t,n){O(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:P(t)&&(e.setupState=Ct(t)),br(e,n)}function br(e,t,n){const o=e.type;if(!e.render){if(!t&&vr&&!o.render){const t=o.template;if(t){const{isCustomElement:n,compilerOptions:r}=e.appContext.config,{delimiters:s,compilerOptions:i}=o,l=_(_({isCustomElement:n,delimiters:s},r),i);o.render=vr(t,l)}}e.render=o.render||h}hr(e),de(),to(e),he(),gr()}function wr(e){const t=t=>{e.exposed=t||{}};let n;return{get attrs(){return n||(n=function(e){return new Proxy(e.attrs,{get:(t,n)=>(ge(e,0,"$attrs"),t[n])})}(e))},slots:e.slots,emit:e.emit,expose:t}}function xr(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Ct(ft(e.exposed)),{get:(t,n)=>n in t?t[n]:n in Yn?Yn[n](e):void 0}))}const Cr=e("c",((e,t)=>function(e,t,n=!1){let o,r;const s=O(e);return s?(o=e,r=h):(o=e.get,r=e.set),new kt(o,r,s||!r,n)}(e,0,yr)));function Er(e,t,n){const o=arguments.length;return 2===o?P(t)&&!C(t)?Xo(t)?nr(e,null,[t]):nr(e,t):nr(e,null,t):(o>3?n=Array.prototype.slice.call(arguments,2):3===o&&Xo(n)&&(n=[n]),nr(e,t,n))}const Sr="3.2.37",kr="undefined"!=typeof document?document:null,Or=kr&&kr.createElement("template"),Ar={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,o)=>{const r=t?kr.createElementNS("http://www.w3.org/2000/svg",e):kr.createElement(e,n?{is:n}:void 0);return"select"===e&&o&&null!=o.multiple&&r.setAttribute("multiple",o.multiple),r},createText:e=>kr.createTextNode(e),createComment:e=>kr.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>kr.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},cloneNode(e){const t=e.cloneNode(!0);return"_value"in e&&(t._value=e._value),t},insertStaticContent(e,t,n,o,r,s){const i=n?n.previousSibling:t.lastChild;if(r&&(r===s||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),r!==s&&(r=r.nextSibling););else{Or.innerHTML=o?`<svg>${e}</svg>`:e;const r=Or.content;if(o){const e=r.firstChild;for(;e.firstChild;)r.appendChild(e.firstChild);r.removeChild(e)}t.insertBefore(r,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},jr=/\s*!important$/;function Pr(e,t,n){if(C(n))n.forEach((n=>Pr(e,t,n)));else if(null==n&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const o=function(e,t){const n=Tr[t];if(n)return n;let o=N(t);if("filter"!==o&&o in e)return Tr[t]=o;o=G(o);for(let r=0;r<Rr.length;r++){const n=Rr[r]+o;if(n in e)return Tr[t]=n}return t}(e,t);jr.test(n)?e.setProperty(D(o),n.replace(jr,""),"important"):e[o]=n}}const Rr=["Webkit","Moz","ms"],Tr={},Mr="http://www.w3.org/1999/xlink",[Lr,Fr]=(()=>{let e=Date.now,t=!1;if("undefined"!=typeof window){Date.now()>document.createEvent("Event").timeStamp&&(e=performance.now.bind(performance));const n=navigator.userAgent.match(/firefox\/(\d+)/i);t=!!(n&&Number(n[1])<=53)}return[e,t]})();let Ir=0;const $r=Promise.resolve(),Vr=()=>{Ir=0},Ur=()=>Ir||($r.then(Vr),Ir=Lr());function Nr(e,t,n,o){e.addEventListener(t,n,o)}function Br(e,t,n,o,r=null){const s=e._vei||(e._vei={}),i=s[t];if(o&&i)i.value=o;else{const[n,l]=function(e){let t;if(Dr.test(e)){let n;for(t={};n=e.match(Dr);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[D(e.slice(2)),t]}(t);if(o){const i=s[t]=function(e,t){const n=e=>{const o=e.timeStamp||Lr();(Fr||o>=n.attached-1)&&At(function(e,t){if(C(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map((e=>t=>!t._stopped&&e&&e(t)))}return t}(e,n.value),t,5,[e])};return n.value=e,n.attached=Ur(),n}(o,r);Nr(e,n,i,l)}else i&&(function(e,t,n,o){e.removeEventListener(t,n,o)}(e,n,i,l),s[t]=void 0)}}const Dr=/(?:Once|Passive|Capture)$/,Gr=/^on[a-z]/,qr="transition",Wr="animation",zr=e("y",((e,{slots:t})=>Er(yn,function(e){const t={};for(const _ in e)_ in Hr||(t[_]=e[_]);if(!1===e.css)return t;const{name:n="v",type:o,duration:r,enterFromClass:s=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:c=s,appearActiveClass:a=i,appearToClass:u=l,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:p=`${n}-leave-active`,leaveToClass:d=`${n}-leave-to`}=e,h=function(e){if(null==e)return null;if(P(e))return[Xr(e.enter),Xr(e.leave)];{const t=Xr(e);return[t,t]}}(r),g=h&&h[0],m=h&&h[1],{onBeforeEnter:v,onEnter:y,onEnterCancelled:b,onLeave:w,onLeaveCancelled:x,onBeforeAppear:C=v,onAppear:E=y,onAppearCancelled:S=b}=t,k=(e,t,n)=>{Yr(e,t?u:l),Yr(e,t?a:i),n&&n()},O=(e,t)=>{e._isLeaving=!1,Yr(e,f),Yr(e,d),Yr(e,p),t&&t()},A=e=>(t,n)=>{const r=e?E:y,i=()=>k(t,e,n);Kr(r,[t,i]),Zr((()=>{Yr(t,e?c:s),Jr(t,e?u:l),Qr(r)||ts(t,o,g,i)}))};return _(t,{onBeforeEnter(e){Kr(v,[e]),Jr(e,s),Jr(e,i)},onBeforeAppear(e){Kr(C,[e]),Jr(e,c),Jr(e,a)},onEnter:A(!1),onAppear:A(!0),onLeave(e,t){e._isLeaving=!0;const n=()=>O(e,t);Jr(e,f),document.body.offsetHeight,Jr(e,p),Zr((()=>{e._isLeaving&&(Yr(e,f),Jr(e,d),Qr(w)||ts(e,o,m,n))})),Kr(w,[e,n])},onEnterCancelled(e){k(e,!1),Kr(b,[e])},onAppearCancelled(e){k(e,!0),Kr(S,[e])},onLeaveCancelled(e){O(e),Kr(x,[e])}})}(e),t)));zr.displayName="Transition";const Hr={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String};zr.props=_({},yn.props,Hr);const Kr=(e,t=[])=>{C(e)?e.forEach((e=>e(...t))):e&&e(...t)},Qr=e=>!!e&&(C(e)?e.some((e=>e.length>1)):e.length>1);function Xr(e){return K(e)}function Jr(e,t){t.split(/\s+/).forEach((t=>t&&e.classList.add(t))),(e._vtc||(e._vtc=new Set)).add(t)}function Yr(e,t){t.split(/\s+/).forEach((t=>t&&e.classList.remove(t)));const{_vtc:n}=e;n&&(n.delete(t),n.size||(e._vtc=void 0))}function Zr(e){requestAnimationFrame((()=>{requestAnimationFrame(e)}))}let es=0;function ts(e,t,n,o){const r=e._endId=++es,s=()=>{r===e._endId&&o()};if(n)return setTimeout(s,n);const{type:i,timeout:l,propCount:c}=function(e,t){const n=window.getComputedStyle(e),o=e=>(n[e]||"").split(", "),r=o(qr+"Delay"),s=o(qr+"Duration"),i=ns(r,s),l=o(Wr+"Delay"),c=o(Wr+"Duration"),a=ns(l,c);let u=null,f=0,p=0;t===qr?i>0&&(u=qr,f=i,p=s.length):t===Wr?a>0&&(u=Wr,f=a,p=c.length):(f=Math.max(i,a),u=f>0?i>a?qr:Wr:null,p=u?u===qr?s.length:c.length:0);const d=u===qr&&/\b(transform|all)(,|$)/.test(n[qr+"Property"]);return{type:u,timeout:f,propCount:p,hasTransform:d}}(e,t);if(!i)return o();const a=i+"end";let u=0;const f=()=>{e.removeEventListener(a,p),s()},p=t=>{t.target===e&&++u>=c&&f()};setTimeout((()=>{u<c&&f()}),l+1),e.addEventListener(a,p)}function ns(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map(((t,n)=>os(t)+os(e[n]))))}function os(e){return 1e3*Number(e.slice(0,-1).replace(",","."))}const rs=e=>{const t=e.props["onUpdate:modelValue"]||!1;return C(t)?e=>z(t,e):t};function ss(e){e.target.composing=!0}function is(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const ls={created(e,{modifiers:{lazy:t,trim:n,number:o}},r){e._assign=rs(r);const s=o||r.props&&"number"===r.props.type;Nr(e,t?"change":"input",(t=>{if(t.target.composing)return;let o=e.value;n&&(o=o.trim()),s&&(o=K(o)),e._assign(o)})),n&&Nr(e,"change",(()=>{e.value=e.value.trim()})),t||(Nr(e,"compositionstart",ss),Nr(e,"compositionend",is),Nr(e,"change",is))},mounted(e,{value:t}){e.value=null==t?"":t},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:o,number:r}},s){if(e._assign=rs(s),e.composing)return;if(document.activeElement===e&&"range"!==e.type){if(n)return;if(o&&e.value.trim()===t)return;if((r||"number"===e.type)&&K(e.value)===t)return}const i=null==t?"":t;e.value!==i&&(e.value=i)}},cs={deep:!0,created(e,t,n){e._assign=rs(n),Nr(e,"change",(()=>{const t=e._modelValue,n=ds(e),o=e.checked,r=e._assign;if(C(t)){const e=u(t,n),s=-1!==e;if(o&&!s)r(t.concat(n));else if(!o&&s){const n=[...t];n.splice(e,1),r(n)}}else if(S(t)){const e=new Set(t);o?e.add(n):e.delete(n),r(e)}else r(hs(e,o))}))},mounted:as,beforeUpdate(e,t,n){e._assign=rs(n),as(e,t,n)}};function as(e,{value:t,oldValue:n},o){e._modelValue=t,C(t)?e.checked=u(t,o.props.value)>-1:S(t)?e.checked=t.has(o.props.value):t!==n&&(e.checked=a(t,hs(e,!0)))}const us={created(e,{value:t},n){e.checked=a(t,n.props.value),e._assign=rs(n),Nr(e,"change",(()=>{e._assign(ds(e))}))},beforeUpdate(e,{value:t,oldValue:n},o){e._assign=rs(o),t!==n&&(e.checked=a(t,o.props.value))}},fs={deep:!0,created(e,{value:t,modifiers:{number:n}},o){const r=S(t);Nr(e,"change",(()=>{const t=Array.prototype.filter.call(e.options,(e=>e.selected)).map((e=>n?K(ds(e)):ds(e)));e._assign(e.multiple?r?new Set(t):t:t[0])})),e._assign=rs(o)},mounted(e,{value:t}){ps(e,t)},beforeUpdate(e,t,n){e._assign=rs(n)},updated(e,{value:t}){ps(e,t)}};function ps(e,t){const n=e.multiple;if(!n||C(t)||S(t)){for(let o=0,r=e.options.length;o<r;o++){const r=e.options[o],s=ds(r);if(n)C(t)?r.selected=u(t,s)>-1:r.selected=t.has(s);else if(a(ds(r),t))return void(e.selectedIndex!==o&&(e.selectedIndex=o))}n||-1===e.selectedIndex||(e.selectedIndex=-1)}}function ds(e){return"_value"in e?e._value:e.value}function hs(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}function gs(e,t,n,o,r){const s=function(e,t){switch(e){case"SELECT":return fs;case"TEXTAREA":return ls;default:switch(t){case"checkbox":return cs;case"radio":return us;default:return ls}}}(e.tagName,n.props&&n.props.type)[r];s&&s(e,t,n,o)}e("a5",{created(e,t,n){gs(e,t,n,null,"created")},mounted(e,t,n){gs(e,t,n,null,"mounted")},beforeUpdate(e,t,n,o){gs(e,t,n,o,"beforeUpdate")},updated(e,t,n,o){gs(e,t,n,o,"updated")}});const ms=["ctrl","shift","alt","meta"],vs={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&0!==e.button,middle:e=>"button"in e&&1!==e.button,right:e=>"button"in e&&2!==e.button,exact:(e,t)=>ms.some((n=>e[`${n}Key`]&&!t.includes(n)))};function ys(e,t){e.style.display=t?e._vod:"none"}e("$",((e,t)=>(n,...o)=>{for(let e=0;e<t.length;e++){const o=vs[t[e]];if(o&&o(n,t))return}return e(n,...o)})),e("z",{beforeMount(e,{value:t},{transition:n}){e._vod="none"===e.style.display?"":e.style.display,n&&t?n.beforeEnter(e):ys(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:o}){!t!=!n&&(o?t?(o.beforeEnter(e),ys(e,!0),o.enter(e)):o.leave(e,(()=>{ys(e,!1)})):ys(e,t))},beforeUnmount(e,{value:t}){ys(e,t)}});const _s=_({patchProp:(e,t,r,s,i=!1,l,c,a,u)=>{"class"===t?function(e,t,n){const o=e._vtc;o&&(t=(t?[t,...o]:[...o]).join(" ")),null==t?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}(e,s,i):"style"===t?function(e,t,n){const o=e.style,r=A(n);if(n&&!r){for(const e in n)Pr(o,e,n[e]);if(t&&!A(t))for(const e in t)null==n[e]&&Pr(o,e,"")}else{const s=o.display;r?t!==n&&(o.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(o.display=s)}}(e,r,s):v(t)?y(t)||Br(e,t,0,s,c):("."===t[0]?(t=t.slice(1),1):"^"===t[0]?(t=t.slice(1),0):function(e,t,n,o){return o?"innerHTML"===t||"textContent"===t||!!(t in e&&Gr.test(t)&&O(n)):"spellcheck"!==t&&"draggable"!==t&&"translate"!==t&&("form"!==t&&(("list"!==t||"INPUT"!==e.tagName)&&(("type"!==t||"TEXTAREA"!==e.tagName)&&((!Gr.test(t)||!A(n))&&t in e))))}(e,t,s,i))?function(e,t,n,r,s,i,l){if("innerHTML"===t||"textContent"===t)return r&&l(r,s,i),void(e[t]=null==n?"":n);if("value"===t&&"PROGRESS"!==e.tagName&&!e.tagName.includes("-")){e._value=n;const o=null==n?"":n;return e.value===o&&"OPTION"!==e.tagName||(e.value=o),void(null==n&&e.removeAttribute(t))}let c=!1;if(""===n||null==n){const r=typeof e[t];"boolean"===r?n=o(n):null==n&&"string"===r?(n="",c=!0):"number"===r&&(n=0,c=!0)}try{e[t]=n}catch(a){}c&&e.removeAttribute(t)}(e,t,s,l,c,a,u):("true-value"===t?e._trueValue=s:"false-value"===t&&(e._falseValue=s),function(e,t,r,s,i){if(s&&t.startsWith("xlink:"))null==r?e.removeAttributeNS(Mr,t.slice(6,t.length)):e.setAttributeNS(Mr,t,r);else{const s=n(t);null==r||s&&!o(r)?e.removeAttribute(t):e.setAttribute(t,s?"":r)}}(e,t,s,i))}},Ar);let bs;function ws(){return"undefined"!=typeof navigator&&"undefined"!=typeof window?window:"undefined"!=typeof global?global:{}}e("k",((...e)=>{const t=(bs||(bs=To(_s))).createApp(...e),{mount:n}=t;return t.mount=e=>{const o=function(e){return A(e)?document.querySelector(e):e}(e);if(!o)return;const r=t._component;O(r)||r.render||r.template||(r.template=o.innerHTML),o.innerHTML="";const s=n(o,!1,o instanceof SVGElement);return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),s},t}));const xs="function"==typeof Proxy,Cs="devtools-plugin:setup";let Es,Ss;function ks(){return void 0!==Es||("undefined"!=typeof window&&window.performance?(Es=!0,Ss=window.performance):"undefined"!=typeof global&&(null===(e=global.perf_hooks)||void 0===e?void 0:e.performance)?(Es=!0,Ss=global.perf_hooks.performance):Es=!1),Es?Ss.now():Date.now();var e}class Os{constructor(e,t){this.target=null,this.targetQueue=[],this.onQueue=[],this.plugin=e,this.hook=t;const n={};if(e.settings)for(const i in e.settings){const t=e.settings[i];n[i]=t.defaultValue}const o=`__vue-devtools-plugin-settings__${e.id}`;let r=Object.assign({},n);try{const e=localStorage.getItem(o),t=JSON.parse(e);Object.assign(r,t)}catch(s){}this.fallbacks={getSettings:()=>r,setSettings(e){try{localStorage.setItem(o,JSON.stringify(e))}catch(s){}r=e},now:()=>ks()},t&&t.on("plugin:settings:set",((e,t)=>{e===this.plugin.id&&this.fallbacks.setSettings(t)})),this.proxiedOn=new Proxy({},{get:(e,t)=>this.target?this.target.on[t]:(...e)=>{this.onQueue.push({method:t,args:e})}}),this.proxiedTarget=new Proxy({},{get:(e,t)=>this.target?this.target[t]:"on"===t?this.proxiedOn:Object.keys(this.fallbacks).includes(t)?(...e)=>(this.targetQueue.push({method:t,args:e,resolve:()=>{}}),this.fallbacks[t](...e)):(...e)=>new Promise((n=>{this.targetQueue.push({method:t,args:e,resolve:n})}))})}async setRealTarget(e){this.target=e;for(const t of this.onQueue)this.target.on[t.method](...t.args);for(const t of this.targetQueue)t.resolve(await this.target[t.method](...t.args))}}function As(e,t){const n=e,o=ws(),r=ws().__VUE_DEVTOOLS_GLOBAL_HOOK__,s=xs&&n.enableEarlyProxy;if(!r||!o.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__&&s){const e=s?new Os(n,r):null;(o.__VUE_DEVTOOLS_PLUGINS__=o.__VUE_DEVTOOLS_PLUGINS__||[]).push({pluginDescriptor:n,setupFn:t,proxy:e}),e&&t(e.proxiedTarget)}else r.emit(Cs,e,t)}var js="store";function Ps(e,t){Object.keys(e).forEach((function(n){return t(e[n],n)}))}function Rs(e,t,n){return t.indexOf(e)<0&&(n&&n.prepend?t.unshift(e):t.push(e)),function(){var n=t.indexOf(e);n>-1&&t.splice(n,1)}}function Ts(e,t){e._actions=Object.create(null),e._mutations=Object.create(null),e._wrappedGetters=Object.create(null),e._modulesNamespaceMap=Object.create(null);var n=e.state;Ls(e,n,[],e._modules.root,!0),Ms(e,n,t)}function Ms(e,t,n){var o=e._state;e.getters={},e._makeLocalGettersCache=Object.create(null);var r=e._wrappedGetters,s={};Ps(r,(function(t,n){s[n]=function(e,t){return function(){return e(t)}}(t,e),Object.defineProperty(e.getters,n,{get:function(){return s[n]()},enumerable:!0})})),e._state=ot({data:t}),e.strict&&function(e){pn((function(){return e._state.data}),(function(){}),{deep:!0,flush:"sync"})}(e),o&&n&&e._withCommit((function(){o.data=null}))}function Ls(e,t,n,o,r){var s=!n.length,i=e._modules.getNamespace(n);if(o.namespaced&&(e._modulesNamespaceMap[i],e._modulesNamespaceMap[i]=o),!s&&!r){var l=Is(t,n.slice(0,-1)),c=n[n.length-1];e._withCommit((function(){l[c]=o.state}))}var a=o.context=function(e,t,n){var o=""===t,r={dispatch:o?e.dispatch:function(n,o,r){var s=$s(n,o,r),i=s.payload,l=s.options,c=s.type;return l&&l.root||(c=t+c),e.dispatch(c,i)},commit:o?e.commit:function(n,o,r){var s=$s(n,o,r),i=s.payload,l=s.options,c=s.type;l&&l.root||(c=t+c),e.commit(c,i,l)}};return Object.defineProperties(r,{getters:{get:o?function(){return e.getters}:function(){return Fs(e,t)}},state:{get:function(){return Is(e.state,n)}}}),r}(e,i,n);o.forEachMutation((function(t,n){!function(e,t,n,o){var r=e._mutations[t]||(e._mutations[t]=[]);r.push((function(t){n.call(e,o.state,t)}))}(e,i+n,t,a)})),o.forEachAction((function(t,n){var o=t.root?n:i+n,r=t.handler||t;!function(e,t,n,o){var r=e._actions[t]||(e._actions[t]=[]);r.push((function(t){var r,s=n.call(e,{dispatch:o.dispatch,commit:o.commit,getters:o.getters,state:o.state,rootGetters:e.getters,rootState:e.state},t);return(r=s)&&"function"==typeof r.then||(s=Promise.resolve(s)),e._devtoolHook?s.catch((function(t){throw e._devtoolHook.emit("vuex:error",t),t})):s}))}(e,o,r,a)})),o.forEachGetter((function(t,n){!function(e,t,n,o){e._wrappedGetters[t]||(e._wrappedGetters[t]=function(e){return n(o.state,o.getters,e.state,e.getters)})}(e,i+n,t,a)})),o.forEachChild((function(o,s){Ls(e,t,n.concat(s),o,r)}))}function Fs(e,t){if(!e._makeLocalGettersCache[t]){var n={},o=t.length;Object.keys(e.getters).forEach((function(r){if(r.slice(0,o)===t){var s=r.slice(o);Object.defineProperty(n,s,{get:function(){return e.getters[r]},enumerable:!0})}})),e._makeLocalGettersCache[t]=n}return e._makeLocalGettersCache[t]}function Is(e,t){return t.reduce((function(e,t){return e[t]}),e)}function $s(e,t,n){var o;return null!==(o=e)&&"object"==typeof o&&e.type&&(n=t,t=e,e=e.type),{type:e,payload:t,options:n}}var Vs="vuex:mutations",Us="vuex:actions",Ns="vuex",Bs=0;function Ds(e,t){As({id:"org.vuejs.vuex",app:e,label:"Vuex",homepage:"https://next.vuex.vuejs.org/",logo:"https://vuejs.org/images/icons/favicon-96x96.png",packageName:"vuex",componentStateTypes:["vuex bindings"]},(function(n){n.addTimelineLayer({id:Vs,label:"Vuex Mutations",color:Gs}),n.addTimelineLayer({id:Us,label:"Vuex Actions",color:Gs}),n.addInspector({id:Ns,label:"Vuex",icon:"storage",treeFilterPlaceholder:"Filter stores..."}),n.on.getInspectorTree((function(n){if(n.app===e&&n.inspectorId===Ns)if(n.filter){var o=[];Hs(o,t._modules.root,n.filter,""),n.rootNodes=o}else n.rootNodes=[zs(t._modules.root,"")]})),n.on.getInspectorState((function(n){if(n.app===e&&n.inspectorId===Ns){var o=n.nodeId;Fs(t,o),n.state=function(e,t,n){t="root"===n?t:t[n];var o=Object.keys(t),r={state:Object.keys(e.state).map((function(t){return{key:t,editable:!0,value:e.state[t]}}))};if(o.length){var s=function(e){var t={};return Object.keys(e).forEach((function(n){var o=n.split("/");if(o.length>1){var r=t,s=o.pop();o.forEach((function(e){r[e]||(r[e]={_custom:{value:{},display:e,tooltip:"Module",abstract:!0}}),r=r[e]._custom.value})),r[s]=Ks((function(){return e[n]}))}else t[n]=Ks((function(){return e[n]}))})),t}(t);r.getters=Object.keys(s).map((function(e){return{key:e.endsWith("/")?Ws(e):e,editable:!1,value:Ks((function(){return s[e]}))}}))}return r}((r=t._modules,(i=(s=o).split("/").filter((function(e){return e}))).reduce((function(e,t,n){var o=e[t];if(!o)throw new Error('Missing module "'+t+'" for path "'+s+'".');return n===i.length-1?o:o._children}),"root"===s?r:r.root._children)),"root"===o?t.getters:t._makeLocalGettersCache,o)}var r,s,i})),n.on.editInspectorState((function(n){if(n.app===e&&n.inspectorId===Ns){var o=n.nodeId,r=n.path;"root"!==o&&(r=o.split("/").filter(Boolean).concat(r)),t._withCommit((function(){n.set(t._state.data,r,n.state.value)}))}})),t.subscribe((function(e,t){var o={};e.payload&&(o.payload=e.payload),o.state=t,n.notifyComponentUpdate(),n.sendInspectorTree(Ns),n.sendInspectorState(Ns),n.addTimelineEvent({layerId:Vs,event:{time:Date.now(),title:e.type,data:o}})})),t.subscribeAction({before:function(e,t){var o={};e.payload&&(o.payload=e.payload),e._id=Bs++,e._time=Date.now(),o.state=t,n.addTimelineEvent({layerId:Us,event:{time:e._time,title:e.type,groupId:e._id,subtitle:"start",data:o}})},after:function(e,t){var o={},r=Date.now()-e._time;o.duration={_custom:{type:"duration",display:r+"ms",tooltip:"Action duration",value:r}},e.payload&&(o.payload=e.payload),o.state=t,n.addTimelineEvent({layerId:Us,event:{time:Date.now(),title:e.type,groupId:e._id,subtitle:"end",data:o}})}})}))}var Gs=8702998,qs={label:"namespaced",textColor:16777215,backgroundColor:6710886};function Ws(e){return e&&"root"!==e?e.split("/").slice(-2,-1)[0]:"Root"}function zs(e,t){return{id:t||"root",label:Ws(t),tags:e.namespaced?[qs]:[],children:Object.keys(e._children).map((function(n){return zs(e._children[n],t+n+"/")}))}}function Hs(e,t,n,o){o.includes(n)&&e.push({id:o||"root",label:o.endsWith("/")?o.slice(0,o.length-1):o||"Root",tags:t.namespaced?[qs]:[]}),Object.keys(t._children).forEach((function(r){Hs(e,t._children[r],n,o+r+"/")}))}function Ks(e){try{return e()}catch(t){return t}}var Qs=function(e,t){this.runtime=t,this._children=Object.create(null),this._rawModule=e;var n=e.state;this.state=("function"==typeof n?n():n)||{}},Xs={namespaced:{configurable:!0}};Xs.namespaced.get=function(){return!!this._rawModule.namespaced},Qs.prototype.addChild=function(e,t){this._children[e]=t},Qs.prototype.removeChild=function(e){delete this._children[e]},Qs.prototype.getChild=function(e){return this._children[e]},Qs.prototype.hasChild=function(e){return e in this._children},Qs.prototype.update=function(e){this._rawModule.namespaced=e.namespaced,e.actions&&(this._rawModule.actions=e.actions),e.mutations&&(this._rawModule.mutations=e.mutations),e.getters&&(this._rawModule.getters=e.getters)},Qs.prototype.forEachChild=function(e){Ps(this._children,e)},Qs.prototype.forEachGetter=function(e){this._rawModule.getters&&Ps(this._rawModule.getters,e)},Qs.prototype.forEachAction=function(e){this._rawModule.actions&&Ps(this._rawModule.actions,e)},Qs.prototype.forEachMutation=function(e){this._rawModule.mutations&&Ps(this._rawModule.mutations,e)},Object.defineProperties(Qs.prototype,Xs);var Js=function(e){this.register([],e,!1)};function Ys(e,t,n){if(t.update(n),n.modules)for(var o in n.modules){if(!t.getChild(o))return;Ys(e.concat(o),t.getChild(o),n.modules[o])}}Js.prototype.get=function(e){return e.reduce((function(e,t){return e.getChild(t)}),this.root)},Js.prototype.getNamespace=function(e){var t=this.root;return e.reduce((function(e,n){return e+((t=t.getChild(n)).namespaced?n+"/":"")}),"")},Js.prototype.update=function(e){Ys([],this.root,e)},Js.prototype.register=function(e,t,n){var o=this;void 0===n&&(n=!0);var r=new Qs(t,n);0===e.length?this.root=r:this.get(e.slice(0,-1)).addChild(e[e.length-1],r),t.modules&&Ps(t.modules,(function(t,r){o.register(e.concat(r),t,n)}))},Js.prototype.unregister=function(e){var t=this.get(e.slice(0,-1)),n=e[e.length-1],o=t.getChild(n);o&&o.runtime&&t.removeChild(n)},Js.prototype.isRegistered=function(e){var t=this.get(e.slice(0,-1)),n=e[e.length-1];return!!t&&t.hasChild(n)};var Zs=function(e){var t=this;void 0===e&&(e={});var n=e.plugins;void 0===n&&(n=[]);var o=e.strict;void 0===o&&(o=!1);var r=e.devtools;this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new Js(e),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._makeLocalGettersCache=Object.create(null),this._devtools=r;var s=this,i=this.dispatch,l=this.commit;this.dispatch=function(e,t){return i.call(s,e,t)},this.commit=function(e,t,n){return l.call(s,e,t,n)},this.strict=o;var c=this._modules.root.state;Ls(this,c,[],this._modules.root),Ms(this,c),n.forEach((function(e){return e(t)}))},ei={state:{configurable:!0}};Zs.prototype.install=function(e,t){e.provide(t||js,this),e.config.globalProperties.$store=this,void 0!==this._devtools&&this._devtools&&Ds(e,this)},ei.state.get=function(){return this._state.data},ei.state.set=function(e){},Zs.prototype.commit=function(e,t,n){var o=this,r=$s(e,t,n),s=r.type,i=r.payload,l={type:s,payload:i},c=this._mutations[s];c&&(this._withCommit((function(){c.forEach((function(e){e(i)}))})),this._subscribers.slice().forEach((function(e){return e(l,o.state)})))},Zs.prototype.dispatch=function(e,t){var n=this,o=$s(e,t),r=o.type,s=o.payload,i={type:r,payload:s},l=this._actions[r];if(l){try{this._actionSubscribers.slice().filter((function(e){return e.before})).forEach((function(e){return e.before(i,n.state)}))}catch(a){}var c=l.length>1?Promise.all(l.map((function(e){return e(s)}))):l[0](s);return new Promise((function(e,t){c.then((function(t){try{n._actionSubscribers.filter((function(e){return e.after})).forEach((function(e){return e.after(i,n.state)}))}catch(a){}e(t)}),(function(e){try{n._actionSubscribers.filter((function(e){return e.error})).forEach((function(t){return t.error(i,n.state,e)}))}catch(a){}t(e)}))}))}},Zs.prototype.subscribe=function(e,t){return Rs(e,this._subscribers,t)},Zs.prototype.subscribeAction=function(e,t){return Rs("function"==typeof e?{before:e}:e,this._actionSubscribers,t)},Zs.prototype.watch=function(e,t,n){var o=this;return pn((function(){return e(o.state,o.getters)}),t,Object.assign({},n))},Zs.prototype.replaceState=function(e){var t=this;this._withCommit((function(){t._state.data=e}))},Zs.prototype.registerModule=function(e,t,n){void 0===n&&(n={}),"string"==typeof e&&(e=[e]),this._modules.register(e,t),Ls(this,this.state,e,this._modules.get(e),n.preserveState),Ms(this,this.state)},Zs.prototype.unregisterModule=function(e){var t=this;"string"==typeof e&&(e=[e]),this._modules.unregister(e),this._withCommit((function(){delete Is(t.state,e.slice(0,-1))[e[e.length-1]]})),Ts(this)},Zs.prototype.hasModule=function(e){return"string"==typeof e&&(e=[e]),this._modules.isRegistered(e)},Zs.prototype.hotUpdate=function(e){this._modules.update(e),Ts(this,!0)},Zs.prototype._withCommit=function(e){var t=this._committing;this._committing=!0,e(),this._committing=t},Object.defineProperties(Zs.prototype,ei);const ti="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag,ni=e=>ti?Symbol(e):"_vr_"+e,oi=ni("rvlm"),ri=ni("rvd"),si=ni("r"),ii=ni("rl"),li=ni("rvl"),ci="undefined"!=typeof window,ai=Object.assign;function ui(e,t){const n={};for(const o in t){const r=t[o];n[o]=Array.isArray(r)?r.map(e):e(r)}return n}const fi=()=>{},pi=/\/$/,di=e=>e.replace(pi,"");function hi(e,t,n="/"){let o,r={},s="",i="";const l=t.indexOf("?"),c=t.indexOf("#",l>-1?l:0);return l>-1&&(o=t.slice(0,l),s=t.slice(l+1,c>-1?c:t.length),r=e(s)),c>-1&&(o=o||t.slice(0,c),i=t.slice(c,t.length)),o=function(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),o=e.split("/");let r,s,i=n.length-1;for(r=0;r<o.length;r++)if(s=o[r],1!==i&&"."!==s){if(".."!==s)break;i--}return n.slice(0,i).join("/")+"/"+o.slice(r-(r===o.length?1:0)).join("/")}(null!=o?o:t,n),{fullPath:o+(s&&"?")+s+i,path:o,query:r,hash:i}}function gi(e,t){return t&&e.toLowerCase().startsWith(t.toLowerCase())?e.slice(t.length)||"/":e}function mi(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function vi(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!yi(e[n],t[n]))return!1;return!0}function yi(e,t){return Array.isArray(e)?_i(e,t):Array.isArray(t)?_i(t,e):e===t}function _i(e,t){return Array.isArray(t)?e.length===t.length&&e.every(((e,n)=>e===t[n])):1===e.length&&e[0]===t}var bi,wi;!function(e){e.pop="pop",e.push="push"}(bi||(bi={})),function(e){e.back="back",e.forward="forward",e.unknown=""}(wi||(wi={}));const xi=/^[^#]+#/;function Ci(e,t){return e.replace(xi,"#")+t}const Ei=()=>({left:window.pageXOffset,top:window.pageYOffset});function Si(e,t){return(history.state?history.state.position-t:-1)+e}const ki=new Map;let Oi=()=>location.protocol+"//"+location.host;function Ai(e,t){const{pathname:n,search:o,hash:r}=t,s=e.indexOf("#");if(s>-1){let t=r.includes(e.slice(s))?e.slice(s).length:1,n=r.slice(t);return"/"!==n[0]&&(n="/"+n),gi(n,"")}return gi(n,e)+o+r}function ji(e,t,n,o=!1,r=!1){return{back:e,current:t,forward:n,replaced:o,position:window.history.length,scroll:r?Ei():null}}function Pi(e){return"string"==typeof e||"symbol"==typeof e}const Ri={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},Ti=ni("nf");var Mi;function Li(e,t){return ai(new Error,{type:e,[Ti]:!0},t)}function Fi(e,t){return e instanceof Error&&Ti in e&&(null==t||!!(e.type&t))}!function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"}(Mi||(Mi={}));const Ii="[^/]+?",$i={sensitive:!1,strict:!1,start:!0,end:!0},Vi=/[.+*?^${}()[\]/\\]/g;function Ui(e,t){let n=0;for(;n<e.length&&n<t.length;){const o=t[n]-e[n];if(o)return o;n++}return e.length<t.length?1===e.length&&80===e[0]?-1:1:e.length>t.length?1===t.length&&80===t[0]?1:-1:0}function Ni(e,t){let n=0;const o=e.score,r=t.score;for(;n<o.length&&n<r.length;){const e=Ui(o[n],r[n]);if(e)return e;n++}if(1===Math.abs(r.length-o.length)){if(Bi(o))return 1;if(Bi(r))return-1}return r.length-o.length}function Bi(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const Di={type:0,value:""},Gi=/[a-zA-Z0-9_]/;function qi(e,t,n){const o=function(e,t){const n=ai({},$i,t),o=[];let r=n.start?"^":"";const s=[];for(const c of e){const e=c.length?[]:[90];n.strict&&!c.length&&(r+="/");for(let t=0;t<c.length;t++){const o=c[t];let i=40+(n.sensitive?.25:0);if(0===o.type)t||(r+="/"),r+=o.value.replace(Vi,"\\$&"),i+=40;else if(1===o.type){const{value:e,repeatable:n,optional:a,regexp:u}=o;s.push({name:e,repeatable:n,optional:a});const f=u||Ii;if(f!==Ii){i+=10;try{new RegExp(`(${f})`)}catch(l){throw new Error(`Invalid custom RegExp for param "${e}" (${f}): `+l.message)}}let p=n?`((?:${f})(?:/(?:${f}))*)`:`(${f})`;t||(p=a&&c.length<2?`(?:/${p})`:"/"+p),a&&(p+="?"),r+=p,i+=20,a&&(i+=-8),n&&(i+=-20),".*"===f&&(i+=-50)}e.push(i)}o.push(e)}if(n.strict&&n.end){const e=o.length-1;o[e][o[e].length-1]+=.7000000000000001}n.strict||(r+="/?"),n.end?r+="$":n.strict&&(r+="(?:/|$)");const i=new RegExp(r,n.sensitive?"":"i");return{re:i,score:o,keys:s,parse:function(e){const t=e.match(i),n={};if(!t)return null;for(let o=1;o<t.length;o++){const e=t[o]||"",r=s[o-1];n[r.name]=e&&r.repeatable?e.split("/"):e}return n},stringify:function(t){let n="",o=!1;for(const r of e){o&&n.endsWith("/")||(n+="/"),o=!1;for(const s of r)if(0===s.type)n+=s.value;else if(1===s.type){const{value:i,repeatable:l,optional:c}=s,a=i in t?t[i]:"";if(Array.isArray(a)&&!l)throw new Error(`Provided param "${i}" is an array but it is not repeatable (* or + modifiers)`);const u=Array.isArray(a)?a.join("/"):a;if(!u){if(!c)throw new Error(`Missing required param "${i}"`);r.length<2&&e.length>1&&(n.endsWith("/")?n=n.slice(0,-1):o=!0)}n+=u}}return n}}}(function(e){if(!e)return[[]];if("/"===e)return[[Di]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(e){throw new Error(`ERR (${n})/"${a}": ${e}`)}let n=0,o=n;const r=[];let s;function i(){s&&r.push(s),s=[]}let l,c=0,a="",u="";function f(){a&&(0===n?s.push({type:0,value:a}):1===n||2===n||3===n?(s.length>1&&("*"===l||"+"===l)&&t(`A repeatable param (${a}) must be alone in its segment. eg: '/:ids+.`),s.push({type:1,value:a,regexp:u,repeatable:"*"===l||"+"===l,optional:"*"===l||"?"===l})):t("Invalid state to consume buffer"),a="")}function p(){a+=l}for(;c<e.length;)if(l=e[c++],"\\"!==l||2===n)switch(n){case 0:"/"===l?(a&&f(),i()):":"===l?(f(),n=1):p();break;case 4:p(),n=o;break;case 1:"("===l?n=2:Gi.test(l)?p():(f(),n=0,"*"!==l&&"?"!==l&&"+"!==l&&c--);break;case 2:")"===l?"\\"==u[u.length-1]?u=u.slice(0,-1)+l:n=3:u+=l;break;case 3:f(),n=0,"*"!==l&&"?"!==l&&"+"!==l&&c--,u="";break;default:t("Unknown state")}else o=n,n=4;return 2===n&&t(`Unfinished custom RegExp for param "${a}"`),f(),i(),r}(e.path),n),r=ai(o,{record:e,parent:t,children:[],alias:[]});return t&&!r.record.aliasOf==!t.record.aliasOf&&t.children.push(r),r}function Wi(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const o in e.components)t[o]="boolean"==typeof n?n:n[o];return t}function zi(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Hi(e){return e.reduce(((e,t)=>ai(e,t.meta)),{})}function Ki(e,t){const n={};for(const o in e)n[o]=o in t?t[o]:e[o];return n}function Qi(e,t){return t.children.some((t=>t===e||Qi(e,t)))}const Xi=/#/g,Ji=/&/g,Yi=/\//g,Zi=/=/g,el=/\?/g,tl=/\+/g,nl=/%5B/g,ol=/%5D/g,rl=/%5E/g,sl=/%60/g,il=/%7B/g,ll=/%7C/g,cl=/%7D/g,al=/%20/g;function ul(e){return encodeURI(""+e).replace(ll,"|").replace(nl,"[").replace(ol,"]")}function fl(e){return ul(e).replace(tl,"%2B").replace(al,"+").replace(Xi,"%23").replace(Ji,"%26").replace(sl,"`").replace(il,"{").replace(cl,"}").replace(rl,"^")}function pl(e){return null==e?"":function(e){return ul(e).replace(Xi,"%23").replace(el,"%3F")}(e).replace(Yi,"%2F")}function dl(e){try{return decodeURIComponent(""+e)}catch(t){}return""+e}function hl(e){const t={};if(""===e||"?"===e)return t;const n=("?"===e[0]?e.slice(1):e).split("&");for(let o=0;o<n.length;++o){const e=n[o].replace(tl," "),r=e.indexOf("="),s=dl(r<0?e:e.slice(0,r)),i=r<0?null:dl(e.slice(r+1));if(s in t){let e=t[s];Array.isArray(e)||(e=t[s]=[e]),e.push(i)}else t[s]=i}return t}function gl(e){let t="";for(let n in e){const o=e[n];(n=fl(n).replace(Zi,"%3D"),null!=o)?(Array.isArray(o)?o.map((e=>e&&fl(e))):[o&&fl(o)]).forEach((e=>{void 0!==e&&(t+=(t.length?"&":"")+n,null!=e&&(t+="="+e))})):void 0!==o&&(t+=(t.length?"&":"")+n)}return t}function ml(e){const t={};for(const n in e){const o=e[n];void 0!==o&&(t[n]=Array.isArray(o)?o.map((e=>null==e?null:""+e)):null==o?o:""+o)}return t}function vl(){let e=[];return{add:function(t){return e.push(t),()=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)}},list:()=>e,reset:function(){e=[]}}}function yl(e,t,n,o,r){const s=o&&(o.enterCallbacks[r]=o.enterCallbacks[r]||[]);return()=>new Promise(((i,l)=>{const c=e=>{var c;!1===e?l(Li(4,{from:n,to:t})):e instanceof Error?l(e):"string"==typeof(c=e)||c&&"object"==typeof c?l(Li(2,{from:t,to:e})):(s&&o.enterCallbacks[r]===s&&"function"==typeof e&&s.push(e),i())},a=e.call(o&&o.instances[r],t,n,c);let u=Promise.resolve(a);e.length<3&&(u=u.then(c)),u.catch((e=>l(e)))}))}function _l(e,t,n,o){const r=[];for(const i of e)for(const e in i.components){let l=i.components[e];if("beforeRouteEnter"===t||i.instances[e])if("object"==typeof(s=l)||"displayName"in s||"props"in s||"__vccOpts"in s){const s=(l.__vccOpts||l)[t];s&&r.push(yl(s,n,o,i,e))}else{let s=l();r.push((()=>s.then((r=>{if(!r)return Promise.reject(new Error(`Couldn't resolve component "${e}" at "${i.path}"`));const s=(l=r).__esModule||ti&&"Module"===l[Symbol.toStringTag]?r.default:r;var l;i.components[e]=s;const c=(s.__vccOpts||s)[t];return c&&yl(c,n,o,i,e)()}))))}}var s;return r}function bl(e){const t=un(si),n=un(ii),o=Cr((()=>t.resolve(wt(e.to)))),r=Cr((()=>{const{matched:e}=o.value,{length:t}=e,r=e[t-1],s=n.matched;if(!r||!s.length)return-1;const i=s.findIndex(mi.bind(null,r));if(i>-1)return i;const l=xl(e[t-2]);return t>1&&xl(r)===l&&s[s.length-1].path!==l?s.findIndex(mi.bind(null,e[t-2])):i})),s=Cr((()=>r.value>-1&&function(e,t){for(const n in t){const o=t[n],r=e[n];if("string"==typeof o){if(o!==r)return!1}else if(!Array.isArray(r)||r.length!==o.length||o.some(((e,t)=>e!==r[t])))return!1}return!0}(n.params,o.value.params))),i=Cr((()=>r.value>-1&&r.value===n.matched.length-1&&vi(n.params,o.value.params)));return{route:o,href:Cr((()=>o.value.href)),isActive:s,isExactActive:i,navigate:function(n={}){return function(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey||e.defaultPrevented||void 0!==e.button&&0!==e.button)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}(n)?t[wt(e.replace)?"replace":"push"](wt(e.to)).catch(fi):Promise.resolve()}}}const wl=Sn({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:bl,setup(e,{slots:t}){const n=ot(bl(e)),{options:o}=un(si),r=Cr((()=>({[Cl(e.activeClass,o.linkActiveClass,"router-link-active")]:n.isActive,[Cl(e.exactActiveClass,o.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive})));return()=>{const o=t.default&&t.default(n);return e.custom?o:Er("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},o)}}});function xl(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Cl=(e,t,n)=>null!=e?e:null!=t?t:n;function El(e,t){if(!e)return null;const n=e(t);return 1===n.length?n[0]:n}const Sl=Sn({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const o=un(li),r=Cr((()=>e.route||o.value)),s=un(ri,0),i=Cr((()=>r.value.matched[s]));an(ri,s+1),an(oi,i),an(li,r);const l=vt();return pn((()=>[l.value,i.value,e.name]),(([e,t,n],[o,r,s])=>{t&&(t.instances[n]=e,r&&r!==t&&e&&e===o&&(t.leaveGuards.size||(t.leaveGuards=r.leaveGuards),t.updateGuards.size||(t.updateGuards=r.updateGuards))),!e||!t||r&&mi(t,r)&&o||(t.enterCallbacks[n]||[]).forEach((t=>t(e)))}),{flush:"post"}),()=>{const o=r.value,s=i.value,c=s&&s.components[e.name],a=e.name;if(!c)return El(n.default,{Component:c,route:o});const u=s.props[e.name],f=u?!0===u?o.params:"function"==typeof u?u(o):u:null,p=Er(c,ai({},f,t,{onVnodeUnmounted:e=>{e.component.isUnmounted&&(s.instances[a]=null)},ref:l}));return El(n.default,{Component:p,route:o})||p}}});function kl(e){return e.reduce(((e,t)=>e.then((()=>t()))),Promise.resolve())}}}}));
<svg width="23" height="26" viewBox="0 0 23 26" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M11.5919 0.5C11.9687 0.5 12.2741 0.800513 12.2741 1.17121V5.57183L14.6679 3.2164C14.9342 2.95427 15.3662 2.95427 15.6325 3.2164C15.8989 3.47853 15.8989 3.90352 15.6325 4.16564L12.2741 7.47031V11.8362L16.1225 9.64986L17.3502 5.14146C17.4477 4.78339 17.8218 4.5709 18.1857 4.66684C18.5496 4.76279 18.7655 5.13084 18.668 5.48891L17.7934 8.70062L21.6627 6.50246C21.989 6.31711 22.4062 6.4271 22.5946 6.74814C22.7829 7.06918 22.6711 7.47969 22.3449 7.66504L18.4718 9.86535L21.7417 10.7275C22.1056 10.8234 22.3216 11.1915 22.2241 11.5496C22.1266 11.9076 21.7525 12.1201 21.3886 12.0242L16.8009 10.8146L12.9584 12.9975L16.8069 15.1838L21.3886 13.9758C21.7525 13.8799 22.1266 14.0924 22.2241 14.4504C22.3216 14.8085 22.1056 15.1766 21.7417 15.2725L18.4778 16.1331L22.3471 18.3312C22.6733 18.5166 22.7851 18.9271 22.5967 19.2481C22.4084 19.5692 21.9912 19.6792 21.6649 19.4938L17.7918 17.2935L18.668 20.5111C18.7655 20.8692 18.5496 21.2372 18.1857 21.3332C17.8218 21.4291 17.4477 21.2166 17.3502 20.8585L16.1209 16.3443L12.2741 14.1589V18.5407L15.6325 21.8454C15.8989 22.1075 15.8989 22.5325 15.6325 22.7946C15.3662 23.0567 14.9342 23.0567 14.6679 22.7946L12.2741 20.4392V24.8288C12.2741 25.1995 11.9687 25.5 11.5919 25.5C11.2152 25.5 10.9098 25.1995 10.9098 24.8288V20.4435L8.52039 22.7946C8.254 23.0567 7.82209 23.0567 7.5557 22.7946C7.28931 22.5325 7.28931 22.1075 7.5557 21.8454L10.9098 18.545V14.1613L7.05762 16.3498L5.82833 20.864C5.73083 21.2221 5.35678 21.4346 4.99288 21.3387C4.62899 21.2427 4.41303 20.8747 4.51054 20.5166L5.38672 17.299L1.52332 19.4938C1.19706 19.6792 0.779871 19.5692 0.591504 19.2481C0.403136 18.9271 0.514921 18.5166 0.841184 18.3312L4.7008 16.1386L1.43681 15.278C1.07291 15.1821 0.856957 14.814 0.954464 14.4559C1.05197 14.0979 1.42601 13.8854 1.78991 13.9813L6.3717 15.1893L10.2298 12.9975L6.37765 10.8091L1.78991 12.0187C1.42601 12.1146 1.05197 11.9021 0.95446 11.5441C0.856953 11.186 1.07291 10.8179 1.43681 10.722L4.70676 9.85984L0.843363 7.66504C0.517099 7.47969 0.405314 7.06918 0.593682 6.74814C0.78205 6.4271 1.19924 6.31711 1.5255 6.50246L5.38512 8.69512L4.51054 5.4834C4.41303 5.12533 4.62898 4.75728 4.99288 4.66134C5.35678 4.56539 5.73083 4.77789 5.82833 5.13596L7.05602 9.64436L10.9098 11.8337V7.46602L7.5557 4.16564C7.28931 3.90352 7.28931 3.47853 7.5557 3.2164C7.82209 2.95427 8.254 2.95427 8.52039 3.2164L10.9098 5.56754V1.17121C10.9098 0.800513 11.2152 0.5 11.5919 0.5Z" fill="#2962FF"/>
</svg>
\ No newline at end of file
'use strict';
var QWebChannelMessageTypes = {
signal: 1,
propertyUpdate: 2,
init: 3,
idle: 4,
debug: 5,
invokeMethod: 6,
connectToSignal: 7,
disconnectFromSignal: 8,
setProperty: 9,
response: 10,
};
let QWebChannel = function (transport, initCallback) {
console.warn('进入QWebChannel');
if (typeof transport !== 'object' || typeof transport.send !== 'function') {
console.error(
'The QWebChannel expects a transport object with a send function and onmessage callback property.' +
' Given is: transport: ' +
typeof transport +
', transport.send: ' +
typeof transport.send,
);
return;
}
let channel = this;
this.transport = transport;
this.send = function (data) {
if (typeof data !== 'string') {
data = JSON.stringify(data);
}
channel.transport.send(data);
};
this.transport.onmessage = function (message) {
var data = message.data;
if (typeof data === 'string') {
data = JSON.parse(data);
}
switch (data.type) {
case QWebChannelMessageTypes.signal:
channel.handleSignal(data);
break;
case QWebChannelMessageTypes.response:
channel.handleResponse(data);
break;
case QWebChannelMessageTypes.propertyUpdate:
channel.handlePropertyUpdate(data);
break;
default:
console.error('invalid message received:', message.data);
break;
}
};
this.execCallbacks = {};
this.execId = 0;
this.exec = function (data, callback) {
if (!callback) {
// if no callback is given, send directly
channel.send(data);
return;
}
if (channel.execId === Number.MAX_VALUE) {
// wrap
channel.execId = Number.MIN_VALUE;
}
if (data.hasOwnProperty('id')) {
console.error('Cannot exec message with property id: ' + JSON.stringify(data));
return;
}
data.id = channel.execId++;
channel.execCallbacks[data.id] = callback;
channel.send(data);
};
this.objects = {};
this.handleSignal = function (message) {
var object = channel.objects[message.object];
if (object) {
object.signalEmitted(message.signal, message.args);
} else {
console.warn('Unhandled signal: ' + message.object + '::' + message.signal);
}
};
this.handleResponse = function (message) {
if (!message.hasOwnProperty('id')) {
console.error('Invalid response message received: ', JSON.stringify(message));
return;
}
channel.execCallbacks[message.id](message.data);
delete channel.execCallbacks[message.id];
};
this.handlePropertyUpdate = function (message) {
for (var i in message.data) {
var data = message.data[i];
var object = channel.objects[data.object];
if (object) {
object.propertyUpdate(data.signals, data.properties);
} else {
console.warn('Unhandled property update: ' + data.object + '::' + data.signal);
}
}
channel.exec({ type: QWebChannelMessageTypes.idle });
};
this.debug = function (message) {
channel.send({ type: QWebChannelMessageTypes.debug, data: message });
};
channel.exec({ type: QWebChannelMessageTypes.init }, function (data) {
for (let objectName in data) {
var object = new QObject(objectName, data[objectName], channel);
}
// now unwrap properties, which might reference other registered objects
for (let objectName in channel.objects) {
channel.objects[objectName].unwrapProperties();
}
if (initCallback) {
initCallback(channel);
}
channel.exec({ type: QWebChannelMessageTypes.idle });
});
};
function QObject(name, data, webChannel) {
this.__id__ = name;
webChannel.objects[name] = this;
// List of callbacks that get invoked upon signal emission
this.__objectSignals__ = {};
// Cache of all properties, updated when a notify signal is emitted
this.__propertyCache__ = {};
var object = this;
// ----------------------------------------------------------------------
this.unwrapQObject = function (response) {
if (response instanceof Array) {
// support list of objects
var ret = new Array(response.length);
for (var i = 0; i < response.length; ++i) {
ret[i] = object.unwrapQObject(response[i]);
}
return ret;
}
if (!response || !response['__QObject*__'] || Response.id === undefined) {
return response;
}
var objectId = Response.id;
if (webChannel.objects[objectId]) return webChannel.objects[objectId];
if (!response.data) {
console.error('Cannot unwrap unknown QObject ' + objectId + ' without data.');
return;
}
var qObject = new QObject(objectId, response.data, webChannel);
qObject.destroyed.connect(function () {
if (webChannel.objects[objectId] === qObject) {
delete webChannel.objects[objectId];
// reset the now deleted QObject to an empty {} object
// just assigning {} though would not have the desired effect, but the
// below also ensures all external references will see the empty map
// NOTE: this detour is necessary to workaround QTBUG-40021
var propertyNames = [];
for (var propertyName in qObject) {
propertyNames.push(propertyName);
}
for (var idx in propertyNames) {
delete qObject[propertyNames[idx]];
}
}
});
// here we are already initialized, and thus must directly unwrap the properties
qObject.unwrapProperties();
return qObject;
};
this.unwrapProperties = function () {
for (var propertyIdx in object.__propertyCache__) {
object.__propertyCache__[propertyIdx] = object.unwrapQObject(object.__propertyCache__[propertyIdx]);
}
};
function addSignal(signalData, isPropertyNotifySignal) {
var signalName = signalData[0];
var signalIndex = signalData[1];
object[signalName] = {
connect: function (callback) {
if (typeof callback !== 'function') {
console.error('Bad callback given to connect to signal ' + signalName);
return;
}
object.__objectSignals__[signalIndex] = object.__objectSignals__[signalIndex] || [];
object.__objectSignals__[signalIndex].push(callback);
if (!isPropertyNotifySignal && signalName !== 'destroyed') {
// only required for "pure" signals, handled separately for properties in propertyUpdate
// also note that we always get notified about the destroyed signal
webChannel.exec({
type: QWebChannelMessageTypes.connectToSignal,
object: object.__id__,
signal: signalIndex,
});
}
},
disconnect: function (callback) {
if (typeof callback !== 'function') {
console.error('Bad callback given to disconnect from signal ' + signalName);
return;
}
object.__objectSignals__[signalIndex] = object.__objectSignals__[signalIndex] || [];
var idx = object.__objectSignals__[signalIndex].indexOf(callback);
if (idx === -1) {
console.error('Cannot find connection of signal ' + signalName + ' to ' + callback.name);
return;
}
object.__objectSignals__[signalIndex].splice(idx, 1);
if (!isPropertyNotifySignal && object.__objectSignals__[signalIndex].length === 0) {
// only required for "pure" signals, handled separately for properties in propertyUpdate
webChannel.exec({
type: QWebChannelMessageTypes.disconnectFromSignal,
object: object.__id__,
signal: signalIndex,
});
}
},
};
}
/**
* Invokes all callbacks for the given signalname. Also works for property notify callbacks.
*/
function invokeSignalCallbacks(signalName, signalArgs) {
var connections = object.__objectSignals__[signalName];
if (connections) {
connections.forEach(function (callback) {
callback.apply(callback, signalArgs);
});
}
}
this.propertyUpdate = function (signals, propertyMap) {
// update property cache
for (var propertyIndex in propertyMap) {
var propertyValue = propertyMap[propertyIndex];
object.__propertyCache__[propertyIndex] = propertyValue;
}
for (var signalName in signals) {
// Invoke all callbacks, as signalEmitted() does not. This ensures the
// property cache is updated before the callbacks are invoked.
invokeSignalCallbacks(signalName, signals[signalName]);
}
};
this.signalEmitted = function (signalName, signalArgs) {
invokeSignalCallbacks(signalName, signalArgs);
};
function addMethod(methodData) {
var methodName = methodData[0];
var methodIdx = methodData[1];
object[methodName] = function () {
var args = [];
var callback;
for (var i = 0; i < arguments.length; ++i) {
if (typeof arguments[i] === 'function') callback = arguments[i];
else args.push(arguments[i]);
}
webChannel.exec(
{
type: QWebChannelMessageTypes.invokeMethod,
object: object.__id__,
method: methodIdx,
args: args,
},
function (response) {
if (response !== undefined) {
var result = object.unwrapQObject(response);
if (callback) {
callback(result);
}
}
},
);
};
}
function bindGetterSetter(propertyInfo) {
var propertyIndex = propertyInfo[0];
var propertyName = propertyInfo[1];
var notifySignalData = propertyInfo[2];
// initialize property cache with current value
// NOTE: if this is an object, it is not directly unwrapped as it might
// reference other QObject that we do not know yet
object.__propertyCache__[propertyIndex] = propertyInfo[3];
if (notifySignalData) {
if (notifySignalData[0] === 1) {
// signal name is optimized away, reconstruct the actual name
notifySignalData[0] = propertyName + 'Changed';
}
addSignal(notifySignalData, true);
}
Object.defineProperty(object, propertyName, {
configurable: true,
get: function () {
var propertyValue = object.__propertyCache__[propertyIndex];
if (propertyValue === undefined) {
// This shouldn't happen
console.warn(
'Undefined value in property cache for property "' + propertyName + '" in object ' + object.__id__,
);
}
return propertyValue;
},
set: function (value) {
if (value === undefined) {
console.warn('Property setter for ' + propertyName + ' called with undefined value!');
return;
}
object.__propertyCache__[propertyIndex] = value;
webChannel.exec({
type: QWebChannelMessageTypes.setProperty,
object: object.__id__,
property: propertyIndex,
value: value,
});
},
});
}
// ----------------------------------------------------------------------
data.methods.forEach(addMethod);
data.properties.forEach(bindGetterSetter);
data.signals.forEach(function (signal) {
addSignal(signal, false);
});
for (var name in data.enums) {
object[name] = data.enums[name];
}
}
//required for use with nodejs
if (typeof module === 'object') {
module.exports = {
QWebChannel: QWebChannel,
};
}
<svg width="10" height="10" viewBox="0 0 10 10" fill="none" xmlns="http://www.w3.org/2000/svg">
<g clip-path="url(#clip0_1249_2402)">
<path d="M1.51613 9.21726C1.3285 9.21726 1.14085 9.14566 0.997683 9.00254C0.711384 8.7162 0.711384 8.252 0.997683 7.96567L7.9654 0.997957C8.2517 0.711619 8.71592 0.711619 9.00226 0.997957C9.28856 1.28426 9.28856 1.74849 9.00226 2.03482L2.03455 9.00254C1.89138 9.1457 1.70375 9.21726 1.5161 9.21726H1.51613Z" fill="#CCCCCC"/>
<path d="M8.48385 9.21724C8.29622 9.21724 8.10857 9.14564 7.9654 9.00251L0.997683 2.03481C0.711384 1.74851 0.711384 1.28425 0.997683 0.997942C1.28397 0.711643 1.74822 0.711604 2.03454 0.997942L9.00225 7.96564C9.28855 8.25197 9.28855 8.71617 9.00225 9.0025C8.85912 9.14568 8.67148 9.21728 8.48383 9.21728L8.48385 9.21724Z" fill="#CCCCCC"/>
</g>
<defs>
<clipPath id="clip0_1249_2402">
<rect width="10" height="10" fill="white"/>
</clipPath>
</defs>
</svg>
\ No newline at end of file
<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M17.8458 10.0029C18.3058 10.5145 18.3125 11.1804 17.9333 11.5562C17.5225 11.9637 16.8791 11.9195 16.5375 11.592C16.1958 11.2654 11.3558 6.13205 10.91 5.68288C10.2058 4.97455 9.52831 5.01621 8.86581 5.68288C8.19915 6.35455 3.56248 11.2079 3.22581 11.5012C2.88915 11.7962 2.25331 11.8595 1.85581 11.4629C1.40915 11.0162 1.46998 10.287 1.81581 9.92121C2.23498 9.47788 8.17415 3.31705 8.52081 2.94121C9.36081 2.03038 10.4483 2.04955 11.1291 2.78121C11.6366 3.32621 17.3208 9.41788 17.8458 10.0029ZM8.85581 7.33955C9.41165 6.75955 10.2841 6.68205 10.9083 7.33705C11.1775 7.62038 16.0825 12.6829 16.0825 12.6829V16.2012C16.0808 16.7354 15.6808 17.2362 15.0658 17.2437H11.9241V14.392C11.9241 13.9995 11.785 13.7737 11.4158 13.777C11.1425 13.7795 8.69081 13.7662 8.24165 13.7695C7.86248 13.772 7.74665 14.0645 7.74498 14.3912C7.74498 14.6529 7.73581 17.2437 7.73581 17.2437H4.68165C4.04748 17.247 3.64665 16.9204 3.64248 16.3162C3.64081 16.012 3.63998 12.6504 3.63998 12.6504C3.63998 12.6504 8.48998 7.72121 8.85581 7.33955Z" fill="#B4B4B4"/>
</svg>
\ No newline at end of file
<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M14.7122 2.05284C14.9577 2.29788 14.9602 2.69366 14.7196 2.94175L14.7122 2.94923L13.2839 4.37485L15.9375 4.37487C17.3182 4.37487 18.4375 5.49417 18.4375 6.87487V15.6249C18.4375 17.0056 17.3182 18.1249 15.9375 18.1249H4.0625C2.6818 18.1249 1.5625 17.0056 1.5625 15.6249V6.87487C1.5625 5.49417 2.6818 4.37487 4.0625 4.37487L6.72027 4.37485L5.29195 2.94923C5.04395 2.70169 5.04395 2.30036 5.29195 2.05284C5.53994 1.8053 5.94203 1.8053 6.19004 2.05284L8.51646 4.37485H11.4877L13.8141 2.05284C14.0621 1.8053 14.4642 1.8053 14.7122 2.05284ZM8.92578 8.59362C8.37736 8.59362 7.92969 9.04163 7.92969 9.58972V12.91C7.92969 13.0879 7.97961 13.267 8.06641 13.4178C8.35986 13.8961 8.97463 14.0475 9.45312 13.7694L12.1484 12.1288C12.2899 12.0407 12.4042 11.9274 12.4805 11.7967C12.7776 11.322 12.6318 10.7054 12.168 10.41L9.45312 8.74987C9.29699 8.64528 9.11514 8.59362 8.92578 8.59362Z" fill="#FF4757"/>
</svg>
\ No newline at end of file
<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M15.9704 16.599C15.9116 17.0187 15.8362 17.2651 15.7221 17.3473C15.654 17.3901 15.5069 17.4509 15.2788 17.4937C15.0562 17.5366 14.7729 17.5973 14.4437 17.6366C14.1071 17.6973 13.7484 17.7402 13.3437 17.783C12.939 17.8312 12.5306 17.8741 12.1259 17.908C11.7084 17.942 11.3166 17.9652 10.934 17.9866C10.6341 18.0045 9.00437 18.0045 8.70821 17.9866C8.32376 17.9652 7.92828 17.9437 7.51072 17.908C7.10603 17.8741 6.69767 17.8295 6.29667 17.783C5.89198 17.7402 5.52961 17.6955 5.19298 17.6366C4.86372 17.5973 4.58596 17.5366 4.35786 17.4937C4.13529 17.4509 3.98629 17.3901 3.92007 17.3473C3.80602 17.2651 3.72693 17.0187 3.67174 16.599C3.61288 16.1794 3.63311 15.6472 3.7398 14.9936C3.78579 14.7418 3.86121 14.5382 3.98813 14.3828C4.10954 14.2221 4.26589 14.0882 4.448 13.9632C4.63011 13.8507 4.83245 13.756 5.04215 13.6774C5.25737 13.6131 5.47994 13.5435 5.72091 13.4739C5.94349 13.4042 6.17158 13.3346 6.38312 13.2578C6.59834 13.1756 6.80068 13.0881 6.96807 12.972C7.18329 12.8381 7.33964 12.7131 7.45369 12.5863C7.56774 12.4613 7.64684 12.3399 7.70202 12.2131C7.74433 12.0881 7.78296 11.9613 7.78296 11.8363C7.78296 11.7023 7.78296 11.5684 7.77008 11.3952C7.74433 11.1737 7.66523 10.9791 7.52911 10.8451C7.39483 10.7058 7.23847 10.5683 7.06924 10.4201C6.98831 10.3558 6.91289 10.2505 6.85403 10.1255C6.79148 10.0004 6.73262 9.87365 6.68479 9.73972C6.64249 9.58792 6.58362 9.43256 6.54132 9.27183C6.47325 9.2504 6.40152 9.21647 6.3261 9.16826C6.26723 9.1254 6.19917 9.04325 6.13295 8.95217C6.06489 8.8611 5.99867 8.73609 5.95085 8.55394C5.90486 8.38428 5.88278 8.22535 5.89566 8.09141C5.90486 7.95212 5.93797 7.82711 5.98396 7.7146C6.02994 7.6021 6.08513 7.50745 6.1771 7.39851C6.1771 7.01814 6.19733 6.6449 6.23228 6.25559C6.27827 5.93951 6.34265 5.58949 6.4475 5.21625C6.54499 4.84302 6.70503 4.51085 6.90737 4.2162C7.10971 3.93404 7.32125 3.70902 7.5475 3.5358C7.7756 3.36615 8.02025 3.21971 8.26858 3.11613C8.51691 3.01613 8.76523 2.94648 9.0154 2.91612C9.26373 2.87683 9.4955 2.8554 9.7236 2.8554C9.75671 2.8554 9.79166 2.8554 9.82109 2.85898C9.8542 2.8554 9.88363 2.8554 9.91858 2.8554C10.1412 2.8554 10.3784 2.87683 10.6268 2.91612C10.8751 2.94648 11.1198 3.01613 11.3736 3.11613C11.6183 3.21971 11.8666 3.36793 12.091 3.5358C12.3191 3.70902 12.5343 3.93404 12.7366 4.2162C12.9353 4.51085 13.0953 4.8448 13.1965 5.21625C13.2977 5.5877 13.3657 5.93951 13.4081 6.25559C13.4412 6.6449 13.4669 7.01814 13.4669 7.39851C13.5552 7.50745 13.6141 7.6021 13.6601 7.7146C13.7024 7.82711 13.7355 7.95212 13.7484 8.09141C13.7612 8.22535 13.7355 8.38607 13.6895 8.55394C13.6472 8.73609 13.5791 8.8611 13.5074 8.95217C13.4393 9.04325 13.3768 9.1254 13.3179 9.16826C13.237 9.21647 13.1708 9.2504 13.1027 9.27183C13.0567 9.43256 12.9979 9.58792 12.9555 9.73972C12.9096 9.87365 12.8507 9.99866 12.7863 10.1255C12.7311 10.2505 12.652 10.354 12.5711 10.4201C12.4019 10.5665 12.2474 10.7058 12.1112 10.8451C11.9769 10.9791 11.8997 11.1737 11.8758 11.3952C11.8629 11.5684 11.8629 11.7023 11.8629 11.8363C11.8629 11.9613 11.896 12.0881 11.9383 12.2131C11.9972 12.3381 12.0726 12.4595 12.1866 12.5863C12.3044 12.7113 12.457 12.8381 12.6759 12.972C12.8452 13.0881 13.042 13.1756 13.2572 13.2578C13.4724 13.3363 13.695 13.4042 13.9231 13.4739C14.1586 13.5435 14.383 13.6131 14.5982 13.6774C14.8134 13.756 15.0158 13.8507 15.196 13.9632C15.3781 14.0882 15.5326 14.2221 15.6559 14.3828C15.7773 14.5382 15.8546 14.7418 15.9042 14.9936C16.0035 15.6454 16.0256 16.1776 15.9704 16.599ZM6.3261 2.57146C6.3261 2.72861 6.25988 2.87148 6.15319 2.97505C6.0465 3.07863 5.89934 3.14292 5.73747 3.14292H3.67726V5.14303C3.67726 5.45912 3.41422 5.71449 3.08863 5.71449C2.92676 5.71449 2.7796 5.6502 2.67291 5.54663C2.56622 5.44305 2.5 5.30018 2.5 5.14303V2.57146C2.5 2.25537 2.76304 2 3.08863 2H5.73747C6.06305 2 6.3261 2.25537 6.3261 2.57146Z" fill="#2770FF"/>
<path d="M6.27 11.4286C6.27 11.5857 6.20475 11.7286 6.09963 11.8321C5.9945 11.9357 5.8495 12 5.69 12H3.08C2.75919 12 2.5 11.7446 2.5 11.4286V8.85714C2.5 8.54107 2.75919 8.28571 3.08 8.28571C3.2395 8.28571 3.3845 8.35 3.48963 8.45357C3.59475 8.55714 3.66 8.7 3.66 8.85714V10.8571H5.69C6.01081 10.8571 6.27 11.1125 6.27 11.4286ZM17 8.85714V11.4286C17 11.7446 16.7408 12 16.42 12H13.81C13.4892 12 13.23 11.7446 13.23 11.4286C13.23 11.2714 13.2953 11.1286 13.4004 11.025C13.5055 10.9214 13.6505 10.8571 13.81 10.8571H15.84V8.85714C15.84 8.54107 16.0992 8.28571 16.42 8.28571C16.5795 8.28571 16.7245 8.35 16.8296 8.45357C16.9347 8.55714 17 8.7 17 8.85714ZM17 2.57143V5.14286C17 5.45893 16.7408 5.71429 16.42 5.71429C16.2605 5.71429 16.1155 5.65 16.0104 5.54643C15.9053 5.44286 15.84 5.3 15.84 5.14286V3.14286H13.81C13.4892 3.14286 13.23 2.8875 13.23 2.57143C13.23 2.41429 13.2953 2.27143 13.4004 2.16786C13.5055 2.06429 13.6505 2 13.81 2H16.42C16.7408 2 17 2.25536 17 2.57143Z" fill="#2770FF"/>
</svg>
\ No newline at end of file
<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M18.6042 9.67315L14.9939 6.06286C14.817 5.8859 14.53 5.8859 14.353 6.06286L13.6232 6.7926C13.4462 6.96956 13.4462 7.25661 13.6232 7.43357L15.2157 9.02611H7.95678C7.70653 9.02611 7.50367 9.22897 7.50367 9.47922V10.5114C7.50367 10.7617 7.70653 10.9646 7.95678 10.9646H15.2122L13.6197 12.5571C13.4427 12.7341 13.4427 13.0211 13.6197 13.1981L14.3496 13.9278C14.5265 14.1048 14.8135 14.1048 14.9905 13.9278L17.8743 11.044C17.8743 11.0439 17.8744 11.0439 17.8744 11.0439L18.6043 10.314C18.7812 10.137 18.7812 9.85011 18.6042 9.67315ZM12.3845 1.26465H2.62272C1.87191 1.26465 1.26318 1.87338 1.26318 2.62419V17.3665C1.26318 18.1174 1.87191 18.726 2.62272 18.726H12.3845C13.1353 18.726 13.744 18.1174 13.744 17.3665V15.4536C13.744 15.2034 13.5412 15.0004 13.2908 15.0004H12.3086C12.0583 15.0004 11.8553 15.2034 11.8553 15.4536V16.1813C11.8553 16.8518 11.8553 16.8518 11.1758 16.8518H3.81256C3.13284 16.8518 3.13284 16.8519 3.13284 16.172V3.80289C3.13284 3.12123 3.13138 3.12315 3.81256 3.12315H11.1758C11.8554 3.12315 11.8553 3.12872 11.8553 3.79365V4.54275C11.8553 4.79306 12.0583 4.99596 12.3085 4.99596H13.2908C13.5412 4.99596 13.744 4.79306 13.744 4.54275V2.62419C13.744 1.87338 13.1353 1.26465 12.3845 1.26465Z" fill="#B4B4B4"/>
</svg>
\ No newline at end of file
...@@ -30,26 +30,13 @@ const videoSecond = ref<HTMLVideoElement>(); ...@@ -30,26 +30,13 @@ const videoSecond = ref<HTMLVideoElement>();
let interval = null; let interval = null;
const openInterval = () => {
interval = window.setInterval(() => {
if (videoSecond.value.ended) {
emit('playEnd', props.playId);
}
}, 1000);
};
const stopInterval = () => {
window.clearInterval(interval);
clearInterval(interval);
interval = null;
};
const canplay = () => { const canplay = () => {
onPlay(); onPlay();
}; };
const onVideoEnded = () => { const onVideoEnded = () => {
if (videoSecond.value?.ended) { if (videoSecond.value?.ended) {
emit('playEnd', props.playId);
console.log('重新播放第一个视频'); console.log('重新播放第一个视频');
showFirstVideo.value = true; showFirstVideo.value = true;
videoFirst.value?.play(); videoFirst.value?.play();
...@@ -62,17 +49,12 @@ const canplay2 = () => { ...@@ -62,17 +49,12 @@ const canplay2 = () => {
} else { } else {
secondPlay(); secondPlay();
} }
videoSecond.value?.addEventListener('video', (e: any) => {
console.log(e);
});
}; };
const secondPlay = () => { const secondPlay = () => {
console.log('开始播放第二个视频'); console.log('开始播放第二个视频');
videoFirst.value?.pause(); videoFirst.value?.pause();
videoSecond.value?.play(); videoSecond.value?.play();
// 打开一个定时器--监听第二个视频结束
openInterval();
}; };
const onPlay = () => { const onPlay = () => {
...@@ -91,10 +73,6 @@ watch( ...@@ -91,10 +73,6 @@ watch(
} }
}, },
); );
onBeforeUnmount(() => {
stopInterval();
});
</script> </script>
<style lang="less"> <style lang="less">
......
<template>
<div ref="DragBox" :class="[DefaultClassName, 'drag']">
<div class="show-img" @dragstart.prevent>
<slot></slot>
</div>
</div>
</template>
<script lang="ts" setup>
import { onMounted, ref } from 'vue';
const props = withDefaults(
defineProps<{
id?: number | string;
align?: string;
child?: any;
}>(),
{
align: 'center',
id: 0,
child: '',
},
);
const emit = defineEmits(['delete']);
// 拖拽元素
const DragBox = ref();
// 默认类名
const DefaultClassName = ref('custom-drag-img' + props.id);
class Drag {
constructor(target, options = { limit: true, drag: true, zoom: true, minWidth: 0, minHeight: 0 }) {
this.target = target;
this.options = options;
this.init();
}
// 初始化
init() {
this.target.style.position = 'relative';
this.getBoundary();
if (this.options.drag) {
this.drag();
}
if (this.options.zoom) {
this.addHorn();
this.addBorder();
this.leftZoom();
this.rightZoom();
this.topZoom();
this.bottomZoom();
this.leftTopZoom();
this.leftBottomZoom();
this.rightTopZoom();
this.rightBottomZoom();
}
// 初始化位置
// if (props.align == 'center') {
// this.distanceX = 0;
// this.distanceY = this.maxHeight / 4;
// this.target.style.transform = `translate(${this.distanceX}px, ${this.distanceY}px)`;
// }
}
// 获取父元素的宽高
getBoundary() {
this.maxWidth = this.target.parentNode.clientWidth;
this.maxHeight = this.target.parentNode.clientHeight;
}
// 获取自身起始信息
getInfo(e) {
if (props.child) {
// 获取这个子元素的宽高
this.width = props.child.clientWidth;
this.height = props.child.clientHeight;
} else {
this.width = this.target.clientWidth;
this.height = this.target.clientHeight;
}
let translateStr = this.target.style.transform;
if (translateStr) {
const reg = /\d+/g;
let translateArr = translateStr.match(reg);
this.tx = Number(translateArr[0]);
this.ty = Number(translateArr[1]);
} else {
this.tx = 0;
this.ty = 0;
}
this.startX = e.clientX;
this.startY = e.clientY;
}
// 拖动实现
drag() {
this.target.addEventListener('mousedown', (e) => {
this.getInfo(e);
document.onmousemove = (e) => {
if (this.options.limit) {
this.distanceX = Math.max(0, Math.min(this.tx + e.clientX - this.startX, this.maxWidth - this.width));
this.distanceY = Math.max(0, Math.min(this.ty + e.clientY - this.startY, this.maxHeight - this.height));
} else {
this.distanceX = this.tx + e.clientX - this.startX;
this.distanceY = this.ty + e.clientY - this.startY;
}
this.target.style.transform = `translate(${this.distanceX}px, ${this.distanceY}px)`;
};
document.onmouseup = () => {
document.onmousemove = null;
};
});
}
// 添加四个角
addHorn() {
this.leftTop = document.createElement('div');
this.rightTop = document.createElement('div');
this.leftBottom = document.createElement('div');
this.rightBottom = document.createElement('div');
this.leftTop.className = 'horn leftTop';
this.rightTop.className = 'horn rightTop';
this.leftBottom.className = 'horn leftBottom';
this.rightBottom.className = 'horn rightBottom';
this.target.append(this.leftTop);
this.target.append(this.rightTop);
this.target.append(this.leftBottom);
this.target.append(this.rightBottom);
}
// 添加四条边
addBorder() {
this.left = document.createElement('div');
this.right = document.createElement('div');
this._top = document.createElement('div');
this.bottom = document.createElement('div');
this.left.className = 'vertical left';
this.right.className = 'vertical right';
this._top.className = 'horizontal top';
this.bottom.className = 'horizontal bottom';
this.target.append(this.left);
this.target.append(this.right);
this.target.append(this._top);
this.target.append(this.bottom);
}
// 缩放实现
zoom(el: any, direction: any) {
el.addEventListener('mousedown', (e) => {
e.stopPropagation();
this.getInfo(e);
document.onmousemove = (e) => {
switch (direction) {
case 'left':
this.leftInfo(e);
break;
case 'right':
this.rightInfo(e);
break;
case 'top':
this.topInfo(e);
break;
case 'bottom':
this.bottomInfo(e);
break;
case 'leftTop':
this.leftTopInfo(e);
break;
case 'leftBottom':
this.leftBottomInfo(e);
break;
case 'rightTop':
this.rightTopInfo(e);
break;
case 'rightBottom':
this.rightBottomInfo(e);
break;
}
// 这里不能直接使用对this.newWidth隐式类型转换来判断,因为this.newWidth===0时,会使用this.width
let width = this.newWidth !== undefined ? this.newWidth : this.width;
let height = this.newHeight !== undefined ? this.newHeight : this.height;
let translateX = this.distanceX !== undefined ? this.distanceX : this.tx;
let translateY = this.distanceY !== undefined ? this.distanceY : this.ty;
this.target.style.width = `${width}px`;
this.target.style.height = `${height}px`;
this.target.style.transform = `translate(${translateX}px, ${translateY}px)`;
};
document.onmouseup = () => {
document.onmousemove = null;
};
});
}
// 获取缩放时宽高、translate等参数的值
leftInfo(e: any) {
this.newWidth = this.width - (e.clientX - this.startX);
this.distanceX = this.tx + (e.clientX - this.startX);
if (this.options.limit) {
this.newWidth = Math.max(this.options.minWidth, Math.min(this.newWidth, this.width + this.tx));
this.distanceX = Math.max(0, Math.min(this.distanceX, this.width + this.tx - this.options.minWidth));
}
}
rightInfo(e: any) {
this.newWidth = this.width + (e.clientX - this.startX);
if (this.options.limit) {
this.newWidth = Math.max(this.options.minWidth, Math.min(this.newWidth, this.maxWidth - this.tx));
}
}
topInfo(e: any) {
this.newHeight = this.height - (e.clientY - this.startY);
this.distanceY = this.ty + (e.clientY - this.startY);
if (this.options.limit) {
this.newHeight = Math.max(this.options.minHeight, Math.min(this.newHeight, this.height + this.ty));
this.distanceY = Math.max(0, Math.min(this.distanceY, this.height + this.ty - this.options.minHeight));
}
}
bottomInfo(e: any) {
this.newHeight = this.height + (e.clientY - this.startY);
if (this.options.limit) {
this.newHeight = Math.max(this.options.minHeight, Math.min(this.newHeight, this.maxHeight - this.ty));
}
}
leftTopInfo(e) {
this.leftInfo(e);
this.topInfo(e);
}
leftBottomInfo(e) {
this.leftInfo(e);
this.bottomInfo(e);
}
rightTopInfo(e) {
this.rightInfo(e);
this.topInfo(e);
}
rightBottomInfo(e) {
this.rightInfo(e);
this.bottomInfo(e);
}
leftZoom() {
this.zoom(this.left, 'left');
}
rightZoom() {
this.zoom(this.right, 'right');
}
topZoom() {
this.zoom(this._top, 'top');
}
bottomZoom() {
this.zoom(this.bottom, 'bottom');
}
leftTopZoom() {
this.zoom(this.leftTop, 'leftTop');
}
leftBottomZoom() {
this.zoom(this.leftBottom, 'leftBottom');
}
rightTopZoom() {
this.zoom(this.rightTop, 'rightTop');
}
rightBottomZoom() {
this.zoom(this.rightBottom, 'rightBottom');
}
}
onMounted(() => {
new Drag(DragBox.value);
});
</script>
<style lang="less">
.drag {
background-repeat: no-repeat;
background-size: 100% 100%;
-moz-background-size: 100% 100%;
border: 1px dashed transparent;
cursor: all-scroll;
overflow: hidden;
.show-img {
width: 100%;
height: 100%;
user-select: none;
}
.horn {
width: 14px;
height: 14px;
position: absolute;
}
.vertical {
width: 10px;
height: calc(100% - 14px);
margin: 7px 0px;
position: absolute;
cursor: col-resize;
}
.horizontal {
width: calc(100% - 14px);
height: 10px;
margin: 0px 7px;
position: absolute;
cursor: row-resize;
}
.top {
top: -5px;
left: 0;
}
.left {
top: 0;
left: -5px;
}
.bottom {
left: 0;
bottom: -5px;
}
.right {
top: 0;
right: -5px;
}
.leftTop {
cursor: nw-resize;
left: -7px;
top: -7px;
}
.rightTop {
cursor: ne-resize;
right: -7px;
top: -7px;
}
.leftBottom {
cursor: sw-resize;
bottom: -7px;
left: -7px;
}
.rightBottom {
cursor: se-resize;
right: -7px;
bottom: -7px;
}
}
</style>
<template>
<div class="grid-container" ref="gridContainer" :style="computedStyles">
<slot />
</div>
</template>
<script lang="ts" setup>
import { computed, onMounted, ref, watch } from 'vue';
const props = withDefaults(
defineProps<{
marginLeft?: number;
length?: number;
rowGap?: number;
cardWidth?: number;
}>(),
{
marginLeft: 20,
length: 0,
rowGap: 18,
cardWidth: 0,
},
);
const gridContainer = ref<HTMLDivElement>();
// 动态样式
const computedStyles = computed(() => {
return {
'grid-row-gap': props.marginLeft + 'px',
'grid-column-gap': props.rowGap + 'px',
};
});
// 修改样式
const changeMargin = () => {
if (gridContainer.value) {
setTimeout(() => {
if (gridContainer.value.children.length) {
let width = props.cardWidth ? props.cardWidth : gridContainer.value.children[0].clientWidth;
gridContainer.value.style.setProperty('--grid-template-columns', `${width}px`);
}
}, 0);
}
};
watch(
() => props.length,
(v) => {
if (v) {
changeMargin();
}
},
);
onMounted(() => {
changeMargin();
});
</script>
<style lang="less">
.grid-container {
display: grid;
justify-content: space-between;
grid-template-columns: repeat(auto-fill, var(--grid-template-columns));
// grid-gap: 10px;
}
</style>
...@@ -21,6 +21,7 @@ ...@@ -21,6 +21,7 @@
</div> </div>
<div class="list narrow-scrollbar"> <div class="list narrow-scrollbar">
<template v-if="list"> <template v-if="list">
<Grid :marginLeft="12" :length="list.length" :rowGap="12" :cardWidth="110">
<div <div
class="chose-tones-item" class="chose-tones-item"
:class="{ :class="{
...@@ -38,6 +39,7 @@ ...@@ -38,6 +39,7 @@
</template> </template>
</div> </div>
</div> </div>
</Grid>
</template> </template>
<template v-else> <template v-else>
...@@ -70,6 +72,7 @@ ...@@ -70,6 +72,7 @@
import { reactive, ref, watch } from 'vue'; import { reactive, ref, watch } from 'vue';
import Button from '@/components/Button.vue'; import Button from '@/components/Button.vue';
import ResetSvg from '@/assets/svg/home/reset.svg'; import ResetSvg from '@/assets/svg/home/reset.svg';
import Grid from '@/components/Grid.vue';
const props = withDefaults( const props = withDefaults(
defineProps<{ defineProps<{
modelValue: boolean; modelValue: boolean;
...@@ -166,16 +169,8 @@ const onSelect = (item: any) => { ...@@ -166,16 +169,8 @@ const onSelect = (item: any) => {
} }
} }
.list { .list {
display: flex; height: 174px;
flex-wrap: wrap;
row-gap: 6px;
height: 180px;
overflow-y: auto; overflow-y: auto;
margin-top: 6px;
margin-left: -20px;
& > * {
margin-left: 20px;
}
.chose-tones-item { .chose-tones-item {
width: 110px; width: 110px;
height: 45px; height: 45px;
......
...@@ -112,3 +112,6 @@ export const SiteConfig = { ...@@ -112,3 +112,6 @@ export const SiteConfig = {
// 邮箱正则 // 邮箱正则
export const emailReg = /^\w{3,}(\.\w+)*@[A-z0-9]+(\.[A-z]{2,8}){1,2}$/; export const emailReg = /^\w{3,}(\.\w+)*@[A-z0-9]+(\.[A-z]{2,8}){1,2}$/;
// 创建直播页面路由记录key
export const createLiveRouteKey = 'create_live_route_key';
<template>
<div class="tdesign-wrapper">
<router-view />
</div>
</template>
<style lang="less">
.tdesign-wrapper {
height: 100vh;
display: flex;
flex-direction: column;
}
</style>
@import '@/style/flex.less';
.certification-box {
margin-left: auto;
.certification {
.da();
height: 27px;
border-radius: 15px 0px 0px 15px;
font-weight: 400;
font-size: 11px;
white-space: nowrap;
& > * {
padding: 0 6px;
}
}
.green {
color: #5eba89;
background: #e3f4ed;
}
.blue {
background: #c7d5fc;
color: #2962ff;
}
.yellow {
background: #fff2c5;
color: #ffb800;
}
}
import { defineComponent, computed } from 'vue';
import { useI18n } from 'vue-i18n';
import { useStore } from 'vuex';
import './index.less';
export default defineComponent({
setup(props, { slots }) {
const store = useStore();
const { t } = useI18n();
const userInfo = computed(() => store.getters['user/userInfo']);
const imgs = {
// 已认证
certified: new URL('../../../assets/svg/user/certified.svg', import.meta.url).href,
// 审核中
UnderReview: new URL('../../../assets/svg/user/UnderReview.svg', import.meta.url).href,
// 未认证
NotCertified: new URL('../../../assets/svg/user/NotCertified.svg', import.meta.url).href,
};
// 当前显示的认证状态
const getAuthStatus = () => {
if (userInfo.value.is_real_name) {
// 已认证
return (
<div class="certification green">
<img src={imgs.certified} alt="" class="img" />
<span>{t('auth.Acreditado')}</span>
</div>
);
} else if (userInfo.value.is_real_name_audit) {
// 审核中
return (
<div class="certification blue">
<img src={imgs.UnderReview} alt="" class="img" />
<span>{t('auth.UnderReview')}</span>
</div>
);
} else {
// 未认证
return (
<div class="certification yellow">
<img src={imgs.NotCertified} alt="" class="img" />
<span>{t('auth.NoCertificado')}</span>
</div>
);
}
};
return () => <div class="certification-box">{getAuthStatus()}</div>;
},
});
...@@ -8,14 +8,14 @@ ...@@ -8,14 +8,14 @@
</div> </div>
<div class="right"> <div class="right">
<div class="user-info"> <div class="user-info">
<UserSvg></UserSvg> <LoginDropdown></LoginDropdown>
</div> </div>
</div> </div>
</div> </div>
</template> </template>
<script setup lang="ts"> <script setup lang="ts">
import UserSvg from '@/assets/svg/header/user.svg'; import LoginDropdown from './LoginDropdown.vue';
import { useRoute, useRouter } from 'vue-router'; import { useRoute, useRouter } from 'vue-router';
import ChangeName from '@/components/changeName.vue'; import ChangeName from '@/components/changeName.vue';
import { useStore } from 'vuex'; import { useStore } from 'vuex';
......
...@@ -5,71 +5,29 @@ ...@@ -5,71 +5,29 @@
--> -->
<template> <template>
<t-popup <t-popup
class="placement top center" overlayClassName="placement-user-info"
placement="bottom-left" placement="bottom-left"
trigger="click" trigger="click"
show-arrow :showArrow="false"
v-model:visible="user_popup_visible" v-model:visible="user_popup_visible"
> >
<template #content> <template #content>
<div class="s-header-user-info-dropdown"> <div class="s-header-user-info-dropdown">
<div class="user-info-dropdown-header">
<div class="info-dropdown-header-email">
{{ ShowUserInfo() }}
</div>
<div class="info-dropdown-header-vip">
<div class="info-header-vip-left">
<template v-if="userInfo.vip_level">
<img :src="Imgs.userVip" alt="" />
<div class="vip-title">VIP{{ userInfo.vip_level }}</div>
</template>
<template v-else>
<img :src="Imgs.notVip" alt="" />
<div class="vip-title not-vip">{{ $t('header.Generalusers') }}</div>
</template>
</div>
<AuthStatus></AuthStatus>
</div>
</div>
<!-- content --> <!-- content -->
<div class="user-info-dropdown-content"> <!-- <div class="user-info-dropdown-content">
<div @click="backRouter('AssetsOverview')"> <div @click="backRouter('AssetsOverview')">
<img :src="Imgs.myMoney" alt="" /> <img :src="Imgs.myMoney" alt="" />
<div class="dropdown-content-text">{{ $t('header.MisActivos') }}</div> <div class="dropdown-content-text">{{ $t('header.MisActivos') }}</div>
</div> </div>
<div @click="backRouter('Invitation')"> </div> -->
<img :src="Imgs.Invitation" alt="" />
<div class="dropdown-content-text">{{ $t('header.InvitacionCashback') }}</div>
</div>
<div @click="backRouter('daily-sign-in')">
<img :src="Imgs.signIn" alt="" />
<div class="dropdown-content-text">{{ $t('header.DailysignIn') }}</div>
</div>
<div @click="backRouter('Authentication')">
<img :src="Imgs.auth" alt="" />
<div class="dropdown-content-text">{{ $t('header.Verificaciondeidentidad') }}</div>
</div>
<div @click="backRouter('AccountSecurity')">
<img :src="Imgs.safe" alt="" />
<div class="dropdown-content-text">{{ $t('header.RegularSeguridad') }}</div>
</div>
<div>
<img :src="Imgs.theme" alt="" />
<div class="dropdown-content-text">{{ $t('header.Temasdecolor') }}</div>
<div class="theme-swicth">
<t-switch v-model="swicth_checked" @change="swicth_onChange" />
</div>
</div>
</div>
<div class="user-info-dropdown-footer" @click="logout"> <div class="user-info-dropdown-footer" @click="logout">
<img :src="Imgs.logout" alt="" /> <img :src="Imgs.logout" alt="" />
<div class="dropdown-footer-text">{{ $t('header.CerrarSesion') }}</div> <div class="dropdown-footer-text">退出</div>
</div> </div>
</div> </div>
</template> </template>
<div class="custom-header-user-info"> <div class="custom-header-user-info">
<UserOneSvg></UserOneSvg> <UserSvg></UserSvg>
<UserAvatar></UserAvatar>
<div class="user-message-dot" v-if="mes_num">{{ mes_num }}</div> <div class="user-message-dot" v-if="mes_num">{{ mes_num }}</div>
<div v-else></div> <div v-else></div>
</div> </div>
...@@ -77,24 +35,13 @@ ...@@ -77,24 +35,13 @@
</template> </template>
<script setup lang="ts"> <script setup lang="ts">
import AuthStatus from './AuthStatus'; import UserSvg from '@/assets/svg/header/user.svg';
import { computed, onMounted, ref } from 'vue'; import { computed, onMounted, ref } from 'vue';
import { useStore } from 'vuex'; import { useStore } from 'vuex';
import { useRoute, useRouter } from 'vue-router'; import { useRoute, useRouter } from 'vue-router';
import UserOneSvg from '@/assets/svg/user/user-1.svg';
import UserAvatar from '@/assets/svg/user/user-avatar.svg';
import STYLE_CONFIG from '@/config/style'; import STYLE_CONFIG from '@/config/style';
const Imgs = { const Imgs = {
userVip: new URL('../../assets/svg/user/user-vip.svg', import.meta.url).href,
notVip: new URL('../../assets/svg/user/notvip.svg', import.meta.url).href,
Already: new URL('../../assets/svg/user/Already.svg', import.meta.url).href,
myMoney: new URL('../../assets/svg/user/userdropdown/myMoney.svg', import.meta.url).href,
Invitation: new URL('../../assets/svg/user/userdropdown/Invitation.svg', import.meta.url).href,
auth: new URL('../../assets/svg/user/userdropdown/auth.svg', import.meta.url).href,
safe: new URL('../../assets/svg/user/userdropdown/safe.svg', import.meta.url).href,
theme: new URL('../../assets/svg/user/userdropdown/theme.svg', import.meta.url).href,
logout: new URL('../../assets/svg/user/userdropdown/logout.svg', import.meta.url).href, logout: new URL('../../assets/svg/user/userdropdown/logout.svg', import.meta.url).href,
signIn: new URL('../../assets/svg/user/userdropdown/signIn.svg', import.meta.url).href,
}; };
// 消息数量 // 消息数量
const mes_num = ref<number>(0); const mes_num = ref<number>(0);
...@@ -156,44 +103,30 @@ const gotoMember = (label: string) => { ...@@ -156,44 +103,30 @@ const gotoMember = (label: string) => {
// 退出 // 退出
const logout = () => { const logout = () => {
store.dispatch('user/logout'); store.dispatch('user/logout');
user_popup_visible.value = false;
}; };
</script> </script>
<style lang="less"> <style lang="less">
@import '../../style/variables.less'; @import '../../style/variables.less';
@import '@/style/flex.less'; @import '@/style/flex.less';
.t-popup__content { .placement-user-info {
.t-popup__content {
margin-top: 9px !important;
background: #303030;
padding: 0; padding: 0;
}
.s-header-user-info-dropdown {
background: var(--theme-color-28);
border-radius: 4px;
width: 250px;
.user-info-dropdown-header {
padding-left: 12px;
border-bottom: 0.5px solid #848e9c;
.info-dropdown-header-email {
font-weight: 800;
font-size: 15px;
color: var(--theme-color-17);
padding: 6px 0;
}
.info-dropdown-header-vip {
.dj(space-between);
padding-bottom: 4px;
.info-header-vip-left {
.da();
.vip-title {
font-size: 12px;
transform: scale(0.8);
color: #cc9f00;
}
.not-vip {
color: #bcbcbc;
}
} }
.t-popup__arrow {
&::before {
background: #303030;
} }
} }
}
.s-header-user-info-dropdown {
border-radius: 6px;
background: #303030;
border-radius: 4px;
width: 120px;
.user-info-dropdown-content { .user-info-dropdown-content {
border-bottom: 1px solid #595a5a; border-bottom: 1px solid #595a5a;
& > * { & > * {
...@@ -225,30 +158,21 @@ const logout = () => { ...@@ -225,30 +158,21 @@ const logout = () => {
height: 45px; height: 45px;
cursor: pointer; cursor: pointer;
transition: background 0.3s; transition: background 0.3s;
&:hover {
background: rgba(244, 244, 244, 0.5);
transition: background 0.3s;
}
img { img {
margin: 0 12px; margin: 0 12px;
width: 29px; width: 29px;
height: 29px; height: 29px;
} }
.dropdown-footer-text { .dropdown-footer-text {
font-weight: 300; font-weight: 400;
font-size: 15px; font-size: @size-14;
color: var(--theme-color-14); color: #b4b4b4;
padding-left: 12px; padding-left: 12px;
} }
} }
} }
.custom-header-user-info { .custom-header-user-info {
border: 1px solid #595a5a;
border-radius: 25px;
height: 44px;
cursor: pointer;
.dja(space-between); .dja(space-between);
position: relative;
& > :not(:last-child) { & > :not(:last-child) {
margin: 0 8px; margin: 0 8px;
} }
......
<template>
<div class="custom-header-navigator">
<div class="home-icon" @click="goHome">
<img :src="imgs.home" alt="" />
</div>
<div class="navigator-item" v-for="item in navigatorList" :key="item.path" @click="jump(item)">
<img class="navigator-icon" :src="item.icon" alt="" />
<span class="label">
{{ item.label }}
</span>
<!-- <div class="close-icon">
<img :src="imgs.close" alt="" />
</div> -->
</div>
</div>
</template>
<script lang="ts" setup>
import routerConfig from '@/router/tool';
import { useRouter } from 'vue-router';
import { createLiveRouteKey } from '@/constants/token';
const router = useRouter();
const imgs = {
home: new URL('../../assets/svg/home/home.svg', import.meta.url).href,
live: new URL('../../assets/svg/home/navLive.svg', import.meta.url).href,
person: new URL('../../assets/svg/home/person.svg', import.meta.url).href,
speak: new URL('../../assets/svg/home/speaking.svg', import.meta.url).href,
interaction: new URL('../../assets/svg/home/interaction.svg', import.meta.url).href,
close: new URL('../../assets/svg/home/close.svg', import.meta.url).href,
};
const navigatorList = [
{
icon: imgs.live,
label: '直播创建',
path: routerConfig.createLive.path,
},
{
icon: imgs.person,
label: '形象定制',
path: routerConfig.ImageCustomization.path,
},
{
icon: imgs.speak,
label: '声音定制',
path: routerConfig.VocalCustomization.path,
},
{
icon: imgs.interaction,
label: '互动回答',
path: routerConfig.createInteract.path,
},
];
const goHome = () => {
router.push({
path: routerConfig.home.path,
});
};
const jump = (item: any) => {
let params = {};
if (item.path == routerConfig.createLive.path) {
// 访问记录
let query = window.localStorage.getItem(createLiveRouteKey);
if (query) {
params = JSON.parse(query);
}
}
router.push({
path: item.path,
query: params,
});
};
</script>
<style lang="less">
@import '@/style/variables';
.custom-header-navigator {
background: #303030;
height: 36px;
margin-top: 4px;
.da();
& > * {
height: 100%;
cursor: pointer;
}
.home-icon {
width: 108px;
.dja();
}
.navigator-item {
.da();
font-size: @size-12;
color: rgba(180, 180, 180, 0.9);
width: 165px;
position: relative;
padding-left: 20px;
.label {
margin-left: 12px;
}
&::after {
content: '';
height: 100%;
width: 2px;
background: rgb(30, 30, 30);
position: absolute;
right: 0;
top: 0;
}
.navigator-icon {
width: 20px;
height: 20px;
}
.close-icon {
position: absolute;
top: 50%;
right: 12px;
transform: translate(0, -50%);
}
}
}
</style>
...@@ -2,6 +2,7 @@ import { defineComponent, ref } from 'vue'; ...@@ -2,6 +2,7 @@ import { defineComponent, ref } from 'vue';
import Header from './components/Header.vue'; import Header from './components/Header.vue';
// import Footer from './components/Footer.vue'; // import Footer from './components/Footer.vue';
import Content from './components/Content.vue'; import Content from './components/Content.vue';
import ToolBar from './components/ToolBar.vue';
import '@/style/layout.less'; import '@/style/layout.less';
import { onBeforeRouteUpdate, useRoute } from 'vue-router'; import { onBeforeRouteUpdate, useRoute } from 'vue-router';
...@@ -35,6 +36,7 @@ export default defineComponent({ ...@@ -35,6 +36,7 @@ export default defineComponent({
<div> <div>
<t-layout key="no-side"> <t-layout key="no-side">
<Header /> <Header />
<ToolBar />
<t-content class="s-layout-content narrow-scrollbar" id="layout-scroll"> <t-content class="s-layout-content narrow-scrollbar" id="layout-scroll">
<Content /> <Content />
{/* {this.footer ? ( {/* {this.footer ? (
......
...@@ -63,6 +63,7 @@ ...@@ -63,6 +63,7 @@
</div> </div>
</SelectionPopup> </SelectionPopup>
</div> </div>
<template v-if="lists.soundColor.length">
<div class="default-add">+</div> <div class="default-add">+</div>
<div @click="openSoundColor" class="default-label"> <div @click="openSoundColor" class="default-label">
<SelectionPopup <SelectionPopup
...@@ -86,6 +87,7 @@ ...@@ -86,6 +87,7 @@
</div></SelectionPopup </div></SelectionPopup
> >
</div> </div>
</template>
</div> </div>
</div> </div>
</template> </template>
......
...@@ -11,6 +11,7 @@ ...@@ -11,6 +11,7 @@
maxHeight: maxHeight + 'px', maxHeight: maxHeight + 'px',
}" }"
> >
<Grid :length="digitalList.list.length" :rowGap="12" :marginLeft="8">
<template v-for="item in digitalList.list" :key="item.id"> <template v-for="item in digitalList.list" :key="item.id">
<CardOne <CardOne
:row="item" :row="item"
...@@ -21,12 +22,14 @@ ...@@ -21,12 +22,14 @@
@change="onCardChange" @change="onCardChange"
></CardOne> ></CardOne>
</template> </template>
</Grid>
</div> </div>
</div> </div>
</div> </div>
</template> </template>
<script lang="ts" setup> <script lang="ts" setup>
import Grid from '@/components/Grid.vue';
import Select from '@/components/Select.vue'; import Select from '@/components/Select.vue';
import CardOne from '@/components/cardOne.vue'; import CardOne from '@/components/cardOne.vue';
import { ref, onMounted, reactive, watch, computed } from 'vue'; import { ref, onMounted, reactive, watch, computed } from 'vue';
...@@ -118,7 +121,8 @@ const onCardChange = (id: string | number, row: any) => { ...@@ -118,7 +121,8 @@ const onCardChange = (id: string | number, row: any) => {
[createLiveKeys.id]: id, [createLiveKeys.id]: id,
}); });
// 将对应的图片传给右侧工具 // 将对应的图片传给右侧工具
store.commit('live/setLiveImage', row.cover_url); // store.commit('live/setLiveImage', row.cover_url);
store.commit('live/setLiveImage', row.video_url);
}; };
// 数字人列表 // 数字人列表
...@@ -159,6 +163,7 @@ const getList = async () => { ...@@ -159,6 +163,7 @@ const getList = async () => {
try { try {
let res: any = await getDigitalPeopleList(); let res: any = await getDigitalPeopleList();
digitalList.admin = res.adminList; digitalList.admin = res.adminList;
// digitalList.admin = digitalList.admin.concat(res.adminList);
digitalList.my = res.myList; digitalList.my = res.myList;
changeCurrentList(); changeCurrentList();
checkPerson(); checkPerson();
...@@ -209,10 +214,6 @@ watch( ...@@ -209,10 +214,6 @@ watch(
.create-digital-person-list-box { .create-digital-person-list-box {
padding: 12px; padding: 12px;
overflow-y: auto; overflow-y: auto;
display: flex;
justify-content: space-between;
flex-wrap: wrap;
row-gap: 12px;
.custom-card-box { .custom-card-box {
background: white; background: white;
width: 150px; width: 150px;
......
...@@ -25,6 +25,7 @@ ...@@ -25,6 +25,7 @@
</div> </div>
</SelectionPopup> </SelectionPopup>
</div> </div>
<template v-if="lists.soundColor.length">
<div class="default-add">+</div> <div class="default-add">+</div>
<div @click="openSoundColor" class="default-label"> <div @click="openSoundColor" class="default-label">
<SelectionPopup <SelectionPopup
...@@ -50,6 +51,7 @@ ...@@ -50,6 +51,7 @@
</div></SelectionPopup </div></SelectionPopup
> >
</div> </div>
</template>
</div> </div>
<!-- --> <!-- -->
<div class="phonetics-chose" v-show="currentOption === scriptTypePhonetics"> <div class="phonetics-chose" v-show="currentOption === scriptTypePhonetics">
......
...@@ -40,7 +40,12 @@ ...@@ -40,7 +40,12 @@
<div class="label">画面预览:点中主播,即可缩放、移动位置</div> <div class="label">画面预览:点中主播,即可缩放、移动位置</div>
<div class="drag-box"> <div class="drag-box">
<template v-if="liveImage"> <template v-if="liveImage">
<Drag :img="liveImage" id="1"></Drag> <!-- <Drag :img="liveImage" id="1"></Drag> -->
<Drag2 :child="videoPlay">
<div class="video-play-box">
<video ref="videoPlay" :src="liveImage" @canplay="videoCanplay"></video>
</div>
</Drag2>
</template> </template>
</div> </div>
</div> </div>
...@@ -51,6 +56,7 @@ ...@@ -51,6 +56,7 @@
</template> </template>
<script lang="tsx" setup> <script lang="tsx" setup>
import Drag2 from '@/components/Drag2.vue';
import Loading from '@/components/loading.vue'; import Loading from '@/components/loading.vue';
import ConfirmDialog from '@/components/ConfirmDialog.vue'; import ConfirmDialog from '@/components/ConfirmDialog.vue';
import StepList from './components/SetpsList'; import StepList from './components/SetpsList';
...@@ -70,6 +76,7 @@ import { createLiveTask, getLiveTaskInfo, createDrafts, getDraftsDetail } from ' ...@@ -70,6 +76,7 @@ import { createLiveTask, getLiveTaskInfo, createDrafts, getDraftsDetail } from '
import { useRoute, useRouter } from 'vue-router'; import { useRoute, useRouter } from 'vue-router';
import routerConfig from '@/router/tool'; import routerConfig from '@/router/tool';
import { onUpdateLiveTask } from '@/service/Common'; import { onUpdateLiveTask } from '@/service/Common';
import { createLiveRouteKey } from '@/constants/token';
import { useLiveInfoSubmit } from '@/hooks/useStoreCommit'; import { useLiveInfoSubmit } from '@/hooks/useStoreCommit';
const [commitInfo] = useLiveInfoSubmit(); const [commitInfo] = useLiveInfoSubmit();
...@@ -91,6 +98,12 @@ const toolHeight = ref(0); ...@@ -91,6 +98,12 @@ const toolHeight = ref(0);
const currentSetp = ref(1); const currentSetp = ref(1);
const videoPlay = ref<HTMLVideoElement>();
const videoCanplay = () => {
videoPlay.value.play();
};
const getLoadStatus = (value: number) => { const getLoadStatus = (value: number) => {
if (route.query.type === 'edit' || route.query.type === 'edit_drafts') { if (route.query.type === 'edit' || route.query.type === 'edit_drafts') {
return true; return true;
...@@ -216,6 +229,8 @@ onMounted(() => { ...@@ -216,6 +229,8 @@ onMounted(() => {
getEditInfo(routeQuery.id, routeQuery.type); getEditInfo(routeQuery.id, routeQuery.type);
} }
store.commit('live/setName', route.query.title ? route.query.title : ''); store.commit('live/setName', route.query.title ? route.query.title : '');
// 记录本次路由
window.localStorage.setItem(createLiveRouteKey, JSON.stringify(route.query));
}); });
const backHome = () => { const backHome = () => {
...@@ -400,6 +415,7 @@ const confirm = async () => { ...@@ -400,6 +415,7 @@ const confirm = async () => {
padding-top: 4px; padding-top: 4px;
display: flex; display: flex;
position: relative; position: relative;
overflow: hidden;
& > :not(:last-child) { & > :not(:last-child) {
background: rgb(48, 48, 48); background: rgb(48, 48, 48);
height: 100%; height: 100%;
...@@ -465,10 +481,19 @@ const confirm = async () => { ...@@ -465,10 +481,19 @@ const confirm = async () => {
flex: 1; flex: 1;
.drag { .drag {
width: 100%; width: 100%;
height: auto;
.show-img {
.video-play-box {
width: 100%;
video {
width: 100%;
height: 100%; height: 100%;
} }
} }
} }
} }
}
}
}
} }
</style> </style>
...@@ -144,7 +144,10 @@ watch( ...@@ -144,7 +144,10 @@ watch(
} }
} }
.person-list { .person-list {
margin-top: 12px; margin: 12px 0;
display: flex;
flex-wrap: wrap;
justify-content: space-between;
.card-active { .card-active {
border: 1px solid #04ae8a; border: 1px solid #04ae8a;
} }
......
<template> <template>
<div class="digital-people-draft"> <div class="digital-people-draft">
<div class="card-item-list"> <Grid :marginLeft="35" :length="myDigtalList.list.length" :rowGap="18" :cardWidth="200">
<template v-for="item in myDigtalList.list" :key="item.id"> <template v-for="item in myDigtalList.list" :key="item.id">
<CardTwo <CardTwo
:id="item.id" :id="item.id"
...@@ -19,13 +19,14 @@ ...@@ -19,13 +19,14 @@
</template> </template>
</CardTwo> </CardTwo>
</template> </template>
</div> </Grid>
<CustomLoading v-show="myDigtalList.loading"></CustomLoading> <CustomLoading v-show="myDigtalList.loading"></CustomLoading>
<ConfirmDialog v-model="confirmVisible" title="确定删除吗?" @confirm="confirm"></ConfirmDialog> <ConfirmDialog v-model="confirmVisible" title="确定删除吗?" @confirm="confirm"></ConfirmDialog>
</div> </div>
</template> </template>
<script lang="ts" setup> <script lang="ts" setup>
import Grid from '@/components/Grid.vue';
import ConfirmDialog from '@/components/ConfirmDialog.vue'; import ConfirmDialog from '@/components/ConfirmDialog.vue';
import { reactive, onMounted, ref } from 'vue'; import { reactive, onMounted, ref } from 'vue';
import CardTwo from '@/components/cardTwo.vue'; import CardTwo from '@/components/cardTwo.vue';
...@@ -116,15 +117,6 @@ onMounted(() => { ...@@ -116,15 +117,6 @@ onMounted(() => {
background: #303030; background: #303030;
position: relative; position: relative;
min-height: 300px; min-height: 300px;
.card-item-list {
display: flex;
justify-content: space-between;
flex-wrap: wrap;
row-gap: 30px;
margin-left: -20px;
& > * {
margin-left: 20px;
}
.my-digtal-people-hover { .my-digtal-people-hover {
position: absolute; position: absolute;
top: 0; top: 0;
...@@ -144,6 +136,5 @@ onMounted(() => { ...@@ -144,6 +136,5 @@ onMounted(() => {
margin-bottom: 20px; margin-bottom: 20px;
} }
} }
}
} }
</style> </style>
<template> <template>
<div class="my-digtal-people"> <div class="my-digtal-people">
<div class="card-item-list"> <Grid :length="myDigtalList.list.length" :marginLeft="35">
<template v-for="item in myDigtalList.list" :key="item.id"> <template v-for="item in myDigtalList.list" :key="item.id">
<CardTwo <CardTwo
:id="item.id" :id="item.id"
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
> >
<template #hover> <template #hover>
<div class="my-digtal-people-hover"> <div class="my-digtal-people-hover">
<template v-if="item.is_live == 0"> <template v-if="item.is_live == 1">
<Button class="digtal-people-start-end" theme="danger" height="40px" @click="startLive(item)" <Button class="digtal-people-start-end" theme="danger" height="40px" @click="startLive(item)"
>开启直播</Button >开启直播</Button
> >
...@@ -30,13 +30,14 @@ ...@@ -30,13 +30,14 @@
</template> </template>
</CardTwo> </CardTwo>
</template> </template>
</div> </Grid>
<CustomLoading v-show="myDigtalList.loading"></CustomLoading> <CustomLoading v-show="myDigtalList.loading"></CustomLoading>
<ConfirmDialog v-model="confirmVisible" title="确定删除吗?" @confirm="confirm"></ConfirmDialog> <ConfirmDialog v-model="confirmVisible" title="确定删除吗?" @confirm="confirm"></ConfirmDialog>
</div> </div>
</template> </template>
<script lang="ts" setup> <script lang="ts" setup>
import Grid from '@/components/Grid.vue';
import { onMounted, reactive, ref } from 'vue'; import { onMounted, reactive, ref } from 'vue';
import ConfirmDialog from '@/components/ConfirmDialog.vue'; import ConfirmDialog from '@/components/ConfirmDialog.vue';
import CardTwo from '@/components/cardTwo.vue'; import CardTwo from '@/components/cardTwo.vue';
...@@ -136,15 +137,6 @@ onMounted(() => { ...@@ -136,15 +137,6 @@ onMounted(() => {
background: #303030; background: #303030;
position: relative; position: relative;
min-height: 300px; min-height: 300px;
.card-item-list {
display: flex;
justify-content: space-between;
flex-wrap: wrap;
row-gap: 30px;
margin-left: -20px;
& > * {
margin-left: 20px;
}
.my-digtal-people-hover { .my-digtal-people-hover {
position: absolute; position: absolute;
top: 0; top: 0;
...@@ -164,6 +156,5 @@ onMounted(() => { ...@@ -164,6 +156,5 @@ onMounted(() => {
margin-bottom: 20px; margin-bottom: 20px;
} }
} }
}
} }
</style> </style>
...@@ -189,7 +189,7 @@ onMounted(() => { ...@@ -189,7 +189,7 @@ onMounted(() => {
@import '@/style/variables.less'; @import '@/style/variables.less';
.custom-home-page { .custom-home-page {
.home-tool-bar { .home-tool-bar {
margin-top: 30px; padding-top: 30px;
.label-box { .label-box {
.label { .label {
font-size: @size-24; font-size: @size-24;
......
...@@ -30,6 +30,7 @@ ...@@ -30,6 +30,7 @@
</div> </div>
</SelectionPopup> </SelectionPopup>
</div> </div>
<template v-if="lists.soundColor.length">
<div class="default-add">+</div> <div class="default-add">+</div>
<div @click="openSoundColor" class="default-label"> <div @click="openSoundColor" class="default-label">
<SelectionPopup <SelectionPopup
...@@ -53,6 +54,7 @@ ...@@ -53,6 +54,7 @@
</div></SelectionPopup </div></SelectionPopup
> >
</div> </div>
</template>
</div> </div>
</div> </div>
</div> </div>
......
...@@ -39,33 +39,6 @@ const playEnd = (id: any) => { ...@@ -39,33 +39,6 @@ const playEnd = (id: any) => {
emit('playEnd', id); emit('playEnd', id);
}; };
// const canplay = () => {
// const a = document.createElement('a');
// a.onclick = function () {
// // video .play();//这样就可以自动播放了
// playVideo();
// };
// const event = new MouseEvent('click');
// a.dispatchEvent(event);
// videoRef1.value.removeEventListener('canplay', canplay);
// };
// watch(
// () => props.video,
// (v) => {
// if (v) {
// setTimeout(() => {
// videoRef1.value.addEventListener('canplay', canplay);
// }, 0);
// }
// },
// );
const getVideoDuration = () => {
total.value = videoRef1.value.duration;
playVideo();
};
const closeInterval = () => { const closeInterval = () => {
window.clearInterval(interval1); window.clearInterval(interval1);
clearInterval(interval1); clearInterval(interval1);
...@@ -73,6 +46,7 @@ const closeInterval = () => { ...@@ -73,6 +46,7 @@ const closeInterval = () => {
}; };
const playVideo = () => { const playVideo = () => {
console.log(videoRef1.value);
videoRef1.value.play(); videoRef1.value.play();
closeInterval(); closeInterval();
interval1 = window.setInterval(() => { interval1 = window.setInterval(() => {
......
...@@ -62,12 +62,6 @@ const audioCanplay = () => { ...@@ -62,12 +62,6 @@ const audioCanplay = () => {
audioRef.value.play(); audioRef.value.play();
}; };
const trans = async () => {
let c_file = file.value.files[0];
let base = await getBase64(c_file);
// base = dataURLtoBlob(base);
realVideo.value = base;
};
const liveInfo = reactive({ const liveInfo = reactive({
// 原始链接 // 原始链接
video: [], video: [],
...@@ -102,7 +96,14 @@ const playEnd = (id: any) => { ...@@ -102,7 +96,14 @@ const playEnd = (id: any) => {
// //
let index = addVideoList.value.findIndex((item: any) => item.id == id); let index = addVideoList.value.findIndex((item: any) => item.id == id);
if (index !== -1) { if (index !== -1) {
console.log('播放结束并更新状态');
addVideoList.value[index].play_status = true; addVideoList.value[index].play_status = true;
// 下一个视频id
let obj = addVideoList.value.find((item: any) => item.play_status == false);
if (obj) {
console.log(addVideoId.value, '更新当前id');
addVideoId.value = obj.id;
}
} }
} }
}; };
...@@ -115,14 +116,36 @@ const stopInterval = () => { ...@@ -115,14 +116,36 @@ const stopInterval = () => {
// 获取最新的内容 // 获取最新的内容
const openInterval = () => { const openInterval = () => {
// interval = window.setInterval(() => {}, 2000); interval = window.setInterval(() => {
// 获取
let index = addVideoList.value.findIndex((item: any) => item.id == addVideoId.value && item.play_status == false);
if (index !== -1) {
// 当前页面
addVideo.value = addVideoList.value[index].reply_content;
console.log('找到下标', index);
}
}, 2000);
}; };
let num = 1;
// 获取直播互动内容 // 获取直播互动内容
const getLive = async () => { const getLive = async () => {
try { try {
let res: any = await getliveTaskReply(route.query.id); let res: any = await getliveTaskReply(route.query.id);
if (res.code == 0 && res.data && res.data.length) { if (res.code == 0 && res.data) {
if (isDev()) {
num += 1;
res.data = [
{
id: num,
reply_content:
num % 2 == 1
? 'https://yunyi-live.oss-cn-hangzhou.aliyuncs.com/live/output/1.mp4'
: 'http://yunyi-tiktok.oss-cn-shenzhen.aliyuncs.com/files/user/admin/5c8eeb9e-6a7b-45e6-85f9-1c75c945b8b1.mp4',
},
];
}
res.data.forEach((item: any) => { res.data.forEach((item: any) => {
item.play_status = false; item.play_status = false;
}); });
...@@ -130,6 +153,10 @@ const getLive = async () => { ...@@ -130,6 +153,10 @@ const getLive = async () => {
// problem // problem
// reply_content // reply_content
addVideoList.value = addVideoList.value.concat(res.data); addVideoList.value = addVideoList.value.concat(res.data);
if (addVideoList.value.length == 1) {
addVideoId.value = addVideoList.value[0].id;
addVideo.value = addVideoList.value[0].reply_content;
}
} }
} catch (e) { } catch (e) {
console.log(e); console.log(e);
...@@ -151,33 +178,6 @@ const closeLiveInterval = () => { ...@@ -151,33 +178,6 @@ const closeLiveInterval = () => {
intervalLive = null; intervalLive = null;
}; };
const getVideo = (url: string) => {
return request.get(url, {
responseType: 'blob',
headers: {},
});
};
const installVideo = async () => {
try {
let list = [];
liveInfo.video.forEach((item: string) => {
list.push(getVideo(item));
});
let res: any = await request.all(list);
if (res && res.length) {
liveInfo.video = res;
// 通知python合并
submitVideo();
} else {
show_message(res);
}
} catch (e) {
show_message(e.message);
console.log(e);
}
};
const getDetail = async () => { const getDetail = async () => {
if (!routeQuery.id) { if (!routeQuery.id) {
show_message('禁止访问'); show_message('禁止访问');
...@@ -208,18 +208,6 @@ const submitVideo = () => { ...@@ -208,18 +208,6 @@ const submitVideo = () => {
show_message(e.message); show_message(e.message);
} }
}; };
const dataURLtoBlob = (base64: any) => {
const arr = base64.split(',');
let mime = arr[0].match(/:(.*?);/);
mime = mime ? mime[1] : 'test.mp4';
const bstr = atob(arr[1]);
let n = bstr.length;
const u8arr = new Uint8Array(n);
while (n--) {
u8arr[n] = bstr.charCodeAt(n);
}
return new Blob([u8arr], { type: mime });
};
// python 回调 // python 回调
const mergeCallback = (params: any) => { const mergeCallback = (params: any) => {
...@@ -236,7 +224,6 @@ onMounted(async () => { ...@@ -236,7 +224,6 @@ onMounted(async () => {
// 将通知方法注入window // 将通知方法注入window
injectWindow('mergeCallback', mergeCallback); injectWindow('mergeCallback', mergeCallback);
await getDetail(); await getDetail();
// installVideo();
if (isDev()) { if (isDev()) {
mergeCallback({ mergeCallback({
...@@ -246,9 +233,11 @@ onMounted(async () => { ...@@ -246,9 +233,11 @@ onMounted(async () => {
// 打开定时任务 // 打开定时任务
startLiveInterval(); startLiveInterval();
openInterval();
}); });
onBeforeUnmount(() => { onBeforeUnmount(() => {
closeLiveInterval(); closeLiveInterval();
stopInterval();
}); });
</script> </script>
......
import { TOKEN_NAME } from '@/config/global'; import { TOKEN_NAME } from '@/config/global';
import { UserInfo } from '@/interface'; import { UserInfo } from '@/interface';
import Cookies from 'js-cookie'; import Cookies from 'js-cookie';
import router from '@/router';
import routerConfig from '@/router/tool';
import { show_message } from '@/utils/tool';
interface MyState { interface MyState {
token: String | undefined | null; token: String | undefined | null;
userInfo: any; userInfo: any;
...@@ -39,6 +42,7 @@ const mutations = { ...@@ -39,6 +42,7 @@ const mutations = {
Cookies.remove(TOKEN_NAME); Cookies.remove(TOKEN_NAME);
state.token = ''; state.token = '';
state.userInfo = {}; state.userInfo = {};
window.localStorage.setItem('login_token', '');
}, },
removeUserInfo(state: StateType) { removeUserInfo(state: StateType) {
state.userInfo = {}; state.userInfo = {};
...@@ -75,6 +79,21 @@ const actions = { ...@@ -75,6 +79,21 @@ const actions = {
// const data: any = await getUserInfo(); // const data: any = await getUserInfo();
// commit('setUserInfo', data.data); // commit('setUserInfo', data.data);
// return data; // return data;
// commit('setUserInfo', data.data);
} catch (e) {
console.log(e);
}
},
async logout({ commit, state }) {
try {
commit('removeToken');
commit('removeUserInfo');
show_message('已退出', 'success');
router.push({
path: routerConfig.login.path,
name: routerConfig.login.name,
});
} catch (e) { } catch (e) {
console.log(e); console.log(e);
} }
......
...@@ -35,21 +35,12 @@ ...@@ -35,21 +35,12 @@
color: @brand-color; color: @brand-color;
} }
} }
.t-layout {
.logo-container { background: #1e1e1e;
cursor: pointer;
display: inline-flex;
height: 64px;
margin-left: 24px;
}
.version-container {
color: @text-color-primary;
opacity: 0.4;
} }
.s-layout-content { .s-layout-content {
height: calc(100vh - 50px); height: calc(100vh - 90px);
overflow-y: auto; overflow-y: auto;
overflow-x: hidden; overflow-x: hidden;
background: rgb(30, 30, 30); background: rgb(30, 30, 30);
...@@ -57,6 +48,7 @@ ...@@ -57,6 +48,7 @@
width: @pageWidth; width: @pageWidth;
height: 100%; height: 100%;
margin: 0 auto 0 auto; margin: 0 auto 0 auto;
padding-top: 4px;
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment