PageSourceSearch

https://www.artcore.com/_next/static/chunks/pages/collection-316433dac9311bb8.js

js artcore.com collected 2026-10-01 15:15:07 UTC 2,228 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[148],{13852:(e,l,s)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/collection",function(){return s(30896)}])},30896:(e,l,s)=>{"use strict";s.r(l),s.d(l,{default:()=>g});var n=s(37876),o=s(95364),c=s(76260),a=s(10553),d=s(67904),r=s(61875),i=s(14232),t=s(19512),u=s(75656),h=s(92306),x=s(71134),w=s(89099),p=s(75919),j=s(48230),v=s.n(j);function g(e){let l=(0,w.useRouter)(),{data:s}=(0,a.useSession)(),o=l.query.purchaseId,c=(0,x.hF)(l.query.excludeDownloaded,!1);return s?(0,n.jsx)(n.Fragment,{children:l.isReady?(0,n.jsx)(_,{purchaseId:o,excludeDownloaded:c,...e}):""}):(0,n.jsx)(d.w0,{message:"Sign in to view your collection"})}function _(e){let l=(0,w.useRouter)(),[s,a]=(0,i.useState)(e.excludeDownloaded),[d,j]=(0,i.useState)(e.purchaseId),g=e.collectionTracks,_=`/api/collection/get_tracks?json=${JSON.stringify({excludeDownloaded:s,purchaseId:d})}`,{data:f,error:m}=(0,u.Ay)(_,(0,h.we)());return f?.collectionTracks&&(g=f.collectionTracks),(0,i.useEffect)(()=>{(0,x.pk)(l,{excludeDownloaded:s,purchaseId:d})},[s,d]),(0,n.jsx)(o.Ay,{...e,children:(0,n.jsxs)(p.InnerSection1200NoMargin,{children:[(0,n.jsx)(r.Av,{children:"Your collection"}),(0,n.jsxs)("div",{className:"flex flex-row gap-4",children:[(0,n.jsxs)("select",{value:d,name:"purchaseId",onChange:e=>{console.log("Selected ",e.target.value),e.target.value&&a(!1),j(e.target.value)},children:[(0,n.jsx)("option",{value:"",children:"Select an Order"}),f?.purchases?.map(e=>(0,n.jsxs)("option",{value:e.id,children:[e.id," - ",e.line_items.length," items - ",(0,x.iC)(e.sale_date)]},e.id))]}),d?(0,n.jsx)(t.A,{onClick:()=>j(void 0),children:"Clear"}):"",(0,n.jsx)("div",{className:"flex-grow"}),(0,n.jsxs)("div",{className:"text-sm",children:["Downloadable merch and devices can be found on your ",(0,n.jsx)(v(),{className:"text-brand",href:"/orders",children:"orders page"})]})]}),s?(0,n.jsx)(t.A,{size:"small",onClick:()=>a(!1),children:"Include previously downloaded"}):(0,n.jsx)(t.A,{size:"small",onClick:()=>a(!0),children:"Exclude previously downloaded"}),(0,n.jsx)(c.A,{tracks:g??[],downloadFn:()=>{},downloadAll:()=>{},...e})]})})}}},e=>{e.O(0,[6260,636,6593,8792],()=>e(e.s=13852)),_N_E=e.O()}]);

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.