import{d as s,a7 as m,x as n,V as e,c as l,h as c,f as u,b as f}from"./index-Ckid8E6B.js";import{I as h}from"./ItemsListing-B7xfglas.js";import"./VCheckbox-LgSQAZ1m.js";import"./eventbus-CVnfnYYP.js";import"./VListItem-fT0O-ujW.js";import"./VCheckboxBtn-B0A71hKc.js";import"./VList-By3X6A_5.js";import"./VCardText-BKqKEt8w.js";import"./VCard-CgFmIgZv.js";import"./VMenu-CFW2Mr5A.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";import"./ListItem-BxpqewNU.js";import"./Button-au5GljDJ.js";import"./VSpacer-BxrziCLb.js";/* empty css              */import"./PanelviewItemCompact-Btr9Ked9.js";import"./VAlert-BlrQxci9.js";import"./Container-BCwvF9rf.js";import"./Toolbar-Ue0W5Nc3.js";import"./VToolbar-CuqShaaB.js";import"./VTextField-CCJHW5S2.js";import"./VInfiniteScroll-B9pkg9QN.js";import"./layout-CwL4ft89.js";import"./VVirtualScroll-CbzAeUOP.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};
