ultisuite-client/out/_next/static/chunks/3719-4f12726272c13648.js
R3D347HR4Y d6d18f911b
Some checks failed
E2E / Playwright e2e (push) Has been cancelled
Lots of stuff and mobile app
2026-06-17 00:13:28 +02:00

5 lines
14 KiB
JavaScript

"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3719],{4433:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(43200).A)("shield-check",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]])},6903:(e,t,r)=>{r.d(t,{Qg:()=>s,bL:()=>i});var n=r(91356),a=r(83418),o=r(4208),s=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),l=n.forwardRef((e,t)=>(0,o.jsx)(a.sG.span,{...e,ref:t,style:{...s,...e.style}}));l.displayName="VisuallyHidden";var i=l},12551:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(43200).A)("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]])},17996:(e,t,r)=>{r.d(t,{D:()=>d,N:()=>c});var n=r(91356),a=(e,t,r,n,a,o,s,l)=>{let i=document.documentElement,u=["light","dark"];function d(t){var r;(Array.isArray(e)?e:[e]).forEach(e=>{let r="class"===e,n=r&&o?a.map(e=>o[e]||e):a;r?(i.classList.remove(...n),i.classList.add(o&&o[t]?o[t]:t)):i.setAttribute(e,t)}),r=t,l&&u.includes(r)&&(i.style.colorScheme=r)}if(n)d(n);else try{let e=localStorage.getItem(t)||r,n=s&&"system"===e?window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light":e;d(n)}catch(e){}},o=["light","dark"],s="(prefers-color-scheme: dark)",l="u"<typeof window,i=n.createContext(void 0),u={setTheme:e=>{},themes:[]},d=()=>{var e;return null!=(e=n.useContext(i))?e:u},c=e=>n.useContext(i)?n.createElement(n.Fragment,null,e.children):n.createElement(f,{...e}),m=["light","dark"],f=({forcedTheme:e,disableTransitionOnChange:t=!1,enableSystem:r=!0,enableColorScheme:a=!0,storageKey:l="theme",themes:u=m,defaultTheme:d=r?"system":"light",attribute:c="data-theme",value:f,children:v,nonce:w,scriptProps:b})=>{let[N,C]=n.useState(()=>h(l,d)),[E,k]=n.useState(()=>"system"===N?y():N),A=f?Object.values(f):u,O=n.useCallback(e=>{let n=e;if(!n)return;"system"===e&&r&&(n=y());let s=f?f[n]:n,l=t?g(w):null,i=document.documentElement,u=e=>{"class"===e?(i.classList.remove(...A),s&&i.classList.add(s)):e.startsWith("data-")&&(s?i.setAttribute(e,s):i.removeAttribute(e))};if(Array.isArray(c)?c.forEach(u):u(c),a){let e=o.includes(d)?d:null,t=o.includes(n)?n:e;i.style.colorScheme=t}null==l||l()},[w]),R=n.useCallback(e=>{let t="function"==typeof e?e(N):e;C(t);try{localStorage.setItem(l,t)}catch(e){}},[N]),T=n.useCallback(t=>{k(y(t)),"system"===N&&r&&!e&&O("system")},[N,e]);n.useEffect(()=>{let e=window.matchMedia(s);return e.addListener(T),T(e),()=>e.removeListener(T)},[T]),n.useEffect(()=>{let e=e=>{e.key===l&&(e.newValue?C(e.newValue):R(d))};return window.addEventListener("storage",e),()=>window.removeEventListener("storage",e)},[R]),n.useEffect(()=>{O(null!=e?e:N)},[e,N]);let x=n.useMemo(()=>({theme:N,setTheme:R,forcedTheme:e,resolvedTheme:"system"===N?E:N,themes:r?[...u,"system"]:u,systemTheme:r?E:void 0}),[N,R,e,E,r,u]);return n.createElement(i.Provider,{value:x},n.createElement(p,{forcedTheme:e,storageKey:l,attribute:c,enableSystem:r,enableColorScheme:a,defaultTheme:d,value:f,themes:u,nonce:w,scriptProps:b}),v)},p=n.memo(({forcedTheme:e,storageKey:t,attribute:r,enableSystem:o,enableColorScheme:s,defaultTheme:l,value:i,themes:u,nonce:d,scriptProps:c})=>{let m=JSON.stringify([r,t,l,e,u,i,o,s]).slice(1,-1);return n.createElement("script",{...c,suppressHydrationWarning:!0,nonce:"u"<typeof window?d:"",dangerouslySetInnerHTML:{__html:`(${a.toString()})(${m})`}})}),h=(e,t)=>{let r;if(!l){try{r=localStorage.getItem(e)||void 0}catch(e){}return r||t}},g=e=>{let t=document.createElement("style");return e&&t.setAttribute("nonce",e),t.appendChild(document.createTextNode("*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),document.head.appendChild(t),()=>{window.getComputedStyle(document.body),setTimeout(()=>{document.head.removeChild(t)},1)}},y=e=>(e||(e=window.matchMedia(s)),e.matches?"dark":"light")},19832:(e,t,r)=>{r.d(t,{c:()=>a});var n=r(91356);function a(e){let t=n.useRef(e);return n.useEffect(()=>{t.current=e}),n.useMemo(()=>(...e)=>t.current?.(...e),[])}},19984:(e,t,r)=>{var n=r(28704);r.o(n,"useParams")&&r.d(t,{useParams:function(){return n.useParams}}),r.o(n,"usePathname")&&r.d(t,{usePathname:function(){return n.usePathname}}),r.o(n,"useRouter")&&r.d(t,{useRouter:function(){return n.useRouter}}),r.o(n,"useSearchParams")&&r.d(t,{useSearchParams:function(){return n.useSearchParams}})},26362:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(43200).A)("sparkles",[["path",{d:"M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z",key:"1s2grr"}],["path",{d:"M20 2v4",key:"1rf3ol"}],["path",{d:"M22 4h-4",key:"gwowj6"}],["circle",{cx:"4",cy:"20",r:"2",key:"6kqj1y"}]])},41459:(e,t,r)=>{r.d(t,{C:()=>s});var n=r(91356),a=r(1709),o=r(84844),s=e=>{var t;let r,s,{present:i,children:u}=e,d=function(e){var t,r;let[a,s]=n.useState(),i=n.useRef(null),u=n.useRef(e),d=n.useRef("none"),[c,m]=(t=e?"mounted":"unmounted",r={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},n.useReducer((e,t)=>r[e][t]??e,t));return n.useEffect(()=>{let e=l(i.current);d.current="mounted"===c?e:"none"},[c]),(0,o.N)(()=>{let t=i.current,r=u.current;if(r!==e){let n=d.current,a=l(t);e?m("MOUNT"):"none"===a||t?.display==="none"?m("UNMOUNT"):r&&n!==a?m("ANIMATION_OUT"):m("UNMOUNT"),u.current=e}},[e,m]),(0,o.N)(()=>{if(a){let e,t=a.ownerDocument.defaultView??window,r=r=>{let n=l(i.current).includes(CSS.escape(r.animationName));if(r.target===a&&n&&(m("ANIMATION_END"),!u.current)){let r=a.style.animationFillMode;a.style.animationFillMode="forwards",e=t.setTimeout(()=>{"forwards"===a.style.animationFillMode&&(a.style.animationFillMode=r)})}},n=e=>{e.target===a&&(d.current=l(i.current))};return a.addEventListener("animationstart",n),a.addEventListener("animationcancel",r),a.addEventListener("animationend",r),()=>{t.clearTimeout(e),a.removeEventListener("animationstart",n),a.removeEventListener("animationcancel",r),a.removeEventListener("animationend",r)}}m("ANIMATION_END")},[a,m]),{isPresent:["mounted","unmountSuspended"].includes(c),ref:n.useCallback(e=>{i.current=e?getComputedStyle(e):null,s(e)},[])}}(i),c="function"==typeof u?u({present:d.isPresent}):n.Children.only(u),m=(0,a.s)(d.ref,(t=c,(s=(r=Object.getOwnPropertyDescriptor(t.props,"ref")?.get)&&"isReactWarning"in r&&r.isReactWarning)?t.ref:(s=(r=Object.getOwnPropertyDescriptor(t,"ref")?.get)&&"isReactWarning"in r&&r.isReactWarning)?t.props.ref:t.props.ref||t.ref));return"function"==typeof u||d.isPresent?n.cloneElement(c,{ref:m}):null};function l(e){return e?.animationName||"none"}s.displayName="Presence"},43200:(e,t,r)=>{r.d(t,{A:()=>i});var n=r(91356);let a=(...e)=>e.filter((e,t,r)=>!!e&&""!==e.trim()&&r.indexOf(e)===t).join(" ").trim(),o=e=>{let t=e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,r)=>r?r.toUpperCase():t.toLowerCase());return t.charAt(0).toUpperCase()+t.slice(1)};var s={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"};let l=(0,n.forwardRef)(({color:e="currentColor",size:t=24,strokeWidth:r=2,absoluteStrokeWidth:o,className:l="",children:i,iconNode:u,...d},c)=>(0,n.createElement)("svg",{ref:c,...s,width:t,height:t,stroke:e,strokeWidth:o?24*Number(r)/Number(t):r,className:a("lucide",l),...!i&&!(e=>{for(let t in e)if(t.startsWith("aria-")||"role"===t||"title"===t)return!0;return!1})(d)&&{"aria-hidden":"true"},...d},[...u.map(([e,t])=>(0,n.createElement)(e,t)),...Array.isArray(i)?i:[i]])),i=(e,t)=>{let r=(0,n.forwardRef)(({className:r,...s},i)=>(0,n.createElement)(l,{ref:i,iconNode:t,className:a(`lucide-${o(e).replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,`lucide-${e}`,r),...s}));return r.displayName=o(e),r}},49347:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(43200).A)("house",[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"r6nss1"}]])},79531:(e,t,r)=>{r.d(t,{G$:()=>q,Hs:()=>N,UC:()=>er,VY:()=>ea,ZL:()=>ee,bL:()=>Y,bm:()=>eo,hE:()=>en,hJ:()=>et,l9:()=>X});var n=r(91356),a=r(9321),o=r(1709),s=r(65537),l=r(10168),i=r(14216),u=r(49872),d=r(14576),c=r(69578),m=r(41459),f=r(83418),p=r(47802),h=r(7078),g=r(49173),y=r(64427),v=r(4208),w="Dialog",[b,N]=(0,s.A)(w),[C,E]=b(w),k=e=>{let{__scopeDialog:t,children:r,open:a,defaultOpen:o,onOpenChange:s,modal:u=!0}=e,d=n.useRef(null),c=n.useRef(null),[m,f]=(0,i.i)({prop:a,defaultProp:o??!1,onChange:s,caller:w});return(0,v.jsx)(C,{scope:t,triggerRef:d,contentRef:c,contentId:(0,l.B)(),titleId:(0,l.B)(),descriptionId:(0,l.B)(),open:m,onOpenChange:f,onOpenToggle:n.useCallback(()=>f(e=>!e),[f]),modal:u,children:r})};k.displayName=w;var A="DialogTrigger",O=n.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,s=E(A,r),l=(0,o.s)(t,s.triggerRef);return(0,v.jsx)(f.sG.button,{type:"button","aria-haspopup":"dialog","aria-expanded":s.open,"aria-controls":s.contentId,"data-state":B(s.open),...n,ref:l,onClick:(0,a.mK)(e.onClick,s.onOpenToggle)})});O.displayName=A;var R="DialogPortal",[T,x]=b(R,{forceMount:void 0}),D=e=>{let{__scopeDialog:t,forceMount:r,children:a,container:o}=e,s=E(R,t);return(0,v.jsx)(T,{scope:t,forceMount:r,children:n.Children.map(a,e=>(0,v.jsx)(m.C,{present:r||s.open,children:(0,v.jsx)(c.Z,{asChild:!0,container:o,children:e})}))})};D.displayName=R;var M="DialogOverlay",j=n.forwardRef((e,t)=>{let r=x(M,e.__scopeDialog),{forceMount:n=r.forceMount,...a}=e,o=E(M,e.__scopeDialog);return o.modal?(0,v.jsx)(m.C,{present:n||o.open,children:(0,v.jsx)(S,{...a,ref:t})}):null});j.displayName=M;var I=(0,y.TL)("DialogOverlay.RemoveScroll"),S=n.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,a=E(M,r);return(0,v.jsx)(h.A,{as:I,allowPinchZoom:!0,shards:[a.contentRef],children:(0,v.jsx)(f.sG.div,{"data-state":B(a.open),...n,ref:t,style:{pointerEvents:"auto",...n.style}})})}),P="DialogContent",L=n.forwardRef((e,t)=>{let r=x(P,e.__scopeDialog),{forceMount:n=r.forceMount,...a}=e,o=E(P,e.__scopeDialog);return(0,v.jsx)(m.C,{present:n||o.open,children:o.modal?(0,v.jsx)(_,{...a,ref:t}):(0,v.jsx)(F,{...a,ref:t})})});L.displayName=P;var _=n.forwardRef((e,t)=>{let r=E(P,e.__scopeDialog),s=n.useRef(null),l=(0,o.s)(t,r.contentRef,s);return n.useEffect(()=>{let e=s.current;if(e)return(0,g.Eq)(e)},[]),(0,v.jsx)(U,{...e,ref:l,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,a.mK)(e.onCloseAutoFocus,e=>{e.preventDefault(),r.triggerRef.current?.focus()}),onPointerDownOutside:(0,a.mK)(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,r=0===t.button&&!0===t.ctrlKey;(2===t.button||r)&&e.preventDefault()}),onFocusOutside:(0,a.mK)(e.onFocusOutside,e=>e.preventDefault())})}),F=n.forwardRef((e,t)=>{let r=E(P,e.__scopeDialog),a=n.useRef(!1),o=n.useRef(!1);return(0,v.jsx)(U,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{e.onCloseAutoFocus?.(t),t.defaultPrevented||(a.current||r.triggerRef.current?.focus(),t.preventDefault()),a.current=!1,o.current=!1},onInteractOutside:t=>{e.onInteractOutside?.(t),t.defaultPrevented||(a.current=!0,"pointerdown"===t.detail.originalEvent.type&&(o.current=!0));let n=t.target;r.triggerRef.current?.contains(n)&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&o.current&&t.preventDefault()}})}),U=n.forwardRef((e,t)=>{let{__scopeDialog:r,trapFocus:a,onOpenAutoFocus:s,onCloseAutoFocus:l,...i}=e,c=E(P,r),m=n.useRef(null),f=(0,o.s)(t,m);return(0,p.Oh)(),(0,v.jsxs)(v.Fragment,{children:[(0,v.jsx)(d.n,{asChild:!0,loop:!0,trapped:a,onMountAutoFocus:s,onUnmountAutoFocus:l,children:(0,v.jsx)(u.qW,{role:"dialog",id:c.contentId,"aria-describedby":c.descriptionId,"aria-labelledby":c.titleId,"data-state":B(c.open),...i,ref:f,onDismiss:()=>c.onOpenChange(!1)})}),(0,v.jsxs)(v.Fragment,{children:[(0,v.jsx)(J,{titleId:c.titleId}),(0,v.jsx)(Q,{contentRef:m,descriptionId:c.descriptionId})]})]})}),W="DialogTitle",$=n.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,a=E(W,r);return(0,v.jsx)(f.sG.h2,{id:a.titleId,...n,ref:t})});$.displayName=W;var K="DialogDescription",z=n.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,a=E(K,r);return(0,v.jsx)(f.sG.p,{id:a.descriptionId,...n,ref:t})});z.displayName=K;var G="DialogClose",V=n.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,o=E(G,r);return(0,v.jsx)(f.sG.button,{type:"button",...n,ref:t,onClick:(0,a.mK)(e.onClick,()=>o.onOpenChange(!1))})});function B(e){return e?"open":"closed"}V.displayName=G;var H="DialogTitleWarning",[q,Z]=(0,s.q)(H,{contentName:P,titleName:W,docsSlug:"dialog"}),J=({titleId:e})=>{let t=Z(H),r=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users.
If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component.
For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return n.useEffect(()=>{e&&(document.getElementById(e)||console.error(r))},[r,e]),null},Q=({contentRef:e,descriptionId:t})=>{let r=Z("DialogDescriptionWarning"),a=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${r.contentName}}.`;return n.useEffect(()=>{let r=e.current?.getAttribute("aria-describedby");t&&r&&(document.getElementById(t)||console.warn(a))},[a,e,t]),null},Y=k,X=O,ee=D,et=j,er=L,en=$,ea=z,eo=V},80691:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(43200).A)("user-round",[["circle",{cx:"12",cy:"8",r:"5",key:"1hypcn"}],["path",{d:"M20 21a8 8 0 0 0-16 0",key:"rfgkzh"}]])},84844:(e,t,r)=>{r.d(t,{N:()=>a});var n=r(91356),a=globalThis?.document?n.useLayoutEffect:()=>{}}}]);