import{v as n,Q as l,aa as c,c as u,K as a,y as h,E as f,l as w,L as b}from"./index-4abadf84.js";import{_ as d}from"./ItemsListing.vue_vue_type_style_index_0_lang-5f9be450.js";import"./ListviewItem-233411ae.js";import"./VBadge-148f67ae.js";import"./Container-cc02c26a.js";import"./forwardRefs-7da7908a.js";import"./VMenu-5b409939.js";/* empty css              */import"./VCheckboxBtn-c7727adb.js";import"./VSlideGroup-fc835928.js";import"./VCard-63dfea61.js";import"./VCardText-a4be1fd3.js";import"./VTooltip-2600ff41.js";import"./PanelviewItem.vue_vue_type_style_index_0_lang-3d5ca720.js";import"./contextmenu-c1d86d74.js";import"./Alert-3abd6204.js";import"./VToolbar-42c79991.js";import"./VTextField-ce4a0dcf.js";import"./VVirtualScroll-26a90d88.js";const z=n({__name:"BrowseView",props:{path:{}},setup(s){const t=s,{t:o}=l();c();const p=u(()=>!t.path||t.path=="root"?o("browse"):a("bp6")?o("browse")+" | "+t.path:a("bp3")?t.path:o("browse")),i=async function(r){const e=[];return await b.browse(t.path,m=>{e.push(...m)}),e};return(r,e)=>(h(),f("section",null,[w(d,{itemtype:"browse","show-provider":!1,"show-library":!1,"show-favorites-only-filter":!1,"show-track-number":!1,"load-items":i,"sort-keys":["original","name","name_desc"],title:p.value,path:r.path,"allow-key-hooks":!0},null,8,["title","path"])]))}});export{z as default};
