PageSourceSearch

https://app.memyard.com/_next/static/chunks/7255.be7fa5d4ebc7558e.js

js memyard.com collected 2026-10-02 00:53:40 UTC 23,563 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7255],{58768:function(e){"use strict";e.exports=function(){}},25014:function(){},43897:function(){},40046:function(e,t,n){"use strict";function r(e){let t=!1;return{promise:new Promise((n,r)=>{e.then(e=>!t&&n(e)).catch(e=>!t&&r(e))}),cancel(){t=!0}}}n.d(t,{Z:function(){return r}})},44413:function(e,t,n){"use strict";n.d(t,{ZP:function(){return o}});let r=["onCopy","onCut","onPaste","onCompositionEnd","onCompositionStart","onCompositionUpdate","onFocus","onBlur","onInput","onInvalid","onReset","onSubmit","onLoad","onError","onKeyDown","onKeyPress","onKeyUp","onAbort","onCanPlay","onCanPlayThrough","onDurationChange","onEmptied","onEncrypted","onEnded","onError","onLoadedData","onLoadedMetadata","onLoadStart","onPause","onPlay","onPlaying","onProgress","onRateChange","onSeeked","onSeeking","onStalled","onSuspend","onTimeUpdate","onVolumeChange","onWaiting","onClick","onContextMenu","onDoubleClick","onMouseDown","onMouseEnter","onMouseLeave","onMouseMove","onMouseOut","onMouseOver","onMouseUp","onDrag","onDragEnd","onDragEnter","onDragExit","onDragLeave","onDragOver","onDragStart","onDrop","onSelect","onTouchCancel","onTouchEnd","onTouchMove","onTouchStart","onPointerDown","onPointerMove","onPointerUp","onPointerCancel","onGotPointerCapture","onLostPointerCapture","onPointerEnter","onPointerLeave","onPointerOver","onPointerOut","onScroll","onWheel","onAnimationStart","onAnimationEnd","onAnimationIteration","onTransitionEnd","onChange","onToggle"];function o(e,t){let n={};for(let o of r){let r=e[o];r&&(t?n[o]=e=>r(e,t(o)):n[o]=r)}return n}},15338:function(e,t,n){"use strict";n.d(t,{Z:function(){return R}});var r=n(57437),o=n(2265),i=n(61994),a=Object.prototype.hasOwnProperty;function u(e,t,n){for(n of e.keys())if(l(n,t))return n}function l(e,t){var n,r,o;if(e===t)return!0;if(e&&t&&(n=e.constructor)===t.constructor){if(n===Date)return e.getTime()===t.getTime();if(n===RegExp)return e.toString()===t.toString();if(n===Array){if((r=e.length)===t.length)for(;r--&&l(e[r],t[r]););return -1===r}if(n===Set){if(e.size!==t.size)return!1;for(r of e)if((o=r)&&"object"==typeof o&&!(o=u(t,o))||!t.has(o))return!1;return!0}if(n===Map){if(e.size!==t.size)return!1;for(r of e)if((o=r[0])&&"object"==typeof o&&!(o=u(t,o))||!l(r[1],t.get(o)))return!1;return!0}if(n===ArrayBuffer)e=new Uint8Array(e),t=new Uint8Array(t);else if(n===DataView){if((r=e.byteLength)===t.byteLength)for(;r--&&e.getInt8(r)===t.getInt8(r););return -1===r}if(ArrayBuffer.isView(e)){if((r=e.byteLength)===t.byteLength)for(;r--&&e[r]===t[r];);return -1===r}if(!n||"object"==typeof e){for(n in r=0,e)if(a.call(e,n)&&++r&&!a.call(t,n)||!(n in t)||!l(e[n],t[n]))return!1;return Object.keys(t).length===r}}return e!=e&&t!=t}var c=n(40046),s=n(44413),f=n(44597),d=n(69398),p=n(58768),g=n(16683);class h{constructor(){this.externalLinkEnabled=!0,this.externalLinkRel=void 0,this.externalLinkTarget=void 0,this.isInPresentationMode=!1,this.pdfDocument=void 0,this.pdfViewer=void 0}setDocument(e){this.pdfDocument=e}setViewer(e){this.pdfViewer=e}setExternalLinkRel(e){this.externalLinkRel=e}setExternalLinkTarget(e){this.externalLinkTarget=e}setHash(){}setHistory(){}get pagesCount(){return this.pdfDocument?this.pdfDocument.numPages:0}get page(){return(0,d.Z)(this.pdfViewer,"PDF viewer is not initialized."),this.pdfViewer.currentPageNumber||0}set page(e){(0,d.Z)(this.pdfViewer,"PDF viewer is not initialized."),this.pdfViewer.currentPageNumber=e}get rotation(){return 0}set rotation(e){}addLinkAttributes(e,t,n){e.href=t,e.rel=this.externalLinkRel||"noopener noreferrer nofollow",e.target=n?"_blank":this.externalLinkTarget||""}goToDestination(e){return new Promise(t=>{(0,d.Z)(this.pdfDocument,"PDF document not loaded."),(0,d.Z)(e,"Destination is not specified."),"string"==typeof e?this.pdfDocument.getDestination(e).then(t):Array.isArray(e)?t(e):e.then(t)}).then(e=>{(0,d.Z)(Array.isArray(e),`"${e}" is not a valid destination array.`);let t=e[0];new Promise(e=>{(0,d.Z)(this.pdfDocument,"PDF document not loaded."),t instanceof Object?this.pdfDocument.getPageIndex(t).then(t=>{e(t)}).catch(()=>{(0,d.Z)(!1,`"${t}" is not a valid page reference.`)}):"number"==typeof t?e(t):(0,d.Z)(!1,`"${t}" is not a valid destination reference.`)}).then(t=>{let n=t+1;(0,d.Z)(this.pdfViewer,"PDF viewer is not initialized."),(0,d.Z)(n>=1&&n<=this.pagesCount,`"${n}" is not a valid page number.`),this.pdfViewer.scrollPageIntoView({dest:e,pageIndex:t,pageNumber:n})})})}goToPage(e){(0,d.Z)(this.pdfViewer,"PDF viewer is not initialized."),(0,d.Z)(e>=1&&e<=this.pagesCount,`"${e}" is not a valid page number.`),this.pdfViewer.scrollPageIntoView({pageIndex:e-1,pageNumber:e})}goToXY(){}cachePageRef(){}getDestinationHash(){return"#"}getAnchorUrl(){return"#"}executeNamedAction(){}executeSetOCGState(){}isPageVisible(){return!0}isPageCached(){return!0}navigateTo(e){this.goToDestination(e)}}var E=n(88294),m={NEED_PASSWORD:1,INCORRECT_PASSWORD:2},y=n(66234),v=n(74389);let{PDFDataRangeTransport:w}=f,S=(e,t)=>{switch(t){case m.NEED_PASSWORD:e(prompt("Enter the password to open this PDF file."));break;case m.INCORRECT_PASSWORD:e(prompt("Invalid password. Please try again."))}};function b(e){return"object"==typeof e&&null!==e&&("data"in e||"range"in e||"url"in e)}var R=(0,o.forwardRef)(function(e,t){let{children:n,className:a,error:u="Failed to load PDF file.",externalLinkRel:m,externalLinkTarget:R,file:T,inputRef:P,imageResourcesPath:x,loading:L="Loading PDF…",noData:C="No PDF file specified.",onItemClick:Z,onLoadError:D,onLoadProgress:A,onLoadSuccess:k,onPassword:j=S,onSourceError:M,onSourceSuccess:_,options:V,renderMode:O,rotate:N,scale:F,...I}=e,[U,G]=(0,y.Z)(),{value:J,error:B}=U,[H,z]=(0,y.Z)(),{value:W,error:$}=H,X=(0,o.useRef)(new h),q=(0,o.useRef)([]),K=(0,o.useRef)(void 0),Y=(0,o.useRef)(void 0);T&&T!==K.current&&b(T)&&(p(!l(T,K.current),'File prop passed to <Document /> changed, but it\'s equal to previous one. This might result in unnecessary reloads. Consider memoizing the value passed to "file" prop.'),K.current=T),V&&V!==Y.current&&(p(!l(V,Y.current),'Options prop passed to <Document /> changed, but it\'s equal to previous one. This might result in unnecessary reloads. Consider memoizing the value passed to "options" prop.'),Y.current=V);let Q=(0,o.useRef)({scrollPageIntoView:e=>{let{dest:t,pageNumber:n,pageIndex:r=n-1}=e;if(Z){Z({dest:t,pageIndex:r,pageNumber:n});return}let o=q.current[r];if(o){o.scrollIntoView();return}p(!1,"An internal link leading to page ".concat(n," was clicked, but neither <Document> was provided with onItemClick nor it was able to find the page within itself. Either provide onItemClick to <Document>
1 and handle navigating by yourself or ensure that all pages are rendered within <Document>."))}});(0,o.useImperativeHandle)(t,()=>({linkService:X,pages:q,viewer:Q}),[]),(0,o.useEffect)(function(){G({type:"RESET"})},[T,G]);let ee=(0,o.useCallback)(async()=>{if(!T)return null;if("string"==typeof T)return(0,v.gJ)(T)?{data:(0,v.us)(T)}:((0,v.tN)(),{url:T});if(T instanceof w)return{range:T};if((0,v.eP)(T))return{data:T};if(v.jU&&(0,v.Lj)(T))return{data:await (0,v.eR)(T)};if((0,d.Z)("object"==typeof T,"Invalid parameter in file, need either Uint8Array, string or a parameter object"),(0,d.Z)(b(T),"Invalid parameter object: need either .data, .range or .url"),"url"in T&&"string"==typeof T.url){if((0,v.gJ)(T.url)){let{url:e,...t}=T;return{data:(0,v.us)(e),...t}}(0,v.tN)()}return T},[T]);(0,o.useEffect)(()=>{let e=(0,c.Z)(ee());return e.promise.then(e=>{G({type:"RESOLVE",value:e})}).catch(e=>{G({type:"REJECT",error:e})}),()=>{(0,v.LJ)(e)}},[ee,G]),(0,o.useEffect)(()=>{if(void 0!==J){if(!1===J){B&&(p(!1,B.toString()),M&&M(B));return}_&&_()}},[J]),(0,o.useEffect)(function(){z({type:"RESET"})},[z,J]),(0,o.useEffect)(function(){if(!J)return;let e=V?{...J,...V}:J,t=f.Me(e);return A&&(t.onProgress=A),j&&(t.onPassword=j),t.promise.then(e=>{t.destroyed||z({type:"RESOLVE",value:e})}).catch(e=>{t.destroyed||z({type:"REJECT",error:e})}),()=>{t.destroy()}},[V,z,J]),(0,o.useEffect)(()=>{if(void 0!==W){if(!1===W){$&&(p(!1,$.toString()),D&&D($));return}W&&(k&&k(W),q.current=Array(W.numPages),X.current.setDocument(W))}},[W]),(0,o.useEffect)(function(){X.current.setViewer(Q.current),X.current.setExternalLinkRel(m),X.current.setExternalLinkTarget(R)},[m,R]);let et=(0,o.useCallback)((e,t)=>{q.current[e]=t},[]),en=(0,o.useCallback)(e=>{delete q.current[e]},[]),er=(0,o.useMemo)(()=>({imageResourcesPath:x,linkService:X.current,onItemClick:Z,pdf:W,registerPage:et,renderMode:O,rotate:N,scale:F,unregisterPage:en}),[x,Z,W,et,O,N,F,en]),eo=(0,o.useMemo)(()=>(0,s.ZP)(I,()=>W),[I,W]);return(0,r.jsx)("div",{className:(0,i.Z)("react-pdf__Document",a),ref:P,...eo,children:T?null==W?(0,r.jsx)(E.Z,{type:"loading",children:"function"==typeof L?L():L}):!1===W?(0,r.jsx)(E.Z,{type:"error",children:"function"==typeof u?u():u}):function(){if(!(null==er?void 0:er.pdf))throw Error("pdf is undefined");let e="function"==typeof n?n(er):n;return(0,r.jsx)(g.Z.Provider,{value:er,children:e})}():(0,r.jsx)(E.Z,{type:"no-data",children:"function"==typeof C?C():C})})})},16683:function(e,t,n){"use strict";let r=(0,n(2265).createContext)(null);t.Z=r},88294:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(57437);function o({children:e,type:t}){return(0,r.jsx)("div",{className:`react-pdf__message react-pdf__message--${t}`,children:e})}},59569:function(e,t,n){"use strict";n.d(t,{Z:function(){return Z}});var r=n(57437),o=n(2265),i=n(61994),a=n(40046),u=n(44413);function l(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=e.filter(Boolean);return n.length<=1?n[0]||null:function(e){for(var t=0;t<n.length;t++){var r=n[t];"function"==typeof r?r(e):r&&(r.current=e)}}}var c=n(69398),s=n(58768),f=n(88294),d=n(44597),p=n(16683);function g(){return(0,o.useContext)(p.Z)}let h=(0,o.createContext)(null);function E(){return(0,o.useContext)(h)}var m=n(66234),y=n(74389);function v(){let e=g(),t=E();(0,c.Z)(t,"Unable to find Page context.");let{filterAnnotations:n,imageResourcesPath:u,linkService:l,onGetAnnotationsError:f,onGetAnnotationsSuccess:p,onRenderAnnotationLayerError:h,onRenderAnnotationLayerSuccess:v,page:w,pdf:S,renderForms:b,rotate:R,scale:T=1}={...e,...t};(0,c.Z)(S,"Attempted to load page annotations, but no document was specified. Wrap <Page /> in a <Document /> or pass explicit `pdf` prop."),(0,c.Z)(w,"Attempted to load page annotations, but no page was specified."),(0,c.Z)(l,"Attempted to load page annotations, but no linkService was specified.");let[P,x]=(0,m.Z)(),{value:L,error:C}=P,Z=(0,o.useRef)(null);s(1===Number.parseInt(window.getComputedStyle(document.body).getPropertyValue("--react-pdf-annotation-layer"),10),"AnnotationLayer styles not found. Read more: https://github.com/wojtekmaj/react-pdf#support-for-annotations"),(0,o.useEffect)(function(){x({type:"RESET"})},[x,w]),(0,o.useEffect)(function(){if(!w)return;let e=(0,a.Z)(w.getAnnotations());return e.promise.then(e=>{x({type:"RESOLVE",value:e})}).catch(e=>{x({type:"REJECT",error:e})}),()=>{(0,y.LJ)(e)}},[x,w]),(0,o.useEffect)(()=>
1{if(void 0!==L){if(!1===L){C&&(s(!1,C.toString()),f&&f(C));return}L&&p&&p(L)}},[L]);let D=(0,o.useMemo)(()=>w.getViewport({scale:T,rotation:R}),[w,R,T]);return(0,o.useEffect)(function(){if(!S||!w||!l||!L)return;let{current:e}=Z;if(!e)return;let t=D.clone({dontFlip:!0}),r={accessibilityManager:null,annotationCanvasMap:null,annotationEditorUIManager:null,annotationStorage:S.annotationStorage,commentManager:null,div:e,l10n:null,linkService:l,page:w,structTreeLayer:null,viewport:t},o={annotations:n?n({annotations:L}):L,annotationStorage:S.annotationStorage,div:e,imageResourcesPath:u,linkService:l,page:w,renderForms:b,viewport:t};e.innerHTML="";try{new d.sO(r).render(o),v&&v()}catch(e){s(!1,"".concat(e)),h&&h(e)}return()=>{}},[L,n,u,l,w,S,b,D]),(0,r.jsx)("div",{className:(0,i.Z)("react-pdf__Page__annotations","annotationLayer"),ref:Z})}let w={Document:null,DocumentFragment:null,Part:"group",Sect:"group",Div:"group",Aside:"note",NonStruct:"none",P:null,H:"heading",Title:null,FENote:"note",Sub:"group",Lbl:null,Span:null,Em:null,Strong:null,Link:"link",Annot:"note",Form:"form",Ruby:null,RB:null,RT:null,RP:null,Warichu:null,WT:null,WP:null,L:"list",LI:"listitem",LBody:null,Table:"table",TR:"row",TH:"columnheader",TD:"cell",THead:"columnheader",TBody:null,TFoot:null,Caption:null,Figure:"figure",Formula:null,Artifact:null},S=/^H(\d+)$/;function b(e){return"children"in e}function R(e){return!!b(e)&&1===e.children.length&&0 in e.children&&"id"in e.children[0]}function T({className:e,node:t}){let n=(0,o.useMemo)(()=>t?{...function(e){let t={};if(b(e)){let{role:n}=e,r=n.match(S);if(r)t.role="heading",t["aria-level"]=Number(r[1]);else if(n in w){let e=w[n];e&&(t.role=e)}}return t}(t),...function e(t){let n={};if(b(t)){if(void 0!==t.alt&&(n["aria-label"]=t.alt),void 0!==t.lang&&(n.lang=t.lang),R(t)){let[r]=t.children;if(r){let t=e(r);return{...n,...t}}}}else"id"in t&&(n["aria-owns"]=t.id);return n}(t)}:null,[t]),i=(0,o.useMemo)(()=>!b(t)||R(t)?null:t.children.map((e,t)=>(0,r.jsx)(T,{node:e},t)),[t]);return(0,r.jsx)("span",{className:e,...n,children:i})}function P(){let e=E();(0,c.Z)(e,"Unable to find Page context.");let{onGetStructTreeError:t,onGetStructTreeSuccess:n}=e,[i,u]=(0,m.Z)(),{value:l,error:f}=i,{customTextRenderer:d,page:p}=e;return((0,o.useEffect)(function(){u({type:"RESET"})},[u,p]),(0,o.useEffect)(function(){if(d||!p)return;let e=(0,a.Z)(p.getStructTree());return e.promise.then(e=>{u({type:"RESOLVE",value:e})}).catch(e=>{u({type:"REJECT",error:e})}),()=>(0,y.LJ)(e)},[d,p,u]),(0,o.useEffect)(()=>{if(void 0!==l){if(!1===l){f&&(s(!1,f.toString()),t&&t(f));return}l&&n&&n(l)}},[l]),l)?(0,r.jsx)(T,{className:"react-pdf__Page__structTree structTree",node:l}):null}let x=d.bM;function L(e){let t=E();(0,c.Z)(t,"Unable to find Page context.");let{_className:n,canvasBackground:i,devicePixelRatio:a=(0,y.x_)(),onRenderError:u,onRenderSuccess:f,page:d,renderForms:p,renderTextLayer:g,rotate:h,scale:m}={...t,...e},{canvasRef:v}=e;(0,c.Z)(d,"Attempted to render page canvas, but no page was specified.");let w=(0,o.useRef)(null);function S(e){!(0,y.zF)(e)&&(s(!1,e.toString()),u&&u(e))}let b=(0,o.useMemo)(()=>d.getViewport({scale:m*a,rotation:h}),[a,d,h,m]),R=(0,o.useMemo)(()=>d.getViewport({scale:m,rotation:h}),[d,h,m]);(0,o.useEffect)(function(){if(!d)return;d.cleanup();let{current:e}=w;if(!e)return;e.width=b.width,e.height=b.height,e.style.width="".concat(Math.floor(R.width),"px"),e.style.height="".concat(Math.floor(R.height),"px"),e.style.visibility="hidden";let t={annotationMode:p?x.ENABLE_FORMS:x.ENABLE,canvas:e,canvasContext:e.getContext("2d",{alpha:!1}),viewport:b};i&&(t.background=i);let n=d.render(t);return n.promise.then(()=>{e.style.visibility="",d&&f&&f((0,y.XZ)(d,m))}).catch(S),()=>(0,y.LJ)(n)},[i,d,p,b,R]);let T=(0,o.useCallback)(()=>{let{current:e}=w;e&&(e.width=0,e.height=0)},[]);return(0,o.useEffect)(()=>T,[T]),(0,r.jsx)("canvas",{className:"".concat(n,"__canvas"),dir:"ltr",ref:l(v,w),style:{display:"block",userSelect:"none"},children:g?(0,r.jsx)(P,{}):null})}function C(){let e=E();(0,c.Z)(e,"Unable to find Page context.");let{customTextRenderer:t,onGetTextError:n,onGetTextSuccess:u,onRenderTextLayerError:l,onRenderTextLayerSuccess:f,page:p,pageIndex:g,pageNumber:h,rotate:v,scale:w}=e;(0,c.Z)(p,"Attempted to load page text content, but no page was specified.");let[S,b]=(0,m.Z)(),{value:R,error:T}=S,P=(0,o.useRef)(null);s(1===Number.parseInt(window.getComputedStyle(document.body).getPropertyValue("--react-pdf-text-layer"),10),"TextLayer styles not found. Read more: https://github.com/wojtekmaj/react-pdf#support-for-text-layer"),(0,o.useEffect)(function(){b({type:"RESET"})},[p,b]),(0,o.useEffect)(function(){if(!p)return;let e=(0,a.Z)(p.getTextContent());return e.promise.then(e=>{b({type:"RESOLVE",value:e})}).catch(e=>{b({type:"REJECT",error:e})}),()=>(0,y.LJ)(e)},[p,b]),(0,o.useEffect)(()=>
1{if(void 0!==R){if(!1===R){T&&(s(!1,T.toString()),n&&n(T));return}R&&u&&u(R)}},[R]);let x=(0,o.useCallback)(()=>{f&&f()},[f]),L=(0,o.useCallback)(e=>{!(0,y.zF)(e)&&(s(!1,e.toString()),l&&l(e))},[l]),C=(0,o.useMemo)(()=>p.getViewport({scale:w,rotation:v}),[p,v,w]);return(0,o.useLayoutEffect)(function(){if(!p||!R)return;let{current:e}=P;if(!e)return;e.innerHTML="";let n=p.streamTextContent({includeMarkedContent:!0}),r=new d.AB({container:e,textContentSource:n,viewport:C});return r.render().then(()=>{let n=document.createElement("div");n.className="endOfContent",e.append(n);let r=e.querySelectorAll('[role="presentation"]');if(t){let e=0;R.items.forEach((n,o)=>{if(!("str"in n))return;let i=r[e];if(!i)return;let a=t({pageIndex:g,pageNumber:h,itemIndex:o,...n});i.innerHTML=a,e+=n.str&&n.hasEOL?2:1})}x()}).catch(L),()=>(0,y.LJ)(r)},[t,L,x,p,g,h,R,C]),(0,r.jsx)("div",{className:(0,i.Z)("react-pdf__Page__textContent","textLayer"),onMouseUp:function(){let e=P.current;e&&e.classList.remove("selecting")},onMouseDown:function(){let e=P.current;e&&e.classList.add("selecting")},ref:P})}function Z(e){let{_className:t="react-pdf__Page",_enableRegisterUnregisterPage:n=!0,canvasBackground:d,canvasRef:p,children:E,className:w,customRenderer:S,customTextRenderer:b,devicePixelRatio:R,error:T="Failed to load the page.",filterAnnotations:P,height:x,inputRef:Z,loading:D="Loading page…",noData:A="No page specified.",onGetAnnotationsError:k,onGetAnnotationsSuccess:j,onGetStructTreeError:M,onGetStructTreeSuccess:_,onGetTextError:V,onGetTextSuccess:O,onLoadError:N,onLoadSuccess:F,onRenderAnnotationLayerError:I,onRenderAnnotationLayerSuccess:U,onRenderError:G,onRenderSuccess:J,onRenderTextLayerError:B,onRenderTextLayerSuccess:H,pageIndex:z,pageNumber:W,pdf:$,registerPage:X,renderAnnotationLayer:q=!0,renderForms:K=!1,renderMode:Y="canvas",renderTextLayer:Q=!0,rotate:ee,scale:et=1,unregisterPage:en,width:er,...eo}={...g(),...e},[ei,ea]=(0,m.Z)(),{value:eu,error:el}=ei,ec=(0,o.useRef)(null);(0,c.Z)($,"Attempted to load a page, but no document was specified. Wrap <Page /> in a <Document /> or pass explicit `pdf` prop.");let es=(0,y.T8)(W)?W-1:null!=z?z:null,ef=null!=W?W:(0,y.T8)(z)?z+1:null,ed=null!=ee?ee:eu?eu.rotate:null,ep=(0,o.useMemo)(()=>{if(!eu)return null;let e=1,t=null!=et?et:1;if(er||x){let t=eu.getViewport({scale:1,rotation:ed});er?e=er/t.width:x&&(e=x/t.height)}return t*e},[x,eu,ed,et,er]);(0,o.useEffect)(function(){return()=>{(0,y.T8)(es)&&n&&en&&en(es)}},[n,$,es,en]),(0,o.useEffect)(function(){ea({type:"RESET"})},[ea,$,es]),(0,o.useEffect)(function(){if(!$||!ef)return;let e=(0,a.Z)($.getPage(ef));return e.promise.then(e=>{ea({type:"RESOLVE",value:e})}).catch(e=>{ea({type:"REJECT",error:e})}),()=>(0,y.LJ)(e)},[ea,$,ef]),(0,o.useEffect)(()=>{if(void 0!==eu){if(!1===eu){el&&(s(!1,el.toString()),N&&N(el));return}!function(){if(F){if(!eu||!ep)return;F((0,y.XZ)(eu,ep))}if(n&&X){if(!(0,y.T8)(es)||!ec.current)return;X(es,ec.current)}}()}},[eu,ep]);let eg=(0,o.useMemo)(()=>(0,y.T8)(es)&&ef&&(0,y.T8)(ed)&&(0,y.T8)(ep)?{_className:t,canvasBackground:d,customTextRenderer:b,devicePixelRatio:R,filterAnnotations:P,onGetAnnotationsError:k,onGetAnnotationsSuccess:j,onGetStructTreeError:M,onGetStructTreeSuccess:_,onGetTextError:V,onGetTextSuccess:O,onRenderAnnotationLayerError:I,onRenderAnnotationLayerSuccess:U,onRenderError:G,onRenderSuccess:J,onRenderTextLayerError:B,onRenderTextLayerSuccess:H,page:eu,pageIndex:es,pageNumber:ef,renderForms:K,renderTextLayer:Q,rotate:ed,scale:ep}:null,[t,d,b,R,P,k,j,M,_,V,O,I,U,G,J,B,H,eu,es,ef,K,Q,ed,ep]),eh=(0,o.useMemo)(()=>(0,u.ZP)(eo,()=>eu?ep?(0,y.XZ)(eu,ep):void 0:eu),[eo,eu,ep]),eE="".concat(es,"@").concat(ep,"/").concat(ed);return(0,r.jsx)("div",{className:(0,i.Z)(t,w),"data-page-number":ef,ref:l(Z,ec),style:{"--scale-round-x":"1px","--scale-round-y":"1px","--scale-factor":"1","--user-unit":"".concat(ep),"--total-scale-factor":"calc(var(--scale-factor) * var(--user-unit))",backgroundColor:d||"white",position:"relative",minWidth:"min-content",minHeight:"min-content"},...eh,children:ef?null===$||null==eu?(0,r.jsx)(f.Z,{type:"loading",children:"function"==typeof D?D():D}):!1===$||!1===eu?(0,r.jsx)(f.Z,{type:"error",children:"function"==typeof T?T():T}):function(){if(!(null==eg?void 0:eg.page))throw Error("page is undefined");let e="function"==typeof E?E(eg):E;return(0,r.jsxs)(h.Provider,{value:eg,children:[function(){switch(Y){case"custom"
1:return(0,c.Z)(S,'renderMode was set to "custom", but no customRenderer was passed.'),(0,r.jsx)(S,{},"".concat(eE,"_custom"));case"none":return null;default:return(0,r.jsx)(L,{canvasRef:p},"".concat(eE,"_canvas"))}}(),Q?(0,r.jsx)(C,{},"".concat(eE,"_text")):null,q?(0,r.jsx)(v,{},"".concat(eE,"_annotations")):null,e]})}():(0,r.jsx)(f.Z,{type:"no-data",children:"function"==typeof A?A():A})})}},66234:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(2265);function o(e,t){switch(t.type){case"RESOLVE":return{value:t.value,error:void 0};case"REJECT":return{value:!1,error:t.error};case"RESET":return{value:void 0,error:void 0};default:return e}}function i(){return(0,r.useReducer)(o,{value:void 0,error:void 0})}},74389:function(e,t,n){"use strict";n.d(t,{LJ:function(){return g},Lj:function(){return c},T8:function(){return u},XZ:function(){return h},eP:function(){return l},eR:function(){return m},gJ:function(){return s},jU:function(){return i},tN:function(){return p},us:function(){return f},x_:function(){return d},zF:function(){return E}});var r=n(69398),o=n(58768);let i="undefined"!=typeof window,a=i&&"file:"===window.location.protocol;function u(e){return null!=e}function l(e){return e instanceof ArrayBuffer}function c(e){return(0,r.Z)(i,"isBlob can only be used in a browser environment"),e instanceof Blob}function s(e){return"string"==typeof e&&/^data:/.test(e)}function f(e){(0,r.Z)(s(e),"Invalid data URI.");let[t="",n=""]=e.split(",");return -1!==t.split(";").indexOf("base64")?atob(n):unescape(n)}function d(){return i&&window.devicePixelRatio||1}function p(){o(!a,"Loading PDF as base64 strings/URLs may not work on protocols other than HTTP/HTTPS. On Chromium based browsers, you can use --allow-file-access-from-files flag for debugging purposes.")}function g(e){(null==e?void 0:e.cancel)&&e.cancel()}function h(e,t){return Object.defineProperty(e,"width",{get(){return this.getViewport({scale:t}).width},configurable:!0}),Object.defineProperty(e,"height",{get(){return this.getViewport({scale:t}).height},configurable:!0}),Object.defineProperty(e,"originalWidth",{get(){return this.getViewport({scale:1}).width},configurable:!0}),Object.defineProperty(e,"originalHeight",{get(){return this.getViewport({scale:1}).height},configurable:!0}),e}function E(e){return"AbortException"===e.name||"RenderingCancelledException"===e.name}function m(e){return new Promise((t,n)=>{let r=new FileReader;r.onload=()=>{if(!r.result)return n(Error("Error while reading a file."));t(r.result)},r.onerror=e=>{if(!e.target)return n(Error("Error while reading a file."));let{error:t}=e.target;if(!t)return n(Error("Error while reading a file."));switch(t.code){case t.NOT_FOUND_ERR:return n(Error("Error while reading a file: File not found."));case t.SECURITY_ERR:return n(Error("Error while reading a file: Security error."));case t.ABORT_ERR:return n(Error("Error while reading a file: Aborted."));default:return n(Error("Error while reading a file."))}},r.readAsArrayBuffer(e)})}},69398:function(e,t,n){"use strict";function r(e,t){if(!e)throw Error("Invariant failed")}n.d(t,{Z:function(){return r}})}}]);

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.