1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3332],{9133:(e,t,s)=>{"use strict";s.d(t,{Y:()=>n});let n={count:0,next:"",results:Array(15).fill(void 0)}},10821:(e,t,s)=>{"use strict";s.r(t),s.d(t,{__N_SSP:()=>j,default:()=>b});var n=s(75038),a=s(76430),c=s(15918),i=s(74143),l=s.n(i),d=s(32071),r=s(9133),o=s(23418),u=s(41944),h=s(11108),k=s(79761),_=s(33965),A=s(10075),f=s(25441),m=s(21861),x=s(71495),y=s(56389),g=s(69433),w=s(50771),N=s.n(w),j=!0;let b=e=>{let{news:t,features:s}=e.home,[i,w]=(0,a.useState)(!0),[j,b]=(0,a.useState)(!0),[p,S]=(0,a.useState)(!0),[W,E]=(0,a.useState)(!0),[P,M]=(0,a.useState)(r.Y),[Y,D]=(0,a.useState)(r.Y),[T,U]=(0,a.useState)(r.Y),[B,C]=(0,a.useState)(r.Y),[{tbId:I,tbUser:v,tbBanner:O},R]=(0,c.A)(["tbId","tbUser","tbBanner"]);return((0,a.useEffect)(()=>{I&&(w(!0),b(!0),S(!0),E(!0),u.A.getMyDecks().then(e=>{M(e),R("tbBanner",l()(e,"results[0].featured",""),{maxAge:o.K.MONTH,path:"/"})}).finally(()=>w(!1)),u.A.getMyRecentDecks().then(e=>D(e)).finally(()=>b(!1)),u.A.getFollowedDecks().then(e=>U(e)).finally(()=>S(!1)),u.A.getMyPackages().then(e=>C(e)).finally(()=>E(!1)))},[I]),(0,a.useEffect)(()=>{g.A.signalEvent(`Loaded in PWA ${d.Ay.getIsPWA()}`)},[]),I)?(0,n.jsxs)(k.A,{title:"MTG Deck Builder - Archidekt",description:y.h,className:N().container,children:[(0,n.jsx)(_.A,{links:e.community.communityLinks}),(0,n.jsx)(m.A,{id:"home-1"}),(0,n.jsx)(x.A,{className:N().containWidth}),(0,n.jsx)(A.A,{title:"My Decks",secondary:"View my decks",className:N().containWidth,decks:P.results,href:`/search/decks/?ownerUsername=${v}`,loading:i}),(0,n.jsx)(f.A,{news:t,className:N().containWidth}),(0,n.jsx)(m.A,{id:"home-2",scmAd:!0}),(0,n.jsx)(A.A,{title:"Followed Users",href:"/search/decks/?followed=true",className:N().containWidth,decks:T.results,loading:p}),(0,n.jsx)(A.A,{noTags:!0,title:"My Card Packages",secondary:"View my packages",href:`/search/decks/?ownerUsername=${v}&packages=true`,className:N().containWidth,decks:B.results,loading:W}),(0,n.jsx)(A.A,{title:"Recently Viewed",href:"/search/decks/?recentId=true",className:N().containWidth,decks:Y.results,loading:j})]}):(0,n.jsx)(h.default,{...e})}},24774:(e,t,s)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/",function(){return s(10821)}])},50771:e=>{e.exports={flex:"index_flex__unRbp",container:"index_container__9GuY8",containWidth:"index_containWidth__HyKCP"}}},e=>{e.O(0,[7516,3940,8519,1031,2282,1108,636,6593,8792],()=>e(e.s=24774)),_N_E=e.O()}]); 2//# sourceMappingURL=index-3f7dc47578f9522e.js.map
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.