PageSourceSearch

https://selltrade.theproscloset.com/_next/static/chunks/pages/dealers/qr-code/[code]-46f147f275c783a0.js

js theproscloset.com collected 2026-09-24 21:14:19 UTC 2,176 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[165],{32968:function(e,n,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/dealers/qr-code/[code]",function(){return r(98189)}])},98189:function(e,n,r){"use strict";r.r(n),r.d(n,{__N_SSP:function(){return l}});var t=r(47568),i=r(34051),a=r.n(i),o=r(85893),s=r(66872),u=r(13779),c=r(87600),d=r(11163),f=r(67294),l=!0;n.default=function(){var e=(0,d.useRouter)(),n=e.query.code,r=(0,f.useState)(null),i=r[0],l=r[1];return(0,f.useEffect)((function(){if(e.isReady&&n&&"string"===typeof n){if(!n.includes("woff")){var r=!1;return(0,t.Z)(a().mark((function e(){var t,i;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,fetch("/api/tradeup/dealers/qr-code/login",{method:"POST",headers:{"Content-Type":"application/json"},credentials:"include",body:JSON.stringify({handle:n})});case 3:if(t=e.sent,!r){e.next=6;break}return e.abrupt("return");case 6:if(!t.ok){e.next=9;break}return window.location.href=u.Z.DEALER_NEW_SUBMISSIONS,e.abrupt("return");case 9:if(403!==t.status){e.next=12;break}return l("This QR code is no longer active."),e.abrupt("return");case 12:if(404!==t.status){e.next=15;break}return l("This QR code is not valid."),e.abrupt("return");case 15:return e.next=17,t.json().catch((function(){return{}}));case 17:i=e.sent,l("string"===typeof(null===i||void 0===i?void 0:i.error)?i.error:"Something went wrong. Try again."),e.next=24;break;case 21:e.prev=21,e.t0=e.catch(0),r||l("Something went wrong. Try again.");case 24:case"end":return e.stop()}}),e,null,[[0,21]])})))(),function(){r=!0}}l("This QR code is not valid.")}}),[e,n]),i?(0,o.jsxs)(s.Z,{bgColor:"white",children:[(0,o.jsx)(c.Typography,{variant:"h1",sx:{py:2},children:"QR code"}),(0,o.jsx)(c.Typography,{variant:"body1",children:i})]}):(0,o.jsx)(s.Z,{bgColor:"white",children:(0,o.jsxs)(c.Box,{display:"flex",justifyContent:"center",alignItems:"center",minHeight:"40vh",gap:2,children:[(0,o.jsx)(c.CircularProgress,{size:32}),(0,o.jsx)(c.Typography,{variant:"body1",children:"Signing you in\u2026"})]})})}}},function(e){e.O(0,[774,888,179],(function(){return n=32968,e(e.s=n);var n}));var n=e.O();_N_E=n}]);

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.