PageSourceSearch

https://watch.gorillacomedyplus.com/_next/static/chunks/8856.a394fb256def934c.js

js gorillacomedyplus.com collected 2026-09-24 12:28:02 UTC 4,123 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8856,8065],{8065:function(e,t,o){o.r(t);var r=o(85893),n=o(32415),a=o(5152),s=o.n(a),i=o(60520),l=o(79888),u=o(22024);let d=s()(()=>Promise.all([o.e(571),o.e(4003),o.e(9412),o.e(1758),o.e(6595),o.e(5675),o.e(7444),o.e(9732),o.e(3127),o.e(206),o.e(6481)]).then(o.bind(o,85323)),{loadableGenerated:{webpack:()=>[85323]},ssr:!1});t.default=e=>{var t,o;let a="";e&&e.ironCookie&&e.ironCookie.user&&e.ironCookie.user.partner?a=e.ironCookie.user.partner:e&&"hoopla"==e.dataFrom&&(a="hoopla");let s=e.fetchUrl?(0,n.tY)(e.fetchUrl):"";e.ironLogin&&("hoopla"!==a||!0!==e.isHooplaVal)&&"hoopla"!==e.dataFrom?s=s.replace("__JTV__SUBSCRIBER__ID__",encodeURIComponent(e&&e.ironCookie&&e.ironCookie.user&&e.ironCookie.user.email)):(e.isHooplaVal||"hoopla"==e.dataFrom)&&(s=(s=s.replace("__JTV__SUBSCRIBER__ID__",encodeURIComponent(e&&e.ironCookie&&e.ironCookie.user&&e.ironCookie.user.email))).replace("__JTV__PARTNER__NAME__",a));let{data:c,isLoading:h,error:p}=(0,l.Z)(s,!1);if(p&&(null==c?void 0:null===(t=c.subCategories)||void 0===t?void 0:t.length)==0)return(0,r.jsx)("div",{className:"noData-nopadding-home",children:(0,r.jsx)(u.Oe,{})});if(p)return(0,r.jsx)(u.nl,{});if(h||!(null==c?void 0:null===(o=c.subCategories)||void 0===o?void 0:o.length))return(0,r.jsx)(i.rF,{});let{subCategories:f}=c;return(0,r.jsx)(d,{urls:e.urls,showChannel:e.showChannel,channelData:e.channelData,subCategories:f,dataFrom:e.dataFrom,divClass:"",subType:e&&e.subType,...e})}},79888:function(e,t,o){var r=o(83300),n=o.n(r),a=o(2568),s=o.n(a),i=o(32415),l=o(45312),u=o(67294),d=o(33299);o(11196);var c=o(46013);let h=e=>{try{return new URL(e),!0}catch(e){return!1}};t.Z=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],[o,r]=(0,u.useState)(null),[a,p]=(0,u.useState)(!0),[f,g]=(0,u.useState)(null),{data:m,status:_}=(0,d.useSession)(),v=(0,u.useMemo)(()=>e?t?(0,i.tY)(e):e:null,[e,t]),C=(0,u.useMemo)(()=>{if(!v)return null;let e={"Content-Type":"application/json",cauth:s()(l.appTag),"mp-tag":(0,i.VZ)(v)};if(!e.cauth||!e["mp-tag"])return null;let t="authenticated"===_?sessionStorage.getItem("proxy-session-token"):null;if("unauthenticated"===_&&sessionStorage.getItem("proxy-session-token")&&sessionStorage.removeItem("proxy-session-token"),t)try{let o=(0,c.P)(t,e.cauth,e["mp-tag"]);return{...e,...o}}catch(e){console.error("useFetch: ❌ Failed to generate security headers",e)}else console.log("useFetch: ⚠️  No session token available, using basic headers only");return e},[v,_]);return(0,u.useEffect)(()=>{if(!v){g("No URL provided or invalid URL"),p(!1);return}if(!h(v)){g("Invalid URL format"),p(!1);return}if(!C){g("Failed to generate request headers"),p(!1);return}g(null),p(!0);let e=new AbortController,t=!1,o=setTimeout(()=>{t=!0,e.abort()},6e4),a=async()=>{try{let t=await n()(l.apiGetURL,{headers:C,next:{revalidate:3600},signal:e.signal,credentials:"include"});if(!t.ok){if(401===t.status)throw console.log("\uD83D\uDD12 Received 401 - clearing session token and retrying"),sessionStorage.removeItem("proxy-session-token"),Error("Authentication failed - session expired");throw Error("HTTP error! status: ".concat(t.status))}let o=await t.json();if(!o||!o.data||!o.data.data)throw Error("Invalid response structure from server");let a=(0,i.pe)(o.data.data).toString(),s=JSON.parse(a);r(s)}catch(e){if("AbortError"===e.name){t&&g("Request timeout");return}console.error("\uD83D\uDEA8 Fetch error:",e),g(e.message||"An error occurred")}finally{(!e.signal.aborted||t)&&p(!1),clearTimeout(o)}};return"loading"===_?p(!0):"authenticated"===_?a():"unauthenticated"===_&&p(!0),()=>{clearTimeout(o),e.signal.aborted||e.abort()}},[v,C,_]),{data:o,isLoading:a,error:f}}},83300:function(e,t){var o=function(){if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if(void 0!==o)return o;throw Error("unable to locate global object")}();e.exports=t=o.fetch,o.fetch&&(t.default=o.fetch.bind(o)),t.Headers=o.Headers,t.Request=o.Request,t.Response=o.Response}}]);

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.