PageSourceSearch

https://circleplus.xyz/_next/static/chunks/936.5f27f58ee1f17f2c.js

js circleplus.xyz collected 2026-10-05 22:45:46 UTC 50,628 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[936],{7610:(e,t)=>{t.read=function(e,t,r,n,o){var i,f,u=8*o-n-1,s=(1<<u)-1,a=s>>1,l=-7,c=r?o-1:0,h=r?-1:1,p=e[t+c];for(c+=h,i=p&(1<<-l)-1,p>>=-l,l+=u;l>0;i=256*i+e[t+c],c+=h,l-=8);for(f=i&(1<<-l)-1,i>>=-l,l+=n;l>0;f=256*f+e[t+c],c+=h,l-=8);if(0===i)i=1-a;else{if(i===s)return f?NaN:1/0*(p?-1:1);f+=Math.pow(2,n),i-=a}return(p?-1:1)*f*Math.pow(2,i-n)},t.write=function(e,t,r,n,o,i){var f,u,s,a=8*i-o-1,l=(1<<a)-1,c=l>>1,h=5960464477539062e-23*(23===o),p=n?0:i-1,d=n?1:-1,g=+(t<0||0===t&&1/t<0);for(isNaN(t=Math.abs(t))||t===1/0?(u=+!!isNaN(t),f=l):(f=Math.floor(Math.log(t)/Math.LN2),t*(s=Math.pow(2,-f))<1&&(f--,s*=2),f+c>=1?t+=h/s:t+=h*Math.pow(2,1-c),t*s>=2&&(f++,s/=2),f+c>=l?(u=0,f=l):f+c>=1?(u=(t*s-1)*Math.pow(2,o),f+=c):(u=t*Math.pow(2,c-1)*Math.pow(2,o),f=0));o>=8;e[r+p]=255&u,p+=d,u/=256,o-=8);for(f=f<<o|u,a+=o;a>0;e[r+p]=255&f,p+=d,f/=256,a-=8);e[r+p-d]|=128*g}},12051:(e,t,r)=>{"use strict";r.d(t,{Document:()=>D,Page:()=>Z,pdfjs:()=>n});var n=r(54014),o=r(95155),i=r(12115),f=function(e,t,r){if(r||2==arguments.length)for(var n,o=0,i=t.length;o<i;o++)!n&&o in t||(n||(n=Array.prototype.slice.call(t,0,o)),n[o]=t[o]);return e.concat(n||Array.prototype.slice.call(t))},u=f(f(f(f(f(f(f(f(f(f(f(f(f(f(f(f(f(f([],["onCopy","onCut","onPaste"],!0),["onCompositionEnd","onCompositionStart","onCompositionUpdate"],!0),["onFocus","onBlur"],!0),["onInput","onInvalid","onReset","onSubmit"],!0),["onLoad","onError"],!0),["onKeyDown","onKeyPress","onKeyUp"],!0),["onAbort","onCanPlay","onCanPlayThrough","onDurationChange","onEmptied","onEncrypted","onEnded","onError","onLoadedData","onLoadedMetadata","onLoadStart","onPause","onPlay","onPlaying","onProgress","onRateChange","onSeeked","onSeeking","onStalled","onSuspend","onTimeUpdate","onVolumeChange","onWaiting"],!0),["onClick","onContextMenu","onDoubleClick","onMouseDown","onMouseEnter","onMouseLeave","onMouseMove","onMouseOut","onMouseOver","onMouseUp"],!0),["onDrag","onDragEnd","onDragEnter","onDragExit","onDragLeave","onDragOver","onDragStart","onDrop"],!0),["onSelect"],!0),["onTouchCancel","onTouchEnd","onTouchMove","onTouchStart"],!0),["onPointerDown","onPointerMove","onPointerUp","onPointerCancel","onGotPointerCapture","onLostPointerCapture","onPointerEnter","onPointerLeave","onPointerOver","onPointerOut"],!0),["onScroll"],!0),["onWheel"],!0),["onAnimationStart","onAnimationEnd","onAnimationIteration"],!0),["onTransitionEnd"],!0),["onChange"],!0),["onToggle"],!0);function s(e,t){var r={};return u.forEach(function(n){var o=e[n];o&&(t?r[n]=function(e){return o(e,t(n))}:r[n]=o)}),r}function a(e){var t=!1;return{promise:new Promise(function(r,n){e.then(function(e){return!t&&r(e)}).catch(function(e){return!t&&n(e)})}),cancel:function(){t=!0}}}var l=r(52596);function c(e,t){if(!e)throw Error("Invariant failed")}var h=r(94274),p=Object.prototype.hasOwnProperty;function d(e,t,r){for(r of e.keys())if(g(r,t))return r}function g(e,t){var r,n,o;if(e===t)return!0;if(e&&t&&(r=e.constructor)===t.constructor){if(r===Date)return e.getTime()===t.getTime();if(r===RegExp)return e.toString()===t.toString();if(r===Array){if((n=e.length)===t.length)for(;n--&&g(e[n],t[n]););return -1===n}if(r===Set){if(e.size!==t.size)return!1;for(n of e)if((o=n)&&"object"==typeof o&&!(o=d(t,o))||!t.has(o))return!1;return!0}if(r===Map){if(e.size!==t.size)return!1;for(n of e)if((o=n[0])&&"object"==typeof o&&!(o=d(t,o))||!g(n[1],t.get(o)))return!1;return!0}if(r===ArrayBuffer)e=new Uint8Array(e),t=new Uint8Array(t);else if(r===DataView){if((n=e.byteLength)===t.byteLength)for(;n--&&e.getInt8(n)===t.getInt8(n););return -1===n}if(ArrayBuffer.isView(e)){if((n=e.byteLength)===t.byteLength)for(;n--&&e[n]===t[n];);return -1===n}if(!r||"object"==typeof e){for(r in n=0,e)if(p.call(e,r)&&++n&&!p.call(t,r)||!(r in t)||!g(e[r],t[r]))return!1;return Object.keys(t).length===n}}return e!=e&&t!=t}let y=(0,i.createContext)(null);function m({children:e,type:t}){return(0,o.jsx)("div",{className:`react-pdf__message react-pdf__message--${t}`,children:e})}class E{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}setHistory(){}get pagesCount(){return this.pdfDocument?this.pdfDocument.numPages:0}get page(){return c(this.pdfViewer,"PDF viewer is not initialized."),this.pdfViewer.currentPageNumber||0}set page(e){c(this.pdfViewer,"PDF viewer is not initialized."),this.pdfViewer.currentPageNumber=e}get rotation(){return 0}set rotation(e){}goToDestination(e){return new Promise(t=>{c(this.pdfDocument,"PDF document not loaded."),c(e,"Destination is not specified."),"string"==typeof e?this.pdfDocument.getDestination(e).then(t):Array.isArray(e)?t(e):e.then(t)}).then(e=>{c(Array.isArray(e),`"${e}" is not a valid destination array.`);let t=e[0];new Promise(e=>{c(this.pdfDocument,"PDF document not loaded."),t instanceof Object?this.pdfDocument.getPageIndex(t).then(t=>{e(t)}).catch(()=>{c(!1,`"${t}" is not a valid page reference.`)}):"number"==typeof t?e(t):c(!1,`"${t}" is not a valid destination reference.`)}).then(t=>{let r=t+1;c(this.pdfViewer,"PDF viewer is not initialized."),c(r>=1&&r<=this.pagesCount,`"${r}" is not a valid page number.`),this.pdfViewer.scrollPageIntoView({dest:e,pageIndex:t,pageNumber:r})})})}navigateTo(e){this.goToDestination(e)}goToPage(e){c(this.pdfViewer,"PDF viewer is not initialized."),c(e>=1&&e<=this.pagesCount,`"${e}" is not a valid page number.`),this.pdfViewer.scrollPageIntoView({pageIndex:e-1,pageNumber:e})}addLinkAttributes(e,t,r){e.href=t,e.rel=this.externalLinkRel||"noopener noreferrer nofollow",e.target=r?"_blank":this.externalLinkTarget||""}getDestinationHash(){return"#"}getAnchorUrl(){return"#"}setHash(){}executeNamedAction(){}cachePageRef(){}isPageVisible(){return!0}isPageCached(){return!0}executeSetOCGState(){}}let b={NEED_PASSWORD:1,INCORRECT_PASSWORD:2},w="undefined"!=typeof window,v=w&&"file:"===window.location.protocol;function R(e){return null!=e}function A(e){return"string"==typeof e&&/^data:/.test(e)}function x(e){c(A(e),"Invalid data URI.");let[t="",r=""]=e.split(",");return -1!==t.split(";").indexOf("base64")?atob(r):unescape(r)}let S="On Chromium based browsers, you can use --allow-file-access-from-files flag for debugging purposes.";function T(){h(!v,`Loading PDF as base64 strings/URLs may not work on protocols other than HTTP/HTTPS. ${S}`)}function B(e){(null==e?void 0:e.cancel)&&e.cancel()}function L(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}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 P(){return(0,i.useReducer)(O,{value:void 0,error:void 0})}var I=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)0>t.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r};let{PDFDataRangeTransport:U}=n,C=(e,t)=>{switch(t){case b.NEED_PASSWORD:e(prompt("Enter the password to open this PDF file."));break;case b.INCORRECT_PASSWORD:e(prompt("Invalid password. Please try again."))}};function j(e){return"object"==typeof e&&null!==e&&("data"in e||"range"in e||"url"in e)}let D=(0,i.forwardRef)(function(e,t){var{children:r,className:f,error:u="Failed to load PDF file.",externalLinkRel:p,externalLinkTarget:d,file:b,inputRef:v,imageResourcesPath:R,loading:S="Loading PDF…",noData:L="No PDF file specified.",onItemClick:O,onLoadError:D,onLoadProgress:_,onLoadSuccess:k,onPassword:M=C,onSourceError:N,onSourceSuccess:F,options:$,renderMode:V,rotate:G}=e,z=I(e,["children","className","error","externalLinkRel","externalLinkTarget","file","inputRef","imageResourcesPath","loading","noData","onItemClick","onLoadError","onLoadProgress","onLoadSuccess","onPassword","onSourceError","onSourceSuccess","options","renderMode","rotate"]);let[H,W]=P(),{value:J,error:Y}=H,[q,K]=P(),{value:Z,error:Q}=q,X=(0,i.useRef)(new E),ee=(0,i.useRef)([]),et=(0,i.useRef)(void 0),er=(0,i.useRef)(void 0);b&&b!==et.current&&j(b)&&(h(!g(b,et.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.'),et.current=b),$&&$!==er.current&&(h(!g($,er.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.'),er.current=$);let en=(0,i.useRef)({scrollPageIntoView:e=>{let{dest:t,pageNumber:r,pageIndex:n=r-1}=e;if(O)return void O({dest:t,pageIndex:n,pageNumber:r});let o=ee.current[n];if(o)return void o.scrollIntoView();h(!1,"An internal link leading to page ".concat(r," 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,i.useImperativeHandle)(t,()=>({linkService:X,pages:ee,viewer:en}),[]),(0,i.useEffect)(function(){W({type:"RESET"})},[b,W]);let eo=(0,i.useCallback)(()=>{var e,t,r,n;return e=this,t=void 0,r=void 0,n=function*(){if(!b)return null;if("string"==typeof b)return A(b)?{data:x(b)}:(T(),{url:b});if(b instanceof U)return{range:b};if(b instanceof ArrayBuffer)return{data:b};if(w&&(c(w,"isBlob can only be used in a browser environment"),b instanceof Blob))return{data:yield new Promise((e,t)=>{let r=new FileReader;r.onload=()=>{if(!r.result)return t(Error("Error while reading a file."));e(r.result)},r.onerror=e=>{if(!e.target)return t(Error("Error while reading a file."));let{error:r}=e.target;if(!r)return t(Error("Error while reading a file."));switch(r.code){case r.NOT_FOUND_ERR:return t(Error("Error while reading a file: File not found."));case r.SECURITY_ERR:return t(Error("Error while reading a file: Security error."));case r.ABORT_ERR:return t(Error("Error while reading a file: Aborted."));default:return t(Error("Error while reading a file."))}},r.readAsArrayBuffer(b)})};if(c("object"==typeof b,"Invalid parameter in file, need either Uint8Array, string or a parameter object"),c(j(b),"Invalid parameter object: need either .data, .range or .url"),"url"in b&&"string"==typeof b.url){if(A(b.url)){let{url:e}=b,t=I(b,["url"]);return Object.assign({data:x(e)},t)}T()}return b},new(r||(r=Promise))(function(o,i){function f(e){try{s(n.next(e))}catch(e){i(e)}}function u(e){try{s(n.throw(e))}catch(e){i(e)}}function s(e){var t;e.done?o(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t)})).then(f,u)}s((n=n.apply(e,t||[])).next())})},[b]);(0,i.useEffect)(()=>{let e=a(eo());return e.promise.then(e=>{W({type:"RESOLVE",value:e})}).catch(e=>{W({type:"REJECT",error:e})}),()=>{B(e)}},[eo,W]),(0,i.useEffect)(()=>{if(void 0!==J){if(!1===J)return void(Y&&(h(!1,Y.toString()),N&&N(Y)));F&&F()}},[J]),(0,i.useEffect)(function(){K({type:"RESET"})},[K,J]),(0,i.useEffect)(function(){if(!J)return;let e=$?Object.assign(Object.assign({},J),$):J,t=n.getDocument(e);_&&(t.onProgress=_),M&&(t.onPassword=M);let r=t.promise.then(e=>{K({type:"RESOLVE",value:e})}).catch(e=>{t.destroyed||K({type:"REJECT",error:e})});return()=>{r.finally(()=>t.destroy())}},[$,K,J]),(0,i.useEffect)(()=>{if(void 0!==Z){if(!1===Z)return void(Q&&(h(!1,Q.toString()),D&&D(Q)));Z&&(k&&k(Z),ee.current=Array(Z.numPages),X.current.setDocument(Z))}},[Z]),(0,i.useEffect)(function(){X.current.setViewer(en.current),X.current.setExternalLinkRel(p),X.current.setExternalLinkTarget(d)},[p,d]);let ei=(0,i.useCallback)((e,t)=>{ee.current[e]=t},[]),ef=(0,i.useCallback)(e=>{delete ee.current[e]},[]),eu=(0,i.useMemo)(()=>({imageResourcesPath:R,linkService:X.current,onItemClick:O,pdf:Z,registerPage:ei,renderMode:V,rotate:G,unregisterPage:ef}),[R,O,Z,ei,V,G,ef]),es=(0,i.useMemo)(()=>s(z,()=>Z),[z,Z]);return(0,o.jsx)("div",Object.assign({className:(0,l.A)("react-pdf__Document",f),ref:v,style:{"--scale-factor":"1"}},es,{children:b?null==Z?(0,o.jsx)(m,{type:"loading",children:"function"==typeof S?S():S}):!1===Z?(0,o.jsx)(m,{type:"error",children:"function"==typeof u?u():u}):(0,o.jsx)(y.Provider,{value:eu,children:r}):(0,o.jsx)(m,{type:"no-data",children:"function"==typeof L?L():L})}))});function _(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=e.filter(Boolean);return r.length<=1?r[0]||null:function(e){r.forEach(function(t){"function"==typeof t?t(e):t&&(t.current=e)})}}let k=(0,i.createContext)(null),M={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},N=/^H(\d+)$/;function F(e){return"children"in e}function $(e){return!!F(e)&&1===e.children.length&&0 in e.children&&"id"in e.children[0]}function V({className:e,node:t}){let r=(0,i.useMemo)(()=>t?Object.assign(Object.assign({},function(e){let t={};if(F(e)){let{role:r}=e,n=r.match(N);if(n)t.role="heading",t["aria-level"]=Number(n[1]);else if(r in M){let e=M[r];e&&(t.role=e)}}return t}(t)),function e(t){let r={};if(F(t)){if(void 0!==t.alt&&(r["aria-label"]=t.alt),void 0!==t.lang&&(r.lang=t.lang),$(t)){let[n]=t.children;if(n){let t=e(n);return Object.assign(Object.assign({},r),t)}}}else"id"in t&&(r["aria-owns"]=t.id);return r}(t)):null,[t]),n=(0,i.useMemo)(()=>!F(t)||$(t)?null:t.children.map((e,t)=>(0,o.jsx)(V,{node:e},t)),[t]);return(0,o.jsx)("span",Object.assign({className:e},r,{children:n}))}function G(){return(0,i.useContext)(k)}function z(){let e=G();c(e,"Unable to find Page context.");let{onGetStructTreeError:t,onGetStructTreeSuccess:r}=e,[n,f]=P(),{value:u,error:s}=n,{customTextRenderer:l,page:p}=e;return((0,i.useEffect)(function(){f({type:"RESET"})},[f,p]),(0,i.useEffect)(function(){if(l||!p)return;let e=a(p.getStructTree());return e.promise.then(e=>{f({type:"RESOLVE",value:e})}).catch(e=>{f({type:"REJECT",error:e})}),()=>B(e)},[l,p,f]),(0,i.useEffect)(()=>
1{if(void 0!==u){if(!1===u)return void(s&&(h(!1,s.toString()),t&&t(s)));u&&r&&r(u)}},[u]),u)?(0,o.jsx)(V,{className:"react-pdf__Page__structTree structTree",node:u}):null}let H=n.AnnotationMode;function W(e){let t=G();c(t,"Unable to find Page context.");let{_className:r,canvasBackground:n,devicePixelRatio:f=w&&window.devicePixelRatio||1,onRenderError:u,onRenderSuccess:s,page:a,renderForms:l,renderTextLayer:p,rotate:d,scale:g}=Object.assign(Object.assign({},t),e),{canvasRef:y}=e;c(a,"Attempted to render page canvas, but no page was specified.");let m=(0,i.useRef)(null);function E(e){"RenderingCancelledException"!==e.name&&(h(!1,e.toString()),u&&u(e))}let b=(0,i.useMemo)(()=>a.getViewport({scale:g*f,rotation:d}),[f,a,d,g]),v=(0,i.useMemo)(()=>a.getViewport({scale:g,rotation:d}),[a,d,g]);(0,i.useEffect)(function(){if(!a)return;a.cleanup();let{current:e}=m;if(!e)return;e.width=b.width,e.height=b.height,e.style.width="".concat(Math.floor(v.width),"px"),e.style.height="".concat(Math.floor(v.height),"px"),e.style.visibility="hidden";let t={annotationMode:l?H.ENABLE_FORMS:H.ENABLE,canvasContext:e.getContext("2d",{alpha:!1}),viewport:b};n&&(t.background=n);let r=a.render(t);return r.promise.then(()=>{e.style.visibility="",a&&s&&s(L(a,g))}).catch(E),()=>B(r)},[n,a,l,b,v]);let R=(0,i.useCallback)(()=>{let{current:e}=m;e&&(e.width=0,e.height=0)},[]);return(0,i.useEffect)(()=>R,[R]),(0,o.jsx)("canvas",{className:"".concat(r,"__canvas"),dir:"ltr",ref:_(y,m),style:{display:"block",userSelect:"none"},children:p?(0,o.jsx)(z,{}):null})}function J(){let e=G();c(e,"Unable to find Page context.");let{customTextRenderer:t,onGetTextError:r,onGetTextSuccess:f,onRenderTextLayerError:u,onRenderTextLayerSuccess:s,page:p,pageIndex:d,pageNumber:g,rotate:y,scale:m}=e;c(p,"Attempted to load page text content, but no page was specified.");let[E,b]=P(),{value:w,error:v}=E,R=(0,i.useRef)(null);h(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,i.useEffect)(function(){b({type:"RESET"})},[p,b]),(0,i.useEffect)(function(){if(!p)return;let e=a(p.getTextContent());return e.promise.then(e=>{b({type:"RESOLVE",value:e})}).catch(e=>{b({type:"REJECT",error:e})}),()=>B(e)},[p,b]),(0,i.useEffect)(()=>{if(void 0!==w){if(!1===w)return void(v&&(h(!1,v.toString()),r&&r(v)));w&&f&&f(w)}},[w]);let A=(0,i.useCallback)(()=>{s&&s()},[s]),x=(0,i.useCallback)(e=>{h(!1,e.toString()),u&&u(e)},[u]),S=(0,i.useMemo)(()=>p.getViewport({scale:m,rotation:y}),[p,y,m]);return(0,i.useLayoutEffect)(function(){if(!p||!w)return;let{current:e}=R;if(!e)return;e.innerHTML="";let r=p.streamTextContent({includeMarkedContent:!0}),o=new n.TextLayer({container:e,textContentSource:r,viewport:S});return o.render().then(()=>{let r=document.createElement("div");r.className="endOfContent",e.append(r);let n=e.querySelectorAll('[role="presentation"]');if(t){let e=0;w.items.forEach((r,o)=>{if(!("str"in r))return;let i=n[e];i&&(i.innerHTML=t(Object.assign({pageIndex:d,pageNumber:g,itemIndex:o},r)),e+=r.str&&r.hasEOL?2:1)})}A()}).catch(x),()=>B(o)},[t,x,A,p,d,g,w,S]),(0,o.jsx)("div",{className:(0,l.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 Y(){return(0,i.useContext)(y)}function q(){let e=Y(),t=G();c(t,"Unable to find Page context.");let{imageResourcesPath:r,linkService:f,onGetAnnotationsError:u,onGetAnnotationsSuccess:s,onRenderAnnotationLayerError:p,onRenderAnnotationLayerSuccess:d,page:g,pdf:y,renderForms:m,rotate:E,scale:b=1}=Object.assign(Object.assign({},e),t);c(y,"Attempted to load page annotations, but no document was specified. Wrap <Page /> in a <Document /> or pass explicit `pdf` prop."),c(g,"Attempted to load page annotations, but no page was specified."),c(f,"Attempted to load page annotations, but no linkService was specified.");let[w,v]=P(),{value:R,error:A}=w,x=(0,i.useRef)(null);h(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,i.useEffect)(function(){v({type:"RESET"})},[v,g]),(0,i.useEffect)(function(){if(!g)return;let e=a(g.getAnnotations());return e.promise.then(e=>{v({type:"RESOLVE",value:e})}).catch(e=>{v({type:"REJECT",error:e})}),()=>{B(e)}},[v,g]),(0,i.useEffect)(()=>
1{if(void 0!==R){if(!1===R)return void(A&&(h(!1,A.toString()),u&&u(A)));R&&s&&s(R)}},[R]);let S=(0,i.useMemo)(()=>g.getViewport({scale:b,rotation:E}),[g,E,b]);return(0,i.useEffect)(function(){if(!y||!g||!f||!R)return;let{current:e}=x;if(!e)return;let t=S.clone({dontFlip:!0}),o={annotations:R,annotationStorage:y.annotationStorage,div:e,imageResourcesPath:r,linkService:f,page:g,renderForms:m,viewport:t};e.innerHTML="";try{new n.AnnotationLayer({accessibilityManager:null,annotationCanvasMap:null,annotationEditorUIManager:null,div:e,l10n:null,page:g,structTreeLayer:null,viewport:t}).render(o),d&&d()}catch(e){h(!1,"".concat(e)),p&&p(e)}return()=>{}},[R,r,f,g,y,m,S]),(0,o.jsx)("div",{className:(0,l.A)("react-pdf__Page__annotations","annotationLayer"),ref:x})}var K=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)0>t.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r};function Z(e){let t=Object.assign(Object.assign({},Y()),e),{_className:r="react-pdf__Page",_enableRegisterUnregisterPage:n=!0,canvasBackground:f,canvasRef:u,children:p,className:d,customRenderer:g,customTextRenderer:y,devicePixelRatio:E,error:b="Failed to load the page.",height:w,inputRef:v,loading:A="Loading page…",noData:x="No page specified.",onGetAnnotationsError:S,onGetAnnotationsSuccess:T,onGetStructTreeError:O,onGetStructTreeSuccess:I,onGetTextError:U,onGetTextSuccess:C,onLoadError:j,onLoadSuccess:D,onRenderAnnotationLayerError:M,onRenderAnnotationLayerSuccess:N,onRenderError:F,onRenderSuccess:$,onRenderTextLayerError:V,onRenderTextLayerSuccess:G,pageIndex:z,pageNumber:H,pdf:Z,registerPage:Q,renderAnnotationLayer:X=!0,renderForms:ee=!1,renderMode:et="canvas",renderTextLayer:er=!0,rotate:en,scale:eo=1,unregisterPage:ei,width:ef}=t,eu=K(t,["_className","_enableRegisterUnregisterPage","canvasBackground","canvasRef","children","className","customRenderer","customTextRenderer","devicePixelRatio","error","height","inputRef","loading","noData","onGetAnnotationsError","onGetAnnotationsSuccess","onGetStructTreeError","onGetStructTreeSuccess","onGetTextError","onGetTextSuccess","onLoadError","onLoadSuccess","onRenderAnnotationLayerError","onRenderAnnotationLayerSuccess","onRenderError","onRenderSuccess","onRenderTextLayerError","onRenderTextLayerSuccess","pageIndex","pageNumber","pdf","registerPage","renderAnnotationLayer","renderForms","renderMode","renderTextLayer","rotate","scale","unregisterPage","width"]),[es,ea]=P(),{value:el,error:ec}=es,eh=(0,i.useRef)(null);c(Z,"Attempted to load a page, but no document was specified. Wrap <Page /> in a <Document /> or pass explicit `pdf` prop.");let ep=R(H)?H-1:null!=z?z:null,ed=null!=H?H:R(z)?z+1:null,eg=null!=en?en:el?el.rotate:null,ey=(0,i.useMemo)(()=>{if(!el)return null;let e=1,t=null!=eo?eo:1;if(ef||w){let t=el.getViewport({scale:1,rotation:eg});ef?e=ef/t.width:w&&(e=w/t.height)}return t*e},[w,el,eg,eo,ef]);(0,i.useEffect)(function(){return()=>{R(ep)&&n&&ei&&ei(ep)}},[n,Z,ep,ei]),(0,i.useEffect)(function(){ea({type:"RESET"})},[ea,Z,ep]),(0,i.useEffect)(function(){if(!Z||!ed)return;let e=a(Z.getPage(ed));return e.promise.then(e=>{ea({type:"RESOLVE",value:e})}).catch(e=>{ea({type:"REJECT",error:e})}),()=>B(e)},[ea,Z,ed]),(0,i.useEffect)(()=>{if(void 0!==el){if(!1===el)return void(ec&&(h(!1,ec.toString()),j&&j(ec)));!function(){if(D){if(!el||!ey)return;D(L(el,ey))}if(n&&Q){if(!R(ep)||!eh.current)return;Q(ep,eh.current)}}()}},[el,ey]);let em=(0,i.useMemo)(()=>el&&R(ep)&&ed&&R(eg)&&R(ey)?{_className:r,canvasBackground:f,customTextRenderer:y,devicePixelRatio:E,onGetAnnotationsError:S,onGetAnnotationsSuccess:T,onGetStructTreeError:O,onGetStructTreeSuccess:I,onGetTextError:U,onGetTextSuccess:C,onRenderAnnotationLayerError:M,onRenderAnnotationLayerSuccess:N,onRenderError:F,onRenderSuccess:$,onRenderTextLayerError:V,onRenderTextLayerSuccess:G,page:el,pageIndex:ep,pageNumber:ed,renderForms:ee,renderTextLayer:er,rotate:eg,scale:ey}:null,[r,f,y,E,S,T,O,I,U,C,M,N,F,$,V,G,el,ep,ed,ee,er,eg,ey]),eE=(0,i.useMemo)(()=>s(eu,()=>el?ey?L(el,ey):void 0:el),[eu,el,ey]),eb="".concat(ep,"@").concat(ey,"/").concat(eg);return(0,o.jsx)("div",Object.assign({className:(0,l.A)(r,d),"data-page-number":ed,ref:_(v,eh),style:{"--scale-factor":"".concat(ey),backgroundColor:f||"white",position:"relative",minWidth:"min-content",minHeight:"min-content"}},eE,{children:ed?null===Z||null==el?(0,o.jsx)(m,{type:"loading",children:"function"==typeof A?A():A}):!1===Z||!1===el?(0,o.jsx)(m,{type:"error",children:"function"==typeof b?b():b}):(0,o.jsxs)(k.Provider,{value:em,children:[function(){switch(et){case"custom"
1:return c(g,'renderMode was set to "custom", but no customRenderer was passed.'),(0,o.jsx)(g,{},"".concat(eb,"_custom"));case"none":return null;default:return(0,o.jsx)(W,{canvasRef:u},"".concat(eb,"_canvas"))}}(),er?(0,o.jsx)(J,{},"".concat(eb,"_text")):null,X?(0,o.jsx)(q,{},"".concat(eb,"_annotations")):null,p]}):(0,o.jsx)(m,{type:"no-data",children:"function"==typeof x?x():x})}))}h(!v,`Loading PDF.js worker may not work on protocols other than HTTP/HTTPS. ${S}`),n.GlobalWorkerOptions.workerSrc="pdf.worker.mjs"},44134:(e,t,r)=>{"use strict";let n=r(57719),o=r(7610),i="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;function f(e){if(e>0x7fffffff)throw RangeError('The value "'+e+'" is invalid for option "size"');let t=new Uint8Array(e);return Object.setPrototypeOf(t,u.prototype),t}function u(e,t,r){if("number"==typeof e){if("string"==typeof t)throw TypeError('The "string" argument must be of type string. Received type number');return l(e)}return s(e,t,r)}function s(e,t,r){if("string"==typeof e){var n=e,o=t;if(("string"!=typeof o||""===o)&&(o="utf8"),!u.isEncoding(o))throw TypeError("Unknown encoding: "+o);let r=0|d(n,o),i=f(r),s=i.write(n,o);return s!==r&&(i=i.slice(0,s)),i}if(ArrayBuffer.isView(e)){var i=e;if(k(i,Uint8Array)){let e=new Uint8Array(i);return h(e.buffer,e.byteOffset,e.byteLength)}return c(i)}if(null==e)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(k(e,ArrayBuffer)||e&&k(e.buffer,ArrayBuffer)||"undefined"!=typeof SharedArrayBuffer&&(k(e,SharedArrayBuffer)||e&&k(e.buffer,SharedArrayBuffer)))return h(e,t,r);if("number"==typeof e)throw TypeError('The "value" argument must not be of type number. Received type number');let s=e.valueOf&&e.valueOf();if(null!=s&&s!==e)return u.from(s,t,r);let a=function(e){if(u.isBuffer(e)){let t=0|p(e.length),r=f(t);return 0===r.length||e.copy(r,0,0,t),r}return void 0!==e.length?"number"!=typeof e.length||function(e){return e!=e}(e.length)?f(0):c(e):"Buffer"===e.type&&Array.isArray(e.data)?c(e.data):void 0}(e);if(a)return a;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return u.from(e[Symbol.toPrimitive]("string"),t,r);throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function a(e){if("number"!=typeof e)throw TypeError('"size" argument must be of type number');if(e<0)throw RangeError('The value "'+e+'" is invalid for option "size"')}function l(e){return a(e),f(e<0?0:0|p(e))}function c(e){let t=e.length<0?0:0|p(e.length),r=f(t);for(let n=0;n<t;n+=1)r[n]=255&e[n];return r}function h(e,t,r){let n;if(t<0||e.byteLength<t)throw RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(r||0))throw RangeError('"length" is outside of buffer bounds');return Object.setPrototypeOf(n=void 0===t&&void 0===r?new Uint8Array(e):void 0===r?new Uint8Array(e,t):new Uint8Array(e,t,r),u.prototype),n}function p(e){if(e>=0x7fffffff)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x7fffffff bytes");return 0|e}function d(e,t){if(u.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||k(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);let r=e.length,n=arguments.length>2&&!0===arguments[2];if(!n&&0===r)return 0;let o=!1;for(;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return j(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return D(e).length;default:if(o)return n?-1:j(e).length;t=(""+t).toLowerCase(),o=!0}}function g(e,t,r){let o=!1;if((void 0===t||t<0)&&(t=0),t>this.length||((void 0===r||r>this.length)&&(r=this.length),r<=0||(r>>>=0)<=(t>>>=0)))return"";for(e||(e="utf8");;)switch(e){case"hex":return function(e,t,r){let n=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>n)&&(r=n);let o="";for(let n=t;n<r;++n)o+=M[e[n]];return o}(this,t,r);case"utf8":case"utf-8":return b(this,t,r);case"ascii":return function(e,t,r){let n="";r=Math.min(e.length,r);for(let o=t;o<r;++o)n+=String.fromCharCode(127&e[o]);return n}(this,t,r);case"latin1":case"binary":return function(e,t,r){let n="";r=Math.min(e.length,r);for(let o=t;o<r;++o)n+=String.fromCharCode(e[o]);return n}(this,t,r);case"base64":var i,f,u;return i=this,f=t,u=r,0===f&&u===i.length?n.fromByteArray(i):n.fromByteArray(i.slice(f,u));case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return function(e,t,r){let n=e.slice(t,r),o="";for(let e=0;e<n.length-1;
vendor: 17,040 bytes, line 1
1e+=2)o+=String.fromCharCode(n[e]+256*n[e+1]);return o}(this,t,r);default:if(o)throw TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),o=!0}}function y(e,t,r){let n=e[t];e[t]=e[r],e[r]=n}function m(e,t,r,n,o){var i;if(0===e.length)return -1;if("string"==typeof r?(n=r,r=0):r>0x7fffffff?r=0x7fffffff:r<-0x80000000&&(r=-0x80000000),(i=r*=1)!=i&&(r=o?0:e.length-1),r<0&&(r=e.length+r),r>=e.length)if(o)return -1;else r=e.length-1;else if(r<0)if(!o)return -1;else r=0;if("string"==typeof t&&(t=u.from(t,n)),u.isBuffer(t))return 0===t.length?-1:E(e,t,r,n,o);if("number"==typeof t){if(t&=255,"function"==typeof Uint8Array.prototype.indexOf)if(o)return Uint8Array.prototype.indexOf.call(e,t,r);else return Uint8Array.prototype.lastIndexOf.call(e,t,r);return E(e,[t],r,n,o)}throw TypeError("val must be string, number or Buffer")}function E(e,t,r,n,o){let i,f=1,u=e.length,s=t.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return -1;f=2,u/=2,s/=2,r/=2}function a(e,t){return 1===f?e[t]:e.readUInt16BE(t*f)}if(o){let n=-1;for(i=r;i<u;i++)if(a(e,i)===a(t,-1===n?0:i-n)){if(-1===n&&(n=i),i-n+1===s)return n*f}else -1!==n&&(i-=i-n),n=-1}else for(r+s>u&&(r=u-s),i=r;i>=0;i--){let r=!0;for(let n=0;n<s;n++)if(a(e,i+n)!==a(t,n)){r=!1;break}if(r)return i}return -1}function b(e,t,r){r=Math.min(e.length,r);let n=[],o=t;for(;o<r;){let t=e[o],i=null,f=t>239?4:t>223?3:t>191?2:1;if(o+f<=r){let r,n,u,s;switch(f){case 1:t<128&&(i=t);break;case 2:(192&(r=e[o+1]))==128&&(s=(31&t)<<6|63&r)>127&&(i=s);break;case 3:r=e[o+1],n=e[o+2],(192&r)==128&&(192&n)==128&&(s=(15&t)<<12|(63&r)<<6|63&n)>2047&&(s<55296||s>57343)&&(i=s);break;case 4:r=e[o+1],n=e[o+2],u=e[o+3],(192&r)==128&&(192&n)==128&&(192&u)==128&&(s=(15&t)<<18|(63&r)<<12|(63&n)<<6|63&u)>65535&&s<1114112&&(i=s)}}null===i?(i=65533,f=1):i>65535&&(i-=65536,n.push(i>>>10&1023|55296),i=56320|1023&i),n.push(i),o+=f}var i=n;let f=i.length;if(f<=4096)return String.fromCharCode.apply(String,i);let u="",s=0;for(;s<f;)u+=String.fromCharCode.apply(String,i.slice(s,s+=4096));return u}function w(e,t,r){if(e%1!=0||e<0)throw RangeError("offset is not uint");if(e+t>r)throw RangeError("Trying to access beyond buffer length")}function v(e,t,r,n,o,i){if(!u.isBuffer(e))throw TypeError('"buffer" argument must be a Buffer instance');if(t>o||t<i)throw RangeError('"value" argument is out of bounds');if(r+n>e.length)throw RangeError("Index out of range")}function R(e,t,r,n,o){P(t,n,o,e,r,7);let i=Number(t&BigInt(0xffffffff));e[r++]=i,i>>=8,e[r++]=i,i>>=8,e[r++]=i,i>>=8,e[r++]=i;let f=Number(t>>BigInt(32)&BigInt(0xffffffff));return e[r++]=f,f>>=8,e[r++]=f,f>>=8,e[r++]=f,f>>=8,e[r++]=f,r}function A(e,t,r,n,o){P(t,n,o,e,r,7);let i=Number(t&BigInt(0xffffffff));e[r+7]=i,i>>=8,e[r+6]=i,i>>=8,e[r+5]=i,i>>=8,e[r+4]=i;let f=Number(t>>BigInt(32)&BigInt(0xffffffff));return e[r+3]=f,f>>=8,e[r+2]=f,f>>=8,e[r+1]=f,f>>=8,e[r]=f,r+8}function x(e,t,r,n,o,i){if(r+n>e.length||r<0)throw RangeError("Index out of range")}function S(e,t,r,n,i){return t*=1,r>>>=0,i||x(e,t,r,4,34028234663852886e22,-34028234663852886e22),o.write(e,t,r,n,23,4),r+4}function T(e,t,r,n,i){return t*=1,r>>>=0,i||x(e,t,r,8,17976931348623157e292,-17976931348623157e292),o.write(e,t,r,n,52,8),r+8}t.hp=u,t.IS=50,u.TYPED_ARRAY_SUPPORT=function(){try{let e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),42===e.foo()}catch(e){return!1}}(),u.TYPED_ARRAY_SUPPORT||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(u.prototype,"parent",{enumerable:!0,get:function(){if(u.isBuffer(this))return this.buffer}}),Object.defineProperty(u.prototype,"offset",{enumerable:!0,get:function(){if(u.isBuffer(this))return this.byteOffset}}),u.poolSize=8192,u.from=function(e,t,r){return s(e,t,r)},Object.setPrototypeOf(u.prototype,Uint8Array.prototype),Object.setPrototypeOf(u,Uint8Array),u.alloc=function(e,t,r){return(a(e),e<=0)?f(e):void 0!==t?"string"==typeof r?f(e).fill(t,r):f(e).fill(t):f(e)},u.allocUnsafe=function(e){return l(e)},u.allocUnsafeSlow=function(e){return l(e)},u.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==u.prototype},u.compare=function(e,t){if(k(e,Uint8Array)&&(e=u.from(e,e.offset,e.byteLength)),k(t,Uint8Array)&&(t=u.from(t,t.offset,t.byteLength)),!u.isBuffer(e)||!u.isBuffer(t))throw TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;let r=e.length,n=t.length;for(let o=0,i=Math.min(r,n);o<i;++o)if(e[o]!==t[o]){r=e[o],n=t[o];break}return r<n?-1:+(n<r)},u.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},u.concat=function(e,t){let r;if(!Array.isArray(e))throw TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return u.alloc(0);if(void 0===t)for(r=0,t=0;r<e.length;++r)t+=e[r].length;let n=u.allocUnsafe(t),o=0;for(r=0;r<e.length;++r){let t=e[r];if(k(t,Uint8Array))o+t.length>n.length?(u.isBuffer(t)||(t=u.from(t)),t.copy(n,o)):Uint8Array.prototype.set.call(n,t,o);else if(u.isBuffer(t))t.copy(n,o);else throw TypeError('"list" argument must be an Array of Buffers');o+=t.length}return n},u.byteLength=d,u.prototype._isBuffer=!0,u.prototype.swap16=function(){let e=this.length;if(e%2!=0)throw RangeError("Buffer size must be a multiple of 16-bits");for(let t=0;t<e;t+=2)y(this,t,t+1);return this},u.prototype.swap32=function(){let e=this.length;if(e%4!=0)throw RangeError("Buffer size must be a multiple of 32-bits");for(let t=0;t<e;t+=4)y(this,t,t+3),y(this,t+1,t+2);return this},u.prototype.swap64=function(){let e=this.length;if(e%8!=0)throw RangeError("Buffer size must be a multiple of 64-bits");for(let t=0;t<e;t+=8)y(this,t,t+7),y(this,t+1,t+6),y(this,t+2,t+5),y(this,t+3,t+4);return this},u.prototype.toString=function(){let e=this.length;return 0===e?"":0==arguments.length?b(this,0,e):g.apply(this,arguments)},u.prototype.toLocaleString=u.prototype.toString,u.prototype.equals=function(e){if(!u.isBuffer(e))throw TypeError("Argument must be a Buffer");return this===e||0===u.compare(this,e)},u.prototype.inspect=function(){let e="",r=t.IS;return e=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(e+=" ... "),"<Buffer "+e+">"},i&&(u.prototype[i]=u.prototype.inspect),u.prototype.compare=function(e,t,r,n,o){if(k(e,Uint8Array)&&(e=u.from(e,e.offset,e.byteLength)),!u.isBuffer(e))throw TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===n&&(n=0),void 0===o&&(o=this.length),t<0||r>e.length||n<0||o>this.length)throw RangeError("out of range index");if(n>=o&&t>=r)return 0;if(n>=o)return -1;if(t>=r)return 1;if(t>>>=0,r>>>=0,n>>>=0,o>>>=0,this===e)return 0;let i=o-n,f=r-t,s=Math.min(i,f),a=this.slice(n,o),l=e.slice(t,r);for(let e=0;e<s;++e)if(a[e]!==l[e]){i=a[e],f=l[e];break}return i<f?-1:+(f<i)},u.prototype.includes=function(e,t,r){return -1!==this.indexOf(e,t,r)},u.prototype.indexOf=function(e,t,r){return m(this,e,t,r,!0)},u.prototype.lastIndexOf=function(e,t,r){return m(this,e,t,r,!1)},u.prototype.write=function(e,t,r,n){var o,i,f,u,s,a,l,c;if(void 0===t)n="utf8",r=this.length,t=0;else if(void 0===r&&"string"==typeof t)n=t,r=this.length,t=0;else if(isFinite(t))t>>>=0,isFinite(r)?(r>>>=0,void 0===n&&(n="utf8")):(n=r,r=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");let h=this.length-t;if((void 0===r||r>h)&&(r=h),e.length>0&&(r<0||t<0)||t>this.length)throw RangeError("Attempt to write outside buffer bounds");n||(n="utf8");let p=!1;for(;;)switch(n){case"hex":return function(e,t,r,n){let o;r=Number(r)||0;let i=e.length-r;n?(n=Number(n))>i&&(n=i):n=i;let f=t.length;for(n>f/2&&(n=f/2),o=0;o<n;++o){var u;let n=parseInt(t.substr(2*o,2),16);if((u=n)!=u)break;e[r+o]=n}return o}(this,e,t,r);case"utf8":case"utf-8":return o=t,i=r,_(j(e,this.length-o),this,o,i);case"ascii":case"latin1":case"binary":return f=t,u=r,_(function(e){let t=[];for(let r=0;r<e.length;++r)t.push(255&e.charCodeAt(r));return t}(e),this,f,u);case"base64":return s=t,a=r,_(D(e),this,s,a);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return l=t,c=r,_(function(e,t){let r,n,o=[];for(let i=0;i<e.length&&!((t-=2)<0);++i)n=(r=e.charCodeAt(i))>>8,o.push(r%256),o.push(n);return o}(e,this.length-l),this,l,c);default:if(p)throw TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),p=!0}},u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},u.prototype.slice=function(e,t){let r=this.length;e=~~e,t=void 0===t?r:~~t,e<0?(e+=r)<0&&(e=0):e>r&&(e=r),t<0?(t+=r)<0&&(t=0):t>r&&(t=r),t<e&&(t=e);let n=this.subarray(e,t);return Object.setPrototypeOf(n,u.prototype),n},u.prototype.readUintLE=u.prototype.readUIntLE=function(e,t,r){e>>>=0,t>>>=0,r||w(e,t,this.length);let n=this[e],o=1,i=0;for(;++i<t&&(o*=256);)n+=this[e+i]*o;return n},u.prototype.readUintBE=u.prototype.readUIntBE=function(e,t,r){e>>>=0,t>>>=0,r||w(e,t,this.length);let n=this[e+--t],o=1;for(;t>0&&(o*=256);)n+=this[e+--t]*o;return n},u.prototype.readUint8=u.prototype.readUInt8=function(e,t){return e>>>=0,t||w(e,1,this.length),this[e]},u.prototype.readUint16LE=u.prototype.readUInt16LE=function(e,t){return e>>>=0,t||w(e,2,this.length),this[e]|this[e+1]<<8},u.prototype.readUint16BE=u.prototype.readUInt16BE=function(e,t){return e>>>=0,t||w(e,2,this.length),this[e]<<8|this[e+1]},u.prototype.readUint32LE=u.prototype.readUInt32LE=function(e,t){return e>>>=0,t||w(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+0x1000000*this[e+3]},u.prototype.readUint32BE=u.prototype.readUInt32BE=function(e,t){return e>>>=0,t||w(e,4,this.length),0x1000000*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},u.prototype.readBigUInt64LE=N(function(e){I(e>>>=0,"offset");let t=this[e],r=this[e+7];(void 0===t||void 0===r)&&U(e,this.length-8);let n=t+256*this[++e]+65536*this[++e]+0x1000000*this[++e],o=this[++e]+256*this[++e]+65536*this[++e]+0x1000000*r;return BigInt(n)+(BigInt(o)<<BigInt(32))}),u.prototype.readBigUInt64BE=N(function(e){I(e>>>=0,"offset");let t=this[e],r=this[e+7];(void 0===t||void 0===r)&&U(e,this.length-8);let n=0x1000000*t+65536*this[++e]+256*this[++e]+this[++e],o=0x1000000*this[++e]+65536*this[++e]+256*this[++e]+r;return(BigInt(n)<<BigInt(32))+BigInt(o)}),u.prototype.readIntLE=function(e,t,r){e>>>=0,t>>>=0,r||w(e,t,this.length);let n=this[e],o=1,i=0;for(;++i<t&&(o*=256);)n+=this[e+i]*o;return n>=(o*=128)&&(n-=Math.pow(2,8*t)),n},u.prototype.readIntBE=function(e,t,r){e>>>=0,t>>>=0,r||w(e,t,this.length);let n=t,o=1,i=this[e+--n];for(;n>0&&(o*=256);)i+=this[e+--n]*o;return i>=(o*=128)&&(i-=Math.pow(2,8*t)),i},u.prototype.readInt8=function(e,t){return(e>>>=0,t||w(e,1,this.length),128&this[e])?-((255-this[e]+1)*1):this[e]},u.prototype.readInt16LE=function(e,t){e>>>=0,t||w(e,2,this.length);let r=this[e]|this[e+1]<<8;return 32768&r?0xffff0000|r:r},u.prototype.readInt16BE=function(e,t){e>>>=0,t||w(e,2,this.length);let r=this[e+1]|this[e]<<8;return 32768&r?0xffff0000|r:r},u.prototype.readInt32LE=function(e,t){return e>>>=0,t||w(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},u.prototype.readInt32BE=function(e,t){return e>>>=0,t||w(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},u.prototype.readBigInt64LE=N(function(e){I(e>>>=0,"offset");let t=this[e],r=this[e+7];return(void 0===t||void 0===r)&&U(e,this.length-8),(BigInt(this[e+4]+256*this[e+5]+65536*this[e+6]+(r<<24))<<BigInt(32))+BigInt(t+256*this[++e]+65536*this[++e]+0x1000000*this[++e])}),u.prototype.readBigInt64BE=N(function(e){I(e>>>=0,"offset");let t=this[e],r=this[e+7];return(void 0===t||void 0===r)&&U(e,this.length-8),(BigInt((t<<24)+65536*this[++e]+256*this[++e]+this[++e])<<BigInt(32))+BigInt(0x1000000*this[++e]+65536*this[++e]+256*this[++e]+r)}),u.prototype.readFloatLE=function(e,t){return e>>>=0,t||w(e,4,this.length),o.read(this,e,!0,23,4)},u.prototype.readFloatBE=function(e,t){return e>>>=0,t||w(e,4,this.length),o.read(this,e,!1,23,4)},u.prototype.readDoubleLE=function(e,t){return e>>>=0,t||w(e,8,this.length),o.read(this,e,!0,52,8)},u.prototype.readDoubleBE=function(e,t){return e>>>=0,t||w(e,8,this.length),o.read(this,e,!1,52,8)},u.prototype.writeUintLE=u.prototype.writeUIntLE=function(e,t,r,n){if(e*=1,t>>>=0,r>>>=0,!n){let n=Math.pow(2,8*r)-1;v(this,e,t,r,n,0)}let o=1,i=0;for(this[t]=255&e;++i<r&&(o*=256);)this[t+i]=e/o&255;return t+r},u.prototype.writeUintBE=u.prototype.writeUIntBE=function(e,t,r,n){if(e*=1,t>>>=0,r>>>=0,!n){let n=Math.pow(2,8*r)-1;v(this,e,t,r,n,0)}let o=r-1,i=1;for(this[t+o]=255&e;--o>=0&&(i*=256);)this[t+o]=e/i&255;return t+r},u.prototype.writeUint8=u.prototype.writeUInt8=function(e,t,r){return e*=1,t>>>=0,r||v(this,e,t,1,255,0),this[t]=255&e,t+1},u.prototype.writeUint16LE=u.prototype.writeUInt16LE=function(e,t,r){return e*=1,t>>>=0,r||v(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},u.prototype.writeUint16BE=u.prototype.writeUInt16BE=function(e,t,r){return e*=1,t>>>=0,r||v(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},u.prototype.writeUint32LE=u.prototype.writeUInt32LE=function(e,t,r){return e*=1,t>>>=0,r||v(this,e,t,4,0xffffffff,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},u.prototype.writeUint32BE=u.prototype.writeUInt32BE=function(e,t,r){return e*=1,t>>>=0,r||v(this,e,t,4,0xffffffff,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},u.prototype.writeBigUInt64LE=N(function(e,t=0){return R(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))}),u.prototype.writeBigUInt64BE=N(function(e,t=0){return A(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))}),u.prototype.writeIntLE=function(e,t,r,n){if(e*=1,t>>>=0,!n){let n=Math.pow(2,8*r-1);v(this,e,t,r,n-1,-n)}let o=0,i=1,f=0;for(this[t]=255&e;++o<r&&(i*=256);)e<0&&0===f&&0!==this[t+o-1]&&(f=1),this[t+o]=(e/i|0)-f&255;return t+r},u.prototype.writeIntBE=function(e,t,r,n){if(e*=1,t>>>=0,!n){let n=Math.pow(2,8*r-1);v(this,e,t,r,n-1,-n)}let o=r-1,i=1,f=0;for(this[t+o]=255&e;--o>=0&&(i*=256);)e<0&&0===f&&0!==this[t+o+1]&&(f=1),this[t+o]=(e/i|0)-f&255;return t+r},u.prototype.writeInt8=function(e,t,r){return e*=1,t>>>=0,r||v(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},u.prototype.writeInt16LE=function(e,t,r){return e*=1,t>>>=0,r||v(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},u.prototype.writeInt16BE=function(e,t,r){return e*=1,t>>>=0,r||v(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},u.prototype.writeInt32LE=function(e,t,r){return e*=1,t>>>=0,r||v(this,e,t,4,0x7fffffff,-0x80000000),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},u.prototype.writeInt32BE=function(e,t,r){return e*=1,t>>>=0,r||v(this,e,t,4,0x7fffffff,-0x80000000),e<0&&(e=0xffffffff+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},u.prototype.writeBigInt64LE=N(function(e,t=0){return R(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),u.prototype.writeBigInt64BE=N(function(e,t=0){return A(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),u.prototype.writeFloatLE=function(e,t,r){return S(this,e,t,!0,r)},u.prototype.writeFloatBE=function(e,t,r){return S(this,e,t,!1,r)},u.prototype.writeDoubleLE=function(e,t,r){return T(this,e,t,!0,r)},u.prototype.writeDoubleBE=function(e,t,r){return T(this,e,t,!1,r)},u.prototype.copy=function(e,t,r,n){if(!u.isBuffer(e))throw TypeError("argument should be a Buffer");if(r||(r=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n<r&&(n=r),n===r||0===e.length||0===this.length)return 0;if(t<0)throw RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw RangeError("Index out of range");if(n<0)throw RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t<n-r&&(n=e.length-t+r);let o=n-r;return this===e&&"function"==typeof Uint8Array.prototype.copyWithin?this.copyWithin(t,r,n):Uint8Array.prototype.set.call(e,this.subarray(r,n),t),o},u.prototype.fill=function(e,t,r,n){let o;if("string"==typeof e){if("string"==typeof t?(n=t,t=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),void 0!==n&&"string"!=typeof n)throw TypeError("encoding must be a string");if("string"==typeof n&&!u.isEncoding(n))throw TypeError("Unknown encoding: "+n);if(1===e.length){let t=e.charCodeAt(0);("utf8"===n&&t<128||"latin1"===n)&&(e=t)}}else"number"==typeof e?e&=255:"boolean"==typeof e&&(e=Number(e));if(t<0||this.length<t||this.length<r)throw RangeError("Out of range index");if(r<=t)return this;if(t>>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"==typeof e)for(o=t;o<r;++o)this[o]=e;else{let i=u.isBuffer(e)?e:u.from(e,n),f=i.length;
1if(0===f)throw TypeError('The value "'+e+'" is invalid for argument "value"');for(o=0;o<r-t;++o)this[o+t]=i[o%f]}return this};let B={};function L(e,t,r){B[e]=class extends r{constructor(){super(),Object.defineProperty(this,"message",{value:t.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${e}]`,this.stack,delete this.name}get code(){return e}set code(e){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:e,writable:!0})}toString(){return`${this.name} [${e}]: ${this.message}`}}}function O(e){let t="",r=e.length,n=+("-"===e[0]);for(;r>=n+4;r-=3)t=`_${e.slice(r-3,r)}${t}`;return`${e.slice(0,r)}${t}`}function P(e,t,r,n,o,i){if(e>r||e<t){let n,o="bigint"==typeof t?"n":"";throw n=i>3?0===t||t===BigInt(0)?`>= 0${o} and < 2${o} ** ${(i+1)*8}${o}`:`>= -(2${o} ** ${(i+1)*8-1}${o}) and < 2 ** ${(i+1)*8-1}${o}`:`>= ${t}${o} and <= ${r}${o}`,new B.ERR_OUT_OF_RANGE("value",n,e)}I(o,"offset"),(void 0===n[o]||void 0===n[o+i])&&U(o,n.length-(i+1))}function I(e,t){if("number"!=typeof e)throw new B.ERR_INVALID_ARG_TYPE(t,"number",e)}function U(e,t,r){if(Math.floor(e)!==e)throw I(e,r),new B.ERR_OUT_OF_RANGE(r||"offset","an integer",e);if(t<0)throw new B.ERR_BUFFER_OUT_OF_BOUNDS;throw new B.ERR_OUT_OF_RANGE(r||"offset",`>= ${+!!r} and <= ${t}`,e)}L("ERR_BUFFER_OUT_OF_BOUNDS",function(e){return e?`${e} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),L("ERR_INVALID_ARG_TYPE",function(e,t){return`The "${e}" argument must be of type number. Received type ${typeof t}`},TypeError),L("ERR_OUT_OF_RANGE",function(e,t,r){let n=`The value of "${e}" is out of range.`,o=r;return Number.isInteger(r)&&Math.abs(r)>0x100000000?o=O(String(r)):"bigint"==typeof r&&(o=String(r),(r>BigInt(2)**BigInt(32)||r<-(BigInt(2)**BigInt(32)))&&(o=O(o)),o+="n"),n+=` It must be ${t}. Received ${o}`},RangeError);let C=/[^+/0-9A-Za-z-_]/g;function j(e,t){let r;t=t||1/0;let n=e.length,o=null,i=[];for(let f=0;f<n;++f){if((r=e.charCodeAt(f))>55295&&r<57344){if(!o){if(r>56319||f+1===n){(t-=3)>-1&&i.push(239,191,189);continue}o=r;continue}if(r<56320){(t-=3)>-1&&i.push(239,191,189),o=r;continue}r=(o-55296<<10|r-56320)+65536}else o&&(t-=3)>-1&&i.push(239,191,189);if(o=null,r<128){if((t-=1)<0)break;i.push(r)}else if(r<2048){if((t-=2)<0)break;i.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;i.push(r>>12|224,r>>6&63|128,63&r|128)}else if(r<1114112){if((t-=4)<0)break;i.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}else throw Error("Invalid code point")}return i}function D(e){return n.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(C,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function _(e,t,r,n){let o;for(o=0;o<n&&!(o+r>=t.length)&&!(o>=e.length);++o)t[o+r]=e[o];return o}function k(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}let M=function(){let e="0123456789abcdef",t=Array(256);for(let r=0;r<16;++r){let n=16*r;for(let o=0;o<16;++o)t[n+o]=e[r]+e[o]}return t}();function N(e){return"undefined"==typeof BigInt?F:e}function F(){throw Error("BigInt not supported")}},57719:(e,t)=>{"use strict";t.byteLength=function(e){var t=s(e),r=t[0],n=t[1];return(r+n)*3/4-n},t.toByteArray=function(e){var t,r,i=s(e),f=i[0],u=i[1],a=new o((f+u)*3/4-u),l=0,c=u>0?f-4:f;for(r=0;r<c;r+=4)t=n[e.charCodeAt(r)]<<18|n[e.charCodeAt(r+1)]<<12|n[e.charCodeAt(r+2)]<<6|n[e.charCodeAt(r+3)],a[l++]=t>>16&255,a[l++]=t>>8&255,a[l++]=255&t;return 2===u&&(t=n[e.charCodeAt(r)]<<2|n[e.charCodeAt(r+1)]>>4,a[l++]=255&t),1===u&&(t=n[e.charCodeAt(r)]<<10|n[e.charCodeAt(r+1)]<<4|n[e.charCodeAt(r+2)]>>2,a[l++]=t>>8&255,a[l++]=255&t),a},t.fromByteArray=function(e){for(var t,n=e.length,o=n%3,i=[],f=0,u=n-o;f<u;f+=16383)i.push(function(e,t,n){for(var o,i=[],f=t;f<n;f+=3)o=(e[f]<<16&0xff0000)+(e[f+1]<<8&65280)+(255&e[f+2]),i.push(r[o>>18&63]+r[o>>12&63]+r[o>>6&63]+r[63&o]);return i.join("")}(e,f,f+16383>u?u:f+16383));return 1===o?i.push(r[(t=e[n-1])>>2]+r[t<<4&63]+"=="):2===o&&i.push(r[(t=(e[n-2]<<8)+e[n-1])>>10]+r[t>>4&63]+r[t<<2&63]+"="),i.join("")};for(var r=[],n=[],o="undefined"!=typeof Uint8Array?Uint8Array:Array,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
1+/",f=0,u=i.length;f<u;++f)r[f]=i[f],n[i.charCodeAt(f)]=f;function s(e){var t=e.length;if(t%4>0)throw Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");-1===r&&(r=t);var n=r===t?0:4-r%4;return[r,n]}n[45]=62,n[95]=63},94274:e=>{"use strict";e.exports=function(){}}}]);

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.