import{d as s,a4 as m,z as n,W as e,c as l,g as c,f,b as u}from"./index-0272dc54.js";import{I as h}from"./ItemsListing-6e3c9168.js";import"./utils-a32c3776.js";import"./eventbus-e44cf169.js";import"./VListItem-a3b7f8b7.js";import"./VChip-e0012620.js";import"./VList-21f55857.js";import"./VCard-88cdf1d8.js";import"./VCardText-41d932c2.js";import"./VMenu-30df3a7b.js";import"./_plugin-vue_export-helper-c27b6911.js";import"./ListItem-ab5df53d.js";import"./Button-7bab5496.js";import"./VTextField-0a661ba3.js";import"./VVirtualScroll-c94c27f1.js";import"./VSpacer-39969d39.js";/* empty css              */import"./Alert-4069c5b8.js";import"./VAlert-fb48582c.js";import"./Container-3f082c46.js";import"./Toolbar-b074e682.js";import"./VToolbar-3145d715.js";import"./VInfiniteScroll-d471d074.js";import"./layout-e087828e.js";const J=s({__name:"BrowseView",props:{path:{}},setup(i){const t=i,{t:r}=m(),a=n(()=>!t.path||t.path=="root"?r("browse"):e("bp6")?r("browse")+" | "+t.path:e("bp3")?t.path:r("browse")),p=async function(o){return await u.browse(o.offset,o.limit,t.path)};return(o,d)=>(l(),c("section",null,[f(h,{itemtype:"browse","show-provider":!1,"show-library":!1,"show-favorites-only-filter":!1,"show-track-number":!1,"load-paged-data":p,"sort-keys":["original","name","name_desc"],title:a.value,path:o.path,"allow-key-hooks":!0,icon:"mdi-folder-outline"},null,8,["title","path"])]))}});export{J as default};
