PageSourceSearch

https://www.supplysidesj.com/assets/_index-CowjWv6D.js

js supplysidesj.com collected 2026-10-02 05:45:47 UTC 4,593 bytes, 2 lines download raw bytes

1import{o as e}from"./rolldown-runtime-C0FnF6B9.js";import{a as t}from"./vendor-html-parser-DOJ8foyv.js";import{n,t as r}from"./vendor-react-BREUBCH4.js";import{_ as i,f as a,u as o,y as s}from"./vendor-react-router-D-KYiz2C.js";import{k as c,p as l,w as u,x as d,zt as f}from"./errorBoundary-CheDi6wM.js";import{l as p,t as m}from"./meta-BmqDeMKS.js";import{a as h,o as g,v as _}from"./src-FD65B_Ks.js";import{c as v,u as y}from"./src-BuAD0-ja2.js";import{t as b}from"./src-BIgror6c.js";import{t as x}from"./src-B0fYXavH.js";var S=r(),C=e(t()),w=n(),T=(0,f.cn)(`HomePage`),E=e=>{let t=(0,S.c)(10),{modules:n,socialShare:r}=e;if(!n.length)return null;let i;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(i=T(),t[0]=i):i=t[0];let a,o;t[1]===Symbol.for(`react.memo_cache_sentinel`)?(a=(0,w.jsx)(b,{className:T(`Ad`)}),o=T(`Wrapper`),t[1]=a,t[2]=o):(a=t[1],o=t[2]);let s;if(t[3]!==n||t[4]!==r){let e;t[6]===r?e=t[7]:(e=(e,t)=>(0,w.jsxs)(C.Fragment,{children:[(0,w.jsx)(x,{module:e,socialShare:r||[],isOnHomepage:!0,homePageNewsletterClassName:T(`NewsletterContent`)}),t===2?(0,w.jsx)(d.Slot,{pos:`728_2v`,className:T(`Ad`)}):null,t===3?(0,w.jsx)(d.Slot,{pos:`native_featured_1v`,className:T(`Ad`)}):null,t===5?(0,w.jsx)(d.Slot,{pos:`728_3v`,className:T(`Ad`)}):null,t===8?(0,w.jsx)(d.Slot,{pos:`728_4v`,className:T(`Ad`)}):null,t===11?(0,w.jsx)(d.Slot,{pos:`728_5v`,className:T(`Ad`)}):null]},`h-`+t),t[6]=r,t[7]=e),s=n.map(e),t[3]=n,t[4]=r,t[5]=s}else s=t[5];let c;return t[8]===s?c=t[9]:(c=(0,w.jsxs)(`div`,{"data-template":`home-page`,className:i,children:[a,(0,w.jsx)(`div`,{className:o,children:s})]}),t[8]=s,t[9]=c),c};y.Tall,v.ContributorFocused;var D=`cs-personalize-user-uid`,O=`cs-personalize-variant-uid`,k=86400,A=e=>typeof document>`u`?!1:document.cookie.split(`; `).some(t=>t.startsWith(`${e}=`)),j=()=>{let e=crypto.randomUUID(),t=location.protocol===`https:`?`; Secure`:``;document.cookie=`${D}=${e}; Path=/; SameSite=Lax; Max-Age=${k}${t}`},M=e=>{let t=(0,S.c)(5),n=(0,C.useRef)(!1),{revalidate:r}=s(),i;t[0]!==e||t[1]!==r?(i=()=>{if(!e)return;let t=P,i=()=>{let e=`/api/personalize-variant?url=${encodeURIComponent(globalThis.location.href)}`;return fetch(e).then(F).then(e=>{let{variant:n}=e;n&&(r(),t())}).catch(I)};!n.current&&A(D)&&(n.current=!0,A(O)?t():i());let a=e=>{let{consent:t}=e;n.current||!t?.confirmed||A(O)||(A(D)||j(),n.current=!0,i())};c.push(a);let o=globalThis.jstag,s=()=>{n.current||!A(D)||A(O)||(n.current=!0,i())};return o?.on&&o.on(`identify`,s),()=>{let e=c.indexOf(a);e!==-1&&c.splice(e,1),o?.off?.(`identify`,s)}},t[0]=e,t[1]=r,t[2]=i):i=t[2];let a;t[3]===r?a=t[4]:(a=[r],t[3]=r,t[4]=a),(0,C.useEffect)(i,a)};function N(e){return console.error(`[usePersonalizeVariant] impression`,e)}function P(){fetch(`/api/personalize-impression`,{method:`POST`}).catch(N)}function F(e){return e.json()}function I(e){return console.error(`[usePersonalizeVariant]`,e)}var L=({loaderData:e})=>{if(!e||!e.seo)return[];let t=e.modules?.find(e=>e.type===`module_featured`)?.data,n=[],r=[];if(t){let{variant:e,features:i,rectangleAdPos:a}=t,o=e===`recent`&&!a?5:3;if(n=(i??[]).slice(0,o).map(e=>e.thumbnail?.src),n.length)if(e===`recent`){let e=l({urls:[n[0]]}),t=l({urls:n.slice(1),options:{width:300}});r=[...e,...t]}else r=l({urls:n})}return p({seo:e.seo,contentType:m.WEBSITE,schema:e.schema,imagesToPreload:r})},R={getMeta:L},z=o(function(){let e=(0,S.c)(17),t=a(),n=t.ruid,r;e[0]===t?r=e[1]:(r=L({loaderData:t}),e[0]=t,e[1]=r),h(n,r);let{authenticationStatus:o}=i(),s=(0,C.useRef)(`/`),c=(0,C.useRef)(`/`),l;e[2]===Symbol.for(`react.memo_cache_sentinel`)?(l=()=>{window.location.pathname===`/`?c.current!==`/`&&(s.current=c.current,c.current=window.location.pathname):c.current=window.location.pathname},e[2]=l):l=e[2],(0,C.useEffect)(l);let d;e[3]===o?d=e[4]:(d={type:`homepage`,reg:o},e[3]=o,e[4]=d);let{adUnitPathCode:f}=u(d),p;e[5]===Symbol.for(`react.memo_cache_sentinel`)?(p=_.utils.getDestinationURL(),e[5]=p):p=e[5];let m;e[6]===f?m=e[7]:(m={adUnitPathCode:f,pageName:`Home Page`,destinationURL:p},e[6]=f,e[7]=m);let v;e[8]===Symbol.for(`react.memo_cache_sentinel`)?(v={pageType:`home page`},e[8]=v):v=e[8];
1let y=t.seo?.canonicalUrl,b=t.seo?.noIndex??!1,x;e[9]!==y||e[10]!==b?(x={seo:{canonicalURL:y,hideFromSearchEngines:b}},e[9]=y,e[10]=b,e[11]=x):x=e[11];let T;e[12]!==m||e[13]!==x?(T={pageInfo:m,category:v,attributes:x},e[12]=m,e[13]=x,e[14]=T):T=e[14],_.useLoadEvent(T),g(t),M(t.personalizationEnabled);let D;return e[15]===t?D=e[16]:(D=(0,w.jsx)(E,{...t}),e[15]=t,e[16]=D),D});export{R as n,L as r,z as t};
2//# sourceMappingURL=_index-CowjWv6D.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.