PageSourceSearch

https://www.thesukha.co/_next/static/chunks/app/post/%5Bslug%5D/pa…?dpl=dpl_AWnrCULW9LuugGqUydhLmwTpbZna

js thesukha.co collected 2026-10-03 20:54:19 UTC 9,672 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9627],{1182:(e,t,r)=>{"use strict";r.d(t,{default:()=>m});var s=r(5155),a=r(2115),l=r(2821),n=r(5889);let i=e=>{let{variant:t,size:r,className:s}=e;return function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return(0,n.QP)((0,l.$)(t))}("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",(e=>{switch(e){case"destructive":return"bg-destructive text-destructive-foreground hover:bg-destructive/90";case"outline":return"border border-input bg-background hover:bg-accent hover:text-accent-foreground";case"secondary":return"bg-secondary text-secondary-foreground hover:bg-secondary/80";case"ghost":return"hover:bg-accent hover:text-accent-foreground";case"link":return"text-primary underline-offset-4 hover:underline";default:return"bg-primary text-primary-foreground hover:bg-primary/90"}})(t),(e=>{switch(e){case"sm":return"h-9 rounded-md px-3";case"lg":return"h-11 rounded-md px-8";case"icon":return"h-10 w-10";default:return"h-10 px-4 py-2"}})(r),s)},o=a.forwardRef((e,t)=>{let{className:r,variant:a,size:l,...n}=e;return(0,s.jsx)("button",{className:i({variant:a,size:l,className:r}),ref:t,...n})});o.displayName="Button";var c=r(2619),d=r.n(c),h=r(2973),u=r(3435);let m=e=>{let{delayMs:t=11e3}=e,[r,l]=(0,a.useState)(0===t);return(0,a.useEffect)(()=>{if(0===t)return;let e=setTimeout(()=>{l(!0)},t);return()=>clearTimeout(e)},[t]),(0,s.jsxs)("header",{className:"w-full px-4 py-3 flex justify-between items-center sticky top-0 z-50 transition-opacity duration-5000 ".concat(r?"opacity-100":"opacity-0"),children:[(0,s.jsx)("div",{className:"absolute inset-0 bg-gradient-to-b from-black/50 via-black/30 to-transparent backdrop-blur-sm -z-10"}),(0,s.jsx)("div",{className:"flex items-center",children:(0,s.jsx)(d(),{href:"/",children:(0,s.jsx)("img",{src:"/assets/SukhaCircleS.webp",alt:"The Sukha Company",className:"h-14 w-auto"})})}),(0,s.jsxs)("div",{className:"flex items-center gap-4",children:[(0,s.jsx)("a",{href:u.oO,"data-cta":"header-login",className:"text-white hover:text-sukha",onClick:e=>{e.preventDefault(),(0,h.u4)("110a-uv_clicks_login_header",{location:"header"}),setTimeout(()=>{window.location.href=(0,u.wR)("header-login")},100)},children:"Login"}),(0,s.jsx)("a",{href:"https://calendly.com/steven-sukha/25min",className:i({className:"bg-[#FFBE58] hover:bg-[#e6ab4f] text-white rounded-md"}),children:"Book a 1:1 Demo"}),(0,s.jsx)(o,{className:"sukha-bg hover:bg-emerald-600 text-white rounded-md","data-cta":"header",onClick:()=>{(0,h.u4)("120a-uv_clicks_claim_trial_header",{location:"header"}),setTimeout(()=>{window.location.href=(0,u.wR)("header")},100)},children:"Claim your Free Trial"})]})]})}},1226:()=>{},5016:(e,t,r)=>{"use strict";r.d(t,{default:()=>o});var s=r(5155),a=r(2115),l=r(5239),n=r(2619),i=r.n(n);function o(e){let{posts:t}=e,r=(0,a.useRef)(null),n=(0,a.useRef)(null),[o,c]=(0,a.useState)(!1),[d,h]=(0,a.useState)(!1),u=(0,a.useCallback)(()=>{let e=r.current,t=n.current;if(!e||!t)return 0;let s=t.offsetWidth,a=window.getComputedStyle(e),l=parseFloat(a.gap||a.columnGap||"0");return s+(Number.isFinite(l)?l:0)},[]),m=(0,a.useCallback)(()=>{let e=r.current;if(!e)return;let t=e.scrollLeft,s=e.scrollWidth-e.clientWidth;c(t>0),h(t<s-1)},[]);(0,a.useEffect)(()=>{m()},[t.length,m]),(0,a.useEffect)(()=>{let e=r.current;if(!e)return;let t=()=>m();return e.addEventListener("scroll",t,{passive:!0}),()=>e.removeEventListener("scroll",t)},[m]);let f=(0,a.useCallback)(()=>{let e=r.current;if(!e)return;let t=u();if(t<=0)return;let s=Math.max(1,Math.round(e.clientWidth/t)),a=t*Math.min(3,s);e.scrollBy({left:a,behavior:"smooth"})},[u]),x=(0,a.useCallback)(()=>{let e=r.current;if(!e)return;let t=u();if(t<=0)return;let s=Math.max(1,Math.round(e.clientWidth/t)),a=t*Math.min(3,s);e.scrollBy({left:-a,behavior:"smooth"})},[u]);return t.length?(0,s.jsx)("section",{className:"py-16 px-4",style:{backgroundColor:"#000000"},children:(0,s.jsxs)("div",{className:"max-w-7xl mx-auto",children:[(0,s.jsx)("div",{className:"mb-8",children:(0,s.jsxs)("h2",{className:"text-3xl font-light text-white text-center",children:["More from ",(0,s.jsx)("em",{className:"italic",children:"The Sukha Blog"})]})}),(0,s.jsxs)("div",{className:"relative max-w-[1040px] mx-auto",children:[(0,s.jsx)("button",{onClick:x,disabled:!o,className:"absolute -left-16 top-1/2 -translate-y-1/2 z-10 bg-white/90 hover:bg-white rounded-full p-2 shadow-lg transition-all duration-200 hover:scale-110 disabled:opacity-50 disabled:cursor-not-allowed","aria-label":"Scroll left",children:(0,s.jsx)("svg",{className:"w-5 h-5 text-gray-700",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,s.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M15 19l-7-7 7-7"})})}),(0,s.jsx)("button",{onClick:f,disabled:!d,className:"absolute -right-6 top-1/2 -translate-y-1/2 z-10 bg-white/90 hover:bg-white rounded-full p-2 shadow-lg transition-all duration-200 hover:scale-110 disabled:opacity-50 disabled:cursor-not-allowed","aria-label":"Scroll right",children:(0,s.jsx)("svg",{className:"w-5 h-5 text-gray-700",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,s.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M9 5l7 7-7 7"})})}),(0,s.jsx)("div",{className:"relative w-full overflow-x-auto overflow-y-hidden py-4 snap-x snap-mandatory custom-scrollbar",ref:r,children:(0,s.jsx)("div",{className:"flex gap-6 items-start",children:t.map((e,t)=>(0,s.jsx)(i(),{href:"news"===e.content.blog_or_news?"/post/".concat(e.slug,"?from=news"):"/p
1ost/".concat(e.slug),className:"group flex-shrink-0 snap-start",ref:0===t?n:void 0,children:(0,s.jsxs)("div",{className:"bg-white rounded-2xl overflow-hidden shadow-sm hover:shadow-lg transition-shadow duration-300 w-80 h-[335px] flex flex-col",children:[(0,s.jsx)("div",{className:"relative aspect-[16/10] overflow-hidden flex-shrink-0",children:(()=>{let t=e.content.featured_image,r="";if("string"==typeof t&&t.trim())r=t.startsWith("http")?t:"https:".concat(t);else t&&"object"==typeof t&&null!==t&&"filename"in t&&"string"==typeof t.filename&&t.filename.trim().length>0&&(r=t.filename.startsWith("http")?t.filename:"https:".concat(t.filename));return r?(0,s.jsx)(l.default,{src:r,alt:e.content.title,fill:!0,className:"object-cover group-hover:scale-105 transition-transform duration-300",onError:r=>{console.warn("Failed to load image for post: ".concat(e.content.title),t),r.currentTarget.style.display="none"}}):(0,s.jsx)("div",{className:"w-full h-full bg-gradient-to-br from-emerald-100 to-emerald-200 flex items-center justify-center",children:(0,s.jsx)("span",{className:"text-emerald-600 font-medium",children:e.content.title.charAt(0)})})})()}),(0,s.jsx)("div",{className:"px-6 py-8 flex-1 flex flex-col justify-between min-h-[120px]",children:(0,s.jsx)("h3",{className:"font-light text-xl text-gray-900 leading-tight group-hover:text-emerald-600 transition-colors line-clamp-3",children:e.content.title})})]})},"".concat(e.id,"-").concat(t)))})})]})]})}):null}},8455:(e,t,r)=>{"use strict";r.d(t,{default:()=>l});var s=r(5155),a=r(2115);let l=e=>{let{delayMs:t=0}=e,[r,l]=(0,a.useState)(0===t);(0,a.useEffect)(()=>{if(0===t)return;let e=setTimeout(()=>l(!0),t);return()=>clearTimeout(e)},[t]);let n=new Date().getFullYear();return(0,s.jsxs)("footer",{className:"w-full py-6 text-white relative transition-opacity duration-5000 ".concat(r?"opacity-100":"opacity-0"),children:[(0,s.jsx)("div",{className:"absolute inset-0 bg-gradient-to-t from-black/50 via-black/30 to-transparent backdrop-blur-sm -z-10"}),(0,s.jsx)("div",{className:"container mx-auto px-4 max-w-6xl relative z-10",children:(0,s.jsxs)("div",{className:"flex flex-col md:flex-row justify-between items-center",children:[(0,s.jsx)("div",{className:"mb-4 md:mb-0",children:(0,s.jsxs)("p",{className:"text-sm",children:["\xa9 ",n," Sukha, Inc.\xa0\xa0",(0,s.jsx)("a",{href:"https://www.thesukha.co/terms",className:"text-sm",children:"Terms"}),"\xa0\xa0 ",(0,s.jsx)("a",{href:"https://www.thesukha.co/privacy",className:"text-sm",children:"Privacy"})]})}),(0,s.jsxs)("div",{className:"mb-4 md:mb-0",children:[(0,s.jsx)("a",{href:"https://www.thesukha.co/blog",className:"text-sm text-white",children:"The Sukha Blog"}),(0,s.jsx)("span",{className:"text-sm text-gray-400",children:"\xa0\xa0\xa0\xa0\xa0\xa0\xa0"}),(0,s.jsx)("a",{href:"https://www.thesukha.co/news",className:"text-sm text-white",children:"Industry News"}),(0,s.jsx)("span",{className:"text-sm text-gray-400",children:"\xa0\xa0\xa0\xa0\xa0\xa0\xa0"}),(0,s.jsx)("a",{href:"https://www.thesukha.co/blog/archive",className:"text-sm text-white",children:"All Posts"})]}),(0,s.jsx)("div",{className:"flex flex-wrap gap-6",children:(0,s.jsx)("a",{href:"mailto:[email protected]",className:"text-sm hover:text-sukha",children:"Contact Us"})})]})})]})}},9621:e=>{e.exports={style:{fontFamily:"'Raleway', 'Raleway Fallback'"},className:"__className_22ac5b"}},9794:(e,t,r)=>{Promise.resolve().then(r.t.bind(r,1226,23)),Promise.resolve().then(r.t.bind(r,2619,23)),Promise.resolve().then(r.t.bind(r,1356,23)),Promise.resolve().then(r.t.bind(r,9621,23)),Promise.resolve().then(r.bind(r,5016)),Promise.resolve().then(r.bind(r,8455)),Promise.resolve().then(r.bind(r,1182))}},e=>{e.O(0,[9263,2619,5521,5239,3435,8441,1255,7358],()=>e(e.s=9794)),_N_E=e.O()}]);

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.