PageSourceSearch

https://www.deta.studio/_next/static/chunks/43fdb916591e47a0.js?dpl=dpl_24V9Vw9kM12FuJtVbqdtQn2KgNhJ

js deta.studio collected 2026-10-02 01:09:26 UTC 30,071 bytes, 5 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,408430,e=>{"use strict";var t=e.i(138415),r=(e,t,r,o,a,n,i,s)=>{let l=document.documentElement,d=["light","dark"];function u(t){var r;(Array.isArray(e)?e:[e]).forEach(e=>{let r="class"===e,o=r&&n?a.map(e=>n[e]||e):a;r?(l.classList.remove(...o),l.classList.add(n&&n[t]?n[t]:t)):l.setAttribute(e,t)}),r=t,s&&d.includes(r)&&(l.style.colorScheme=r)}if(o)u(o);else try{let e=localStorage.getItem(t)||r,o=i&&"system"===e?window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light":e;u(o)}catch(e){}},o=["light","dark"],a="(prefers-color-scheme: dark)",n="undefined"==typeof window,i=t.createContext(void 0),s={setTheme:e=>{},themes:[]},l=()=>{var e;return null!=(e=t.useContext(i))?e:s},d=e=>t.useContext(i)?t.createElement(t.Fragment,null,e.children):t.createElement(c,{...e}),u=["light","dark"],c=({forcedTheme:e,disableTransitionOnChange:r=!1,enableSystem:n=!0,enableColorScheme:s=!0,storageKey:l="theme",themes:d=u,defaultTheme:c=n?"system":"light",attribute:h="data-theme",value:v,children:y,nonce:w,scriptProps:b})=>{let[x,D]=t.useState(()=>f(l,c)),[S,C]=t.useState(()=>"system"===x?g():x),N=v?Object.values(v):d,I=t.useCallback(e=>{let t=e;if(!t)return;"system"===e&&n&&(t=g());let a=v?v[t]:t,i=r?m(w):null,l=document.documentElement,d=e=>{"class"===e?(l.classList.remove(...N),a&&l.classList.add(a)):e.startsWith("data-")&&(a?l.setAttribute(e,a):l.removeAttribute(e))};if(Array.isArray(h)?h.forEach(d):d(h),s){let e=o.includes(c)?c:null,r=o.includes(t)?t:e;l.style.colorScheme=r}null==i||i()},[w]),j=t.useCallback(e=>{let t="function"==typeof e?e(x):e;D(t);try{localStorage.setItem(l,t)}catch(e){}},[x]),R=t.useCallback(t=>{C(g(t)),"system"===x&&n&&!e&&I("system")},[x,e]);t.useEffect(()=>{let e=window.matchMedia(a);return e.addListener(R),R(e),()=>e.removeListener(R)},[R]),t.useEffect(()=>{let e=e=>{e.key===l&&(e.newValue?D(e.newValue):j(c))};return window.addEventListener("storage",e),()=>window.removeEventListener("storage",e)},[j]),t.useEffect(()=>{I(null!=e?e:x)},[e,x]);let M=t.useMemo(()=>({theme:x,setTheme:j,forcedTheme:e,resolvedTheme:"system"===x?S:x,themes:n?[...d,"system"]:d,systemTheme:n?S:void 0}),[x,j,e,S,n,d]);return t.createElement(i.Provider,{value:M},t.createElement(p,{forcedTheme:e,storageKey:l,attribute:h,enableSystem:n,enableColorScheme:s,defaultTheme:c,value:v,themes:d,nonce:w,scriptProps:b}),y)},p=t.memo(({forcedTheme:e,storageKey:o,attribute:a,enableSystem:n,enableColorScheme:i,defaultTheme:s,value:l,themes:d,nonce:u,scriptProps:c})=>{let p=JSON.stringify([a,o,s,e,d,l,n,i]).slice(1,-1);return t.createElement("script",{...c,suppressHydrationWarning:!0,nonce:"undefined"==typeof window?u:"",dangerouslySetInnerHTML:{__html:`(${r.toString()})(${p})`}})}),f=(e,t)=>{let r;if(!n){try{r=localStorage.getItem(e)||void 0}catch(e){}return r||t}},m=e=>{let t=document.createElement("style");return e&&t.setAttribute("nonce",e),t.appendChild(document.createTextNode("*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),document.head.appendChild(t),()=>{window.getComputedStyle(document.body),setTimeout(()=>{document.head.removeChild(t)},1)}},g=e=>(e||(e=window.matchMedia(a)),e.matches?"dark":"light");e.s(["ThemeProvider",()=>d,"useTheme",()=>l])},831597,e=>{"use strict";var t=e.i(391610),r=e.i(408430),o=e.i(779342);let a={toast:"group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toaster]:shadow-lg has-[[data-close-button]]:group-[.toaster]:pl-8",description:"group-[.toast]:text-muted-foreground",actionButton:"group-[.toast]:bg-primary group-[.toast]:text-primary-foreground",cancelButton:"group-[.toast]:bg-muted group-[.toast]:text-muted-foreground",closeButton:"group-[.toast]:left-1 group-[.toast]:right-auto group-[.toast]:top-1"},n=({toastOptions:e,...n})=>{let{theme:i="system"}=(0,r.useTheme)();return(0,t.jsx)(o.Toaster,{className:"toaster group",richColors:!0,closeButton:!0,visibleToasts:3,...n,theme:i,toastOptions:{...e,classNames:{...a,...e?.classNames}}})};e.s(["Toaster",()=>n])},203998,e=>{"use strict";e.i(916612);var t=e.i(698481),r=e.i(126696),o=e.i(994977),a=e.i(624623);let n={active:!1,privateBranchId:null,readOnly:!1},i={active:!0,privateBranchId:null,readOnly:!0},s={health:"healthy",loaded:!1,entries:new Map,pendingCounts:new Map,locks:new Map,siteVisitActive:!1},l=s,d=new Set,u=0,c=null,p=!1,f=!1,m=0,g=new Map;function h(){for(let e of[...d])try{e()}catch{}}function v(e,t){return e.active===t.active&&e.privateBranchId===t.privateBranchId&&e.readOnly===t.readOnly}function y(e,t,r,a){let n=(0,o.getNetworkHealth)(),i=new Map,s=!1;if(void 0!==a)for(let[e,t]of g)t.epoch<=a&&g.delete(e);for(let[t,r]of e){let e=function(e,t){let r=e?.activeVisitBranchId??null,o=e?.visitState==="active"&&null!==r,a=e?.visitState==="ended"&&null!==r,n=e?.prepState==="ready",i=o||a||"offline"===t||n&&"degraded"===t;return{active:i,privateBranchId:r,readOnly:i&&!o}}(r,n),o=l.locks.get(t);i.set(t,o&&v(o,e)?o:e),"active"===r.visitState&&(s=!0)}for(let[e,t]of g){let r=l.locks.get(e);i.set(e,r&&v(r,t.lock)?r:t.lock),t.lock.readOnly||(s=!0)}l={health:n,loaded:r,entries:e,pendingCounts:t,locks:i,siteVisitActive:s},h()}async function w(){if(p){f=!0;return}p=!0;try{do{f=!1;try{let e=m,o=await r.offlineRegistry.list(),a=await Promise.all(o.map(e=>t.offlineOpLog.countUnpushed(e.drawingId))),n=new Map,i=new Map;o.forEach((e,t)=>{n.set(e.drawingId,e),i.set(e.drawingId,a[t]??0)}),y(n,i,!0,e)}catch(e){console.warn("[offline] registry refresh failed",e)}}while(f)}finally{p=!1}}function b(){w()}function x(){y(l.entries,l.pendingCounts,l.loaded)}function D(){"visible"===document.visibilityState&&b()}
1function S(e){return d.add(e),!function(){if(u++>0)return;let e=(0,o.subscribeNetworkHealth)(x),r=t.offlineOpLog.subscribeChange(b),n=(0,a.subscribeOpDrain)(b);document.addEventListener("visibilitychange",D),c=()=>{e(),r(),n(),document.removeEventListener("visibilitychange",D)},b()}(),()=>{d.delete(e)&&(--u>0||(c?.(),c=null))}}function C(){return l}function N(){return s}function I(){b()}function j(e){return l.locks.get(e)??("offline"===l.health?i:n)}function R(e,t,r){m+=1;let o={active:!0,privateBranchId:t,readOnly:r?.readOnly??!1};g.set(e,{lock:o,epoch:m});let a=new Map(l.locks);a.set(e,o),l={...l,locks:a,siteVisitActive:l.siteVisitActive||!o.readOnly},h()}function M(){return l.siteVisitActive?"site_visit":"offline"===(0,o.getNetworkHealth)()?"offline":null}function k(e,t="Unavailable"){return"site_visit"===e?`${t} during a site visit`:`${t} offline`}function T(e,t){return null===e?"loading":e?"preparing"===e.prepState?"preparing":"stale"===e.prepState?"stale":"active"===e.visitState?"visiting":"ended"===e.visitState&&t>0?"syncing":"ready":"none"}e.s(["deriveOfflineStatus",()=>T,"getInitialOfflineSnapshot",()=>N,"getInteractionLockMessage",()=>k,"getInteractionLockReason",()=>M,"getOfflineSnapshot",()=>C,"getSiteVisitLock",()=>j,"invalidateOfflineStore",()=>I,"pinVisitLock",()=>R,"subscribeOfflineStore",()=>S])},236610,e=>{"use strict";var t=e.i(391610),r=e.i(323748),o=e.i(138415),a=e.i(291967),n=e.i(789268),i=e.i(194185),s=e.i(270672),l=e.i(492480),d=e.i(815010),u=e.i(220344),c="DropdownMenu",[p,f]=(0,i.createContextScope)(c,[d.createMenuScope]),m=(0,d.createMenuScope)(),[g,h]=p(c),v=e=>{let{__scopeDropdownMenu:r,children:a,dir:n,open:i,defaultOpen:l,onOpenChange:p,modal:f=!0}=e,h=m(r),v=o.useRef(null),[y,w]=(0,s.useControllableState)({prop:i,defaultProp:l??!1,onChange:p,caller:c});return(0,t.jsx)(g,{scope:r,triggerId:(0,u.useId)(),triggerRef:v,contentId:(0,u.useId)(),open:y,onOpenChange:w,onOpenToggle:o.useCallback(()=>w(e=>!e),[w]),modal:f,children:(0,t.jsx)(d.Root,{...h,open:y,onOpenChange:w,dir:n,modal:f,children:a})})};v.displayName=c;var y="DropdownMenuTrigger",w=o.forwardRef((e,r)=>{let{__scopeDropdownMenu:o,disabled:i=!1,...s}=e,u=h(y,o),c=m(o);return(0,t.jsx)(d.Anchor,{asChild:!0,...c,children:(0,t.jsx)(l.Primitive.button,{type:"button",id:u.triggerId,"aria-haspopup":"menu","aria-expanded":u.open,"aria-controls":u.open?u.contentId:void 0,"data-state":u.open?"open":"closed","data-disabled":i?"":void 0,disabled:i,...s,ref:(0,n.composeRefs)(r,u.triggerRef),onPointerDown:(0,a.composeEventHandlers)(e.onPointerDown,e=>{!i&&0===e.button&&!1===e.ctrlKey&&(u.onOpenToggle(),u.open||e.preventDefault())}),onKeyDown:(0,a.composeEventHandlers)(e.onKeyDown,e=>{!i&&(["Enter"," "].includes(e.key)&&u.onOpenToggle(),"ArrowDown"===e.key&&u.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(e.key)&&e.preventDefault())})})})});w.displayName=y;var b=e=>{let{__scopeDropdownMenu:r,...o}=e,a=m(r);return(0,t.jsx)(d.Portal,{...a,...o})};b.displayName="DropdownMenuPortal";var x="DropdownMenuContent",D=o.forwardRef((e,r)=>{let{__scopeDropdownMenu:n,...i}=e,s=h(x,n),l=m(n),u=o.useRef(!1);return(0,t.jsx)(d.Content,{id:s.contentId,"aria-labelledby":s.triggerId,...l,...i,ref:r,onCloseAutoFocus:(0,a.composeEventHandlers)(e.onCloseAutoFocus,e=>{u.current||s.triggerRef.current?.focus(),u.current=!1,e.preventDefault()}),onInteractOutside:(0,a.composeEventHandlers)(e.onInteractOutside,e=>{let t=e.detail.originalEvent,r=0===t.button&&!0===t.ctrlKey,o=2===t.button||r;(!s.modal||o)&&(u.current=!0)}),style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});D.displayName=x;var S=o.forwardRef((e,r)=>{let{__scopeDropdownMenu:o,...a}=e,n=m(o);return(0,t.jsx)(d.Group,{...n,...a,ref:r})});S.displayName="DropdownMenuGroup";var C=o.forwardRef((e,r)=>{let{__scopeDropdownMenu:o,...a}=e,n=m(o);return(0,t.jsx)(d.Label,{...n,...a,ref:r})});C.displayName="DropdownMenuLabel";var N=o.forwardRef((e,r)=>{let{__scopeDropdownMenu:o,...a}=e,n=m(o);return(0,t.jsx)(d.Item,{...n,...a,ref:r})});N.displayName="DropdownMenuItem";var I=o.forwardRef((e,r)=>{let{__scopeDropdownMenu:o,...a}=e,n=m(o);
1return(0,t.jsx)(d.CheckboxItem,{...n,...a,ref:r})});I.displayName="DropdownMenuCheckboxItem";var j=o.forwardRef((e,r)=>{let{__scopeDropdownMenu:o,...a}=e,n=m(o);return(0,t.jsx)(d.RadioGroup,{...n,...a,ref:r})});j.displayName="DropdownMenuRadioGroup";var R=o.forwardRef((e,r)=>{let{__scopeDropdownMenu:o,...a}=e,n=m(o);return(0,t.jsx)(d.RadioItem,{...n,...a,ref:r})});R.displayName="DropdownMenuRadioItem";var M=o.forwardRef((e,r)=>{let{__scopeDropdownMenu:o,...a}=e,n=m(o);return(0,t.jsx)(d.ItemIndicator,{...n,...a,ref:r})});M.displayName="DropdownMenuItemIndicator";var k=o.forwardRef((e,r)=>{let{__scopeDropdownMenu:o,...a}=e,n=m(o);return(0,t.jsx)(d.Separator,{...n,...a,ref:r})});k.displayName="DropdownMenuSeparator";var T=o.forwardRef((e,r)=>{let{__scopeDropdownMenu:o,...a}=e,n=m(o);return(0,t.jsx)(d.Arrow,{...n,...a,ref:r})});T.displayName="DropdownMenuArrow";var O=e=>{let{__scopeDropdownMenu:r,children:o,open:a,onOpenChange:n,defaultOpen:i}=e,l=m(r),[u,c]=(0,s.useControllableState)({prop:a,defaultProp:i??!1,onChange:n,caller:"DropdownMenuSub"});return(0,t.jsx)(d.Sub,{...l,open:u,onOpenChange:c,children:o})},E=o.forwardRef((e,r)=>{let{__scopeDropdownMenu:o,...a}=e,n=m(o);return(0,t.jsx)(d.SubTrigger,{...n,...a,ref:r})});E.displayName="DropdownMenuSubTrigger";var P=o.forwardRef((e,r)=>{let{__scopeDropdownMenu:o,...a}=e,n=m(o);return(0,t.jsx)(d.SubContent,{...n,...a,ref:r,style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});P.displayName="DropdownMenuSubContent",e.s(["Arrow",()=>T,"CheckboxItem",()=>I,"Content",()=>D,"DropdownMenu",()=>v,"DropdownMenuArrow",()=>T,"DropdownMenuCheckboxItem",()=>I,"DropdownMenuContent",()=>D,"DropdownMenuGroup",()=>S,"DropdownMenuItem",()=>N,"DropdownMenuItemIndicator",()=>M,"DropdownMenuLabel",()=>C,"DropdownMenuPortal",()=>b,"DropdownMenuRadioGroup",()=>j,"DropdownMenuRadioItem",()=>R,"DropdownMenuSeparator",()=>k,"DropdownMenuSub",()=>O,"DropdownMenuSubContent",()=>P,"DropdownMenuSubTrigger",()=>E,"DropdownMenuTrigger",()=>w,"Group",()=>S,"Item",()=>N,"ItemIndicator",()=>M,"Label",()=>C,"Portal",()=>b,"RadioGroup",()=>j,"RadioItem",()=>R,"Root",()=>v,"Separator",()=>k,"Sub",()=>O,"SubContent",()=>P,"SubTrigger",()=>E,"Trigger",()=>w,"createDropdownMenuScope",()=>f],889407);var A=e.i(889407),A=A;e.i(53759);var L=e.i(541048);let F=A.Root,H=A.Trigger,_=A.Group,B=A.Portal,z=A.Sub,V=A.RadioGroup,G=({className:e,inset:o,children:a,...n})=>(0,t.jsxs)(A.SubTrigger,{className:(0,L.cn)("focus:bg-accent data-[state=open]:bg-accent flex cursor-default items-center rounded-xs px-2 py-1.5 text-sm outline-hidden select-none",o&&"pl-8",e),...n,children:[a,(0,t.jsx)(r.ChevronRightIcon,{className:"ml-auto h-4 w-4"})]});G.displayName=A.SubTrigger.displayName;let K=({className:e,...r})=>(0,t.jsx)(A.SubContent,{className:(0,L.cn)("bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 min-w-[8rem] overflow-hidden rounded-md border p-1 shadow-lg",e),...r});K.displayName=A.SubContent.displayName;let W=({className:e,sideOffset:r=4,...o})=>(0,t.jsx)(A.Portal,{children:(0,t.jsx)(A.Content,{sideOffset:r,className:(0,L.cn)("bg-popover text-popover-foreground z-50 min-w-[8rem] overflow-hidden rounded-md border p-1 shadow-md","data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:sli
1de-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...o})});W.displayName=A.Content.displayName;let $=({className:e,inset:r,...o})=>(0,t.jsx)(A.Item,{className:(0,L.cn)("focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center rounded-xs px-2 py-1.5 text-sm outline-hidden transition-colors select-none data-disabled:pointer-events-none data-disabled:opacity-50",r&&"pl-8",e),...o});$.displayName=A.Item.displayName;let U=({className:e,children:o,checked:a,...n})=>(0,t.jsxs)(A.CheckboxItem,{className:(0,L.cn)("focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center rounded-xs py-1.5 pr-2 pl-8 text-sm outline-hidden transition-colors select-none data-disabled:pointer-events-none data-disabled:opacity-50",e),checked:a,...n,children:[(0,t.jsx)("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,t.jsx)(A.ItemIndicator,{children:(0,t.jsx)(r.CheckIcon,{className:"h-4 w-4"})})}),o]});U.displayName=A.CheckboxItem.displayName;let q=({className:e,children:o,...a})=>(0,t.jsxs)(A.RadioItem,{className:(0,L.cn)("focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center rounded-xs py-1.5 pr-2 pl-8 text-sm outline-hidden transition-colors select-none data-disabled:pointer-events-none data-disabled:opacity-50",e),...a,children:[(0,t.jsx)("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,t.jsx)(A.ItemIndicator,{children:(0,t.jsx)(r.DotFilledIcon,{className:"h-4 w-4 fill-current"})})}),o]});q.displayName=A.RadioItem.displayName;let Y=({className:e,inset:r,...o})=>(0,t.jsx)(A.Label,{className:(0,L.cn)("px-2 py-1.5 text-sm font-semibold",r&&"pl-8",e),...o});Y.displayName=A.Label.displayName;let J=({className:e,...r})=>(0,t.jsx)(A.Separator,{className:(0,L.cn)("bg-muted -mx-1 my-1 h-px",e),...r});J.displayName=A.Separator.displayName;let Z=({className:e,...r})=>(0,t.jsx)("span",{className:(0,L.cn)("ml-auto text-xs tracking-widest opacity-60",e),...r});Z.displayName="DropdownMenuShortcut",e.s(["DropdownMenu",()=>F,"DropdownMenuCheckboxItem",()=>U,"DropdownMenuContent",()=>W,"DropdownMenuGroup",()=>_,"DropdownMenuItem",()=>$,"DropdownMenuLabel",()=>Y,"DropdownMenuPortal",()=>B,"DropdownMenuRadioGroup",()=>V,"DropdownMenuRadioItem",()=>q,"DropdownMenuSeparator",()=>J,"DropdownMenuShortcut",()=>Z,"DropdownMenuSub",()=>z,"DropdownMenuSubContent",()=>K,"DropdownMenuSubTrigger",()=>G,"DropdownMenuTrigger",()=>H],236610)},707313,e=>{"use strict";var t=e.i(138415);function r(e){let r=t.useRef({value:e,previous:e});return t.useMemo(()=>(r.current.value!==e&&(r.current.previous=r.current.value,r.current.value=e),r.current.previous),[e])}e.s(["usePrevious",()=>r])},885129,593925,e=>{"use strict";let t=(0,e.i(607655).default)("download",[["path",{d:"M12 15V3",key:"m9g1x1"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["path",{d:"m7 10 5 5 5-5",key:"brsn70"}]]);e.s(["default",()=>t],593925),e.s(["Download",()=>t],885129)},490404,e=>{"use strict";var t=e.i(138415),r=e.i(737471);function o(e){let[o,a]=t.useState(void 0);return(0,r.useLayoutEffect)(()=>{if(e){a({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{let r,o;if(!Array.isArray(t)||!t.length)return;let n=t[0];if("borderBoxSize"in n){let e=n.borderBoxSize,t=Array.isArray(e)?e[0]:e;r=t.inlineSize,o=t.blockSize}else r=e.offsetWidth,o=e.offsetHeight;a({width:r,height:o})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}a(void 0)},[e]),o}e.s(["useSize",()=>o])},633129,987212,e=>{"use strict";let t=(0,e.i(607655).default)("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);e.s(["default",()=>t],987212),e.s(["ChevronDown",()=>t],633129)},23337,e=>{"use strict";var t=e.i(138415),r=e.i(291967),o=e.i(789268),a=e.i(194185),n=e.i(220344),i=e.i(270672),s=e.i(195895),l=e.i(138801),d=e.i(38389),u=e.i(520092),c=e.i(492480),p=e.i(478518),f=e.i(219662),m=e.i(73772),g=e.i(468018),h=e.i(391610),v="Dialog",[y,w]=(0,a.createContextScope)(v),[b,x]=y(v),D=e=>{let{__scopeDialog:r,children:o,open:a,defaultOpen:s,onOpenChange:l,modal:d=!0}=e,u=t.useRef(null),c=t.useRef(null),[p,f]=(0,i.useControllableState)({prop:a,defaultProp:s??!1,onChange:l,caller:v});return(0,h.jsx)(b,{scope:r,triggerRef:u,contentRef:c,contentId:(0,n.useId)(),titleId:(0,n.useId)(),descriptionId:(0,n.useId)(),open:p,onOpenChange:f,onOpenToggle:t.useCallback(()=>f(e=>!e),[f]),modal:d,children:o})};D.displayName=v;var S="DialogTrigger",C=t.forwardRef((e,t)=>
1{let{__scopeDialog:a,...n}=e,i=x(S,a),s=(0,o.useComposedRefs)(t,i.triggerRef);return(0,h.jsx)(c.Primitive.button,{type:"button","aria-haspopup":"dialog","aria-expanded":i.open,"aria-controls":i.contentId,"data-state":K(i.open),...n,ref:s,onClick:(0,r.composeEventHandlers)(e.onClick,i.onOpenToggle)})});C.displayName=S;var N="DialogPortal",[I,j]=y(N,{forceMount:void 0}),R=e=>{let{__scopeDialog:r,forceMount:o,children:a,container:n}=e,i=x(N,r);return(0,h.jsx)(I,{scope:r,forceMount:o,children:t.Children.map(a,e=>(0,h.jsx)(u.Presence,{present:o||i.open,children:(0,h.jsx)(d.Portal,{asChild:!0,container:n,children:e})}))})};R.displayName=N;var M="DialogOverlay",k=t.forwardRef((e,t)=>{let r=j(M,e.__scopeDialog),{forceMount:o=r.forceMount,...a}=e,n=x(M,e.__scopeDialog);return n.modal?(0,h.jsx)(u.Presence,{present:o||n.open,children:(0,h.jsx)(O,{...a,ref:t})}):null});k.displayName=M;var T=(0,g.createSlot)("DialogOverlay.RemoveScroll"),O=t.forwardRef((e,t)=>{let{__scopeDialog:r,...o}=e,a=x(M,r);return(0,h.jsx)(f.RemoveScroll,{as:T,allowPinchZoom:!0,shards:[a.contentRef],children:(0,h.jsx)(c.Primitive.div,{"data-state":K(a.open),...o,ref:t,style:{pointerEvents:"auto",...o.style}})})}),E="DialogContent",P=t.forwardRef((e,t)=>{let r=j(E,e.__scopeDialog),{forceMount:o=r.forceMount,...a}=e,n=x(E,e.__scopeDialog);return(0,h.jsx)(u.Presence,{present:o||n.open,children:n.modal?(0,h.jsx)(A,{...a,ref:t}):(0,h.jsx)(L,{...a,ref:t})})});P.displayName=E;var A=t.forwardRef((e,a)=>{let n=x(E,e.__scopeDialog),i=t.useRef(null),s=(0,o.useComposedRefs)(a,n.contentRef,i);return t.useEffect(()=>{let e=i.current;if(e)return(0,m.hideOthers)(e)},[]),(0,h.jsx)(F,{...e,ref:s,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,r.composeEventHandlers)(e.onCloseAutoFocus,e=>{e.preventDefault(),n.triggerRef.current?.focus()}),onPointerDownOutside:(0,r.composeEventHandlers)(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,r=0===t.button&&!0===t.ctrlKey;(2===t.button||r)&&e.preventDefault()}),onFocusOutside:(0,r.composeEventHandlers)(e.onFocusOutside,e=>e.preventDefault())})}),L=t.forwardRef((e,r)=>{let o=x(E,e.__scopeDialog),a=t.useRef(!1),n=t.useRef(!1);return(0,h.jsx)(F,{...e,ref:r,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{e.onCloseAutoFocus?.(t),t.defaultPrevented||(a.current||o.triggerRef.current?.focus(),t.preventDefault()),a.current=!1,n.current=!1},onInteractOutside:t=>{e.onInteractOutside?.(t),t.defaultPrevented||(a.current=!0,"pointerdown"===t.detail.originalEvent.type&&(n.current=!0));let r=t.target;o.triggerRef.current?.contains(r)&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&n.current&&t.preventDefault()}})}),F=t.forwardRef((e,r)=>{let{__scopeDialog:a,trapFocus:n,onOpenAutoFocus:i,onCloseAutoFocus:d,...u}=e,c=x(E,a),f=t.useRef(null),m=(0,o.useComposedRefs)(r,f);return(0,p.useFocusGuards)(),(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)(l.FocusScope,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:i,onUnmountAutoFocus:d,children:(0,h.jsx)(s.DismissableLayer,{role:"dialog",id:c.contentId,"aria-describedby":c.descriptionId,"aria-labelledby":c.titleId,"data-state":K(c.open),...u,ref:m,onDismiss:()=>c.onOpenChange(!1)})}),(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)(q,{titleId:c.titleId}),(0,h.jsx)(Y,{contentRef:f,descriptionId:c.descriptionId})]})]})}),H="DialogTitle",_=t.forwardRef((e,t)=>{let{__scopeDialog:r,...o}=e,a=x(H,r);return(0,h.jsx)(c.Primitive.h2,{id:a.titleId,...o,ref:t})});_.displayName=H;var B="DialogDescription",z=t.forwardRef((e,t)=>{let{__scopeDialog:r,...o}=e,a=x(B,r);return(0,h.jsx)(c.Primitive.p,{id:a.descriptionId,...o,ref:t})});z.displayName=B;var V="DialogClose",G=t.forwardRef((e,t)=>{let{__scopeDialog:o,...a}=e,n=x(V,o);return(0,h.jsx)(c.Primitive.button,{type:"button",...a,ref:t,onClick:(0,r.composeEventHandlers)(e.onClick,()=>n.onOpenChange(!1))})});function K(e){return e?"open":"closed"}G.displayName=V;var W="DialogTitleWarning",[$,U]=(0,a.createContext)(W,{contentName:E,titleName:H,docsSlug:"dialog"}),q=({titleId:e})=>{let r=U(W),o=`\`${r.contentName}\` requires a \`${r.titleName}\` for the component to be accessible for screen reader users.
2
3If you want to hide the \`${r.titleName}\`, you can wrap it with our VisuallyHidden component.
4
5For more information, see https://radix-ui.com/primitives/docs/components/${r.docsSlug}`;return t.useEffect(()=>{e&&(document.getElementById(e)||console.error(o))},[o,e]),null},Y=({contentRef:e,descriptionId:r})=>{let o=U("DialogDescriptionWarning"),a=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${o.contentName}}.`;return t.useEffect(()=>{let t=e.current?.getAttribute("aria-describedby");r&&t&&(document.getElementById(r)||console.warn(a))},[a,e,r]),null};e.s(["Close",()=>G,"Content",()=>P,"Description",()=>z,"Dialog",()=>D,"DialogClose",()=>G,"DialogContent",()=>P,"DialogDescription",()=>z,"DialogOverlay",()=>k,"DialogPortal",()=>R,"DialogTitle",()=>_,"DialogTrigger",()=>C,"Overlay",()=>k,"Portal",()=>R,"Root",()=>D,"Title",()=>_,"Trigger",()=>C,"WarningProvider",()=>$,"createDialogScope",()=>w])},386671,e=>{"use strict";var t=e.i(23337);e.s(["Dialog",0,t])},690563,e=>{"use strict";var t=e.i(138415),r=e.i(492480),o=e.i(391610),a=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),n=t.forwardRef((e,t)=>
5(0,o.jsx)(r.Primitive.span,{...e,ref:t,style:{...a,...e.style}}));n.displayName="VisuallyHidden",e.s(["Root",()=>n,"VISUALLY_HIDDEN_STYLES",()=>a])},297255,e=>{"use strict";var t=e.i(391610),r=e.i(323748),o=e.i(294237),a=e.i(386671);e.i(53759);var n=e.i(541048);let i=a.Dialog.Root,s=a.Dialog.Trigger;a.Dialog.Close;let l=a.Dialog.Portal,d=({className:e,...r})=>(0,t.jsx)(a.Dialog.Overlay,{className:(0,n.cn)("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/80",e),...r});d.displayName=a.Dialog.Overlay.displayName;let u=(0,o.cva)("bg-background data-[state=open]:animate-in data-[state=closed]:animate-out fixed z-50 gap-4 p-6 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500",{variants:{side:{top:"data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top inset-x-0 top-0 border-b",bottom:"data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom inset-x-0 bottom-0 border-t",left:"data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left inset-y-0 left-0 h-full w-3/4 border-r sm:max-w-sm",right:"data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right inset-y-0 right-0 h-full w-3/4 border-l sm:max-w-sm"}},defaultVariants:{side:"right"}}),c=({side:e="right",className:o,children:i,...s})=>(0,t.jsxs)(l,{children:[(0,t.jsx)(d,{}),(0,t.jsxs)(a.Dialog.Content,{className:(0,n.cn)(u({side:e}),o),...s,children:[(0,t.jsxs)(a.Dialog.Close,{className:"ring-offset-background focus:ring-ring data-[state=open]:bg-secondary absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none",children:[(0,t.jsx)(r.Cross2Icon,{className:"h-4 w-4"}),(0,t.jsx)("span",{className:"sr-only",children:"Close"})]}),i]})]});c.displayName=a.Dialog.Content.displayName;let p=({className:e,...r})=>(0,t.jsx)("div",{className:(0,n.cn)("flex flex-col gap-y-3 text-center sm:text-left",e),...r});p.displayName="SheetHeader";let f=({className:e,...r})=>(0,t.jsx)(a.Dialog.Title,{className:(0,n.cn)("text-foreground text-lg font-semibold",e),...r});f.displayName=a.Dialog.Title.displayName,a.Dialog.Description.displayName,e.s(["Sheet",()=>i,"SheetContent",()=>c,"SheetHeader",()=>p,"SheetTitle",()=>f,"SheetTrigger",()=>s])},728090,e=>{"use strict";var t=e.i(391610);e.i(53759);var r=e.i(541048);function o({className:e,...o}){return(0,t.jsx)("div",{className:(0,r.cn)("bg-primary/10 animate-pulse rounded-md",e),...o})}e.s(["Skeleton",()=>o])},129850,e=>{"use strict";let t=["#6366f1","#8b5cf6","#ec4899","#f43f5e","#f97316","#eab308","#22c55e","#14b8a6","#0ea5e9","#3b82f6"];function r(e){if(!e)return t[0];let r=0;for(let t=0;t<e.length;t++)r=(r<<5)-r+e.charCodeAt(t),r&=r;let o=Math.abs(r)%t.length;return t[o]}function o(){return t[Math.floor(Math.random()*t.length)]}e.s(["getRandomUserColor",()=>o,"getUserColor",()=>r])},623905,e=>{"use strict";var t=e.i(391610),r=e.i(138415),o=e.i(194185),a=e.i(767768),n=e.i(737471),i=e.i(492480),s=e.i(765472);function l(){return()=>{}}var d="Avatar",[u,c]=(0,o.createContextScope)(d),[p,f]=u(d),m=r.forwardRef((e,o)=>{let{__scopeAvatar:a,...n}=e,[s,l]=r.useState("idle");return(0,t.jsx)(p,{scope:a,imageLoadingStatus:s,onImageLoadingStatusChange:l,children:(0,t.jsx)(i.Primitive.span,{...n,ref:o})})});m.displayName=d;var g="AvatarImage",h=r.forwardRef((e,o)=>{let{__scopeAvatar:d,src:u,onLoadingStatusChange:c=()=>{},...p}=e,m=f(g,d),h=function(e,{referrerPolicy:t,crossOrigin:o}){let a=(0,s.useSyncExternalStore)(l,()=>!0,()=>!1),i=r.useRef(null),d=a?(i.current||(i.current=new window.Image),i.current):null,[u,c]=r.useState(()=>w(d,e));return(0,n.useLayoutEffect)(()=>{c(w(d,e))},[d,e]),(0,n.useLayoutEffect)(()=>{let e=e=>()=>{c(e)};if(!d)return;let r=e("loaded"),a=e("error");return d.addEventListener("load",r),d.addEventListener("error",a),t&&(d.referrerPolicy=t),"string"==typeof o&&(d.crossOrigin=o),()=>{d.removeEventListener("load",r),d.removeEventListener("error",a)}},[d,o,t]),u}(u,p),v=(0,a.useCallbackRef)(e=>{c(e),m.onImageLoadingStatusChange(e)}
5);return(0,n.useLayoutEffect)(()=>{"idle"!==h&&v(h)},[h,v]),"loaded"===h?(0,t.jsx)(i.Primitive.img,{...p,ref:o,src:u}):null});h.displayName=g;var v="AvatarFallback",y=r.forwardRef((e,o)=>{let{__scopeAvatar:a,delayMs:n,...s}=e,l=f(v,a),[d,u]=r.useState(void 0===n);return r.useEffect(()=>{if(void 0!==n){let e=window.setTimeout(()=>u(!0),n);return()=>window.clearTimeout(e)}},[n]),d&&"loaded"!==l.imageLoadingStatus?(0,t.jsx)(i.Primitive.span,{...s,ref:o}):null});function w(e,t){return e?t?(e.src!==t&&(e.src=t),e.complete&&e.naturalWidth>0?"loaded":"loading"):"error":"idle"}y.displayName=v,e.s(["Avatar",()=>m,"AvatarFallback",()=>y,"AvatarImage",()=>h,"Fallback",()=>y,"Image",()=>h,"Root",()=>m,"createAvatarScope",()=>c],580395);var b=e.i(580395),b=b;e.i(53759);var x=e.i(541048);let D=({className:e,...r})=>(0,t.jsx)(b.Root,{className:(0,x.cn)("relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full",e),...r});D.displayName=b.Root.displayName;let S=({className:e,...r})=>(0,t.jsx)(b.Image,{className:(0,x.cn)("aspect-square h-full w-full object-cover",e),...r});S.displayName=b.Image.displayName;let C=({className:e,...r})=>(0,t.jsx)(b.Fallback,{className:(0,x.cn)("bg-muted flex h-full w-full items-center justify-center rounded-full",e),...r});C.displayName=b.Fallback.displayName,e.s(["Avatar",()=>D,"AvatarFallback",()=>C,"AvatarImage",()=>S],623905)}]);

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.