import{v as n,O 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-b687f95a.js";import{_ as d}from"./ItemsListing.vue_vue_type_style_index_0_lang-74e3dc20.js";import"./ListviewItem-8b992256.js";import"./VBadge-84e3406b.js";import"./Container-dc894acd.js";import"./forwardRefs-7be90dc2.js";import"./VMenu-b634019c.js";/* empty css              */import"./VInput-5b197ccd.js";import"./VSlideGroup-b576aa37.js";import"./VCard-b98fe47e.js";import"./VCardText-6774ea5e.js";import"./VTooltip-3ef94159.js";import"./PanelviewItem.vue_vue_type_style_index_0_lang-a3a9dd78.js";import"./contextmenu-521b5304.js";import"./Alert-19e36349.js";import"./VAlert-56af8987.js";import"./VToolbar-b7f10b15.js";import"./VTextField-0c2ec62d.js";import"./VVirtualScroll-84259ceb.js";const A=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(e){const r=[];return await b.browse(t.path,m=>{r.push(...m)}),r};return(e,r)=>(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:e.path,"allow-key-hooks":!0},null,8,["title","path"])]))}});export{A as default};
