import{Q as s,aQ as m,c as n,aj as e,Z as l,B as c,S as u,a4 as f}from"./index-wa6ZR3Vv.js";import{I as h}from"./ItemsListing-DafAZAu0.js";import"./MediaItemThumb-NvX65VTm.js";import"./ProviderIcon.vue_vue_type_style_index_0_lang-D9F0jQZF.js";import"./VChip-DYRQux5x.js";import"./VBtn-HJWd6woI.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";import"./ListItem-B9Eh52NB.js";import"./VCheckbox-CmAz6BNr.js";import"./VCheckboxBtn-QaHFQ6is.js";import"./PanelviewItemCompact-TJEAO2iy.js";import"./VSpacer-BjKo6EEW.js";/* empty css              */import"./Container-BgGtLyGe.js";import"./VContainer-X0SQ9pwA.js";import"./Toolbar-DpV6EyIp.js";import"./VToolbar-DxehZdf1.js";import"./VTextField-CyqBzOyj.js";import"./VInfiniteScroll-DIfZOuwT.js";import"./layout-VYO7rhSx.js";import"./VRow-BrdyIkMI.js";import"./VVirtualScroll-BhC7OEQN.js";import"./VAlert-wMxWd92R.js";const F=s({__name:"BrowseView",props:{path:{}},setup(a){const t=a,{t:o}=m(),i=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)=>(u(),l("section",null,[c(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:i.value,path:r.path,"allow-key-hooks":!0,icon:"mdi-folder-outline"},null,8,["title","path"])]))}});export{F as default};
