1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,299428,e=>{"use strict";var t=e.i(843476),r=e.i(522016),s=e.i(618566),i=e.i(271645);let n="vidnext:theme",l=["light","dark","system"];function o(){if("u"<typeof localStorage)return"system";try{let e=localStorage.getItem(n);return l.includes(e)?e:"system"}catch{return"system"}}function a(e){document.documentElement.dataset.theme="system"!==e?e:window.matchMedia&&window.matchMedia("(prefers-color-scheme: light)").matches?"light":"dark";try{localStorage.setItem(n,e)}catch{}}let c="https://vidnext.ai";var d=e.i(914527);e.s(["V2SiteNav",0,function(){let e=((0,s.usePathname)()??"/").replace(/\.html$/,"").replace(/\/$/,"")||"/",n=(0,i.useRef)(null),l=(0,i.useRef)(null),[u,h]=(0,i.useState)(!1),[m,f]=(0,i.useState)(!1),[p,x]=(0,i.useState)("system"),g=(0,i.useRef)(null),v=e=>{a(e),x(e),f(!1)};(0,i.useEffect)(()=>{let e=()=>{let e=o();x(e),a(e)};if(e(),!window.matchMedia)return()=>{};let t=window.matchMedia("(prefers-color-scheme: light)"),r=()=>void("system"===o()&&e());return t.addEventListener("change",r),()=>t.removeEventListener("change",r)},[]),(0,i.useEffect)(()=>{let e=e=>{g.current&&!g.current.contains(e.target)&&f(!1)};return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e)},[]),(0,i.useEffect)(()=>{let e=n.current,t=l.current;if(!e||!t)return;let r=document.querySelector("[data-nav-glass-map]"),s=()=>{!function(e,t){if(!e||!t)return;let{width:r,height:s}=t.getBoundingClientRect();if(!r||!s)return;let i=Math.min(s/2,parseFloat(getComputedStyle(t).borderTopLeftRadius)||0),n=`<svg viewBox="0 0 ${r} ${s}" xmlns="http://www.w3.org/2000/svg"> 2<defs> 3<linearGradient id="r" x1="100%" y1="0%" x2="0%" y2="0%"><stop offset="0%" stop-color="#000"/><stop offset="100%" stop-color="red"/></linearGradient> 4<linearGradient id="b" x1="0%" y1="0%" x2="0%" y2="100%"><stop offset="0%" stop-color="#000"/><stop offset="100%" stop-color="blue"/></linearGradient> 5</defs> 6<rect width="${r}" height="${s}" fill="black"/> 7<rect width="${r}" height="${s}" rx="${i}" fill="url(#r)"/> 8<rect width="${r}" height="${s}" rx="${i}" fill="url(#b)" style="mix-blend-mode:difference"/> 9<rect x="2.03" y="2.03" width="${r-4.06}" height="${s-4.06}" rx="${i}" fill="hsl(0 0% 50% / 0.93)" style="filter:blur(11px)"/> 10</svg>`;e.setAttribute("href",`data:image/svg+xml,${encodeURIComponent(n)}`)}(r,t),t.style.backdropFilter="none",t.offsetWidth,t.style.backdropFilter=""},i=!1,o=null,a=document.querySelector(".hero-glow"),c=a?.closest("section")??null,u=Array.from(document.querySelectorAll(".doc-card, [data-nav-light]"));function h(){if(i=!1,!e||!t)return;let r=window.scrollY>24+(0,d.flowBarHeight)();if(r!==e.classList.contains("is-stuck")&&(e.classList.toggle("is-stuck",r),o&&clearTimeout(o),o=setTimeout(s,440)),c){let r=c.getBoundingClientRect().bottom>t.getBoundingClientRect().bottom;e.classList.toggle("on-artwork",r);return}if(!a)return;let n=t.getBoundingClientRect(),l=u.some(e=>{if(e.classList.contains("article-sheet")&&"light"!==document.documentElement.dataset.theme)return!1;let t=e.getBoundingClientRect();return t.top<n.bottom&&t.bottom>n.top});e.classList.toggle("on-light",l),e.classList.toggle("on-artwork",!l)}let m=()=>{i||(i=!0,requestAnimationFrame(h))},f=()=>s();return window.addEventListener("scroll",m,{passive:!0}),window.addEventListener("resize",f),s(),h(),()=>{window.removeEventListener("scroll",m),window.removeEventListener("resize",f),o&&clearTimeout(o)}},[]),(0,i.useEffect)(()=>{let e=e=>{"Escape"===e.key&&h(!1)},t=window.matchMedia("(min-width: 1024px)"),r=e=>{e.matches&&h(!1)};return document.addEventListener("keydown",e),t.addEventListener("change",r),()=>{document.removeEventListener("keydown",e),t.removeEventListener("change",r)}},[]);let y=(s,i)=>{let n=`nav-link${!function(e,t){if(/^https?:\/\//.test(e))return!1;let r=e.split("#")[0].split("?")[0].replace(/\.html$/,"").replace(/\/$/,"")||"/";return"/"!==r&&(r===t||t.startsWith(r+"-")||t.startsWith(r+"/"))}(s,e)?"":" nav-link--active"}`;return/^https?:\/\//.test(s)?(0,t.jsx)("a",{href:s,className:n,"data-text":i,children:i}):(0,t.jsx)(r.default,{href:s,className:n,"data-text":i,children:i})},w=(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("li",{children:y(`${c}/#features`,"Features")}),(0,t.jsx)("li",{children:y(`${c}/#how-it-works`,"How it Works")}),(0,t.jsx)("li",{children:y(`${c}/pricing`,"Pricing")}),(0,t.jsx)("li",{children:y("/blog","Blog")}),(0,t.jsx)("li",{children:y(`${c}/#testimonials`,"Testimonials")})]});return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("header",{ref:n,"data-nav":!0,className:"site-nav",children:[(0,t.jsxs)("nav",{ref:l,className:"mx-auto flex w-full max-w-[var(--container-shell)] items-center gap-6 px-[14px] lg:px-6",children:[(0,t.jsx)("div",{className:"flex min-w-0 flex-1 items-center",children:(0,t.jsx)(r.default,{href:"/",className:"reveal shrink-0","aria-label":"VidNext â home",children:(0,t.jsx)("img",{src:"/v2-logo.png","data-nav-mark":!0,alt:"VidNext",className:"site-nav__mark h-[34px] w-[34px] object-contain lg:h-[70px] lg:w-[69px]",width:512,height:512,decoding:"async"})})}),(0,t.jsx)("ul",{className:"reveal hidden shrink-0 items-center gap-[24px] lg:flex",
10style:{"--reveal-delay":"80ms"},children:w}),(0,t.jsxs)("div",{className:"flex min-w-0 flex-1 items-center justify-end gap-[8px]",children:[(0,t.jsxs)("div",{className:"reveal flex shrink-0 items-center gap-[8px]",style:{"--reveal-delay":"160ms"},children:[(0,t.jsxs)("div",{className:"relative hidden lg:block","data-theme-menu":!0,ref:g,children:[(0,t.jsx)("button",{type:"button","aria-label":"Change theme","aria-haspopup":"listbox","aria-expanded":m,onClick:()=>f(e=>!e),className:"block rounded-[8px] border border-transparent tap-target p-[9px] text-fg-subtle transition-colors hover:bg-surface-1 hover:text-fg lg:p-[8px]",children:(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"size-[18px]","aria-hidden":"true",children:(0,t.jsx)("path",{d:"M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z"})})}),(0,t.jsxs)("ul",{role:"listbox","aria-label":"Theme",className:`dropdown glass-panel absolute right-0 top-[calc(100%+40px)] w-[150px] p-[8px]${m?" is-open":""}`,children:[(0,t.jsx)("li",{children:(0,t.jsxs)("button",{type:"button",role:"option","aria-selected":"system"===p,onClick:()=>v("system"),className:"theme-option",children:[(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"size-[16px] shrink-0","aria-hidden":"true",children:[(0,t.jsx)("rect",{width:"20",height:"14",x:"2",y:"3",rx:"2"}),(0,t.jsx)("line",{x1:"8",x2:"16",y1:"21",y2:"21"}),(0,t.jsx)("line",{x1:"12",x2:"12",y1:"17",y2:"21"})]}),"System"]})}),(0,t.jsx)("li",{children:(0,t.jsxs)("button",{type:"button",role:"option","aria-selected":"light"===p,onClick:()=>v("light"),className:"theme-option",children:[(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"size-[16px] shrink-0","aria-hidden":"true",children:[(0,t.jsx)("circle",{cx:"12",cy:"12",r:"4"}),(0,t.jsx)("path",{d:"M12 2v2"}),(0,t.jsx)("path",{d:"M12 20v2"}),(0,t.jsx)("path",{d:"m4.93 4.93 1.41 1.41"}),(0,t.jsx)("path",{d:"m17.66 17.66 1.41 1.41"}),(0,t.jsx)("path",{d:"M2 12h2"}),(0,t.jsx)("path",{d:"M20 12h2"}),(0,t.jsx)("path",{d:"m6.34 17.66-1.41 1.41"}),(0,t.jsx)("path",{d:"m19.07 4.93-1.41 1.41"})]}),"Light"]})}),(0,t.jsx)("li",{children:(0,t.jsxs)("button",{type:"button",role:"option","aria-selected":"dark"===p,onClick:()=>v("dark"),className:"theme-option",children:[(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"size-[16px] shrink-0","aria-hidden":"true",children:(0,t.jsx)("path",{d:"M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z"})}),"Dark"]})})]})]}),(0,t.jsx)("a",{href:`${c}/sign-in`,className:"hidden shrink-0 whitespace-nowrap rounded-[8px] px-[10px] py-[8px] text-small font-medium text-fg-subtle transition-colors hover:bg-surface-1 hover:text-fg sm:block",children:"Sign In"}),(0,t.jsxs)("a",{href:`${c}/sign-up`,className:"btn btn--flame btn--nav hidden sm:inline-flex",children:["Create a video","Â ","â"]})]}),(0,t.jsxs)("button",{type:"button","data-menu-toggle":!0,"aria-expanded":u,"aria-controls":"mobile-menu",onClick:()=>h(e=>!e),className:"bg-glass tap-target flex size-[38px] shrink-0 items-center justify-center rounded-[8px] border border-[var(--color-hairline)] lg:hidden",children:[(0,t.jsx)("span",{className:"sr-only",children:"Open menu"}),(0,t.jsxs)("span",{className:"relative block h-[12px] w-[18px]",children:[(0,t.jsx)("span",{className:"absolute inset-x-0 top-0 h-[2px] rounded bg-fg transition-transform duration-300",style:{transform:u?"translateY(5px) rotate(45deg)":void 0}}),(0,t.jsx)("span",{className:"absolute inset-x-0 bottom-0 h-[2px] rounded bg-fg transition-transform duration-300",style:{transform:u?"translateY(-5px) rotate(-45deg)":void 0}})]})]})]})]}),(0,t.jsx)("div",{id:"mobile-menu","data-menu-panel":!0,hidden:!u,className:"mx-auto mt-4 w-full max-w-[var(--container-shell)] px-6 lg:hidden",children:(0,t.jsxs)("ul",{className:"menu-panel glass-panel flex flex-col gap-5 rounded-[20px] p-6",onClick:e=>{e.target.closest("a")&&h(!1)},children:[w,(0,t.jsx)("li",{className:"border-t border-[rgba(0,0,0,0.1)] pt-5 sm:hidden",children:(0,t.jsx)("a",{href:`${c}/sign-in`,className:"nav-link",children:"Sign In"})}),(0,t.jsxs)("li",{className:"menu-group",role:"group","aria-label":"Theme",children:[(0,t.jsx)("span",{className:"menu-group__label",children:"Theme"}),(0,t.jsxs)("div",{className:"menu-group__row",children:[(0,t.jsxs)("button",{type:"button","aria-selected":"system"===p,onClick:()=>v("system"),className:"theme-option",children:[(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"size-[16
10px] shrink-0","aria-hidden":"true",children:[(0,t.jsx)("rect",{width:"20",height:"14",x:"2",y:"3",rx:"2"}),(0,t.jsx)("line",{x1:"8",x2:"16",y1:"21",y2:"21"}),(0,t.jsx)("line",{x1:"12",x2:"12",y1:"17",y2:"21"})]}),"System"]}),(0,t.jsxs)("button",{type:"button","aria-selected":"light"===p,onClick:()=>v("light"),className:"theme-option",children:[(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"size-[16px] shrink-0","aria-hidden":"true",children:[(0,t.jsx)("circle",{cx:"12",cy:"12",r:"4"}),(0,t.jsx)("path",{d:"M12 2v2"}),(0,t.jsx)("path",{d:"M12 20v2"}),(0,t.jsx)("path",{d:"m4.93 4.93 1.41 1.41"}),(0,t.jsx)("path",{d:"m17.66 17.66 1.41 1.41"}),(0,t.jsx)("path",{d:"M2 12h2"}),(0,t.jsx)("path",{d:"M20 12h2"}),(0,t.jsx)("path",{d:"m6.34 17.66-1.41 1.41"}),(0,t.jsx)("path",{d:"m19.07 4.93-1.41 1.41"})]}),"Light"]}),(0,t.jsxs)("button",{type:"button","aria-selected":"dark"===p,onClick:()=>v("dark"),className:"theme-option",children:[(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"size-[16px] shrink-0","aria-hidden":"true",children:(0,t.jsx)("path",{d:"M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z"})}),"Dark"]})]})]})]})})]}),(0,t.jsx)("div",{"data-backdrop":!0,className:`nav-backdrop fixed inset-0 z-40${u?" is-open":""}`,onClick:()=>h(!1)})]})}],299428)},992964,e=>{"use strict";var t=e.i(843476);e.s(["SubscribeForm",0,function(){return(0,t.jsxs)("form",{className:"subscribe","data-subscribe":!0,onSubmit:e=>{e.preventDefault()},children:[(0,t.jsx)("input",{type:"email",name:"email",required:!0,autoComplete:"email",placeholder:"Enter your email","aria-label":"Your email"}),(0,t.jsx)("button",{type:"submit",className:"subscribe__go","aria-label":"Subscribe",children:(0,t.jsx)("svg",{viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true",children:(0,t.jsx)("path",{d:"M12.9498 12.0007L8 7.05093L9.41422 5.63672L15.7782 12.0007L9.41422 18.3646L8 16.9504L12.9498 12.0007Z"})})})]})}])},625877,e=>{"use strict";let t=(0,e.i(155034).default)("chevron-right",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);e.s(["ChevronRight",0,t],625877)},75830,e=>{"use strict";var t=e.i(271645),r=e.i(30030),s=e.i(820783),i=e.i(991918),n=e.i(843476),l=Object.defineProperty,o=(e,t)=>l(e,"name",{value:t,configurable:!0});function a(e){let l=e+"CollectionProvider",[a,c]=(0,r.createContextScope)(l),[d,u]=a(l,{collectionRef:{current:null},itemMap:new Map}),h=o(e=>{let{scope:r,children:s}=e,i=t.useRef(null),l=t.useRef(new Map).current;return(0,n.jsx)(d,{scope:r,itemMap:l,collectionRef:i,children:s})},"CollectionProvider");h.displayName=l;let m=e+"CollectionSlot",f=(0,i.createSlot)(m),p=t.forwardRef((e,t)=>{let{scope:r,children:i}=e,l=u(m,r),o=(0,s.useComposedRefs)(t,l.collectionRef);return(0,n.jsx)(f,{ref:o,children:i})});p.displayName=m;let x=e+"CollectionItemSlot",g="data-radix-collection-item",v=(0,i.createSlot)(x),y=t.forwardRef((e,r)=>{let{scope:i,children:l,...o}=e,a=t.useRef(null),c=(0,s.useComposedRefs)(r,a),d=u(x,i);return t.useEffect(()=>(d.itemMap.set(a,{ref:a,...o}),()=>void d.itemMap.delete(a))),(0,n.jsx)(v,{...{[g]:""},ref:c,children:l})});function w(r){let s=u(e+"CollectionConsumer",r);return t.useCallback(()=>{let e=s.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll(`[${g}]`));return Array.from(s.itemMap.values()).sort((e,r)=>t.indexOf(e.ref.current)-t.indexOf(r.ref.current))},[s.collectionRef,s.itemMap])}return y.displayName=x,o(w,"useCollection"),[{Provider:h,Slot:p,ItemSlot:y},w,c]}o(a,"createCollection");var c=new WeakMap,d=class e extends Map{static{o(this,"OrderedDict")}#e;constructor(e){super(e),this.#e=[...super.keys()],c.set(this,!0)}set(e,t){return c.get(this)&&(this.has(e)?this.#e[this.#e.indexOf(e)]=e:this.#e.push(e)),super.set(e,t),this}insert(e,t,r){let s,i=this.has(t),n=this.#e.length,l=m(e),o=l>=0?l:n+l,a=o<0||o>=n?-1:o;if(a===this.size||i&&a===this.size-1||-1===a)return this.set(t,r),this;let c=this.size+ +!i;l<0&&o++;let d=[...this.#e],u=!1;for(let e=o;e<c;e++)if(o===e){let n=d[e];d[e]===t&&(n=d[e+1]),i&&this.delete(t),s=this.get(n),this.set(t,r)}else{u||d[e-1]!==t||(u=!0);let r=d[u?e:e-1],i=s;s=this.get(r),this.delete(r),this.set(r,i)}return this}with(t,r,s){let i=new e(this);return i.insert(t,r,s),i}before(e){let t=this.#e.indexOf(e)-1;if(!(t<0))return this.entryAt(t)}setBefore(e,t,r){let s=this.#e.indexOf(e);return -1===s?this:this.insert(s,t,r)}after(e){let t=this.#e.indexOf(e);if(-1!==(t=-1===t||t===this.size-1?-1:t+1))return this.entryAt(t)}setAfter(e,t,r){let s=this.#e.indexOf(e);return -1===s?this:this.insert(s+1,t,r)}first(){return this.entryAt(0)}last(){return this.entryAt(-1)}clear(){return this.#e=[],super.clear()}delete(e){let t=super.delete(e);return t&&this.#e.splice(this.#e.indexOf(e),1),t}deleteAt(e){let t=this.keyAt(e);return void 0!==t&&this.delete(t)}at(e){let t=u(this.#e,e);if(void 0!==t)return this.get(t)}entryAt(e){let t=u(this.#e,e);if(void 0!==t)return[t,this.get(t)]}indexOf(e){return this.#e.indexOf(e)}keyAt(e){return u(this.#e,e)}from(e,t){let r=this.indexOf(e);if(-1===r)return;let s=r+t;return s<0&&(s=0),s>=this.size&&(s=this.size-1),this.at(s)}keyFrom(e,t){let r=this.indexOf(e);if(-1===r)return;let s=r+t;return s<0&&(s=0),s>=this.size&&(s=this.size-1),this.keyAt(s)}find(e,t){let r=0;for(let s of this){if(Reflect.apply(e,t,[s,r,this]))return s;r++}}findIndex(e,t){let r=0;for(let s of this){if(Reflect.apply(e,t,[s,r,this]))return r;r++}return -1}filter(t,r){let s=[],i=0;for(let e of this)Reflect.apply(t,r,[e,i,this])&&s.push(e),i++;return new e(s)}map(t,r){let s=[],i=0;for(let e of this)s.push([e[0],Reflect.apply(t,r,[e,i,this])]),i++;return new e(s)}reduce(...e){let[t,r]=e,s=0,i=r??this.at(0);for(let r of this)i=0===s&&1===e.length?r:Reflect.apply(t,this,[i,r,s,this]),s++;return i}reduceRight(...e){let[t,r]=e,s=r??this.at(-1);for(let r=this.size-1;r>=0;r--){let i=this.at(r);
10s=r===this.size-1&&1===e.length?i:Reflect.apply(t,this,[s,i,r,this])}return s}toSorted(t){return new e([...this.entries()].sort(t))}toReversed(){let t=new e;for(let e=this.size-1;e>=0;e--){let r=this.keyAt(e),s=this.get(r);t.set(r,s)}return t}toSpliced(...t){let r=[...this.entries()];return r.splice(...t),new e(r)}slice(t,r){let s=new e,i=this.size-1;if(void 0===t)return s;t<0&&(t+=this.size),void 0!==r&&r>0&&(i=r-1);for(let e=t;e<=i;e++){let t=this.keyAt(e),r=this.get(t);s.set(t,r)}return s}every(e,t){let r=0;for(let s of this){if(!Reflect.apply(e,t,[s,r,this]))return!1;r++}return!0}some(e,t){let r=0;for(let s of this){if(Reflect.apply(e,t,[s,r,this]))return!0;r++}return!1}};function u(e,t){if("at"in Array.prototype)return Array.prototype.at.call(e,t);let r=h(e,t);return -1===r?void 0:e[r]}function h(e,t){let r=e.length,s=m(t),i=s>=0?s:r+s;return i<0||i>=r?-1:i}function m(e){return e!=e||0===e?0:Math.trunc(e)}function f(e,t){if(e===t)return!0;if("object"!=typeof e||"object"!=typeof t||null==e||null==t)return!1;let r=Object.keys(e),s=Object.keys(t);if(r.length!==s.length)return!1;for(let s of r)if(!Object.prototype.hasOwnProperty.call(t,s)||e[s]!==t[s])return!1;return!0}function p(e,t){return!!(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_PRECEDING)}function x(e,t){return e[1].element&&t[1].element?p(e[1].element,t[1].element)?-1:1:0}function g(e){return new MutationObserver(t=>{for(let r of t)if("childList"===r.type)return void e()})}o(u,"at"),o(h,"toSafeIndex"),o(m,"toSafeInteger"),o(function(e){let l=e+"CollectionProvider",[a,c]=(0,r.createContextScope)(l),[u,h]=a(l,{collectionElement:null,collectionRef:{current:null},collectionRefObject:{current:null},itemMap:new d,setItemMap:o(()=>void 0,"setItemMap")}),m=o(({state:e,...t})=>e?(0,n.jsx)(v,{...t,state:e}):(0,n.jsx)(p,{...t}),"CollectionProvider");m.displayName=l;let p=o(e=>{let t=N();return(0,n.jsx)(v,{...e,state:t})},"CollectionInit");p.displayName=l+"Init";let v=o(e=>{let{scope:r,children:i,state:l}=e,o=t.useRef(null),[a,c]=t.useState(null),d=(0,s.useComposedRefs)(o,c),[h,m]=l;return t.useEffect(()=>{if(!a)return;let e=g(()=>{});return e.observe(a,{childList:!0,subtree:!0}),()=>{e.disconnect()}},[a]),(0,n.jsx)(u,{scope:r,itemMap:h,setItemMap:m,collectionRef:d,collectionRefObject:o,collectionElement:a,children:i})},"CollectionProviderImpl");v.displayName=l+"Impl";let y=e+"CollectionSlot",w=(0,i.createSlot)(y),j=t.forwardRef((e,t)=>{let{scope:r,children:i}=e,l=h(y,r),o=(0,s.useComposedRefs)(t,l.collectionRef);return(0,n.jsx)(w,{ref:o,children:i})});j.displayName=y;let k=e+"CollectionItemSlot",b=(0,i.createSlot)(k),C=t.forwardRef((e,r)=>{let{scope:i,children:l,...o}=e,a=t.useRef(null),[c,u]=t.useState(null),m=(0,s.useComposedRefs)(r,a,u),{setItemMap:p}=h(k,i),g=t.useRef(o);f(g.current,o)||(g.current=o);let v=g.current;return t.useEffect(()=>(p(e=>c?e.has(c)?e.set(c,{...v,element:c}).toSorted(x):(e.set(c,{...v,element:c}),e.toSorted(x)):e),()=>{p(e=>c&&e.has(c)?(e.delete(c),new d(e)):e)}),[c,v,p]),(0,n.jsx)(b,{"data-radix-collection-item":"",ref:m,children:l})});function N(){return t.useState(new d)}function R(t){let{itemMap:r}=h(e+"CollectionConsumer",t);return r}return C.displayName=k,o(N,"useInitCollection"),o(R,"useCollection"),[{Provider:m,Slot:j,ItemSlot:C},{createCollectionScope:c,useCollection:R,useInitCollection:N}]},"createCollection"),o(f,"shallowEqual"),o(p,"isElementPreceding"),o(x,"sortByDocumentPosition"),o(g,"getChildListObserver"),e.s(["createCollection",0,a])},178743,e=>{"use strict";var t=e.i(618566),r=e.i(271645);e.s(["V2Reveal",0,function(){let e=(0,t.usePathname)();return(0,r.useEffect)(()=>{let e,t=window.matchMedia("(prefers-reduced-motion: reduce)").matches,r=document.querySelectorAll(".reveal");if(t||!("IntersectionObserver"in window))return void r.forEach(e=>e.classList.add("is-revealed"));let s=new IntersectionObserver(e=>{e.forEach(e=>{e.isIntersecting&&(e.boundingClientRect.height>=window.innerHeight||!(e.intersectionRatio<.15))&&(e.target.classList.add("is-revealed"),s.unobserve(e.target))})},{rootMargin:"0px 0px -12% 0px",threshold:[0,.15]});
10r.forEach(e=>s.observe(e));let i=()=>{clearTimeout(e),e=setTimeout(()=>{document.querySelectorAll(".reveal:not(.is-revealed)").forEach(e=>s.observe(e))},150)};return window.addEventListener("resize",i),()=>{window.removeEventListener("resize",i),clearTimeout(e),s.disconnect()}},[e]),null}])}]);
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.