PageSourceSearch

https://ae-quest.vercel.app/_next/static/chunks/app/notebook/page-83fdeed76b9f08cc.js

js ae-quest.vercel.app collected 2026-10-03 06:11:40 UTC 4,713 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[654],{3387:(e,t,s)=>{"use strict";function n(e){"function"==typeof window.gtag&&window.gtag("event",e.action,{event_category:e.category,event_label:e.label,value:e.value,...e})}s.d(t,{J:()=>n})},4313:(e,t,s)=>{Promise.resolve().then(s.bind(s,7405))},7405:(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>x});var n=s(5155),i=s(2115),r=s(63),l=s(3533),a=s(3833),o=s(8564),d=s(3387);let c=[1,2,3,4,5];function x(){let e=(0,r.useRouter)(),{player:t,loading:s}=(0,a.A)();(0,i.useEffect)(()=>{(0,d.J)({action:"notebook_open",category:"notebook"})},[]);let x=(0,l.GM)(),u=(0,i.useMemo)(()=>{var e;return new Set(null!=(e=null==t?void 0:t.completedQuests)?e:[])},[null==t?void 0:t.completedQuests]),b=(0,i.useMemo)(()=>x.filter(e=>u.has(e.id)),[x,u]),h=(0,i.useMemo)(()=>x.reduce((e,t)=>e+t.questions.length,0),[x]),p=(0,i.useMemo)(()=>b.reduce((e,t)=>e+t.questions.length,0),[b]),m=b.length===x.length&&x.length>0,g=(0,i.useMemo)(()=>c.map(e=>({difficulty:e,quests:b.filter(t=>t.difficulty===e)})).filter(e=>e.quests.length>0),[b]);return s?(0,n.jsx)("div",{className:"flex items-center justify-center py-20 text-gray-400",children:(0,o.t)("loading")}):(0,n.jsxs)("div",{className:"max-w-3xl mx-auto space-y-4",children:[(0,n.jsxs)("div",{className:"rounded-lg border border-white/10 bg-white/5 p-4 space-y-3 print:bg-white print:border-gray-300",children:[(0,n.jsxs)("div",{className:"flex items-center justify-between gap-3",children:[(0,n.jsxs)("h1",{className:"text-lg font-bold text-white print:text-black",children:["\uD83D\uDCD4 ",(0,o.t)("notebookTitle")]}),p>0&&(0,n.jsxs)("button",{type:"button",onClick:()=>{(0,d.J)({action:"notebook_print",category:"notebook"}),window.print()},className:"print:hidden rounded-md border border-white/10 bg-white/5 hover:bg-white/10 px-3 py-1.5 text-xs text-gray-300 transition-colors",children:["\uD83D\uDDA8 ",(0,o.t)("notebookPrint")]})]}),(0,n.jsxs)("div",{className:"space-y-1.5",children:[(0,n.jsxs)("div",{className:"flex items-baseline justify-between text-xs",children:[(0,n.jsx)("span",{className:"text-gray-400 print:text-gray-600",children:(0,o.t)("notebookProgress")}),(0,n.jsxs)("span",{className:"font-mono text-white print:text-black",children:[p,"/",h," Tips"]})]}),(0,n.jsx)("div",{className:"h-1.5 rounded-full bg-white/10 overflow-hidden print:hidden",children:(0,n.jsx)("div",{className:"h-full rounded-full bg-blue-500 transition-all",style:{width:"".concat(h>0?p/h*100:0,"%")}})})]})]}),m&&(0,n.jsxs)("div",{className:"rounded-lg border-2 border-amber-400/50 bg-amber-500/10 p-4 text-center space-y-1 print:border-amber-600 print:bg-white",children:[(0,n.jsx)("div",{className:"text-2xl",children:"\uD83C\uDFC6"}),(0,n.jsx)("p",{className:"text-sm font-bold text-amber-200 print:text-amber-700",children:(0,o.t)("notebookCompleteTitle")}),(0,n.jsx)("p",{className:"text-xs text-amber-200/70 print:text-gray-600",children:(0,o.t)("notebookCompleteDesc")})]}),0===b.length?(0,n.jsxs)("div",{className:"rounded-lg border border-white/10 bg-white/5 p-8 text-center space-y-3",children:[(0,n.jsx)("div",{className:"text-3xl",children:"\uD83D\uDCD4"}),(0,n.jsx)("p",{className:"text-sm text-gray-300",children:(0,o.t)("notebookEmpty")}),(0,n.jsx)("button",{type:"button",onClick:()=>e.push("/"),className:"rounded-lg bg-blue-600 px-4 py-2 text-sm font-semibold text-white hover:bg-blue-500 transition-colors",children:(0,o.t)("notebookEmptyCta")})]}):(0,n.jsxs)(n.Fragment,{children:[g.map(e=>(0,n.jsxs)("section",{className:"space-y-2",children:[(0,n.jsx)("h2",{className:"text-xs font-bold text-gray-400 tracking-wide print:text-gray-700",children:"★".repeat(e.difficulty)}),e.quests.map(e=>(0,n.jsxs)("div",{className:"rounded-lg border border-white/10 bg-white/5 p-3 space-y-2 print:bg-white print:border-gray-300 print:break-inside-avoid",children:[(0,n.jsxs)("h3",{className:"text-sm font-bold text-white print:text-black",children:[e.clientEmoji," ",e.title]}),(0,n.jsx)("div",{className:"space-y-2",children:e.questions.map(e=>(0,n.jsxs)("div",{className:"space-y-0.5",children:[(0,n.jsx)("p",{className:"text-[11px] text-gray-500 leading-snug print:text-gray-500",children:e.text}),(0,n.jsxs)("p",{className:"rounded-md bg-blue-500/10 border border-blue-400/20 px-2.5 py-1.5 text-xs text-blue-100 leading-relaxed print:bg-white print:border-blue-300 print:text-black",children:["\uD83D\uDCDA ",e.aeMemo]})]},e.id))})]},e.id))]},e.difficulty)),!m&&(0,n.jsxs)("p",{className:"text-center text-xs text-gray-500 py-2 print:hidden",children:["\uD83D\uDD12 ",(0,o.t)("notebookLockedHint",{count:x.length-b.length})]})]})]})}}},e=>{e.O(0,[92,564,833,533,441,255,358],()=>e(e.s=4313)),_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.