PageSourceSearch

https://www.sendwave.com/web-cms-sw-assets/_next/static/chunks/85.845a2f8a28f9f8b0.js

js sendwave.com collected 2026-09-24 10:01:40 UTC 2,439 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[85],{56831:function(e,r,n){n.d(r,{e:function(){return i}});var t=n(86521),a=n(71278);let i=n(45721).forwardRef(function(e,r){let{variant:n="inherit",...i}=e;return(0,t.jsx)(a.Z,{...i,variant:n,ref:r})})},57085:function(e,r,n){n.r(r),n.d(r,{default:function(){return h}});var t=n(86521),a=n(88791),i=n(69405),o=n(45721),s=n(16319),d=n(86186),l=n(37884);let u=()=>{let[e,r]=o.useState(0),[n,t]=o.useState(0);return o.useEffect(()=>{let e=()=>{window&&(r(window.innerWidth),t(window.innerHeight))};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]),{width:e,height:n}};var c=n(56831),f=n(27297),m=n(65622);let g=(0,f.Z)(e=>{let{spacing:r}=e;return{container:{width:"100%",paddingBottom:r(4)},frame:{border:0,outline:0,backgroundColor:"transparent"},error:{marginBottom:r(2),"& .MuiAlertTitle-root":{fontWeight:(0,m.ef)(700),marginBottom:(0,m.ef)(0)}}}});s.Tu.workerSrc=`//unpkg.com/pdfjs-dist@${s.i8}/legacy/build/pdf.worker.min.mjs`;var h=e=>{let{sysID:r,title:n,source:s,logger:f}=e,m=g(),h=u(),[w,p]=(0,o.useState)(),[v,k]=(0,o.useState)(),[j,x]=(0,o.useState)(1),[b,S]=(0,o.useState)(),y=(0,o.useCallback)(e=>{p(e.message),f&&f.error(e.message,"Failed loading PDF")},[f]),E=(0,o.useCallback)(e=>{k(e.numPages)},[]);(0,o.useEffect)(()=>{var e;b&&x(((null===(e=document.getElementById(r))||void 0===e?void 0:e.clientWidth)||1)/b)},[h,r,b]);let L=(0,o.useMemo)(()=>w?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(a.Z,{severity:"error",className:m.error,"data-testid":"pdf-viewer-error",children:[(0,t.jsx)(i.Z,{children:"There was an error loading the pdf"}),(0,t.jsx)("span",{children:w})]}),(0,t.jsx)(c.e,{variant:"body2",underline:"none",href:s,children:`Download ${n}`})]}):null,[m.error,w,s,n]),N=(0,o.useMemo)(()=>({url:s}),[s]);return(0,t.jsx)("div",{id:r,className:m.container,"data-testid":r,children:(0,t.jsx)(d.Z,{file:N,externalLinkTarget:"_blank",onLoadSuccess:E,onLoadError:y,error:L,children:Array.from(Array(v),(e,r)=>(0,t.jsx)(l.Z,{pageNumber:r+1,className:m.frame,renderAnnotationLayer:!1,renderTextLayer:!1,scale:j,onLoadSuccess:e=>{0===r&&S(e.originalWidth)}},`page_${r}`))})})}},65622:function(e,r,n){n.d(r,{Vu:function(){return t},ef:function(){return a}});let t=(e,r)=>e&&r?`linear-gradient(90deg, ${e}, ${r})`:e||r||"transparent",a=e=>`${e} !important`}}]);
2//# sourceMappingURL=85.845a2f8a28f9f8b0.js.map

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.