import{d as m,a9 as l,r as u,z as c,W as a,c as f,g as d,f as h,b as w}from"./index-13cec455.js";import{I as b}from"./ItemsListing-1e4c97cc.js";import"./ItemContextMenu.vue_vue_type_style_index_0_scoped_d4387993_lang-070a5f76.js";import"./eventbus-1a74ea4a.js";import"./VListItem-3995941d.js";import"./VLabel-dc3f418b.js";import"./VList-a053873b.js";import"./VCardText-3285fd42.js";import"./VCard-7c0bc2b7.js";import"./VMenu-693c2219.js";import"./_plugin-vue_export-helper-c27b6911.js";import"./ListItem-359f4456.js";import"./Button-a9c1eb8e.js";import"./PanelviewItemCompact-ca3ca463.js";import"./VCheckboxBtn-deee0e68.js";import"./VSpacer-46ab8aa1.js";/* empty css              */import"./VAlert-3e4ba415.js";import"./Container-34b102f9.js";import"./Toolbar-c1a5714a.js";import"./VToolbar-be936393.js";import"./VTextField-59596a04.js";import"./VVirtualScroll-c6e56d95.js";import"./VInfiniteScroll-cb91c423.js";import"./layout-5b19be1f.js";const M=m({__name:"BrowseView",props:{path:{}},setup(s){const t=s,{t:e}=l(),i=u(!1),p=c(()=>!t.path||t.path=="root"?e("browse"):a("bp6")?e("browse")+" | "+t.path:a("bp3")?t.path:e("browse")),n=async function(o){const r=await w.browse(o.offset,o.limit,t.path);return i.value=r.total!=null,r};return(o,r)=>(f(),d("section",null,[h(b,{itemtype:"browse","show-provider":!1,"show-library":!1,"show-favorites-only-filter":!1,"show-track-number":!1,"load-paged-data":n,"sort-keys":i.value?["original","name","name_desc"]:["original"],title:p.value,path:o.path,"allow-key-hooks":!0,icon:"mdi-folder-outline","no-server-side-sorting":!0},null,8,["sort-keys","title","path"])]))}});export{M as default};
