PageSourceSearch

https://twsacademy.in/_next/static/chunks/pages/pdfjs/web/viewer.html-507c63ec17c6f61d.js

js twsacademy.in collected 2026-10-02 02:01:07 UTC 2,051 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5164],{62452:function(e,r,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/pdfjs/web/viewer.html",function(){return t(23969)}])},23969:function(e,r,t){"use strict";t.r(r),t.d(r,{default:function(){return _}});var n=t(82670),a=t(26042),i=t(69396),s=t(85893),c=t(11163),o=t(67294),l=t(4380),u=t(93520),p=t(86454),f=t(17156),h=t(96486),y=t(29823);function _(){var e=(0,c.useRouter)().query,r=e.is_encrypted,t=e.encryption_key,_=e.save_flag,d=e.phone,m=e.encryption_version,v=void 0===m?"1":m,w=e.file,E=e.client_url,g=e.title,k=e.URLPrefix,b=e.Expires,N=e.KeyName,x=e.Signature,P=(0,o.useState)(null),U=P[0],j=P[1],L=(0,o.useState)(!(0,h.isEmpty)(E)),R=L[0],S=L[1],Z=(0,o.useMemo)((function(){var e=w;try{var r=new URL(decodeURIComponent(e));k&&r.searchParams.set("URLPrefix",k),b&&r.searchParams.set("Expires",b),N&&r.searchParams.set("KeyName",N),x&&r.searchParams.set("Signature",x),e=r.toString()}catch(t){console.log("error while parsing the file url")}return e}),[k,w,b,N,x]),C=(0,o.useMemo)((function(){var e=t;if((0,u.hb)(r)&&!(0,h.isEmpty)(t))try{var n=atob(t);e=n=n.replace(y.qn.VALUE,"").replace(y.qn.VALUE1,"")}catch(a){console.log("error while decrypting encryption key",a)}return e}),[t,r]);return(0,o.useEffect)((function(){if(!(0,h.isEmpty)(E)){var e=E.replace("https://","").replace("http://","");(0,p.Dl)(e).then((function(e){var r=(0,i.Z)((0,a.Z)({},f.xb),{showWatermark:(0,u.hb)(e.is_pdf_watermark_enabled)});(0,n.Z)(e.pdf_watermark_style,Object)&&(r=(0,a.Z)({},r,e.pdf_watermark_style)),j(r),S(!1)})).catch((function(){S(!1)}))}}),[E]),(0,s.jsx)("div",{className:"h-100",children:!R&&(0,s.jsx)(l.Z,{link:Z,isOpen:!0,allowDownload:_,isEncrypted:r,encryptionKey:C,phone:d,encryptionVersion:v,watermarkConfig:U,clientUrl:E,title:g})})}_.layout=function(e){var r=e.children;return(0,s.jsx)("div",{className:"position-relative bg-gray",style:{height:"100vh"},children:r})}}},function(e){e.O(0,[4380,9774,2888,179],(function(){return r=62452,e(e.s=r);var r}));var r=e.O();_N_E=r}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.