Files
e-tib.com/.next/static/chunks/e9cadfd62e04ece1.js
Marc Mintel d14122005d Initial commit: E-TIB production hardening & E2E foundation
Former-commit-id: ef04fca3d76375630c05aac117bf586953f3b657
2026-04-28 19:11:38 +02:00

4 lines
19 KiB
JavaScript

;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="ab20084a-74dd-cb27-6aad-a2797bd988c5")}catch(e){}}();
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,976819,(e,t,r)=>{t.exports=e.r(68380)},531426,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"errorOnce",{enumerable:!0,get:function(){return n}});let n=e=>{}},184868,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={default:function(){return g},useLinkStatus:function(){return b}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});let i=e.r(744066),a=e.r(452797),u=i._(e.r(907358)),s=e.r(462307),l=e.r(99585),c=e.r(391736),f=e.r(97872),d=e.r(266190);e.r(437698);let p=e.r(126791),y=e.r(171064),h=e.r(751108);function m(e){return"string"==typeof e?e:(0,s.formatUrl)(e)}function g(t){var r;let n,o,i,[s,g]=(0,u.useOptimistic)(p.IDLE_LINK_STATUS),b=(0,u.useRef)(null),{href:C,as:w,children:P,prefetch:x=null,passHref:E,replace:M,shallow:S,scroll:j,onClick:O,onMouseEnter:T,onTouchStart:L,legacyBehavior:_=!1,onNavigate:k,ref:R,unstable_dynamicOnHover:A,...N}=t;n=P,_&&("string"==typeof n||"number"==typeof n)&&(n=(0,a.jsx)("a",{children:n}));let V=u.default.useContext(l.AppRouterContext),I=!1!==x,D=!1!==x?null===(r=x)||"auto"===r?h.FetchStrategy.PPR:h.FetchStrategy.Full:h.FetchStrategy.PPR,{href:F,as:U}=u.default.useMemo(()=>{let e=m(C);return{href:e,as:w?m(w):e}},[C,w]);if(_){if(n?.$$typeof===Symbol.for("react.lazy"))throw Object.defineProperty(Error("`<Link legacyBehavior>` received a direct child that is either a Server Component, or JSX that was loaded with React.lazy(). This is not supported. Either remove legacyBehavior, or make the direct child a Client Component that renders the Link's `<a>` tag."),"__NEXT_ERROR_CODE",{value:"E863",enumerable:!1,configurable:!0});o=u.default.Children.only(n)}let $=_?o&&"object"==typeof o&&o.ref:R,W=u.default.useCallback(e=>(null!==V&&(b.current=(0,p.mountLinkInstance)(e,F,V,D,I,g)),()=>{b.current&&((0,p.unmountLinkForCurrentNavigation)(b.current),b.current=null),(0,p.unmountPrefetchableInstance)(e)}),[I,F,V,D,g]),B={ref:(0,c.useMergedRef)(W,$),onClick(t){_||"function"!=typeof O||O(t),_&&o.props&&"function"==typeof o.props.onClick&&o.props.onClick(t),!V||t.defaultPrevented||function(t,r,n,o,i,a,s){if("u">typeof window){let l,{nodeName:c}=t.currentTarget;if("A"===c.toUpperCase()&&((l=t.currentTarget.getAttribute("target"))&&"_self"!==l||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.nativeEvent&&2===t.nativeEvent.which)||t.currentTarget.hasAttribute("download"))return;if(!(0,y.isLocalURL)(r)){i&&(t.preventDefault(),location.replace(r));return}if(t.preventDefault(),s){let e=!1;if(s({preventDefault:()=>{e=!0}}),e)return}let{dispatchNavigateAction:f}=e.r(215493);u.default.startTransition(()=>{f(n||r,i?"replace":"push",a??!0,o.current)})}}(t,F,U,b,M,j,k)},onMouseEnter(e){_||"function"!=typeof T||T(e),_&&o.props&&"function"==typeof o.props.onMouseEnter&&o.props.onMouseEnter(e),V&&I&&(0,p.onNavigationIntent)(e.currentTarget,!0===A)},onTouchStart:function(e){_||"function"!=typeof L||L(e),_&&o.props&&"function"==typeof o.props.onTouchStart&&o.props.onTouchStart(e),V&&I&&(0,p.onNavigationIntent)(e.currentTarget,!0===A)}};return(0,f.isAbsoluteUrl)(U)?B.href=U:_&&!E&&("a"!==o.type||"href"in o.props)||(B.href=(0,d.addBasePath)(U)),i=_?u.default.cloneElement(o,B):(0,a.jsx)("a",{...N,...B,children:n}),(0,a.jsx)(v.Provider,{value:s,children:i})}e.r(531426);let v=(0,u.createContext)(p.IDLE_LINK_STATUS),b=()=>(0,u.useContext)(v);("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},391736,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"useMergedRef",{enumerable:!0,get:function(){return o}});let n=e.r(907358);function o(e,t){let r=(0,n.useRef)(null),o=(0,n.useRef)(null);return(0,n.useCallback)(n=>{if(null===n){let e=r.current;e&&(r.current=null,e());let t=o.current;t&&(o.current=null,t())}else e&&(r.current=i(e,n)),t&&(o.current=i(t,n))},[e,t])}function i(e,t){if("function"!=typeof e)return e.current=t,()=>{e.current=null};{let r=e(t);return"function"==typeof r?r:()=>e(null)}}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},801296,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={assign:function(){return s},searchParamsToUrlQuery:function(){return i},urlQueryToSearchParams:function(){return u}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});function i(e){let t={};for(let[r,n]of e.entries()){let e=t[r];void 0===e?t[r]=n:Array.isArray(e)?e.push(n):t[r]=[e,n]}return t}function a(e){return"string"==typeof e?e:("number"!=typeof e||isNaN(e))&&"boolean"!=typeof e?"":String(e)}function u(e){let t=new URLSearchParams;for(let[r,n]of Object.entries(e))if(Array.isArray(n))for(let e of n)t.append(r,a(e));else t.set(r,a(n));return t}function s(e,...t){for(let r of t){for(let t of r.keys())e.delete(t);for(let[t,n]of r.entries())e.append(t,n)}return e}},462307,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={formatUrl:function(){return u},formatWithValidation:function(){return l},urlObjectKeys:function(){return s}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});let i=e.r(744066)._(e.r(801296)),a=/https?|ftp|gopher|file/;function u(e){let{auth:t,hostname:r}=e,n=e.protocol||"",o=e.pathname||"",u=e.hash||"",s=e.query||"",l=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?l=t+e.host:r&&(l=t+(~r.indexOf(":")?`[${r}]`:r),e.port&&(l+=":"+e.port)),s&&"object"==typeof s&&(s=String(i.urlQueryToSearchParams(s)));let c=e.search||s&&`?${s}`||"";return n&&!n.endsWith(":")&&(n+=":"),e.slashes||(!n||a.test(n))&&!1!==l?(l="//"+(l||""),o&&"/"!==o[0]&&(o="/"+o)):l||(l=""),u&&"#"!==u[0]&&(u="#"+u),c&&"?"!==c[0]&&(c="?"+c),o=o.replace(/[?#]/g,encodeURIComponent),c=c.replace("#","%23"),`${n}${l}${o}${c}${u}`}let s=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function l(e){return u(e)}},97872,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={DecodeError:function(){return g},MiddlewareNotFoundError:function(){return w},MissingStaticPage:function(){return C},NormalizeError:function(){return v},PageNotFoundError:function(){return b},SP:function(){return h},ST:function(){return m},WEB_VITALS:function(){return i},execOnce:function(){return a},getDisplayName:function(){return f},getLocationOrigin:function(){return l},getURL:function(){return c},isAbsoluteUrl:function(){return s},isResSent:function(){return d},loadGetInitialProps:function(){return y},normalizeRepeatedSlashes:function(){return p},stringifyError:function(){return P}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});let i=["CLS","FCP","FID","INP","LCP","TTFB"];function a(e){let t,r=!1;return(...n)=>(r||(r=!0,t=e(...n)),t)}let u=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,s=e=>u.test(e);function l(){let{protocol:e,hostname:t,port:r}=window.location;return`${e}//${t}${r?":"+r:""}`}function c(){let{href:e}=window.location,t=l();return e.substring(t.length)}function f(e){return"string"==typeof e?e:e.displayName||e.name||"Unknown"}function d(e){return e.finished||e.headersSent}function p(e){let t=e.split("?");return t[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(t[1]?`?${t.slice(1).join("?")}`:"")}async function y(e,t){let r=t.res||t.ctx&&t.ctx.res;if(!e.getInitialProps)return t.ctx&&t.Component?{pageProps:await y(t.Component,t.ctx)}:{};let n=await e.getInitialProps(t);if(r&&d(r))return n;if(!n)throw Object.defineProperty(Error(`"${f(e)}.getInitialProps()" should resolve to an object. But found "${n}" instead.`),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});return n}let h="u">typeof performance,m=h&&["mark","measure","getEntriesByName"].every(e=>"function"==typeof performance[e]);class g extends Error{}class v extends Error{}class b extends Error{constructor(e){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message=`Cannot find module for page: ${e}`}}class C extends Error{constructor(e,t){super(),this.message=`Failed to load static file for page: ${e} ${t}`}}class w extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}function P(e){return JSON.stringify({message:e.message,stack:e.stack})}},171064,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"isLocalURL",{enumerable:!0,get:function(){return i}});let n=e.r(97872),o=e.r(33905);function i(e){if(!(0,n.isAbsoluteUrl)(e))return!0;try{let t=(0,n.getLocationOrigin)(),r=new URL(e,t);return r.origin===t&&(0,o.hasBasePath)(r.pathname)}catch(e){return!1}}},224038,e=>{"use strict";var t=e.i(452797);e.i(445774);var r=e.i(111023);function n({variant:e,className:n,color:o="#82ed20"}){return"circle"===e?(0,t.jsx)("svg",{className:(0,r.cn)("absolute pointer-events-none",n),"aria-hidden":"true",viewBox:"0 0 800 350",preserveAspectRatio:"none",children:(0,t.jsx)("path",{className:"animate-draw-stroke",pathLength:"1",style:{strokeDasharray:1,strokeDashoffset:1,animation:"draw-stroke 1.8s ease-in-out 0.5s forwards"},transform:"matrix(0.9791300296783447,0,0,0.9791300296783447,400,179)",strokeLinejoin:"miter",fillOpacity:"0",strokeMiterlimit:"4",stroke:o,strokeOpacity:"1",strokeWidth:"20",d:" M253,-161 C253,-161 -284.78900146484375,-201.4600067138672 -376,-21 C-469,163 67.62300109863281,174.2100067138672 256,121 C564,34 250.82899475097656,-141.6929931640625 19.10700035095215,-116.93599700927734"})}):"underline"===e?(0,t.jsx)("svg",{className:(0,r.cn)("absolute pointer-events-none",n),"aria-hidden":"true",viewBox:"-400 -55 730 60",preserveAspectRatio:"none",children:(0,t.jsx)("path",{className:"animate-draw-stroke",pathLength:"1",style:{strokeDasharray:1,strokeDashoffset:1,animation:"draw-stroke 1.8s ease-in-out 0.5s forwards"},d:"m -383.25 -6 c 55.25 -22 130.75 -33.5 293.25 -38 c 54.5 -0.5 195 -2.5 401 15",stroke:o,strokeWidth:"20",fill:"none"})}):null}e.s(["default",()=>n])},933112,807464,247237,753942,891945,370338,134174,286091,636333,339705,736986,718015,e=>{"use strict";e.i(653782);var t,r=e.i(452797),n=e.i(907358);let o=(0,n.createContext)({});e.s(["LayoutGroupContext",()=>o],807464);let i=(0,n.createContext)({strict:!1});e.s(["LazyContext",()=>i],247237);let a=(0,n.createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});e.s(["MotionConfigContext",()=>a],753942);let u=(0,n.createContext)({});var s=e.i(21280),l=e.i(786843);function c(e){return Array.isArray(e)?e.join(" "):e}var f=e.i(236585),d=e.i(235629),p=e.i(19563);let y=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function h(e,t,r){for(let n in t)(0,f.isMotionValue)(t[n])||(0,d.isForcedMotionValue)(n,r)||(e[n]=t[n])}var m=e.i(348971),g=e.i(604445);let v=()=>({...y(),attrs:{}}),b=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","propagate","ignoreStrict","viewport"]);function C(e){return e.startsWith("while")||e.startsWith("drag")&&"draggable"!==e||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||b.has(e)}let w=e=>!C(e);try{t=(()=>{let e=Error("Cannot find module '@emotion/is-prop-valid'");throw e.code="MODULE_NOT_FOUND",e})().default,"function"==typeof t&&(w=e=>e.startsWith("on")?!C(e):t(e))}catch{}var P=e.i(592798),x=e.i(645744),x=x;function E(e){return(0,f.isMotionValue)(e)?e.get():e}e.s(["resolveMotionValue",()=>E],891945);var M=e.i(991363),S=e.i(161560);let j=(0,n.createContext)(null);function O(e){let t=(0,n.useRef)(null);return null===t.current&&(t.current=e()),t.current}e.s(["PresenceContext",()=>j],370338),e.s(["useConstant",()=>O],134174);let T=e=>(t,r)=>{let o=(0,n.useContext)(u),i=(0,n.useContext)(j),a=()=>(function({scrapeMotionValuesFromProps:e,createRenderState:t},r,n,o){return{latestValues:function(e,t,r,n){let o={},i=n(e,{});for(let e in i)o[e]=E(i[e]);let{initial:a,animate:u}=e,l=(0,s.isControllingVariants)(e),c=(0,s.isVariantNode)(e);t&&c&&!l&&!1!==e.inherit&&(void 0===a&&(a=t.initial),void 0===u&&(u=t.animate));let f=!!r&&!1===r.initial,d=(f=f||!1===a)?u:a;if(d&&"boolean"!=typeof d&&!(0,M.isAnimationControls)(d)){let t=Array.isArray(d)?d:[d];for(let r=0;r<t.length;r++){let n=(0,S.resolveVariantFromProps)(e,t[r]);if(n){let{transitionEnd:e,transition:t,...r}=n;for(let e in r){let t=r[e];if(Array.isArray(t)){let e=f?t.length-1:0;t=t[e]}null!==t&&(o[e]=t)}for(let t in e)o[t]=e[t]}}}return o}(r,n,o,e),renderState:t()}})(e,t,o,i);return r?a():O(a)},L=T({scrapeMotionValuesFromProps:x.scrapeMotionValuesFromProps,createRenderState:y});var _=e.i(742917),_=_;let k=T({scrapeMotionValuesFromProps:_.scrapeMotionValuesFromProps,createRenderState:v});var R=e.i(96819);let A={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},N=!1;function V(){return!function(){if(N)return;let e={};for(let t in A)e[t]={isEnabled:e=>A[t].some(t=>!!e[t])};(0,R.setFeatureDefinitions)(e),N=!0}(),(0,R.getFeatureDefinitions)()}function I(e){let t=V();for(let r in e)t[r]={...t[r],...e[r]};(0,R.setFeatureDefinitions)(t)}e.s(["loadFeatures",()=>I],286091);let D=Symbol.for("motionComponentSymbol");var F=e.i(329957);let U=(0,n.createContext)({});function $(e){return e&&"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}e.s(["SwitchLayoutGroupContext",()=>U],636333),e.s(["isRefObject",()=>$],339705);let W="u">typeof window?n.useLayoutEffect:n.useEffect;function B(e,{forwardMotionProps:t=!1,type:d}={},b,x){b&&I(b);let E=d?"svg"===d:(0,P.isSVGComponent)(e),M=E?k:L;function S(d,b){var S;let O,T,L,_={...(0,n.useContext)(a),...d,layoutId:function({layoutId:e}){let t=(0,n.useContext)(o).id;return t&&void 0!==e?t+"-"+e:e}(d)},{isStatic:k}=_,R=function(e){let{initial:t,animate:r}=function(e,t){if((0,s.isControllingVariants)(e)){let{initial:t,animate:r}=e;return{initial:!1===t||(0,l.isVariantLabel)(t)?t:void 0,animate:(0,l.isVariantLabel)(r)?r:void 0}}return!1!==e.inherit?t:{}}(e,(0,n.useContext)(u));return(0,n.useMemo)(()=>({initial:t,animate:r}),[c(t),c(r)])}(d),A=M(d,k);if(!k&&"u">typeof window){(0,n.useContext)(i).strict;let t=function(e){let{drag:t,layout:r}=V();if(!t&&!r)return{};let n={...t,...r};return{MeasureLayout:t?.isEnabled(e)||r?.isEnabled(e)?n.MeasureLayout:void 0,ProjectionNode:n.ProjectionNode}}(_);O=t.MeasureLayout,R.visualElement=function(e,t,r,o,s,l){let{visualElement:c}=(0,n.useContext)(u),f=(0,n.useContext)(i),d=(0,n.useContext)(j),p=(0,n.useContext)(a),y=p.reducedMotion,h=p.skipAnimations,m=(0,n.useRef)(null),g=(0,n.useRef)(!1);o=o||f.renderer,!m.current&&o&&(m.current=o(e,{visualState:t,parent:c,props:r,presenceContext:d,blockInitialAnimation:!!d&&!1===d.initial,reducedMotionConfig:y,skipAnimations:h,isSVG:l}),g.current&&m.current&&(m.current.manuallyAnimateOnMount=!0));let v=m.current,b=(0,n.useContext)(U);v&&!v.projection&&s&&("html"===v.type||"svg"===v.type)&&function(e,t,r,n){let{layoutId:o,layout:i,drag:a,dragConstraints:u,layoutScroll:s,layoutRoot:l,layoutAnchor:c,layoutCrossfade:f}=t;e.projection=new r(e.latestValues,t["data-framer-portal-id"]?void 0:function e(t){if(t)return!1!==t.options.allowProjection?t.projection:e(t.parent)}(e.parent)),e.projection.setOptions({layoutId:o,layout:i,alwaysMeasureLayout:!!a||u&&$(u),visualElement:e,animationType:"string"==typeof i?i:"both",initialPromotionConfig:n,crossfade:f,layoutScroll:s,layoutRoot:l,layoutAnchor:c})}(m.current,r,s,b);let C=(0,n.useRef)(!1);(0,n.useInsertionEffect)(()=>{v&&C.current&&v.update(r,d)});let w=r[F.optimizedAppearDataAttribute],P=(0,n.useRef)(!!w&&"u">typeof window&&!window.MotionHandoffIsComplete?.(w)&&window.MotionHasOptimisedAnimation?.(w));return W(()=>{g.current=!0,v&&(C.current=!0,window.MotionIsMounted=!0,v.updateFeatures(),v.scheduleRenderMicrotask(),P.current&&v.animationState&&v.animationState.animateChanges())}),(0,n.useEffect)(()=>{v&&(!P.current&&v.animationState&&v.animationState.animateChanges(),P.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(w)}),P.current=!1),v.enteringChildren=void 0)}),v}(e,A,_,x,t.ProjectionNode,E)}return(0,r.jsxs)(u.Provider,{value:R,children:[O&&R.visualElement?(0,r.jsx)(O,{visualElement:R.visualElement,..._}):null,function(e,t,r,{latestValues:o},i,a=!1,u){let s=(u??(0,P.isSVGComponent)(e)?function(e,t,r,o){let i=(0,n.useMemo)(()=>{let r=v();return(0,m.buildSVGAttrs)(r,t,(0,g.isSVGTag)(o),e.transformTemplate,e.style),{...r.attrs,style:{...r.style}}},[t]);if(e.style){let t={};h(t,e.style,e),i.style={...t,...i.style}}return i}:function(e,t){let r,o,i={},a=(r=e.style||{},h(o={},r,e),Object.assign(o,function({transformTemplate:e},t){return(0,n.useMemo)(()=>{let r=y();return(0,p.buildHTMLStyles)(r,t,e),Object.assign({},r.vars,r.style)},[t])}(e,t)),o);return e.drag&&!1!==e.dragListener&&(i.draggable=!1,a.userSelect=a.WebkitUserSelect=a.WebkitTouchCallout="none",a.touchAction=!0===e.drag?"none":`pan-${"x"===e.drag?"y":"x"}`),void 0===e.tabIndex&&(e.onTap||e.onTapStart||e.whileTap)&&(i.tabIndex=0),i.style=a,i})(t,o,i,e),l=function(e,t,r){let n={};for(let o in e)("values"!==o||"object"!=typeof e.values)&&!(0,f.isMotionValue)(e[o])&&(w(o)||!0===r&&C(o)||!t&&!C(o)||e.draggable&&o.startsWith("onDrag"))&&(n[o]=e[o]);return n}(t,"string"==typeof e,a),c=e!==n.Fragment?{...l,...s,ref:r}:{},{children:d}=t,b=(0,n.useMemo)(()=>(0,f.isMotionValue)(d)?d.get():d,[d]);return(0,n.createElement)(e,{...c,children:b})}(e,d,(S=R.visualElement,T=(0,n.useRef)(b),(0,n.useInsertionEffect)(()=>{T.current=b}),L=(0,n.useRef)(null),(0,n.useCallback)(e=>{e&&A.onMount?.(e);let t=T.current;if("function"==typeof t)if(e){let r=t(e);"function"==typeof r&&(L.current=r)}else L.current?(L.current(),L.current=null):t(e);else t&&(t.current=e);S&&(e?S.mount(e):S.unmount())},[S])),A,k,t,E)]})}S.displayName=`motion.${"string"==typeof e?e:`create(${e.displayName??e.name??""})`}`;let O=(0,n.forwardRef)(S);return O[D]=e,O}function H(e,t){if("u"<typeof Proxy)return B;let r=new Map,n=(r,n)=>B(r,n,e,t);return new Proxy((e,t)=>n(e,t),{get:(o,i)=>"create"===i?n:(r.has(i)||r.set(i,B(i,void 0,e,t)),r.get(i))})}function K(e=!0){let t=(0,n.useContext)(j);if(null===t)return[!0,null];let{isPresent:r,onExitComplete:o,register:i}=t,a=(0,n.useId)();(0,n.useEffect)(()=>{if(e)return i(a)},[e]);let u=(0,n.useCallback)(()=>e&&o&&o(a),[a,o,e]);return!r&&o?[!1,u]:[!0]}e.s(["useIsomorphicLayoutEffect",()=>W],736986),e.s(["createMotionProxy",()=>H],933112),e.s(["usePresence",()=>K],718015)}]);
//# debugId=ab20084a-74dd-cb27-6aad-a2797bd988c5