(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,510586,e=>{"use strict";var t=e.i(528593),r=e.i(119063),n=e.i(16043);e.s(["f",0,function(){t.E.current||(0,r.f)();let[e]=(0,n.useState)(t.d.current);return e}])},38108,e=>{"use strict";var t=e.i(16043),r=e.i(193074);let n={some:0,all:1};e.s(["f",0,function(e,{root:o,margin:i,amount:a,once:s=!1,initial:l=!1}={}){let[c,u]=(0,t.useState)(l);return(0,t.useEffect)(()=>{if(!e.current||s&&c)return;let t={root:o&&o.current||void 0,margin:i,amount:a};return function(e,t,{root:o,margin:i,amount:a="some"}={}){let s=(0,r.f)(e),l=new WeakMap,c=new IntersectionObserver(e=>{e.forEach(e=>{let r=l.get(e.target);if(!!r!==e.isIntersecting)if(e.isIntersecting){let r=t(e.target,e);"function"==typeof r?l.set(e.target,r):c.unobserve(e.target)}else"function"==typeof r&&(r(e),l.delete(e.target))})},{root:o,rootMargin:i,threshold:"number"==typeof a?a:n[a]});return s.forEach(e=>c.observe(e)),()=>c.disconnect()}(e.current,()=>(u(!0),s?void 0:()=>u(!1)),t)},[o,e,i,s,a]),c}],38108)},519637,e=>{"use strict";var t=e.i(709722),r=e.i(16043),n=e.i(504707),o=e.i(171318);e.s(["f",0,function(e){let i=(0,o.f)(()=>(0,t.o)(e)),{isStatic:a}=(0,r.useContext)(n.f);if(a){let[,t]=(0,r.useState)(e);(0,r.useEffect)(()=>i.on("change",t),[])}return i}])},658131,240297,e=>{"use strict";var t=e.i(898461),r=e.i(956509),n=e.i(709722),o=e.i(662753),i=e.i(16043),a=e.i(666408),s=e.i(516170),l=e.i(996558),c=e.i(225596),u=e.i(361397),f=e.i(857280),d=e.i(888888);let h=()=>({current:0,offset:[],progress:0,scrollLength:0,targetOffset:0,targetLength:0,containerLength:0,velocity:0}),m=()=>({time:0,x:h(),y:h()}),p={x:{length:"Width",position:"Left"},y:{length:"Height",position:"Top"}},g=new WeakMap,v={start:0,center:.5,end:1};function y(e,t,r=0){let n=0;if(e in v&&(e=v[e]),"string"==typeof e){let t=parseFloat(e);e.endsWith("px")?n=t:e.endsWith("%")?e=t/100:e.endsWith("vw")?n=t/100*document.documentElement.clientWidth:e.endsWith("vh")?n=t/100*document.documentElement.clientHeight:e=t}return"number"==typeof e&&(n=t*e),r+n}let x=[0,0];function b(e,t,r,n){let o=Array.isArray(e)?e:x,i=0;return"number"==typeof e?o=[e,e]:"string"==typeof e&&(o=(e=e.trim()).includes(" ")?e.split(" "):[e,v[e]?e:"0"]),(i=y(o[0],r,n))-y(o[1],t)}let w=[[0,0],[1,1]];var k=e.i(975524);let E=new WeakMap,L=new WeakMap,S=new WeakMap,M=new WeakMap,A=e=>e===document.scrollingElement?window:e;function j(e,{container:t=document.scrollingElement,trackContentSize:r=!1,...n}={}){if(!t)return a.f;let o=S.get(t);o||(o=new Set,S.set(t,o));let i=function(e,t,r,n={}){let{target:o}=n,i=o||n.offset;return{measure:t=>{if(i){for(let e in r.time=t.time,p){let{offset:n}=r[e];Object.assign(r[e],t[e]),r[e].offset=n}if(o&&o!==e){let t=function(e,t){let r={x:0,y:0},n=e;for(;n&&n!==t;)if((0,k.f)(n))r.x+=n.offsetLeft,r.y+=n.offsetTop,n=n.offsetParent;else if("svg"===n.tagName){let e=n.getBoundingClientRect(),t=(n=n.parentElement).getBoundingClientRect();r.x+=e.left-t.left,r.y+=e.top-t.top}else if(n instanceof SVGGraphicsElement){let{x:e,y:t}=n.getBBox();r.x+=e,r.y+=t;let o=null,i=n.parentNode;for(;!o;)"svg"===i.tagName&&(o=i),i=n.parentNode;n=o}else break;return r}(o,e),n="getBBox"in o&&"svg"!==o.tagName?o.getBBox():{width:o.clientWidth,height:o.clientHeight};r.x.targetOffset=t.x,r.y.targetOffset=t.y,r.x.targetLength=n.width,r.y.targetLength=n.height}!function(e,t){let{offset:r=w,axis:n="y"}=t,o=e[n];o.offset.length=0;let i=r.length;for(let e=0;ee[r],o=t=>e[n?r-t:t];if(e[0]===e[1]&&t=o(i+1);)i++;let a=(i+(0,f.f)(o(i),o(i+1),t))/r;return n?1-a:a}(o.offset,o.current))}(r,n)}},notify:e=>t(i?r:e)}}(t,e,m(),n);if(o.add(i),!E.has(t)){let e=m(),r=()=>{var r=c.f.timestamp;for(let n in p)!function(e,t,r,n){let o=r[t],{length:i,position:a}=p[t],s=o.current,l=r.time,c=e[`scroll${a}`];o.current=!function(e,t){let r=e===document.scrollingElement,n=r&&document.body||e,o=g.get(n);o||g.set(n,o=getComputedStyle(n));let{writingMode:i,flexDirection:a}=o,s="x"===t!==/^[vs]/.test(i);return(s?"rtl"===o.direction!=("sideways-lr"===i):i.endsWith("rl"))!==(!r&&o.display.includes("flex")&&(s!==("c"===a[0])?a:o.flexWrap).endsWith("reverse"))}(e,t)?c:-c||0,o.containerLength=e[`client${i}`],o.targetLength=e[`scroll${i}`],o.scrollLength=o.targetLength-o.containerLength,o.offset.length=0,o.offset[0]=0,o.offset[1]=o.scrollLength,o.progress=(0,u.f)(0,1,(0,f.f)(0,o.scrollLength,o.current));let h=n-l;o.velocity=h>50?0:(0,d.f)(o.current-s,h)}(t,n,e,r);for(let t of(e.time=r,o))t.measure(e);l.y.preUpdate(n)},n=()=>{for(let t of o)t.notify(e)},i=()=>l.y.read(r);E.set(t,i);let a=A(t);window.addEventListener("resize",i),t!==document.documentElement&&L.set(t,(0,s.f)(t,i)),a.addEventListener("scroll",i),i()}if(r&&!M.has(t)){let e=E.get(t),r={width:t.scrollWidth,height:t.scrollHeight},n=l.y.read(()=>{let n=t.scrollWidth,o=t.scrollHeight;(r.width!==n||r.height!==o)&&(e(),r.width=n,r.height=o)},!0);M.set(t,n)}let h=E.get(t);return l.y.read(h,!1,!0),()=>{(0,l.Y)(h);let e=S.get(t);if(!e||(e.delete(i),e.size))return;S.delete(t);let r=E.get(t);E.delete(t),r&&(A(t).removeEventListener("scroll",r),L.get(t)?.(),window.removeEventListener("resize",r));let n=M.get(t);n&&((0,l.Y)(n),M.delete(t))}}let T=new Map,N=e=>{if(/v/u.test(e))return[];let t=b(e,0,0,0);return[b(e,0,1,0)-t,t-b(e,1,0,0),t]},_=([e,t,r])=>!r&&(0===t||1===t)&&`${t?"entry":"exit"}-crossing ${100*e}%`;function R(e=w){if(2!==e.length)return;let[t,r]=e.map(N),n=[_(t),_(r)],o=r[0]-t[0],i=t[1]-r[1];if(n[0]&&n[1]&&(o||i))return{points:n,a:o,b:i,cover:!t[0]&&1===o&&1===i}}function P(e,{axis:t="y",source:n,container:o=document.scrollingElement,...i}={}){if(!o)return a.f;let l={axis:t,container:n||o,...i};return"function"==typeof e?j(r=>e(r[t].progress,r),l):function(e,t){let n,{target:o,container:i,axis:a}=t,l=o&&R(t.offset),c=!("u"{let[r,n]=l.points;t.effect.updateTiming({direction:d?"normal"===e?"reverse":"alternate-reverse":e}),Object.assign(t,{rangeStart:d?n:r,rangeEnd:d?r:n}),t.play()},m=[e.attachTimeline({get timeline(){return c?function({container:e,target:t,axis:r}){let n=T.get(e);n||(n=new Map,T.set(e,n));let o=t??"self",i=n.get(o);return i||(i={},n.set(o,i)),i[r]||(i[r]=t?new ViewTimeline({subject:t,axis:r}):new ScrollTimeline({source:e,axis:r}))}(t):void 0},onAttach:l&&(e=>{let t=e.effect.getTiming().direction;u.set(e,t),h(t,e)}),observe:e=>(e.pause(),f.add(e),n||(n=j(e=>{f.forEach(t=>{t.time=t.iterationDuration*e[a].progress})},t)),()=>f.delete(e))})];if(c&&l){let{a:e,b:t}=l,r="y"===a?"clientHeight":"clientWidth",n=()=>{d!==(d=e*o[r]+t*i[r]<0)&&u.forEach(h)};n(),e*t<0&&m.push((0,s.f)(n),(0,s.f)([o,i],n))}return()=>{m.forEach(e=>e()),n?.()}}(e,l)}var F=e.i(171318),z=e.i(80310);let H=()=>({scrollX:(0,n.o)(0),scrollY:(0,n.o)(0),scrollXProgress:(0,n.o)(0),scrollYProgress:(0,n.o)(0)}),O=e=>!!e&&!e.current;function W(e,r,n,o){return{factory:i=>{let a,s=()=>{O(n)||O(o)?t.t.read(s):a=P(i,{...r,axis:e,container:n?.current||void 0,target:o?.current||void 0})};return t.t.read(s),()=>{(0,t.w)(s),a?.()}},times:[0,1],keyframes:[0,1],ease:e=>e,duration:1}}e.s(["f",0,function({container:e,target:n,...a}={}){var s;let l=(0,F.f)(H);s=a.offset,!("u"(c.current=P((e,{x:t,y:r})=>{l.scrollX.set(t.current),l.scrollXProgress.set(t.progress),l.scrollY.set(r.current),l.scrollYProgress.set(r.progress)},{...a,container:e?.current||void 0,target:n?.current||void 0}),()=>{c.current?.()}),[e,n,JSON.stringify(a.offset)]);return(0,z.f)(()=>{if(u.current=!1,!(O(e)||O(n)))return f();u.current=!0},[f]),(0,i.useEffect)(()=>{let r;if(!u.current)return;let i=()=>{let t=O(e),i=O(n);(0,o.k)(!t,"Container ref is defined but not hydrated","use-scroll-ref"),(0,o.k)(!i,"Target ref is defined but not hydrated","use-scroll-ref"),t||i||(r=f())};return t.t.read(i),()=>{(0,t.w)(i),r?.()}},[f]),l}],658131);var C=e.i(188716);e.s(["f",0,function(...e){let t=!Array.isArray(e[0]),r=t?0:-1,n=e[0+r],o=e[1+r],i=e[2+r],a=e[3+r],s=(0,C.f)(o,i,a);return t?s(n):s}],240297)},539315,e=>{"use strict";var t=e.i(240297),r=e.i(171318),n=e.i(996558),o=e.i(80310),i=e.i(519637);function a(e,t){let r=(0,i.f)(t()),a=()=>r.set(t());return a(),(0,o.f)(()=>{let t=()=>n.y.preRender(a,!1,!0),r=e.map(e=>e.on("change",t));return a(),()=>{r.forEach(e=>e()),(0,n.Y)(a)}}),r}var s=e.i(709722);function l(e,t){let n=(0,r.f)(()=>[]);return a(e,()=>{n.length=0;let r=e.length;for(let t=0;tObject.keys(d)),a=(0,r.f)(()=>({}));for(let r of t)a[r]=e(u,f,d[r],h);return a}let m="function"==typeof o?o:(0,t.f)(o,i,c),p=Array.isArray(n)?l(n,m):l([n],([e])=>m(e)),g=Array.isArray(n)?void 0:n.accelerate;if(g&&!g.isTransformed&&"function"!=typeof o&&Array.isArray(i)&&c?.clamp!==!1){let e=c?.ease;p.accelerate={...g,times:[0,...o,1],keyframes:[i[0],...i,i[i.length-1]],isTransformed:!0,...e?{ease:Array.isArray(e)?[e[0],...e]:e}:{}}}return p}],539315)},783326,e=>{"use strict";var t=e.i(651681);e.s(["f",()=>t.f])},859986,e=>{"use strict";var t=e.i(651681);let r={name:"arrow-left",size:24,node:[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]};r.node;let n=(0,t.f)(r);e.s(["f",0,n],859986)},962363,e=>{"use strict";var t=e.i(651681);let r={name:"arrow-right",size:24,node:[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]};r.node;let n=(0,t.f)(r);e.s(["f",0,n])},934416,e=>{"use strict";var t=e.i(962363);e.s(["f",()=>t.f])},29411,e=>{"use strict";var t=e.i(651681);let r={name:"bot",size:24,node:[["path",{d:"M12 8V4H8",key:"hb8ula"}],["rect",{width:"16",height:"12",x:"4",y:"8",rx:"2",key:"enze0r"}],["path",{d:"M2 14h2",key:"vft8re"}],["path",{d:"M20 14h2",key:"4cs60a"}],["path",{d:"M15 13v2",key:"1xurst"}],["path",{d:"M9 13v2",key:"rq6x2g"}]]};r.node;let n=(0,t.f)(r);e.s(["f",0,n],29411)},444227,e=>{"use strict";var t=e.i(651681);let r={name:"hash",size:24,node:[["line",{x1:"4",x2:"20",y1:"9",y2:"9",key:"4lhtct"}],["line",{x1:"4",x2:"20",y1:"15",y2:"15",key:"vyu0kd"}],["line",{x1:"10",x2:"8",y1:"3",y2:"21",key:"1ggp8o"}],["line",{x1:"16",x2:"14",y1:"3",y2:"21",key:"weycgp"}]]};r.node;let n=(0,t.f)(r);e.s(["f",0,n],444227)},869853,e=>{"use strict";var t=e.i(651681);let r={name:"key-round",size:24,node:[["path",{d:"M2.586 17.414A2 2 0 0 0 2 18.828V21a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h1a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h.172a2 2 0 0 0 1.414-.586l.814-.814a6.5 6.5 0 1 0-4-4z",key:"1s6t7t"}],["circle",{cx:"16.5",cy:"7.5",r:".5",fill:"currentColor",key:"w0ekpg"}]]};r.node;let n=(0,t.f)(r);e.s(["f",0,n])},705925,e=>{"use strict";var t=e.i(869853);e.s(["f",()=>t.f])},917258,e=>{"use strict";var t=e.i(651681);let r={name:"list-checks",size:24,node:[["path",{d:"M13 5h8",key:"a7qcls"}],["path",{d:"M13 12h8",key:"h98zly"}],["path",{d:"M13 19h8",key:"c3s6r1"}],["path",{d:"m3 17 2 2 4-4",key:"1jhpwq"}],["path",{d:"m3 7 2 2 4-4",key:"1obspn"}]]};r.node;let n=(0,t.f)(r);e.s(["f",0,n],917258)},587652,e=>{"use strict";var t=e.i(651681);let r={name:"mail",size:24,node:[["path",{d:"m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7",key:"132q7q"}],["rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",key:"izxlao"}]]};r.node;let n=(0,t.f)(r);e.s(["f",0,n],587652)},173155,e=>{"use strict";var t=e.i(651681);let r={name:"message-square",size:24,node:[["path",{d:"M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z",key:"18887p"}]]};r.node;let n=(0,t.f)(r);e.s(["f",0,n],173155)},658045,e=>{"use strict";var t=e.i(651681);let r={name:"rotate-ccw",size:24,node:[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}]]};r.node;let n=(0,t.f)(r);e.s(["f",0,n],658045)},852644,e=>{"use strict";var t=e.i(651681);let r={name:"users",size:24,node:[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["path",{d:"M16 3.128a4 4 0 0 1 0 7.744",key:"16gr8j"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}]]};r.node;let n=(0,t.f)(r);e.s(["f",0,n],852644)},336819,e=>{"use strict";var t=e.i(651681);let r={name:"wrench",size:24,node:[["path",{d:"M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.106-3.105c.32-.322.863-.22.983.218a6 6 0 0 1-8.259 7.057l-7.91 7.91a1 1 0 0 1-2.999-3l7.91-7.91a6 6 0 0 1 7.057-8.259c.438.12.54.662.219.984z",key:"1ngwbx"}]]};r.node;let n=(0,t.f)(r);e.s(["f",0,n],336819)},168639,e=>{"use strict";var t,r,n,o,i,a,s,l=e.i(790294),c=e.i(16043),u=(t=function(e,r){return(t=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,r)},function(e,r){if("function"!=typeof r&&null!==r)throw TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}),f="__POSTHOG_REACT_SHARED_STATE__",d="u">typeof globalThis?globalThis:"u">typeof window?window:{};try{a=d[f]=d[f]||new WeakMap}catch(e){a=new WeakMap}a.has(c.createContext)||a.set(c.createContext,{});var h=a.get(c.createContext);h.context||(h.context=(0,c.createContext)({get client(){return s||h.defaultPostHogInstance},bootstrap:void 0}));var m=h.context,p=function(e){return"function"==typeof e},g=function(e){var t=Object.prototype.toString.call(e);return e instanceof Error||"[object Error]"===t||"[object Exception]"===t||"[object DOMException]"===t||"[object DOMError]"===t},v=function(e,t){try{Object.defineProperty(e,"name",{value:t,writable:!0,enumerable:!0,configurable:!0})}catch(e){}},y=function(e,t){for(var r=new WeakSet,n=e;!r.has(n);){if(r.add(n),!g(n.cause)){void 0!==n.cause&&(t.cause=n.cause),n.cause=t;return}n=n.cause}},x=function(e,t){if(!t)return e;var r=Error(g(e)?e.message:"Primitive value captured as exception: ".concat(String(e)));return(v(r,"React ErrorBoundary ".concat(g(e)?e.name:"Error")),r.stack=t,g(e))?(y(e,r),e):r},b={componentStack:null,exceptionEvent:null,error:null};r=i=function(e){function t(t){var r=e.call(this,t)||this;return r._resetError=function(){r.setState(b)},r.state=b,r}return u(t,e),t.prototype.componentDidCatch=function(e,t){var r,n=this.props.additionalProperties;p(n)?r=n(e,t):"object"==typeof n&&(r=n);var o=this.context.client,i=t.componentStack,a=o.captureException(x(e,i),r);this.setState({error:e,componentStack:null!=i?i:null,exceptionEvent:a})},t.prototype.render=function(){var e=this.props,t=e.children,r=e.fallback,n=this.state;if(null==n.componentStack)return p(t)?t():t;var o=p(r)?c.default.createElement(r,{error:n.error,componentStack:n.componentStack,exceptionEvent:n.exceptionEvent,resetError:this._resetError}):r;return c.default.isValidElement(o)?o:(console.warn("[PostHog.js][PostHogErrorBoundary] Invalid fallback prop, provide a valid React element or a function that returns a valid React element."),c.default.createElement(c.default.Fragment,null))},t}(c.default.Component),"symbol"==typeof(n="PostHogErrorBoundary")&&(n=n.description?"[".concat(n.description,"]"):""),Object.defineProperty(r,"name",{configurable:!0,value:n}),i.contextType=m,o=l.f,h.defaultPostHogInstance&&h.defaultPostHogInstance!==s||(h.defaultPostHogInstance=o),s=o,e.s(["f",0,function(){return(0,c.useContext)(m).client}])},429312,e=>{"use strict";var t=e.i(659350),r=e.i(663456),n=e.i(136562);e.s(["f",0,function(e){let o,i,a,s,l=(0,r.c)(8);return l[0]!==e?({className:o,...i}=e,l[0]=e,l[1]=o,l[2]=i):(o=l[1],i=l[2]),l[3]!==o?(a=(0,n.f)("rounded-md bg-card-hover px-1.5 py-0.5 font-mono text-xs text-foreground",o),l[3]=o,l[4]=a):a=l[4],l[5]!==i||l[6]!==a?(s=(0,t.jsx)("code",{className:a,...i}),l[5]=i,l[6]=a,l[7]=s):s=l[7],s}])},554395,e=>{"use strict";var t=e.i(659350),r=e.i(663456),n=e.i(207298),o=e.i(136562),i=e.i(102187);let a=(0,n.f)((0,o.f)("flex w-full","text-body pointer-coarse:text-base","placeholder:text-muted-foreground/50","focus-visible:outline-hidden focus-visible:ring-0","disabled:cursor-not-allowed disabled:opacity-50"),{variants:{variant:{default:(0,o.f)("min-h-20 px-3 py-2","rounded-md border border-input bg-input-bg","focus-visible:border-focus-border focus-visible:shadow-focus"),embedded:"overflow-y-auto px-3 py-2.5"}},defaultVariants:{variant:"default"}}),s=a();e.s(["g",0,s,"o",0,function(e){let n,s,l,c,u,f,d,h,m=(0,r.c)(16);return m[0]!==e?({className:n,inputClassName:l,variant:f,font:s,ref:u,...c}=e,m[0]=e,m[1]=n,m[2]=s,m[3]=l,m[4]=c,m[5]=u,m[6]=f):(n=m[1],s=m[2],l=m[3],c=m[4],u=m[5],f=m[6]),m[7]!==n||m[8]!==s||m[9]!==l||m[10]!==f?(d=(0,o.f)(a({variant:f}),(0,i.f)({font:s}),l,n),m[7]=n,m[8]=s,m[9]=l,m[10]=f,m[11]=d):d=m[11],m[12]!==c||m[13]!==u||m[14]!==d?(h=(0,t.jsx)("textarea",{className:d,ref:u,...c}),m[12]=c,m[13]=u,m[14]=d,m[15]=h):h=m[15],h}])},222687,14199,e=>{"use strict";var t=e.i(497214);e.s(["e",0,function(e={}){return(e.random??Math.random)()},"Z",0,function(e,r={}){return(0,t.q)(e,r.random)}],222687),e.s(["f",0,function(e){let t=0|e;return()=>{let e=Math.imul((t=t+0x6d2b79f5|0)^t>>>15,1|t);return(((e=e+Math.imul(e^e>>>7,61|e)^e)^e>>>14)>>>0)/0x100000000}}],14199)},776571,682910,e=>{"use strict";var t=e.i(659350),r=e.i(663456),n=e.i(136562),o=e.i(832528),i=e.i(38108),a=e.i(510586),s=e.i(16043);let l="dark:bg-[color-mix(in_srgb,var(--or-cloud)_2%,transparent)]";function c(e){let o,i,a,s,l,c,u,f=(0,r.c)(14),{hover:d}=e,h=void 0===d||d;if(f[0]!==h){let e=(0,n.f)("absolute size-2 border-foreground/25 transition-colors duration-300",h&&"group-hover:border-foreground/50");a=(0,t.jsx)("span",{"aria-hidden":!0,className:(0,n.f)(e,"-left-px -top-px border-l border-t")}),s=(0,t.jsx)("span",{"aria-hidden":!0,className:(0,n.f)(e,"-right-px -top-px border-r border-t")}),l=(0,t.jsx)("span",{"aria-hidden":!0,className:(0,n.f)(e,"-bottom-px -left-px border-b border-l")}),o=!0,i=(0,n.f)(e,"-bottom-px -right-px border-b border-r"),f[0]=h,f[1]=o,f[2]=i,f[3]=a,f[4]=s,f[5]=l}else o=f[1],i=f[2],a=f[3],s=f[4],l=f[5];return f[6]!==o||f[7]!==i?(c=(0,t.jsx)("span",{"aria-hidden":o,className:i}),f[6]=o,f[7]=i,f[8]=c):c=f[8],f[9]!==a||f[10]!==s||f[11]!==l||f[12]!==c?(u=(0,t.jsxs)(t.Fragment,{children:[a,s,l,c]}),f[9]=a,f[10]=s,f[11]=l,f[12]=c,f[13]=u):u=f[13],u}e.s(["q",0,l,"O",0,"dark:bg-[color-mix(in_srgb,var(--or-cloud)_1.2%,transparent)]"],682910),e.s(["h",0,c,"y",0,function(){let e,n=(0,r.c)(1);return n[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,t.jsx)("span",{className:"ml-0.5 inline-block h-[1.1em] w-[0.55em] translate-y-[0.2em] animate-pulse bg-accent-foreground/80 motion-reduce:animate-none"}),n[0]=e):e=n[0],e},"U",0,function(e){let n,o,i,a,s=(0,r.c)(10),{children:l,index:c,tag:u}=e;return s[0]!==c?(n=c&&(0,t.jsxs)("span",{className:"flex items-center gap-2 font-mono text-size-overline leading-none",children:[(0,t.jsx)("span",{className:"text-accent-foreground",children:"◆"}),(0,t.jsx)("span",{className:"text-(--text-faint)",children:c})]}),s[0]=c,s[1]=n):n=s[1],s[2]!==u?(o=u&&(0,t.jsxs)("span",{className:"text-(--text-faint)",children:[" · ",u]}),s[2]=u,s[3]=o):o=s[3],s[4]!==l||s[5]!==o?(i=(0,t.jsxs)("span",{className:"text-size-overline font-medium uppercase tracking-[0.16em] text-accent-foreground",children:[l,o]}),s[4]=l,s[5]=o,s[6]=i):i=s[6],s[7]!==n||s[8]!==i?(a=(0,t.jsxs)("div",{className:"flex items-center gap-3",children:[n,i]}),s[7]=n,s[8]=i,s[9]=a):a=s[9],a},"b",0,function(e){let n,i,s,l,c,u,f=(0,r.c)(13),{children:d,delay:h,y:m,className:p}=e,g=void 0===h?0:h,v=void 0===m?24:m,y=(0,a.f)();return f[0]!==y||f[1]!==v?(n=!y&&{opacity:0,y:v},f[0]=y,f[1]=v,f[2]=n):n=f[2],f[3]===Symbol.for("react.memo_cache_sentinel")?(i={opacity:1,y:0},s={once:!0,margin:"-80px"},f[3]=i,f[4]=s):(i=f[3],s=f[4]),f[5]===Symbol.for("react.memo_cache_sentinel")?(l=[.21,.6,.35,1],f[5]=l):l=f[5],f[6]!==g?(c={duration:.6,delay:g,ease:l},f[6]=g,f[7]=c):c=f[7],f[8]!==d||f[9]!==p||f[10]!==n||f[11]!==c?(u=(0,t.jsx)(o.f.div,{className:p,initial:n,whileInView:i,viewport:s,transition:c,children:d}),f[8]=d,f[9]=p,f[10]=n,f[11]=c,f[12]=u):u=f[12],u},"K",0,function(e){let o,i,a,s,u,f,d,h=(0,r.c)(15),{title:m,children:p,className:g,bodyClassName:v}=e;return h[0]!==g?(o=(0,n.f)("relative border border-border backdrop-blur-md","bg-card/42",l,g),h[0]=g,h[1]=o):o=h[1],h[2]===Symbol.for("react.memo_cache_sentinel")?(i=(0,t.jsx)(c,{hover:!1}),h[2]=i):i=h[2],h[3]===Symbol.for("react.memo_cache_sentinel")?(a=(0,t.jsxs)("span",{className:"flex gap-1.5",children:[(0,t.jsx)("span",{className:"size-2 rounded-(--radius-full) bg-foreground/15"}),(0,t.jsx)("span",{className:"size-2 rounded-(--radius-full) bg-foreground/15"}),(0,t.jsx)("span",{className:"size-2 rounded-(--radius-full) bg-foreground/15"})]}),h[3]=a):a=h[3],h[4]!==m?(s=(0,t.jsxs)("div",{className:"flex items-center gap-2 border-b border-border px-4 py-2.5",children:[a,(0,t.jsx)("span",{className:"ml-1 font-mono text-size-overline text-(--text-faint)",children:m})]}),h[4]=m,h[5]=s):s=h[5],h[6]!==v?(u=(0,n.f)("px-4 py-4 font-mono text-size-overline leading-[1.9] md:px-5",v),h[6]=v,h[7]=u):u=h[7],h[8]!==p||h[9]!==u?(f=(0,t.jsx)("div",{className:u,children:p}),h[8]=p,h[9]=u,h[10]=f):f=h[10],h[11]!==o||h[12]!==s||h[13]!==f?(d=(0,t.jsxs)("div",{className:o,children:[i,s,f]}),h[11]=o,h[12]=s,h[13]=f,h[14]=d):d=h[14],d},"j",0,function(e){let t,n,o=(0,r.c)(4),a=void 0===e?"-80px":e,l=(0,s.useRef)(null);o[0]!==a?(t={once:!0,margin:a},o[0]=a,o[1]=t):t=o[1];let c=(0,i.f)(l,t);return o[2]!==c?(n=[l,c],o[2]=c,o[3]=n):n=o[3],n},"H",0,function(e,t,n){let o,i,l,c,u,f,d=(0,r.c)(24);d[0]!==n?(o=void 0===n?{}:n,d[0]=n,d[1]=o):o=d[1];let{cps:h,linePause:m}=o,p=void 0===h?40:h,g=void 0===m?350:m,v=(0,a.f)();d[2]===Symbol.for("react.memo_cache_sentinel")?(i={line:0,chars:0},d[2]=i):i=d[2];let[y,x]=(0,s.useState)(i);if(d[3]!==t||d[4]!==p||d[5]!==g||d[6]!==e||d[7]!==y||d[8]!==v?(l=()=>{if(!t||v)return;let r=e[y.line];if(void 0===r)return;let n=y.chars>=r.length,o=setTimeout(()=>{x(e=>n?{line:e.line+1,chars:0}:{line:e.line,chars:e.chars+1})},n?g:1e3/p);return()=>clearTimeout(o)},c=[t,v,y,e,p,g],d[3]=t,d[4]=p,d[5]=g,d[6]=e,d[7]=y,d[8]=v,d[9]=l,d[10]=c):(l=d[9],c=d[10]),(0,s.useEffect)(l,c),v||!t){let t;return d[11]!==e||d[12]!==v?(t=v?[e,!0]:[[],!1],d[11]=e,d[12]=v,d[13]=t):t=d[13],t}if(d[14]!==e||d[15]!==y.chars||d[16]!==y.line){let t;d[18]!==y.chars||d[19]!==y.line?(t=(e,t)=>t=e.length;return d[21]!==u||d[22]!==b?(f=[u,b],d[21]=u,d[22]=b,d[23]=f):f=d[23],f}],776571)},157983,e=>{"use strict";var t=e.i(659350),r=e.i(510586),n=e.i(16043),o=e.i(361097);let i=` precision mediump float; uniform vec2 uRes; uniform float uTime; uniform float uScroll; uniform vec3 uBase; uniform vec3 uTint; uniform vec3 uTint2; uniform float uAmt; uniform float uFade; uniform float uShade; uniform float uLo; uniform vec3 uRip[6]; float h(vec2 p){ return fract(sin(dot(p, vec2(127.1, 311.7))) * 43758.5453123); } float n(vec2 p){ vec2 i = floor(p); vec2 f = fract(p); f = f * f * (3. - 2. * f); return mix(mix(h(i), h(i + vec2(1., 0.)), f.x), mix(h(i + vec2(0., 1.)), h(i + vec2(1., 1.)), f.x), f.y); } float fbm(vec2 p){ float v = 0.; float a = .5; for (int i = 0; i < 4; i++){ v += a * n(p); p *= 2.03; a *= .5; } return v; } void main(){ vec2 uv = gl_FragCoord.xy / uRes; vec2 p = uv * vec2(uRes.x / uRes.y, 1.) * 1.7; // scroll drifts the field DIAGONALLY (y only meant a cloud band kept its // horizontal position for the whole page, so fog that happened to sit on the // right stayed on the right at every scroll depth) p += vec2(uScroll * .45, uScroll); float t = uTime * .065; // half the old .13 — unhurried drift that never pulls the eye // click puffs — each recent click is (x, y, startTime): PURE displacement, // no color trace. The ring shoves the fog's noise domain outward so the // smoke visibly bulges away from the click, then settles. vec2 warp = vec2(0.); for (int i = 0; i < 6; i++) { vec3 r = uRip[i]; float age = uTime - r.z; if (r.z <= 0. || age < 0. || age > 1.8) continue; float d = distance(gl_FragCoord.xy, r.xy); float radius = age * 110.; float ring = exp(-pow((d - radius) / 30., 2.)); float fade = exp(-age * 2.2); warp += ((gl_FragCoord.xy - r.xy) / max(d, 1.)) * ring * fade; } // MINUS: sampling from nearer the click pushes the pattern AWAY from it. // (+= sampled outward content inward — the click looked like it sucked the // cloud in instead of puffing it out.) p -= warp * .28; vec2 q = vec2(fbm(p + t), fbm(p + vec2(5.2, 1.3) - t)); float f = fbm(p + 2.4 * q + vec2(t * .6, -t * .4)); float glow = smoothstep(uLo, .92, f); float f2 = fbm(p * 1.3 - 1.7 * q + vec2(-t * .5, t * .35)); float glow2 = smoothstep(uLo + .12, .95, f2); // no viewport vignette — it read as a per-screen overlay and broke the // page's continuity while scrolling; the fog is uniform edge to edge // uFade thins the whole field past the hero (see cloud-fade.ts): the same // clouds, pulled back toward the flat background so body copy over them // stays readable. Scaling the blend amount rather than the canvas opacity // keeps one opaque layer — a translucent canvas would show the page shell's // own background through it and cost a composite every frame. float amt = uAmt * uFade; vec3 col = mix(uBase, uTint, glow * amt); col = mix(col, uTint2, glow2 * amt * .75); // light mode: a WHISPER of body in the cloud cores (was .14 — that much // darkening made the whole field read as an overcast sky) col *= 1. - uShade * uFade * (glow * .5 + glow2 * .5) * .06; gl_FragColor = vec4(col, 1.); }`,a=[3,8,10],s=[3,90,222];function l(e,t){let[r,n,i]=(0,o.f)(e,t);return[r/255,n/255,i/255]}e.s(["ShaderBg",0,function(){let e=(0,n.useRef)(null),o=(0,r.f)();return(0,n.useEffect)(()=>{let t=e.current;if(!t)return;let r=t.getContext("webgl",{alpha:!1,antialias:!1,depth:!1,powerPreference:"low-power"});if(!r)return;let n=0,c=0,u=null,f=new Float32Array(18).fill(-1e3),d=0,h=({cx:e,cy:r,t0:n})=>{f[3*d]=e*(t.width/window.innerWidth),f[3*d+1]=t.height-r*(t.height/window.innerHeight),f[3*d+2]=n,d=(d+1)%6},m=!1,p=null,g=e=>{m=!0,p={x:e.clientX,y:e.clientY},h({cx:e.clientX,cy:e.clientY,t0:performance.now()/1e3})},v=e=>{m&&p&&(24>Math.hypot(e.clientX-p.x,e.clientY-p.y)||(p={x:e.clientX,y:e.clientY},h({cx:e.clientX,cy:e.clientY,t0:performance.now()/1e3-.5})))},y=()=>{m=!1,p=null},x=(e,t)=>{let n=r.createShader(e);return n?(r.shaderSource(n,t),r.compileShader(n),n):null},b=()=>{let e=r.createProgram(),t=x(r.VERTEX_SHADER,"attribute vec2 aPos; void main(){ gl_Position = vec4(aPos, 0., 1.); }"),n=x(r.FRAGMENT_SHADER,i);if(!e||!t||!n)return null;if(r.attachShader(e,t),r.attachShader(e,n),r.linkProgram(e),r.deleteShader(t),r.deleteShader(n),!r.getProgramParameter(e,r.LINK_STATUS))return r.deleteProgram(e),null;r.useProgram(e);let o=r.createBuffer();r.bindBuffer(r.ARRAY_BUFFER,o),r.bufferData(r.ARRAY_BUFFER,new Float32Array([-1,-1,3,-1,-1,3]),r.STATIC_DRAW);let a=r.getAttribLocation(e,"aPos");return r.enableVertexAttribArray(a),r.vertexAttribPointer(a,2,r.FLOAT,!1,0,0),{program:e,buffer:o,uRes:r.getUniformLocation(e,"uRes"),uTime:r.getUniformLocation(e,"uTime"),uScroll:r.getUniformLocation(e,"uScroll"),uBase:r.getUniformLocation(e,"uBase"),uTint:r.getUniformLocation(e,"uTint"),uTint2:r.getUniformLocation(e,"uTint2"),uAmt:r.getUniformLocation(e,"uAmt"),uFade:r.getUniformLocation(e,"uFade"),uShade:r.getUniformLocation(e,"uShade"),uLo:r.getUniformLocation(e,"uLo"),uRip:r.getUniformLocation(e,"uRip")}},w=()=>{t.width=Math.max(2,Math.round(.5*window.innerWidth)),t.height=Math.max(2,Math.round(.5*window.innerHeight)),r.viewport(0,0,t.width,t.height),o&&E(0)},k=()=>{if(!u)return;let e=getComputedStyle(t),n=document.documentElement.classList.contains("dark"),o=l(e.backgroundColor,a),i=l(e.getPropertyValue("--foreground"),a),c=(e,t)=>e+(t-e)*.42,f=n?i:[Math.min(1,1.1*c(i[0],o[0])+.02),c(i[1],o[1])+.01,.92*c(i[2],o[2])],d=e=>[e[0]+(f[0]-e[0])*.78,e[1]+(f[1]-e[1])*.78,e[2]+(f[2]-e[2])*.78];r.uniform3fv(u.uBase,o),r.uniform3fv(u.uTint,d(l(e.color,a))),r.uniform3fv(u.uTint2,d(l(e.getPropertyValue("--info"),s))),r.uniform1f(u.uAmt,n?.16:.45),r.uniform1f(u.uShade,+!n),r.uniform1f(u.uLo,n?.42:.28)},E=e=>{u&&(r.uniform2f(u.uRes,t.width,t.height),r.uniform1f(u.uTime,e/1e3),r.uniform1f(u.uScroll,o?0:22e-5*window.scrollY),r.uniform1f(u.uFade,function(e,t){if(!Number.isFinite(e)||!Number.isFinite(t)||t<=0)return 1;let r=Math.max(0,Math.min(1,(Math.max(0,e)/t-.4)/(.85-.4)));return 1-r*r*(3-2*r)*.5}(window.scrollY,window.innerHeight)),r.uniform3fv(u.uRip,f),r.drawArrays(r.TRIANGLES,0,3))},L=e=>{n=requestAnimationFrame(L),!document.hidden&&u&&(++c%60==1&&k(),E(e))},S=()=>{0===n&&(n=requestAnimationFrame(()=>{n=0,E(0)}))},M=e=>{e.preventDefault(),u=null},A=()=>{(u=b())&&(w(),k(),o&&E(0))};if(u=b())return w(),k(),window.addEventListener("resize",w),t.addEventListener("webglcontextlost",M),t.addEventListener("webglcontextrestored",A),o?(E(0),window.addEventListener("scroll",S,{passive:!0})):(window.addEventListener("pointerdown",g,{passive:!0}),window.addEventListener("pointermove",v,{passive:!0}),window.addEventListener("pointerup",y,{passive:!0}),window.addEventListener("pointercancel",y,{passive:!0}),n=requestAnimationFrame(L)),()=>{cancelAnimationFrame(n),window.removeEventListener("resize",w),window.removeEventListener("scroll",S),window.removeEventListener("pointerdown",g),window.removeEventListener("pointermove",v),window.removeEventListener("pointerup",y),window.removeEventListener("pointercancel",y),t.removeEventListener("webglcontextlost",M),t.removeEventListener("webglcontextrestored",A),u&&(r.deleteProgram(u.program),r.deleteBuffer(u.buffer))}},[o]),(0,t.jsx)("div",{"aria-hidden":!0,className:"pointer-events-none absolute inset-x-0 -bottom-16 top-0",children:(0,t.jsx)("canvas",{ref:e,className:"sticky top-0 block h-screen w-full bg-background text-primary"})})}],157983)},361097,e=>{"use strict";let t=/^#?([0-9a-f]{3,8})$/i,r=/^(rgba?|hsla?)\(([^)]+)\)$/i,n=/^(-?[\d.]+)(?:deg)?\s+(-?[\d.]+)%\s+(-?[\d.]+)%(?:\s*\/.*)?$/;function o(e){return Math.max(0,Math.min(255,Math.round(e)))}function i({h:e,s:t,l:r}){let n=Math.max(0,Math.min(1,r/100)),a=(1-Math.abs(2*n-1))*Math.max(0,Math.min(1,t/100)),s=(e%360+360)%360/60,l=a*(1-Math.abs(s%2-1)),c=n-a/2,u=[[a,l,0],[l,a,0],[0,a,l],[0,l,a],[l,0,a],[a,0,l]],[f,d,h]=u[Math.floor(s)%6]??u[0];return[o((f+c)*255),o((d+c)*255),o((h+c)*255)]}e.s(["f",0,function(e,a){let s=e.trim();return""===s?a:function(e){let r=t.exec(e)?.[1];if(void 0===r)return;let n=3===r.length||4===r.length?r.split("").map(e=>e+e).join(""):r;if(6===n.length||8===n.length)return[Number.parseInt(n.slice(0,2),16),Number.parseInt(n.slice(2,4),16),Number.parseInt(n.slice(4,6),16)]}(s)??function(e){let t=r.exec(e),n=t?.[1],a=t?.[2];if(void 0===n||void 0===a)return;let[s,l,c]=a.split(/[,/\s]+/).filter(e=>""!==e).map(e=>Number.parseFloat(e));if(void 0!==s&&void 0!==l&&void 0!==c&&Number.isFinite(s)&&Number.isFinite(l)&&Number.isFinite(c))return n.toLowerCase().startsWith("hsl")?i({h:s,s:l,l:c}):[o(s),o(l),o(c)]}(s)??function(e){let[,t,r,o]=n.exec(e)??[];if(void 0!==t&&void 0!==r&&void 0!==o)return i({h:Number.parseFloat(t),s:Number.parseFloat(r),l:Number.parseFloat(o)})}(s)??a}])},914468,e=>{"use strict";var t=e.i(659350),r=e.i(663456),n=e.i(136562);e.i(707060);var o=e.i(288265),i=e.i(96659);e.s(["f",0,function(e){let a,s,l,c,u,f,d,h=(0,r.c)(21),{width:m,height:p,className:g}=e,v=(0,o.f)();return h[0]!==v?(a=v("OpenRouter logo"),h[0]=v,h[1]=a):a=h[1],h[2]!==g?(s=(0,n.f)("dark:hidden",g),h[2]=g,h[3]=s):s=h[3],h[4]!==p||h[5]!==a||h[6]!==s||h[7]!==m?(l=(0,t.jsx)(i.default,{src:"/brand/v2/openrouter-glyph-light.svg",alt:a,width:m,height:p,className:s}),h[4]=p,h[5]=a,h[6]=s,h[7]=m,h[8]=l):l=h[8],h[9]!==v?(c=v("OpenRouter logo"),h[9]=v,h[10]=c):c=h[10],h[11]!==g?(u=(0,n.f)("hidden dark:block",g),h[11]=g,h[12]=u):u=h[12],h[13]!==p||h[14]!==c||h[15]!==u||h[16]!==m?(f=(0,t.jsx)(i.default,{src:"/brand/v2/openrouter-glyph-dark.svg",alt:c,width:m,height:p,className:u}),h[13]=p,h[14]=c,h[15]=u,h[16]=m,h[17]=f):f=h[17],h[18]!==l||h[19]!==f?(d=(0,t.jsxs)(t.Fragment,{children:[l,f]}),h[18]=l,h[19]=f,h[20]=d):d=h[20],d}])},307175,e=>{"use strict";let t=(0,e.i(783326).f)("slack",[["rect",{width:"3",height:"8",x:"13",y:"2",rx:"1.5",key:"slack-1"}],["path",{d:"M19 8.5V10h1.5A1.5 1.5 0 1 0 19 8.5",key:"slack-2"}],["rect",{width:"3",height:"8",x:"8",y:"14",rx:"1.5",key:"slack-3"}],["path",{d:"M5 15.5V14H3.5A1.5 1.5 0 1 0 5 15.5",key:"slack-4"}],["rect",{width:"8",height:"3",x:"14",y:"13",rx:"1.5",key:"slack-5"}],["path",{d:"M15.5 19H14v1.5a1.5 1.5 0 1 0 1.5-1.5",key:"slack-6"}],["rect",{width:"8",height:"3",x:"2",y:"8",rx:"1.5",key:"slack-7"}],["path",{d:"M8.5 5H10V3.5A1.5 1.5 0 1 0 8.5 5",key:"slack-8"}]]);e.s(["f",0,t])}]); //# sourceMappingURL=41b56qn2q7ocn.js.map