PageSourceSearch

https://watch.soulsearch.tv/_next/static/chunks/9115.9935984f70bb27b7.js

js soulsearch.tv collected 2026-10-05 08:54:02 UTC 14,096 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1496,9115],{5636:(e,a,t)=>{t.d(a,{EU:()=>l,fb:()=>r,wZ:()=>n});let o="metadata_cache_";function r(e){try{let a="".concat(o).concat(e);sessionStorage.removeItem(a)}catch(e){console.error("Error clearing metadata cache:",e)}}function l(){try{Object.keys(sessionStorage).forEach(e=>{e.startsWith(o)&&sessionStorage.removeItem(e)})}catch(e){console.error("Error clearing all metadata caches:",e)}}async function n(e){let a=function(e){try{let a="".concat(o).concat(e),t=sessionStorage.getItem(a);if(!t)return null;let r=JSON.parse(t);if(Date.now()-r.timestamp>18e5||r.domain!==e)return sessionStorage.removeItem(a),null;return r.data}catch(e){return console.error("Error reading from metadata cache:",e),null}}(e);if(a)return console.log("[MetadataCache] Using cached data for domain: ".concat(e)),a;console.log("[MetadataCache] Fetching fresh data for domain: ".concat(e));let t=await fetch("/api/metadata?domain=".concat(encodeURIComponent(e))),r=await t.json();if(!r.success)throw Error(r.error||"Failed to load metadata");try{let a="".concat(o).concat(e),t={data:r,timestamp:Date.now(),domain:e};sessionStorage.setItem(a,JSON.stringify(t))}catch(e){console.error("Error writing to metadata cache:",e)}return r}},6783:(e,a,t)=>{t.d(a,{A:()=>l});var o=t(76856),r=t(95155);let l=(0,o.A)((0,r.jsx)("path",{d:"M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"}),"ChevronRight")},43833:(e,a,t)=>{t.d(a,{Q:()=>o.Q});var o=t(63695)},44146:(e,a,t)=>{t.d(a,{A:()=>x});var o=t(12115),r=t(52596),l=t(15386),n=t(39485),s=t(78894),i=t(35881),c=t(74409),u=t(13973),d=t(82700),k=t(78764),y=t(89915),f=t(39571),p=t(57692),m=t(81112);function h(e){return(0,m.Ay)("MuiIconButton",e)}let g=(0,p.A)("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge","loading","loadingIndicator","loadingWrapper"]);var b=t(95155);let v=e=>{let{classes:a,disabled:t,color:o,edge:r,size:n,loading:s}=e,i={root:["root",s&&"loading",t&&"disabled","default"!==o&&"color".concat((0,f.A)(o)),r&&"edge".concat((0,f.A)(r)),"size".concat((0,f.A)(n))],loadingIndicator:["loadingIndicator"],loadingWrapper:["loadingWrapper"]};return(0,l.A)(i,h,a)},_=(0,i.Ay)(k.A,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,a)=>{let{ownerState:t}=e;return[a.root,t.loading&&a.loading,"default"!==t.color&&a["color".concat((0,f.A)(t.color))],t.edge&&a["edge".concat((0,f.A)(t.edge))],a["size".concat((0,f.A)(t.size))]]}})((0,c.A)(e=>{let{theme:a}=e;return{textAlign:"center",flex:"0 0 auto",fontSize:a.typography.pxToRem(24),padding:8,borderRadius:"50%",color:(a.vars||a).palette.action.active,transition:a.transitions.create("background-color",{duration:a.transitions.duration.shortest}),variants:[{props:e=>!e.disableRipple,style:{"--IconButton-hoverBg":a.vars?"rgba(".concat(a.vars.palette.action.activeChannel," / ").concat(a.vars.palette.action.hoverOpacity,")"):(0,s.X4)(a.palette.action.active,a.palette.action.hoverOpacity),"&:hover":{backgroundColor:"var(--IconButton-hoverBg)","@media (hover: none)":{backgroundColor:"transparent"}}}},{props:{edge:"start"},style:{marginLeft:-12}},{props:{edge:"start",size:"small"},style:{marginLeft:-3}},{props:{edge:"end"},style:{marginRight:-12}},{props:{edge:"end",size:"small"},style:{marginRight:-3}}]}}),(0,c.A)(e=>{let{theme:a}=e;return{variants:[{props:{color:"inherit"},style:{color:"inherit"}},...Object.entries(a.palette).filter((0,u.A)()).map(e=>{let[t]=e;return{props:{color:t},style:{color:(a.vars||a).palette[t].main}}}),...Object.entries(a.palette).filter((0,u.A)()).map(e=>{let[t]=e;return{props:{color:t},style:{"--IconButton-hoverBg":a.vars?"rgba(".concat((a.vars||a).palette[t].mainChannel," / ").concat(a.vars.palette.action.hoverOpacity,")"):(0,s.X4)((a.vars||a).palette[t].main,a.palette.action.hoverOpacity)}}}),{props:{size:"small"},style:{padding:5,fontSize:a.typography.pxToRem(18)}},{props:{size:"large"},style:{padding:12,fontSize:a.typography.pxToRem(28)}}],["&.".concat(g.disabled)]:{backgroundColor:"transparent",color:(a.vars||a).palette.action.disabled},["&.".concat(g.loading)]:{color:"transparent"}}})),V=(0,i.Ay)("span",{name:"MuiIconButton",slot:"LoadingIndicator",overridesResolver:(e,a)=>a.loadingIndicator})(e=>{let{theme:a}=e;return{display:"none",position:"absolute",visibility:"visible",top:"50%",left:"50%",transform:"translate(-50%, -50%)",color:(a.vars||a).palette.action.disabled,variants:[{props:{loading:!0},style:{display:"flex"}}]}}),x=o.forwardRef(function(e,a){let t=(0,d.b)({props:e,name:"MuiIconButton"}),{edge:o=!1,children:l,className:s,color:i="default",disabled:c=!1,disableFocusRipple:u=!1,size:k="medium",id:f,loading:p=null,loadingIndicator:m,...h}=t,g=(0,n.A)(f),x=null!=m?m:(0,b.jsx)(y.A,{"aria-labelledby":g,color:"inherit",size:16}),w={...t,edge:o,color:i,disabled:c,disableFocusRipple:u,loading:p,loadingIndicator:x,size:k},S=v(w);return(0,b.jsxs)(_,{id:p?g:f,className:(0,r.A)(S.root,s),centerRipple:!0,focusRipple:!u,disabled:c||p,ref:a,...h,ownerState:w,children:["boolean"==typeof p&&(0,b.jsx)("span",{className:S.loadingWrapper,style:{display:"contents"},children:(0,b.jsx)(V,{className:S.loadingIndicator,ownerState:w,children:p&&x})}),l]})})},63695:(e,a,t)=>{t.d(a,{Q:()=>u,SiteMetadataProvider:()=>c});var o=t(95155),r=t(12115),l=t(47737),n=t(5636);let s={siteName:"Site Name",siteLogo:null,favIconLink:null,footerSiteName:"Site Name",footerSiteLogo:null,mostViewedCatId:null,aboutUs:"Site is a modern streaming platform that brings you the best in entertainment. We offer a vast library of movies, TV shows, and original content to stream anytime, anywhere.",copyrightText:"\xa9 2024 Site Name. All rights reserved.",adsTxt
1Content:null,googleAdsTxtContent:null},i=(0,r.createContext)(void 0);function c(e){let{children:a,initialMetadata:t}=e,{tenantInfo:c}=(0,l.K)(),[u,d]=(0,r.useState)({...s,...t}),[k,y]=(0,r.useState)(null),[f,p]=(0,r.useState)(!1),[m,h]=(0,r.useState)(null),[g,b]=(0,r.useState)(null),v=(0,r.useRef)(!!(null==t?void 0:t.siteName)&&t.siteName!==s.siteName),_=(0,r.useCallback)(async e=>{if(!f&&e!==g)try{var a;let t,o,r,l,s,i,c,u,k,f,m,g,_,V,x,w,S,I,A,C,j,N,L,M,R;v.current||p(!0),h(null),b(e);let z=await (0,n.wZ)(e);if(!z.success)throw Error(z.error||"Failed to load metadata");let E=(null==(a=z.data)?void 0:a.metadata)||{};y(E);let O="Site Name",T=null,B=null,W="Site Name",P=null,U="Site is a modern streaming platform that brings you the best in entertainment. We offer a vast library of movies, TV shows, and original content to stream anytime, anywhere.",X="\xa9 2024 Site Name. All rights reserved.",D=null,J=null,Q=null;Object.values(E).forEach(e=>{(null==e?void 0:e.items)&&e.items.forEach(e=>{switch(e.keyName){case"h_site_name":e.keyValue&&(O=e.keyValue);break;case"h_site_logo":e.keyValue&&(T=e.keyValue);break;case"h_fav_icon_link":e.keyValue&&(B=e.keyValue);break;case"f_site_name":e.keyValue&&(W=e.keyValue);break;case"f_site_logo":e.keyValue&&(P=e.keyValue);break;case"f_about_us":e.keyValue&&(U=e.keyValue);break;case"f_copyright_txt":e.keyValue&&(X=e.keyValue);break;case"most_view_cat_id":e.keyValue&&(D=e.keyValue);break;case"ads_txt_content":e.keyValue&&(J=e.keyValue);break;case"google_ads_txt_content":e.keyValue&&(Q=e.keyValue);break;case"seo_site_title":e.keyValue&&(t=e.keyValue);break;case"seo_site_description":e.keyValue&&(o=e.keyValue);break;case"seo_keywords":e.keyValue&&(r=e.keyValue);break;case"seo_robots":e.keyValue&&(l=e.keyValue);break;case"hwtw_title_txt":e.keyValue&&(s=e.keyValue);break;case"hwtw_sub_txt":e.keyValue&&(i=e.keyValue);break;case"hwtw_roku_link":e.keyValue&&(c=e.keyValue);break;case"hwtw_firetv_link":e.keyValue&&(u=e.keyValue);break;case"hwtw_appletv_link":e.keyValue&&(k=e.keyValue);break;case"hwtw_androidtv_link":e.keyValue&&(f=e.keyValue);break;case"hwtw_androidapp_link":e.keyValue&&(m=e.keyValue);break;case"hwtw_iosapp_link":e.keyValue&&(g=e.keyValue);break;case"fb_link":e.keyValue&&(_=e.keyValue);break;case"ig_link":e.keyValue&&(V=e.keyValue);break;case"x_link":e.keyValue&&(x=e.keyValue);break;case"yt_link":e.keyValue&&(w=e.keyValue);break;case"theme_video_cards_thumbnail_orientation":e.keyValue&&(S=e.keyValue);break;case"google_analytics":e.keyValue&&(I=e.keyValue);break;case"is_show_video_channel_embed_icon":e.keyValue&&(M=e.keyValue);break;case"banner_carousel_home_placement":e.keyValue&&(R=e.keyValue);break;case"nav_menu_config":if(e.keyValue)try{A=JSON.parse(e.keyValue)}catch(e){}break;case"footer_about_title":e.keyValue&&(C=e.keyValue);break;case"footer_legal_title":e.keyValue&&(j=e.keyValue);break;case"footer_about_links_config":if(e.keyValue)try{N=JSON.parse(e.keyValue)}catch(e){}break;case"footer_legal_links_config":if(e.keyValue)try{L=JSON.parse(e.keyValue)}catch(e){}}})}),d({siteName:O,siteLogo:T,favIconLink:B,footerSiteName:W,footerSiteLogo:P,aboutUs:U,copyrightText:X,mostViewedCatId:D,adsTxtContent:J,googleAdsTxtContent:Q,seo_site_title:t,seo_site_description:o,seo_keywords:r,seo_robots:l,hwtw_title_txt:s,hwtw_sub_txt:i,hwtw_roku_link:c,hwtw_firetv_link:u,hwtw_appletv_link:k,hwtw_androidtv_link:f,hwtw_androidapp_link:m,hwtw_iosapp_link:g,fb_link:_,ig_link:V,x_link:x,yt_link:w,theme_video_cards_thumbnail_orientation:S,google_analytics:I,navMenuConfig:A,footerAboutTitle:C,footerLegalTitle:j,footerAboutLinks:N,footerLegalLinks:L,is_show_video_channel_embed_icon:M,banner_carousel_home_placement:R}),v.current=!0}catch(e){h(e instanceof Error?e.message:"Unknown error occurred")}finally{p(!1)}},[f,g]);(0,r.useEffect)(()=>{let e=null==c?void 0:c.domain;e&&e!==g&&_(e)},[null==c?void 0:c.domain,_,g]);let V=(0,r.useCallback)(()=>{let e=null==c?void 0:c.domain;e&&((0,n.fb)(e),b(null),_(e))},[null==c?void 0:c.domain,_]);return(0,o.jsx)(i.Provider,{value:{metadata:u,rawMetadata:k,loading:f,error:m,refetch:V},children:a})}function u(){let e=(0,r.useContext)(i);if(void 0===e)throw Error("useSiteMetadata must be used within a SiteMetadataProvider");return e}},69115:(e,a,t)=>{t.r(a),t.d(a,{default:()=>h});var o=t(95155),r=t(12115),l=t(52269),n=t(44146),s=t(9670),i=t(98774),c=t(6783),u=t(55028),d=t(6874),k=t.n(d),y=t(43833);let f=(0,u.default)(()=>
1Promise.all([t.e(9910),t.e(5857),t.e(5726),t.e(6049),t.e(71),t.e(1593),t.e(6766),t.e(3090),t.e(2302),t.e(472),t.e(9733),t.e(5760)]).then(t.bind(t,82114)),{loadableGenerated:{webpack:()=>[82114]},loading:()=>(0,o.jsx)(l.default,{sx:{width:"100%",height:157,bgcolor:"background.paper",borderRadius:1}})}),p=(0,r.memo)(e=>{let{video:a,categoryId:t,isPosterMode:r,subTenantId:n,seriesBasePath:s}=e;return(0,o.jsx)(l.default,{sx:{flexShrink:0,width:r?{xs:"45%",sm:"30%",md:"20%",lg:"15%",xl:"13%"}:{xs:"85%",sm:"45%",md:"30%",lg:"23%",xl:"19%"},scrollSnapAlign:"start"},children:(0,o.jsx)(f,{video:a,categoryId:t,subTenantId:n,basePath:s})})});p.displayName="MemoizedVideoItem";let m=(0,r.memo)(e=>{let{direction:a,onClick:t,show:r}=e;return r?(0,o.jsx)(n.A,{onClick:t,sx:{position:"absolute",["left"===a?"left":"right"]:{md:-20},top:"50%",transform:"translateY(-50%)",bgcolor:"rgba(0,0,0,0.5)",color:"white","&:hover":{bgcolor:"rgba(0,0,0,0.7)"},display:{xs:"none",md:"flex"}},children:"left"===a?(0,o.jsx)(i.A,{}):(0,o.jsx)(c.A,{})}):null});m.displayName="NavigationButton";let h=(0,r.memo)(e=>{let{title:a,videos:t,categoryId:n,subTenantId:i,vodBasePath:c="/vod",seriesBasePath:u="/series"}=e,{metadata:d}=(0,y.Q)(),f=(null==d?void 0:d.theme_video_cards_thumbnail_orientation)==="poster",h=r.useRef(null),[g,b]=r.useState(!1),[v,_]=r.useState(0),[V,x]=r.useState(0),w=(0,r.useCallback)(e=>{if(h.current){let a=h.current,t=.85*a.offsetWidth,o="left"===e?a.scrollLeft-t:a.scrollLeft+t;a.scrollTo({left:o,behavior:"smooth"})}},[]),S=(0,r.useCallback)(e=>{h.current&&(b(!0),_(e.pageX-h.current.offsetLeft),x(h.current.scrollLeft))},[]),I=(0,r.useCallback)(e=>{h.current&&(b(!0),_(e.touches[0].pageX-h.current.offsetLeft),x(h.current.scrollLeft))},[]),A=(0,r.useCallback)(e=>{if(!g||!h.current)return;e.preventDefault();let a=(e.pageX-h.current.offsetLeft-v)*2;h.current.scrollLeft=V-a},[g,v,V]),C=(0,r.useCallback)(e=>{if(!g||!h.current)return;let a=(e.touches[0].pageX-h.current.offsetLeft-v)*2;h.current.scrollLeft=V-a},[g,v,V]),j=(0,r.useCallback)(()=>{b(!1)},[]),{videoItems:N,categoryLink:L}=(0,r.useMemo)(()=>{var e;if(!t||0===t.length)return{videoItems:[],categoryLink:""};let o=(null==(e=t[0])?void 0:e.type)==="session"?"".concat(u,"/").concat(encodeURIComponent(a),"/").concat(n):"".concat(c,"/").concat(encodeURIComponent(a),"/").concat(n);return{videoItems:t.map((e,a)=>{let t="".concat(e.uuid||e.id,"_").concat(a,"_").concat(n||"default").replace(/[^a-zA-Z0-9-_]/g,"_");return{video:e,uniqueKey:t,index:a}}),categoryLink:o}},[t,a,n,c,u]);if(!t||0===t.length)return null;let M=t.length>4;return(0,o.jsxs)(l.default,{sx:{mb:4,px:{xs:2,sm:3,md:4}},children:[(0,o.jsxs)(l.default,{sx:{display:"flex",alignItems:"center",gap:2,mb:2},children:[(0,o.jsx)(s.default,{variant:"h5",sx:{fontWeight:"bold"},children:a}),n&&(0,o.jsx)(k(),{href:L,style:{textDecoration:"none"},children:(0,o.jsx)(s.default,{variant:"subtitle1",sx:{color:"primary.main","&:hover":{textDecoration:"underline"}},children:"Show All"})})]}),(0,o.jsxs)(l.default,{sx:{position:"relative"},children:[(0,o.jsx)(l.default,{ref:h,onMouseDown:S,onMouseMove:A,onMouseUp:j,onMouseLeave:j,onTouchStart:I,onTouchMove:C,onTouchEnd:j,sx:{display:"flex",overflowX:"auto",scrollSnapType:"x mandatory",gap:2,WebkitOverflowScrolling:"touch","&::-webkit-scrollbar":{display:"none"},msOverflowStyle:"none",scrollbarWidth:"none",cursor:g?"grabbing":"grab"},children:N.map(e=>{let{video:a,uniqueKey:t}=e;return(0,o.jsx)(p,{video:a,categoryId:n,isPosterMode:f,subTenantId:i,seriesBasePath:u},t)})}),(0,o.jsx)(m,{direction:"left",onClick:()=>w("left"),show:M}),(0,o.jsx)(m,{direction:"right",onClick:()=>w("right"),show:M})]})]})})},98774:(e,a,t)=>{t.d(a,{A:()=>l});var o=t(76856),r=t(95155);let l=(0,o.A)((0,r.jsx)("path",{d:"M15.41 7.41 14 6l-6 6 6 6 1.41-1.41L10.83 12z"}),"ChevronLeft")}}]);

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.