PageSourceSearch

https://www.blukaze.com/assets/index-a9Ml7vTl.js

js blukaze.com collected 2026-10-05 02:39:43 UTC 248,880 bytes, 47 lines download raw bytes

1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/Auth-CmCsue8t.js","assets/vendor-motion-BSDpgeeJ.js","assets/vendor-react-DouLZ2wQ.js","assets/vendor-icons-B3PNXdTt.js","assets/About-DoQnlW1D.js","assets/Contact-Clnii2DQ.js","assets/Terms-D5CqAssw.js","assets/Privacy-DMUFa1MN.js","assets/Works-D21HN7jd.js","assets/works-CgU-q6bU.js","assets/WorkDetail-C_aTmUTB.js","assets/ServiceDetail-Uk4xP_HW.js","assets/PostCheckout-CT0tYkX2.js","assets/Blog-sIdJRRR5.js","assets/blog-oeh-8OlT.js","assets/ArticleDetail-BeD0TwoP.js","assets/NotFound-CIfO8Z_1.js"])))=>i.map(i=>d[i]);
2var xo=e=>{throw TypeError(e)};var tn=(e,t,r)=>t.has(e)||xo("Cannot "+r);var j=(e,t,r)=>(tn(e,t,"read from private field"),r?r.call(e):t.get(e)),V=(e,t,r)=>t.has(e)?xo("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,r),M=(e,t,r,n)=>(tn(e,t,"write to private field"),n?n.call(e,r):t.set(e,r),r),se=(e,t,r)=>(tn(e,t,"access private method"),r);var cr=(e,t,r,n)=>({set _(s){M(e,t,s,r)},get _(){return j(e,t,n)}});import{j as o,m as U,A as Mr,u as In}from"./vendor-motion-BSDpgeeJ.js";import{a as Dr,r as d,R as E,v as ws,b as js,u as Ns,c as Cs,L as nt,B as gl,d as xl,e as ue}from"./vendor-react-DouLZ2wQ.js";import{X as Sr,M as bl,S as Mn,A as Be,C as vl,a as yl,D as Es,U as wl,b as Ss,F as jl,c as bo,H as As,d as Dn,B as Nl,T as Cl,e as ks,Z as Ps,f as El,g as Rs,h as _n,i as Sl,N as Al,j as Ts,k as kl,L as Pl,l as Rl,G as Tl,m as Ln,n as Ol,o as Il,R as Ml,p as Dl,q as _l,r as Ll,Q as Fl,W as $l,P as zl,s as Bl}from"./vendor-icons-B3PNXdTt.js";var Os,vo=Dr;Os=vo.createRoot,vo.hydrateRoot;const Wl=function(){const t=typeof document<"u"&&document.createElement("link").relList;return t&&t.supports&&t.supports("modulepreload")?"modulepreload":"preload"}(),Vl=function(e){return"/"+e},yo={},ge=function(t,r,n){let s=Promise.resolve();if(r&&r.length>0){document.getElementsByTagName("link");const i=document.querySelector("meta[property=csp-nonce]"),l=i?.nonce||i?.getAttribute("nonce");s=Promise.allSettled(r.map(u=>{if(u=Vl(u),u in yo)return;yo[u]=!0;const c=u.endsWith(".css"),m=c?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${u}"]${m}`))return;const h=document.createElement("link");if(h.rel=c?"stylesheet":Wl,c||(h.as="script"),h.crossOrigin="",h.href=u,l&&h.setAttribute("nonce",l),document.head.appendChild(h),c)return new Promise((x,f)=>{h.addEventListener("load",x),h.addEventListener("error",()=>f(new Error(`Unable to preload CSS for ${u}`)))})}))}function a(i){const l=new Event("vite:preloadError",{cancelable:!0});if(l.payload=i,window.dispatchEvent(l),!l.defaultPrevented)throw i}return s.then(i=>{for(const l of i||[])l.status==="rejected"&&a(l.reason);return t().catch(a)})},Hl=1,ql=1e6;let rn=0;function Ul(){return rn=(rn+1)%Number.MAX_SAFE_INTEGER,rn.toString()}const nn=new Map,wo=e=>{if(nn.has(e))return;const t=setTimeout(()=>{nn.delete(e),Qt({type:"REMOVE_TOAST",toastId:e})},ql);nn.set(e,t)},Gl=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,Hl)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(r=>r.id===t.toast.id?{...r,...t.toast}:r)};case"DISMISS_TOAST":{const{toastId:r}=t;return r?wo(r):e.toasts.forEach(n=>
2{wo(n.id)}),{...e,toasts:e.toasts.map(n=>n.id===r||r===void 0?{...n,open:!1}:n)}}case"REMOVE_TOAST":return t.toastId===void 0?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(r=>r.id!==t.toastId)}}},wr=[];let jr={toasts:[]};function Qt(e){jr=Gl(jr,e),wr.forEach(t=>{t(jr)})}function Kl({...e}){const t=Ul(),r=s=>Qt({type:"UPDATE_TOAST",toast:{...s,id:t}}),n=()=>Qt({type:"DISMISS_TOAST",toastId:t});return Qt({type:"ADD_TOAST",toast:{...e,id:t,open:!0,onOpenChange:s=>{s||n()}}}),{id:t,dismiss:n,update:r}}function Yl(){const[e,t]=d.useState(jr);return d.useEffect(()=>(wr.push(t),()=>{const r=wr.indexOf(t);r>-1&&wr.splice(r,1)}),[e]),{...e,toast:Kl,dismiss:r=>Qt({type:"DISMISS_TOAST",toastId:r})}}function X(e,t,{checkForDefaultPrevented:r=!0}={}){return function(s){if(e?.(s),r===!1||!s.defaultPrevented)return t?.(s)}}function jo(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function Is(...e){return t=>{let r=!1;const n=e.map(s=>{const a=jo(s,t);return!r&&typeof a=="function"&&(r=!0),a});if(r)return()=>{for(let s=0;s<n.length;s++){const a=n[s];typeof a=="function"?a():jo(e[s],null)}}}}function ne(...e){return d.useCallback(Is(...e),e)}function Ql(e,t){const r=d.createContext(t),n=a=>{const{children:i,...l}=a,u=d.useMemo(()=>l,Object.values(l));return o.jsx(r.Provider,{value:u,children:i})};n.displayName=e+"Provider";function s(a){const i=d.useContext(r);if(i)return i;if(t!==void 0)return t;throw new Error(`\`${a}\` must be used within \`${e}\``)}return[n,s]}function vt(e,t=[]){let r=[];function n(a,i){const l=d.createContext(i),u=r.length;r=[...r,i];const c=h=>{const{scope:x,children:f,...b}=h,p=x?.[e]?.[u]||l,g=d.useMemo(()=>b,Object.values(b));return o.jsx(p.Provider,{value:g,children:f})};c.displayName=a+"Provider";function m(h,x){const f=x?.[e]?.[u]||l,b=d.useContext(f);if(b)return b;if(i!==void 0)return i;throw new Error(`\`${h}\` must be used within \`${a}\``)}return[c,m]}const s=()=>{const a=r.map(i=>d.createContext(i));return function(l){const u=l?.[e]||a;return d.useMemo(()=>({[`__scope${e}`]:{...l,[e]:u}}),[l,u])}};return s.scopeName=e,[n,Xl(s,...t)]}function Xl(...e){const t=e[0];if(e.length===1)return t;const r=()=>{const n=e.map(s=>({useScope:s(),scopeName:s.scopeName}));return function(a){const i=n.reduce((l,{useScope:u,scopeName:c})=>{const h=u(a)[`__scope${c}`];return{...l,...h}},{});return d.useMemo(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return r.scopeName=t.scopeName,r}function Zt(e){const t=Jl(e),r=d.forwardRef((n,s)=>{const{children:a,...i}=n,l=d.Children.toArray(a),u=l.find(tc);if(u){const c=u.props.children,m=l.map(h=>h===u?d.Children.count(c)>1?d.Children.only(null):d.isValidElement(c)?c.props.children:null:h);return o.jsx(t,{...i,ref:s,children:d.isValidElement(c)?d.cloneElement(c,void 0,m):null})}return o.jsx(t,{...i,ref:s,children:a})});return r.displayName=`${e}.Slot`,r}var Zl=Zt("Slot");function Jl(e){const t=d.forwardRef((r,n)=>{const{children:s,...a}=r;if(d.isValidElement(s)){const i=nc(s),l=rc(a,s.props);return s.type!==d.Fragment&&(l.ref=n?Is(n,i):i),d.cloneElement(s,l)}return d.Children.count(s)>1?d.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var Ms=Symbol("radix.slottable");function ec(e){const t=({children:r})=>o.jsx(o.Fragment,{children:r});return t.displayName=`${e}.Slottable`,t.__radixId=Ms,t}function tc(e){return d.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===Ms}function rc(e,t){const r={...t};for(const n in t){const s=e[n],a=t[n];/^on[A-Z]/.test(n)?s&&a?r[n]=(...l)=>{const u=a(...l);return s(...l),u}:s&&(r[n]=s):n==="style"?r[n]={...s,...a}:n==="className"&&(r[n]=[s,a].filter(Boolean).join(" "))}return{...e,...r}}function nc(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}function Ds(e){const t=e+"CollectionProvider",[r,n]=vt(t),[s,a]=r(t,{collectionRef:{current:null},itemMap:new Map}),i=p=>{const{scope:g,children:y}=p,v=E.useRef(null),w=E.useRef(new Map).current;return o.jsx(s,{scope:g,itemMap:w,collectionRef:v,children:y})};i.displayName=t;const l=e+"CollectionSlot",u=Zt(l),c=E.forwardRef((p,g)=>{const{scope:y,children:v}=p,w=a(l,y),N=ne(g,w.collectionRef);return o.jsx(u,{ref:N,children:v})});c.displayName=l;const m=e+"CollectionItemSlot",h="data-radix-collection-item",x=Zt(m),f=E.forwardRef((p,g)=>{const{scope:y,children:v,...w}=p,N=E.useRef(null),C=ne(g,N),S=a(m,y);return E.useEffect(()=>(S.itemMap.set(N,{ref:N,...w}),()=>void S.itemMap.delete(N))),o.jsx(x,{[h]:"",ref:C,children:v})});f.displayName=m;function b(p){const g=a(e+"CollectionConsumer",p);return E.useCallback(()=>{const v=g.collectionRef.current;if(!v)return[];const w=Array.from(v.querySelectorAll(`[${h}]`));return Array.from(g.itemMap.values()).sort((S,A)=>w.indexOf(S.ref.current)-w.indexOf(A.ref.current))},[g.collectionRef,g.itemMap])}return[{Provider:i,Slot:c,ItemSlot:f},b,n]}var oc=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],J=oc.reduce((e,t)=>
vendor: 4,954 bytes, line 2
2{const r=Zt(`Primitive.${t}`),n=d.forwardRef((s,a)=>{const{asChild:i,...l}=s,u=i?r:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),o.jsx(u,{...l,ref:a})});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function _s(e,t){e&&Dr.flushSync(()=>e.dispatchEvent(t))}function Me(e){const t=d.useRef(e);return d.useEffect(()=>{t.current=e}),d.useMemo(()=>(...r)=>t.current?.(...r),[])}function sc(e,t=globalThis?.document){const r=Me(e);d.useEffect(()=>{const n=s=>{s.key==="Escape"&&r(s)};return t.addEventListener("keydown",n,{capture:!0}),()=>t.removeEventListener("keydown",n,{capture:!0})},[r,t])}var ac="DismissableLayer",bn="dismissableLayer.update",ic="dismissableLayer.pointerDownOutside",lc="dismissableLayer.focusOutside",No,Ls=d.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),_r=d.forwardRef((e,t)=>{const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:n,onPointerDownOutside:s,onFocusOutside:a,onInteractOutside:i,onDismiss:l,...u}=e,c=d.useContext(Ls),[m,h]=d.useState(null),x=m?.ownerDocument??globalThis?.document,[,f]=d.useState({}),b=ne(t,A=>h(A)),p=Array.from(c.layers),[g]=[...c.layersWithOutsidePointerEventsDisabled].slice(-1),y=p.indexOf(g),v=m?p.indexOf(m):-1,w=c.layersWithOutsidePointerEventsDisabled.size>0,N=v>=y,C=dc(A=>{const O=A.target,F=[...c.branches].some($=>$.contains(O));!N||F||(s?.(A),i?.(A),A.defaultPrevented||l?.())},x),S=uc(A=>{const O=A.target;[...c.branches].some($=>$.contains(O))||(a?.(A),i?.(A),A.defaultPrevented||l?.())},x);return sc(A=>{v===c.layers.size-1&&(n?.(A),!A.defaultPrevented&&l&&(A.preventDefault(),l()))},x),d.useEffect(()=>{if(m)return r&&(c.layersWithOutsidePointerEventsDisabled.size===0&&(No=x.body.style.pointerEvents,x.body.style.pointerEvents="none"),c.layersWithOutsidePointerEventsDisabled.add(m)),c.layers.add(m),Co(),()=>{r&&c.layersWithOutsidePointerEventsDisabled.size===1&&(x.body.style.pointerEvents=No)}},[m,x,r,c]),d.useEffect(()=>()=>{m&&(c.layers.delete(m),c.layersWithOutsidePointerEventsDisabled.delete(m),Co())},[m,c]),d.useEffect(()=>{const A=()=>f({});return document.addEventListener(bn,A),()=>document.removeEventListener(bn,A)},[]),o.jsx(J.div,{...u,ref:b,style:{pointerEvents:w?N?"auto":"none":void 0,...e.style},onFocusCapture:X(e.onFocusCapture,S.onFocusCapture),onBlurCapture:X(e.onBlurCapture,S.onBlurCapture),onPointerDownCapture:X(e.onPointerDownCapture,C.onPointerDownCapture)})});_r.displayName=ac;var cc="DismissableLayerBranch",Fs=d.forwardRef((e,t)=>{const r=d.useContext(Ls),n=d.useRef(null),s=ne(t,n);return d.useEffect(()=>{const a=n.current;if(a)return r.branches.add(a),()=>{r.branches.delete(a)}},[r.branches]),o.jsx(J.div,{...e,ref:s})});Fs.displayName=cc;function dc(e,t=globalThis?.document){const r=Me(e),n=d.useRef(!1),s=d.useRef(()=>{});return d.useEffect(()=>{const a=l=>{if(l.target&&!n.current){let u=function(){$s(ic,r,c,{discrete:!0})};const c={originalEvent:l};l.pointerType==="touch"?(t.removeEventListener("click",s.current),s.current=u,t.addEventListener("click",s.current,{once:!0})):u()}else t.removeEventListener("click",s.current);n.current=!1},i=window.setTimeout(()=>{t.addEventListener("pointerdown",a)},0);return()=>{window.clearTimeout(i),t.removeEventListener("pointerdown",a),t.removeEventListener("click",s.current)}},[t,r]),{onPointerDownCapture:()=>n.current=!0}}function uc(e,t=globalThis?.document){const r=Me(e),n=d.useRef(!1);return d.useEffect(()=>{const s=a=>{a.target&&!n.current&&$s(lc,r,{originalEvent:a},{discrete:!1})};return t.addEventListener("focusin",s),()=>t.removeEventListener("focusin",s)},[t,r]),{onFocusCapture:()=>n.current=!0,onBlurCapture:()=>n.current=!1}}function Co(){const e=new CustomEvent(bn);document.dispatchEvent(e)}function $s(e,t,r,{discrete:n}){const s=r.originalEvent.target,a=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:r});t&&s.addEventListener(e,t,{once:!0}),n?_s(s,a):s.dispatchEvent(a)}var fc=_r,mc=Fs,De=globalThis?.document?d.useLayoutEffect:()=>{},pc="Portal",Fn=d.forwardRef((e,t)=>{const{container:r,...n}=e,[s,a]=d.useState(!1);De(()=>a(!0),[]);const i=r||s&&globalThis?.document?.body;return i?ws.createPortal(o.jsx(J.div,{...n,ref:t}),i):null});Fn.displayName=pc;function hc(e,t){return d.useReducer((r,n)=>t[r][n]??r,e)}var yt=e=>{const{present:t,children:r}=e,n=gc(t),s=typeof r=="function"?r({present:n.isPresent}):d.Children.only(r),a=ne(n.ref,xc(s));return typeof r=="function"||n.isPresent?d.cloneElement(s,{ref:a}):null};yt.displayName="Presence";function gc(e){const[t,r]=d.useState(),n=d.useRef(null),s=d.useRef(e),a=d.useRef("none"),i=e?"mounted":"unmounted",[l,u]=hc(i,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return d.useEffect(()=>{const c=dr(n.current);a.current=l==="mounted"?c:"none"},[l]),De(()=>{const c=n.current,m=s.current;if(m!==e){const x=a.current,f=dr(c);
2e?u("MOUNT"):f==="none"||c?.display==="none"?u("UNMOUNT"):u(m&&x!==f?"ANIMATION_OUT":"UNMOUNT"),s.current=e}},[e,u]),De(()=>{if(t){let c;const m=t.ownerDocument.defaultView??window,h=f=>{const p=dr(n.current).includes(f.animationName);if(f.target===t&&p&&(u("ANIMATION_END"),!s.current)){const g=t.style.animationFillMode;t.style.animationFillMode="forwards",c=m.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=g)})}},x=f=>{f.target===t&&(a.current=dr(n.current))};return t.addEventListener("animationstart",x),t.addEventListener("animationcancel",h),t.addEventListener("animationend",h),()=>{m.clearTimeout(c),t.removeEventListener("animationstart",x),t.removeEventListener("animationcancel",h),t.removeEventListener("animationend",h)}}else u("ANIMATION_END")},[t,u]),{isPresent:["mounted","unmountSuspended"].includes(l),ref:d.useCallback(c=>{n.current=c?getComputedStyle(c):null,r(c)},[])}}function dr(e){return e?.animationName||"none"}function xc(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}var bc=js[" useInsertionEffect ".trim().toString()]||De;function sr({prop:e,defaultProp:t,onChange:r=()=>{},caller:n}){const[s,a,i]=vc({defaultProp:t,onChange:r}),l=e!==void 0,u=l?e:s;{const m=d.useRef(e!==void 0);d.useEffect(()=>{const h=m.current;h!==l&&console.warn(`${n} is changing from ${h?"controlled":"uncontrolled"} to ${l?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),m.current=l},[l,n])}const c=d.useCallback(m=>{if(l){const h=yc(m)?m(e):m;h!==e&&i.current?.(h)}else a(m)},[l,e,a,i]);return[u,c]}function vc({defaultProp:e,onChange:t}){const[r,n]=d.useState(e),s=d.useRef(r),a=d.useRef(t);return bc(()=>{a.current=t},[t]),d.useEffect(()=>{s.current!==r&&(a.current?.(r),s.current=r)},[r,s]),[r,n,a]}function yc(e){return typeof e=="function"}var wc=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"}),jc="VisuallyHidden",Lr=d.forwardRef((e,t)=>o.jsx(J.span,{...e,ref:t,style:{...wc,...e.style}}));Lr.displayName=jc;var Nc=Lr,$n="ToastProvider",[zn,Cc,Ec]=Ds("Toast"),[zs,Kh]=vt("Toast",[Ec]),[Sc,Fr]=zs($n),Bs=e=>{const{__scopeToast:t,label:r="Notification",duration:n=5e3,swipeDirection:s="right",swipeThreshold:a=50,children:i}=e,[l,u]=d.useState(null),[c,m]=d.useState(0),h=d.useRef(!1),x=d.useRef(!1);return r.trim()||console.error(`Invalid prop \`label\` supplied to \`${$n}\`. Expected non-empty \`string\`.`),o.jsx(zn.Provider,{scope:t,children:o.jsx(Sc,{scope:t,label:r,duration:n,swipeDirection:s,swipeThreshold:a,toastCount:c,viewport:l,onViewportChange:u,onToastAdd:d.useCallback(()=>m(f=>f+1),[]),onToastRemove:d.useCallback(()=>m(f=>f-1),[]),isFocusedToastEscapeKeyDownRef:h,isClosePausedRef:x,children:i})})};Bs.displayName=$n;var Ws="ToastViewport",Ac=["F8"],vn="toast.viewportPause",yn="toast.viewportResume",Vs=d.forwardRef((e,t)=>{const{__scopeToast:r,hotkey:n=Ac,label:s="Notifications ({hotkey})",...a}=e,i=Fr(Ws,r),l=Cc(r),u=d.useRef(null),c=d.useRef(null),m=d.useRef(null),h=d.useRef(null),x=ne(t,h,i.onViewportChange),f=n.join("+").replace(/Key/g,"").replace(/Digit/g,""),b=i.toastCount>0;d.useEffect(()=>{const g=y=>{n.length!==0&&n.every(w=>y[w]||y.code===w)&&h.current?.focus()};return document.addEventListener("keydown",g),()=>document.removeEventListener("keydown",g)},[n]),d.useEffect(()=>{const g=u.current,y=h.current;if(b&&g&&y){const v=()=>{if(!i.isClosePausedRef.current){const S=new CustomEvent(vn);y.dispatchEvent(S),i.isClosePausedRef.current=!0}},w=()=>{if(i.isClosePausedRef.current){const S=new CustomEvent(yn);y.dispatchEvent(S),i.isClosePausedRef.current=!1}},N=S=>{!g.contains(S.relatedTarget)&&w()},C=()=>{g.contains(document.activeElement)||w()};return g.addEventListener("focusin",v),g.addEventListener("focusout",N),g.addEventListener("pointermove",v),g.addEventListener("pointerleave",C),window.addEventListener("blur",v),window.addEventListener("focus",w),()=>{g.removeEventListener("focusin",v),g.removeEventListener("focusout",N),g.removeEventListener("pointermove",v),g.removeEventListener("pointerleave",C),window.removeEventListener("blur",v),window.removeEventListener("focus",w)}}},[b,i.isClosePausedRef]);const p=d.useCallback(({tabbingDirection:g})=>{const v=l().map(w=>{const N=w.ref.current,C=[N,...zc(N)];return g==="forwards"?C:C.reverse()});return(g==="forwards"?v.reverse():v).flat()},[l]);return d.useEffect(()=>{const g=h.current;if(g){const y=v=>{const w=v.altKey||v.ctrlKey||v.metaKey;if(v.key==="Tab"&&!w){const C=document.activeElement,S=v.shiftKey;if(v.target===g&&S){c.current?.focus();return}const F=p({tabbingDirection:S?"backwards":"forwards"}),$=F.findIndex(B=>B===C);on(F.slice($+1))?v.preventDefault():S?c.current?.focus():m.current?.focus()}};return g.addEventListener("keydown",y),()=>g.removeEventListener("keydown",y)}},[l,p]),o.jsxs(mc,{ref:u,role:"region","aria-label":s.replace("{hotkey}",f),tabIndex:-1,style:{pointerEvents:b?void 0:"none"},children:[b&&o.jsx(wn,{ref:c,onFocusFromOutsideViewport:()=>{const g=p({tabbingDirection:"forwards"});on(g)}}),o.jsx(zn.Slot,{scope:r,children:o.jsx(J.ol,{tabIndex:-1,...a,ref:x})}),b&&o.jsx(wn,{ref:m,onFocusFromOutsideViewport:()=>{const g=p({tabbingDirection:"backwards"});on(g)}})]})});Vs.displayName=Ws;var Hs="ToastFocusProxy",wn=d.forwardRef((e,t)=>
2{const{__scopeToast:r,onFocusFromOutsideViewport:n,...s}=e,a=Fr(Hs,r);return o.jsx(Lr,{"aria-hidden":!0,tabIndex:0,...s,ref:t,style:{position:"fixed"},onFocus:i=>{const l=i.relatedTarget;!a.viewport?.contains(l)&&n()}})});wn.displayName=Hs;var ar="Toast",kc="toast.swipeStart",Pc="toast.swipeMove",Rc="toast.swipeCancel",Tc="toast.swipeEnd",qs=d.forwardRef((e,t)=>{const{forceMount:r,open:n,defaultOpen:s,onOpenChange:a,...i}=e,[l,u]=sr({prop:n,defaultProp:s??!0,onChange:a,caller:ar});return o.jsx(yt,{present:r||l,children:o.jsx(Mc,{open:l,...i,ref:t,onClose:()=>u(!1),onPause:Me(e.onPause),onResume:Me(e.onResume),onSwipeStart:X(e.onSwipeStart,c=>{c.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:X(e.onSwipeMove,c=>{const{x:m,y:h}=c.detail.delta;c.currentTarget.setAttribute("data-swipe","move"),c.currentTarget.style.setProperty("--radix-toast-swipe-move-x",`${m}px`),c.currentTarget.style.setProperty("--radix-toast-swipe-move-y",`${h}px`)}),onSwipeCancel:X(e.onSwipeCancel,c=>{c.currentTarget.setAttribute("data-swipe","cancel"),c.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),c.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),c.currentTarget.style.removeProperty("--radix-toast-swipe-end-x"),c.currentTarget.style.removeProperty("--radix-toast-swipe-end-y")}),onSwipeEnd:X(e.onSwipeEnd,c=>{const{x:m,y:h}=c.detail.delta;c.currentTarget.setAttribute("data-swipe","end"),c.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),c.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),c.currentTarget.style.setProperty("--radix-toast-swipe-end-x",`${m}px`),c.currentTarget.style.setProperty("--radix-toast-swipe-end-y",`${h}px`),u(!1)})})})});qs.displayName=ar;var[Oc,Ic]=zs(ar,{onClose(){}}),Mc=d.forwardRef((e,t)=>{const{__scopeToast:r,type:n="foreground",duration:s,open:a,onClose:i,onEscapeKeyDown:l,onPause:u,onResume:c,onSwipeStart:m,onSwipeMove:h,onSwipeCancel:x,onSwipeEnd:f,...b}=e,p=Fr(ar,r),[g,y]=d.useState(null),v=ne(t,k=>y(k)),w=d.useRef(null),N=d.useRef(null),C=s||p.duration,S=d.useRef(0),A=d.useRef(C),O=d.useRef(0),{onToastAdd:F,onToastRemove:$}=p,B=Me(()=>{g?.contains(document.activeElement)&&p.viewport?.focus(),i()}),R=d.useCallback(k=>{!k||k===1/0||(window.clearTimeout(O.current),S.current=new Date().getTime(),O.current=window.setTimeout(B,k))},[B]);d.useEffect(()=>{const k=p.viewport;if(k){const H=()=>{R(A.current),c?.()},D=()=>{const L=new Date().getTime()-S.current;A.current=A.current-L,window.clearTimeout(O.current),u?.()};return k.addEventListener(vn,D),k.addEventListener(yn,H),()=>{k.removeEventListener(vn,D),k.removeEventListener(yn,H)}}},[p.viewport,C,u,c,R]),d.useEffect(()=>{a&&!p.isClosePausedRef.current&&R(C)},[a,C,p.isClosePausedRef,R]),d.useEffect(()=>(F(),()=>$()),[F,$]);const q=d.useMemo(()=>g?Zs(g):null,[g]);return p.viewport?o.jsxs(o.Fragment,{children:[q&&o.jsx(Dc,{__scopeToast:r,role:"status","aria-live":n==="foreground"?"assertive":"polite","aria-atomic":!0,children:q}),o.jsx(Oc,{scope:r,onClose:B,children:Dr.createPortal(o.jsx(zn.ItemSlot,{scope:r,children:o.jsx(fc,{asChild:!0,onEscapeKeyDown:X(l,()=>{p.isFocusedToastEscapeKeyDownRef.current||B(),p.isFocusedToastEscapeKeyDownRef.current=!1}),children:o.jsx(J.li,{role:"status","aria-live":"off","aria-atomic":!0,tabIndex:0,"data-state":a?"open":"closed","data-swipe-direction":p.swipeDirection,...b,ref:v,style:{userSelect:"none",touchAction:"none",...e.style},onKeyDown:X(e.onKeyDown,k=>{k.key==="Escape"&&(l?.(k.nativeEvent),k.nativeEvent.defaultPrevented||(p.isFocusedToastEscapeKeyDownRef.current=!0,B()))}),onPointerDown:X(e.onPointerDown,k=>{k.button===0&&(w.current={x:k.clientX,y:k.clientY})}),onPointerMove:X(e.onPointerMove,k=>{if(!w.current)return;const H=k.clientX-w.current.x,D=k.clientY-w.current.y,L=!!N.current,T=["left","right"].includes(p.swipeDirection),P=["left","up"].includes(p.swipeDirection)?Math.min:Math.max,G=T?P(0,H):0,re=T?0:P(0,D),z=k.pointerType==="touch"?10:2,W={x:G,y:re},K={originalEvent:k,delta:W};L?(N.current=W,ur(Pc,h,K,{discrete:!1})):Eo(W,p.swipeDirection,z)?(N.current=W,ur(kc,m,K,{discrete:!1}),k.target.setPointerCapture(k.pointerId)):(Math.abs(H)>z||Math.abs(D)>z)&&(w.current=null)}),onPointerUp:X(e.onPointerUp,k=>{const H=N.current,D=k.target;if(D.hasPointerCapture(k.pointerId)&&D.releasePointerCapture(k.pointerId),N.current=null,w.current=null,H){const L=k.currentTarget,T={originalEvent:k,delta:H};Eo(H,p.swipeDirection,p.swipeThreshold)?ur(Tc,f,T,{discrete:!0}):ur(Rc,x,T,{discrete:!0}),L.addEventListener("click",P=>P.preventDefault(),{once:!0})}})})})}),p.viewport)})]}):null}),Dc=e=>{const{__scopeToast:t,children:r,...n}
2=e,s=Fr(ar,t),[a,i]=d.useState(!1),[l,u]=d.useState(!1);return Fc(()=>i(!0)),d.useEffect(()=>{const c=window.setTimeout(()=>u(!0),1e3);return()=>window.clearTimeout(c)},[]),l?null:o.jsx(Fn,{asChild:!0,children:o.jsx(Lr,{...n,children:a&&o.jsxs(o.Fragment,{children:[s.label," ",r]})})})},_c="ToastTitle",Us=d.forwardRef((e,t)=>{const{__scopeToast:r,...n}=e;return o.jsx(J.div,{...n,ref:t})});Us.displayName=_c;var Lc="ToastDescription",Gs=d.forwardRef((e,t)=>{const{__scopeToast:r,...n}=e;return o.jsx(J.div,{...n,ref:t})});Gs.displayName=Lc;var Ks="ToastAction",Ys=d.forwardRef((e,t)=>{const{altText:r,...n}=e;return r.trim()?o.jsx(Xs,{altText:r,asChild:!0,children:o.jsx(Bn,{...n,ref:t})}):(console.error(`Invalid prop \`altText\` supplied to \`${Ks}\`. Expected non-empty \`string\`.`),null)});Ys.displayName=Ks;var Qs="ToastClose",Bn=d.forwardRef((e,t)=>{const{__scopeToast:r,...n}=e,s=Ic(Qs,r);return o.jsx(Xs,{asChild:!0,children:o.jsx(J.button,{type:"button",...n,ref:t,onClick:X(e.onClick,s.onClose)})})});Bn.displayName=Qs;var Xs=d.forwardRef((e,t)=>{const{__scopeToast:r,altText:n,...s}=e;return o.jsx(J.div,{"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":n||void 0,...s,ref:t})});function Zs(e){const t=[];return Array.from(e.childNodes).forEach(n=>{if(n.nodeType===n.TEXT_NODE&&n.textContent&&t.push(n.textContent),$c(n)){const s=n.ariaHidden||n.hidden||n.style.display==="none",a=n.dataset.radixToastAnnounceExclude==="";if(!s)if(a){const i=n.dataset.radixToastAnnounceAlt;i&&t.push(i)}else t.push(...Zs(n))}}),t}function ur(e,t,r,{discrete:n}){const s=r.originalEvent.currentTarget,a=new CustomEvent(e,{bubbles:!0,cancelable:!0,detail:r});t&&s.addEventListener(e,t,{once:!0}),n?_s(s,a):s.dispatchEvent(a)}var Eo=(e,t,r=0)=>{const n=Math.abs(e.x),s=Math.abs(e.y),a=n>s;return t==="left"||t==="right"?a&&n>r:!a&&s>r};function Fc(e=()=>{}){const t=Me(e);De(()=>{let r=0,n=0;return r=window.requestAnimationFrame(()=>n=window.requestAnimationFrame(t)),()=>{window.cancelAnimationFrame(r),window.cancelAnimationFrame(n)}},[t])}function $c(e){return e.nodeType===e.ELEMENT_NODE}function zc(e){const t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:n=>{const s=n.tagName==="INPUT"&&n.type==="hidden";return n.disabled||n.hidden||s?NodeFilter.FILTER_SKIP:n.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)t.push(r.currentNode);return t}function on(e){const t=document.activeElement;return e.some(r=>r===t?!0:(r.focus(),document.activeElement!==t))}var Bc=Bs,Js=Vs,ea=qs,ta=Us,ra=Gs,na=Ys,oa=Bn;function sa(e){var t,r,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e)){var s=e.length;for(t=0;t<s;t++)e[t]&&(r=sa(e[t]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}function aa(){for(var e,t,r=0,n="",s=arguments.length;r<s;r++)(e=arguments[r])&&(t=sa(e))&&(n&&(n+=" "),n+=t);return n}const So=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,Ao=aa,ia=(e,t)=>r=>{var n;if(t?.variants==null)return Ao(e,r?.class,r?.className);const{variants:s,defaultVariants:a}=t,i=Object.keys(s).map(c=>{const m=r?.[c],h=a?.[c];if(m===null)return null;const x=So(m)||So(h);return s[c][x]}),l=r&&Object.entries(r).reduce((c,m)=>{let[h,x]=m;return x===void 0||(c[h]=x),c},{}),u=t==null||(n=t.compoundVariants)===null||n===void 0?void 0:n.reduce((c,m)=>{let{class:h,className:x,...f}=m;return Object.entries(f).every(b=>{let[p,g]=b;return Array.isArray(g)?g.includes({...a,...l}[p]):{...a,...l}[p]===g})?[...c,h,x]:c},[]);return Ao(e,i,u,r?.class,r?.className)},Wn="-",Wc=e=>{const t=Hc(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=e;return{getClassGroupId:i=>{const l=i.split(Wn);return l[0]===""&&l.length!==1&&l.shift(),la(l,t)||Vc(i)},getConflictingClassGroupIds:(i,l)=>{const u=r[i]||[];return l&&n[i]?[...u,...n[i]]:u}}},la=(e,t)=>{if(e.length===0)return t.classGroupId;const r=e[0],n=t.nextPart.get(r),s=n?la(e.slice(1),n):void 0;if(s)return s;if(t.validators.length===0)return;const a=e.join(Wn);return t.validators.find(({validator:i})=>i(a))?.classGroupId}
vendor: 5,206 bytes, line 2
2,ko=/^\[(.+)\]$/,Vc=e=>{if(ko.test(e)){const t=ko.exec(e)[1],r=t?.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},Hc=e=>{const{theme:t,prefix:r}=e,n={nextPart:new Map,validators:[]};return Uc(Object.entries(e.classGroups),r).forEach(([a,i])=>{jn(i,n,a,t)}),n},jn=(e,t,r,n)=>{e.forEach(s=>{if(typeof s=="string"){const a=s===""?t:Po(t,s);a.classGroupId=r;return}if(typeof s=="function"){if(qc(s)){jn(s(n),t,r,n);return}t.validators.push({validator:s,classGroupId:r});return}Object.entries(s).forEach(([a,i])=>{jn(i,Po(t,a),r,n)})})},Po=(e,t)=>{let r=e;return t.split(Wn).forEach(n=>{r.nextPart.has(n)||r.nextPart.set(n,{nextPart:new Map,validators:[]}),r=r.nextPart.get(n)}),r},qc=e=>e.isThemeGetter,Uc=(e,t)=>t?e.map(([r,n])=>{const s=n.map(a=>typeof a=="string"?t+a:typeof a=="object"?Object.fromEntries(Object.entries(a).map(([i,l])=>[t+i,l])):a);return[r,s]}):e,Gc=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,n=new Map;const s=(a,i)=>{r.set(a,i),t++,t>e&&(t=0,n=r,r=new Map)};return{get(a){let i=r.get(a);if(i!==void 0)return i;if((i=n.get(a))!==void 0)return s(a,i),i},set(a,i){r.has(a)?r.set(a,i):s(a,i)}}},ca="!",Kc=e=>{const{separator:t,experimentalParseClassName:r}=e,n=t.length===1,s=t[0],a=t.length,i=l=>{const u=[];let c=0,m=0,h;for(let g=0;g<l.length;g++){let y=l[g];if(c===0){if(y===s&&(n||l.slice(g,g+a)===t)){u.push(l.slice(m,g)),m=g+a;continue}if(y==="/"){h=g;continue}}y==="["?c++:y==="]"&&c--}const x=u.length===0?l:l.substring(m),f=x.startsWith(ca),b=f?x.substring(1):x,p=h&&h>m?h-m:void 0;return{modifiers:u,hasImportantModifier:f,baseClassName:b,maybePostfixModifierPosition:p}};return r?l=>r({className:l,parseClassName:i}):i},Yc=e=>{if(e.length<=1)return e;const t=[];let r=[];return e.forEach(n=>{n[0]==="["?(t.push(...r.sort(),n),r=[]):r.push(n)}),t.push(...r.sort()),t},Qc=e=>({cache:Gc(e.cacheSize),parseClassName:Kc(e),...Wc(e)}),Xc=/\s+/,Zc=(e,t)=>{const{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:s}=t,a=[],i=e.trim().split(Xc);let l="";for(let u=i.length-1;u>=0;u-=1){const c=i[u],{modifiers:m,hasImportantModifier:h,baseClassName:x,maybePostfixModifierPosition:f}=r(c);let b=!!f,p=n(b?x.substring(0,f):x);if(!p){if(!b){l=c+(l.length>0?" "+l:l);continue}if(p=n(x),!p){l=c+(l.length>0?" "+l:l);continue}b=!1}const g=Yc(m).join(":"),y=h?g+ca:g,v=y+p;if(a.includes(v))continue;a.push(v);const w=s(p,b);for(let N=0;N<w.length;++N){const C=w[N];a.push(y+C)}l=c+(l.length>0?" "+l:l)}return l};function Jc(){let e=0,t,r,n="";for(;e<arguments.length;)(t=arguments[e++])&&(r=da(t))&&(n&&(n+=" "),n+=r);return n}const da=e=>{if(typeof e=="string")return e;let t,r="";for(let n=0;n<e.length;n++)e[n]&&(t=da(e[n]))&&(r&&(r+=" "),r+=t);return r};function ed(e,...t){let r,n,s,a=i;function i(u){const c=t.reduce((m,h)=>h(m),e());return r=Qc(c),n=r.cache.get,s=r.cache.set,a=l,l(u)}function l(u){const c=n(u);if(c)return c;const m=Zc(u,r);return s(u,m),m}return function(){return a(Jc.apply(null,arguments))}}const Z=e=>{const t=r=>r[e]||[];return t.isThemeGetter=!0,t},ua=/^\[(?:([a-z-]+):)?(.+)\]$/i,td=/^\d+\/\d+$/,rd=new Set(["px","full","screen"]),nd=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,od=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,sd=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,ad=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,id=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Fe=e=>Pt(e)||rd.has(e)||td.test(e),Ke=e=>Vt(e,"length",hd),Pt=e=>!!e&&!Number.isNaN(Number(e)),sn=e=>Vt(e,"number",Pt),Kt=e=>!!e&&Number.isInteger(Number(e)),ld=e=>e.endsWith("%")&&Pt(e.slice(0,-1)),_=e=>ua.test(e),Ye=e=>nd.test(e),cd=new Set(["length","size","percentage"]),dd=e=>Vt(e,cd,fa),ud=e=>Vt(e,"position",fa),fd=new Set(["image","url"]),md=e=>Vt(e,fd,xd),pd=e=>Vt(e,"",gd),Yt=()=>!0,Vt=(e,t,r)=>{const n=ua.exec(e);return n?n[1]?typeof t=="string"?n[1]===t:t.has(n[1]):r(n[2]):!1},hd=e=>od.test(e)&&!sd.test(e),fa=()=>!1,gd=e=>ad.test(e),xd=e=>id.test(e),bd=()=>{const e=Z("colors"),t=Z("spacing"),r=Z("blur"),n=Z("brightness"),s=Z("borderColor"),a=Z("borderRadius"),i=Z("borderSpacing"),l=Z("borderWidth"),u=Z("contrast"),c=Z("grayscale"),m=Z("hueRotate"),h=Z("invert"),x=Z("gap"),f=Z("gradientColorStops"),b=Z("gradientColorStopPositions"),p=Z("inset"),g=Z("margin"),y=Z("opacity"),v=Z("padding"),w=Z("saturate"),N=Z("scale"),C=Z("sepia"),S=Z("skew"),A=Z("space"),O=Z("translate"),F=()=>["auto","contain","none"],$=()=>["auto","hidden","clip","visible","scroll"],B=()=>["auto",_,t],R=()=>[_,t],q=()=>["",Fe,Ke],k=()=>["auto",Pt,_],H=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],D=()=>["solid","dashed","dotted","double","none"],L=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],T=()=>["start","end","center","between","around","evenly","stretch"],P=()=>["","0",_],G=()=>["auto","avoid","all","avoid-page","page","left","right","column"],re=()=>[Pt,_];return{cacheSize:500,separator:":",theme:{colors:[Yt],spacing:[Fe,
vendor: 6,397 bytes, line 2
2Ke],blur:["none","",Ye,_],brightness:re(),borderColor:[e],borderRadius:["none","","full",Ye,_],borderSpacing:R(),borderWidth:q(),contrast:re(),grayscale:P(),hueRotate:re(),invert:P(),gap:R(),gradientColorStops:[e],gradientColorStopPositions:[ld,Ke],inset:B(),margin:B(),opacity:re(),padding:R(),saturate:re(),scale:re(),sepia:P(),skew:re(),space:R(),translate:R()},classGroups:{aspect:[{aspect:["auto","square","video",_]}],container:["container"],columns:[{columns:[Ye]}],"break-after":[{"break-after":G()}],"break-before":[{"break-before":G()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...H(),_]}],overflow:[{overflow:$()}],"overflow-x":[{"overflow-x":$()}],"overflow-y":[{"overflow-y":$()}],overscroll:[{overscroll:F()}],"overscroll-x":[{"overscroll-x":F()}],"overscroll-y":[{"overscroll-y":F()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[p]}],"inset-x":[{"inset-x":[p]}],"inset-y":[{"inset-y":[p]}],start:[{start:[p]}],end:[{end:[p]}],top:[{top:[p]}],right:[{right:[p]}],bottom:[{bottom:[p]}],left:[{left:[p]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",Kt,_]}],basis:[{basis:B()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",_]}],grow:[{grow:P()}],shrink:[{shrink:P()}],order:[{order:["first","last","none",Kt,_]}],"grid-cols":[{"grid-cols":[Yt]}],"col-start-end":[{col:["auto",{span:["full",Kt,_]},_]}],"col-start":[{"col-start":k()}],"col-end":[{"col-end":k()}],"grid-rows":[{"grid-rows":[Yt]}],"row-start-end":[{row:["auto",{span:[Kt,_]},_]}],"row-start":[{"row-start":k()}],"row-end":[{"row-end":k()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",_]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",_]}],gap:[{gap:[x]}],"gap-x":[{"gap-x":[x]}],"gap-y":[{"gap-y":[x]}],"justify-content":[{justify:["normal",...T()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...T(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...T(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[v]}],px:[{px:[v]}],py:[{py:[v]}],ps:[{ps:[v]}],pe:[{pe:[v]}],pt:[{pt:[v]}],pr:[{pr:[v]}],pb:[{pb:[v]}],pl:[{pl:[v]}],m:[{m:[g]}],mx:[{mx:[g]}],my:[{my:[g]}],ms:[{ms:[g]}],me:[{me:[g]}],mt:[{mt:[g]}],mr:[{mr:[g]}],mb:[{mb:[g]}],ml:[{ml:[g]}],"space-x":[{"space-x":[A]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[A]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",_,t]}],"min-w":[{"min-w":[_,t,"min","max","fit"]}],"max-w":[{"max-w":[_,t,"none","full","min","max","fit","prose",{screen:[Ye]},Ye]}],h:[{h:[_,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[_,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[_,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[_,t,"auto","min","max","fit"]}],"font-size":[{text:["base",Ye,Ke]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",sn]}],"font-family":[{font:[Yt]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",_]}],"line-clamp":[{"line-clamp":["none",Pt,sn]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",Fe,_]}],"list-image":[{"list-image":["none",_]}],"list-style-type":[{list:["none","disc","decimal",_]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[y]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[y]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...D(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",Fe,Ke]}],"underline-offset":[{"underline-offset":["auto",Fe,_]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:R()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",_]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",_]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[y]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...H(),ud]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",dd]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},md]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[b]}
2],"gradient-via-pos":[{via:[b]}],"gradient-to-pos":[{to:[b]}],"gradient-from":[{from:[f]}],"gradient-via":[{via:[f]}],"gradient-to":[{to:[f]}],rounded:[{rounded:[a]}],"rounded-s":[{"rounded-s":[a]}],"rounded-e":[{"rounded-e":[a]}],"rounded-t":[{"rounded-t":[a]}],"rounded-r":[{"rounded-r":[a]}],"rounded-b":[{"rounded-b":[a]}],"rounded-l":[{"rounded-l":[a]}],"rounded-ss":[{"rounded-ss":[a]}],"rounded-se":[{"rounded-se":[a]}],"rounded-ee":[{"rounded-ee":[a]}],"rounded-es":[{"rounded-es":[a]}],"rounded-tl":[{"rounded-tl":[a]}],"rounded-tr":[{"rounded-tr":[a]}],"rounded-br":[{"rounded-br":[a]}],"rounded-bl":[{"rounded-bl":[a]}],"border-w":[{border:[l]}],"border-w-x":[{"border-x":[l]}],"border-w-y":[{"border-y":[l]}],"border-w-s":[{"border-s":[l]}],"border-w-e":[{"border-e":[l]}],"border-w-t":[{"border-t":[l]}],"border-w-r":[{"border-r":[l]}],"border-w-b":[{"border-b":[l]}],"border-w-l":[{"border-l":[l]}],"border-opacity":[{"border-opacity":[y]}],"border-style":[{border:[...D(),"hidden"]}],"divide-x":[{"divide-x":[l]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[l]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[y]}
vendor: 4,460 bytes, line 2
2],"divide-style":[{divide:D()}],"border-color":[{border:[s]}],"border-color-x":[{"border-x":[s]}],"border-color-y":[{"border-y":[s]}],"border-color-s":[{"border-s":[s]}],"border-color-e":[{"border-e":[s]}],"border-color-t":[{"border-t":[s]}],"border-color-r":[{"border-r":[s]}],"border-color-b":[{"border-b":[s]}],"border-color-l":[{"border-l":[s]}],"divide-color":[{divide:[s]}],"outline-style":[{outline:["",...D()]}],"outline-offset":[{"outline-offset":[Fe,_]}],"outline-w":[{outline:[Fe,Ke]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:q()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[y]}],"ring-offset-w":[{"ring-offset":[Fe,Ke]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",Ye,pd]}],"shadow-color":[{shadow:[Yt]}],opacity:[{opacity:[y]}],"mix-blend":[{"mix-blend":[...L(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":L()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[n]}],contrast:[{contrast:[u]}],"drop-shadow":[{"drop-shadow":["","none",Ye,_]}],grayscale:[{grayscale:[c]}],"hue-rotate":[{"hue-rotate":[m]}],invert:[{invert:[h]}],saturate:[{saturate:[w]}],sepia:[{sepia:[C]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[n]}],"backdrop-contrast":[{"backdrop-contrast":[u]}],"backdrop-grayscale":[{"backdrop-grayscale":[c]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[m]}],"backdrop-invert":[{"backdrop-invert":[h]}],"backdrop-opacity":[{"backdrop-opacity":[y]}],"backdrop-saturate":[{"backdrop-saturate":[w]}],"backdrop-sepia":[{"backdrop-sepia":[C]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[i]}],"border-spacing-x":[{"border-spacing-x":[i]}],"border-spacing-y":[{"border-spacing-y":[i]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",_]}],duration:[{duration:re()}],ease:[{ease:["linear","in","out","in-out",_]}],delay:[{delay:re()}],animate:[{animate:["none","spin","ping","pulse","bounce",_]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[N]}],"scale-x":[{"scale-x":[N]}],"scale-y":[{"scale-y":[N]}],rotate:[{rotate:[Kt,_]}],"translate-x":[{"translate-x":[O]}],"translate-y":[{"translate-y":[O]}],"skew-x":[{"skew-x":[S]}],"skew-y":[{"skew-y":[S]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",_]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",_]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":R()}],"scroll-mx":[{"scroll-mx":R()}],"scroll-my":[{"scroll-my":R()}],"scroll-ms":[{"scroll-ms":R()}],"scroll-me":[{"scroll-me":R()}],"scroll-mt":[{"scroll-mt":R()}],"scroll-mr":[{"scroll-mr":R()}],"scroll-mb":[{"scroll-mb":R()}],"scroll-ml":[{"scroll-ml":R()}],"scroll-p":[{"scroll-p":R()}],"scroll-px":[{"scroll-px":R()}],"scroll-py":[{"scroll-py":R()}],"scroll-ps":[{"scroll-ps":R()}],"scroll-pe":[{"scroll-pe":R()}],"scroll-pt":[{"scroll-pt":R()}],"scroll-pr":[{"scroll-pr":R()}],"scroll-pb":[{"scroll-pb":R()}],"scroll-pl":[{"scroll-pl":R()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",_]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[Fe,Ke,sn]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","
2none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}},vd=ed(bd);function ce(...e){return vd(aa(e))}const yd=Bc,ma=d.forwardRef(({className:e,...t},r)=>o.jsx(Js,{ref:r,className:ce("fixed top-0 z-[100] flex max-h-screen w-full flex-col-reverse p-4 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col md:max-w-[420px]",e),...t}));ma.displayName=Js.displayName;const wd=ia("group pointer-events-auto relative flex w-full items-center justify-between space-x-4 overflow-hidden rounded-md border p-6 pr-8 shadow-lg transition-all data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-top-full data-[state=open]:sm:slide-in-from-bottom-full",{variants:{variant:{default:"border bg-background text-foreground",destructive:"destructive group border-destructive bg-destructive text-destructive-foreground"}},defaultVariants:{variant:"default"}}),pa=d.forwardRef(({className:e,variant:t,...r},n)=>o.jsx(ea,{ref:n,className:ce(wd({variant:t}),e),...r}));pa.displayName=ea.displayName;const jd=d.forwardRef(({className:e,...t},r)=>o.jsx(na,{ref:r,className:ce("inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-sm font-medium ring-offset-background transition-colors group-[.destructive]:border-muted/40 hover:bg-secondary group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 group-[.destructive]:focus:ring-destructive disabled:pointer-events-none disabled:opacity-50",e),...t}));jd.displayName=na.displayName;const ha=d.forwardRef(({className:e,...t},r)=>o.jsx(oa,{ref:r,className:ce("absolute right-2 top-2 rounded-md p-1 text-foreground
2/50 opacity-0 transition-opacity group-hover:opacity-100 group-[.destructive]:text-red-300 hover:text-foreground group-[.destructive]:hover:text-red-50 focus:opacity-100 focus:outline-none focus:ring-2 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600",e),"toast-close":"",...t,children:o.jsx(Sr,{className:"h-4 w-4"})}));ha.displayName=oa.displayName;const ga=d.forwardRef(({className:e,...t},r)=>o.jsx(ta,{ref:r,className:ce("text-sm font-semibold",e),...t}));ga.displayName=ta.displayName;const xa=d.forwardRef(({className:e,...t},r)=>o.jsx(ra,{ref:r,className:ce("text-sm opacity-90",e),...t}));xa.displayName=ra.displayName;function Nd(){const{toasts:e}=Yl();return o.jsxs(yd,{children:[e.map(function({id:t,title:r,description:n,action:s,...a}){return o.jsxs(pa,{...a,children:[o.jsxs("div",{className:"grid gap-1",children:[r&&o.jsx(ga,{children:r}),n&&o.jsx(xa,{children:n})]}),s,o.jsx(ha,{})]},t)}),o.jsx(ma,{})]})}var Ro=["light","dark"],Cd="(prefers-color-scheme: dark)",Ed=d.createContext(void 0),Sd={setTheme:e=>{},themes:[]},Ad=()=>{var e;return(e=d.useContext(Ed))!=null?e:Sd};d.memo(({forcedTheme:e,storageKey:t,attribute:r,enableSystem:n,enableColorScheme:s,defaultTheme:a,value:i,attrs:l,nonce:u})=>{let c=a==="system",m=r==="class"?`var d=document.documentElement,c=d.classList;${`c.remove(${l.map(b=>`'${b}'`).join(",")})`};`:`var d=document.documentElement,n='${r}',s='setAttribute';`,h=s?Ro.includes(a)&&a?`if(e==='light'||e==='dark'||!e)d.style.colorScheme=e||'${a}'`:"if(e==='light'||e==='dark')d.style.colorScheme=e":"",x=(b,p=!1,g=!0)=>{let y=i?i[b]:b,v=p?b+"|| ''":`'${y}'`,w="";return s&&g&&!p&&Ro.includes(b)&&(w+=`d.style.colorScheme = '${b}';`),r==="class"?p||y?w+=`c.add(${v})`:w+="null":y&&(w+=`d[s](n,${v})`),w},f=e?`!function(){${m}${x(e)}}()`:n?`!function(){try{${m}var e=localStorage.getItem('${t}');if('system'===e||(!e&&${c})){var t='${Cd}',m=window.matchMedia(t);if(m.media!==t||m.matches){${x("dark")}}else{${x("light")}}}else if(e){${i?`var x=${JSON.stringify(i)};`:""}${x(i?"x[e]":"e",!0)}}${c?"":"else{"+x(a,!1,!1)+"}"}${h}}catch(e){}}()`:`!function(){try{${m}var e=localStorage.getItem('${t}');if(e){${i?`var x=${JSON.stringify(i)};`:""}${x(i?"x[e]":"e",!0)}}else{${x(a,!1,!1)};}${h}}catch(t){}}();`;return d.createElement("script",{nonce:u,dangerouslySetInnerHTML:{__html:f}})});var kd=e=>{switch(e){case"success":return Td;case"info":return Id;case"warning":return Od;case"error":return Md;default:return null}},Pd=Array(12).fill(0),Rd=({visible:e,className:t})=>E.createElement("div",{className:["sonner-loading-wrapper",t].filter(Boolean).join(" "),"data-visible":e},E.createElement("div",{className:"sonner-spinner"},Pd.map((r,n)=>E.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${n}`})))),Td=E.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},E.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",clipRule:"evenodd"})),Od=E.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},E.createElement("path",{fillRule:"evenodd",d:"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",clipRule:"evenodd"})),Id=E.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},E.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",clipRule:"evenodd"})),Md=E.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},E.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",clipRule:"evenodd"})),Dd=E.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"},E.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),E.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),_d=()=>{let[e,t]=E.useState(document.hidden);return E.useEffect(()=>{let r=()=>{t(document.hidden)};return document.addEventListener("visibilitychange",r),()=>window.removeEventListener("visibilitychange",r)},[]),e},Nn=1,Ld=class{constructor(){this.subscribe=e=>(this.subscribers.push(e),()=>{let t=this.subscribers.indexOf(e);this.subscribers.splice(t,1)}),this.publish=e=>
2{this.subscribers.forEach(t=>t(e))},this.addToast=e=>{this.publish(e),this.toasts=[...this.toasts,e]},this.create=e=>{var t;let{message:r,...n}=e,s=typeof e?.id=="number"||((t=e.id)==null?void 0:t.length)>0?e.id:Nn++,a=this.toasts.find(l=>l.id===s),i=e.dismissible===void 0?!0:e.dismissible;return this.dismissedToasts.has(s)&&this.dismissedToasts.delete(s),a?this.toasts=this.toasts.map(l=>l.id===s?(this.publish({...l,...e,id:s,title:r}),{...l,...e,id:s,dismissible:i,title:r}):l):this.addToast({title:r,...n,dismissible:i,id:s}),s},this.dismiss=e=>(this.dismissedToasts.add(e),e||this.toasts.forEach(t=>{this.subscribers.forEach(r=>r({id:t.id,dismiss:!0}))}),this.subscribers.forEach(t=>t({id:e,dismiss:!0})),e),this.message=(e,t)=>this.create({...t,message:e}),this.error=(e,t)=>this.create({...t,message:e,type:"error"}),this.success=(e,t)=>this.create({...t,type:"success",message:e}),this.info=(e,t)=>this.create({...t,type:"info",message:e}),this.warning=(e,t)=>this.create({...t,type:"warning",message:e}),this.loading=(e,t)=>
2this.create({...t,type:"loading",message:e}),this.promise=(e,t)=>{if(!t)return;let r;t.loading!==void 0&&(r=this.create({...t,promise:e,type:"loading",message:t.loading,description:typeof t.description!="function"?t.description:void 0}));let n=e instanceof Promise?e:e(),s=r!==void 0,a,i=n.then(async u=>{if(a=["resolve",u],E.isValidElement(u))s=!1,this.create({id:r,type:"default",message:u});else if($d(u)&&!u.ok){s=!1;let c=typeof t.error=="function"?await t.error(`HTTP error! status: ${u.status}`):t.error,m=typeof t.description=="function"?await t.description(`HTTP error! status: ${u.status}`):t.description;this.create({id:r,type:"error",message:c,description:m})}else if(t.success!==void 0){s=!1;let c=typeof t.success=="function"?await t.success(u):t.success,m=typeof t.description=="function"?await t.description(u):t.description;this.create({id:r,type:"success",message:c,description:m})}}).catch(async u=>{if(a=["reject",u],t.error!==void 0){s=!1;let c=typeof t.error=="function"?await t.error(u):t.error,m=typeof t.description=="function"?await t.description(u):t.description;this.create({id:r,type:"error",message:c,description:m})}}).finally(()=>{var u;s&&(this.dismiss(r),r=void 0),(u=t.finally)==null||u.call(t)}),l=()=>new Promise((u,c)=>i.then(()=>a[0]==="reject"?c(a[1]):u(a[1])).catch(c));return typeof r!="string"&&typeof r!="number"?{unwrap:l}:Object.assign(r,{unwrap:l})},this.custom=(e,t)=>{let r=t?.id||Nn++;return this.create({jsx:e(r),id:r,...t}),r},this.getActiveToasts=()=>this.toasts.filter(e=>!this.dismissedToasts.has(e.id)),this.subscribers=[],this.toasts=[],this.dismissedToasts=new Set}},de=new Ld,Fd=(e,t)=>{let r=t?.id||Nn++;return de.addToast({title:e,...t,id:r}),r},$d=e=>e&&typeof e=="object"&&"ok"in e&&typeof e.ok=="boolean"&&"status"in e&&typeof e.status=="number",zd=Fd,Bd=()=>de.toasts,Wd=()=>de.getActiveToasts(),Yh=Object.assign(zd,{success:de.success,info:de.info,warning:de.warning,error:de.error,custom:de.custom,message:de.message,promise:de.promise,dismiss:de.dismiss,loading:de.loading},{getHistory:Bd,getToasts:Wd});function Vd(e,{insertAt:t}={}){if(typeof document>"u")return;let r=document.head||document.getElementsByTagName("head")[0],n=document.createElement("style");n.type="text/css",t==="top"&&r.firstChild?r.insertBefore(n,r.firstChild):r.appendChild(n),n.styleSheet?n.styleSheet.cssText=e:n.appendChild(document.createTextNode(e))}Vd(`:where(html[dir="ltr"]),:where([data-sonner-toaster][dir="ltr"]){--toast-icon-margin-start: -3px;--toast-icon-margin-end: 4px;--toast-svg-margin-start: -1px;--toast-svg-margin-end: 0px;--toast-button-margin-start: auto;--toast-button-margin-end: 0;--toast-close-button-start: 0;--toast-close-button-end: unset;--toast-close-button-transform: translate(-35%, -35%)}:where(html[dir="rtl"]),:where([data-sonner-toaster][dir="rtl"]){--toast-icon-margin-start: 4px;--toast-icon-margin-end: -3px;--toast-svg-margin-start: 0px;--toast-svg-margin-end: -1px;--toast-button-margin-start: 0;--toast-button-margin-end: auto;--toast-close-button-start: unset;--toast-close-button-end: 0;--toast-close-button-transform: translate(35%, -35%)}:where([data-sonner-toaster]){position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1: hsl(0, 0%, 99%);--gray2: hsl(0, 0%, 97.3%);--gray3: hsl(0, 0%, 95.1%);--gray4: hsl(0, 0%, 93%);--gray5: hsl(0, 0%, 90.9%);--gray6: hsl(0, 0%, 88.7%);--gray7: hsl(0, 0%, 85.8%);--gray8: hsl(0, 0%, 78%);--gray9: hsl(0, 0%, 56.1%);--gray10: hsl(0, 0%, 52.3%);--gray11: hsl(0, 0%, 43.5%);--gray12: hsl(0, 0%, 9%);--border-radius: 8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:none;z-index:999999999;transition:transform .4s ease}:where([data-sonner-toaster][data-lifted="true"]){transform:translateY(-10px)}@media (hover: none) and (pointer: coarse){:where([data-sonner-toaster][data-lifted="true"]){transform:none}}:where([data-sonner-toaster][data-x-position="right"]){right:var(--offset-right)}:where([data-sonner-toaster][data-x-position="left"]){left:var(--offset-left)}:where([data-sonner-toaster][data-x-position="center"]){left:50%;transform:translate(-50%)}:where([data-sonner-toaster][data-y-position="top"]){top:var(--offset-top)}:where([data-sonner-toaster][data-y-position="bottom"]){bottom:var(--offset-bottom)}:where([data-sonner-toast]){--y: translateY(100%);--lift-amount: calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);filter:blur(0);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:none;overflow-wrap:anywhere}:where([data-sonner-toast][data-styled="true"]){padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px #0000001a;width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}:where([data-sonner-toast]:focus-visible){box-shadow:0 4px 12px #0000001a,0 0 0 2px #0003}:where([data-sonner-toast][data-y-position="top"]){top:0;--y: translateY(-100%);--lift: 1;--lift-amount: calc(1 * var(--gap))}:where([data-sonner-toast][data-y-position="bottom"]){bottom:0;--y: translateY(100%);--lift: -1;--lift-amount: calc(var(--lift) * var(--gap))}:where([data-sonner-toast]) :where([data-description]){font-weight:400;line-height:1.4;color:inherit}:where([data-sonner-toast]) :where([data-title]){font-weight:500;line-height:1.5;color:inherit}:where([data-sonner-toast]) :where([data-icon]){display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}:where([data-sonner-toast][data-promise="true"]) :where([data-icon])>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}:where([data-sonner-toast]) :where([data-icon])>*{flex-shrink:0}:where([data-sonner-toast]) :where([data-icon]) svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}:where([data-sonner-toast]) :where([data-content]){display:flex;flex-direction:column;gap:2px}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;cursor:pointer;outline:none;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}:where([data-sonner-toast]) :where([data-button]):focus-visible{box-shadow:0 0 0 2px #0006}:where([data-sonner-toast]) :where([data-button]):first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}:where([data-sonner-toast]) :where([data-cancel]){color:var(--normal-text);background:rgba(0,0,0,.08)}:where([data-sonner-toast][data-theme="dark"]) :where([data-cancel]){background:rgba(255,255,255,.3)}:where([data-sonner-toast]) :where([data-close-button]){position:absolute;
2left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--gray12);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast] [data-close-button]{background:var(--gray1)}:where([data-sonner-toast]) :where([data-close-button]):focus-visible{box-shadow:0 4px 12px #0000001a,0 0 0 2px #0003}:where([data-sonner-toast]) :where([data-disabled="true"]){cursor:not-allowed}:where([data-sonner-toast]):hover :where([data-close-button]):hover{background:var(--gray2);border-color:var(--gray5)}:where([data-sonner-toast][data-swiping="true"]):before{content:"";position:absolute;left:-50%;right:-50%;height:100%;z-index:-1}:where([data-sonner-toast][data-y-position="top"][data-swiping="true"]):before{bottom:50%;transform:scaleY(3) translateY(50%)}:where([data-sonner-toast][data-y-position="bottom"][data-swiping="true"]):before{top:50%;transform:scaleY(3) translateY(-50%)}:where([data-sonner-toast][data-swiping="false"][data-removed="true"]):before{content:"";position:absolute;inset:0;transform:scaleY(2)}:where([data-sonner-toast]):after{content:"";position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}:where([data-sonner-toast][data-mounted="true"]){--y: translateY(0);opacity:1}:where([data-sonner-toast][data-expanded="false"][data-front="false"]){--scale: var(--toasts-before) * .05 + 1;--y: translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}:where([data-sonner-toast])>*{transition:opacity .4s}:where([data-sonner-toast][data-expanded="false"][data-front="false"][data-styled="true"])>*{opacity:0}
2:where([data-sonner-toast][data-visible="false"]){opacity:0;pointer-events:none}:where([data-sonner-toast][data-mounted="true"][data-expanded="true"]){--y: translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}:where([data-sonner-toast][data-removed="true"][data-front="true"][data-swipe-out="false"]){--y: translateY(calc(var(--lift) * -100%));opacity:0}:where([data-sonner-toast][data-removed="true"][data-front="false"][data-swipe-out="false"][data-expanded="true"]){--y: translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}:where([data-sonner-toast][data-removed="true"][data-front="false"][data-swipe-out="false"][data-expanded="false"]){--y: translateY(40%);opacity:0;transition:transform .5s,opacity .2s}:where([data-sonner-toast][data-removed="true"][data-front="false"]):before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y, 0px)) translate(var(--swipe-amount-x, 0px));transition:none}[data-sonner-toast][data-swiped=true]{user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{0%{transform:var(--y) translate(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translate(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{0%{transform:var(--y) translate(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translate(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{0%{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{0%{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width: 600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-theme=light]{--normal-bg: #fff;--normal-border: var(--gray4);--normal-text: var(--gray12);--success-bg: hsl(143, 85%, 96%);--success-border: hsl(145, 92%, 91%);--success-text: hsl(140, 100%, 27%);--info-bg: hsl(208, 100%, 97%);--info-border: hsl(221, 91%, 91%);--info-text: hsl(210, 92%, 45%);--warning-bg: hsl(49, 100%, 97%);--warning-border: hsl(49, 91%, 91%);--warning-text: hsl(31, 92%, 45%);--error-bg: hsl(359, 100%, 97%);--error-border: hsl(359, 100%, 94%);--error-text: hsl(360, 100%, 45%)}[data-sonner-toaster][data-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg: #000;--normal-border: hsl(0, 0%, 20%);--normal-text: var(--gray1)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg: #fff;--normal-border: var(--gray3);--normal-text: var(--gray12)}[data-sonner-toaster][data-theme=dark]{--normal-bg: #000;--normal-bg-hover: hsl(0, 0%, 12%);--normal-border: hsl(0, 0%, 20%);--normal-border-hover: hsl(0, 0%, 25%);--normal-text: var(--gray1);--success-bg: hsl(150, 100%, 6%);--success-border: hsl(147, 100%, 12%);--success-text: hsl(150, 86%, 65%);--info-bg: hsl(215, 100%, 6%);--info-border: hsl(223, 100%, 12%);--info-text: hsl(216, 87%, 65%);--warning-bg: hsl(64, 100%, 6%);--warning-border: hsl(60, 100%, 12%);--warning-text: hsl(46, 87%, 65%);--error-bg: hsl(358, 76%, 10%);--error-border: hsl(357, 89%, 16%);
2--error-text: hsl(358, 100%, 81%)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success],[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info],[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning],[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error],[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size: 16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:nth-child(1){animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}to{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}to{opacity:.15}}@media (prefers-reduced-motion){[data-sonner-toast],[data-sonner-toast]>*,.sonner-loading-bar{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}
3`);function fr(e){return e.label!==void 0}var Hd=3,qd="32px",Ud="16px",To=4e3,Gd=356,Kd=14,Yd=20,Qd=200;function ye(...e){return e.filter(Boolean).join(" ")}function Xd(e){let[t,r]=e.split("-"),n=[];return t&&n.push(t),r&&n.push(r),n}var Zd=e=>{var t,r,n,s,a,i,l,u,c,m,h;let{invert:x,toast:f,unstyled:b,interacting:p,setHeights:g,visibleToasts:y,heights:v,index:w,toasts:N,expanded:C,removeToast:S,defaultRichColors:A,closeButton:O,style:F,cancelButtonStyle:$,actionButtonStyle:B,className:R="",descriptionClassName:q="",duration:k,position:H,gap:D,loadingIcon:L,expandByDefault:T,classNames:P,icons:G,closeButtonAriaLabel:re="Close toast",pauseWhenPageIsHidden:z}=e,[W,K]=E.useState(null),[oe,He]=E.useState(null),[Y,wt]=E.useState(!1),[at,jt]=E.useState(!1),[it,Ut]=E.useState(!1),[lt,nl]=E.useState(!1),[ol,co]=E.useState(!1),[sl,Zr]=E.useState(0),[al,uo]=E.useState(0),Gt=E.useRef(f.duration||k||To),fo=E.useRef(null),ct=E.useRef(null),il=w===0,ll=w+1<=y,pe=f.type,Nt=f.dismissible!==!1,cl=f.className||"",dl=f.descriptionClassName||"",lr=E.useMemo(()=>v.findIndex(I=>I.toastId===f.id)||0,[v,f.id]),ul=E.useMemo(()=>{var I;return(I=f.closeButton)!=null?I:O},[f.closeButton,O]),mo=E.useMemo(()=>f.duration||k||To,[f.duration,k]),Jr=E.useRef(0),Ct=E.useRef(0),po=E.useRef(0),Et=E.useRef(null),[fl,ml]=H.split("-"),ho=E.useMemo(()=>v.reduce((I,Q,ee)=>ee>=lr?I:I+Q.height,0),[v,lr]),go=_d(),pl=f.invert||x,en=pe==="loading";Ct.current=E.useMemo(()=>lr*D+ho,[lr,ho]),E.useEffect(()=>{Gt.current=mo},[mo]),E.useEffect(()=>{wt(!0)},[]),E.useEffect(()=>{let I=ct.current;if(I){let Q=I.getBoundingClientRect().height;return uo(Q),g(ee=>[{toastId:f.id,height:Q,position:f.position},...ee]),()=>g(ee=>ee.filter(xe=>xe.toastId!==f.id))}},[g,f.id]),E.useLayoutEffect(()=>{if(!Y)return;let I=ct.current,Q=I.style.height;I.style.height="auto";let ee=I.getBoundingClientRect().height;I.style.height=Q,uo(ee),g(xe=>xe.find(be=>be.toastId===f.id)?xe.map(be=>be.toastId===f.id?{...be,height:ee}:be):[{toastId:f.id,height:ee,position:f.position},...xe])},[Y,f.title,f.description,g,f.id]);let qe=E.useCallback(()=>{jt(!0),Zr(Ct.current),g(I=>I.filter(Q=>Q.toastId!==f.id)),setTimeout(()=>{S(f)},Qd)},[f,S,g,Ct]);E.useEffect(()=>{if(f.promise&&pe==="loading"||f.duration===1/0||f.type==="loading")return;let I;return C||p||z&&go?(()=>{if(po.current<Jr.current){let Q=new Date().getTime()-Jr.current;Gt.current=Gt.current-Q}
3po.current=new Date().getTime()})():Gt.current!==1/0&&(Jr.current=new Date().getTime(),I=setTimeout(()=>{var Q;(Q=f.onAutoClose)==null||Q.call(f,f),qe()},Gt.current)),()=>clearTimeout(I)},[C,p,f,pe,z,go,qe]),E.useEffect(()=>{f.delete&&qe()},[qe,f.delete]);function hl(){var I,Q,ee;return G!=null&&G.loading?E.createElement("div",{className:ye(P?.loader,(I=f?.classNames)==null?void 0:I.loader,"sonner-loader"),"data-visible":pe==="loading"},G.loading):L?E.createElement("div",{className:ye(P?.loader,(Q=f?.classNames)==null?void 0:Q.loader,"sonner-loader"),"data-visible":pe==="loading"},L):E.createElement(Rd,{className:ye(P?.loader,(ee=f?.classNames)==null?void 0:ee.loader),visible:pe==="loading"})}return E.createElement("li",{tabIndex:0,ref:ct,className:ye(R,cl,P?.toast,(t=f?.classNames)==null?void 0:t.toast,P?.default,P?.[pe],(r=f?.classNames)==null?void 0:r[pe]),"data-sonner-toast":"","data-rich-colors":(n=f.richColors)!=null?n:A,"data-styled":!(f.jsx||f.unstyled||b),"data-mounted":Y,"data-promise":!!f.promise,"data-swiped":ol,"data-removed":at,"data-visible":ll,"data-y-position":fl,"data-x-position":ml,"data-index":w,"data-front":il,"data-swiping":it,"data-dismissible":Nt,"data-type":pe,"data-invert":pl,"data-swipe-out":lt,"data-swipe-direction":oe,"data-expanded":!!(C||T&&Y),style:{"--index":w,"--toasts-before":w,"--z-index":N.length-w,"--offset":`${at?sl:Ct.current}px`,"--initial-height":T?"auto":`${al}px`,...F,...f.style},onDragEnd:()=>{Ut(!1),K(null),Et.current=null},onPointerDown:I=>{en||!Nt||(fo.current=new Date,Zr(Ct.current),I.target.setPointerCapture(I.pointerId),I.target.tagName!=="BUTTON"&&(Ut(!0),Et.current={x:I.clientX,y:I.clientY}))},onPointerUp:()=>{var I,Q,ee,xe;if(lt||!Nt)return;Et.current=null;let be=Number(((I=ct.current)==null?void 0:I.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),Ue=Number(((Q=ct.current)==null?void 0:Q.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),dt=new Date().getTime()-((ee=fo.current)==null?void 0:ee.getTime()),ve=W==="x"?be:Ue,Ge=Math.abs(ve)/dt;if(Math.abs(ve)>=Yd||Ge>.11){Zr(Ct.current),(xe=f.onDismiss)==null||xe.call(f,f),He(W==="x"?be>0?"right":"left":Ue>0?"down":"up"),qe(),nl(!0),co(!1);return}Ut(!1),K(null)},onPointerMove:I=>{var Q,ee,xe,be;if(!Et.current||!Nt||((Q=window.getSelection())==null?void 0:Q.toString().length)>0)return;let Ue=I.clientY-Et.current.y,dt=I.clientX-Et.current.x,ve=(ee=e.swipeDirections)!=null?ee:Xd(H);!W&&(Math.abs(dt)>1||Math.abs(Ue)>1)&&K(Math.abs(dt)>Math.abs(Ue)?"x":"y");let Ge={x:0,y:0};W==="y"?(ve.includes("top")||ve.includes("bottom"))&&(ve.includes("top")&&Ue<0||ve.includes("bottom")&&Ue>0)&&(Ge.y=Ue):W==="x"&&(ve.includes("left")||ve.includes("right"))&&(ve.includes("left")&&dt<0||ve.includes("right")&&dt>0)&&(Ge.x=dt),(Math.abs(Ge.x)>0||Math.abs(Ge.y)>0)&&co(!0),(xe=ct.current)==null||xe.style.setProperty("--swipe-amount-x",`${Ge.x}px`),(be=ct.current)==null||be.style.setProperty("--swipe-amount-y",`${Ge.y}px`)}},ul&&!f.jsx?E.createElement("button",{"aria-label":re,"data-disabled":en,"data-close-button":!0,onClick:en||!Nt?()=>{}:()=>{var I;qe(),(I=f.onDismiss)==null||I.call(f,f)},className:ye(P?.closeButton,(s=f?.classNames)==null?void 0:s.closeButton)},(a=G?.close)!=null?a:Dd):null,f.jsx||d.isValidElement(f.title)?f.jsx?f.jsx:typeof f.title=="function"?f.title():f.title:E.createElement(E.Fragment,null,pe||f.icon||f.promise?E.createElement("div",{"data-icon":"",className:ye(P?.icon,(i=f?.classNames)==null?void 0:i.icon)},f.promise||f.type==="loading"&&!f.icon?f.icon||hl():null,f.type!=="loading"?f.icon||G?.[pe]||kd(pe):null):null,E.createElement("div",{"data-content":"",className:ye(P?.content,(l=f?.classNames)==null?void 0:l.content)},E.createElement("div",{"data-title":"",className:ye(P?.title,(u=f?.classNames)==null?void 0:u.title)},typeof f.title=="function"?f.title():f.title),f.description?E.createElement("div",{"data-description":"",className:ye(q,dl,P?.description,(c=f?.classNames)==null?void 0:c.description)},typeof f.description=="function"?f.description():f.description):null),d.isValidElement(f.cancel)?f.cancel:f.cancel&&fr(f.cancel)?E.createElement("button",{"data-button":!0,"data-cancel":!0,style:f.cancelButtonStyle||$,onClick:I=>{var Q,ee;fr(f.cancel)&&Nt&&((ee=(Q=f.cancel).onClick)==null||ee.call(Q,I),qe())},className:ye(P?.cancelButton,(m=f?.classNames)==null?void 0:m.cancelButton)},f.cancel.label):null,d.isValidElement(f.action)?f.action:f.action&&fr(f.action)?E.createElement("button",{"data-button":!0,"data-action":!0,style:f.actionButtonStyle||B,onClick:I=>{var Q,ee;fr(f.action)&&((ee=(Q=f.action).onClick)==null||ee.call(Q,I),!I.defaultPrevented&&qe())},className:ye(P?.actionButton,(h=f?.classNames)==null?void 0:h.actionButton)},f.action.label):null))};function Oo(){if(typeof window>"u"||typeof document>"u")return"ltr";let e=document.documentElement.getAttribute("dir");return e==="auto"||!e?window.getComputedStyle(document.documentElement).direction:e}function Jd(e,t){let r={};return[e,t].forEach((n,s)=>{let a=s===1,i=a?"--mobile-offset":"--offset",l=a?Ud:qd;function u(c){["top","right","bottom","left"].forEach(m=>{r[`${i}-${m}`]=typeof c=="number"?`${c}px`:c})}typeof n=="number"||typeof n=="string"?u(n):typeof n=="object"?["top","right","bottom","left"].forEach(c=>{n[c]===void 0?r[`${i}-${c}`]=l:r[`${i}-${c}`]=typeof n[c]=="number"?`${n[c]}px`:n[c]}):u(l)}),r}var eu=d.forwardRef(function(e,t){let{invert:r,position:n="bottom-right",hotkey:s=["altKey","KeyT"],expand:a,closeButton:i,className:l,offset:u,mobileOffset:c,theme:m="light",richColors:h,duration:x,style:f,visibleToasts:b=Hd,toastOptions:p,dir:g=Oo(),gap:y=Kd,loadingIcon:v,icons:w,containerAriaLabel:N="Notifications",pauseWhenPageIsHidden:C}=e,[S,A]=E.useState([]),O=E.useMemo(()=>Array.from(new Set([n].concat(S.filter(z=>z.position).map(z=>z.position)))),[S,n]),[F,$]=E.useState([]),[B,R]=E.useState(!1),[q,k]=E.useState(!1),[H,D]=E.useState(m!=="system"?m:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dar
3k":"light"),L=E.useRef(null),T=s.join("+").replace(/Key/g,"").replace(/Digit/g,""),P=E.useRef(null),G=E.useRef(!1),re=E.useCallback(z=>{A(W=>{var K;return(K=W.find(oe=>oe.id===z.id))!=null&&K.delete||de.dismiss(z.id),W.filter(({id:oe})=>oe!==z.id)})},[]);return E.useEffect(()=>de.subscribe(z=>{if(z.dismiss){A(W=>W.map(K=>K.id===z.id?{...K,delete:!0}:K));return}setTimeout(()=>{ws.flushSync(()=>{A(W=>{let K=W.findIndex(oe=>oe.id===z.id);return K!==-1?[...W.slice(0,K),{...W[K],...z},...W.slice(K+1)]:[z,...W]})})})}),[]),E.useEffect(()=>{if(m!=="system"){D(m);return}if(m==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?D("dark"):D("light")),typeof window>"u")return;let z=window.matchMedia("(prefers-color-scheme: dark)");try{z.addEventListener("change",({matches:W})=>{D(W?"dark":"light")})}catch{z.addListener(({matches:K})=>{try{D(K?"dark":"light")}catch(oe){console.error(oe)}})}},[m]),E.useEffect(()=>{S.length<=1&&R(!1)},[S]),E.useEffect(()=>{let z=W=>{var K,oe;s.every(He=>W[He]||W.code===He)&&(R(!0),(K=L.current)==null||K.focus()),W.code==="Escape"&&(document.activeElement===L.current||(oe=L.current)!=null&&oe.contains(document.activeElement))&&R(!1)};return document.addEventListener("keydown",z),()=>document.removeEventListener("keydown",z)},[s]),E.useEffect(()=>{if(L.current)return()=>{P.current&&(P.current.focus({preventScroll:!0}),P.current=null,G.current=!1)}},[L.current]),E.createElement("section",{ref:t,"aria-label":`${N} ${T}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},O.map((z,W)=>{var K;let[oe,He]=z.split("-");return S.length?E.createElement("ol",{key:z,dir:g==="auto"?Oo():g,tabIndex:-1,ref:L,className:l,"data-sonner-toaster":!0,"data-theme":H,"data-y-position":oe,"data-lifted":B&&S.length>1&&!a,"data-x-position":He,style:{"--front-toast-height":`${((K=F[0])==null?void 0:K.height)||0}px`,"--width":`${Gd}px`,"--gap":`${y}px`,...f,...Jd(u,c)},onBlur:Y=>{G.current&&!Y.currentTarget.contains(Y.relatedTarget)&&(G.current=!1,P.current&&(P.current.focus({preventScroll:!0}),P.current=null))},onFocus:Y=>{Y.target instanceof HTMLElement&&Y.target.dataset.dismissible==="false"||G.current||(G.current=!0,P.current=Y.relatedTarget)},onMouseEnter:()=>R(!0),onMouseMove:()=>R(!0),onMouseLeave:()=>{q||R(!1)},onDragEnd:()=>R(!1),onPointerDown:Y=>{Y.target instanceof HTMLElement&&Y.target.dataset.dismissible==="false"||k(!0)},onPointerUp:()=>k(!1)},S.filter(Y=>!Y.position&&W===0||Y.position===z).map((Y,wt)=>{var at,jt;return E.createElement(Zd,{key:Y.id,icons:w,index:wt,toast:Y,defaultRichColors:h,duration:(at=p?.duration)!=null?at:x,className:p?.className,descriptionClassName:p?.descriptionClassName,invert:r,visibleToasts:b,closeButton:(jt=p?.closeButton)!=null?jt:i,interacting:q,position:z,style:p?.style,unstyled:p?.unstyled,classNames:p?.classNames,cancelButtonStyle:p?.cancelButtonStyle,actionButtonStyle:p?.actionButtonStyle,removeToast:re,toasts:S.filter(it=>it.position==Y.position),heights:F.filter(it=>it.position==Y.position),setHeights:$,expandByDefault:a,gap:y,loadingIcon:v,expanded:B,pauseWhenPageIsHidden:C,swipeDirections:e.swipeDirections})})):null}))});const tu=({...e})=>{const{theme:t="system"}=Ad();return o.jsx(eu,{theme:t,className:"toaster group",toastOptions:{classNames:{toast:"group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toaster]:shadow-lg",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"}},...e})};var ru=js[" useId ".trim().toString()]||(()=>{}),nu=0;function Xt(e){const[t,r]=d.useState(ru());return De(()=>{r(n=>n??String(nu++))},[e]),t?`radix-${t}`:""}const ou=["top","right","bottom","left"],ot=Math.min,fe=Math.max,Ar=Math.round,mr=Math.floor,Ie=e=>({x:e,y:e}),su={left:"right",right:"left",bottom:"top",top:"bottom"},au={start:"end",end:"start"};function Cn(e,t,r){return fe(e,ot(t,r))}function We(e,t){return typeof e=="function"?e(t):e}function Ve(e){return e.split("-")[0]}function Ht(e){return e.split("-")[1]}function Vn(e){return e==="x"?"y":"x"}function Hn(e){return e==="y"?"height":"width"}const iu=new Set(["top","bottom"]);function Oe(e){return iu.has(Ve(e))?"y":"x"}function qn(e){return Vn(Oe(e))}function lu(e,t,r){r===void 0&&(r=!1);const n=Ht(e),s=qn(e),a=Hn(s);let i=s==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[a]>t.floating[a]&&(i=kr(i)),[i,kr(i)]}function cu(e){const t=kr(e);return[En(e),t,En(t)]}function En(e){return e.replace(/start|end/g,t=>au[t])}const Io=["left","right"],Mo=["right","left"],du=["top","bottom"],uu=["bottom","top"];function fu(e,t,r){switch(e){case"top":case"bottom":return r?t?Mo:Io:t?Io:Mo;case"left":case"right":return t?du:uu;default:return[]}}function mu(e,t,r,n){const s=Ht(e);let a=fu(Ve(e),r==="start",n);return s&&(a=a.map(i=>i+"-"+s),t&&(a=a.concat(a.map(En)))),a}function kr(e){return e.replace(/left|right|bottom|top/g,t=>su[t])}function pu(e){return{top:0,right:0,bottom:0,left:0,...e}}function ba(e){return typeof e!="number"?pu(e):{top:e,right:e,bottom:e,left:e}}function Pr(e){const{x:t,y:r,width:n,height:s}=e;return{width:n,height:s,top:r,left:t,right:t+n,bottom:r+s,x:t,y:r}}function Do(e,t,r){let{reference:n,floating:s}=e;const a=Oe(t),i=qn(t),l=Hn(i),u=Ve(t),c=a==="y",m=n.x+n.width/2-s.width/2,h=n.y+n.height/2-s.height/2,x=n[l]/2-s[l]/2;let f;switch(u){case"top":f={x:m,y:n.y-s.height};break;case"bottom":f={x:m,y:n.y+n.height};break;case"right":f={x:n.x+n.width,y:h};break;case"left":f={x:n.x-s.width,y:h};break;default:f={x:n.x,y:n.y}}switch(Ht(t)){case"start":f[i]-=x*(r&&c?-1:1);break;case"end":f[i]+=x*(r&&c?-1:1);break}return f}const hu=async(e,t,r)=>{const{placement:n="bottom",strategy:s="absolute",middleware:a=[],platform:i}
vendor: 7,154 bytes, line 3
3=r,l=a.filter(Boolean),u=await(i.isRTL==null?void 0:i.isRTL(t));let c=await i.getElementRects({reference:e,floating:t,strategy:s}),{x:m,y:h}=Do(c,n,u),x=n,f={},b=0;for(let p=0;p<l.length;p++){const{name:g,fn:y}=l[p],{x:v,y:w,data:N,reset:C}=await y({x:m,y:h,initialPlacement:n,placement:x,strategy:s,middlewareData:f,rects:c,platform:i,elements:{reference:e,floating:t}});m=v??m,h=w??h,f={...f,[g]:{...f[g],...N}},C&&b<=50&&(b++,typeof C=="object"&&(C.placement&&(x=C.placement),C.rects&&(c=C.rects===!0?await i.getElementRects({reference:e,floating:t,strategy:s}):C.rects),{x:m,y:h}=Do(c,x,u)),p=-1)}return{x:m,y:h,placement:x,strategy:s,middlewareData:f}};async function Jt(e,t){var r;t===void 0&&(t={});const{x:n,y:s,platform:a,rects:i,elements:l,strategy:u}=e,{boundary:c="clippingAncestors",rootBoundary:m="viewport",elementContext:h="floating",altBoundary:x=!1,padding:f=0}=We(t,e),b=ba(f),g=l[x?h==="floating"?"reference":"floating":h],y=Pr(await a.getClippingRect({element:(r=await(a.isElement==null?void 0:a.isElement(g)))==null||r?g:g.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(l.floating)),boundary:c,rootBoundary:m,strategy:u})),v=h==="floating"?{x:n,y:s,width:i.floating.width,height:i.floating.height}:i.reference,w=await(a.getOffsetParent==null?void 0:a.getOffsetParent(l.floating)),N=await(a.isElement==null?void 0:a.isElement(w))?await(a.getScale==null?void 0:a.getScale(w))||{x:1,y:1}:{x:1,y:1},C=Pr(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:v,offsetParent:w,strategy:u}):v);return{top:(y.top-C.top+b.top)/N.y,bottom:(C.bottom-y.bottom+b.bottom)/N.y,left:(y.left-C.left+b.left)/N.x,right:(C.right-y.right+b.right)/N.x}}const gu=e=>({name:"arrow",options:e,async fn(t){const{x:r,y:n,placement:s,rects:a,platform:i,elements:l,middlewareData:u}=t,{element:c,padding:m=0}=We(e,t)||{};if(c==null)return{};const h=ba(m),x={x:r,y:n},f=qn(s),b=Hn(f),p=await i.getDimensions(c),g=f==="y",y=g?"top":"left",v=g?"bottom":"right",w=g?"clientHeight":"clientWidth",N=a.reference[b]+a.reference[f]-x[f]-a.floating[b],C=x[f]-a.reference[f],S=await(i.getOffsetParent==null?void 0:i.getOffsetParent(c));let A=S?S[w]:0;(!A||!await(i.isElement==null?void 0:i.isElement(S)))&&(A=l.floating[w]||a.floating[b]);const O=N/2-C/2,F=A/2-p[b]/2-1,$=ot(h[y],F),B=ot(h[v],F),R=$,q=A-p[b]-B,k=A/2-p[b]/2+O,H=Cn(R,k,q),D=!u.arrow&&Ht(s)!=null&&k!==H&&a.reference[b]/2-(k<R?$:B)-p[b]/2<0,L=D?k<R?k-R:k-q:0;return{[f]:x[f]+L,data:{[f]:H,centerOffset:k-H-L,...D&&{alignmentOffset:L}},reset:D}}}),xu=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var r,n;const{placement:s,middlewareData:a,rects:i,initialPlacement:l,platform:u,elements:c}=t,{mainAxis:m=!0,crossAxis:h=!0,fallbackPlacements:x,fallbackStrategy:f="bestFit",fallbackAxisSideDirection:b="none",flipAlignment:p=!0,...g}=We(e,t);if((r=a.arrow)!=null&&r.alignmentOffset)return{};const y=Ve(s),v=Oe(l),w=Ve(l)===l,N=await(u.isRTL==null?void 0:u.isRTL(c.floating)),C=x||(w||!p?[kr(l)]:cu(l)),S=b!=="none";!x&&S&&C.push(...mu(l,p,b,N));const A=[l,...C],O=await Jt(t,g),F=[];let $=((n=a.flip)==null?void 0:n.overflows)||[];if(m&&F.push(O[y]),h){const k=lu(s,i,N);F.push(O[k[0]],O[k[1]])}if($=[...$,{placement:s,overflows:F}],!F.every(k=>k<=0)){var B,R;const k=(((B=a.flip)==null?void 0:B.index)||0)+1,H=A[k];if(H&&(!(h==="alignment"?v!==Oe(H):!1)||$.every(T=>T.overflows[0]>0&&Oe(T.placement)===v)))return{data:{index:k,overflows:$},reset:{placement:H}};let D=(R=$.filter(L=>L.overflows[0]<=0).sort((L,T)=>L.overflows[1]-T.overflows[1])[0])==null?void 0:R.placement;if(!D)switch(f){case"bestFit":{var q;const L=(q=$.filter(T=>{if(S){const P=Oe(T.placement);return P===v||P==="y"}return!0}).map(T=>[T.placement,T.overflows.filter(P=>P>0).reduce((P,G)=>P+G,0)]).sort((T,P)=>T[1]-P[1])[0])==null?void 0:q[0];L&&(D=L);break}case"initialPlacement":D=l;break}if(s!==D)return{reset:{placement:D}}}return{}}}};function _o(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function Lo(e){return ou.some(t=>e[t]>=0)}const bu=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:r}=t,{strategy:n="referenceHidden",...s}=We(e,t);switch(n){case"referenceHidden":{const a=await Jt(t,{...s,elementContext:"reference"}),i=_o(a,r.reference);return{data:{referenceHiddenOffsets:i,referenceHidden:Lo(i)}}}case"escaped":{const a=await Jt(t,{...s,altBoundary:!0}),i=_o(a,r.floating);return{data:{escapedOffsets:i,escaped:Lo(i)}}}default:return{}}}}},va=new Set(["left","top"]);async function vu(e,t){const{placement:r,platform:n,elements:s}=e,a=await(n.isRTL==null?void 0:n.isRTL(s.floating)),i=Ve(r),l=Ht(r),u=Oe(r)==="y",c=va.has(i)?-1:1,m=a&&u?-1:1,h=We(t,e);let{mainAxis:x,crossAxis:f,alignmentAxis:b}=typeof h=="number"?{mainAxis:h,crossAxis:0,alignmentAxis:null}:{mainAxis:h.mainAxis||0,crossAxis:h.crossAxis||0,alignmentAxis:h.alignmentAxis};return l&&typeof b=="number"&&(f=l==="end"?b*-1:b),u?{x:f*m,y:x*c}:{x:x*c,y:f*m}}const yu=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var r,n;const{x:s,y:a,placement:i,middlewareData:l}=t,u=await vu(t,e);return i===((r=l.offset)==null?void 0:r.placement)&&(n=l.arrow)!=null&&n.alignmentOffset?{}:{x:s+u.x,y:a+u.y,data:{...u,placement:i}}}}},wu=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:r,y:n,placement:s}=t,{mainAxis:a=!0,crossAxis:i=!1,limiter:l={fn:g=>{let{x:y,y:v}=g;return{x:y,y:v}}},...u}=We(e,t),c={x:r,y:n},m=await Jt(t,u),h=Oe(Ve(s)),x=Vn(h);let f=c[x],b=c[h];if(a){const g=x==="y"?"top":"left",y=x==="y"?"bottom":"right",v=f+m[g],w=f-m[y];f=Cn(v,f,w)}if(i){const g=h==="y"?"top":"left",y=h==="y"?"bottom":"right",v=b+m[g],w=b-m[y];b=Cn(v,b,w)}const p=l.fn({...t,[x]:f,[h]:b});return{...p,data:{x:p.x-r,y:p.y-n,enabled:{[x]:a,[h]:i}}}}}},ju=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:r,y:n,placement:s,rects:a,middlewareData:i}=t,{offset:l=0,mainAxis:u=!0,crossAxis:c=!0}=We(e,t),m={x:r,y:n},h=Oe(s),x=Vn(h);let f=m[x],b=m[h];const p=We(l,t),g=typeof p=="number"?{mainAxis:p,crossAxis:0}:{mainAxis:0,crossAxis:0,...p};if(u){const w=x==="y"?"height":"width",N=a.reference[x]-a.floating[w]+g.mainAxis,C=a.reference[x]+a.reference[w]-g.mainAxis;f<N?f=N:f>C&&(f=C)}if(c){var y,v;const w=x==="y"?"width":"height",N=va.has(Ve(s)),C=a.reference[h]-a.floating[w]+(N&&((y=i.offset)==null?void 0:y[h])||0)+(N?0:g.crossAxis),S=a.reference[h]+a.reference[w]+(N?0:((v=i.offset)==null?void 0:v[h])||0)-(N?g.crossAxis:0);b<C?b=C:b>S&&(b=S)}return{[x]:f,[h]:b}}}},Nu=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var r,n;const{placement:s,rects:a,platform:i,elements:l}=t,{apply:u=()=>{},...c}=We(e,t),m=await Jt(t,c),h=Ve(s),x=Ht(s),f=Oe(s)==="y",{width:b,height:p}=a.floating;let g,y;h==="top"||h==="bottom"?(g=h,y=x===(await(i.isRTL==null?void 0:i.isRTL(l.floating))?"start":"end")?"left":"right"):(y=h,g=x==="end"?"top":"bottom");const v=p-m.top-m.bottom,w=b-m.left-m.right,N=ot(p-m[g],v),C=ot(b-m[y],w),S=!t.middlewareData.shift;let A=N,O=C;
vendor: 5,323 bytes, line 3
3if((r=t.middlewareData.shift)!=null&&r.enabled.x&&(O=w),(n=t.middlewareData.shift)!=null&&n.enabled.y&&(A=v),S&&!x){const $=fe(m.left,0),B=fe(m.right,0),R=fe(m.top,0),q=fe(m.bottom,0);f?O=b-2*($!==0||B!==0?$+B:fe(m.left,m.right)):A=p-2*(R!==0||q!==0?R+q:fe(m.top,m.bottom))}await u({...t,availableWidth:O,availableHeight:A});const F=await i.getDimensions(l.floating);return b!==F.width||p!==F.height?{reset:{rects:!0}}:{}}}};function $r(){return typeof window<"u"}function qt(e){return ya(e)?(e.nodeName||"").toLowerCase():"#document"}function me(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Le(e){var t;return(t=(ya(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function ya(e){return $r()?e instanceof Node||e instanceof me(e).Node:!1}function Ce(e){return $r()?e instanceof Element||e instanceof me(e).Element:!1}function _e(e){return $r()?e instanceof HTMLElement||e instanceof me(e).HTMLElement:!1}function Fo(e){return!$r()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof me(e).ShadowRoot}const Cu=new Set(["inline","contents"]);function ir(e){const{overflow:t,overflowX:r,overflowY:n,display:s}=Ee(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&!Cu.has(s)}const Eu=new Set(["table","td","th"]);function Su(e){return Eu.has(qt(e))}const Au=[":popover-open",":modal"];function zr(e){return Au.some(t=>{try{return e.matches(t)}catch{return!1}})}const ku=["transform","translate","scale","rotate","perspective"],Pu=["transform","translate","scale","rotate","perspective","filter"],Ru=["paint","layout","strict","content"];function Un(e){const t=Gn(),r=Ce(e)?Ee(e):e;return ku.some(n=>r[n]?r[n]!=="none":!1)||(r.containerType?r.containerType!=="normal":!1)||!t&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!t&&(r.filter?r.filter!=="none":!1)||Pu.some(n=>(r.willChange||"").includes(n))||Ru.some(n=>(r.contain||"").includes(n))}function Tu(e){let t=st(e);for(;_e(t)&&!zt(t);){if(Un(t))return t;if(zr(t))return null;t=st(t)}return null}function Gn(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const Ou=new Set(["html","body","#document"]);function zt(e){return Ou.has(qt(e))}function Ee(e){return me(e).getComputedStyle(e)}function Br(e){return Ce(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function st(e){if(qt(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Fo(e)&&e.host||Le(e);return Fo(t)?t.host:t}function wa(e){const t=st(e);return zt(t)?e.ownerDocument?e.ownerDocument.body:e.body:_e(t)&&ir(t)?t:wa(t)}function er(e,t,r){var n;t===void 0&&(t=[]),r===void 0&&(r=!0);const s=wa(e),a=s===((n=e.ownerDocument)==null?void 0:n.body),i=me(s);if(a){const l=Sn(i);return t.concat(i,i.visualViewport||[],ir(s)?s:[],l&&r?er(l):[])}return t.concat(s,er(s,[],r))}function Sn(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function ja(e){const t=Ee(e);let r=parseFloat(t.width)||0,n=parseFloat(t.height)||0;const s=_e(e),a=s?e.offsetWidth:r,i=s?e.offsetHeight:n,l=Ar(r)!==a||Ar(n)!==i;return l&&(r=a,n=i),{width:r,height:n,$:l}}function Kn(e){return Ce(e)?e:e.contextElement}function Rt(e){const t=Kn(e);if(!_e(t))return Ie(1);const r=t.getBoundingClientRect(),{width:n,height:s,$:a}=ja(t);let i=(a?Ar(r.width):r.width)/n,l=(a?Ar(r.height):r.height)/s;return(!i||!Number.isFinite(i))&&(i=1),(!l||!Number.isFinite(l))&&(l=1),{x:i,y:l}}const Iu=Ie(0);function Na(e){const t=me(e);return!Gn()||!t.visualViewport?Iu:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Mu(e,t,r){return t===void 0&&(t=!1),!r||t&&r!==me(e)?!1:t}function xt(e,t,r,n){t===void 0&&(t=!1),r===void 0&&(r=!1);const s=e.getBoundingClientRect(),a=Kn(e);let i=Ie(1);t&&(n?Ce(n)&&(i=Rt(n)):i=Rt(e));const l=Mu(a,r,n)?Na(a):Ie(0);let u=(s.left+l.x)/i.x,c=(s.top+l.y)/i.y,m=s.width/i.x,h=s.height/i.y;if(a){const x=me(a),f=n&&Ce(n)?me(n):n;let b=x,p=Sn(b);for(;p&&n&&f!==b;){const g=Rt(p),y=p.getBoundingClientRect(),v=Ee(p),w=y.left+(p.clientLeft+parseFloat(v.paddingLeft))*g.x,N=y.top+(p.clientTop+parseFloat(v.paddingTop))*g.y;u*=g.x,c*=g.y,m*=g.x,h*=g.y,u+=w,c+=N,b=me(p),p=Sn(b)}}return Pr({width:m,height:h,x:u,y:c})}function Yn(e,t){const r=Br(e).scrollLeft;return t?t.left+r:xt(Le(e)).left+r}function Ca(e,t,r){r===void 0&&(r=!1);const n=e.getBoundingClientRect(),s=n.left+t.scrollLeft-(r?0:Yn(e,n)),a=n.top+t.scrollTop;return{x:s,y:a}}function Du(e){let{elements:t,rect:r,offsetParent:n,strategy:s}=e;const a=s==="fixed",i=Le(n),l=t?zr(t.floating):!1;if(n===i||l&&a)return r;let u={scrollLeft:0,scrollTop:0},c=Ie(1);const m=Ie(0),h=_e(n);if((h||!h&&!a)&&((qt(n)!=="body"||ir(i))&&(u=Br(n)),_e(n))){const f=xt(n);c=Rt(n),m.x=f.x+n.clientLeft,m.y=f.y+n.clientTop}const x=i&&!h&&!a?Ca(i,u,!0):Ie(0);return{width:r.width*c.x,height:r.height*c.y,x:r.x*c.x-u.scrollLeft*c.x+m.x+x.x,y:r.y*c.y-u.scrollTop*c.y+m.y+x.y}}function _u(e){return Array.from(e.getClientRects())}function Lu(e){const t=Le(e),r=Br(e),n=e.ownerDocument.body,s=fe(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),a=fe(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight);let i=-r.scrollLeft+Yn(e);const l=-r.scrollTop;return Ee(n).direction==="rtl"&&(i+=fe(t.clientWidth,n.clientWidth)-s),{width:s,height:a,x:i,y:l}}
vendor: 1,951 bytes, line 3
3function Fu(e,t){const r=me(e),n=Le(e),s=r.visualViewport;let a=n.clientWidth,i=n.clientHeight,l=0,u=0;if(s){a=s.width,i=s.height;const c=Gn();(!c||c&&t==="fixed")&&(l=s.offsetLeft,u=s.offsetTop)}return{width:a,height:i,x:l,y:u}}const $u=new Set(["absolute","fixed"]);function zu(e,t){const r=xt(e,!0,t==="fixed"),n=r.top+e.clientTop,s=r.left+e.clientLeft,a=_e(e)?Rt(e):Ie(1),i=e.clientWidth*a.x,l=e.clientHeight*a.y,u=s*a.x,c=n*a.y;return{width:i,height:l,x:u,y:c}}function $o(e,t,r){let n;if(t==="viewport")n=Fu(e,r);else if(t==="document")n=Lu(Le(e));else if(Ce(t))n=zu(t,r);else{const s=Na(e);n={x:t.x-s.x,y:t.y-s.y,width:t.width,height:t.height}}return Pr(n)}function Ea(e,t){const r=st(e);return r===t||!Ce(r)||zt(r)?!1:Ee(r).position==="fixed"||Ea(r,t)}function Bu(e,t){const r=t.get(e);if(r)return r;let n=er(e,[],!1).filter(l=>Ce(l)&&qt(l)!=="body"),s=null;const a=Ee(e).position==="fixed";let i=a?st(e):e;for(;Ce(i)&&!zt(i);){const l=Ee(i),u=Un(i);!u&&l.position==="fixed"&&(s=null),(a?!u&&!s:!u&&l.position==="static"&&!!s&&$u.has(s.position)||ir(i)&&!u&&Ea(e,i))?n=n.filter(m=>m!==i):s=l,i=st(i)}return t.set(e,n),n}function Wu(e){let{element:t,boundary:r,rootBoundary:n,strategy:s}=e;const i=[...r==="clippingAncestors"?zr(t)?[]:Bu(t,this._c):[].concat(r),n],l=i[0],u=i.reduce((c,m)=>{const h=$o(t,m,s);return c.top=fe(h.top,c.top),c.right=ot(h.right,c.right),c.bottom=ot(h.bottom,c.bottom),c.left=fe(h.left,c.left),c},$o(t,l,s));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}}function Vu(e){const{width:t,height:r}=ja(e);return{width:t,height:r}}function Hu(e,t,r){const n=_e(t),s=Le(t),a=r==="fixed",i=xt(e,!0,a,t);let l={scrollLeft:0,scrollTop:0};const u=Ie(0);function c(){u.x=Yn(s)}if(n||!n&&!a)if((qt(t)!=="body"||ir(s))&&(l=Br(t)),n){const f=xt(t,!0,a,t);u.x=f.x+t.clientLeft,u.y=f.y+t.clientTop}else s&&c();a&&!n&&s&&c();const m=s&&!n&&!a?Ca(s,l):Ie(0),h=i.left+l.scrollLeft-u.x-m.x,x=i.top+l.scrollTop-u.y-m.
vendor: 4,077 bytes, line 3
3y;return{x:h,y:x,width:i.width,height:i.height}}function an(e){return Ee(e).position==="static"}function zo(e,t){if(!_e(e)||Ee(e).position==="fixed")return null;if(t)return t(e);let r=e.offsetParent;return Le(e)===r&&(r=r.ownerDocument.body),r}function Sa(e,t){const r=me(e);if(zr(e))return r;if(!_e(e)){let s=st(e);for(;s&&!zt(s);){if(Ce(s)&&!an(s))return s;s=st(s)}return r}let n=zo(e,t);for(;n&&Su(n)&&an(n);)n=zo(n,t);return n&&zt(n)&&an(n)&&!Un(n)?r:n||Tu(e)||r}const qu=async function(e){const t=this.getOffsetParent||Sa,r=this.getDimensions,n=await r(e.floating);return{reference:Hu(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function Uu(e){return Ee(e).direction==="rtl"}const Gu={convertOffsetParentRelativeRectToViewportRelativeRect:Du,getDocumentElement:Le,getClippingRect:Wu,getOffsetParent:Sa,getElementRects:qu,getClientRects:_u,getDimensions:Vu,getScale:Rt,isElement:Ce,isRTL:Uu};function Aa(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function Ku(e,t){let r=null,n;const s=Le(e);function a(){var l;clearTimeout(n),(l=r)==null||l.disconnect(),r=null}function i(l,u){l===void 0&&(l=!1),u===void 0&&(u=1),a();const c=e.getBoundingClientRect(),{left:m,top:h,width:x,height:f}=c;if(l||t(),!x||!f)return;const b=mr(h),p=mr(s.clientWidth-(m+x)),g=mr(s.clientHeight-(h+f)),y=mr(m),w={rootMargin:-b+"px "+-p+"px "+-g+"px "+-y+"px",threshold:fe(0,ot(1,u))||1};let N=!0;function C(S){const A=S[0].intersectionRatio;if(A!==u){if(!N)return i();A?i(!1,A):n=setTimeout(()=>{i(!1,1e-7)},1e3)}A===1&&!Aa(c,e.getBoundingClientRect())&&i(),N=!1}try{r=new IntersectionObserver(C,{...w,root:s.ownerDocument})}catch{r=new IntersectionObserver(C,w)}r.observe(e)}return i(!0),a}function Yu(e,t,r,n){n===void 0&&(n={});const{ancestorScroll:s=!0,ancestorResize:a=!0,elementResize:i=typeof ResizeObserver=="function",layoutShift:l=typeof IntersectionObserver=="function",animationFrame:u=!1}=n,c=Kn(e),m=s||a?[...c?er(c):[],...er(t)]:[];m.forEach(y=>{s&&y.addEventListener("scroll",r,{passive:!0}),a&&y.addEventListener("resize",r)});const h=c&&l?Ku(c,r):null;let x=-1,f=null;i&&(f=new ResizeObserver(y=>{let[v]=y;v&&v.target===c&&f&&(f.unobserve(t),cancelAnimationFrame(x),x=requestAnimationFrame(()=>{var w;(w=f)==null||w.observe(t)})),r()}),c&&!u&&f.observe(c),f.observe(t));let b,p=u?xt(e):null;u&&g();function g(){const y=xt(e);p&&!Aa(p,y)&&r(),p=y,b=requestAnimationFrame(g)}return r(),()=>{var y;m.forEach(v=>{s&&v.removeEventListener("scroll",r),a&&v.removeEventListener("resize",r)}),h?.(),(y=f)==null||y.disconnect(),f=null,u&&cancelAnimationFrame(b)}}const Qu=yu,Xu=wu,Zu=xu,Ju=Nu,ef=bu,Bo=gu,tf=ju,rf=(e,t,r)=>{const n=new Map,s={platform:Gu,...r},a={...s.platform,_c:n};return hu(e,t,{...s,platform:a})};var nf=typeof document<"u",of=function(){},Nr=nf?d.useLayoutEffect:of;function Rr(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let r,n,s;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(r=e.length,r!==t.length)return!1;for(n=r;n--!==0;)if(!Rr(e[n],t[n]))return!1;return!0}if(s=Object.keys(e),r=s.length,r!==Object.keys(t).length)return!1;for(n=r;n--!==0;)if(!{}.hasOwnProperty.call(t,s[n]))return!1;for(n=r;n--!==0;){const a=s[n];if(!(a==="_owner"&&e.$$typeof)&&!Rr(e[a],t[a]))return!1}return!0}return e!==e&&t!==t}function ka(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Wo(e,t){const r=ka(e);return Math.round(t*r)/r}function ln(e){const t=d.useRef(e);return Nr(()=>{t.current=e}),t}function sf(e){e===void 0&&(e={});const{placement:t="bottom",strategy:r="absolute",middleware:n=[],platform:s,elements:{reference:a,floating:i}={},transform:l=!0,whileElementsMounted:u,open:c}=e,[m,h]=d.useState({x:0,y:0,strategy:r,placement:t,middlewareData:{},isPositioned:!1}),[x,f]=d.useState(n);Rr(x,n)||f(n);const[b,p]=d.useState(null),[g,y]=d.useState(null),v=d.useCallback(T=>{T!==S.current&&(S.current=T,p(T))},[]),w=d.useCallback(T=>{T!==A.current&&(A.current=T,y(T))}
vendor: 3,981 bytes, line 3
3,[]),N=a||b,C=i||g,S=d.useRef(null),A=d.useRef(null),O=d.useRef(m),F=u!=null,$=ln(u),B=ln(s),R=ln(c),q=d.useCallback(()=>{if(!S.current||!A.current)return;const T={placement:t,strategy:r,middleware:x};B.current&&(T.platform=B.current),rf(S.current,A.current,T).then(P=>{const G={...P,isPositioned:R.current!==!1};k.current&&!Rr(O.current,G)&&(O.current=G,Dr.flushSync(()=>{h(G)}))})},[x,t,r,B,R]);Nr(()=>{c===!1&&O.current.isPositioned&&(O.current.isPositioned=!1,h(T=>({...T,isPositioned:!1})))},[c]);const k=d.useRef(!1);Nr(()=>(k.current=!0,()=>{k.current=!1}),[]),Nr(()=>{if(N&&(S.current=N),C&&(A.current=C),N&&C){if($.current)return $.current(N,C,q);q()}},[N,C,q,$,F]);const H=d.useMemo(()=>({reference:S,floating:A,setReference:v,setFloating:w}),[v,w]),D=d.useMemo(()=>({reference:N,floating:C}),[N,C]),L=d.useMemo(()=>{const T={position:r,left:0,top:0};if(!D.floating)return T;const P=Wo(D.floating,m.x),G=Wo(D.floating,m.y);return l?{...T,transform:"translate("+P+"px, "+G+"px)",...ka(D.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:P,top:G}},[r,l,D.floating,m.x,m.y]);return d.useMemo(()=>({...m,update:q,refs:H,elements:D,floatingStyles:L}),[m,q,H,D,L])}const af=e=>{function t(r){return{}.hasOwnProperty.call(r,"current")}return{name:"arrow",options:e,fn(r){const{element:n,padding:s}=typeof e=="function"?e(r):e;return n&&t(n)?n.current!=null?Bo({element:n.current,padding:s}).fn(r):{}:n?Bo({element:n,padding:s}).fn(r):{}}}},lf=(e,t)=>({...Qu(e),options:[e,t]}),cf=(e,t)=>({...Xu(e),options:[e,t]}),df=(e,t)=>({...tf(e),options:[e,t]}),uf=(e,t)=>({...Zu(e),options:[e,t]}),ff=(e,t)=>({...Ju(e),options:[e,t]}),mf=(e,t)=>({...ef(e),options:[e,t]}),pf=(e,t)=>({...af(e),options:[e,t]});var hf="Arrow",Pa=d.forwardRef((e,t)=>{const{children:r,width:n=10,height:s=5,...a}=e;return o.jsx(J.svg,{...a,ref:t,width:n,height:s,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?r:o.jsx("polygon",{points:"0,0 30,0 15,10"})})});Pa.displayName=hf;var gf=Pa;function xf(e){const[t,r]=d.useState(void 0);return De(()=>{if(e){r({width:e.offsetWidth,height:e.offsetHeight});const n=new ResizeObserver(s=>{if(!Array.isArray(s)||!s.length)return;const a=s[0];let i,l;if("borderBoxSize"in a){const u=a.borderBoxSize,c=Array.isArray(u)?u[0]:u;i=c.inlineSize,l=c.blockSize}else i=e.offsetWidth,l=e.offsetHeight;r({width:i,height:l})});return n.observe(e,{box:"border-box"}),()=>n.unobserve(e)}else r(void 0)},[e]),t}var Ra="Popper",[Ta,Oa]=vt(Ra),[Qh,Ia]=Ta(Ra),Ma="PopperAnchor",Da=d.forwardRef((e,t)=>{const{__scopePopper:r,virtualRef:n,...s}=e,a=Ia(Ma,r),i=d.useRef(null),l=ne(t,i);return d.useEffect(()=>{a.onAnchorChange(n?.current||i.current)}),n?null:o.jsx(J.div,{...s,ref:l})});Da.displayName=Ma;var Qn="PopperContent",[bf,vf]=Ta(Qn),_a=d.forwardRef((e,t)=>{const{__scopePopper:r,side:n="bottom",sideOffset:s=0,align:a="center",alignOffset:i=0,arrowPadding:l=0,avoidCollisions:u=!0,collisionBoundary:c=[],collisionPadding:m=0,sticky:h="partial",hideWhenDetached:x=!1,updatePositionStrategy:f="optimized",onPlaced:b,...p}=e,g=Ia(Qn,r),[y,v]=d.useState(null),w=ne(t,Y=>v(Y)),[N,C]=d.useState(null),S=xf(N),A=S?.width??0,O=S?.height??0,F=n+(a!=="center"?"-"+a:""),$=typeof m=="number"?m:{top:0,right:0,bottom:0,left:0,...m},B=Array.isArray(c)?c:[c],R=B.length>0,q={padding:$,boundary:B.filter(wf),altBoundary:R},{refs:k,floatingStyles:H,placement:D,isPositioned:L,middlewareData:T}=sf({strategy:"fixed",placement:F,whileElementsMounted:(...Y)=>Yu(...Y,{animationFrame:f==="always"}),elements:{reference:g.anchor},middleware:[lf({mainAxis:s+O,alignmentAxis:i}),u&&cf({mainAxis:!0,crossAxis:!1,limiter:h==="partial"?df():void 0,...q}),u&&uf({...q}),ff({...q,apply:({elements:Y,rects:wt,availableWidth:at,availableHeight:jt})=>{const{width:it,height:Ut}=wt.reference,lt=Y.floating.style;lt.setProperty("--radix-popper-available-width",`${at}px`),lt.setProperty("--radix-popper-available-height",`${jt}px`),lt.setProperty("--radix-popper-anchor-width",`${it}
3px`),lt.setProperty("--radix-popper-anchor-height",`${Ut}px`)}}),N&&pf({element:N,padding:l}),jf({arrowWidth:A,arrowHeight:O}),x&&mf({strategy:"referenceHidden",...q})]}),[P,G]=$a(D),re=Me(b);De(()=>{L&&re?.()},[L,re]);const z=T.arrow?.x,W=T.arrow?.y,K=T.arrow?.centerOffset!==0,[oe,He]=d.useState();return De(()=>{y&&He(window.getComputedStyle(y).zIndex)},[y]),o.jsx("div",{ref:k.setFloating,"data-radix-popper-content-wrapper":"",style:{...H,transform:L?H.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:oe,"--radix-popper-transform-origin":[T.transformOrigin?.x,T.transformOrigin?.y].join(" "),...T.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:o.jsx(bf,{scope:r,placedSide:P,onArrowChange:C,arrowX:z,arrowY:W,shouldHideArrow:K,children:o.jsx(J.div,{"data-side":P,"data-align":G,...p,ref:w,style:{...p.style,animation:L?void 0:"none"}})})})});_a.displayName=Qn;var La="PopperArrow",yf={top:"bottom",right:"left",bottom:"top",left:"right"},Fa=d.forwardRef(function(t,r){const{__scopePopper:n,...s}=t,a=vf(La,n),i=yf[a.placedSide];return o.jsx("span",{ref:a.onArrowChange,style:{position:"absolute",left:a.arrowX,top:a.arrowY,[i]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[a.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[a.placedSide],visibility:a.shouldHideArrow?"hidden":void 0},children:o.jsx(gf,{...s,ref:r,style:{...s.style,display:"block"}})})});Fa.displayName=La;function wf(e){return e!==null}var jf=e=>({name:"transformOrigin",options:e,fn(t){const{placement:r,rects:n,middlewareData:s}=t,i=s.arrow?.centerOffset!==0,l=i?0:e.arrowWidth,u=i?0:e.arrowHeight,[c,m]=$a(r),h={start:"0%",center:"50%",end:"100%"}[m],x=(s.arrow?.x??0)+l/2,f=(s.arrow?.y??0)+u/2;let b="",p="";return c==="bottom"?(b=i?h:`${x}px`,p=`${-u}px`):c==="top"?(b=i?h:`${x}px`,p=`${n.floating.height+u}px`):c==="right"?(b=`${-u}px`,p=i?h:`${f}px`):c==="left"&&(b=`${n.floating.width+u}px`,p=i?h:`${f}px`),{data:{x:b,y:p}}}});function $a(e){const[t,r="center"]=e.split("-");return[t,r]}var Nf=Da,Cf=_a,Ef=Fa,[Wr,Xh]=vt("Tooltip",[Oa]),Xn=Oa(),za="TooltipProvider",Sf=700,Vo="tooltip.open",[Af,Ba]=Wr(za),Wa=e=>{const{__scopeTooltip:t,delayDuration:r=Sf,skipDelayDuration:n=300,disableHoverableContent:s=!1,children:a}=e,i=d.useRef(!0),l=d.useRef(!1),u=d.useRef(0);return d.useEffect(()=>{const c=u.current;return()=>window.clearTimeout(c)},[]),o.jsx(Af,{scope:t,isOpenDelayedRef:i,delayDuration:r,onOpen:d.useCallback(()=>{window.clearTimeout(u.current),i.current=!1},[]),onClose:d.useCallback(()=>{window.clearTimeout(u.current),u.current=window.setTimeout(()=>i.current=!0,n)},[n]),isPointerInTransitRef:l,onPointerInTransitChange:d.useCallback(c=>{l.current=c},[]),disableHoverableContent:s,children:a})};Wa.displayName=za;var Va="Tooltip",[Zh,Vr]=Wr(Va),An="TooltipTrigger",kf=d.forwardRef((e,t)=>{const{__scopeTooltip:r,...n}=e,s=Vr(An,r),a=Ba(An,r),i=Xn(r),l=d.useRef(null),u=ne(t,l,s.onTriggerChange),c=d.useRef(!1),m=d.useRef(!1),h=d.useCallback(()=>c.current=!1,[]);return d.useEffect(()=>()=>document.removeEventListener("pointerup",h),[h]),o.jsx(Nf,{asChild:!0,...i,children:o.jsx(J.button,{"aria-describedby":s.open?s.contentId:void 0,"data-state":s.stateAttribute,...n,ref:u,onPointerMove:X(e.onPointerMove,x=>{x.pointerType!=="touch"&&!m.current&&!a.isPointerInTransitRef.current&&(s.onTriggerEnter(),m.current=!0)}),onPointerLeave:X(e.onPointerLeave,()=>{s.onTriggerLeave(),m.current=!1}),onPointerDown:X(e.onPointerDown,()=>{s.open&&s.onClose(),c.current=!0,document.addEventListener("pointerup",h,{once:!0})}),onFocus:X(e.onFocus,()=>{c.current||s.onOpen()}),onBlur:X(e.onBlur,s.onClose),onClick:X(e.onClick,s.onClose)})})});kf.displayName=An;var Pf="TooltipPortal",[Jh,Rf]=Wr(Pf,{forceMount:void 0}),Bt="TooltipContent",Ha=d.forwardRef((e,t)=>{const r=Rf(Bt,e.__scopeTooltip),{forceMount:n=r.forceMount,side:s="top",...a}=e,i=Vr(Bt,e.__scopeTooltip);return o.jsx(yt,{present:n||i.open,children:i.disableHoverableContent?o.jsx(qa,{side:s,...a,ref:t}):o.jsx(Tf,{side:s,...a,ref:t})})}),Tf=d.forwardRef((e,t)=>
vendor: 4,318 bytes, line 3
3{const r=Vr(Bt,e.__scopeTooltip),n=Ba(Bt,e.__scopeTooltip),s=d.useRef(null),a=ne(t,s),[i,l]=d.useState(null),{trigger:u,onClose:c}=r,m=s.current,{onPointerInTransitChange:h}=n,x=d.useCallback(()=>{l(null),h(!1)},[h]),f=d.useCallback((b,p)=>{const g=b.currentTarget,y={x:b.clientX,y:b.clientY},v=_f(y,g.getBoundingClientRect()),w=Lf(y,v),N=Ff(p.getBoundingClientRect()),C=zf([...w,...N]);l(C),h(!0)},[h]);return d.useEffect(()=>()=>x(),[x]),d.useEffect(()=>{if(u&&m){const b=g=>f(g,m),p=g=>f(g,u);return u.addEventListener("pointerleave",b),m.addEventListener("pointerleave",p),()=>{u.removeEventListener("pointerleave",b),m.removeEventListener("pointerleave",p)}}},[u,m,f,x]),d.useEffect(()=>{if(i){const b=p=>{const g=p.target,y={x:p.clientX,y:p.clientY},v=u?.contains(g)||m?.contains(g),w=!$f(y,i);v?x():w&&(x(),c())};return document.addEventListener("pointermove",b),()=>document.removeEventListener("pointermove",b)}},[u,m,i,c,x]),o.jsx(qa,{...e,ref:a})}),[Of,If]=Wr(Va,{isInside:!1}),Mf=ec("TooltipContent"),qa=d.forwardRef((e,t)=>{const{__scopeTooltip:r,children:n,"aria-label":s,onEscapeKeyDown:a,onPointerDownOutside:i,...l}=e,u=Vr(Bt,r),c=Xn(r),{onClose:m}=u;return d.useEffect(()=>(document.addEventListener(Vo,m),()=>document.removeEventListener(Vo,m)),[m]),d.useEffect(()=>{if(u.trigger){const h=x=>{x.target?.contains(u.trigger)&&m()};return window.addEventListener("scroll",h,{capture:!0}),()=>window.removeEventListener("scroll",h,{capture:!0})}},[u.trigger,m]),o.jsx(_r,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:a,onPointerDownOutside:i,onFocusOutside:h=>h.preventDefault(),onDismiss:m,children:o.jsxs(Cf,{"data-state":u.stateAttribute,...c,...l,ref:t,style:{...l.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:[o.jsx(Mf,{children:n}),o.jsx(Of,{scope:r,isInside:!0,children:o.jsx(Nc,{id:u.contentId,role:"tooltip",children:s||n})})]})})});Ha.displayName=Bt;var Ua="TooltipArrow",Df=d.forwardRef((e,t)=>{const{__scopeTooltip:r,...n}=e,s=Xn(r);return If(Ua,r).isInside?null:o.jsx(Ef,{...s,...n,ref:t})});Df.displayName=Ua;function _f(e,t){const r=Math.abs(t.top-e.y),n=Math.abs(t.bottom-e.y),s=Math.abs(t.right-e.x),a=Math.abs(t.left-e.x);switch(Math.min(r,n,s,a)){case a:return"left";case s:return"right";case r:return"top";case n:return"bottom";default:throw new Error("unreachable")}}function Lf(e,t,r=5){const n=[];switch(t){case"top":n.push({x:e.x-r,y:e.y+r},{x:e.x+r,y:e.y+r});break;case"bottom":n.push({x:e.x-r,y:e.y-r},{x:e.x+r,y:e.y-r});break;case"left":n.push({x:e.x+r,y:e.y-r},{x:e.x+r,y:e.y+r});break;case"right":n.push({x:e.x-r,y:e.y-r},{x:e.x-r,y:e.y+r});break}return n}function Ff(e){const{top:t,right:r,bottom:n,left:s}=e;return[{x:s,y:t},{x:r,y:t},{x:r,y:n},{x:s,y:n}]}function $f(e,t){const{x:r,y:n}=e;let s=!1;for(let a=0,i=t.length-1;a<t.length;i=a++){const l=t[a],u=t[i],c=l.x,m=l.y,h=u.x,x=u.y;m>n!=x>n&&r<(h-c)*(n-m)/(x-m)+c&&(s=!s)}return s}function zf(e){const t=e.slice();return t.sort((r,n)=>r.x<n.x?-1:r.x>n.x?1:r.y<n.y?-1:r.y>n.y?1:0),Bf(t)}function Bf(e){if(e.length<=1)return e.slice();const t=[];for(let n=0;n<e.length;n++){const s=e[n];for(;t.length>=2;){const a=t[t.length-1],i=t[t.length-2];if((a.x-i.x)*(s.y-i.y)>=(a.y-i.y)*(s.x-i.x))t.pop();else break}t.push(s)}t.pop();const r=[];for(let n=e.length-1;n>=0;n--){const s=e[n];for(;r.length>=2;){const a=r[r.length-1],i=r[r.length-2];if((a.x-i.x)*(s.y-i.y)>=(a.y-i.y)*(s.x-i.x))r.pop();else break}r.push(s)}return r.pop(),t.length===1&&r.length===1&&t[0].x===r[0].x&&t[0].y===r[0].y?t:t.concat(r)}var Wf=Wa,Ga=Ha;const Vf=Wf,Hf=d.forwardRef(({className:e,sideOffset:t=4,...r},n)=>o.jsx(Ga,{ref:n,sideOffset:t,className:ce("z-50 overflow-hidden rounded-md border bg-popover px-3 py-1.5 text-sm text-popover-foreground shadow-md 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]:sli
3de-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...r}));Hf.displayName=Ga.displayName;var Hr=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},qr=typeof window>"u"||"Deno"in globalThis;function we(){}function qf(e,t){return typeof e=="function"?e(t):e}function Uf(e){return typeof e=="number"&&e>=0&&e!==1/0}function Gf(e,t){return Math.max(e+(t||0)-Date.now(),0)}function kn(e,t){return typeof e=="function"?e(t):e}function Kf(e,t){return typeof e=="function"?e(t):e}function Ho(e,t){const{type:r="all",exact:n,fetchStatus:s,predicate:a,queryKey:i,stale:l}=e;if(i){if(n){if(t.queryHash!==Zn(i,t.options))return!1}else if(!rr(t.queryKey,i))return!1}if(r!=="all"){const u=t.isActive();if(r==="active"&&!u||r==="inactive"&&u)return!1}return!(typeof l=="boolean"&&t.isStale()!==l||s&&s!==t.state.fetchStatus||a&&!a(t))}function qo(e,t){const{exact:r,status:n,predicate:s,mutationKey:a}=e;if(a){if(!t.options.mutationKey)return!1;if(r){if(tr(t.options.mutationKey)!==tr(a))return!1}else if(!rr(t.options.mutationKey,a))return!1}return!(n&&t.state.status!==n||s&&!s(t))}function Zn(e,t){return(t?.queryKeyHashFn||tr)(e)}function tr(e){return JSON.stringify(e,(t,r)=>Pn(r)?Object.keys(r).sort().reduce((n,s)=>(n[s]=r[s],n),{}):r)}function rr(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?Object.keys(t).every(r=>rr(e[r],t[r])):!1}function Ka(e,t){if(e===t)return e;const r=Uo(e)&&Uo(t);if(r||Pn(e)&&Pn(t)){const n=r?e:Object.keys(e),s=n.length,a=r?t:Object.keys(t),i=a.length,l=r?[]:{},u=new Set(n);let c=0;for(let m=0;m<i;m++){const h=r?m:a[m];
3(!r&&u.has(h)||r)&&e[h]===void 0&&t[h]===void 0?(l[h]=void 0,c++):(l[h]=Ka(e[h],t[h]),l[h]===e[h]&&e[h]!==void 0&&c++)}return s===i&&c===s?e:l}return t}function Uo(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function Pn(e){if(!Go(e))return!1;const t=e.constructor;if(t===void 0)return!0;const r=t.prototype;return!(!Go(r)||!r.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function Go(e){return Object.prototype.toString.call(e)==="[object Object]"}function Yf(e){return new Promise(t=>{setTimeout(t,e)})}function Qf(e,t,r){return typeof r.structuralSharing=="function"?r.structuralSharing(e,t):r.structuralSharing!==!1?Ka(e,t):t}function Xf(e,t,r=0){const n=[...e,t];return r&&n.length>r?n.slice(1):n}function Zf(e,t,r=0){const n=[t,...e];return r&&n.length>r?n.slice(0,-1):n}var Jn=Symbol();function Ya(e,t){return!e.queryFn&&t?.initialPromise?()=>t.initialPromise:!e.queryFn||e.queryFn===Jn?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}var ut,Ze,Ot,ms,Jf=(ms=class extends Hr{constructor(){super();V(this,ut);V(this,Ze);V(this,Ot);M(this,Ot,t=>{if(!qr&&window.addEventListener){const r=()=>t();return window.addEventListener("visibilitychange",r,!1),()=>{window.removeEventListener("visibilitychange",r)}}})}onSubscribe(){j(this,Ze)||this.setEventListener(j(this,Ot))}onUnsubscribe(){var t;this.hasListeners()||((t=j(this,Ze))==null||t.call(this),M(this,Ze,void 0))}setEventListener(t){var r;M(this,Ot,t),(r=j(this,Ze))==null||r.call(this),M(this,Ze,t(n=>{typeof n=="boolean"?this.setFocused(n):this.onFocus()}))}setFocused(t){j(this,ut)!==t&&(M(this,ut,t),this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(r=>{r(t)})}isFocused(){return typeof j(this,ut)=="boolean"?j(this,ut):globalThis.document?.visibilityState!=="hidden"}},ut=new WeakMap,Ze=new WeakMap,Ot=new WeakMap,ms),Qa=new Jf,It,Je,Mt,ps,em=(ps=class extends Hr{constructor(){super();V(this,It,!0);V(this,Je);V(this,Mt);M(this,Mt,t=>{if(!qr&&window.addEventListener){const r=()=>t(!0),n=()=>t(!1);return window.addEventListener("online",r,!1),window.addEventListener("offline",n,!1),()=>{window.removeEventListener("online",r),window.removeEventListener("offline",n)}}})}onSubscribe(){j(this,Je)||this.setEventListener(j(this,Mt))}onUnsubscribe(){var t;this.hasListeners()||((t=j(this,Je))==null||t.call(this),M(this,Je,void 0))}setEventListener(t){var r;M(this,Mt,t),(r=j(this,Je))==null||r.call(this),M(this,Je,t(this.setOnline.bind(this)))}setOnline(t){j(this,It)!==t&&(M(this,It,t),this.listeners.forEach(n=>{n(t)}))}isOnline(){return j(this,It)}},It=new WeakMap,Je=new WeakMap,Mt=new WeakMap,ps),Tr=new em;function tm(){let e,t;const r=new Promise((s,a)=>{e=s,t=a});r.status="pending",r.catch(()=>{});function n(s){Object.assign(r,s),delete r.resolve,delete r.reject}return r.resolve=s=>{n({status:"fulfilled",value:s}),e(s)},r.reject=s=>{n({status:"rejected",reason:s}),t(s)},r}function rm(e){return Math.min(1e3*2**e,3e4)}function Xa(e){return(e??"online")==="online"?Tr.isOnline():!0}var Za=class extends Error{constructor(e){super("CancelledError"),this.revert=e?.revert,this.silent=e?.silent}};function cn(e){return e instanceof Za}function Ja(e){let t=!1,r=0,n=!1,s;const a=tm(),i=p=>{n||(x(new Za(p)),e.abort?.())},l=()=>{t=!0},u=()=>{t=!1},c=()=>Qa.isFocused()&&(e.networkMode==="always"||Tr.isOnline())&&e.canRun(),m=()=>Xa(e.networkMode)&&e.canRun(),h=p=>{n||(n=!0,e.onSuccess?.(p),s?.(),a.resolve(p))},x=p=>{n||(n=!0,e.onError?.(p),s?.(),a.reject(p))},f=()=>new Promise(p=>{s=g=>{(n||c())&&p(g)},e.onPause?.()}).then(()=>{s=void 0,n||e.onContinue?.()}),b=()=>{if(n)return;let p;const g=r===0?e.initialPromise:void 0;try{p=g??e.fn()}catch(y){p=Promise.reject(y)}Promise.resolve(p).then(h).catch(y=>{if(n)return;const v=e.retry??(qr?0:3),w=e.retryDelay??rm,N=typeof w=="function"?w(r,y):w,C=v===!0||typeof v=="number"&&r<v||typeof v=="function"&&v(r,y);if(t||!C){x(y);return}r++,e.onFail?.(r,y),Yf(N).then(()=>c()?void 0:f()).then(()=>{t?x(y):b()})})};return{promise:a,cancel:i,continue:()=>(s?.(),a),cancelRetry:l,continueRetry:u,canStart:m,start:()=>(m()?b():f().then(b),a)}}var nm=e=>setTimeout(e,0);function om(){let e=[],t=0,r=l=>{l()},n=l=>{l()},s=nm;const a=l=>{t?e.push(l):s(()=>{r(l)})},i=()=>{const l=e;e=[],l.length&&s(()=>{n(()=>{l.forEach(u=>{r(u)}
3)})})};return{batch:l=>{let u;t++;try{u=l()}finally{t--,t||i()}return u},batchCalls:l=>(...u)=>{a(()=>{l(...u)})},schedule:a,setNotifyFunction:l=>{r=l},setBatchNotifyFunction:l=>{n=l},setScheduler:l=>{s=l}}}var le=om(),ft,hs,ei=(hs=class{constructor(){V(this,ft)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),Uf(this.gcTime)&&M(this,ft,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(qr?1/0:5*60*1e3))}clearGcTimeout(){j(this,ft)&&(clearTimeout(j(this,ft)),M(this,ft,void 0))}},ft=new WeakMap,hs),Dt,mt,he,pt,ae,nr,ht,je,$e,gs,sm=(gs=class extends ei{constructor(t){super();V(this,je);V(this,Dt);V(this,mt);V(this,he);V(this,pt);V(this,ae);V(this,nr);V(this,ht);M(this,ht,!1),M(this,nr,t.defaultOptions),this.setOptions(t.options),this.observers=[],M(this,pt,t.client),M(this,he,j(this,pt).getQueryCache()),this.queryKey=t.queryKey,this.queryHash=t.queryHash,M(this,Dt,im(this.options)),this.state=t.state??j(this,Dt),this.scheduleGc()}get meta(){return this.options.meta}get promise(){return j(this,ae)?.promise}setOptions(t){this.options={...j(this,nr),...t},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&j(this,he).remove(this)}setData(t,r){const n=Qf(this.state.data,t,this.options);return se(this,je,$e).call(this,{data:n,type:"success",dataUpdatedAt:r?.updatedAt,manual:r?.manual}),n}setState(t,r){se(this,je,$e).call(this,{type:"setState",state:t,setStateOptions:r})}cancel(t){const r=j(this,ae)?.promise;return j(this,ae)?.cancel(t),r?r.then(we).catch(we):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(j(this,Dt))}isActive(){return this.observers.some(t=>Kf(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===Jn||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStatic(){return this.getObserversCount()>0?this.observers.some(t=>kn(t.options.staleTime,this)==="static"):!1}isStale(){return this.getObserversCount()>0?this.observers.some(t=>t.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(t=0){return this.state.data===void 0?!0:t==="static"?!1:this.state.isInvalidated?!0:!Gf(this.state.dataUpdatedAt,t)}onFocus(){this.observers.find(r=>r.shouldFetchOnWindowFocus())?.refetch({cancelRefetch:!1}),j(this,ae)?.continue()}onOnline(){this.observers.find(r=>r.shouldFetchOnReconnect())?.refetch({cancelRefetch:!1}),j(this,ae)?.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),j(this,he).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(r=>r!==t),this.observers.length||(j(this,ae)&&(j(this,ht)?j(this,ae).cancel({revert:!0}):j(this,ae).cancelRetry()),this.scheduleGc()),j(this,he).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||se(this,je,$e).call(this,{type:"invalidate"})}fetch(t,r){if(this.state.fetchStatus!=="idle"){if(this.state.data!==void 0&&r?.cancelRefetch)this.cancel({silent:!0});else if(j(this,ae))return j(this,ae).continueRetry(),j(this,ae).promise}if(t&&this.setOptions(t),!this.options.queryFn){const c=this.observers.find(m=>m.options.queryFn);c&&this.setOptions(c.options)}const n=new AbortController,s=c=>{Object.defineProperty(c,"signal",{enumerable:!0,get:()=>(M(this,ht,!0),n.signal)})},a=()=>{const c=Ya(this.options,r),h=(()=>{const x={client:j(this,pt),queryKey:this.queryKey,meta:this.meta};return s(x),x})();return M(this,ht,!1),this.options.persister?this.options.persister(c,h,this):c(h)},l=(()=>{const c={fetchOptions:r,options:this.options,queryKey:this.queryKey,client:j(this,pt),state:this.state,fetchFn:a};return s(c),c})();this.options.behavior?.onFetch(l,this),M(this,mt,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==l.fetchOptions?.meta)&&se(this,je,$e).call(this,{type:"fetch",meta:l.fetchOptions?.meta});const u=c=>{cn(c)&&c.silent||se(this,je,$e).call(this,{type:"error",error:c}),cn(c)||(j(this,he).config.onError?.(c,this),j(this,he).config.onSettled?.(this.state.data,c,this)),this.scheduleGc()};return M(this,ae,Ja({initialPromise:r?.initialPromise,fn:l.fetchFn,abort:n.abort.bind(n),onSuccess:c=>{if(c===void 0){u(new Error(`${this.queryHash} data is undefined`));return}try{this.setData(c)}catch(m){u(m);return}j(this,he).config.onSuccess?.(c,this),j(this,he).config.onSettled?.(c,this.state.error,this),this.scheduleGc()},onError:u,onFail:(c,m)=>{se(this,je,$e).call(this,{type:"failed",failureCount:c,error:m})},onPause:()=>{se(this,je,$e).call(this,{type:"pause"})},onContinue:()=>{se(this,je,$e).call(this,{type:"continue"})},retry:l.options.retry,retryDelay:l.options.retryDelay,networkMode:l.options.networkMode,canRun:()=>!0})),j(this,ae).start()}}
vendor: 4,156 bytes, line 3
3,Dt=new WeakMap,mt=new WeakMap,he=new WeakMap,pt=new WeakMap,ae=new WeakMap,nr=new WeakMap,ht=new WeakMap,je=new WeakSet,$e=function(t){const r=n=>{switch(t.type){case"failed":return{...n,fetchFailureCount:t.failureCount,fetchFailureReason:t.error};case"pause":return{...n,fetchStatus:"paused"};case"continue":return{...n,fetchStatus:"fetching"};case"fetch":return{...n,...am(n.data,this.options),fetchMeta:t.meta??null};case"success":return M(this,mt,void 0),{...n,data:t.data,dataUpdateCount:n.dataUpdateCount+1,dataUpdatedAt:t.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const s=t.error;return cn(s)&&s.revert&&j(this,mt)?{...j(this,mt),fetchStatus:"idle"}:{...n,error:s,errorUpdateCount:n.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:n.fetchFailureCount+1,fetchFailureReason:s,fetchStatus:"idle",status:"error"};case"invalidate":return{...n,isInvalidated:!0};case"setState":return{...n,...t.state}}};this.state=r(this.state),le.batch(()=>{this.observers.forEach(n=>{n.onQueryUpdate()}),j(this,he).notify({query:this,type:"updated",action:t})})},gs);function am(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:Xa(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function im(e){const t=typeof e.initialData=="function"?e.initialData():e.initialData,r=t!==void 0,n=r?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:r?n??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:r?"success":"pending",fetchStatus:"idle"}}var ke,xs,lm=(xs=class extends Hr{constructor(t={}){super();V(this,ke);this.config=t,M(this,ke,new Map)}build(t,r,n){const s=r.queryKey,a=r.queryHash??Zn(s,r);let i=this.get(a);return i||(i=new sm({client:t,queryKey:s,queryHash:a,options:t.defaultQueryOptions(r),state:n,defaultOptions:t.getQueryDefaults(s)}),this.add(i)),i}add(t){j(this,ke).has(t.queryHash)||(j(this,ke).set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const r=j(this,ke).get(t.queryHash);r&&(t.destroy(),r===t&&j(this,ke).delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){le.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return j(this,ke).get(t)}getAll(){return[...j(this,ke).values()]}find(t){const r={exact:!0,...t};return this.getAll().find(n=>Ho(r,n))}findAll(t={}){const r=this.getAll();return Object.keys(t).length>0?r.filter(n=>Ho(t,n)):r}notify(t){le.batch(()=>{this.listeners.forEach(r=>{r(t)})})}onFocus(){le.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){le.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},ke=new WeakMap,xs),Pe,ie,gt,Re,Qe,bs,cm=(bs=class extends ei{constructor(t){super();V(this,Re);V(this,Pe);V(this,ie);V(this,gt);this.mutationId=t.mutationId,M(this,ie,t.mutationCache),M(this,Pe,[]),this.state=t.state||dm(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){j(this,Pe).includes(t)||(j(this,Pe).push(t),this.clearGcTimeout(),j(this,ie).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){M(this,Pe,j(this,Pe).filter(r=>r!==t)),this.scheduleGc(),j(this,ie).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){j(this,Pe).length||(this.state.status==="pending"?this.scheduleGc():j(this,ie).remove(this))}continue(){return j(this,gt)?.continue()??this.execute(this.state.variables)}async execute(t){const r=()=>{se(this,Re,Qe).call(this,{type:"continue"})};M(this,gt,Ja({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(new Error("No mutationFn found")),onFail:(a,i)=>{se(this,Re,Qe).call(this,{type:"failed",failureCount:a,error:i})},onPause:()=>{se(this,Re,Qe).call(this,{type:"pause"})},onContinue:r,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>
3j(this,ie).canRun(this)}));const n=this.state.status==="pending",s=!j(this,gt).canStart();try{if(n)r();else{se(this,Re,Qe).call(this,{type:"pending",variables:t,isPaused:s}),await j(this,ie).config.onMutate?.(t,this);const i=await this.options.onMutate?.(t);i!==this.state.context&&se(this,Re,Qe).call(this,{type:"pending",context:i,variables:t,isPaused:s})}const a=await j(this,gt).start();return await j(this,ie).config.onSuccess?.(a,t,this.state.context,this),await this.options.onSuccess?.(a,t,this.state.context),await j(this,ie).config.onSettled?.(a,null,this.state.variables,this.state.context,this),await this.options.onSettled?.(a,null,t,this.state.context),se(this,Re,Qe).call(this,{type:"success",data:a}),a}catch(a){try{throw await j(this,ie).config.onError?.(a,t,this.state.context,this),await this.options.onError?.(a,t,this.state.context),await j(this,ie).config.onSettled?.(void 0,a,this.state.variables,this.state.context,this),await this.options.onSettled?.(void 0,a,t,this.state.context),a}finally{se(this,Re,Qe).call(this,{type:"error",error:a})}}finally{j(this,ie).runNext(this)}}},Pe=new WeakMap,ie=new WeakMap,gt=new WeakMap,Re=new WeakSet,Qe=function(t){const r=n=>{switch(t.type){case"failed":return{...n,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...n,isPaused:!0};case"continue":return{...n,isPaused:!1};case"pending":return{...n,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:t.isPaused,status:"pending",variables:t.variables,submittedAt:Date.now()};case"success":return{...n,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...n,data:void 0,error:t.error,failureCount:n.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"}}};this.state=r(this.state),le.batch(()=>{j(this,Pe).forEach(n=>{n.onMutationUpdate(t)}),j(this,ie).notify({mutation:this,type:"updated",action:t})})},bs);function dm(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var ze,Ne,or,vs,um=(vs=class extends Hr{constructor(t={}){super();V(this,ze);V(this,Ne);V(this,or);this.config=t,M(this,ze,new Set),M(this,Ne,new Map),M(this,or,0)}build(t,r,n){const s=new cm({mutationCache:this,mutationId:++cr(this,or)._,options:t.defaultMutationOptions(r),state:n});return this.add(s),s}add(t){j(this,ze).add(t);const r=pr(t);if(typeof r=="string"){const n=j(this,Ne).get(r);n?n.push(t):j(this,Ne).set(r,[t])}this.notify({type:"added",mutation:t})}remove(t){if(j(this,ze).delete(t)){const r=pr(t);if(typeof r=="string"){const n=j(this,Ne).get(r);if(n)if(n.length>1){const s=n.indexOf(t);s!==-1&&n.splice(s,1)}else n[0]===t&&j(this,Ne).delete(r)}}this.notify({type:"removed",mutation:t})}canRun(t){const r=pr(t);if(typeof r=="string"){const s=j(this,Ne).get(r)?.find(a=>a.state.status==="pending");return!s||s===t}else return!0}runNext(t){const r=pr(t);return typeof r=="string"?j(this,Ne).get(r)?.find(s=>s!==t&&s.state.isPaused)?.continue()??Promise.resolve():Promise.resolve()}clear(){le.batch(()=>{j(this,ze).forEach(t=>{this.notify({type:"removed",mutation:t})}),j(this,ze).clear(),j(this,Ne).clear()})}getAll(){return Array.from(j(this,ze))}find(t){const r={exact:!0,...t};return this.getAll().find(n=>qo(r,n))}findAll(t={}){return this.getAll().filter(r=>qo(t,r))}notify(t){le.batch(()=>{this.listeners.forEach(r=>{r(t)})})}resumePausedMutations(){const t=this.getAll().filter(r=>
3r.state.isPaused);return le.batch(()=>Promise.all(t.map(r=>r.continue().catch(we))))}},ze=new WeakMap,Ne=new WeakMap,or=new WeakMap,vs);function pr(e){return e.options.scope?.id}function Ko(e){return{onFetch:(t,r)=>{const n=t.options,s=t.fetchOptions?.meta?.fetchMore?.direction,a=t.state.data?.pages||[],i=t.state.data?.pageParams||[];let l={pages:[],pageParams:[]},u=0;const c=async()=>{let m=!1;const h=b=>{Object.defineProperty(b,"signal",{enumerable:!0,get:()=>(t.signal.aborted?m=!0:t.signal.addEventListener("abort",()=>{m=!0}),t.signal)})},x=Ya(t.options,t.fetchOptions),f=async(b,p,g)=>{if(m)return Promise.reject();if(p==null&&b.pages.length)return Promise.resolve(b);const v=(()=>{const S={client:t.client,queryKey:t.queryKey,pageParam:p,direction:g?"backward":"forward",meta:t.options.meta};return h(S),S})(),w=await x(v),{maxPages:N}=t.options,C=g?Zf:Xf;return{pages:C(b.pages,w,N),pageParams:C(b.pageParams,p,N)}};if(s&&a.length){const b=s==="backward",p=b?fm:Yo,g={pages:a,pageParams:i},y=p(n,g);l=await f(g,y,b)}else{const b=e??a.length;do{const p=u===0?i[0]??n.initialPageParam:Yo(n,l);if(u>0&&p==null)break;l=await f(l,p),u++}while(u<b)}return l};t.options.persister?t.fetchFn=()=>t.options.persister?.(c,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},r):t.fetchFn=c}}}function Yo(e,{pages:t,pageParams:r}){const n=t.length-1;return t.length>0?e.getNextPageParam(t[n],t,r[n],r):void 0}function fm(e,{pages:t,pageParams:r}){return t.length>0?e.getPreviousPageParam?.(t[0],t,r[0],r):void 0}var te,et,tt,_t,Lt,rt,Ft,$t,ys,mm=(ys=class{constructor(e={}){V(this,te);V(this,et);V(this,tt);V(this,_t);V(this,Lt);V(this,rt);V(this,Ft);V(this,$t);M(this,te,e.queryCache||new lm),M(this,et,e.mutationCache||new um),M(this,tt,e.defaultOptions||{}),M(this,_t,new Map),M(this,Lt,new Map),M(this,rt,0)}mount(){cr(this,rt)._++,j(this,rt)===1&&(M(this,Ft,Qa.subscribe(async e=>{e&&(await this.resumePausedMutations(),j(this,te).onFocus())})),M(this,$t,Tr.subscribe(async e=>{e&&(await this.resumePausedMutations(),j(this,te).onOnline())})))}unmount(){var e,t;cr(this,rt)._--,j(this,rt)===0&&((e=j(this,Ft))==null||e.call(this),M(this,Ft,void 0),(t=j(this,$t))==null||t.call(this),M(this,$t,void 0))}isFetching(e){return j(this,te).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return j(this,et).findAll({...e,status:"pending"}).length}getQueryData(e){const t=this.defaultQueryOptions({queryKey:e});return j(this,te).get(t.queryHash)?.state.data}ensureQueryData(e){const t=this.defaultQueryOptions(e),r=j(this,te).build(this,t),n=r.state.data;return n===void 0?this.fetchQuery(e):(e.revalidateIfStale&&r.isStaleByTime(kn(t.staleTime,r))&&this.prefetchQuery(t),Promise.resolve(n))}getQueriesData(e){return j(this,te).findAll(e).map(({queryKey:t,state:r})=>{const n=r.data;return[t,n]})}setQueryData(e,t,r){const n=this.defaultQueryOptions({queryKey:e}),a=j(this,te).get(n.queryHash)?.state.data,i=qf(t,a);if(i!==void 0)return j(this,te).build(this,n).setData(i,{...r,manual:!0})}setQueriesData(e,t,r){return le.batch(()=>j(this,te).findAll(e).map(({queryKey:n})=>[n,this.setQueryData(n,t,r)]))}getQueryState(e){const t=this.defaultQueryOptions({queryKey:e});return j(this,te).get(t.queryHash)?.state}removeQueries(e){const t=j(this,te);le.batch(()=>{t.findAll(e).forEach(r=>{t.remove(r)})})}resetQueries(e,t){const r=j(this,te);return le.batch(()=>(r.findAll(e).forEach(n=>{n.reset()}),this.refetchQueries({type:"active",...e},t)))}cancelQueries(e,t={}){const r={revert:!0,...t},n=le.batch(()=>j(this,te).findAll(e).map(s=>s.cancel(r)));return Promise.all(n).then(we).catch(we)}invalidateQueries(e,t={}){return le.batch(()=>(j(this,te).findAll(e).forEach(r=>{r.invalidate()}),e?.refetchType==="none"?Promise.resolve():this.refetchQueries({...e,type:e?.refetchType??e?.type??"active"},t)))}refetchQueries(e,t={}){const r={...t,cancelRefetch:t.cancelRefetch??!0},n=le.batch(()=>j(this,te).findAll(e).filter(s=>!s.isDisabled()&&!s.isStatic()).map(s=>{let a=s.fetch(void 0,r);return r.throwOnError||(a=a.catch(we)),s.state.fetchStatus==="paused"?Promise.resolve():a}));return Promise.all(n).then(we)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const r=j(this,te).build(this,t);return r.isStaleByTime(kn(t.staleTime,r))?r.fetch(t):Promise.resolve(r.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(we).catch(we)}
3fetchInfiniteQuery(e){return e.behavior=Ko(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(we).catch(we)}ensureInfiniteQueryData(e){return e.behavior=Ko(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return Tr.isOnline()?j(this,et).resumePausedMutations():Promise.resolve()}getQueryCache(){return j(this,te)}getMutationCache(){return j(this,et)}getDefaultOptions(){return j(this,tt)}setDefaultOptions(e){M(this,tt,e)}setQueryDefaults(e,t){j(this,_t).set(tr(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...j(this,_t).values()],r={};return t.forEach(n=>{rr(e,n.queryKey)&&Object.assign(r,n.defaultOptions)}),r}setMutationDefaults(e,t){j(this,Lt).set(tr(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...j(this,Lt).values()],r={};return t.forEach(n=>{rr(e,n.mutationKey)&&Object.assign(r,n.defaultOptions)}),r}defaultQueryOptions(e){if(e._defaulted)return e;const t={...j(this,tt).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=Zn(t.queryKey,t)),t.refetchOnReconnect===void 0&&(t.refetchOnReconnect=t.networkMode!=="always"),t.throwOnError===void 0&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),t.queryFn===Jn&&(t.enabled=!1),t}defaultMutationOptions(e){return e?._defaulted?e:{...j(this,tt).mutations,...e?.mutationKey&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){j(this,te).clear(),j(this,et).clear()}},te=new WeakMap,et=new WeakMap,tt=new WeakMap,_t=new WeakMap,Lt=new WeakMap,rt=new WeakMap,Ft=new WeakMap,$t=new WeakMap,ys),pm=d.createContext(void 0),hm=({client:e,children:t})=>(d.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),o.jsx(pm.Provider,{value:e,children:t}));const gm=()=>{const{pathname:e}=Ns();return d.useEffect(()=>{window.scrollTo(0,0)},[e]),null},xm=ia("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-lg text-sm font-semibold ring-offset-background transition-all duration-300 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90 hover:shadow-lg hover:shadow-primary/20",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-border bg-transparent hover:bg-secondary hover:text-secondary-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-secondary hover:text-secondary-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-10 px-5 py-2",sm:"h-9 rounded-md px-4",lg:"h-12 rounded-lg px-8 text-base",xl:"h-14 roun
3ded-xl px-10 text-lg",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}}),Wt=d.forwardRef(({className:e,variant:t,size:r,asChild:n=!1,...s},a)=>{const i=n?Zl:"button";return o.jsx(i,{className:ce(xm({variant:t,size:r,className:e})),ref:a,...s})});Wt.displayName="Button";const ti="/assets/logo-B-3UvNl1.png";var dn="focusScope.autoFocusOnMount",un="focusScope.autoFocusOnUnmount",Qo={bubbles:!1,cancelable:!0},bm="FocusScope",ri=d.forwardRef((e,t)=>{const{loop:r=!1,trapped:n=!1,onMountAutoFocus:s,onUnmountAutoFocus:a,...i}=e,[l,u]=d.useState(null),c=Me(s),m=Me(a),h=d.useRef(null),x=ne(t,p=>u(p)),f=d.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;d.useEffect(()=>{if(n){let p=function(w){if(f.paused||!l)return;const N=w.target;l.contains(N)?h.current=N:Xe(h.current,{select:!0})},g=function(w){if(f.paused||!l)return;const N=w.relatedTarget;N!==null&&(l.contains(N)||Xe(h.current,{select:!0}))},y=function(w){if(document.activeElement===document.body)for(const C of w)C.removedNodes.length>0&&Xe(l)};document.addEventListener("focusin",p),document.addEventListener("focusout",g);const v=new MutationObserver(y);return l&&v.observe(l,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",p),document.removeEventListener("focusout",g),v.disconnect()}}},[n,l,f.paused]),d.useEffect(()=>{if(l){Zo.add(f);const p=document.activeElement;if(!l.contains(p)){const y=new CustomEvent(dn,Qo);l.addEventListener(dn,c),l.dispatchEvent(y),y.defaultPrevented||(vm(Cm(ni(l)),{select:!0}),document.activeElement===p&&Xe(l))}return()=>{l.removeEventListener(dn,c),setTimeout(()=>{const y=new CustomEvent(un,Qo);l.addEventListener(un,m),l.dispatchEvent(y),y.defaultPrevented||Xe(p??document.body,{select:!0}),l.removeEventListener(un,m),Zo.remove(f)},0)}}},[l,c,m,f]);const b=d.useCallback(p=>{if(!r&&!n||f.paused)return;const g=p.key==="Tab"&&!p.altKey&&!p.ctrlKey&&!p.metaKey,y=document.activeElement;if(g&&y){const v=p.currentTarget,[w,N]=ym(v);w&&N?!p.shiftKey&&y===N?(p.preventDefault(),r&&Xe(w,{select:!0})):p.shiftKey&&y===w&&(p.preventDefault(),r&&Xe(N,{select:!0})):y===v&&p.preventDefault()}},[r,n,f.paused]);return o.jsx(J.div,{tabIndex:-1,...i,ref:x,onKeyDown:b})});ri.displayName=bm;function vm(e,{select:t=!1}={}){const r=document.activeElement;for(const n of e)if(Xe(n,{select:t}),document.activeElement!==r)return}function ym(e){const t=ni(e),r=Xo(t,e),n=Xo(t.reverse(),e);return[r,n]}function ni(e){const t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:n=>{const s=n.tagName==="INPUT"&&n.type==="hidden";return n.disabled||n.hidden||s?NodeFilter.FILTER_SKIP:n.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)t.push(r.currentNode);return t}function Xo(e,t){for(const r of e)if(!wm(r,{upTo:t}))return r}function wm(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function jm(e){return e instanceof HTMLInputElement&&"select"in e}function Xe(e,{select:t=!1}={}){if(e&&e.focus){const r=document.activeElement;e.focus({preventScroll:!0}),e!==r&&jm(e)&&t&&e.select()}}var Zo=Nm();function Nm(){let e=[];return{add(t){const r=e[0];t!==r&&r?.pause(),e=Jo(e,t),e.unshift(t)},remove(t){e=Jo(e,t),e[0]?.resume()}}}function Jo(e,t){const r=[...e],n=r.indexOf(t);return n!==-1&&r.splice(n,1),r}function Cm(e){return e.filter(t=>t.tagName!=="A")}var fn=0;function Em(){d.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??es()),document.body.insertAdjacentElement("beforeend",e[1]??es()),fn++,()=>{fn===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),fn--}},[])}function es(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}var Te=function(){return Te=Object.assign||function(t){for(var r,n=1,s=arguments.length;n<s;n++){r=arguments[n];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(t[a]=r[a])}return t},Te.apply(this,arguments)};function oi(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var s=0,n=Object.getOwnPropertySymbols(e);s<n.length;s++)t.indexOf(n[s])<0&&Object.prototype.propertyIsEnumerable.call(e,n[s])&&(r[n[s]]=e[n[s]]);return r}function Sm(e,t,r){if(r||arguments.length===2)for(var n=0,s=t.length,a;n<s;n++)(a||!(n in t))&&(a||(a=Array.prototype.slice.call(t,0,n)),a[n]=t[n]);return e.concat(a||Array.prototype.slice.call(t))}var Cr="right-scroll-bar-position",Er="width-before-scroll-bar",Am="with-scroll-bars-hidden",km="--removed-body-scroll-bar-size";function mn(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function Pm(e,t){var r=d.useState(function(){return{value:e,callback:t,facade:{get current(){return r.value},set current(n){var s=r.value;s!==n&&(r.value=n,r.callback(n,s))}}}})[0];return r.callback=t,r.facade}var Rm=typeof window<"u"?d.useLayoutEffect:d.useEffect,ts=new WeakMap;function Tm(e,t){var r=Pm(null,function(n){return e.forEach(function(s){return mn(s,n)})});return Rm(function(){var n=ts.get(r);if(n){var s=new Set(n),a=new Set(e),i=r.current;
vendor: 2,304 bytes, line 3
3s.forEach(function(l){a.has(l)||mn(l,null)}),a.forEach(function(l){s.has(l)||mn(l,i)})}ts.set(r,e)},[e]),r}function Om(e){return e}function Im(e,t){t===void 0&&(t=Om);var r=[],n=!1,s={read:function(){if(n)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return r.length?r[r.length-1]:e},useMedium:function(a){var i=t(a,n);return r.push(i),function(){r=r.filter(function(l){return l!==i})}},assignSyncMedium:function(a){for(n=!0;r.length;){var i=r;r=[],i.forEach(a)}r={push:function(l){return a(l)},filter:function(){return r}}},assignMedium:function(a){n=!0;var i=[];if(r.length){var l=r;r=[],l.forEach(a),i=r}var u=function(){var m=i;i=[],m.forEach(a)},c=function(){return Promise.resolve().then(u)};c(),r={push:function(m){i.push(m),c()},filter:function(m){return i=i.filter(m),r}}}};return s}function Mm(e){e===void 0&&(e={});var t=Im(null);return t.options=Te({async:!0,ssr:!1},e),t}var si=function(e){var t=e.sideCar,r=oi(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var n=t.read();if(!n)throw new Error("Sidecar medium not found");return d.createElement(n,Te({},r))};si.isSideCarExport=!0;function Dm(e,t){return e.useMedium(t),si}var ai=Mm(),pn=function(){},Ur=d.forwardRef(function(e,t){var r=d.useRef(null),n=d.useState({onScrollCapture:pn,onWheelCapture:pn,onTouchMoveCapture:pn}),s=n[0],a=n[1],i=e.forwardProps,l=e.children,u=e.className,c=e.removeScrollBar,m=e.enabled,h=e.shards,x=e.sideCar,f=e.noRelative,b=e.noIsolation,p=e.inert,g=e.allowPinchZoom,y=e.as,v=y===void 0?"div":y,w=e.gapMode,N=oi(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),C=x,S=Tm([r,t]),A=Te(Te({},N),s);return d.createElement(d.Fragment,null,m&&d.createElement(C,{sideCar:ai,removeScrollBar:c,shards:h,noRelative:f,noIsolation:b,inert:p,setCallbacks:a,allowPinchZoom:!!g,lockRef:r,gapMode:w}),i?d.cloneElement(d.Children.only(l),Te(Te({},A),{ref:S})):d.createElement(v,Te({},A,{className:u,ref:S}),l))});Ur.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};Ur.classNames={fullWidth:Er,zeroRight:Cr};var _m=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};
vendor: 4,726 bytes, lines 3-43
3function Lm(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=_m();return t&&e.setAttribute("nonce",t),e}function Fm(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function $m(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var zm=function(){var e=0,t=null;return{add:function(r){e==0&&(t=Lm())&&(Fm(t,r),$m(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},Bm=function(){var e=zm();return function(t,r){d.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&r])}},ii=function(){var e=Bm(),t=function(r){var n=r.styles,s=r.dynamic;return e(n,s),null};return t},Wm={left:0,top:0,right:0,gap:0},hn=function(e){return parseInt(e||"",10)||0},Vm=function(e){var t=window.getComputedStyle(document.body),r=t[e==="padding"?"paddingLeft":"marginLeft"],n=t[e==="padding"?"paddingTop":"marginTop"],s=t[e==="padding"?"paddingRight":"marginRight"];return[hn(r),hn(n),hn(s)]},Hm=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return Wm;var t=Vm(e),r=document.documentElement.clientWidth,n=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,n-r+t[2]-t[0])}},qm=ii(),Tt="data-scroll-locked",Um=function(e,t,r,n){var s=e.left,a=e.top,i=e.right,l=e.gap;return r===void 0&&(r="margin"),`
4  .`.concat(Am,` {
5   overflow: hidden `).concat(n,`;
6   padding-right: `).concat(l,"px ").concat(n,`;
7  }
8  body[`).concat(Tt,`] {
9    overflow: hidden `).concat(n,`;
10    overscroll-behavior: contain;
11    `).concat([t&&"position: relative ".concat(n,";"),r==="margin"&&`
12    padding-left: `.concat(s,`px;
13    padding-top: `).concat(a,`px;
14    padding-right: `).concat(i,`px;
15    margin-left:0;
16    margin-top:0;
17    margin-right: `).concat(l,"px ").concat(n,`;
18    `),r==="padding"&&"padding-right: ".concat(l,"px ").concat(n,";")].filter(Boolean).join(""),`
19  }
20  
21  .`).concat(Cr,` {
22    right: `).concat(l,"px ").concat(n,`;
23  }
24  
25  .`).concat(Er,` {
26    margin-right: `).concat(l,"px ").concat(n,`;
27  }
28  
29  .`).concat(Cr," .").concat(Cr,` {
30    right: 0 `).concat(n,`;
31  }
32  
33  .`).concat(Er," .").concat(Er,` {
34    margin-right: 0 `).concat(n,`;
35  }
36  
37  body[`).concat(Tt,`] {
38    `).concat(km,": ").concat(l,`px;
39  }
40`)},rs=function(){var e=parseInt(document.body.getAttribute(Tt)||"0",10);return isFinite(e)?e:0},Gm=function(){d.useEffect(function(){return document.body.setAttribute(Tt,(rs()+1).toString()),function(){var e=rs()-1;e<=0?document.body.removeAttribute(Tt):document.body.setAttribute(Tt,e.toString())}},[])},Km=function(e){var t=e.noRelative,r=e.noImportant,n=e.gapMode,s=n===void 0?"margin":n;Gm();var a=d.useMemo(function(){return Hm(s)},[s]);return d.createElement(qm,{styles:Um(a,!t,s,r?"":"!important")})},Rn=!1;if(typeof window<"u")try{var hr=Object.defineProperty({},"passive",{get:function(){return Rn=!0,!0}});window.addEventListener("test",hr,hr),window.removeEventListener("test",hr,hr)}catch{Rn=!1}var St=Rn?{passive:!1}:!1,Ym=function(e){return e.tagName==="TEXTAREA"},li=function(e,t){if(!(e instanceof Element))return!1;var r=window.getComputedStyle(e);return r[t]!=="hidden"&&!(r.overflowY===r.overflowX&&!Ym(e)&&r[t]==="visible")},Qm=function(e){return li(e,"overflowY")},Xm=function(e){return li(e,"overflowX")},ns=function(e,t){var r=t.ownerDocument,n=t;do{typeof ShadowRoot<"u"&&n instanceof ShadowRoot&&(n=n.host);var s=ci(e,n);if(s){var a=di(e,n),i=a[1],l=a[2];if(i>l)return!0}n=n.parentNode}while(n&&n!==r.body);return!1},Zm=function(e){var t=e.scrollTop,r=e.scrollHeight,n=e.clientHeight;return[t,r,n]},Jm=function(e){var t=e.scrollLeft,r=e.scrollWidth,n=e.clientWidth;return[t,r,n]},ci=function(e,t){return e==="v"?Qm(t):Xm(t)},di=function(e,t){return e==="v"?Zm(t):Jm(t)},ep=function(e,t){return e==="h"&&t==="rtl"?-1:1},tp=function(e,t,r,n,s){var a=ep(e,window.getComputedStyle(t).direction),i=a*n,l=r.target,u=t.contains(l),c=!1,m=i>0,h=0,x=0;do{if(!l)break;var f=di(e,l),b=f[0],p=f[1],g=f[2],y=p-g-a*b;(b||y)&&ci(e,l)&&(h+=y,x+=b);var v=l.parentNode;l=v&&v.nodeType===Node.DOCUMENT_FRAGMENT_NODE?v.host:v}while(!u&&l!==document.body||u&&(t.contains(l)||t===l));return(m&&(Math.abs(h)<1||!s)||!m&&(Math.abs(x)<1||!s))&&(c=!0),c},gr=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},os=function(e){return[e.deltaX,e.deltaY]},ss=function(e){return e&&"current"in e?e.current:e},rp=function(e,t){return e[0]===t[0]&&e[1]===t[1]},np=function(e){return`
41  .block-interactivity-`.concat(e,` {pointer-events: none;}
42  .allow-interactivity-`).concat(e,` {pointer-events: all;}
43`)},op=0,At=[];function sp(e){var t=d.useRef([]),r=d.useRef([0,0]),n=d.useRef(),s=d.use
vendor: 4,816 bytes, line 43
43State(op++)[0],a=d.useState(ii)[0],i=d.useRef(e);d.useEffect(function(){i.current=e},[e]),d.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(s));var p=Sm([e.lockRef.current],(e.shards||[]).map(ss),!0).filter(Boolean);return p.forEach(function(g){return g.classList.add("allow-interactivity-".concat(s))}),function(){document.body.classList.remove("block-interactivity-".concat(s)),p.forEach(function(g){return g.classList.remove("allow-interactivity-".concat(s))})}}},[e.inert,e.lockRef.current,e.shards]);var l=d.useCallback(function(p,g){if("touches"in p&&p.touches.length===2||p.type==="wheel"&&p.ctrlKey)return!i.current.allowPinchZoom;var y=gr(p),v=r.current,w="deltaX"in p?p.deltaX:v[0]-y[0],N="deltaY"in p?p.deltaY:v[1]-y[1],C,S=p.target,A=Math.abs(w)>Math.abs(N)?"h":"v";if("touches"in p&&A==="h"&&S.type==="range")return!1;var O=ns(A,S);if(!O)return!0;if(O?C=A:(C=A==="v"?"h":"v",O=ns(A,S)),!O)return!1;if(!n.current&&"changedTouches"in p&&(w||N)&&(n.current=C),!C)return!0;var F=n.current||C;return tp(F,g,p,F==="h"?w:N,!0)},[]),u=d.useCallback(function(p){var g=p;if(!(!At.length||At[At.length-1]!==a)){var y="deltaY"in g?os(g):gr(g),v=t.current.filter(function(C){return C.name===g.type&&(C.target===g.target||g.target===C.shadowParent)&&rp(C.delta,y)})[0];if(v&&v.should){g.cancelable&&g.preventDefault();return}if(!v){var w=(i.current.shards||[]).map(ss).filter(Boolean).filter(function(C){return C.contains(g.target)}),N=w.length>0?l(g,w[0]):!i.current.noIsolation;N&&g.cancelable&&g.preventDefault()}}},[]),c=d.useCallback(function(p,g,y,v){var w={name:p,delta:g,target:y,should:v,shadowParent:ap(y)};t.current.push(w),setTimeout(function(){t.current=t.current.filter(function(N){return N!==w})},1)},[]),m=d.useCallback(function(p){r.current=gr(p),n.current=void 0},[]),h=d.useCallback(function(p){c(p.type,os(p),p.target,l(p,e.lockRef.current))},[]),x=d.useCallback(function(p){c(p.type,gr(p),p.target,l(p,e.lockRef.current))},[]);d.useEffect(function(){return At.push(a),e.setCallbacks({onScrollCapture:h,onWheelCapture:h,onTouchMoveCapture:x}),document.addEventListener("wheel",u,St),document.addEventListener("touchmove",u,St),document.addEventListener("touchstart",m,St),function(){At=At.filter(function(p){return p!==a}),document.removeEventListener("wheel",u,St),document.removeEventListener("touchmove",u,St),document.removeEventListener("touchstart",m,St)}},[]);var f=e.removeScrollBar,b=e.inert;return d.createElement(d.Fragment,null,b?d.createElement(a,{styles:np(s)}):null,f?d.createElement(Km,{noRelative:e.noRelative,gapMode:e.gapMode}):null)}function ap(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const ip=Dm(ai,sp);var ui=d.forwardRef(function(e,t){return d.createElement(Ur,Te({},e,{ref:t,sideCar:ip}))});ui.classNames=Ur.classNames;var lp=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},kt=new WeakMap,xr=new WeakMap,br={},gn=0,fi=function(e){return e&&(e.host||fi(e.parentNode))},cp=function(e,t){return t.map(function(r){if(e.contains(r))return r;var n=fi(r);return n&&e.contains(n)?n:(console.error("aria-hidden",r,"in not contained inside",e,". Doing nothing"),null)}).filter(function(r){return!!r})},dp=function(e,t,r,n){var s=cp(t,Array.isArray(e)?e:[e]);br[r]||(br[r]=new WeakMap);var a=br[r],i=[],l=new Set,u=new Set(s),c=function(h){!h||l.has(h)||(l.add(h),c(h.parentNode))};s.forEach(c);var m=function(h){!h||u.has(h)||Array.prototype.forEach.call(h.children,function(x){if(l.has(x))m(x);else try{var f=x.getAttribute(n),b=f!==null&&f!=="false",p=(kt.get(x)||0)+1,g=(a.get(x)||0)+1;kt.set(x,p),a.set(x,g),i.push(x),p===1&&b&&xr.set(x,!0),g===1&&x.setAttribute(r,"true"),b||x.setAttribute(n,"true")}catch(y){console.error("aria-hidden: cannot operate on ",x,y)}})};return m(t),l.clear(),gn++,function(){i.forEach(function(h){var x=kt.get(h)-1,f=a.get(h)-1;kt.set(h,x),a.set(h,f),x||(xr.has(h)||h.removeAttribute(n),xr.delete(h)),f||h.removeAttribute(r)}),gn--,gn||(kt=new WeakMap,kt=new WeakMap,xr=new WeakMap,br={})}},up=function(e,t,r){r===void 0&&(r="data-aria-hidden");var n=Array.from(Array.isArray(e)?e:[e]),s=lp(e);return s?(n.push.apply(n,Array.from(s.querySelectorAll("[aria-live]"))),dp(n,s,r,"aria-hidden")):function(){return null}},Gr="Dialog",[mi,eg]=vt(Gr),[fp,Se]=mi(Gr),pi=e=>{const{__scopeDialog:t,children:r,open:n,defaultOpen:s,onOpenChange:a,modal:i=!0}=e,l=d.useRef(null),u=d.useRef(null),[c,m]=sr({prop:n,defaultProp:s??!1,onChange:a,caller:Gr});return o.jsx(fp,{scope:t,triggerRef:l,contentRef:u,contentId:Xt(),titleId:Xt(),descriptionId:Xt(),open:c,onOpenChange:m,onOpenToggle:d.useCallback(()=>m(h=>!h),[m]),modal:i,children:r})};pi.displayName=Gr;var hi="DialogTrigger",mp=d.forwardRef((e,t)=>
vendor: 5,376 bytes, lines 43-47
43{const{__scopeDialog:r,...n}=e,s=Se(hi,r),a=ne(t,s.triggerRef);return o.jsx(J.button,{type:"button","aria-haspopup":"dialog","aria-expanded":s.open,"aria-controls":s.contentId,"data-state":ro(s.open),...n,ref:a,onClick:X(e.onClick,s.onOpenToggle)})});mp.displayName=hi;var eo="DialogPortal",[pp,gi]=mi(eo,{forceMount:void 0}),xi=e=>{const{__scopeDialog:t,forceMount:r,children:n,container:s}=e,a=Se(eo,t);return o.jsx(pp,{scope:t,forceMount:r,children:d.Children.map(n,i=>o.jsx(yt,{present:r||a.open,children:o.jsx(Fn,{asChild:!0,container:s,children:i})}))})};xi.displayName=eo;var Or="DialogOverlay",bi=d.forwardRef((e,t)=>{const r=gi(Or,e.__scopeDialog),{forceMount:n=r.forceMount,...s}=e,a=Se(Or,e.__scopeDialog);return a.modal?o.jsx(yt,{present:n||a.open,children:o.jsx(gp,{...s,ref:t})}):null});bi.displayName=Or;var hp=Zt("DialogOverlay.RemoveScroll"),gp=d.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,s=Se(Or,r);return o.jsx(ui,{as:hp,allowPinchZoom:!0,shards:[s.contentRef],children:o.jsx(J.div,{"data-state":ro(s.open),...n,ref:t,style:{pointerEvents:"auto",...n.style}})})}),bt="DialogContent",vi=d.forwardRef((e,t)=>{const r=gi(bt,e.__scopeDialog),{forceMount:n=r.forceMount,...s}=e,a=Se(bt,e.__scopeDialog);return o.jsx(yt,{present:n||a.open,children:a.modal?o.jsx(xp,{...s,ref:t}):o.jsx(bp,{...s,ref:t})})});vi.displayName=bt;var xp=d.forwardRef((e,t)=>{const r=Se(bt,e.__scopeDialog),n=d.useRef(null),s=ne(t,r.contentRef,n);return d.useEffect(()=>{const a=n.current;if(a)return up(a)},[]),o.jsx(yi,{...e,ref:s,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:X(e.onCloseAutoFocus,a=>{a.preventDefault(),r.triggerRef.current?.focus()}),onPointerDownOutside:X(e.onPointerDownOutside,a=>{const i=a.detail.originalEvent,l=i.button===0&&i.ctrlKey===!0;(i.button===2||l)&&a.preventDefault()}),onFocusOutside:X(e.onFocusOutside,a=>a.preventDefault())})}),bp=d.forwardRef((e,t)=>{const r=Se(bt,e.__scopeDialog),n=d.useRef(!1),s=d.useRef(!1);return o.jsx(yi,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:a=>{e.onCloseAutoFocus?.(a),a.defaultPrevented||(n.current||r.triggerRef.current?.focus(),a.preventDefault()),n.current=!1,s.current=!1},onInteractOutside:a=>{e.onInteractOutside?.(a),a.defaultPrevented||(n.current=!0,a.detail.originalEvent.type==="pointerdown"&&(s.current=!0));const i=a.target;r.triggerRef.current?.contains(i)&&a.preventDefault(),a.detail.originalEvent.type==="focusin"&&s.current&&a.preventDefault()}})}),yi=d.forwardRef((e,t)=>{const{__scopeDialog:r,trapFocus:n,onOpenAutoFocus:s,onCloseAutoFocus:a,...i}=e,l=Se(bt,r),u=d.useRef(null),c=ne(t,u);return Em(),o.jsxs(o.Fragment,{children:[o.jsx(ri,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:s,onUnmountAutoFocus:a,children:o.jsx(_r,{role:"dialog",id:l.contentId,"aria-describedby":l.descriptionId,"aria-labelledby":l.titleId,"data-state":ro(l.open),...i,ref:c,onDismiss:()=>l.onOpenChange(!1)})}),o.jsxs(o.Fragment,{children:[o.jsx(vp,{titleId:l.titleId}),o.jsx(wp,{contentRef:u,descriptionId:l.descriptionId})]})]})}),to="DialogTitle",wi=d.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,s=Se(to,r);return o.jsx(J.h2,{id:s.titleId,...n,ref:t})});wi.displayName=to;var ji="DialogDescription",Ni=d.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,s=Se(ji,r);return o.jsx(J.p,{id:s.descriptionId,...n,ref:t})});Ni.displayName=ji;var Ci="DialogClose",Ei=d.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,s=Se(Ci,r);return o.jsx(J.button,{type:"button",...n,ref:t,onClick:X(e.onClick,()=>s.onOpenChange(!1))})});Ei.displayName=Ci;function ro(e){return e?"open":"closed"}var Si="DialogTitleWarning",[tg,Ai]=Ql(Si,{contentName:bt,titleName:to,docsSlug:"dialog"}),vp=({titleId:e})=>{const t=Ai(Si),r=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users.
44
45If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component.
46
47For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return d.useEffect(()=>{e&&(document.getElementById(e)||console.error(r))},[r,e]),null},yp="DialogDescriptionWarning",wp=({contentRef:e,descriptionId:t})=>{const n=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${Ai(yp).contentName}}.`;return d.useEffect(()=>{const s=e.current?.getAttribute("aria-describedby");t&&s&&(document.getElementById(t)||console.warn(n))},[n,e,t]),null},jp=pi,Np=xi,ki=bi,Pi=vi,Ri=wi,Ti=Ni,Cp=Ei;const Ep=jp,Sp=Np,Oi=d.forwardRef(({className:e,...t},r)=>o.jsx(ki,{ref:r,className:ce("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t}));Oi.displayName=ki.displayName;const Ii=d.forwardRef(({className:e,children:t,...r},n)=>o.jsxs(Sp,{children:[o.jsx(Oi,{}),o.jsxs(Pi,{ref:n,className:ce("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 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-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rou
47nded-lg",e),...r,children:[t,o.jsxs(Cp,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity data-[state=open]:bg-accent data-[state=open]:text-muted-foreground hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none",children:[o.jsx(Sr,{className:"h-4 w-4"}),o.jsx("span",{className:"sr-only",children:"Close"})]})]})]}));Ii.displayName=Pi.displayName;const Mi=d.forwardRef(({className:e,...t},r)=>o.jsx(Ri,{ref:r,className:ce("text-lg font-semibold leading-none tracking-tight",e),...t}));Mi.displayName=Ri.displayName;const Ap=d.forwardRef(({className:e,...t},r)=>o.jsx(Ti,{ref:r,className:ce("text-sm text-muted-foreground",e),...t}));Ap.displayName=Ti.displayName;const Di=({open:e,onOpenChange:t})=>o.jsx(Ep,{open:e,onOpenChange:t,children:o.jsxs(Ii,{className:"max-w-4xl h-[85vh] p-0 bg-background border-border overflow-hidden",children:[o.jsx(Mi,{className:"sr-only",children:"Book a Discovery Call"}),o.jsx("iframe",{src:"https://cal.com/hellopaul/discovery-call-with-paul?embed=true&theme=dark",className:"w-full h-full border-0",title:"Book a Discovery Call"})]})}),Tn=({className:e="h-7 text-white",height:t,...r})=>o.jsx("svg",{viewBox:"0 0 234 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:e,style:t?{height:t}:void 0,"aria-label":"Blukaze",...r,children:o.jsxs("g",{stroke:"currentColor",strokeWidth:"3.4",strokeLinecap:"round",strokeLinejoin:"round",children:[o.jsx("path",{d:"M 6 6 V 34"}),o.jsx("path",{d:"M 6 6 H 16 A 7 7 0 0 1 16 20 H 6"}),o.jsx("path",{d:"M 6 20 H 16 A 7 7 0 0 1 16 34 H 6"}),o.jsx("path",{d:"M 38 6 V 34 H 56"}),o.jsx("path",{d:"M 68 6 V 23 A 11 11 0 0 0 90 23 V 6"}),o.jsx("path",{d:"M 102 6 V 34"}),o.jsx("path",{d:"M 124 6 L 102 20 L 124 34"}),o.jsx("path",{d:"M 136 34 L 147 6 L 158 34"}),o.jsx("path",{d:"M 170 6 H 192 L 170 34 H 192"}),o.jsx("path",{d:"M 204 6 H 226"}),o.jsx("path",{d:"M 204 20 H 226"}),o.jsx("path",{d:"M 204 34 H 226"})]})}),as=[{name:"Solutions",href:"#solutions"},{name:"Industries",href:"#what-we-automate"},{name:"Case Studies",href:"/works",isPage:!0},{name:"Templates",href:"#templates"},{name:"Blog",href:"/blog",isPage:!0},{name:"About",href:"/about",isPage:!0}],kp=()=>{const[e,t]=d.useState(!1),[r,n]=d.useState(!1),[s,a]=d.useState(!1),i=Ns(),l=Cs();d.useEffect(()=>{const c=()=>n(window.scrollY>40);return window.addEventListener("scroll",c,{passive:!0}),()=>window.removeEventListener("scroll",c)},[]);const u=(c,m)=>{c.preventDefault(),i.pathname!=="/"?(l("/"),setTimeout(()=>{document.querySelector(m)?.scrollIntoView({behavior:"smooth"})},100)):document.querySelector(m)?.scrollIntoView({behavior:"smooth"})};return o.jsxs(o.Fragment,{children:[o.jsx(U.nav,{initial:{y:-100,opacity:0},animate:{y:0,opacity:1},transition:{duration:.8,ease:[.22,1,.36,1]},className:`fixed z-50 left-0 right-0 mx-auto transition-all duration-700 ease-in-out flex items-center ${r?"top-4 w-[calc(100%-2rem)] max-w-6xl h-16 bg-[#050510]/80 backdrop-blur-xl border border-white/10 rounded-2xl shadow-2xl":"top-0 w-full max-w-none h-20 bg-transparent border-b border-transparent rounded-none"}`,children:o.jsxs("div",{className:"container mx-auto px-6 lg:px-12 flex items-center justify-between w-full transition-all duration-700",children:[o.jsxs(nt,{to:"/",className:"flex items-center gap-3 group relative z-50",children:[o.jsx("div",{className:"w-9 h-9 sm:w-10 sm:h-10 flex items-center justify-center",children:o.jsx("img",{src:ti,alt:"Blukaze",className:"w-full h-full object-contain brightness-0 invert"})}),o.jsx(Tn,{className:"h-5 sm:h-6 w-auto text-white"})]}),o.jsx("div",{className:"hidden lg:flex items-center gap-8",children:as.map(c=>c.isPage?o.jsx(nt,{to:c.href,className:"text-sm font-semibold text-white/60 hover:text-white transition-colors",children:c.name},c.name):o.jsx("a",{href:c.href,onClick:m=>u(m,c.href),className:"text-sm font-semibold text-white/60 hover:text-white transition-colors",children:c.name},c.name))}),o.jsxs("div",{className:"hidden lg:flex items-center gap-6",children:[o.jsx("a",{href:"https://app.blukaze.com",className:"text-sm font-bold text-white/60 hover:text-white transition-colors",children:"Login"}),o.jsx(Wt,{onClick:()=>a(!0),className:"rounded-full px-6 h-11 font-bold text-xs bg-blue-600 hover:bg-blue-500 hover:scale-[1.03] transition-all border-none shadow-lg shadow-blue-600/20",children:"Get Free Automation Audit"})]}),o.jsx("button",{className:"lg:hidden text-white p-2",onClick:()=>t(!e),"aria-label":"Toggle Menu",children:e?o.jsx(Sr,{size:24}):o.jsx(bl,{size:24})})]})}),o.jsx(Mr,{children:e&&o.jsxs(U.div,{initial:{opacity:0,x:"100%"}
47,animate:{opacity:1,x:0},exit:{opacity:0,x:"100%"},transition:{duration:.4,ease:[.22,1,.36,1]},className:"fixed inset-0 z-50 bg-[#050510] flex flex-col p-8 overflow-y-auto",children:[o.jsxs("div",{className:"flex items-center justify-between mb-12",children:[o.jsx(Tn,{className:"h-7 w-auto text-white"}),o.jsx("button",{onClick:()=>t(!1),className:"text-white p-2",children:o.jsx(Sr,{size:28})})]}),o.jsx("div",{className:"flex flex-col gap-6",children:as.map((c,m)=>o.jsx(U.div,{initial:{opacity:0,x:30},animate:{opacity:1,x:0},transition:{delay:m*.07+.1},children:c.isPage?o.jsx(nt,{to:c.href,className:"text-3xl font-black text-white hover:text-blue-500 transition-colors",onClick:()=>t(!1),children:c.name}):o.jsx("a",{href:c.href,className:"text-3xl font-black text-white hover:text-blue-500 transition-colors",onClick:h=>{t(!1),u(h,c.href)},children:c.name})},c.name))}),o.jsxs("div",{className:"mt-auto pt-10 space-y-4",children:[o.jsx("a",{href:"https://app.blukaze.com",onClick:()=>t(!1),className:"block text-center text-white/60 font-bold hover:text-white transition-colors py-2 text-sm",children:"Login"}),o.jsx(Wt,{className:"w-full h-14 text-sm font-bold rounded-full bg-blue-600 hover:bg-blue-500 shadow-lg shadow-blue-600/30",onClick:()=>{a(!0),t(!1)},children:"Get Free Automation Audit"})]})]})}),o.jsx(Di,{open:s,onOpenChange:a})]})},Pp=[.22,1,.36,1],vr=(e=0)=>({initial:{opacity:0,y:24},animate:{opacity:1,y:0},transition:{duration:.9,delay:e,ease:Pp}}),Rp=()=>{const[e,t]=d.useState(!1);return o.jsxs("section",{className:"relative w-full min-h-[100svh] flex flex-col justify-center items-center overflow-hidden bg-[#030308] pt-28 pb-16 md:pt-32 md:pb-24",children:[o.jsxs("div",{className:"absolute inset-0 z-0 pointer-events-none",children:[o.jsx("div",{className:"absolute top-[38%] left-1/2 -translate-x-1/2 -translate-y-1/2 w-[min(900px,140vw)] aspect-square rounded-full bg-[radial-gradient(circle,rgba(59,130,246,0.14)_0%,rgba(99,102,241,0.07)_40%,transparent_70%)] blur-[2px]"}),o.jsx(U.div,{animate:{opacity:[.08,.18,.08]},transition:{duration:7,repeat:1/0,ease:"easeInOut"},className:"absolute top-[25%] left-1/2 -translate-x-1/2 w-[600px] h-[600px] bg-blue-600/20 rounded-full blur-[140px]"}),o.jsx("div",{className:"absolute inset-0 bg-[linear-gradient(to_right,rgba(255,255,255,0.018)_1px,transparent_1px),linear-gradient(to_bottom,rgba(255,255,255,0.018)_1px,transparent_1px)] bg-[size:4rem_4rem] [mask-image:radial-gradient(ellipse_50%_50%_at_50%_45%,#000_10%,transparent_100%)]"}),o.jsx("div",{className:"absolute bottom-0 left-0 w-full h-48 bg-gradient-to-t from-[#030308] to-transparent"})]}),o.jsxs("div",{className:"container mx-auto px-5 sm:px-6 lg:px-12 relative z-10 flex flex-col items-center text-center",children:[o.jsxs(U.div,{...vr(.04),className:"inline-flex items-center gap-2 px-4 py-1.5 rounded-full bg-blue-500/10 border border-blue-500/20 text-[11px] sm:text-xs font-black uppercase tracking-[0.25em] text-blue-400 mb-6",children:[o.jsx(Mn,{size:13,className:"text-blue-400"}),o.jsx("span",{children:"AI AUTOMATION • AGENTIC SYSTEMS • WORKFLOW ENGINEERING"})]}),o.jsxs(U.h1,{...vr(.08),className:"max-w-[950px] text-[clamp(2.25rem,6.5vw,5.25rem)] font-black tracking-[-0.04em] leading-[1.06] text-white mb-8",children:["Automate the Work Your Team"," ",o.jsx("span",{className:"text-transparent bg-clip-text bg-gradient-to-r from-blue-400 via-indigo-300 to-blue-500",children:"Shouldn't Be Doing."})]}),o.jsxs(U.div,{...vr(.24),className:"flex flex-col sm:flex-row items-center gap-4 w-full sm:w-auto mb-10",children:[o.jsx(Wt,{onClick:()=>t(!0),className:"w-full sm:w-auto h-13 px-8 rounded-full bg-blue-600 hover:bg-blue-500 text-white font-bold text-sm transition-all hover:scale-[1.02] active:scale-[0.98] border-none shadow-[0_0_25px_rgba(37,99,235,0.4)]",children:"Get a Free Automation Audit"}),o.jsx("a",{href:"#works",className:"w-full sm:w-auto",children:o.jsxs(Wt,{variant:"outline",className:"w-full sm:w-auto h-13 px-8 rounded-full bg-white/[0.04] border-white/[0.12] text-white hover:bg-white/[0.08] font-semibold text-sm transition-all group",children:["See What We've Built",o.jsx(Be,{className:"w-4 h-4 ml-2 text-white/60 group-hover:text-white group-hover:translate-x-1 transition-all"})]})})]}),o.jsx(U.div,{...vr(.32),className:"flex flex-col items-center gap-3 pt-4",children:o.jsx("p",{className:"text-xs font-semibold uppercase tracking-[0.25em] text-white/40",children:"n8n  ·  AI Agents 
47 ·  APIs  ·  RAG  ·  MCP  ·  Integrations"})})]}),o.jsx(Di,{open:e,onOpenChange:t})]})},Tp=[{figure:"30+",label:"Production Systems Deployed",sublabel:"Across sales, ops & data"},{figure:"500+",label:"Tools & APIs Connected",sublabel:"CRMs, LLMs, DBs & Custom APIs"},{figure:"40+",label:"Hours Saved / Week per Client",sublabel:"Verified client outcomes"},{figure:"99.99%",label:"Workflow Reliability",sublabel:"Built-in fallbacks & retries"}],Op=()=>o.jsx("section",{className:"py-12 bg-[#030308] border-y border-white/5 relative overflow-hidden",children:o.jsx("div",{className:"container mx-auto px-5 sm:px-6 lg:px-12",children:o.jsx("div",{className:"grid grid-cols-2 lg:grid-cols-4 gap-6 lg:gap-8 divide-y sm:divide-y-0 sm:divide-x divide-white/5",children:Tp.map((e,t)=>o.jsxs(U.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6,delay:t*.1},className:`flex flex-col items-center text-center p-4 ${t>0?"pt-6 sm:pt-4":""}`,children:[o.jsx("span",{className:"text-3xl sm:text-4xl md:text-5xl font-black tracking-tight text-white mb-2",children:e.figure}),o.jsx("span",{className:"text-sm font-semibold text-white/80 mb-1",children:e.label}),o.jsx("span",{className:"text-xs text-white/40",children:e.sublabel})]},e.label))})})}),Ip=[{icon:yl,title:"Copying data between tools",subtitle:"Manual copy-pasting across open browser tabs"},{icon:Es,title:"Updating CRMs",subtitle:"Hand-entering deal notes, statuses & contacts"},{icon:wl,title:"Lead qualification",subtitle:"Reading form submissions one-by-one"},{icon:Ss,title:"Lead enrichment",subtitle:"Scouring LinkedIn and company sites manually"},{icon:jl,title:"Reporting",subtitle:"Assembling weekly spreadsheets by hand"},{icon:bo,title:"Document processing",subtitle:"Manually parsing invoices, PDFs and contracts"},{icon:As,title:"Customer support",subtitle:"Answering repetitive FAQ tickets manually"},{icon:Dn,title:"Follow-ups",subtitle:"Remembering and drafting routine email check-ins"},{icon:bo,title:"Data extraction",subtitle:"Pulling metrics from external platforms into tables"},{icon:Nl,title:"Internal knowledge search",subtitle:"Wasting hours hunting through scattered docs"}],Mp=()=>o.jsx("section",{className:"py-24 md:py-32 bg-[#050510] relative overflow-hidden border-b border-white/5",children:o.jsxs("div",{className:"container mx-auto px-5 sm:px-6 lg:px-12 relative z-10",children:[o.jsx("div",{className:"max-w-3xl mx-auto text-center mb-16 md:mb-20",children:o.jsxs(U.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},children:[o.jsx("span",{className:"text-xs font-black uppercase tracking-[0.3em] text-red-400/90 mb-4 block",children:"The Operational Bottleneck"}),o.jsxs("h2",{className:"text-3xl sm:text-4xl md:text-6xl font-black tracking-tight text-white mb-6 leading-[1.1]",children:["Your team shouldn't be the"," ",o.jsx("span",{className:"text-transparent bg-clip-text bg-gradient-to-r from-red-400 via-orange-400 to-amber-300",children:"integration layer."})]}),o.jsx("p",{className:"text-base sm:text-lg text-white/60 leading-relaxed",children:"Every growing business accumulates repetitive work. Data gets copied between systems. Leads are researched manually. Reports are assembled by hand. Employees search through documents for answers. Follow-ups get forgotten."})]})}),o.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-5 gap-4 mb-16",children:Ip.map((e,t)=>{const r=e.icon;return o.jsxs(U.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,delay:t*.05},className:"group p-5 rounded-2xl bg-white/[0.02] border border-white/5 hover:border-red-500/30 hover:bg-white/[0.04] transition-all duration-300 flex flex-col justify-between",children:[o.jsxs("div",{children:[o.jsx("div",{className:"w-10 h-10 rounded-xl bg-red-500/10 border border-red-500/20 flex items-center justify-center mb-4 group-hover:scale-110 transition-transform",children:o.jsx(r,{className:"w-5 h-5 text-red-400"})}),o.jsx("h3",{className:"text-sm font-bold text-white mb-1 group-hover:text-red-300 transition-colors",children:e.title}),o.jsx("p",{className:"text-xs text-white/40 leading-normal",children:e.subt
47itle})]}),o.jsxs("div",{className:"mt-4 pt-3 border-t border-white/5 flex items-center gap-1.5 text-[11px] font-semibold text-red-400/80",children:[o.jsx(vl,{className:"w-3.5 h-3.5"}),o.jsx("span",{children:"Manual Overhead"})]})]},e.title)})}),o.jsx(U.div,{initial:{opacity:0,scale:.96},whileInView:{opacity:1,scale:1},viewport:{once:!0},transition:{duration:.6},className:"max-w-4xl mx-auto p-8 rounded-3xl bg-gradient-to-r from-blue-900/30 via-indigo-900/20 to-purple-900/30 border border-blue-500/30 text-center shadow-2xl relative overflow-hidden",children:o.jsxs("div",{className:"relative z-10 flex flex-col sm:flex-row items-center justify-between gap-6",children:[o.jsxs("div",{className:"text-left",children:[o.jsx("h3",{className:"text-xl sm:text-2xl font-black text-white mb-1",children:"Blukaze turns these processes into automated systems."}),o.jsx("p",{className:"text-sm text-white/60",children:"Replace friction with deterministic, hands-free production workflows."})]}),o.jsxs("a",{href:"#before-after",className:"inline-flex items-center gap-2 px-6 py-3 rounded-full bg-blue-600 hover:bg-blue-500 text-white font-bold text-sm transition-all whitespace-nowrap shadow-lg shadow-blue-600/30",children:["See The Transformation",o.jsx(Be,{size:16})]})]})})]})}),is=[{step:"01",title:"Lead arrives",desc:"Form submitted on website"},{step:"02",title:"Employee researches company",desc:"Manual web search"},{step:"03",title:"Searches LinkedIn",desc:"Hunting prospect profiles"},{step:"04",title:"Checks CRM",desc:"Cross-checking for duplicates"},{step:"05",title:"Updates fields",desc:"Hand-typing details into CRM"},{step:"06",title:"Writes email",desc:"Drafting organic outreach"},{step:"07",title:"Sends email",desc:"Sending from personal inbox"},{step:"08",title:"Creates follow-up",desc:"Setting calendar reminder"}],ls=[{step:"01",title:"Lead arrives",desc:"Real-time webhook trigger"},{step:"02",title:"AI researches",desc:"Deep web & company extraction"},{step:"03",title:"Lead scored",desc:"LLM qualification & ICP fit"},{step:"04",title:"CRM updated",desc:"Automated instant field write"},{step:"05",title:"Personalised outreach generated",desc:"Contextual AI email draft"},{step:"06",title:"Follow-up scheduled",desc:"Automated sequence enqueued"},{step:"07",title:"Sales team notified",desc:"Slack alert with meeting link"}],Dp=()=>{const[e,t]=d.useState("after");return o.jsxs("section",{id:"before-after",className:"py-24 md:py-32 bg-[#030308] relative overflow-hidden border-b border-white/5",children:[o.jsx("div",{className:"absolute top-1/2 left-1/4 -translate-y-1/2 w-[500px] h-[500px] bg-red-600/5 rounded-full blur-[140px] pointer-events-none"}),o.jsx("div",{className:"absolute top-1/2 right-1/4 -translate-y-1/2 w-[500px] h-[500px] bg-blue-600/10 rounded-full blur-[140px] pointer-events-none"}),o.jsxs("div",{className:"container mx-auto px-5 sm:px-6 lg:px-12 relative z-10",children:[o.jsxs("div",{className:"max-w-3xl mx-auto text-center mb-12",children:[o.jsxs(U.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},children:[o.jsx("span",{className:"text-xs font-black uppercase tracking-[0.3em] text-blue-400 mb-4 block",children:"Workflow Transformation"}),o.jsx("h2",{className:"text-3xl sm:text-4xl md:text-5xl font-black tracking-tight text-white mb-6",children:"From Manual Work to Automated Systems"}),o.jsx("p",{className:"text-base text-white/50 max-w-xl mx-auto",children:"Compare how traditional manual lead operations compare to a Blukaze production AI system."})]}),o.jsxs("div",{className:"mt-8 inline-flex items-center p-1.5 rounded-full bg-white/[0.04] border border-white/10",children:[o.jsxs("button",{onClick:()=>t("before"),className:`flex items-center gap-2 px-6 py-2.5 rounded-full text-xs font-bold transition-all ${e==="before"?"bg-red-500/20 text-red-300 border border-red-500/30 shadow-lg":"text-white/40 hover:text-white"}`,children:[o.jsx(Cl,{size:14}),"BEFORE (Manual)"]}),o.jsxs("button",{onClick:()=>t("after"),className:`flex items-center gap-2 px-6 py-2.5 rounded-full text-xs font-bold transition-all ${e==="after"?"bg-blue-600 text-white border border-blue-400 shadow-lg shadow-blue-600/30":"text-white/40 hover:text-white"}`,children:[o.jsx(ks,{size:14}),"AFTER (Blukaze Automated)"]})]})]}),o.jsx("div",{className:"max-w-5xl mx-auto",children:o.jsx(Mr,{mode:"wait",children:e==="before"?o.jsxs(U.div,{initial:{opacity:0,y:15}
47,animate:{opacity:1,y:0},exit:{opacity:0,y:-15},transition:{duration:.4},className:"p-8 sm:p-10 rounded-3xl bg-red-950/10 border border-red-500/20",children:[o.jsxs("div",{className:"flex items-center justify-between mb-8 pb-6 border-b border-red-500/20",children:[o.jsxs("div",{className:"flex items-center gap-3",children:[o.jsx("div",{className:"w-10 h-10 rounded-xl bg-red-500/10 flex items-center justify-center border border-red-500/20",children:o.jsx(Dn,{className:"w-5 h-5 text-red-400"})}),o.jsxs("div",{children:[o.jsx("h3",{className:"text-lg font-bold text-white",children:"Manual Sales Process"}),o.jsx("p",{className:"text-xs text-red-300/70",children:"Average duration: 40-48 hours per batch"})]})]}),o.jsx("span",{className:"px-3 py-1 rounded-full bg-red-500/20 text-red-300 text-xs font-bold border border-red-500/30",children:"High Latency & Human Error"})]}),o.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-4",children:is.map((r,n)=>o.jsxs("div",{className:"p-4 rounded-xl bg-white/[0.02] border border-red-500/15 relative",children:[o.jsxs("span",{className:"text-[10px] font-black text-red-400/60 uppercase tracking-wider block mb-1",children:["STEP ",r.step]}),o.jsx("h4",{className:"text-sm font-bold text-white mb-1",children:r.title}),o.jsx("p",{className:"text-xs text-white/40",children:r.desc}),n<is.length-1&&o.jsx("div",{className:"hidden lg:block absolute -right-3 top-1/2 -translate-y-1/2 z-10 text-red-500/40",children:o.jsx(Be,{size:14})})]},r.step))})]},"before-view"):o.jsxs(U.div,{initial:{opacity:0,y:15},animate:{opacity:1,y:0},exit:{opacity:0,y:-15},transition:{duration:.4},className:"p-8 sm:p-10 rounded-3xl bg-blue-950/20 border border-blue-500/30 shadow-2xl shadow-blue-600/10",children:[o.jsxs("div",{className:"flex items-center justify-between mb-8 pb-6 border-b border-blue-500/20",children:[o.jsxs("div",{className:"flex items-center gap-3",children:[o.jsx("div",{className:"w-10 h-10 rounded-xl bg-blue-500/20 flex items-center justify-center border border-blue-500/40",children:o.jsx(Ps,{className:"w-5 h-5 text-blue-400"})}),o.jsxs("div",{children:[o.jsx("h3",{className:"text-lg font-bold text-white",children:"Blukaze Automated Pipeline"}),o.jsx("p",{className:"text-xs text-blue-300/70",children:"Execution time: < 2 minutes end-to-end"})]})]}),o.jsx("span",{className:"px-3 py-1 rounded-full bg-blue-500/20 text-blue-300 text-xs font-bold border border-blue-500/30",children:"100% Reliable & Deterministic"})]}),o.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-7 gap-3",children:ls.map((r,n)=>o.jsxs(U.div,{initial:{opacity:0,scale:.9},animate:{opacity:1,scale:1},transition:{duration:.3,delay:n*.08},className:"p-3.5 rounded-xl bg-blue-900/20 border border-blue-500/30 relative flex flex-col justify-between",children:[o.jsxs("div",{children:[o.jsxs("span",{className:"text-[9px] font-black text-blue-400 uppercase tracking-wider block mb-1",children:["0",n+1]}),o.jsx("h4",{className:"text-xs font-bold text-white leading-tight mb-1",children:r.title}),o.jsx("p",{className:"text-[10px] text-white/50 leading-tight",children:r.desc})]}),n<ls.length-1&&o.jsx("div",{className:"hidden lg:block absolute -right-2.5 top-1/2 -translate-y-1/2 z-10 text-blue-400",children:o.jsx(Be,{size:12})})]},r.step))})]},"after-view")})})]})]})},yr=[{id:"sales",title:"Sales",icon:Rs,description:"Shorten lead response times from hours to seconds and fill sales calendars automatically.",color:"from-blue-500/20 to-blue-900/40 border-blue-500/30",badgeColor:"text-blue-400 bg-blue-500/10 border-blue-500/20",items:[{name:"Lead qualification",detail:"Instantly score inbound web leads against your Ideal Customer Profile."},{name:"Lead enrichment",detail:"Scrape LinkedIn, clearbit and company metadata automatically."},{name:"CRM automation",detail:"Sync contacts, update opportunity stages & log deal activity."},{name:"Outreach",detail:"Draft hyper-personalized email sequences powered by AI context."},{name:"Meeting booking",detail:"Negotiate calendar slots & schedule calls without back-and-forth."}]},{id:"operations",title:"Operations",icon:_n,description:"Eliminate manual data entry and orchestrate internal approval flows effortlessly.",color:"from-purple-500/20 to-purple-900/40 border-purple-500/30",badgeColor:"text-purple-400 bg-purple-500/10 border-purple-500/20",items:[{name:"Data entry",detail
47:"Parse incoming emails, spreadsheets and web forms into master DBs."},{name:"Reporting",detail:"Aggregate metrics across tools into automated daily/weekly dashboards."},{name:"Document processing",detail:"Extract key fields from PDFs, invoices, contracts and receipts."},{name:"Approvals",detail:"Route requests via Slack or Teams with instant approval buttons."},{name:"Notifications",detail:"Send real-time alerts when threshold metrics or anomalies occur."}]},{id:"marketing",title:"Marketing",icon:Sl,description:"Scale content generation, competitor research, and publishing workflows.",color:"from-indigo-500/20 to-indigo-900/40 border-indigo-500/30",badgeColor:"text-indigo-400 bg-indigo-500/10 border-indigo-500/20",items:[{name:"Content workflows",detail:"Generate, review, format, and stage blog posts & newsletters."},{name:"Research",detail:"Track competitor site changes, pricing updates and market news."},{name:"SEO workflows",detail:"Automate keyword research, SERP scraping, and cluster analysis."},{name:"Publishing",detail:"Multi-channel distribution across CMS, social media & email tools."},{name:"Campaign automation",detail:"Sync leads from Facebook/LinkedIn Ads directly into nurture drips."}]},{id:"support",title:"Customer Support",icon:As,description:"Provide 24/7 instant AI support while reducing support ticket volume.",color:"from-emerald-500/20 to-emerald-900/40 border-emerald-500/30",badgeColor:"text-emerald-400 bg-emerald-500/10 border-emerald-500/20",items:[{name:"Ticket classification",detail:"Categorize and prioritize incoming tickets based on urgency and topic."},{name:"Knowledge retrieval",detail:"Search company knowledge bases to draft accurate answers instantly."},{name:"AI responses",detail:"Deploy empathetic, context-aware bots on WhatsApp, Slack or Web."},{name:"Escalation",detail:"Detect customer sentiment and hand off complex cases to humans."}]},{id:"data",title:"Data & Engineering",icon:Es,description:"Connect disparate software, sync databases in real-time, and expose APIs.",color:"from-cyan-500/20 to-cyan-900/40 border-cyan-500/30",badgeColor:"text-cyan-400 bg-cyan-500/10 border-cyan-500/20",items:[{name:"ETL",detail:"Extract, transform and load data across SaaS tools and data warehouses."},{name:"Data synchronization",detail:"Bi-directional sync between CRMs, ERPs, BigCommerce & Airtable."},{name:"API integrations",detail:"Build custom webhooks and machine-readable REST endpoints."},{name:"Database workflows",detail:"Automate backup checks, indexing, schema sync & maintenance."}]}],_p=()=>{const[e,t]=d.useState(yr[0].id),r=yr.find(n=>n.id===e)||yr[0];return o.jsx("section",{id:"what-we-automate",className:"py-24 md:py-32 bg-[#050510] relative overflow-hidden border-b border-white/5",children:o.jsxs("div",{className:"container mx-auto px-5 sm:px-6 lg:px-12 relative z-10",children:[o.jsx("div",{className:"max-w-3xl mx-auto text-center mb-16",children:o.jsxs(U.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},children:[o.jsx("span",{className:"text-xs font-black uppercase tracking-[0.3em] text-blue-400 mb-4 block",children:"Capabilities Overview"}),o.jsx("h2",{className:"text-3xl sm:text-4xl md:text-5xl font-black tracking-tight text-white mb-6",children:"What can we automate?"}),o.jsx("p",{className:"text-base text-white/50",children:"We design and deploy custom automation across every core business department."})]})}),o.jsx("div",{className:"flex flex-wrap justify-center gap-2 mb-12",children:yr.map(n=>{const s=n.icon,a=n.id===e;return o.jsxs("button",{onClick:()=>t(n.id),className:`flex items-center gap-2.5 px-5 py-3 rounded-2xl text-xs font-bold transition-all duration-300 ${a?"bg-white/10 text-white border border-white/20 shadow-lg scale-105":"bg-white/[0.02] text-white/50 border border-white/5 hover:text-white hover:bg-white/[0.05]"}`,children:[o.jsx(s,{size:16,className:a?"text-blue-400":"text-white/40"}),n.title]},n.id)})}),o.jsx("div",{className:"max-w-4xl mx-auto",children:o.jsx(Mr,{mode:"wait",children:o.jsxs(U.div,{initial:{opacity:0,y:15}
47,animate:{opacity:1,y:0},exit:{opacity:0,y:-15},transition:{duration:.4},className:`p-8 md:p-12 rounded-3xl bg-gradient-to-br ${r.color} border shadow-2xl`,children:[o.jsx("div",{className:"flex flex-col sm:flex-row sm:items-center justify-between gap-4 mb-8 pb-6 border-b border-white/10",children:o.jsxs("div",{children:[o.jsxs("span",{className:`inline-flex items-center gap-1.5 px-3 py-1 rounded-full text-xs font-bold border ${r.badgeColor} mb-2`,children:[o.jsx(r.icon,{size:14}),r.title," Automation"]}),o.jsx("p",{className:"text-base text-white/80 font-medium",children:r.description})]})}),o.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:r.items.map(n=>o.jsxs("div",{className:"p-5 rounded-2xl bg-black/40 border border-white/10 hover:border-white/20 transition-all flex items-start gap-3.5",children:[o.jsx(El,{className:"w-5 h-5 text-blue-400 flex-shrink-0 mt-0.5"}),o.jsxs("div",{children:[o.jsx("h4",{className:"text-sm font-bold text-white mb-1",children:n.name}),o.jsx("p",{className:"text-xs text-white/50 leading-relaxed",children:n.detail})]})]},n.name))})]},r.id)})})]})})},Lp=[{number:"01",slug:"ai-automation",title:"AI Automation",subtitle:"Intelligent workflows that execute repetitive business processes automatically.",examples:["Lead qualification","AI research","Content workflows","Customer support","Data processing"],icon:Al,color:"blue"},{number:"02",slug:"web-scrapers",title:"AI Agents & RAG",subtitle:"AI systems that can reason over your data, use tools and execute real tasks.",examples:["AI agents","RAG systems","Knowledge assistants","Tool-calling systems","Human-in-the-loop workflows"],icon:_n,color:"purple"},{number:"03",slug:"backend-development",title:"Integrations & Agent Infrastructure",subtitle:"Connect your existing software and make your systems AI-ready.",examples:["APIs & Webhooks","MCP servers","n8n production flows","CRM & DB integrations","Custom headless infrastructure"],icon:Ts,color:"indigo"}],Fp={hidden:{opacity:0,y:40},show:e=>({opacity:1,y:0,transition:{duration:.7,delay:e*.1,ease:[.22,1,.36,1]}})},$p=()=>{const e=d.useRef(null),t=In(e,{once:!0,margin:"-100px"});return o.jsxs("section",{id:"solutions",className:"py-24 md:py-32 lg:py-40 bg-[#050510] relative overflow-hidden border-b border-white/5",children:[o.jsx("div",{className:"absolute top-0 right-0 w-[600px] h-[600px] bg-purple-700/5 rounded-full blur-[150px] pointer-events-none"}),o.jsx("div",{className:"absolute bottom-0 left-0 w-[500px] h-[500px] bg-blue-600/5 rounded-full blur-[130px] pointer-events-none"}),o.jsxs("div",{className:"container mx-auto px-5 sm:px-6 lg:px-12",children:[o.jsxs("div",{className:"max-w-3xl mb-16 md:mb-20",children:[o.jsx("span",{className:"text-xs font-black uppercase tracking-[0.3em] text-blue-400 mb-4 block",children:"Core Architecture"}),o.jsxs("h2",{className:"text-3xl sm:text-5xl lg:text-6xl font-black uppercase tracking-tight text-white mb-6",children:["Automation engineered for"," ",o.jsx("span",{className:"text-transparent bg-clip-text bg-gradient-to-r from-blue-500 via-indigo-400 to-purple-500",children:"production."})]}),o.jsx("p",{className:"text-base text-white/50",children:"We build robust, scalable business infrastructure using modern AI and workflow engineering."})]}),o.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-6",ref:e,children:Lp.map((r,n)=>{const s=r.icon;return o.jsxs(U.div,{custom:n,variants:Fp,initial:"hidden",animate:t?"show":"hidden",className:"group p-8 md:p-10 rounded-3xl bg-white/[0.02] border border-white/10 hover:border-white/20 hover:bg-white/[0.04] transition-all duration-500 flex flex-col justify-between relative overflow-hidden",children:[o.jsxs("div",{children:[o.jsxs("div",{className:"flex items-start justify-between mb-8",children:[o.jsx("span",{className:"text-5xl font-black text-white/10 tracking-tighter",children:r.number}),o.jsx("div",{className:"w-12 h-12 rounded-2xl bg-white/5 border border-white/10 flex items-center justify-center group-hover:scale-110 transition-transform",children:o.jsx(s,{className:"w-6 h-6 text-blue-400"})})]}),o.jsx("h3",{className:"text-2xl font-black text-white mb-3",children:r.title}),o.jsx("p",{className:"text-sm text-white/60 leading-relaxed mb-8",children:r.subtitle}),o.jsxs("div",{className:"space-y-2 mb-8",children:[o.jsx("p",{className:"text-[11px] font-bold text-white/30 uppercase tracking-widest mb-3",children:"SYSTEM EXAMPLES"}),r.examples.map(a=>o.jsxs("div",{className:"flex items-center gap-2 text-xs text-white/70",children:[o.jsx("div",{className:"w-1.5 h-1.5 rounded-full bg-blue-400"}),o.jsx("span",{children:a})]},a))]})]}),o.jsxs(nt,{to:`/services/${r.slug}`,className:"inline-flex items-center gap-2 text-xs font-bold text-blue-400 group-hover:text-blue-300 transition-colors pt-4 border-t border-white/5",children:["Explore Capabilities ",o.jsx(Be,{size:14,className:"group-hover:translate-x-1 transition-transform"})]})]},r.number)})})]})]})},zp=[{icon:kl,title:"Production-first",description:"We design systems for reliability, monitoring, error handling and long-term operation.",color:"text-blue-400 bg-blue-500/10 border-blue-500/20"},{icon:Pl,title:"Built around your stack",description:"We integrate with the softw
47are your business already uses instead of forcing unnecessary replacements.",color:"text-purple-400 bg-purple-500/10 border-purple-500/20"},{icon:Mn,title:"AI where it actually helps",description:"We use AI where it meaningfully reduces work — not simply because it's trendy.",color:"text-amber-400 bg-amber-500/10 border-amber-500/20"},{icon:ks,title:"Reliable by design",description:"Retries, validation, fallbacks, structured outputs and human-in-the-loop controls where required.",color:"text-emerald-400 bg-emerald-500/10 border-emerald-500/20"},{icon:Rs,title:"Built to evolve",description:"Your automation is designed as an extensible business system, not a one-off workflow.",color:"text-indigo-400 bg-indigo-500/10 border-indigo-500/20"}],Bp=()=>o.jsx("section",{className:"py-24 md:py-32 bg-[#030308] relative overflow-hidden border-b border-white/5",children:o.jsxs("div",{className:"container mx-auto px-5 sm:px-6 lg:px-12 relative z-10",children:[o.jsx("div",{className:"max-w-3xl mx-auto text-center mb-16",children:o.jsxs(U.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},children:[o.jsx("span",{className:"text-xs font-black uppercase tracking-[0.3em] text-blue-400 mb-4 block",children:"Engineering Principles"}),o.jsx("h2",{className:"text-3xl sm:text-4xl md:text-5xl font-black tracking-tight text-white mb-6",children:"Not just another AI wrapper."}),o.jsx("p",{className:"text-base text-white/50 max-w-lg mx-auto",children:"We build production infrastructure designed for enterprise reliability, security, and long-term ROI."})]})}),o.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6 max-w-6xl mx-auto",children:zp.map((e,t)=>{const r=e.icon;return o.jsxs(U.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,delay:t*.08},className:`p-8 rounded-3xl bg-white/[0.02] border border-white/5 hover:border-white/20 hover:bg-white/[0.04] transition-all duration-300 flex flex-col justify-between ${t===4?"md:col-span-2 lg:col-span-1":""}`,children:[o.jsxs("div",{children:[o.jsx("div",{className:`w-12 h-12 rounded-2xl border flex items-center justify-center mb-6 ${e.color}`,children:o.jsx(r,{className:"w-6 h-6"})}),o.jsx("h3",{className:"text-xl font-bold text-white mb-3 tracking-tight",children:e.title}),o.jsx("p",{className:"text-sm text-white/50 leading-relaxed",children:e.description})]}),o.jsx("div",{className:"mt-8 pt-4 border-t border-white/5 text-[11px] font-bold text-white/30 tracking-widest uppercase",children:"BLUKAZE STANDARD"})]},e.title)})})]})}),Wp=({slug:e})=>e==="crm-intelligence-engine"?o.jsxs("div",{className:"p-6 md:p-8 rounded-2xl bg-black/60 border border-blue-500/20 font-mono text-xs text-white/80 overflow-x-auto",children:[o.jsxs("div",{className:"flex items-center justify-between pb-4 mb-4 border-b border-white/10",children:[o.jsxs("div",{className:"flex items-center gap-2 text-blue-400 font-bold",children:[o.jsx(Rl,{size:16}),o.jsx("span",{children:"PIPELINE_ORCHESTRATOR :: CRM_INTEL_V2"})]}),o.jsx("span",{className:"text-[10px] text-green-400 bg-green-500/10 px-2 py-0.5 rounded border border-green-500/20",children:"STATUS: 200 OK (0.42s)"})]}),o.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-4 gap-3 text-[11px]",children:[o.jsxs("div",{className:"p-3 rounded-lg bg-white/5 border border-white/10",children:[o.jsx("p",{className:"text-blue-400 font-bold mb-1",children:"[1] Ingestion"}),o.jsx("p",{className:"text-white/60",children:"Webhook event: lead_created"}),o.jsxs("p",{className:"text-white/40 text-[10px] mt-1",children:["Payload: ","{ email, company }"]})]}),o.jsxs("div",{className:"p-3 rounded-lg bg-white/5 border border-white/10",children:[o.jsx("p",{className:"text-purple-400 font-bold mb-1",children:"[2] AI Enrichment"}),o.jsx("p",{className:"text-white/60",children:"LinkedIn & Domain Scrape"}),o.jsx("p",{className:"text-white/40 text-[10px] mt-1",children:"ICP Score: 94/100"})]}),o.jsxs("div",{className:"p-3 rounded-lg bg-white/5 border border-white/10",children:[o.jsx("p",{className:"text-indigo-400 font-bold mb-1",children:"[3] LLM Dispatch"}),o.jsx("p",{className:"text-white/60",children:"Draft contextual email"}),o.jsx("p",{className:"text-white/40 text-[10px] mt-1",children:"Model: gpt-4o-mini"})]}),o.jsxs("div",{className:"p-3 rounded-lg bg-white/5 border border-white/10",children:[o.jsx("p",{className:"text-emerald-400 font-bold mb-1",children:"[4] Calendar Booking"}),o.jsx("p",{className:"text-white/60",children:"CRM Status -> Booked"}),o.jsx("p",{className:"text-white/40 text-[10px] mt-1",children:"Slot: Tomorrow 10:00 AM"})]})]})]}):e==="research-analysis-agent"?o.jsxs("div",{className:"p-6 md:p-8 rounded-2xl bg-black/60 border border-purple-500/20 font-mono text-xs text-white/80 overflow-x-auto",children:[o.jsxs("div",{className:"flex items-center justify-between pb-4 mb-4 border-b border-white/10",children:[o.jsxs("div",{className:"flex items-center gap-2 text-purple-400 font-bold",children:[o.jsx(Tl,{size:16}),o.jsx("span",{children:"MULTI_AGENT_GRAPH :: RESEARCH_EXECUTION"})]}),o.jsx("span",{className:"text-[10px] text-purple-300 bg-purple-500/10 px-2 py-0.5 rounded border border-purple-500/20",children:"AGENTS: 4 ACTIVE"})]}),o.jsxs("div",{className:"flex flex-col md:flex-row items-center justify-between gap-4 text-[11px]",children:[o.jsxs("div",{className:"w-full md:w-1/4 p-3 rounded-lg bg-white/5 border border-white/10",children:[o.jsx("span",{className:"text-purple-400 font-bold",children:"Manager Agent"}),o.jsx("p",{className:"text-white/50 text-[10px] mt-1",children:"Decomposes user query into 5 search tasks"})]}),o.jsx(Be,{className:"hidden md:block text-purple-400",size:16}),o.jsxs("div",{className:"w-full md:w-2/4 p-3 rounded-lg bg-purple-950/40 border border-purple-500/30",children:[o.jsx("span",{className:"text-purple-300 font-bold",children:"Sub-Agents Concurrent Execution"}),o.jsx("p",{className:"text-white/60 text-[10px] mt-1",children:"Agent 1: Web Scraper | Agent 2: PDF Parser | Agent 3: Fact Checker"})]}),o.jsx(Be,{className:"hidden md:block text-purple-400",size:16}),o.jsxs("div",{className:"w-full md:w-1/4 p-3 rounded-lg bg-white/5 border border-white/10",children:[o.jsx("span",{className:"text-green-400 font-bold",children:"Boardroom Synthesis"}),o.jsx("p",{className:"text-white/50 text-[10px] mt-1",children:"Structured PDF Report Generated"})]})]})]}):o.jsxs("div",{className:"p-6 md:p-8 rounded-2xl bg-black/60 border border-emerald-500/20 font-mono text-xs text-white/80 overflow-x-auto",children:[o.jsxs("div",{className:"flex items-center justify-between pb-4 mb-4 border-b border-white/10",children:[o.jsxs("div",{className:"flex items-center gap-2 text-emerald-400 font-bold",children:[o.jsx(Ts,{size:16}),o.jsx("span",{children:"VECTOR_RAG :: VECTOR_SEARCH_PIPELINE"})]}),o.jsx("span",{className:"text-[10px] text-emerald-300 bg-emerald-500/10 px-2 py-0.5 rounded border border-emerald-500/20",children:"CHUNKS: 50,000+ INDEXED"})]}),o.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-3 text-[11px]",children:[o.jsxs("div",{className:"p-3 rounded-lg bg-white/5 border border-white/10",children:[o.jsx("span",{className:"text-emerald-400 font-bold",children:"Confluence / Slack Sync"}),o.jsx("p",{className:"text-white/50 text-[10px] mt-1",children:"Continuous ingestion pipeline"})]}),o.jsxs("div",{className:"p-3 rounded-lg bg-white/5 border border-white/10",children:[o.jsx("span",{className:"text-emerald-300 font-bold",children:"Vector Similarity Search"}),o.jsx("p",{className:"text-white/50 text-[10px] mt-1",children:"Pinecone top-k cosine match (k=5)"})]}),o.jsxs("div",{className:"p-3 rounded-lg bg-white/5 border border-white/10",children:[o.jsx("span",{className:"text-white font-bold",children:"Cited Answer Generator"}),o.jsx("p",{className:"text-white/50 text-[10px] mt-1",children:"Zero hallucination output + deep link"})]})]})]}),Vp=[{category:"AI Automation",title:"CRM Intelligence Engine",slug:"crm-intelligence-engine",problem:"Sales teams were spending 40 hours weekly manually researching, qualifying and processing leads, causing massive delay in response times.",built:"Lead enrichment → AI qualification → Personalised outreach → CRM update → Meeting booking",stack:"n8n · GPT-4o · HubSpot · Clearbit",result:"40+ hours/week saved",subResult:"< 5 minute lead response time"},{category:"Custom Agents",title:"Research & Analysis Agent",slug:"research-analysis-agent",problem:"Analysts spent 2-3 weeks manually gathering market data, scraping competitor sites, and formatting strategic reports.",built:"Multi-agent research planner → Concurrent Web Scraper → Fact-Checker → Boardroom Report Generator",stack:"LangChain · Perplexity API · Notion · Python",result:"20x faster research",subResult:"-95% manual analyst effort"},{category:"RAG Systems",title:"Enterprise Knowledge Base",slug:"enterprise-knowledge-base",problem:"Employees w
47asted 1.5 hours daily searching through 50,000+ scattered documents across Drive, Notion, and Slack.",built:"Automated Doc Ingestion → Vector Search Pipeline → Zero-Hallucination Assistant with Cited Sources",stack:"Pinecone · OpenAI · Slack Bot · Python",result:"90% resolution rate",subResult:"Support tickets reduced by 60%"}],Hp=()=>{const e=d.useRef(null),t=In(e,{once:!0,margin:"-80px"}),r=Cs();return o.jsx("section",{id:"works",className:"py-24 md:py-36 bg-[#030308] relative overflow-hidden border-b border-white/5",ref:e,children:o.jsxs("div",{className:"container mx-auto px-5 sm:px-6 lg:px-12 relative z-10",children:[o.jsxs("div",{className:"flex flex-col lg:flex-row justify-between items-start lg:items-end gap-8 mb-16 border-b border-white/5 pb-12",children:[o.jsxs("div",{children:[o.jsx("span",{className:"text-xs font-black uppercase tracking-[0.3em] text-blue-400 mb-4 block",children:"Proven Case Studies"}),o.jsx("h2",{className:"text-3xl sm:text-5xl lg:text-6xl font-black tracking-tight text-white",children:"Real systems. Real business outcomes."})]}),o.jsxs(nt,{to:"/works",className:"group flex items-center gap-2 text-xs font-bold text-white/50 hover:text-white transition-colors border-b border-white/10 pb-1 hover:border-white/40",children:["View All Case Studies ",o.jsx(Be,{size:14,className:"group-hover:translate-x-1 transition-transform"})]})]}),o.jsx("div",{className:"space-y-12",children:Vp.map((n,s)=>o.jsxs(U.div,{initial:{opacity:0,y:30},animate:t?{opacity:1,y:0}:{},transition:{duration:.7,delay:s*.15},className:"p-8 sm:p-12 rounded-3xl bg-white/[0.02] border border-white/10 hover:border-white/20 transition-all duration-300 relative overflow-hidden",children:[o.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-12 gap-8 items-start mb-8",children:[o.jsxs("div",{className:"lg:col-span-8 space-y-4",children:[o.jsxs("div",{className:"flex items-center gap-3",children:[o.jsx("span",{className:"px-3 py-1 rounded-full bg-blue-500/10 text-blue-400 text-xs font-bold border border-blue-500/20",children:n.category}),o.jsx("span",{className:"text-xs text-white/40 font-mono",children:n.stack})]}),o.jsx("h3",{className:"text-2xl sm:text-3xl font-black text-white",children:n.title}),o.jsxs("div",{className:"space-y-3 pt-2",children:[o.jsxs("div",{children:[o.jsx("span",{className:"text-xs font-bold text-red-400/90 uppercase tracking-wider block mb-1",children:"PROBLEM"}),o.jsx("p",{className:"text-sm text-white/60 leading-relaxed",children:n.problem})]}),o.jsxs("div",{children:[o.jsx("span",{className:"text-xs font-bold text-blue-400/90 uppercase tracking-wider block mb-1",children:"WHAT BLUKAZE BUILT"}),o.jsx("p",{className:"text-sm font-semibold text-white/90 leading-relaxed",children:n.built})]})]})]}),o.jsxs("div",{className:"lg:col-span-4 p-6 rounded-2xl bg-blue-950/20 border border-blue-500/30 flex flex-col justify-between h-full",children:[o.jsxs("div",{children:[o.jsx("span",{className:"text-[10px] font-black uppercase tracking-widest text-blue-300 block mb-2",children:"VERIFIED OUTCOME"}),o.jsx("p",{className:"text-2xl sm:text-3xl font-black text-white mb-1",children:n.result}),o.jsx("p",{className:"text-xs text-white/60",children:n.subResult})]}),o.jsxs("button",{onClick:()=>r(`/works/${n.slug}`),className:"mt-6 flex items-center justify-between px-4 py-2.5 rounded-xl bg-white/5 hover:bg-white/10 border border-white/10 text-xs font-bold text-white transition-all group",children:[o.jsx("span",{children:"View Case Study"}),o.jsx(Ln,{size:14,className:"group-hover:translate-x-0.5 group-hover:-translate-y-0.5 transition-transform"})]})]})]}),o.jsx(Wp,{slug:n.slug})]},n.slug))})]})})},cs=[{name:"n8n",slug:"n8n",cdn:"simpleicons"},{name:"OpenAI",slug:"openai"},{name:"Supabase",slug:"supabase"},{name:"HubSpot",slug:"hubspot"},{name:"Shopify",slug:"shopify"},{name:"PostgreSQL",slug:"postgresql"},{name:"Salesforce",slug:"salesforce"},{name:"Airtable",slug:"airtable"}],ds=[{name:"Slack",slug:"slack"},{name:"AWS",slug:"amazonaws"},{name:"Notion",slug:"notion"},{name:"Make",slug:"make"},{name:"Zapier",slug:"zapier"},{name:"Google Cloud",slug:"googlecloud"},{name:"Twilio",slug:"twilio"},{name:"Jira",slug:"jira"}],qp=(e,t)=>t==="simpleicons"?`https://cdn.simpleicons.org/${e}/white`:`https://cdn.jsdelivr.net/npm/simple-icons@v11/icons/${e}.svg`,us=({name:e,slug:t,cdn:r})=>o.jsxs("div",{className:"flex items-center gap-3 px-6 py-3 rounded-full bg-white/[0.03] border border-white/10 hover:bg-white/[0.07] transition-colors whitespace-nowrap mx-3 flex-shrink-0",children:[o.jsx("img",{src:qp(t,r),alt:e,className:"w-5 h-5 brightness-0 invert opacity-80",loading:"lazy"}),o.jsx("span",{className:"text-sm font-semibold text-white/80",children:e})]}),Up=()=>o.jsxs("section",{className:"py-24 bg-[#030308] border-b border-white/5 overflow-hidden",children:[o.jsxs("div",{className:"container mx-auto px-6 mb-12 text-center",children:[o.jsx("span",{className:"text-xs font-black uppercase tracking-[0.3em] text-blue-400 mb-3 block",children:"Technology Infrastru
47cture"}),o.jsx("h2",{className:"text-2xl sm:text-4xl font-black text-white mb-2 tracking-tight",children:"Built with the tools businesses already use."}),o.jsx("p",{className:"text-sm text-white/50 max-w-lg mx-auto",children:"We work across your existing stack to turn legacy tools into automated systems."})]}),o.jsxs("div",{className:"relative w-full flex flex-col gap-5",children:[o.jsx("div",{className:"absolute left-0 top-0 bottom-0 w-32 bg-gradient-to-r from-[#030308] to-transparent z-10 pointer-events-none"}),o.jsx("div",{className:"absolute right-0 top-0 bottom-0 w-32 bg-gradient-to-l from-[#030308] to-transparent z-10 pointer-events-none"}),o.jsx("div",{className:"flex w-full overflow-hidden",children:o.jsx("div",{className:"animate-ticker flex items-center",children:[...cs,...cs].map((e,t)=>o.jsx(us,{...e},`row1-${t}`))})}),o.jsx("div",{className:"flex w-full overflow-hidden",children:o.jsx("div",{className:"animate-ticker-reverse flex items-center",children:[...ds,...ds].map((e,t)=>o.jsx(us,{...e},`row2-${t}`))})})]})]}),Kr=(e=.1,t="0px")=>{const r=d.useRef(null),[n,s]=d.useState(!1);return d.useEffect(()=>{const a=r.current;if(!a)return;const i=new IntersectionObserver(([l])=>{l.isIntersecting&&(s(!0),i.unobserve(a))},{threshold:e,rootMargin:t});return i.observe(a),()=>i.disconnect()},[e,t]),{ref:r,isRevealed:n}},Gp=[{icon:Ss,number:"01",title:"Discover",description:"We identify repetitive processes, bottlenecks and high-ROI automation opportunities across your operations.",checks:["Identify time taxes","Assess software stack"],accentColor:"text-blue-400",accentBorder:"border-blue-500/30",accentBg:"bg-blue-500/10"},{icon:Il,number:"02",title:"Design",description:"We map the complete end-to-end workflow and determine where AI, APIs and automation provide maximum leverage.",checks:["Workflow mapping","AI model selection"],accentColor:"text-purple-400",accentBorder:"border-purple-500/30",accentBg:"bg-purple-500/10"},{icon:_n,number:"03",title:"Build",description:"We engineer the production workflow, API integrations, fallback logic, and supporting infrastructure.",checks:["n8n / API development","Type-safe error handling"],accentColor:"text-amber-400",accentBorder:"border-amber-500/30",accentBg:"bg-amber-500/10"},{icon:Ml,number:"04",title:"Deploy & Optimize",description:"We test, monitor, and continuously refine the system for reliable, long-term production execution.",checks:["Live monitoring","Iterative improvements"],accentColor:"text-emerald-400",accentBorder:"border-emerald-500/30",accentBg:"bg-emerald-500/10"}],Kp=()=>{const{ref:e,isRevealed:t}=Kr(.1);return o.jsx("section",{id:"process",className:"py-24 md:py-36 relative overflow-hidden border-b border-white/5 bg-[#050510]",children:o.jsxs("div",{className:"container mx-auto px-5 sm:px-6 lg:px-12 relative z-10",ref:e,children:[o.jsxs("div",{className:`max-w-2xl mx-auto text-center mb-16 md:mb-20 scroll-reveal ${t?"revealed":""}`,children:[o.jsx("span",{className:"text-xs font-black uppercase tracking-[0.3em] text-blue-400 mb-4 block",children:"Implementation Methodology"}),o.jsx("h2",{className:"text-3xl md:text-5xl font-black mb-4 tracking-tight leading-tight text-white",children:"From idea to production."}),o.jsx("p",{className:"text-white/50 text-base max-w-lg mx-auto",children:"A battle-tested 4-step process designed to deliver reliable automation systems quickly."})]}),o.jsx("div",{className:"grid sm:grid-cols-2 lg:grid-cols-4 gap-6 max-w-6xl mx-auto",children:Gp.map((r,n)=>{const s=r.icon;return o.jsxs("div",{className:`group p-8 rounded-3xl bg-white/[0.02] border border-white/10 hover:border-white/20 hover:bg-white/[0.04] transition-all duration-300 flex flex-col justify-between scroll-reveal delay-${(n+1)*100} ${t?"revealed":""}`,children:[o.jsxs("div",{children:[o.jsxs("span",{className:`text-xs font-black ${r.accentColor} tracking-widest uppercase block mb-6`,children:[r.number," — STEP"]}),o.jsx("div",{className:`w-14 h-14 rounded-2xl ${r.accentBg} ${r.accentBorder} border flex items-center justify-center mb-6 group-hover:scale-110 transition-all duration-300`,children:o.jsx(s,{className:`w-7 h-7 ${r.accentColor}`})}),o.jsx("h3",{className:"text-xl font-bold mb-3 tracking-tight text-white",children:r.title}),o.jsx("p",{className:"text-white/50 text-xs leading-relaxed mb-6",children:r.description})]}),o.jsx("div",{className:"space-y-2 pt-4 border-t border-white/5",children:r.checks.map(a=>o.jsxs("div",{className:"flex items-center gap-2 text-xs text-white/70",children:[o.jsx(Ol,{className:"w-3.5 h-3.5 text-blue-400 flex-shrink-0"}),o.jsx("span",{children:a})]},a))})]},r.title)})})]})})},xn=[{id:"timeline",title:"Project Timeline",description:"View the exact phases of your project from discovery to deployment, with clear success criteria for every step.",icon:Dn,image:"/dashboard/rag-overview.png"},{id:"deliverables",title:"Instant Deliverables",description:"Access your setup videos, documentation, and configuration files directly from a centralized deliverables hub.",icon:Dl,image:"/dashboard/deliverables.png"},{id:"feedback",title:"Direct Feedback Chat",description:"Discuss revisions, ask questions, and collaborate directly with our team using the built-in communication interface.",icon:_l,image:"/dashboard/feedback.png"},{id:"payments",title:"Invoices & Payments",description:"Easily manage your project milestones, view detailed invoices, and handle payments securely in one place.",icon:Ll,image:"/dashboard/payments.png"}],Yp=()=>{const[e,t]=d.useState(xn[0].id);return o.jsxs("section",{className:"py-24 bg-background relative overflow-hidden",children:[o.jsx("div",{className:"absolute top-0 inset-x-0 h-px bg-gradient-to-r from-transparent via-primary/20 to-transparent"}),o.jsx("div",{className:"absolute -left-40 top-40 w-[500px] h-[500px] bg-primary/5 rounded-full blur-[100px] pointer-events-none"}),o.jsxs("div",{className:"container mx-auto px-4 md:px-6 relative z-10",children:[o.jsx("div",{className:"text-center max-w-3xl mx-auto mb-16",children:o.jsxs(U.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},children:[o.jsx("span",{className:"text-xs font-black uppercase tracking-[0.3em] text-blue-400 mb-4 block",children:"Client Experience"}),o.jsx("h2",{className:"text-3xl md:text-5xl font-black mb-6 text-white tracking-tight",children:"What working with Blukaze looks like."}),o.jsx("p",{className:"text-base text-white/60 max-w-xl mx-auto",children:"Experience complete transparency through your Personal Launchpad — track deliverables, discuss feedback, view timelines, and manage invoices in one centralized dashboard."})]})}),o.jsxs("div",{className:"flex flex-col lg:flex-row gap-12 lg:gap-8 items-center lg:items-start",children:[o.jsx("div",{className:"w-full lg:w-1/3 flex flex-col gap-4",children:xn.map(r=>
47{const n=r.icon,s=e===r.id;return o.jsxs("button",{onClick:()=>t(r.id),className:`relative p-6 rounded-2xl text-left transition-all duration-300 border ${s?"bg-card border-primary/30 shadow-[0_0_30px_-10px_rgba(var(--primary),0.2)]":"bg-transparent border-transparent hover:bg-card/50"}`,children:[o.jsxs("div",{className:"flex items-start gap-4",children:[o.jsx("div",{className:`p-3 rounded-xl transition-colors ${s?"bg-primary/20 text-primary":"bg-muted text-muted-foreground"}`,children:o.jsx(n,{className:"w-6 h-6"})}),o.jsxs("div",{children:[o.jsx("h3",{className:`text-xl font-semibold mb-2 transition-colors ${s?"text-foreground":"text-foreground/70"}`,children:r.title}),o.jsx("p",{className:`text-sm transition-colors ${s?"text-muted-foreground":"text-muted-foreground/50"}`,children:r.description})]})]}),s&&o.jsx(U.div,{layoutId:"active-indicator",className:"absolute inset-y-0 left-0 w-1 bg-primary rounded-l-2xl"})]},r.id)})}),o.jsxs("div",{className:"w-full lg:w-2/3 relative min-h-[400px] md:min-h-[600px] flex items-center justify-center",children:[o.jsxs("div",{className:"absolute inset-0 bg-card rounded-3xl border border-white/5 overflow-hidden shadow-2xl",children:[o.jsxs("div",{className:"absolute top-0 inset-x-0 h-12 bg-white/5 border-b border-white/5 flex items-center px-4 gap-2",children:[o.jsx("div",{className:"w-3 h-3 rounded-full bg-red-500/80"}),o.jsx("div",{className:"w-3 h-3 rounded-full bg-yellow-500/80"}),o.jsx("div",{className:"w-3 h-3 rounded-full bg-green-500/80"})]}),o.jsx("div",{className:"relative w-full h-[calc(100%-3rem)] mt-12 bg-background/50 flex items-center justify-center p-4",children:o.jsx(Mr,{mode:"wait",children:xn.map(r=>r.id===e&&o.jsxs(U.div,{initial:{opacity:0,scale:.95,y:10},animate:{opacity:1,scale:1,y:0},exit:{opacity:0,scale:1.05,y:-10},transition:{duration:.4,ease:"easeOut"},className:"w-full h-full flex flex-col items-center justify-center",children:[o.jsx("img",{src:r.image,alt:r.title,className:"w-full h-full object-contain rounded-lg drop-shadow-2xl",onError:n=>{n.currentTarget.style.display="none",n.currentTarget.parentElement.querySelector(".fallback-placeholder").classList.remove("hidden")}}),o.jsxs("div",{className:"fallback-placeholder hidden w-full h-full flex flex-col items-center justify-center text-center p-8 bg-muted/20 border border-dashed border-white/10 rounded-xl",children:[o.jsx(r.icon,{className:"w-16 h-16 text-muted-foreground mb-4 opacity-50"}),o.jsxs("h4",{className:"text-lg font-medium text-muted-foreground mb-2",children:[r.title," UI"]}),o.jsxs("p",{className:"text-sm text-muted-foreground/70 max-w-sm",children:["Please save the provided image as ",o.jsx("br",{}),o.jsx("code",{className:"text-primary",children:r.image})]})]})]},r.id))})})]}),o.jsx("div",{className:"absolute -bottom-6 -right-6 w-32 h-32 bg-primary/20 rounded-full blur-[50px] -z-10"}),o.jsx("div",{className:"absolute -top-6 -left-6 w-32 h-32 bg-primary/20 rounded-full blur-[50px] -z-10"})]})]})]})]})},Qp="/assets/sarah-m-D5HJE4Om.jpg",Xp="/assets/james-r-CoxCiz3q.jpg",Zp="/assets/priya-k-CPs7yPkG.jpg",fs=[{quote:"Blukaze transformed our lead pipeline. What took our team 4 hours daily now runs on autopilot with zero errors.",fullQuote:"Blukaze transformed our lead pipeline. What took our team 4 hours daily now runs on autopilot with zero errors. The team was incredibly responsive and understood our business needs from day one. We've seen a 3x improvement in conversion rates since implementing their automation workflows.",name:"Sarah M.",company:"Apollo",role:"HEAD OF OPERATIONS",initials:"SM",image:Qp},{quote:"Their AI automation expertise is next level. We've cut manual data entry by 90% and our team finally focuses on strategy.",fullQuote:"Their AI automation expertise is next level. We've cut manual data entry by 90% and our team finally focuses on strategy. The n8n workflows they built are robust, well-documented, and easy for our team to maintain. Blukaze didn't just automate  they transformed how we think about operations.",name:"James R.",role:"CEO, TECHFLOW",initials:"JR",image:Xp},{quote:"From discovery call to live automation in under a week. The ROI was immediate and the ongoing support is outstanding.",fullQuote:"From discovery call to live automation in under a week. The ROI was immediate and the ongoing support is outstanding. They identified bottlenecks we didn't even know existed and built solutions that saved us thousands of dollars monthly. Highly recommend for any business looking to scale.",name:"Priya K.",role:"OPERATIONS MANAGER",initials:"PK",image:Zp}],Jp=()=>{const{ref:e,isRevealed:t}
47=Kr(.1),[r,n]=d.useState(0),s=fs[r];return o.jsxs("section",{className:"py-28 relative overflow-hidden",children:[o.jsx("div",{className:"absolute inset-0 bg-gradient-to-b from-background via-primary/3 to-background pointer-events-none"}),o.jsx("div",{className:"container mx-auto px-6 relative z-10",ref:e,children:o.jsxs("div",{className:`scroll-reveal ${t?"revealed":""}`,children:[o.jsxs("div",{className:"text-center mb-16",children:[o.jsx("span",{className:"text-xs font-black uppercase tracking-[0.3em] text-blue-400 mb-4 block",children:"Verified Client Outcomes"}),o.jsx("h2",{className:"text-3xl md:text-5xl font-black text-white tracking-tight",children:"Trusted by Operations Leaders"})]}),o.jsx("div",{className:`max-w-5xl mx-auto mb-8 scroll-reveal delay-200 ${t?"revealed":""}`,children:o.jsxs("div",{className:"grid md:grid-cols-[1fr_1.2fr] gap-0 rounded-2xl border border-border/40 bg-card/40 overflow-hidden",children:[o.jsxs("div",{className:"relative bg-gradient-to-br from-primary/10 via-card to-card h-[300
47px] md:h-[400px] overflow-hidden",children:[o.jsx("div",{className:"absolute inset-0 dot-grid opacity-20"}),o.jsx("img",{src:s.image,alt:s.name,className:"relative z-10 w-full h-full object-cover object-top"})]}),o.jsxs("div",{className:"p-8 md:p-10 flex flex-col justify-center",children:[o.jsx(Fl,{className:"w-8 h-8 text-primary mb-6"}),o.jsxs("p",{className:"text-foreground text-lg md:text-xl font-medium leading-relaxed mb-8",children:['"',s.fullQuote,'"']}),o.jsxs("div",{children:[o.jsx("p",{className:"text-foreground font-semibold text-sm",children:s.name}),o.jsxs("p",{className:"text-muted-foreground text-xs tracking-wide uppercase",children:[s.company&&`${s.company} • `,s.role]})]})]})]})}),o.jsx("div",{className:`grid md:grid-cols-3 gap-4 max-w-5xl mx-auto scroll-reveal delay-300 ${t?"revealed":""}`,children:fs.map((a,i)=>o.jsxs("button",{onClick:()=>n(i),className:`text-left p-6 rounded-xl border transition-all duration-300 cursor-pointer ${r===i?"border-primary/60 bg-gradient-to-b from-primary/10 to-card/80 shadow-lg shadow-primary/5":"border-border/40 bg-card/40 hover:border-primary/20"}`,children:[o.jsxs("p",{className:"text-foreground/80 text-sm leading-relaxed mb-5 line-clamp-3",children:['"',a.quote,'"']}),o.jsxs("div",{className:"flex items-center gap-3",children:[o.jsx("div",{className:"w-8 h-8 rounded-full bg-primary/10 border border-primary/20 overflow-hidden flex-shrink-0",children:o.jsx("img",{src:a.image,alt:a.name,className:"w-full h-full object-cover"})}),o.jsxs("div",{children:[o.jsx("p",{className:"text-foreground font-semibold text-xs",children:a.name}),o.jsxs("p",{className:"text-muted-foreground text-[10px] tracking-wide uppercase",children:[a.company&&`${a.company} • `,a.role]})]})]})]},i))})]})})]})},eh=[{icon:$l,title:"AI Lead Qualification",problem:"Manual lead screening delays sales response times.",workflow:"Lead Inbound → Enrichment → AI Scoring → CRM Route → Outreach",tools:["n8n","OpenAI","HubSpot","Clearbit"],outcome:"< 5 min lead engagement & 3x higher conversion"},{icon:Mn,title:"AI Content Pipeline",problem:"Creating & staging multi-channel content takes hours.",workflow:"Topic Input → Research → LLM Draft → Editor Review → CMS Stage",tools:["n8n","Claude 3.5","Webflow","WordPress"],outcome:"5x faster content output with zero manual formatting"},{icon:Ps,title:"Data Sync & ETL",problem:"Stale operational data across Airtable, databases & SaaS.",workflow:"Webhook → Deduplication Check → Intelligent Branching → Sync DB",tools:["n8n","PostgreSQL","Airtable","BigCommerce"],outcome:"100% data integrity with real-time bi-directional sync"}],th=()=>{const{ref:e,isRevealed:t}=Kr(.1);return o.jsx("section",{id:"templates",className:"py-24 md:py-36 relative overflow-hidden bg-[#050510] border-b border-white/5",children:o.jsx("div",{className:"container mx-auto px-5 sm:px-6 lg:px-12 relative z-10",children:o.jsxs("div",{ref:e,className:`scroll-reveal ${t?"revealed":""}`,children:[o.jsxs("div",{className:"max-w-2xl mx-auto text-center mb-16",children:[o.jsx("span",{className:"text-xs font-black uppercase tracking-[0.3em] text-blue-400 mb-4 block",children:"Pre-Engineered Systems"}),o.jsxs("h2",{className:"text-3xl md:text-5xl font-black mb-4 tracking-tight leading-tight text-white",children:["Start with an automation that"," ",o.jsx("span",{className:"text-transparent bg-clip-text bg-gradient-to-r from-blue-400 via-indigo-300 to-purple-400",children:"already works."})]}),o.jsx("p",{className:"text-white/50 text-base max-w-lg mx-auto",children:"Production-ready n8n workflows built by experts, ready to customize for your business."})]}),o.jsx("div",{className:"grid md:grid-cols-3 gap-6 max-w-6xl mx-auto mb-12",children:eh.map((r,n)=>o.jsxs("div",{className:`p-8 rounded-3xl bg-white/[0.02] border border-white/10 hover:border-blue-500/40 hover:bg-white/[0.04] transition-all duration-300 flex flex-col justify-between group cursor-pointer text-left scroll-reveal delay-${(n+1)*100} ${t?"revealed":""}`,children:[o.jsxs("div",{children:[o.jsx("div",{className:"w-12 h-12 rounded-2xl bg-blue-500/10 border border-blue-500/20 flex items-center justify-center mb-6 group-hover:scale-110 transition-transform",children:o.jsx(r.icon,{className:"w-6 h-6 text-blue-400"})}),o.jsx("h3",{className:"text-xl font-bold mb-3 text-white",children:r.title}),o.jsxs("div",{className:"space-y-3 mb-6",children:[o.jsxs("div",{children:[o.jsx("span",{className:"text-[10px] font-bold uppercase tracking-wider text-red-400/90 block mb-0.5",children:"PROBLEM SOLVED"}),o.jsx("p",{className:"text-xs text-white/60",children:r.problem})]}),o.jsxs("div",{children:[o.jsx("span",{className:"text-[10px] font-bold uppercase tracking-wider text-blue-400/90 block mb-0.5",children:"WORKFLOW PIPELINE"}),o.jsx("p",{className:"text-xs font-semibold text-white/90",children:r.workflow})]}),o.jsxs("div",{children:[o.jsx("span",{className:"text-[10px] font-bold uppercase tracking-wider text-emerald-400/90 block mb-0.5",children:"EXPECTED OUTCOME"}),o.jsx("p",{className:"text-xs text-white/70",children:r.outcome})]})]})]}),o.jsxs("div",{children:[o.jsx("div",{className:"flex flex-wrap gap-1.5 mb-6",children:r.tools.map(s=>o.jsx("span",{className:"px-2.5 py-1 rounded-md bg-white/5 border border-white/10 text-[10px] font-semibold text-white/40",children:s},s))}),o.jsxs("a",{href:"https://n8n.io/creators/hellopaul/",target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-1.5 text-xs font-bold text-blue-400 group-hover:text-blue-300 transition-colors",children:[o.jsx("span",{children:"Explore Workflow"}),o.jsx(Ln,{size:14,className:"group-hover:translate-x-0.5 group-hover:-translate-y-0.5 transition-transform"})]})]})]},r.title))}),o.jsx("div",{className:"text-center",children:o.jsx("a",{href:"https://n8n.io/creators/hellopaul/",target:"_blank",rel:"noopener noreferrer",children:o.jsxs(Wt,{variant:"outline",size:"lg",className:"group rounded-full px-8 bg-white/5 border-white/10 hover:bg-white/10 text-white font-semibold text-xs",children:["Browse All 14+ Production Workflows",o.jsx(Be,{className:"w-4 h-4 ml-2 group-hover:translate-x-1 transition-transform"})]})})})]})})})};var Yr="Collapsible",[rh,_i]=vt(Yr),[nh,no]=rh(Yr),Li=d.forwardRef((e,t)=>
47{const{__scopeCollapsible:r,open:n,defaultOpen:s,disabled:a,onOpenChange:i,...l}=e,[u,c]=sr({prop:n,defaultProp:s??!1,onChange:i,caller:Yr});return o.jsx(nh,{scope:r,disabled:a,contentId:Xt(),open:u,onOpenToggle:d.useCallback(()=>c(m=>!m),[c]),children:o.jsx(J.div,{"data-state":so(u),"data-disabled":a?"":void 0,...l,ref:t})})});Li.displayName=Yr;var Fi="CollapsibleTrigger",$i=d.forwardRef((e,t)=>{const{__scopeCollapsible:r,...n}=e,s=no(Fi,r);return o.jsx(J.button,{type:"button","aria-controls":s.contentId,"aria-expanded":s.open||!1,"data-state":so(s.open),"data-disabled":s.disabled?"":void 0,disabled:s.disabled,...n,ref:t,onClick:X(e.onClick,s.onOpenToggle)})});$i.displayName=Fi;var oo="CollapsibleContent",zi=d.forwardRef((e,t)=>{const{forceMount:r,...n}=e,s=no(oo,e.__scopeCollapsible);return o.jsx(yt,{present:r||s.open,children:({present:a})=>o.jsx(oh,{...n,ref:t,present:a})})});zi.displayName=oo;var oh=d.forwardRef((e,t)=>{const{__scopeCollapsible:r,present:n,children:s,...a}=e,i=no(oo,r),[l,u]=d.useState(n),c=d.useRef(null),m=ne(t,c),h=d.useRef(0),x=h.current,f=d.useRef(0),b=f.current,p=i.open||l,g=d.useRef(p),y=d.useRef(void 0);return d.useEffect(()=>{const v=requestAnimationFrame(()=>g.current=!1);return()=>cancelAnimationFrame(v)},[]),De(()=>{const v=c.current;if(v){y.current=y.current||{transitionDuration:v.style.transitionDuration,animationName:v.style.animationName},v.style.transitionDuration="0s",v.style.animationName="none";const w=v.getBoundingClientRect();h.current=w.height,f.current=w.width,g.current||(v.style.transitionDuration=y.current.transitionDuration,v.style.animationName=y.current.animationName),u(n)}},[i.open,n]),o.jsx(J.div,{"data-state":so(i.open),"data-disabled":i.disabled?"":void 0,id:i.contentId,hidden:!p,...a,ref:m,style:{"--radix-collapsible-content-height":x?`${x}px`:void 0,"--radix-collapsible-content-width":b?`${b}px`:void 0,...e.style},children:p&&s})});function so(e){return e?"open":"closed"}var sh=Li,ah=$i,ih=zi,lh=d.createContext(void 0);function ch(e){const t=d.useContext(lh);return e||t||"ltr"}var Ae="Accordion",dh=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[ao,uh,fh]=Ds(Ae),[Qr,rg]=vt(Ae,[fh,_i]),io=_i(),Bi=E.forwardRef((e,t)=>{const{type:r,...n}=e,s=n,a=n;return o.jsx(ao.Provider,{scope:e.__scopeAccordion,children:r==="multiple"?o.jsx(gh,{...a,ref:t}):o.jsx(hh,{...s,ref:t})})});Bi.displayName=Ae;var[Wi,mh]=Qr(Ae),[Vi,ph]=Qr(Ae,{collapsible:!1}),hh=E.forwardRef((e,t)=>{const{value:r,defaultValue:n,onValueChange:s=()=>{},collapsible:a=!1,...i}=e,[l,u]=sr({prop:r,defaultProp:n??"",onChange:s,caller:Ae});return o.jsx(Wi,{scope:e.__scopeAccordion,value:E.useMemo(()=>l?[l]:[],[l]),onItemOpen:u,onItemClose:E.useCallback(()=>a&&u(""),[a,u]),children:o.jsx(Vi,{scope:e.__scopeAccordion,collapsible:a,children:o.jsx(Hi,{...i,ref:t})})})}),gh=E.forwardRef((e,t)=>{const{value:r,defaultValue:n,onValueChange:s=()=>{},...a}=e,[i,l]=sr({prop:r,defaultProp:n??[],onChange:s,caller:Ae}),u=E.useCallback(m=>l((h=[])=>[...h,m]),[l]),c=E.useCallback(m=>l((h=[])=>h.filter(x=>x!==m)),[l]);return o.jsx(Wi,{scope:e.__scopeAccordion,value:i,onItemOpen:u,onItemClose:c,children:o.jsx(Vi,{scope:e.__scopeAccordion,collapsible:!0,children:o.jsx(Hi,{...a,ref:t})})})}),[xh,Xr]=Qr(Ae),Hi=E.forwardRef((e,t)=>{const{__scopeAccordion:r,disabled:n,dir:s,orientation:a="vertical",...i}=e,l=E.useRef(null),u=ne(l,t),c=uh(r),h=ch(s)==="ltr",x=X(e.onKeyDown,f=>{if(!dh.includes(f.key))return;const b=f.target,p=c().filter(O=>!O.ref.current?.disabled),g=p.findIndex(O=>O.ref.current===b),y=p.length;if(g===-1)return;f.preventDefault();let v=g;const w=0,N=y-1,C=()=>{v=g+1,v>N&&(v=w)},S=()=>{v=g-1,v<w&&(v=N)};switch(f.key){case"Home":v=w;break;case"End":v=N;break;case"ArrowRight":a==="horizontal"&&(h?C():S());break;case"ArrowDown":a==="vertical"&&C();break;case"ArrowLeft":a==="horizontal"&&(h?S():C());break;case"ArrowUp":a==="vertical"&&S();break}const A=v%y;p[A].ref.current?.focus()});return o.jsx(xh,{scope:r,disabled:n,direction:s,orientation:a,children:o.jsx(ao.Slot,{scope:r,children:o.jsx(J.div,{...i,"data-orientation":a,ref:u,onKeyDown:n?void 0:x})})})}),Ir="AccordionItem",[bh,lo]=Qr(Ir),qi=E.forwardRef((e,t)=>
47{const{__scopeAccordion:r,value:n,...s}=e,a=Xr(Ir,r),i=mh(Ir,r),l=io(r),u=Xt(),c=n&&i.value.includes(n)||!1,m=a.disabled||e.disabled;return o.jsx(bh,{scope:r,open:c,disabled:m,triggerId:u,children:o.jsx(sh,{"data-orientation":a.orientation,"data-state":Xi(c),...l,...s,ref:t,disabled:m,open:c,onOpenChange:h=>{h?i.onItemOpen(n):i.onItemClose(n)}})})});qi.displayName=Ir;var Ui="AccordionHeader",Gi=E.forwardRef((e,t)=>{const{__scopeAccordion:r,...n}=e,s=Xr(Ae,r),a=lo(Ui,r);return o.jsx(J.h3,{"data-orientation":s.orientation,"data-state":Xi(a.open),"data-disabled":a.disabled?"":void 0,...n,ref:t})});Gi.displayName=Ui;var On="AccordionTrigger",Ki=E.forwardRef((e,t)=>{const{__scopeAccordion:r,...n}=e,s=Xr(Ae,r),a=lo(On,r),i=ph(On,r),l=io(r);return o.jsx(ao.ItemSlot,{scope:r,children:o.jsx(ah,{"aria-disabled":a.open&&!i.collapsible||void 0,"data-orientation":s.orientation,id:a.triggerId,...l,...n,ref:t})})});Ki.displayName=On;var Yi="AccordionContent",Qi=E.forwardRef((e,t)=>{const{__scopeAccordion:r,...n}=e,s=Xr(Ae,r),a=lo(Yi,r),i=io(r);return o.jsx(ih,{role:"region","aria-labelledby":a.triggerId,"data-orientation":s.orientation,...i,...n,ref:t,style:{"--radix-accordion-content-height":"var(--radix-collapsible-content-height)","--radix-accordion-content-width":"var(--radix-collapsible-content-width)",...e.style}})});Qi.displayName=Yi;function Xi(e){return e?"open":"closed"}var vh=Bi,yh=qi,wh=Gi,Zi=Ki,Ji=Qi;const jh=vh,el=d.forwardRef(({className:e,...t},r)=>o.jsx(yh,{ref:r,className:ce("border-b",e),...t}));el.displayName="AccordionItem";const tl=d.forwardRef(({className:e,children:t,...r},n)=>o.jsx(wh,{className:"flex",children:o.jsxs(Zi,{ref:n,className:ce("flex flex-1 items-center justify-between py-4 font-medium transition-all hover:underline group",e),...r,children:[t,o.jsxs("span",{className:"shrink-0 text-muted-foreground",children:[o.jsx(zl,{className:"h-4 w-4 block group-data-[state=open]:hidden"}),o.jsx(Bl,{className:"h-4 w-4 hidden group-data-[state=open]:block"})]})]})}));tl.displayName=Zi.displayName;const rl=d.forwardRef(({className:e,children:t,...r},n)=>o.jsx(Ji,{ref:n,className:"overflow-hidden text-sm transition-all data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down",...r,children:o.jsx("div",{className:ce("pb-4 pt-0",e),children:t})}));rl.displayName=Ji.displayName;const Nh=[{question:"What problems can Blukaze automate?",answer:"We turn repetitive business operations into automated systems — including lead qualification, lead enrichment, CRM syncing, document parsing, customer support, email outreach, ETL pipelines, and internal knowledge retrieval."},{question:"Do I need to replace my existing software?",answer:"No. We build directly around your existing software stack (HubSpot, Salesforce, Airtable, Shopify, Slack, PostgreSQL, etc.) using APIs, webhooks, and n8n without forcing unnecessary tool replacements."},{question:"Why use n8n?",answer:"n8n provides the ideal balance of visual workflow clarity, high performance, and total flexibility. You get readable, maintainable execution flows without vendor lock-in, plus full support for custom JavaScript/Python code and self-hosting."},{question:"Can you build custom AI agents?",answer:"Yes. We build multi-step autonomous agents and tool-calling systems using frameworks like LangChain, AutoGen, and OpenAI APIs that can reason over your data, call APIs, and execute complex multi-step workflows."},{question:"Can you integrate with our CRM?",answer:"Absolutely. We routinely build custom integrations for HubSpot, Salesforce, Close, Pipedrive, Zoho, and Airtable for real-time contact creation, deal stage updates, and automated rep assignment."},{question:"How long does an automation take to build?",answer:"Most production automation systems go live within 2 to 4 weeks, depending on the complexity of your stack and workflow edge cases."},{question:"How much does an automation cost?",answer:"Pricing is transparent and project-based depending on scope, integrations, and agent complexity. Every project begins with a Free Automation Audit where we detail expected ROI before any financial commitment."},{question:"Is my business data secure?",answer:"100%. We enforce strict credential encryption, role-based API permissions, self-hosted deployment options, and zero data retention models for AI processing."},{question:"Who owns the workflows?",answer:"You do. 100% of the workflow blueprints, code, credentials, and infrastru
47cture configurations belong entirely to your company upon project completion."},{question:"Can Blukaze maintain the system after launch?",answer:"Yes. We offer ongoing monitoring, error alerts, API maintenance, and feature iterations to guarantee your systems remain 99.99% reliable as your business scales."},{question:"What happens if an AI model fails?",answer:"We engineer all systems with production safeguards: automatic retries, fallback logic, structured Zod validation, and human-in-the-loop escalation paths whenever unexpected outputs occur."}],Ch=()=>{const{ref:e,isRevealed:t}=Kr(.1);return o.jsx("section",{id:"faq",className:"py-24 md:py-36 px-6 relative bg-[#030308] border-b border-white/5",children:o.jsx("div",{className:"max-w-6xl mx-auto relative z-10",ref:e,children:o.jsxs("div",{className:`flex flex-col lg:flex-row gap-12 lg:gap-20 scroll-reveal ${t?"revealed":""}`,children:[o.jsxs("div",{className:"lg:w-1/3 shrink-0",children:[o.jsx("span",{className:"text-xs font-black uppercase tracking-[0.3em] text-blue-400 mb-4 block",children:"Clear Answers"}),o.jsx("h2",{className:"text-3xl md:text-5xl font-black tracking-tight leading-tight text-white mb-4",children:"Frequently asked questions."}),o.jsx("p",{className:"text-sm text-white/50",children:"Everything you need to know about partnering with Blukaze."})]}),o.jsx("div",{className:"lg:w-2/3",children:o.jsx(jh,{type:"single",collapsible:!0,className:"w-full",children:Nh.map((r,n)=>o.jsxs(el,{value:`item-${n}`,className:"border-b border-white/10 rounded-none px-0 bg-transparent",children:[o.jsx(tl,{className:"text-left text-base font-bold text-white hover:no-underline hover:text-blue-400 transition-colors py-6",children:r.question}),o.jsx(rl,{className:"text-white/60 text-sm leading-relaxed pb-6",children:r.answer})]},n))})})]})})})},Eh={Solutions:[{label:"AI Automation",href:"/services/ai-automation"},{label:"Web Scrapers",href:"/services/web-scrapers"},{label:"Backend Development",href:"/services/backend-development"},{label:"Business Audit",href:"/services/business-audit"}],Resource:[{label:"Blog",href:"/blog"}],Company:[{label:"About Us",href:"/about"},{label:"Contact",href:"/contact"}],Legal:[{label:"Terms of Service",href:"/terms"},{label:"Privacy Policy",href:"/privacy"}]},Sh=({showCTA:e=!0})=>{const t=d.useRef(null),r=In(t,{once:!0,margin:"-80px"});return o.jsxs("footer",{className:"bg-[#030308] border-t border-white/5 pt-20 md:pt-32 pb-12 overflow-hidden relative z-0",ref:t,children:[o.jsx("div",{className:"absolute bottom-0 left-1/2 -translate-x-1/2 w-[150%] sm:w-[120%] max-w-[1920px] h-[400px] md:h-[600px] pointer-events-none -z-10",style:{background:"radial-gradient(ellipse 80% 100% at 50% 100%, rgba(37, 99, 235, 0.4) 0%, rgba(30, 58, 138, 0.15) 40%, rgba(3, 3, 8, 0) 100%)"}}),o.jsxs("div",{className:"container mx-auto px-5 sm:px-6 lg:px-12 relative z-10",children:[e&&o.jsxs("div",{className:"border-b border-white/5 pb-16 md:pb-24 mb-14 md:mb-20",children:[o.jsx(U.p,{initial:{opacity:0,x:-20},animate:r?{opacity:1,x:0}:{},transition:{duration:.5},className:"text-xs font-black uppercase tracking-[0.4em] text-white/20 mb-10",children:"Ready to Transform?"}),o.jsxs("div",{className:"flex flex-col lg:flex-row items-start lg:items-end justify-between gap-12 group cursor-pointer",children:[o.jsxs("div",{children:[o.jsx("div",{className:"overflow-hidden mb-2",children:o.jsx(U.h2,{initial:{y:"100%"},animate:r?{y:0}:{},transition:{duration:1,ease:[.22,1,.36,1]},className:"text-[clamp(2.5rem,8vw,9rem)] font-black uppercase tracking-tighter leading-[0.85] text-white pr-4",children:"Let's Build"})}),o.jsx("div",{className:"overflow-hidden",children:o.jsx(U.h2,{initial:{y:"100%"},animate:r?{y:0}:{},transition:{duration:1,delay:.12,ease:[.22,1,.36,1]},className:"text-[clamp(2.5rem,8vw,9rem)] font-black uppercase tracking-tighter leading-[0.85] magic-text pr-4",children:"Together."})})]}),o.jsx(U.div,{initial:{opacity:0,scale:.7},animate:r?{opacity:1,scale:1}:{},transition:{duration:.7,delay:.3,ease:[.22,1,.36,1]},children:o.jsx(nt,{to:"/contact",children:o.jsxs("div",{className:"w-36 h-36 md:w-48 md:h-48 rounded-full border-2 border-white/10 flex flex-col items-center justify-center hover:bg-gradient-to-br hover:from-blue-600 hover:to-purple-600 hover:border-transparent transition-all duration-500 group",children:[o.jsx(Ln,{size:48,className:"text-white/40 group-hover:text-white group-hover:translate-x-1.5 group-hover:-translate-y-1.5 transition-all duration-300"}),o.jsx("span",{className:"text-[9px] font-black uppercase tracking-[0.3em] text-white/30 group-hover:text-white mt-2 transition-colors",children:"Contact Us"})]})})})]})]}),o.jsxs(U.div,{initial:{opacity:0,y:40},animate:r?{opacity:1,y:0}:{},transition:{duration:.8,delay:.2},className:"grid grid-cols-2 md:grid-cols-4 lg:grid-cols-6 gap-12 mb-16",children:[o.jsxs("div",{className:"col-span-2",children:[o.jsxs(nt,{to:"/",className:"flex items-center gap-3 mb-8",children:[o.jsx("div",{className:"w-12 h-12 flex items-center justify-center",children:o.jsx("img",{src:ti,alt:"Blukaze",className:"w-full h-full object-contain brightness-0 invert"})}),o.jsx(Tn,{className:"h-7 w-auto text-white"})]}),o.jsx("p",{className:"text-sm text-white/30 leading-relaxed max-w-xs mb-8",children:"Automation with a human touch."})]}),Object.entries(Eh).map(([n,s])=>o.jsxs("div",{children:[o.jsx("p",{className:"text-[10px] font-black uppercase tracking-[0.4em] text-white/20 mb-6",children:n}),o.jsx("ul",{className:"space-y-4",children:s.map(a=>o.jsx("li",{children:o.jsx(nt,{to:a.href,className:"text-sm font-semibold text-white/40 hover:text-white transition-colors",children:a.label})},a.label))})]},n))]}),o.jsx("div",{className:"flex flex-col md:flex-row items-center justify-between gap-6 pt-8 border-t border-white/5"})]})]})},Ah=()=>{const[e,t]=d.useState({x:-200,y:-200});return d.useEffect(()=>{const r=n=>{t({x:n.clientX,y:n.clientY})};return window.addEventListener("mousemove",r),()=>window.removeEventListener("mousemove",r)},[]),o.jsx("div",{className:"pointer-events-none fixed inset-0 z-50 transition-opacity duration-300",style:{background:`radial-gradient(600px circle at ${e.x}px ${e.y}px, hsl(217 91% 60% / 0.06), transparent 40%)`}})},kh=({title:e,description:t,keywords:r})=>(d.useEffect(()=>{if(document.title=e.includes("Blukaze")?e:`${e} | Blukaze | AI Automation & Business Process Automation`,t){const n=document.querySelector('meta[name="description"]');n&&n.setAttribute("content",t)}if(r){const n=document.querySelector('meta[name="keywords"]');n&&n.setAttribute("content",r)}},[e,t,r]),null),Ph=()=>o.jsxs("div",{className:"min-h-screen bg-background overflow-x-hidden",children:[o.jsx(kh,{title:"Blukaze | AI Automation & Business Process Automation",description:"Blukaze builds production-ready AI automation systems, AI agents, integrations and workflows that eliminate repetitive business work."}),o.jsx(Ah,{}),o.jsx(kp,{}),o.jsxs("main",{children:[o.jsx(Rp,{}),o.jsx(Op,{}),o.jsx(Mp,{}),o.jsx(Dp,{}),o.jsx(_p,{}),o.jsx($p,{}),o.jsx(Bp,{}),o.jsx(Hp,{}),o.jsx(Up,{}),o.jsx(Kp,{}),o.jsx(Yp,{}),o.jsx(Jp,{}),o.jsx(th,{}),o.jsx(Ch,{})]}),o.jsx(Sh,{})]}),Rh=d.lazy(()=>ge(()=>import("./Auth-CmCsue8t.js"),__vite__mapDeps([0,1,2,3]))),Th=d.lazy(()=>ge(()=>import("./About-DoQnlW1D.js"),__vite__mapDeps([4,1,2,3]))),Oh=d.lazy(()=>ge(()=>import("./Contact-Clnii2DQ.js"),__vite__mapDeps([5,1,2,3]))),Ih=d.lazy(()=>ge(()=>import("./Terms-D5CqAssw.js"),__vite__mapDeps([6,1,2,3]))),Mh=d.lazy(()=>ge(()=>import("./Privacy-DMUFa1MN.js"),__vite__mapDeps([7,1,2,3]))),Dh=d.lazy(()=>ge(()=>
47import("./Works-D21HN7jd.js"),__vite__mapDeps([8,1,2,9,3]))),_h=d.lazy(()=>ge(()=>import("./WorkDetail-C_aTmUTB.js"),__vite__mapDeps([10,1,2,9,3]))),Lh=d.lazy(()=>ge(()=>import("./ServiceDetail-Uk4xP_HW.js"),__vite__mapDeps([11,1,2,3]))),Fh=d.lazy(()=>ge(()=>import("./PostCheckout-CT0tYkX2.js"),__vite__mapDeps([12,1,2,3]))),$h=d.lazy(()=>ge(()=>import("./Blog-sIdJRRR5.js"),__vite__mapDeps([13,1,2,14,3]))),zh=d.lazy(()=>ge(()=>import("./ArticleDetail-BeD0TwoP.js"),__vite__mapDeps([15,1,2,14,3,16]))),Bh=d.lazy(()=>ge(()=>import("./NotFound-CIfO8Z_1.js"),__vite__mapDeps([16,1,2,3]))),Wh=new mm({defaultOptions:{queries:{staleTime:1e3*60*5,refetchOnWindowFocus:!1}}}),Vh=()=>o.jsx(hm,{client:Wh,children:o.jsxs(Vf,{children:[o.jsx(Nd,{}),o.jsx(tu,{}),o.jsxs(gl,{children:[o.jsx(gm,{}),o.jsx(d.Suspense,{fallback:null,children:o.jsxs(xl,{children:[o.jsx(ue,{path:"/",element:o.jsx(Ph,{})}),o.jsx(ue,{path:"/auth",element:o.jsx(Rh,{})}),o.jsx(ue,{path:"/about",element:o.jsx(Th,{})}),o.jsx(ue,{path:"/contact",element:o.jsx(Oh,{})}),o.jsx(ue,{path:"/terms",element:o.jsx(Ih,{})}),o.jsx(ue,{path:"/privacy",element:o.jsx(Mh,{})}),o.jsx(ue,{path:"/works",element:o.jsx(Dh,{})}),o.jsx(ue,{path:"/works/:slug",element:o.jsx(_h,{})}),o.jsx(ue,{path:"/services/:slug",element:o.jsx(Lh,{})}),o.jsx(ue,{path:"/blog",element:o.jsx($h,{})}),o.jsx(ue,{path:"/blog/:slug",element:o.jsx(zh,{})}),o.jsx(ue,{path:"/post-checkout",element:o.jsx(Fh,{})}),o.jsx(ue,{path:"*",element:o.jsx(Bh,{})})]})})]})]})});Os(document.getElementById("root")).render(o.jsx(Vh,{}));export{Wt as B,Ah as C,Sh as F,kp as N,J as P,kh as S,ia as a,Di as b,ce as c,ti as l,Yh as u};

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.