import{X as e,ac as r,E as i,ao as t,a8 as n,q as o,ed as s,ee as a,U as l,ec as m}from"./index-C-dDkA_D.js";import{F as p}from"./File-DUZS7s9Z.js";import"./icon-D8IhN6yM.js";import"./index-BA8MiV3y.js";import"./Layout-DcwX4cVt.js";import"./useTitle-Dwsro-_9.js";import"./FolderTree-BPZyL9IS.js";import"./index-Bl0FjGa1.js";import"./ModalInput-BzQCE109.js";import"./index-D1JlzeXV.js";import"./share-BZFQ1V5G.js";import"./index-2YNnOdV-.js";const c=()=>{const c=o(),[d,j]=e(!1),[u,g]=e(!1),{currentObjLink:h}=r();return i(p,{get children(){return i(t,{spacing:"$2",get children(){return[i(n,{as:"a",get href(){return`itms-services://?action=download-manifest&url=${s}/i/${a(encodeURIComponent(l.raw_url)+"/"+m(encodeURIComponent(l.obj.name)))}.plist`},onClick:()=>{j(!0)},get children(){return c("home.preview."+(d()?"installing":"install"))}}),i(n,{as:"a",colorScheme:"primary",get href(){return"apple-magnifier://install?url="+encodeURIComponent(h(!0))},onClick:()=>{g(!0)},get children(){return c("home.preview."+(u()?"tr-installing":"tr-install"))}})]}})}})};export{c as default};
