1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="ad9be0ac-0e79-8698-38a4-3fae2cab6a58")}catch(e){}}(); 2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,62974,e=>{"use strict";var t=e.i(390281),r=e.i(475861),i=e.i(682796),n=e.i(13829),s=e.i(530941);let o={primary:"bg-fg-hi text-bg-0 hover:bg-brand hover:text-fg-hi border border-transparent hover:border-brand hover:shadow-[0_10px_30px_-10px_var(--brand)]",ghost:"border border-hairline text-fg-hi hover:border-brand hover:text-brand-text hover:shadow-[0_10px_30px_-12px_rgba(0,0,0,0.6)]"};e.s(["MagneticButton",0,function({href:e,children:a,variant:l="primary",className:c}){let u=(0,i.useRef)(null);return(0,i.useEffect)(()=>{if("A"!==(0,n.detectTier)())return;let e=u.current;if(!e)return;let t=0,r=0,i=0,s=0,o=0,a=()=>{if(r+=(s-r)*.15,i+=(o-i)*.15,e.style.transform=`translate(${r.toFixed(2)}px, ${i.toFixed(2)}px)`,0===s&&0===o&&Math.abs(r)+Math.abs(i)<.1){t=0;return}t=requestAnimationFrame(a)},l=()=>{0===t&&(t=requestAnimationFrame(a))},c=()=>l(),d=t=>{let r=e.getBoundingClientRect(),i=(t.clientX-(r.left+r.width/2))*.2,n=(t.clientY-(r.top+r.height/2))*.2,a=Math.hypot(i,n);a>6&&(i=i/a*6,n=n/a*6),s=i,o=n,l()},f=()=>{s=0,o=0,l()};return e.addEventListener("pointerenter",c),e.addEventListener("pointermove",d),e.addEventListener("pointerleave",f),()=>{cancelAnimationFrame(t),e.removeEventListener("pointerenter",c),e.removeEventListener("pointermove",d),e.removeEventListener("pointerleave",f)}},[]),(0,t.jsx)(r.default,{ref:u,href:e,"data-cursor":!0,className:(0,s.cn)("inline-flex items-center justify-center gap-2 px-8 py-4 text-sm font-medium uppercase tracking-wide transition-[color,background-color,border-color,box-shadow] duration-200",o[l],c),children:a})}])},488444,e=>{"use strict";e.s(["getMediaUrl",0,(e,t)=>e?(t&&""!==t&&(t=encodeURIComponent(t)),t?`${e}?${t}`:e):""])},870937,e=>{"use strict";var t=e.i(390281),r=e.i(530941),i=e.i(368794),n=e.i(488444);let{breakpoints:s}={breakpoints:{"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640}};e.s(["ImageMedia",0,e=>{let o,a,{alt:l,fill:c,pictureClassName:u,imgClassName:d,priority:f,resource:p,size:m,src:h,loading:g}=e,x=l,b=h||"";if(!b&&p&&"object"==typeof p){let{alt:e,height:t,url:r,width:i}=p;o=i,a=t,x=e||"";let s=p.updatedAt;b=(0,n.getMediaUrl)(r,s)}let v=m||Object.entries(s).map(([,e])=>`(max-width: ${e}px) 100vw`).concat("100vw").join(", ");return(0,t.jsx)("picture",{className:(0,r.cn)(u),children:(0,t.jsx)(i.default,{alt:x||"",className:(0,r.cn)(d),fill:c,height:c?void 0:a,placeholder:f?"blur":"empty",blurDataURL:f?"data:image/png;base64,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":void 0,priority:f,fetchPriority:f?"high":void 0,quality:75,loading:g||(f?void 0:"lazy"),sizes:v,src:b,width:c?void 0:o})})}],870937)},122790,e=>{"use strict";var t=e.i(390281),r=e.i(530941),i=e.i(682796),n=e.i(488444);e.s(["VideoMedia",0,e=>{let{onClick:s,resource:o,videoClassName:a}=e,l=(0,i.useRef)(null);if((0,i.useEffect)(()=>{let{current:e}=l;if(!e)return;let t=window.matchMedia("(prefers-reduced-motion: no-preference)"),r=()=>{t.matches?e.play().catch(()=>{}):e.pause()};return r(),t.addEventListener("change",r),()=>t.removeEventListener("change",r)},[]),o&&"object"==typeof o){let{filename:e}=o;return(0,t.jsx)("video",{className:(0,r.cn)(a),controls:!1,loop:!0,muted:!0,onClick:s,playsInline:!0,preload:"metadata",ref:l,children:(0,t.jsx)("source",{src:(0,n.getMediaUrl)(`/media/${e}`)})})}return null}])},151641,e=>{"use strict";var t=e.i(390281),r=e.i(682796),i=e.i(870937),n=e.i(122790);e.s(["Media",0,e=>{let{className:s,htmlElement:o="div",resource:a}=e,l="object"==typeof a&&a?.mimeType?.includes("video"),c=o||r.Fragment;return(0,t.jsx)(c,{...null!==o?{className:s}:{},children:l?(0,t.jsx)(n.VideoMedia,{...e}):(0,t.jsx)(i.ImageMedia,{...e})})}])},670758,e=>{"use strict";var t=e.i(390281),r=e.i(530941),i=e.i(565601),n=e.i(682796);let s=function({external:e=!1,newTab:t=!1,scroll:r=!0}){let s=(0,i.useRouter)(),o=(0,n.useRef)(null),a=(0,n.useRef)(null),l=(0,n.useRef)(0),c=(0,n.useRef)(!1),u=(0,n.useRef)(0),d=(0,n.useCallback)(e=>{if(e.target){let t=e.target,r=+new Date,i=t?.closest("a");u.current=e.button,i?c.current=!0:(c.current=!1,l.current=r)}},[s,o,a,l]),f=(0,n.useCallback)(i=>{if(a.current?.href){let n=new Date-l.current;a.current?.href&&n<=250&&!c.current&&0===u.current&&!i.ctrlKey&&(e?window.open(a.current.href,t?"_blank":"_self"):s.push(a.current.href,{scroll:r}))}},[s,o,a,l]);return(0,n.useEffect)(()=>{let e=o.current,t=new AbortController;return e&&(e.addEventListener("mousedown",d,{signal:t.signal}),e.addEventListener("mouseup",f,{signal:t.signal})),()=>{t.abort()}},[o,a,s]),{cardRef:o,linkRef:a}};var o=e.i(475861),a=e.i(151641);let l={sm:"h-8 w-8 text-xs",md:"h-10 w-10 text-sm"},c=({author:e,size:i})=>{let n="object"==typeof e.photo?e.photo:null;return(0,t.jsx)("span",{className:(0,r.cn)("relative inline-block shrink-0 overflow-hidden rounded-full bg-bg-2 ring-2 ring-bg-0",l[i]),children:n?(0,t.jsx)(a.Media,{fill:!0,imgClassName:"object-cover",resource:n,size:"40px"}):(0,t.jsx)("span",{className:"flex h-full w-full items-center justify-center font-medium text-fg-mid",children:e.name?.charAt(0)?.toUpperCase()??"?"})})},u=({authors:e,size:i="md",className:n})=>{let s,a=(e??[]).filter(e=>"object"==typeof e&&null!==e);if(0===a.length)return null;let l=1===a.length?a[0]:null;return(0,t.jsxs)("div",{className:(0,r.cn)("flex items-center gap-3",n),children:[(0,t.jsx)("div",{className:"flex -space-x-2",children:a.slice(0,3).map(e=>(0,t.jsx)(o.default,{href:`/authors/${e.slug}`,"aria-label":e.name,children:(0,t.jsx)(c,{author:e,size:i})},e.id))}),(0,t.jsxs)("div",{className:"leading-tight",children:[(0,t.jsx)("p",{className:(0,r.cn)("font-medium","sm"===i?"text-sm":"text-base"),children:1===a.length&&l?(0,t.jsx)(o.default,{href:`/authors/${l.slug}`,className:"hover:underline",children:l.name}):0===(s=a.map(e=>e.name).filter(e=>!!e)).length?"":1===s.length?s[0]:2===s.length?`${s[0]} and ${s[1]}`:`${s.slice(0,-1).join(", ")} and ${s[s.length-1]}`}),l?.role&&(0,t.jsx)("p",{className:"text-sm text-fg-mid",children:l.role})]})]})},d=({publishedAt:e,readingTime:i,className:s,readingTimeSuffix:o="min read"})=>{let a,l,c,u,d,f,p=[];return(e&&p.push((0,t.jsx)("time",{dateTime:e,children:(a=new Date,e&&(a=new Date(e)),l=a.getMonth(),c=a.getDate(),u=l+1<10?`0${l+1}`:l+1,d=c<10?`0${c}`:c,f=a.getFullYear(),`${u}/${d}/${f}`)},"date")),i&&i>0&&p.push((0,t.jsxs)("span",{children:[i," ",o]},"rt")),0===p.length)?null:(0,t.jsx)("div",{className:(0,r.cn)("flex items-center gap-2 text-sm text-fg-mid",s),children:p.map((e,r)=>(0,t.jsxs)(n.default.Fragment,{children:[r>
20&&(0,t.jsx)("span",{"aria-hidden":!0,children:"·"}),e]},r))})};e.s(["Card",0,e=>{let{cardRef:i,linkRef:l}=s({}),{className:c,doc:f,relationTo:p,showCategories:m,title:h,readingTimeSuffix:g,placeholderLabel:x="Senseer"}=e,{slug:b,categories:v,meta:y,title:w,authors:A,publishedAt:j,readingTime:C}=f||{},{description:M,image:R}=y||{},k=A&&A.length>0||j||C,S=v&&Array.isArray(v)&&v.length>0,N=h||w,E=M?.replace(/\s/g," "),P=`/${p}/${b}`;return(0,t.jsxs)("article",{className:(0,r.cn)("border border-border rounded-lg overflow-hidden bg-card hover:cursor-pointer",c),ref:i,children:[(0,t.jsxs)("div",{className:"relative w-full ",children:[!R&&(0,t.jsxs)("div",{"aria-hidden":!0,className:"relative flex aspect-[16/10] items-center justify-center overflow-hidden bg-bg-2",children:[(0,t.jsx)("div",{className:"absolute inset-0 bg-[radial-gradient(circle_at_30%_20%,var(--brand-accent-text),transparent_60%)] opacity-[0.18]"}),(0,t.jsx)("div",{className:"absolute inset-0 [background-image:linear-gradient(var(--hairline)_1px,transparent_1px),linear-gradient(90deg,var(--hairline)_1px,transparent_1px)] [background-size:28px_28px] opacity-30"}),(0,t.jsx)("span",{className:"relative font-mono text-eyebrow uppercase tracking-[0.28em] text-fg-low",children:x})]}),R&&"string"!=typeof R&&(0,t.jsx)(a.Media,{resource:R,size:"(max-width: 640px) 100vw, (max-width: 1024px) 50vw, 33vw"})]}),(0,t.jsxs)("div",{className:"p-4",children:[m&&S&&(0,t.jsx)("div",{className:"uppercase text-sm mb-4",children:v?.map((e,r)=>{if("object"==typeof e){let{title:i}=e,s=r===v.length-1;return(0,t.jsxs)(n.Fragment,{children:[i||"Untitled category",!s&&(0,t.jsx)(n.Fragment,{children:",  "})]},r)}return null})}),N&&(0,t.jsx)("div",{className:"prose",children:(0,t.jsx)("h3",{children:(0,t.jsx)(o.default,{className:"not-prose",href:P,ref:l,children:N})})}),M&&(0,t.jsx)("div",{className:"mt-2",children:M&&(0,t.jsx)("p",{children:E})}),k&&(0,t.jsxs)("div",{className:"mt-4 flex flex-wrap items-center justify-between gap-x-3 gap-y-2 border-t border-hairline pt-4",children:[(0,t.jsx)(u,{authors:A,size:"sm"}),(0,t.jsx)(d,{publishedAt:j,readingTime:C,readingTimeSuffix:g})]})]})]})}],670758)},498442,e=>{"use strict";var t=e.i(348157);e.s(["div",()=>t.MotionDiv])},997864,e=>{"use strict";var t=e.i(682796);let r="u">typeof window?t.useLayoutEffect:t.useEffect;e.s(["useIsomorphicLayoutEffect",0,r],997864)},15507,376361,262968,12073,615216,226518,210496,e=>{"use strict";var t=e.i(682796);let r=(0,t.createContext)({});e.s(["MotionContext",0,r],15507);var i=e.i(186645),n=e.i(643646);function s(e){return Array.isArray(e)?e.join(" "):e}e.s(["useCreateMotionContext",0,function(e){let{initial:o,animate:a}=function(e,t){if((0,i.isControllingVariants)(e)){let{initial:t,animate:r}=e;return{initial:!1===t||(0,n.isVariantLabel)(t)?t:void 0,animate:(0,n.isVariantLabel)(r)?r:void 0}}return!1!==e.inherit?t:{}}(e,(0,t.useContext)(r));return(0,t.useMemo)(()=>({initial:o,animate:a}),[s(o),s(a)])}],376361);var o=e.i(350764),a=e.i(97225),l=e.i(6778);let c=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function u(e,t,r){for(let i in t)(0,o.isMotionValue)(t[i])||(0,a.isForcedMotionValue)(i,r)||(e[i]=t[i])}var d=e.i(533186),f=e.i(140109);let p=()=>({...c(),attrs:{}});var m=e.i(582948),h=e.i(876261);e.s(["useRender",0,function(e,r,i,{latestValues:n},s,a=!1,g){let x=(g??(0,h.isSVGComponent)(e)?function(e,r,i,n){let s=(0,t.useMemo)(()=>{let t=p();return(0,d.buildSVGAttrs)(t,r,(0,f.isSVGTag)(n),e.transformTemplate,e.style),{...t.attrs,style:{...t.style}}},[r]);if(e.style){let t={};u(t,e.style,e),s.style={...t,...s.style}}return s}:function(e,r){let i,n,s={},o=(i=e.style||{},u(n={},i,e),Object.assign(n,function({transformTemplate:e},r){return(0,t.useMemo)(()=>{let t=c();return(0,l.buildHTMLStyles)(t,r,e),Object.assign({},t.vars,t.style)},[r])}(e,r)),n);return e.drag&&!1!==e.dragListener&&(s.draggable=!1,o.userSelect=o.WebkitUserSelect=o.WebkitTouchCallout="none",o.touchAction=!0===e.drag?"none":`pan-${"x"===e.drag?"y":"x"}`),void 0===e.tabIndex&&(e.onTap||e.onTapStart||e.whileTap)&&(s.tabIndex=0),s.style=o,s})(r,n,s,e),b=(0,m.filterProps)(r,"string"==typeof e,a),v=e!==t.Fragment?{...b,...x,ref:i}
2:{},{children:y}=r,w=(0,t.useMemo)(()=>(0,o.isMotionValue)(y)?y.get():y,[y]);return(0,t.createElement)(e,{...v,children:w})}],262968);var g=e.i(570110),g=g,x=e.i(474032),b=e.i(508578),v=e.i(155458),y=e.i(906810),w=e.i(221940);let A=e=>(n,s)=>{let o=(0,t.useContext)(r),a=(0,t.useContext)(y.PresenceContext),l=()=>(function({scrapeMotionValuesFromProps:e,createRenderState:t},r,n,s){return{latestValues:function(e,t,r,n){let s={},o=n(e,{});for(let e in o)s[e]=(0,x.resolveMotionValue)(o[e]);let{initial:a,animate:l}=e,c=(0,i.isControllingVariants)(e),u=(0,i.isVariantNode)(e);t&&u&&!c&&!1!==e.inherit&&(void 0===a&&(a=t.initial),void 0===l&&(l=t.animate));let d=!!r&&!1===r.initial,f=(d=d||!1===a)?l:a;if(f&&"boolean"!=typeof f&&!(0,b.isAnimationControls)(f)){let t=Array.isArray(f)?f:[f];for(let r=0;r<t.length;r++){let i=(0,v.resolveVariantFromProps)(e,t[r]);if(i){let{transitionEnd:e,transition:t,...r}=i;for(let e in r){let t=r[e];if(Array.isArray(t)){let e=d?t.length-1:0;t=t[e]}null!==t&&(s[e]=t)}for(let t in e)s[t]=e[t]}}}return s}(r,n,s,e),renderState:t()}})(e,n,o,a);return s?l():(0,w.useConstant)(l)},j=A({scrapeMotionValuesFromProps:g.scrapeMotionValuesFromProps,createRenderState:c});e.s(["useHTMLVisualState",0,j],12073);var C=e.i(639190),C=C;let M=A({scrapeMotionValuesFromProps:C.scrapeMotionValuesFromProps,createRenderState:p});e.s(["useSVGVisualState",0,M],615216);let R=Symbol.for("motionComponentSymbol");e.s(["motionComponentSymbol",0,R],226518),e.s(["useMotionRef",0,function(e,r,i){let n=(0,t.useRef)(i);(0,t.useInsertionEffect)(()=>{n.current=i});let s=(0,t.useRef)(null);return(0,t.useCallback)(t=>{t&&e.onMount?.(t),r&&(t?r.mount(t):r.unmount());let i=n.current;if("function"==typeof i)if(t){let e=i(t);"function"==typeof e&&(s.current=e)}else s.current?(s.current(),s.current=null):i(t);else i&&(i.current=t)},[r])}],210496)},348157,e=>{"use strict";e.i(939053);var t=e.i(390281),r=e.i(682796),i=e.i(653793),n=e.i(398188),s=e.i(876825),o=e.i(15507),a=e.i(376361),l=e.i(262968),c=e.i(876261),u=e.i(12073),d=e.i(615216),f=e.i(997012),p=(e.i(28569),e.i(226518)),m=e.i(210496),h=e.i(554653),g=e.i(906810),x=e.i(595685),b=e.i(134012),v=e.i(997864);function y(e,y){return function(e,{forwardMotionProps:y=!1,type:w}={}){let A=w?"svg"===w:(0,c.isSVGComponent)(e),j=A?d.useSVGVisualState:u.useHTMLVisualState;function C(c,u){let d,p={...(0,r.useContext)(s.MotionConfigContext),...c,layoutId:function({layoutId:e}){let t=(0,r.useContext)(i.LayoutGroupContext).id;return t&&void 0!==e?t+"-"+e:e}(c)},{isStatic:w}=p,C=(0,a.useCreateMotionContext)(c),M=j(c,w);if(!w&&"u">typeof window){(0,r.useContext)(n.LazyContext).strict;let t=function(e){let{drag:t,layout:r}=(0,f.getInitializedFeatureDefinitions)();if(!t&&!r)return{};let i={...t,...r};return{MeasureLayout:t?.isEnabled(e)||r?.isEnabled(e)?i.MeasureLayout:void 0,ProjectionNode:i.ProjectionNode}}(p);d=t.MeasureLayout,C.visualElement=function(e,t,i,a,l,c){let{visualElement:u}=(0,r.useContext)(o.MotionContext),d=(0,r.useContext)(n.LazyContext),f=(0,r.useContext)(g.PresenceContext),p=(0,r.useContext)(s.MotionConfigContext),m=p.reducedMotion,y=p.skipAnimations,w=(0,r.useRef)(null),A=(0,r.useRef)(!1);a=a||d.renderer,!w.current&&a&&(w.current=a(e,{visualState:t,parent:u,props:i,presenceContext:f,blockInitialAnimation:!!f&&!1===f.initial,reducedMotionConfig:m,skipAnimations:y,isSVG:c}),A.current&&w.current&&(w.current.manuallyAnimateOnMount=!0));let j=w.current,C=(0,r.useContext)(x.SwitchLayoutGroupContext);j&&!j.projection&&l&&("html"===j.type||"svg"===j.type)&&function(e,t,r,i){let{layoutId:n,layout:s,drag:o,dragConstraints:a,layoutScroll:l,layoutRoot:c,layoutAnchor:u,layoutCrossfade:d}=t;e.projection=new r(e.latestValues,t["data-framer-portal-id"]?void 0:function e(t){if(t)return!1!==t.options.allowProjection?t.projection:e(t.parent)}(e.parent)),e.projection.setOptions({layoutId:n,layout:s,alwaysMeasureLayout:!!o||a&&(0,b.isRefObject)(a),visualElement:e,animationType:"string"==typeof s?s:"both",initialPromotionConfig:i,crossfade:d,layoutScroll:l,layoutRoot:c,layoutAnchor:u})}(w.current,i,l,C);let M=(0,r.useRef)(!1);(0,r.useInsertionEffect)(()=>{j&&M.current&&j.update(i,f)});let R=i[h.optimizedAppearDataAttribute],k=(0,r.useRef)(!!R&&"u">typeof window&&!window.MotionHandoffIsComplete?.(R)&&window.MotionHasOptimisedAnimation?.(R));return(0,v.useIsomorphicLayoutEffect)(()=>{A.current=!0,j&&(M.current=!0,window.MotionIsMounted=!0,j.updateFeatures(),j.scheduleRenderMicrotask(),k.current&&j.animationState&&j.animationState.animateChanges())}),(0,r.useEffect)(()=>{j&&(!k.current&&j.animationState&&j.animationState.animateChanges(),k.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(R)}),k.current=!1),j.enteringChildren=void 0)}),j}(e,M,p,void 0,t.ProjectionNode,A)}return(0,t.jsxs)(o.MotionContext.Provider,{value:C,children:[d&&C.visualElement?(0,t.jsx)(d,{visualElement:C.visualElement,...p}):null,(0,l.useRender)(e,c,(0,m.useMotionRef)(M,C.visualElement,u),M,w,y,A)]})}C.displayName=`motion.${"string"==typeof e?e:`create(${e.displayName??e.name??""})`}`;let M=(0,r.forwardRef)(C);return M[p.motionComponentSymbol]=e,M}(e,y)}let w=y("div"),A=y("img"),j=y("p"),C=y("span"),M=y("circle"),R=y("g"),k=y("path");e.s(["MotionCircle",0,M,"MotionDiv",0,w,"MotionG",0,R,"MotionImg",0,A,"MotionP",0,j,"MotionPath",0,k,"MotionSpan",0,C],348157)},806144,e=>{"use strict";var t=e.i(348157);e.s(["span",()=>t.MotionSpan])},653793,e=>{"use strict";let t=(0,e.i(682796).createContext)({});e.s(["LayoutGroupContext",0,t])},906810,e=>{"use strict";let t=(0,e.i(682796).createContext)(null);e.s(["PresenceContext",0,t])},995905,e=>{"use strict";let t=e=>t=>"string"==typeof t&&t.startsWith(e),r=t("--"),i=t("var(--"),n=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;e.s(["containsCSSVariable",0,function(e){return"string"==typeof e&&e.split("/*")[0].includes("var(--")},"isCSSVariableName",0,r,"isCSSVariableToken",0,e=>!!i(e)&&n.test(e.split("/*")[0].trim())])},968263,e=>{"use strict";var t=e.i(813968);function r(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}let i={correct:(e,i)=>{if(!i.target)return e;if("string"==typeof e)if(!t.px.test(e))return e;else e=parseFloat(e);let n=r(e,i.target.x),s=r(e,i.target.y);return`${n}% ${s}%`}};e.s(["correctBorderRadius",0,i])},341330,e=>{"use strict";e.s(["mixNumber",0,(e,t,r)=>e+(t-e)*r])},575342,e=>{"use strict";e.i(995905);var t=e.i(968263),r=e.i(49997),i=e.i(341330);let n={borderRadius:{...t.correctBorderRadius,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:t.correctBorderRadius,borderTopRightRadius:t.correctBorderRadius,borderBottomLeftRadius:t.correctBorderRadius,borderBottomRightRadius:t.correctBorderRadius,boxSh
2adow:{correct:(e,{treeScale:t,projectionDelta:n})=>{let s=r.complex.parse(e);if(s.length>5)return e;let o=r.complex.createTransformer(e),a=+("number"!=typeof s[0]),l=n.x.scale*t.x,c=n.y.scale*t.y;s[0+a]/=l,s[1+a]/=c;let u=(0,i.mixNumber)(l,c,.5);return"number"==typeof s[2+a]&&(s[2+a]/=u),"number"==typeof s[3+a]&&(s[3+a]/=u),o(s)}}};e.s(["scaleCorrectors",0,n],575342)},97225,e=>{"use strict";var t=e.i(59778),r=e.i(575342);e.s(["isForcedMotionValue",0,function(e,{layout:i,layoutId:n}){return t.transformProps.has(e)||e.startsWith("origin")||(i||void 0!==n)&&(!!r.scaleCorrectors[e]||"opacity"===e)}])},533186,6778,140109,e=>{"use strict";let t=(e,t)=>t&&"number"==typeof e?t.transform(e):e;var r=e.i(878124),i=e.i(59778),n=e.i(995905);let s={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},o=i.transformPropOrder.length;function a(e,a,l){let{style:c,vars:u,transformOrigin:d}=e,f=!1,p=!1;for(let e in a){let s=a[e];if(i.transformProps.has(e)){f=!0;continue}if((0,n.isCSSVariableName)(e)){u[e]=s;continue}{let i=t(s,r.numberValueTypes[e]);e.startsWith("origin")?(p=!0,d[e]=i):c[e]=i}}if(!a.transform&&(f||l?c.transform=function(e,n,a){let l="",c=!0;for(let u=0;u<o;u++){let o=i.transformPropOrder[u],d=e[o];if(void 0===d)continue;let f=!0;if("number"==typeof d)f=d===+!!o.startsWith("scale");else{let e=parseFloat(d);f=o.startsWith("scale")?1===e:0===e}if(!f||a){let e=t(d,r.numberValueTypes[o]);if(!f){c=!1;let t=s[o]||o;l+=`${t}(${e}) `}a&&(n[o]=e)}}let u=e.pathRotation;return u&&(c=!1,l+=`rotate(${t(u,r.numberValueTypes.pathRotation)}) `),l=l.trim(),a?l=a(n,c?"":l):c&&(l="none"),l}(a,e.transform,l):c.transform&&(c.transform="none")),p){let{originX:e="50%",originY:t="50%",originZ:r=0}=d;c.transformOrigin=`${e} ${t} ${r}`}}e.s(["buildHTMLStyles",0,a],6778);let l={offset:"stroke-dashoffset",array:"stroke-dasharray"},c={offset:"strokeDashoffset",array:"strokeDasharray"},u=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];e.s(["buildSVGAttrs",0,function(e,{attrX:t,attrY:r,attrScale:i,pathLength:n,pathSpacing:s=1,pathOffset:o=0,...d},f,p,m){if(a(e,d,p),f){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};let{attrs:h,style:g}=e;for(let e of(h.transform&&(g.transform=h.transform,delete h.transform),(g.transform||h.transformOrigin)&&(g.transformOrigin=h.transformOrigin??"50% 50%",delete h.transformOrigin),g.transform&&(g.transformBox=m?.transformBox??"fill-box",delete h.transformBox),u))void 0!==h[e]&&(g[e]=h[e],delete h[e]);void 0!==t&&(h.x=t),void 0!==r&&(h.y=r),void 0!==i&&(h.scale=i),void 0!==n&&function(e,t,r=1,i=0,n=!0){e.pathLength=1;let s=n?l:c;e[s.offset]=`${-i}`,e[s.array]=`${t} ${r}`}(h,n,s,o,!1)}],533186),e.s(["isSVGTag",0,e=>"string"==typeof e&&"svg"===e.toLowerCase()],140109)},876261,e=>{"use strict";let t=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];e.s(["isSVGComponent",0,function(e){if("string"!=typeof e||e.includes("-"));else if(t.indexOf(e)>-1||/[A-Z]/u.test(e))return!0;return!1}],876261)},570110,e=>{"use strict";var t=e.i(350764),r=e.i(97225);e.s(["scrapeMotionValuesFromProps",0,function(e,i,n){let s=e.style,o=i?.style,a={};if(!s)return a;for(let i in s)((0,t.isMotionValue)(s[i])||o&&(0,t.isMotionValue)(o[i])||(0,r.isForcedMotionValue)(i,e)||n?.getValue(i)?.liveStyle!==void 0)&&(a[i]=s[i]);return a}])},474032,e=>{"use strict";var t=e.i(350764);e.s(["resolveMotionValue",0,function(e){return(0,t.isMotionValue)(e)?e.get():e}])},639190,e=>{"use strict";var t=e.i(350764),r=e.i(59778),i=e.i(570110);e.s(["scrapeMotionValuesFromProps",0,function(e,n,s){let o=(0,i.scrapeMotionValuesFromProps)(e,n,s);for(let i in e)((0,t.isMotionValue)(e[i])||(0,t.isMotionValue)(n[i]))&&(o[-1!==r.transformPropOrder.indexOf(i)?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i]=e[i]);return o}])},554653,544473,e=>{"use strict";function t(e){return e.replace(/([A-Z])/g,e=>`-${e.toLowerCase()}`)}e.s(["camelToDash",0,t],544473);let r="data-"+t("framerAppearId");e.s(["optimizedAppearDataAttribute",0,r],554653)},595685,e=>{"use strict";let t=(0,e.i(682796).createContext)({});e.s(["SwitchLayoutGroupContext",0,t])},134012,e=>{"use strict";e.s(["isRefObject",0,function(e){return e&&"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}])}
2,825465,e=>{"use strict";e.s(["isObject",0,e=>"object"==typeof e&&null!==e])},261427,e=>{"use strict";var t=e.i(825465);e.s(["isHTMLElement",0,function(e){return(0,t.isObject)(e)&&"offsetHeight"in e&&!("ownerSVGElement"in e)}])},566318,e=>{"use strict";var t=e.i(682796),r=e.i(906810);e.s(["usePresence",0,function(e=!0){let i=(0,t.useContext)(r.PresenceContext);if(null===i)return[!0,null];let{isPresent:n,onExitComplete:s,register:o}=i,a=(0,t.useId)();(0,t.useEffect)(()=>{if(e)return o(a)},[e]);let l=(0,t.useCallback)(()=>e&&s&&s(a),[a,s,e]);return!n&&s?[!1,l]:[!0]}])},76543,e=>{"use strict";e.i(939053);var t=e.i(390281),r=e.i(682796),i=e.i(653793),n=e.i(221940),s=e.i(997864),o=e.i(906810),a=e.i(261427),l=r,c=e.i(876825);function u(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}class d extends l.Component{getSnapshotBeforeUpdate(e){let t=this.props.childRef.current;if((0,a.isHTMLElement)(t)&&e.isPresent&&!this.props.isPresent&&!1!==this.props.pop){let e=t.offsetParent,r=(0,a.isHTMLElement)(e)&&e.offsetWidth||0,i=(0,a.isHTMLElement)(e)&&e.offsetHeight||0,n=getComputedStyle(t),s=this.props.sizeRef.current;s.height=parseFloat(n.height),s.width=parseFloat(n.width),s.top=t.offsetTop,s.left=t.offsetLeft,s.right=r-s.width-s.left,s.bottom=i-s.height-s.top,s.direction=n.direction}return null}componentDidUpdate(){}render(){return this.props.children}}function f({children:e,isPresent:i,anchorX:n,anchorY:s,root:o,pop:a}){let p=(0,l.useId)(),m=(0,l.useRef)(null),h=(0,l.useRef)({width:0,height:0,top:0,left:0,right:0,bottom:0,direction:"ltr"}),{nonce:g}=(0,l.useContext)(c.MotionConfigContext),x=function(...e){return r.useCallback(function(...e){return t=>{let r=!1,i=e.map(e=>{let i=u(e,t);return r||"function"!=typeof i||(r=!0),i});if(r)return()=>{for(let t=0;t<i.length;t++){let r=i[t];"function"==typeof r?r():u(e[t],null)}}}}(...e),e)}(m,e.props?.ref??e?.ref);return(0,l.useInsertionEffect)(()=>{let{width:e,height:t,top:r,left:l,right:c,bottom:u,direction:d}=h.current;if(i||!1===a||!m.current||!e||!t)return;let f="rtl"===d,x="left"===n?f?`right: ${c}`:`left: ${l}`:f?`left: ${l}`:`right: ${c}`,b="bottom"===s?`bottom: ${u}`:`top: ${r}`;m.current.dataset.motionPopId=p;let v=document.createElement("style");g&&(v.nonce=g);let y=o??document.head;return y.appendChild(v),v.sheet&&v.sheet.insertRule(` 3 [data-motion-pop-id="${p}"] { 4 position: absolute !important; 5 width: ${e}px !important; 6 height: ${t}px !important; 7 ${x}px !important; 8 ${b}px !important; 9 } 10 `),()=>{m.current?.removeAttribute("data-motion-pop-id"),y.contains(v)&&y.removeChild(v)}},[i]),(0,t.jsx)(d,{isPresent:i,childRef:m,sizeRef:h,pop:a,children:!1===a?e:l.cloneElement(e,{ref:x})})}let p=({children:e,initial:i,isPresent:s,onExitComplete:a,custom:l,presenceAffectsLayout:c,mode:u,anchorX:d,anchorY:p,root:h})=>{let g=(0,n.useConstant)(m),x=(0,r.useId)(),b=!0,v=(0,r.useMemo)(()=>(b=!1,{id:x,initial:i,isPresent:s,custom:l,onExitComplete:e=>{for(let t of(g.set(e,!0),g.values()))if(!t)return;a&&a()},register:e=>(g.set(e,!1),()=>g.delete(e))}),[s,g,a]);return c&&b&&(v={...v}),(0,r.useMemo)(()=>{g.forEach((e,t)=>g.set(t,!1))},[s]),r.useEffect(()=>{s||g.size||!a||a()},[s]),e=(0,t.jsx)(f,{pop:"popLayout"===u,isPresent:s,anchorX:d,anchorY:p,root:h,children:e}),(0,t.jsx)(o.PresenceContext.Provider,{value:v,children:e})};function m(){return new Map}var h=e.i(566318);let g=e=>e.key||"";function x(e){let t=[];return r.Children.forEach(e,e=>{(0,r.isValidElement)(e)&&t.push(e)}),t}e.s(["AnimatePresence",0,({children:e,custom:o,initial:a=!0,onExitComplete:l,presenceAffectsLayout:c=!0,mode:u="sync",propagate:d=!1,anchorX:f="left",anchorY:m="top",root:b})=>{let[v,y]=(0,h.usePresence)(d),w=(0,r.useMemo)(()=>x(e),[e]),A=d&&!v?[]:w.map(g),j=(0,r.useRef)(!0),C=(0,r.useRef)(w),M=(0,n.useConstant)(()=>new Map),R=(0,r.useRef)(new Set),[k,S]=(0,r.useState)(w),[N,E]=(0,r.useState)(w);(0,s.useIsomorphicLayoutEffect)(()=>{j.current=!1,C.current=w;for(let e=0;e<N.length;e++){let t=g(N[e]);A.includes(t)?(M.delete(t),R.current.delete(t)):!0!==M.get(t)&&M.set(t,!1)}},[N,A.length,A.join("-")]);let P=[];if(w!==k){let e=[...w];for(let t=0;t<N.length;t++){let r=N[t],i=g(r);A.includes(i)||(e.splice(t,0,r),P.push(r))}return"wait"===u&&P.length&&(e=P),E(x(e)),S(w),null}let{forceRender:L}=(0,r.useContext)(i.LayoutGroupContext);return(0,t.jsx)(t.Fragment,{children:N.map(e=>{let r=g(e),i=(!d||!!v)&&(w===N||A.includes(r));return(0,t.jsx)(p,{isPresent:i,initial:(!j.current||!!a)&&void 0,custom:o,presenceAffectsLayout:c,mode:u,root:b,onExitComplete:i?void 0:()=>
10{if(R.current.has(r)||!M.has(r))return;R.current.add(r),M.set(r,!0);let e=!0;M.forEach(t=>{t||(e=!1)}),e&&(L?.(),E(C.current),d&&y?.(),l&&l())},anchorX:f,anchorY:m,children:e},r)})})}],76543)},142240,e=>{"use strict";let t=(0,e.i(448551).default)("chevron-right",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);e.s(["ChevronRight",0,t],142240)},989560,e=>{"use strict";let t=(0,e.i(448551).default)("chevron-left",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]]);e.s(["ChevronLeft",0,t],989560)},433023,e=>{"use strict";let t=(0,e.i(448551).default)("play",[["path",{d:"M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z",key:"10ikf1"}]]);e.s(["Play",0,t],433023)},16017,e=>{"use strict";var t=e.i(390281),r=e.i(682796),i=e.i(76543),n=e.i(806144),s=e.i(498442);let o=(0,e.i(448551).default)("file-text",[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]]);var a=e.i(433023),l=e.i(530941);let c={posts:"/posts",videos:"/posts?tab=videos"};e.s(["InsightsTabs",0,({initialTab:e,postsLabel:u,videosLabel:d,showVideos:f,heading:p,postsPanel:m,videosPanel:h})=>{let[g,x]=(0,r.useState)(f?e:"posts"),[b,v]=(0,r.useState)(e);e!==b&&(v(e),x(f?e:"posts")),(0,r.useEffect)(()=>{let e=()=>{x("videos"===new URLSearchParams(window.location.search).get("tab")?"videos":"posts")};return window.addEventListener("popstate",e),()=>window.removeEventListener("popstate",e)},[]);let y=(0,r.useCallback)(e=>t=>{t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||0!==t.button||(t.preventDefault(),e!==g&&(window.history.pushState(null,"",c[e]),x(e)))},[g]),w=[{key:"posts",label:u,Icon:o},{key:"videos",label:d,Icon:a.Play}];return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"insights-tabs-row container mb-6 flex flex-col gap-5 sm:flex-row sm:items-center sm:justify-between sm:gap-8",children:[p,f&&(0,t.jsx)("div",{role:"group","aria-label":"Insights view",className:"inline-flex shrink-0 self-start rounded-full border border-hairline bg-bg-1 p-1.5 shadow-[0_1px_0_0_var(--hairline)] sm:self-auto",children:w.map(({key:e,label:r,Icon:i})=>{let s=g===e;return(0,t.jsxs)("a",{href:c[e],onClick:y(e),"aria-current":s?"page":void 0,className:(0,l.cn)("relative inline-flex min-h-[44px] items-center gap-2.5 rounded-full px-6 font-mono text-eyebrow uppercase tracking-[0.2em] transition-colors duration-200",s?"text-bg-0":"text-fg-mid hover:text-fg-hi"),children:[s&&(0,t.jsx)(n.span,{layoutId:"insights-tab-pill",className:"absolute inset-0 rounded-full bg-brand",transition:{type:"spring",stiffness:420,damping:36,mass:.7}}),(0,t.jsx)(i,{className:"relative h-3.5 w-3.5","aria-hidden":!0}),(0,t.jsx)("span",{className:"relative",children:r})]},e)})})]}),(0,t.jsx)(i.AnimatePresence,{mode:"wait",initial:!1,children:(0,t.jsx)(s.div,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},exit:{opacity:0,y:-10},transition:{duration:.22,ease:[.22,1,.36,1]},children:"videos"===g?h:m},g)})]})}],16017)},370420,e=>{"use strict";var t=e.i(390281),r=e.i(368794),i=e.i(682796),n=e.i(76543),s=e.i(498442),o=e.i(806144),a=e.i(989560),l=e.i(142240),c=e.i(433023),u=e.i(530941);let d="(max-width: 900px)",f=e=>{let t=window.matchMedia(d);return t.addEventListener("change",e),()=>t.removeEventListener("change",e)},p=()=>{let e=navigator.connection;return!!(e?.saveData||/(^|-)2g$/.test(e?.effectiveType??""))||window.matchMedia(d).matches};e.s(["VideoGallery",0,({videos:e,className:d})=>{let[m,h]=(0,i.useState)(0),[g,x]=(0,i.useState)(!1),[b,v]=(0,i.useState)(!1),[y,w]=(0,i.useState)(!0),[A,j]=(0,i.useState)(!1),C=(0,i.useRef)(null),M=(0,i.useRef)(null),R=(0,i.useSyncExternalStore)(f,p,()=>!1);(0,i.useEffect)(()=>{let e=M.current;if(!e)return;let t=()=>{v(e.scrollWidth>e.clientWidth+4),w(e.scrollLeft<=2),j(e.scrollLeft+e.clientWidth>=e.scrollWidth-2)},r=new ResizeObserver(t);return r.observe(e),e.addEventListener("scroll",t,{passive:!0}),()=>{r.disconnect(),e.removeEventListener("scroll",t)}},[e.length]);let k=e[m],S=(0,i.useCallback)(e=>{h(e),x(!1)},[]),N=(0,i.useCallback)(e=>{let t=M.current;if(!t)return;let r=window.matchMedia("(prefers-reduced-motion: reduce)").matches;t.scrollBy({left:e*t.clientWidth*.8,behavior:r?"auto":"smooth"})},[]);if(!k)return null;let E=R&&k.srcSd?k.srcSd:k.srcHd;return(0,t.jsxs)("div",{className:(0,u.cn)("mx-auto flex flex-col gap-6 lg:grid lg:w-fit lg:grid-cols-[auto_21rem] lg:items-start lg:gap-8",d),children:[(0,t.jsxs)("div",{className:(0,u.cn)("relative mx-auto w-full overflow-hidden rounded-lg border border-hairline bg-black","lg:sticky lg:top-[calc(var(--header-height)+1rem)] lg:self-start","video-fit"),children:[(0,t.jsx)("div",{className:"aspect-video w-full",children:(0,t.jsx)("video",{ref:C,className:"h-full w-full",controls:!0,controlsList:"nodownload noplaybackrate noremoteplayback",disablePictureInPicture:!0,disableRemotePlayback:!0,onContextMenu:e=>
10e.preventDefault(),playsInline:!0,preload:"none",poster:k.poster,width:1920,height:1080,onPlay:()=>x(!0),onPause:()=>x(!1),children:(0,t.jsx)("source",{src:E,type:"video/mp4"})},m)}),(0,t.jsx)(n.AnimatePresence,{children:!g&&(0,t.jsx)(s.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:.18},className:"pointer-events-none absolute inset-0 flex items-center justify-center bg-black/20",children:(0,t.jsx)("button",{type:"button",onClick:()=>C.current?.play(),"aria-label":`Play ${k.title}`,className:"group pointer-events-auto flex h-16 w-16 items-center justify-center rounded-full border border-white/30 bg-black/50 backdrop-blur-sm transition-transform duration-200 hover:scale-110 focus-visible:scale-110 sm:h-20 sm:w-20",children:(0,t.jsx)(c.Play,{className:"ml-1 h-6 w-6 fill-white text-white sm:h-7 sm:w-7","aria-hidden":!0})})})})]}),(0,t.jsxs)("div",{className:"flex min-w-0 flex-col gap-6 lg:gap-4",children:[(0,t.jsx)("div",{"aria-live":"polite",className:"min-h-[4.5rem] lg:min-h-0",children:(0,t.jsx)(n.AnimatePresence,{mode:"wait",children:(0,t.jsxs)(s.div,{initial:{opacity:0,y:6},animate:{opacity:1,y:0},exit:{opacity:0,y:-6},transition:{duration:.2,ease:"easeOut"},children:[(0,t.jsx)("h2",{className:"font-display text-xl font-black tracking-tight text-fg-hi md:text-2xl lg:line-clamp-2 lg:text-lg xl:text-xl",children:k.title}),k.description&&(0,t.jsx)("p",{className:"mt-2 max-w-prose leading-relaxed text-fg-mid lg:line-clamp-2 lg:text-sm",children:k.description})]},m)})}),e.length>1&&(0,t.jsxs)("div",{className:"relative lg:flex lg:min-h-0 lg:flex-1 lg:flex-col",children:[(0,t.jsx)("ul",{ref:M,role:"group","aria-label":"Choose a video",className:"flex snap-x snap-mandatory gap-4 overflow-x-auto overscroll-x-contain scroll-smooth pb-2 [-ms-overflow-style:none] [scrollbar-width:none] lg:snap-none lg:flex-col lg:gap-2.5 lg:overflow-x-visible lg:overflow-y-visible lg:overscroll-x-auto lg:pb-0 [&::-webkit-scrollbar]:hidden",children:e.map((e,i)=>{let n=i===m;return(0,t.jsx)("li",{className:"w-[78%] shrink-0 snap-start sm:w-[46%] lg:w-full lg:shrink",children:(0,t.jsxs)("button",{type:"button",onClick:()=>S(i),"aria-current":n?"true":void 0,className:(0,u.cn)("group relative block w-full overflow-hidden rounded-md border text-left transition-colors","focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-brand focus-visible:ring-offset-2 focus-visible:ring-offset-bg-0","lg:flex lg:items-center lg:gap-3 lg:p-2",n?"border-brand":"border-hairline hover:border-fg-mid focus-visible:border-fg-mid"),children:[(0,t.jsxs)("span",{className:"relative block aspect-video overflow-hidden bg-bg-2 lg:w-32 lg:shrink-0 lg:rounded",children:[(0,t.jsx)(r.default,{src:e.poster,alt:"",fill:!0,sizes:"(max-width: 640px) 78vw, (max-width: 1024px) 46vw, 8rem",className:"object-cover transition-transform duration-300 group-hover:scale-[1.03]"}),(0,t.jsx)("span",{className:(0,u.cn)("absolute inset-0 transition-opacity duration-200",n?"opacity-0":"bg-black/40 opacity-100 group-hover:opacity-40")}),e.duration&&(0,t.jsx)("span",{className:"absolute bottom-2 right-2 rounded bg-black/75 px-1.5 py-0.5 font-mono text-[0.7rem] tabular-nums text-white",children:e.duration})]}),(0,t.jsx)("span",{className:"line-clamp-2 block min-h-[3.75rem] px-3 py-2.5 text-sm leading-snug text-fg lg:min-h-0 lg:flex-1 lg:px-0 lg:py-0",children:e.title}),n&&(0,t.jsx)(o.span,{layoutId:"video-thumb-active",className:"absolute inset-x-0 bottom-0 h-0.5 bg-brand lg:inset-x-auto lg:inset-y-0 lg:left-0 lg:h-auto lg:w-0.5",transition:{type:"spring",stiffness:400,damping:34}})]})},`${e.srcHd}-${i}`)})}),b&&!y&&(0,t.jsx)(t.Fragment,{children:(0,t.jsx)("button",{type:"button",onClick:()=>N(-1),"aria-label":"Scroll thumbnails left",className:"rail-arrow absolute -left-2 top-[38%] h-10 w-10 -translate-y-1/2 items-center justify-center rounded-full border border-hairline bg-bg-1/90 text-fg-mid backdrop-blur transition-colors hover:text-fg-hi",children:(0,t.jsx)(a.ChevronLeft,{className:"h-5 w-5","aria-hidden":!0})})}),b&&!A&&(0,t.jsx)("button",{type:"button",onClick:()=>N(1),"aria-label":"Scroll thumbnails right",className:"rail-arrow absolute -right-2 top-[38%] h-10 w-10 -translate-y-1/2 items-center justify-center rounded-full border border-hairline bg-bg-1/90 text-fg-mid backdrop-blur transition-colors hover:text-fg-hi",children:(0,t.jsx)(l.ChevronRight,{className:"h-5 w-5","aria-hidden":!0})}
10),b&&!y&&(0,t.jsx)("div",{"aria-hidden":!0,className:"pointer-events-none absolute inset-y-0 left-0 w-10 bg-gradient-to-r from-bg-0 to-transparent lg:hidden"}),b&&!A&&(0,t.jsx)("div",{"aria-hidden":!0,className:"pointer-events-none absolute inset-y-0 right-0 w-10 bg-gradient-to-l from-bg-0 to-transparent lg:hidden"})]})]})]})}])},540001,e=>{"use strict";var t=e.i(390281),r=e.i(370993),i=e.i(682796);e.s(["default",0,()=>{let{setHeaderTheme:e}=(0,r.useHeaderTheme)();return(0,i.useEffect)(()=>{e(null)},[e]),(0,t.jsx)(i.default.Fragment,{})}])}]); 11 12//# debugId=ad9be0ac-0e79-8698-38a4-3fae2cab6a58
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.