PageSourceSearch

https://tanishq.xyz/_next/static/chunks/7626-c04bafcbd2cc8bf0.js

js tanishq.xyz collected 2026-10-04 14:47:31 UTC 8,473 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7626],{87626:(e,a,s)=>{s.d(a,{A:()=>h});var t=s(95155),i=s(12115),n=s(93249);let l=()=>(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",className:"size-4 text-highlight hover:text-green-500 transition-all duration-300",children:(0,t.jsx)("path",{fillRule:"evenodd",d:"M8.603 3.799A4.49 4.49 0 0 1 12 2.25c1.357 0 2.573.6 3.397 1.549a4.49 4.49 0 0 1 3.498 1.307 4.491 4.491 0 0 1 1.307 3.497A4.49 4.49 0 0 1 21.75 12a4.49 4.49 0 0 1-1.549 3.397 4.491 4.491 0 0 1-1.307 3.497 4.491 4.491 0 0 1-3.497 1.307A4.49 4.49 0 0 1 12 21.75a4.49 4.49 0 0 1-3.397-1.549 4.49 4.49 0 0 1-3.498-1.306 4.491 4.491 0 0 1-1.307-3.498A4.49 4.49 0 0 1 2.25 12c0-1.357.6-2.573 1.549-3.397a4.49 4.49 0 0 1 1.307-3.497 4.49 4.49 0 0 1 3.497-1.307Zm7.007 6.387a.75.75 0 1 0-1.22-.872l-3.236 4.53L9.53 12.22a.75.75 0 0 0-1.06 1.06l2.25 2.25a.75.75 0 0 0 1.14-.094l3.75-5.25Z",clipRule:"evenodd"})}),c=()=>(0,t.jsx)("svg",{className:"text-white size-5 animate-spin",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24","aria-label":"Loading icon",children:(0,t.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",d:"M12 4.75v1.5m5.126.624L16 8m3.25 4h-1.5m-.624 5.126-1.768-1.768M12 16.75v2.5m-3.36-3.891-1.768 1.768M7.25 12h-2.5m3.891-3.358L6.874 6.874"})}),d=e=>{let{key:a,label:s,level:i,currentLevel:d}=e;if(d<i)return null;let r=d>i;return(0,t.jsxs)(n.P.div,{initial:{opacity:0,y:15},animate:{opacity:r?.5:1,y:0,scale:1},transition:{ease:"easeInOut"},className:"flex space-x-2 items-center justify-between px-6 py-4 bg-black/40",children:[(0,t.jsx)("span",{className:"font-mono text-white text-sm",children:s}),(0,t.jsx)("div",{className:"w-6 h-6 bg-[#383838]/10 rounded-full flex items-center justify-center",children:r?(0,t.jsx)(l,{}):(0,t.jsx)(c,{})})]},a)},r=e=>{let{currentLevel:a}=e,s=a/4*100;return(0,t.jsx)("div",{className:"w-full bg-white/10 rounded-b-lg h-2 shadow-inner",children:(0,t.jsx)(n.P.div,{className:"bg-ambush-accent h-2 ".concat(100===s?"rounded-b-lg":"rounded-none rounded-bl-lg"),initial:{width:0},animate:{width:"".concat(s,"%")},transition:{duration:.5}})})},o=e=>{let{currentLevel:a,statusBlocks:s}=e,l=(0,i.useMemo)(()=>4===a,[a]);return(0,t.jsxs)(n.P.div,{className:"max-w-xs mx-auto ".concat(l?"bg-ambush-accent/5":"bg-white/5"," shadow-lg rounded-lg border border-gray-200/10"),children:[(0,t.jsxs)("div",{className:"flex flex-col space-y-2 p-4 ".concat(l?"":"animate-pulse"),children:[(0,t.jsx)("div",{id:"selected-transaction",className:"h-4 rounded w-3/4 ".concat(l?"bg-red-300/10":"bg-gray-300/10"),children:(0,t.jsx)("div",{className:"h-4 overflow-hidden flex items-center",children:(0,t.jsx)("span",{className:"px-1 font-mono text-[10px] ".concat(l?"text-highlight":"text-white/20"),children:"ea6b557abe62b4ba0b2554424e4325579b35a568a870e9fac9a890199bb97854"})})}),(0,t.jsx)("div",{className:"h-4 bg-gray-300/10 rounded w-1/2 ".concat(l?"opacity-50":""),children:(0,t.jsx)("div",{className:"h-4 overflow-hidden flex items-center",children:(0,t.jsx)("span",{className:"text-white/20 px-1 font-mono text-[8px]",children:"000000000019d6689c085ae165831e93"})})}),(0,t.jsx)("div",{className:"h-4 bg-gray-300/10 rounded w-1/4 ".concat(l?"opacity-50":""),children:(0,t.jsx)("div",{className:"h-4 overflow-hidden flex items-center",children:(0,t.jsx)("span",{className:"text-white/40 px-1 font-mono text-[8px]",children:"b9b951a2143d6c86cb45039f09700db754e37a57f0e791fc552403bf8f7fe149"})})}),(0,t.jsxs)("div",{className:"space-y-3 ".concat(l?"opacity-50":""),children:[(0,t.jsx)("div",{className:"h-4 bg-gray-300/10 rounded w-full",children:(0,t.jsx)("div",{className:"h-4 overflow-hidden flex items-center",children:(0,t.jsx)("span",{className:"text-white/40 px-1 font-mono text-[8px]",children:"5EC948A1A07C5C7A76273E7507C1A6D3E1AB3D7D"})})}),(0,t.jsx)("div",{className:"h-4 bg-gray-300/10 rounded w-5/6",children:(0,t.jsx)("div",{className:"h-4 overflow-hidden flex items-center",children:(0,t.jsx)("span",{className:"text-white/40 px-1 font-mono text-[8px]"})})}),(0,t.jsx)("div",{className:"h-4 bg-gray-300/10 rounded w-3/4"})]}),(0,t.jsxs)("div",{className:"grid grid-cols-3 gap-4 ".concat(l?"opacity-50":""),children:[(0,t.jsx)("div",{className:"h-4 bg-gray-300/10 rounded col-span-1"}),(0,t.jsx)("div",{className:"h-4 rounded col-span-2 bg-gray-300/10",children:(0,t.jsx)("div",{className:"h-4 overflow-hidden flex items-center",children:(0,t.jsx)("span",{className:"text-white/40 px-1 font-mono text-[8px]",children:"c34f04cc6d3872f9ffe4371dff6d6f8a4f171cc40fb77591fed16dcd029ed41e"})})})]}),(0,t.jsx)("div",{className:"h-4 bg-gray-300/10 rounded w-full ".concat(l?"opacity-50":""),children:(0,t.jsx)("div",{className:"h-4 overflow-hidden flex items-center",children:(0,t.jsx)("span",{className:"text-white/40 px-1 font-mono text-[8px]",children:"2d2ce713b81eca2e486fa1dadf79085bf05a7a9612f4bcdbc81f03d1f56edad5"})})}),(0,t.jsxs)("div",{className:"space-y-4 ".concat(l?"opacity-50":""),children:[(0,t.jsx)("div",{className:"h-4 bg-gray-300/10 rounded w-2/3"}),(0,t.jsx)("div",{className:"h-4 bg-gray-300/10 rounded w-1/3",children:(0,t.jsx)("div",{className:"h-4 overflow-hidden flex items-center",children:(0,t.jsx)("span",{className:"text-white/40 px-1 font-mono text-[8px]",children:"d437e67a8cf7a3b9c975c26004072140a4147aaa884735a9706a63db77a7af15"})})})]})]}),(0,t.jsx)("div",{className:"space-y-0 divide-y divide-dashed divide-white/20 bg-white/0 py-0 border-t-white/10 border-t",children:s}),(0,t.jsx)(r,{currentLevel:a})]})};function h(e){let{loadingStatus:a=0}=e,s=(0,i.useMemo)(()=>a,[a]),l=(0,i.useMemo)(()=>[{status:0,label:"Classifying transactions"},{status:1,label:"Tracing transactions"},{status:2,label:"Synthesizing analysis"}].map((e,a)=>{let{status:i,label:n}=e;return(0,t.jsx)(d,{status:i,label:n,level:a+1,currentLevel:s},i)}),[s]),c=(0,i.useMemo)(()=>4===s,[s]);return(0,t.jsx)(n.P.div,{className:"flex flex-col justify-center items-center h-full",children:(0,t.jsxs)("div",{className:"min-w-xl",children:[(0,t.jsx)("div",{className:"relative",children:(0,t.jsxs)(n.P.svg,{animate:{scale:c?1.2:.8,strokeWidth:[2,2,3,3,3,3,4,4,5,5,5,6,6,6,7,7,7,8,8,8,9,9,9],y:c?40:[40,40,60,60,60,60,90,90,110,110,110,140,140,140,170,170,170,210,210,210,240,240,240],x:c?-50:[-130,0,0,-130,0,0,-130,-130,0,25,0,-130,0,0,-130,0,0,-130,0,0,-130,0,0]},transition:{duration:c?.5:6,repeat:c?0:1/0,repeatType:c?"loop":"reverse"}
1,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",className:"size-6 text-white/50 m-auto",children:[(0,t.jsx)(n.P.path,{initial:{scale:1},animate:{scale:+!c},exit:{scale:0},transition:{duration:.5},fillRule:"evenodd",d:"M10.5 3.75a6.75 6.75 0 1 0 0 13.5 6.75 6.75 0 0 0 0-13.5ZM2.25 10.5a8.25 8.25 0 1 1 14.59 5.28l4.69 4.69a.75.75 0 1 1-1.06 1.06l-4.69-4.69A8.25 8.25 0 0 1 2.25 10.5Z",clipRule:"evenodd"}),c&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(n.P.path,{initial:{scale:.5,opacity:0},animate:{scale:1,opacity:1},transition:{duration:.5},d:"M12 16C14.2091 16 16 14.2091 16 12H14.5C14.5 13.3807 13.3807 14.5 12 14.5V16ZM12 9.5C13.3807 9.5 14.5 10.6193 14.5 12H16C16 9.79086 14.2091 8 12 8V9.5ZM12 8C9.79086 8 8 9.79086 8 12H9.5C9.5 10.6193 10.6193 9.5 12 9.5V8ZM12 14.5C10.6193 14.5 9.5 13.3807 9.5 12H8C8 14.2091 9.79086 16 12 16V14.5Z",fill:"white"}),(0,t.jsx)(n.P.path,{initial:{scale:.5,opacity:0},animate:{scale:1,opacity:1},transition:{duration:.5,delay:.1},d:"M14.5 14.5L17.25 17.25",stroke:"white",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,t.jsx)(n.P.path,{initial:{scale:.5,opacity:0},animate:{scale:1,opacity:1},transition:{duration:.5,delay:.2},d:"M4.75 8.25V6.75C4.75 5.64543 5.64543 4.75 6.75 4.75H8.25",stroke:"white",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,t.jsx)(n.P.path,{initial:{scale:.5,opacity:0},animate:{scale:1,opacity:1},transition:{duration:.5,delay:.3},d:"M4.75 15.75V17.25C4.75 18.3546 5.64543 19.25 6.75 19.25H8.25",stroke:"white",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,t.jsx)(n.P.path,{initial:{scale:.5,opacity:0},animate:{scale:1,opacity:1},transition:{duration:.5,delay:.4},d:"M19.25 8.25V6.75C19.25 5.64543 18.3546 4.75 17.25 4.75H15.75",stroke:"white",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})]})}),(0,t.jsx)(o,{currentLevel:s,statusBlocks:l})]})})}}}]);

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.