import{x as s,af as m,c as n,R as e,y as l,D as c,n as u,I as f}from"./index-B6zC6RnW.js";import{I as h}from"./ItemsListing-Df1AAgm6.js";import"./ItemContextMenu.vue_vue_type_style_index_0_scoped_3a9a25e3_lang-CKPgOAbd.js";import"./ProviderIcon.vue_vue_type_script_setup_true_lang-DNql6M-s.js";import"./VListItem-diCV7pbE.js";import"./VChip-IfzeB-fX.js";import"./VList-C2MDyPAu.js";import"./VMenu-DjOwhmXn.js";import"./VCard-hhQ4DEoK.js";import"./VCardText-Coh6UzRp.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";import"./eventbus-CGRXT3Tn.js";import"./ListItem-BIJsM-Qf.js";import"./VCheckbox-BN5GUt-m.js";import"./VCheckboxBtn-B5Rza0Ei.js";import"./VSpacer-DMz8DKZ1.js";/* empty css              */import"./PanelviewItemCompact-BGhrvxbW.js";import"./Container-DCyVIVpV.js";import"./VContainer-C03cqAgl.js";import"./Toolbar-CVg_tJEf.js";import"./VToolbar-kr3m6qXg.js";import"./VTextField-DMGnRm8K.js";import"./VInfiniteScroll-BP0a1lrm.js";import"./layout-DAy8Y4XE.js";import"./VRow-CgeVcI7q.js";import"./VVirtualScroll-Bmjhyj1U.js";import"./VAlert-CqeKcqD-.js";const P=s({__name:"BrowseView",props:{path:{}},setup(i){const t=i,{t:o}=m(),p=n(()=>!t.path||t.path=="root"?o("browse"):e("bp6")?o("browse")+" | "+t.path:e("bp3")?t.path:o("browse")),a=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":a,"sort-keys":["original","name","name_desc"],title:p.value,path:r.path,"allow-key-hooks":!0,icon:"mdi-folder-outline"},null,8,["title","path"])]))}});export{P as default};
