import{x as s,ae as m,c as n,R as e,y as l,D as c,n as u,I as f}from"./index-CiFFF7gT.js";import{I as h}from"./ItemsListing-6g08lefW.js";import"./ItemContextMenu.vue_vue_type_style_index_0_scoped_4409cede_lang-Z-tWQ5Xz.js";import"./ProviderIcon.vue_vue_type_script_setup_true_lang-DHkbc-Ta.js";import"./VListItem-De5QDDiQ.js";import"./VChip-BY-Tj5X5.js";import"./VList-ox5PnObc.js";import"./VCardText-DAFrt-9i.js";import"./VCard-OVRwQRVf.js";import"./VMenu-pCNX3_Sk.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";import"./eventbus-CGRXT3Tn.js";import"./ListItem-DLjAZgMM.js";import"./VCheckbox-CjvWyEya.js";import"./VCheckboxBtn-BFRXrpB8.js";import"./VTooltip-DXDcYn3_.js";import"./VSpacer-ouclmOAP.js";/* empty css              */import"./PanelviewItemCompact-BLpiE-97.js";import"./Container-cMCd9Qd7.js";import"./VContainer-CuT7UpRw.js";import"./Toolbar-D7ssdDI_.js";import"./VToolbar-Cw0dLkzx.js";import"./VTextField-BPDkDfKc.js";import"./VInfiniteScroll-fVwyx_Ti.js";import"./layout-CZzu_XZd.js";import"./VRow-DJbzO2VZ.js";import"./VVirtualScroll-BganvpON.js";import"./VAlert-DvGaZwBF.js";const Q=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{Q as default};
