import{d as s,a5 as m,x as n,V as e,c as l,h as c,f as u,b as f}from"./index-b2T7whGP.js";import{I as h}from"./ItemsListing-DDCqwz98.js";import"./VCheckbox-DqSGvg8-.js";import"./eventbus-COybQTbN.js";import"./VListItem-C1lr_U2J.js";import"./VCheckboxBtn-mlHCPMnc.js";import"./VList-BoTr11ox.js";import"./VCardText-4hVjYKDN.js";import"./VCard-BTd3uzfN.js";import"./VMenu-BWs87hpq.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";import"./ListItem-WUZ7WMK6.js";import"./Button-ClofhSF-.js";import"./VSpacer-CC6R_IB-.js";/* empty css              */import"./PanelviewItemCompact-CbkeOszV.js";import"./VAlert-CoSmLIOG.js";import"./Container-B3nrNIr_.js";import"./Toolbar-CVekkGxc.js";import"./VToolbar-DuWNnIZ4.js";import"./VTextField-DZEZBcCw.js";import"./VInfiniteScroll-B2vaKHiY.js";import"./layout-BouSS8WH.js";import"./VVirtualScroll-Bg4-ObcJ.js";const K=s({__name:"BrowseView",props:{path:{}},setup(i){const t=i,{t:o}=m(),a=n(()=>!t.path||t.path=="root"?o("browse"):e("bp6")?o("browse")+" | "+t.path:e("bp3")?t.path:o("browse")),p=async function(r){return await f.browse(t.path)};return(r,w)=>(l(),c("section",null,[u(h,{itemtype:"browse","show-provider":!1,"show-library":!1,"show-favorites-only-filter":!1,"show-track-number":!1,"load-items":p,"sort-keys":["original","name","name_desc"],title:a.value,path:r.path,"allow-key-hooks":!0,icon:"mdi-folder-outline"},null,8,["title","path"])]))}});export{K as default};
