PageSourceSearch

https://app.gieniabx.com/_next/static/chunks/1925.e649811e80ee599d.js

js gieniabx.com collected 2026-10-06 18:53:04 UTC 4,031 bytes, 1 lines download raw bytes

1!function(){try{var e="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{},r=(new e.Error).stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="d5b5247a-2958-4e4d-8c15-030607d862ef",e._sentryDebugIdIdentifier="sentry-dbid-d5b5247a-2958-4e4d-8c15-030607d862ef")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1925],{11925:(e,r,t)=>{"use strict";t.r(r),t.d(r,{default:()=>o});var n=t(37137),s=t(63957),l=t(43768),a=t(49798),c=t(74429);t(41383),l.EA.workerSrc=new t.U(t(26710)).toString();let i=[1500,3e3,5e3,8e3];function o({url:e,scrollStateRef:r}){let[t,l]=(0,s.useState)(0),[o,u]=(0,s.useState)("probing"),[d,f]=(0,s.useState)(1),[m,h]=(0,s.useState)(0),g=(0,s.useRef)(null),b=(0,s.useRef)(null),x=(0,s.useRef)([]),w=e.startsWith("blob:");(0,s.useEffect)(()=>(h(0),u(!w&&e.includes("/preview")?"probing":"ready"),()=>{null!==g.current&&window.clearTimeout(g.current)}),[e,w]);let v=!w&&m>0?`${e}${e.includes("?")?"&":"?"}__r=${m}`:e,p=(0,s.useCallback)(()=>{m>=i.length?u("error"):g.current=window.setTimeout(()=>{h(e=>e+1),u(w?"ready":"probing")},i[m])},[m,w]);(0,s.useEffect)(()=>{if("probing"!==o)return;let e=!1;return fetch(v,{method:"HEAD"}).then(r=>{e||(r.ok?u("ready"):p())}).catch(()=>{e||p()}),()=>{e=!0}},[v,p,o]);let y=(0,s.useRef)(null),k=(0,s.useCallback)(e=>{if(b.current=e,y.current&&(y.current.disconnect(),y.current=null),!e)return;let r=()=>{f(Math.min(2,Math.max(.2,(e.clientWidth-48)/1200)))},t=new ResizeObserver(r);y.current=t,t.observe(e),r()},[]),F=(0,s.useRef)(!1),E=(0,s.useRef)(0);return((0,s.useEffect)(()=>{E.current=0},[e]),(0,s.useEffect)(()=>{let e=r?.current??0;if(e<=0||0===t)return;let n=b.current;if(!n)return;F.current=!0;let s=Date.now()+15e3,l=0,a=0,c=()=>{F.current=!1},i=()=>c();n.addEventListener("wheel",i,{passive:!0}),n.addEventListener("touchmove",i,{passive:!0}),n.addEventListener("keydown",i);let o=()=>{if(!F.current)return;let r=Date.now();if(n.scrollHeight>=e+n.clientHeight&&Math.abs(n.scrollTop-e)>1&&(n.scrollTop=e),E.current>=t&&!l&&(l=r+400),l&&r>=l||r>s){n.scrollTop=Math.min(e,Math.max(0,n.scrollHeight-n.clientHeight)),c();return}a=requestAnimationFrame(o)};return a=requestAnimationFrame(o),()=>{cancelAnimationFrame(a),n.removeEventListener("wheel",i),n.removeEventListener("touchmove",i),n.removeEventListener("keydown",i),c()}},[t,e]),"probing"===o)?(0,n.jsx)("div",{className:"flex flex-1 items-center justify-center bg-[#F7F7F7] dark:bg-white/[0.03]",children:(0,n.jsx)("span",{className:"text-foreground-muted text-sm",children:"Rendering preview…"})}):"error"===o?(0,n.jsx)("div",{className:"flex flex-1 items-center justify-center bg-[#F7F7F7] dark:bg-white/[0.03]",children:(0,n.jsx)("span",{className:"text-foreground-muted text-sm",children:"Failed to load PDF"})}):(0,n.jsx)("div",{ref:k,onScroll:e=>{r&&!F.current&&(r.current=e.currentTarget.scrollTop)},className:"flex flex-1 flex-col items-center overflow-y-auto bg-[#F7F7F7] px-6 py-6 dark:bg-white/[0.03]",children:(0,n.jsx)("div",{style:{zoom:d},className:"w-[1200px] max-w-none",children:(0,n.jsx)(a.A,{file:v,onLoadSuccess:({numPages:e})=>l(e),onLoadError:()=>p(),externalLinkTarget:"_blank",externalLinkRel:"noopener noreferrer",onItemClick:({pageNumber:e})=>{x.current[e-1]?.scrollIntoView({behavior:"smooth",block:"start"})},loading:(0,n.jsx)("div",{className:"text-foreground-muted flex h-40 items-center justify-center text-sm",children:"Loading PDF…"}),error:(0,n.jsx)("div",{className:"text-foreground-muted flex h-40 items-center justify-center text-sm",children:"Failed to load PDF"}),className:"w-full",children:Array.from({length:t},(e,r)=>(0,n.jsx)("div",{ref:e=>{x.current[r]=e},className:"mb-4 last:mb-0",children:(0,n.jsx)(c.A,{pageNumber:r+1,width:1200,renderTextLayer:!1,renderAnnotationLayer:!0,canvasBackground:"white",onRenderSuccess:()=>{E.current+=1},className:"[&_canvas]:rounded-sm [&_canvas]:shadow-[0_1px_4px_rgba(0,0,0,0.12)]"})},r))},`${v}|${m}`)})})}},41383:()=>{}}]);

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.