"use strict";(globalThis["webpackChunksynclounge"]=globalThis["webpackChunksynclounge"]||[]).push([[3497],{3497:(t,e,i)=>{i.r(e),i.d(e,{default:()=>v});i(7658);var s=i(4040),r=i(4987);const n=(0,r.Z)(s.Z).extend({name:"v-breadcrumbs-item",props:{activeClass:{type:String,default:"v-breadcrumbs__item--disabled"},ripple:{type:[Boolean,Object],default:!1}},computed:{classes(){return{"v-breadcrumbs__item":!0,[this.activeClass]:this.disabled}}},render(t){const{tag:e,data:i}=this.generateRouteLink();return t("li",[t(e,{...i,attrs:{...i.attrs,"aria-current":this.isActive&&this.isLink?"page":void 0}},this.$slots.default)])}});var a=i(1050);const T=(0,a.Ji)("v-breadcrumbs__divider","li");var h=i(3276);const A=(0,r.Z)(h.Z).extend({name:"v-breadcrumbs",props:{divider:{type:String,default:"/"},items:{type:Array,default:()=>[]},large:Boolean},computed:{classes(){return{"v-breadcrumbs--large":this.large,...this.themeClasses}}},methods:{genDivider(){return this.$createElement(T,this.$slots.divider?this.$slots.divider:this.divider)},genItems(){const t=[],e=!!this.$scopedSlots.item,i=[];for(let s=0;s<this.items.length;s++){const r=this.items[s];i.push(r.text),e?t.push(this.$scopedSlots.item({item:r})):t.push(this.$createElement(n,{key:i.join("."),props:r},[r.text])),s<this.items.length-1&&t.push(this.genDivider())}return t}},render(t){const e=this.$slots.default||this.genItems();return t("ul",{staticClass:"v-breadcrumbs",class:this.classes},e)}});var l=i(5057),E=function(){var t=this,e=t._self._c;return e(A,{staticClass:"text-xs-left",staticStyle:{"justify-content":"left"},attrs:{items:t.crumbs},scopedSlots:t._u([{key:"divider",fn:function(){return[e(l.Z,[t._v("chevron_right")])]},proxy:!0},{key:"item",fn:function(i){return[e(n,{attrs:{to:i.item.to,exact:!0}},[t._v(" "+t._s(i.item.text)+" ")])]}}])})},o=[],c=i(629),m=i(6173),u=i(5307);const d={name:"TheAppBarCrumbs",mixins:[u.Z,m.Z],computed:{...(0,c.Se)(["GET_ACTIVE_METADATA"]),...(0,c.Se)("plexservers",["GET_PLEX_SERVER"]),crumbs(){const t=[{text:"Home",to:this.linkWithRoom({name:"PlexHome"})}];return this.GET_ACTIVE_METADATA&&(this.GET_ACTIVE_METADATA.query&&t.push({text:`Search: ${this.GET_ACTIVE_METADATA.query}`,to:this.linkWithRoom({name:"PlexSearch",params:{query:this.GET_ACTIVE_METADATA.query}})}),this.GET_ACTIVE_METADATA.machineIdentifier&&(t.push({text:this.GET_PLEX_SERVER(this.GET_ACTIVE_METADATA.machineIdentifier).name,to:this.linkWithRoom({name:"PlexServer",params:{machineIdentifier:this.GET_ACTIVE_METADATA.machineIdentifier}})}),null!=this.GET_ACTIVE_METADATA.librarySectionID&&t.push({text:this.GET_ACTIVE_METADATA.librarySectionTitle,to:this.linkWithRoom({name:"PlexLibrary",params:{machineIdentifier:this.GET_ACTIVE_METADATA.machineIdentifier,sectionId:this.GET_ACTIVE_METADATA.librarySectionID}})}),null!=this.GET_ACTIVE_METADATA.grandparentRatingKey&&t.push({text:this.GET_ACTIVE_METADATA.grandparentTitle,to:this.linkWithRoom({name:"PlexMedia",params:{machineIdentifier:this.GET_ACTIVE_METADATA.machineIdentifier,ratingKey:this.GET_ACTIVE_METADATA.grandparentRatingKey}})}),null!=this.GET_ACTIVE_METADATA.parentRatingKey&&t.push({text:this.GET_ACTIVE_METADATA.parentTitle,to:this.linkWithRoom({name:"PlexMedia",params:{machineIdentifier:this.GET_ACTIVE_METADATA.machineIdentifier,ratingKey:this.GET_ACTIVE_METADATA.parentRatingKey}})}),null!=this.GET_ACTIVE_METADATA.ratingKey&&t.push({text:this.GET_ACTIVE_METADATA.title,to:this.contentLink(this.GET_ACTIVE_METADATA)}))),t}}},_=d;var p=i(1001),I=(0,p.Z)(_,E,o,!1,null,null,null);const v=I.exports},5307:(t,e,i)=>{i.d(e,{Z:()=>r});var s=i(7937);const r={methods:{contentLink(t){return(0,s.Z)(this.$store.getters,t)}}}}}]);
//# sourceMappingURL=3497.322e74f9.js.map