const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/Index-Cmmk7FdR.js","assets/react-vendor-BiKEbLqf.js","assets/button-F0c2zgfO.js","assets/Footer-BCdrvFQr.js","assets/client-Ccea0ZZ8.js","assets/chevron-right-9d459eh4.js","assets/arrow-right-BJutILxB.js","assets/TrustRow-BYDZFMQw.js","assets/zap-BrolQmPJ.js","assets/shield-C31ECPnk.js","assets/dollar-sign-BLo4SVAS.js","assets/card-D8XUAx1y.js","assets/plane-BMEmIYfl.js","assets/eye-BcQIQMTz.js","assets/car-5zaZ9-lE.js","assets/badge-rRfUgTqY.js","assets/factory-O-gulmWI.js","assets/warehouse-CZS85pZK.js","assets/shopping-bag--_oSVwaJ.js","assets/calculator-BFTQo6yA.js","assets/services-Ct2AdeTK.js","assets/bot-DSpkk2ox.js","assets/sparkles-adZkiZlJ.js","assets/chart-column-CwtWdjlv.js","assets/cog-Cizg07QQ.js","assets/server-B5qYVrTZ.js","assets/network-B4TGYp--.js","assets/collapsible-DiW35bkG.js","assets/index-D9xaiIhE.js","assets/chevron-up-U_pRca_k.js","assets/lock-CKToxi9B.js","assets/FinalCtaSection-WC31vHnb.js","assets/HowWeMeasure-CR4qrgq0.js","assets/accordion-DK3ZPWHL.js","assets/arrow-left-BGq1TsT3.js","assets/file-text-BAVuhH5-.js","assets/trending-up-CYqT4227.js","assets/target-ookGrzkW.js","assets/Resources-x46VeSLg.js","assets/clock-D5GYig2h.js","assets/resources-BXr7odul.js","assets/search-nS3vzZKA.js","assets/checkbox-CIREr_ko.js","assets/BreadcrumbNav-DNbFIb3a.js","assets/breadcrumb-BZGpceck.js","assets/ResourceDetail-mC7bJdEu.js","assets/Industries-BVmao-L-.js","assets/industries-BBL5CkIW.js","assets/tram-front-Ph7SxZZK.js","assets/IndustryDetail-BDkFCI5C.js","assets/use-mobile-DxeURCgj.js","assets/MobileStickyBar-qxo18wlm.js","assets/seo-DAxSTRaE.js","assets/circle-check-big-Bh3GJQos.js","assets/Solutions-3kyXxE02.js","assets/solutions-BeMENvtg.js","assets/download-DlY6qDWe.js","assets/rocket-Dw1THV-p.js","assets/puzzle-hDc1tpHJ.js","assets/cpu-BJcC6Zob.js","assets/building-2-r0oYeNIQ.js","assets/SolutionDetail-sPT3xijZ.js","assets/DatasheetRequestModal-Dfv4h7E6.js","assets/activity-BqusXPgw.js","assets/wifi-off-D3EcJnpU.js","assets/arrow-up-DVGMb6JG.js","assets/box-BN-weIsC.js","assets/brain-circuit-CNytNofG.js","assets/brain-CJojsnQn.js","assets/smartphone-8vcwlVPm.js","assets/trending-down-TqvBaDS6.js","assets/user-check-x_OHO2HS.js","assets/graduation-cap-DWIOB6rk.js","assets/circle-x-g9GsYv9T.js","assets/plug-D9V_IHKz.js","assets/type-CwXo1rEK.js","assets/copy-Blvh5_7n.js","assets/database-DfvLsiXE.js","assets/file-check-KrkQfeqn.js","assets/flask-conical-DCGFQl0S.js","assets/trash-2-PTyzsiNH.js","assets/globe-Canu9UH9.js","assets/heart-BTutnIVa.js","assets/shopping-cart-B98cbVNG.js","assets/workflow-BpmunWuT.js","assets/layout-dashboard-I0piFbgv.js","assets/package-BqnsG66Z.js","assets/pen-tool-zOero_HI.js","assets/rotate-ccw-CtkGsRgu.js","assets/refresh-cw-Lpgl1agh.js","assets/scan-line-CaXK5_kn.js","assets/truck-RPFMeEXN.js","assets/shield-check-1SKQPRT_.js","assets/triangle-alert-6aReCDA8.js","assets/user-plus-_Bp1L6TO.js","assets/wrench-CzPb7gLy.js","assets/table-CcC3dm_Y.js","assets/Services-DclMewNy.js","assets/ServiceDetail-Bg3yF3NY.js","assets/tabs-D_pSg_j8.js","assets/Canonical-B5YyJNeG.js","assets/NotFound-B_iJCu3T.js","assets/Customers-DtlJfXJY.js","assets/Products-D2G2tEBr.js","assets/ProductDetail-By7APocQ.js","assets/SkyAide-DBVgjpSw.js","assets/Trust-D4EWdhpv.js","assets/About-D1QLl3zg.js","assets/Company-DUbeoIEY.js","assets/Careers-D5AbEkL3.js","assets/ComponentLibrary-GgMpigcc.js","assets/PrivacyPolicy-DE1G55pV.js","assets/CookiesPolicy-CEauaCH8.js","assets/Disclaimer-bXcKACaQ.js","assets/DeiPolicy-Ckxa_2sK.js","assets/TermsOfService-DXXeuxhQ.js","assets/Contact-DHoKlpzK.js","assets/RoiCalculatorLanding-CIlPiyzM.js","assets/RoiCalculatorAgentic-yoW8agDG.js","assets/slider-DpkpY2uB.js","assets/RoiCalculatorCv-B5fEzyBg.js","assets/RoiCalculatorModernization-Rqn5P-Np.js","assets/Outcomes-CbETn29K.js","assets/progress-CHsnwzjE.js","assets/EnterpriseSaasPerformance-BbEI4Z9Y.js","assets/CaseStudyGate-DxLnTkbn.js","assets/MunicipalCvCost-Dmpb88kH.js","assets/RedactionCompliance-CCtkKjAb.js","assets/PredictiveFreightRouter-CK2W-S35.js","assets/FinopsFraudDetection-DL4-dld7.js","assets/HealthcareRailsResurrection-DGSb9vLK.js","assets/ColdChainGuardian-BHyxqSfu.js","assets/Soc2Startups-DXP5sZdg.js","assets/AIReadinessAssessment-DGTsAUXM.js","assets/GccAsAService-BOwgDMFQ.js","assets/AiCapabilityCenter-fEZqlhgD.js","assets/EngagementModels-BodhVGCn.js","assets/MlopsSetup-BVlwYhd4.js","assets/Methodology-DWfRzsll.js","assets/RailsModernization-DUC5yUvR.js","assets/GccService-_Z0x0XTP.js","assets/MlopsService-C6qzoQ-m.js","assets/AgenticAi-Bbipaxc1.js","assets/ComputerVision-vlEXVyV4.js","assets/Manufacturing-D8LCPP6c.js","assets/Healthcare-aBPoHJMr.js","assets/Insurance-Cb8by0Im.js","assets/AirlineLoyaltyAi-D6H5ch0E.js","assets/AiHiring-mkY9DHuo.js","assets/PlatformModernization-3JUlvupP.js","assets/AiPartnerVsInHouse-h-5CgcFq.js","assets/BoutiqueAiVsBigConsultancy-D5wrTJcN.js","assets/AiPocVsProduction-CkkFUeBi.js","assets/PremiumVsOffshoreAi-C-cI-ZsN.js"])))=>i.map(i=>d[i]);
var e,t,n,o,r,s,a,i,l,c,d,u,p,m,h,f,g,y,v,b,w,x,_,E,k,T,j,C,P,S,R,O,L,A,D,M,I,N,z,F,B,V,$=e=>{throw TypeError(e)},q=(e,t,n)=>t.has(e)||$("Cannot "+n),H=(e,t,n)=>(q(e,t,"read from private field"),n?n.call(e):t.get(e)),W=(e,t,n)=>t.has(e)?$("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),K=(e,t,n,o)=>(q(e,t,"write to private field"),o?o.call(e,n):t.set(e,n),n),G=(e,t,n)=>(q(e,t,"access private method"),n),U=(e,t,n,o)=>({set _(o){K(e,t,o,n)},get _(){return H(e,t,o)}});import{c as Y,a as Q,u as X,j as J,B as Z,P as ee,V as te,b as ne,d as oe,e as re,f as se,R as ae,g as ie,h as le,i as ce,k as de,A as ue,D as pe,C as me,l as he,m as fe,n as ge,o as ye,p as ve}from"./ui-vendor-Dyu0xMC9.js";import{a as be,r as we,R as xe,b as _e,B as Ee,e as ke,f as Te,N as je,u as Ce}from"./react-vendor-BiKEbLqf.js";import{c as Pe}from"./chart-vendor-V3pFlbOw.js";!function(){const e=document.createElement("link").relList;if(!(e&&e.supports&&e.supports("modulepreload"))){for(const e of document.querySelectorAll('link[rel="modulepreload"]'))t(e);new MutationObserver(e=>{for(const n of e)if("childList"===n.type)for(const e of n.addedNodes)"LINK"===e.tagName&&"modulepreload"===e.rel&&t(e)}).observe(document,{childList:!0,subtree:!0})}function t(e){if(e.ep)return;e.ep=!0;const t=function(e){const t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),"use-credentials"===e.crossOrigin?t.credentials="include":"anonymous"===e.crossOrigin?t.credentials="omit":t.credentials="same-origin",t}(e);fetch(e.href,t)}}();var Se=be;V=Se.createRoot,Se.hydrateRoot;const Re={},Oe=function(e,t,n){let o=Promise.resolve();if(t&&t.length>0){document.getElementsByTagName("link");const e=document.querySelector("meta[property=csp-nonce]"),n=e?.nonce||e?.getAttribute("nonce");o=Promise.allSettled(t.map(e=>{if((e=function(e){return"/"+e}(e))in Re)return;Re[e]=!0;const t=e.endsWith(".css"),o=t?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${e}"]${o}`))return;const r=document.createElement("link");return r.rel=t?"stylesheet":"modulepreload",t||(r.as="script"),r.crossOrigin="",r.href=e,n&&r.setAttribute("nonce",n),document.head.appendChild(r),t?new Promise((t,n)=>{r.addEventListener("load",t),r.addEventListener("error",()=>n(new Error(`Unable to preload CSS for ${e}`)))}):void 0}))}function r(e){const t=new Event("vite:preloadError",{cancelable:!0});if(t.payload=e,window.dispatchEvent(t),!t.defaultPrevented)throw e}return o.then(t=>{for(const e of t||[])"rejected"===e.status&&r(e.reason);return e().catch(r)})};let Le=0;const Ae=new Map,De=e=>{if(Ae.has(e))return;const t=setTimeout(()=>{Ae.delete(e),ze({type:"REMOVE_TOAST",toastId:e})},1e6);Ae.set(e,t)},Me=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,1)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(e=>e.id===t.toast.id?{...e,...t.toast}:e)};case"DISMISS_TOAST":{const{toastId:n}=t;return n?De(n):e.toasts.forEach(e=>{De(e.id)}),{...e,toasts:e.toasts.map(e=>e.id===n||void 0===n?{...e,open:!1}:e)}}case"REMOVE_TOAST":return void 0===t.toastId?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(e=>e.id!==t.toastId)}}},Ie=[];let Ne={toasts:[]};function ze(e){Ne=Me(Ne,e),Ie.forEach(e=>{e(Ne)})}function Fe({...e}){const t=(Le=(Le+1)%Number.MAX_SAFE_INTEGER,Le.toString()),n=()=>ze({type:"DISMISS_TOAST",toastId:t});return ze({type:"ADD_TOAST",toast:{...e,id:t,open:!0,onOpenChange:e=>{e||n()}}}),{id:t,dismiss:n,update:e=>ze({type:"UPDATE_TOAST",toast:{...e,id:t}})}}function Be(){const[e,t]=we.useState(Ne);return we.useEffect(()=>(Ie.push(t),()=>{const e=Ie.indexOf(t);e>-1&&Ie.splice(e,1)}),[e]),{...e,toast:Fe,dismiss:e=>ze({type:"DISMISS_TOAST",toastId:e})}}var Ve="ToastProvider",[$e,qe,He]=Y("Toast"),[We,Ke]=Q("Toast",[He]),[Ge,Ue]=We(Ve),Ye=e=>{const{__scopeToast:t,label:n="Notification",duration:o=5e3,swipeDirection:r="right",swipeThreshold:s=50,children:a}=e,[i,l]=we.useState(null),[c,d]=we.useState(0),u=we.useRef(!1),p=we.useRef(!1);return n.trim(),J.jsx($e.Provider,{scope:t,children:J.jsx(Ge,{scope:t,label:n,duration:o,swipeDirection:r,swipeThreshold:s,toastCount:c,viewport:i,onViewportChange:l,onToastAdd:we.useCallback(()=>d(e=>e+1),[]),onToastRemove:we.useCallback(()=>d(e=>e-1),[]),isFocusedToastEscapeKeyDownRef:u,isClosePausedRef:p,children:a})})};Ye.displayName=Ve;var Qe="ToastViewport",Xe=["F8"],Je="toast.viewportPause",Ze="toast.viewportResume",et=we.forwardRef((e,t)=>{const{__scopeToast:n,hotkey:o=Xe,label:r="Notifications ({hotkey})",...s}=e,a=Ue(Qe,n),i=qe(n),l=we.useRef(null),c=we.useRef(null),d=we.useRef(null),u=we.useRef(null),p=X(t,u,a.onViewportChange),m=o.join("+").replace(/Key/g,"").replace(/Digit/g,""),h=a.toastCount>0;we.useEffect(()=>{const e=e=>{0!==o.length&&o.every(t=>e[t]||e.code===t)&&u.current?.focus()};return document.addEventListener("keydown",e),()=>document.removeEventListener("keydown",e)},[o]),we.useEffect(()=>{const e=l.current,t=u.current;if(h&&e&&t){const n=()=>{if(!a.isClosePausedRef.current){const e=new CustomEvent(Je);t.dispatchEvent(e),a.isClosePausedRef.current=!0}},o=()=>{if(a.isClosePausedRef.current){const e=new CustomEvent(Ze);t.dispatchEvent(e),a.isClosePausedRef.current=!1}},r=t=>{!e.contains(t.relatedTarget)&&o()},s=()=>{e.contains(document.activeElement)||o()};return e.addEventListener("focusin",n),e.addEventListener("focusout",r),e.addEventListener("pointermove",n),e.addEventListener("pointerleave",s),window.addEventListener("blur",n),window.addEventListener("focus",o),()=>{e.removeEventListener("focusin",n),e.removeEventListener("focusout",r),e.removeEventListener("pointermove",n),e.removeEventListener("pointerleave",s),window.removeEventListener("blur",n),window.removeEventListener("focus",o)}}},[h,a.isClosePausedRef]);const f=we.useCallback(({tabbingDirection:e})=>{const t=i().map(t=>{const n=t.ref.current,o=[n,...vt(n)];return"forwards"===e?o:o.reverse()});return("forwards"===e?t.reverse():t).flat()},[i]);return we.useEffect(()=>{const e=u.current;if(e){const t=t=>{const n=t.altKey||t.ctrlKey||t.metaKey;if("Tab"===t.key&&!n){const n=document.activeElement,o=t.shiftKey;if(t.target===e&&o)return void c.current?.focus();const r=f({tabbingDirection:o?"backwards":"forwards"}),s=r.findIndex(e=>e===n);bt(r.slice(s+1))?t.preventDefault():o?c.current?.focus():d.current?.focus()}};return e.addEventListener("keydown",t),()=>e.removeEventListener("keydown",t)}},[i,f]),J.jsxs(Z,{ref:l,role:"region","aria-label":r.replace("{hotkey}",m),tabIndex:-1,style:{pointerEvents:h?void 0:"none"},children:[h&&J.jsx(nt,{ref:c,onFocusFromOutsideViewport:()=>{bt(f({tabbingDirection:"forwards"}))}}),J.jsx($e.Slot,{scope:n,children:J.jsx(ee.ol,{tabIndex:-1,...s,ref:p})}),h&&J.jsx(nt,{ref:d,onFocusFromOutsideViewport:()=>{bt(f({tabbingDirection:"backwards"}))}})]})});et.displayName=Qe;var tt="ToastFocusProxy",nt=we.forwardRef((e,t)=>{const{__scopeToast:n,onFocusFromOutsideViewport:o,...r}=e,s=Ue(tt,n);return J.jsx(te,{"aria-hidden":!0,tabIndex:0,...r,ref:t,style:{position:"fixed"},onFocus:e=>{const t=e.relatedTarget;!s.viewport?.contains(t)&&o()}})});nt.displayName=tt;var ot="Toast",rt=we.forwardRef((e,t)=>{const{forceMount:n,open:o,defaultOpen:r,onOpenChange:s,...a}=e,[i,l]=ne({prop:o,defaultProp:r??!0,onChange:s,caller:ot});return J.jsx(oe,{present:n||i,children:J.jsx(it,{open:i,...a,ref:t,onClose:()=>l(!1),onPause:re(e.onPause),onResume:re(e.onResume),onSwipeStart:se(e.onSwipeStart,e=>{e.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:se(e.onSwipeMove,e=>{const{x:t,y:n}=e.detail.delta;e.currentTarget.setAttribute("data-swipe","move"),e.currentTarget.style.setProperty("--radix-toast-swipe-move-x",`${t}px`),e.currentTarget.style.setProperty("--radix-toast-swipe-move-y",`${n}px`)}),onSwipeCancel:se(e.onSwipeCancel,e=>{e.currentTarget.setAttribute("data-swipe","cancel"),e.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),e.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),e.currentTarget.style.removeProperty("--radix-toast-swipe-end-x"),e.currentTarget.style.removeProperty("--radix-toast-swipe-end-y")}),onSwipeEnd:se(e.onSwipeEnd,e=>{const{x:t,y:n}=e.detail.delta;e.currentTarget.setAttribute("data-swipe","end"),e.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),e.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),e.currentTarget.style.setProperty("--radix-toast-swipe-end-x",`${t}px`),e.currentTarget.style.setProperty("--radix-toast-swipe-end-y",`${n}px`),l(!1)})})})});rt.displayName=ot;var[st,at]=We(ot,{onClose(){}}),it=we.forwardRef((e,t)=>{const{__scopeToast:n,type:o="foreground",duration:r,open:s,onClose:a,onEscapeKeyDown:i,onPause:l,onResume:c,onSwipeStart:d,onSwipeMove:u,onSwipeCancel:p,onSwipeEnd:m,...h}=e,f=Ue(ot,n),[g,y]=we.useState(null),v=X(t,e=>y(e)),b=we.useRef(null),w=we.useRef(null),x=r||f.duration,_=we.useRef(0),E=we.useRef(x),k=we.useRef(0),{onToastAdd:T,onToastRemove:j}=f,C=re(()=>{const e=g?.contains(document.activeElement);e&&f.viewport?.focus(),a()}),P=we.useCallback(e=>{e&&e!==1/0&&(window.clearTimeout(k.current),_.current=(new Date).getTime(),k.current=window.setTimeout(C,e))},[C]);we.useEffect(()=>{const e=f.viewport;if(e){const t=()=>{P(E.current),c?.()},n=()=>{const e=(new Date).getTime()-_.current;E.current=E.current-e,window.clearTimeout(k.current),l?.()};return e.addEventListener(Je,n),e.addEventListener(Ze,t),()=>{e.removeEventListener(Je,n),e.removeEventListener(Ze,t)}}},[f.viewport,x,l,c,P]),we.useEffect(()=>{s&&!f.isClosePausedRef.current&&P(x)},[s,x,f.isClosePausedRef,P]),we.useEffect(()=>(T(),()=>j()),[T,j]);const S=we.useMemo(()=>g?ft(g):null,[g]);return f.viewport?J.jsxs(J.Fragment,{children:[S&&J.jsx(lt,{__scopeToast:n,role:"status","aria-live":"foreground"===o?"assertive":"polite","aria-atomic":!0,children:S}),J.jsx(st,{scope:n,onClose:C,children:be.createPortal(J.jsx($e.ItemSlot,{scope:n,children:J.jsx(ae,{asChild:!0,onEscapeKeyDown:se(i,()=>{f.isFocusedToastEscapeKeyDownRef.current||C(),f.isFocusedToastEscapeKeyDownRef.current=!1}),children:J.jsx(ee.li,{role:"status","aria-live":"off","aria-atomic":!0,tabIndex:0,"data-state":s?"open":"closed","data-swipe-direction":f.swipeDirection,...h,ref:v,style:{userSelect:"none",touchAction:"none",...e.style},onKeyDown:se(e.onKeyDown,e=>{"Escape"===e.key&&(i?.(e.nativeEvent),e.nativeEvent.defaultPrevented||(f.isFocusedToastEscapeKeyDownRef.current=!0,C()))}),onPointerDown:se(e.onPointerDown,e=>{0===e.button&&(b.current={x:e.clientX,y:e.clientY})}),onPointerMove:se(e.onPointerMove,e=>{if(!b.current)return;const t=e.clientX-b.current.x,n=e.clientY-b.current.y,o=Boolean(w.current),r=["left","right"].includes(f.swipeDirection),s=["left","up"].includes(f.swipeDirection)?Math.min:Math.max,a=r?s(0,t):0,i=r?0:s(0,n),l="touch"===e.pointerType?10:2,c={x:a,y:i},p={originalEvent:e,delta:c};o?(w.current=c,gt("toast.swipeMove",u,p,{discrete:!1})):yt(c,f.swipeDirection,l)?(w.current=c,gt("toast.swipeStart",d,p,{discrete:!1}),e.target.setPointerCapture(e.pointerId)):(Math.abs(t)>l||Math.abs(n)>l)&&(b.current=null)}),onPointerUp:se(e.onPointerUp,e=>{const t=w.current,n=e.target;if(n.hasPointerCapture(e.pointerId)&&n.releasePointerCapture(e.pointerId),w.current=null,b.current=null,t){const n=e.currentTarget,o={originalEvent:e,delta:t};yt(t,f.swipeDirection,f.swipeThreshold)?gt("toast.swipeEnd",m,o,{discrete:!0}):gt("toast.swipeCancel",p,o,{discrete:!0}),n.addEventListener("click",e=>e.preventDefault(),{once:!0})}})})})}),f.viewport)})]}):null}),lt=e=>{const{__scopeToast:t,children:n,...o}=e,r=Ue(ot,t),[s,a]=we.useState(!1),[i,l]=we.useState(!1);return function(e=()=>{}){const t=re(e);le(()=>{let e=0,n=0;return e=window.requestAnimationFrame(()=>n=window.requestAnimationFrame(t)),()=>{window.cancelAnimationFrame(e),window.cancelAnimationFrame(n)}},[t])}(()=>a(!0)),we.useEffect(()=>{const e=window.setTimeout(()=>l(!0),1e3);return()=>window.clearTimeout(e)},[]),i?null:J.jsx(ie,{asChild:!0,children:J.jsx(te,{...o,children:s&&J.jsxs(J.Fragment,{children:[r.label," ",n]})})})},ct=we.forwardRef((e,t)=>{const{__scopeToast:n,...o}=e;return J.jsx(ee.div,{...o,ref:t})});ct.displayName="ToastTitle";var dt=we.forwardRef((e,t)=>{const{__scopeToast:n,...o}=e;return J.jsx(ee.div,{...o,ref:t})});dt.displayName="ToastDescription";var ut=we.forwardRef((e,t)=>{const{altText:n,...o}=e;return n.trim()?J.jsx(ht,{altText:n,asChild:!0,children:J.jsx(mt,{...o,ref:t})}):null});ut.displayName="ToastAction";var pt="ToastClose",mt=we.forwardRef((e,t)=>{const{__scopeToast:n,...o}=e,r=at(pt,n);return J.jsx(ht,{asChild:!0,children:J.jsx(ee.button,{type:"button",...o,ref:t,onClick:se(e.onClick,r.onClose)})})});mt.displayName=pt;var ht=we.forwardRef((e,t)=>{const{__scopeToast:n,altText:o,...r}=e;return J.jsx(ee.div,{"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":o||void 0,...r,ref:t})});function ft(e){const t=[];return Array.from(e.childNodes).forEach(e=>{if(e.nodeType===e.TEXT_NODE&&e.textContent&&t.push(e.textContent),function(e){return e.nodeType===e.ELEMENT_NODE}(e)){const n=e.ariaHidden||e.hidden||"none"===e.style.display,o=""===e.dataset.radixToastAnnounceExclude;if(!n)if(o){const n=e.dataset.radixToastAnnounceAlt;n&&t.push(n)}else t.push(...ft(e))}}),t}function gt(e,t,n,{discrete:o}){const r=n.originalEvent.currentTarget,s=new CustomEvent(e,{bubbles:!0,cancelable:!0,detail:n});t&&r.addEventListener(e,t,{once:!0}),o?ce(r,s):r.dispatchEvent(s)}var yt=(e,t,n=0)=>{const o=Math.abs(e.x),r=Math.abs(e.y),s=o>r;return"left"===t||"right"===t?s&&o>n:!s&&r>n};function vt(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{const t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function bt(e){const t=document.activeElement;return e.some(e=>e===t||(e.focus(),document.activeElement!==t))}var wt=Ye,xt=et,_t=rt,Et=ct,kt=dt,Tt=ut,jt=mt;const Ct=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,Pt=Pe,St=(e,t)=>n=>{var o;if(null==(null==t?void 0:t.variants))return Pt(e,null==n?void 0:n.class,null==n?void 0:n.className);const{variants:r,defaultVariants:s}=t,a=Object.keys(r).map(e=>{const t=null==n?void 0:n[e],o=null==s?void 0:s[e];if(null===t)return null;const a=Ct(t)||Ct(o);return r[e][a]}),i=n&&Object.entries(n).reduce((e,t)=>{let[n,o]=t;return void 0===o||(e[n]=o),e},{}),l=null==t||null===(o=t.compoundVariants)||void 0===o?void 0:o.reduce((e,t)=>{let{class:n,className:o,...r}=t;return Object.entries(r).every(e=>{let[t,n]=e;return Array.isArray(n)?n.includes({...s,...i}[t]):{...s,...i}[t]===n})?[...e,n,o]:e},[]);return Pt(e,a,l,null==n?void 0:n.class,null==n?void 0:n.className)},Rt=(...e)=>e.filter((e,t,n)=>Boolean(e)&&""!==e.trim()&&n.indexOf(e)===t).join(" ").trim();
/**
* @license lucide-react v0.462.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/
var Ot={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};
/**
* @license lucide-react v0.462.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Lt=we.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:o,className:r="",children:s,iconNode:a,...i},l)=>we.createElement("svg",{ref:l,...Ot,width:t,height:t,stroke:e,strokeWidth:o?24*Number(n)/Number(t):n,className:Rt("lucide",r),...i},[...a.map(([e,t])=>we.createElement(e,t)),...Array.isArray(s)?s:[s]])),At=(e,t)=>{const n=we.forwardRef(({className:n,...o},r)=>{return we.createElement(Lt,{ref:r,iconNode:t,className:Rt(`lucide-${s=e,s.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,n),...o});var s});return n.displayName=`${e}`,n},Dt=At("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),Mt=e=>{const t=Ft(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:e=>{const n=e.split("-");return""===n[0]&&1!==n.length&&n.shift(),It(n,t)||zt(e)},getConflictingClassGroupIds:(e,t)=>{const r=n[e]||[];return t&&o[e]?[...r,...o[e]]:r}}},It=(e,t)=>{if(0===e.length)return t.classGroupId;const n=e[0],o=t.nextPart.get(n),r=o?It(e.slice(1),o):void 0;if(r)return r;if(0===t.validators.length)return;const s=e.join("-");return t.validators.find(({validator:e})=>e(s))?.classGroupId},Nt=/^\[(.+)\]$/,zt=e=>{if(Nt.test(e)){const t=Nt.exec(e)[1],n=t?.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},Ft=e=>{const{theme:t,prefix:n}=e,o={nextPart:new Map,validators:[]};return qt(Object.entries(e.classGroups),n).forEach(([e,n])=>{Bt(n,o,e,t)}),o},Bt=(e,t,n,o)=>{e.forEach(e=>{if("string"==typeof e){return void((""===e?t:Vt(t,e)).classGroupId=n)}if("function"==typeof e)return $t(e)?void Bt(e(o),t,n,o):void t.validators.push({validator:e,classGroupId:n});Object.entries(e).forEach(([e,r])=>{Bt(r,Vt(t,e),n,o)})})},Vt=(e,t)=>{let n=e;return t.split("-").forEach(e=>{n.nextPart.has(e)||n.nextPart.set(e,{nextPart:new Map,validators:[]}),n=n.nextPart.get(e)}),n},$t=e=>e.isThemeGetter,qt=(e,t)=>t?e.map(([e,n])=>[e,n.map(e=>"string"==typeof e?t+e:"object"==typeof e?Object.fromEntries(Object.entries(e).map(([e,n])=>[t+e,n])):e)]):e,Ht=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,o=new Map;const r=(r,s)=>{n.set(r,s),t++,t>e&&(t=0,o=n,n=new Map)};return{get(e){let t=n.get(e);return void 0!==t?t:void 0!==(t=o.get(e))?(r(e,t),t):void 0},set(e,t){n.has(e)?n.set(e,t):r(e,t)}}},Wt=e=>{const{separator:t,experimentalParseClassName:n}=e,o=1===t.length,r=t[0],s=t.length,a=e=>{const n=[];let a,i=0,l=0;for(let u=0;u<e.length;u++){let c=e[u];if(0===i){if(c===r&&(o||e.slice(u,u+s)===t)){n.push(e.slice(l,u)),l=u+s;continue}if("/"===c){a=u;continue}}"["===c?i++:"]"===c&&i--}const c=0===n.length?e:e.substring(l),d=c.startsWith("!");return{modifiers:n,hasImportantModifier:d,baseClassName:d?c.substring(1):c,maybePostfixModifierPosition:a&&a>l?a-l:void 0}};return n?e=>n({className:e,parseClassName:a}):a},Kt=e=>{if(e.length<=1)return e;const t=[];let n=[];return e.forEach(e=>{"["===e[0]?(t.push(...n.sort(),e),n=[]):n.push(e)}),t.push(...n.sort()),t},Gt=/\s+/;
/**
* @license lucide-react v0.462.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/function Ut(){let e,t,n=0,o="";for(;n<arguments.length;)(e=arguments[n++])&&(t=Yt(e))&&(o&&(o+=" "),o+=t);return o}const Yt=e=>{if("string"==typeof e)return e;let t,n="";for(let o=0;o<e.length;o++)e[o]&&(t=Yt(e[o]))&&(n&&(n+=" "),n+=t);return n};function Qt(e,...t){let n,o,r,s=function(i){const l=t.reduce((e,t)=>t(e),e());return n=(e=>({cache:Ht(e.cacheSize),parseClassName:Wt(e),...Mt(e)}))(l),o=n.cache.get,r=n.cache.set,s=a,a(i)};function a(e){const t=o(e);if(t)return t;const s=((e,t)=>{const{parseClassName:n,getClassGroupId:o,getConflictingClassGroupIds:r}=t,s=[],a=e.trim().split(Gt);let i="";for(let l=a.length-1;l>=0;l-=1){const e=a[l],{modifiers:t,hasImportantModifier:c,baseClassName:d,maybePostfixModifierPosition:u}=n(e);let p=Boolean(u),m=o(p?d.substring(0,u):d);if(!m){if(!p){i=e+(i.length>0?" "+i:i);continue}if(m=o(d),!m){i=e+(i.length>0?" "+i:i);continue}p=!1}const h=Kt(t).join(":"),f=c?h+"!":h,g=f+m;if(s.includes(g))continue;s.push(g);const y=r(m,p);for(let n=0;n<y.length;++n){const e=y[n];s.push(f+e)}i=e+(i.length>0?" "+i:i)}return i})(e,n);return r(e,s),s}return function(){return s(Ut.apply(null,arguments))}}const Xt=e=>{const t=t=>t[e]||[];return t.isThemeGetter=!0,t},Jt=/^\[(?:([a-z-]+):)?(.+)\]$/i,Zt=/^\d+\/\d+$/,en=new Set(["px","full","screen"]),tn=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,nn=/\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$/,on=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,rn=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,sn=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,an=e=>cn(e)||en.has(e)||Zt.test(e),ln=e=>_n(e,"length",En),cn=e=>Boolean(e)&&!Number.isNaN(Number(e)),dn=e=>_n(e,"number",cn),un=e=>Boolean(e)&&Number.isInteger(Number(e)),pn=e=>e.endsWith("%")&&cn(e.slice(0,-1)),mn=e=>Jt.test(e),hn=e=>tn.test(e),fn=new Set(["length","size","percentage"]),gn=e=>_n(e,fn,kn),yn=e=>_n(e,"position",kn),vn=new Set(["image","url"]),bn=e=>_n(e,vn,jn),wn=e=>_n(e,"",Tn),xn=()=>!0,_n=(e,t,n)=>{const o=Jt.exec(e);return!!o&&(o[1]?"string"==typeof t?o[1]===t:t.has(o[1]):n(o[2]))},En=e=>nn.test(e)&&!on.test(e),kn=()=>!1,Tn=e=>rn.test(e),jn=e=>sn.test(e),Cn=Qt(()=>{const e=Xt("colors"),t=Xt("spacing"),n=Xt("blur"),o=Xt("brightness"),r=Xt("borderColor"),s=Xt("borderRadius"),a=Xt("borderSpacing"),i=Xt("borderWidth"),l=Xt("contrast"),c=Xt("grayscale"),d=Xt("hueRotate"),u=Xt("invert"),p=Xt("gap"),m=Xt("gradientColorStops"),h=Xt("gradientColorStopPositions"),f=Xt("inset"),g=Xt("margin"),y=Xt("opacity"),v=Xt("padding"),b=Xt("saturate"),w=Xt("scale"),x=Xt("sepia"),_=Xt("skew"),E=Xt("space"),k=Xt("translate"),T=()=>["auto",mn,t],j=()=>[mn,t],C=()=>["",an,ln],P=()=>["auto",cn,mn],S=()=>["","0",mn],R=()=>[cn,mn];return{cacheSize:500,separator:":",theme:{colors:[xn],spacing:[an,ln],blur:["none","",hn,mn],brightness:R(),borderColor:[e],borderRadius:["none","","full",hn,mn],borderSpacing:j(),borderWidth:C(),contrast:R(),grayscale:S(),hueRotate:R(),invert:S(),gap:j(),gradientColorStops:[e],gradientColorStopPositions:[pn,ln],inset:T(),margin:T(),opacity:R(),padding:j(),saturate:R(),scale:R(),sepia:S(),skew:R(),space:j(),translate:j()},classGroups:{aspect:[{aspect:["auto","square","video",mn]}],container:["container"],columns:[{columns:[hn]}],"break-after":[{"break-after":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-before":[{"break-before":["auto","avoid","all","avoid-page","page","left","right","column"]}],"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:["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top",mn]}],overflow:[{overflow:["auto","hidden","clip","visible","scroll"]}],"overflow-x":[{"overflow-x":["auto","hidden","clip","visible","scroll"]}],"overflow-y":[{"overflow-y":["auto","hidden","clip","visible","scroll"]}],overscroll:[{overscroll:["auto","contain","none"]}],"overscroll-x":[{"overscroll-x":["auto","contain","none"]}],"overscroll-y":[{"overscroll-y":["auto","contain","none"]}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[f]}],"inset-x":[{"inset-x":[f]}],"inset-y":[{"inset-y":[f]}],start:[{start:[f]}],end:[{end:[f]}],top:[{top:[f]}],right:[{right:[f]}],bottom:[{bottom:[f]}],left:[{left:[f]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",un,mn]}],basis:[{basis:T()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",mn]}],grow:[{grow:S()}],shrink:[{shrink:S()}],order:[{order:["first","last","none",un,mn]}],"grid-cols":[{"grid-cols":[xn]}],"col-start-end":[{col:["auto",{span:["full",un,mn]},mn]}],"col-start":[{"col-start":P()}],"col-end":[{"col-end":P()}],"grid-rows":[{"grid-rows":[xn]}],"row-start-end":[{row:["auto",{span:[un,mn]},mn]}],"row-start":[{"row-start":P()}],"row-end":[{"row-end":P()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",mn]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",mn]}],gap:[{gap:[p]}],"gap-x":[{"gap-x":[p]}],"gap-y":[{"gap-y":[p]}],"justify-content":[{justify:["normal","start","end","center","between","around","evenly","stretch"]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal","start","end","center","between","around","evenly","stretch","baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":["start","end","center","between","around","evenly","stretch","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":[E]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[E]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",mn,t]}],"min-w":[{"min-w":[mn,t,"min","max","fit"]}],"max-w":[{"max-w":[mn,t,"none","full","min","max","fit","prose",{screen:[hn]},hn]}],h:[{h:[mn,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[mn,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[mn,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[mn,t,"auto","min","max","fit"]}],"font-size":[{text:["base",hn,ln]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",dn]}],"font-family":[{font:[xn]}],"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",mn]}],"line-clamp":[{"line-clamp":["none",cn,dn]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",an,mn]}],"list-image":[{"list-image":["none",mn]}],"list-style-type":[{list:["none","disc","decimal",mn]}],"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:["solid","dashed","dotted","double","none","wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",an,ln]}],"underline-offset":[{"underline-offset":["auto",an,mn]}],"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:j()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",mn]}],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",mn]}],"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:["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top",yn]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",gn]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},bn]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[h]}],"gradient-via-pos":[{via:[h]}],"gradient-to-pos":[{to:[h]}],"gradient-from":[{from:[m]}],"gradient-via":[{via:[m]}],"gradient-to":[{to:[m]}],rounded:[{rounded:[s]}],"rounded-s":[{"rounded-s":[s]}],"rounded-e":[{"rounded-e":[s]}],"rounded-t":[{"rounded-t":[s]}],"rounded-r":[{"rounded-r":[s]}],"rounded-b":[{"rounded-b":[s]}],"rounded-l":[{"rounded-l":[s]}],"rounded-ss":[{"rounded-ss":[s]}],"rounded-se":[{"rounded-se":[s]}],"rounded-ee":[{"rounded-ee":[s]}],"rounded-es":[{"rounded-es":[s]}],"rounded-tl":[{"rounded-tl":[s]}],"rounded-tr":[{"rounded-tr":[s]}],"rounded-br":[{"rounded-br":[s]}],"rounded-bl":[{"rounded-bl":[s]}],"border-w":[{border:[i]}],"border-w-x":[{"border-x":[i]}],"border-w-y":[{"border-y":[i]}],"border-w-s":[{"border-s":[i]}],"border-w-e":[{"border-e":[i]}],"border-w-t":[{"border-t":[i]}],"border-w-r":[{"border-r":[i]}],"border-w-b":[{"border-b":[i]}],"border-w-l":[{"border-l":[i]}],"border-opacity":[{"border-opacity":[y]}],"border-style":[{border:["solid","dashed","dotted","double","none","hidden"]}],"divide-x":[{"divide-x":[i]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[i]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[y]}],"divide-style":[{divide:["solid","dashed","dotted","double","none"]}],"border-color":[{border:[r]}],"border-color-x":[{"border-x":[r]}],"border-color-y":[{"border-y":[r]}],"border-color-s":[{"border-s":[r]}],"border-color-e":[{"border-e":[r]}],"border-color-t":[{"border-t":[r]}],"border-color-r":[{"border-r":[r]}],"border-color-b":[{"border-b":[r]}],"border-color-l":[{"border-l":[r]}],"divide-color":[{divide:[r]}],"outline-style":[{outline:["","solid","dashed","dotted","double","none"]}],"outline-offset":[{"outline-offset":[an,mn]}],"outline-w":[{outline:[an,ln]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:C()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[y]}],"ring-offset-w":[{"ring-offset":[an,ln]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",hn,wn]}],"shadow-color":[{shadow:[xn]}],opacity:[{opacity:[y]}],"mix-blend":[{"mix-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"]}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[o]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",hn,mn]}],grayscale:[{grayscale:[c]}],"hue-rotate":[{"hue-rotate":[d]}],invert:[{invert:[u]}],saturate:[{saturate:[b]}],sepia:[{sepia:[x]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[l]}],"backdrop-grayscale":[{"backdrop-grayscale":[c]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[d]}],"backdrop-invert":[{"backdrop-invert":[u]}],"backdrop-opacity":[{"backdrop-opacity":[y]}],"backdrop-saturate":[{"backdrop-saturate":[b]}],"backdrop-sepia":[{"backdrop-sepia":[x]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[a]}],"border-spacing-x":[{"border-spacing-x":[a]}],"border-spacing-y":[{"border-spacing-y":[a]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",mn]}],duration:[{duration:R()}],ease:[{ease:["linear","in","out","in-out",mn]}],delay:[{delay:R()}],animate:[{animate:["none","spin","ping","pulse","bounce",mn]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[w]}],"scale-x":[{"scale-x":[w]}],"scale-y":[{"scale-y":[w]}],rotate:[{rotate:[un,mn]}],"translate-x":[{"translate-x":[k]}],"translate-y":[{"translate-y":[k]}],"skew-x":[{"skew-x":[_]}],"skew-y":[{"skew-y":[_]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",mn]}],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",mn]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":j()}],"scroll-mx":[{"scroll-mx":j()}],"scroll-my":[{"scroll-my":j()}],"scroll-ms":[{"scroll-ms":j()}],"scroll-me":[{"scroll-me":j()}],"scroll-mt":[{"scroll-mt":j()}],"scroll-mr":[{"scroll-mr":j()}],"scroll-mb":[{"scroll-mb":j()}],"scroll-ml":[{"scroll-ml":j()}],"scroll-p":[{"scroll-p":j()}],"scroll-px":[{"scroll-px":j()}],"scroll-py":[{"scroll-py":j()}],"scroll-ps":[{"scroll-ps":j()}],"scroll-pe":[{"scroll-pe":j()}],"scroll-pt":[{"scroll-pt":j()}],"scroll-pr":[{"scroll-pr":j()}],"scroll-pb":[{"scroll-pb":j()}],"scroll-pl":[{"scroll-pl":j()}],"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",mn]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[an,ln,dn]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},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"]}}});function Pn(...e){return Cn(Pe(e))}function Sn(){const e=new URLSearchParams(window.location.search);return{utm_source:e.get("utm_source")||"direct",utm_medium:e.get("utm_medium")||"none",utm_campaign:e.get("utm_campaign")||"",utm_content:e.get("utm_content")||"",utm_term:e.get("utm_term")||""}}function Rn(e,t){const n=Sn(),o=new URLSearchParams;Object.entries(n).forEach(([e,t])=>{t&&"direct"!==t&&"none"!==t&&o.set(e,t)}),t&&Object.entries(t).forEach(([e,t])=>{o.set(e,t)});const r=o.toString();return r?`${e}?${r}`:e}const On=wt,Ln=we.forwardRef(({className:e,...t},n)=>J.jsx(xt,{ref:n,className:Pn("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}));Ln.displayName=xt.displayName;const An=St("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"}}),Dn=we.forwardRef(({className:e,variant:t,...n},o)=>J.jsx(_t,{ref:o,className:Pn(An({variant:t}),e),...n}));Dn.displayName=_t.displayName;we.forwardRef(({className:e,...t},n)=>J.jsx(Tt,{ref:n,className:Pn("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})).displayName=Tt.displayName;const Mn=we.forwardRef(({className:e,...t},n)=>J.jsx(jt,{ref:n,className:Pn("absolute right-2 top-2 rounded-md p-1 text-foreground/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:J.jsx(Dt,{className:"h-4 w-4"})}));Mn.displayName=jt.displayName;const In=we.forwardRef(({className:e,...t},n)=>J.jsx(Et,{ref:n,className:Pn("text-sm font-semibold",e),...t}));In.displayName=Et.displayName;const Nn=we.forwardRef(({className:e,...t},n)=>J.jsx(kt,{ref:n,className:Pn("text-sm opacity-90",e),...t}));function zn(){const{toasts:e}=Be();return J.jsxs(On,{children:[e.map(function({id:e,title:t,description:n,action:o,...r}){return J.jsxs(Dn,{...r,children:[J.jsxs("div",{className:"grid gap-1",children:[t&&J.jsx(In,{children:t}),n&&J.jsx(Nn,{children:n})]}),o,J.jsx(Mn,{})]},e)}),J.jsx(Ln,{})]})}Nn.displayName=kt.displayName;var Fn=["light","dark"],Bn=we.createContext(void 0),Vn={setTheme:e=>{},themes:[]};we.memo(({forcedTheme:e,storageKey:t,attribute:n,enableSystem:o,enableColorScheme:r,defaultTheme:s,value:a,attrs:i,nonce:l})=>{let c="system"===s,d="class"===n?`var d=document.documentElement,c=d.classList;c.remove(${i.map(e=>`'${e}'`).join(",")});`:`var d=document.documentElement,n='${n}',s='setAttribute';`,u=r?Fn.includes(s)&&s?`if(e==='light'||e==='dark'||!e)d.style.colorScheme=e||'${s}'`:"if(e==='light'||e==='dark')d.style.colorScheme=e":"",p=(e,t=!1,o=!0)=>{let s=a?a[e]:e,i=t?e+"|| ''":`'${s}'`,l="";return r&&o&&!t&&Fn.includes(e)&&(l+=`d.style.colorScheme = '${e}';`),"class"===n?l+=t||s?`c.add(${i})`:"null":s&&(l+=`d[s](n,${i})`),l},m=e?`!function(){${d}${p(e)}}()`:o?`!function(){try{${d}var e=localStorage.getItem('${t}');if('system'===e||(!e&&${c})){var t='(prefers-color-scheme: dark)',m=window.matchMedia(t);if(m.media!==t||m.matches){${p("dark")}}else{${p("light")}}}else if(e){${a?`var x=${JSON.stringify(a)};`:""}${p(a?"x[e]":"e",!0)}}${c?"":"else{"+p(s,!1,!1)+"}"}${u}}catch(e){}}()`:`!function(){try{${d}var e=localStorage.getItem('${t}');if(e){${a?`var x=${JSON.stringify(a)};`:""}${p(a?"x[e]":"e",!0)}}else{${p(s,!1,!1)};}${u}}catch(t){}}();`;return we.createElement("script",{nonce:l,dangerouslySetInnerHTML:{__html:m}})});var $n=Array(12).fill(0),qn=({visible:e,className:t})=>xe.createElement("div",{className:["sonner-loading-wrapper",t].filter(Boolean).join(" "),"data-visible":e},xe.createElement("div",{className:"sonner-spinner"},$n.map((e,t)=>xe.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${t}`})))),Hn=xe.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},xe.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"})),Wn=xe.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},xe.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"})),Kn=xe.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},xe.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"})),Gn=xe.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},xe.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"})),Un=xe.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"},xe.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),xe.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),Yn=1,Qn=new class{constructor(){this.subscribe=e=>(this.subscribers.push(e),()=>{let t=this.subscribers.indexOf(e);this.subscribers.splice(t,1)}),this.publish=e=>{this.subscribers.forEach(t=>t(e))},this.addToast=e=>{this.publish(e),this.toasts=[...this.toasts,e]},this.create=e=>{var t;let{message:n,...o}=e,r="number"==typeof(null==e?void 0:e.id)||(null==(t=e.id)?void 0:t.length)>0?e.id:Yn++,s=this.toasts.find(e=>e.id===r),a=void 0===e.dismissible||e.dismissible;return this.dismissedToasts.has(r)&&this.dismissedToasts.delete(r),s?this.toasts=this.toasts.map(t=>t.id===r?(this.publish({...t,...e,id:r,title:n}),{...t,...e,id:r,dismissible:a,title:n}):t):this.addToast({title:n,...o,dismissible:a,id:r}),r},this.dismiss=e=>(this.dismissedToasts.add(e),e||this.toasts.forEach(e=>{this.subscribers.forEach(t=>t({id:e.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)=>this.create({...t,type:"loading",message:e}),this.promise=(e,t)=>{if(!t)return;let n;void 0!==t.loading&&(n=this.create({...t,promise:e,type:"loading",message:t.loading,description:"function"!=typeof t.description?t.description:void 0}));let o,r=e instanceof Promise?e:e(),s=void 0!==n,a=r.then(async e=>{if(o=["resolve",e],xe.isValidElement(e))s=!1,this.create({id:n,type:"default",message:e});else if(Xn(e)&&!e.ok){s=!1;let o="function"==typeof t.error?await t.error(`HTTP error! status: ${e.status}`):t.error,r="function"==typeof t.description?await t.description(`HTTP error! status: ${e.status}`):t.description;this.create({id:n,type:"error",message:o,description:r})}else if(void 0!==t.success){s=!1;let o="function"==typeof t.success?await t.success(e):t.success,r="function"==typeof t.description?await t.description(e):t.description;this.create({id:n,type:"success",message:o,description:r})}}).catch(async e=>{if(o=["reject",e],void 0!==t.error){s=!1;let o="function"==typeof t.error?await t.error(e):t.error,r="function"==typeof t.description?await t.description(e):t.description;this.create({id:n,type:"error",message:o,description:r})}}).finally(()=>{var e;s&&(this.dismiss(n),n=void 0),null==(e=t.finally)||e.call(t)}),i=()=>new Promise((e,t)=>a.then(()=>"reject"===o[0]?t(o[1]):e(o[1])).catch(t));return"string"!=typeof n&&"number"!=typeof n?{unwrap:i}:Object.assign(n,{unwrap:i})},this.custom=(e,t)=>{let n=(null==t?void 0:t.id)||Yn++;return this.create({jsx:e(n),id:n,...t}),n},this.getActiveToasts=()=>this.toasts.filter(e=>!this.dismissedToasts.has(e.id)),this.subscribers=[],this.toasts=[],this.dismissedToasts=new Set}},Xn=e=>e&&"object"==typeof e&&"ok"in e&&"boolean"==typeof e.ok&&"status"in e&&"number"==typeof e.status,Jn=(e,t)=>{let n=(null==t?void 0:t.id)||Yn++;return Qn.addToast({title:e,...t,id:n}),n},Zn=Object.assign(Jn,{success:Qn.success,info:Qn.info,warning:Qn.warning,error:Qn.error,custom:Qn.custom,message:Qn.message,promise:Qn.promise,dismiss:Qn.dismiss,loading:Qn.loading},{getHistory:()=>Qn.toasts,getToasts:()=>Qn.getActiveToasts()});function eo(e){return void 0!==e.label}!function(e,{insertAt:t}={}){if("undefined"==typeof document)return;let n=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css","top"===t&&n.firstChild?n.insertBefore(o,n.firstChild):n.appendChild(o),o.styleSheet?o.styleSheet.cssText=e:o.appendChild(document.createTextNode(e))}(':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;left: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}: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%);--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%)}\n');var to=3,no=14;function oo(...e){return e.filter(Boolean).join(" ")}var ro=e=>{var t,n,o,r,s,a,i,l,c,d,u;let{invert:p,toast:m,unstyled:h,interacting:f,setHeights:g,visibleToasts:y,heights:v,index:b,toasts:w,expanded:x,removeToast:_,defaultRichColors:E,closeButton:k,style:T,cancelButtonStyle:j,actionButtonStyle:C,className:P="",descriptionClassName:S="",duration:R,position:O,gap:L,loadingIcon:A,expandByDefault:D,classNames:M,icons:I,closeButtonAriaLabel:N="Close toast",pauseWhenPageIsHidden:z}=e,[F,B]=xe.useState(null),[V,$]=xe.useState(null),[q,H]=xe.useState(!1),[W,K]=xe.useState(!1),[G,U]=xe.useState(!1),[Y,Q]=xe.useState(!1),[X,J]=xe.useState(!1),[Z,ee]=xe.useState(0),[te,ne]=xe.useState(0),oe=xe.useRef(m.duration||R||4e3),re=xe.useRef(null),se=xe.useRef(null),ae=0===b,ie=b+1<=y,le=m.type,ce=!1!==m.dismissible,de=m.className||"",ue=m.descriptionClassName||"",pe=xe.useMemo(()=>v.findIndex(e=>e.toastId===m.id)||0,[v,m.id]),me=xe.useMemo(()=>{var e;return null!=(e=m.closeButton)?e:k},[m.closeButton,k]),he=xe.useMemo(()=>m.duration||R||4e3,[m.duration,R]),fe=xe.useRef(0),ge=xe.useRef(0),ye=xe.useRef(0),ve=xe.useRef(null),[be,_e]=O.split("-"),Ee=xe.useMemo(()=>v.reduce((e,t,n)=>n>=pe?e:e+t.height,0),[v,pe]),ke=(()=>{let[e,t]=xe.useState(document.hidden);return xe.useEffect(()=>{let e=()=>{t(document.hidden)};return document.addEventListener("visibilitychange",e),()=>window.removeEventListener("visibilitychange",e)},[]),e})(),Te=m.invert||p,je="loading"===le;ge.current=xe.useMemo(()=>pe*L+Ee,[pe,Ee]),xe.useEffect(()=>{oe.current=he},[he]),xe.useEffect(()=>{H(!0)},[]),xe.useEffect(()=>{let e=se.current;if(e){let t=e.getBoundingClientRect().height;return ne(t),g(e=>[{toastId:m.id,height:t,position:m.position},...e]),()=>g(e=>e.filter(e=>e.toastId!==m.id))}},[g,m.id]),xe.useLayoutEffect(()=>{if(!q)return;let e=se.current,t=e.style.height;e.style.height="auto";let n=e.getBoundingClientRect().height;e.style.height=t,ne(n),g(e=>e.find(e=>e.toastId===m.id)?e.map(e=>e.toastId===m.id?{...e,height:n}:e):[{toastId:m.id,height:n,position:m.position},...e])},[q,m.title,m.description,g,m.id]);let Ce=xe.useCallback(()=>{K(!0),ee(ge.current),g(e=>e.filter(e=>e.toastId!==m.id)),setTimeout(()=>{_(m)},200)},[m,_,g,ge]);return xe.useEffect(()=>{if(m.promise&&"loading"===le||m.duration===1/0||"loading"===m.type)return;let e;return x||f||z&&ke?(()=>{if(ye.current<fe.current){let e=(new Date).getTime()-fe.current;oe.current=oe.current-e}ye.current=(new Date).getTime()})():oe.current!==1/0&&(fe.current=(new Date).getTime(),e=setTimeout(()=>{var e;null==(e=m.onAutoClose)||e.call(m,m),Ce()},oe.current)),()=>clearTimeout(e)},[x,f,m,le,z,ke,Ce]),xe.useEffect(()=>{m.delete&&Ce()},[Ce,m.delete]),xe.createElement("li",{tabIndex:0,ref:se,className:oo(P,de,null==M?void 0:M.toast,null==(t=null==m?void 0:m.classNames)?void 0:t.toast,null==M?void 0:M.default,null==M?void 0:M[le],null==(n=null==m?void 0:m.classNames)?void 0:n[le]),"data-sonner-toast":"","data-rich-colors":null!=(o=m.richColors)?o:E,"data-styled":!(m.jsx||m.unstyled||h),"data-mounted":q,"data-promise":!!m.promise,"data-swiped":X,"data-removed":W,"data-visible":ie,"data-y-position":be,"data-x-position":_e,"data-index":b,"data-front":ae,"data-swiping":G,"data-dismissible":ce,"data-type":le,"data-invert":Te,"data-swipe-out":Y,"data-swipe-direction":V,"data-expanded":!!(x||D&&q),style:{"--index":b,"--toasts-before":b,"--z-index":w.length-b,"--offset":`${W?Z:ge.current}px`,"--initial-height":D?"auto":`${te}px`,...T,...m.style},onDragEnd:()=>{U(!1),B(null),ve.current=null},onPointerDown:e=>{je||!ce||(re.current=new Date,ee(ge.current),e.target.setPointerCapture(e.pointerId),"BUTTON"!==e.target.tagName&&(U(!0),ve.current={x:e.clientX,y:e.clientY}))},onPointerUp:()=>{var e,t,n,o;if(Y||!ce)return;ve.current=null;let r=Number((null==(e=se.current)?void 0:e.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),s=Number((null==(t=se.current)?void 0:t.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),a=(new Date).getTime()-(null==(n=re.current)?void 0:n.getTime()),i="x"===F?r:s,l=Math.abs(i)/a;if(Math.abs(i)>=20||l>.11)return ee(ge.current),null==(o=m.onDismiss)||o.call(m,m),$("x"===F?r>0?"right":"left":s>0?"down":"up"),Ce(),Q(!0),void J(!1);U(!1),B(null)},onPointerMove:t=>{var n,o,r,s;if(!ve.current||!ce||(null==(n=window.getSelection())?void 0:n.toString().length)>0)return;let a=t.clientY-ve.current.y,i=t.clientX-ve.current.x,l=null!=(o=e.swipeDirections)?o:function(e){let[t,n]=e.split("-"),o=[];return t&&o.push(t),n&&o.push(n),o}(O);!F&&(Math.abs(i)>1||Math.abs(a)>1)&&B(Math.abs(i)>Math.abs(a)?"x":"y");let c={x:0,y:0};"y"===F?(l.includes("top")||l.includes("bottom"))&&(l.includes("top")&&a<0||l.includes("bottom")&&a>0)&&(c.y=a):"x"===F&&(l.includes("left")||l.includes("right"))&&(l.includes("left")&&i<0||l.includes("right")&&i>0)&&(c.x=i),(Math.abs(c.x)>0||Math.abs(c.y)>0)&&J(!0),null==(r=se.current)||r.style.setProperty("--swipe-amount-x",`${c.x}px`),null==(s=se.current)||s.style.setProperty("--swipe-amount-y",`${c.y}px`)}},me&&!m.jsx?xe.createElement("button",{"aria-label":N,"data-disabled":je,"data-close-button":!0,onClick:je||!ce?()=>{}:()=>{var e;Ce(),null==(e=m.onDismiss)||e.call(m,m)},className:oo(null==M?void 0:M.closeButton,null==(r=null==m?void 0:m.classNames)?void 0:r.closeButton)},null!=(s=null==I?void 0:I.close)?s:Un):null,m.jsx||we.isValidElement(m.title)?m.jsx?m.jsx:"function"==typeof m.title?m.title():m.title:xe.createElement(xe.Fragment,null,le||m.icon||m.promise?xe.createElement("div",{"data-icon":"",className:oo(null==M?void 0:M.icon,null==(a=null==m?void 0:m.classNames)?void 0:a.icon)},m.promise||"loading"===m.type&&!m.icon?m.icon||(null!=I&&I.loading?xe.createElement("div",{className:oo(null==M?void 0:M.loader,null==(Pe=null==m?void 0:m.classNames)?void 0:Pe.loader,"sonner-loader"),"data-visible":"loading"===le},I.loading):A?xe.createElement("div",{className:oo(null==M?void 0:M.loader,null==(Se=null==m?void 0:m.classNames)?void 0:Se.loader,"sonner-loader"),"data-visible":"loading"===le},A):xe.createElement(qn,{className:oo(null==M?void 0:M.loader,null==(Re=null==m?void 0:m.classNames)?void 0:Re.loader),visible:"loading"===le})):null,"loading"!==m.type?m.icon||(null==I?void 0:I[le])||(e=>{switch(e){case"success":return Hn;case"info":return Kn;case"warning":return Wn;case"error":return Gn;default:return null}})(le):null):null,xe.createElement("div",{"data-content":"",className:oo(null==M?void 0:M.content,null==(i=null==m?void 0:m.classNames)?void 0:i.content)},xe.createElement("div",{"data-title":"",className:oo(null==M?void 0:M.title,null==(l=null==m?void 0:m.classNames)?void 0:l.title)},"function"==typeof m.title?m.title():m.title),m.description?xe.createElement("div",{"data-description":"",className:oo(S,ue,null==M?void 0:M.description,null==(c=null==m?void 0:m.classNames)?void 0:c.description)},"function"==typeof m.description?m.description():m.description):null),we.isValidElement(m.cancel)?m.cancel:m.cancel&&eo(m.cancel)?xe.createElement("button",{"data-button":!0,"data-cancel":!0,style:m.cancelButtonStyle||j,onClick:e=>{var t,n;eo(m.cancel)&&ce&&(null==(n=(t=m.cancel).onClick)||n.call(t,e),Ce())},className:oo(null==M?void 0:M.cancelButton,null==(d=null==m?void 0:m.classNames)?void 0:d.cancelButton)},m.cancel.label):null,we.isValidElement(m.action)?m.action:m.action&&eo(m.action)?xe.createElement("button",{"data-button":!0,"data-action":!0,style:m.actionButtonStyle||C,onClick:e=>{var t,n;eo(m.action)&&(null==(n=(t=m.action).onClick)||n.call(t,e),!e.defaultPrevented&&Ce())},className:oo(null==M?void 0:M.actionButton,null==(u=null==m?void 0:m.classNames)?void 0:u.actionButton)},m.action.label):null));var Pe,Se,Re};function so(){if("undefined"==typeof window||"undefined"==typeof document)return"ltr";let e=document.documentElement.getAttribute("dir");return"auto"!==e&&e?e:window.getComputedStyle(document.documentElement).direction}function ao(e,t){let n={};return[e,t].forEach((e,t)=>{let o=1===t,r=o?"--mobile-offset":"--offset",s=o?"16px":"32px";function a(e){["top","right","bottom","left"].forEach(t=>{n[`${r}-${t}`]="number"==typeof e?`${e}px`:e})}"number"==typeof e||"string"==typeof e?a(e):"object"==typeof e?["top","right","bottom","left"].forEach(t=>{void 0===e[t]?n[`${r}-${t}`]=s:n[`${r}-${t}`]="number"==typeof e[t]?`${e[t]}px`:e[t]}):a(s)}),n}var io=we.forwardRef(function(e,t){let{invert:n,position:o="bottom-right",hotkey:r=["altKey","KeyT"],expand:s,closeButton:a,className:i,offset:l,mobileOffset:c,theme:d="light",richColors:u,duration:p,style:m,visibleToasts:h=to,toastOptions:f,dir:g=so(),gap:y=no,loadingIcon:v,icons:b,containerAriaLabel:w="Notifications",pauseWhenPageIsHidden:x}=e,[_,E]=xe.useState([]),k=xe.useMemo(()=>Array.from(new Set([o].concat(_.filter(e=>e.position).map(e=>e.position)))),[_,o]),[T,j]=xe.useState([]),[C,P]=xe.useState(!1),[S,R]=xe.useState(!1),[O,L]=xe.useState("system"!==d?d:"undefined"!=typeof window&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),A=xe.useRef(null),D=r.join("+").replace(/Key/g,"").replace(/Digit/g,""),M=xe.useRef(null),I=xe.useRef(!1),N=xe.useCallback(e=>{E(t=>{var n;return null!=(n=t.find(t=>t.id===e.id))&&n.delete||Qn.dismiss(e.id),t.filter(({id:t})=>t!==e.id)})},[]);return xe.useEffect(()=>Qn.subscribe(e=>{e.dismiss?E(t=>t.map(t=>t.id===e.id?{...t,delete:!0}:t)):setTimeout(()=>{_e.flushSync(()=>{E(t=>{let n=t.findIndex(t=>t.id===e.id);return-1!==n?[...t.slice(0,n),{...t[n],...e},...t.slice(n+1)]:[e,...t]})})})}),[]),xe.useEffect(()=>{if("system"!==d)return void L(d);if("system"===d&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?L("dark"):L("light")),"undefined"==typeof window)return;let e=window.matchMedia("(prefers-color-scheme: dark)");try{e.addEventListener("change",({matches:e})=>{L(e?"dark":"light")})}catch(t){e.addListener(({matches:e})=>{try{L(e?"dark":"light")}catch(t){}})}},[d]),xe.useEffect(()=>{_.length<=1&&P(!1)},[_]),xe.useEffect(()=>{let e=e=>{var t,n;r.every(t=>e[t]||e.code===t)&&(P(!0),null==(t=A.current)||t.focus()),"Escape"===e.code&&(document.activeElement===A.current||null!=(n=A.current)&&n.contains(document.activeElement))&&P(!1)};return document.addEventListener("keydown",e),()=>document.removeEventListener("keydown",e)},[r]),xe.useEffect(()=>{if(A.current)return()=>{M.current&&(M.current.focus({preventScroll:!0}),M.current=null,I.current=!1)}},[A.current]),xe.createElement("section",{ref:t,"aria-label":`${w} ${D}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},k.map((t,o)=>{var r;let[d,w]=t.split("-");return _.length?xe.createElement("ol",{key:t,dir:"auto"===g?so():g,tabIndex:-1,ref:A,className:i,"data-sonner-toaster":!0,"data-theme":O,"data-y-position":d,"data-lifted":C&&_.length>1&&!s,"data-x-position":w,style:{"--front-toast-height":`${(null==(r=T[0])?void 0:r.height)||0}px`,"--width":"356px","--gap":`${y}px`,...m,...ao(l,c)},onBlur:e=>{I.current&&!e.currentTarget.contains(e.relatedTarget)&&(I.current=!1,M.current&&(M.current.focus({preventScroll:!0}),M.current=null))},onFocus:e=>{e.target instanceof HTMLElement&&"false"===e.target.dataset.dismissible||I.current||(I.current=!0,M.current=e.relatedTarget)},onMouseEnter:()=>P(!0),onMouseMove:()=>P(!0),onMouseLeave:()=>{S||P(!1)},onDragEnd:()=>P(!1),onPointerDown:e=>{e.target instanceof HTMLElement&&"false"===e.target.dataset.dismissible||R(!0)},onPointerUp:()=>R(!1)},_.filter(e=>!e.position&&0===o||e.position===t).map((o,r)=>{var i,l;return xe.createElement(ro,{key:o.id,icons:b,index:r,toast:o,defaultRichColors:u,duration:null!=(i=null==f?void 0:f.duration)?i:p,className:null==f?void 0:f.className,descriptionClassName:null==f?void 0:f.descriptionClassName,invert:n,visibleToasts:h,closeButton:null!=(l=null==f?void 0:f.closeButton)?l:a,interacting:S,position:t,style:null==f?void 0:f.style,unstyled:null==f?void 0:f.unstyled,classNames:null==f?void 0:f.classNames,cancelButtonStyle:null==f?void 0:f.cancelButtonStyle,actionButtonStyle:null==f?void 0:f.actionButtonStyle,removeToast:N,toasts:_.filter(e=>e.position==o.position),heights:T.filter(e=>e.position==o.position),setHeights:j,expandByDefault:s,gap:y,loadingIcon:v,expanded:C,pauseWhenPageIsHidden:x,swipeDirections:e.swipeDirections})})):null}))});const lo=({...e})=>{const{theme:t="system"}=null!=(n=we.useContext(Bn))?n:Vn;var n;return J.jsx(io,{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[co,uo]=Q("Tooltip",[de]),po=de(),mo="TooltipProvider",ho=700,fo="tooltip.open",[go,yo]=co(mo),vo=e=>{const{__scopeTooltip:t,delayDuration:n=ho,skipDelayDuration:o=300,disableHoverableContent:r=!1,children:s}=e,a=we.useRef(!0),i=we.useRef(!1),l=we.useRef(0);return we.useEffect(()=>{const e=l.current;return()=>window.clearTimeout(e)},[]),J.jsx(go,{scope:t,isOpenDelayedRef:a,delayDuration:n,onOpen:we.useCallback(()=>{window.clearTimeout(l.current),a.current=!1},[]),onClose:we.useCallback(()=>{window.clearTimeout(l.current),l.current=window.setTimeout(()=>a.current=!0,o)},[o]),isPointerInTransitRef:i,onPointerInTransitChange:we.useCallback(e=>{i.current=e},[]),disableHoverableContent:r,children:s})};vo.displayName=mo;var bo="Tooltip",[wo,xo]=co(bo),_o=e=>{const{__scopeTooltip:t,children:n,open:o,defaultOpen:r,onOpenChange:s,disableHoverableContent:a,delayDuration:i}=e,l=yo(bo,e.__scopeTooltip),c=po(t),[d,u]=we.useState(null),p=ye(),m=we.useRef(0),h=a??l.disableHoverableContent,f=i??l.delayDuration,g=we.useRef(!1),[y,v]=ne({prop:o,defaultProp:r??!1,onChange:e=>{e?(l.onOpen(),document.dispatchEvent(new CustomEvent(fo))):l.onClose(),s?.(e)},caller:bo}),b=we.useMemo(()=>y?g.current?"delayed-open":"instant-open":"closed",[y]),w=we.useCallback(()=>{window.clearTimeout(m.current),m.current=0,g.current=!1,v(!0)},[v]),x=we.useCallback(()=>{window.clearTimeout(m.current),m.current=0,v(!1)},[v]),_=we.useCallback(()=>{window.clearTimeout(m.current),m.current=window.setTimeout(()=>{g.current=!0,v(!0),m.current=0},f)},[f,v]);return we.useEffect(()=>()=>{m.current&&(window.clearTimeout(m.current),m.current=0)},[]),J.jsx(ve,{...c,children:J.jsx(wo,{scope:t,contentId:p,open:y,stateAttribute:b,trigger:d,onTriggerChange:u,onTriggerEnter:we.useCallback(()=>{l.isOpenDelayedRef.current?_():w()},[l.isOpenDelayedRef,_,w]),onTriggerLeave:we.useCallback(()=>{h?x():(window.clearTimeout(m.current),m.current=0)},[x,h]),onOpen:w,onClose:x,disableHoverableContent:h,children:n})})};_o.displayName=bo;var Eo="TooltipTrigger",ko=we.forwardRef((e,t)=>{const{__scopeTooltip:n,...o}=e,r=xo(Eo,n),s=yo(Eo,n),a=po(n),i=we.useRef(null),l=X(t,i,r.onTriggerChange),c=we.useRef(!1),d=we.useRef(!1),u=we.useCallback(()=>c.current=!1,[]);return we.useEffect(()=>()=>document.removeEventListener("pointerup",u),[u]),J.jsx(ue,{asChild:!0,...a,children:J.jsx(ee.button,{"aria-describedby":r.open?r.contentId:void 0,"data-state":r.stateAttribute,...o,ref:l,onPointerMove:se(e.onPointerMove,e=>{"touch"!==e.pointerType&&(d.current||s.isPointerInTransitRef.current||(r.onTriggerEnter(),d.current=!0))}),onPointerLeave:se(e.onPointerLeave,()=>{r.onTriggerLeave(),d.current=!1}),onPointerDown:se(e.onPointerDown,()=>{r.open&&r.onClose(),c.current=!0,document.addEventListener("pointerup",u,{once:!0})}),onFocus:se(e.onFocus,()=>{c.current||r.onOpen()}),onBlur:se(e.onBlur,r.onClose),onClick:se(e.onClick,r.onClose)})})});ko.displayName=Eo;var[To,jo]=co("TooltipPortal",{forceMount:void 0}),Co="TooltipContent",Po=we.forwardRef((e,t)=>{const n=jo(Co,e.__scopeTooltip),{forceMount:o=n.forceMount,side:r="top",...s}=e,a=xo(Co,e.__scopeTooltip);return J.jsx(oe,{present:o||a.open,children:a.disableHoverableContent?J.jsx(Ao,{side:r,...s,ref:t}):J.jsx(So,{side:r,...s,ref:t})})}),So=we.forwardRef((e,t)=>{const n=xo(Co,e.__scopeTooltip),o=yo(Co,e.__scopeTooltip),r=we.useRef(null),s=X(t,r),[a,i]=we.useState(null),{trigger:l,onClose:c}=n,d=r.current,{onPointerInTransitChange:u}=o,p=we.useCallback(()=>{i(null),u(!1)},[u]),m=we.useCallback((e,t)=>{const n=e.currentTarget,o={x:e.clientX,y:e.clientY},r=function(e,t,n=5){const o=[];switch(t){case"top":o.push({x:e.x-n,y:e.y+n},{x:e.x+n,y:e.y+n});break;case"bottom":o.push({x:e.x-n,y:e.y-n},{x:e.x+n,y:e.y-n});break;case"left":o.push({x:e.x+n,y:e.y-n},{x:e.x+n,y:e.y+n});break;case"right":o.push({x:e.x-n,y:e.y-n},{x:e.x-n,y:e.y+n})}return o}(o,function(e,t){const n=Math.abs(t.top-e.y),o=Math.abs(t.bottom-e.y),r=Math.abs(t.right-e.x),s=Math.abs(t.left-e.x);switch(Math.min(n,o,r,s)){case s:return"left";case r:return"right";case n:return"top";case o:return"bottom";default:throw new Error("unreachable")}}(o,n.getBoundingClientRect())),s=function(e){const t=e.slice();return t.sort((e,t)=>e.x<t.x?-1:e.x>t.x?1:e.y<t.y?-1:e.y>t.y?1:0),function(e){if(e.length<=1)return e.slice();const t=[];for(let o=0;o<e.length;o++){const n=e[o];for(;t.length>=2;){const e=t[t.length-1],o=t[t.length-2];if(!((e.x-o.x)*(n.y-o.y)>=(e.y-o.y)*(n.x-o.x)))break;t.pop()}t.push(n)}t.pop();const n=[];for(let o=e.length-1;o>=0;o--){const t=e[o];for(;n.length>=2;){const e=n[n.length-1],o=n[n.length-2];if(!((e.x-o.x)*(t.y-o.y)>=(e.y-o.y)*(t.x-o.x)))break;n.pop()}n.push(t)}return n.pop(),1===t.length&&1===n.length&&t[0].x===n[0].x&&t[0].y===n[0].y?t:t.concat(n)}(t)}([...r,...function(e){const{top:t,right:n,bottom:o,left:r}=e;return[{x:r,y:t},{x:n,y:t},{x:n,y:o},{x:r,y:o}]}(t.getBoundingClientRect())]);i(s),u(!0)},[u]);return we.useEffect(()=>()=>p(),[p]),we.useEffect(()=>{if(l&&d){const e=e=>m(e,d),t=e=>m(e,l);return l.addEventListener("pointerleave",e),d.addEventListener("pointerleave",t),()=>{l.removeEventListener("pointerleave",e),d.removeEventListener("pointerleave",t)}}},[l,d,m,p]),we.useEffect(()=>{if(a){const e=e=>{const t=e.target,n={x:e.clientX,y:e.clientY},o=l?.contains(t)||d?.contains(t),r=!function(e,t){const{x:n,y:o}=e;let r=!1;for(let s=0,a=t.length-1;s<t.length;a=s++){const e=t[s],i=t[a],l=e.x,c=e.y,d=i.x,u=i.y;c>o!=u>o&&n<(d-l)*(o-c)/(u-c)+l&&(r=!r)}return r}(n,a);o?p():r&&(p(),c())};return document.addEventListener("pointermove",e),()=>document.removeEventListener("pointermove",e)}},[l,d,a,c,p]),J.jsx(Ao,{...e,ref:s})}),[Ro,Oo]=co(bo,{isInside:!1}),Lo=ge("TooltipContent"),Ao=we.forwardRef((e,t)=>{const{__scopeTooltip:n,children:o,"aria-label":r,onEscapeKeyDown:s,onPointerDownOutside:a,...i}=e,l=xo(Co,n),c=po(n),{onClose:d}=l;return we.useEffect(()=>(document.addEventListener(fo,d),()=>document.removeEventListener(fo,d)),[d]),we.useEffect(()=>{if(l.trigger){const e=e=>{const t=e.target;t?.contains(l.trigger)&&d()};return window.addEventListener("scroll",e,{capture:!0}),()=>window.removeEventListener("scroll",e,{capture:!0})}},[l.trigger,d]),J.jsx(pe,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:s,onPointerDownOutside:a,onFocusOutside:e=>e.preventDefault(),onDismiss:d,children:J.jsxs(me,{"data-state":l.stateAttribute,...c,...i,ref:t,style:{...i.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:[J.jsx(Lo,{children:o}),J.jsx(Ro,{scope:n,isInside:!0,children:J.jsx(he,{id:l.contentId,role:"tooltip",children:r||o})})]})})});Po.displayName=Co;var Do="TooltipArrow";we.forwardRef((e,t)=>{const{__scopeTooltip:n,...o}=e,r=po(n);return Oo(Do,n).isInside?null:J.jsx(fe,{...r,...o,ref:t})}).displayName=Do;var Mo=Po;const Io=vo,No=_o,zo=ko,Fo=we.forwardRef(({className:e,sideOffset:t=4,...n},o)=>J.jsx(Mo,{ref:o,sideOffset:t,className:Pn("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]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...n}));Fo.displayName=Mo.displayName;var Bo=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(){}},Vo="undefined"==typeof window||"Deno"in globalThis;function $o(){}function qo(e,t){return"function"==typeof e?e(t):e}function Ho(e,t){const{type:n="all",exact:o,fetchStatus:r,predicate:s,queryKey:a,stale:i}=e;if(a)if(o){if(t.queryHash!==Ko(a,t.options))return!1}else if(!Uo(t.queryKey,a))return!1;if("all"!==n){const e=t.isActive();if("active"===n&&!e)return!1;if("inactive"===n&&e)return!1}return("boolean"!=typeof i||t.isStale()===i)&&((!r||r===t.state.fetchStatus)&&!(s&&!s(t)))}function Wo(e,t){const{exact:n,status:o,predicate:r,mutationKey:s}=e;if(s){if(!t.options.mutationKey)return!1;if(n){if(Go(t.options.mutationKey)!==Go(s))return!1}else if(!Uo(t.options.mutationKey,s))return!1}return(!o||t.state.status===o)&&!(r&&!r(t))}function Ko(e,t){return(t?.queryKeyHashFn||Go)(e)}function Go(e){return JSON.stringify(e,(e,t)=>Xo(t)?Object.keys(t).sort().reduce((e,n)=>(e[n]=t[n],e),{}):t)}function Uo(e,t){return e===t||typeof e==typeof t&&(!(!e||!t||"object"!=typeof e||"object"!=typeof t)&&Object.keys(t).every(n=>Uo(e[n],t[n])))}function Yo(e,t){if(e===t)return e;const n=Qo(e)&&Qo(t);if(n||Xo(e)&&Xo(t)){const o=n?e:Object.keys(e),r=o.length,s=n?t:Object.keys(t),a=s.length,i=n?[]:{},l=new Set(o);let c=0;for(let d=0;d<a;d++){const o=n?d:s[d];(!n&&l.has(o)||n)&&void 0===e[o]&&void 0===t[o]?(i[o]=void 0,c++):(i[o]=Yo(e[o],t[o]),i[o]===e[o]&&void 0!==e[o]&&c++)}return r===a&&c===r?e:i}return t}function Qo(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function Xo(e){if(!Jo(e))return!1;const t=e.constructor;if(void 0===t)return!0;const n=t.prototype;return!!Jo(n)&&(!!n.hasOwnProperty("isPrototypeOf")&&Object.getPrototypeOf(e)===Object.prototype)}function Jo(e){return"[object Object]"===Object.prototype.toString.call(e)}function Zo(e,t,n){return"function"==typeof n.structuralSharing?n.structuralSharing(e,t):!1!==n.structuralSharing?Yo(e,t):t}function er(e,t,n=0){const o=[...e,t];return n&&o.length>n?o.slice(1):o}function tr(e,t,n=0){const o=[t,...e];return n&&o.length>n?o.slice(0,-1):o}var nr=Symbol();function or(e,t){return!e.queryFn&&t?.initialPromise?()=>t.initialPromise:e.queryFn&&e.queryFn!==nr?e.queryFn:()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`))}var rr=new(o=class extends Bo{constructor(){super(),W(this,e),W(this,t),W(this,n),K(this,n,e=>{if(!Vo&&window.addEventListener){const t=()=>e();return window.addEventListener("visibilitychange",t,!1),()=>{window.removeEventListener("visibilitychange",t)}}})}onSubscribe(){H(this,t)||this.setEventListener(H(this,n))}onUnsubscribe(){var e;this.hasListeners()||(null==(e=H(this,t))||e.call(this),K(this,t,void 0))}setEventListener(e){var o;K(this,n,e),null==(o=H(this,t))||o.call(this),K(this,t,e(e=>{"boolean"==typeof e?this.setFocused(e):this.onFocus()}))}setFocused(t){H(this,e)!==t&&(K(this,e,t),this.onFocus())}onFocus(){const e=this.isFocused();this.listeners.forEach(t=>{t(e)})}isFocused(){return"boolean"==typeof H(this,e)?H(this,e):"hidden"!==globalThis.document?.visibilityState}},e=new WeakMap,t=new WeakMap,n=new WeakMap,o),sr=new(i=class extends Bo{constructor(){super(),W(this,r,!0),W(this,s),W(this,a),K(this,a,e=>{if(!Vo&&window.addEventListener){const t=()=>e(!0),n=()=>e(!1);return window.addEventListener("online",t,!1),window.addEventListener("offline",n,!1),()=>{window.removeEventListener("online",t),window.removeEventListener("offline",n)}}})}onSubscribe(){H(this,s)||this.setEventListener(H(this,a))}onUnsubscribe(){var e;this.hasListeners()||(null==(e=H(this,s))||e.call(this),K(this,s,void 0))}setEventListener(e){var t;K(this,a,e),null==(t=H(this,s))||t.call(this),K(this,s,e(this.setOnline.bind(this)))}setOnline(e){H(this,r)!==e&&(K(this,r,e),this.listeners.forEach(t=>{t(e)}))}isOnline(){return H(this,r)}},r=new WeakMap,s=new WeakMap,a=new WeakMap,i);function ar(e){return Math.min(1e3*2**e,3e4)}function ir(e){return"online"!==(e??"online")||sr.isOnline()}var lr=class extends Error{constructor(e){super("CancelledError"),this.revert=e?.revert,this.silent=e?.silent}};function cr(e){return e instanceof lr}function dr(e){let t,n=!1,o=0,r=!1;const s=function(){let e,t;const n=new Promise((n,o)=>{e=n,t=o});function o(e){Object.assign(n,e),delete n.resolve,delete n.reject}return n.status="pending",n.catch(()=>{}),n.resolve=t=>{o({status:"fulfilled",value:t}),e(t)},n.reject=e=>{o({status:"rejected",reason:e}),t(e)},n}(),a=()=>rr.isFocused()&&("always"===e.networkMode||sr.isOnline())&&e.canRun(),i=()=>ir(e.networkMode)&&e.canRun(),l=n=>{r||(r=!0,e.onSuccess?.(n),t?.(),s.resolve(n))},c=n=>{r||(r=!0,e.onError?.(n),t?.(),s.reject(n))},d=()=>new Promise(n=>{t=e=>{(r||a())&&n(e)},e.onPause?.()}).then(()=>{t=void 0,r||e.onContinue?.()}),u=()=>{if(r)return;let t;const s=0===o?e.initialPromise:void 0;try{t=s??e.fn()}catch(i){t=Promise.reject(i)}Promise.resolve(t).then(l).catch(t=>{if(r)return;const s=e.retry??(Vo?0:3),i=e.retryDelay??ar,l="function"==typeof i?i(o,t):i,p=!0===s||"number"==typeof s&&o<s||"function"==typeof s&&s(o,t);var m;!n&&p?(o++,e.onFail?.(o,t),(m=l,new Promise(e=>{setTimeout(e,m)})).then(()=>a()?void 0:d()).then(()=>{n?c(t):u()})):c(t)})};return{promise:s,cancel:t=>{r||(c(new lr(t)),e.abort?.())},continue:()=>(t?.(),s),cancelRetry:()=>{n=!0},continueRetry:()=>{n=!1},canStart:i,start:()=>(i()?u():d().then(u),s)}}var ur=e=>setTimeout(e,0);var pr=function(){let e=[],t=0,n=e=>{e()},o=e=>{e()},r=ur;const s=o=>{t?e.push(o):r(()=>{n(o)})};return{batch:s=>{let a;t++;try{a=s()}finally{t--,t||(()=>{const t=e;e=[],t.length&&r(()=>{o(()=>{t.forEach(e=>{n(e)})})})})()}return a},batchCalls:e=>(...t)=>{s(()=>{e(...t)})},schedule:s,setNotifyFunction:e=>{n=e},setBatchNotifyFunction:e=>{o=e},setScheduler:e=>{r=e}}}(),mr=(c=class{constructor(){W(this,l)}destroy(){this.clearGcTimeout()}scheduleGc(){var e;this.clearGcTimeout(),"number"==typeof(e=this.gcTime)&&e>=0&&e!==1/0&&K(this,l,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(Vo?1/0:3e5))}clearGcTimeout(){H(this,l)&&(clearTimeout(H(this,l)),K(this,l,void 0))}},l=new WeakMap,c),hr=(b=class extends mr{constructor(e){super(),W(this,y),W(this,d),W(this,u),W(this,p),W(this,m),W(this,h),W(this,f),W(this,g),K(this,g,!1),K(this,f,e.defaultOptions),this.setOptions(e.options),this.observers=[],K(this,m,e.client),K(this,p,H(this,m).getQueryCache()),this.queryKey=e.queryKey,this.queryHash=e.queryHash,K(this,d,function(e){const t="function"==typeof e.initialData?e.initialData():e.initialData,n=void 0!==t,o=n?"function"==typeof e.initialDataUpdatedAt?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?o??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"pending",fetchStatus:"idle"}}(this.options)),this.state=e.state??H(this,d),this.scheduleGc()}get meta(){return this.options.meta}get promise(){return H(this,h)?.promise}setOptions(e){this.options={...H(this,f),...e},this.updateGcTime(this.options.gcTime)}optionalRemove(){this.observers.length||"idle"!==this.state.fetchStatus||H(this,p).remove(this)}setData(e,t){const n=Zo(this.state.data,e,this.options);return G(this,y,v).call(this,{data:n,type:"success",dataUpdatedAt:t?.updatedAt,manual:t?.manual}),n}setState(e,t){G(this,y,v).call(this,{type:"setState",state:e,setStateOptions:t})}cancel(e){const t=H(this,h)?.promise;return H(this,h)?.cancel(e),t?t.then($o).catch($o):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(H(this,d))}isActive(){return this.observers.some(e=>{return!1!==(t=e.options.enabled,n=this,"function"==typeof t?t(n):t);var t,n})}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===nr||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStatic(){return this.getObserversCount()>0&&this.observers.some(e=>"static"===qo(e.options.staleTime,this))}isStale(){return this.getObserversCount()>0?this.observers.some(e=>e.getCurrentResult().isStale):void 0===this.state.data||this.state.isInvalidated}isStaleByTime(e=0){return void 0===this.state.data||"static"!==e&&(!!this.state.isInvalidated||!function(e,t){return Math.max(e+(t||0)-Date.now(),0)}(this.state.dataUpdatedAt,e))}onFocus(){const e=this.observers.find(e=>e.shouldFetchOnWindowFocus());e?.refetch({cancelRefetch:!1}),H(this,h)?.continue()}onOnline(){const e=this.observers.find(e=>e.shouldFetchOnReconnect());e?.refetch({cancelRefetch:!1}),H(this,h)?.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),H(this,p).notify({type:"observerAdded",query:this,observer:e}))}removeObserver(e){this.observers.includes(e)&&(this.observers=this.observers.filter(t=>t!==e),this.observers.length||(H(this,h)&&(H(this,g)?H(this,h).cancel({revert:!0}):H(this,h).cancelRetry()),this.scheduleGc()),H(this,p).notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||G(this,y,v).call(this,{type:"invalidate"})}fetch(e,t){if("idle"!==this.state.fetchStatus)if(void 0!==this.state.data&&t?.cancelRefetch)this.cancel({silent:!0});else if(H(this,h))return H(this,h).continueRetry(),H(this,h).promise;if(e&&this.setOptions(e),!this.options.queryFn){const e=this.observers.find(e=>e.options.queryFn);e&&this.setOptions(e.options)}const n=new AbortController,o=e=>{Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(K(this,g,!0),n.signal)})},r=()=>{const e=or(this.options,t),n=(()=>{const e={client:H(this,m),queryKey:this.queryKey,meta:this.meta};return o(e),e})();return K(this,g,!1),this.options.persister?this.options.persister(e,n,this):e(n)},s=(()=>{const e={fetchOptions:t,options:this.options,queryKey:this.queryKey,client:H(this,m),state:this.state,fetchFn:r};return o(e),e})();this.options.behavior?.onFetch(s,this),K(this,u,this.state),"idle"!==this.state.fetchStatus&&this.state.fetchMeta===s.fetchOptions?.meta||G(this,y,v).call(this,{type:"fetch",meta:s.fetchOptions?.meta});const a=e=>{cr(e)&&e.silent||G(this,y,v).call(this,{type:"error",error:e}),cr(e)||(H(this,p).config.onError?.(e,this),H(this,p).config.onSettled?.(this.state.data,e,this)),this.scheduleGc()};return K(this,h,dr({initialPromise:t?.initialPromise,fn:s.fetchFn,abort:n.abort.bind(n),onSuccess:e=>{if(void 0!==e){try{this.setData(e)}catch(t){return void a(t)}H(this,p).config.onSuccess?.(e,this),H(this,p).config.onSettled?.(e,this.state.error,this),this.scheduleGc()}else a(new Error(`${this.queryHash} data is undefined`))},onError:a,onFail:(e,t)=>{G(this,y,v).call(this,{type:"failed",failureCount:e,error:t})},onPause:()=>{G(this,y,v).call(this,{type:"pause"})},onContinue:()=>{G(this,y,v).call(this,{type:"continue"})},retry:s.options.retry,retryDelay:s.options.retryDelay,networkMode:s.options.networkMode,canRun:()=>!0})),H(this,h).start()}},d=new WeakMap,u=new WeakMap,p=new WeakMap,m=new WeakMap,h=new WeakMap,f=new WeakMap,g=new WeakMap,y=new WeakSet,v=function(e){this.state=(t=>{switch(e.type){case"failed":return{...t,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case"pause":return{...t,fetchStatus:"paused"};case"continue":return{...t,fetchStatus:"fetching"};case"fetch":return{...t,...(n=t.data,o=this.options,{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:ir(o.networkMode)?"fetching":"paused",...void 0===n&&{error:null,status:"pending"}}),fetchMeta:e.meta??null};case"success":return K(this,u,void 0),{...t,data:e.data,dataUpdateCount:t.dataUpdateCount+1,dataUpdatedAt:e.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const r=e.error;return cr(r)&&r.revert&&H(this,u)?{...H(this,u),fetchStatus:"idle"}:{...t,error:r,errorUpdateCount:t.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:t.fetchFailureCount+1,fetchFailureReason:r,fetchStatus:"idle",status:"error"};case"invalidate":return{...t,isInvalidated:!0};case"setState":return{...t,...e.state}}var n,o})(this.state),pr.batch(()=>{this.observers.forEach(e=>{e.onQueryUpdate()}),H(this,p).notify({query:this,type:"updated",action:e})})},b);var fr=(x=class extends Bo{constructor(e={}){super(),W(this,w),this.config=e,K(this,w,new Map)}build(e,t,n){const o=t.queryKey,r=t.queryHash??Ko(o,t);let s=this.get(r);return s||(s=new hr({client:e,queryKey:o,queryHash:r,options:e.defaultQueryOptions(t),state:n,defaultOptions:e.getQueryDefaults(o)}),this.add(s)),s}add(e){H(this,w).has(e.queryHash)||(H(this,w).set(e.queryHash,e),this.notify({type:"added",query:e}))}remove(e){const t=H(this,w).get(e.queryHash);t&&(e.destroy(),t===e&&H(this,w).delete(e.queryHash),this.notify({type:"removed",query:e}))}clear(){pr.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}get(e){return H(this,w).get(e)}getAll(){return[...H(this,w).values()]}find(e){const t={exact:!0,...e};return this.getAll().find(e=>Ho(t,e))}findAll(e={}){const t=this.getAll();return Object.keys(e).length>0?t.filter(t=>Ho(e,t)):t}notify(e){pr.batch(()=>{this.listeners.forEach(t=>{t(e)})})}onFocus(){pr.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){pr.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}},w=new WeakMap,x),gr=(C=class extends mr{constructor(e){super(),W(this,T),W(this,_),W(this,E),W(this,k),this.mutationId=e.mutationId,K(this,E,e.mutationCache),K(this,_,[]),this.state=e.state||{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0},this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options=e,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(e){H(this,_).includes(e)||(H(this,_).push(e),this.clearGcTimeout(),H(this,E).notify({type:"observerAdded",mutation:this,observer:e}))}removeObserver(e){K(this,_,H(this,_).filter(t=>t!==e)),this.scheduleGc(),H(this,E).notify({type:"observerRemoved",mutation:this,observer:e})}optionalRemove(){H(this,_).length||("pending"===this.state.status?this.scheduleGc():H(this,E).remove(this))}continue(){return H(this,k)?.continue()??this.execute(this.state.variables)}async execute(e){const t=()=>{G(this,T,j).call(this,{type:"continue"})};K(this,k,dr({fn:()=>this.options.mutationFn?this.options.mutationFn(e):Promise.reject(new Error("No mutationFn found")),onFail:(e,t)=>{G(this,T,j).call(this,{type:"failed",failureCount:e,error:t})},onPause:()=>{G(this,T,j).call(this,{type:"pause"})},onContinue:t,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>H(this,E).canRun(this)}));const n="pending"===this.state.status,o=!H(this,k).canStart();try{if(n)t();else{G(this,T,j).call(this,{type:"pending",variables:e,isPaused:o}),await(H(this,E).config.onMutate?.(e,this));const t=await(this.options.onMutate?.(e));t!==this.state.context&&G(this,T,j).call(this,{type:"pending",context:t,variables:e,isPaused:o})}const r=await H(this,k).start();return await(H(this,E).config.onSuccess?.(r,e,this.state.context,this)),await(this.options.onSuccess?.(r,e,this.state.context)),await(H(this,E).config.onSettled?.(r,null,this.state.variables,this.state.context,this)),await(this.options.onSettled?.(r,null,e,this.state.context)),G(this,T,j).call(this,{type:"success",data:r}),r}catch(r){try{throw await(H(this,E).config.onError?.(r,e,this.state.context,this)),await(this.options.onError?.(r,e,this.state.context)),await(H(this,E).config.onSettled?.(void 0,r,this.state.variables,this.state.context,this)),await(this.options.onSettled?.(void 0,r,e,this.state.context)),r}finally{G(this,T,j).call(this,{type:"error",error:r})}}finally{H(this,E).runNext(this)}}},_=new WeakMap,E=new WeakMap,k=new WeakMap,T=new WeakSet,j=function(e){this.state=(t=>{switch(e.type){case"failed":return{...t,failureCount:e.failureCount,failureReason:e.error};case"pause":return{...t,isPaused:!0};case"continue":return{...t,isPaused:!1};case"pending":return{...t,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:e.isPaused,status:"pending",variables:e.variables,submittedAt:Date.now()};case"success":return{...t,data:e.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...t,data:void 0,error:e.error,failureCount:t.failureCount+1,failureReason:e.error,isPaused:!1,status:"error"}}})(this.state),pr.batch(()=>{H(this,_).forEach(t=>{t.onMutationUpdate(e)}),H(this,E).notify({mutation:this,type:"updated",action:e})})},C);var yr=(O=class extends Bo{constructor(e={}){super(),W(this,P),W(this,S),W(this,R),this.config=e,K(this,P,new Set),K(this,S,new Map),K(this,R,0)}build(e,t,n){const o=new gr({mutationCache:this,mutationId:++U(this,R)._,options:e.defaultMutationOptions(t),state:n});return this.add(o),o}add(e){H(this,P).add(e);const t=vr(e);if("string"==typeof t){const n=H(this,S).get(t);n?n.push(e):H(this,S).set(t,[e])}this.notify({type:"added",mutation:e})}remove(e){if(H(this,P).delete(e)){const t=vr(e);if("string"==typeof t){const n=H(this,S).get(t);if(n)if(n.length>1){const t=n.indexOf(e);-1!==t&&n.splice(t,1)}else n[0]===e&&H(this,S).delete(t)}}this.notify({type:"removed",mutation:e})}canRun(e){const t=vr(e);if("string"==typeof t){const n=H(this,S).get(t),o=n?.find(e=>"pending"===e.state.status);return!o||o===e}return!0}runNext(e){const t=vr(e);if("string"==typeof t){const n=H(this,S).get(t)?.find(t=>t!==e&&t.state.isPaused);return n?.continue()??Promise.resolve()}return Promise.resolve()}clear(){pr.batch(()=>{H(this,P).forEach(e=>{this.notify({type:"removed",mutation:e})}),H(this,P).clear(),H(this,S).clear()})}getAll(){return Array.from(H(this,P))}find(e){const t={exact:!0,...e};return this.getAll().find(e=>Wo(t,e))}findAll(e={}){return this.getAll().filter(t=>Wo(e,t))}notify(e){pr.batch(()=>{this.listeners.forEach(t=>{t(e)})})}resumePausedMutations(){const e=this.getAll().filter(e=>e.state.isPaused);return pr.batch(()=>Promise.all(e.map(e=>e.continue().catch($o))))}},P=new WeakMap,S=new WeakMap,R=new WeakMap,O);function vr(e){return e.options.scope?.id}function br(e){return{onFetch:(t,n)=>{const o=t.options,r=t.fetchOptions?.meta?.fetchMore?.direction,s=t.state.data?.pages||[],a=t.state.data?.pageParams||[];let i={pages:[],pageParams:[]},l=0;const c=async()=>{let n=!1;const c=or(t.options,t.fetchOptions),d=async(e,o,r)=>{if(n)return Promise.reject();if(null==o&&e.pages.length)return Promise.resolve(e);const s=(()=>{const e={client:t.client,queryKey:t.queryKey,pageParam:o,direction:r?"backward":"forward",meta:t.options.meta};var s;return s=e,Object.defineProperty(s,"signal",{enumerable:!0,get:()=>(t.signal.aborted?n=!0:t.signal.addEventListener("abort",()=>{n=!0}),t.signal)}),e})(),a=await c(s),{maxPages:i}=t.options,l=r?tr:er;return{pages:l(e.pages,a,i),pageParams:l(e.pageParams,o,i)}};if(r&&s.length){const e="backward"===r,t={pages:s,pageParams:a},n=(e?xr:wr)(o,t);i=await d(t,n,e)}else{const t=e??s.length;do{const e=0===l?a[0]??o.initialPageParam:wr(o,i);if(l>0&&null==e)break;i=await d(i,e),l++}while(l<t)}return i};t.options.persister?t.fetchFn=()=>t.options.persister?.(c,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n):t.fetchFn=c}}}function wr(e,{pages:t,pageParams:n}){const o=t.length-1;return t.length>0?e.getNextPageParam(t[o],t,n[o],n):void 0}function xr(e,{pages:t,pageParams:n}){return t.length>0?e.getPreviousPageParam?.(t[0],t,n[0],n):void 0}var _r=(B=class{constructor(e={}){W(this,L),W(this,A),W(this,D),W(this,M),W(this,I),W(this,N),W(this,z),W(this,F),K(this,L,e.queryCache||new fr),K(this,A,e.mutationCache||new yr),K(this,D,e.defaultOptions||{}),K(this,M,new Map),K(this,I,new Map),K(this,N,0)}mount(){U(this,N)._++,1===H(this,N)&&(K(this,z,rr.subscribe(async e=>{e&&(await this.resumePausedMutations(),H(this,L).onFocus())})),K(this,F,sr.subscribe(async e=>{e&&(await this.resumePausedMutations(),H(this,L).onOnline())})))}unmount(){var e,t;U(this,N)._--,0===H(this,N)&&(null==(e=H(this,z))||e.call(this),K(this,z,void 0),null==(t=H(this,F))||t.call(this),K(this,F,void 0))}isFetching(e){return H(this,L).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return H(this,A).findAll({...e,status:"pending"}).length}getQueryData(e){const t=this.defaultQueryOptions({queryKey:e});return H(this,L).get(t.queryHash)?.state.data}ensureQueryData(e){const t=this.defaultQueryOptions(e),n=H(this,L).build(this,t),o=n.state.data;return void 0===o?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(qo(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(o))}getQueriesData(e){return H(this,L).findAll(e).map(({queryKey:e,state:t})=>[e,t.data])}setQueryData(e,t,n){const o=this.defaultQueryOptions({queryKey:e}),r=H(this,L).get(o.queryHash),s=r?.state.data,a=function(e,t){return"function"==typeof e?e(t):e}(t,s);if(void 0!==a)return H(this,L).build(this,o).setData(a,{...n,manual:!0})}setQueriesData(e,t,n){return pr.batch(()=>H(this,L).findAll(e).map(({queryKey:e})=>[e,this.setQueryData(e,t,n)]))}getQueryState(e){const t=this.defaultQueryOptions({queryKey:e});return H(this,L).get(t.queryHash)?.state}removeQueries(e){const t=H(this,L);pr.batch(()=>{t.findAll(e).forEach(e=>{t.remove(e)})})}resetQueries(e,t){const n=H(this,L);return pr.batch(()=>(n.findAll(e).forEach(e=>{e.reset()}),this.refetchQueries({type:"active",...e},t)))}cancelQueries(e,t={}){const n={revert:!0,...t},o=pr.batch(()=>H(this,L).findAll(e).map(e=>e.cancel(n)));return Promise.all(o).then($o).catch($o)}invalidateQueries(e,t={}){return pr.batch(()=>(H(this,L).findAll(e).forEach(e=>{e.invalidate()}),"none"===e?.refetchType?Promise.resolve():this.refetchQueries({...e,type:e?.refetchType??e?.type??"active"},t)))}refetchQueries(e,t={}){const n={...t,cancelRefetch:t.cancelRefetch??!0},o=pr.batch(()=>H(this,L).findAll(e).filter(e=>!e.isDisabled()&&!e.isStatic()).map(e=>{let t=e.fetch(void 0,n);return n.throwOnError||(t=t.catch($o)),"paused"===e.state.fetchStatus?Promise.resolve():t}));return Promise.all(o).then($o)}fetchQuery(e){const t=this.defaultQueryOptions(e);void 0===t.retry&&(t.retry=!1);const n=H(this,L).build(this,t);return n.isStaleByTime(qo(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then($o).catch($o)}fetchInfiniteQuery(e){return e.behavior=br(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then($o).catch($o)}ensureInfiniteQueryData(e){return e.behavior=br(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return sr.isOnline()?H(this,A).resumePausedMutations():Promise.resolve()}getQueryCache(){return H(this,L)}getMutationCache(){return H(this,A)}getDefaultOptions(){return H(this,D)}setDefaultOptions(e){K(this,D,e)}setQueryDefaults(e,t){H(this,M).set(Go(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...H(this,M).values()],n={};return t.forEach(t=>{Uo(e,t.queryKey)&&Object.assign(n,t.defaultOptions)}),n}setMutationDefaults(e,t){H(this,I).set(Go(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...H(this,I).values()],n={};return t.forEach(t=>{Uo(e,t.mutationKey)&&Object.assign(n,t.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={...H(this,D).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=Ko(t.queryKey,t)),void 0===t.refetchOnReconnect&&(t.refetchOnReconnect="always"!==t.networkMode),void 0===t.throwOnError&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),t.queryFn===nr&&(t.enabled=!1),t}defaultMutationOptions(e){return e?._defaulted?e:{...H(this,D).mutations,...e?.mutationKey&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){H(this,L).clear(),H(this,A).clear()}},L=new WeakMap,A=new WeakMap,D=new WeakMap,M=new WeakMap,I=new WeakMap,N=new WeakMap,z=new WeakMap,F=new WeakMap,B),Er=we.createContext(void 0),kr=({client:e,children:t})=>(we.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),J.jsx(Er.Provider,{value:e,children:t}));const Tr="allerin_utms";function jr(){const e=new URLSearchParams(window.location.search);if(e.has("utm_source")||e.has("utm_medium")||e.has("utm_campaign")){const n={utm_source:e.get("utm_source")||"direct",utm_medium:e.get("utm_medium")||"none",utm_campaign:e.get("utm_campaign")||"",utm_content:e.get("utm_content")||"",utm_term:e.get("utm_term")||"",timestamp:Date.now()};try{localStorage.setItem(Tr,JSON.stringify(n))}catch(t){}return n}try{const e=localStorage.getItem(Tr);if(e){const t=JSON.parse(e),n=Date.now()-t.timestamp;if(n<7776e6)return t;localStorage.removeItem(Tr)}}catch(t){}return{utm_source:"direct",utm_medium:"none"}}const Cr="allerin_session_id";function Pr(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,e=>{const t=16*Math.random()|0;return("x"===e?t:3&t|8).toString(16)})}function Sr(){try{const e=sessionStorage.getItem(Cr),t=Date.now();if(e){const n=JSON.parse(e),o=t-n.lastActivity,r=t-n.created;if(o<18e5&&r<864e5)return n.lastActivity=t,sessionStorage.setItem(Cr,JSON.stringify(n)),n.id}const n={id:Pr(),created:t,lastActivity:t};return sessionStorage.setItem(Cr,JSON.stringify(n)),n.id}catch(e){return Pr()}}function Rr(e,t={}){if("undefined"==typeof window||!window.dataLayer)return;const n={event:e,...t,page_context:{path:window.location.pathname,title:document.title,referrer:document.referrer},utm:jr(),session_id:Sr(),timestamp:Date.now()};window.dataLayer.push(n)}function Or(e){Rr("nav_click",{item:e})}function Lr(e){Rr("request_demo_click",e)}function Ar(e){Rr("product_tile_click",e)}function Dr(e,t){Rr("final_cta_click",{primary:e,label:t})}function Mr(e){Rr("roi_home_promo_click",{scenario:e})}function Ir(e){Rr("roi_results_view",e)}function Nr(e){Rr("roi_book_consult",e)}function zr(e){Rr("outcomes_start",{industry:e})}function Fr(e){Rr("outcomes_usecase_select",{usecases:e})}function Br(e){Rr("outcomes_results_view",e)}function Vr(e){Rr("outcomes_download_plan",e)}function $r(e){Rr("outcomes_book_consult",e)}function qr(e){Rr("service_hero_cta_click",{service:e})}function Hr(e){Rr("service_roi_click",{service:e})}function Wr(e){Rr("procurement_contact_click",{source:e})}function Kr(e,t){Rr("service_sample_view",{service_slug:e,sample_type:t})}function Gr(e){Rr("service_download_brief",{service:e})}function Ur(e,t){Rr("service_kpi_methodology_click",{service:e,kpi:t})}function Yr(e,t){Rr("service_modal_view",{service:e,modal_type:t})}function Qr(){return we.useLayoutEffect(()=>{const e=document.createElement("style");return e.id="cookie-consent-custom-styles",e.textContent="\n /* ============================================\n CSS CUSTOM PROPERTIES (Design System Tokens)\n ============================================ */\n #cc-main {\n --cc-bg: hsl(var(--card));\n --cc-primary-color: hsl(var(--foreground));\n --cc-secondary-color: hsl(var(--muted-foreground));\n --cc-btn-primary-bg: hsl(var(--primary));\n --cc-btn-primary-text: hsl(var(--primary-foreground));\n --cc-btn-primary-hover-bg: hsl(var(--primary) / 0.9);\n --cc-btn-secondary-bg: hsl(var(--secondary));\n --cc-btn-secondary-text: hsl(var(--secondary-foreground));\n --cc-btn-secondary-hover-bg: hsl(var(--accent));\n --cc-separator-border-color: hsl(var(--border));\n --cc-cookie-category-block-bg: hsl(var(--muted));\n --cc-toggle-on-bg: hsl(var(--primary));\n --cc-toggle-off-bg: hsl(var(--muted));\n --cc-toggle-readonly-bg: hsl(var(--muted));\n --cc-overlay-bg: rgba(0, 0, 0, 0.5);\n --cc-modal-border-radius: var(--radius);\n --cc-btn-border-radius: var(--radius);\n --cc-font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;\n }\n\n /* ============================================\n CONSENT MODAL (Banner) - Bar Layout\n ============================================ */\n \n /* Consent modal container - horizontal bar at bottom */\n #cc-main .cm {\n background: hsl(var(--card)) !important;\n border-top: 1px solid hsl(var(--border)) !important;\n box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1) !important;\n border-radius: 0 !important;\n }\n\n /* Body layout - horizontal on desktop */\n #cc-main .cm__body {\n display: flex !important;\n flex-direction: row !important;\n align-items: center !important;\n justify-content: space-between !important;\n padding: 1rem 2rem !important;\n gap: 1.5rem !important;\n max-width: 1400px !important;\n margin: 0 auto !important;\n }\n\n /* Text section */\n #cc-main .cm__texts {\n flex: 1 !important;\n margin: 0 !important;\n }\n\n #cc-main .cm__title {\n font-size: 1rem !important;\n font-weight: 600 !important;\n color: hsl(var(--foreground)) !important;\n margin: 0 0 0.25rem 0 !important;\n }\n\n #cc-main .cm__desc {\n font-size: 0.875rem !important;\n line-height: 1.4 !important;\n color: hsl(var(--muted-foreground)) !important;\n margin: 0 !important;\n }\n\n /* Buttons container */\n #cc-main .cm__btns {\n display: flex !important;\n flex-direction: row !important;\n gap: 0.5rem !important;\n flex-shrink: 0 !important;\n }\n\n /* Button styling */\n #cc-main .cm__btn {\n padding: 0.5rem 1rem !important;\n font-size: 0.875rem !important;\n font-weight: 500 !important;\n white-space: nowrap !important;\n border-radius: var(--radius) !important;\n border: none !important;\n cursor: pointer !important;\n transition: all 0.2s ease !important;\n }\n\n #cc-main .cm__btn:focus-visible {\n outline: 2px solid hsl(var(--ring)) !important;\n outline-offset: 2px !important;\n }\n\n /* Mobile responsive */\n @media (max-width: 768px) {\n #cc-main .cm__body {\n flex-direction: column !important;\n align-items: stretch !important;\n padding: 1rem !important;\n gap: 1rem !important;\n }\n\n #cc-main .cm__btns {\n width: 100% !important;\n }\n\n #cc-main .cm__btn {\n flex: 1 !important;\n }\n }\n\n /* ============================================\n PREFERENCES MODAL - Styling Only\n DO NOT override visibility, display, or position\n ============================================ */\n\n /* Modal container styling */\n #cc-main .pm {\n background: hsl(var(--background)) !important;\n border-radius: var(--radius) !important;\n box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25) !important;\n max-width: 600px !important;\n }\n\n /* Header */\n #cc-main .pm__header {\n padding: 1.5rem !important;\n border-bottom: 1px solid hsl(var(--border)) !important;\n }\n\n #cc-main .pm__title {\n font-size: 1.25rem !important;\n font-weight: 600 !important;\n color: hsl(var(--foreground)) !important;\n }\n\n /* Body */\n #cc-main .pm__body {\n padding: 1.5rem !important;\n max-height: 50vh !important;\n overflow-y: auto !important;\n }\n\n /* Sections */\n #cc-main .pm__section {\n margin-bottom: 1.5rem !important;\n }\n\n #cc-main .pm__section-title {\n font-size: 1rem !important;\n font-weight: 600 !important;\n color: hsl(var(--foreground)) !important;\n margin-bottom: 0.5rem !important;\n }\n\n #cc-main .pm__section-desc {\n font-size: 0.875rem !important;\n color: hsl(var(--muted-foreground)) !important;\n line-height: 1.5 !important;\n }\n\n /* Footer */\n #cc-main .pm__footer {\n padding: 1rem 1.5rem !important;\n border-top: 1px solid hsl(var(--border)) !important;\n display: flex !important;\n gap: 0.5rem !important;\n justify-content: flex-end !important;\n }\n\n #cc-main .pm__btn {\n padding: 0.5rem 1rem !important;\n font-size: 0.875rem !important;\n font-weight: 500 !important;\n border-radius: var(--radius) !important;\n cursor: pointer !important;\n }\n\n /* Close button */\n #cc-main .pm__close-btn {\n color: hsl(var(--muted-foreground)) !important;\n transition: color 0.2s ease !important;\n }\n\n #cc-main .pm__close-btn:hover {\n color: hsl(var(--foreground)) !important;\n }\n\n /* Toggle switches */\n #cc-main .pm__toggle-icon {\n background: hsl(var(--muted)) !important;\n border-radius: 12px !important;\n }\n\n #cc-main .pm__toggle--on .pm__toggle-icon {\n background: hsl(var(--primary)) !important;\n }\n\n #cc-main .pm__toggle-knob {\n background: hsl(var(--background)) !important;\n }\n\n /* Cookie table */\n #cc-main .pm__table {\n width: 100% !important;\n font-size: 0.75rem !important;\n border-collapse: collapse !important;\n }\n\n #cc-main .pm__table th,\n #cc-main .pm__table td {\n padding: 0.5rem !important;\n text-align: left !important;\n border-bottom: 1px solid hsl(var(--border)) !important;\n }\n\n #cc-main .pm__table th {\n font-weight: 600 !important;\n color: hsl(var(--foreground)) !important;\n }\n\n #cc-main .pm__table td {\n color: hsl(var(--muted-foreground)) !important;\n }\n\n /* Links */\n #cc-main .cc-link {\n color: hsl(var(--primary)) !important;\n text-decoration: underline !important;\n }\n\n #cc-main .cc-link:hover {\n opacity: 0.8 !important;\n }\n\n /* Reduced motion support */\n @media (prefers-reduced-motion: reduce) {\n #cc-main * {\n animation-duration: 0.01ms !important;\n transition-duration: 0.01ms !important;\n }\n }\n ",document.getElementById("cookie-consent-custom-styles")||document.head.appendChild(e),()=>{const e=document.getElementById("cookie-consent-custom-styles");e&&document.head.removeChild(e)}},[]),null}
/*!
* CookieConsent 3.1.0
* https://github.com/orestbida/cookieconsent
* Author Orest Bida
* Released under the MIT License
*/const Xr="opt-in",Jr="opt-out",Zr="show--consent",es="show--preferences",ts="disable--interaction",ns="data-category",os="div",rs="button",ss="aria-hidden",as="btn-group",is="click",ls="data-role",cs="consentModal",ds="preferencesModal";class us{constructor(){this.t={mode:Xr,revision:0,autoShow:!0,lazyHtmlGeneration:!0,autoClearCookies:!0,manageScriptTags:!0,hideFromBots:!0,cookie:{name:"cc_cookie",expiresAfterDays:182,domain:"",path:"/",secure:!0,sameSite:"Lax"}},this.o={i:{},l:"",_:{},u:{},p:{},m:[],v:!1,h:null,C:null,S:null,M:"",D:!0,T:!1,k:!1,A:!1,N:!1,H:[],V:!1,I:!0,L:[],j:!1,F:"",P:!1,O:[],R:[],B:[],$:[],G:!1,J:!1,U:!1,q:[],K:[],W:[],X:{},Y:{},Z:{},ee:{},te:{},oe:[]},this.ne={ae:{},se:{}},this.ce={},this.re={ie:"cc:onFirstConsent",le:"cc:onConsent",de:"cc:onChange",fe:"cc:onModalShow",_e:"cc:onModalHide",ue:"cc:onModalReady"}}}const ps=new us,ms=(e,t)=>e.indexOf(t),hs=(e,t)=>-1!==ms(e,t),fs=e=>Array.isArray(e),gs=e=>"string"==typeof e,ys=e=>!!e&&"object"==typeof e&&!fs(e),vs=e=>"function"==typeof e,bs=e=>Object.keys(e),ws=e=>Array.from(new Set(e)),xs=()=>document.activeElement,_s=e=>e.preventDefault(),Es=(e,t)=>e.querySelectorAll(t),ks=e=>{const t=document.createElement(e);return e===rs&&(t.type=e),t},Ts=(e,t,n)=>e.setAttribute(t,n),js=(e,t,n)=>{e.removeAttribute(n?"data-"+t:t)},Cs=(e,t,n)=>e.getAttribute(n?"data-"+t:t),Ps=(e,t)=>e.appendChild(t),Ss=(e,t)=>e.classList.add(t),Rs=(e,t)=>Ss(e,"cm__"+t),Os=(e,t)=>Ss(e,"pm__"+t),Ls=(e,t)=>e.classList.remove(t),As=e=>{if("object"!=typeof e)return e;if(e instanceof Date)return new Date(e.getTime());let t=Array.isArray(e)?[]:{};for(let n in e){let o=e[n];t[n]=As(o)}return t},Ds=()=>{const e={},{O:t,X:n,Y:o}=ps.o;for(const r of t)e[r]=Ns(o[r],bs(n[r]));return e},Ms=(e,t)=>dispatchEvent(new CustomEvent(e,{detail:t})),Is=(e,t,n,o)=>{e.addEventListener(t,n),o&&ps.o.m.push({pe:e,ge:t,me:n})},Ns=(e,t)=>{const n=e||[],o=t||[];return n.filter(e=>!hs(o,e)).concat(o.filter(e=>!hs(n,e)))},zs=e=>{ps.o.R=ws(e),ps.o.F=(()=>{let e="custom";const{R:t,O:n,B:o}=ps.o,r=t.length;return r===n.length?e="all":r===o.length&&(e="necessary"),e})()},Fs=(e,t,n,o)=>{const r="accept-",{show:s,showPreferences:a,hide:i,hidePreferences:l,acceptCategory:c}=t,d=e||document,u=e=>Es(d,`[data-cc="${e}"]`),p=(e,t)=>{_s(e),c(t),l(),i()},m=u("show-preferencesModal"),h=u("show-consentModal"),f=u(r+"all"),g=u(r+"necessary"),y=u(r+"custom"),v=ps.t.lazyHtmlGeneration;for(const b of m)Ts(b,"aria-haspopup","dialog"),Is(b,is,e=>{_s(e),a()}),v&&(Is(b,"mouseenter",e=>{_s(e),ps.o.N||n(t,o)},!0),Is(b,"focus",()=>{ps.o.N||n(t,o)}));for(let b of h)Ts(b,"aria-haspopup","dialog"),Is(b,is,e=>{_s(e),s(!0)},!0);for(let b of f)Is(b,is,e=>{p(e,"all")},!0);for(let b of y)Is(b,is,e=>{p(e)},!0);for(let b of g)Is(b,is,e=>{p(e,[])},!0)},Bs=(e,t)=>{e&&(t&&(e.tabIndex=-1),e.focus(),t&&e.removeAttribute("tabindex"))},Vs=(e,t)=>{const n=o=>{o.target.removeEventListener("transitionend",n),"opacity"===o.propertyName&&"1"===getComputedStyle(e).opacity&&Bs(1===t?ps.ne.be:ps.ne.ve)};Is(e,"transitionend",n)};let $s;const qs=e=>{clearTimeout($s),e?Ss(ps.ne.ye,ts):$s=setTimeout(()=>{Ls(ps.ne.ye,ts)},500)},Hs=["M 19.5 4.5 L 4.5 19.5 M 4.5 4.501 L 19.5 19.5","M 3.572 13.406 L 8.281 18.115 L 20.428 5.885","M 21.999 6.94 L 11.639 17.18 L 2.001 6.82 "],Ws=(e=0,t=1.5)=>`<svg viewBox="0 0 24 24" stroke-width="${t}"><path d="${Hs[e]}"/></svg>`,Ks=e=>{const t=ps.ne,n=ps.o;(e=>{const o=e===t.he,r=n.i.disablePageInteraction?t.ye:o?t.Ce:t.ye;Is(r,"keydown",t=>{if("Tab"!==t.key||!(o?n.k&&!n.A:n.A))return;const r=xs(),s=o?n.q:n.K;0!==s.length&&(t.shiftKey?r!==s[0]&&e.contains(r)||(_s(t),Bs(s[1])):r!==s[1]&&e.contains(r)||(_s(t),Bs(s[0])))},!0)})(e)},Gs=["[href]",rs,"input","details","[tabindex]"].map(e=>e+':not([tabindex="-1"])').join(","),Us=e=>{const{o:t,ne:n}=ps,o=(e,t)=>{const n=Es(e,Gs);t[0]=n[0],t[1]=n[n.length-1]};1===e&&t.T&&o(n.he,t.q),2===e&&t.N&&o(n.we,t.K)},Ys=(e,t,n)=>{const{de:o,le:r,ie:s,_e:a,ue:i,fe:l}=ps.ce,c=ps.re;if(t){const o={modalName:t};return e===c.fe?vs(l)&&l(o):e===c._e?vs(a)&&a(o):(o.modal=n,vs(i)&&i(o)),Ms(e,o)}const d={cookie:ps.o.p};e===c.ie?vs(s)&&s(As(d)):e===c.le?vs(r)&&r(As(d)):(d.changedCategories=ps.o.L,d.changedServices=ps.o.ee,vs(o)&&o(As(d))),Ms(e,As(d))},Qs=(e,t)=>{try{return e()}catch(n){return!1}},Xs=e=>{const{Y:t,ee:n,O:o,X:r,oe:s,p:a,L:i}=ps.o;for(const u of o){const e=n[u]||t[u]||[];for(const n of e){const e=r[u][n];if(!e)continue;const{onAccept:o,onReject:s}=e;!e.Se&&hs(t[u],n)?(e.Se=!0,vs(o)&&o()):e.Se&&!hs(t[u],n)&&(e.Se=!1,vs(s)&&s())}}if(!ps.t.manageScriptTags)return;const l=s,c=e||a.categories||[],d=(e,o)=>{if(o>=e.length)return;const r=s[o];if(r.xe)return d(e,o+1);const a=r.Me,l=r.De,u=r.Te,p=hs(c,l),m=!!u&&hs(t[l],u);if(!u&&!r.ke&&p||!u&&r.ke&&!p&&hs(i,l)||u&&!r.ke&&m||u&&r.ke&&!m&&hs(n[l]||[],u)){r.xe=!0;const t=Cs(a,"type",!0);js(a,"type",!!t),js(a,ns);let n=Cs(a,"src",!0);n&&js(a,"src",!0);const s=ks("script");s.textContent=a.innerHTML;for(const{nodeName:e}of a.attributes)Ts(s,e,a[e]||Cs(a,e));t&&(s.type=t),n?s.src=n:n=a.src;const i=!!n&&(!t||["text/javascript","module"].includes(t));if(i&&(s.onload=s.onerror=()=>{d(e,++o)}),a.replaceWith(s),i)return}d(e,++o)};d(l,0)},Js="bottom",Zs="left",ea="center",ta="right",na="inline",oa="wide",ra="pm--",sa=["middle","top",Js],aa=[Zs,ea,ta],ia={box:{Ee:[oa,na],Ae:sa,Ne:aa,He:Js,Ve:ta},cloud:{Ee:[na],Ae:sa,Ne:aa,He:Js,Ve:ea},bar:{Ee:[na],Ae:sa.slice(1),Ne:[],He:Js,Ve:""}},la={box:{Ee:[],Ae:[],Ne:[],He:"",Ve:""},bar:{Ee:[oa],Ae:[],Ne:[Zs,ta],He:"",Ve:Zs}},ca=e=>{const t=ps.o.i.guiOptions,n=t&&t.consentModal,o=t&&t.preferencesModal;0===e&&da(ps.ne.he,ia,n,"cm--","box","cm"),1===e&&da(ps.ne.we,la,o,ra,"box","pm")},da=(e,t,n,o,r,s)=>{e.className=s;const a=n&&n.layout,i=n&&n.position,l=n&&n.flipButtons,c=!n||!1!==n.equalWeightButtons,d=a&&a.split(" ")||[],u=d[0],p=d[1],m=u in t?u:r,h=t[m],f=hs(h.Ee,p)&&p,g=i&&i.split(" ")||[],y=g[0],v=o===ra?g[0]:g[1],b=hs(h.Ae,y)?y:h.He,w=hs(h.Ne,v)?v:h.Ve,x=t=>{t&&Ss(e,o+t)};x(m),x(f),x(b),x(w),l&&x("flip");const _=s+"__btn--secondary";if("cm"===s){const{Ie:e,Le:t}=ps.ne;e&&(c?Ls(e,_):Ss(e,_)),t&&(c?Ls(t,_):Ss(t,_))}else{const{je:e}=ps.ne;e&&(c?Ls(e,_):Ss(e,_))}},ua=(e,t)=>{const n=ps.o,o=ps.ne,{hide:r,hidePreferences:s,acceptCategory:a}=e,i=e=>{a(e),s(),r()},l=n.u&&n.u.preferencesModal;if(!l)return;const c=l.title,d=l.closeIconLabel,u=l.acceptAllBtn,p=l.acceptNecessaryBtn,m=l.savePreferencesBtn,h=l.sections||[],f=u||p||m;if(o.Fe)o.Pe=ks(os),Os(o.Pe,"body");else{o.Fe=ks(os),Ss(o.Fe,"pm-wrapper");const e=ks("div");Ss(e,"pm-overlay"),Ps(o.Fe,e),Is(e,is,s),o.we=ks(os),Ss(o.we,"pm"),Ts(o.we,"role","dialog"),Ts(o.we,ss,!0),Ts(o.we,"aria-modal",!0),Ts(o.we,"aria-labelledby","pm__title"),Is(o.ye,"keydown",e=>{27===e.keyCode&&s()},!0),o.Oe=ks(os),Os(o.Oe,"header"),o.Re=ks("h2"),Os(o.Re,"title"),o.Re.id="pm__title",o.Be=ks(rs),Os(o.Be,"close-btn"),Ts(o.Be,"aria-label",l.closeIconLabel||""),Is(o.Be,is,s),o.$e=ks("span"),o.$e.innerHTML=Ws(),Ps(o.Be,o.$e),o.Ge=ks(os),Os(o.Ge,"body"),o.Je=ks(os),Os(o.Je,"footer");var g=ks(os);Ss(g,"btns");var y=ks(os),v=ks(os);Os(y,as),Os(v,as),Ps(o.Je,y),Ps(o.Je,v),Ps(o.Oe,o.Re),Ps(o.Oe,o.Be),o.ve=ks(os),Ts(o.ve,"tabIndex",-1),Ps(o.we,o.ve),Ps(o.we,o.Oe),Ps(o.we,o.Ge),f&&Ps(o.we,o.Je),Ps(o.Fe,o.we)}let b;c&&(o.Re.innerHTML=c,d&&Ts(o.Be,"aria-label",d)),h.forEach((e,t)=>{const r=e.title,s=e.description,a=e.linkedCategory,i=a&&n.P[a],c=e.cookieTable,d=c&&c.body,u=c&&c.caption,p=d&&d.length>0,m=!!i,h=m&&n.X[a],f=ys(h)&&bs(h)||[],g=m&&(!!s||!!p||bs(h).length>0);var y=ks(os);if(Os(y,"section"),g||s){var v=ks(os);Os(v,"section-desc-wrapper")}let w=f.length;if(g&&w>0){const e=ks(os);Os(e,"section-services");for(const t of f){const n=h[t],o=n&&n.label||t,r=ks(os),s=ks(os),l=ks(os),c=ks(os);Os(r,"service"),Os(c,"service-title"),Os(s,"service-header"),Os(l,"service-icon");const d=pa(o,t,i,!0,a);c.innerHTML=o,Ps(s,l),Ps(s,c),Ps(r,s),Ps(r,d),Ps(e,r)}Ps(v,e)}if(r){var x=ks(os),_=ks(m?rs:os);if(Os(x,"section-title-wrapper"),Os(_,"section-title"),_.innerHTML=r,Ps(x,_),m){const e=ks("span");e.innerHTML=Ws(2,3.5),Os(e,"section-arrow"),Ps(x,e),y.className+="--toggle";const t=pa(r,a,i);let n=l.serviceCounterLabel;if(w>0&&gs(n)){let e=ks("span");Os(e,"badge"),Os(e,"service-counter"),Ts(e,ss,!0),Ts(e,"data-servicecounter",w),n&&(n=n.split("|"),n=n.length>1&&w>1?n[1]:n[0],Ts(e,"data-counterlabel",n)),e.innerHTML=w+(n?" "+n:""),Ps(_,e)}if(g){Os(y,"section--expandable");var E=a+"-desc";Ts(_,"aria-expanded",!1),Ts(_,"aria-controls",E)}Ps(x,t)}else Ts(_,"role","heading"),Ts(_,"aria-level","3");Ps(y,x)}if(s){var k=ks("p");Os(k,"section-desc"),k.innerHTML=s,Ps(v,k)}if(g&&(Ts(v,ss,"true"),v.id=E,T=v,j=y,C=_,Is(_,is,()=>{j.classList.contains("is-expanded")?(Ls(j,"is-expanded"),Ts(C,"aria-expanded","false"),Ts(T,ss,"true")):(Ss(j,"is-expanded"),Ts(C,"aria-expanded","true"),Ts(T,ss,"false"))}),p)){const e=ks("table"),n=ks("thead"),r=ks("tbody");if(u){const t=ks("caption");Os(t,"table-caption"),t.innerHTML=u,e.appendChild(t)}Os(e,"section-table"),Os(n,"table-head"),Os(r,"table-body");const s=c.headers,a=bs(s),i=o.Ue.createDocumentFragment(),l=ks("tr");for(const o of a){const e=s[o],n=ks("th");n.id="cc__row-"+e+t,Ts(n,"scope","col"),Os(n,"table-th"),n.innerHTML=e,Ps(i,n)}Ps(l,i),Ps(n,l);const p=o.Ue.createDocumentFragment();for(const o of d){const e=ks("tr");Os(e,"table-tr");for(const n of a){const r=s[n],a=o[n],i=ks("td"),l=ks(os);Os(i,"table-td"),Ts(i,"data-column",r),Ts(i,"headers","cc__row-"+r+t),l.insertAdjacentHTML("beforeend",a),Ps(i,l),Ps(e,i)}Ps(p,e)}Ps(r,p),Ps(e,n),Ps(e,r),Ps(v,e)}var T,j,C;(g||s)&&Ps(y,v);const P=o.Pe||o.Ge;m?(b||(b=ks(os),Os(b,"section-toggles")),b.appendChild(y)):b=null,Ps(P,b||y)}),u&&(o.ze||(o.ze=ks(rs),Os(o.ze,"btn"),Ts(o.ze,ls,"all"),Ps(y,o.ze),Is(o.ze,is,()=>i("all"))),o.ze.innerHTML=u),p&&(o.je||(o.je=ks(rs),Os(o.je,"btn"),Ts(o.je,ls,"necessary"),Ps(y,o.je),Is(o.je,is,()=>i([]))),o.je.innerHTML=p),m&&(o.qe||(o.qe=ks(rs),Os(o.qe,"btn"),Os(o.qe,"btn--secondary"),Ts(o.qe,ls,"save"),Ps(v,o.qe),Is(o.qe,is,()=>i())),o.qe.innerHTML=m),o.Pe&&(o.we.replaceChild(o.Pe,o.Ge),o.Ge=o.Pe),ca(1),n.N||(n.N=!0,Ys(ps.re.ue,ds,o.we),t(e),Ps(o.Ce,o.Fe),Ks(o.we),setTimeout(()=>Ss(o.Fe,"cc--anim"),100)),Us(2)};function pa(e,t,n,o,r){const s=ps.o,a=ps.ne,i=ks("label"),l=ks("input"),c=ks("span"),d=ks("span"),u=ks("span"),p=ks("span"),m=ks("span");if(p.innerHTML=Ws(1,3),m.innerHTML=Ws(0,3),l.type="checkbox",Ss(i,"section__toggle-wrapper"),Ss(l,"section__toggle"),Ss(p,"toggle__icon-on"),Ss(m,"toggle__icon-off"),Ss(c,"toggle__icon"),Ss(d,"toggle__icon-circle"),Ss(u,"toggle__label"),Ts(c,ss,"true"),o?(Ss(i,"toggle-service"),Ts(l,ns,r),a.se[r][t]=l):a.ae[t]=l,o?(h=r,Is(l,"change",()=>{const e=a.se[h],t=a.ae[h];s.Z[h]=[];for(let n in e){const t=e[n];t.checked&&s.Z[h].push(t.value)}t.checked=s.Z[h].length>0})):(e=>{Is(l,is,()=>{const t=a.se[e],n=l.checked;s.Z[e]=[];for(let o in t)t[o].checked=n,n&&s.Z[e].push(o)})})(t),l.value=t,u.textContent=e.replace(/<.*>.*<\/.*>/gm,""),Ps(d,m),Ps(d,p),Ps(c,d),s.D)(n.readOnly||n.enabled)&&(l.checked=!0);else if(o){const e=s.Y[r];l.checked=n.readOnly||hs(e,t)}else hs(s.R,t)&&(l.checked=!0);var h;return n.readOnly&&(l.disabled=!0),Ps(i,l),Ps(i,c),Ps(i,u),i}const ma=()=>{const e=ks("span");return ps.ne.Ke||(ps.ne.Ke=e),e},ha=(e,t)=>{const n=ps.o,o=ps.ne,{hide:r,showPreferences:s,acceptCategory:a}=e,i=n.u&&n.u.consentModal;if(!i)return;const l=i.acceptAllBtn,c=i.acceptNecessaryBtn,d=i.showPreferencesBtn,u=i.closeIconLabel,p=i.footer,m=i.label,h=i.title,f=e=>{r(),a(e)};if(!o.Qe){o.Qe=ks(os),o.he=ks(os),o.We=ks(os),o.Xe=ks(os),o.Ye=ks(os),Ss(o.Qe,"cm-wrapper"),Ss(o.he,"cm"),Rs(o.We,"body"),Rs(o.Xe,"texts"),Rs(o.Ye,"btns"),Ts(o.he,"role","dialog"),Ts(o.he,"aria-modal","true"),Ts(o.he,ss,"false"),Ts(o.he,"aria-describedby","cm__desc"),m?Ts(o.he,"aria-label",m):h&&Ts(o.he,"aria-labelledby","cm__title");const e="box",t=n.i.guiOptions,r=t&&t.consentModal,s=(r&&r.layout||e).split(" ")[0]===e;h&&u&&s&&(o.Le||(o.Le=ks(rs),o.Le.innerHTML=Ws(),Rs(o.Le,"btn"),Rs(o.Le,"btn--close"),Is(o.Le,is,()=>{f([])}),Ps(o.We,o.Le)),Ts(o.Le,"aria-label",u)),Ps(o.We,o.Xe),(l||c||d)&&Ps(o.We,o.Ye),o.be=ks(os),Ts(o.be,"tabIndex",-1),Ps(o.he,o.be),Ps(o.he,o.We),Ps(o.Qe,o.he)}h&&(o.Ze||(o.Ze=ks("h2"),o.Ze.className=o.Ze.id="cm__title",Ps(o.Xe,o.Ze)),o.Ze.innerHTML=h);let g=i.description;if(g&&(n.V&&(g=g.replace("{{revisionMessage}}",n.I?"":i.revisionMessage||"")),o.et||(o.et=ks("p"),o.et.className=o.et.id="cm__desc",Ps(o.Xe,o.et)),o.et.innerHTML=g),l&&(o.tt||(o.tt=ks(rs),Ps(o.tt,ma()),Rs(o.tt,"btn"),Ts(o.tt,ls,"all"),Is(o.tt,is,()=>{f("all")})),o.tt.firstElementChild.innerHTML=l),c&&(o.Ie||(o.Ie=ks(rs),Ps(o.Ie,ma()),Rs(o.Ie,"btn"),Ts(o.Ie,ls,"necessary"),Is(o.Ie,is,()=>{f([])})),o.Ie.firstElementChild.innerHTML=c),d&&(o.ot||(o.ot=ks(rs),Ps(o.ot,ma()),Rs(o.ot,"btn"),Rs(o.ot,"btn--secondary"),Ts(o.ot,ls,"show"),Is(o.ot,"mouseenter",()=>{n.N||ua(e,t)}),Is(o.ot,is,s)),o.ot.firstElementChild.innerHTML=d),o.nt||(o.nt=ks(os),Rs(o.nt,as),l&&Ps(o.nt,o.tt),c&&Ps(o.nt,o.Ie),(l||c)&&Ps(o.We,o.nt),Ps(o.Ye,o.nt)),o.ot&&!o.st&&(o.st=ks(os),o.Ie&&o.tt?(Rs(o.st,as),Ps(o.st,o.ot),Ps(o.Ye,o.st)):(Ps(o.nt,o.ot),Rs(o.nt,as+"--uneven"))),p){if(!o.ct){let e=ks(os),t=ks(os);o.ct=ks(os),Rs(e,"footer"),Rs(t,"links"),Rs(o.ct,"link-group"),Ps(t,o.ct),Ps(e,t),Ps(o.he,e)}o.ct.innerHTML=p}ca(0),n.T||(n.T=!0,Ys(ps.re.ue,cs,o.he),t(e),Ps(o.Ce,o.Qe),Ks(o.he),setTimeout(()=>Ss(o.Qe,"cc--anim"),100)),Us(1),Fs(o.We,e,ua,t)},fa=e=>{if(!gs(e))return null;if(e in ps.o._)return e;let t=e.slice(0,2);return t in ps.o._?t:null},ga=()=>ps.o.l||ps.o.i.language.default,ya=e=>{e&&(ps.o.l=e)},va=()=>{const e=ps.ne;if(e.Ce)return;e.Ce=ks(os),e.Ce.id="cc-main",e.Ce.setAttribute("data-nosnippet",""),(()=>{let e=ps.o.i.language.rtl,t=ps.ne.Ce;e&&t&&(fs(e)||(e=[e]),hs(e,ps.o.l)?Ss(t,"cc--rtl"):Ls(t,"cc--rtl"))})();let t=ps.o.i.root;t&&gs(t)&&(t=document.querySelector(t)),(t||e.Ue.body).appendChild(e.Ce)},ba=e=>Qs(()=>localStorage.removeItem(e)),wa=(e,t)=>{if(t instanceof RegExp)return e.filter(e=>t.test(e));{const n=ms(e,t);return n>-1?[e[n]]:[]}},xa=e=>{const{hostname:t,protocol:n}=location,{name:o,path:r,domain:s,sameSite:a,useLocalStorage:i,secure:l}=ps.t.cookie,c=864e5*(()=>{const e=ps.t.cookie.expiresAfterDays;return vs(e)?e(ps.o.F):e})(),d=new Date;d.setTime(d.getTime()+c),ps.o.p.expirationTime=d.getTime();const u=JSON.stringify(ps.o.p);let p=o+"="+encodeURIComponent(u)+(0!==c?"; expires="+d.toUTCString():"")+"; Path="+r+"; SameSite="+a;var m,h;hs(t,".")&&(p+="; Domain="+s),l&&"https:"===n&&(p+="; Secure"),i?(m=o,h=u,Qs(()=>localStorage.setItem(m,h))):document.cookie=p,ps.o.p},_a=(e,t,n)=>{if(0===e.length)return;const o=n||ps.t.cookie.domain,r=t||ps.t.cookie.path,s="www."===o.slice(0,4),a=s&&o.substring(4),i=(e,t)=>{t&&"."!==t.slice(0,1)&&(t="."+t),document.cookie=e+"=; path="+r+(t?"; domain="+t:"")+"; expires=Thu, 01 Jan 1970 00:00:01 GMT;"};for(const l of e)i(l,n),n||i(l,o),s&&i(l,a)},Ea=(e,t)=>{const n=document.cookie.match("(^|;)\\s*"+e+"\\s*=\\s*([^;]+)");return n?t?n.pop():e:""},ka=e=>{const t=document.cookie.split(/;\s*/),n=[];for(const o of t){let t=o.split("=")[0];e?Qs(()=>{e.test(t)&&n.push(t)}):n.push(t)}return n},Ta=e=>{const t=ps.o.D?[]:ps.o.R;return hs(t,e)},ja=(e,t)=>{const n=ps.o.D?[]:ps.o.Y[t]||[];return hs(n,e)},Ca=e=>{const{ne:t,o:n}=ps;if(!n.k){if(!n.T){if(!e)return;ha(Sa,va)}n.k=!0,n.J=xs(),n.v&&qs(!0),Vs(t.he,1),Ss(t.ye,Zr),Ts(t.he,ss,"false"),setTimeout(()=>{Bs(ps.ne.be)},100),Ys(ps.re.fe,cs)}},Pa=()=>{const e=ps.o;e.A||(e.N||ua(Sa,va),e.A=!0,e.k?e.U=xs():e.J=xs(),Vs(ps.ne.we,2),Ss(ps.ne.ye,es),Ts(ps.ne.we,ss,"false"),setTimeout(()=>{Bs(ps.ne.ve)},100),Ys(ps.re.fe,ds))};var Sa={show:Ca,hide:()=>{const{ne:e,o:t,re:n}=ps;t.k&&(t.k=!1,t.v&&qs(),Bs(e.Ke,!0),Ls(e.ye,Zr),Ts(e.he,ss,"true"),Bs(t.J),t.J=null,Ys(n._e,cs))},showPreferences:Pa,hidePreferences:()=>{const e=ps.o;e.A&&(e.A=!1,(()=>{const e=Ra(),t=ps.o.P,n=ps.ne.ae,o=ps.ne.se,r=e=>hs(ps.o.$,e);for(const s in n){const a=!!t[s].readOnly;n[s].checked=a||(e?Ta(s):r(s));for(const t in o[s])o[s][t].checked=a||(e?ja(t,s):r(s))}})(),Bs(ps.ne.$e,!0),Ls(ps.ne.ye,es),Ts(ps.ne.we,ss,"true"),e.k?(Bs(e.U),e.U=null):(Bs(e.J),e.J=null),Ys(ps.re._e,ds))},acceptCategory:(e,t=[])=>{((e,t)=>{const{O:n,R:o,B:r,N:s,Z:a,$:i,X:l}=ps.o;let c=[];if(e){fs(e)?c.push(...e):gs(e)&&(c="all"===e?n:[e]);for(const e of n)a[e]=hs(c,e)?bs(l[e]):[]}else c=[...o,...i],s&&(c=(()=>{const e=ps.ne.ae;if(!e)return[];let t=[];for(let n in e)e[n].checked&&t.push(n);return t})());c=c.filter(e=>!hs(n,e)||!hs(t,e)),c.push(...r),zs(c)})(e,t),(()=>{const e=ps.o,{Z:t,B:n,Y:o,X:r,O:s}=e,a=s;e.te=As(o);for(const i of a){const s=r[i],a=bs(s),l=t[i]&&t[i].length>0,c=hs(n,i);if(0!==a.length){if(o[i]=[],c)o[i].push(...a);else if(l){const e=t[i];o[i].push(...e)}else o[i]=e.Z[i];o[i]=ws(o[i])}}})(),(()=>{const e=ps.o;e.L=ps.t.mode===Jr&&e.D?Ns(e.$,e.R):Ns(e.R,e.p.categories);let t=e.L.length>0,n=!1;for(const a of e.O)e.ee[a]=Ns(e.Y[a],e.te[a]),e.ee[a].length>0&&(n=!0);const o=ps.ne.ae;for(const a in o)o[a].checked=hs(e.R,a);for(const a of e.O){const t=ps.ne.se[a],n=e.Y[a];for(const e in t)t[e].checked=hs(n,e)}e.C||(e.C=new Date),e.M||(e.M="10000000-1000-4000-8000-100000000000".replace(/[018]/g,e=>(e^crypto.getRandomValues(new Uint8Array(1))[0]&15>>e/4).toString(16))),e.p={categories:As(e.R),revision:ps.t.revision,data:e.h,consentTimestamp:e.C.toISOString(),consentId:e.M,services:As(e.Y),languageCode:ps.o.l},e.S&&(e.p.lastConsentTimestamp=e.S.toISOString());let r=!1;const s=t||n;(e.D||s)&&(e.D&&(e.D=!1,r=!0),e.S=e.S?new Date:e.C,e.p.lastConsentTimestamp=e.S.toISOString(),xa(),ps.t.autoClearCookies&&(r||s)&&(e=>{const t=ps.o,n=ka(),o=(e=>{const t=ps.o;return(e?t.O:t.L).filter(e=>{const n=t.P[e];return!!n&&!n.readOnly&&!!n.autoClear})})(e);for(const r in t.ee)for(const e of t.ee[r]){const o=t.X[r][e].cookies;if(!hs(t.Y[r],e)&&o)for(const e of o){const t=wa(n,e.name);_a(t,e.path,e.domain)}}for(const r of o){const o=t.P[r].autoClear,s=o&&o.cookies||[],a=hs(t.L,r),i=!hs(t.R,r),l=a&&i;if(e?i:l){o.reloadPage&&l&&(t.j=!0);for(const e of s){const t=wa(n,e.name);_a(t,e.path,e.domain)}}}})(r),Xs()),r&&(Ys(ps.re.ie),Ys(ps.re.le),ps.t.mode===Xr)||(s&&Ys(ps.re.de),e.j&&(e.j=!1,location.reload()))})()}};const Ra=()=>!ps.o.D,Oa=async e=>{const{o:t,t:n,re:o}=ps,r=window;if(!r._ccRun){if(r._ccRun=!0,(e=>{const{ne:t,t:n,o:o}=ps,r=n,s=o,{cookie:a}=r,i=ps.ce,l=e.cookie,c=e.categories,d=bs(c)||[],u=navigator,p=document;t.Ue=p,t.ye=p.documentElement,a.domain=location.hostname,s.i=e,s.P=c,s.O=d,s._=e.language.translations,s.v=!!e.disablePageInteraction,i.ie=e.onFirstConsent,i.le=e.onConsent,i.de=e.onChange,i._e=e.onModalHide,i.fe=e.onModalShow,i.ue=e.onModalReady;const{mode:m,autoShow:h,lazyHtmlGeneration:f,autoClearCookies:g,revision:y,manageScriptTags:v,hideFromBots:b}=e;m===Jr&&(r.mode=m),"boolean"==typeof g&&(r.autoClearCookies=g),"boolean"==typeof v&&(r.manageScriptTags=v),"number"==typeof y&&y>=0&&(r.revision=y,s.V=!0),"boolean"==typeof h&&(r.autoShow=h),"boolean"==typeof f&&(r.lazyHtmlGeneration=f),!1===b&&(r.hideFromBots=!1),!0===r.hideFromBots&&u&&(s.G=u.userAgent&&/bot|crawl|spider|slurp|teoma/i.test(u.userAgent)||u.webdriver),ys(l)&&(r.cookie={...a,...l}),r.autoClearCookies,s.V,r.manageScriptTags,(e=>{const{P:t,X:n,Y:o,Z:r,B:s}=ps.o;for(let a of e){const e=t[a],i=e.services||{},l=ys(i)&&bs(i)||[];n[a]={},o[a]=[],r[a]=[],e.readOnly&&(s.push(a),o[a]=l),ps.ne.se[a]={};for(let t of l){const e=i[t];e.Se=!1,n[a][t]=e}}})(d),(()=>{if(!ps.t.manageScriptTags)return;const e=ps.o,t=Es(document,"script["+ns+"]");for(const n of t){let t=Cs(n,ns),o=n.dataset.service||"",r=!1;if(t&&"!"===t.charAt(0)&&(t=t.slice(1),r=!0),"!"===o.charAt(0)&&(o=o.slice(1),r=!0),hs(e.O,t)&&(e.oe.push({Me:n,xe:!1,ke:r,De:t,Te:o}),o)){const n=e.X[t];n[o]||(n[o]={Se:!1})}}})(),ya((()=>{const e=ps.o.i.language.autoDetect;if(e){const t={browser:navigator.language,document:document.documentElement.lang},n=fa(t[e]);if(n)return n}return ga()})())})(e),t.G)return;(()=>{const e=ps.o,t=ps.t,n=(()=>{const e=ps.t.cookie.name,t=ps.t.cookie.useLocalStorage;return((e,t)=>{let n;return n=Qs(()=>JSON.parse(t?e:decodeURIComponent(e)))||{},n})(t?(n=e,Qs(()=>localStorage.getItem(n))||""):Ea(e,!0),t);var n})(),{categories:o,services:r,consentId:s,consentTimestamp:a,lastConsentTimestamp:i,data:l,revision:c}=n,d=fs(o);e.p=n,e.M=s;const u=!!s&&gs(s);e.C=a,e.C&&(e.C=new Date(a)),e.S=i,e.S&&(e.S=new Date(i)),e.h=void 0!==l?l:null,e.V&&u&&c!==t.revision&&(e.I=!1),e.D=!(u&&e.I&&e.C&&e.S&&d),t.cookie.useLocalStorage&&!e.D&&(e.D=(new Date).getTime()>(n.expirationTime||0),e.D&&ba(t.cookie.name)),e.D,(()=>{const e=ps.o;for(const t of e.O){const n=e.P[t];if(n.readOnly||n.enabled){e.$.push(t);const n=e.X[t]||{};for(let o in n)e.Z[t].push(o),e.i.mode===Jr&&e.Y[t].push(o)}}})(),e.D?t.mode===Jr&&(e.R=[...e.$]):(e.Y={...e.Y,...r},e.Z={...e.Y},zs([...e.B,...o]))})();const a=Ra();if(!(await(async e=>{const t=ps.o;let n=fa(e)?e:ga(),o=t._[n];if(gs(o)?o=await(async e=>{try{const t=await fetch(e);return await t.json()}catch(t){return!1}})(o):vs(o)&&(o=await o()),!o)throw`Could not load translation for the '${n}' language`;return t.u=o,ya(n),!0})()))return!1;if(Fs(null,s=Sa,ua,va),ps.o.D&&ha(s,va),ps.t.lazyHtmlGeneration||ua(s,va),n.autoShow&&!a&&Ca(!0),a)return Xs(),Ys(o.le);n.mode===Jr&&Xs(t.$)}var s},La=e=>{const{Ce:t,ye:n}=ps.ne,{name:o,path:r,domain:s,useLocalStorage:a}=ps.t.cookie;a?ba(o):((e,t,n)=>{let o=[];const r=e=>{if(gs(e)){let t=Ea(e);""!==t&&o.push(t)}else o.push(...ka(e))};if(fs(e))for(let s of e)r(s);else r(e);_a(o,t,n)})(o,r,s);for(const{pe:l,ge:c,me:d}of ps.o.m)l.removeEventListener(c,d);t&&t.remove(),n&&n.classList.remove(ts,es,Zr);const i=new us;for(const l in ps)ps[l]=i[l];window._ccRun=!1};function Aa(e){const t=(()=>{const{F:e,Y:t}=ps.o,{accepted:n,rejected:o}=(()=>{const{D:e,R:t,O:n}=ps.o;return{accepted:t,rejected:e?[]:n.filter(e=>!hs(t,e))}})();return As({acceptType:e,acceptedCategories:n,rejectedCategories:o,acceptedServices:t,rejectedServices:Ds()})})();return t?.acceptedCategories?.includes(e)||!1}function Da(){document.cookie.includes("cc_cookie");try{Oa({autoShow:!0,guiOptions:{consentModal:{layout:"bar",position:"bottom",equalWeightButtons:!0,flipButtons:!1},preferencesModal:{layout:"box",position:"right",equalWeightButtons:!0,flipButtons:!1}},cookie:{name:"cc_cookie",expiresAfterDays:182},categories:{essential:{enabled:!0,readOnly:!0},analytics:{enabled:!1,readOnly:!1,autoClear:{cookies:[{name:/^_ga/},{name:/^_gid/},{name:/^_gat/},{name:"allerin_utms"},{name:"allerin_session_id"}]}},performance:{enabled:!1,readOnly:!1,autoClear:{cookies:[{name:/^sentry/}]}}},language:{default:"en",translations:{en:{consentModal:{title:"We use cookies",description:'We use cookies to enhance your browsing experience, serve personalized content, and analyze our traffic. By clicking "Accept All", you consent to our use of cookies.',acceptAllBtn:"Accept All",acceptNecessaryBtn:"Reject All",showPreferencesBtn:"Manage Preferences"},preferencesModal:{title:"Cookie Preferences",acceptAllBtn:"Accept All",acceptNecessaryBtn:"Reject All",savePreferencesBtn:"Save Preferences",closeIconLabel:"Close",sections:[{title:"Cookie Usage",description:"We use cookies to improve your experience on our website. You can choose which categories of cookies to accept."},{title:"Essential Cookies",description:"These cookies are necessary for the website to function properly. They enable core functionality such as security and accessibility. These cookies cannot be disabled.",linkedCategory:"essential",cookieTable:{headers:{name:"Cookie",description:"Description",duration:"Duration"},body:[{name:"cc_cookie",description:"Stores your cookie consent preferences",duration:"6 months"}]}},{title:"Analytics Cookies",description:"These cookies help us understand how visitors interact with our website by collecting and reporting information anonymously. This includes Google Analytics via Google Tag Manager.",linkedCategory:"analytics",cookieTable:{headers:{name:"Cookie",description:"Description",duration:"Duration"},body:[{name:"_ga, _gid, _gat",description:"Google Analytics tracking cookies",duration:"2 years"},{name:"allerin_utms",description:"Stores UTM campaign parameters",duration:"90 days"},{name:"allerin_session_id",description:"Session tracking identifier",duration:"Session"}]}},{title:"Performance Cookies",description:"These cookies help us monitor and improve website performance, track errors, and provide better user experiences. This includes Sentry error tracking.",linkedCategory:"performance",cookieTable:{headers:{name:"Cookie",description:"Description",duration:"Duration"},body:[{name:"sentry-*",description:"Sentry error tracking and monitoring",duration:"1 year"}]}},{title:"More Information",description:'For more information about our use of cookies and your privacy, please read our <a href="/privacy-policy" class="cc-link">Privacy Policy</a> and <a href="/cookies-policy" class="cc-link">Cookies Policy</a>.'}]}}}},onModalReady:({modalName:e})=>{},onModalShow:({modalName:e})=>{},onFirstConsent:()=>{},onConsent:()=>{Aa("analytics")&&function(){const e="GTM-KKDGBSK",t="G-5RTQQGXRR8";window.dataLayer=window.dataLayer||[],window.dataLayer.push({"gtm.start":(new Date).getTime(),event:"gtm.js"});const n=document.createElement("script");n.async=!0,n.src=`https://www.googletagmanager.com/gtm.js?id=${e}`,document.head.appendChild(n);const o=document.createElement("script");function r(...e){window.dataLayer.push(e)}o.async=!0,o.src=`https://www.googletagmanager.com/gtag/js?id=${t}`,document.head.appendChild(o),window.gtag=r,r("js",new Date),r("config",t,{send_page_view:!0}),function(e){let t=window.location.pathname;const n=history.pushState,o=history.replaceState,r=()=>{const n=window.location.pathname;n!==t&&(t=n,window.gtag&&window.gtag("config",e,{page_path:n,page_title:document.title}))};history.pushState=function(...e){n.apply(this,e),setTimeout(r,0)},history.replaceState=function(...e){o.apply(this,e),setTimeout(r,0)},window.addEventListener("popstate",r)}(t)}(),Aa("performance")&&Oe(async()=>{const{initializeMonitoring:e}=await import("./monitoring-9M0DK3gK.js");return{initializeMonitoring:e}},[]).then(({initializeMonitoring:e})=>{e()})},onChange:({changedCategories:e})=>{(e.includes("analytics")||e.includes("performance"))&&window.location.reload()}})}catch(e){}}function Ma(){try{Pa()}catch(e){}}"undefined"!=typeof window&&(window.__cookieConsent={reset:function(){La(),window.location.reload()},show:function(){Ca(!0)},showPreferences:Ma,hasConsent:Aa});const Ia=we.lazy(()=>Oe(()=>import("./Index-Cmmk7FdR.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31]))),Na=we.lazy(()=>Oe(()=>import("./HowWeMeasure-CR4qrgq0.js"),__vite__mapDeps([32,1,2,3,4,5,33,28,34,35,8,9,10,36,37]))),za=we.lazy(()=>Oe(()=>import("./Resources-x46VeSLg.js"),__vite__mapDeps([38,1,2,3,4,5,15,39,40,41,42,43,44]))),Fa=we.lazy(()=>Oe(()=>import("./ResourceDetail-mC7bJdEu.js"),__vite__mapDeps([45,1,2,40,15,39,43,44,5,33,28,34]))),Ba=we.lazy(()=>Oe(()=>import("./Industries-BVmao-L-.js"),__vite__mapDeps([46,1,3,2,4,5,15,47,16,17,18,9,48,8,43,44]))),Va=we.lazy(()=>Oe(()=>import("./IndustryDetail-BDkFCI5C.js"),__vite__mapDeps([49,1,3,2,4,5,11,15,50,43,44,33,28,51,47,16,17,18,9,48,8,52,53,39,6]))),$a=we.lazy(()=>Oe(()=>import("./Solutions-3kyXxE02.js"),__vite__mapDeps([54,1,3,2,4,5,15,33,28,55,11,6,43,44,56,57,58,59,60,16,17,9,48,8,18]))),qa=we.lazy(()=>Oe(()=>import("./SolutionDetail-sPT3xijZ.js"),__vite__mapDeps([61,1,3,2,4,5,11,15,62,42,63,34,64,6,65,21,66,67,68,60,69,19,70,14,23,71,29,72,53,12,73,39,74,75,24,76,59,77,10,56,13,16,78,35,79,80,81,82,83,84,85,55,22,30,26,86,87,88,58,89,57,90,41,25,91,92,9,18,37,48,36,93,94,17,95,8,96,43,44,33,28,31]))),Ha=we.lazy(()=>Oe(()=>import("./Services-DclMewNy.js"),__vite__mapDeps([97,1,3,2,4,5,11,15,20,21,22,13,23,24,25,9,26,8,33,28,52,42,53,35,56,43,44,93,80,39,87,6,84,74,85,57,36,60,83,82,59,16,37]))),Wa=we.lazy(()=>Oe(()=>import("./ServiceDetail-Bg3yF3NY.js"),__vite__mapDeps([98,1,2,3,4,5,15,11,33,28,27,99,96,43,44,34,6,100,52,56,36,93,70,39,9,91,78,30,73,86,74,13,22,77,25,35,23,72,79,64,51,50,10,8,20,21,24,26,68,84,92,82,89,41,81,57,60,83,37,59,16,69,87,66,58,63,90]))),Ka=we.lazy(()=>Oe(()=>import("./NotFound-B_iJCu3T.js"),__vite__mapDeps([101,1]))),Ga=we.lazy(()=>Oe(()=>import("./Customers-DtlJfXJY.js"),__vite__mapDeps([102,1,2,3,4,5,11,15,43,44,7,6,30]))),Ua=we.lazy(()=>Oe(()=>import("./Products-D2G2tEBr.js"),__vite__mapDeps([103,1,2,3,4,5,15,43,44,6,66,74,8,9,25]))),Ya=we.lazy(()=>Oe(()=>import("./ProductDetail-By7APocQ.js"),__vite__mapDeps([104,1,2,3,4,5,11,15,33,28,43,44,99,62,42,37,63,59,30,70,18,69,16,10,82,92,25,74,9,56,6,58,39,35,23,14,93,36,8,91,90,68,89,87,24,57,26,85,95,60,17]))),Qa=we.lazy(()=>Oe(()=>import("./SkyAide-DBVgjpSw.js"),__vite__mapDeps([105,1,2,3,4,5,6,56]))),Xa=we.lazy(()=>Oe(()=>import("./Trust-D4EWdhpv.js"),__vite__mapDeps([106,1,2,3,4,5,11,15,33,28,44,35,9,60,76,81,30,13,56]))),Ja=we.lazy(()=>Oe(()=>import("./About-D1QLl3zg.js"),__vite__mapDeps([107,1,2,3,4,5,15,11,52,6,90,67,63])));we.lazy(()=>Oe(()=>import("./Company-DUbeoIEY.js"),__vite__mapDeps([108,1,2,3,4,5,52])));const Za=we.lazy(()=>Oe(()=>import("./Careers-D5AbEkL3.js"),__vite__mapDeps([109,1,2,3,4,5,31,6,52,15]))),ei=we.lazy(()=>Oe(()=>import("./ComponentLibrary-GgMpigcc.js"),__vite__mapDeps([110,1,2,3,4,5,15,11,99,75,86,6,76]))),ti=we.lazy(()=>Oe(()=>import("./PrivacyPolicy-DE1G55pV.js"),__vite__mapDeps([111,1,2,3,4,5,100,52]))),ni=we.lazy(()=>Oe(()=>import("./CookiesPolicy-CEauaCH8.js"),__vite__mapDeps([112,1,2,3,4,5,100,52]))),oi=we.lazy(()=>Oe(()=>import("./Disclaimer-bXcKACaQ.js"),__vite__mapDeps([113,1,2,3,4,5,100,52]))),ri=we.lazy(()=>Oe(()=>import("./DeiPolicy-Ckxa_2sK.js"),__vite__mapDeps([114,1,2,3,4,5,100,52]))),si=we.lazy(()=>Oe(()=>import("./TermsOfService-DXXeuxhQ.js"),__vite__mapDeps([115,1,2,3,4,5,100,52]))),ai=we.lazy(()=>Oe(()=>import("./Contact-DHoKlpzK.js"),__vite__mapDeps([116,1,2,3,4,5,39]))),ii=we.lazy(()=>Oe(()=>import("./RoiCalculatorLanding-CIlPiyzM.js"),__vite__mapDeps([117,1,3,2,4,5,11,19,68,13,8]))),li=we.lazy(()=>Oe(()=>import("./RoiCalculatorAgentic-yoW8agDG.js"),__vite__mapDeps([118,1,3,2,4,5,11,119,33,28,44,56]))),ci=we.lazy(()=>Oe(()=>import("./RoiCalculatorCv-B5fEzyBg.js"),__vite__mapDeps([120,1,3,2,4,5,11,119,33,28,44,56]))),di=we.lazy(()=>Oe(()=>import("./RoiCalculatorModernization-Rqn5P-Np.js"),__vite__mapDeps([121,1,3,2,4,5,11,119,33,28,44,56]))),ui=we.lazy(()=>Oe(()=>import("./Outcomes-CbETn29K.js"),__vite__mapDeps([122,1,2,3,4,5,11,16,83,86,9,71,72,60,15,23,21,70,95,35,10,30,119,27,28,29,33,42,36,56,123]))),pi=we.lazy(()=>Oe(()=>import("./EnterpriseSaasPerformance-BbEI4Z9Y.js"),__vite__mapDeps([124,1,2,3,4,5,15,11,43,44,125,89,6,56]))),mi=we.lazy(()=>Oe(()=>import("./MunicipalCvCost-Dmpb88kH.js"),__vite__mapDeps([126,1,2,3,4,5,15,11,43,44,125,89,6,56]))),hi=we.lazy(()=>Oe(()=>import("./RedactionCompliance-CCtkKjAb.js"),__vite__mapDeps([127,1,2,3,4,5,15,11,43,44,125,89,6,56]))),fi=we.lazy(()=>Oe(()=>import("./PredictiveFreightRouter-CK2W-S35.js"),__vite__mapDeps([128,1,2,3,4,5,15,11,43,44,125,89,6,56]))),gi=we.lazy(()=>Oe(()=>import("./FinopsFraudDetection-DL4-dld7.js"),__vite__mapDeps([129,1,2,3,4,5,15,11,43,44,125,89,6,56]))),yi=we.lazy(()=>Oe(()=>import("./HealthcareRailsResurrection-DGSb9vLK.js"),__vite__mapDeps([130,1,2,3,4,5,15,11,43,44,125,89,6,56]))),vi=we.lazy(()=>Oe(()=>import("./ColdChainGuardian-BHyxqSfu.js"),__vite__mapDeps([131,1,2,3,4,5,15,11,43,44,125,89,6,56]))),bi=we.lazy(()=>Oe(()=>import("./Soc2Startups-DXP5sZdg.js"),__vite__mapDeps([132,1,2,3,4,5,15,11,33,28,44,100,52,57,39,10,9,93,8,37,68,35]))),wi=we.lazy(()=>Oe(()=>import("./AIReadinessAssessment-DGTsAUXM.js"),__vite__mapDeps([133,1,3,2,4,5,11,123,15,42,53,34,68,6,77,24,9,23,93,73]))),xi=we.lazy(()=>Oe(()=>import("./GccAsAService-BOwgDMFQ.js"),__vite__mapDeps([134,1,2,3,4,5,11,15,25,92,57,6,59,23,88,39,41,87,94,91,78,16,8,48,60,18]))),_i=we.lazy(()=>Oe(()=>import("./AiCapabilityCenter-fEZqlhgD.js"),__vite__mapDeps([135,1,2,3,4,5,15,100,52,6,65,41,87,94,25,57,92]))),Ei=we.lazy(()=>Oe(()=>import("./EngagementModels-BodhVGCn.js"),__vite__mapDeps([136,1,2,3,4,5,100,52,15,11,96,50,6,8,37]))),ki=we.lazy(()=>Oe(()=>import("./MlopsSetup-BVlwYhd4.js"),__vite__mapDeps([137,1,2,3,4,5,100,52,15,11,96,50,6,77,79,57,63,9]))),Ti=we.lazy(()=>Oe(()=>import("./Methodology-DWfRzsll.js"),__vite__mapDeps([138,1,2,3,4,5,100,52,15,50,6,41,95,57,89]))),ji=we.lazy(()=>Oe(()=>import("./RailsModernization-DUC5yUvR.js"),__vite__mapDeps([139,1,2,4]))),Ci=we.lazy(()=>Oe(()=>import("./GccService-_Z0x0XTP.js"),__vite__mapDeps([140,1,2,4]))),Pi=we.lazy(()=>Oe(()=>import("./MlopsService-C6qzoQ-m.js"),__vite__mapDeps([141,1,2,4]))),Si=we.lazy(()=>Oe(()=>import("./AgenticAi-Bbipaxc1.js"),__vite__mapDeps([142,1,2,4]))),Ri=we.lazy(()=>Oe(()=>import("./ComputerVision-vlEXVyV4.js"),__vite__mapDeps([143,1,2,4]))),Oi=we.lazy(()=>Oe(()=>import("./Manufacturing-D8LCPP6c.js"),__vite__mapDeps([144,1,2,4]))),Li=we.lazy(()=>Oe(()=>import("./Healthcare-aBPoHJMr.js"),__vite__mapDeps([145,1,2,4]))),Ai=we.lazy(()=>Oe(()=>import("./Insurance-Cb8by0Im.js"),__vite__mapDeps([146,1,2,4]))),Di=we.lazy(()=>Oe(()=>import("./AirlineLoyaltyAi-D6H5ch0E.js"),__vite__mapDeps([147,1,2,4]))),Mi=we.lazy(()=>Oe(()=>import("./AiHiring-mkY9DHuo.js"),__vite__mapDeps([148,1,2,4]))),Ii=we.lazy(()=>Oe(()=>import("./PlatformModernization-3JUlvupP.js"),__vite__mapDeps([149,1,2,4]))),Ni=we.lazy(()=>Oe(()=>import("./AiPartnerVsInHouse-h-5CgcFq.js"),__vite__mapDeps([150,1,2,3,4,5,43,44,6]))),zi=we.lazy(()=>Oe(()=>import("./BoutiqueAiVsBigConsultancy-D5wrTJcN.js"),__vite__mapDeps([151,1,2,3,4,5,43,44,6]))),Fi=we.lazy(()=>Oe(()=>import("./AiPocVsProduction-CkkFUeBi.js"),__vite__mapDeps([152,1,2,3,4,5,43,44,6]))),Bi=we.lazy(()=>Oe(()=>import("./PremiumVsOffshoreAi-C-cI-ZsN.js"),__vite__mapDeps([153,1,2,3,4,5,43,44,6]))),Vi=new _r,$i=()=>{const e=Ce();return we.useEffect(()=>{const t=window.location.hash;"#company"!==t&&"#about"!==t||e("/about",{replace:!0})},[e]),null},qi=()=>{const e=we.useRef(!1);return we.useEffect(()=>{e.current||window.location.pathname.startsWith("/lp/")||(e.current=!0,setTimeout(()=>{Da()},100))},[]),we.useEffect(()=>{const e=e=>{const t=e.target.closest("[data-analytics-event]");if(t)try{const e=t.dataset.analyticsEvent;Rr(e,t.dataset.analyticsProps?JSON.parse(t.dataset.analyticsProps):{})}catch(n){}};return document.addEventListener("click",e),()=>document.removeEventListener("click",e)},[]),J.jsx(kr,{client:Vi,children:J.jsxs(Io,{children:[J.jsx(Qr,{}),J.jsx(zn,{}),J.jsx(lo,{}),J.jsxs(Ee,{children:[J.jsx($i,{}),J.jsx(we.Suspense,{fallback:J.jsx("div",{className:"min-h-screen bg-background",children:J.jsxs("div",{className:"max-w-7xl mx-auto px-4 pt-20",children:[J.jsx("div",{className:"h-8 w-48 bg-muted rounded animate-pulse mb-4"}),J.jsx("div",{className:"h-4 w-full bg-muted rounded animate-pulse mb-2"}),J.jsx("div",{className:"h-4 w-3/4 bg-muted rounded animate-pulse"})]})}),children:J.jsxs(ke,{children:[J.jsx(Te,{path:"/",element:J.jsx(Ia,{})}),J.jsx(Te,{path:"/outcomes",element:J.jsx(ui,{})}),J.jsx(Te,{path:"/roi-calculator/pro",element:J.jsx(ui,{})}),J.jsx(Te,{path:"/roi-calculator",element:J.jsx(ii,{})}),J.jsx(Te,{path:"/roi-calculator/agentic",element:J.jsx(li,{})}),J.jsx(Te,{path:"/roi-calculator/cv",element:J.jsx(ci,{})}),J.jsx(Te,{path:"/roi-calculator/modernization",element:J.jsx(di,{})}),J.jsx(Te,{path:"/how-we-measure",element:J.jsx(Na,{})}),J.jsx(Te,{path:"/resources",element:J.jsx(za,{})}),J.jsx(Te,{path:"/resources/:slug",element:J.jsx(Fa,{})}),J.jsx(Te,{path:"/industries",element:J.jsx(Ba,{})}),J.jsx(Te,{path:"/industries/:slug",element:J.jsx(Va,{})}),J.jsx(Te,{path:"/solutions",element:J.jsx($a,{})}),J.jsx(Te,{path:"/solutions/:slug",element:J.jsx(qa,{})}),J.jsx(Te,{path:"/services",element:J.jsx(Ha,{})}),J.jsx(Te,{path:"/services/:slug",element:J.jsx(Wa,{})}),J.jsx(Te,{path:"/products",element:J.jsx(Ua,{})}),J.jsx(Te,{path:"/products/skyaide",element:J.jsx(Qa,{})}),J.jsx(Te,{path:"/products/:slug",element:J.jsx(Ya,{})}),J.jsx(Te,{path:"/customers",element:J.jsx(Ga,{})}),J.jsx(Te,{path:"/customers/enterprise-saas-performance",element:J.jsx(pi,{})}),J.jsx(Te,{path:"/customers/municipal-cv-cost",element:J.jsx(mi,{})}),J.jsx(Te,{path:"/customers/redaction-compliance",element:J.jsx(hi,{})}),J.jsx(Te,{path:"/customers/healthcare-rails-resurrection",element:J.jsx(yi,{})}),J.jsx(Te,{path:"/customers/predictive-freight-router",element:J.jsx(fi,{})}),J.jsx(Te,{path:"/customers/finops-fraud-detection",element:J.jsx(gi,{})}),J.jsx(Te,{path:"/customers/cold-chain-guardian",element:J.jsx(vi,{})}),J.jsx(Te,{path:"/soc-2-for-startups",element:J.jsx(bi,{})}),J.jsx(Te,{path:"/ai-readiness-assessment",element:J.jsx(wi,{})}),J.jsx(Te,{path:"/trust",element:J.jsx(Xa,{})}),J.jsx(Te,{path:"/procurement-facts",element:J.jsx(je,{to:"/trust",replace:!0})}),J.jsx(Te,{path:"/about",element:J.jsx(Ja,{})}),J.jsx(Te,{path:"/company",element:J.jsx(je,{to:"/about",replace:!0})}),J.jsx(Te,{path:"/careers",element:J.jsx(Za,{})}),J.jsx(Te,{path:"/component-library",element:J.jsx(ei,{})}),J.jsx(Te,{path:"/privacy-policy",element:J.jsx(ti,{})}),J.jsx(Te,{path:"/terms-of-service",element:J.jsx(si,{})}),J.jsx(Te,{path:"/cookies-policy",element:J.jsx(ni,{})}),J.jsx(Te,{path:"/disclaimer",element:J.jsx(oi,{})}),J.jsx(Te,{path:"/dei",element:J.jsx(ri,{})}),J.jsx(Te,{path:"/contact",element:J.jsx(ai,{})}),J.jsx(Te,{path:"/gcc-as-a-service",element:J.jsx(xi,{})}),J.jsx(Te,{path:"/gcc-as-a-service/ai-capability-center",element:J.jsx(_i,{})}),J.jsx(Te,{path:"/gcc-as-a-service/engagement-models",element:J.jsx(Ei,{})}),J.jsx(Te,{path:"/gcc-as-a-service/mlops-pipeline-setup",element:J.jsx(ki,{})}),J.jsx(Te,{path:"/about/methodology",element:J.jsx(Ti,{})}),J.jsx(Te,{path:"/lp/rails-modernization",element:J.jsx(ji,{})}),J.jsx(Te,{path:"/lp/gcc",element:J.jsx(Ci,{})}),J.jsx(Te,{path:"/lp/mlops",element:J.jsx(Pi,{})}),J.jsx(Te,{path:"/lp/agentic-ai",element:J.jsx(Si,{})}),J.jsx(Te,{path:"/lp/computer-vision",element:J.jsx(Ri,{})}),J.jsx(Te,{path:"/lp/manufacturing",element:J.jsx(Oi,{})}),J.jsx(Te,{path:"/lp/healthcare",element:J.jsx(Li,{})}),J.jsx(Te,{path:"/lp/insurance",element:J.jsx(Ai,{})}),J.jsx(Te,{path:"/lp/airline-loyalty-ai",element:J.jsx(Di,{})}),J.jsx(Te,{path:"/lp/ai-hiring",element:J.jsx(Mi,{})}),J.jsx(Te,{path:"/lp/platform-modernization",element:J.jsx(Ii,{})}),J.jsx(Te,{path:"/compare/ai-partner-vs-in-house-team",element:J.jsx(Ni,{})}),J.jsx(Te,{path:"/compare/boutique-ai-vs-big-consultancy",element:J.jsx(zi,{})}),J.jsx(Te,{path:"/compare/ai-poc-vs-production",element:J.jsx(Fi,{})}),J.jsx(Te,{path:"/compare/premium-vs-offshore-ai-development",element:J.jsx(Bi,{})}),J.jsx(Te,{path:"*",element:J.jsx(Ka,{})})]})})]})]})})};function Hi(e){window.gtag&&window.gtag("event","web_vital",{event_category:"Web Vitals",event_label:e.id,value:Math.round("CLS"===e.name?1e3*e.value:e.value),metric_name:e.name,metric_value:e.value,metric_rating:e.rating,non_interaction:!0})}"undefined"!=typeof window&&("requestIdleCallback"in window?requestIdleCallback(()=>{Oe(async()=>{const{onLCP:e,onCLS:t,onINP:n,onFCP:o,onTTFB:r}=await import("./web-vitals-Cy8-ZkK4.js");return{onLCP:e,onCLS:t,onINP:n,onFCP:o,onTTFB:r}},[]).then(({onLCP:e,onCLS:t,onINP:n,onFCP:o,onTTFB:r})=>{e(Hi),t(Hi),n(Hi),o(Hi),r(Hi)})}):setTimeout(()=>{Oe(async()=>{const{onLCP:e,onCLS:t,onINP:n,onFCP:o,onTTFB:r}=await import("./web-vitals-Cy8-ZkK4.js");return{onLCP:e,onCLS:t,onINP:n,onFCP:o,onTTFB:r}},[]).then(({onLCP:e,onCLS:t,onINP:n,onFCP:o,onTTFB:r})=>{e(Hi),t(Hi),n(Hi),o(Hi),r(Hi)})},1e3)),V(document.getElementById("root")).render(J.jsx(qi,{}));export{$r as A,zr as B,Fr as C,St as D,jr as E,Or as F,Ma as G,Io as T,Dt as X,Oe as _,Mr as a,Rn as b,Pn as c,At as d,Fe as e,Kr as f,Sn as g,Yr as h,qr as i,Hr as j,Gr as k,Ur as l,Ar as m,Be as n,Rr as o,Dr as p,Wr as q,Ir as r,Nr as s,Lr as t,Zn as u,No as v,zo as w,Fo as x,Br as y,Vr as z};