import{n as e}from"./rolldown-runtime-CMxvf4Kt.js";import{Bn as t,Cn as n,_n as r,bn as i,mn as a,pn as o,qt as s,rr as c,wr as l,xn as u}from"./vendor-C4JLrdLj.js";import{_ as d,i as f}from"./vendor-vue-SNAXxxQe.js";import{Bt as p,Q as m,Z as h,zt as g}from"./vendor-quasar-BMuYn1t2.js";import{An as _,Di as v,Jr as y,Mi as b,Ni as x,Nn as S,Oi as C,qr as w}from"./ws-JRT2XE7Y.js";import{n as T,r as E,t as D}from"./windowing-QYK-VWMM.js";import{lt as O,ut as k}from"./smart-playlist-store-DUBQztY1.js";var A,j,M,N,P,F,I,L,R,z,B,V,H=e((()=>{p(),s(),f(),h(),x(),T(),O(),_(),A={class:`about-panel`},j={class:`about-panel-content`},M=[`src`],N=[`src`],P={class:`text-bold text-center`},F={class:`text-h5`},I={class:`text-h6`},L={class:`text-center`},R={class:`text-center`},z={href:`https://www.apple.com/`,class:`dt-footer__link`,target:`_blank`,rel:`noopener`,"data-dt-link-to-exclude":``},B={class:`text-bold`},V=n({__name:`About`,emits:[`dialogClose`,`dialogResolve`],setup(e,{emit:n}){let s=S(),f=m(),p=o(()=>f.dark.isActive),h=[{light:`./cider-assets/about/about-logo_light.png`,dark:`./cider-assets/about/about-logo.png`},{light:`./cider-assets/about/about-remix_light.png`,dark:`./cider-assets/about/about-remix_dark.png`},{light:`./cider-assets/about/about-remix-chibi_light.png`,dark:`./cider-assets/about/about-remix-chibi_dark.png`}],_=C(),y=d(`about:logo-set-index`,0),x=o(()=>h[y.value]),w=()=>{y.value=(y.value+1)%h.length};b();let T=E();return T.addEventListener(`keydown`,e=>{e.key===`Escape`&&T.close()}),(e,n)=>(t(),r(`div`,A,[a(`div`,j,[a(`div`,{class:`cider-logo`,onClick:w},[l(p)?(t(),r(`img`,{key:0,src:l(x)?.dark,class:`ciderLogo`,alt:``},null,8,M)):(t(),r(`img`,{key:1,src:l(x)?.light,class:`ciderLogo`,alt:``},null,8,N))]),a(`div`,P,[a(`div`,F,c(e.$i(`term.version`))+` `+c(l(k)(l(_).version)),1),a(`div`,I,c(l(_).codeName),1),a(`div`,null,c(l(v)()),1)]),n[2]||=a(`hr`,{class:`full-width`},null,-1),a(`div`,L,c(e.$i(`about.thanks`)),1),a(`p`,R,[i(` "`+c(e.$i(`term.appleMusic`))+`" - `+c(e.$i(`term.copyright`))+` © `+c(new Date().getFullYear())+` `,1),a(`a`,z,c(e.$i(`term.appleInc`)),1),i(` `+c(e.$i(`term.rightsReserved`)),1)]),a(`div`,null,[a(`div`,null,[a(`div`,B,c(e.$lz(`Build Info`,`settings.about.buildInfo`)),1),a(`code`,null,`Git Commit: `+c(l(_).commit),1),n[1]||=a(`br`,null,null,-1),a(`code`,null,`Branch: `+c(l(_).branch),1)]),u(g,{label:e.$lz(`Full Credits`,`settings.about.fullCredits`),class:`full-width q-mt-sm`,onClick:n[0]||=e=>{l(s).push(`/about`),l(T).close()}},null,8,[`label`])])])]))}})})),U=e((()=>{})),W,G=e((()=>{H(),H(),U(),y(),W=w(V,[[`__scopeId`,`data-v-01f3910a`]])}));function K(){D(W,{},{width:400,height:560,title:`About`})}var q=e((()=>{T(),G()}));export{K as n,q as t};