(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,505014,e=>{"use strict";var t=e.i(271645),r=e.i(871987),n=e.i(388973),i=e.i(396661);let o=(0,t.createContext)({}),u=(0,t.forwardRef)(({color:e,size:u,strokeWidth:l,absoluteStrokeWidth:a,className:s="",children:c,iconNode:f,...d},p)=>{let{size:m=24,strokeWidth:h=2,absoluteStrokeWidth:g=!1,color:b="currentColor",className:y=""}=(0,t.useContext)(o)??{},_=a??g?24*Number(l??h)/Number(u??m):l??h;return(0,t.createElement)("svg",{ref:p,...r.f,width:u??m??r.f.width,height:u??m??r.f.height,stroke:e??b,strokeWidth:_,className:(0,i.f)("lucide",y,s),...!c&&!(0,n.f)(d)&&{"aria-hidden":"true"},...d},[...f.map(([e,r])=>(0,t.createElement)(e,r)),...Array.isArray(c)?c:[c]])});e.s(["default",0,u],505014)},871987,388973,e=>{"use strict";e.s(["f",0,{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}],871987),e.s(["f",0,e=>{for(let t in e)if(t.startsWith("aria-")||"role"===t||"title"===t)return!0;return!1}],388973)},396661,e=>{"use strict";e.s(["f",0,(...e)=>e.filter((e,t,r)=>!!e&&""!==e.trim()&&r.indexOf(e)===t).join(" ").trim()])},522016,(e,t,r)=>{"use strict";e.i(247167),Object.defineProperty(r,"__esModule",{value:!0});var n={default:function(){return b},useLinkStatus:function(){return _}};for(var i in n)Object.defineProperty(r,i,{enumerable:!0,get:n[i]});let o=e.r(190809),u=e.r(843476),l=o._(e.r(271645)),a=e.r(195057),s=e.r(8372),c=e.r(818581),f=e.r(718967),d=e.r(405550),p=e.r(388540),m=e.r(91949),h=e.r(573668),g=e.r(509396);function b(t){var r;let n,i,o,[b,_]=(0,l.useOptimistic)(m.IDLE_LINK_STATUS),v=(0,l.useRef)(null),{href:w,as:S,children:A,prefetch:P=null,passHref:E,replace:N,shallow:O,scroll:C,onClick:k,onMouseEnter:x,onTouchStart:T,legacyBehavior:j=!1,onNavigate:M,transitionTypes:L,ref:I,unstable_dynamicOnHover:R,...$}=t;n=A,j&&("string"==typeof n||"number"==typeof n)&&(n=(0,u.jsx)("a",{children:n}));let D=l.default.useContext(s.AppRouterContext),F=!1!==P,U=!1===P?"none":!0===P?"full":"auto",W="none"!==U?"auto"===U?g.FetchStrategy.PPR:g.FetchStrategy.Full:g.FetchStrategy.PPR,B="string"==typeof(r=S||w)?r:(0,a.formatUrl)(r);if(j){if(n?.$$typeof===Symbol.for("react.lazy"))throw Error("`` received a direct child that is either a Server Component, or JSX that was loaded with React.lazy(). This is not supported. Either remove legacyBehavior, or make the direct child a Client Component that renders the Link's `` tag.");i=l.default.Children.only(n)}let z=j?i&&"object"==typeof i&&i.ref:I,K,J=l.default.useCallback(e=>(null!==D&&(v.current=(0,m.mountLinkInstance)(e,B,D,W,F,_,K)),()=>{v.current&&((0,m.unmountLinkForCurrentNavigation)(v.current),v.current=null),(0,m.unmountPrefetchableInstance)(e)}),[F,B,D,W,_,K]),V={ref:(0,c.useMergedRef)(J,z),onClick(t){j||"function"!=typeof k||k(t),j&&i.props&&"function"==typeof i.props.onClick&&i.props.onClick(t),!D||t.defaultPrevented||function(t,r,n,i,o,u,l,a="none"){if("u">typeof window){let s,{nodeName:c}=t.currentTarget;if("A"===c.toUpperCase()&&((s=t.currentTarget.getAttribute("target"))&&"_self"!==s||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.nativeEvent&&2===t.nativeEvent.which)||t.currentTarget.hasAttribute("download"))return;if(!(0,h.isLocalURL)(r)){i&&(t.preventDefault(),location.replace(r));return}if(t.preventDefault(),u){let e=!1;if(u({preventDefault:()=>{e=!0}}),e)return}let{navigate:f}=e.r(132916);f(r,i?"replace":"push",!1===o?p.ScrollBehavior.NoScroll:p.ScrollBehavior.Default,n.current,l,a)}}(t,B,v,N,C,M,L,U)},onMouseEnter(e){j||"function"!=typeof x||x(e),j&&i.props&&"function"==typeof i.props.onMouseEnter&&i.props.onMouseEnter(e),D&&F&&(0,m.onNavigationIntent)(e.currentTarget,!0===R)},onTouchStart:function(e){j||"function"!=typeof T||T(e),j&&i.props&&"function"==typeof i.props.onTouchStart&&i.props.onTouchStart(e),D&&F&&(0,m.onNavigationIntent)(e.currentTarget,!0===R)}};return(0,f.isAbsoluteUrl)(B)?V.href=B:j&&!E&&("a"!==i.type||"href"in i.props)||(V.href=(0,d.addBasePath)(B)),o=j?l.default.cloneElement(i,V):(0,u.jsx)("a",{...$,...V,children:n}),(0,u.jsx)(y.Provider,{value:b,children:o})}let y=(0,l.createContext)(m.IDLE_LINK_STATUS),_=()=>(0,l.useContext)(y);("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},818581,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"useMergedRef",{enumerable:!0,get:function(){return i}});let n=e.r(271645);function i(e,t){let r=(0,n.useRef)(null),i=(0,n.useRef)(null);return(0,n.useCallback)(n=>{if(null===n){let e=r.current;e&&(r.current=null,e());let t=i.current;t&&(i.current=null,t())}else e&&(r.current=o(e,n)),t&&(i.current=o(t,n))},[e,t])}function o(e,t){if("function"!=typeof e)return e.current=t,()=>{e.current=null};{let r=e(t);return"function"==typeof r?r:()=>e(null)}}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},195057,(e,t,r)=>{"use strict";e.i(247167),Object.defineProperty(r,"__esModule",{value:!0});var n={formatUrl:function(){return l},formatWithValidation:function(){return s},urlObjectKeys:function(){return a}};for(var i in n)Object.defineProperty(r,i,{enumerable:!0,get:n[i]});let o=e.r(190809)._(e.r(998183)),u=/https?|ftp|gopher|file/;function l(e){let{auth:t,hostname:r}=e,n=e.protocol||"",i=e.pathname||"",l=e.hash||"",a=e.query||"",s=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?s=t+e.host:r&&(s=t+(~r.indexOf(":")?`[${r}]`:r),e.port&&(s+=":"+e.port)),a&&"object"==typeof a&&(a=String(o.urlQueryToSearchParams(a)));let c=e.search||a&&`?${a}`||"";return n&&!n.endsWith(":")&&(n+=":"),e.slashes||(!n||u.test(n))&&!1!==s?(s="//"+(s||""),i&&"/"!==i[0]&&(i="/"+i)):s||(s=""),l&&"#"!==l[0]&&(l="#"+l),c&&"?"!==c[0]&&(c="?"+c),i=i.replace(/[?#]/g,encodeURIComponent),c=c.replace("#","%23"),`${n}${s}${i}${c}${l}`}let a=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function s(e){return l(e)}},573668,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"isLocalURL",{enumerable:!0,get:function(){return o}});let n=e.r(718967),i=e.r(652817);function o(e){if(!(0,n.isAbsoluteUrl)(e))return!0;try{let t=(0,n.getLocationOrigin)(),r=new URL(e,t);return r.origin===t&&(0,i.hasBasePath)(r.pathname)}catch(e){return!1}}},718967,(e,t,r)=>{"use strict";e.i(247167),Object.defineProperty(r,"__esModule",{value:!0});var n={DecodeError:function(){return b},MiddlewareNotFoundError:function(){return w},MissingStaticPage:function(){return v},NormalizeError:function(){return y},PageNotFoundError:function(){return _},SP:function(){return h},ST:function(){return g},WEB_VITALS:function(){return o},execOnce:function(){return u},getDisplayName:function(){return f},getLocationOrigin:function(){return s},getURL:function(){return c},isAbsoluteUrl:function(){return a},isResSent:function(){return d},loadGetInitialProps:function(){return m},normalizeRepeatedSlashes:function(){return p},stringifyError:function(){return S}};for(var i in n)Object.defineProperty(r,i,{enumerable:!0,get:n[i]});let o=["CLS","FCP","INP","LCP","TTFB"];function u(e){let t,r=!1;return(...n)=>(r||(r=!0,t=e(...n)),t)}let l=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,a=e=>{let t=e.charCodeAt(0);return!!(t>=65&&t<=90||t>=97&&t<=122)&&l.test(e)};function s(){let{protocol:e,hostname:t,port:r}=window.location;return`${e}//${t}${r?":"+r:""}`}function c(){let{href:e}=window.location,t=s();return e.substring(t.length)}function f(e){return"string"==typeof e?e:e.displayName||e.name||"Unknown"}function d(e){return e.finished||e.headersSent}function p(e){let t=e.split("?");return t[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(t[1]?`?${t.slice(1).join("?")}`:"")}async function m(e,t){let r=t.res||t.ctx&&t.ctx.res;if(!e.getInitialProps)return t.ctx&&t.Component?{pageProps:await m(t.Component,t.ctx)}:{};let n=await e.getInitialProps(t);if(r&&d(r))return n;if(!n)throw Error(`"${f(e)}.getInitialProps()" should resolve to an object. But found "${n}" instead.`);return n}let h="u">typeof performance,g=h&&["mark","measure","getEntriesByName"].every(e=>"function"==typeof performance[e]);class b extends Error{}class y extends Error{}class _ extends Error{constructor(e){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message=`Cannot find module for page: ${e}`}}class v extends Error{constructor(e,t){super(),this.message=`Failed to load static file for page: ${e} ${t}`}}class w extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}function S(e){return JSON.stringify({message:e.message,stack:e.stack})}},503765,647475,e=>{"use strict";let t=/\bChrome\/(\d+)\./,r=/\b(?:CriOS|EdgiOS|FxiOS|Electron)\//,n=/^Mozilla\/5\.0 \(Windows NT /,i=/^Mozilla\/5\.0 \(Macintosh;/;function o(e){return n.test(e)?"windows":i.test(e)?"mac":null}let u=new Map([["Windows","windows"],["macOS","mac"],["Linux","linux"],["Chrome OS","chromeos"],["Chromium OS","chromeos"],["Android","android"],["iOS","ios"],["Fuchsia","fuchsia"]]),l=new Set(["Mac OS X","MacIntel","MacPPC","Win32","Win64","WinCE","Linux x86_64","Linux i686","Linux armv7l","Linux armv8l","Linux aarch64","iPhone","iPad","iPod","X11"]);function a(e){return"string"!=typeof e?"":e.trim().replace(/^"|"$/g,"").trim()}function s(e){return u.get(a(e))??null}function c(e,t){if("string"!=typeof t||"string"!=typeof e)return null;if(l.has(a(t)))return"client-hints-word";let r=o(e);if(!r)return null;let n=s(t);return n?n===r?null:"client-hints-mismatch":null}function f(e,t,r){if("string"!=typeof e||"string"!=typeof t||!0!==r&&1!==r&&("string"!=typeof r||"?1"!==r.trim()))return null;let n=o(e);return n&&s(t)===n?"client-hints-mobile":null}let d=[" ","(",":","-",".","/",")",";","=","?","_"],p=["8","99","24"],m=/Not.A.Brand/,h=/"((?:[^"\\]|\\.)*)"\s*;\s*v\s*=\s*"((?:[^"\\]|\\.)*)"/g,g=/\bChrome\/(\d+)\./;function b(e){let{brand:t,version:r}=e;if(11!==t.length||!t.startsWith("Not")||"A"!==t[4]||!t.endsWith("Brand"))return!1;let n=d.indexOf(t[3]),i=d.indexOf(t[5]);return!(n<0)&&!(i<0)&&(n+1)%d.length===i&&p.includes(r)}function y(e){if("string"==typeof e){if("string"!=typeof e||""===e)return[];let t=[];for(let r of e.matchAll(h))t.push({brand:r[1].replace(/\\(.)/g,"$1"),version:r[2].replace(/\\(.)/g,"$1")});return t}if(!Array.isArray(e))return[];let t=[];for(let r of e){if(!r||"object"!=typeof r)continue;let{brand:e,version:n}=r;"string"==typeof e&&"string"==typeof n&&t.push({brand:e,version:n})}return t}function _(e,t){if("string"!=typeof e||!o(e))return null;let r=Number(g.exec(e)?.[1]);if(!Number.isFinite(r)||r<134)return null;let n=y(t).filter(e=>{var t;return t=e.brand,m.test(t)});return 0===n.length||n.every(b)?null:"client-hints-grease"}let v="Chromium",w=/^(\d+)(?:\.|$)/;function S(e,t){if("string"!=typeof e||!o(e))return null;let r=Number(g.exec(e)?.[1]);if(!Number.isFinite(r)||r<90)return null;let n=y(t),i=n.filter(e=>e.brand===v).map(e=>{var t;let r;return t=e.version,(r=w.exec(t))?Number(r[1]):null});return 0===i.length||n.some(e=>{var t;return e.brand!==v&&(t=e.brand,!m.test(t))})||i.some(e=>null===e||e===r)?null:"client-hints-brand-major"}e.s(["r",0,y,"g",0,S,"i",0,f,"G",0,c,"l",0,_],647475);let A=/\bChrome\/(\d+)\.(\d+)\.(\d+)\.(\d+)\b/,P=/^Mozilla\/5\.0 \((?:Windows NT|Macintosh;|X11;)/,E=/\bElectron\/|\bwv\b|\bMobile\b|\bAndroid\b|\bnwjs\/|\bQtWebEngine\/|Valve Steam|\bSpotify\/|coc_coc_browser\//,N=/\bWindows NT (?:5\.\d|6\.[0-3])\b/,O=/HeadlessChrome|Chrome-Lighthouse|\bLighthouse\/|PingdomPageSpeed|\bpingbot\b|Datadog\/Synthetics/i;e.s(["f",0,function(e){if(!e)return!1;if(!0===e.webdriver)return!0;let n="string"==typeof e.userAgent?e.userAgent:"";return""!==n&&(!!O.test(n)||null!==function(e){let t=A.exec(e);if(!t)return null;let r=Number(t[1]),n=Number(t[3]);return Number.isFinite(r)&&Number.isFinite(n)?N.test(e)&&r>109?"chrome-on-retired-windows":r>=101&&n>0&&P.test(e)&&!E.test(e)?"pinned-chromium":null:null}(n)||null!==c(n,e.userAgentData?.platform)||null!==f(n,e.userAgentData?.platform,e.userAgentData?.mobile)||null!==_(n,e.userAgentData?.brands)||null!==S(n,e.userAgentData?.brands)||null!==function(e,n){return null===function(e){if("string"!=typeof e||""===e||r.test(e))return null;let n=t.exec(e);if(!n)return null;let i=Number(n[1]);return!Number.isFinite(i)||i<90?null:i}(e)?null:""!==("string"!=typeof n?"":n.trim().replace(/^"|"$/g,"").trim())?null:"client-hints-absent"}(n,e.userAgentData?.platform))}],503765)},405240,686525,15942,e=>{"use strict";var t,r=e.i(247167),n=((t=n||{}).UTM_FIRST="utm_first",t.UTM_LAST="utm_last",t.FIRST_PAGE_VIEW="first_page",t.REFERRER_FIRST="referrer",t.ANON_ID="__evt_anon_id",t.SESSION_ID="__evt_session_id",t.KLAVIYO_PROFILE_ID="__kl_profile_id",t),i=["utm_source","utm_medium","utm_campaign","utm_id","utm_term","utm_content","utm_adgroup","gad_campaignid","gclid","wbraid","gbraid","fbclid","msclkid"],o="/api/events",u=null;function l(e){u={sourceApp:e.sourceApp,url:e.url??"",key:e.key??"",enabled:e.enabled??!1,timeoutMs:e.timeoutMs??5e3,trackEndpoint:e.trackEndpoint??o}}function a(e){if(!e||"string"!=typeof e)return null;try{let t=decodeURIComponent(e),r=JSON.parse(t);return"object"==typeof r&&null!==r?r:null}catch{return null}}function s(e){if(!e)return{};let t={};for(let r of i){let n=e[r];null!=n&&""!==String(n).trim()&&(t[r]=String(n))}return t}var c=/iPad|Android(?!.*Mobile)|Tablet/i,f=/Mobi|iPhone|Android/i;function d(e){try{let t=e();if("number"!=typeof t||!Number.isFinite(t)||t<0)return;return Math.min(65535,Math.round(t))}catch{return}}var p=null;function m(e,t={}){let{trackEndpoint:n}=u||{sourceApp:"",url:"",key:"",enabled:!1,timeoutMs:5e3,trackEndpoint:o},i={event_name:e,event_type:t.event_type??"track",page_title:"u">typeof document?document.title:void 0};t.properties&&Object.keys(t.properties).length>0&&(i.properties=t.properties);let l=function(){let e,t;if("u"window.innerWidth);void 0!==n&&(r.viewport_width=n);let i=d(()=>window.innerHeight);void 0!==i&&(r.viewport_height=i);let o=d(()=>window.screen.width);void 0!==o&&(r.screen_width=o);let u=d(()=>window.screen.height);void 0!==u&&(r.screen_height=u);try{let e=window.devicePixelRatio;"number"==typeof e&&Number.isFinite(e)&&e>0&&(r.device_pixel_ratio=Math.round(100*e)/100)}catch{}try{"string"==typeof navigator.userAgent&&(r.user_agent=e=navigator.userAgent.slice(0,512))}catch{}try{let e=navigator.userAgentData;e&&"object"==typeof e?(r.ua_platform="string"==typeof e.platform?e.platform.slice(0,128):null,"boolean"==typeof e.mobile?(t=e.mobile,r.ua_mobile=+!!e.mobile):r.ua_mobile=null):(r.ua_platform=null,r.ua_mobile=null)}catch{r.ua_platform=null,r.ua_mobile=null}try{r.is_automated=+(!0===navigator.webdriver)}catch{r.is_automated=0}return r.device_type=function(e,t){if(!0===e)return"mobile";if(t){if(c.test(t))return"tablet";if(f.test(t))return"mobile"}return"desktop"}(t,e),p=r,r}();l&&(i.device=l),fetch(n,{method:"POST",headers:{"Content-Type":"applicationhttps://www.cbtnuggets.com/json"},body:JSON.stringify(i),keepalive:!0}).catch(e=>{r.default})}var h=null;function g(){if("u"{let[r,...n]=t.split("="),i=r?.trim();i&&(e[i]=decodeURIComponent(n.join("=").trim()))}),e}e.s(["I",0,n,"u",0,l,"M",0,g,"Y",0,function(e,t){let r=`${e}${t}`,n=Date.now();return!!h&&h.key===r&&n-h.timestamp<250||(h={key:r,timestamp:n},!1)},"y",0,function(){var e;let t,r,n,i,o,u,l;return t=a((e=g()).utm_first),r=a(e.utm_last),n=e.first_page,i=e.referrer,o={...s(t),...n&&n.trim()?{landing_page:n.trim()}:{},...i&&i.trim()?{referrer:i.trim()}:{}},u=s(r),l={...o,...u,...void 0!==o.landing_page?{landing_page:o.landing_page}:{},...void 0!==o.referrer?{referrer:o.referrer}:{}},{first:o,last:u,merged:l}},"L",0,function(){var e=g().cbt_cookie_consent;if(!e)return{analytics:!1,marketing:!1,personalization:!1,functional:!1};try{let t=JSON.parse(decodeURIComponent(e));return{analytics:!0===t.analytics,marketing:!0===t.marketing,personalization:!0===t.personalization||!0===t.functional,functional:!0===t.functional,consent_timestamp:t.updatedAt?new Date(t.updatedAt).toISOString():t.timestamp?new Date(t.timestamp).toISOString():void 0}}catch{return{analytics:!1,marketing:!1,personalization:!1,functional:!1}}},"H",0,m],686525);var b=e.i(503765),y=e.i(647475);let _="synthetic_browser",v="cbtnuggets-public-2026";e.s(["Z",0,1e4,"Q",0,v],15942),l({sourceApp:v,trackEndpoint:"/api/events"}),e.s(["f",0,function(e,t={}){let r=void 0===globalThis.navigator?null:globalThis.navigator;m(e,{...t,properties:{...function(e){try{if(!e)return{[_]:!1};let t=e.userAgentData,r=!!t&&"object"==typeof t,n={userAgent:e.userAgent,webdriver:e.webdriver,userAgentData:r?{platform:t.platform,mobile:t.mobile,brands:t.brands}:t},i={[_]:(0,b.f)(n)};return r&&(i.ua_brands_js=function(e){if(!Array.isArray(e))return null;let t=(0,y.r)(e).map(({brand:e,version:t})=>`"${e}";v="${t}"`).join(", ");return t.length>160?t.slice(0,160):t}(n.userAgentData?.brands)??""),i}catch{return{[_]:"error"}}}(r),...t.properties}})}],405240)}]);