PageSourceSearch

https://www.app.retain.cards/_next/static/chunks/2745.27032bd938e87540.js

js retain.cards collected 2026-10-02 15:46:20 UTC 32,732 bytes, 1 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="3ae13709-7bd6-4484-8942-9b8dfc219b87",e._sentryDebugIdIdentifier="sentry-dbid-3ae13709-7bd6-4484-8942-9b8dfc219b87")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2745],{41137:function(e,t,n){n.d(t,{T:function(){return a}});let r=new Uint32Array(65536),o=(e,t)=>{let n=e.length,o=t.length,i=1<<n-1,a=-1,u=0,c=n,l=n;for(;l--;)r[e.charCodeAt(l)]|=1<<l;for(l=0;l<o;l++){let e=r[t.charCodeAt(l)],n=e|u;e|=(e&a)+a^a,u|=~(e|a),a&=e,u&i&&c++,a&i&&c--,a=a<<1|~(n|(u=u<<1|1)),u&=n}for(l=n;l--;)r[e.charCodeAt(l)]=0;return c},i=(e,t)=>{let n=t.length,o=e.length,i=[],a=[],u=Math.ceil(n/32),c=Math.ceil(o/32);for(let e=0;e<u;e++)a[e]=-1,i[e]=0;let l=0;for(;l<c-1;l++){let u=0,c=-1,s=32*l,f=Math.min(32,o)+s;for(let t=s;t<f;t++)r[e.charCodeAt(t)]|=1<<t;for(let e=0;e<n;e++){let n=r[t.charCodeAt(e)],o=a[e/32|0]>>>e&1,l=i[e/32|0]>>>e&1,s=n|u,f=((n|l)&c)+c^c|n|l,d=u|~(f|c),p=c&f;d>>>31^o&&(a[e/32|0]^=1<<e),p>>>31^l&&(i[e/32|0]^=1<<e),d=d<<1|o,c=(p=p<<1|l)|~(s|d),u=d&s}for(let t=s;t<f;t++)r[e.charCodeAt(t)]=0}let s=0,f=-1,d=32*l,p=Math.min(32,o-d)+d;for(let t=d;t<p;t++)r[e.charCodeAt(t)]|=1<<t;let g=o;for(let e=0;e<n;e++){let n=r[t.charCodeAt(e)],u=a[e/32|0]>>>e&1,c=i[e/32|0]>>>e&1,l=n|s,d=((n|c)&f)+f^f|n|c,p=s|~(d|f),h=f&d;g+=p>>>o-1&1,g-=h>>>o-1&1,p>>>31^u&&(a[e/32|0]^=1<<e),h>>>31^c&&(i[e/32|0]^=1<<e),p=p<<1|u,f=(h=h<<1|c)|~(l|p),s=p&l}for(let t=d;t<p;t++)r[e.charCodeAt(t)]=0;return g},a=(e,t)=>{if(e.length<t.length){let n=t;t=e,e=n}return 0===t.length?e.length:e.length<=32?o(e,t):i(e,t)}},8613:function(e,t,n){n.d(t,{y1:function(){return b}});var r=n(2265);function o(){return(o=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}n(57437);var i=["shift","alt","meta","mod","ctrl"],a={esc:"escape",return:"enter",".":"period",",":"comma","-":"slash"," ":"space","`":"backquote","#":"backslash","+":"bracketright",ShiftLeft:"shift",ShiftRight:"shift",AltLeft:"alt",AltRight:"alt",MetaLeft:"meta",MetaRight:"meta",OSLeft:"meta",OSRight:"meta",ControlLeft:"ctrl",ControlRight:"ctrl"};function u(e){return(e&&a[e]||e||"").trim().toLowerCase().replace(/key|digit|numpad|arrow/,"")}function c(e,t){return void 0===t&&(t=","),e.split(t)}function l(e,t,n){void 0===t&&(t="+");var r=e.toLocaleLowerCase().split(t).map(function(e){return u(e)}),a={alt:r.includes("alt"),ctrl:r.includes("ctrl")||r.includes("control"),shift:r.includes("shift"),meta:r.includes("meta"),mod:r.includes("mod")},c=r.filter(function(e){return!i.includes(e)});return o({},a,{keys:c,description:n,hotkey:e})}"undefined"!=typeof document&&(document.addEventListener("keydown",function(e){void 0!==e.ke
1y&&d([u(e.key),u(e.code)])}),document.addEventListener("keyup",function(e){void 0!==e.key&&p([u(e.key),u(e.code)])})),"undefined"!=typeof window&&window.addEventListener("blur",function(){s.clear()});var s=new Set;function f(e){return Array.isArray(e)}function d(e){var t=Array.isArray(e)?e:[e];s.has("meta")&&s.forEach(function(e){return!i.includes(e)&&s.delete(e.toLowerCase())}),t.forEach(function(e){return s.add(e.toLowerCase())})}function p(e){var t=Array.isArray(e)?e:[e];"meta"===e?s.clear():t.forEach(function(e){return s.delete(e.toLowerCase())})}function g(e,t){void 0===t&&(t=!1);var n=e.target,r=e.composed,o=null;return(o=n.tagName&&!n.tagName.startsWith("-")&&n.tagName.includes("-")&&r?e.composedPath()[0]&&e.composedPath()[0].tagName:n&&n.tagName,f(t))?!!(o&&t&&t.some(function(e){var t;return e.toLowerCase()===(null==(t=o)?void 0:t.toLowerCase())})):!!(o&&t&&t)}var h=function(e,t,n){void 0===n&&(n=!1);var r,o=t.alt,i=t.meta,a=t.mod,c=t.shift,l=t.ctrl,d=t.keys,p=e.key,g=e.code,h=e.ctrlKey,y=e.metaKey,v=e.shiftKey,m=e.altKey,E=u(g),b=p.toLowerCase();if(!(null!=d&&d.includes(E))&&!(null!=d&&d.includes(b))&&!["ctrl","control","unknown","meta","alt","shift","os"].includes(E))return!1;if(!n){if(!m===o&&"alt"!==b||!v===c&&"shift"!==b)return!1;if(a){if(!y&&!h)return!1}else if(!y===i&&"meta"!==b&&"os"!==b||!h===l&&"ctrl"!==b&&"control"!==b)return!1}return!!(d&&1===d.length&&(d.includes(b)||d.includes(E)))||(d?(void 0===r&&(r=","),(f(d)?d:d.split(r)).every(function(e){return s.has(e.trim().toLowerCase())})):!d)},y=(0,r.createContext)(void 0),v=(0,r.createContext)({hotkeys:[],enabledScopes:[],toggleScope:function(){},enableScope:function(){},disableScope:function(){}}),m=function(e){e.stopPropagation(),e.preventDefault(),e.stopImmediatePropagation()},E="undefined"!=typeof window?r.useLayoutEffect:r.useEffect;function b(e,t,n,o){var i,a=(0,r.useState)(null),s=a[0],b=a[1],w=(0,r.useRef)(!1),L=n instanceof Array?o instanceof Array?void 0:o:n,S=f(e)?e.join(null==L?void 0:L.splitKey):e,R=n instanceof Array?n:o instanceof Array?o:void 0,P=(0,r.useCallback)(t,null!=R?R:[]),x=(0,r.useRef)(P);R?x.current=P:x.current=t;var T=(!function e(t,n){return t&&n&&"object"==typeof t&&"object"==typeof n?Object.keys(t).length===Object.keys(n).length&&Object.keys(t).reduce(function(r,o){return r&&e(t[o],n[o])},!0):t===n}((i=(0,r.useRef)(void 0)).current,L)&&(i.current=L),i.current),C=(0,r.useContext)(v).enabledScopes,A=(0,r.useContext)(y);return E(function(){if((null==T?void 0:T.enabled)!==!1&&(e=null==T?void 0:T.scopes,0===C.length&&e?(console.warn('A hotkey has the "scopes" option set, however no active scopes were found. If you want to use the global scopes feature, you need to wrap your app in a <HotkeysProvider>'),!0):!!(!e||C.some(function(t){return e.includes(t)})||C.includes("*")))){var e,t=function(e,t){var n;if(void 0===t&&(t=!1),!g(e,["input","textarea","select"])||g(e,null==T?void 0:T.enableOnFormTags)){if(null!==s){var r=s.getRootNode();if((r instanceof Document||r instanceof ShadowRoot)&&r.activeElement!==s&&!s.contains(r.activeElement)){m(e);return}}(null==(n=e.target)||!n.isContentEditable||null!=T&&T.enableOnContentEditable)&&c(S,null==T?void 0:T.splitKey).forEach(function(n){var r,o,i,a=l(n,null==T?void 0:T.combinationKey);if(h(e,a,null==T?void 0:T.ignoreModifiers)||null!=(i=a.keys)&&i.includes("*")){if(null!=T&&null!=T.ignoreEventWhen&&T.ignoreEventWhen(e)||t&&w.current)return;if(("function"==typeof(r=null==T?void 0:T.preventDefault)&&r(e,a)||!0===r)&&e.preventDefault(),"function"==typeof(o=null==T?void 0:T.enabled)?!o(e,a):!0!==o&&void 0!==o){m(e);return}x.current(e,a),t||(w.current=!0)}})}}
1,n=function(e){void 0!==e.key&&(d(u(e.code)),((null==T?void 0:T.keydown)===void 0&&(null==T?void 0:T.keyup)!==!0||null!=T&&T.keydown)&&t(e))},r=function(e){void 0!==e.key&&(p(u(e.code)),w.current=!1,null!=T&&T.keyup&&t(e,!0))},o=s||(null==L?void 0:L.document)||document;return o.addEventListener("keyup",r,null==L?void 0:L.eventListenerOptions),o.addEventListener("keydown",n,null==L?void 0:L.eventListenerOptions),A&&c(S,null==T?void 0:T.splitKey).forEach(function(e){return A.addHotkey(l(e,null==T?void 0:T.combinationKey,null==T?void 0:T.description))}),function(){o.removeEventListener("keyup",r,null==L?void 0:L.eventListenerOptions),o.removeEventListener("keydown",n,null==L?void 0:L.eventListenerOptions),A&&c(S,null==T?void 0:T.splitKey).forEach(function(e){return A.removeHotkey(l(e,null==T?void 0:T.combinationKey,null==T?void 0:T.description))})}}},[s,S,T,C]),b}},4476:function(e){e.exports=function(){}},80502:function(e,t,n){n.d(t,{Z:function(){return r}});function r(e){var t=!1;return{promise:new Promise(function(n,r){e.then(function(e){return!t&&n(e)}).catch(function(e){return!t&&r(e)})}),cancel:function(){t=!0}}}},53631:function(e,t,n){n.d(t,{ZP:function(){return i}});var r=function(e,t,n){if(n||2==arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))},o=r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r([],["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 i(e,t){var n={};return o.forEach(function(r){var o=e[r];o&&(t?n[r]=function(e){return o(e,t(r))}:n[r]=o)}),n}},78758:function(e,t,n){n.d(t,{Z:function(){return R}});var r=n(57437),o=n(2265),i=n(53631),a=n(80502),u=n(98099),c=n(96576),l=n(4476),s=Object.prototype.hasOwnProperty;function f(e,t,n){for(n of e.keys())if(d(n,t))return n}function d(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--&&d(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=f(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=f(t,o))||!d(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(s.call(e,n)&&++r&&!s.call(t,n)||!(n in t)||!d(e[n],t[n]))return!1;return Object.keys(t).length===r}}return e!=e&&t!=t}var p=n(13640),g=n(51715),h=n(54336);class y{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(0,c.Z)(this.pdfViewer,"PDF viewer is not initialized."),this.pdfViewer.currentPageNumber||0}set page(e){(0,c.Z)(this.pdfViewer,"PDF viewer is not initialized."),this.pdfViewer.currentPageNumber=e}get rotation(){return 0}set rotation(e){}goToDestination(e){return new Promise(t=>{(0,c.Z)(this.pdfDocument,"PDF document not loaded."),(0,c.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,c.Z)(Array.isArray(e),`"${e}" is not a valid destination array.`);let t=e[0];new Promise(e=>{(0,c.Z)(this.pdfDocument,"PDF document not loaded."),t instanceof Object?this.pdfDocument.getPageIndex(t).then(t=>{e(t)}).catch(()=>{(0,c.Z)(!1,`"${t}" is not a valid page reference.`)}):"number"==typeof t?e(t):(0,c.Z)(!1,`"${t}" is not a valid destination reference.`)}).then(t=>{let n=t+1;(0,c.Z)(this.pdfViewer,"PDF viewer is not initialized."),(0,c.Z)(n>=1&&n<=this.pagesCount,`"${n}" is not a valid page number.`),this.pdfViewer.scrollPageIntoView({dest:e,pageIndex:t,pageNumber:n})})})}navigateTo(e){this.goToDestination(e)}goToPage(e){(0,c.Z)(this.pdfViewer,"PDF viewer is not initialized."),(0,c.Z)(e>=1&&e<=this.pagesCount,`"${e}" is not a valid page number.`),this.pdfViewer.scrollPageIntoView({pageIndex:e-1,pageNumber:e})}
1addLinkAttributes(e,t,n){e.href=t,e.rel=this.externalLinkRel||"noopener noreferrer nofollow",e.target=n?"_blank":this.externalLinkTarget||""}getDestinationHash(){return"#"}getAnchorUrl(){return"#"}setHash(){}executeNamedAction(){}cachePageRef(){}isPageVisible(){return!0}isPageCached(){return!0}executeSetOCGState(){}}var v={NEED_PASSWORD:1,INCORRECT_PASSWORD:2},m=n(69079),E=n(43681),b=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let{PDFDataRangeTransport:w}=p,L=(e,t)=>{switch(t){case v.NEED_PASSWORD:e(prompt("Enter the password to open this PDF file."));break;case v.INCORRECT_PASSWORD:e(prompt("Invalid password. Please try again."))}};function S(e){return"object"==typeof e&&null!==e&&("data"in e||"range"in e||"url"in e)}var R=(0,o.forwardRef)(function(e,t){var{children:n,className:s,error:f="Failed to load PDF file.",externalLinkRel:v,externalLinkTarget:R,file:P,inputRef:x,imageResourcesPath:T,loading:C="Loading PDF…",noData:A="No PDF file specified.",onItemClick:O,onLoadError:k,onLoadProgress:j,onLoadSuccess:D,onPassword:Z=L,onSourceError:M,onSourceSuccess:_,options:N,renderMode:I,rotate:V}=e,F=b(e,["children","className","error","externalLinkRel","externalLinkTarget","file","inputRef","imageResourcesPath","loading","noData","onItemClick","onLoadError","onLoadProgress","onLoadSuccess","onPassword","onSourceError","onSourceSuccess","options","renderMode","rotate"]);let[G,U]=(0,E.Z)(),{value:H,error:J}=G,[B,W]=(0,E.Z)(),{value:K,error:z}=B,$=(0,o.useRef)(new y),q=(0,o.useRef)([]),X=(0,o.useRef)(void 0),Y=(0,o.useRef)(void 0);P&&P!==X.current&&S(P)&&(l(!d(P,X.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.'),X.current=P),N&&N!==Y.current&&(l(!d(N,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=N);let Q=(0,o.useRef)({scrollPageIntoView:e=>{let{dest:t,pageNumber:n,pageIndex:r=n-1}=e;if(O){O({dest:t,pageIndex:r,pageNumber:n});return}let o=q.current[r];if(o){o.scrollIntoView();return}l(!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> and handle navigating by yourself or ensure that all pages are rendered within <Document>."))}});(0,o.useImperativeHandle)(t,()=>({linkService:$,pages:q,viewer:Q}),[]),(0,o.useEffect)(function(){U({type:"RESET"})},[P,U]);let ee=(0,o.useCallback)(()=>{var e,t,n,r;return e=this,t=void 0,n=void 0,r=function*(){if(!P)return null;if("string"==typeof P)return(0,m.gJ)(P)?{data:(0,m.us)(P)}:((0,m.tN)(),{url:P});if(P instanceof w)return{range:P};if((0,m.eP)(P))return{data:P};if(m.jU&&(0,m.Lj)(P))return{data:yield(0,m.eR)(P)};if((0,c.Z)("object"==typeof P,"Invalid parameter in file, need either Uint8Array, string or a parameter object"),(0,c.Z)(S(P),"Invalid parameter object: need either .data, .range or .url"),"url"in P&&"string"==typeof P.url){if((0,m.gJ)(P.url)){let{url:e}=P,t=b(P,["url"]);return Object.assign({data:(0,m.us)(e)},t)}(0,m.tN)()}return P},new(n||(n=Promise))(function(o,i){function a(e){try{c(r.next(e))}catch(e){i(e)}}function u(e){try{c(r.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(a,u)}c((r=r.apply(e,t||[])).next())})},[P]);(0,o.useEffect)(()=>{let e=(0,a.Z)(ee());return e.promise.then(e=>{U({type:"RESOLVE",value:e})}).catch(e=>{U({type:"REJECT",error:e})}),()=>{(0,m.LJ)(e)}},[ee,U]),(0,o.useEffect)(()=>{if(void 0!==H){if(!1===H){J&&(l(!1,J.toString()),M&&M(J));return}_&&_()}},[H]),(0,o.useEffect)(function(){W({type:"RESET"})},[W,H]),(0,o.useEffect)(function(){if(!H)return;let e=N?Object.assign(Object.assign({},H),N):H,t=p.Me(e);j&&(t.onProgress=j),Z&&(t.onPassword=Z);let n=t.promise.then(e=>{W({type:"RESOLVE",value:e})}).catch(e=>{t.destroyed||W({type:"REJECT",error:e})});return()=>{n.finally(()=>t.destroy())}},[N,W,H]),(0,o.useEffect)(()=>
1{if(void 0!==K){if(!1===K){z&&(l(!1,z.toString()),k&&k(z));return}K&&(D&&D(K),q.current=Array(K.numPages),$.current.setDocument(K))}},[K]),(0,o.useEffect)(function(){$.current.setViewer(Q.current),$.current.setExternalLinkRel(v),$.current.setExternalLinkTarget(R)},[v,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:T,linkService:$.current,onItemClick:O,pdf:K,registerPage:et,renderMode:I,rotate:V,unregisterPage:en}),[T,O,K,et,I,V,en]),eo=(0,o.useMemo)(()=>(0,i.ZP)(F,()=>K),[F,K]);return(0,r.jsx)("div",Object.assign({className:(0,u.Z)("react-pdf__Document",s),ref:x,style:{"--scale-factor":"1"}},eo,{children:P?null==K?(0,r.jsx)(h.Z,{type:"loading",children:"function"==typeof C?C():C}):!1===K?(0,r.jsx)(h.Z,{type:"error",children:"function"==typeof f?f():f}):(0,r.jsx)(g.Z.Provider,{value:er,children:n}):(0,r.jsx)(h.Z,{type:"no-data",children:"function"==typeof A?A():A})}))})},51715:function(e,t,n){let r=(0,n(2265).createContext)(null);t.Z=r},54336:function(e,t,n){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})}},63333:function(e,t,n){n.d(t,{Z:function(){return O}});var r=n(57437),o=n(2265),i=n(80502),a=n(53631),u=n(98099);function c(){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){n.forEach(function(t){"function"==typeof t?t(e):t&&(t.current=e)})}}var l=n(96576),s=n(4476);let f=(0,o.createContext)(null);var d=n(54336),p=n(13640);let g={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},h=/^H(\d+)$/;function y(e){return"children"in e}function v(e){return!!y(e)&&1===e.children.length&&0 in e.children&&"id"in e.children[0]}function m({className:e,node:t}){let n=(0,o.useMemo)(()=>t?Object.assign(Object.assign({},function(e){let t={};if(y(e)){let{role:n}=e,r=n.match(h);if(r)t.role="heading",t["aria-level"]=Number(r[1]);else if(n in g){let e=g[n];e&&(t.role=e)}}return t}(t)),function e(t){let n={};if(y(t)){if(void 0!==t.alt&&(n["aria-label"]=t.alt),void 0!==t.lang&&(n.lang=t.lang),v(t)){let[r]=t.children;if(r){let t=e(r);return Object.assign(Object.assign({},n),t)}}}else"id"in t&&(n["aria-owns"]=t.id);return n}(t)):null,[t]),i=(0,o.useMemo)(()=>!y(t)||v(t)?null:t.children.map((e,t)=>(0,r.jsx)(m,{node:e},t)),[t]);return(0,r.jsx)("span",Object.assign({className:e},n,{children:i}))}function E(){return(0,o.useContext)(f)}var b=n(43681),w=n(69079);function L(){let e=E();(0,l.Z)(e,"Unable to find Page context.");let{onGetStructTreeError:t,onGetStructTreeSuccess:n}=e,[a,u]=(0,b.Z)(),{value:c,error:f}=a,{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,i.Z)(p.getStructTree());return e.promise.then(e=>{u({type:"RESOLVE",value:e})}).catch(e=>{u({type:"REJECT",error:e})}),()=>(0,w.LJ)(e)},[d,p,u]),(0,o.useEffect)(()=>{if(void 0!==c){if(!1===c){f&&(s(!1,f.toString()),t&&t(f));return}c&&n&&n(c)}},[c]),c)?(0,r.jsx)(m,{className:"react-pdf__Page__structTree structTree",node:c}):null}let S=p.bM;function R(e){let t=E();(0,l.Z)(t,"Unable to find Page context.");let{_className:n,canvasBackground:i,devicePixelRatio:a=(0,w.x_)(),onRenderError:u,onRenderSuccess:f,page:d,renderForms:p,renderTextLayer:g,rotate:h,scale:y}=Object.assign(Object.assign({},t),e),{canvasRef:v}=e;(0,l.Z)(d,"Attempted to render page canvas, but no page was specified.");let m=(0,o.useRef)(null);function b(e){!(0,w.DE)(e)&&(s(!1,e.toString()),u&&u(e))}let R=(0,o.useMemo)(()=>d.getViewport({scale:y*a,rotation:h}),[a,d,h,y]),P=(0,o.useMemo)(()=>d.getViewport({scale:y,rotation:h}),[d,h,y]);(0,o.useEffect)(function(){if(!d)return;d.cleanup();let{current:e}=m;if(!e)return;e.width=R.width,e.height=R.height,e.style.width="".concat(Math.floor(P.width),"px"),e.style.height="".concat(Math.floor(P.height),"px"),e.style.visibility="hidden";let t={annotationMode:p?S.ENABLE_FORMS:S.ENABLE,canvasContext:e.getContext("2d",{alpha:!1}),viewport:R};i&&(t.background=i);let n=d.render(t);return n.promise.then(()=>{e.style.visibility="",d&&f&&f((0,w.XZ)(d,y))}).catch(b),()=>(0,w.LJ)(n)},[i,d,p,R,P]);let x=(0,o.useCallback)(()=>{let{current:e}=m;e&&(e.width=0,e.height=0)},[]);return(0,o.useEffect)(()=>x,[x]),(0,r.jsx)("canvas",{className:"".concat(n,"__canvas"),dir:"ltr",ref:c(v,m),style:{display:"block",userSelect:"none"},children:g?(0,r.jsx)(L,{}):null})}function P(){let e=E();(0,l.Z)(e,"Unable to find Page context.");let{customTextRenderer:t,onGetTextError:n,onGetTextSuccess:a,onRenderTextLayerError:c,onRenderTextLayerSuccess:f,page:d,pageIndex:g,pageNumber:h,rotate:y,scale:v}=e;(0,l.Z)(d,"Attempted to load page text content, but no page was specified.");let[m,L]=(0,b.Z)(),{value:S,error:R}=m,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(){L({type:"RESET"})},[d,L]),(0,o.useEffect)(function(){if(!d)return;let e=(0,i.Z)(d.getTextContent());return e.promise.then(e=>{L({type:"RESOLVE",value:e})}).catch(e=>{L({type:"REJECT",error:e})}),()=>(0,w.LJ)(e)},[d,L]),(0,o.useEffect)(()=>
1{if(void 0!==S){if(!1===S){R&&(s(!1,R.toString()),n&&n(R));return}S&&a&&a(S)}},[S]);let x=(0,o.useCallback)(()=>{f&&f()},[f]),T=(0,o.useCallback)(e=>{s(!1,e.toString()),c&&c(e)},[c]),C=(0,o.useMemo)(()=>d.getViewport({scale:v,rotation:y}),[d,y,v]);return(0,o.useLayoutEffect)(function(){if(!d||!S)return;let{current:e}=P;if(!e)return;e.innerHTML="";let n=d.streamTextContent({includeMarkedContent:!0}),r=new p.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;S.items.forEach((n,o)=>{if(!("str"in n))return;let i=r[e];if(!i)return;let a=t(Object.assign({pageIndex:g,pageNumber:h,itemIndex:o},n));i.innerHTML=a,e+=n.str&&n.hasEOL?2:1})}x()}).catch(T),()=>(0,w.LJ)(r)},[t,T,x,d,g,h,S,C]),(0,r.jsx)("div",{className:(0,u.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})}var x=n(51715);function T(){return(0,o.useContext)(x.Z)}function C(){let e=T(),t=E();(0,l.Z)(t,"Unable to find Page context.");let{imageResourcesPath:n,linkService:a,onGetAnnotationsError:c,onGetAnnotationsSuccess:f,onRenderAnnotationLayerError:d,onRenderAnnotationLayerSuccess:g,page:h,pdf:y,renderForms:v,rotate:m,scale:L=1}=Object.assign(Object.assign({},e),t);(0,l.Z)(y,"Attempted to load page annotations, but no document was specified. Wrap <Page /> in a <Document /> or pass explicit `pdf` prop."),(0,l.Z)(h,"Attempted to load page annotations, but no page was specified."),(0,l.Z)(a,"Attempted to load page annotations, but no linkService was specified.");let[S,R]=(0,b.Z)(),{value:P,error:x}=S,C=(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(){R({type:"RESET"})},[R,h]),(0,o.useEffect)(function(){if(!h)return;let e=(0,i.Z)(h.getAnnotations());return e.promise.then(e=>{R({type:"RESOLVE",value:e})}).catch(e=>{R({type:"REJECT",error:e})}),()=>{(0,w.LJ)(e)}},[R,h]),(0,o.useEffect)(()=>{if(void 0!==P){if(!1===P){x&&(s(!1,x.toString()),c&&c(x));return}P&&f&&f(P)}},[P]);let A=(0,o.useMemo)(()=>h.getViewport({scale:L,rotation:m}),[h,m,L]);return(0,o.useEffect)(function(){if(!y||!h||!a||!P)return;let{current:e}=C;if(!e)return;let t=A.clone({dontFlip:!0}),r={annotations:P,annotationStorage:y.annotationStorage,div:e,imageResourcesPath:n,linkService:a,page:h,renderForms:v,viewport:t};e.innerHTML="";try{new p.sO({accessibilityManager:null,annotationCanvasMap:null,annotationEditorUIManager:null,div:e,l10n:null,page:h,structTreeLayer:null,viewport:t}).render(r),g&&g()}catch(e){s(!1,"".concat(e)),d&&d(e)}return()=>{}},[P,n,a,h,y,v,A]),(0,r.jsx)("div",{className:(0,u.Z)("react-pdf__Page__annotations","annotationLayer"),ref:C})}var A=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};function O(e){let t=Object.assign(Object.assign({},T()),e),{_className:n="react-pdf__Page",_enableRegisterUnregisterPage:p=!0,canvasBackground:g,canvasRef:h,children:y,className:v,customRenderer:m,customTextRenderer:E,devicePixelRatio:L,error:S="Failed to load the page.",height:x,inputRef:O,loading:k="Loading page…",noData:j="No page specified.",onGetAnnotationsError:D,onGetAnnotationsSuccess:Z,onGetStructTreeError:M,onGetStructTreeSuccess:_,onGetTextError:N,onGetTextSuccess:I,onLoadError:V,onLoadSuccess:F,onRenderAnnotationLayerError:G,onRenderAnnotationLayerSuccess:U,onRenderError:H,onRenderSuccess:J,onRenderTextLayerError:B,onRenderTextLayerSuccess:W,pageIndex:K,pageNumber:z,pdf:$,registerPage:q,renderAnnotationLayer:X=!0,renderForms:Y=!1,renderMode:Q="canvas",renderTextLayer:ee=!0,rotate:et,scale:en=1,unregisterPage:er,width:eo}=t,ei=A(t,["_className","_enableRegisterUnregisterPage","canvasBackgroun
1d","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"]),[ea,eu]=(0,b.Z)(),{value:ec,error:el}=ea,es=(0,o.useRef)(null);(0,l.Z)($,"Attempted to load a page, but no document was specified. Wrap <Page /> in a <Document /> or pass explicit `pdf` prop.");let ef=(0,w.T8)(z)?z-1:null!=K?K:null,ed=null!=z?z:(0,w.T8)(K)?K+1:null,ep=null!=et?et:ec?ec.rotate:null,eg=(0,o.useMemo)(()=>{if(!ec)return null;let e=1,t=null!=en?en:1;if(eo||x){let t=ec.getViewport({scale:1,rotation:ep});eo?e=eo/t.width:x&&(e=x/t.height)}return t*e},[x,ec,ep,en,eo]);(0,o.useEffect)(function(){return()=>{(0,w.T8)(ef)&&p&&er&&er(ef)}},[p,$,ef,er]),(0,o.useEffect)(function(){eu({type:"RESET"})},[eu,$,ef]),(0,o.useEffect)(function(){if(!$||!ed)return;let e=(0,i.Z)($.getPage(ed));return e.promise.then(e=>{eu({type:"RESOLVE",value:e})}).catch(e=>{eu({type:"REJECT",error:e})}),()=>(0,w.LJ)(e)},[eu,$,ed]),(0,o.useEffect)(()=>{if(void 0!==ec){if(!1===ec){el&&(s(!1,el.toString()),V&&V(el));return}!function(){if(F){if(!ec||!eg)return;F((0,w.XZ)(ec,eg))}if(p&&q){if(!(0,w.T8)(ef)||!es.current)return;q(ef,es.current)}}()}},[ec,eg]);let eh=(0,o.useMemo)(()=>ec&&(0,w.T8)(ef)&&ed&&(0,w.T8)(ep)&&(0,w.T8)(eg)?{_className:n,canvasBackground:g,customTextRenderer:E,devicePixelRatio:L,onGetAnnotationsError:D,onGetAnnotationsSuccess:Z,onGetStructTreeError:M,onGetStructTreeSuccess:_,onGetTextError:N,onGetTextSuccess:I,onRenderAnnotationLayerError:G,onRenderAnnotationLayerSuccess:U,onRenderError:H,onRenderSuccess:J,onRenderTextLayerError:B,onRenderTextLayerSuccess:W,page:ec,pageIndex:ef,pageNumber:ed,renderForms:Y,renderTextLayer:ee,rotate:ep,scale:eg}:null,[n,g,E,L,D,Z,M,_,N,I,G,U,H,J,B,W,ec,ef,ed,Y,ee,ep,eg]),ey=(0,o.useMemo)(()=>(0,a.ZP)(ei,()=>ec?eg?(0,w.XZ)(ec,eg):void 0:ec),[ei,ec,eg]),ev="".concat(ef,"@").concat(eg,"/").concat(ep);return(0,r.jsx)("div",Object.assign({className:(0,u.Z)(n,v),"data-page-number":ed,ref:c(O,es),style:{"--scale-factor":"".concat(eg),backgroundColor:g||"white",position:"relative",minWidth:"min-content",minHeight:"min-content"}},ey,{children:ed?null===$||null==ec?(0,r.jsx)(d.Z,{type:"loading",children:"function"==typeof k?k():k}):!1===$||!1===ec?(0,r.jsx)(d.Z,{type:"error",children:"function"==typeof S?S():S}):(0,r.jsxs)(f.Provider,{value:eh,children:[function(){switch(Q){case"custom":return(0,l.Z)(m,'renderMode was set to "custom", but no customRenderer was passed.'),(0,r.jsx)(m,{},"".concat(ev,"_custom"));case"none":return null;default:return(0,r.jsx)(R,{canvasRef:h},"".concat(ev,"_canvas"))}}(),ee?(0,r.jsx)(P,{},"".concat(ev,"_text")):null,X?(0,r.jsx)(C,{},"".concat(ev,"_annotations")):null,y]}):(0,r.jsx)(d.Z,{type:"no-data",children:"function"==typeof j?j():j})}))}},43681:function(e,t,n){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})}},69079:function(e,t,n){n.d(t,{DE:function(){return y},LJ:function(){return g},Lj:function(){return l},T8:function(){return u},XZ:function(){return h},eP:function(){return c},eR:function(){return v},gJ:function(){return s},jU:function(){return i},tN:function(){return p},us:function(){return f},x_:function(){return d}});var r=n(96576),o=n(4476);let i="undefined"!=typeof window,a=i&&"file:"===window.location.protocol;function u(e){return null!=e}function c(e){return e instanceof ArrayBuffer}function l(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.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 v(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)})}},96576:function(e,t,n){n.d(t,{Z:function(){return r}});function r(e,t){if(!e)throw Error("Invariant failed")}}}]);

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.