1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,367886,e=>{"use strict";let t=(0,e.i(286796).default)("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);e.s(["ChevronRight",()=>t],367886)},42435,e=>{"use strict";let t=(0,e.i(286796).default)("ChevronLeft",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]]);e.s(["ChevronLeft",()=>t],42435)},774834,e=>{"use strict";let t=(0,e.i(286796).default)("CircleAlert",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]]);e.s(["AlertCircle",()=>t],774834)},223156,e=>{"use strict";let t=(0,e.i(286796).default)("Earth",[["path",{d:"M21.54 15H17a2 2 0 0 0-2 2v4.54",key:"1djwo0"}],["path",{d:"M7 3.34V5a3 3 0 0 0 3 3a2 2 0 0 1 2 2c0 1.1.9 2 2 2a2 2 0 0 0 2-2c0-1.1.9-2 2-2h3.17",key:"1tzkfa"}],["path",{d:"M11 21.95V18a2 2 0 0 0-2-2a2 2 0 0 1-2-2v-1a2 2 0 0 0-2-2H2.05",key:"14pb5j"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]);e.s(["Globe2",()=>t],223156)},136559,e=>{"use strict";let t=(0,e.i(286796).default)("Moon",[["path",{d:"M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z",key:"a7tn18"}]]);e.s(["Moon",()=>t],136559)},737149,e=>{"use strict";var t=e.i(260293),r=e.i(975157);function a({borderWidth:e=1,duration:a=14,shineColor:n="#000000",className:i,style:o,...l}){return(0,t.jsx)("div",{style:{"--border-width":`${e}px`,"--duration":`${a}s`,"--mask-linear-gradient":"linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0)","--background-radial-gradient":`radial-gradient(transparent,transparent, ${Array.isArray(n)?n.join(","):n},transparent,transparent)`,backgroundImage:"var(--background-radial-gradient)",backgroundSize:"300% 300%",mask:"var(--mask-linear-gradient)",WebkitMaskComposite:"xor",maskComposite:"exclude",...o},className:(0,r.cn)("motion-safe:animate-shine pointer-events-none absolute inset-0 size-full rounded-[inherit] p-[--border-width] will-change-[background-position]",i),...l})}e.s(["ShineBorder",()=>a])},746798,e=>{"use strict";var t=e.i(260293),r=e.i(809528),a=e.i(291967),n=e.i(188625),i=e.i(352162),o=e.i(557974),l=e.i(987438),s=e.i(376496),c=e.i(143340),d=e.i(162508),u=e.i(413494),h=e.i(819232),f=e.i(575301),m=e.i(448074),[p,g]=(0,i.createContextScope)("Tooltip",[s.createPopperScope]),y=(0,s.createPopperScope)(),v="TooltipProvider",x="tooltip.open",[M,b]=p(v),w=e=>{let{__scopeTooltip:a,delayDuration:n=700,skipDelayDuration:i=300,disableHoverableContent:o=!1,children:l}=e,s=r.useRef(!0),c=r.useRef(!1),d=r.useRef(0);return r.useEffect(()=>{let e=d.current;return()=>window.clearTimeout(e)},[]),(0,t.jsx)(M,{scope:a,isOpenDelayedRef:s,delayDuration:n,onOpen:r.useCallback(()=>{window.clearTimeout(d.current),s.current=!1},[]),onClose:r.useCallback(()=>{window.clearTimeout(d.current),d.current=window.setTimeout(()=>s.current=!0,i)},[i]),isPointerInTransitRef:c,onPointerInTransitChange:r.useCallback(e=>{c.current=e},[]),disableHoverableContent:o,children:l})};w.displayName=v;var k="Tooltip",[E,C]=p(k),S=e=>{let{__scopeTooltip:a,children:n,open:i,defaultOpen:o,onOpenChange:c,disableHoverableContent:d,delayDuration:u}=e,h=b(k,e.__scopeTooltip),m=y(a),[p,g]=r.useState(null),v=(0,l.useId)(),M=r.useRef(0),w=d??h.disableHoverableContent,C=u??h.delayDuration,S=r.useRef(!1),[I,R]=(0,f.useControllableState)({prop:i,defaultProp:o??!1,onChange:e=>{e?(h.onOpen(),document.dispatchEvent(new CustomEvent(x))):h.onClose(),c?.(e)},caller:k}),T=r.useMemo(()=>I?S.current?"delayed-open":"instant-open":"closed",[I]),O=r.useCallback(()=>{window.clearTimeout(M.current),M.current=0,S.current=!1,R(!0)},[R]),N=r.useCallback(()=>{window.clearTimeout(M.current),M.current=0,R(!1)},[R]),L=r.useCallback(()=>{window.clearTimeout(M.current),M.current=window.setTimeout(()=>{S.current=!0,R(!0),M.current=0},C)},[C,R]);return r.useEffect(()=>()=>{M.current&&(window.clearTimeout(M.current),M.current=0)},[]),(0,t.jsx)(s.Root,{...m,children:(0,t.jsx)(E,{scope:a,contentId:v,open:I,stateAttribute:T,trigger:p,onTriggerChange:g,onTriggerEnter:r.useCallback(()=>{h.isOpenDelayedRef.current?L():O()},[h.isOpenDelayedRef,L,O]),onTriggerLeave:r.useCallback(()=>
1{w?N():(window.clearTimeout(M.current),M.current=0)},[N,w]),onOpen:O,onClose:N,disableHoverableContent:w,children:n})})};S.displayName=k;var I="TooltipTrigger",R=r.forwardRef((e,i)=>{let{__scopeTooltip:o,...l}=e,c=C(I,o),d=b(I,o),h=y(o),f=r.useRef(null),m=(0,n.useComposedRefs)(i,f,c.onTriggerChange),p=r.useRef(!1),g=r.useRef(!1),v=r.useCallback(()=>p.current=!1,[]);return r.useEffect(()=>()=>document.removeEventListener("pointerup",v),[v]),(0,t.jsx)(s.Anchor,{asChild:!0,...h,children:(0,t.jsx)(u.Primitive.button,{"aria-describedby":c.open?c.contentId:void 0,"data-state":c.stateAttribute,...l,ref:m,onPointerMove:(0,a.composeEventHandlers)(e.onPointerMove,e=>{"touch"!==e.pointerType&&(g.current||d.isPointerInTransitRef.current||(c.onTriggerEnter(),g.current=!0))}),onPointerLeave:(0,a.composeEventHandlers)(e.onPointerLeave,()=>{c.onTriggerLeave(),g.current=!1}),onPointerDown:(0,a.composeEventHandlers)(e.onPointerDown,()=>{c.open&&c.onClose(),p.current=!0,document.addEventListener("pointerup",v,{once:!0})}),onFocus:(0,a.composeEventHandlers)(e.onFocus,()=>{p.current||c.onOpen()}),onBlur:(0,a.composeEventHandlers)(e.onBlur,c.onClose),onClick:(0,a.composeEventHandlers)(e.onClick,c.onClose)})})});R.displayName=I;var T="TooltipPortal",[O,N]=p(T,{forceMount:void 0}),L=e=>{let{__scopeTooltip:r,forceMount:a,children:n,container:i}=e,o=C(T,r);return(0,t.jsx)(O,{scope:r,forceMount:a,children:(0,t.jsx)(d.Presence,{present:a||o.open,children:(0,t.jsx)(c.Portal,{asChild:!0,container:i,children:n})})})};L.displayName=T;var A="TooltipContent",F=r.forwardRef((e,r)=>{let a=N(A,e.__scopeTooltip),{forceMount:n=a.forceMount,side:i="top",...o}=e,l=C(A,e.__scopeTooltip);return(0,t.jsx)(d.Presence,{present:n||l.open,children:l.disableHoverableContent?(0,t.jsx)(B,{side:i,...o,ref:r}):(0,t.jsx)(j,{side:i,...o,ref:r})})}),j=r.forwardRef((e,a)=>{let i=C(A,e.__scopeTooltip),o=b(A,e.__scopeTooltip),l=r.useRef(null),s=(0,n.useComposedRefs)(a,l),[c,d]=r.useState(null),{trigger:u,onClose:h}=i,f=l.current,{onPointerInTransitChange:m}=o,p=r.useCallback(()=>{d(null),m(!1)},[m]),g=r.useCallback((e,t)=>{let r,a=e.currentTarget,n={x:e.clientX,y:e.clientY},i=function(e,t){let r=Math.abs(t.top-e.y),a=Math.abs(t.bottom-e.y),n=Math.abs(t.right-e.x),i=Math.abs(t.left-e.x);switch(Math.min(r,a,n,i)){case i:return"left";case n:return"right";case r:return"top";case a:return"bottom";default:throw Error("unreachable")}}(n,a.getBoundingClientRect());d(((r=[...function(e,t,r=5){let a=[];switch(t){case"top":a.push({x:e.x-r,y:e.y+r},{x:e.x+r,y:e.y+r});break;case"bottom":a.push({x:e.x-r,y:e.y-r},{x:e.x+r,y:e.y-r});break;case"left":a.push({x:e.x+r,y:e.y-r},{x:e.x+r,y:e.y+r});break;case"right":a.push({x:e.x-r,y:e.y-r},{x:e.x-r,y:e.y+r})}return a}(n,i),...function(e){let{top:t,right:r,bottom:a,left:n}=e;return[{x:n,y:t},{x:r,y:t},{x:r,y:a},{x:n,y:a}]}(t.getBoundingClientRect())].slice()).sort((e,t)=>e.x<t.x?-1:e.x>t.x?1:e.y<t.y?-1:1*!!(e.y>t.y)),function(e){if(e.length<=1)return e.slice();let t=[];for(let r=0;r<e.length;r++){let a=e[r];for(;t.length>=2;){let e=t[t.length-1],r=t[t.length-2];if((e.x-r.x)*(a.y-r.y)>=(e.y-r.y)*(a.x-r.x))t.pop();else break}t.push(a)}t.pop();let r=[];for(let t=e.length-1;t>=0;t--){let a=e[t];for(;r.length>=2;){let e=r[r.length-1],t=r[r.length-2];if((e.x-t.x)*(a.y-t.y)>=(e.y-t.y)*(a.x-t.x))r.pop();else break}r.push(a)}return(r.pop(),1===t.length&&1===r.length&&t[0].x===r[0].x&&t[0].y===r[0].y)?t:t.concat(r)}(r))),m(!0)},[m]);return r.useEffect(()=>()=>p(),[p]),r.useEffect(()=>{if(u&&f){let e=e=>g(e,f),t=e=>g(e,u);return u.addEventListener("pointerleave",e),f.addEventListener("pointerleave",t),()=>{u.removeEventListener("pointerleave",e),f.removeEventListener("pointerleave",t)}}},[u,f,g,p]),r.useEffect(()=>{if(c){let e=e=>{let t=e.target,r={x:e.clientX,y:e.clientY},a=u?.contains(t)||f?.contains(t),n=!function(e,t){let{x:r,y:a}=e,n=!1;for(let e=0,i=t.length-1;e<t.length;i=e++){let o=t[e],l=t[i],s=o.x,c=o.y,d=l.x,u=l.y;c>a!=u>a&&r<(d-s)*(a-c)/(u-c)+s&&(n=!n)}return n}(r,c);a?p():n&&(p(),h())};return document.addEventListener("pointermove",e),()=>document.removeEventListener("pointermove",e)}},[u,f,c,h,p]),(0,t.jsx)(B,{...e,ref:s})}),[P,_]=p(k,{isInside:!1}),D=(0,h.createSlottable)("TooltipContent"),B=r.forwardRef((e,a)=>{let{__scopeTooltip:n,children:i,"aria-label":l,onEscapeKeyDown:c,onPointerDownOutside:d,...u}
1=e,h=C(A,n),f=y(n),{onClose:p}=h;return r.useEffect(()=>(document.addEventListener(x,p),()=>document.removeEventListener(x,p)),[p]),r.useEffect(()=>{if(h.trigger){let e=e=>{let t=e.target;t?.contains(h.trigger)&&p()};return window.addEventListener("scroll",e,{capture:!0}),()=>window.removeEventListener("scroll",e,{capture:!0})}},[h.trigger,p]),(0,t.jsx)(o.DismissableLayer,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:c,onPointerDownOutside:d,onFocusOutside:e=>e.preventDefault(),onDismiss:p,children:(0,t.jsxs)(s.Content,{"data-state":h.stateAttribute,...f,...u,ref:a,style:{...u.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[(0,t.jsx)(D,{children:i}),(0,t.jsx)(P,{scope:n,isInside:!0,children:(0,t.jsx)(m.Root,{id:h.contentId,role:"tooltip",children:l||i})})]})})});F.displayName=A;var z="TooltipArrow";r.forwardRef((e,r)=>{let{__scopeTooltip:a,...n}=e,i=y(a);return _(z,a).isInside?null:(0,t.jsx)(s.Arrow,{...i,...n,ref:r})}).displayName=z;var H=e.i(975157);let U=r.forwardRef(({className:e,sideOffset:r=4,...a},n)=>(0,t.jsx)(L,{children:(0,t.jsx)(F,{ref:n,sideOffset:r,className:(0,H.cn)("z-50 overflow-hidden rounded-md bg-primary px-3 py-1.5 text-xs text-primary-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-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",e),...a})}));U.displayName=F.displayName,e.s(["Tooltip",()=>S,"TooltipContent",()=>U,"TooltipProvider",()=>w,"TooltipTrigger",()=>R],746798)},617029,e=>{"use strict";var t=e.i(260293),r=e.i(809528);let a=(0,r.createContext)(void 0);function n({children:e}){let[n,i]=(0,r.useState)(!1);(0,r.useEffect)(()=>{i("true"===localStorage.getItem("sidebar-open"))},[]),(0,r.useEffect)(()=>{let e=()=>i(!1);return window.addEventListener("collapseSidebar",e),()=>window.removeEventListener("collapseSidebar",e)},[]);let o=(0,r.useCallback)(()=>{i(e=>{let t=!e;return localStorage.setItem("sidebar-open",String(t)),t})},[]),l=(0,r.useCallback)(e=>{i(e),localStorage.setItem("sidebar-open",String(e))},[]),s=(0,r.useMemo)(()=>({isOpen:n,toggleSidebar:o,setSidebarOpen:l}),[n,o,l]);return(0,t.jsx)(a.Provider,{value:s,children:e})}function i(){let e=(0,r.useContext)(a);if(void 0===e)throw Error("useSidebar must be used within a SidebarProvider");return e}e.s(["SidebarProvider",()=>n,"useSidebar",()=>i])},331375,e=>{"use strict";let t=(0,e.i(286796).default)("ShieldAlert",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"M12 8v4",key:"1got3b"}],["path",{d:"M12 16h.01",key:"1drbdi"}]]);e.s(["ShieldAlert",()=>t],331375)},688945,e=>{"use strict";let t=(0,e.i(286796).default)("Trophy",[["path",{d:"M6 9H4.5a2.5 2.5 0 0 1 0-5H6",key:"17hqa7"}],["path",{d:"M18 9h1.5a2.5 2.5 0 0 0 0-5H18",key:"lmptdp"}],["path",{d:"M4 22h16",key:"57wxv0"}],["path",{d:"M10 14.66V17c0 .55-.47.98-.97 1.21C7.85 18.75 7 20.24 7 22",key:"1nw9bq"}],["path",{d:"M14 14.66V17c0 .55.47.98.97 1.21C16.15 18.75 17 20.24 17 22",key:"1np0yb"}],["path",{d:"M18 2H6v7a6 6 0 0 0 12 0V2Z",key:"u46fv3"}]]);e.s(["Trophy",()=>t],688945)},363546,(e,t,r)=>{e.e,t.exports=function(e){var t=[function(t,r){t.exports=e},function(e,t,r){e.exports=r(2)},function(e,t,r){"use strict";function a(e,t){if(null==e)return{};var r,a,n=function(e,t){if(null==e)return{};var r,a,n={},i=Object.keys(e);for(a=0;a<i.length;a++)r=i[a],t.indexOf(r)>=0||(n[r]=e[r]);return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a<i.length;a++)r=i[a],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}r.r(t);var n=r(0),i=r.n(n),o=function(e){for(var t=0,r=0;r<e.length;r++)t=(t<<5)-t+e.charCodeAt(r),t&=t;return Math.abs(t)},l=function(e,t){return Math.floor(e/Math.pow(10,t)%10)},s=function(e,t){return!(l(e,t)%2)},c=function(e,t,r){var a=e%t;return r&&l(e,r)%2==0?-a:a},d=function(e,t,r){return t[e%r]},u=function(e){var t,r,i=e.name,l=e.colors,s=e.title,u=e.square,h=e.size,f=a(e,["name","colors","title","square","size"]),m=(t=o(i),r=l&&l.length,Array.from({length:3},function(e,a){return{color:d(t+a,l,r),translateX:c(t*(a+1),8,1),translateY:c(t*(a+1),8,2),scale:1.2+c(t*(a+1),4)/10,rotate:c(t*(a+1),360,1)}})),p=n.useId();return n.createElement("svg",Object.assign({viewBox:"0 0 80 80",fill:"none",role:"img",xmlns:"http://www.w3.org/2000/svg",width:h,height:h},f),s&&n.createElement("title",null,i),n.createElement("mask",{id:p,maskUnits:"userSpaceOnUse",x:0,y:0,width:80,height:80},n.createElement("rect",{width:80,height:80,rx:u?void 0:160,fill:"#FFFFFF"})),n.createElement("g",{mask:"url(#".concat(p,")")},n.createElement("rect",{width:80,height:80,fill:m[0].color}
1),n.createElement("path",{filter:"url(#filter_".concat(p,")"),d:"M32.414 59.35L50.376 70.5H72.5v-71H33.728L26.5 13.381l19.057 27.08L32.414 59.35z",fill:m[1].color,transform:"translate("+m[1].translateX+" "+m[1].translateY+") rotate("+m[1].rotate+" 40 40) scale("+m[2].scale+")"}),n.createElement("path",{filter:"url(#filter_".concat(p,")"),style:{mixBlendMode:"overlay"},d:"M22.216 24L0 46.75l14.108 38.129L78 86l-3.081-59.276-22.378 4.005 12.972 20.186-23.35 27.395L22.215 24z",fill:m[2].color,transform:"translate("+m[2].translateX+" "+m[2].translateY+") rotate("+m[2].rotate+" 40 40) scale("+m[2].scale+")"})),n.createElement("defs",null,n.createElement("filter",{id:"filter_".concat(p),filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},n.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),n.createElement("feBlend",{in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),n.createElement("feGaussianBlur",{stdDeviation:7,result:"effect1_foregroundBlur"}))))},h={pixel:function(e){var t,r,i=e.name,l=e.colors,s=e.title,c=e.square,u=e.size,h=a(e,["name","colors","title","square","size"]),f=(t=o(i),r=l&&l.length,Array.from({length:64},function(e,a){return d(t%(a+1),l,r)})),m=n.useId();return n.createElement("svg",Object.assign({viewBox:"0 0 80 80",fill:"none",role:"img",xmlns:"http://www.w3.org/2000/svg",width:u,height:u},h),s&&n.createElement("title",null,i),n.createElement("mask",{id:m,"mask-type":"alpha",maskUnits:"userSpaceOnUse",x:0,y:0,width:80,height:80},n.createElement("rect",{width:80,height:80,rx:c?void 0:160,fill:"#FFFFFF"})),n.createElement("g",{mask:"url(#".concat(m,")")},n.createElement("rect",{width:10,height:10,fill:f[0]}),n.createElement("rect",{x:20,width:10,height:10,fill:f[1]}),n.createElement("rect",{x:40,width:10,height:10,fill:f[2]}),n.createElement("rect",{x:60,width:10,height:10,fill:f[3]}),n.createElement("rect",{x:10,width:10,height:10,fill:f[4]}),n.createElement("rect",{x:30,width:10,height:10,fill:f[5]}),n.createElement("rect",{x:50,width:10,height:10,fill:f[6]}),n.createElement("rect",{x:70,width:10,height:10,fill:f[7]}),n.createElement("rect",{y:10,width:10,height:10,fill:f[8]}),n.createElement("rect",{y:20,width:10,height:10,fill:f[9]}),n.createElement("rect",{y:30,width:10,height:10,fill:f[10]}),n.createElement("rect",{y:40,width:10,height:10,fill:f[11]}),n.createElement("rect",{y:50,width:10,height:10,fill:f[12]}),n.createElement("rect",{y:60,width:10,height:10,fill:f[13]}),n.createElement("rect",{y:70,width:10,height:10,fill:f[14]}),n.createElement("rect",{x:20,y:10,width:10,height:10,fill:f[15]}),n.createElement("rect",{x:20,y:20,width:10,height:10,fill:f[16]}),n.createElement("rect",{x:20,y:30,width:10,height:10,fill:f[17]}),n.createElement("rect",{x:20,y:40,width:10,height:10,fill:f[18]}),n.createElement("rect",{x:20,y:50,width:10,height:10,fill:f[19]}),n.createElement("rect",{x:20,y:60,width:10,height:10,fill:f[20]}),n.createElement("rect",{x:20,y:70,width:10,height:10,fill:f[21]}),n.createElement("rect",{x:40,y:10,width:10,height:10,fill:f[22]}),n.createElement("rect",{x:40,y:20,width:10,height:10,fill:f[23]}),n.createElement("rect",{x:40,y:30,width:10,height:10,fill:f[24]}),n.createElement("rect",{x:40,y:40,width:10,height:10,fill:f[25]}),n.createElement("rect",{x:40,y:50,width:10,height:10,fill:f[26]}),n.createElement("rect",{x:40,y:60,width:10,height:10,fill:f[27]}),n.createElement("rect",{x:40,y:70,width:10,height:10,fill:f[28]}),n.createElement("rect",{x:60,y:10,width:10,height:10,fill:f[29]}),n.createElement("rect",{x:60,y:20,width:10,height:10,fill:f[30]}),n.createElement("rect",{x:60,y:30,width:10,height:10,fill:f[31]}),n.createElement("rect",{x:60,y:40,width:10,height:10,fill:f[32]}),n.createElement("rect",{x:60,y:50,width:10,height:10,fill:f[33]}),n.createElement("rect",{x:60,y:60,width:10,height:10,fill:f[34]}),n.createElement("rect",{x:60,y:70,width:10,height:10,fill:f[35]}),n.createElement("rect",{x:10,y:10,width:10,height:10,fill:f[36]}),n.createElement("rect",{x:10,y:20,width:10,height:10,fill:f[37]}),n.createElement("rect",{x:10,y:30,width:10,height:10,fill:f[38]}),n.createElement("rect",{x:10,y:40,width:10,height:10,fill:f[39]}),n.createElement("rect",{x:10,y:50,width:10,height:10,fill:f[40]}),n.createElement("rect",{x:10,y:60,width:10,height:10,fill:f[41]}),n.createElement("rect",{x:10,y:70,width:10,height:10,fill:f[42]}),n.createElement("rect",{x:30,y:10,width:10,height:10,fill:f[43]}),n.createElement("rect",{x:30,y:20,width:10,height:10,fill:f[44]}),n.createElement("rect",{x:30,y:30,width:10,height:10,fill:f[45]}),n.createElement("rect",{x:30,y:40,width:10,height:10,fill:f[46]}),n.createElement("rect",{x:30,y:50,width:10,height:10,fill:f[47]}),n.createElement("rect",{x:30,y:60,width:10,height:10,fill:f[48]}
1),n.createElement("rect",{x:30,y:70,width:10,height:10,fill:f[49]}),n.createElement("rect",{x:50,y:10,width:10,height:10,fill:f[50]}),n.createElement("rect",{x:50,y:20,width:10,height:10,fill:f[51]}),n.createElement("rect",{x:50,y:30,width:10,height:10,fill:f[52]}),n.createElement("rect",{x:50,y:40,width:10,height:10,fill:f[53]}),n.createElement("rect",{x:50,y:50,width:10,height:10,fill:f[54]}),n.createElement("rect",{x:50,y:60,width:10,height:10,fill:f[55]}),n.createElement("rect",{x:50,y:70,width:10,height:10,fill:f[56]}),n.createElement("rect",{x:70,y:10,width:10,height:10,fill:f[57]}),n.createElement("rect",{x:70,y:20,width:10,height:10,fill:f[58]}),n.createElement("rect",{x:70,y:30,width:10,height:10,fill:f[59]}),n.createElement("rect",{x:70,y:40,width:10,height:10,fill:f[60]}),n.createElement("rect",{x:70,y:50,width:10,height:10,fill:f[61]}),n.createElement("rect",{x:70,y:60,width:10,height:10,fill:f[62]}),n.createElement("rect",{x:70,y:70,width:10,height:10,fill:f[63]})))},bauhaus:function(e){var t,r,i=e.name,l=e.colors,u=e.title,h=e.square,f=e.size,m=a(e,["name","colors","title","square","size"]),p=(t=o(i),r=l&&l.length,Array.from({length:4},function(e,a){return{color:d(t+a,l,r),translateX:c(t*(a+1),40-(a+17),1),translateY:c(t*(a+1),40-(a+17),2),rotate:c(t*(a+1),360),isSquare:s(t,2)}})),g=n.useId();return n.createElement("svg",Object.assign({viewBox:"0 0 80 80",fill:"none",role:"img",xmlns:"http://www.w3.org/2000/svg",width:f,height:f},m),u&&n.createElement("title",null,i),n.createElement("mask",{id:g,maskUnits:"userSpaceOnUse",x:0,y:0,width:80,height:80},n.createElement("rect",{width:80,height:80,rx:h?void 0:160,fill:"#FFFFFF"})),n.createElement("g",{mask:"url(#".concat(g,")")},n.createElement("rect",{width:80,height:80,fill:p[0].color}),n.createElement("rect",{x:10,y:30,width:80,height:p[1].isSquare?80:10,fill:p[1].color,transform:"translate("+p[1].translateX+" "+p[1].translateY+") rotate("+p[1].rotate+" 40 40)"}),n.createElement("circle",{cx:40,cy:40,fill:p[2].color,r:16,transform:"translate("+p[2].translateX+" "+p[2].translateY+")"}),n.createElement("line",{x1:0,y1:40,x2:80,y2:40,strokeWidth:2,stroke:p[3].color,transform:"translate("+p[3].translateX+" "+p[3].translateY+") rotate("+p[3].rotate+" 40 40)"})))},ring:function(e){var t,r,n,l,s=e.name,c=e.colors,u=e.title,h=e.square,f=e.size,m=a(e,["name","colors","title","square","size"]),p=(t=o(s),r=c&&c.length,n=Array.from({length:5},function(e,a){return d(t+a,c,r)}),(l=[])[0]=n[0],l[1]=n[1],l[2]=n[1],l[3]=n[2],l[4]=n[2],l[5]=n[3],l[6]=n[3],l[7]=n[0],l[8]=n[4],l),g=i.a.useId();return i.a.createElement("svg",Object.assign({viewBox:"0 0 90 90",fill:"none",role:"img",xmlns:"http://www.w3.org/2000/svg",width:f,height:f},m),u&&i.a.createElement("title",null,s),i.a.createElement("mask",{id:g,maskUnits:"userSpaceOnUse",x:0,y:0,width:90,height:90},i.a.createElement("rect",{width:90,height:90,rx:h?void 0:180,fill:"#FFFFFF"})),i.a.createElement("g",{mask:"url(#".concat(g,")")},i.a.createElement("path",{d:"M0 0h90v45H0z",fill:p[0]}),i.a.createElement("path",{d:"M0 45h90v45H0z",fill:p[1]}),i.a.createElement("path",{d:"M83 45a38 38 0 00-76 0h76z",fill:p[2]}),i.a.createElement("path",{d:"M83 45a38 38 0 01-76 0h76z",fill:p[3]}),i.a.createElement("path",{d:"M77 45a32 32 0 10-64 0h64z",fill:p[4]}),i.a.createElement("path",{d:"M77 45a32 32 0 11-64 0h64z",fill:p[5]}),i.a.createElement("path",{d:"M71 45a26 26 0 00-52 0h52z",fill:p[6]}),i.a.createElement("path",{d:"M71 45a26 26 0 01-52 0h52z",fill:p[7]}),i.a.createElement("circle",{cx:45,cy:45,r:23,fill:p[8]})))},beam:function(e){var t,r,i,l,u,h,f,m,p=e.name,g=e.colors,y=e.title,v=e.square,x=e.size,M=a(e,["name","colors","title","square","size"]),b=(r=o(p),i=g&&g.length,l=d(r,g,i),h=(u=c(r,10,1))<5?u+4:u,m=(f=c(r,10,2))<5?f+4:f,{wrapperColor:l,faceColor:("#"===(t=l).slice(0,1)&&(t=t.slice(1)),(299*parseInt(t.substr(0,2),16)+587*parseInt(t.substr(2,2),16)+114*parseInt(t.substr(4,2),16))/1e3>=128?"#000000":"#FFFFFF"),backgroundColor:d(r+13,g,i),wrapperTranslateX:h,wrapperTranslateY:m,wrapperRotate:c(r,360),wrapperScale:1+c(r,3)/10,isMouthOpen:s(r,2),isCircle:s(r,1),eyeSpread:c(r,5),mouthSpread:c(r,3),faceRotate:c(r,10,3),faceTranslateX:h>6?h/2:c(r,8,1),faceTranslateY:m>6?m/2:c(r,7,2)}),w=n.useId();return n.createElement("svg",Object.assign({viewBox:"0 0 36 36",fill:"none",role:"img",xmlns:"http://www.w3.org/2000/svg",width:x,height:x},M),y&&n.createElement("title",null,p),n.createElement("mask",{id:w,maskUnits:"userSpaceOnUse",x:0,y:0,width:36,height:36},n.createElement("rect",{width:36,height:36,rx:v?void 0:72,fill:"#FFFFFF"})),n.createElement("g",{mask:"url(#".concat(w,")")},n.createElement("rect",{width:36,height:36,fill:b.backgroundColor}),n.createElement("rect",{x:"0",y:"0",width:36,height:36,transform:"translate("+b.wrapperTranslateX+" "+b.wrapperTranslateY+") rotate("+b.wrapperRotate+" 18 18) scale("+b.wrapperScale+")",fill:b.wrapperColor,rx:b.isCircle?36:6}),n.createElement("g",{transform:"translate("+b.faceTranslateX+" "+b.faceTranslateY+") rotate("+b.faceRotate
1+" 18 18)"},b.isMouthOpen?n.createElement("path",{d:"M15 "+(19+b.mouthSpread)+"c2 1 4 1 6 0",stroke:b.faceColor,fill:"none",strokeLinecap:"round"}):n.createElement("path",{d:"M13,"+(19+b.mouthSpread)+" a1,0.75 0 0,0 10,0",fill:b.faceColor}),n.createElement("rect",{x:14-b.eyeSpread,y:14,width:1.5,height:2,rx:1,stroke:"none",fill:b.faceColor}),n.createElement("rect",{x:20+b.eyeSpread,y:14,width:1.5,height:2,rx:1,stroke:"none",fill:b.faceColor}))))},sunset:function(e){var t,r,i=e.name,l=e.colors,s=e.title,c=e.square,u=e.size,h=a(e,["name","colors","title","square","size"]),f=(t=o(i),r=l&&l.length,Array.from({length:4},function(e,a){return d(t+a,l,r)})),m=i.replace(/\s/g,""),p=n.useId();return n.createElement("svg",Object.assign({viewBox:"0 0 80 80",fill:"none",role:"img",xmlns:"http://www.w3.org/2000/svg",width:u,height:u},h),s&&n.createElement("title",null,i),n.createElement("mask",{id:p,maskUnits:"userSpaceOnUse",x:0,y:0,width:80,height:80},n.createElement("rect",{width:80,height:80,rx:c?void 0:160,fill:"#FFFFFF"})),n.createElement("g",{mask:"url(#".concat(p,")")},n.createElement("path",{fill:"url(#gradient_paint0_linear_"+m+")",d:"M0 0h80v40H0z"}),n.createElement("path",{fill:"url(#gradient_paint1_linear_"+m+")",d:"M0 40h80v40H0z"})),n.createElement("defs",null,n.createElement("linearGradient",{id:"gradient_paint0_linear_"+m,x1:40,y1:0,x2:40,y2:40,gradientUnits:"userSpaceOnUse"},n.createElement("stop",{stopColor:f[0]}),n.createElement("stop",{offset:1,stopColor:f[1]})),n.createElement("linearGradient",{id:"gradient_paint1_linear_"+m,x1:40,y1:40,x2:40,y2:80,gradientUnits:"userSpaceOnUse"},n.createElement("stop",{stopColor:f[2]}),n.createElement("stop",{offset:1,stopColor:f[3]}))))},marble:u},f={geometric:"beam",abstract:"bauhaus"};t.default=function(e){var t=e.variant,r=void 0===t?"marble":t,n=e.colors,o=e.name,l=e.title,s=e.size,c=e.square,d=a(e,["variant","colors","name","title","size","square"]),m=h[f[r]||r]||u;return i.a.createElement(m,Object.assign({colors:void 0===n?["#92A1C6","#146A7C","#F0AB3D","#C271B4","#C20D90"]:n,name:void 0===o?"Clara Barton":o,title:void 0!==l&&l,size:s,square:void 0!==c&&c},d))}}],r={};function a(e){if(r[e])return r[e].exports;var n=r[e]={i:e,l:!1,exports:{}};return t[e].call(n.exports,n,n.exports,a),n.l=!0,n.exports}return a.m=t,a.c=r,a.d=function(e,t,r){a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(e,t){if(1&t&&(e=a(e)),8&t||4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(a.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)a.d(r,n,(function(t){return e[t]}).bind(null,n));return r},a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.p="/",a(a.s=1)}(e.r(809528))},158180,(e,t,r)=>{"use strict";var a=e.r(809528),n="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},i=a.useState,o=a.useEffect,l=a.useLayoutEffect,s=a.useDebugValue;function c(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!n(e,r)}catch(e){return!0}}var d="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var r=t(),a=i({inst:{value:r,getSnapshot:t}}),n=a[0].inst,d=a[1];return l(function(){n.value=r,n.getSnapshot=t,c(n)&&d({inst:n})},[e,r,t]),o(function(){return c(n)&&d({inst:n}),e(function(){c(n)&&d({inst:n})})},[e]),s(r),r};r.useSyncExternalStore=void 0!==a.useSyncExternalStore?a.useSyncExternalStore:d},765472,(e,t,r)=>{"use strict";t.exports=e.r(158180)},799676,e=>{"use strict";var t=e.i(260293),r=e.i(809528),a=e.i(352162),n=e.i(935125),i=e.i(385064),o=e.i(413494),l=e.i(765472);function s(){return()=>{}}var c="Avatar",[d,u]=(0,a.createContextScope)(c),[h,f]=d(c),m=r.forwardRef((e,a)=>{let{__scopeAvatar:n,...i}=e,[l,s]=r.useState("idle");return(0,t.jsx)(h,{scope:n,imageLoadingStatus:l,onImageLoadingStatusChange:s,children:(0,t.jsx)(o.Primitive.span,{...i,ref:a})})});m.displayName=c;var p="AvatarImage",g=r.forwardRef((e,a)=>{let{__scopeAvatar:c,src:d,onLoadingStatusChange:u=()=>{},...h}=e,m=f(p,c),g=function(e,{referrerPolicy:t,crossOrigin:a}){let n=(0,l.useSyncExternalStore)(s,()=>!0,()=>
1!1),o=r.useRef(null),c=n?(o.current||(o.current=new window.Image),o.current):null,[d,u]=r.useState(()=>x(c,e));return(0,i.useLayoutEffect)(()=>{u(x(c,e))},[c,e]),(0,i.useLayoutEffect)(()=>{let e=e=>()=>{u(e)};if(!c)return;let r=e("loaded"),n=e("error");return c.addEventListener("load",r),c.addEventListener("error",n),t&&(c.referrerPolicy=t),"string"==typeof a&&(c.crossOrigin=a),()=>{c.removeEventListener("load",r),c.removeEventListener("error",n)}},[c,a,t]),d}(d,h),y=(0,n.useCallbackRef)(e=>{u(e),m.onImageLoadingStatusChange(e)});return(0,i.useLayoutEffect)(()=>{"idle"!==g&&y(g)},[g,y]),"loaded"===g?(0,t.jsx)(o.Primitive.img,{...h,ref:a,src:d}):null});g.displayName=p;var y="AvatarFallback",v=r.forwardRef((e,a)=>{let{__scopeAvatar:n,delayMs:i,...l}=e,s=f(y,n),[c,d]=r.useState(void 0===i);return r.useEffect(()=>{if(void 0!==i){let e=window.setTimeout(()=>d(!0),i);return()=>window.clearTimeout(e)}},[i]),c&&"loaded"!==s.imageLoadingStatus?(0,t.jsx)(o.Primitive.span,{...l,ref:a}):null});function x(e,t){return e?t?(e.src!==t&&(e.src=t),e.complete&&e.naturalWidth>0?"loaded":"loading"):"error":"idle"}v.displayName=y;var M=e.i(975157);let b=r.forwardRef(({className:e,...r},a)=>(0,t.jsx)(m,{ref:a,className:(0,M.cn)("relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full",e),...r}));b.displayName=m.displayName;let w=r.forwardRef(({className:e,...r},a)=>(0,t.jsx)(g,{ref:a,className:(0,M.cn)("aspect-square h-full w-full",e),...r}));w.displayName=g.displayName;let k=r.forwardRef(({className:e,...r},a)=>(0,t.jsx)(v,{ref:a,className:(0,M.cn)("flex h-full w-full items-center justify-center rounded-full bg-muted",e),...r}));k.displayName=v.displayName,e.s(["Avatar",()=>b,"AvatarFallback",()=>k,"AvatarImage",()=>w],799676)},934631,e=>{"use strict";var t=e.i(260293),r=e.i(809528),a=e.i(799676),n=e.i(363546);e.s(["UserAvatar",0,({avatarUrl:e,avatarSeed:i,email:o="",size:l="md",className:s=""})=>{let[c,d]=(0,r.useState)(!1);return(0,r.useEffect)(()=>{d(!1)},[e]),(0,t.jsx)(a.Avatar,{className:`${{sm:"h-8 w-8",md:"h-10 w-10",lg:"h-11 w-11",xl:"h-24 w-24 md:h-32 md:w-32"}[l]} flex-shrink-0 border border-primary/20 ${s}`,children:e&&!c?(0,t.jsx)(a.AvatarImage,{src:e,alt:"User avatar",className:"z-10 object-cover",onError:()=>{d(!0)}}):(0,t.jsx)(a.AvatarFallback,{className:"p-0",children:(0,t.jsx)(n.default,{size:{sm:64,md:80,lg:88,xl:256}[l],name:i||o,variant:"marble",colors:["#92A1C6","#146A7C","#F0AB3D","#C271B4","#C20D90"]})})})}])},375679,e=>{"use strict";function t(e,r={}){try{window.gtag?.("event",e,r)}catch{}}e.s(["trackEvent",()=>t])},550300,e=>{"use strict";let t=(0,e.i(286796).default)("Heart",[["path",{d:"M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z",key:"c3ymky"}]]);e.s(["Heart",()=>t],550300)},656449,e=>{"use strict";e.s(["ADMIN_ONLY_KINDS",0,["ANNOUNCEMENT","POLL","COMPETITION"],"ANON_CTA_EVERY",0,4,"CAMPAIGN_STYLES",0,["all","realistic","anime"],"COMMENT_REACTION_CHIPS_VISIBLE",0,3,"FEED_NEW_POSTS_POLL_MS",0,18e4,"FEED_SEEN_MAX",0,300,"MEDIA_KINDS",0,["IMAGE","VIDEO","STORY","PEEK"],"NOTIF_TOPICS",0,["reactions","comments","replies","mentions","followers","creatorPosts","worlds","moderation"],"POST_LIMITS",0,{titleMax:200,bodyMax:1e4,captionMax:2e3,imagesPerPost:10,storyBeatsMin:3,storyBeatsMax:12,storyImagesMax:6,snippetLinesMax:40,tagsMax:10,mentionsMax:10,peekItemsMax:3,pollOptionsMin:2,pollOptionsMax:4,pollOptionMax:80,commentMax:2e3,commentEditWindowMs:9e5,commentRenderDepth:3},"REACTION_DEFAULT",0,"â¤ï¸","REACTION_PALETTE",0,["â¤ï¸","ð¥","ð","ð¦","ð","ð®","ð¥µ","ð","ð¯","ð","ð","ð","ð","â¨","ð¤¤","ð"],"SHOWCASE_CTA_EVERY",0,3,"SHOWCASE_FREE_PREVIEW",0,12])},567087,e=>{"use strict";let t=(0,e.i(286796).default)("Bookmark",[["path",{d:"m19 21-7-4-7 4V5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v16z",key:"1fy3hk"}]]);e.s(["Bookmark",()=>t],567087)},482343,e=>{"use strict";var t=e.i(474831),r=(0,t.createServerReference)("40e44e89c3a7b527fa31658d5b8c026ee997fe6c61",t.callServer,void 0,t.findSourceMapURL,"updateFeedPrefs");e.s(["updateFeedPrefs",()=>r])},804259,e=>{"use strict";let t=(0,e.i(286796).default)("Search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]]);e.s(["Search",()=>t],804259)},831160,e=>{"use strict";let t=(0,e.i(286796).default)("Settings",[["path",{d:"M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z",key:"1qme2f"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);e.s(["Settings",()=>t],831160)},807682,496062,e=>{"use strict";let t=(0,e.i(286796).default)("Info",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]]);e.s(["default",()=>t],496062),e.s(["Info",()=>t],807682)},637369,e=>{"use strict";let t=(0,e.i(286796).default)("RefreshCw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]]);e.s(["RefreshCw",()=>t],637369)},699375,e=>{"use strict";var t=e.i(260293),r=e.i(809528),a=e.i(291967),n=e.i(188625),i=e.i(352162),o=e.i(575301),l=e.i(898175),s=e.i(607825),c=e.i(413494),d="Switch",[u,h]=(0,i.createContextScope)(d),[f,m]=u(d),p=r.forwardRef((e,i)=>{let{__scopeSwitch:l,name:s,checked:u,defaultChecked:h,required:m,disabled:p,value:g="on",onCheckedChange:y,form:M,...b}=e,[w,k]=r.useState(null),E=(0,n.useComposedRefs)(i,e=>k(e)),C=r.useRef(!1),S=!w||M||!!w.closest("form"),[I,R]=(0,o.useControllableState)({prop:u,defaultProp:h??!1,onChange:y,caller:d});return(0,t.jsxs)(f,{scope:l,checked:I,disabled:p,children:[(0,t.jsx)(c.Primitive.button,{type:"button",role:"switch","aria-checked":I,"aria-required":m,"data-state":x(I),"data-disabled":p?"":void 0,disabled:p,value:g,...b,ref:E,onClick:(0,a.composeEventHandlers)(e.onClick,e=>{R(e=>!e),S&&(C.current=e.isPropagationStopped(),C.current||e.stopPropagation())})}
1),S&&(0,t.jsx)(v,{control:w,bubbles:!C.current,name:s,value:g,checked:I,required:m,disabled:p,form:M,style:{transform:"translateX(-100%)"}})]})});p.displayName=d;var g="SwitchThumb",y=r.forwardRef((e,r)=>{let{__scopeSwitch:a,...n}=e,i=m(g,a);return(0,t.jsx)(c.Primitive.span,{"data-state":x(i.checked),"data-disabled":i.disabled?"":void 0,...n,ref:r})});y.displayName=g;var v=r.forwardRef(({__scopeSwitch:e,control:a,checked:i,bubbles:o=!0,...c},d)=>{let u=r.useRef(null),h=(0,n.useComposedRefs)(u,d),f=(0,l.usePrevious)(i),m=(0,s.useSize)(a);return r.useEffect(()=>{let e=u.current;if(!e)return;let t=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"checked").set;if(f!==i&&t){let r=new Event("click",{bubbles:o});t.call(e,i),e.dispatchEvent(r)}},[f,i,o]),(0,t.jsx)("input",{type:"checkbox","aria-hidden":!0,defaultChecked:i,...c,tabIndex:-1,ref:h,style:{...c.style,...m,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})});function x(e){return e?"checked":"unchecked"}v.displayName="SwitchBubbleInput";var M=e.i(975157);let b=r.forwardRef(({className:e,...r},a)=>(0,t.jsx)(p,{className:(0,M.cn)("peer inline-flex h-6 w-11 shrink-0 cursor-pointer items-center rounded-full border-2 border-muted-foreground/20 shadow-sm transition-all duration-200 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=checked]:border-primary data-[state=unchecked]:bg-muted data-[state=unchecked]:border-muted-foreground/30 hover:data-[state=unchecked]:bg-muted/80",e),...r,ref:a,children:(0,t.jsx)(y,{className:(0,M.cn)("pointer-events-none block h-5 w-5 rounded-full bg-background shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-5 data-[state=unchecked]:translate-x-0 data-[state=checked]:bg-primary-foreground")})}));b.displayName=p.displayName,e.s(["Switch",()=>b],699375)},65992,e=>{"use strict";let t=(0,e.i(286796).default)("Palette",[["circle",{cx:"13.5",cy:"6.5",r:".5",fill:"currentColor",key:"1okk4w"}],["circle",{cx:"17.5",cy:"10.5",r:".5",fill:"currentColor",key:"f64h9f"}],["circle",{cx:"8.5",cy:"7.5",r:".5",fill:"currentColor",key:"fotxhn"}],["circle",{cx:"6.5",cy:"12.5",r:".5",fill:"currentColor",key:"qy21gx"}],["path",{d:"M12 2C6.5 2 2 6.5 2 12s4.5 10 10 10c.926 0 1.648-.746 1.648-1.688 0-.437-.18-.835-.437-1.125-.29-.289-.438-.652-.438-1.125a1.64 1.64 0 0 1 1.668-1.668h1.996c3.051 0 5.555-2.503 5.555-5.554C21.965 6.012 17.461 2 12 2z",key:"12rzf8"}]]);e.s(["Palette",()=>t],65992)},653789,e=>{"use strict";let t=(0,e.i(286796).default)("Newspaper",[["path",{d:"M4 22h16a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2H8a2 2 0 0 0-2 2v16a2 2 0 0 1-2 2Zm0 0a2 2 0 0 1-2-2v-9c0-1.1.9-2 2-2h2",key:"7pis2x"}],["path",{d:"M18 14h-8",key:"sponae"}],["path",{d:"M15 18h-5",key:"95g1m2"}],["path",{d:"M10 6h8v4h-8V6Z",key:"smlsk5"}]]);e.s(["Newspaper",()=>t],653789)},363636,e=>{"use strict";let t=(0,e.i(286796).default)("Bell",[["path",{d:"M10.268 21a2 2 0 0 0 3.464 0",key:"vwvbt9"}],["path",{d:"M3.262 15.326A1 1 0 0 0 4 17h16a1 1 0 0 0 .74-1.673C19.41 13.956 18 12.499 18 8A6 6 0 0 0 6 8c0 4.499-1.411 5.956-2.738 7.326",key:"11g9vi"}]]);e.s(["Bell",()=>t],363636)},412093,e=>{"use strict";e.i(680909);var t=e.i(809528),r=e.i(474831),a=(0,r.createServerReference)("40c744456e3077aa7061000668bfb8af21f2295707",r.callServer,void 0,r.findSourceMapURL,"subscribeToPush"),n=(0,r.createServerReference)("40e6df3c4cfa09892cd109936ccc719d3a04e24d46",r.callServer,void 0,r.findSourceMapURL,"unsubscribeFromPush");let i="BNCdmqOmwoB-BOVGycXuIkMzSW7l6Y8V6R97AKx_01sMIEpsmBGH5Rd6LMe7yJMkkZUrTpontrvzdO-OfLxosO8";function o(){let[e,r]=(0,t.useState)(!1),[o,l]=(0,t.useState)("default"),[s,c]=(0,t.useState)(!1),[d,u]=(0,t.useState)(!1);(0,t.useEffect)(()=>{let e="serviceWorker"in navigator&&"PushManager"in window&&"Notification"in window;r(e),e&&(l(Notification.permission),navigator.serviceWorker.ready.then(e=>e.pushManager.getSubscription()).then(e=>{c(!!e)}).catch(e=>{console.error("Error checking push subscription:",e)}))},[]);let h=(0,t.useCallback)(async()=>
1{if(!e||!i)return!1;u(!0);try{let e=await Notification.requestPermission();if(l(e),"granted"!==e)return!1;let t=await navigator.serviceWorker.register("/sw.js");await navigator.serviceWorker.ready;let r=await t.pushManager.getSubscription();r||(r=await t.pushManager.subscribe({userVisibleOnly:!0,applicationServerKey:function(e){let t="=".repeat((4-e.length%4)%4),r=(e+t).replace(/-/g,"+").replace(/_/g,"/"),a=window.atob(r),n=new Uint8Array(new ArrayBuffer(a.length));for(let e=0;e<a.length;++e)n[e]=a.charCodeAt(e);return n}(i)}));let n=r.toJSON(),o=n.keys;if(!n.endpoint||!o?.p256dh||!o?.auth)return console.error("Invalid push subscription data"),!1;let s=await a({endpoint:n.endpoint,keys:{p256dh:o.p256dh,auth:o.auth},userAgent:navigator.userAgent});if(s.success)return c(!0),!0;return console.error("Failed to save push subscription:",s.error),!1}catch(e){return console.error("Error requesting push permission:",e),!1}finally{u(!1)}},[e]),f=(0,t.useCallback)(async()=>{if(e){u(!0);try{let e=await navigator.serviceWorker.ready,t=await e.pushManager.getSubscription();t&&(await n(t.endpoint),await t.unsubscribe()),c(!1)}catch(e){console.error("Error unsubscribing from push:",e)}finally{u(!1)}}},[e]);return{isSupported:e,permission:o,isSubscribed:s,isLoading:d,requestPermission:h,unsubscribe:f}}e.s(["usePushNotifications",()=>o],412093)},593718,e=>{"use strict";var t=e.i(982832),r=e.i(984496),a=e.i(248444);function n(e,n){return(0,t.createMotionComponent)(e,n,a.featureBundle,r.createDomVisualElement)}let i=n("a"),o=n("abbr"),l=n("address"),s=n("area"),c=n("article"),d=n("aside"),u=n("audio"),h=n("b"),f=n("base"),m=n("bdi"),p=n("bdo"),g=n("big"),y=n("blockquote"),v=n("body"),x=n("button"),M=n("canvas"),b=n("caption"),w=n("cite"),k=n("code"),E=n("col"),C=n("colgroup"),S=n("data"),I=n("datalist"),R=n("dd"),T=n("del"),O=n("details"),N=n("dfn"),L=n("dialog"),A=n("div"),F=n("dl"),j=n("dt"),P=n("em"),_=n("embed"),D=n("fieldset"),B=n("figcaption"),z=n("figure"),H=n("footer"),U=n("form"),q=n("h1"),V=n("h2"),G=n("h3"),$=n("h4"),Y=n("h5"),K=n("h6"),W=n("head"),X=n("header"),Z=n("hgroup"),J=n("hr"),Q=n("html"),ee=n("i"),et=n("iframe"),er=n("img"),ea=n("input"),en=n("ins"),ei=n("kbd"),eo=n("keygen"),el=n("label"),es=n("legend"),ec=n("li"),ed=n("link"),eu=n("main"),eh=n("map"),ef=n("mark"),em=n("menu"),ep=n("menuitem"),eg=n("meter"),ey=n("nav"),ev=n("object"),ex=n("ol"),eM=n("optgroup"),eb=n("option"),ew=n("output"),ek=n("p"),eE=n("param"),eC=n("picture"),eS=n("pre"),eI=n("progress"),eR=n("q"),eT=n("rp"),eO=n("rt"),eN=n("ruby"),eL=n("s"),eA=n("samp"),eF=n("script"),ej=n("section"),eP=n("select"),e_=n("small"),eD=n("source"),eB=n("span"),ez=n("strong"),eH=n("style"),eU=n("sub"),eq=n("summary"),eV=n("sup"),eG=n("table"),e$=n("tbody"),eY=n("td"),eK=n("textarea"),eW=n("tfoot"),eX=n("th"),eZ=n("thead"),eJ=n("time"),eQ=n("title"),e0=n("tr"),e1=n("track"),e2=n("u"),e5=n("ul"),e6=n("video"),e3=n("wbr"),e4=n("webview"),e8=n("animate"),e7=n("circle"),e9=n("defs"),te=n("desc"),tt=n("ellipse"),tr=n("g"),ta=n("image"),tn=n("line"),ti=n("filter"),to=n("marker"),tl=n("mask"),ts=n("metadata"),tc=n("path"),td=n("pattern"),tu=n("polygon"),th=n("polyline"),tf=n("rect"),tm=n("stop"),tp=n("svg"),tg=n("symbol"),ty=n("text"),tv=n("tspan"),tx=n("use"),tM=n("view"),tb=n("clipPath"),tw=n("feBlend"),tk=n("feColorMatrix"),tE=n("feComponentTransfer"),tC=n("feComposite"),tS=n("feConvolveMatrix"),tI=n("feDiffuseLighting"),tR=n("feDisplacementMap"),tT=n("feDistantLight"),tO=n("feDropShadow"),tN=n("feFlood"),tL=n("feFuncA"),tA=n("feFuncB"),tF=n("feFuncG"),tj=n("feFuncR"),tP=n("feGaussianBlur"),t_=n("feImage"),tD=n("feMerge"),tB=n("feMergeNode"),tz=n("feMorphology"),tH=n("feOffset"),tU=n("fePointLight"),tq=n("feSpecularLighting"),tV=n("feSpotLight"),tG=n("feTile"),t$=n("feTurbulence"),tY=n("foreignObject"),tK=n("linearGradient"),tW=n("radialGradient"),tX=n("textPath");e.s(["MotionA",()=>i,"MotionAbbr",()=>o,"MotionAddress",()=>l,"MotionAnimate",()=>e8,"MotionArea",()=>s,"MotionArticle",()=>c,"MotionAside",()=>d,"MotionAudio",()=>u,"MotionB",()=>h,"MotionBase",()=>f,"MotionBdi",()=>m,"MotionBdo",()=>p,"MotionBig",()=>g,"MotionBlockquote",()=>y,"MotionBody",()=>v,"MotionButton",()=>x,"MotionCanvas",()=>M,"MotionCaption",()=>b,"MotionCircle",()=>e7,"MotionCite",()=>w,"MotionClipPath",()=>tb,"MotionCode",()=>k,"MotionCol",()=>E,"MotionColgroup",()=>C,"MotionData",()=>S,"MotionDatalist",()=>I,"MotionDd",()=>R,"MotionDefs",()=>e9,"MotionDel",()=>T,"MotionDesc",()=>
1te,"MotionDetails",()=>O,"MotionDfn",()=>N,"MotionDialog",()=>L,"MotionDiv",()=>A,"MotionDl",()=>F,"MotionDt",()=>j,"MotionEllipse",()=>tt,"MotionEm",()=>P,"MotionEmbed",()=>_,"MotionFeBlend",()=>tw,"MotionFeColorMatrix",()=>tk,"MotionFeComponentTransfer",()=>tE,"MotionFeComposite",()=>tC,"MotionFeConvolveMatrix",()=>tS,"MotionFeDiffuseLighting",()=>tI,"MotionFeDisplacementMap",()=>tR,"MotionFeDistantLight",()=>tT,"MotionFeDropShadow",()=>tO,"MotionFeFlood",()=>tN,"MotionFeFuncA",()=>tL,"MotionFeFuncB",()=>tA,"MotionFeFuncG",()=>tF,"MotionFeFuncR",()=>tj,"MotionFeGaussianBlur",()=>tP,"MotionFeImage",()=>t_,"MotionFeMerge",()=>tD,"MotionFeMergeNode",()=>tB,"MotionFeMorphology",()=>tz,"MotionFeOffset",()=>tH,"MotionFePointLight",()=>tU,"MotionFeSpecularLighting",()=>tq,"MotionFeSpotLight",()=>tV,"MotionFeTile",()=>tG,"MotionFeTurbulence",()=>t$,"MotionFieldset",()=>D,"MotionFigcaption",()=>B,"MotionFigure",()=>z,"MotionFilter",()=>ti,"MotionFooter",()=>H,"MotionForeignObject",()=>tY,"MotionForm",()=>U,"MotionG",()=>tr,"MotionH1",()=>q,"MotionH2",()=>V,"MotionH3",()=>G,"MotionH4",()=>$,"MotionH5",()=>Y,"MotionH6",()=>K,"MotionHead",()=>W,"MotionHeader",()=>X,"MotionHgroup",()=>Z,"MotionHr",()=>J,"MotionHtml",()=>Q,"MotionI",()=>ee,"MotionIframe",()=>et,"MotionImage",()=>ta,"MotionImg",()=>er,"MotionInput",()=>ea,"MotionIns",()=>en,"MotionKbd",()=>ei,"MotionKeygen",()=>eo,"MotionLabel",()=>el,"MotionLegend",()=>es,"MotionLi",()=>ec,"MotionLine",()=>tn,"MotionLinearGradient",()=>tK,"MotionLink",()=>ed,"MotionMain",()=>eu,"MotionMap",()=>eh,"MotionMark",()=>ef,"MotionMarker",()=>to,"MotionMask",()=>tl,"MotionMenu",()=>em,"MotionMenuitem",()=>ep,"MotionMetadata",()=>ts,"MotionMeter",()=>eg,"MotionNav",()=>ey,"MotionObject",()=>ev,"MotionOl",()=>ex,"MotionOptgroup",()=>eM,"MotionOption",()=>eb,"MotionOutput",()=>ew,"MotionP",()=>ek,"MotionParam",()=>eE,"MotionPath",()=>tc,"MotionPattern",()=>td,"MotionPicture",()=>eC,"MotionPolygon",()=>tu,"MotionPolyline",()=>th,"MotionPre",()=>eS,"MotionProgress",()=>eI,"MotionQ",()=>eR,"MotionRadialGradient",()=>tW,"MotionRect",()=>tf,"MotionRp",()=>eT,"MotionRt",()=>eO,"MotionRuby",()=>eN,"MotionS",()=>eL,"MotionSamp",()=>eA,"MotionScript",()=>eF,"MotionSection",()=>ej,"MotionSelect",()=>eP,"MotionSmall",()=>e_,"MotionSource",()=>eD,"MotionSpan",()=>eB,"MotionStop",()=>tm,"MotionStrong",()=>ez,"MotionStyle",()=>eH,"MotionSub",()=>eU,"MotionSummary",()=>eq,"MotionSup",()=>eV,"MotionSvg",()=>tp,"MotionSymbol",()=>tg,"MotionTable",()=>eG,"MotionTbody",()=>e$,"MotionTd",()=>eY,"MotionText",()=>ty,"MotionTextPath",()=>tX,"MotionTextarea",()=>eK,"MotionTfoot",()=>eW,"MotionTh",()=>eX,"MotionThead",()=>eZ,"MotionTime",()=>eJ,"MotionTitle",()=>eQ,"MotionTr",()=>e0,"MotionTrack",()=>e1,"MotionTspan",()=>tv,"MotionU",()=>e2,"MotionUl",()=>e5,"MotionUse",()=>tx,"MotionVideo",()=>e6,"MotionView",()=>tM,"MotionWbr",()=>e3,"MotionWebview",()=>e4],593718)},146229,e=>{"use strict";let t=new Set(["AT","BE","BG","HR","CY","CZ","DK","EE","FI","FR","DE","GR","HU","IE","IT","LV","LT","LU","MT","NL","PL","PT","RO","SK","SI","ES","SE"]);function r(){var e;let r=(e=function(){if("undefined"==typeof document)return null;let e=document.cookie.match(/(?:^|;\s*)geo_country=([^;]*)/);return e?decodeURIComponent(e[1]):null}())&&t.has(e.toUpperCase())?"EUR":"USD";return{currency:r,symbol:"EUR"===r?"â¬":"$"}}e.s(["getCurrencyFromCookie",()=>r])},488257,e=>{"use strict";var t=e.i(474831),r=(0,t.createServerReference)("007f0d3cbb27d904a3422b4721115cdac3486b6d7c",t.callServer,void 0,t.findSourceMapURL,"getUserSubscription");e.s(["getUserSubscription",()=>r])},699441,e=>{"use strict";let t=(0,e.i(286796).default)("Camera",[["path",{d:"M14.5 4h-5L7 7H4a2 2 0 0 0-2 2v9a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2h-3l-2.5-3z",key:"1tc9qg"}],["circle",{cx:"12",cy:"13",r:"3",key:"1vg3eu"}]]);e.s(["Camera",()=>t],699441)},209982,131441,e=>{"use strict";let t=(0,e.i(286796).default)("Calendar",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}]]);e.s(["default",()=>t],131441),e.s(["Calendar",()=>t],209982)},195652,e=>{"use strict";let t=(0,e.i(286796).default)("Share",[["path",{d:"M4 12v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8",key:"1b2hhj"}],["polyline",{points:"16 6 12 2 8 6",key:"m901s6"}],["line",{x1:"12",x2:"12",y1:"2",y2:"15",key:"1p0rca"}]]);e.s(["Share",()=>t],195652)}
1,929467,e=>{"use strict";let t=(0,e.i(286796).default)("Star",[["path",{d:"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",key:"r04s7s"}]]);e.s(["Star",()=>t],929467)},62048,e=>{"use strict";let t=(0,e.i(286796).default)("CircleCheckBig",[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]]);e.s(["CheckCircle",()=>t],62048)},653287,e=>{"use strict";let t=(0,e.i(286796).default)("User",[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]]);e.s(["User",()=>t],653287)},259593,e=>{"use strict";let t=(0,e.i(286796).default)("ChartColumn",[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"M18 17V9",key:"2bz60n"}],["path",{d:"M13 17V5",key:"1frdt8"}],["path",{d:"M8 17v-3",key:"17ska0"}]]);e.s(["BarChart3",()=>t],259593)},864952,e=>{"use strict";var t=e.i(260293),r=e.i(809528);let a=(0,r.createContext)(!1);function n({enabled:e,children:r}){return(0,t.jsx)(a.Provider,{value:e,children:r})}function i(){return(0,r.useContext)(a)}e.s(["SextingFlagProvider",()=>n,"useSextingEnabled",()=>i])},388760,796337,e=>{"use strict";var t=e.i(260293),r=e.i(822388),a=e.i(593718);e.s(["span",()=>a.MotionSpan],796337);var a=a;e.s(["Logo",0,({collapsed:e,homeHref:n})=>(0,t.jsx)(r.default,{href:n?"/explore":"/",prefetch:!1,children:(0,t.jsxs)("div",{className:"flex items-center pl-2 font-script text-8xl text-primary",children:[(0,t.jsx)("span",{children:"X"}),(0,t.jsx)(a.MotionSpan,{initial:{width:0,opacity:0},animate:{width:e?0:"auto",opacity:+!e},exit:{width:0,opacity:0},transition:{duration:.3,ease:"easeInOut"},className:"overflow-hidden pr-2",children:"otic"})]})})],388760)},862672,e=>{"use strict";let t=(0,e.i(286796).default)("AtSign",[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M16 8v5a3 3 0 0 0 6 0v-1a10 10 0 1 0-4 8",key:"7n84p3"}]]);e.s(["AtSign",()=>t],862672)},644931,e=>{"use strict";var t=e.i(260293),r=e.i(809528);let a=(0,r.createContext)(!1);function n({enabled:e,children:r}){return(0,t.jsx)(a.Provider,{value:e,children:r})}function i(){return(0,r.useContext)(a)}e.s(["MpFlagProvider",()=>n,"useMpEnabled",()=>i])},618915,e=>{"use strict";let t=(0,e.i(286796).default)("Activity",[["path",{d:"M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2",key:"169zse"}]]);e.s(["Activity",()=>t],618915)},867428,e=>{"use strict";let t=(0,e.i(286796).default)("Compass",[["path",{d:"m16.24 7.76-1.804 5.411a2 2 0 0 1-1.265 1.265L7.76 16.24l1.804-5.411a2 2 0 0 1 1.265-1.265z",key:"9ktpf1"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]);e.s(["Compass",()=>t],867428)},215350,e=>{"use strict";let t=(0,e.i(286796).default)("UserPlus",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["line",{x1:"19",x2:"19",y1:"8",y2:"14",key:"1bvyxn"}],["line",{x1:"22",x2:"16",y1:"11",y2:"11",key:"1shjgl"}]]);e.s(["UserPlus",()=>t],215350)},123145,e=>{"use strict";let t=(0,e.i(286796).default)("Clapperboard",[["path",{d:"M20.2 6 3 11l-.9-2.4c-.3-1.1.3-2.2 1.3-2.5l13.5-4c1.1-.3 2.2.3 2.5 1.3Z",key:"1tn4o7"}],["path",{d:"m6.2 5.3 3.1 3.9",key:"iuk76l"}],["path",{d:"m12.4 3.4 3.1 4",key:"6hsd6n"}],["path",{d:"M3 11h18v8a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2Z",key:"ltgou9"}]]);e.s(["Clapperboard",()=>t],123145)},180431,e=>{"use strict";let t=(0,e.i(286796).default)("MessageCircleMore",[["path",{d:"M7.9 20A9 9 0 1 0 4 16.1L2 22Z",key:"vv11sd"}],["path",{d:"M8 12h.01",key:"czm47f"}],["path",{d:"M12 12h.01",key:"1mp3jc"}],["path",{d:"M16 12h.01",key:"1l6xoz"}]]);e.s(["MessageCircleMore",()=>t],180431)},143244,e=>{"use strict";var t=e.i(260293),r=e.i(377608),a=e.i(809528),n=e.i(975157);let i=({id:e,x:a,y:n,color:i,delay:o,scale:l})=>(0,t.jsx)(r.motion.svg,{className:"pointer-events-none absolute z-20",initial:{opacity:0,left:a,top:n}
1,animate:{opacity:[0,1,0],scale:[0,l,0],rotate:[75,120,150]},transition:{duration:.8,repeat:1/0,delay:o},width:"21",height:"21",viewBox:"0 0 21 21",children:(0,t.jsx)("path",{d:"M9.82531 0.843845C10.0553 0.215178 10.9446 0.215178 11.1746 0.843845L11.8618 2.72026C12.4006 4.19229 12.3916 6.39157 13.5 7.5C14.6084 8.60843 16.8077 8.59935 18.2797 9.13822L20.1561 9.82534C20.7858 10.0553 20.7858 10.9447 20.1561 11.1747L18.2797 11.8618C16.8077 12.4007 14.6084 12.3916 13.5 13.5C12.3916 14.6084 12.4006 16.8077 11.8618 18.2798L11.1746 20.1562C10.9446 20.7858 10.0553 20.7858 9.82531 20.1562L9.13819 18.2798C8.59932 16.8077 8.60843 14.6084 7.5 13.5C6.39157 12.3916 4.19225 12.4007 2.72023 11.8618L0.843814 11.1747C0.215148 10.9447 0.215148 10.0553 0.843814 9.82534L2.72023 9.13822C4.19225 8.59935 6.39157 8.60843 7.5 7.5C8.60843 6.39157 8.59932 4.19229 9.13819 2.72026L9.82531 0.843845Z",fill:i})},e);e.s(["SparklesText",0,({children:e,colors:r={first:"#9E7AFF",second:"#FE8BBB"},className:o,sparklesCount:l=10,...s})=>{let[c,d]=(0,a.useState)([]);return(0,a.useEffect)(()=>{let e=()=>{let e=`${100*Math.random()}%`,t=`${100*Math.random()}%`,a=Math.random()>.5?r.first:r.second,n=2*Math.random(),i=+Math.random()+.3,o=10*Math.random()+5;return{id:`${e}-${t}-${Date.now()}`,x:e,y:t,color:a,delay:n,scale:i,lifespan:o}};d(Array.from({length:l},e));let t=setInterval(()=>{d(t=>t.map(t=>t.lifespan<=0?e():{...t,lifespan:t.lifespan-.1}))},100);return()=>clearInterval(t)},[r.first,r.second,l]),(0,t.jsx)("div",{className:(0,n.cn)("text-6xl font-bold",o),...s,style:{"--sparkles-first-color":`${r.first}`,"--sparkles-second-color":`${r.second}`},children:(0,t.jsxs)("span",{className:"relative inline-block",children:[c.map(e=>(0,t.jsx)(i,{...e},e.id)),(0,t.jsx)("strong",{children:e})]})})}])},753422,e=>{"use strict";let t=(0,e.i(286796).default)("DollarSign",[["line",{x1:"12",x2:"12",y1:"2",y2:"22",key:"7eqyqh"}],["path",{d:"M17 5H9.5a3.5 3.5 0 0 0 0 7h5a3.5 3.5 0 0 1 0 7H6",key:"1b0p4s"}]]);e.s(["DollarSign",()=>t],753422)},317056,e=>{"use strict";var t=e.i(260293),r=e.i(809528),a=/[\\\/_+.#"@\[\(\{&]/,n=/[\\\/_+.#"@\[\(\{&]/g,i=/[\s-]/,o=/[\s-]/g;function l(e){return e.toLowerCase().replace(o," ")}var s=e.i(629191),c=e.i(413494),d=e.i(987438),u=e.i(188625),h='[cmdk-group=""]',f='[cmdk-group-items=""]',m='[cmdk-item=""]',p=`${m}:not([aria-disabled="true"])`,g="cmdk-item-select",y="data-value",v=(e,t,r)=>{var s;return s=e,function e(t,r,l,s,c,d,u){if(d===r.length)return c===t.length?1:.99;var h=`${c},${d}`;if(void 0!==u[h])return u[h];for(var f,m,p,g,y=s.charAt(d),v=l.indexOf(y,c),x=0;v>=0;)(f=e(t,r,l,s,v+1,d+1,u))>x&&(v===c?f*=1:a.test(t.charAt(v-1))?(f*=.8,(p=t.slice(c,v-1).match(n))&&c>0&&(f*=Math.pow(.999,p.length))):i.test(t.charAt(v-1))?(f*=.9,(g=t.slice(c,v-1).match(o))&&c>0&&(f*=Math.pow(.999,g.length))):(f*=.17,c>0&&(f*=Math.pow(.999,v-c))),t.charAt(v)!==r.charAt(d)&&(f*=.9999)),(f<.1&&l.charAt(v-1)===s.charAt(d+1)||s.charAt(d+1)===s.charAt(d)&&l.charAt(v-1)!==s.charAt(d))&&.1*(m=e(t,r,l,s,v+1,d+2,u))>f&&(f=.1*m),f>x&&(x=f),v=l.indexOf(y,v+1);return u[h]=x,x}(s=r&&r.length>0?`${s+" "+r.join(" ")}`:s,t,l(s),l(t),0,0,{})},x=r.createContext(void 0),M=r.createContext(void 0),b=r.createContext(void 0),w=r.forwardRef((e,t)=>{let a=L(()=>{var t,r;return{search:"",value:null!=(r=null!=(t=e.value)?t:e.defaultValue)?r:"",selectedItemId:void 0,filtered:{count:0,items:new Map,groups:new Set}}}),n=L(()=>new Set),i=L(()=>new Map),o=L(()=>new Map),l=L(()=>new Set),s=O(e),{label:u,children:b,value:w,onValueChange:k,filter:E,shouldFilter:C,loop:S,disablePointerSelection:I=!1,vimBindings:R=!0,...T}=e,A=(0,d.useId)(),F=(0,d.useId)(),D=(0,d.useId)(),B=r.useRef(null),z=j();N(()=>{if(void 0!==w){let e=w.trim();a.current.value=e,H.emit()}},[w]),N(()=>{z(6,Y)},[]);let H=r.useMemo(()=>({subscribe:e=>(l.current.add(e),()=>l.current.delete(e)),snapshot:()=>a.current,setState:(e,t,r)=>{var n,i,o,l;if(!Object.is(a.current[e],t)){if(a.current[e]=t,"search"===e)$(),V(),z(1,G);else if("value"===e){if(document.activeElement.hasAttribute("cmdk-input")||document.activeElement.hasAttribute("cmdk-root")){let e=document.getElementById(D);e?e.focus():null==(n=document.getElementById(A))||n.focus()}if(z(7,()=>{var e;
1a.current.selectedItemId=null==(e=K())?void 0:e.id,H.emit()}),r||z(5,Y),(null==(i=s.current)?void 0:i.value)!==void 0){null==(l=(o=s.current).onValueChange)||l.call(o,null!=t?t:"");return}}H.emit()}},emit:()=>{l.current.forEach(e=>e())}}),[]),U=r.useMemo(()=>({value:(e,t,r)=>{var n;t!==(null==(n=o.current.get(e))?void 0:n.value)&&(o.current.set(e,{value:t,keywords:r}),a.current.filtered.items.set(e,q(t,r)),z(2,()=>{V(),H.emit()}))},item:(e,t)=>(n.current.add(e),t&&(i.current.has(t)?i.current.get(t).add(e):i.current.set(t,new Set([e]))),z(3,()=>{$(),V(),a.current.value||G(),H.emit()}),()=>{o.current.delete(e),n.current.delete(e),a.current.filtered.items.delete(e);let t=K();z(4,()=>{$(),(null==t?void 0:t.getAttribute("id"))===e&&G(),H.emit()})}),group:e=>(i.current.has(e)||i.current.set(e,new Set),()=>{o.current.delete(e),i.current.delete(e)}),filter:()=>s.current.shouldFilter,label:u||e["aria-label"],getDisablePointerSelection:()=>s.current.disablePointerSelection,listId:A,inputId:D,labelId:F,listInnerRef:B}),[]);function q(e,t){var r,n;let i=null!=(n=null==(r=s.current)?void 0:r.filter)?n:v;return e?i(e,a.current.search,t):0}function V(){if(!a.current.search||!1===s.current.shouldFilter)return;let e=a.current.filtered.items,t=[];a.current.filtered.groups.forEach(r=>{let a=i.current.get(r),n=0;a.forEach(t=>{n=Math.max(e.get(t),n)}),t.push([r,n])});let r=B.current;W().sort((t,r)=>{var a,n;let i=t.getAttribute("id"),o=r.getAttribute("id");return(null!=(a=e.get(o))?a:0)-(null!=(n=e.get(i))?n:0)}).forEach(e=>{let t=e.closest(f);t?t.appendChild(e.parentElement===t?e:e.closest(`${f} > *`)):r.appendChild(e.parentElement===r?e:e.closest(`${f} > *`))}),t.sort((e,t)=>t[1]-e[1]).forEach(e=>{var t;let r=null==(t=B.current)?void 0:t.querySelector(`${h}[${y}="${encodeURIComponent(e[0])}"]`);null==r||r.parentElement.appendChild(r)})}function G(){let e=W().find(e=>"true"!==e.getAttribute("aria-disabled")),t=null==e?void 0:e.getAttribute(y);H.setState("value",t||void 0)}function $(){var e,t,r,l;if(!a.current.search||!1===s.current.shouldFilter){a.current.filtered.count=n.current.size;return}a.current.filtered.groups=new Set;let c=0;for(let i of n.current){let n=q(null!=(t=null==(e=o.current.get(i))?void 0:e.value)?t:"",null!=(l=null==(r=o.current.get(i))?void 0:r.keywords)?l:[]);a.current.filtered.items.set(i,n),n>0&&c++}for(let[e,t]of i.current)for(let r of t)if(a.current.filtered.items.get(r)>0){a.current.filtered.groups.add(e);break}a.current.filtered.count=c}function Y(){var e,t,r;let a=K();a&&((null==(e=a.parentElement)?void 0:e.firstChild)===a&&(null==(r=null==(t=a.closest(h))?void 0:t.querySelector('[cmdk-group-heading=""]'))||r.scrollIntoView({block:"nearest"})),a.scrollIntoView({block:"nearest"}))}function K(){var e;return null==(e=B.current)?void 0:e.querySelector(`${m}[aria-selected="true"]`)}function W(){var e;return Array.from((null==(e=B.current)?void 0:e.querySelectorAll(p))||[])}function X(e){let t=W()[e];t&&H.setState("value",t.getAttribute(y))}function Z(e){var t;let r=K(),a=W(),n=a.findIndex(e=>e===r),i=a[n+e];null!=(t=s.current)&&t.loop&&(i=n+e<0?a[a.length-1]:n+e===a.length?a[0]:a[n+e]),i&&H.setState("value",i.getAttribute(y))}function J(e){let t=K(),r=null==t?void 0:t.closest(h),a;for(;r&&!a;)a=null==(r=e>0?function(e,t){let r=e.nextElementSibling;for(;r;){if(r.matches(t))return r;r=r.nextElementSibling}}(r,h):function(e,t){let r=e.previousElementSibling;for(;r;){if(r.matches(t))return r;r=r.previousElementSibling}}(r,h))?void 0:r.querySelector(p);a?H.setState("value",a.getAttribute(y)):Z(e)}let Q=()=>X(W().length-1),ee=e=>{e.preventDefault(),e.metaKey?Q():e.altKey?J(1):Z(1)},et=e=>{e.preventDefault(),e.metaKey?X(0):e.altKey?J(-1):Z(-1)};return r.createElement(c.Primitive.div,{ref:t,tabIndex:-1,...T,"cmdk-root":"",onKeyDown:e=>{var t;null==(t=T.onKeyDown)||t.call(T,e);let r=e.nativeEvent.isComposing||229===e.keyCode;if(!(e.defaultPrevented||r))switch(e.key){case"n":case"j":R&&e.ctrlKey&&ee(e);break;case"ArrowDown":ee(e);break;case"p":case"k":R&&e.ctrlKey&&et(e);break;case"ArrowUp":et(e);break;case"Home":e.preventDefault(),X(0);break;case"End":e.preventDefault(),Q();break;case"Enter":{e.preventDefault();let t=K();if(t){let e=new Event(g);t.dispatchEvent(e)}}}}},r.createElement("label",{"cmdk-label":"",htmlFor:U.inputId,id:U.labelId,style:_},u),P(e,e=>r.createElement(M.Provider,{value:H},r.createElement(x.Provider,{value:U},e))))}),k=r.forwardRef((e,t)=>
1{var a,n;let i=(0,d.useId)(),o=r.useRef(null),l=r.useContext(b),s=r.useContext(x),h=O(e),f=null!=(n=null==(a=h.current)?void 0:a.forceMount)?n:null==l?void 0:l.forceMount;N(()=>{if(!f)return s.item(i,null==l?void 0:l.id)},[f]);let m=F(i,o,[e.value,e.children,o],e.keywords),p=r.useContext(M),y=A(e=>e.value&&e.value===m.current),v=A(e=>!!f||!1===s.filter()||!e.search||e.filtered.items.get(i)>0);function w(){var e,t;k(),null==(t=(e=h.current).onSelect)||t.call(e,m.current)}function k(){p.setState("value",m.current,!0)}if(r.useEffect(()=>{let t=o.current;if(!(!t||e.disabled))return t.addEventListener(g,w),()=>t.removeEventListener(g,w)},[v,e.onSelect,e.disabled]),!v)return null;let{disabled:E,value:C,onSelect:S,forceMount:I,keywords:R,...T}=e;return r.createElement(c.Primitive.div,{ref:(0,u.composeRefs)(o,t),...T,id:i,"cmdk-item":"",role:"option","aria-disabled":!!E,"aria-selected":!!y,"data-disabled":!!E,"data-selected":!!y,onPointerMove:E||s.getDisablePointerSelection()?void 0:k,onClick:E?void 0:w},e.children)}),E=r.forwardRef((e,t)=>{let{heading:a,children:n,forceMount:i,...o}=e,l=(0,d.useId)(),s=r.useRef(null),h=r.useRef(null),f=(0,d.useId)(),m=r.useContext(x),p=A(e=>!!i||!1===m.filter()||!e.search||e.filtered.groups.has(l));N(()=>m.group(l),[]),F(l,s,[e.value,e.heading,h]);let g=r.useMemo(()=>({id:l,forceMount:i}),[i]);return r.createElement(c.Primitive.div,{ref:(0,u.composeRefs)(s,t),...o,"cmdk-group":"",role:"presentation",hidden:!p||void 0},a&&r.createElement("div",{ref:h,"cmdk-group-heading":"","aria-hidden":!0,id:f},a),P(e,e=>r.createElement("div",{"cmdk-group-items":"",role:"group","aria-labelledby":a?f:void 0},r.createElement(b.Provider,{value:g},e))))}),C=r.forwardRef((e,t)=>{let{alwaysRender:a,...n}=e,i=r.useRef(null),o=A(e=>!e.search);return a||o?r.createElement(c.Primitive.div,{ref:(0,u.composeRefs)(i,t),...n,"cmdk-separator":"",role:"separator"}):null}),S=r.forwardRef((e,t)=>{let{onValueChange:a,...n}=e,i=null!=e.value,o=r.useContext(M),l=A(e=>e.search),s=A(e=>e.selectedItemId),d=r.useContext(x);return r.useEffect(()=>{null!=e.value&&o.setState("search",e.value)},[e.value]),r.createElement(c.Primitive.input,{ref:t,...n,"cmdk-input":"",autoComplete:"off",autoCorrect:"off",spellCheck:!1,"aria-autocomplete":"list",role:"combobox","aria-expanded":!0,"aria-controls":d.listId,"aria-labelledby":d.labelId,"aria-activedescendant":s,id:d.inputId,type:"text",value:i?e.value:l,onChange:e=>{i||o.setState("search",e.target.value),null==a||a(e.target.value)}})}),I=r.forwardRef((e,t)=>{let{children:a,label:n="Suggestions",...i}=e,o=r.useRef(null),l=r.useRef(null),s=A(e=>e.selectedItemId),d=r.useContext(x);return r.useEffect(()=>{if(l.current&&o.current){let e=l.current,t=o.current,r,a=new ResizeObserver(()=>{r=requestAnimationFrame(()=>{let r=e.offsetHeight;t.style.setProperty("--cmdk-list-height",r.toFixed(1)+"px")})});return a.observe(e),()=>{cancelAnimationFrame(r),a.unobserve(e)}}},[]),r.createElement(c.Primitive.div,{ref:(0,u.composeRefs)(o,t),...i,"cmdk-list":"",role:"listbox",tabIndex:-1,"aria-activedescendant":s,"aria-label":n,id:d.listId},P(e,e=>r.createElement("div",{ref:(0,u.composeRefs)(l,d.listInnerRef),"cmdk-list-sizer":""},e)))}),R=r.forwardRef((e,t)=>{let{open:a,onOpenChange:n,overlayClassName:i,contentClassName:o,container:l,...c}=e;return r.createElement(s.Root,{open:a,onOpenChange:n},r.createElement(s.Portal,{container:l},r.createElement(s.Overlay,{"cmdk-overlay":"",className:i}),r.createElement(s.Content,{"aria-label":e.label,"cmdk-dialog":"",className:o},r.createElement(w,{ref:t,...c}))))}),T=Object.assign(w,{List:I,Item:k,Input:S,Group:E,Separator:C,Dialog:R,Empty:r.forwardRef((e,t)=>A(e=>0===e.filtered.count)?r.createElement(c.Primitive.div,{ref:t,...e,"cmdk-empty":"",role:"presentation"}):null),Loading:r.forwardRef((e,t)=>{let{progress:a,children:n,label:i="Loading...",...o}=e;return r.createElement(c.Primitive.div,{ref:t,...o,"cmdk-loading":"",role:"progressbar","aria-valuenow":a,"aria-valuemin":0,"aria-valuemax":100,"aria-label":i},P(e,e=>r.createElement("div",{"aria-hidden":!0},e)))})});function O(e){let t=r.useRef(e);return N(()=>{t.current=e}),t}var N="undefined"==typeof window?r.useEffect:r.useLayoutEffect;function L(e){let t=r.useRef();return void 0===t.current&&(t.current=e()),t}function A(e){let t=r.useContext(M),a=()=>e(t.snapshot());return r.useSyncExternalStore(t.subscribe,a,a)}function F(e,t,a,n=[]){let i=r.useRef(),o=r.useContext(x);return N(()=>{var r;let l=(()=>{var e;
1for(let t of a){if("string"==typeof t)return t.trim();if("object"==typeof t&&"current"in t)return t.current?null==(e=t.current.textContent)?void 0:e.trim():i.current}})(),s=n.map(e=>e.trim());o.value(e,l,s),null==(r=t.current)||r.setAttribute(y,l),i.current=l}),i}var j=()=>{let[e,t]=r.useState(),a=L(()=>new Map);return N(()=>{a.current.forEach(e=>e()),a.current=new Map},[e]),(e,r)=>{a.current.set(e,r),t({})}};function P({asChild:e,children:t},a){let n;return e&&r.isValidElement(t)?r.cloneElement("function"==typeof(n=t.type)?n(t.props):"render"in n?n.render(t.props):t,{ref:t.ref},a(t.props.children)):a(t)}var _={position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0"},D=e.i(804259),B=e.i(975157),z=e.i(776639);let H=r.forwardRef(({className:e,...r},a)=>(0,t.jsx)(T,{ref:a,className:(0,B.cn)("flex h-full w-full flex-col overflow-hidden rounded-md bg-popover text-popover-foreground",e),...r}));H.displayName=T.displayName;let U=({children:e,commandProps:r,...a})=>(0,t.jsx)(z.Dialog,{...a,children:(0,t.jsx)(z.DialogContent,{className:"overflow-hidden p-0",children:(0,t.jsx)(H,{...r,className:"[&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:pt-0 [&_[cmdk-group]]:px-2 [&_[cmdk-input-wrapper]_svg]:h-5 [&_[cmdk-input-wrapper]_svg]:w-5 [&_[cmdk-input]]:h-12 [&_[cmdk-item]]:px-2 [&_[cmdk-item]]:py-3 [&_[cmdk-item]_svg]:h-5 [&_[cmdk-item]_svg]:w-5",children:e})})}),q=r.forwardRef(({className:e,...r},a)=>(0,t.jsxs)("div",{className:"flex items-center border-b px-3","cmdk-input-wrapper":"",children:[(0,t.jsx)(D.Search,{className:"mr-2 h-4 w-4 shrink-0 opacity-50"}),(0,t.jsx)(T.Input,{ref:a,className:(0,B.cn)("flex h-10 w-full rounded-md bg-transparent py-3 text-sm outline-none placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50",e),...r})]}));q.displayName=T.Input.displayName;let V=r.forwardRef(({className:e,...r},a)=>(0,t.jsx)(T.List,{ref:a,className:(0,B.cn)("max-h-[300px] overflow-y-auto overflow-x-hidden",e),...r}));V.displayName=T.List.displayName;let G=r.forwardRef((e,r)=>(0,t.jsx)(T.Empty,{ref:r,className:"py-6 text-center text-sm",...e}));G.displayName=T.Empty.displayName;let $=r.forwardRef(({className:e,...r},a)=>(0,t.jsx)(T.Group,{ref:a,className:(0,B.cn)("overflow-hidden p-1 text-foreground [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground",e),...r}));$.displayName=T.Group.displayName;let Y=r.forwardRef(({className:e,...r},a)=>(0,t.jsx)(T.Separator,{ref:a,className:(0,B.cn)("-mx-1 h-px bg-border",e),...r}));Y.displayName=T.Separator.displayName;let K=r.forwardRef(({className:e,...r},a)=>(0,t.jsx)(T.Item,{ref:a,className:(0,B.cn)("relative flex cursor-default gap-2 select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none data-[disabled=true]:pointer-events-none data-[selected=true]:bg-accent data-[selected=true]:text-accent-foreground data-[disabled=true]:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",e),...r}));K.displayName=T.Item.displayName,e.s(["Command",()=>H,"CommandDialog",()=>U,"CommandEmpty",()=>G,"CommandGroup",()=>$,"CommandInput",()=>q,"CommandItem",()=>K,"CommandList",()=>V,"CommandSeparator",()=>Y],317056)},24085,e=>{"use strict";let t=(0,e.i(286796).default)("LogOut",[["path",{d:"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4",key:"1uf3rs"}],["polyline",{points:"16 17 21 12 16 7",key:"1gabdz"}],["line",{x1:"21",x2:"9",y1:"12",y2:"12",key:"1uyos4"}]]);e.s(["LogOut",()=>t],24085)},339918,e=>{"use strict";let t=(0,e.i(286796).default)("LogIn",[["path",{d:"M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4",key:"u53s6r"}],["polyline",{points:"10 17 15 12 10 7",key:"1ail0h"}],["line",{x1:"15",x2:"3",y1:"12",y2:"12",key:"v6grx8"}]]);e.s(["LogIn",()=>t],339918)},669414,e=>{"use strict";var t=e.i(260293),r=e.i(136559);let a=(0,e.i(286796).default)("Sun",[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]]);var n=e.i(408430),i=e.i(519455);function o(){let{theme:e,setTheme:o}=(0,n.useTheme)();return(0,t.jsxs)(i.Button,{onClick:()=>{o("dark"===e?"light":"dark")},variant:"ghost",size:"icon",className:"rounded-full",children:[(0,t.jsx)(a,{className:"h-5 w-5 rotate-0 scale-100 transition-all dark:-rotate-90 dark:scale-0"}),(0,t.jsx)(r.Moon,{className:"absolute h-5 w-5 rotate-90 scale-0 transition-all dark:rotate-0 dark:scale-100"}),(0,t.jsx)("span",{className:"sr-only",children:"Toggle theme"})]})}e.s(["ThemeToggle",()=>o],669414)},676163,e=>{"use strict";let t=(0,e.i(286796).default)("Menu",[["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}],["line",{x1:"4",x2:"20",y1:"6",y2:"6",key:"1owob3"}],["line",{x1:"4",x2:"20",y1:"18",y2:"18",key:"yk5zj1"}]]);e.s(["Menu",()=>t],676163)},468447,101650,150701,e=>{"use strict";var t=e.i(474831),r=(0,t.createServerReference)("00fd06ae553ce4f7da9618e61243c029583af263aa",t.callServer,void 0,t.findSourceMapURL,"markAllNotificationsRead");e.s(["markAllNotificationsRead",()=>r],468447);var a=(0,t.createServerReference)("40059ab708a0f72f53570c75209a89372184b0c1b7",t.callServer,void 0,t.findSourceMapURL,"markNotificationRead");e.s(["markNotificationRead",()=>a],101650);var n=e.i(260293),i=e.i(774834),o=e.i(862672),l=e.i(259593),s=e.i(363636),c=e.i(62048),d=e.i(402364),u=e.i(223156),h=e.i(550300),f=e.i(747313),m=e.i(653789),p=e.i(331375),g=e.i(132786),y=e.i(929467),v=e.i(688945),x=e.i(215350),M=e.i(317877),b=e.i(975157);function w(e,t){let r=Math.max(0,Math.floor((Date.now()-new Date(e).getTime())/1e3));if(r<60)return t("timeNow");let a=Math.floor(r/60);if(a<60)return t("timeMinutes",{n:a});let n=Math.floor(a/60);if(n<24)return t("timeHours",{n:n});let i=Math.floor(n/24);if(i<30)return t("timeDays",{n:i});let o=Math.floor(i/30);return o<12?t("timeMonths",{n:o}):t("timeYears",{n:Math.floor(o/12)})}function k({item:e,onClick:t,t:r,size:a="sm"}){let{Icon:k,tint:E}=function(e){switch(e){case"COLLECTION_PURCHASED":return{Icon:d.Coins,tint:"bg-green-500/15 text-green-600 dark:text-green-400"};case"COLLECTION_APPROVED":case"POST_PUBLISHED":return{Icon:c.CheckCircle,tint:"bg-green-500/15 text-green-600 dark:text-green-400"};case"COLLECTION_REJECTED":return{Icon:i.AlertCircle,tint:"bg-destructive/15 text-destructive"};case"ROOM_TURN":return{Icon:u.Globe2,tint:"bg-teal-500/15 text-teal-600 dar
1k:text-teal-300"};case"ROOM_INVITE":return{Icon:M.Users,tint:"bg-teal-500/15 text-teal-600 dark:text-teal-300"};case"ROOM_MENTION":return{Icon:o.AtSign,tint:"bg-teal-500/15 text-teal-600 dark:text-teal-300"};case"MODERATION_NOTICE":return{Icon:p.ShieldAlert,tint:"bg-amber-500/15 text-amber-600 dark:text-amber-300"};case"POST_LIKE":return{Icon:h.Heart,tint:"bg-primary/15 text-primary"};case"POST_COMMENT":case"COMMENT_REPLY":return{Icon:f.MessageCircle,tint:"bg-primary/15 text-primary"};case"POST_MENTION":return{Icon:o.AtSign,tint:"bg-primary/15 text-primary"};case"NEW_FOLLOWER":return{Icon:x.UserPlus,tint:"bg-sky-500/15 text-sky-600 dark:text-sky-300"};case"CREATOR_POSTED":return{Icon:m.Newspaper,tint:"bg-sky-500/15 text-sky-600 dark:text-sky-300"};case"POST_FEATURED":return{Icon:y.Star,tint:"bg-amber-500/15 text-amber-600 dark:text-amber-300"};case"POLL_CLOSED":return{Icon:l.BarChart3,tint:"bg-violet-500/15 text-violet-600 dark:text-violet-300"};case"COMPETITION_RESULT":return{Icon:v.Trophy,tint:"bg-amber-500/15 text-amber-600 dark:text-amber-300"};default:return{Icon:g.Sparkles,tint:"bg-muted text-muted-foreground"}}}(e.type),C=!e.readAt;return(0,n.jsxs)("button",{type:"button",onClick:t,className:(0,b.cn)("flex w-full items-start gap-3 text-left transition-colors hover:bg-muted/50","sm"===a?"px-4 py-3":"rounded-2xl px-4 py-3.5",C&&"bg-primary/[0.04]"),children:[(0,n.jsx)("span",{className:(0,b.cn)("flex flex-none items-center justify-center rounded-full",E,"sm"===a?"h-9 w-9":"h-10 w-10"),children:(0,n.jsx)(k,{className:"sm"===a?"h-4 w-4":"h-5 w-5"})}),(0,n.jsxs)("span",{className:"min-w-0 flex-1",children:[(0,n.jsx)("span",{className:(0,b.cn)("block text-sm leading-snug",C?"font-semibold text-foreground":"font-medium text-foreground/90"),children:e.title}),e.body?(0,n.jsx)("span",{className:"mt-0.5 line-clamp-2 block text-xs text-muted-foreground",children:e.body}):null,(0,n.jsx)("span",{className:"mt-1 block text-[11px] text-muted-foreground",children:w(e.createdAt,r)})]}),C?(0,n.jsx)("span",{className:"mt-2 h-2 w-2 flex-none rounded-full bg-primary","aria-hidden":!0}):(0,n.jsx)(s.Bell,{className:"mt-2 h-3 w-3 flex-none text-transparent","aria-hidden":!0})]})}e.s(["NotificationItem",()=>k,"formatRelativeTime",()=>w],150701)}]);
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.