import{d as s,a5 as m,x as n,V as e,c as l,h as c,f as u,b as f}from"./index-Ctob_L6y.js";import{I as h}from"./ItemsListing-CKT-cq1d.js";import"./VCheckbox-Bhwt27JT.js";import"./eventbus-Cjrdn9Hb.js";import"./VListItem-CA01NvP1.js";import"./VCheckboxBtn-DVhS1cG9.js";import"./VList-CKFrok7-.js";import"./VCardText-nCVzWTJn.js";import"./VCard-BFXSCBUE.js";import"./VMenu-C1VSx1Qu.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";import"./ListItem-v7me0rrn.js";import"./Button-Do15pHWp.js";import"./VSpacer-RH_g7rwD.js";/* empty css              */import"./PanelviewItemCompact-BZsVxbDO.js";import"./VAlert-DPbz0mzH.js";import"./Container-DNFC4Axv.js";import"./Toolbar-CqE19t9K.js";import"./VToolbar-Bn2yLkBq.js";import"./VTextField-kDsvmNO2.js";import"./VInfiniteScroll-BMIv3dmp.js";import"./layout-9BRducAy.js";import"./VVirtualScroll-Cf7pi2lx.js";const K=s({__name:"BrowseView",props:{path:{}},setup(i){const t=i,{t:o}=m(),a=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)=>(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":p,"sort-keys":["original","name","name_desc"],title:a.value,path:r.path,"allow-key-hooks":!0,icon:"mdi-folder-outline"},null,8,["title","path"])]))}});export{K as default};
