(window.webpackJsonp=window.webpackJsonp||[]).push([[19],{399:function(t,e,r){var content=r(418);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,r(31).default)("d85ac166",content,!0,{sourceMap:!1})},416:function(t,e,r){t.exports=r.p+"img/home.63cdf6f.svg"},417:function(t,e,r){"use strict";r(399)},418:function(t,e,r){var n=r(30)(!1);n.push([t.i,".sidebar{width:3.5rem;background-color:var(--color-misc-1);z-index:1}.sidebar__inner{position:-webkit-sticky;position:sticky;top:0}.sidebar__highlight{border-top-right-radius:.5rem;border-bottom-right-radius:.5rem;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s;position:absolute;height:3.5rem;width:.25rem;z-index:10;left:0}.sidebar__item{transition-property:background-color,border-color,color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s;cursor:pointer}.sidebar__item:hover{background-color:rgba(0,0,0,.2)}.sidebar__item:first-child img{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.sidebar__item:first-child:hover img{transform:scale(1.1)}.sidebar__item-inner{padding-top:.25rem;padding-bottom:.25rem;display:flex;align-items:center;justify-content:center;height:3.5rem;width:3.5rem}.sidebar__item-inner img{width:2rem;height:2rem}",""]),t.exports=n},460:function(t,e,r){"use strict";r.r(e);r(248),r(43),r(32);var n=r(0).a.extend({name:"Sidebar",props:{project:{type:Object,required:!0},getPath:{type:Function,required:!0},indicator:{type:Number,required:!0}},data:function(){return{listItems:[]}},computed:{renderTooltips:function(){return!0},highlightStyle:function(){var t=this.indicator;return void 0!==t?{top:56*(t+1)+"px",backgroundColor:this.project.accentColor}:{display:"none"}}},created:function(){var t=this,e=this.$registries.projectViews.toItems();this.listItems=e.map((function(e){return{name:e.content.name,icon:e.content.icon,href:t.getPath(e.id)}})),this.listItems.unshift({name:"VIEW_HOME",icon:r(416),href:"/"})}}),o=(r(417),r(11)),component=Object(o.a)(n,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("nav",{staticClass:"sidebar"},[r("div",{staticClass:"sidebar__inner"},[t.indicator>=0?r("div",{staticClass:"sidebar__highlight",style:t.highlightStyle}):t._e(),t._v(" "),r("ol",{staticClass:"sidebar__container"},[r("client-only",{scopedSlots:t._u([{key:"placeholder",fn:function(){return t._l(t.listItems,(function(e,n){return r("div",{key:n,staticClass:"sidebar__item",attrs:{right:""}},[r("router-link",{attrs:{to:t.getPath(e.href),tag:"li"},on:{click:function(e){t.currentIndex=n}}},[r("div",{staticClass:"sidebar__item-inner"},[r("img",{attrs:{src:e.icon}})])])],1)}))},proxy:!0}])},t._l(t.listItems,(function(e,n){return r("w-tooltip",{key:n,staticClass:"sidebar__item",attrs:{right:""},scopedSlots:t._u([{key:"activator",fn:function(o){var c=o.on;return[r("nuxt-link",{attrs:{to:e.href,tag:"li"},on:{click:function(e){t.currentIndex=n}}},[r("div",t._g({staticClass:"sidebar__item-inner"},c),[r("img",{attrs:{src:e.icon}})])])]}}],null,!0)},[t._v("\n\t\t\t\t\t"+t._s(t.$t(e.name))+"\n\t\t\t\t")])})),1)],1)])])}),[],!1,null,null,null);e.default=component.exports}}]);