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-LKZhhoo4.js";import{I as h}from"./ItemsListing-FbbITwd3.js";import"./VCheckbox-CT70n9nw.js";import"./eventbus-DEtcDK0U.js";import"./VListItem-Bz4RKKfI.js";import"./VCheckboxBtn-DZ2zvF2n.js";import"./VList-xLdqSTm3.js";import"./VCardText-DN6H1M_N.js";import"./VCard-mizzAAy8.js";import"./VMenu-D3cYQJMy.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";import"./ListItem-C8NEMN2Z.js";import"./Button-BtG-hlH3.js";import"./VSpacer-CyMoOfs0.js";/* empty css              */import"./PanelviewItemCompact-xZvyOu6O.js";import"./VAlert-5htTeg4P.js";import"./Container-C9MqX51m.js";import"./Toolbar-B_RCDjNY.js";import"./VToolbar-DxInoflk.js";import"./VTextField-DVytt8A7.js";import"./VInfiniteScroll-CElYeC2c.js";import"./layout-CuqAO4g1.js";import"./VVirtualScroll-N14922Gn.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};
