1(function(){try{var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{};e.SENTRY_RELEASE={id:`v5.20260924.1202-production.4880d64`};var t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`67c9f2bc-5ca3-4578-9ed0-57c6845d30dc`,e._sentryDebugIdIdentifier=`sentry-dbid-67c9f2bc-5ca3-4578-9ed0-57c6845d30dc`)}catch{}})();import{a as e}from"./rolldown-runtime-kRBrHsR4.js";import{t}from"./react-Du8R2vNm.js";import{t as n}from"./link-94cF4E02.js";import{t as r}from"./jsx-runtime-Dgr2IFzZ.js";import{t as i}from"./compiler-runtime-BerNLI5p.js";import{t as a}from"./utils-SGDdDKov.js";import{t as o}from"./react-CkxKRHz7.js";import{t as s}from"./secondary-hero-bg-1920w-WDOVxorG.js";import{Ci as c}from"./index-BGY0Ij9o.js";import{t as l}from"./support-blob-CgpbXii9.js";import{n as u,r as d,t as f}from"./article-card-Bymx0r2t.js";var p=e(t()),m=i(),h=function(e){return e.DOCUMENT=`document`,e.PARAGRAPH=`paragraph`,e.HEADING_1=`heading-1`,e.HEADING_2=`heading-2`,e.HEADING_3=`heading-3`,e.HEADING_4=`heading-4`,e.HEADING_5=`heading-5`,e.HEADING_6=`heading-6`,e.OL_LIST=`ordered-list`,e.UL_LIST=`unordered-list`,e.LIST_ITEM=`list-item`,e.HR=`hr`,e.QUOTE=`blockquote`,e.EMBEDDED_ENTRY=`embedded-entry-block`,e.EMBEDDED_ASSET=`embedded-asset-block`,e.EMBEDDED_RESOURCE=`embedded-resource-block`,e.TABLE=`table`,e.TABLE_ROW=`table-row`,e.TABLE_CELL=`table-cell`,e.TABLE_HEADER_CELL=`table-header-cell`,e}({}),g=function(e){return e.ASSET_HYPERLINK=`asset-hyperlink`,e.EMBEDDED_ENTRY=`embedded-entry-inline`,e.EMBEDDED_RESOURCE=`embedded-resource-inline`,e.ENTRY_HYPERLINK=`entry-hyperlink`,e.HYPERLINK=`hyperlink`,e.RESOURCE_HYPERLINK=`resource-hyperlink`,e}({}),_=function(e){return e.BOLD=`bold`,e.ITALIC=`italic`,e.UNDERLINE=`underline`,e.CODE=`code`,e.SUPERSCRIPT=`superscript`,e.SUBSCRIPT=`subscript`,e.STRIKETHROUGH=`strikethrough`,e}({}),v=[h.PARAGRAPH,h.HEADING_1,h.HEADING_2,h.HEADING_3,h.HEADING_4,h.HEADING_5,h.HEADING_6,h.OL_LIST,h.UL_LIST,h.HR,h.QUOTE,h.EMBEDDED_ENTRY,h.EMBEDDED_ASSET,h.EMBEDDED_RESOURCE,h.TABLE],y=[h.PARAGRAPH,h.HEADING_1,h.HEADING_2,h.HEADING_3,h.HEADING_4,h.HEADING_5,h.HEADING_6,h.OL_LIST,h.UL_LIST,h.HR,h.QUOTE,h.EMBEDDED_ENTRY,h.EMBEDDED_ASSET,h.EMBEDDED_RESOURCE];h.TABLE,h.TABLE_ROW,h.TABLE_CELL,h.TABLE_HEADER_CELL,h.HR,h.EMBEDDED_ENTRY,h.EMBEDDED_ASSET,h.EMBEDDED_RESOURCE;var b={[h.OL_LIST]:[h.LIST_ITEM],[h.UL_LIST]:[h.LIST_ITEM],[h.LIST_ITEM]:y,[h.QUOTE]:[h.PARAGRAPH],[h.TABLE]:[h.TABLE_ROW],[h.TABLE_ROW]:[h.TABLE_CELL,h.TABLE_HEADER_CELL],[h.TABLE_CELL]:[h.PARAGRAPH,h.UL_LIST,h.OL_LIST],[h.TABLE_HEADER_CELL]:[h.PARAGRAPH]},x=[h.HEADING_1,h.HEADING_2,h.HEADING_3,h.HEADING_4,h.HEADING_5,h.HEADING_6];[h.PARAGRAPH,...x],h.DOCUMENT,h.PARAGRAPH,h.HEADING_1,h.HEADING_2,h.HEADING_3,h.HEADING_4,h.HEADING_5,h.HEADING_6,h.OL_LIST,h.UL_LIST,h.LIST_ITEM,h.HR,h.QUOTE,h.EMBEDDED_ENTRY,h.EMBEDDED_ASSET,g.HYPERLINK,g.ENTRY_HYPERLINK,g.ASSET_HYPERLINK,g.EMBEDDED_ENTRY,_.BOLD,_.CODE,_.ITALIC,_.UNDERLINE,h.DOCUMENT,h.PARAGRAPH;function S(e){return e.nodeType===`text`}function C(e){if(e.nodeType!==h.PARAGRAPH||e.content.length!==1)return!1;let t=e.content[0];return t.nodeType===`text`&&t.value===``}function w(e){return typeof e==`object`&&!!e&&`content`in e&&Array.isArray(e.content)}var T=2;function E(e){if(!w(e)||e.content.length<T)return e;let t=e.content[e.content.length-1];return C(t)?{...e,content:e.content.slice(0,-1)}:e}var D=({path:e,property:t,typeName:n,value:r})=>({details:`The type of "${t}" is incorrect, expected type: ${n}`,name:`type`,path:e.toArray(),type:n,value:r}),O=({min:e,value:t,path:n})=>({name:`size`,min:e,path:n.toArray(),details:`Size must be at least ${e}`,value:t}),k=({max:e,value:t,path:n})=>({name:`size`,max:e,path:n.toArray(),details:`Size must be at most ${e}`,value:t}),ee=({expected:e,value:t,path:n})=>({details:`Value must be one of expected values`,name:`in`,expected:[...e].sort(),path:n.toArray(),value:t}),te=({property:e,path:t})=>({details:`The property "${e}" is not expected`,name:`unexpected`,path:t.toArray()}),ne=({property:e,path:t})=>({details:`The property "${e}" is required here`,name:`required`,path:t.toArray()}),A=class{obj;path;_errors=[];constructor(e,t){this.obj=e,this.path=t}catch=(...e)=>{this._errors.push(...e)};get errors(){let e=e=>JSON.stringify({details:e.details,path:e.path});
1return this._errors.filter((t,n)=>this._errors.findIndex(n=>e(t)===e(n))===n)}exists=e=>e in this.obj?!0:(this.catch(ne({property:e,path:this.path.of(e)})),!1);object=e=>{let t=e?this.obj[e]:this.obj;if(e&&!this.exists(e))return!1;if(typeof t==`object`&&!Array.isArray(t)&&t!==null)return!0;let n=e?this.path.of(e):this.path,r=e??this.path.last()??`value`;return this.catch(D({typeName:`Object`,property:r,path:n,value:t})),!1};string=e=>{let t=this.obj[e];return e&&!this.exists(e)?!1:typeof t==`string`?!0:(this.catch(D({typeName:`String`,property:e,path:this.path.of(e),value:t})),!1)};number=(e,t)=>{let n=this.obj[e];return t&&!(e in this.obj)?!0:this.exists(e)?typeof n==`number`&&!Number.isNaN(n)?!0:(this.catch(D({typeName:`Number`,property:e,path:this.path.of(e),value:n})),!1):!1};array=e=>{let t=this.obj[e];return e&&!this.exists(e)?!1:Array.isArray(t)?!0:(this.catch(D({typeName:`Array`,property:e,path:this.path.of(e),value:t})),!1)};enum=(e,t)=>{let n=this.obj[e];return typeof n==`string`&&t.includes(n)?!0:(this.catch(ee({expected:t,value:n,path:this.path.of(e)})),!1)};empty=e=>{if(!this.array(e))return!1;let t=this.obj[e];return t.length===0?!0:(this.catch(k({max:0,value:t,path:this.path.of(e)})),!1)};minLength=(e,t)=>{if(!this.array(e))return!1;let n=this.obj[e];return n.length>=t?!0:(this.catch(O({min:t,value:n,path:this.path.of(e)})),!1)};noAdditionalProperties=e=>{let t=Object.keys(this.obj).sort().filter(t=>!e.includes(t));return t.forEach(e=>this.catch(te({property:e,path:this.path.of(e)}))),t.length===0};each=(e,t)=>{if(!this.array(e))return;let n=this.obj[e],r=!1;n.forEach((n,i)=>{if(r)return;let a=t(n,this.path.of(e).of(i));a.length>0&&(r=!0),this.catch(...a)})}},j=[],M=class{contentRule;validateData;constructor(e,t){this.contentRule=e,this.validateData=t}assert(e,t){let n=new A(e,t);if(!n.object())return n.errors;n.noAdditionalProperties([`nodeType`,`data`,`content`]);let{nodeTypes:r,min:i=0}=Array.isArray(this.contentRule)?{nodeTypes:this.contentRule}:this.contentRule(e,t);if(r.length===0&&i>0)throw Error(`Invalid content rule. Cannot have enforce a 'min' of ${i} with no nodeTypes`);if(n.minLength(`content`,i),r.length===0?n.empty(`content`):n.each(`content`,(e,t)=>{let n=new A(e,t);return n.object()&&n.enum(`nodeType`,r),n.errors}),n.object(`data`)){let r=this.validateData?.(e.data,t.of(`data`))??[];n.catch(...r)}return n.errors}},N=class extends M{linkType;type;constructor(e,t){super(t,(e,t)=>this.assertLink(e,t)),this.linkType=e,this.type=this.linkType.startsWith(`Contentful:`)?`ResourceLink`:`Link`}assertLink=(e,t)=>{let n=new A(e,t);if(n.object(`target`)){let r=new A(e.target.sys,t.of(`target`).of(`sys`));r.object()&&(r.enum(`type`,[this.type]),r.enum(`linkType`,[this.linkType]),this.type===`Link`?(r.string(`id`),r.noAdditionalProperties([`type`,`linkType`,`id`])):this.type===`ResourceLink`&&(r.string(`urn`),r.noAdditionalProperties([`type`,`linkType`,`urn`]))),n.catch(...r.errors)}return n.noAdditionalProperties([`target`]),n.errors}},P=class extends M{constructor(){super([`text`],(e,t)=>this.assertLink(e,t))}assertLink=(e,t)=>{let n=new A(e,t);return n.string(`uri`),n.noAdditionalProperties([`uri`]),n.errors}},F=(e,t)=>new M(e,t),I=(e,t)=>new N(e,t);F([...Object.values(g),`text`].sort()),F([h.LIST_ITEM]),I(`Entry`,j),F(()=>({nodeTypes:[h.PARAGRAPH],min:1}),(e,t)=>{let n=new A(e,t);return n.noAdditionalProperties([`colspan`,`rowspan`]),n.number(`colspan`,!0),n.number(`rowspan`,!0),n.errors}),h.DOCUMENT,F(v),h.PARAGRAPH,h.HEADING_1,h.HEADING_2,h.HEADING_3,h.HEADING_4,h.HEADING_5,h.HEADING_6,h.QUOTE,F(b[h.QUOTE]),h.EMBEDDED_ENTRY,h.EMBEDDED_ASSET,I(`Asset`,j),h.EMBEDDED_RESOURCE,I(`Contentful:Entry`,j),h.HR,F(j),h.OL_LIST,h.UL_LIST,h.LIST_ITEM,F([...y].sort()),h.TABLE,F(()=>({nodeTypes:[h.TABLE_ROW],min:1})),h.TABLE_ROW,F(()=>({nodeTypes:[h.TABLE_CELL,h.TABLE_HEADER_CELL],min:1})),h.TABLE_CELL,h.TABLE_HEADER_CELL,g.HYPERLINK,new P,g.EMBEDDED_ENTRY,g.EMBEDDED_RESOURCE,I(`Contentful:Entry`,j),g.ENTRY_HYPERLINK,I(`Entry`,[`text`]),g.ASSET_HYPERLINK,I(`Asset`,[`text`]),g.RESOURCE_HYPERLINK,I(`Contentful:Entry`,[`text`]);function re(e,t){return(0,p.isValidElement)(e)&&e.key===null?(0,p.cloneElement)(e,{key:t}):e}function ie(e,t){return e.map((e,n)=>re(L(e,t),n))}function L(e,t){let{renderNode:n,renderMark:r,renderText:i,preserveWhitespace:a}=t;if(S(e)){let t=i?i(e.value):e.value;if(a&&!i){t=t.replace(/ {2,}/g,e=>`\xA0`.repeat(e.length));let e=t.split(` 2`),n=[];e.forEach((t,r)=>{n.push(t),r!==e.length-1&&n.push(p.createElement(`br`,null))}),t=n}return e.marks.reduce((e,t)=>
2r[t.type]?r[t.type](e):e,t)}else{let r=ie(e.content,t);return!e.nodeType||!n[e.nodeType]?p.createElement(p.Fragment,null,r):n[e.nodeType](e,r)}}var R={[h.DOCUMENT]:(e,t)=>t,[h.PARAGRAPH]:(e,t)=>p.createElement(`p`,null,t),[h.HEADING_1]:(e,t)=>p.createElement(`h1`,null,t),[h.HEADING_2]:(e,t)=>p.createElement(`h2`,null,t),[h.HEADING_3]:(e,t)=>p.createElement(`h3`,null,t),[h.HEADING_4]:(e,t)=>p.createElement(`h4`,null,t),[h.HEADING_5]:(e,t)=>p.createElement(`h5`,null,t),[h.HEADING_6]:(e,t)=>p.createElement(`h6`,null,t),[h.EMBEDDED_ENTRY]:(e,t)=>p.createElement(`div`,null,t),[h.EMBEDDED_RESOURCE]:(e,t)=>p.createElement(`div`,null,t),[h.UL_LIST]:(e,t)=>p.createElement(`ul`,null,t),[h.OL_LIST]:(e,t)=>p.createElement(`ol`,null,t),[h.LIST_ITEM]:(e,t)=>p.createElement(`li`,null,t),[h.QUOTE]:(e,t)=>p.createElement(`blockquote`,null,t),[h.HR]:()=>p.createElement(`hr`,null),[h.TABLE]:(e,t)=>p.createElement(`table`,null,p.createElement(`tbody`,null,t)),[h.TABLE_ROW]:(e,t)=>p.createElement(`tr`,null,t),[h.TABLE_HEADER_CELL]:(e,t)=>p.createElement(`th`,null,t),[h.TABLE_CELL]:(e,t)=>p.createElement(`td`,null,t),[g.ASSET_HYPERLINK]:e=>B(g.ASSET_HYPERLINK,e),[g.ENTRY_HYPERLINK]:e=>B(g.ENTRY_HYPERLINK,e),[g.RESOURCE_HYPERLINK]:e=>V(g.RESOURCE_HYPERLINK,e),[g.EMBEDDED_ENTRY]:e=>B(g.EMBEDDED_ENTRY,e),[g.EMBEDDED_RESOURCE]:(e,t)=>V(g.EMBEDDED_RESOURCE,e),[g.HYPERLINK]:(e,t)=>p.createElement(`a`,{href:e.data.uri},t)},z={[_.BOLD]:e=>p.createElement(`b`,null,e),[_.ITALIC]:e=>p.createElement(`i`,null,e),[_.UNDERLINE]:e=>p.createElement(`u`,null,e),[_.CODE]:e=>p.createElement(`code`,null,e),[_.SUPERSCRIPT]:e=>p.createElement(`sup`,null,e),[_.SUBSCRIPT]:e=>p.createElement(`sub`,null,e),[_.STRIKETHROUGH]:e=>p.createElement(`s`,null,e)};function B(e,t){return p.createElement(`span`,{key:t.data.target.sys.id},`type: `,t.nodeType,` id: `,t.data.target.sys.id)}function V(e,t){return p.createElement(`span`,{key:t.data.target.sys.urn},`type: `,t.nodeType,` urn: `,t.data.target.sys.urn)}function H(e,t={}){if(!e)return null;let n=e;return t.stripEmptyTrailingParagraph&&(n=E(e)),L(n,{renderNode:{...R,...t.renderNode},renderMark:{...z,...t.renderMark},renderText:t.renderText,preserveWhitespace:t.preserveWhitespace})}var U=r(),W=[480,768,1200,1600];function G(e){return e.toLowerCase().replace(/[^a-z0-9]+/g,`-`).replace(/^-+|-+$/g,``)}function K(e){return/^(https?:|mailto:|tel:)/i.test(e)?{href:e,external:/^https?:/i.test(e)}:e.startsWith(`/`)||e.startsWith(`#`)?{href:e,external:!1}:/^[a-z0-9-]+(\.[a-z0-9-]+)+(\/|$|\?|#)/i.test(e)?{href:`https://${e}`,external:!0}:{href:e,external:!1}}function q(e){return e.content.map(e=>e.nodeType===`text`?e.value:`content`in e?q(e):``).join(``)}function J(e){return typeof e==`string`&&/^[\w-]{10,12}$/.test(e)}var Y=new Set([`videoseries`,`live_stream`]);function ae(e){let t=e.searchParams.get(`start`)??e.searchParams.get(`t`);if(!t)return;if(/^\d+$/.test(t))return Number(t)||void 0;let n=t.match(/^(?:(\d+)h)?(?:(\d+)m)?(?:(\d+)s)?$/);if(!(!n||!(n[1]||n[2]||n[3])))return Number(n[1]??0)*3600+Number(n[2]??0)*60+Number(n[3]??0)||void 0}function oe(e){let t;try{t=new URL(e)}catch{return null}let n=e=>J(e)&&!Y.has(e)?{id:e,start:ae(t)}:null,r=t.hostname.replace(/^www\./i,``).toLowerCase();return r===`youtu.be`?n(t.pathname.split(`/`).filter(Boolean)[0]):r!==`youtube.com`&&r!==`m.youtube.com`&&r!==`youtube-nocookie.com`?null:t.pathname.toLowerCase()===`/watch`?n(t.searchParams.get(`v`)):n(t.pathname.match(/^\/(?:embed|shorts|v|live)\/([^/?#]+)/i)?.[1])}function se(e){let t=e.content.filter(e=>e.nodeType!==`text`||e.value.trim());if(t.length!==1)return null;let[n]=t;if(n.nodeType!==g.HYPERLINK)return null;let r=(n.data?.uri)?.trim();if(!r)return null;let i=q(n).trim();return i!==r&&i!==r.replace(/^https?:\/\//i,``)?null:oe(r)}function ce(e){let t=(0,m.c)(2),{video:n}=e,r=n.start?`?start=${n.start}`:``,i=`https://www.youtube.com/embed/${n.id}${r}`,a;return t[0]===i?a=t[1]:(a=(0,U.jsx)(`figure`,{className:`my-2 overflow-hidden rounded-xl bg-muted`,children:(0,U.jsx)(`iframe`,{src:i,title:`YouTube video player`,loading:`lazy`,allow:`accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share`,referrerPolicy:`strict-origin-when-cross-origin`,allowFullScreen:!0,className:`block aspect-video w-full border-0`})}),t[0]=i,t[1]=a),a}
2function X(e,t,n){let{href:r,external:i}=K(e.data?.uri??`#`);return(0,U.jsx)(`a`,{href:n?c(r,n):r,...i?{target:`_blank`,rel:`noopener noreferrer`}:{},className:`font-medium text-primary underline underline-offset-2 transition-colors hover:text-primary/80`,children:t})}var Z={renderMark:{[_.BOLD]:e=>(0,U.jsx)(`strong`,{className:`font-semibold text-foreground`,children:e}),[_.ITALIC]:e=>(0,U.jsx)(`em`,{className:`italic`,children:e}),[_.UNDERLINE]:e=>(0,U.jsx)(`span`,{className:`underline`,children:e}),[_.CODE]:e=>(0,U.jsx)(`code`,{className:`rounded bg-muted px-1.5 py-0.5 font-mono text-[0.85em] text-foreground`,children:e})},renderNode:{[h.PARAGRAPH]:(e,t)=>{let n=se(e);return n?(0,U.jsx)(ce,{video:n}):(0,U.jsx)(`p`,{className:`text-base leading-normal text-muted-foreground`,children:t})},[h.HEADING_2]:(e,t)=>(0,U.jsx)(`h2`,{id:G(q(e)),className:`scroll-mt-32 font-display text-[26px] font-semibold leading-[34px] tracking-[-0.01em] text-foreground sm:text-[30px] sm:leading-9`,children:t}),[h.HEADING_3]:(e,t)=>(0,U.jsx)(`h3`,{id:G(q(e)),className:`scroll-mt-32 text-lg font-semibold leading-normal text-foreground`,children:t}),[h.UL_LIST]:(e,t)=>(0,U.jsx)(`ul`,{className:`ml-5 flex list-disc flex-col gap-2 text-base leading-normal text-muted-foreground marker:text-muted-foreground/60`,children:t}),[h.OL_LIST]:(e,t)=>(0,U.jsx)(`ol`,{className:`ml-5 flex list-decimal flex-col gap-2 text-base leading-normal text-muted-foreground marker:text-muted-foreground/60`,children:t}),[h.LIST_ITEM]:(e,t)=>(0,U.jsx)(`li`,{className:`[&>p]:my-0 [&>p]:text-muted-foreground`,children:t}),[h.QUOTE]:(e,t)=>(0,U.jsx)(`blockquote`,{className:`border-l-2 border-primary/50 pl-5 text-base italic leading-normal text-foreground/80 [&>p]:text-foreground/80`,children:t}),[h.HR]:()=>(0,U.jsx)(`hr`,{className:`border-border/70`}),[h.TABLE]:(e,t)=>(0,U.jsx)(`div`,{className:`overflow-x-auto`,children:(0,U.jsx)(`table`,{className:`w-full border-collapse text-sm`,children:(0,U.jsx)(`tbody`,{children:t})})}),[h.TABLE_ROW]:(e,t)=>(0,U.jsx)(`tr`,{className:`border-b border-border/70`,children:t}),[h.TABLE_HEADER_CELL]:(e,t)=>(0,U.jsx)(`th`,{className:`border border-border/70 bg-muted/50 px-3 py-2 text-left align-top font-semibold text-foreground`,children:t}),[h.TABLE_CELL]:(e,t)=>(0,U.jsx)(`td`,{className:`border border-border/70 px-3 py-2 align-top text-muted-foreground`,children:t}),[h.EMBEDDED_ASSET]:e=>{let t=e.data?.target,n=t?.fields?.file,r=n?.url;if(!r)return null;let i=r.startsWith(`//`)?`https:${r}`:r,a=n?.details?.image,o=t?.fields?.description||t?.fields?.title||``,s=W.map(e=>`${i}?fm=webp&q=75&w=${e} ${e}w`).join(`, `);return(0,U.jsx)(`figure`,{className:`my-2 overflow-hidden rounded-xl bg-blue-50/40`,children:(0,U.jsx)(`img`,{src:`${i}?fm=webp&q=75&w=1200`,srcSet:s,sizes:`(min-width: 768px) 640px, 100vw`,alt:o,width:a?.width,height:a?.height,loading:`lazy`,decoding:`async`,className:`h-auto w-full`})})},[g.HYPERLINK]:(e,t)=>X(e,t)}};function le(e){return e?{...Z,renderNode:{...Z.renderNode,[g.HYPERLINK]:(t,n)=>X(t,n,e)}}:Z}function ue(e){let t=(0,m.c)(5),{document:n,postSlug:r}=e,i;t[0]===r?i=t[1]:(i=le(r),t[0]=r,t[1]=i);let a=i,o;return t[2]!==n||t[3]!==a?(o=H(n,a),t[2]=n,t[3]=a,t[4]=o):o=t[4],o}function Q(e){return e.content.map(e=>e.nodeType===`text`?e.value:`content`in e?Q(e):``).join(``)}function de(e){let t=[];for(let n of e.content){let e=n.nodeType===h.HEADING_2?0:n.nodeType===h.HEADING_3?1:null;if(e===null)continue;let r=Q(n).trim();r&&t.push({id:G(r),title:r,depth:e})}return t}function fe(e){let t=(0,m.c)(15),{items:n,topOffset:r}=e,i=r===void 0?120:r,s;t[0]===n[0]?.id?s=t[1]:(s=()=>n[0]?.id??``,t[0]=n[0]?.id,t[1]=s);let[c,l]=(0,p.useState)(s),u=(0,p.useRef)(null),d=(0,p.useRef)(null),f,h;t[2]!==n||t[3]!==i?(f=()=>{if(typeof window>`u`||n.length===0)return;let e=n.map(he),t=function(){if(u.current)return;let t=e.map(me).filter(pe);if(t.length===0)return;if(window.scrollY+window.innerHeight>=document.documentElement.scrollHeight-8){l(t[t.length-1].id);return}let n=i+32,r=e[0],a=-1/0,o=!1;for(let e of t){let t=e.getBoundingClientRect().top;t-n<=0&&t>a&&(a=t,r=e.id,o=!0)}if(!o){let e=1/0;for(let n of t){let t=n.getBoundingClientRect().top;t>0&&t<e&&(e=t,r=n.id)}}l(r)},r=0,a=function(){r&&cancelAnimationFrame(r),r=requestAnimationFrame(t)},o=function(){d.current&&window.clearTimeout(d.current),u.current=null,t()};return t(),window.addEventListener(`scroll`,a,{passive:!0}),window.addEventListener(`resize`,a),window.addEventListener(`scrollend`,o),()=>{window.removeEventListener(`scroll`,a),window.removeEventListener(`resize`,a),window.removeEventListener(`scrollend`,o),r&&c
2ancelAnimationFrame(r)}},h=[n,i],t[2]=n,t[3]=i,t[4]=f,t[5]=h):(f=t[4],h=t[5]),(0,p.useEffect)(f,h);let g,_,v;if(t[6]!==c||t[7]!==n){let e=function(e,t){let n=document.getElementById(t);n&&(e.preventDefault(),u.current=t,l(t),n.scrollIntoView({behavior:`smooth`,block:`start`}),history.replaceState(null,``,`#${t}`),d.current&&window.clearTimeout(d.current),d.current=window.setTimeout(()=>{u.current=null},1e3))};g=`Article sections`,_=`flex flex-col border-l border-border/60`,v=n.map(t=>{let{id:n,title:r,depth:i}=t,s=n===c;return(0,U.jsxs)(`a`,{href:`#${n}`,onClick:t=>e(t,n),className:a(`relative block py-1.5 text-xs leading-tight transition-colors`,i===0?`pl-4`:`pl-8`,s?`font-medium text-foreground`:`text-neutral-700 hover:text-foreground`),children:[s?(0,U.jsx)(o.span,{layoutId:`article-toc-indicator`,className:`absolute -left-px top-1/2 -mt-2 h-4 w-[2px] rounded-full bg-primary`,transition:{duration:.25,ease:[.22,1,.36,1]},"aria-hidden":`true`}):null,(0,U.jsx)(`span`,{className:`line-clamp-1`,children:r})]},n)}),t[6]=c,t[7]=n,t[8]=g,t[9]=_,t[10]=v}else g=t[8],_=t[9],v=t[10];let y;return t[11]!==g||t[12]!==_||t[13]!==v?(y=(0,U.jsx)(`nav`,{"aria-label":g,className:_,children:v}),t[11]=g,t[12]=_,t[13]=v,t[14]=y):y=t[14],y}function pe(e){return!!e}function me(e){return document.getElementById(e)}function he(e){return e.id}function ge(e){let t=(0,m.c)(42),{item:n}=e,r;t[0]===n.body?r=t[1]:(r=de(n.body),t[0]=n.body,t[1]=r);let i=r,a;t[2]===Symbol.for(`react.memo_cache_sentinel`)?(a=(0,U.jsx)(ye,{}),t[2]=a):a=t[2];let o;t[3]===n.type?o=t[4]:(o=(0,U.jsx)(u,{type:n.type}),t[3]=n.type,t[4]=o);let s;t[5]===n.publishedAt?s=t[6]:(s=d(n.publishedAt),t[5]=n.publishedAt,t[6]=s);let c;t[7]===s?c=t[8]:(c=(0,U.jsx)(`span`,{children:s}),t[7]=s,t[8]=c);let f;t[9]===Symbol.for(`react.memo_cache_sentinel`)?(f=(0,U.jsx)(`span`,{children:`·`}),t[9]=f):f=t[9];let p;t[10]===n.readMinutes?p=t[11]:(p=(0,U.jsxs)(`span`,{children:[n.readMinutes,` min read`]}),t[10]=n.readMinutes,t[11]=p);let h;t[12]!==o||t[13]!==c||t[14]!==p?(h=(0,U.jsxs)(`div`,{className:`flex items-center justify-center gap-3 text-xs text-neutral-500`,children:[o,c,f,p]}),t[12]=o,t[13]=c,t[14]=p,t[15]=h):h=t[15];let g;t[16]===n.title?g=t[17]:(g=(0,U.jsx)(`h1`,{className:`text-display-md sm:text-display-lg mt-6 text-foreground`,children:n.title}),t[16]=n.title,t[17]=g);let _;t[18]===n.excerpt?_=t[19]:(_=n.excerpt?(0,U.jsx)(`p`,{className:`mx-auto mt-6 max-w-[620px] text-lg leading-normal text-neutral-700`,children:n.excerpt}):null,t[18]=n.excerpt,t[19]=_);let v;t[20]===n.authors?v=t[21]:(v=n.authors.length>0?(0,U.jsx)(`div`,{className:`mt-7 flex items-center justify-center`,children:(0,U.jsx)($,{authors:n.authors})}):null,t[20]=n.authors,t[21]=v);let y;t[22]!==_||t[23]!==v||t[24]!==h||t[25]!==g?(y=(0,U.jsx)(`div`,{className:`relative mx-auto max-w-[1200px] px-6 pt-32 pb-16 sm:pt-36`,children:(0,U.jsxs)(`header`,{className:`mx-auto max-w-[820px] text-center`,children:[h,g,_,v]})}),t[22]=_,t[23]=v,t[24]=h,t[25]=g,t[26]=y):y=t[26];let b;t[27]!==n.featureImageUrl||t[28]!==n.title?(b=n.featureImageUrl?(0,U.jsx)(`div`,{className:`relative w-full overflow-x-clip`,children:(0,U.jsx)(`div`,{className:`mx-auto max-w-[1200px] px-6`,children:(0,U.jsxs)(`div`,{className:`relative mx-auto w-full max-w-[920px]`,children:[(0,U.jsx)(`img`,{src:l,alt:``,"aria-hidden":`true`,className:`pointer-events-none absolute -top-[100px] -right-[140px] w-[440px] max-w-none select-none`}),(0,U.jsx)(`img`,{src:l,alt:``,"aria-hidden":`true`,className:`pointer-events-none absolute -bottom-[150px] -left-[130px] w-[440px] max-w-none select-none`}),(0,U.jsx)(`div`,{className:`relative h-[280px] w-full overflow-hidden rounded-2xl bg-blue-50 sm:h-[400px]`,children:(0,U.jsx)(`img`,{src:n.featureImageUrl,alt:n.title,decoding:`async`,className:`size-full object-cover`})})]})})}):null,t[27]=n.featureImageUrl,t[28]=n.title,t[29]=b):b=t[29];let x;t[30]===i?x=t[31]:(x=i.length>0?(0,U.jsx)(`aside`,{className:`lg:-ml-8 lg:w-[220px] lg:shrink-0`,children:(0,U.jsx)(`div`,{className:`lg:sticky lg:top-[120px]`,children:(0,U.jsx)(fe,{items:i})})}):null,t[30]=i,t[31]=x);let S=n.type===`blog`?n.slug:void 0,C;t[32]!==n.body||t[33]!==S?(C=(0,U.jsx)(`div`,{className:`flex flex-1 flex-col gap-6 lg:max-w-[640px]`,children:(0,U.jsx)(ue,{document:n.body,postSlug:S})}),t[32]=n.body,t[33]=S,t[34]=C):C=t[34];let w;t[35]!==x||t[36]!==C?(w=(0,U.jsx)(`div`,{className:`relative z-10 mx-auto mt-16 max-w-[1200px] px-6 pb-20`,children:(0,U.jsxs)(`div`,{className:`flex flex-col gap-12 lg:flex-row lg:gap-28`,children:[x,C]})}),t[35]=x,t[36]=C,t[37]=w):w=t[37];let T;return t[38]!==y||t[39]!==b||t[40]!==w?(T=(0,U.jsxs)(`article`,{className:`relative bg-background`,children:[a,y,b,w]}),t[38]=y,t[39]=b,t[40]=w,t[41]=T):T=t[41],T}function $(e){let t=(0,m.c)(11),{authors:n}=e,r;t[0]===n?r=t[1]:(r=n.map(ve),t[0]=n,t[1]=r);let i;
2t[2]===r?i=t[3]:(i=(0,U.jsx)(`div`,{className:`flex -space-x-2`,children:r}),t[2]=r,t[3]=i);let a;t[4]===n?a=t[5]:(a=n.map(_e),t[4]=n,t[5]=a);let o;t[6]===a?o=t[7]:(o=(0,U.jsx)(`span`,{className:`text-sm text-muted-foreground`,children:a}),t[6]=a,t[7]=o);let s;return t[8]!==i||t[9]!==o?(s=(0,U.jsxs)(`div`,{className:`flex items-center gap-3`,children:[i,o]}),t[8]=i,t[9]=o,t[10]=s):s=t[10],s}function _e(e,t){return(0,U.jsxs)(p.Fragment,{children:[t>0?`, `:``,(0,U.jsx)(n,{to:`/blog/author/$slug`,params:{slug:e.slug},className:`transition-colors hover:text-foreground hover:underline`,children:e.name})]},e.slug)}function ve(e){return e.avatarUrl?(0,U.jsx)(`img`,{src:e.avatarUrl,alt:e.name,loading:`lazy`,decoding:`async`,className:`size-7 rounded-full border-2 border-background object-cover`},e.slug):(0,U.jsx)(`span`,{"aria-hidden":`true`,className:`grid size-7 place-items-center rounded-full border-2 border-background bg-blue-50 text-[11px] font-medium text-primary`,children:e.name.charAt(0)},e.slug)}function ye(){let e=(0,m.c)(2),t;e[0]===Symbol.for(`react.memo_cache_sentinel`)?(t=(0,U.jsx)(`img`,{src:s,alt:``,"aria-hidden":`true`,className:`block w-full select-none`}),e[0]=t):t=e[0];let n;return e[1]===Symbol.for(`react.memo_cache_sentinel`)?(n=(0,U.jsxs)(`div`,{className:`pointer-events-none absolute inset-x-0 top-[-60px] z-0 overflow-hidden`,children:[t,(0,U.jsx)(`div`,{className:`absolute inset-x-0 bottom-0 h-[55%]`,style:{background:`linear-gradient(0deg, var(--color-neutral-50) 0%, var(--color-neutral-50) 35%, rgba(250,249,247,0) 100%)`}})]}),e[1]=n):n=e[1],n}function be(e){let t=(0,m.c)(5),{items:n}=e;if(n.length===0)return null;let r;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(r=(0,U.jsxs)(`div`,{className:`flex flex-col items-center text-center`,children:[(0,U.jsx)(`span`,{className:`text-[11px] font-medium uppercase tracking-wide text-neutral-500`,children:`Keep reading`}),(0,U.jsx)(`h2`,{className:`font-display mt-2 text-[26px] font-semibold leading-9 tracking-[-0.02em] text-foreground sm:text-[30px]`,children:`More from Dex`})]}),t[0]=r):r=t[0];let i;t[1]===n?i=t[2]:(i=n.map(xe),t[1]=n,t[2]=i);let a;return t[3]===i?a=t[4]:(a=(0,U.jsx)(`section`,{className:`relative bg-background pt-8 pb-24`,children:(0,U.jsxs)(`div`,{className:`mx-auto max-w-[1100px] px-6`,children:[r,(0,U.jsx)(`div`,{className:`mt-10 grid gap-6 sm:grid-cols-2 lg:grid-cols-3`,children:i})]})}),t[3]=i,t[4]=a),a}function xe(e){return(0,U.jsx)(f,{item:e},e.slug)}export{ge as n,be as t};
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.