1 2!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="6c981f76-e9d1-5a6b-a193-ca13b97343e4")}catch(e){}}(); 3!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]="01a0d3ec-ed98-7ab3-b192-d3c185ba4c0d")}catch(e){}}();(function(){try{var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{};e.SENTRY_RELEASE={id:`a8094e049e03f829f1c2e300bc93708abe9374a5`}}catch{}})();import{a as e,t}from"./chunk-DUZrb5sI.js";import{n}from"./exports-D-gfo_V_.js";import{n as r}from"./preload-helper-BwnrSaRm.js";import{t as i}from"./react-dom-DmzB_WBy.js";import{A as a,F as o,K as s,T as c,X as l,Z as u,a as d,i as f,l as p,m,o as h,p as g,z as _}from"./chunk-62JRHF6Z-DVj4azcU.js";import{t as v}from"./jsx-runtime-BJ_8nwS3.js";import{t as y}from"./compiler-runtime-BjzEAB2a.js";import{C as b,S as x,T as S,_ as C,b as w,c as T,d as E,f as D,g as O,h as k,i as ee,l as te,m as ne,o as re,p as ie,s as ae,u as A,v as oe,w as se,x as ce,y as le}from"./useBaseQuery-CZAkSGUY.js";import{t as j}from"./module-Cj7hS_C6.js";import{t as ue}from"./I18nextProvider-BotW_aAU.js";import{t as de}from"./MdxVariablesProvider-BaIgE3RK.js";import{t as fe}from"./Tooltip-CwNhHuRD.js";import{n as pe}from"./dist-DDEIS4Eu.js";import{n as me,r as he,t as ge}from"./Image-teZwJQAc.js";import{n as _e}from"./context-CY-i_fTs.js";import{n as ve,o as ye,t as M}from"./dist-BbumCOcM.js";import{n as be}from"./dist-TvJGzxjW.js";import{a as xe,n as Se,r as N,t as Ce}from"./dist-Cy_GmoQV.js";import{a as we}from"./dist-CzLuyLki.js";import{r as Te,t as P}from"./dist-B1kc6_JF.js";import{c as Ee,i as De,o as F}from"./es2015-Gm6wlUmb.js";import{t as Oe}from"./HelpPopover-CZuqhS5N.js";import{t as I}from"./useMounted-DIUpDr0a.js";import{t as ke}from"./ThemeContext-nQ2Fb5_A.js";import{n as Ae,t as L}from"./revealOnce-Cv7IYg_q.js";import{t as R}from"./Text-CoD2GbPr.js";import{t as z}from"./Button-d981CZhq.js";import{t as B}from"./Heading-Czs8Neiy.js";import{t as je}from"./useBuildVersion-BuENzhoI.js";import{t as V}from"./react-fast-compare-PPBJHQvi.js";import{r as Me,t as Ne}from"./i18n-BedaXrgP.js";import{t as Pe}from"./usePostHog-B3luaIOK.js";import{t as Fe}from"./usePrevious-CjpdeWIt.js";var H=e(r(),1),U={},W=H.createContext(U);function Ie(e){let t=H.useContext(W);return H.useMemo(function(){return typeof e==`function`?e(t):{...t,...e}},[t,e])}function Le(e){let t;return t=e.disableParentContext?typeof e.components==`function`?e.components(U):e.components||U:Ie(e.components),H.createElement(W.Provider,{value:t},e.children)}function G(e){return{onFetch:(t,n)=>{let r=t.options,i=t.fetchOptions?.meta?.fetchMore?.direction,a=t.state.data?.pages||[],o=t.state.data?.pageParams||[],s={pages:[],pageParams:[]},c=0,l=async()=>{let n=!1,l=e=>{E(e,()=>t.signal,()=>n=!0)},u=ne(t.options,t.fetchOptions),d=async(e,r,i)=>{if(n)return Promise.reject();if(r==null&&e.pages.length)return Promise.resolve(e);let a=await u((()=>{let e={client:t.client,queryKey:t.queryKey,pageParam:r,direction:i?`backward`:`forward`,meta:t.options.meta};return l(e),e})()),{maxPages:o}=t.options,s=i?ie:D;return{pages:s(e.pages,a,o),pageParams:s(e.pageParams,r,o)}};if(i&&a.length){let e=i===`backward`,t=e?Re:K,n={pages:a,pageParams:o};s=await d(n,t(r,n),e)}else{let t=e??a.length;do{let e=c===0?o[0]??r.initialPageParam:K(r,s);if(c>0&&e==null)break;s=await d(s,e),c++}while(c<t)}return s};t.options.persister?t.fetchFn=()=>t.options.persister?.(l,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n):t.fetchFn=l}}}function K(e,{pages:t,pageParams:n}){let r=t.length-1;return t.length>0?e.getNextPageParam(t[r],t,n[r],n):void 0}function Re(e,{pages:t,pageParams:n}){return t.length>0?e.getPreviousPageParam?.(t[0],t,n[0],n):void 0}var ze=class extends ae{#e;#t;#n;#r;constructor(e){super(),this.#e=e.client,this.mutationId=e.mutationId,this.#n=e.mutationCache,this.#t=[],this.state=e.state||Be(),this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options=e,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(e){this.#t.includes(e)||(this.#t.push(e),this.clearGcTimeout(),this.#n.notify({type:`observerAdded`,mutation:this,observer:e}))}removeObserver(e){this.#t=this.#t.filter(t=>t!==e),this.scheduleGc(),this.#n.notify({type:`observerRemoved`,mutation:this,observer:e})}
3optionalRemove(){this.#t.length||(this.state.status===`pending`?this.scheduleGc():this.#n.remove(this))}continue(){return this.#r?.continue()??this.execute(this.state.variables)}async execute(e){let t=()=>{this.#i({type:`continue`})},n={client:this.#e,meta:this.options.meta,mutationKey:this.options.mutationKey};this.#r=T({fn:()=>this.options.mutationFn?this.options.mutationFn(e,n):Promise.reject(Error(`No mutationFn found`)),onFail:(e,t)=>{this.#i({type:`failed`,failureCount:e,error:t})},onPause:()=>{this.#i({type:`pause`})},onContinue:t,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#n.canRun(this)});let r=this.state.status===`pending`,i=!this.#r.canStart();try{if(r)t();else{this.#i({type:`pending`,variables:e,isPaused:i}),this.#n.config.onMutate&&await this.#n.config.onMutate(e,this,n);let t=await this.options.onMutate?.(e,n);t!==this.state.context&&this.#i({type:`pending`,context:t,variables:e,isPaused:i})}let a=await this.#r.start();return await this.#n.config.onSuccess?.(a,e,this.state.context,this,n),await this.options.onSuccess?.(a,e,this.state.context,n),await this.#n.config.onSettled?.(a,null,this.state.variables,this.state.context,this,n),await this.options.onSettled?.(a,null,e,this.state.context,n),this.#i({type:`success`,data:a}),a}catch(t){try{await this.#n.config.onError?.(t,e,this.state.context,this,n)}catch(e){Promise.reject(e)}try{await this.options.onError?.(t,e,this.state.context,n)}catch(e){Promise.reject(e)}try{await this.#n.config.onSettled?.(void 0,t,this.state.variables,this.state.context,this,n)}catch(e){Promise.reject(e)}try{await this.options.onSettled?.(void 0,t,e,this.state.context,n)}catch(e){Promise.reject(e)}throw this.#i({type:`error`,error:t}),t}finally{this.#n.runNext(this)}}#i(e){let t=t=>{switch(e.type){case`failed`:return{...t,failureCount:e.failureCount,failureReason:e.error};case`pause`:return{...t,isPaused:!0};case`continue`:return{...t,isPaused:!1};case`pending`:return{...t,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:e.isPaused,status:`pending`,variables:e.variables,submittedAt:Date.now()};case`success`:return{...t,data:e.data,failureCount:0,failureReason:null,error:null,status:`success`,isPaused:!1};case`error`:return{...t,data:void 0,error:e.error,failureCount:t.failureCount+1,failureReason:e.error,isPaused:!1,status:`error`}}};this.state=t(this.state),A.batch(()=>{this.#t.forEach(t=>{t.onMutationUpdate(e)}),this.#n.notify({mutation:this,type:`updated`,action:e})})}};function Be(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:`idle`,variables:void 0,submittedAt:0}}var Ve=class extends S{constructor(e={}){super(),this.config=e,this.#e=new Set,this.#t=new Map,this.#n=0}#e;#t;#n;build(e,t,n){let r=new ze({client:e,mutationCache:this,mutationId:++this.#n,options:e.defaultMutationOptions(t),state:n});return this.add(r),r}add(e){this.#e.add(e);let t=q(e);if(typeof t==`string`){let n=this.#t.get(t);n?n.push(e):this.#t.set(t,[e])}this.notify({type:`added`,mutation:e})}remove(e){if(this.#e.delete(e)){let t=q(e);if(typeof t==`string`){let n=this.#t.get(t);if(n)if(n.length>1){let t=n.indexOf(e);t!==-1&&n.splice(t,1)}else n[0]===e&&this.#t.delete(t)}}this.notify({type:`removed`,mutation:e})}canRun(e){let t=q(e);if(typeof t==`string`){let n=this.#t.get(t)?.find(e=>e.state.status===`pending`);return!n||n===e}else return!0}runNext(e){let t=q(e);return typeof t==`string`?(this.#t.get(t)?.find(t=>
3t!==e&&t.state.isPaused))?.continue()??Promise.resolve():Promise.resolve()}clear(){A.batch(()=>{this.#e.forEach(e=>{this.notify({type:`removed`,mutation:e})}),this.#e.clear(),this.#t.clear()})}getAll(){return Array.from(this.#e)}find(e){let t={exact:!0,...e};return this.getAll().find(e=>oe(t,e))}findAll(e={}){return this.getAll().filter(t=>oe(e,t))}notify(e){A.batch(()=>{this.listeners.forEach(t=>{t(e)})})}resumePausedMutations(){let e=this.getAll().filter(e=>e.state.isPaused);return A.batch(()=>Promise.all(e.map(e=>e.continue().catch(w))))}};function q(e){return e.options.scope?.id}var He=class extends S{constructor(e={}){super(),this.config=e,this.#e=new Map}#e;build(e,t,n){let r=t.queryKey,i=t.queryHash??C(r,t),a=this.get(i);return a||(a=new re({client:e,queryKey:r,queryHash:i,options:e.defaultQueryOptions(t),state:n,defaultOptions:e.getQueryDefaults(r)}),this.add(a)),a}add(e){this.#e.has(e.queryHash)||(this.#e.set(e.queryHash,e),this.notify({type:`added`,query:e}))}remove(e){let t=this.#e.get(e.queryHash);t&&(e.destroy(),t===e&&this.#e.delete(e.queryHash),this.notify({type:`removed`,query:e}))}clear(){A.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}get(e){return this.#e.get(e)}getAll(){return[...this.#e.values()]}find(e){let t={exact:!0,...e};return this.getAll().find(e=>le(t,e))}findAll(e={}){let t=this.getAll();return Object.keys(e).length>0?t.filter(t=>le(e,t)):t}notify(e){A.batch(()=>{this.listeners.forEach(t=>{t(e)})})}onFocus(){A.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){A.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}},J=class{#e;#t;#n;#r;#i;#a;#o;#s;constructor(e={}){this.#e=e.queryCache||new He,this.#t=e.mutationCache||new Ve,this.#n=e.defaultOptions||{},this.#r=new Map,this.#i=new Map,this.#a=0}mount(){this.#a++,this.#a===1&&(this.#o=se.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#e.onFocus())}),this.#s=te.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#e.onOnline())}))}unmount(){this.#a--,this.#a===0&&(this.#o?.(),this.#o=void 0,this.#s?.(),this.#s=void 0)}isFetching(e){return this.#e.findAll({...e,fetchStatus:`fetching`}).length}isMutating(e){return this.#t.findAll({...e,status:`pending`}).length}getQueryData(e){let t=this.defaultQueryOptions({queryKey:e});return this.#e.get(t.queryHash)?.state.data}ensureQueryData(e){let t=this.defaultQueryOptions(e),n=this.#e.build(this,t),r=n.state.data;return r===void 0?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(x(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(r))}getQueriesData(e){return this.#e.findAll(e).map(({queryKey:e,state:t})=>[e,t.data])}setQueryData(e,t,n){let r=this.defaultQueryOptions({queryKey:e}),i=this.#e.get(r.queryHash)?.state.data,a=k(t,i);if(a!==void 0)return this.#e.build(this,r).setData(a,{...n,manual:!0})}setQueriesData(e,t,n){return A.batch(()=>this.#e.findAll(e).map(({queryKey:e})=>[e,this.setQueryData(e,t,n)]))}getQueryState(e){let t=this.defaultQueryOptions({queryKey:e});return this.#e.get(t.queryHash)?.state}removeQueries(e){let t=this.#e;A.batch(()=>{t.findAll(e).forEach(e=>{t.remove(e)})})}resetQueries(e,t){let n=this.#e;return A.batch(()=>(n.findAll(e).forEach(e=>{e.reset()}),this.refetchQueries({type:`active`,...e},t)))}cancelQueries(e,t={}){let n={revert:!0,...t},r=A.batch(()=>this.#e.findAll(e).map(e=>e.cancel(n)));return Promise.all(r).then(w).catch(w)}invalidateQueries(e,t={}){return A.batch(()=>(this.#e.findAll(e).forEach(e=>{e.invalidate()}),e?.refetchType===`none`?Promise.resolve():this.refetchQueries({...e,type:e?.refetchType??e?.type??`active`},t)))}refetchQueries(e,t={}){let n={...t,cancelRefetch:t.cancelRefetch??!0},r=A.batch(()=>this.#e.findAll(e).filter(e=>!e.isDisabled()&&!e.isStatic()).map(e=>{let t=e.fetch(void 0,n);return n.throwOnError||(t=t.catch(w)),e.state.fetchStatus===`paused`?Promise.resolve():t}));return Promise.all(r).then(w)}fetchQuery(e){let t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);let n=this.#e.build(this,t);return n.isStaleByTime(x(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(w).catch(w)}fetchInfiniteQuery(e){return e.behavior=G(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(w).catch(w)}ensureInfiniteQueryData(e){return e.behavior=G(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return te.isOnline()?this.#t.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#e}getMutationCache(){return this.#t}getDefaultOptions(){return this.#n}setDefaultOptions(e){this.#n=e}setQueryDefaults(e,t){this.#r.set(O(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){let t=[...this.#r.values()],n={};return t.forEach(t=>{ce(e,t.queryKey)&&Object.assign(n,t.defaultOptions)}),n}setMutationDefaults(e,t){this.#i.set(O(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){let t=[...this.#i.values()],n={};return t.forEach(t=>{ce(e,t.mutationKey)&&Object.assign(n,t.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;let t={...this.#n.queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||=C(t.queryKey,t),t.refetchOnReconnect===void 0&&(t.refetchOnReconnect=t.networkMode!==`always`),t.throwOnError===void 0&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode=`offlineFirst`),t.queryFn===b&&(t.enabled=!1),t}defaultMutationOptions(e){return e?._defaulted?e:{...this.#n.mutations,...e?.mutationKey&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){this.#e.clear(),this.#t.clear()}},Y=y(),Ue=`/assets/style-8hax8RNO.css`,X=v();function We(e){let t=(0,Y.c)(4),{nonce:n}=e,r,i;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(r=`application/ld+json`,i={__html:JSON.stringify({"@context":`https://schema.org`,"@type":`Organization`,name:`Depot`,alternateName:`Depot.dev`,url:`https://depot.dev`,logo:{"@type":`ImageObject`,url:`https://depot.dev/assets/brand/symbol/symbol-light-3x.png`}
3,description:`Depot is a build infrastructure platform offering: (1) Depot container builds - remote Docker builds up to 40x faster with Intel and Arm support, (2) Depot GitHub Actions runners - managed CI infrastructure with 30% faster CPUs at half the cost, (3) Depot Cache - distributed caching for Bazel, Gradle, Turborepo and more, (4) Depot Registry - global container image storage with CDN, (5) Depot API - programmatic container builds for platforms, (6) Depot Managed - enterprise deployment in your AWS account with data sovereignty, and (7) Depot agent sandboxes - secure cloud sandboxes for AI coding tools. Built for engineering teams to eliminate build bottlenecks and accelerate software delivery.`,foundingDate:`2022`,slogan:`Build faster. Waste less time.`,sameAs:[`https://twitter.com/depotdev`,`https://github.com/depot`],contactPoint:{"@type":`ContactPoint`,email:`[email protected]`,contactType:`customer support`,availableLanguage:`English`},makesOffer:[{"@type":`Offer`,name:`Depot container builds`,description:`Remote Docker builds up to 40x faster`},{"@type":`Offer`,name:`Depot GitHub Actions runners`,description:`Managed CI infrastructure at half the cost`},{"@type":`Offer`,name:`Depot Cache`,description:`Distributed caching for build tools`},{"@type":`Offer`,name:`Depot Registry`,description:`Global container image storage`},{"@type":`Offer`,name:`Depot API`,description:`Programmatic container builds`},{"@type":`Offer`,name:`Depot Managed`,description:`Enterprise deployment in your AW
vendor: 8,542 bytes, line 3
3S account`},{"@type":`Offer`,name:`Depot agent sandboxes`,description:`Cloud sandboxes for AI coding tools`}]})},t[0]=r,t[1]=i):(r=t[0],i=t[1]);let a;return t[2]===n?a=t[3]:(a=(0,X.jsx)(`script`,{type:r,dangerouslySetInnerHTML:i,nonce:n}),t[2]=n,t[3]=a),a}var Ge=e(i(),1),Z=`ToastProvider`,[Ke,qe,Q]=we(`Toast`),[$,Je]=xe(`Toast`,[Q]),[Ye,Xe]=$(Z),Ze=e=>{let{__scopeToast:t,label:n=`Notification`,duration:r=5e3,swipeDirection:i=`right`,swipeThreshold:a=50,children:o}=e,[s,c]=H.useState(null),[l,u]=H.useState(0),d=H.useRef(!1),f=H.useRef(!1);return n.trim()||console.error(`Invalid prop \`label\` supplied to \`${Z}\`. Expected non-empty \`string\`.`),(0,X.jsx)(Ke.Provider,{scope:t,children:(0,X.jsx)(Ye,{scope:t,label:n,duration:r,swipeDirection:i,swipeThreshold:a,toastCount:l,viewport:s,onViewportChange:c,onToastAdd:H.useCallback(()=>u(e=>e+1),[]),onToastRemove:H.useCallback(()=>u(e=>e-1),[]),isFocusedToastEscapeKeyDownRef:d,isClosePausedRef:f,children:o})})};Ze.displayName=Z;var Qe=`ToastViewport`,$e=[`F8`],et=`toast.viewportPause`,tt=`toast.viewportResume`,nt=H.forwardRef((e,t)=>{let{__scopeToast:n,hotkey:r=$e,label:i=`Notifications ({hotkey})`,...a}=e,o=Xe(Qe,n),s=qe(n),c=H.useRef(null),l=H.useRef(null),u=H.useRef(null),d=H.useRef(null),f=ye(t,d,o.onViewportChange),p=r.join(`+`).replace(/Key/g,``).replace(/Digit/g,``),m=o.toastCount>0;H.useEffect(()=>{let e=e=>{r.length!==0&&r.every(t=>e[t]||e.code===t)&&d.current?.focus()};return document.addEventListener(`keydown`,e),()=>document.removeEventListener(`keydown`,e)},[r]),H.useEffect(()=>{let e=c.current,t=d.current;if(m&&e&&t){let n=()=>{if(!o.isClosePausedRef.current){let e=new CustomEvent(et);t.dispatchEvent(e),o.isClosePausedRef.current=!0}},r=()=>{if(o.isClosePausedRef.current){let e=new CustomEvent(tt);t.dispatchEvent(e),o.isClosePausedRef.current=!1}},i=t=>{e.contains(t.relatedTarget)||r()},a=()=>{e.contains(document.activeElement)||r()};return e.addEventListener(`focusin`,n),e.addEventListener(`focusout`,i),e.addEventListener(`pointermove`,n),e.addEventListener(`pointerleave`,a),window.addEventListener(`blur`,n),window.addEventListener(`focus`,r),()=>{e.removeEventListener(`focusin`,n),e.removeEventListener(`focusout`,i),e.removeEventListener(`pointermove`,n),e.removeEventListener(`pointerleave`,a),window.removeEventListener(`blur`,n),window.removeEventListener(`focus`,r)}}},[m,o.isClosePausedRef]);let h=H.useCallback(({tabbingDirection:e})=>{let t=s().map(t=>{let n=t.ref.current,r=[n,...kt(n)];return e===`forwards`?r:r.reverse()});return(e===`forwards`?t.reverse():t).flat()},[s]);return H.useEffect(()=>{let e=d.current;if(e){let t=t=>{let n=t.altKey||t.ctrlKey||t.metaKey;if(t.key===`Tab`&&!n){let n=document.activeElement,r=t.shiftKey;if(t.target===e&&r){l.current?.focus();return}let i=h({tabbingDirection:r?`backwards`:`forwards`}),a=i.findIndex(e=>e===n);At(i.slice(a+1))?t.preventDefault():r?l.current?.focus():u.current?.focus()}};return e.addEventListener(`keydown`,t),()=>e.removeEventListener(`keydown`,t)}},[s,h]),(0,X.jsxs)(F,{ref:c,role:`region`,"aria-label":i.replace(`{hotkey}`,p),tabIndex:-1,style:{pointerEvents:m?void 0:`none`},children:[m&&(0,X.jsx)(it,{ref:l,onFocusFromOutsideViewport:()=>{At(h({tabbingDirection:`forwards`}))}}),(0,X.jsx)(Ke.Slot,{scope:n,children:(0,X.jsx)(M.ol,{tabIndex:-1,...a,ref:f})}),m&&(0,X.jsx)(it,{ref:u,onFocusFromOutsideViewport:()=>{At(h({tabbingDirection:`backwards`}))}})]})});nt.displayName=Qe;var rt=`ToastFocusProxy`,it=H.forwardRef((e,t)=>{let{__scopeToast:n,onFocusFromOutsideViewport:r,...i}=e,a=Xe(rt,n);return(0,X.jsx)(be,{tabIndex:0,...i,ref:t,style:{position:`fixed`},onFocus:e=>{let t=e.relatedTarget;a.viewport?.contains(t)||r()}})});it.displayName=rt;var at=`Toast`,ot=`toast.swipeStart`,st=`toast.swipeMove`,ct=`toast.swipeCancel`,lt=`toast.swipeEnd`,ut=H.forwardRef((e,t)=>{let{forceMount:n,open:r,defaultOpen:i,onOpenChange:a,...o}=e,[s,c]=Ce({prop:r,defaultProp:i??!0,onChange:a,caller:at});return(0,X.jsx)(Te,{present:n||s,children:(0,X.jsx)(pt,{open:s,...o,ref:t,onClose:()=>c(!1),onPause:P(e.onPause),onResume:P(e.onResume),onSwipeStart:N(e.onSwipeStart,e=>{e.currentTarget.setAttribute(`data-swipe`,`start`)}),onSwipeMove:N(e.onSwipeMove,e=>{let{x:t,y:n}=e.detail.delta;e.currentTarget.setAttribute(`data-swipe`,`move`),e.currentTarget.style.setProperty(`--radix-toast-swipe-move-x`,`${t}px`),e.currentTarget.style.setProperty(`--radix-toast-swipe-move-y`,`${n}px`)}),onSwipeCancel:N(e.onSwipeCancel,e=>{e.currentTarget.setAttribute(`data-swipe`,`cancel`),e.currentTarget.style.removeProperty(`--radix-toast-swipe-move-x`),e.currentTarget.style.removeProperty(`--radix-toast-swipe-move-y`),e.currentTarget.style.removeProperty(`--radix-toast-swipe-end-x`),e.currentTarget.style.removeProperty(`--radix-toast-swipe-end-y`)}),onSwipeEnd:N(e.onSwipeEnd,e=>{let{x:t,y:n}=e.detail.delta;e.currentTarget.setAttribute(`data-swipe`,`end`),e.currentTarget.style.removeProperty(`--radix-toast-swipe-move-x`),e.currentTarget.style.removeProperty(`--radix-toast-swipe-move-y`),e.currentTarget.style.setProperty(`--radix-toast-swipe-end-x`,`${t}px`),e.currentTarget.style.setProperty(`--radix-toast-swipe-end-y`,`${n}px`),c(!1)})})})});ut.displayName=at;var[dt,ft]=$(at,{onClose(){}}),pt=H.forwardRef((e,t)=>{let{__scopeToast:n,type:r=`foreground`,duration:i,open:a,onClose:o,onEscapeKeyDown:s,onPause:c,onResume:l,onSwipeStart:u,onSwipeMove:d,onSwipeCancel:f,onSwipeEnd:p,...m}=e,h=Xe(at,n),[g,_]=H.useState(null),v=ye(t,e=>_(e)),y=H.useRef(null),b=H.useRef(null),x=i||h.duration,S=H.useRef(0),C=H.useRef(x),w=H.useRef(0),{onToastAdd:T,onToastRemove:E}=h,D=P(()=>{g?.contains(document.activeElement)&&h.viewport?.focus(),o()}),O=H.useCallback(e=>{!e||e===1/0||(window.clearTimeout(w.current),S.current=new Date().getTime(),w.current=window.setTimeout(D,e))},[D]);H.useEffect(()=>{let e=h.viewport;if(e){let t=()=>{O(C.current),l?.()},n=()=>{let e=new Date().getTime()-S.current;C.current-=e,window.clearTimeout(w.current),c?.()};return e.addEventListener(et,n),e.addEventListener(tt,t),()=>{e.removeEventListener(et,n),e.removeEventListener(tt,t)}}},[h.viewport,x,c,l,O]),H.useEffect(()=>{a&&!h.isClosePausedRef.current&&O(x)},[a,x,h.isClosePausedRef,O]),H.useEffect(()=>(T(),()=>E()),[T,E]);let k=H.useMemo(()=>g?wt(g):null,[g]);return h.viewport?(0,X.jsxs)(X.Fragment,{children:[k&&(0,X.jsx)(mt,{__scopeToast:n,role:`status`,"aria-live":r===`foreground`?`assertive`:`polite`,children:k}),(0,X.jsx)(dt,{scope:n,onClose:D,children:Ge.createPortal((0,X.jsx)(Ke.ItemSlot,{scope:n,children:(0,X.jsx)(Ee,{asChild:!0,onEscapeKeyDown:N(s,()=>{h.isFocusedToastEscapeKeyDownRef.current||D(),h.isFocusedToastEscapeKeyDownRef.current=!1}),children:(0,X.jsx)(M.li,{tabIndex:0,"data-state":a?`open`:`closed`,"data-swipe-direction":h.swipeDirection,...m,ref:v,style:{userSelect:`none`,touchAction:`none`,...e.style},onKeyDown:N(e.onKeyDown,e=>{e.key===`Escape`&&(s?.(e.nativeEvent),e.nativeEvent.defaultPrevented||(h.isFocusedToastEscapeKeyDownRef.current=!0,D()))}),onPointerDown:N(e.onPointerDown,e=>{e.button===0&&(y.current={x:e.clientX,y:e.clientY})}),onPointerMove:N(e.onPointerMove,e=>{if(!y.current)return;let t=e.clientX-y.current.x,n=e.clientY-y.current.y,r=!!b.current,i=[`left`,`right`].includes(h.swipeDirection),a=[`left`,`up`].includes(h.swipeDirection)?Math.min:Math.max,o=i?a(0,t):0,s=i?0:a(0,n),c=e.pointerType===`touch`?10:2,l={x:o,y:s},f={originalEvent:e,delta:l};r?(b.current=l,Tt(st,d,f,{discrete:!1})):Et(l,h.swipeDirection,c)?(b.current=l,Tt(ot,u,f,{discrete:!1}),e.target.setPointerCapture(e.pointerId)):(Math.abs(t)>c||Math.abs(n)>c)&&(y.current=null)}),onPointerUp:N(e.onPointerUp,e=>{let t=b.current,n=e.target;if(n.hasPointerCapture(e.pointerId)&&n.releasePointerCapture(e.pointerId),b.current=null,y.current=null,t){let n=e.currentTarget,r={originalEvent:e,delta:t};Et(t,h.swipeDirection,h.swipeThreshold)?Tt(lt,p,r,{discrete:!0}):Tt(ct,f,r,{discrete:!0}),n.addEventListener(`click`,e=>e.preventDefault(),{once:!0})}})})})}),h.viewport)})]}):null}),mt=e=>{let{__scopeToast:t,children:n,...r}=e,i=Xe(at,t),[a,o]=H.useState(!1),[s,c]=H.useState(!1);return Dt(()=>o(!0)),H.useEffect(()=>{let e=window.setTimeout(()=>c(!0),1e3);return()=>window.clearTimeout(e)},[]),s?null:(0,X.jsx)(De,{asChild:!0,children:(0,X.jsx)(be,{...r,children:a&&(0,X.jsxs)(X.Fragment,{children:[i.label,` `,n]})})})},ht=`ToastTitle`,gt=H.forwardRef((e,t)=>{let{__scopeToast:n,...r}=e;return(0,X.jsx)(M.div,{...r,ref:t})});gt.displayName=ht;var _t=`ToastDescription`,vt=H.forwardRef((e,t)=>
3{let{__scopeToast:n,...r}=e;return(0,X.jsx)(M.div,{...r,ref:t})});vt.displayName=_t;var yt=`ToastAction`,bt=H.forwardRef((e,t)=>{let{altText:n,...r}=e;return n.trim()?(0,X.jsx)(Ct,{altText:n,asChild:!0,children:(0,X.jsx)(St,{...r,ref:t})}):(console.error(`Invalid prop \`altText\` supplied to \`${yt}\`. Expected non-empty \`string\`.`),null)});bt.displayName=yt;var xt=`ToastClose`,St=H.forwardRef((e,t)=>{let{__scopeToast:n,...r}=e,i=ft(xt,n);return(0,X.jsx)(Ct,{asChild:!0,children:(0,X.jsx)(M.button,{type:`button`,...r,ref:t,onClick:N(e.onClick,i.onClose)})})});St.displayName=xt;var Ct=H.forwardRef((e,t)=>{let{__scopeToast:n,altText:r,...i}=e;return(0,X.jsx)(M.div,{"data-radix-toast-announce-exclude":``,"data-radix-toast-announce-alt":r||void 0,...i,ref:t})});function wt(e){let t=[];return Array.from(e.childNodes).forEach(e=>{if(e.nodeType===e.TEXT_NODE&&e.textContent&&t.push(e.textContent),Ot(e)){let n=e.ariaHidden||e.hidden||e.style.display===`none`,r=e.dataset.radixToastAnnounceExclude===``;if(!n)if(r){let n=e.dataset.radixToastAnnounceAlt;n&&t.push(n)}else t.push(...wt(e))}}),t}function Tt(e,t,n,{discrete:r}){let i=n.originalEvent.currentTarget,a=new CustomEvent(e,{bubbles:!0,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),r?ve(i,a):i.dispatchEvent(a)}var Et=(e,t,n=0)=>{let r=Math.abs(e.x),i=Math.abs(e.y),a=r>i;return t===`left`||t===`right`?a&&r>n:!a&&i>n};function Dt(e=()=>{}){let t=P(e);Se(()=>{let e=0,n=0;return e=window.requestAnimationFrame(()=>n=window.requestAnimationFrame(t)),()=>{window.cancelAnimationFrame(e),window.cancelAnimationFrame(n)}},[t])}function Ot(e){return e.nodeType===e.ELEMENT_NODE}function kt(e){let t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{let t=e.tagName===`INPUT`&&e.type===`hidden`;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function At(e){let t=document.activeElement;return e.some(e=>e===t?!0:(e.focus(),document.activeElement!==t))}var jt=Ze,Mt=nt,Nt=ut,Pt=gt,Ft=vt,It=St,Lt=`AW-18206512709/zFSLCOqY8LscEMWsxelD`,Rt={ad_storage:`denied`,ad_user_data:`denied`,ad_personalization:`denied`,analytics_storage:`denied`};function zt(e){return[`window.dataLayer = window.dataLayer || [];`,`window.gtag = window.gtag || function gtag(){window.dataLayer.push(arguments);};`,`window.gtag('consent', 'default', ${JSON.stringify(Rt)});`,`window.gtag('js', new Date());`,`window.gtag('config', ${JSON.stringify(e)});`].join(` 4`)}function Bt(e){let t=`${e}=`,n=document.cookie.split(`; `).find(e=>e.startsWith(t));return n?decodeURIComponent(n.slice(t.length)):null}function Vt(e){let t=window.location.protocol===`https:`?`; Secure`:``;document.cookie=`${e}=; Path=/; Max-Age=0; SameSite=Lax${t}`}function Ht(e){let t=(0,Y.c)(11),{nonce:n,tagID:r}=e,i=`https://www.googletagmanager.com/gtag/js?id=${r}`,a;t[0]!==n||t[1]!==i?(a=(0,X.jsx)(`script`,{async:!0,src:i,nonce:n}),t[0]=n,t[1]=i,t[2]=a):a=t[2];let o;t[3]===r?o=t[4]:(o=zt(r),t[3]=r,t[4]=o);let s;t[5]!==n||t[6]!==o?(s=(0,X.jsx)(`script`,{nonce:n,children:o}),t[5]=n,t[6]=o,t[7]=s):s=t[7];let c;return t[8]!==a||t[9]!==s?(c=(0,X.jsxs)(X.Fragment,{children:[a,s]}),t[8]=a,t[9]=s,t[10]=c):c=t[10],c}function Ut(e){let t=(0,Y.c)(15),{cookiesAllowed:n,isImpersonating:r,conversionCookie:i}=e,a=o(),s=i?.name,c=i?.sendTo,l,u;t[0]!==n||t[1]!==r?(l=()=>{if(typeof window.gtag!=`function`)return;if(r){window.gtag(`consent`,`update`,Rt);return}if(n===void 0)return;let e=n?`granted`:`denied`;window.gtag(`consent`,`update`,{ad_storage:e,ad_user_data:e,ad_personalization:e,analytics_storage:e})},u=[n,r],t[0]=n,t[1]=r,t[2]=l,t[3]=u):(l=t[2],u=t[3]),(0,H.useEffect)(l,u);let d;t[4]!==s||t[5]!==c||t[6]!==n||t[7]!==r?(d=()=>{if(!s||!c)return;let e=Bt(s);if(e){if(r){Vt(s);return}n!==!0||typeof window.gtag!=`function`||(window.gtag(`event`,`conversion`,{send_to:c,transaction_id:e}),Vt(s))}},t[4]=s,t[5]=c,t[6]=n,t[7]=r,t[8]=d):d=t[8];let f;return t[9]!==s||t[10]!==c||t[11]!==n||t[12]!==r||t[13]!==a.key?(f=[a.key,s,c,n,r],t[9]=s,t[10]=c,t[11]=n,t[12]=r,t[13]=a.key,t[14]=f):f=t[14],(0,H.useEffect)(d,f),null}function Wt(e){let t=(0,Y.c)(5),{partnerID:n}=e,r=I(),[i,a]=(0,H.useState)(!1),o,s;return t[0]!==i||t[1]!==r||t[2]!==n?(o=()=>
4{if(!r||i)return;window._linkedin_data_partner_ids=window._linkedin_data_partner_ids||[],window._linkedin_data_partner_ids.push(n),window.lintrk=window.lintrk||Gt,window.lintrk.q=window.lintrk.q||[];let e=document.getElementsByTagName(`script`)[0],t=document.createElement(`script`);t.type=`text/javascript`,t.async=!0,t.src=`https://snap.licdn.com/li.lms-analytics/insight.min.js`,t.id=`linkedin-insight`,e.parentNode?.insertBefore(t,e),a(!0)},s=[r,i,n],t[0]=i,t[1]=r,t[2]=n,t[3]=o,t[4]=s):(o=t[3],s=t[4]),(0,H.useEffect)(o,s),null}function Gt(e,t){window.lintrk.q.push([e,t])}var Kt=`cookie-banner-entry`;function qt(){let e=(0,Y.c)(27),t=o(),n=a(),r=I(),[i,s]=(0,H.useState)(null),c=(0,H.useRef)(!1),l,u;e[0]!==i||e[1]!==n?(l=()=>{!i||c.current||n.state!==`idle`||typeof window>`u`||window.matchMedia(`(prefers-reduced-motion: reduce)`).matches&&(c.current=!0,n.submit({analytics:i,advertising:i},{method:`post`,action:`/cookies`}))},u=[i,n],e[0]=i,e[1]=n,e[2]=l,e[3]=u):(l=e[2],u=e[3]),(0,H.useEffect)(l,u);let d,p;if(e[4]===r?(d=e[5],p=e[6]):(d=()=>{r&&Ae(Kt)},p=[r],e[4]=r,e[5]=d,e[6]=p),(0,H.useEffect)(d,p),!r||t.search.includes(`screenshot`))return null;let m;e[7]!==i||e[8]!==n?(m=function(e){e.animationName!==`cookie-banner-out`||!i||c.current||n.state!==`idle`||(c.current=!0,n.submit({analytics:i,advertising:i},{method:`post`,action:`/cookies`}))},e[7]=i,e[8]=n,e[9]=m):m=e[9];let h=m,g=!i&&!L(Kt),_=i?`animate-cookie-banner-out`:g?`animate-cookie-banner-in`:``,v=i!==null,y=`fixed right-4 bottom-4 left-4 z-10 will-change-transform ${_} motion-reduce:animate-none sm:right-auto sm:bottom-6 sm:left-8 sm:max-w-xs`,b,x;e[10]===Symbol.for(`react.memo_cache_sentinel`)?(b=(0,X.jsx)(`div`,{"aria-hidden":`true`,className:`pointer-events-none absolute top-0 right-0 left-0 h-px bg-[linear-gradient(90deg,transparent_0%,var(--color-depot-purple)_30%,var(--color-depot-light-blue)_70%,transparent_100%)]`}),x=(0,X.jsx)(`div`,{"aria-hidden":`true`,className:`pointer-events-none absolute inset-0 bg-[radial-gradient(120%_80%_at_0%_0%,color-mix(in_srgb,var(--color-depot-purple)_10%,transparent)_0%,transparent_60%)]`}),e[10]=b,e[11]=x):(b=e[10],x=e[11]);let S;e[12]===Symbol.for(`react.memo_cache_sentinel`)?(S=(0,X.jsx)(B,{as:`span`,className:`text-depot-theme-primary uppercase`,variant:`h3-mono`,children:`Cookies`}),e[12]=S):S=e[12];let C;e[13]===Symbol.for(`react.memo_cache_sentinel`)?(C=(0,X.jsxs)(`div`,{className:`flex flex-col gap-4`,children:[S,(0,X.jsxs)(R,{as:`p`,className:`max-w-64 text-depot-neutral-50`,variant:`body-xs`,children:[`We use cookies to understand how people use Depot.`,` `,(0,X.jsx)(R,{as:f,className:`text-depot-theme-primary underline transition-opacity hover:opacity-75`,to:`/cookies`,variant:`body-xs`,children:`Learn more`})]})]}),e[13]=C):C=e[13];let w;e[14]===Symbol.for(`react.memo_cache_sentinel`)?(w=()=>s(`no`),e[14]=w):w=e[14];let T;e[15]===v?T=e[16]:(T=(0,X.jsx)(z,{className:`border border-depot-neutral-800 text-depot-theme-primary`,disabled:v,onClick:w,size:`small`,type:`button`,variant:`ghost`,children:`Reject`}),e[15]=v,e[16]=T);let E;e[17]===Symbol.for(`react.memo_cache_sentinel`)?(E=()=>s(`yes`),e[17]=E):E=e[17];let D;e[18]===v?D=e[19]:(D=(0,X.jsx)(z,{disabled:v,onClick:E,size:`small`,type:`button`,variant:`primary`,children:`Accept`}),e[18]=v,e[19]=D);let O;e[20]!==T||e[21]!==D?(O=(0,X.jsxs)(`div`,{className:`relative overflow-hidden rounded-sm border border-depot-neutral-800 bg-depot-theme-primary-inverse/95 shadow-[0_4px_12px_-6px_rgba(0,0,0,0.18)] backdrop-blur-md`,children:[b,x,(0,X.jsxs)(`div`,{className:`relative flex flex-col gap-3 p-4`,children:[C,(0,X.jsxs)(`div`,{className:`flex items-center justify-end gap-2`,children:[T,D]})]})]}),e[20]=T,e[21]=D,e[22]=O):O=e[22];let k;return e[23]!==h||e[24]!==O||e[25]!==y?(k=(0,X.jsx)(`div`,{className:y,onAnimationEnd:h,children:O}),e[23]=h,e[24]=O,e[25]=y,e[26]=k):k=e[26],k}function Jt(e){"@babel/helpers - typeof";return Jt=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},Jt(e)}function Yt(e,t){if(Jt(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(Jt(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function Xt(e){var t=Yt(e,`string`);return Jt(t)==`symbol`?t:t+``}function Zt(e,t,n){return(t=Xt(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Qt(e){if(Array.isArray(e))return e}function $t(e,t){var n=e==null?null:typeof Symbol<`u`&&e[Symbol.iterator]||e[`@@iterator`];if(n!=null){var r,i,a,o,s=[],c=!0,l=!1;try{if(a=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){l=!0,i=e}
4finally{try{if(!c&&n.return!=null&&(o=n.return(),Object(o)!==o))return}finally{if(l)throw i}}return s}}function en(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function tn(e,t){if(e){if(typeof e==`string`)return en(e,t);var n={}.toString.call(e).slice(8,-1);return n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`?Array.from(e):n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?en(e,t):void 0}}function nn(){throw TypeError(`Invalid attempt to destructure non-iterable instance. 5In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function rn(e,t){return Qt(e)||$t(e,t)||tn(e,t)||nn()}var an=t((e=>{var t=typeof Symbol==`function`&&Symbol.for,n=t?Symbol.for(`react.element`):60103,r=t?Symbol.for(`react.portal`):60106,i=t?Symbol.for(`react.fragment`):60107,a=t?Symbol.for(`react.strict_mode`):60108,o=t?Symbol.for(`react.profiler`):60114,s=t?Symbol.for(`react.provider`):60109,c=t?Symbol.for(`react.context`):60110,l=t?Symbol.for(`react.async_mode`):60111,u=t?Symbol.for(`react.concurrent_mode`):60111,d=t?Symbol.for(`react.forward_ref`):60112,f=t?Symbol.for(`react.suspense`):60113,p=t?Symbol.for(`react.suspense_list`):60120,m=t?Symbol.for(`react.memo`):60115,h=t?Symbol.for(`react.lazy`):60116,g=t?Symbol.for(`react.block`):60121,_=t?Symbol.for(`react.fundamental`):60117,v=t?Symbol.for(`react.responder`):60118,y=t?Symbol.for(`react.scope`):60119;function b(e){if(typeof e==`object`&&e){var t=e.$$typeof;switch(t){case n:switch(e=e.type,e){case l:case u:case i:case o:case a:case f:return e;default:switch(e&&=e.$$typeof,e){case c:case d:case h:case m:case s:return e;default:return t}}case r:return t}}}function x(e){return b(e)===u}e.AsyncMode=l,e.ConcurrentMode=u,e.ContextConsumer=c,e.ContextProvider=s,e.Element=n,e.ForwardRef=d,e.Fragment=i,e.Lazy=h,e.Memo=m,e.Portal=r,e.Profiler=o,e.StrictMode=a,e.Suspense=f,e.isAsyncMode=function(e){return x(e)||b(e)===l},e.isConcurrentMode=x,e.isContextConsumer=function(e){return b(e)===c},e.isContextProvider=function(e){return b(e)===s},e.isElement=function(e){return typeof e==`object`&&!!e&&e.$$typeof===n},e.isForwardRef=function(e){return b(e)===d},e.isFragment=function(e){return b(e)===i},e.isLazy=function(e){return b(e)===h},e.isMemo=function(e){return b(e)===m},e.isPortal=function(e){return b(e)===r},e.isProfiler=function(e){return b(e)===o},e.isStrictMode=function(e){return b(e)===a},e.isSuspense=function(e){return b(e)===f},e.isValidElementType=function(e){return typeof e==`string`||typeof e==`function`||e===i||e===u||e===o||e===a||e===f||e===p||typeof e==`object`&&!!e&&(e.$$typeof===h||e.$$typeof===m||e.$$typeof===s||e.$$typeof===c||e.$$typeof===d||e.$$typeof===_||e.$$typeof===v||e.$$typeof===y||e.$$typeof===g)},e.typeOf=b})),on=t(((e,t)=>{t.exports=an()}));t(((e,t)=>{var n=on(),r={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},o={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};s[n.ForwardRef]=a,s[n.Memo]=o;function c(e){return n.isMemo(e)?o:s[e.$$typeof]||r}var l=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,m=Object.prototype;function h(e,t,n){if(typeof t!=`string`){if(m){var r=p(t);r&&r!==m&&h(e,r,n)}var a=u(t);d&&(a=a.concat(d(t)));for(var o=c(e),s=c(t),g=0;g<a.length;++g){var _=a[g];if(!i[_]&&!(n&&n[_])&&!(s&&s[_])&&!(o&&o[_])){var v=f(t,_);try{l(e,_,v)}catch{}}}}return e}t.exports=h}))();var sn=function(e,t,n){return e=e<=n?e:n,e=e>=t?e:t,e},cn=function(){var e=!1,t=[],n=function(){e=!0;var r=t.shift();if(r)return r(n);e=!1};return{clear:function(){e=!1,t=[]},enqueue:function(r){t.push(r),!e&&t.length===1&&n()}}},ln=function(){var e,t=function(){e!==void 0&&window.cancelAnimationFrame(e)};return{cancel:t,schedule:function(n,r){t();var i,a,o=function(t){if(a||=t,i=t-a,i>r){n();return}e=window.requestAnimationFrame(o)};e=window.requestAnimationFrame(o)}}},un=function(e){var t=0;return e>=0&&e<.2?t=.1:e>=.2&&e<.5?t=.04:e>=.5&&e<.8?t=.02:e>=.8&&e<.99&&(t=.005),sn(e+t,0,.994)},dn=function(e){(0,H.useEffect)(e,[])};function fn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function pn(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];
5t%2?fn(Object(n),!0).forEach(function(t){Zt(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):fn(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var mn=function(e){return++e%1e6},hn=function(){var e=rn((0,H.useState)(0),2)[1];return(0,H.useCallback)(function(){return e(mn)},[])},gn=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=hn(),n=(0,H.useRef)(pn({},e));return[(0,H.useCallback)(function(){return n.current},[]),(0,H.useCallback)(function(e){e&&(Object.assign(n.current,e),t())},[])]},_n=function(){var e=(0,H.useRef)(!0);return e.current?(e.current=!1,!0):e.current},vn=function(e,t){var n=_n();(0,H.useEffect)(function(){if(!n)return e()},t)};function yn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function bn(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?yn(Object(n),!0).forEach(function(t){Zt(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):yn(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var xn={isFinished:!0,progress:0,sideEffect:function(){}},Sn=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=e.animationDuration,n=t===void 0?200:t,r=e.incrementDuration,i=r===void 0?200:r,a=e.isAnimating,o=a===void 0?!1:a,s=e.minimum,c=s===void 0?.08:s,l=rn(gn(xn),2),u=l[0],d=l[1],f=(0,H.useRef)(null),p=(0,H.useRef)(null);dn(function(){f.current=cn(),p.current=ln()});var m=(0,H.useCallback)(function(){var e,t;(e=p.current)==null||e.cancel(),(t=f.current)==null||t.clear()},[]),h=(0,H.useCallback)(function(e){var t;if(e=sn(e,c,1),e===1){var r,i;m(),(r=f.current)==null||r.enqueue(function(t){d({progress:e,sideEffect:function(){return p.current?.schedule(t,n)}})}),(i=f.current)==null||i.enqueue(function(){d({isFinished:!0,sideEffect:m})});return}(t=f.current)==null||t.enqueue(function(t){d({isFinished:!1,progress:e,sideEffect:t})})},[n,m,c,f,d,p]),g=(0,H.useCallback)(function(){h(un(u().progress))},[u,h]),_=(0,H.useCallback)(function(){var e=function(){var t;g(),(t=f.current)==null||t.enqueue(function(t){var n;(n=p.current)==null||n.schedule(function(){e(),t()},i)})};e()},[i,f,p,g]),v=u().sideEffect;return dn(function(){return o&&_(),m}),vn(function(){u().sideEffect()},[u,v]),vn(function(){o?d(bn(bn({},xn),{},{sideEffect:_})):h(1)},[o,h,d,_]),{animationDuration:n,isFinished:u().isFinished,progress:u().progress}};function Cn(e){let t=(0,Y.c)(15),{isAnimating:n}=e,r;t[0]===n?r=t[1]:(r={isAnimating:n},t[0]=n,t[1]=r);let{animationDuration:i,isFinished:a,progress:o}=Sn(r),s=+!a,c=`opacity ${i}ms linear`,l;t[2]!==s||t[3]!==c?(l={opacity:s,pointerEvents:`none`,transition:c},t[2]=s,t[3]=c,t[4]=l):l=t[4];let u=`${(-1+o)*100}%`,d=`margin-left ${i}ms linear`,f;t[5]!==u||t[6]!==d?(f={background:`#29d`,height:2,left:0,marginLeft:u,position:`fixed`,top:0,transition:d,width:`100%`,zIndex:1031},t[5]=u,t[6]=d,t[7]=f):f=t[7];let p;t[8]===Symbol.for(`react.memo_cache_sentinel`)?(p=(0,X.jsx)(`div`,{style:{boxShadow:`0 0 10px #29d, 0 0 5px #29d`,dis
5play:`block`,height:`100%`,opacity:1,position:`absolute`,right:0,transform:`rotate(3deg) translate(0px, -4px)`,width:100}}),t[8]=p):p=t[8];let m;t[9]===f?m=t[10]:(m=(0,X.jsx)(`div`,{style:f,children:p}),t[9]=f,t[10]=m);let h;t[11]===Symbol.for(`react.memo_cache_sentinel`)?(h=(0,X.jsx)(`div`,{style:{display:`block`,position:`fixed`,right:15,top:15,zIndex:1031},children:(0,X.jsx)(`div`,{style:{animation:`400ms linear infinite spinner`,borderBottom:`2px solid transparent`,borderLeft:`2px solid #29d`,borderRadius:`50%`,borderRight:`2px solid transparent`,borderTop:`2px solid #29d`,boxSizing:`border-box`,height:18,width:18}})}),t[11]=h):h=t[11];let g;return t[12]!==l||t[13]!==m?(g=(0,X.jsxs)(`div`,{style:l,children:[m,h]}),t[12]=l,t[13]=m,t[14]=g):g=t[14],g}function wn(e){let t=(0,Y.c)(14),{message:n}=e,r=n.type===`success`&&`border-radix-grass6 bg-radix-grass4 text-radix-grass12`,i=n.type===`error`&&`border-radix-red6 bg-radix-red4 text-radix-red12`,a;t[0]!==r||t[1]!==i?(a=pe(`radix-toast flex items-start rounded-sm border p-4 leading-none`,r,i),t[0]=r,t[1]=i,t[2]=a):a=t[2];let o=n.type===`success`?`Success Notification`:`Error Notification`,s;t[3]===o?s=t[4]:(s=(0,X.jsx)(Pt,{className:`sr-only`,children:o}),t[3]=o,t[4]=s);let c;t[5]===n.data?c=t[6]:(c=(0,X.jsx)(Ft,{className:`text-sm`,children:n.data}),t[5]=n.data,t[6]=c);let l;t[7]!==s||t[8]!==c?(l=(0,X.jsxs)(`div`,{className:`flex-1`,children:[s,c]}),t[7]=s,t[8]=c,t[9]=l):l=t[9];let u;t[10]===Symbol.for(`react.memo_cache_sentinel`)?(u=(0,X.jsx)(It,{"aria-label":`Close`,children:(0,X.jsx)(`span`,{"aria-hidden":!0,children:`Ã`})}),t[10]=u):u=t[10];let d;return t[11]!==a||t[12]!==l?(d=(0,X.jsxs)(Nt,{className:a,children:[l,u]}),t[11]=a,t[12]=l,t[13]=d):d=t[13],d}function Tn(e){let t=(0,Y.c)(6),{children:n,toast:r}=e,i;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,X.jsx)(Mt,{className:`fixed top-0 right-0 z-50 flex w-96 max-w-full list-none flex-col gap-3 p-6`}),t[0]=i):i=t[0];let a;t[1]===r?a=t[2]:(a=r&&(0,X.jsx)(wn,{message:r},r.id),t[1]=r,t[2]=a);let o;return t[3]!==n||t[4]!==a?(o=(0,X.jsxs)(jt,{swipeDirection:`right`,children:[n,i,a]}),t[3]=n,t[4]=a,t[5]=o):o=t[5],o}var En=`rb9x2`,Dn=`tw-rb9x2-rd23c`;function On(e){return[`window.twq = window.twq || function () { (window.twq.exe ? window.twq.exe.apply(window.twq, arguments) : window.twq.queue.push(arguments)); };`,`window.twq.version = '1.1';`,`window.twq.queue = window.twq.queue || [];`,`window.twq('config', ${JSON.stringify(e)});`].join(` 6`)}function kn(e){if(typeof window.twq==`function`)return;let t=(...e)=>{t.exe?t.exe.apply(t,e):t.queue.push(e)};t.version=`1.1`,t.queue=[],window.twq=t,window.twq(`config`,e);let n=document.createElement(`script`);n.async=!0,n.src=`https://static.ads-twitter.com/uwt.js`,document.head.appendChild(n)}function An(e){let t=`${e}=`,n=document.cookie.split(`; `).find(e=>e.startsWith(t));return n?decodeURIComponent(n.slice(t.length)):null}function jn(e){let t=window.location.protocol===`https:`?`; Secure`:``;document.cookie=`${e}=; Path=/; Max-Age=0; SameSite=Lax${t}`}function Mn(e){let t=(0,Y.c)(10),{nonce:n,pixelId:r}=e,i;t[0]===r?i=t[1]:(i=On(r),t[0]=r,t[1]=i);let a;t[2]!==n||t[3]!==i?(a=(0,X.jsx)(`script`,{nonce:n,children:i}),t[2]=n,t[3]=i,t[4]=a):a=t[4];let o;t[5]===n?o=t[6]:(o=(0,X.jsx)(`script`,{async:!0,src:`https://static.ads-twitter.com/uwt.js`,nonce:n}),t[5]=n,t[6]=o);let s;return t[7]!==a||t[8]!==o?(s=(0,X.jsxs)(X.Fragment,{children:[a,o]}),t[7]=a,t[8]=o,t[9]=s):s=t[9],s}function Nn(e){let t=(0,Y.c)(16),{cookiesAllowed:n,isImpersonating:r,pixelId:i,conversionCookie:a}=e,s=o(),c=a?.name,l=a?.eventId,u,d;t[0]!==n||t[1]!==r||t[2]!==i?(u=()=>{r||n!==!0||kn(i)},d=[n,r,i],t[0]=n,t[1]=r,t[2]=i,t[3]=u,t[4]=d):(u=t[3],d=t[4]),(0,H.useEffect)(u,d);let f;t[5]!==c||t[6]!==n||t[7]!==l||t[8]!==r?(f=()=>{if(!c||!l)return;let e=An(c);if(e){if(r){jn(c);return}n!==!0||typeof window.twq!=`function`||(window.twq(`event`,l,{conversion_id:e}),jn(c))}},t[5]=c,t[6]=n,t[7]=l,t[8]=r,t[9]=f):f=t[9];let p;return t[10]!==c||t[11]!==n||t[12]!==l||t[13]!==r||t[14]!==s.key?(p=[s.key,c,l,n,r],t[10]=c,t[11]=n,t[12]=l,t[13]=r,t[14]=s.key,t[15]=p):p=t[15],(0,H.useEffect)(f,p),null}
6var Pn=e(V(),1);function Fn(e,t){let[n,r]=(0,H.useState)(()=>In(e,t));if(n.locale!==e||!(0,Pn.default)(n.resources,t)){let n=In(e,t);return r(n),n.i18n}return n.i18n}function In(e,t){return{locale:e,resources:t,i18n:Ne(e,structuredClone(t))}}var Ln=`theme`,Rn=`disable-transitions`,zn=100,Bn=` 7(() => { 8 const savedMode = window.localStorage.getItem('${Ln}') 9 const mode = savedMode === 'dark' || savedMode === 'light' || savedMode === 'system' ? savedMode : 'system' 10 const resolvedTheme = 11 mode === 'system' 12 ? window.matchMedia('(prefers-color-scheme: dark)').matches 13 ? 'dark' 14 : 'light' 15 : mode 16 17 document.documentElement.classList.add('${Rn}') 18 document.documentElement.dataset.theme = resolvedTheme 19 document.documentElement.dataset.themeMode = mode 20 window.setTimeout(() => { 21 document.documentElement.classList.remove('${Rn}') 22 }, ${zn}) 23})() 24`;function Vn(){if(typeof document>`u`)return{mode:`system`,resolvedTheme:`dark`};let e=document.documentElement.dataset.themeMode,t=document.documentElement.dataset.theme;return{mode:e===`dark`||e===`light`||e===`system`?e:`system`,resolvedTheme:t===`light`?`light`:`dark`}}function Hn(e){return typeof window>`u`?`dark`:e===`system`?window.matchMedia(`(prefers-color-scheme: dark)`).matches?`dark`:`light`:e}function Un(e){let t=Hn(e);return typeof document<`u`&&(document.documentElement.classList.add(Rn),document.documentElement.dataset.theme=t,document.documentElement.dataset.themeMode=e,window.setTimeout(()=>{document.documentElement.classList.remove(Rn)},zn)),t}function Wn(){let[e,t]=(0,H.useState)(Vn);return(0,H.useEffect)(()=>{if(typeof window>`u`)return;let e=window.matchMedia(`(prefers-color-scheme: dark)`),n=()=>{t(e=>e.mode===`system`?{mode:`system`,resolvedTheme:Un(`system`)}:e)};return e.addEventListener(`change`,n),()=>e.removeEventListener(`change`,n)},[]),{themeState:e,setMode:e=>{typeof window<`u`&&window.localStorage.setItem(Ln,e),t({mode:e,resolvedTheme:Un(e)})}}}var Gn=`/assets/tailwind-7l4O-Aty.css`,Kn=-1,qn=e=>{addEventListener(`pageshow`,t=>{t.persisted&&(Kn=t.timeStamp,e(t))},!0)},Jn=(e,t,n,r)=>{let i,a;return o=>{t.value>=0&&(o||r)&&(a=t.value-(i??0),(a||i===void 0)&&(i=t.value,t.delta=a,t.rating=((e,t)=>e>t[1]?`poor`:e>t[0]?`needs-improvement`:`good`)(t.value,n),e(t)))}},Yn=()=>{let e=performance.getEntriesByType(`navigation`)[0];if(e&&e.responseStart>0&&e.responseStart<performance.now())return e},Xn=()=>Yn()?.activationStart??0,Zn=(e,t=-1)=>{let n=Yn(),r=`navigate`;return Kn>=0?r=`back-forward-cache`:n&&(document.prerendering||Xn()>0?r=`prerender`:document.wasDiscarded?r=`restore`:n.type&&(r=n.type.replace(/_/g,`-`))),{name:e,value:t,rating:`good`,delta:0,entries:[],id:`v5-${Date.now()}-${Math.floor(8999999999999*Math.random())+0xe8d4a51000}`,navigationType:r}},Qn=-1,$n=new Set,er=e=>{if(document.visibilityState===`hidden`){if(e.type===`visibilitychange`)for(let e of $n)e();isFinite(Qn)||(Qn=e.type===`visibilitychange`?e.timeStamp:0,removeEventListener(`prerenderingchange`,er,!0))}},tr=e=>{document.prerendering?addEventListener(`prerenderingchange`,e,!0):e()},nr=[800,1800],rr=e=>{document.prerendering?tr(()=>rr(e)):document.readyState===`complete`?setTimeout(e):addEventListener(`load`,()=>rr(e),!0)},ir=(e,t={})=>{let n=Zn(`TTFB`),r=Jn(e,n,nr,t.reportAllChanges);rr(()=>{let i=Yn();i&&(n.value=Math.max(i.responseStart-Xn(),0),n.entries=[i],r(!0),qn(()=>{n=Zn(`TTFB`,0),r=Jn(e,n,nr,t.reportAllChanges),r(!0)}))})},ar=!1;function or(){ar||(ar=!0,ir(e=>{j.capture(`$web_vitals`,{$web_vitals_TTFB_value:e.value,$web_vitals_TTFB_event:{name:e.name,value:e.value,rating:e.rating,navigationType:e.navigationType,$current_url:window.location.href,timestamp:Date.now()}})}))}var sr=()=>[{rel:`preload`,href:`/fonts/red-hat-text-latin-wght-normal.woff2`,as:`font`,type:`font/woff2`,crossOrigin:`anonymous`},{rel:`preload`,href:`/fonts/red-hat-mono-latin-wght-normal.woff2`,as:`font`,type:`font/woff2`,crossOrigin:`anonymous`},{rel:`stylesheet`,href:Gn},{rel:`stylesheet`,href:Ue}],cr={pre:e=>(0,X.jsx)(he,{...e}),img:e=>(0,X.jsx)(ge,{...e}),a:({href:e,children:t,...n})=>e?e.startsWith(`http`)||e.startsWith(`//`)||e.match(/\.\w+$/)?(0,X.jsx)(`a`,{href:e,...n,children:t}):(0,X.jsx)(f,{to:e,prefetch:`intent`,...n,children:t}):(0,X.jsx)(`a`,{...n,children:t}),MdxVariableText:e=>(0,X.jsx)(de,{...e}),SwitchyardArchitectureDiagram:e=>(0,X.jsx)(me,{...e})},lr=`document.documentElement.classList.add('js')`,ur=new J,dr=l(function(e){let t=(0,Y.c)(120),{loaderData:n}=e,r=Fn(n.locale,n.localeResources),i=_(),a=o(),{toastMessage:s,posthogToken:c,posthogUserID:l,analyticsAllowed:u,advertisingAllowed:f,showCookieBanner:v}=n,y=Fe(l),b;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(b={isAnimating:!1,key:0},t[0]=b):b=t[0];let[x,S]=(0,H.useState)(b),[C]=(0,H.useState)(f===!0),{themeState:w,setMode:T}=Wn(),E=typeof document<`u`?``:n.nonce,D=n.isImpersonating,O,k;t[1]!==u||t[2]!==c?(O=()=>{j.init(c,{api_host:`https://p.depot.dev`,ui_host:`https://app.posthog.com`}),j.has_opted_out_capturing()?u!==!1&&j.opt_in_capturing():u===!1&&j.opt_out_capturing(),or()},k=[c,u],t[1]=u,t[2]=c,t[3]=O,t[4]=k):(O=t[3],k=t[4]),(0,H.useEffect)(O,k);let te,ne;t[5]!==l||t[6]!==y?(te=()=>{(y&&l&&y!==l||!l&&y)&&j.reset()},ne=[l,y],t[5]=l,t[6]=y,t[7]=te,t[8]=ne):(te=t[7],ne=t[8]),(0,H.useEffect)(te,ne);let re,ie;t[9]!==n.posthogEmail||t[10]!==l?(re=()=>{l&&j.identify(l,{email:n.posthogEmail})},ie=[l,n.posthogEmail],t[9]=n.posthogEmail,t[10]=l,t[11]=re,t[12]=ie):(re=t[11],ie=t[12]),(0,H.useEffect)(re,ie);let ae;
24t[13]===a?ae=t[14]:(ae=[a],t[13]=a,t[14]=ae),(0,H.useEffect)(mr,ae),i.state===`idle`&&x.isAnimating?S(pr):i.state!==`idle`&&!x.isAnimating&&S(fr);let A=w.resolvedTheme,oe=w.mode,se=n.locale,ce,le,de;t[15]===Symbol.for(`react.memo_cache_sentinel`)?(ce=(0,X.jsx)(`meta`,{charSet:`utf-8`}),le=(0,X.jsx)(`meta`,{name:`viewport`,content:`width=device-width,initial-scale=1`}),de=(0,X.jsx)(`meta`,{property:`og:site_name`,content:`Depot`}),t[15]=ce,t[16]=le,t[17]=de):(ce=t[15],le=t[16],de=t[17]);let pe;t[18]===n.locale?pe=t[19]:(pe=Me(n.locale),t[18]=n.locale,t[19]=pe);let me;t[20]===pe?me=t[21]:(me=(0,X.jsx)(`meta`,{property:`og:locale`,content:pe}),t[20]=pe,t[21]=me);let he;t[22]===Symbol.for(`react.memo_cache_sentinel`)?(he=(0,X.jsx)(`meta`,{property:`og:type`,content:`website`}),t[22]=he):he=t[22];let ge=`https://depot.dev${a.pathname}`,ve;t[23]===ge?ve=t[24]:(ve=(0,X.jsx)(`meta`,{property:`og:url`,content:ge}),t[23]=ge,t[24]=ve);let ye,M,be,xe,Se,N,Ce,we,Te,P,Ee,De;t[25]===Symbol.for(`react.memo_cache_sentinel`)?(ye=(0,X.jsx)(`meta`,{name:`twitter:site`,content:`@depotdev`}),M=(0,X.jsx)(`meta`,{name:`theme-color`,content:`#eaecf0`,media:`(prefers-color-scheme: light)`}),be=(0,X.jsx)(`meta`,{name:`theme-color`,content:`#080808`,media:`(prefers-color-scheme: dark)`}),xe=(0,X.jsx)(`link`,{rel:`apple-touch-icon`,href:`/favicon-light/apple-touch-icon.png`,media:`(prefers-color-scheme: light)`}),Se=(0,X.jsx)(`link`,{rel:`apple-touch-icon`,href:`/favicon-dark/apple-touch-icon.png`,media:`(prefers-color-scheme: dark)`}),N=(0,X.jsx)(`link`,{rel:`icon`,href:`/favicon-light/favicon.ico`,sizes:`any`,media:`(prefers-color-scheme: light)`}),Ce=(0,X.jsx)(`link`,{rel:`icon`,href:`/favicon-dark/favicon.ico`,sizes:`any`,media:`(prefers-color-scheme: dark)`}),we=(0,X.jsx)(`link`,{rel:`icon`,href:`/favicon-light/favicon.svg`,type:`image/svg+xml`,media:`(prefers-color-scheme: light)`}),Te=(0,X.jsx)(`link`,{rel:`icon`,href:`/favicon-dark/favicon.svg`,type:`image/svg+xml`,media:`(prefers-color-scheme: dark)`}),P=(0,X.jsx)(`link`,{rel:`icon`,href:`/favicon-light/favicon-96x96.png`,type:`image/png`,sizes:`96x96`,media:`(prefers-color-scheme: light)`}),Ee=(0,X.jsx)(`link`,{rel:`icon`,href:`/favicon-dark/favicon-96x96.png`,type:`image/png`,sizes:`96x96`,media:`(prefers-color-scheme: dark)`}),De=(0,X.jsx)(`link`,{rel:`manifest`,href:`/site.webmanifest`}),t[25]=ye,t[26]=M,t[27]=be,t[28]=xe,t[29]=Se,t[30]=N,t[31]=Ce,t[32]=we,t[33]=Te,t[34]=P,t[35]=Ee,t[36]=De):(ye=t[25],M=t[26],be=t[27],xe=t[28],Se=t[29],N=t[30],Ce=t[31],we=t[32],Te=t[33],P=t[34],Ee=t[35],De=t[36]);let F;t[37]===n.sentryTrace?F=t[38]:(F=n.sentryTrace&&(0,X.jsx)(`meta`,{property:`sentry-trace`,content:n.sentryTrace}),t[37]=n.sentryTrace,t[38]=F);let I;t[39]===n.sentryBaggage?I=t[40]:(I=n.sentryBaggage&&(0,X.jsx)(`meta`,{property:`baggage`,content:n.sentryBaggage}),t[39]=n.sentryBaggage,t[40]=I);let Ae;t[41]===Symbol.for(`react.memo_cache_sentinel`)?(Ae=(0,X.jsx)(h,{}),t[41]=Ae):Ae=t[41];let L,R,z;t[42]===E?(L=t[43],R=t[44],z=t[45]):(L=(0,X.jsx)(`script`,{nonce:E,children:lr}),R=(0,X.jsx)(`script`,{nonce:E,children:Bn}),z=(0,X.jsx)(d,{nonce:E}),t[42]=E,t[43]=L,t[44]=R,t[45]=z);let B;t[46]!==D||t[47]!==E?(B=!D&&(0,X.jsx)(Ht,{nonce:E,tagID:`AW-18206512709`}),t[46]=D,t[47]=E,t[48]=B):B=t[48];let V;t[49]!==D||t[50]!==E||t[51]!==C?(V=!D&&C&&(0,X.jsx)(Mn,{nonce:E,pixelId:`rb9x2`}),t[49]=D,t[50]=E,t[51]=C,t[52]=V):V=t[52];let Ne,U;t[53]===E?(Ne=t[54],U=t[55]):(Ne=(0,X.jsx)(We,{nonce:E}),U=(0,X.jsx)(`script`,{src:`https://js.stripe.com/clover/stripe.js`,nonce:E,async:!0}),t[53]=E,t[54]=Ne,t[55]=U);let W;t[56]!==me||t[57]!==ve||t[58]!==F||t[59]!==I||t[60]!==L||t[61]!==R||t[62]!==z||t[63]!==B||t[64]!==V||t[65]!==Ne||t[66]!==U?(W=(0,X.jsxs)(`head`,{children:[ce,le,de,me,he,ve,ye,M,be,xe,Se,N,Ce,we,Te,P,Ee,De,F,I,Ae,L,R,z,B,V,Ne,U]}),t[56]=me,t[57]=ve,t[58]=F,t[59]=I,t[60]=L,t[61]=R,t[62]=z,t[63]=B,t[64]=V,t[65]=Ne,t[66]=U,t[67]=W):W=t[67];let Ie;t[68]!==T||t[69]!==w.mode||t[70]!==w.resolvedTheme?(Ie={mode:w.mode,resolvedTheme:w.resolvedTheme,setMode:T},t[68]=T,t[69]=w.mode,t[70]=w.resolvedTheme,t[71]=Ie):Ie=t[71];let G;t[72]!==x.isAnimating||t[73]!==x.key?(G=(0,X.jsx)(Cn,{isAnimating:x.isAnimating},x.key),t[72]=x.isAnimating,t[73]=x.key,t[74]=G):G=t[74];let K;t[75]===v?K=t[76]:(K=v&&(0,X.jsx)(qt,{}),t[75]=v,t[76]=K);let Re;t[77]===Symbol.for(`react.memo_cache_sentinel`)?(Re=(0,X.jsx)(p,{}),t[77]=Re):Re=t[77];let ze;t[78]!==G||t[79]!==K?(ze=(0,X.jsx)(ee,{client:ur,children:(0,X.jsx)(fe.Provider,{children:(0,X.jsx)(Le,{c
24omponents:cr,children:(0,X.jsx)(Oe,{children:(0,X.jsxs)(_e,{children:[G,K,Re]})})})})}),t[78]=G,t[79]=K,t[80]=ze):ze=t[80];let Be;t[81]!==Ie||t[82]!==ze?(Be=(0,X.jsx)(ke.Provider,{value:Ie,children:ze}),t[81]=Ie,t[82]=ze,t[83]=Be):Be=t[83];let Ve;t[84]!==n.buildVersion||t[85]!==Be?(Ve=(0,X.jsx)(je.Provider,{value:n.buildVersion,children:Be}),t[84]=n.buildVersion,t[85]=Be,t[86]=Ve):Ve=t[86];let q;t[87]!==Ve||t[88]!==s?(q=(0,X.jsx)(Tn,{toast:s,children:Ve}),t[87]=Ve,t[88]=s,t[89]=q):q=t[89];let He,J;t[90]===E?(He=t[91],J=t[92]):(He=(0,X.jsx)(m,{nonce:E}),J=(0,X.jsx)(g,{nonce:E}),t[90]=E,t[91]=He,t[92]=J);let Ue;t[93]!==f||t[94]!==D?(Ue=!D&&f===!0&&(0,X.jsx)(Wt,{partnerID:`6210337`}),t[93]=f,t[94]=D,t[95]=Ue):Ue=t[95];let Ge;t[96]===Symbol.for(`react.memo_cache_sentinel`)?(Ge={name:`depot_gads_signup`,sendTo:Lt},t[96]=Ge):Ge=t[96];let Z;t[97]!==f||t[98]!==D?(Z=(0,X.jsx)(Ut,{cookiesAllowed:f,isImpersonating:D,conversionCookie:Ge}),t[97]=f,t[98]=D,t[99]=Z):Z=t[99];let Ke;t[100]===Symbol.for(`react.memo_cache_sentinel`)?(Ke={name:`depot_x_signup`,eventId:Dn},t[100]=Ke):Ke=t[100];let qe;t[101]!==f||t[102]!==D?(qe=(0,X.jsx)(Nn,{cookiesAllowed:f,isImpersonating:D,pixelId:En,conversionCookie:Ke}),t[101]=f,t[102]=D,t[103]=qe):qe=t[103];let Q;t[104]!==q||t[105]!==He||t[106]!==J||t[107]!==Ue||t[108]!==Z||t[109]!==qe?(Q=(0,X.jsxs)(Pe,{client:j,children:[q,He,J,Ue,Z,qe]}),t[104]=q,t[105]=He,t[106]=J,t[107]=Ue,t[108]=Z,t[109]=qe,t[110]=Q):Q=t[110];let $;t[111]!==r||t[112]!==Q?($=(0,X.jsx)(`body`,{className:`isolate bg-radix-mauve-black text-radix-mauve12 antialiased`,children:(0,X.jsx)(H.StrictMode,{children:(0,X.jsx)(ue,{i18n:r,children:Q})})}),t[111]=r,t[112]=Q,t[113]=$):$=t[113];let Je;return t[114]!==n.locale||t[115]!==W||t[116]!==$||t[117]!==w.mode||t[118]!==w.resolvedTheme?(Je=(0,X.jsxs)(`html`,{className:`isolate`,"data-theme":A,"data-theme-mode":oe,lang:se,suppressHydrationWarning:!0,children:[W,$]}),t[114]=n.locale,t[115]=W,t[116]=$,t[117]=w.mode,t[118]=w.resolvedTheme,t[119]=Je):Je=t[119],Je});function fr(e){return{isAnimating:!0,key:e.isAnimating?e.key:e.key^1}}function pr(e){return{isAnimating:!1,key:e.isAnimating?e.key:e.key^1}}function mr(){j.capture(`$pageview`)}var hr=u(function(){let e=(0,Y.c)(46),t=s(),r=o(),i=typeof document<`u`?``:t.nonce;if(c(t)){let n,r,a,o;e[0]===Symbol.for(`react.memo_cache_sentinel`)?(n=(0,X.jsx)(`meta`,{charSet:`utf-8`}),r=(0,X.jsx)(`meta`,{name:`viewport`,content:`width=device-width,initial-scale=1`}),a=(0,X.jsx)(`title`,{children:`404 Not Found`}),o=(0,X.jsx)(h,{}),e[0]=n,e[1]=r,e[2]=a,e[3]=o):(n=e[0],r=e[1],a=e[2],o=e[3]);let s;e[4]===i?s=e[5]:(s=(0,X.jsxs)(`head`,{children:[n,r,a,o,(0,X.jsx)(d,{nonce:i})]}),e[4]=i,e[5]=s);let c;e[6]===Symbol.for(`react.memo_cache_sentinel`)?(c=(0,X.jsx)(`h1`,{className:`text-3xl font-bold`,children:`Oops, that page is not found!`}),e[6]=c):c=e[6];let l;e[7]===Symbol.for(`react.memo_cache_sentinel`)?(l=(0,X.jsx)(f,{to:`/`,className:`text-radix-indigo11`,children:`homepage`}),e[7]=l):l=e[7];let u;e[8]===Symbol.for(`react.memo_cache_sentinel`)?(u=(0,X.jsx)(f,{to:`/docs`,className:`text-radix-indigo11`,children:`documentation`}),e[8]=u):u=e[8];let p;e[9]===Symbol.for(`react.memo_cache_sentinel`)?(p=(0,X.jsxs)(`p`,{className:`max-w-md text-lg`,children:[`We are sorry, but the page you are looking for cannot be found. Try heading to the`,` `,l,`,`,` `,u,`, or`,` `,(0,X.jsx)(`a`,{href:`mailto:[email protected]`,className:`text-radix-indigo11`,children:`contact us`}),` `,`if you need help.`]}),e[9]=p):p=e[9];let m;e[10]===Symbol.for(`react.memo_cache_sentinel`)?(m=(0,X.jsx)(`div`,{className:`text-lg`,children:`Error Details`}),e[10]=m):m=e[10];let _;e[11]!==t.status||e[12]!==t.statusText?(_=(0,X.jsxs)(`div`,{className:`mx-4 space-y-6`,children:[c,p,(0,X.jsxs)(`div`,{className:`-mx-4 space-y-2 border-t-2 border-b-2 border-radix-amber6 bg-radix-amber2 p-4`,children:[m,(0,X.jsxs)(`code`,{className:`block text-sm`,children:[t.status,` `,t.statusText]})]})]}),e[11]=t.status,e[12]=t.statusText,e[13]=_):_=e[13];let v;e[14]===i?v=e[15]:(v=(0,X.jsx)(g,{nonce:i}),e[14]=i,e[15]=v);let y;e[16]!==_||e[17]!==v?(y=(0,X.jsxs)(`body`,{className:`flex min-h-screen items-center justify-center bg-radix-mauve-black text-radix-mauve12`,children:[_,v]}
24),e[16]=_,e[17]=v,e[18]=y):y=e[18];let b;return e[19]!==y||e[20]!==s?(b=(0,X.jsxs)(`html`,{lang:`en`,children:[s,y]}),e[19]=y,e[20]=s,e[21]=b):b=e[21],b}let a=`An unexpected error has occurred`;t instanceof Error&&(n(t),a=t.stack??t.message);let l,u,p,m;e[22]===Symbol.for(`react.memo_cache_sentinel`)?(l=(0,X.jsx)(`meta`,{charSet:`utf-8`}),u=(0,X.jsx)(`meta`,{name:`viewport`,content:`width=device-width,initial-scale=1`}),p=(0,X.jsx)(`title`,{children:`Oops! Unexpected error`}),m=(0,X.jsx)(h,{}),e[22]=l,e[23]=u,e[24]=p,e[25]=m):(l=e[22],u=e[23],p=e[24],m=e[25]);let _;e[26]===i?_=e[27]:(_=(0,X.jsxs)(`head`,{children:[l,u,p,m,(0,X.jsx)(d,{nonce:i})]}),e[26]=i,e[27]=_);let v;e[28]===Symbol.for(`react.memo_cache_sentinel`)?(v=(0,X.jsx)(`h1`,{className:`text-3xl font-bold`,children:`Oops, we have encountered an unexpected error!`}),e[28]=v):v=e[28];let y;e[29]===Symbol.for(`react.memo_cache_sentinel`)?(y=(0,X.jsxs)(`p`,{className:`text-lg`,children:[`We are sorry, but we have encountered an unexpected error - the error has been reported, but feel free to`,` `,(0,X.jsx)(`a`,{href:`mailto:[email protected]`,className:`text-radix-indigo11`,children:`contact us`}),` `,`if you need help.`]}),e[29]=y):y=e[29];let b;e[30]===Symbol.for(`react.memo_cache_sentinel`)?(b=(0,X.jsx)(`div`,{className:`text-lg`,children:`Error Details`}),e[30]=b):b=e[30];let x;e[31]===a?x=e[32]:(x=(0,X.jsx)(`code`,{className:`block overflow-y-auto`,children:a}),e[31]=a,e[32]=x);let S;e[33]===r.pathname?S=e[34]:(S=(0,X.jsxs)(`code`,{className:`block`,children:[`Location `,r.pathname]}),e[33]=r.pathname,e[34]=S);let C;e[35]!==x||e[36]!==S?(C=(0,X.jsxs)(`div`,{className:`mx-4 max-w-xl space-y-6`,children:[v,y,(0,X.jsxs)(`div`,{className:`-mx-4 space-y-2 border-t-2 border-b-2 border-radix-amber6 bg-radix-amber2 p-4 text-xs`,children:[b,x,S]})]}),e[35]=x,e[36]=S,e[37]=C):C=e[37];let w;e[38]===i?w=e[39]:(w=(0,X.jsx)(g,{nonce:i}),e[38]=i,e[39]=w);let T;e[40]!==C||e[41]!==w?(T=(0,X.jsxs)(`body`,{className:`flex min-h-screen items-center justify-center bg-radix-mauve-black text-radix-mauve12`,children:[C,w]}),e[40]=C,e[41]=w,e[42]=T):T=e[42];let E;return e[43]!==T||e[44]!==_?(E=(0,X.jsxs)(`html`,{lang:`en`,children:[_,T]}),e[43]=T,e[44]=_,e[45]=E):E=e[45],E});export{hr as ErrorBoundary,dr as default,sr as links}; 25//# sourceMappingURL=root-C6L6MTGB.js.map 26//# chunkId=01a0d3ec-ed98-7ab3-b192-d3c185ba4c0d 27//# debugId=6c981f76-e9d1-5a6b-a193-ca13b97343e4
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.