1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9228],{6767:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(11363).A)("Share2",[["circle",{cx:"18",cy:"5",r:"3",key:"gq8acd"}],["circle",{cx:"6",cy:"12",r:"3",key:"w7nqdw"}],["circle",{cx:"18",cy:"19",r:"3",key:"1xt0gg"}],["line",{x1:"8.59",x2:"15.42",y1:"13.51",y2:"17.49",key:"47mynk"}],["line",{x1:"15.41",x2:"8.59",y1:"6.51",y2:"10.49",key:"1n3mei"}]])},10737:(e,t,n)=>{"use strict";n.d(t,{A:()=>C});var r=n(35624),o=n(77764),i=n(63164),a=n(39881),u=n(77241);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 s=n(82501),c=n(62805),f=n(92587),d=n(38752),p=n(16136);function g(){return(0,o.useContext)(p.A)}let h=(0,o.createContext)(null);function y(){return(0,o.useContext)(h)}var m=n(46340),E=n(55023);function v(){let e=g(),t=y();(0,s.A)(t,"Unable to find Page context.");let{imageResourcesPath:n,linkService:u,onGetAnnotationsError:l,onGetAnnotationsSuccess:f,onRenderAnnotationLayerError:p,onRenderAnnotationLayerSuccess:h,page:v,pdf:A,renderForms:w,rotate:x,scale:S=1}={...e,...t};(0,s.A)(A,"Attempted to load page annotations, but no document was specified. Wrap <Page /> in a <Document /> or pass explicit `pdf` prop."),(0,s.A)(v,"Attempted to load page annotations, but no page was specified."),(0,s.A)(u,"Attempted to load page annotations, but no linkService was specified.");let[b,R]=(0,m.A)(),{value:T,error:L}=b,P=(0,o.useRef)(null);c(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(){R({type:"RESET"})},[R,v]),(0,o.useEffect)(function(){if(!v)return;let e=(0,a.A)(v.getAnnotations());return e.promise.then(e=>{R({type:"RESOLVE",value:e})}).catch(e=>{R({type:"REJECT",error:e})}),()=>{(0,E.xL)(e)}},[R,v]),(0,o.useEffect)(()=>{if(void 0!==T){if(!1===T){L&&(c(!1,L.toString()),l&&l(L));return}T&&f&&f(T)}},[T]);let C=(0,o.useMemo)(()=>v.getViewport({scale:S,rotation:x}),[v,x,S]);return(0,o.useEffect)(function(){if(!A||!v||!u||!T)return;let{current:e}=P;if(!e)return;let t=C.clone({dontFlip:!0}),r={accessibilityManager:null,annotationCanvasMap:null,annotationEditorUIManager:null,annotationStorage:A.annotationStorage,commentManager:null,div:e,l10n:null,linkService:u,page:v,structTreeLayer:null,viewport:t},o={annotations:T,annotationStorage:A.annotationStorage,div:e,imageResourcesPath:n,linkService:u,page:v,renderForms:w,viewport:t};e.innerHTML="";try{new d.dU(r).render(o),h&&h()}catch(e){c(!1,"".concat(e)),p&&p(e)}return()=>{}},[T,n,u,v,A,w,C]),(0,r.jsx)("div",{className:(0,i.A)("react-pdf__Page__annotations","annotationLayer"),ref:P})}let A={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},w=/^H(\d+)$/;function x(e){return"children"in e}function S(e){return!!x(e)&&1===e.children.length&&0 in e.children&&"id"in e.children[0]}function b({className:e,node:t}){let n=(0,o.useMemo)(()=>t?{...function(e){let t={};if(x(e)){let{role:n}=e,r=n.match(w);if(r)t.role="heading",t["aria-level"]=Number(r[1]);else if(n in A){let e=A[n];e&&(t.role=e)}}return t}(t),...function e(t){let n={};if(x(t)){if(void 0!==t.alt&&(n["aria-label"]=t.alt),void 0!==t.lang&&(n.lang=t.lang),S(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)(()=>!x(t)||S(t)?null:t.children.map((e,t)=>(0,r.jsx)(b,{node:e},t)),[t]);return(0,r.jsx)("span",{className:e,...n,children:i})}function R(){let e=y();(0,s.A)(e,"Unable to find Page context.");let{onGetStructTreeError:t,onGetStructTreeSuccess:n}=e,[i,u]=(0,m.A)(),{value:l,error:f}
1=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.A)(p.getStructTree());return e.promise.then(e=>{u({type:"RESOLVE",value:e})}).catch(e=>{u({type:"REJECT",error:e})}),()=>(0,E.xL)(e)},[d,p,u]),(0,o.useEffect)(()=>{if(void 0!==l){if(!1===l){f&&(c(!1,f.toString()),t&&t(f));return}l&&n&&n(l)}},[l]),l)?(0,r.jsx)(b,{className:"react-pdf__Page__structTree structTree",node:l}):null}let T=d.ng;function L(e){let t=y();(0,s.A)(t,"Unable to find Page context.");let{_className:n,canvasBackground:i,devicePixelRatio:a=(0,E.mZ)(),onRenderError:u,onRenderSuccess:f,page:d,renderForms:p,renderTextLayer:g,rotate:h,scale:m}={...t,...e},{canvasRef:v}=e;(0,s.A)(d,"Attempted to render page canvas, but no page was specified.");let A=(0,o.useRef)(null);function w(e){!(0,E.UT)(e)&&(c(!1,e.toString()),u&&u(e))}let x=(0,o.useMemo)(()=>d.getViewport({scale:m*a,rotation:h}),[a,d,h,m]),S=(0,o.useMemo)(()=>d.getViewport({scale:m,rotation:h}),[d,h,m]);(0,o.useEffect)(function(){if(!d)return;d.cleanup();let{current:e}=A;if(!e)return;e.width=x.width,e.height=x.height,e.style.width="".concat(Math.floor(S.width),"px"),e.style.height="".concat(Math.floor(S.height),"px"),e.style.visibility="hidden";let t={annotationMode:p?T.ENABLE_FORMS:T.ENABLE,canvas:e,canvasContext:e.getContext("2d",{alpha:!1}),viewport:x};i&&(t.background=i);let n=d.render(t);return n.promise.then(()=>{e.style.visibility="",d&&f&&f((0,E.vS)(d,m))}).catch(w),()=>(0,E.xL)(n)},[i,d,p,x,S]);let b=(0,o.useCallback)(()=>{let{current:e}=A;e&&(e.width=0,e.height=0)},[]);return(0,o.useEffect)(()=>b,[b]),(0,r.jsx)("canvas",{className:"".concat(n,"__canvas"),dir:"ltr",ref:l(v,A),style:{display:"block",userSelect:"none"},children:g?(0,r.jsx)(R,{}):null})}function P(){let e=y();(0,s.A)(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:A}=e;
1(0,s.A)(p,"Attempted to load page text content, but no page was specified.");let[w,x]=(0,m.A)(),{value:S,error:b}=w,R=(0,o.useRef)(null);c(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(){x({type:"RESET"})},[p,x]),(0,o.useEffect)(function(){if(!p)return;let e=(0,a.A)(p.getTextContent());return e.promise.then(e=>{x({type:"RESOLVE",value:e})}).catch(e=>{x({type:"REJECT",error:e})}),()=>(0,E.xL)(e)},[p,x]),(0,o.useEffect)(()=>{if(void 0!==S){if(!1===S){b&&(c(!1,b.toString()),n&&n(b));return}S&&u&&u(S)}},[S]);let T=(0,o.useCallback)(()=>{f&&f()},[f]),L=(0,o.useCallback)(e=>{c(!1,e.toString()),l&&l(e)},[l]),P=(0,o.useMemo)(()=>p.getViewport({scale:A,rotation:v}),[p,v,A]);return(0,o.useLayoutEffect)(function(){if(!p||!S)return;let{current:e}=R;if(!e)return;e.innerHTML="";let n=p.streamTextContent({includeMarkedContent:!0}),r=new d.D6({container:e,textContentSource:n,viewport:P});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;S.items.forEach((n,o)=>{if(!("str"in n))return;let i=r[e];i&&(i.innerHTML=t({pageIndex:g,pageNumber:h,itemIndex:o,...n}),e+=n.str&&n.hasEOL?2:1)})}T()}).catch(L),()=>(0,E.xL)(r)},[t,L,T,p,g,h,S,P]),(0,r.jsx)("div",{className:(0,i.A)("react-pdf__Page__textContent","textLayer"),onMouseUp:function(){let e=R.current;e&&e.classList.remove("selecting")},onMouseDown:function(){let e=R.current;e&&e.classList.add("selecting")},ref:R})}function C(e){let{_className:t="react-pdf__Page",_enableRegisterUnregisterPage:n=!0,canvasBackground:d,canvasRef:p,children:y,className:A,customRenderer:w,customTextRenderer:x,devicePixelRatio:S,error:b="Failed to load the page.",height:R,inputRef:T,loading:C="Loading pageâ¦",noData:D="No page specified.",onGetAnnotationsError:k,onGetAnnotationsSuccess:j,onGetStructTreeError:M,onGetStructTreeSuccess:_,onGetTextError:O,onGetTextSuccess:V,onLoadError:N,onLoadSuccess:I,onRenderAnnotationLayerError:F,onRenderAnnotationLayerSuccess:U,onRenderError:G,onRenderSuccess:z,onRenderTextLayerError:B,onRenderTextLayerSuccess:H,pageIndex:W,pageNumber:q,pdf:J,registerPage:$,renderAnnotationLayer:K=!0,renderForms:Y=!1,renderMode:Z="canvas",renderTextLayer:X=!0,rotate:Q,scale:ee=1,unregisterPage:et,width:en,...er}={...g(),...e},[eo,ei]=(0,m.A)(),{value:ea,error:eu}=eo,el=(0,o.useRef)(null);(0,s.A)(J,"Attempted to load a page, but no document was specified. Wrap <Page /> in a <Document /> or pass explicit `pdf` prop.");let es=(0,E.ci)(q)?q-1:null!=W?W:null,ec=null!=q?q:(0,E.ci)(W)?W+1:null,ef=null!=Q?Q:ea?ea.rotate:null,ed=(0,o.useMemo)(()=>{if(!ea)return null;let e=1,t=null!=ee?ee:1;if(en||R){let t=ea.getViewport({scale:1,rotation:ef});en?e=en/t.width:R&&(e=R/t.height)}return t*e},[R,ea,ef,ee,en]);(0,o.useEffect)(function(){return()=>{(0,E.ci)(es)&&n&&et&&et(es)}},[n,J,es,et]),(0,o.useEffect)(function(){ei({type:"RESET"})},[ei,J,es]),(0,o.useEffect)(function(){if(!J||!ec)return;let e=(0,a.A)(J.getPage(ec));return e.promise.then(e=>{ei({type:"RESOLVE",value:e})}).catch(e=>{ei({type:"REJECT",error:e})}),()=>(0,E.xL)(e)},[ei,J,ec]),(0,o.useEffect)(()=>{if(void 0!==ea){if(!1===ea){eu&&(c(!1,eu.toString()),N&&N(eu));return}!function(){if(I){if(!ea||!ed)return;I((0,E.vS)(ea,ed))}if(n&&$){if(!(0,E.ci)(es)||!el.current)return;$(es,el.current)}}()}},[ea,ed]);let ep=(0,o.useMemo)(()=>(0,E.ci)(es)&&ec&&(0,E.ci)(ef)&&(0,E.ci)(ed)?{_className:t,canvasBackground:d,customTextRenderer:x,devicePixelRatio:S,onGetAnnotationsError:k,onGetAnnotationsSuccess:j,onGetStructTreeError:M,onGetStructTreeSuccess:_,onGetTextError:O,onGetTextSuccess:V,onRenderAnnotationLayerError:F,onRenderAnnotationLayerSuccess:U,onRenderError:G,onRenderSuccess:z,onRenderTextLayerError:B,onRenderTextLayerSuccess:H,page:ea,pageIndex:es,pageNumber:ec,renderForms:Y,renderTextLayer:X,rotate:ef,scale:ed}:null,[t,d,x,S,k,j,M,_,O,V,F,U,G,z,B,H,ea,es,ec,Y,X,ef,ed]),eg=(0,o.useMemo)(()=>(0,u.Ay)(er,()=>ea?ed?(0,E.vS)(ea,ed):void 0:ea),[er,ea,ed]),eh="".concat(es,"@").concat(ed,"/").concat(ef);return(0,r.jsx)("div",{className:(0,i.A)(t,A),"data-page-number":ec,ref:l(T,el),style:{"--scale-round-x":"1px","--scale-round-y":"1px","--scale-factor":"1","--user-unit":"".concat(ed),"--total-scale-factor":"calc(var(--scale-factor) * var(--user-unit))",backgroundColor:d||"white",position:"relative",minWidth:"min-content",minHeight:"min-content"},...eg,children:function(){if(!ec)return(0,r.jsx)(f.A,{type:"no-data",children:"function"==typeof D?D():D});if(null===J||null==ea)return(0,r.jsx)(f.A,{type:"loading",children:"function"==typeof C?C():C});if(!1===J||!1===ea)return(0,r.jsx)(f.A,{type:"error",children:"function"==typeof b?b():b});if(!(null==ep?void 0:ep.page))throw Error("page is undefined");let e="function"==typeof y?y(ep):y;return(0,r.jsxs)(h.Provider,{value:ep,children:[function(){switch(Z){case"custom"
1:return(0,s.A)(w,'renderMode was set to "custom", but no customRenderer was passed.'),(0,r.jsx)(w,{},"".concat(eh,"_custom"));case"none":return null;default:return(0,r.jsx)(L,{canvasRef:p},"".concat(eh,"_canvas"))}}(),X?(0,r.jsx)(P,{},"".concat(eh,"_text")):null,K?(0,r.jsx)(v,{},"".concat(eh,"_annotations")):null,e]})}()})}},13472:()=>{},16136:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(77764).createContext)(null)},39881:(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,{A:()=>r})},46340:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(77764);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})}},55023:(e,t,n)=>{"use strict";n.d(t,{Bd:()=>i,UT:()=>y,ci:()=>u,h1:()=>m,jA:()=>f,mZ:()=>d,mw:()=>l,qC:()=>p,qf:()=>s,vS:()=>h,xL:()=>g,zL:()=>c});var r=n(82501),o=n(62805);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 s(e){return(0,r.A)(i,"isBlob can only be used in a browser environment"),e instanceof Blob}function c(e){return"string"==typeof e&&/^data:/.test(e)}function f(e){(0,r.A)(c(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.view[2]*t},configurable:!0}),Object.defineProperty(e,"height",{get(){return this.view[3]*t},configurable:!0}),Object.defineProperty(e,"originalWidth",{get(){return this.view[2]},configurable:!0}),Object.defineProperty(e,"originalHeight",{get(){return this.view[3]},configurable:!0}),e}
1function y(e){return"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)})}},55597:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(11363).A)("Download",[["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["polyline",{points:"7 10 12 15 17 10",key:"2ggqvy"}],["line",{x1:"12",x2:"12",y1:"15",y2:"3",key:"1vk2je"}]])},62805:e=>{"use strict";e.exports=function(){}},63027:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(11363).A)("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]])},67451:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(11363).A)("Minus",[["path",{d:"M5 12h14",key:"1ays0h"}]])},71896:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(77764);function o(e,t,n){(0,r.useEffect)(()=>{if(!e||!("ResizeObserver"in window))return;let r=new ResizeObserver(n);return r.observe(e,t),()=>{r.disconnect()}},[e,t,n])}},77186:(e,t,n)=>{"use strict";e.exports=n.p+"static/media/pdf.worker.min.1d003994.mjs"},77241:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>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}},77358:()=>{},82501:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});function r(e,t){if(!e)throw Error("Invariant failed")}}
1,87954:(e,t,n)=>{"use strict";n.d(t,{A:()=>S});var r=n(35624),o=n(77764),i=n(63164),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 s=n(39881),c=n(77241),f=n(38752),d=n(82501),p=n(62805),g=n(16136);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.A)(this.pdfViewer,"PDF viewer is not initialized."),this.pdfViewer.currentPageNumber||0}set page(e){(0,d.A)(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.A)(this.pdfDocument,"PDF document not loaded."),(0,d.A)(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.A)(Array.isArray(e),`"${e}" is not a valid destination array.`);let t=e[0];new Promise(e=>{(0,d.A)(this.pdfDocument,"PDF document not loaded."),t instanceof Object?this.pdfDocument.getPageIndex(t).then(t=>{e(t)}).catch(()=>{(0,d.A)(!1,`"${t}" is not a valid page reference.`)}):"number"==typeof t?e(t):(0,d.A)(!1,`"${t}" is not a valid destination reference.`)}).then(t=>{let n=t+1;(0,d.A)(this.pdfViewer,"PDF viewer is not initialized."),(0,d.A)(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.A)(this.pdfViewer,"PDF viewer is not initialized."),(0,d.A)(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 y=n(92587);let m={NEED_PASSWORD:1,INCORRECT_PASSWORD:2};var E=n(46340),v=n(55023);let{Tm:A}=f,w=(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 x(e){return"object"==typeof e&&null!==e&&("data"in e||"range"in e||"url"in e)}let S=(0,o.forwardRef)(function(e,t){let{children:n,className:a,error:u="Failed to load PDF file.",externalLinkRel:m,externalLinkTarget:S,file:b,inputRef:R,imageResourcesPath:T,loading:L="Loading PDFâ¦",noData:P="No PDF file specified.",onItemClick:C,onLoadError:D,onLoadProgress:k,onLoadSuccess:j,onPassword:M=w,onSourceError:_,onSourceSuccess:O,options:V,renderMode:N,rotate:I,scale:F,...U}=e,[G,z]=(0,E.A)(),{value:B,error:H}=G,[W,q]=(0,E.A)(),{value:J,error:$}=W,K=(0,o.useRef)(new h),Y=(0,o.useRef)([]),Z=(0,o.useRef)(void 0),X=(0,o.useRef)(void 0);b&&b!==Z.current&&x(b)&&(p(!l(b,Z.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.'),Z.current=b),V&&V!==X.current&&(p(!l(V,X.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.'),X.current=V);let Q=(0,o.useRef)({scrollPageIntoView:e=>{let{dest:t,pageNumber:n,pageIndex:r=n-1}=e;if(C){C({dest:t,pageIndex:r,pageNumber:n});return}let o=Y.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:K,pages:Y,viewer:Q}),[]),(0,o.useEffect)(function(){z({type:"RESET"})},[b,z]);let ee=(0,o.useCallback)(async()=>{if(!b)return null;if("string"==typeof b)return(0,v.zL)(b)?{data:(0,v.jA)(b)}:((0,v.qC)(),{url:b});if(b instanceof A)return{range:b};if((0,v.mw)(b))return{data:b};if(v.Bd&&(0,v.qf)(b))return{data:await (0,v.h1)(b)};if((0,d.A)("object"==typeof b,"Invalid parameter in file, need either Uint8Array, string or a parameter object"),(0,d.A)(x(b),"Invalid parameter object: need either .data, .range or .url"),"url"in b&&"string"==typeof b.url){if((0,v.zL)(b.url)){let{url:e,...t}=b;return{data:(0,v.jA)(e),...t}}(0,v.qC)()}return b},[b]);(0,o.useEffect)(()=>{let e=(0,s.A)(ee());return e.promise.then(e=>{z({type:"RESOLVE",value:e})}).catch(e=>{z({type:"REJECT",error:e})}),()=>{(0,v.xL)(e)}},[ee,z]),(0,o.useEffect)(()=>{if(void 0!==B){if(!1===B){H&&(p(!1,H.toString()),_&&_(H));return}O&&O()}},[B]),(0,o.useEffect)(function(){q({type:"RESET"})},[q,B]),(0,o.useEffect)(function(){if(!B)return;let e=V?{...B,...V}:B,t=f.YE(e);k&&(t.onProgress=k),M&&(t.onPassword=M);let n=t.promise.then(e=>{q({type:"RESOLVE",value:e})}).catch(e=>{t.destroyed||q({type:"REJECT",error:e})});return()=>{n.finally(()=>t.destroy())}},[V,q,B]),(0,o.useEffect)(()=>{if(void 0!==J){if(!1===J){$&&(p(!1,$.toString()),D&&D($));return}J&&(j&&j(J),Y.current=Array(J.numPages),K.current.setDocument(J))}},[J]),(0,o.useEffect)(function(){K.current.setViewer(Q.current),K.current.setExternalLinkRel(m),K.current.setExternalLinkTarget(S)},[m,S]);let et=(0,o.useCallback)((e,t)=>{Y.current[e]=t},[]),en=(0,o.useCallback)(e=>{delete Y.current[e]},[]),er=(0,o.useMemo)(()=>({imageResourcesPath:T,linkService:K.current,onItemClick:C,pdf:J,registerPage:et,renderMode:N,rotate:I,scale:F,unregisterPage:en}),[T,C,J,et,N,I,F,en]),eo=(0,o.useMemo)(()=>(0,c.Ay)(U,()=>J),[U,J]);return(0,r.jsx)("div",{className:(0,i.A)("react-pdf__Document",a),ref:R,...eo,children:function(){if(!b)return(0,r.jsx)(y.A,{type:"no-data",children:"function"==typeof P?P():P});if(null==J)return(0,r.jsx)(y.A,{type:"loading",children:"function"==typeof L?L():L});if(!1===J)return(0,r.jsx)(y.A,{type:"error",children:"function"==typeof u?u():u});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.A.Provider,{value:er,children:e})}()})})},92587:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(35624);function o({children:e,type:t}){return(0,r.jsx)("div",{className:`react-pdf__message react-pdf__message--${t}`,children:e})}},93540:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(11363).A)("Maximize2",[["polyline",{points:"15 3 21 3 21 9",key:"mznyad"}],["polyline",{points:"9 21 3 21 3 15",key:"1avn1i"}],["line",{x1:"21",x2:"14",y1:"3",y2:"10",key:"ota7mn"}],["line",{x1:"3",x2:"10",y1:"21",y2:"14",key:"1atl0r"}]])},93698:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(11363).A)("ChevronLeft",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]])}}]);
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.