import{Q as s,aX as m,c as n,am as e,Z as l,B as c,S as u,a4 as f}from"./index-CW9q7Ug9.js";import{I as h}from"./ItemsListing-DWt-TOzI.js";import"./MediaItemThumb-CL9fz0xp.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";import"./ListItem-7Usxgk-m.js";import"./VBtn-BG_l-jMN.js";import"./VCheckbox-iOyX9dtq.js";import"./VCheckboxBtn-VcTG8xE4.js";import"./PanelviewItemCompact-DWTozcIF.js";import"./VSpacer-Cfs--T9C.js";/* empty css              */import"./Container-EEkubRcn.js";import"./VContainer-DzQ369Qf.js";import"./Toolbar-C4zmMwWE.js";import"./VToolbar-C3R4TUTJ.js";import"./VTextField-Dh0rJNQB.js";import"./VInfiniteScroll-rtn8HdwT.js";import"./layout-BUE-Vdg2.js";import"./VRow-DLxHB18w.js";import"./VVirtualScroll-BDWbQaCz.js";import"./VAlert-QmZazhWy.js";const z=s({__name:"BrowseView",props:{path:{}},setup(a){const t=a,{t:o}=m(),i=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)=>(u(),l("section",null,[c(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:i.value,path:r.path,"allow-key-hooks":!0,icon:"mdi-folder-outline"},null,8,["title","path"])]))}});export{z as default};
