PageSourceSearch

https://news.enechange.co.jp/_next/static/chunks/7968.118fa392f8a09b2e.js

js enechange.co.jp collected 2026-10-02 05:02:31 UTC 1,758 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7968],{27968:(e,n,r)=>{r.r(n),r.d(n,{Pdf:()=>f,default:()=>d});var t=r(44478),s=r(63857),a=r(27925),u=r(60180),o=r.n(u),c=r(14232),l=r(26851),i=r(37876),f=function(e){var n,u=e.file,f=(0,c.useRef)(null),d=(0,c.useState)(1),p=d[0],h=d[1],v=(0,c.useState)(0),w=v[0],k=v[1],m=(0,c.useState)(1),x=m[0],_=m[1],b=(0,c.useState)(!1),g=b[0],S=b[1],j=(0,c.useState)(null),P=j[0],N=j[1],y=null==(n=f.current)?void 0:n.offsetWidth;if((0,c.useEffect)(function(){var e;(e=(0,s.A)(o().mark(function e(){var n;return o().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,Promise.all([r.e(8233),r.e(4604)]).then(r.bind(r,24604));case 3:return N({Document:(n=e.sent).Document,Page:n.Page}),e.next=7,r.e(8233).then(r.bind(r,53553));case 7:e.sent.GlobalWorkerOptions.workerSrc="/js/pdf.worker.mjs",S(!0),e.next=15;break;case 12:e.prev=12,e.t0=e.catch(0),console.error("PDF worker setup failed:",e.t0);case 15:case"end":return e.stop()}},e,null,[[0,12]])})),function(){return e.apply(this,arguments)})()},[]),!g||!P)return null;var A=P.Document,D=P.Page;return(0,i.jsx)(l.i,{children:(0,i.jsx)("div",{ref:f,className:"asset__pdf",style:{boxSizing:"border-box",overflow:"scroll",width:y,height:y/p+16||"auto"},onClick:function(){k(w+1)},"data-pdf-url":u,children:(0,i.jsx)("div",{className:"asset__pdf__wrapper",children:(0,i.jsxs)(A,{file:u,onLoadSuccess:function(e){var n;_((null==e||null==(n=e._pdfInfo)?void 0:n.numPages)||0)},children:[(0,i.jsx)(D,{pageNumber:1,onLoadSuccess:function(e){var n=(0,a.A)(e._pageInfo.view,4);h((n[0],n[1],n[2]/n[3]))},width:y}),!!x&&(0,t.A)(Array(x-1).keys()).map(function(e){return(0,i.jsx)(D,{pageNumber:e+2,width:y},e)})]})})})})};let d=f}}]);

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.