1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2270],{34217:function(t,e,s){(window.__NEXT_P=window.__NEXT_P||[]).push(["/studio/albums",function(){return s(95598)}])},94275:function(t,e,s){"use strict";s.d(e,{rm:function(){return o},aZ:function(){return u},DQ:function(){return d}});var r=s(85893),a=s(46706),n=s(67294);var i=n.forwardRef((function(t,e){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:e},t),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z"}))}));var c=n.forwardRef((function(t,e){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:e},t),n.createElement("path",{d:"M13.586 3.586a2 2 0 112.828 2.828l-.793.793-2.828-2.828.793-.793zM11.379 5.793L3 14.172V17h2.828l8.38-8.379-2.83-2.828z"}))})),l={scheduled:{classNames:"text-brand-black-light",statusText:"Scheduled",icon:(0,r.jsx)(i,{className:"h-4"})},draft:{classNames:"text-brand-black-light",statusText:"Draft",icon:(0,r.jsx)(c,{className:"h-3"})},published:{classNames:"text-brand-black font-semibold",statusText:"Published",icon:void 0}},o=function(t){var e=t.album,s=l[e.status]||{},n=s.classNames,i=s.icon,o=s.statusText;return(0,r.jsxs)("div",{className:"relative grid min-w-0 max-w-fit text-start hover:opacity-50",children:[(0,r.jsx)(c,{className:"absolute h-8 text-white opacity-30"}),e.artworkUrl&&(0,r.jsx)(a.D,{src:e.artworkUrl}),(0,r.jsx)("span",{className:"text-md truncate font-light",children:e.title}),o&&(0,r.jsxs)("span",{className:n+" flex items-center text-xs",children:[i,o]})]})},u=function(t){var e=t.artist,s=t.onClick;return(0,r.jsxs)("div",{onClick:s,className:"relative flex min-w-0 max-w-md flex-1 cursor-pointer flex-col gap-2 hover:opacity-50",children:[(0,r.jsx)(c,{className:"absolute h-8 text-slate-300 opacity-30"}),e.artworkUrl&&(0,r.jsx)(a.D,{src:e.artworkUrl}),(0,r.jsx)("span",{className:"text-md w-full truncate font-light",children:e.name})]})},d=function(t){var e=t.podcast,s=l[e.status]||{},n=s.classNames,i=s.icon,o=s.statusText;return(0,r.jsxs)("div",{className:"relative grid min-w-0 max-w-fit text-start hover:opacity-50",children:[(0,r.jsx)(c,{className:"absolute h-8 text-slate-300 opacity-30"}),e.artworkUrl&&(0,r.jsx)(a.D,{src:e.artworkUrl}),(0,r.jsx)("span",{className:"text-md truncate font-light",children:e.name}),o&&(0,r.jsxs)("span",{className:n+" flex items-center text-xs",children:[i,o]})]})}},46706:function(t,e,s){"use strict";s.d(e,{D:function(){return a}});var r=s(85893),a=function(t){var e=t.src,s=t.height,a=t.width;return(0,r.jsx)("img",{src:e,width:a,height:s})}},95598:function(t,e,s){"use strict";s.r(e);var r=s(51351),a=s(85893),n=s(42225),i=s(94275),c=s(63956),l=s(11163),o=(s(67294),function(t){t=null!==t?t:(0,r.Z)(new TypeError("Cannot destructure undefined"));var e=(0,l.useRouter)(),s=(0,n.ir)(),c=s.data,o=void 0===c?[]:c,u=s.isLoading;return u||0!==o.length||e.push("/studio"),(0,a.jsx)("div",{className:"mx-auto mt-8",children:(0,a.jsx)("div",{className:"mt-2 grid grid-cols-2 gap-4 sm:grid-cols-3 md:grid-cols-4 lg:grid-cols-5",children:o.map((function(t){return(0,a.jsx)("div",{className:"grid min-w-0 max-w-fit items-center hover:cursor-pointer",onClick:function(){return s=t,void e.push("/studio/albums/".concat(s.id));var s},children:(0,a.jsx)(i.rm,{album:t},t.id)},t.id)}))})})});o.getLayout=function(t){return(0,a.jsx)(c.Z,{children:t})},e.default=o}},function(t){t.O(0,[9774,2888,179],(function(){return e=34217,t(t.s=e);var e}));var e=t.O();_N_E=e}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.