PageSourceSearch

https://skyreels.ai/assets/index-Cj2BfFio.js

js skyreels.ai collected 2026-10-03 19:55:35 UTC 3,577 bytes, 1 lines download raw bytes

1import{v as m,D as a,M as g,a6 as h,G as t,U as c,u as o,E as b,R as k,c as I,y as s,k as w,r as A,ay as C}from"./vendor-BXPaysRV.js";import{t as E,E as T,u as x,M as $,_ as y,a as S,q as L,r as N,J as j}from"./index-Co9nKyKs.js";import{u as K}from"./useClipboard-D3qhqdux.js";import"./element-plus-DxLcul7x.js";function O(){E(T.TOB_ACCOUNT_PAGE_SHOW)}const B={class:"flex flex-col gap-3 mb-6 account-info-list"},M={class:"text-base leading-6 font-medium text-white/70 account-info-label"},V={class:"flex items-center gap-2 account-info-value-wrapper"},G={class:"text-base leading-6 font-medium text-[#E8E9E9] text-right account-info-value"},P=["title","onClick"],R=m({__name:"AccountInfoList",props:{accountInfo:{}},emits:["copy"],setup(f){const{t:e}=x(),r=f,l=I(()=>[{key:"email",label:e("dev.account.info.emailAddress"),value:r.accountInfo.email},{key:"name",label:e("dev.account.info.name"),value:r.accountInfo.username},{key:"userId",label:e("dev.account.info.groupId"),value:r.accountInfo.user_id,copyable:!0}]);return(u,d)=>(s(),a("div",B,[(s(!0),a(g,null,h(l.value,n=>(s(),a("div",{key:n.key,class:"h-16 flex items-center justify-between py-3 px-5 bg-white/8 rounded-[14px] border border-white/8 account-info-item"},[t("span",M,c(n.label),1),t("div",V,[t("span",G,c(n.value||o(e)("dev.account.info.loading")),1),n.copyable&&n.value?(s(),a("button",{key:0,type:"button",class:"w-6 h-6 flex items-center justify-center p-0 bg-transparent border-none cursor-pointer account-info-copy-btn",title:o(e)("dev.account.info.copy"),onClick:_=>u.$emit("copy",n.value)},[b($)],8,P)):k("",!0)])]))),128))]))}}),U=y(R,[["__scopeId","data-v-0361a55c"]]),D={class:"p-6 min-h-100 account-container"},F={class:"text-xl font-semibold text-white mb-6 leading-8 account-title"},H={key:0,class:"flex flex-col gap-6"},q={class:"h-20 border border-white/8 rounded-xl bg-white/5 py-6 px-7 flex items-center justify-between gap-5 flex-wrap account-login-card"},J={class:"text-[15px] text-white/85 leading-relaxed flex-1 min-w-50 account-login-text"},W={class:"border border-dim rounded-xl bg-white/2 min-h-70 flex items-center justify-center"},Y={class:"text-sm text-muted"},z={key:1,class:"w-full"},Q=m({__name:"index",setup(f){const{t:e}=x(),r=C(),l=S(),{copyText:u}=K(),d=A({user_id:"",username:"",email:"",parallel:0,score:0,created_at:""});async function n(){if(L(N.TOKEN))try{const i=await j.getAccountInfo();d.value=i}catch(i){console.error("Failed to load account info:",i)}}function _(p){u(p,e("dev.account.copiedToClipboard"))}function v(){r.push("/dev/api-keys")}return w(()=>{n(),O()}),(p,i)=>(s(),a("div",D,[t("div",null,[t("h1",F,c(o(e)("dev.account.title")),1),o(l).isLoggedIn?(s(),a("div",z,[b(U,{"account-info":d.value,onCopy:_},null,8,["account-info"]),t("button",{type:"button",class:"inline-flex h-12 items-center justify-center py-2 px-6 text-base font-semibold leading-6 text-black border-none rounded-xl cursor-pointer account-api-btn",style:{background:"linear-gradient(235.22deg, #ffce1f 0.03%, #fff727 100.03%)"},onClick:v},c(o(e)("dev.account.getApiKey")),1)])):(s(),a("section",H,[t("div",q,[t("p",J,c(o(e)("dev.account.signInPrompt")),1),t("button",{type:"button",class:"py-2.5 px-5 text-sm font-semibold text-black bg-accent border-none rounded-[10px] cursor-pointer transition-[background,transform] shrink-0 hover:bg-accent-hover active:scale-[0.98]",onClick:i[0]||(i[0]=X=>o(l).openLoginModal())},c(o(e)("dev.account.signIn")),1)]),t("div",W,[t("p",Y,c(o(e)("dev.account.noKeys")),1)])]))])]))}}),ne=y(Q,[["__scopeId","data-v-30198476"]]);export{ne as default};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.