webpackJsonp([10],{BiKX:function(e,t,s){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=s("4KzK"),r={data:function(){return{response:{}}},computed:{dataToFetch:function(){var e=this,t=e.$route.params.id;return{album:function(){return Object(a["c"])({id:t})}}},getInfo:function(){var e=this,t=e.response.album,s=t.tracks.total,a=new Date(t.release_date);return[{value:a.toLocaleDateString(),subtitle:e.$t("released")},{value:s,subtitle:e.$tc("track",1===s?1:0)}]}}},n=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("api-request",{staticClass:"o-view__parent",attrs:{resource:e.dataToFetch},model:{value:e.response,callback:function(t){e.response=t},expression:"response"}},[e.response.album?s("ma-stage",{attrs:{image:e.response.album.images,subtitle:e.response.album.album_type,title:e.response.album.name,profile:e.response.album.artists,info:e.getInfo}}):e._e(),e.response.album?s("div",{staticClass:"o-view__content"},[s("ma-section",{attrs:{copyright:e.response.album.copyrights[0].text,actions:!1}},e._l(e.response.album.tracks.items,function(e,t){return s("ma-list",{key:e.id,attrs:{slot:"list",title:e.name,trackId:e.id,explicit:e.explicit,popularity:e.popularity,duration:e.duration_ms,index:t},slot:"list"})}))],1):e._e()],1)},i=[],o=s("XyMi"),l=!1,u=null,c=null,p=null,m=Object(o["a"])(r,n,i,l,u,c,p);t["default"]=m.exports}});
//# sourceMappingURL=album0.10.ee56c518.js.map