1"use strict";(self.webpackChunkdkms_gwr_relaunch=self.webpackChunkdkms_gwr_relaunch||[]).push([[5108],{4288:function(t,e){e.A=t=>{if(null===t)return;const e=t.scrollWidth-t.clientWidth,n=Math.ceil(t.scrollLeft);t.style.setProperty("--maskLeft",`${Math.min(n,90)}px`),t.style.setProperty("--maskRight",`${Math.min(e-n,90)}px`)}},9808:function(t,e,n){n.d(e,{M:function(){return o},h:function(){return r}});var i=n(96540),s=n(21189);const o=(0,i.createContext)(void 0);function r(t={backCallback:void 0,darkTheme:!1,dialogClass:void 0,showBackButton:!0,showFaqButton:!0,whiteLogo:!1}){const e=(0,i.useContext)(o);if(!e)throw new Error("useDialogContext must be used within DialogContextProvider");const{setBackCallback:n,setDialogClass:r,setShowBackButton:a,setShowFaqButton:l,setStepName:c,setDarkTheme:u,setWhiteLogo:h,currentStep:d}=e,m=(0,i.useRef)(d);return(0,i.useLayoutEffect)(()=>{var e,i,o,m;n(t.backCallback),r(t.dialogClass),a(null!==(e=t.showBackButton)&&void 0!==e?e:1!==d),l(null===(i=t.showFaqButton)||void 0===i||i),u(null!==(o=t.darkTheme)&&void 0!==o&&o),h(null!==(m=t.whiteLogo)&&void 0!==m&&m),void 0!==t.stepName&&(c(t.stepName),s.A.currentStep=t.stepName)},[]),{stepNumber:m.current,...e}}},28776:function(t,e,n){var i=n(96540),s=n(46942),o=n.n(s),r=n(9534),a=n(17352);e.A=({headline:t,description:e,background:n,className:s,color:l,enableDismiss:c=!1,variant:u,icon:h,button:d,onClick:m,hide:p=!1})=>{const{0:f,1:g}=(0,i.useState)(!1),v=i.createElement("div",{className:o()({"teaser-box__gradient":n})},c&&i.createElement(r.h,{className:"teaser-box-close",onClick:()=>{g(!0)}}),h&&i.createElement("div",{className:"teaser-box__icon"},h),i.createElement("div",{className:"flex-grow-1"},i.createElement("div",{className:"teaser-box__headline"},t),e&&i.createElement("div",{className:"teaser-box__description"},e)),d&&i.createElement("div",{className:"teaser-box__button"},d));return n?i.createElement(a.A,{backgroundImage:n,className:o()("teaser-box",{"teaser-box--hidden":f||p,[`${l}`]:l,[`teaser-box--${u}`]:u},s),onClick:m,role:m?"button":void 0},v):i.createElement("div",{className:o()("teaser-box",{"teaser-box--hidden":f||p,[`${l}`]:l,[`teaser-box--${u}`]:u},s)},v)}},29028:function(t,e,n){n.d(e,{A:function(){return kl}});var i=n(96540),s=n(702),o=n(46942),r=n.n(o);const a={current:null},l={current:!1},c="undefined"!=typeof window;function u(){if(l.current=!0,c)if(window.matchMedia){const t=window.matchMedia("(prefers-reduced-motion)"),e=()=>a.current=t.matches;t.addEventListener("change",e),e()}else a.current=!1}var h=n(74848);const d=(0,i.createContext)({});function m(t){const e=(0,i.useRef)(null);return null===e.current&&(e.current=t()),e.current}const p="undefined"!=typeof window?i.useLayoutEffect:i.useEffect;var f=n(86719);const g=t=>"object"==typeof t&&null!==t;function v(t){return g(t)&&"offsetHeight"in t&&!("ownerSVGElement"in t)}const y=(0,i.createContext)({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"});function x(t,e){if("function"==typeof t)return t(e);null!=t&&(t.current=e)}function w(...t){return i.useCallback(function(...t){return e=>{let n=!1;const i=t.map(t=>{const i=x(t,e);return n||"function"!=typeof i||(n=!0),i});if(n)return()=>{for(let e=0;e<i.length;e++){const n=i[e];"function"==typeof n?n():x(t[e],null)}}}}(...t),t)}class b extends i.Component{getSnapshotBeforeUpdate(t){const e=this.props.childRef.current;if(v(e)&&t.isPresent&&!this.props.isPresent&&!1!==this.props.pop){const t=e.offsetParent,n=v(t)&&t.offsetWidth||0,i=v(t)&&t.offsetHeight||0,s=getComputedStyle(e),o=this.props.sizeRef.current;o.height=parseFloat(s.height),o.width=parseFloat(s.width),o.top=e.offsetTop,o.left=e.offsetLeft,o.right=n-o.width-o.left,o.bottom=i-o.height-o.top,o.direction=s.direction}return null}componentDidUpdate(){}render(){return this.props.children}}function E({children:t,isPresent:e,anchorX:n,anchorY:s,root:o,pop:r}){const a=(0,i.useId)(),l=(0,i.useRef)(null),c=(0,i.useRef)({width:0,height:0,top:0,left:0,right:0,bottom:0,direction:"ltr"}),{nonce:u}=(0,i.useContext)(y),d=!1!==r?t.props?.ref??t?.ref:void 0,m=w(l,d);return(0,i.useInsertionEffect)(()=>{const{width:t,height:i,top:h,left:d,right:m,bottom:p,direction:f}=c.current;if(e||!1===r||!l.current||!t||!i)return;
1const g="rtl"===f,v="left"===n?g?`right: ${m}`:`left: ${d}`:g?`left: ${d}`:`right: ${m}`,y="bottom"===s?`bottom: ${p}`:`top: ${h}`;l.current.dataset.motionPopId=a;const x=document.createElement("style");u&&(x.nonce=u);const w=o??document.head;return w.appendChild(x),x.sheet&&x.sheet.insertRule(`\n [data-motion-pop-id="${a}"] {\n position: absolute !important;\n width: ${t}px !important;\n height: ${i}px !important;\n ${v}px !important;\n ${y}px !important;\n }\n `),()=>{l.current?.removeAttribute("data-motion-pop-id"),w.contains(x)&&w.removeChild(x)}},[e]),(0,h.jsx)(b,{isPresent:e,childRef:l,sizeRef:c,pop:r,children:!1===r?t:i.cloneElement(t,{ref:m})})}const S=({children:t,initial:e,isPresent:n,onExitComplete:s,custom:o,presenceAffectsLayout:r,mode:a,anchorX:l,anchorY:c,root:u})=>{const d=m(C),g=(0,i.useId)(),v=(0,i.useRef)(n),y=(0,i.useRef)(s);p(()=>{v.current=n,y.current=s});let x=!0,w=(0,i.useMemo)(()=>(x=!1,{id:g,initial:e,isPresent:n,custom:o,onExitComplete:t=>{d.set(t,!0);for(const e of d.values())if(!e)return;s&&s()},register:t=>(d.set(t,!1),()=>{d.delete(t),!v.current&&!d.size&&y.current?.()})}),[n,d,s]);return r&&x&&(w={...w}),(0,i.useMemo)(()=>{d.forEach((t,e)=>d.set(e,!1))},[n]),i.useEffect(()=>{!n&&!d.size&&s&&s()},[n]),t=(0,h.jsx)(E,{pop:"popLayout"===a,isPresent:n,anchorX:l,anchorY:c,root:u,children:t}),(0,h.jsx)(f.t.Provider,{value:w,children:t})};function C(){return new Map}var T=n(89120);const L=t=>t.key||"";function P(t){const e=[];return i.Children.forEach(t,t=>{(0,i.isValidElement)(t)&&e.push(t)}),e}const M=({children:t,custom:e,initial:n=!0,onExitComplete:s,presenceAffectsLayout:o=!0,mode:r="sync",propagate:a=!1,anchorX:l="left",anchorY:c="top",root:u})=>{const[f,g]=(0,T.xQ)(a),v=(0,i.useMemo)(()=>P(t),[t]),y=a&&!f?[]:v.map(L),x=(0,i.useRef)(!0),w=(0,i.useRef)(v),b=m(()=>new Map),E=(0,i.useRef)(new Set),[C,M]=(0,i.useState)(v),[A,k]=(0,i.useState)(v);p(()=>{x.current=!1,w.current=v;for(let t=0;t<A.length;t++){const e=L(A[t]);y.includes(e)?(b.delete(e),E.current.delete(e)):!0!==b.get(e)&&b.set(e,!1)}},[A,y.length,y.join("-")]);const V=[];if(v!==C){let t=[...v];for(let e=0;e<A.length;e++){const n=A[e],i=L(n);y.includes(i)||(t.splice(e,0,n),V.push(n))}return"wait"===r&&V.length&&(t=V),k(P(t)),M(v),null}const{forceRender:D}=(0,i.useContext)(d);return(0,h.jsx)(h.Fragment,{children:A.map(t=>{const i=L(t),d=!(a&&!f)&&(v===A||y.includes(i));return(0,h.jsx)(S,{isPresent:d,initial:!(x.current&&!n)&&void 0,custom:e,presenceAffectsLayout:o,mode:r,root:u,onExitComplete:d?void 0:()=>{if(E.current.has(i))return;if(!b.has(i))return;E.current.add(i),b.set(i,!0);let t=!0;b.forEach(e=>{e||(t=!1)}),t&&(D?.(),k(w.current),a&&g?.(),s&&s())},anchorX:l,anchorY:c,children:t},i)})})},A=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],k=(()=>new Set([...A,"pathRotation"]))(),V=(t,e,n)=>n>e?e:n<t?t:n,D={test:t=>"number"==typeof t,parse:parseFloat,transform:t=>t},R={...D,transform:t=>V(0,1,t)},B={...D,default:1},j=t=>Math.round(1e5*t)/1e5,F=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;const I=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,O=(t,e)=>n=>Boolean("string"==typeof n&&I.test(n)&&n.startsWith(t)||e&&!function(t){return null==t}(n)&&Object.prototype.hasOwnProperty.call(n,e)),N=(t,e,n)=>i=>{if("string"!=typeof i)return i;const[s,o,r,a]=i.match(F);return{[t]:parseFloat(s),[e]:parseFloat(o),[n]:parseFloat(r),alpha:void 0!==a?parseFloat(a):1}},_={...D,transform:t=>Math.round((t=>V(0,255,t))(t))},U={test:O("rgb","red"),parse:N("red","green","blue"),transform:({red:t,green:e,blue:n,alpha:i=1})=>"rgba("+_.transform(t)+", "+_.transform(e)+", "+_.transform(n)+", "+j(R.transform(i))+")"};const W={test:O("#"),parse:function(t){let e="",n="",i="",s="";return t.length>5?(e=t.substring(1,3),n=t.substring(3,5),i=t.substring(5,7),s=t.substring(7,9)):(e=t.substring(1,2),n=t.substring(2,3),i=t.substring(3,4),s=t.substring(4,5),e+=e,n+=n,i+=i,s+=s),{red:parseInt(e,16),green:parseInt(n,16),blue:parseInt(i,16),alph
vendor: 9,973 bytes, line 1
1a:s?parseInt(s,16)/255:1}},transform:U.transform},Z=t=>({test:e=>"string"==typeof e&&e.endsWith(t)&&1===e.split(" ").length,parse:parseFloat,transform:e=>`${e}${t}`}),$=Z("deg"),Y=Z("%"),z=Z("px"),X=Z("vh"),H=Z("vw"),q=(()=>({...Y,parse:t=>Y.parse(t)/100,transform:t=>Y.transform(100*t)}))(),K={test:O("hsl","hue"),parse:N("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:n,alpha:i=1})=>"hsla("+Math.round(t)+", "+Y.transform(j(e))+", "+Y.transform(j(n))+", "+j(R.transform(i))+")"},G={test:t=>U.test(t)||W.test(t)||K.test(t),parse:t=>U.test(t)?U.parse(t):K.test(t)?K.parse(t):W.parse(t),transform:t=>"string"==typeof t?t:t.hasOwnProperty("red")?U.transform(t):K.transform(t),getAnimatableNone:t=>{const e=G.parse(t);return e.alpha=0,G.transform(e)}},Q=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;const J="number",tt="color",et=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function nt(t){const e=t.toString(),n=[],i={color:[],number:[],var:[]},s=[];let o=0;const r=e.replace(et,t=>(G.test(t)?(i.color.push(o),s.push(tt),n.push(G.parse(t))):t.startsWith("var(")?(i.var.push(o),s.push("var"),n.push(t)):(i.number.push(o),s.push(J),n.push(parseFloat(t))),++o,"${}")).split("${}");return{values:n,split:r,indexes:i,types:s}}function it({split:t,types:e}){const n=t.length;return i=>{let s="";for(let o=0;o<n;o++)if(s+=t[o],void 0!==i[o]){const t=e[o];s+=t===J?j(i[o]):t===tt?G.transform(i[o]):i[o]}return s}}const st=(t,e)=>{return"number"==typeof t?e?.trim().endsWith("/")?t:0:"number"==typeof(n=t)?0:G.test(n)?G.getAnimatableNone(n):n;var n};const ot={test:function(t){return isNaN(t)&&"string"==typeof t&&(t.match(F)?.length||0)+(t.match(Q)?.length||0)>0},parse:function(t){return nt(t).values},createTransformer:function(t){return it(nt(t))},getAnimatableNone:function(t){const e=nt(t);return it(e)(e.values.map((t,n)=>st(t,e.split[n])))}},rt=new Set(["brightness","contrast","saturate","opacity"]);function at(t){const[e,n]=t.slice(0,-1).split("(");if("drop-shadow"===e)return t;const[i]=n.match(F)||[];if(!i)return t;const s=n.replace(i,"");let o=rt.has(e)?1:0;return i!==n&&(o*=100),e+"("+o+s+")"}const lt=/\b([a-z-]*)\(.*?\)/gu,ct={...ot,getAnimatableNone:t=>{const e=t.match(lt);return e?e.map(at).join(" "):t}},ut={...ot,getAnimatableNone:t=>{const e=ot.parse(t);return ot.createTransformer(t)(e.map(t=>"number"==typeof t?0:"object"==typeof t?{...t,alpha:1}:t))}},ht={...D,transform:Math.round},dt={borderWidth:z,borderTopWidth:z,borderRightWidth:z,borderBottomWidth:z,borderLeftWidth:z,borderRadius:z,borderTopLeftRadius:z,borderTopRightRadius:z,borderBottomRightRadius:z,borderBottomLeftRadius:z,width:z,maxWidth:z,height:z,maxHeight:z,top:z,right:z,bottom:z,left:z,inset:z,insetBlock:z,insetBlockStart:z,insetBlockEnd:z,insetInline:z,insetInlineStart:z,insetInlineEnd:z,padding:z,paddingTop:z,paddingRight:z,paddingBottom:z,paddingLeft:z,paddingBlock:z,paddingBlockStart:z,paddingBlockEnd:z,paddingInline:z,paddingInlineStart:z,paddingInlineEnd:z,margin:z,marginTop:z,marginRight:z,marginBottom:z,marginLeft:z,marginBlock:z,marginBlockStart:z,marginBlockEnd:z,marginInline:z,marginInlineStart:z,marginInlineEnd:z,fontSize:z,backgroundPositionX:z,backgroundPositionY:z,...{rotate:$,pathRotation:$,rotateX:$,rotateY:$,rotateZ:$,scale:B,scaleX:B,scaleY:B,scaleZ:B,skew:$,skewX:$,skewY:$,distance:z,translateX:z,translateY:z,translateZ:z,x:z,y:z,z:z,perspective:z,transformPerspective:z,opacity:R,originX:q,originY:q,originZ:z},zIndex:ht,fillOpacity:R,strokeOpacity:R,numOctaves:ht},mt={...dt,color:G,backgroundColor:G,outlineColor:G,fill:G,stroke:G,borderColor:G,borderTopColor:G,borderRightColor:G,borderBottomColor:G,borderLeftColor:G,filter:ct,WebkitFilter:ct,mask:ut,WebkitMask:ut},pt=t=>mt[t],ft=()=>({x:{min:0,max:0},y:{min:0,max:0}}),gt=t=>Boolean(t&&t.getVelocity),vt=new Set(["width","height","top","left","right","bottom",...A]),yt=t=>e=>e.test(t),xt=[D,z,Y,$,H,X,{test:t=>"auto"===t,parse:t=>t}],wt=t=>xt.find(yt(t));const bt=t=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t),Et=t=>e=>"string"==typeof e&&e.startsWith(t),St=Et("--"),Ct=Et("var(--"),Tt=t=>!!Ct(t)&&Lt.test(t.split("/*")[0].trim()),Lt=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function Pt(t){return"string"==typeof t&&t.split("/*")[0].includes("var(--")}const Mt=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function At(t,e,n=1){const[i,s]=function(t){const e=Mt.exec(t);if(!e)return[,];const[,n,i,s]=e;return[`--${n??i}`,s]}(t);if(!i)return;const o=window.getComputedStyle(e).getPropertyValue(i);if(o){const t=o.trim();return bt(t)?parseFloat(t):t}return Tt(s)?At(s,e,n+1):s}const kt=t=>180*t/Math.PI,Vt=t=>{const e=kt(Math.atan2(t[1],t[0]));return Rt(e)},Dt={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:t=>(Math.abs(t[0])+Math.abs(t[3]))/2,rotate:Vt,rotateZ:Vt,skewX:t=>kt(Math.atan(t[1])),skewY:t=>kt(Math.atan(t[2])),skew:t=>(Math.abs(t[1])+Math.abs(t[2]))/2},Rt=t=>((t%=360)<0&&(t+=360),t),Bt=t=>Math.sqrt(t[0]*t[0]+t[1]*t[1]),jt=t=>Math.sqrt(t[4]*t[4]+t[5]*t[5]),Ft={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:Bt,scaleY:jt,scale:t=>(Bt(t)+jt(t))/2,rotateX:t=>Rt(kt(Math.atan2(t[6],t[5]))),rotateY:t=>Rt(kt(Math.atan2(-t[2],t[0]))),rotateZ:Vt,rotate:Vt,skewX:t=>kt(Math.atan(t[4])),skewY:t=>kt(Math.atan(t[1])),skew:t=>(Math.abs(t[1])+Math.abs(t[4]))/2};function It(t){return t.includes("scale")?1:0}function Ot(t,e){if(!t||"none"===t)return It(e);const n=t.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let i,s;if(n)i=Ft,s=n;else{const e=t.match(/^matrix\(([-\d.e\s,]+)\)$/u);i=Dt,s=e}if(!s)return It(e);const o=i[e],r=s[1].split(",").map(Nt);return"function"==typeof o?o(r):r[o]}function Nt(t){return parseFloat(t.trim())}const _t=t=>t===D||t===z,Ut=new Set(["x","y","z"]),Wt=A.filter(t=>!Ut.has(t));const Zt={width:({x:t},{paddingLeft:e="0",paddingRight:n="0",boxSizing:i})=>{const s=t.max-t.min;return"border-box"===i?s:s-parseFloat(e)-parseFloat(n)},height:({y:t},{paddingTop:e="0",paddingBottom:n="0",boxSizing:i})=>{const s=t.max-t.min;return"border-box"===i?s:s-parseFloat(e)-parseFloat(n)},top:(t,{top:e})=>parseFloat(e),left:(t,{left:e})=>parseFloat(e),bottom:({y:t},{top:e})=>parseFloat(e)+(t.max-t.min),right:({x:t},{left:e})=>parseFloat(e)+(t.max-t.min),x:(t,{transform:e})=>Ot(e,"x"),y:(t,{transform:e})=>Ot(e,"y")};Zt.translateX=Zt.x,Zt.translateY=Zt.y;const $t=t=>t,Yt={},zt=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function Xt(t,e){let n=!1,i=!0;const s={delta:0,timestamp:0,isProcessing:!1},o=()=>n=!0,r=zt.reduce((t,e)=>(t[e]=function(t){let e=new Set,n=new Set,i=!1,s=!1;const o=new WeakSet;let r={delta:0,timestamp:0,isProcessing:!1};function a(e){o.has(e)&&(l.schedule(e),t()),e(r)}const l={schedule:(t,s=!1,r=!1)=>{const a=r&&i?e:n;return s&&o.add(t),a.add(t),t},cancel:t=>{n.delete(t),o.delete(t)},process:t=>{if(r=t,i)return void(s=!0);i=!0;const o=e;e=n,n=o,e.forEach(a),e.clear(),i=!1,s&&(s=!1,l.process(t))}};return l}(o),t),{}),{setup:a,read:l,resolveKeyframes:c,preUpdate:u,update:h,preRender:d,render:m,postRender:p}=r,f=()=>{const o=Yt.useManualTiming,r=o?s.timestamp:performance.now();n=!1,o||(s.delta=i?1e3/60:Math.max(Math.min(r-s.timestamp,40),1)),s.timestamp=r,s.isProcessing=!0,a.process(s),l.process(s),c.process(s),u.process(s),h.process(s),d.process(s),m.process(s),p.process(s),s.isProcessing=!1,n&&e&&(i=!1,t(f))};return{schedule:zt.reduce((e,o)=>{const a=r[o];return e[o]=(e,o=!1,r=!1)=>(n||(n=!0,i=!0,s.isProcessing||t(f)),a.schedule(e,o,r)),e},{}),cancel:t=>{for(let e=0;e<zt.length;e++)r[zt[e]].cancel(t)},state:s,steps:r}}const{schedule:Ht,cancel:qt,state:Kt,steps:Gt}=Xt("undefined"!=typeof requestAnimationFrame?requestAnimationFrame:$t,!0),Qt=new Set;let Jt=!1,te=!1,ee=!1;function ne(){if(te){const t=Array.from(Qt).filter(t=>t.needsMeasurement),e=new Set(t.map(t=>t.element)),n=new Map;e.forEach(t=>{const e=function(t){const e=[];return Wt.forEach(n=>{const i=t.getValue(n);void 0!==i&&(e.push([n,i.get()]),i.set(n.startsWith("scale")?1:0))}),e}(t);e.length&&(n.set(t,e),t.render())}),t.forEach(t=>t.measureInitialState()),e.forEach(t=>{t.render();const e=n.get(t);e&&e.forEach(([e,n])=>{t.getValue(e)?.set(n)})}),t.forEach(t=>t.measureEndState()),t.forEach(t=>{void 0!==t.suspendedScrollY&&window.scrollTo(0,t.suspendedScrollY)})}te=!1,Jt=!1,Qt.forEach(t=>t.complete(ee)),Qt.clear()}function ie(){Qt.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(te=!0)})}class se{constructor(t,e,n,i,s,o=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=e,this.name=n,this.motionValue=i,this.element=s,this.isAsync=o}scheduleResolve(){this.state="scheduled",this.isAsync?(Qt.add(this),Jt||(Jt=!0,Ht.read(ie),Ht.resolveKeyframes(ne))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:t,name:e,element:n,motionValue:i}=this;if(null===t[0]){const s=i?.get(),o=t[t.length-1];if(void 0!==s)t[0]=s;else if(n&&e){const i=n.readValue(e,o);null!=i&&(t[0]=i)}void 0===t[0]&&(t[0]=o),i&&void 0===s&&i.set(t[0])}!function(t){for(let e=1;e<t.length;e++)t[e]??(t[e]=t[e-1])}(t)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),Qt.delete(this)}cancel(){"scheduled"===this.state&&(Qt.delete(this),this.state="pending")}resume(){"pending"===this.state&&this.scheduleResolve()}}const oe=t=>/^0[^.\s]+$/u.test(t);function re(t){return"number"==typeof t?0===t:null===t||("none"===t||"0"===t||oe(t))}const ae=new Set([ct,ut]);function le(t,e){let n=pt(t);return ae.has(n)||(n=ot),n.getAnimatableNone?n.getAnimatableNone(e):void 0}
1const ce=new Set(["auto","none","0"]);class ue extends se{constructor(t,e,n,i,s){super(t,e,n,i,s,!0)}readKeyframes(){const{unresolvedKeyframes:t,element:e,name:n}=this;if(!e||!e.current)return;super.readKeyframes();for(let a=0;a<t.length;a++){let n=t[a];if("string"==typeof n&&(n=n.trim(),Tt(n))){const i=At(n,e.current);void 0!==i&&(t[a]=i),a===t.length-1&&(this.finalKeyframe=n)}}if(this.resolveNoneKeyframes(),!vt.has(n)||2!==t.length)return;const[i,s]=t,o=wt(i),r=wt(s);if(Pt(i)!==Pt(s)&&Zt[n])this.needsMeasurement=!0;else if(o!==r)if(_t(o)&&_t(r))for(let a=0;a<t.length;a++){const e=t[a];"string"==typeof e&&(t[a]=parseFloat(e))}else Zt[n]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:t,name:e}=this,n=[];for(let i=0;i<t.length;i++)(null===t[i]||re(t[i]))&&n.push(i);n.length&&function(t,e,n){let i,s=0;for(;s<t.length&&!i;){const e=t[s];"string"==typeof e&&!ce.has(e)&&nt(e).values.length&&(i=t[s]),s++}if(i&&n)for(const o of e)t[o]=le(n,i)}(t,n,e)}measureInitialState(){const{element:t,unresolvedKeyframes:e,name:n}=this;if(!t||!t.current)return;"height"===n&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=Zt[n](t.measureViewportBox(),window.getComputedStyle(t.current)),e[0]=this.measuredOrigin;const i=e[e.length-1];void 0!==i&&t.getValue(n,i).jump(i,!1)}measureEndState(){const{element:t,name:e,unresolvedKeyframes:n}=this;if(!t||!t.current)return;const i=t.getValue(e);i&&i.jump(this.measuredOrigin,!1);const s=n.length-1,o=n[s];n[s]=Zt[e](t.measureViewportBox(),window.getComputedStyle(t.current)),null!==o&&void 0===this.finalKeyframe&&(this.finalKeyframe=o),this.removedTransforms?.length&&this.removedTransforms.forEac
1h(([e,n])=>{t.getValue(e).set(n)}),this.resolveNoneKeyframes()}}const he=t=>1e3*t,de=t=>t/1e3;function me(t,e){-1===t.indexOf(e)&&t.push(e)}function pe(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}class fe{constructor(){this.subscriptions=[]}add(t){return me(this.subscriptions,t),()=>pe(this.subscriptions,t)}notify(t,e,n){const i=this.subscriptions.length;if(i)if(1===i)this.subscriptions[0](t,e,n);else for(let s=0;s<i;s++){const i=this.subscriptions[s];i&&i(t,e,n)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}function ge(t,e,n){(t=>t.startsWith("--"))(e)?t.style.setProperty(e,n):t.style[e]=n}function ve(t){let e;return()=>(void 0===e&&(e=t()),e)}const ye={};function xe(t,e){const n=ve(t);return()=>ye[e]??n()}const we=xe(()=>void 0!==window.ScrollTimeline,"scrollTimeline"),be=t=>null!==t;function Ee(t,{repeat:e,repeatType:n="loop"},i,s=1){const o=t.filter(be),r=s<0||e&&"loop"!==n&&e%2==1?0:o.length-1;return r&&void 0!==i?i:o[r]}class Se{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(t=>{this.resolve=t})}notifyFinished(){this.resolve()}then(t,e){return this.finished.then(t,e)}}const Ce=t=>Array.isArray(t)&&"number"==typeof t[0],Te=xe(()=>{try{document.createElement("div").animate({opacity:0}
1,{easing:"linear(0, 1)"})}catch(t){return!1}return!0},"linearEasing"),Le=(t,e,n=10)=>{let i="";const s=Math.max(Math.round(e/n),2);for(let o=0;o<s;o++)i+=Math.round(1e4*t(o/(s-1)))/1e4+", ";return`linear(${i.substring(0,i.length-2)})`},Pe=([t,e,n,i])=>`cubic-bezier(${t}, ${e}, ${n}, ${i})`,Me={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Pe([0,.65,.55,1]),circOut:Pe([.55,0,1,.45]),backIn:Pe([.31,.01,.66,-.59]),backOut:Pe([.33,1.53,.69,.99])};function Ae(t,e){return t?"function"==typeof t?Te()?Le(t,e):"ease-out":Ce(t)?Pe(t):Array.isArray(t)?t.map(t=>Ae(t,e)||Me.easeOut):Me[t]:void 0}function ke(t,e,n,{delay:i=0,duration:s=300,repeat:o=0,repeatType:r="loop",ease:a="easeOut",times:l}={},c=void 0){const u={[e]:n};l&&(u.offset=l);const h=Ae(a,s);Array.isArray(h)&&(u.easing=h);const d={delay:i,duration:s,easing:Array.isArray(h)?"linear":h,fill:"both",iterations:o+1,direction:"reverse"===r?"alternate":"normal"};return c&&(d.pseudoElement=c),t.animate(u,d)}function Ve(t){return"function"==typeof t&&"applyToOptions"in t}class De extends Se{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!t)return;const{element:e,name:n,keyframes:i,pseudoElement:s,allowFlatten:o=!1,finalKeyframe:r,onComplete:a}=t;this.isPseudoElement=Boolean(s),this.allowFlatten=o,this.options=t,t.type;const l=function({type:t,...e}){return Ve(t)&&Te()?t.applyToOptions(e):(e.duration??(e.duration=300),e.ease??(e.ease="easeOut"),e)}(t);this.animation=ke(e,n,i,l,s),!1===l.autoplay&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!s){const t=Ee(i,this.options,r,this.speed);this.updateMotionValue&&this.updateMotionValue(t),ge(e,n,t),this.animation.cancel()}a?.(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),"finished"===this.state&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch(t){}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:t}=this;"idle"!==t&&"finished"!==t&&(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){const t=this.options?.element;!this.isPseudoElement&&t?.isConnected&&this.animation.commitStyles?.()}get duration(){const t=this.animation.effect?.getComputedTiming?.().duration||0;return de(Number(t))}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+de(t)}get time(){return de(Number(this.animation.currentTime)||0)}set time(t){const e=null!==this.finishedTime;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=he(t),e&&this.animation.pause()}get speed(){return this.animation.playbackRate}set speed(t){t<0&&(this.finishedTime=null),this.animation.playbackRate=t}get state(){return null!==this.finishedTime?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(t){this.manualStartTime=this.animation.startTime=t}attachTimeline({timeline:t,rangeStart:e,rangeEnd:n,observe:i}){return this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,t&&we()?(this.animation.timeline=t,e&&(this.animation.rangeStart=e),n&&(this.animation.rangeEnd=n),$t):i(this)}}const Re=new Set(["opacity","clipPath","filter","transform","backgroundColor"]),{schedule:Be,cancel:je}=Xt(queueMicrotask,!1);let Fe;function Ie(){Fe=void 0}const Oe={now:()=>(void 0===Fe&&Oe.set(Kt.isProcessing||Yt.useManualTiming?Kt.timestamp:performance.now()),Fe),set:t=>{Fe=t,queueMicrotask(Ie)}},Ne=(t,e)=>e?t*(1e3/e):0,_e={current:void 0};class Ue{constructor(t,e={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=t=>{const e=Oe.now();if(this.updatedAt!==e&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(t),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(const n of this.dependents)n.dirty()},this.hasAnimated=!1,this.setCurrent(t),this.owner=e.owner}setCurrent(t){var e;this.current=t,this.updatedAt=Oe.now(),null===this.canTrackVelocity&&void 0!==t&&(this.canTrackVelocity=(e=this.current,!isNaN(parseFloat(e))))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,e){this.events[t]||(this.events[t]=new fe);const n=this.events[t].add(e);return"change"===t?()=>{n(),Ht.read(()=>{this.events.change.getSize()||this.stop()})}:n}clearListeners(){for(const t in this.events)this.events[t].clear()}attach(t,e){this.passiveEffect=t,this.stopPassiveEffect=e}set(t){this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t)}setWithVelocity(t,e,n){this.set(e),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-n}jump(t,e=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,e&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(t){this.dependents||(this.dependents=new Set),this.dependents.add(t)}removeDependent(t){this.dependents&&this.dependents.delete(t)}get(){return _e.current&&_e.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){const t=Oe.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||t-this.updatedAt>30)return 0;const e=Math.min(this.updatedAt-this.prevUpdatedAt,30);return Ne(parseFloat(this.current)-parseFloat(this.prevFrameValue),e)}start(t){return this.stop(),new Promise(e=>{this.hasAnimated=!0,this.animation=t(e),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function We(t,e){return new Ue(t,e)}const Ze=[...xt,G,ot],$e=new WeakMap;function Ye(t){return null!==t&&"object"==typeof t&&"function"==typeof t.start}function ze(t){return"string"==typeof t||Array.isArray(t)}const Xe=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],He=["initial",...Xe];function qe(t){return Ye(t.animate)||He.some(e=>ze(t[e]))}function Ke(t){return Boolean(qe(t)||t.variants)}function Ge(t){const e=[{},{}];
vendor: 4,495 bytes, line 1
1return t?.values.forEach((t,n)=>{e[0][n]=t.get(),e[1][n]=t.getVelocity()}),e}function Qe(t,e,n,i){if("function"==typeof e){const[s,o]=Ge(i);e=e(void 0!==n?n:t.custom,s,o)}if("string"==typeof e&&(e=t.variants&&t.variants[e]),"function"==typeof e){const[s,o]=Ge(i);e=e(void 0!==n?n:t.custom,s,o)}return e}const Je=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];let tn={};function en(t){tn=t}class nn{scrapeMotionValuesFromProps(t,e,n){return{}}constructor({parent:t,props:e,presenceContext:n,reducedMotionConfig:i,skipAnimations:s,blockInitialAnimation:o,visualState:r},a={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=se,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const t=Oe.now();this.renderScheduledAt<t&&(this.renderScheduledAt=t,Ht.render(this.render,!1,!0))};const{latestValues:l,renderState:c}=r;this.latestValues=l,this.baseTarget={...l},this.initialValues=e.initial?{...l}:{},this.renderState=c,this.parent=t,this.props=e,this.presenceContext=n,this.depth=t?t.depth+1:0,this.reducedMotionConfig=i,this.skipAnimationsConfig=s,this.options=a,this.blockInitialAnimation=Boolean(o),this.isControllingVariants=qe(e),this.isVariantNode=Ke(e),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=Boolean(t&&t.current);const{willChange:u,...h}=this.scrapeMotionValuesFromProps(e,{},this);for(const d in h){const t=h[d];void 0!==l[d]&>(t)&&t.set(l[d])}}mount(t){if(this.hasBeenMounted)for(const e in this.initialValues)this.values.get(e)?.jump(this.initialValues[e]),this.latestValues[e]=this.initialValues[e];this.current=t,$e.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((t,e)=>this.bindToMotionValue(e,t)),"never"===this.reducedMotionConfig?this.shouldReduceMotion=!1:"always"===this.reducedMotionConfig?this.shouldReduceMotion=!0:(l.current||u(),this.shouldReduceMotion=a.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,this.parent?.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){this.projection&&this.projection.unmount(),qt(this.notifyUpdate),qt(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this);for(const t in this.events)this.events[t].clear();for(const t in this.features){const e=this.features[t];e&&(e.unmount(),e.isMounted=!1)}this.current=null}addChild(t){this.children.add(t),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(t)}removeChild(t){this.children.delete(t),this.enteringChildren&&this.enteringChildren.delete(t)}bindToMotionValue(t,e){if(this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)(),e.accelerate&&Re.has(t)&&this.current instanceof HTMLElement){const{factory:n,keyframes:i,times:s,ease:o,duration:r}=e.accelerate,a=new De({element:this.current,name:t,keyframes:i,times:s,ease:o,duration:he(r)}),l=n(a);return void this.valueSubscriptions.set(t,()=>{l(),a.cancel()})}const n=k.has(t);n&&this.onBindTransform&&this.onBindTransform();const i=e.on("change",e=>{this.latestValues[t]=e,this.props.onUpdate&&Ht.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let s;"undefined"!=typeof window&&window.MotionCheckAppearSync&&(s=window.MotionCheckAppearSync(this,t,e)),this.valueSubscriptions.set(t,()=>{i(),s&&s()})}sortNodePosition(t){return this.current&&this.sortInstanceNodePosition&&this.type===t.type?this.sortInstanceNodePosition(this.current,t.current):0}updateFeatures(){let t="animation";for(t in tn){const e=tn[t];if(!e)continue;const{isEnabled:n,Feature:i}=e;if(!this.features[t]&&i&&n(this.props)&&(this.features[t]=new i(this)),this.features[t]){const e=this.features[t];
vendor: 5,171 bytes, line 1
1e.isMounted?e.update():(e.mount(),e.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):{x:{min:0,max:0},y:{min:0,max:0}}}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,e){this.latestValues[t]=e}update(t,e){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=e;for(let n=0;n<Je.length;n++){const e=Je[n];this.propEventSubscriptions[e]&&(this.propEventSubscriptions[e](),delete this.propEventSubscriptions[e]);const i=t["on"+e];i&&(this.propEventSubscriptions[e]=this.on(e,i))}this.prevMotionValues=function(t,e,n){for(const i in e){const s=e[i],o=n[i];if(gt(s))t.addValue(i,s);else if(gt(o))t.addValue(i,We(s,{owner:t}));else if(o!==s)if(t.hasValue(i)){const e=t.getValue(i);!0===e.liveStyle?e.jump(s):e.hasAnimated||e.set(s)}else{const e=t.getStaticValue(i);t.addValue(i,We(void 0!==e?e:s,{owner:t}))}}for(const i in n)void 0===e[i]&&t.removeValue(i);return e}(this,this.scrapeMotionValuesFromProps(t,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(t){const e=this.getClosestVariantNode();if(e)return e.variantChildren&&e.variantChildren.add(t),()=>e.variantChildren.delete(t)}addValue(t,e){const n=this.values.get(t);e!==n&&(n&&this.removeValue(t),this.bindToMotionValue(t,e),this.values.set(t,e),this.latestValues[t]=e.get())}removeValue(t){this.values.delete(t);const e=this.valueSubscriptions.get(t);e&&(e(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,e){if(this.props.values&&this.props.values[t])return this.props.values[t];let n=this.values.get(t);return void 0===n&&void 0!==e&&(n=We(null===e?void 0:e,{owner:this}),this.addValue(t,n)),n}readValue(t,e){let n=void 0===this.latestValues[t]&&this.current?this.getBaseTargetFromProps(this.props,t)??this.readValueFromInstance(this.current,t,this.options):this.latestValues[t];var i;return null!=n&&("string"==typeof n&&(bt(n)||oe(n))?n=parseFloat(n):(i=n,!Ze.find(yt(i))&&ot.test(e)&&(n=le(t,e))),this.setBaseTarget(t,gt(n)?n.get():n)),gt(n)?n.get():n}setBaseTarget(t,e){this.baseTarget[t]=e}getBaseTarget(t){const{initial:e}=this.props;let n;if("string"==typeof e||"object"==typeof e){const i=Qe(this.props,e,this.presenceContext?.custom);i&&(n=i[t])}if(e&&void 0!==n)return n;const i=this.getBaseTargetFromProps(this.props,t);return void 0===i||gt(i)?void 0!==this.initialValues[t]&&void 0===n?void 0:this.baseTarget[t]:i}on(t,e){return this.events[t]||(this.events[t]=new fe),this.events[t].add(e)}notify(t,...e){this.events[t]&&this.events[t].notify(...e)}scheduleRenderMicrotask(){Be.render(this.render)}}class sn extends nn{constructor(){super(...arguments),this.KeyframeResolver=ue}sortInstanceNodePosition(t,e){return 2&t.compareDocumentPosition(e)?1:-1}getBaseTargetFromProps(t,e){const n=t.style;return n?n[e]:void 0}removeValueFromRenderState(t,{vars:e,style:n}){delete e[t],delete n[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;gt(t)&&(this.childSubscription=t.on("change",t=>{this.current&&(this.current.textContent=`${t}`)}))}}function on(t){return t.replace(/([A-Z])/g,t=>`-${t.toLowerCase()}`)}const rn=(t,e)=>e&&"number"==typeof t?e.transform(t):t,an={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},ln=A.length;function cn(t,e,n){const{style:i,vars:s,transformOrigin:o}=t;let r=!1,a=!1;for(const l in e){const t=e[l];if(k.has(l))r=!0;else if(St(l))s[l]=t;else{const e=rn(t,dt[l]);l.startsWith("origin")?(a=!0,o[l]=e):i[l]=e}}if(e.transform||(r||n?i.transform=function(t,e,n){let i="",s=!0;for(let r=0;r<ln;r++){const o=A[r],a=t[o];if(void 0===a)continue;let l=!0;if("number"==typeof a)l=a===(o.startsWith("scale")?1:0);else{const t=parseFloat(a);l=o.startsWith("scale")?1===t:0===t}if(!l||n){const t=rn(a,dt[o]);l||(s=!1,i+=`${an[o]||o}(${t}) `),n&&(e[o]=t)}}const o=t.pathRotation;return o&&(s=!1,i+=`rotate(${rn(o,dt.pathRotation)}) `),i=i.trim(),n?i=n(e,s?"":i):s&&(i="none"),i}(e,t.transform,n):i.transform&&(i.transform="none")),a){const{originX:t="50%",originY:e="50%",originZ:n=0}=o;i.transformOrigin=`${t} ${e} ${n}`}}const un={offset:"stroke-dashoffset",array:"stroke-dasharray"},hn={offset:"strokeDashoffset",array:"strokeDasharray"};const dn=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function mn(t,{attrX:e,attrY:n,attrScale:i,pathLength:s,pathSpacing:o=1,pathOffset:r=0,...a},l,c,u){if(cn(t,a,c),l)return void(t.style.viewBox&&(t.attrs.viewB
1ox=t.style.viewBox));t.attrs=t.style,t.style={};const{attrs:h,style:d}=t;h.transform&&(d.transform=h.transform,delete h.transform),(d.transform||h.transformOrigin)&&(d.transformOrigin=h.transformOrigin??"50% 50%",delete h.transformOrigin),d.transform&&(d.transformBox=u?.transformBox??"fill-box",delete h.transformBox);for(const m of dn)void 0!==h[m]&&(d[m]=h[m],delete h[m]);void 0!==e&&(h.x=e),void 0!==n&&(h.y=n),void 0!==i&&(h.scale=i),void 0!==s&&function(t,e,n=1,i=0,s=!0){t.pathLength=1;const o=s?un:hn;t[o.offset]=""+-i,t[o.array]=`${e} ${n}`}(h,s,o,r,!1)}const pn=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]),fn=t=>"string"==typeof t&&"svg"===t.toLowerCase();function gn(t,{style:e,vars:n},i,s){const o=t.style;let r;for(r in e)o[r]=e[r];for(r in s?.applyProjectionStyles(o,i),n)o.setProperty(r,n[r])}const vn=["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"];function yn(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}const xn={correct:(t,e)=>{if(!e.target)return t;if("string"==typeof t){if(!z.test(t))return t;t=parseFloat(t)}return`${yn(t,e.target.x)}% ${yn(t,e.target.y)}%`}},wn=(t,e,n)=>t+(e-t)*n,bn={correct:(t,{treeScale:e,projectionDelta:n})=>{const i=t,s=ot.parse(t);if(s.length>5)return i;const o=ot.createTransformer(t),r="number"!=typeof s[0]?1:0,a=n.x.scale*e.x,l=n.y.scale*e.y;s[0+r]/=a,s[1+r]/=l;const c=wn(a,l,.5);return"number"==typeof s[2+r]&&(s[2+r]/=c),"number"==typeof s[3+r]&&(s[3+r]/=c),o(s)}},En={borderRadius:{...xn,applyTo:[...vn]},borderTopLeftRadius:xn,borderTopRightRadius:xn,borderBottomLeftRadius:xn,borderBottomRightRadius:xn,boxShadow:bn};function Sn(t,{layout:e,layoutId:n}){return k.has(t)||t.startsWith("origin")||(e||void 0!==n)&&(!!En[t]||"opacity"===t)}function Cn(t,e,n){const i=t.style,s=e?.style,o={};if(!i)return o;for(const r in i)(gt(i[r])||s&>(s[r])||Sn(r,t)||void 0!==n?.getValue(r)?.liveStyle)&&(o[r]=i[r]);return o}function Tn(t,e,n){const i=Cn(t,e,n);for(const s in t)if(gt(t[s])||gt(e[s])){i[-1!==A.indexOf(s)?"attr"+s.charAt(0).toUpperCase()+s.substring(1):s]=t[s]}return i}class Ln extends sn{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=ft}getBaseTargetFromProps(t,e){return t[e]}readValueFromInstance(t,e){if(k.has(e)){const t=pt(e);return t&&t.default||0}return e=pn.has(e)?e:on(e),t.getAttribute(e)}scrapeMotionValuesFromProps(t,e,n){return Tn(t,e,n)}
1build(t,e,n){mn(t,e,this.isSVGTag,n.transformTemplate,n.style)}renderInstance(t,e,n,i){!function(t,e,n,i){gn(t,e,void 0,i);for(const s in e.attrs)t.setAttribute(pn.has(s)?s:on(s),e.attrs[s])}(t,e,0,i)}mount(t){this.isSVGTag=fn(t.tagName),super.mount(t)}}function Pn({top:t,left:e,right:n,bottom:i}){return{x:{min:e,max:n},y:{min:t,max:i}}}function Mn(t){return void 0===t||1===t}function An({scale:t,scaleX:e,scaleY:n}){return!Mn(t)||!Mn(e)||!Mn(n)}function kn(t){return An(t)||Vn(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function Vn(t){return Dn(t.x)||Dn(t.y)}function Dn(t){return t&&"0%"!==t}function Rn(t,e,n){return n+e*(t-n)}function Bn(t,e,n,i,s){return void 0!==s&&(t=Rn(t,s,i)),Rn(t,n,i)+e}function jn(t,e=0,n=1,i,s){t.min=Bn(t.min,e,n,i,s),t.max=Bn(t.max,e,n,i,s)}function Fn(t,{x:e,y:n}){jn(t.x,e.translate,e.scale,e.originPoint),jn(t.y,n.translate,n.scale,n.originPoint)}const In=.999999999999,On=1.0000000000001;function Nn(t,e){t.min+=e,t.max+=e}function _n(t,e,n,i,s=.5){jn(t,e,n,wn(t.min,t.max,s),i)}function Un(t,e){return"string"==typeof t?parseFloat(t)/100*(e.max-e.min):t}function Wn(t,e,n){const i=n??t;_n(t.x,Un(e.x,i.x),e.scaleX,e.scale,e.originX),_n(t.y,Un(e.y,i.y),e.scaleY,e.scale,e.originY)}function Zn(t,e){return Pn(function(t,e){if(!e)return t;const n=e({x:t.left,y:t.top}),i=e({x:t.right,y:t.bottom});return{top:n.y,left:n.x,bottom:i.y,right:i.x}}(t.getBoundingClientRect(),e))}class $n extends sn{constructor(){super(...arguments),this.type="html",this.renderInstance=gn}mount(t){Boolean(t.style),super.mount(t)}readValueFromInstance(t,e){if(k.has(e))return this.projection?.isProjecting?It(e):((t,e)=>{const{transform:n="none"}=getComputedStyle(t);return Ot(n,e)})(t,e);{const i=(n=t,window.getComputedStyle(n)),s=(St(e)?i.getPropertyValue(e):i[e])||0;return"string"==typeof s?s.trim():s}var n}measureInstanceViewportBox(t,{transformPagePoint:e}){return Zn(t,e)}build(t,e,n){cn(t,e,n.transformTemplate)}scrapeMotionValuesFromProps(t,e,n){return Cn(t,e,n)}}const Yn=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function zn(t){return"string"==typeof t&&!t.includes("-")&&!!(Yn.indexOf(t)>-1||/[A-Z]/u.test(t))}const Xn=(t,e)=>e.isSVG??zn(t)?new Ln(e):new $n(e,{allowProjection:t!==i.Fragment}),Hn=(0,i.createContext)({strict:!1}),qn=(0,i.createContext)({});function Kn(t){const{initial:e,animate:n}=function(t,e){if(qe(t)){const{initial:e,animate:n}=t;return{initial:!1===e||ze(e)?e:void 0,animate:ze(n)?n:void 0}}return!1!==t.inherit?e:{}}(t,(0,i.useContext)(qn));return(0,i.useMemo)(()=>({initial:e,animate:n}),[Gn(e),Gn(n)])}function Gn(t){return Array.isArray(t)?t.join(" "):t}const Qn=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function Jn(t,e,n){for(const i in e)gt(e[i])||Sn(i,n)||(t[i]=e[i])}function ti(t,e){const n={};return Jn(n,t.style||{},t),Object.assign(n,function({transformTemplate:t},e){return(0,i.useMemo)(()=>{const n={style:{},transform:{},transformOrigin:{},vars:{}};return cn(n,e,t),Object.assign({},n.vars,n.style)},[e])}(t,e)),n}function ei(t,e){const n={},i=ti(t,e);return t.drag&&!1!==t.dragListener&&(n.draggable=!1,i.userSelect=i.WebkitUserSelect=i.WebkitTouchCallout="none",i.touchAction=!0===t.drag?"none":"pan-"+("x"===t.drag?"y":"x")),void 0===t.tabIndex&&(t.onTap||t.onTapStart||t.whileTap)&&(n.tabIndex=0),n.style=i,n}const ni=()=>({style:{},transform:{},transformOrigin:{},vars:{},attrs:{}});function ii(t,e,n,s){const o=(0,i.useMemo)(()=>{const n={style:{},transform:{},transformOrigin:{},vars:{},attrs:{}};return mn(n,e,fn(s),t.transformTemplate,t.style),{...n.attrs,style:{...n.style}}},[e]);if(t.style){const e={};Jn(e,t.style,t),o.style={...e,...o.style}}return o}const si=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 oi(t){return t.startsWith("while")||t.startsWith("drag")&&"draggable"!==t||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||si.has(t)}let ri=t=>!oi(t);try{"function"==typeof(ai=require("@emotion/is-prop-valid").default)&&(ri=t=>t.startsWith("on")?!oi(t):ai(t))}catch{}var ai;function li(t,e,n,{latestValues:s},o,r=!1,a){const l=(a??zn(t)?ii:ei)(e,s,o,t),c=function(t,e,n){const i={};for(const s in t)"values"===s&&"object"==typeof t.values||gt(t[s])||(ri(s)||!0===n&&oi(s)||
1!e&&!oi(s)||t.draggable&&s.startsWith("onDrag"))&&(i[s]=t[s]);return i}(e,"string"==typeof t,r),u=t!==i.Fragment?{...c,...l,ref:n}:{},{children:h}=e,d=(0,i.useMemo)(()=>gt(h)?h.get():h,[h]);return(0,i.createElement)(t,{...u,children:d})}function ci(t){return gt(t)?t.get():t}function ui(t,e,n,i){const s={},o=i(t,{});for(const d in o)s[d]=ci(o[d]);let{initial:r,animate:a}=t;const l=qe(t),c=Ke(t);e&&c&&!l&&!1!==t.inherit&&(void 0===r&&(r=e.initial),void 0===a&&(a=e.animate));let u=!!n&&!1===n.initial;u=u||!1===r;const h=u?a:r;if(h&&"boolean"!=typeof h&&!Ye(h)){const e=Array.isArray(h)?h:[h];for(let n=0;n<e.length;n++){const i=Qe(t,e[n]);if(i){const{transitionEnd:t,transition:e,...n}=i;for(const i in n){let t=n[i];if(Array.isArray(t)){t=t[u?t.length-1:0]}null!==t&&(s[i]=t)}for(const i in t)s[i]=t[i]}}}return s}const hi=t=>(e,n)=>{const s=(0,i.useContext)(qn),o=(0,i.useContext)(f.t),r=()=>function({scrapeMotionValuesFromProps:t,createRenderState:e},n,i,s){return{latestValues:ui(n,i,s,t),renderState:e()}}(t,e,s,o);return n?r():m(r)},di=hi({scrapeMotionValuesFromProps:Cn,createRenderState:Qn}),mi=hi({scrapeMotionValuesFromProps:Tn,createRenderState:ni}),pi={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"]};let fi=!1;function gi(){return function(){if(fi)return;const t={};for(const e in pi)t[e]={isEnabled:t=>pi[e].some(e=>!!t[e])};en(t),fi=!0}(),tn}const vi=Symbol.for("motionComponentSymbol");function yi(t,e,n){const s=(0,i.useRef)(n);(0,i.useInsertionEffect)(()=>{s.current=n});const o=(0,i.useRef)(null);return(0,i.useCallback)(n=>{n&&t.onMount?.(n),e&&(n?e.mount(n):e.unmount());const i=s.current;if("function"==typeof i)if(n){const t=i(n);"function"==typeof t&&(o.current=t)}else o.current?(o.current(),o.current=null):i(n);else i&&(i.current=n)},[e])}const xi="data-"+on("framerAppearId"),wi=(0,i.createContext)({});function bi(t){return t&&"object"==typeof t&&Object.prototype.hasOwnProperty.call(t,"current")}function Ei(t,e,n,s,o,r){const{visualElement:a}=(0,i.useContext)(qn),l=(0,i.useContext)(Hn),c=(0,i.useContext)(f.t),u=(0,i.useContext)(y),h=u.reducedMotion,d=u.skipAnimations,m=(0,i.useRef)(null),g=(0,i.useRef)(!1);s=s||l.renderer,!m.current&&s&&(m.current=s(t,{visualState:e,parent:a,props:n,presenceContext:c,blockInitialAnimation:!!c&&!1===c.initial,reducedMotionConfig:h,skipAnimations:d,isSVG:r}),g.current&&m.current&&(m.current.manuallyAnimateOnMount=!0));const v=m.current,x=(0,i.useContext)(wi);!v||v.projection||!o||"html"!==v.type&&"svg"!==v.type||function(t,e,n,i){const{layoutId:s,layout:o,drag:r,dragConstraints:a,layoutScroll:l,layoutRoot:c,layoutAnchor:u,layoutCrossfade:h}=e;t.projection=new n(t.latestValues,e["data-framer-portal-id"]?void 0:Si(t.parent)),t.projection.setOptions({layoutId:s,layout:o,alwaysMeasureLayout:Boolean(r)||a&&bi(a),visualElement:t,animationType:"string"==typeof o?o:"both",initialPromotionConfig:i,crossfade:h,layoutScroll:l,layoutRoot:c,layoutAnchor:u})}(m.current,n,o,x);const w=(0,i.useRef)(!1);(0,i.useInsertionEffect)(()=>{v&&w.current&&v.update(n,c)});const b=n[xi],E=(0,i.useRef)(Boolean(b)&&"undefined"!=typeof window&&!window.MotionHandoffIsComplete?.(b)&&window.MotionHasOptimisedAnimation?.(b));return p(()=>{g.current=!0,v&&(w.current=!0,window.MotionIsMounted=!0,v.updateFeatures(),v.scheduleRenderMicrotask(),E.current&&v.animationState&&v.animationState.animateChanges())}),(0,i.useEffect)(()=>{v&&(!E.current&&v.animationState&&v.animationState.animateChanges(),E.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(b)}),E.current=!1),v.enteringChildren=void 0)}),v}function Si(t){if(t)return!1!==t.options.allowProjection?t.projection:Si(t.parent)}function Ci(t,{forwardMotionProps:e=!1,type:n}={},s,o){s&&function(t){const e=gi();for(const n in t)e[n]={...e[n],...t[n]};en(e)}(s);const r=n?"svg"===n:zn(t),a=r?mi:di;function l(n,s){let l;const c={...(0,i.useContext)(y),...n,layoutId:Ti(n)},{isStatic:u}=c,d=Kn(n),m=a(n,u);if(!u&&"undefined"!=typeof window){!function(){(0,i.useContext)(Hn).strict;0}();const e=function(t){const e=gi(),{drag:n,layout:i}=e;if(!n&&!i)return{};const s={...n,...i};return{MeasureLayout:n?.isEnabled(t)||i?.isEnabled(t)?s.MeasureLayout:void 0,ProjectionNode:s.ProjectionNode}}
1(c);l=e.MeasureLayout,d.visualElement=Ei(t,m,c,o,e.ProjectionNode,r)}return(0,h.jsxs)(qn.Provider,{value:d,children:[l&&d.visualElement?(0,h.jsx)(l,{visualElement:d.visualElement,...c}):null,li(t,n,yi(m,d.visualElement,s),m,u,e,r)]})}l.displayName=`motion.${"string"==typeof t?t:`create(${t.displayName??t.name??""})`}`;const c=(0,i.forwardRef)(l);return c[vi]=t,c}function Ti({layoutId:t}){const e=(0,i.useContext)(d).id;return e&&void 0!==t?e+"-"+t:t}function Li(t,e){if("undefined"==typeof Proxy)return Ci;const n=new Map,i=(n,i)=>Ci(n,i,t,e);return new Proxy((t,e)=>i(t,e),{get:(s,o)=>"create"===o?i:(n.has(o)||n.set(o,Ci(o,void 0,t,e)),n.get(o))})}class Pi{constructor(t){this.isMounted=!1,this.node=t}update(){}}function Mi(t,e,n){const i=t.getProps();return Qe(i,e,void 0!==n?n:i.custom,t)}function Ai(t,e){if(t?.inherit&&e){const{inherit:n,...i}=t;return{...e,...i}}return t}function ki(t,e){const n=t?.[e]??t?.default??t;return n!==t?Ai(n,t):n}const Vi=t=>Array.isArray(t);function Di(t,e,n){t.hasValue(e)?t.getValue(e).set(n):t.addValue(e,We(n))}function Ri(t){return Vi(t)?t[t.length-1]||0:t}function Bi(t,e){const n=t.getValue("willChange");if(i=n,Boolean(gt(i)&&i.add))return n.add(e);if(!n&&Yt.WillChange){const n=new Yt.WillChange("auto");t.addValue("willChange",n),n.add(e)}var i}function ji(t){return t.props[xi]}const Fi=(...t)=>t.reduce((t,e)=>n=>e(t(n)));function Ii(t,e,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?t+6*(e-t)*n:n<.5?e:n<2/3?t+(e-t)*(2/3-n)*6:t}function Oi(t,e){return n=>n>0?e:t}const Ni=(t,e,n)=>{const i=t*t,s=n*(e*e-i)+i;return s<0?0:Math.sqrt(s)},_i=[W,U,K];function Ui(t){const e=(n=t,_i.find(t=>t.test(n)));var n;if(Boolean(e),!Boolean(e))return!1;let i=e.parse(t);return e===K&&(i=function({hue:t,saturation:e,lightness:n,alpha:i}){t/=360,n/=100;let s=0,o=0,r=0;if(e/=100){const i=n<.5?n*(1+e):n+e-n*e,a=2*n-i;s=Ii(a,i,t+1/3),o=Ii(a,i,t),r=Ii(a,i,t-1/3)}else s=o=r=n;return{red:Math.round(255*s),green:Math.round(255*o),blue:Math.round(255*r),alpha:i}}(i)),i}const Wi=(t,e)=>{const n=Ui(t),i=Ui(e);if(!n||!i)return Oi(t,e);const s={...n};return t=>(s.red=Ni(n.red,i.red,t),s.green=Ni(n.green,i.green,t),s.blue=Ni(n.blue,i.blue,t),s.alpha=wn(n.alpha,i.alpha,t),U.transform(s))},Zi=new Set(["none","hidden"]);function $i(t,e){return n=>wn(t,e,n)}function Yi(t){return"number"==typeof t?$i:"string"==typeof t?Tt(t)?Oi:G.test(t)?Wi:Hi:Array.isArray(t)?zi:"object"==typeof t?G.test(t)?Wi:Xi:Oi}function zi(t,e){const n=[...t],i=n.length,s=t.map((t,n)=>Yi(t)(t,e[n]));return t=>{for(let e=0;e<i;e++)n[e]=s[e](t);return n}}function Xi(t,e){const n={...t,...e},i={};for(const s in n)void 0!==t[s]&&void 0!==e[s]&&(i[s]=Yi(t[s])(t[s],e[s]));return t=>{for(const e in i)n[e]=i[e](t);return n}}const Hi=(t,e)=>{const n=ot.createTransformer(e),i=nt(t),s=nt(e);return i.indexes.var.length===s.indexes.var.length&&i.indexes.color.length===s.indexes.color.length&&i.indexes.number.length>=s.indexes.number.length?Zi.has(t)&&!s.values.length||Zi.has(e)&&!i.values.length?function(t,e){return Zi.has(t)?n=>n<=0?t:e:n=>n>=1?e:t}(t,e):Fi(zi(function(t,e){const n=[],i={color:0,var:0,number:0};for(let s=0;s<e.values.length;s++){const o=e.types[s],r=t.indexes[o][i[o]],a=t.values[r]??0;n[s]=a,i[o]++}return n}(i,s),s.values),n):Oi(t,e)};function qi(t,e,n){if("number"==typeof t&&"number"==typeof e&&"number"==typeof n)return wn(t,e,n);return Yi(t)(t,e)}const Ki=t=>{const e=({timestamp:e})=>t(e);return{start:(t=!0)=>Ht.update(e,t),stop:()=>qt(e),now:()=>Kt.isProcessing?Kt.timestamp:Oe.now()}},Gi=2e4;function Qi(t){let e=0;let n=t.next(e);for(;!n.done&&e<Gi;)e+=50,n=t.next(e);return e>=Gi?1/0:e}const Ji=100,ts=10,es=1,ns=0,is=800,ss=.3,os=.3,rs={granular:.01,default:2},as={granular:.005,default:.5},ls=.01,cs=10,us=.05,hs=1;function ds(t,e){return t*Math.sqrt(1-e*e)}const ms=.001;const ps=["duration","bounce"],fs=["stiffness","damping","mass"];function gs(t,e){return e.some(e=>void 0!==t[e])}function vs(t){let e={velocity:ns,stiffness:Ji,damping:ts,mass:es,isResolvedFromDuration:!1,...t};if(!gs(t,fs)&&gs(t,ps))if(e.velocity=0,t.visualDuration){const n=t.visualDuration,i=2*Math.PI/(1.2*n),s=i*i,o=2*V(.05,1,1-(t.bounce||0))*Math.sqrt(s);e={...e,mass:es,stiffness:s,damping:o}}else{const n=function({duration:t=is,bounce:e=ss,velocity:n=ns,mass:i=es}){let s,o;he(cs);let r=1-e;r=V(us,hs,r),t=V(ls,cs,de(t)),r<1?(s=e=>
1{const i=e*r,s=i*t,o=i-n,a=ds(e,r),l=Math.exp(-s);return ms-o/a*l},o=e=>{const i=e*r*t,o=i*n+n,a=Math.pow(r,2)*Math.pow(e,2)*t,l=Math.exp(-i),c=ds(Math.pow(e,2),r);return(-s(e)+ms>0?-1:1)*((o-a)*l)/c}):(s=e=>Math.exp(-e*t)*((e-n)*t+1)-.001,o=e=>Math.exp(-e*t)*(t*t*(n-e)));const a=function(t,e,n){let i=n;for(let s=1;s<12;s++)i-=t(i)/e(i);return i}(s,o,5/t);if(t=he(t),isNaN(a))return{stiffness:Ji,damping:ts,duration:t};{const e=Math.pow(a,2)*i;return{stiffness:e,damping:2*r*Math.sqrt(i*e),duration:t}}}({...t,velocity:0});e={...e,...n,mass:es},e.isResolvedFromDuration=!0}return e}function ys(t=os,e=ss){const n="object"!=typeof t?{visualDuration:t,keyframes:[0,1],bounce:e}:t;let{restSpeed:i,restDelta:s}=n;const o=n.keyframes[0],r=n.keyframes[n.keyframes.length-1],a={done:!1,value:o},{stiffness:l,damping:c,mass:u,duration:h,velocity:d,isResolvedFromDuration:m}=vs({...n,velocity:-de(n.velocity||0)}),p=d||0,f=c/(2*Math.sqrt(l*u)),g=r-o,v=de(Math.sqrt(l/u)),y=Math.abs(g)<5;let x,w,b,E,S,C;if(i||(i=y?rs.granular:rs.default),s||(s=y?as.granular:as.default),f<1)b=ds(v,f),E=(p+f*v*g)/b,x=t=>{const e=Math.exp(-f*v*t);return r-e*(E*Math.sin(b*t)+g*Math.cos(b*t))},S=f*v*E+g*b,C=f*v*g-E*b,w=t=>Math.exp(-f*v*t)*(S*Math.sin(b*t)+C*Math.cos(b*t));else if(1===f){x=t=>r-Math.exp(-v*t)*(g+(p+v*g)*t);const t=p+v*g;w=e=>Math.exp(-v*e)*(v*t*e-p)}else{const t=v*Math.sqrt(f*f-1);x=e=>{const n=Math.exp(-f*v*e),i=Math.min(t*e,300);return r-n*((p+f*v*g)*Math.sinh(i)+t*g*Math.cosh(i))/t};const e=(p+f*v*g)/t,n=f*v*e-g*t,i=f*v*g-e*t;w=e=>{const s=Math.exp(-f*v*e),o=Math.min(t*e,300);return s*(n*Math.sinh(o)+i*Math.cosh(o))}}const T={calculatedDuration:m&&h||null,velocity:t=>he(w(t)),next:t=>{if(!m&&f<1){const e=Math.exp(-f*v*t),n=Math.sin(b*t),o=Math.cos(b*t),l=r-e*(E*n+g*o),c=he(e*(S*n+C*o));return a.done=Math.abs(c)<=i&&Math.abs(r-l)<=s,a.value=a.done?r:l,a}const e=x(t);if(m)a.done=t>=h;else{const n=he(w(t));a.done=Math.abs(n)<=i&&Math.abs(r-e)<=s}return a.value=a.done?r:e,a},toString:()=>{const t=Math.min(Qi(T),Gi),e=Le(e=>T.next(t*e).value,t,30);return t+"ms "+e},toTransition:()=>{}};return T}ys.applyToOptions=t=>{const e=function(t,e=100,n){const i=n({...t,keyframes:[0,e]}),s=Math.min(Qi(i),Gi);return{type:"keyframes",ease:t=>i.next(s*t).value/e,duration:de(s)}}(t,100,ys);return t.ease=e.ease,t.duration=he(e.duration),t.type="keyframes",t};function xs(t,e,n){const i=Math.max(e-5,0);return Ne(n-t(i),e-i)}function ws({keyframes:t,velocity:e=0,power:n=.8,timeConstant:i=325,bounceDamping:s=10,bounceStiffness:o=500,modifyTarget:r,min:a,max:l,restDelta:c=.5,restSpeed:u}){const h=t[0],d={done:!1,value:h},m=t=>void 0===a?l:void 0===l||Math.abs(a-t)<Math.abs(l-t)?a:l;let p=n*e;const f=h+p,g=void 0===r?f:r(f);g!==f&&(p=g-h);const v=t=>-p*Math.exp(-t/i),y=t=>g+v(t),x=t=>{const e=v(t),n=y(t);d.done=Math.abs(e)<=c,d.value=d.done?g:n};let w,b;const E=t=>{var e;(e=d.value,void 0!==a&&e<a||void 0!==l&&e>l)&&(w=t,b=ys({keyframes:[d.value,m(d.value)],velocity:xs(y,t,d.value),damping:s,stiffness:o,restDelta:c,restSpeed:u}))};return E(0),{calculatedDuration:null,next:t=>{let e=!1;return b||void 0!==w||(e=!0,x(t),E(t)),void 0!==w&&t>=w?b.next(t-w):(!e&&x(t),d)}}}const bs=(t,e,n)=>(((1-3*n+3*e)*t+(3*n-6*e))*t+3*e)*t;function Es(t,e,n,i){if(t===e&&n===i)return $t;const s=e=>function(t,e,n,i,s){let o,r,a=0;do{r=e+(n-e)/2,o=bs(r,i,s)-t,o>0?n=r:e=r}while(Math.abs(o)>1e-7&&++a<12);return r}(e,0,1,t,n);return t=>0===t||1===t?t:bs(s(t),e,i)}const Ss=Es(.42,0,1,1),Cs=Es(0,0,.58,1),Ts=Es(.42,0,.58,1),Ls=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2,Ps=t=>e=>1-t(1-e),Ms=Es(.33,1.53,.69,.99),As=Ps(Ms),ks=Ls(As),Vs=t=>t>=1?1:(t*=2)<1?.5*As(t):.5*(2-Math.pow(2,-10*(t-1))),Ds=t=>1-Math.sin(Math.acos(t)),Rs=Ps(Ds),Bs=Ls(Ds),js={linear:$t,easeIn:Ss,easeInOut:Ts,easeOut:Cs,circIn:Ds,circInOut:Bs,circOut:Rs,backIn:As,backInOut:ks,backOut:Ms,anticipate:Vs},Fs=t=>{if(Ce(t)){t.length;const[e,n,i,s]=t;return Es(e,n,i,s)}return"string"==typeof t?js[t]:t},Is=(t,e,n)=>{const i=e-t;return i?(n-t)/i:1};function Os(t,e,{clamp:n=!0,ease:i,mixer:s}={}){const o=t.length;if(e.length,1===o)return()=>e[0];if(2===o&&e[0]===e[1])return()=>e[1];const r=t[0]===t[1];t[0]>t[o-1]&&(t=[...t].reverse(),e=[...e].reverse());const a=function(t,e,n){const i=[],s=n||Yt.mix||qi,o=t.length-1;for(let r=0;r<o;r++){let n=s(t[r],t[r+1]);if(e){const t=Array.isArray(e)?e[r]||$t:e;n=Fi(t,n)}i.push(n)}return i}(e,i,s),l=a.length,c=n=>{if(r&&n<t[0])return e[0];let i=0;if(l>1)for(;i<t.length-2&&!(n<t[i+1]);i++);const s=Is(t[i],t[i+1],n);return a[i](s)};return n?e=>c(V(t[0],t[o-1],e)):c}function Ns(t){const e=[0];return function(t,e){const n=t[t.length-1];for(let i=1;i<=e;i++){const s=Is(0,e,i);t.push(wn(n,1,s))}}(e,t.length-1),e}function _s({duration:t=300,keyframes:e,times:n,ease:i="easeInOut"}){const s=(t=>Array.isArray(t)&&"number"!=typeof t[0])(i)?i.map(Fs):Fs(i),o={done:!1,value:e[0]},r=function(t,e){return t.map(t=>t*e)}(n&&n.length===e.length?n:Ns(e),t),a=Os(r,e,{ease:Array.isArray(s)?s:(l=e,c=s,l.map(()=>c||Ts).splice(0,l.length-1))});var l,c;return{calculatedDuration:t,next:e=>(o.value=a(e),o.done=e>=t,o)}}const Us={decay:ws,inertia:ws,tween:_s,keyframes:_s,spring:ys};function Ws(t){"string"==typeof t.type&&(t.type=Us[t.type])}const Zs=t=>t/100;class $s extends Se{constructor(t){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.delayState={done:!1,value:void 0},this.stop=()=>{const{motionValue:t}=this.options;t&&t.updatedAt!==Oe.now()&&this.tick(Oe.now()),this.isStopped=!0,"idle"!==this.state&&(this.teardown(),this.options.onStop?.())},this.options=t,this.initAnimation(),this.play(),!1===t.autoplay&&this.pause()}initAnimation(){const{options:t}=this;Ws(t);const{type:e=_s,repeat:n=0,repeatDelay:i=0,repeatType:s,velocity:o=0}=t;let{keyframes:r}=t;const a=e||_s;a!==_s&&"number"!=typeof r[0]&&(this.mixKeyframes=Fi(Zs,qi(r[0],r[1])),r=[0,100]);const l=a({...t,keyframes:r});"mirror"===s&&(this.mirroredGenerator=a({...t,keyframes:[...r].reverse(),velocity:-o})),null===l.calculatedDuration&&(l.calculatedDuration=Qi(l));const{calculatedDuration:c}=l;this.calculatedDuration=c,this.resolvedDuration=c+i,this.totalDuration=this.resolvedDuration*(n+1)-i,this.generator=l}updateTime(t){const e=Math.round(t-this.startTime)*this.playbackSpeed;null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=e}tick(t,e=!1){const{generator:n,totalDuration:i,mixKeyframes:s,mirroredGenerator:o,resolvedDuration:r,calculatedDuration:a}=this;if(null===this.startTime)return n.next(0);const{delay:l=0,keyframes:c,repeat:u,repeatType:h,repeatDelay:d,type:m,onUpdate:p,finalKeyframe:f}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-i/this.speed,this.startTime)),e?this.currentTime=t:this.updateTime(t);const g=this.currentTime-l*(this.playbackSpeed>=0?1:-1),v=this.playbackSpeed>=0?g<0:g>i;this.currentTime=Math.max(g,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=i);let y,x=this.currentTime,w=n;if(u){const t=Math.min(this.currentTime,i)/r;let e=Math.floor(t),n=t%1;!n&&t>=1&&(n=1),1===n&&e--,e=Math.min(e,u+1);Boolean(e%2)&&("reverse"===h?(n=1-n,d&&(n-=d/r)):"mirror"===h&&(w=o)
vendor: 4,170 bytes, line 1
1),x=V(0,1,n)*r}v?(this.delayState.value=c[0],y=this.delayState):y=w.next(x),s&&!v&&(y.value=s(y.value));let{done:b}=y;v||null===a||(b=this.playbackSpeed>=0?this.currentTime>=i:this.currentTime<=0);const E=null===this.holdTime&&("finished"===this.state||"running"===this.state&&b);return E&&m!==ws&&(y.value=Ee(c,this.options,f,this.speed)),p&&p(y.value),E&&this.finish(),y}then(t,e){return this.finished.then(t,e)}get duration(){return de(this.calculatedDuration)}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+de(t)}get time(){return de(this.currentTime)}set time(t){t=he(t),this.currentTime=t,null===this.startTime||null!==this.holdTime||0===this.playbackSpeed?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.playbackSpeed),this.driver?this.driver.start(!1):(this.startTime=0,this.state="paused",this.holdTime=t,this.tick(t))}getGeneratorVelocity(){const t=this.currentTime;if(t<=0)return this.options.velocity||0;if(this.generator.velocity)return this.generator.velocity(t);return xs(t=>this.generator.next(t).value,t,this.generator.next(t).value)}get speed(){return this.playbackSpeed}set speed(t){const e=this.playbackSpeed!==t;e&&this.driver&&this.updateTime(Oe.now()),this.playbackSpeed=t,e&&this.driver&&(this.time=de(this.currentTime))}play(){if(this.isStopped)return;const{driver:t=Ki,startTime:e}=this.options;this.driver||(this.driver=t(t=>this.tick(t))),this.options.onPlay?.();const n=this.driver.now();"finished"===this.state?(this.updateFinished(),this.startTime=n):null!==this.holdTime?this.startTime=n-this.holdTime:this.startTime||(this.startTime=e??n),"finished"===this.state&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(Oe.now()),this.holdTime=this.currentTime}complete(){"running"!==this.state&&this.play(),this.state="finished",this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state="finished",this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}attachTimeline(t){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),t.observe(this)}}const Ys={anticipate:Vs,backInOut:ks,circInOut:Bs};function zs(t){"string"==typeof t.ease&&t.ease in Ys&&(t.ease=Ys[t.ease])}class Xs extends De{constructor(t){zs(t),Ws(t),super(t),void 0!==t.startTime&&!1!==t.autoplay&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){const{motionValue:e,onUpdate:n,onComplete:i,element:s,...o}=this.options;if(!e)return;if(void 0!==t)return void e.set(t);const r=new $s({...o,autoplay:!1}),a=Math.max(10,Oe.now()-this.startTime),l=V(0,10,a-10),c=r.sample(a).value,{name:u}=this.options;s&&u&&ge(s,u,c),e.setWithVelocity(r.sample(Math.max(0,a-l)).value,c,l),r.stop()}}const Hs=(t,e)=>"zIndex"!==e&&(!("number"!=typeof t&&!Array.isArray(t))||!("string"!=typeof t||!ot.test(t)&&"0"!==t||t.startsWith("url(")));function qs(t){t.duration=0,t.type="keyframes"}const Ks=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/;const Gs=new Set(["color","backgroundColor","outlineColor","fill","stroke","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"]),Qs=ve(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function Js(t){const{motionValue:e,name:n,repeatDelay:i,repeatType:s,damping:o,type:r,keyframes:a}=t,l=e?.owner?.current;if(!(l instanceof HTMLElement||l instanceof SVGElement))return!1;const{onUpdate:c,transformTemplate:u}=e.owner.getProps();return Qs()&&n&&(Re.has(n)||Gs.has(n)&&function(t){for(let e=0;e<t.length;e++)if("string"==typeof t[e]&&Ks.test(t[e]))return!0;return!1}(a))&&("transform"!==n||!u)&&!c&&!i&&"mirror"!==s&&0!==o&&"inertia"!==r}class to extends Se{constructor({autoplay:t=!0,delay:e=0,type:n="keyframes",repeat:i=0,repeatDelay:s=0,repeatType:
1o="loop",keyframes:r,name:a,motionValue:l,element:c,...u}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=Oe.now();const h={autoplay:t,delay:e,type:n,repeat:i,repeatDelay:s,repeatType:o,name:a,motionValue:l,element:c,...u},d=c?.KeyframeResolver||se;this.keyframeResolver=new d(r,(t,e,n)=>this.onKeyframesResolved(t,e,h,!n),a,l,c),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(t,e,n,i){this.keyframeResolver=void 0;const{name:s,type:o,velocity:r,delay:a,isHandoff:l,onUpdate:c}=n;this.resolvedAt=Oe.now();let u=!0;(function(t,e,n,i){const s=t[0];if(null===s)return!1;if("display"===e||"visibility"===e)return!0;const o=t[t.length-1],r=Hs(s,e),a=Hs(o,e);return!(!r||!a)&&(function(t){const e=t[0];if(1===t.length)return!0;for(let n=0;n<t.length;n++)if(t[n]!==e)return!0}(t)||("spring"===n||Ve(n))&&i)})(t,s,o,r)||(u=!1,!Yt.instantAnimations&&a||c?.(Ee(t,n,e)),t[0]=t[t.length-1],qs(n),n.repeat=0);const h={startTime:i?this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt:void 0,finalKeyframe:e,...n,keyframes:t},d=u&&!l&&Js(h),m=h.motionValue?.owner?.current;let p;if(d)try{p=new Xs({...h,element:m})}catch{p=new $s(h)}else p=new $s(h);p.finished.then(()=>{this.notifyFinished()}).catch($t),this.pendingTimeline&&(this.stopTimeline=p.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=p}get finished(){return this._animation?this.animation.finished:this._finished}then(t,e){return this.finished.finally(t).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),ee=!0,ie(),ne(),ee=!1),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(t){this.animation.time=t}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(t){this.animation.speed=t}get startTime(){return this.animation.startTime}attachTimeline(t){return this._animation?this.stopTimeline=this.animation.attachTimeline(t):this.pendingTimeline=t,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}const eo={type:"spring",stiffness:500,damping:25,restSpeed:10},no={type:"keyframes",duration:.8},io={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},so=(t,{keyframes:e})=>e.length>2?no:k.has(t)?t.startsWith("scale")?{type:"spring",stiffness:550,damping:0===e[1]?2*Math.sqrt(550):30,restSpeed:10}:eo:io,oo=new Set(["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"]);const ro=(t,e,n,i={},s,o)=>r=>{const a=ki(i,t)||{},l=a.delay||i.delay||0;let{elapsed:c=0}=i;c-=he(l);const u={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:e.getVelocity(),...a,delay:-c,onUpdate:t=>{e.set(t),a.onUpdate&&a.onUpdate(t)},onComplete:()=>{r(),a.onComplete&&a.onComplete()},name:t,motionValue:e,element:o?void 0:s};(function(t){for(const e in t)if(!oo.has(e))return!0;return!1})(a)||Object.assign(u,so(t,u)),u.duration&&(u.duration=he(u.duration)),u.repeatDelay&&(u.repeatDelay=he(u.repeatDelay)),void 0!==u.from&&(u.keyframes[0]=u.from);let h=!1;if((!1===u.type||0===u.duration&&!u.repeatDelay)&&(qs(u),0===u.delay&&(h=!0)),(Yt.instantAnimations||Yt.skipAnimations||s?.shouldSkipAnimations||a.skipAnimations)&&(h=!0,qs(u),u.delay=0),u.allowFlatten=!a.type&&!a.ease,h&&!o&&void 0!==e.get()){const t=Ee(u.keyframes,a);if(void 0!==t)return void Ht.update(()=>{u.onUpdate(t),u.onComplete()})}return a.isSync?new $s(u):new to(u)};function ao({protectedKeys:t,needsAnimating:e},n){const i=t.hasOwnProperty(n)&&!0!==e[n];return e[n]=!1,i}function lo(t,e,{delay:n=0,transitionOverride:i,type:s}={}){let{transition:o,transitionEnd:r,...a}=e;const l=t.getDefaultTransition();o=o?Ai(o,l):l;const c=o?.reduceMotion,u=o?.skipAnimations;i&&(o=i);const h=[],d=s&&t.animationState&&t.animationState.getState()[s],m=o?.path;m&&m.animateVisualElement(t,a,o,n,h);for(const p in a){const e=t.getValue(p,t.latestValues[p]??null),i=a[p];if(void 0===i||d&&ao(d,p))continue;const s={delay:n,...ki(o||{},p)};u&&(s.skipAnimations=!0);const r=e.get();if(void 0!==r&&!e.isAnimating()&&!Array.isArray(i)&&i===r&&!s.velocity){Ht.update(()=>e.set(i));continue}let l=!1;if(window.MotionHandoffAnimation){const e=ji(t);if(e){const t=window.MotionHandoffAnimation(e,p,Ht);null!==t&&(s.startTime=t,l=!0)}}Bi(t,p);const m=c??t.shouldReduceMotion;e.start(ro(p,e,i,m&&vt.has(p)?{type:!1}:s,t,l));const f=e.animation;f&&h.push(f)}if(r){const e=()=>Ht.update(()=>{r&&function(t,e){const n=Mi(t,e);let{transitionEnd:i={},transition:s={},...o}=n||{};o={...o,...i};for(const r in o)Di(t,r,Ri(o[r]))}(t,r)});h.length?Promise.all(h).then(e):e()}return h}function co(t,e,n,i=0,s=1){const o=Array.from(t).sort((t,e)=>t.sortNodePosition(e)).indexOf(e),r=t.size,a=(r-1)*i;return"function"==typeof n?n(o,r):1===s?o*i:a-o*i}function uo(t,e,n={}){const i=Mi(t,e,"exit"===n.type?t.presenceContext?.custom:void 0);let{transition:s=t.getDefaultTransition()||{}}=i||{};
vendor: 12,329 bytes, line 1
1n.transitionOverride&&(s=n.transitionOverride);const o=i?()=>Promise.all(lo(t,i,n)):()=>Promise.resolve(),r=t.variantChildren&&t.variantChildren.size?(i=0)=>{const{delayChildren:o=0,staggerChildren:r,staggerDirection:a}=s;return function(t,e,n=0,i=0,s=0,o=1,r){const a=[];for(const l of t.variantChildren)l.notify("AnimationStart",e),a.push(uo(l,e,{...r,delay:n+("function"==typeof i?0:i)+co(t.variantChildren,l,i,s,o)}).then(()=>l.notify("AnimationComplete",e)));return Promise.all(a)}(t,e,i,o,r,a,n)}:()=>Promise.resolve(),{when:a}=s;if(a){const[t,e]="beforeChildren"===a?[o,r]:[r,o];return t().then(()=>e())}return Promise.all([o(),r(n.delay)])}const ho=He.length;function mo(t){if(!t)return;if(!t.isControllingVariants){const e=t.parent&&mo(t.parent)||{};return void 0!==t.props.initial&&(e.initial=t.props.initial),e}const e={};for(let n=0;n<ho;n++){const i=He[n],s=t.props[i];(ze(s)||!1===s)&&(e[i]=s)}return e}function po(t,e){if(!Array.isArray(e))return!1;const n=e.length;if(n!==t.length)return!1;for(let i=0;i<n;i++)if(e[i]!==t[i])return!1;return!0}const fo=[...Xe].reverse(),go=Xe.length;function vo(t){return e=>Promise.all(e.map(({animation:e,options:n})=>function(t,e,n={}){let i;if(t.notify("AnimationStart",e),Array.isArray(e)){const s=e.map(e=>uo(t,e,n));i=Promise.all(s)}else if("string"==typeof e)i=uo(t,e,n);else{const s="function"==typeof e?Mi(t,e,n.custom):e;i=Promise.all(lo(t,s,n))}return i.then(()=>{t.notify("AnimationComplete",e)})}(t,e,n)))}function yo(t){let e=vo(t),n=bo(),i=!0,s=!1;const o=e=>(n,i)=>{const s=Mi(t,i,"exit"===e?t.presenceContext?.custom:void 0);if(s){const{transition:t,transitionEnd:e,...i}=s;n={...n,...i,...e}}return n};function r(r){const{props:a}=t,l=mo(t.parent)||{},c=[],u=new Set;let h={},d=1/0;for(let e=0;e<go;e++){const m=fo[e],p=n[m],f=void 0!==a[m]?a[m]:l[m],g=ze(f),v=m===r?p.isActive:null;!1===v&&(d=e);let y=f===l[m]&&f!==a[m]&&g;if(y&&(i||s)&&t.manuallyAnimateOnMount&&(y=!1),p.protectedKeys={...h},!p.isActive&&null===v||!f&&!p.prevProp||Ye(f)||"boolean"==typeof f)continue;if("exit"===m&&p.isActive&&!0!==v){p.prevResolvedValues&&(h={...h,...p.prevResolvedValues});continue}const x=xo(p.prevProp,f);let w=x||m===r&&p.isActive&&!y&&g||e>d&&g,b=!1;const E=Array.isArray(f)?f:[f];let S=E.reduce(o(m),{});!1===v&&(S={});const{prevResolvedValues:C={}}=p,T={...C,...S},L=e=>{w=!0,u.has(e)&&(b=!0,u.delete(e)),p.needsAnimating[e]=!0;const n=t.getValue(e);n&&(n.liveStyle=!1)};for(const t in T){const e=S[t],n=C[t];if(h.hasOwnProperty(t))continue;let i=!1;i=Vi(e)&&Vi(n)?!po(e,n)||x:e!==n,i?null!=e?L(t):u.add(t):void 0!==e&&u.has(t)?L(t):p.protectedKeys[t]=!0}p.prevProp=f,p.prevResolvedValues=S,p.isActive&&(h={...h,...S}),(i||s)&&t.blockInitialAnimation&&(w=!1);const P=y&&x;w&&(!P||b)&&c.push(...E.map(e=>{const n={type:m};if("string"==typeof e&&(i||s)&&!P&&t.manuallyAnimateOnMount&&t.parent){const{parent:i}=t,s=Mi(i,e);if(i.enteringChildren&&s){const{delayChildren:e}=s.transition||{};n.delay=co(i.enteringChildren,t,e)}}return{animation:e,options:n}}))}if(u.size){const e={};if("boolean"!=typeof a.initial){const n=Mi(t,Array.isArray(a.initial)?a.initial[0]:a.initial);n&&n.transition&&(e.transition=n.transition)}u.forEach(n=>{const i=t.getBaseTarget(n),s=t.getValue(n);s&&(s.liveStyle=!0),e[n]=i??null}),c.push({animation:e})}let m=Boolean(c.length);return!i||!1!==a.initial&&a.initial!==a.animate||t.manuallyAnimateOnMount||(m=!1),i=!1,s=!1,m?e(c):Promise.resolve()}return{animateChanges:r,setActive:function(e,i){if(n[e].isActive===i)return Promise.resolve();t.variantChildren?.forEach(t=>t.animationState?.setActive(e,i)),n[e].isActive=i;const s=r(e);for(const t in n)n[t].protectedKeys={};return s},setAnimateFunction:function(n){e=n(t)},getState:()=>n,reset:()=>{n=bo(),s=!0}}}function xo(t,e){return"string"==typeof e?e!==t:!!Array.isArray(e)&&!po(e,t)}function wo(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function bo(){return{animate:wo(!0),whileInView:wo(),whileHover:wo(),whileTap:wo(),whileDrag:wo(),whileFocus:wo(),exit:wo()}}let Eo=0;const So={animation:{Feature:class extends Pi{constructor(t){super(t),t.animationState||(t.animationState=yo(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();Ye(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:t}=this.node.getProps(),{animate:e}=this.node.prevProps||{};t!==e&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}},exit:{Feature:class extends Pi{constructor(){super(...arguments),this.id=Eo++,this.isExitComplete=!1}update(){if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:e}=this.node.presenceContext,{isPresent:n}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===n)return;if(t&&!1===n){if(this.isExitComplete){const{initial:t,custom:e}=this.node.getProps();if("string"==typeof t||"object"==typeof t&&null!==t&&!Array.isArray(t)){const n=Mi(this.node,t,e);if(n){const{transition:t,transitionEnd:e,...i}=n;for(const n in i)this.node.getValue(n)?.jump(i[n])}}this.node.animationState.reset(),this.node.animationState.animateChanges()}else this.node.animationState.setActive("exit",!1);return void(this.isExitComplete=!1)}const i=this.node.animationState.setActive("exit",!t);e&&!t&&i.then(()=>{this.isExitComplete=!0,e(this.id)})}mount(){const{register:t,onExitComplete:e}=this.node.presenceContext||{};e&&e(this.id),t&&(this.unmount=t(this.id))}unmount(){}}}},Co={x:!1,y:!1};function To(){return Co.x||Co.y}function Lo(t){return[t("x"),t("y")]}function Po(t){return t.max-t.min}function Mo(t,e,n,i=.5){t.origin=i,t.originPoint=wn(e.min,e.max,t.origin),t.scale=Po(n)/Po(e),t.translate=wn(n.min,n.max,t.origin)-t.originPoint,(t.scale>=.9999&&t.scale<=1.0001||isNaN(t.scale))&&(t.scale=1),(t.translate>=-.01&&t.translate<=.01||isNaN(t.translate))&&(t.translate=0)}function Ao(t,e,n,i){Mo(t.x,e.x,n.x,i?i.originX:void 0),Mo(t.y,e.y,n.y,i?i.originY:void 0)}function ko(t,e,n,i=0){const s=i?wn(n.min,n.max,i):n.min;t.min=s+e.min,t.max=t.min+Po(e)}function Vo(t,e,n,i=0){const s=i?wn(n.min,n.max,i):n.min;t.min=e.min-s,t.max=t.min+Po(e)}function Do(t,e,n,i){Vo(t.x,e.x,n.x,i?.x),Vo(t.y,e.y,n.y,i?.y)}const Ro=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);const Bo=new Set(["INPUT","SELECT","TEXTAREA"]);function jo(t,e,n,i={passive:!0}){return t.addEventListener(e,n,i),()=>t.removeEventListener(e,n,i)}function Fo(t){return g(t)&&"ownerSVGElement"in t}function Io(t,e,n){if(null==t)return[];if(t instanceof EventTarget)return[t];if("string"==typeof t){let i=document;e&&(i=e.current);const s=n?.[t]??i.querySelectorAll(t);return s?Array.from(s):[]}return Array.from(t).filter(t=>null!=t)}const Oo=new WeakMap;let No;const _o=(t,e,n)=>(i,s)=>s&&s[0]?s[0][t+"Size"]:Fo(i)&&"getBBox"in i?i.getBBox()[e]:i[n],Uo=_o("inline","width","offsetWidth"),Wo=_o("block","height","offsetHeight");function Zo({target:t,borderBoxSize:e}){Oo.get(t)?.forEach(n=>{n(t,{get width(){return Uo(t,e)},get height(){return Wo(t,e)}})})}function $o(t){t.forEach(Zo)}function Yo(t,e){No||"undefined"!=typeof ResizeObserver&&(No=new ResizeObserver($o));const n=Io(t);return n.forEach(t=>{let n=Oo.get(t);n||(n=new Set,Oo.set(t,n)),n.add(e),No?.observe(t)}),()=>{n.forEach(t=>{const n=Oo.get(t);n?.delete(e),n?.size||No?.unobserve(t)})}}const zo=new Set;let Xo;function Ho(t){return zo.add(t),Xo||(Xo=()=>{const t={get width(){return window.innerWidth},get height(){return window.innerHeight}};zo.forEach(e=>e(t))},window.addEventListener("resize",Xo)),()=>{zo.delete(t),zo.size||"function"!=typeof Xo||(window.removeEventListener("resize",Xo),Xo=void 0)}}function qo(t,e){return"function"==typeof t?Ho(t):Yo(t,e)}const Ko=t=>"mouse"===t.pointerType?"number"!=typeof t.button||t.button<=0:!1!==t.isPrimary;function Go(t){return{point:{x:t.pageX,y:t.pageY}}}function Qo(t,e,n,i){return jo(t,e,(t=>e=>Ko(e)&&t(e,Go(e)))(n),i)}const Jo=({current:t})=>t?t.ownerDocument.defaultView:null,tr=(t,e)=>Math.abs(t-e);const er=new Set(["auto","scroll"]);class nr{constructor(t,e,{transformPagePoint:n,contextWindow:i=window,dragSnapToOrigin:s=!1,distanceThreshold:o=3,element:r}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.lastRawMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=t=>{this.handleScroll(t.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!this.lastMoveEvent||!this.lastMoveEventInfo)return;this.lastRawMoveEventInfo&&(this.lastMoveEventInfo=ir(this.lastRawMoveEventInfo,this.transformPagePoint));const t=or(this.lastMoveEventInfo,this.history),e=null!==this.startEvent,n=function(t,e){const n=tr(t.x,e.x),i=tr(t.y,e.y);return Math.sqrt(n**2+i**2)}(t.offset,{x:0,y:0})>=this.distanceThreshold;if(!e&&!n)return;const{point:i}=t,{timestamp:s}=Kt;this.history.push({...i,timestamp:s});const{onStart:o,onMove:r}=this.handlers;e||(o&&o(this.lastMoveEvent,t),this.startEvent=this.lastMoveEvent),r&&r(this.lastMoveEvent,t)},this.handlePointerMove=(t,e)=>{this.lastMoveEvent=t,this.lastRawMoveEventInfo=e,this.lastMoveEventInfo=ir(e,this.transformPagePoint),Ht.update(this.updatePoint,!0)},this.handlePointerUp=(t,e)=>{this.end();const{onEnd:n,onSessionEnd:i,resumeAnimation:s}=this.handlers;if(!this.dragSnapToOrigin&&this.startEvent||s&&s(),!this.lastMoveEvent||!this.lastMoveEventInfo)return;const o=or("pointercancel"===t.type?this.lastMoveEventInfo:ir(e,this.transformPagePoint),this.history);this.startEvent&&n&&n(t,o),i&&i(t,o)},!Ko(t))return;this.dragSnapToOrigin=s,this.handlers=e,this.transformPagePoint=n,this.distanceThreshold=o,this.contextWindow=i||window;const a=ir(Go(t),this.transformPagePoint),{point:l}=a,{timestamp:c}=Kt;this.history=[{...l,timestamp:c}];const{onSessionStart:u}=e;u&&u(t,or(a,this.history));const h={passive:!0,capture:!0};this.removeListeners=Fi(Qo(this.contextWindow,"pointermove",this.handlePointerMove,h),Qo(this.contextWindow,"pointerup",this.handlePointerUp,h),Qo(this.contextWindow,"pointercancel",this.handlePointerUp,h)),r&&this.startScrollTracking(r)}startScrollTracking(t){let e=t.parentElement;for(;e;){const t=getComputedStyle(e);(er.has(t.overflowX)||er.has(t.overflowY))&&this.scrollPositions.set(e,{x:e.scrollLeft,y:e.scrollTop}),e=e.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener("scroll",this.onElementScroll,{capture:!0}),window.addEventListener("scroll",this.onWindowScroll),this.removeScrollListeners=()=>{window.removeEventListener("scroll",this.onElementScroll,{capture:!0}),window.removeEventListener("scroll",this.onWindowScroll)}}handleScroll(t){const e=this.scrollPositions.get(t);if(!e)return;const n=t===window,i=n?{x:window.scrollX,y:window.scrollY}:{x:t.scrollLeft,y:t.scrollTop},s=i.x-e.x,o=i.y-e.y;0===s&&0===o||(n?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=s,this.lastMoveEventInfo.point.y+=o):this.history.length>0&&(this.history[0].x-=s,this.history[0].y-=o),this.scrollPositions.set(t,i),Ht.update(this.updatePoint,!0))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),qt(this.updatePoint)}}function ir(t,e){return e?{point:e(t.point)}:t}function sr(t,e){return{x:t.x-e.x,y:t.y-e.y}}function or({point:t},e){return{point:t,delta:sr(t,ar(e)),offset:sr(t,rr(e)),velocity:lr(e,.1)}}function rr(t){return t[0]}function ar(t){return t[t.length-1]}function lr(t,e){if(t.length<2)return{x:0,y:0};let n=t.length-1,i=null;const s=ar(t);for(;n>=0&&(i=t[n],!(s.timestamp-i.timestamp>he(e)));)n--;if(!i)return{x:0,y:0};i===t[0]&&t.length>2&&s.timestamp-i.timestamp>2*he(e)&&(i=t[1]);const o=de(s.timestamp-i.timestamp);if(0===o)return{x:0,y:0};const r={x:(s.x-i.x)/o,y:(s.y-i.y)/o};return r.x===1/0&&(r.x=0),r.y===1/0&&(r.y=0),r}function cr(t,e,n){return{min:void 0!==e?t.min+e:void 0,max:void 0!==n?t.max+n-(t.max-t.min):void 0}}function ur(t,e){let n=e.min-t.min,i=e.max-t.max;return e.max-e.min<t.max-t.min&&([n,i]=[i,n]),{min:n,max:i}}const hr=.35;function dr(t,e,n){return{min:mr(t,e),max:mr(t,n)}}function mr(t,e){return"number"==typeof t?t:t[e]||0}
vendor: 8,292 bytes, line 1
1const pr=new WeakMap;class fr{constructor(t){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic={x:{min:0,max:0},y:{min:0,max:0}},this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=t}start(t,{snapToCursor:e=!1,distanceThreshold:n}={}){const{presenceContext:i}=this.visualElement;if(i&&!1===i.isPresent)return;const{dragSnapToOrigin:s}=this.getProps();this.panSession=new nr(t,{onSessionStart:t=>{e&&this.snapToCursor(Go(t).point),this.stopAnimation()},onStart:(t,e)=>{const{drag:n,dragPropagation:i,onDragStart:s}=this.getProps();if(n&&!i&&(this.openDragLock&&this.openDragLock(),this.openDragLock="x"===(o=n)||"y"===o?Co[o]?null:(Co[o]=!0,()=>{Co[o]=!1}):Co.x||Co.y?null:(Co.x=Co.y=!0,()=>{Co.x=Co.y=!1}),!this.openDragLock))return;var o;this.latestPointerEvent=t,this.latestPanInfo=e,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Lo(t=>{let e=this.getAxisMotionValue(t).get()||0;if(Y.test(e)){const{projection:n}=this.visualElement;if(n&&n.layout){const i=n.layout.layoutBox[t];if(i){e=Po(i)*(parseFloat(e)/100)}}}this.originPoint[t]=e}),s&&Ht.update(()=>s(t,e),!1,!0),Bi(this.visualElement,"transform");const{animationState:r}=this.visualElement;r&&r.setActive("whileDrag",!0)},onMove:(t,e)=>{this.latestPointerEvent=t,this.latestPanInfo=e;const{dragPropagation:n,dragDirectionLock:i,onDirectionLock:s,onDrag:o}=this.getProps();if(!n&&!this.openDragLock)return;const{offset:r}=e;if(i&&null===this.currentDirection)return this.currentDirection=function(t,e=10){let n=null;Math.abs(t.y)>e?n="y":Math.abs(t.x)>e&&(n="x");return n}(r),void(null!==this.currentDirection&&s&&s(this.currentDirection));this.updateAxis("x",e.point,r),this.updateAxis("y",e.point,r),this.visualElement.render(),o&&Ht.update(()=>o(t,e),!1,!0)},onSessionEnd:(t,e)=>{this.latestPointerEvent=t,this.latestPanInfo=e,this.stop(t,e),this.latestPointerEvent=null,this.latestPanInfo=null},resumeAnimation:()=>{const{dragSnapToOrigin:t}=this.getProps();(t||this.constraints)&&this.startAnimation({x:0,y:0})}},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:s,distanceThreshold:n,contextWindow:Jo(this.visualElement),element:this.visualElement.current})}stop(t,e){const n=t||this.latestPointerEvent,i=e||this.latestPanInfo,s=this.isDragging;if(this.cancel(),!s||!i||!n)return;const{velocity:o}=i;this.startAnimation(o);const{onDragEnd:r}=this.getProps();r&&Ht.postRender(()=>r(n,i))}cancel(){this.isDragging=!1;const{projection:t,animationState:e}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.endPanSession();const{dragPropagation:n}=this.getProps();!n&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),e&&e.setActive("whileDrag",!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(t,e,n){const{drag:i}=this.getProps();if(!n||!vr(t,i,this.currentDirection))return;const s=this.getAxisMotionValue(t);let o=this.originPoint[t]+n[t];this.constraints&&this.constraints[t]&&(o=function(t,{min:e,max:n},i){return void 0!==e&&t<e?t=i?wn(e,t,i.min):Math.max(t,e):void 0!==n&&t>n&&(t=i?wn(n,t,i.max):Math.min(t,n)),t}(o,this.constraints[t],this.elastic[t])),s.set(o)}resolveConstraints(){const{dragConstraints:t,dragElastic:e}=this.getProps(),n=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,i=this.constraints;t&&bi(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):this.constraints=!(!t||!n)&&function(t,{top:e,left:n,bottom:i,right:s}){return{x:cr(t.x,n,s),y:cr(t.y,e,i)}}(n.layoutBox,t),this.elastic=function(t=hr){return!1===t?t=0:!0===t&&(t=hr),{x:dr(t,"left","right"),y:dr(t,"top","bottom")}}(e),i!==this.constraints&&!bi(t)&&n&&this.constraints&&!this.hasMutatedConstraints&&Lo(t=>{!1!==this.constraints&&this.getAxisMotionValue(t)&&(this.constraints[t]=function(t,e){const n={};return void 0!==e.min&&(n.min=e.min-t.min),void 0!==e.max&&(n.max=e.max-t.min),n}(n.layoutBox[t],this.constraints[t]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:e}=this.getProps();if(!t||!bi(t))return!1;const n=t.current,{projection:i}=this.visualElement;if(!i||!i.layout)return!1;i.root&&(i.root.scroll=void 0,i.root.updateScroll());const s=function(t,e,n){const i=Zn(t,n),{scroll:s}=e;return s&&(Nn(i.x,s.offset.x),Nn(i.y,s.offset.y)),i}(n,i.root,this.visualElement.getTransformPagePoint());let o=function(t,e){return{x:ur(t.x,e.x),y:ur(t.y,e.y)}}(i.layout.layoutBox,s);if(e){const t=e(function({x:t,y:e}){return{top:e.min,right:t.max,bottom:e.max,left:t.min}}(o));this.hasMutatedConstraints=!!t,t&&(o=Pn(t))}return o}startAnimation(t){const{drag:e,dragMomentum:n,dragElastic:i,dragTransition:s,dragSnapToOrigin:o,onDragTransitionEnd:r}=this.getProps(),a=this.constraints||{},l=Lo(r=>{if(!vr(r,e,this.currentDirection))return;let l=a&&a[r]||{};!0!==o&&o!==r||(l={min:0,max:0});const c=i?200:1e6,u=i?40:1e7,h={type:"inertia",velocity:n?t[r]:0,bounceStiffness:c,bounceDamping:u,timeConstant:750,restDelta:1,restSpeed:10,...s,...l};return this.startAxisValueAnimation(r,h)});return Promise.all(l).then(r)}startAxisValueAnimation(t,e){const n=this.getAxisMotionValue(t);return Bi(this.visualElement,t),n.start(ro(t,n,0,e,this.visualElement,!1))}stopAnimation(){Lo(t=>this.getAxisMotionValue(t).stop())}getAxisMotionValue(t){const e=`_drag${t.toUpperCase()}`,n=this.visualElement.getProps()[e];return n||this.visualElement.getValue(t,this.visualElement.latestValues[t]??0)}snapToCursor(t){Lo(e=>{const{drag:n}=this.getProps();if(!vr(e,n,this.currentDirection))return;const{projection:i}=this.visualElement,s=this.getAxisMotionValue(e);if(i&&i.layout){const{min:n,max:o}=i.layout.layoutBox[e],r=s.get()||0;s.set(t[e]-wn(n,o,.5)+r)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:e}=this.getProps(),{projection:n}=this.visualElement;if(!bi(e)||!n||!this.constraints)return;this.stopAnimation();const i={x:0,y:0};Lo(t=>{const e=this.getAxisMotionValue(t);if(e&&!1!==this.constraints){const n=e.get();i[t]=function(t,e){let n=.5;const i=Po(t),s=Po(e);return s>i?n=Is(e.min,e.max-i,t.min):i>s&&(n=Is(t.min,t.max-s,e.min)),V(0,1,n)}({min:n,max:n},this.constraints[t])}});const{transformTemplate:s}=this.visualElement.getProps();this.visualElement.current.style.transform=s?s({},""):"none",n.root&&n.root.updateScroll(),n.updateLayout(),this.constraints=!1,this.resolveConstraints(),Lo(e=>{if(!vr(e,t,null))return;const n=this.getAxisMotionValue(e),{min:s,max:o}=this.constraints[e];n.set(wn(s,o,i[e]))}),this.visualElement.render()}addListeners(){if(!this.visualElement.current)return;pr.set(this.visualElement,this);const t=this.visualElement.current,e=Qo(t,"pointerdown",e=>{const{drag:n,dragListener:i=!0}=this.getProps(),s=e.target,o=s!==t&&function(t){return Bo.has(t.tagName)||!0===t.isContentEditable}(s);n&&i&&!o&&this.start(e)});let n;const i=()=>{const{dragConstraints:e}=this.getProps();bi(e)&&e.current&&(this.constraints=this.resolveRefConstraints(),n||(n=function(t,e,n){const i=qo(t,gr(n)),s=qo(e,gr(n));return()=>{i(),s()}}(t,e.current,()=>this.scalePositionWithinConstraints())))},{projection:s}=this.visualElement,o=s.addEventListener("measure",i);s&&!s.layout&&(s.root&&s.root.updateScroll(),s.updateLayout()),Ht.read(i);const r=jo(window,"resize",()=>this.scalePositionWithinConstraints()),a=s.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e})=>{this.isDragging&&e&&(Lo(e=>{const n=this.getAxisMotionValue(e);n&&(this.originPoint[e]+=t[e].translate,n.set(n.get()+t[e].translate))}),this.visualElement.render())});return()=>{r(),e(),o(),a&&a(),n&&n()}}getProps(){const t=this.visualElement.getProps(),{drag:e=!1,dragDirectionLock:n=!1,dragPropagation:i=!1,dragConstraints:s=!1,dragElastic:o=hr,dragMomentum:r=!0}=t;return{...t,drag:e,dragDirectionLock:n,dragPropagation:i,dragConstraints:s,dragElastic:o,dragMomentum:r}}}function gr(t){let e=!0;return()=>{e?e=!1:t()}}function vr(t,e,n){return!(!0!==e&&e!==t||null!==n&&n!==t)}const yr=t=>
vendor: 4,149 bytes, line 1
1(e,n)=>{t&&Ht.update(()=>t(e,n),!1,!0)};const xr={hasAnimatedSinceResize:!0,hasEverUpdated:!1};let wr=!1;class br extends i.Component{componentDidMount(){const{visualElement:t,layoutGroup:e,switchLayoutGroup:n,layoutId:i}=this.props,{projection:s}=t;s&&(e.group&&e.group.add(s),n&&n.register&&i&&n.register(s),wr&&s.root.didUpdate(),s.addEventListener("animationComplete",()=>{this.safeToRemove()}),s.setOptions({...s.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),xr.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:e,visualElement:n,drag:i,isPresent:s}=this.props,{projection:o}=n;return o?(o.isPresent=s,t.layoutDependency!==e&&o.setOptions({...o.options,layoutDependency:e}),wr=!0,i||t.layoutDependency!==e||void 0===e||t.isPresent!==s?o.willUpdate():this.safeToRemove(),t.isPresent!==s&&(s?o.promote():o.relegate()||Ht.postRender(()=>{const t=o.getStack();t&&t.members.length||this.safeToRemove()})),null):null}componentDidUpdate(){const{visualElement:t,layoutAnchor:e}=this.props,{projection:n}=t;n&&(n.options.layoutAnchor=e,n.root.didUpdate(),Be.postRender(()=>{!n.currentAnimation&&n.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:e,switchLayoutGroup:n}=this.props,{projection:i}=t;wr=!0,i&&(i.scheduleCheckAfterUnmount(),e&&e.group&&e.group.remove(i),n&&n.deregister&&n.deregister(i))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function Er(t){const[e,n]=(0,T.xQ)(),s=(0,i.useContext)(d);return(0,h.jsx)(br,{...t,layoutGroup:s,switchLayoutGroup:(0,i.useContext)(wi),isPresent:e,safeToRemove:n})}const Sr={value:null,addProjectionMetrics:null};function Cr(t,e){const n=Oe.now(),i=({timestamp:s})=>{const o=s-n;o>=e&&(qt(i),t(o-e))};return Ht.setup(i,!0),()=>qt(i)}const Tr=vn.length,Lr=t=>"string"==typeof t?parseFloat(t):t,Pr=t=>"number"==typeof t||z.test(t);function Mr(t,e){return void 0!==t[e]?t[e]:t.borderRadius}const Ar=Vr(0,.5,Rs),kr=Vr(.5,.95,$t);function Vr(t,e,n){return i=>i<t?0:i>e?1:n(Is(t,e,i))}function Dr(t,e){t.min=e.min,t.max=e.max}function Rr(t,e){Dr(t.x,e.x),Dr(t.y,e.y)}function Br(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}function jr(t,e,n,i,s){return t=Rn(t-=e,1/n,i),void 0!==s&&(t=Rn(t,1/s,i)),t}function Fr(t,e,[n,i,s],o,r){!function(t,e=0,n=1,i=.5,s,o=t,r=t){Y.test(e)&&(e=parseFloat(e),e=wn(r.min,r.max,e/100)-r.min);if("number"!=typeof e)return;let a=wn(o.min,o.max,i);t===o&&(a-=e),t.min=jr(t.min,e,n,a,s),t.max=jr(t.max,e,n,a,s)}(t,e[n],e[i],e[s],e.scale,o,r)}const Ir=["x","scaleX","originX"],Or=["y","scaleY","originY"];function Nr(t,e,n,i){Fr(t.x,e,Ir,n?n.x:void 0,i?i.x:void 0),Fr(t.y,e,Or,n?n.y:void 0,i?i.y:void 0)}function _r(t){return 0===t.translate&&1===t.scale}function Ur(t){return _r(t.x)&&_r(t.y)}function Wr(t,e){return t.min===e.min&&t.max===e.max}function Zr(t,e){return Math.round(t.min)===Math.round(e.min)&&Math.round(t.max)===Math.round(e.max)}function $r(t,e){return Zr(t.x,e.x)&&Zr(t.y,e.y)}function Yr(t){return Po(t.x)/Po(t.y)}function zr(t,e){return t.translate===e.translate&&t.scale===e.scale&&t.originPoint===e.originPoint}class Xr{constructor(){this.members=[]}add(t){me(this.members,t);for(let e=this.members.length-1;e>=0;e--){const n=this.members[e];if(n===t||n===this.lead||n===this.prevLead)continue;const i=n.instance;i&&!1!==i.isConnected||n.snapshot||(pe(this.members,n),n.unmount())}t.scheduleRender()}remove(t){if(pe(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){const t=this.members[this.members.length-1];t&&this.promote(t)}}relegate(t){for(let e=this.members.indexOf(t)-1;e>=0;e--){const t=this.members[e];if(!1!==t.isPresent&&!1!==t.instance?.isConnected)return this.promote(t),!0}return!1}promote(t,e){const n=this.lead;if(t!==n&&(this.prevLead=n,this.lead=t,t.show(),n)){n.updateSnapshot(),t.scheduleRender();const{layoutDependency:i}=n.options,{layoutDependency:s}=t.options;void 0!==i&&i===s||(t.resumeFrom=n,e&&(n.preserveOpacity=!0),n.snapshot&&(t.snapshot=n.snapshot,t.snapshot.latestValues=n.animationValues||n.latestValues),t.root?.isU
vendor: 5,024 bytes, line 1
1pdating&&(t.isLayoutDirty=!0)),!1===t.options.crossfade&&n.hide()}}exitAnimationComplete(){this.members.forEach(t=>{t.options.onExitComplete?.(),t.resumingFrom?.options.onExitComplete?.()})}scheduleRender(){this.members.forEach(t=>t.instance&&t.scheduleRender(!1))}removeLeadSnapshot(){this.lead?.snapshot&&(this.lead.snapshot=void 0)}}const Hr=(t,e)=>t.depth-e.depth;class qr{constructor(){this.children=[],this.isDirty=!1}add(t){me(this.children,t),this.isDirty=!0}remove(t){pe(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(Hr),this.isDirty=!1,this.children.forEach(t)}}const Kr={nodes:0,calculatedTargetDeltas:0,calculatedProjections:0},Gr=["","X","Y","Z"];let Qr=0;function Jr(t,e,n,i){const{latestValues:s}=e;s[t]&&(n[t]=s[t],e.setStaticValue(t,0),i&&(i[t]=0))}function ta(t){if(t.hasCheckedOptimisedAppear=!0,t.root===t)return;const{visualElement:e}=t.options;if(!e)return;const n=ji(e);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:e,layoutId:i}=t.options;window.MotionCancelOptimisedAnimation(n,"transform",Ht,!(e||i))}const{parent:i}=t;i&&!i.hasCheckedOptimisedAppear&&ta(i)}function ea({attachResizeListener:t,defaultParent:e,measureScroll:n,checkIsScrollRoot:i,resetTransform:s}){return class{constructor(t={},n=e?.()){this.id=Qr++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,Sr.value&&(Kr.nodes=Kr.calculatedTargetDeltas=Kr.calculatedProjections=0),this.nodes.forEach(sa),this.nodes.forEach(ma),this.nodes.forEach(pa),this.nodes.forEach(oa),Sr.addProjectionMetrics&&Sr.addProjectionMetrics(Kr)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=t,this.root=n?n.root||n:this,this.path=n?[...n.path,n]:[],this.parent=n,this.depth=n?n.depth+1:0;for(let e=0;e<this.path.length;e++)this.path[e].shouldResetTransform=!0;this.root===this&&(this.nodes=new qr)}addEventListener(t,e){return this.eventHandlers.has(t)||this.eventHandlers.set(t,new fe),this.eventHandlers.get(t).add(e)}notifyListeners(t,...e){const n=this.eventHandlers.get(t);n&&n.notify(...e)}hasListeners(t){return this.eventHandlers.has(t)}mount(e){if(this.instance)return;var n;this.isSVG=Fo(e)&&!(Fo(n=e)&&"svg"===n.tagName),this.instance=e;const{layoutId:i,layout:s,visualElement:o}=this.options;if(o&&!o.current&&o.mount(e),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(s||i)&&(this.isLayoutDirty=!0),t){let n,i=0;const s=()=>this.root.updateBlockedByResize=!1;Ht.read(()=>{i=window.innerWidth}),t(e,()=>{const t=window.innerWidth;t!==i&&(i=t,this.root.updateBlockedByResize=!0,n&&n(),n=Cr(s,250),xr.hasAnimatedSinceResize&&(xr.hasAnimatedSinceResize=!1,this.nodes.forEach(da)))})}i&&this.root.registerSharedNode(i,this),!1!==this.options.animate&&o&&(i||s)&&this.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e,hasRelativeLayoutChanged:n,layout:i})=>{if(this.isTreeAnimationBlocked())return this.target=void 0,void(this.relativeTarget=void 0);const s=this.options.transition||o.getDefaultTransition()||wa,{onLayoutAnimationStart:r,onLayoutAnimationComplete:a}=o.getProps(),l=!this.targetLayout||!$r(this.targetLayout,i),c=!e&&n;if(this.options.layoutRoot||this.resumeFrom||c||e&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const e={...ki(s,"layout"),onPlay:r,onComplete:a};(o.shouldReduceMotion||this.options.layoutRoot)&&(e.delay=0,e.type=!1),this.startAnimation(e),this.setAnimationOrigin(t,c,e.path)}else e||da(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=i})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const t=this.getStack();t&&t.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),qt(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEac
vendor: 6,189 bytes, line 1
1h(fa),this.animationId++)}getTransformTemplate(){const{visualElement:t}=this.options;return t&&t.getProps().transformTemplate}willUpdate(t=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked())return void(this.options.onExitComplete&&this.options.onExitComplete());if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&ta(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let s=0;s<this.path.length;s++){const t=this.path[s];t.shouldResetTransform=!0,"string"!=typeof t.latestValues.x&&"string"!=typeof t.latestValues.y||(t.isLayoutDirty=!0),t.updateScroll("snapshot"),t.options.layoutRoot&&t.willUpdate(!1)}const{layoutId:e,layout:n}=this.options;if(void 0===e&&!n)return;const i=this.getTransformTemplate();this.prevTransformTemplateValue=i?i(this.latestValues,""):void 0,this.updateSnapshot(),t&&this.notifyListeners("willUpdate")}update(){this.updateScheduled=!1;if(this.isUpdateBlocked()){const t=this.updateBlockedByResize;return this.unblockUpdate(),this.updateBlockedByResize=!1,this.clearAllSnapshots(),t&&this.nodes.forEach(la),void this.nodes.forEach(aa)}if(this.animationId<=this.animationCommitId)return void this.nodes.forEach(ca);this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(ua),this.nodes.forEach(ha),this.nodes.forEach(na),this.nodes.forEach(ia)):this.nodes.forEach(ca),this.clearAllSnapshots();const t=Oe.now();Kt.delta=V(0,1e3/60,t-Kt.timestamp),Kt.timestamp=t,Kt.isProcessing=!0,Gt.update.process(Kt),Gt.preRender.process(Kt),Gt.render.process(Kt),Kt.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,Be.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(ra),this.sharedNodes.forEach(ga)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,Ht.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){Ht.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure(),!this.snapshot||Po(this.snapshot.measuredBox.x)||Po(this.snapshot.measuredBox.y)||(this.snapshot=void 0))}updateLayout(){if(!this.instance)return;if(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead()||this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let n=0;n<this.path.length;n++){this.path[n].updateScroll()}const t=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected||(this.layoutCorrected={x:{min:0,max:0},y:{min:0,max:0}}),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:e}=this.options;e&&e.notify("LayoutMeasure",this.layout.layoutBox,t?t.layoutBox:void 0)}updateScroll(t="measure"){let e=Boolean(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===t&&(e=!1),e&&this.instance){const e=i(this.instance);this.scroll={animationId:this.root.animationId,phase:t,isRoot:e,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:e}}}resetTransform(){if(!s)return;const t=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,e=this.projectionDelta&&!Ur(this.projectionDelta),n=this.getTransformTemplate(),i=n?n(this.latestValues,""):void 0,o=i!==this.prevTransformTemplateValue;t&&this.instance&&(e||kn(this.latestValues)||o)&&(s(this.instance,i),this.shouldResetTransform=!1,this.scheduleRender())}measure(t=!0){const e=this.measurePageBox();let n=this.removeElementScroll(e);var i;return t&&(n=this.removeTransform(n)),Sa((i=n).x),Sa(i.y),{animationId:this.root.animationId,measuredBox:e,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:t}=this.options;if(!t)return{x:{min:0,max:0},y:{min:0,max:0}};const e=t.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(Ta))){const{scroll:t}=this.root;t&&(Nn(e.x,t.offset.x),Nn(e.y,t.offset.y))}return e}removeElementScroll(t){const e={x:{min:0,max:0},y:{min:0,max:0}};if(Rr(e,t),this.scroll?.wasRoot)return e;for(let n=0;n<this.path.length;n++){const i=this.path[n],{scroll:s,options:o}=i;i!==this.root&&s&&o.layoutScroll&&(s.wasRoot&&Rr(e,t),Nn(e.x,s.offset.x),Nn(e.y,s.offset.y))}return e}applyTransform(t,e=!1,n){const i=n||{x:{min:0,max:0},y:{min:0,max:0}};Rr(i,t);for(let s=0;s<this.path.length;s++){const t=this.path[s];!e&&t.options.layoutScroll&&t.scroll&&t!==t.root&&(Nn(i.x,-t.scroll.offset.x),Nn(i.y,-t.scroll.offset.y)),kn(t.latestValues)&&Wn(i,t.latestValues,t.layout?.layoutBox)}return kn(this.latestValues)&&Wn(i,this.latestValues,this.layout?.layoutBox),i}removeTransform(t){const e={x:{min:0,max:0},y:{min:0,max:0}};Rr(e,t);for(let n=0;n<this.path.length;n++){const t=this.path[n];if(!kn(t.latestValues))continue;let i;t.instance&&(An(t.latestValues)&&t.updateSnapshot(),i=ft(),Rr(i,t.measurePageBox())),Nr(e,t.latestValues,t.snapshot?.layoutBox,i)}return kn(this.latestValues)&&Nr(e,this.latestValues),e}setTargetDelta(t){this.targetDelta=t,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(t){this.options={...this.options,...t,crossfade:void 0===t.crossfade||t.crossfade}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==Kt.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(t=!1){const e=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=e.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=e.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=e.isSharedProjectionDirty);const n=Boolean(this.resumingFrom)||this!==e;if(!(t||n&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:i,layoutId:s}=this.options;if(!this.layout||!i&&!s)return;
vendor: 19,060 bytes, line 1
1this.resolvedRelativeTargetAt=Kt.timestamp;const o=this.getClosestProjectingParent();var r,a,l,c;(o&&this.linkedParentVersion!==o.layoutVersion&&!o.options.layoutRoot&&this.removeRelativeTarget(),this.targetDelta||this.relativeTarget||(!1!==this.options.layoutAnchor&&o&&o.layout?this.createRelativeTarget(o,this.layout.layoutBox,o.layout.layoutBox):this.removeRelativeTarget()),this.relativeTarget||this.targetDelta)&&(this.target||(this.target={x:{min:0,max:0},y:{min:0,max:0}},this.targetWithTransforms={x:{min:0,max:0},y:{min:0,max:0}}),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),r=this.target,a=this.relativeTarget,l=this.relativeParent.target,c=this.options.layoutAnchor||void 0,ko(r.x,a.x,l.x,c?.x),ko(r.y,a.y,l.y,c?.y)):this.targetDelta?(Boolean(this.resumingFrom)?this.applyTransform(this.layout.layoutBox,!1,this.target):Rr(this.target,this.layout.layoutBox),Fn(this.target,this.targetDelta)):Rr(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,!1!==this.options.layoutAnchor&&o&&Boolean(o.resumingFrom)===Boolean(this.resumingFrom)&&!o.options.layoutScroll&&o.target&&1!==this.animationProgress?this.createRelativeTarget(o,this.target,o.target):this.relativeParent=this.relativeTarget=void 0),Sr.value&&Kr.calculatedTargetDeltas++)}getClosestProjectingParent(){if(this.parent&&!An(this.parent.latestValues)&&!Vn(this.parent.latestValues))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return Boolean((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(t,e,n){this.relativeParent=t,this.linkedParentVersion=t.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget={x:{min:0,max:0},y:{min:0,max:0}},this.relativeTargetOrigin={x:{min:0,max:0},y:{min:0,max:0}},Do(this.relativeTargetOrigin,e,n,this.options.layoutAnchor||void 0),Rr(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){const t=this.getLead(),e=Boolean(this.resumingFrom)||this!==t;let n=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(n=!1),e&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(n=!1),this.resolvedRelativeTargetAt===Kt.timestamp&&(n=!1),n)return;const{layout:i,layoutId:s}=this.options;if(this.isTreeAnimating=Boolean(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!i&&!s)return;Rr(this.layoutCorrected,this.layout.layoutBox);const o=this.treeScale.x,r=this.treeScale.y;!function(t,e,n,i=!1){const s=n.length;if(!s)return;let o,r;e.x=e.y=1;for(let a=0;a<s;a++){o=n[a],r=o.projectionDelta;const{visualElement:s}=o.options;s&&s.props.style&&"contents"===s.props.style.display||(i&&o.options.layoutScroll&&o.scroll&&o!==o.root&&(Nn(t.x,-o.scroll.offset.x),Nn(t.y,-o.scroll.offset.y)),r&&(e.x*=r.x.scale,e.y*=r.y.scale,Fn(t,r)),i&&kn(o.latestValues)&&Wn(t,o.latestValues,o.layout?.layoutBox))}e.x<On&&e.x>In&&(e.x=1),e.y<On&&e.y>In&&(e.y=1)}(this.layoutCorrected,this.treeScale,this.path,e),!t.layout||t.target||1===this.treeScale.x&&1===this.treeScale.y||(t.target=t.layout.layoutBox,t.targetWithTransforms={x:{min:0,max:0},y:{min:0,max:0}});const{target:a}=t;a?(this.projectionDelta&&this.prevProjectionDelta?(Br(this.prevProjectionDelta.x,this.projectionDelta.x),Br(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),Ao(this.projectionDelta,this.layoutCorrected,a,this.latestValues),this.treeScale.x===o&&this.treeScale.y===r&&zr(this.projectionDelta.x,this.prevProjectionDelta.x)&&zr(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",a)),Sr.value&&Kr.calculatedProjections++):this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender())}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(t=!0){if(this.options.visualElement?.scheduleRender(),t){const t=this.getStack();t&&t.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}},this.projectionDelta={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}},this.projectionDeltaWithTransform={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}}}setAnimationOrigin(t,e=!1,n){const i=this.snapshot,s=i?i.latestValues:{},o={...this.latestValues},r={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!e;const a={x:{min:0,max:0},y:{min:0,max:0}},l=(i?i.source:void 0)!==(this.layout?this.layout.source:void 0),c=this.getStack(),u=!c||c.members.length<=1,h=Boolean(l&&!u&&!0===this.options.crossfade&&!this.path.some(xa));let d;this.animationProgress=0;const m=n?.interpolateProjection(t);this.mixTargetDelta=e=>{const n=e/1e3,i=m?.(n);var c,p,f,g,v,y;i?(r.x.translate=i.x,r.x.scale=wn(t.x.scale,1,n),r.x.origin=t.x.origin,r.x.originPoint=t.x.originPoint,r.y.translate=i.y,r.y.scale=wn(t.y.scale,1,n),r.y.origin=t.y.origin,r.y.originPoint=t.y.originPoint):(va(r.x,t.x,n),va(r.y,t.y,n)),this.setTargetDelta(r),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Do(a,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),f=this.relativeTarget,g=this.relativeTargetOrigin,v=a,y=n,ya(f.x,g.x,v.x,y),ya(f.y,g.y,v.y,y),d&&(c=this.relativeTarget,p=d,Wr(c.x,p.x)&&Wr(c.y,p.y))&&(this.isProjectionDirty=!1),d||(d={x:{min:0,max:0},y:{min:0,max:0}}),Rr(d,this.relativeTarget)),l&&(this.animationValues=o,function(t,e,n,i,s,o){s?(t.opacity=wn(0,n.opacity??1,Ar(i)),t.opacityExit=wn(e.opacity??1,0,kr(i))):o&&(t.opacity=wn(e.opacity??1,n.opacity??1,i));for(let r=0;r<Tr;r++){const s=vn[r];let o=Mr(e,s),a=Mr(n,s);void 0===o&&void 0===a||(o||(o=0),a||(a=0),0===o||0===a||Pr(o)===Pr(a)?(t[s]=Math.max(wn(Lr(o),Lr(a),i),0),(Y.test(a)||Y.test(o))&&(t[s]+="%")):t[s]=a)}(e.rotate||n.rotate)&&(t.rotate=wn(e.rotate||0,n.rotate||0,i))}(o,s,this.latestValues,n,h,u)),i&&void 0!==i.rotate&&(this.animationValues||(this.animationValues=o),this.animationValues.pathRotation=i.rotate),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=n},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(t){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&(qt(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=Ht.update(()=>{xr.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=We(0)),this.motionValue.jump(0,!1),this.currentAnimation=function(t,e,n){const i=gt(t)?t:We(t);return i.start(ro("",i,e,n)),i.animation}(this.motionValue,[0,1e3],{...t,velocity:0,isSync:!0,onUpdate:e=>{this.mixTargetDelta(e),t.onUpdate&&t.onUpdate(e)},onComplete:()=>{t.onComplete&&t.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const t=this.getStack();t&&t.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const t=this.getLead();let{targetWithTransforms:e,target:n,layout:i,latestValues:s}=t;if(e&&n&&i){if(this!==t&&this.layout&&i&&Ca(this.options.animationType,this.layout.layoutBox,i.layoutBox)){n=this.target||{x:{min:0,max:0},y:{min:0,max:0}};const e=Po(this.layout.layoutBox.x);n.x.min=t.target.x.min,n.x.max=n.x.min+e;const i=Po(this.layout.layoutBox.y);n.y.min=t.target.y.min,n.y.max=n.y.min+i}Rr(e,n),Wn(e,s),Ao(this.projectionDeltaWithTransform,this.layoutCorrected,e,s)}}registerSharedNode(t,e){this.sharedNodes.has(t)||this.sharedNodes.set(t,new Xr);this.sharedNodes.get(t).add(e);const n=e.options.initialPromotionConfig;e.promote({transition:n?n.transition:void 0,preserveFollowOpacity:n&&n.shouldPreserveFollowOpacity?n.shouldPreserveFollowOpacity(e):void 0})}isLead(){const t=this.getStack();return!t||t.lead===this}getLead(){const{layoutId:t}=this.options;return t&&this.getStack()?.lead||this}getPrevLead(){const{layoutId:t}=this.options;return t?this.getStack()?.prevLead:void 0}getStack(){const{layoutId:t}=this.options;if(t)return this.root.sharedNodes.get(t)}promote({needsReset:t,transition:e,preserveFollowOpacity:n}={}){const i=this.getStack();i&&i.promote(this,n),t&&(this.projectionDelta=void 0,this.needsReset=!0),e&&this.setOptions({transition:e})}relegate(){const t=this.getStack();return!!t&&t.relegate(this)}resetSkewAndRotation(){const{visualElement:t}=this.options;if(!t)return;let e=!1;const{latestValues:n}=t;if((n.z||n.rotate||n.rotateX||n.rotateY||n.rotateZ||n.skewX||n.skewY)&&(e=!0),!e)return;const i={};n.z&&Jr("z",t,i,this.animationValues);for(let s=0;s<Gr.length;s++)Jr(`rotate${Gr[s]}`,t,i,this.animationValues),Jr(`skew${Gr[s]}`,t,i,this.animationValues);t.render();for(const s in i)t.setStaticValue(s,i[s]),this.animationValues&&(this.animationValues[s]=i[s]);t.scheduleRender()}applyProjectionStyles(t,e){if(!this.instance||this.isSVG)return;if(!this.isVisible)return void(t.visibility="hidden");const n=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,t.visibility="",t.opacity="",t.pointerEvents=ci(e?.pointerEvents)||"",void(t.transform=n?n(this.latestValues,""):"none");const i=this.getLead();if(!this.projectionDelta||!this.layout||!i.target)return this.options.layoutId&&(t.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,t.pointerEvents=ci(e?.pointerEvents)||""),void(this.hasProjected&&!kn(this.latestValues)&&(t.transform=n?n({},""):"none",this.hasProjected=!1));t.visibility="";const s=i.animationValues||i.latestValues;this.applyTransformsToTarget();let o=function(t,e,n){let i="";const s=t.x.translate/e.x,o=t.y.translate/e.y,r=n?.z||0;if((s||o||r)&&(i=`translate3d(${s}px, ${o}px, ${r}px) `),1===e.x&&1===e.y||(i+=`scale(${1/e.x}, ${1/e.y}) `),n){const{transformPerspective:t,rotate:e,pathRotation:s,rotateX:o,rotateY:r,skewX:a,skewY:l}=n;t&&(i=`perspective(${t}px) ${i}`),e&&(i+=`rotate(${e}deg) `),s&&(i+=`rotate(${s}deg) `),o&&(i+=`rotateX(${o}deg) `),r&&(i+=`rotateY(${r}deg) `),a&&(i+=`skewX(${a}deg) `),l&&(i+=`skewY(${l}deg) `)}const a=t.x.scale*e.x,l=t.y.scale*e.y;return 1===a&&1===l||(i+=`scale(${a}, ${l})`),i||"none"}(this.projectionDeltaWithTransform,this.treeScale,s);n&&(o=n(s,o)),t.transform=o;const{x:r,y:a}=this.projectionDelta;t.transformOrigin=`${100*r.origin}% ${100*a.origin}% 0`,i.animationValues?t.opacity=i===this?s.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:s.opacityExit:t.opacity=i===this?void 0!==s.opacity?s.opacity:"":void 0!==s.opacityExit?s.opacityExit:0;for(const l in En){if(void 0===s[l])continue;const{correct:e,applyTo:n,isCSSVariable:r}=En[l],a="none"===o?s[l]:e(s[l],i);if(n){const e=n.length;for(let i=0;i<e;i++)t[n[i]]=a}else r?this.options.visualElement.renderState.vars[l]=a:t[l]=a}this.options.layoutId&&(t.pointerEvents=i===this?ci(e?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(t=>t.currentAnimation?.stop()),this.root.nodes.forEach(aa),this.root.sharedNodes.clear()}}}function na(t){t.updateLayout()}function ia(t){const e=t.resumeFrom?.snapshot||t.snapshot;if(t.isLead()&&t.layout&&e&&t.hasListeners("didUpdate")){const{layoutBox:n,measuredBox:i}=t.layout,{animationType:s}=t.options,o=e.source!==t.layout.source;if("size"===s)Lo(t=>{const i=o?e.measuredBox[t]:e.layoutBox[t],s=Po(i);i.min=n[t].min,i.max=i.min+s});else if("x"===s||"y"===s){const t="x"===s?"y":"x";Dr(o?e.measuredBox[t]:e.layoutBox[t],n[t])}else Ca(s,e.layoutBox,n)&&Lo(i=>{const s=o?e.measuredBox[i]:e.layoutBox[i],r=Po(n[i]);s.max=s.min+r,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[i].max=t.relativeTarget[i].min+r)});const r={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};Ao(r,n,e.layoutBox);const a={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};o?Ao(a,t.applyTransform(i,!0),e.measuredBox):Ao(a,n,e.layoutBox);const l=!Ur(r);let c=!1;if(!t.resumeFrom){const i=t.getClosestProjectingParent();if(i&&!i.resumeFrom){const{snapshot:s,layout:o}=i;if(s&&o){const r=t.options.layoutAnchor||void 0,a={x:{min:0,max:0},y:{min:0,max:0}};Do(a,e.layoutBox,s.layoutBox,r);const l={x:{min:0,max:0},y:{min:0,max:0}};Do(l,n,o.layoutBox,r),$r(a,l)||(c=!0),i.options.layoutRoot&&(t.relativeTarget=l,t.relativeTargetOrigin=a,t.relativeParent=i)}}}t.notifyListeners("didUpdate",{layout:n,snapshot:e,delta:a,layoutDelta:r,hasLayoutChanged:l,hasRelativeLayoutChanged:c})}else if(t.isLead()){const{onExitComplete:e}=t.options;e&&e()}t.options.transition=void 0}function sa(t){Sr.value&&Kr.nodes++,t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=Boolean(t.isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function oa(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function ra(t){t.clearSnapshot()}function aa(t){t.clearMeasurements()}function la(t){t.isLayoutDirty=!0,t.updateLayout()}function ca(t){t.isLayoutDirty=!1}function ua(t){t.isAnimationBlocked&&t.layout&&!t.isLayoutDirty&&(t.snapshot=t.layout,t.isLayoutDirty=!0)}function ha(t){const{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function da(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function ma(t){t.resolveTargetDelta()}function pa(t){t.calcProjection()}function fa(t){t.resetSkewAndRotation()}function ga(t){t.removeLeadSnapshot()}function va(t,e,n){t.translate=wn(e.translate,0,n),t.scale=wn(e.scale,1,n),t.origin=e.origin,t.originPoint=e.originPoint}function ya(t,e,n,i){t.min=wn(e.min,n.min,i),t.max=wn(e.max,n.max,i)}function xa(t){return t.animationValues&&void 0!==t.animationValues.opacityExit}const wa={duration:.45,ease:[.4,0,.1,1]},ba=t=>"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),Ea=ba("applewebkit/")&&!ba("chrome/")?Math.round:$t;function Sa(t){t.min=Ea(t.min),t.max=Ea(t.max)}function Ca(t,e,n){return"position"===t||"preserve-aspect"===t&&(i=Yr(e),s=Yr(n),o=.2,!(Math.abs(i-s)<=o));var i,s,o}function Ta(t){return t!==t.root&&t.scroll?.wasRoot}const La=ea({attachResizeListener:(t,e)=>jo(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0}),Pa={current:void 0},Ma=ea({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!Pa.current){const t=new La({});t.mount(window),t.setOptions({layoutScroll:!0}),Pa.current=t}return Pa.current},resetTransform:(t,e)=>{t.style.transform=void 0!==e?e:"none"},checkIsScrollRoot:t=>Boolean("fixed"===window.getComputedStyle(t).position)}),Aa={pan:{Feature:class extends Pi{constructor(){super(...arguments),this.removePointerDownListener=$t}onPointerDown(t){this.session=new nr(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:Jo(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:e,onPan:n,onPanEnd:i}=this.node.getProps();return{onSessionStart:yr(t),onStart:yr(e),onMove:yr(n),onEnd:(t,e)=>{delete this.session,i&&Ht.postRender(()=>i(t,e))}}}mount(){this.removePointerDownListener=Qo(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}},drag:{Feature:class extends Pi{constructor(t){super(t),this.removeGroupControls=$t,this.removeListeners=$t,this.controls=new fr(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||$t}update(){const{dragControls:t}=this.node.getProps(),{dragControls:e}=this.node.prevProps||{};t!==e&&(this.removeGroupControls(),t&&(this.removeGroupControls=t.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}},ProjectionNode:Ma,MeasureLayout:Er}};function ka(t,e){const n=Io(t),i=new AbortController;return[n,{passive:!0,...e,signal:i.signal},()=>i.abort()]}function Va(t,e,n={}){const[i,s,o]=ka(t,n);return i.forEach(t=>{let n,i=!1,o=!1;const r=e=>{n&&(n(e),n=void 0),t.removeEventListener("pointerleave",l)},a=t=>{i=!1,window.removeEventListener("pointerup",a),window.removeEventListener("pointercancel",a),o&&(o=!1,r(t))},l=t=>{"touch"!==t.pointerType&&(i?o=!0:r(t))};t.addEventListener("pointerenter",i=>{if("touch"===i.pointerType||To())return;o=!1;const r=e(t,i);"function"==typeof r&&(n=r,t.addEventListener("pointerleave",l,s))},s),t.addEventListener("pointerdown",()=>{i=!0,window.addEventListener("pointerup",a,s),window.addEventListener("pointercancel",a,s)},s)}),o}function Da(t,e,n){const{props:i}=t;t.animationState&&i.whileHover&&t.animationState.setActive("whileHover","Start"===n);const s=i["onHover"+n];s&&Ht.postRender(()=>s(e,Go(e)))}const Ra=(t,e)=>!!e&&(t===e||Ra(t,e.parentElement)),Ba=new WeakSet;function ja(t){return e=>{"Enter"===e.key&&t(e)}}function Fa(t,e){t.dispatchEvent(new PointerEvent("pointer"+e,{isPrimary:!0,bubbles:!0}))}function Ia(t){return Ko(t)&&!To()}const Oa=new WeakSet;function Na(t,e,n={}){const[i,s,o]=ka(t,n),r=t=>{const i=t.currentTarget;if(!Ia(t))return;if(Oa.has(t))return;Ba.add(i),n.stopPropagation&&Oa.add(t);const o=e(i,t),r={...s,capture:!0},a=(t,e)=>{window.removeEventListener("pointerup",l,r),window.removeEventListener("pointercancel",c,r),Ba.has(i)&&Ba.delete(i),Ia(t)&&"function"==typeof o&&o(t,{success:e})},l=t=>{a(t,i===window||i===document||n.useGlobalTarget||Ra(i,t.target))},c=t=>{a(t,!1)};window.addEventListener("pointerup",l,r),window.addEventListener("pointercancel",c,r)};
1return i.forEach(t=>{var e;(n.useGlobalTarget?window:t).addEventListener("pointerdown",r,s),v(t)&&(t.addEventListener("focus",t=>((t,e)=>{const n=t.currentTarget;if(!n)return;const i=ja(()=>{if(Ba.has(n))return;Fa(n,"down");const t=ja(()=>{Fa(n,"up")});n.addEventListener("keyup",t,e),n.addEventListener("blur",()=>Fa(n,"cancel"),e)});n.addEventListener("keydown",i,e),n.addEventListener("blur",()=>n.removeEventListener("keydown",i),e)})(t,s)),e=t,Ro.has(e.tagName)||!0===e.isContentEditable||t.hasAttribute("tabindex")||(t.tabIndex=0))}),o}function _a(t,e,n){const{props:i}=t;if(t.current instanceof HTMLButtonElement&&t.current.disabled)return;t.animationState&&i.whileTap&&t.animationState.setActive("whileTap","Start"===n);const s=i["onTap"+("End"===n?"":n)];s&&Ht.postRender(()=>s(e,Go(e)))}const Ua=new WeakMap,Wa=new WeakMap,Za=t=>{const e=Ua.get(t.target);e&&e(t)},$a=t=>{t.forEach(Za)};function Ya(t,e,n){const i=function({root:t,...e}){const n=t||document;Wa.has(n)||Wa.set(n,{});const i=Wa.get(n),s=JSON.stringify(e);return i[s]||(i[s]=new IntersectionObserver($a,{root:t,...e})),i[s]}(e);return Ua.set(t,n),i.observe(t),()=>{Ua.delete(t),i.unobserve(t)}}const za={some:0,all:1};const Xa={inView:{Feature:class extends Pi{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.stopObserver?.();const{viewport:t={}}=this.node.getProps(),{root:e,margin:n,amount:i="some",once:s}=t,o={root:e?e.current:void 0,rootMargin:n,threshold:"number"==typeof i?i:za[i]};this.stopObserver=Ya(this.node.current,o,t=>{const{isIntersecting:e}=t;if(this.isInView===e)return;if(this.isInView=e,s&&!e&&this.hasEnteredView)return;e&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",e);const{onViewportEnter:n,onViewportLeave:i}=this.node.getProps(),o=e?n:i;o&&o(t)})}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;const{props:t,prevProps:e}=this.node;["amount","margin","root"].some(function({viewport:t={}},{viewport:e={}}={}){return n=>t[n]!==e[n]}(t,e))&&this.startObserver()}unmount(){this.stopObserver?.(),this.hasEnteredView=!1,this.isInView=!1}}},tap:{Feature:class extends Pi{mount(){const{current:t}=this.node;if(!t)return;const{globalTapTarget:e,propagate:n}=this.node.props;this.unmount=Na(t,(t,e)=>(_a(this.node,e,"Start"),(t,{success:e})=>_a(this.node,t,e?"End":"Cancel")),{useGlobalTarget:e,stopPropagation:!1===n?.tap})}unmount(){}}},focus:{Feature:class extends Pi{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch(e){t=!0}t&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){this.isActive&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=Fi(jo(this.node.current,"focus",()=>this.onFocus()),jo(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}},hover:{Feature:class extends Pi{mount(){const{current:t}=this.node;t&&(this.unmount=Va(t,(t,e)=>(Da(this.node,e,"Start"),t=>Da(this.node,t,"End"))))}unmount(){}}}},Ha=Li({...So,...Xa,...Aa,...{layout:{ProjectionNode:Ma,MeasureLayout:Er}}},Xn);var qa,Ka,Ga,Qa=n(55268),Ja=n(75363),tl=n(74728),el=n.n(tl),nl=n(91638);function il(){return il=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)({}).hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},il.apply(null,arguments)}const sl=t=>i.createElement("svg",il({xmlns:"http://www.w3.org/2000/svg",width:18,height:18,viewBox:"0 0 18 18",fill:"none",stroke:"currentColor","aria-hidden":!0},t),qa||(qa=i.createElement("path",{d:"M7.18164 7.18137C7.18182 6.25685 7.8758 5.47969 8.79441 5.3753C9.71302 5.27091 10.5637 5.87255 10.7713 6.77345C10.9789 7.67436 10.4773 8.58761 9.6057 8.89579C9.24234 9.02426 8.99948 9.3679 8.99969 9.7533V10.1636",strokeWidth:1.3,strokeLinecap:"round",strokeLinejoin:"round"})),Ka||(Ka=i.createElement("path",{d:"M9.0229 12.0909C8.90994 12.0909 8.81836 12.1824 8.81836 12.2954C8.81836 12.4084 8.90994 12.4999 9.0229 12.4999C9.13587 12.4999 9.22745 12.4084 9.22745 12.2954C9.22745 12.1824 9.13587 12.0909 9.0229 12.0909V12.0909",strokeWidth:1.3,strokeLinecap:"round",strokeLinejoin:"round"})),Ga||(Ga=i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9 16.9998C13.4183 16.9998 17 13.418 17 8.99976C17 4.58148 13.4183 0.999756 9 0.999756C4.58172 0.999756 1 4.58148 1 8.99976C1 13.418 4.58172 16.9998 9 16.9998Z",strokeWidth:1.3})));var ol=n(51331),rl=n(66601),al=n(21532),ll=n(61288),cl=n(91834),ul=n(6662);var hl=({contactLink:t,faqItems:e,alternative:n=!1,resources:s})=>{const{0:o,1:a}=(0,i.useState)(!1),l=(0,Ja.useIntl)(),c={"aria-hidden":!o,inert:o?void 0:""};return i.createElement("div",{className:"help-button"},i.createElement(cl.A,{variant:n?"plain-tertiary":"inverted-tertiary",onClick:()=>{a(t=>!t)}},i.createElement(ll.A,{sm:i.createElement(sl,null),lg:i.createElement(ol.h,null)}),i.createElement(Ja.FormattedMessage,{id:"registration.faq.help"})),i.createElement("div",Object.assign({className:r()("help-button__content container-lg-down--fullwidth",{show:o})},c),i.createElement("button",{type:"button",className:"help-button__close no-style",onClick:()=>{a(!1)},"aria-label":l.formatMessage({id:"button.close.aria_label"})},i.createElement(al.h,null)),i.createElement("div",{className:"help-button__section-container"},s&&i.createElement("div",{className:"help-button__section"},i.createElement("div",{className:"help-button__section-headline"},i.createElement(Ja.FormattedMessage,{id:"dialog.resources"})),s),e.length>0?i.createElement("div",{className:"help-button__section"},i.createElement("div",{className:"help-button__section-headline"},i.createElement(Ja.FormattedMessage,{id:"registration.faq"})),i.createElement(ul.A,{accordionItems:e})):i.createElement("div",{className:"help-button__section"},i.createElement("div",{className:"help-button__section-headline"},i.createElement(Ja.FormattedMessage,{id:"registration.faq.contact"})),i.createElement(Ja.FormattedMessage,{id:"registration.faq.stuck"}))),i.createElement(cl.A,{variant:"text-button-tertiary",href:t,target:"_blank",rel:"noopener noreferrer"},i.createElement(rl.h,null),i.createElement(Ja.FormattedMessage,{id:"registration.faq.contact_us"}))))};var dl,ml=n(9808),pl=n(45446),fl=n(9883),gl=n(4288),vl=n(21189),yl=n(62272),xl=n(65824),wl=n(61105),bl=n(44479);function El(){return El=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)({}).hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},El.apply(null,arguments)}const Sl=t=>i.createElement("svg",El({xmlns:"http://www.w3.org/2000/svg",width:30,height:30,viewB
1ox:"0 0 30 30",fill:"currentColor","aria-hidden":!0},t),dl||(dl=i.createElement("path",{d:"M3.91991 16.4235L4.43023 15.9444C4.42681 15.9407 4.42334 15.9371 4.41984 15.9336L3.91991 16.4235ZM2.69363 8.69921L3.32208 9.00751L3.3223 9.00706L2.69363 8.69921ZM7.50622 5.08643L7.6206 5.77702L7.50622 5.08643ZM13.1907 6.96058L12.6905 7.45032L12.6906 7.45039L13.1907 6.96058ZM14.9997 8.8076L15.4974 9.29992L15.4998 9.29741L14.9997 8.8076ZM16.8088 6.96058L16.3088 6.47076L16.3088 6.47077L16.8088 6.96058ZM27.308 8.69921L27.9367 8.39137L27.9366 8.39124L27.308 8.69921ZM26.0796 16.4235L25.5796 15.9336C25.5761 15.9372 25.5727 15.9408 25.5693 15.9444L26.0796 16.4235ZM11.8866 11.9543L12.3842 12.4466L12.3842 12.4466L11.8866 11.9543ZM14.4733 14.569L14.9709 15.0613L14.9709 15.0613L14.4733 14.569ZM15.7774 13.2508L15.2798 12.7585L15.2798 12.7585L15.7774 13.2508ZM18.089 11.9096C18.3609 11.6348 18.3585 11.1916 18.0837 10.9197C17.8088 10.6478 17.3656 10.6502 17.0937 10.925L18.089 11.9096ZM13.3136 26.4286L13.8239 25.9495L13.8239 25.9495L13.3136 26.4286ZM22.5916 20.1385L22.094 20.6309C22.2277 20.766 22.4106 20.841 22.6008 20.8385C22.7909 20.836 22.9718 20.7563 23.1019 20.6177L22.5916 20.1385ZM15.912 26.463L15.4261 25.9591L15.4202 25.9648L15.4144 25.9707L15.912 26.463ZM11.8973 14.5581L12.3949 14.0658L12.3949 14.0658L11.8973 14.5581ZM19.0432 15.5625C18.7713 15.2877 18.3281 15.2853 18.0532 15.5572C17.7784 15.8291 17.776 16.2723 18.0479 16.5472L19.0432 15.5625ZM22.3935 19.9443L22.8911 19.452L22.3935 19.9443ZM22.3935 21.673L22.8911 22.1653L22.8911 22.1653L22.3935 21.673ZM22.1797 21.8891L21.6821 21.3968L21.6821 21.3968L22.1797 21.8891ZM20.4695 21.8891L19.9719 22.3814L19.9719 22.3814L20.4695 21.8891ZM17.7238 18.1185C17.4519 17.8436 17.0087 17.8412 16.7339 18.1131C16.4591 18.385 16.4567 18.8283 16.7286 19.1031L17.7238 18.1185ZM20.4696 23.6177L19.972 23.1254L19.972 23.1254L20.4696 23.6177ZM20.2558 23.8338L20.7534 24.3261L20.7534 24.3261L20.2558 23.8338ZM18.5456 23.8338L18.048 24.3261L18.048 24.3261L18.5456 23.8338ZM15.7999 20.0632C15.528 19.7883 15.0848 19.786 14.81 20.0579C14.5351 20.3298 14.5327 20.773 14.8046 21.0478L15.7999 20.0632ZM18.5457 25.5625L18.048 25.0702L18.048 25.0702L18.5457 25.5625ZM18.3319 25.7785L18.8295 26.2709L18.8295 26.2709L18.3319 25.7785ZM13.876 22.0079C13.6041 21.7331 13.1609 21.7307 12.886 22.0026C12.6112 22.2745 12.6088 22.7177 12.8807 22.9926L13.876 22.0079ZM4.41984 15.9336C2.6336 14.111 2.18815 11.319 3.32208 9.00751L2.06517 8.39092C0.672049 11.2308 1.2148 14.6634 3.41997 16.9135L4.41984 15.9336ZM3.3223 9.00706C4.16688 7.28229 5.76837 6.08381 7.6206 5.77702L7.39183 4.39584C5.08461 4.77799 3.10469 6.26806 2.06495 8.39137L3.3223 9.00706ZM7.6206 5.77702C9.4723 5.47032 11.3588 6.09031 12.6905 7.45032L13.6908 6.47084C12.0433 4.78832 9.69958 4.01361 7.39183 4.39584L7.6206 5.77702ZM12.6906 7.45039L14.4997 9.29741L15.4998 8.31779L13.6907 6.47077L12.6906 7.45039ZM15.4998 9.29741L17.3089 7.45039L16.3088 6.47077L14.4997 8.31779L15.4998 9.29741ZM17.3089 7.4504C18.641 6.09035 20.5279 5.47038 22.3799 5.77707L22.6086 4.39588C20.3006 4.01368 17.9567 4.78832 16.3088 6.47076L17.3089 7.4504ZM22.3799 5.77707C24.2325 6.08385 25.8343 7.28231 26.6794 9.00719L27.9366 8.39124C26.8964 6.26793 24.9161 4.77799 22.6086 4.39588L22.3799 5.77707ZM26.6794 9.00706C27.8116 11.3193 27.3655 14.1108 25.5796 15.9336L26.5796 16.9134C28.7841 14.6634 29.3276 11.2318 27.9367 8.39137L26.6794 9.00706ZM14.5021 8.31529L11.389 11.462L12.3842 12.4466L15.4974 9.29991L14.5021 8.31529ZM14.9709 15.0613L16.275 13.7431L15.2798 12.7585L13.9757 14.0767L14.9709 15.0613ZM16.275 13.7431L18.089 11.9096L17.0937 10.925L15.2798 12.7585L16.275 13.7431ZM13.8239 25.9495L4.43023 15.9444L3.40958 16.9027L12.8033 26.9078L13.8239 25.9495ZM25.5693 15.9444L22.0813 19.6594L23.1019 20.6177L26.5899 16.9027L25.5693 15.9444ZM15.2798 13.7431L22.094 20.6309L23.0892 19.6462L16.275 12.7585L15.2798 13.7431ZM16.3979 26.9668L17.1076 26.2824L16.1357 25.2747L15.4261 25.9591L16.3979 26.9668ZM12.8033 26.9078C13.7771 27.945 15.4089 27.9668 16.4096 26.9553L15.4144 25.9707C14.972 26.4178 14.2549 26.4085 13.8239 25.9495L12.8033 26.9078ZM11.3997 15.0505C12.3766 16.0379 13.9832 16.0597 14.9709 15.0613L13.9757 14.0767C13.5467 14.5103 12.8348 14.5104 12.3949 14.0658L11.3997 15.0505ZM11.389 11.462C10.4055 12.4561 10.4267 14.067 11.3997 15.0505L12.3949 14.0658C11.9511 13.6172 11.9509 12.8847 12.3842 12.4466L11.389 11.462ZM18.0479 16.5472L21.8959 20.4366L22.8911 19.452L19.0432 15.5625L18.0479 16.5472ZM21.8959 21.1807L21.6821 21.3968L22.6774 22.3814L22.89
111 22.1653L21.8959 21.1807ZM20.9671 21.3968L17.7238 18.1185L16.7286 19.1031L19.9719 22.3814L20.9671 21.3968ZM21.6821 21.3968C21.4838 21.5972 21.1654 21.5972 20.9671 21.3968L19.9719 22.3814C20.7181 23.1357 21.9311 23.1357 22.6774 22.3814L21.6821 21.3968ZM21.8959 20.4366C22.0983 20.6413 22.0983 20.9761 21.8959 21.1807L22.8911 22.1653C23.6332 21.4152 23.6332 20.2021 22.8911 19.452L21.8959 20.4366ZM19.972 23.1254L19.7582 23.3415L20.7534 24.3261L20.9672 24.11L19.972 23.1254ZM19.0432 23.3415L15.7999 20.0632L14.8046 21.0478L18.048 24.3261L19.0432 23.3415ZM19.7582 23.3415C19.5599 23.5419 19.2415 23.5419 19.0432 23.3415L18.048 24.3261C18.7942 25.0804 20.0072 25.0804 20.7534 24.3261L19.7582 23.3415ZM19.9719 22.3814C20.1744 22.586 20.1743 22.9208 19.972 23.1254L20.9672 24.11C21.7093 23.3599 21.7092 22.1468 20.9671 21.3968L19.9719 22.3814ZM18.048 25.0702L17.8343 25.2862L18.8295 26.2709L19.0433 26.0548L18.048 25.0702ZM17.1193 25.2862L13.876 22.0079L12.8807 22.9926L16.124 26.2709L17.1193 25.2862ZM17.8343 25.2862C17.636 25.4867 17.3176 25.4867 17.1193 25.2862L16.124 26.2709C16.8703 27.0251 18.0833 27.0251 18.8295 26.2709L17.8343 25.2862ZM18.048 24.3261C18.2504 24.5308 18.2504 24.8656 18.048 25.0702L19.0433 26.0548C19.7854 25.3046 19.7853 24.0915 19.0432 23.3415L18.048 24.3261Z"})));var Cl=({children:t,headline:e=null,icon:n=i.createElement(Sl,{className:"text-primary"})})=>i.createElement(bl.A,{className:"justify-content-center"},i.createElement(wl.A,{md:8,xl:6},i.createElement("div",{className:"dialog-popup"},n,i.createElement("h3",null,e),t))),Tl=n(73969),Ll=n(92448),Pl=n(64798),Ml=n(23947);const Al=(t=!1)=>{const e=new URLSearchParams(window.location.search);if(!e.has("data"))return null;const n=e.get("data");if(null===n)return null;try{const e=Uint8Array.from(atob(n),t=>t.codePointAt(0)||0),i=JSON.parse((new TextDecoder).decode(e));if(t&&void 0!==i.campaign_id&&vl.A.pushEvent("ppe_campaign_id",{event_value:i.campaign_id}
1),Object.keys(i).forEach(t=>{i[t]=el()(i[t])}),Object.keys(i).length>0)return i}catch(i){s.Cp(i)}return null};var kl=({className:t,progressBar:e=!1,steps:n,fixedTotalSteps:s,initialStep:o,content:c,faqs:h,onUnload:d=()=>{},leaveLightboxProps:m,prefillFormDialogProps:p})=>{const{currentStep:f,direction:g,dialogClass:v,dialogStyle:y,setBackCallback:x,setDialogClass:w,setShowBackButton:b,setStepError:E,next:S,back:C,gotoStep:T,showBackButton:L,showFaqButton:P,setShowFaqButton:A,setStepName:k,stepError:V,stepName:D,setDarkTheme:R,setWhiteLogo:B,StepComponent:j,totalSteps:F,faqButton:I,darkTheme:O,whiteLogo:N}=function(t,e,n,s,o){const{0:r,1:a}=(0,i.useState)(1),{0:l,1:c}=(0,i.useState)(1),{0:u,1:h}=(0,i.useState)(void 0),{0:d,1:m}=(0,i.useState)(void 0),{0:p,1:f}=(0,i.useState)(!1),{0:g,1:v}=(0,i.useState)(!0),{0:y,1:x}=(0,i.useState)(!1),{0:w,1:b}=(0,i.useState)(""),{0:E,1:S}=(0,i.useState)(!1),{0:C,1:T}=(0,i.useState)(!1);(0,i.useLayoutEffect)(()=>{void 0!==o&&a(o)},[o]);const L=(0,i.useRef)(null),P=(0,i.useRef)(),M=t.length,A=(0,i.useCallback)(()=>{c(1),a(t=>Math.min(t+1,M))},[M]),k=P.current||(()=>{c(-1),a(t=>Math.max(t-1,1))}),V=(0,i.useCallback)(t=>{c(t>r?1:-1),a(Math.min(t,M))},[r,M]),D=t[r-1];return(0,i.useLayoutEffect)(()=>{const t=n.nodes.filter(t=>{var e,n;const i=null===(e=t.elements)||void 0===e||null===(n=e.faq_category)||void 0===n?void 0:n.value;return!i||0===i.length||i.find(t=>(null==t?void 0:t.codename)===w)}).map(t=>{var e,n,i;return{answer:(0,nl.A)({data:null===(e=t.elements)||void 0===e?void 0:e.answer}),id:t.id,question:(null===(n=t.elements)||void 0===n||null===(i=n.question)||void 0===i?void 0:i.value)||""}});L.current=i.createElement(hl,{contactLink:e.contactLink,faqItems:t,alternative:void 0!==u,resources:1===r&&e.teaserBox})},[w,u]),{StepComponent:D,back:k,content:e,currentStep:r,darkTheme:E,dialogClass:u,dialogStyle:d,direction:l,faqButton:L.current,gotoStep:V,next:A,setBackCallback:t=>{P.current=t},setDarkTheme:S,setDialogClass:h,setDialogStyle:m,setShowBackButton:f,setShowFaqButton:v,setStepError:x,setStepName:b,setWhiteLogo:T,showBackButton:p,showFaqButton:g,stepError:y,stepName:w,totalSteps:s||M,whiteLogo:C}}(n,c,h,s,o),_={back:C,content:c,currentStep:f,darkTheme:O,faqButton:I,gotoStep:T,next:S,setBackCallback:x,setDarkTheme:R,setDialogClass:w,setShowBackButton:b,setShowFaqButton:A,setStepError:E,setStepName:k,setWhiteLogo:B,stepError:V,stepName:D,totalSteps:F,whiteLogo:N},U=(0,i.useRef)(null),[W,Z]=i.useState(void 0),$=(0,i.useRef)(null),Y=(0,i.useRef)(null),z=(0,i.useRef)(null),X=(0,Ja.useIntl)();(0,i.useLayoutEffect)(()=>{if(!U.current)return;const t=new ResizeObserver(([t])=>{Z(t.contentRect.height)});return t.observe(U.current),()=>t.disconnect()},[f]),(0,i.useEffect)(()=>{window.skipBeforeUnload=1===f},[f]),(0,pl.A)("popstate",()=>{var t;return null===(t=$.current)||void 0===t?void 0:t.show()}),(0,pl.A)("unload",()=>d(_)),(0,pl.A)("beforeunload",t=>{!0!==window.skipBeforeUnload&&(t.preventDefault(),t.returnValue=!0)}),(0,pl.A)("scroll",()=>{(0,gl.A)(z.current)},z,{passive:!0}),(0,pl.A)("resize",()=>{(0,gl.A)(z.current)},void 0,{passive:!0}),(0,i.useEffect)(()=>{var t;(window.history.pushState(null,document.title,window.location.href),null!==Al(!0))&&(null===(t=Y.current)||void 0===t||t.show());(0,gl.A)(z.current)},[]);const H=function(){!l.current&&u();const[t]=(0,i.useState)(a.current);return t}()?0:50,q={animate:{opacity:1,x:0},exit:t=>({opacity:0,x:t>0?-H:H}),initial:t=>({opacity:0,x:t>0?H:-H})},K=t=>t?f/(F+1)*100:f/F*100;return i.createElement(i.Fragment,null,i.createElement("div",{className:r()("dialog",{"dialog--dark":O},t,v),style:y},i.createElement("div",{className:r()("dialog__inner",{"dialog__inner--with-faq":P&&null!==I})},e&&K(!0)<100&&i.createElement("div",{className:"dialog__progress-bar"},i.createElement("span",{style:{width:`${K(!0)}%`}})),i.createElement("div",{className:r()("dialog__header",{"dialog__head--with-back-button":L})},i.createElement("div",{className:"d-flex flex-row-reverse align-items-center justify-content-between position-relative"},i.createElement("button",{type:"button",className:"no-style",onClick:()=>{var t;return null===(t=$.current)||void 0===t?void 0:t.show()},"aria-label":X.formatMessage({id:"button.close.aria_label"})},i.createElement(al.h,null)),i.createElement(Ll.A,{breakpoint:"md",white:O||N}),L&&i.createElement(cl.A,{variant:"text-button-dark",onClick:C,className:"back-button2","aria-label":X.formatMessage({id:"registration.dialog.back"})},i.createElement(fl.h,null),i.createElement("span",{className:"d-none d-md-inline-block"},i.createElement(Ja.FormattedMessage,{id:"registration.dialog.back"}))))),i.createElement("div",{className:"dialog__step-wrapper",style:{height:`${W}px`}},i.createElement(ml.M,{value:_},i.createElement(M,{custom:g},i.createElement(Ha.div,{ref:U,key:f,custom:g,variants:q,initial:!(1===f&&g>0)&&"initial",animate:"animate",exit:"exit",onAnimationStart:()=>{window.scrollTo({behavior:"instant",top:0})},transition:{duration:.3,ease:"easeInOut"},className:"position-absolute w-100"},i.createElement(j,null)))))),P&&null!==I&&i.createElement("div",{className:"dialog__faq-button-wrapper container-fluid"},I),i.createElement("div",{className:"dialog__footer",ref:z},i.createElement(Pl.A,{isOpenInNewTab:!0}))),i.createElement(Tl.A,{ref:$},i.createElement(Cl,{headline:m.headline,icon:m.icon},i.createElement(cl.A,{onClick:()=>{var t;null===(t=$.current)||void 0===t||t.close()},variant:m.buttonVariant},m.leavePopupContinue),i.createElement(cl.A,{onClick:()=>{(0,Qa.navigate)(m.exitSlug)},variant:`inverted-${m.buttonVariant}`},m.leavePopupExit))),p&&i.createElement(Tl.A,{ref:Y},i.createElement(Cl,{headline:p.headline},i.createElement(cl.A,{onClick:()=>{var t;p.onPrefill(Al(!1)),window.history.replaceState({},document.title,window.location.pathname),null===(t=Y.current)||void 0===t||t.close()},variant:p.buttonVariant},p.buttonPrefill),i.createElement(cl.A,{onClick:()=>{var t;window.history.replaceState({},document.title,window.location.pathname),null===(t=Y.current)||void 0===t||t.close()},variant:`inverted-${p.buttonVariant}`},p.buttonDiscard))),i.createElement(xl.A,null),i.createElement(yl.A,null),i.createElement(Ml.A,null))}},39659:function(t,e,n){n.d(e,{h:function(){return r}});var i,s=n(96540);function o(){return o=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)({}).hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},o.apply(null,arguments)}const r=t=>s.createElement("svg",o({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","aria-hidden":!0},t),i||(i=s.createElement("path",{d:"M10 8L14 12L10 16",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})))},47694:function(t,e,n){var i=n(96540);e.A=({headline:t,elements:e,variant:n="box"})=>i.createElement("div",{className:`recap-box recap-box--${n}`},"box"===n&&t&&i.createElement("div",{className:"recap-box__headline"},t),i.createElement("div",{className:"recap-box__elements"},e.map((t,e)=>i.createElement("div",{className:"recap-box__element",key:e},i.createElement("div",{className:"recap-box__element-headline"},"box"===n&&i.createElement("div",null,t.icon),t.headline),i.createElement("div",{className:"recap-box__parts"},t.parts.map((t,e)=>t&&i.createElement("div",{key:e},t)))))))},48504:function(t,e,n){var i=n(96540),s=n(55268),o=n(50464),r=n(98833);e.A=({description:t="",linkingData:e,title:n,twitterTitle:a="",twitterSite:l="",twitterImage:c,twitterDescription:u="",twitterCreator:h="",ogTitle:d="",ogImage:m,ogDescription:p="",isHiddenForRobots:f=!1,tag:g})=>{var v,y,x,w;
1const b=(0,s.useStaticQuery)("3993016737"),{languageCode:E}=(0,o.A)(),S=t||b.site.siteMetadata.description,C=r.A.hasTouchScreen()?"touchable ":"",T="no"!==(null==b||null===(v=b.siteSettings)||void 0===v||null===(y=v.elements)||void 0===y||null===(x=y.translate)||void 0===x||null===(w=x.value[0])||void 0===w?void 0:w.codename);return i.createElement(i.Fragment,null,i.createElement("html",{className:C.trim(),lang:E||"en",translate:T?"yes":"no"}),i.createElement("title",null,n),S&&i.createElement("meta",{name:"description",content:S}),i.createElement("meta",{property:"og:title",content:d||n}),(p||S)&&i.createElement("meta",{property:"og:description",content:p||S}),i.createElement("meta",{property:"og:type",content:"website"}),m&&m.url&&i.createElement("meta",{property:"og:image",content:`${m.url}?h=630&w=1200`}),i.createElement("meta",{name:"twitter:card",content:"summary"}),i.createElement("meta",{name:"twitter:creator",content:h||b.site.siteMetadata.author}),i.createElement("meta",{name:"twitter:site",content:l}),c&&c.url&&i.createElement("meta",{name:"twitter:image",content:`${c.url}?h=630&w=1200`}),i.createElement("meta",{name:"twitter:title",content:a||n}),(u||S)&&i.createElement("meta",{name:"twitter:description",content:u||S}),g&&i.createElement("meta",{name:"addsearch-custom-field",content:`customTag=${g}`}),{}.GATSBY_GOOGLE_SITE_VERIFICATION&&i.createElement("meta",{name:"google-site-verification",content:{}.GATSBY_GOOGLE_SITE_VERIFICATION}),i.createElement("meta",{name:"robots",content:[f?"noindex,nofollow":"index,follow",T?"notranslate":null].filter(Boolean).join(",")}),e&&e.length>0&&[].concat(e).map((t,e)=>i.createElement("script",{key:`${t["@type"]}${e.toString()}`,type:"application/ld+json"},JSON.stringify(t))),i.createElement("meta",{key:"format-detection",name:"format-detection",content:"telephone=no, date=no, email=no, address=no"}))}},51331:function(t,e,n){n.d(e,{h:function(){return l}});var i,s,o,r=n(96540);function a(){return a=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)({}).hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},a.apply(null,arguments)}const l=t=>r.createElement("svg",a({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","aria-hidden":!0},t),i||(i=r.createElement("path",{d:"M9.5 9.4995C9.50024 8.22828 10.4545 7.15968 11.7176 7.01615C12.9806 6.87262 14.1503 7.69986 14.4358 8.93861C14.7212 10.1774 14.0316 11.4331 12.8331 11.8568C12.3335 12.0335 11.9995 12.506 11.9998 13.0359V13.6",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),s||(s=r.createElement("path",{d:"M12.0312 16.25C11.8759 16.25 11.75 16.3759 11.75 16.5312C11.75 16.6866 11.8759 16.8125 12.0312 16.8125C12.1866 16.8125 12.3125 16.6866 12.3125 16.5312C12.3125 16.3759 12.1866 16.25 12.0312 16.25V16.25",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),o||(o=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 22.9998C18.0751 22.9998 23 18.0749 23 11.9998C23 5.92462 18.0751 0.999756 12 0.999756C5.92487 0.999756 1 5.92462 1 11.9998C1 18.0749 5.92487 22.9998 12 22.9998Z",strokeWidth:1.5})))},59505:function(t,e,n){n.d(e,{Y:function(){return r}});var i=n(27294),s=n(42716);const o=["gender","salutation","lastname","firstname","middlename","birthdate","street","houseNo","locality","district","postCode","city","county","state","apartment","houseName","emailAddress","mobileNumber","region","province","keepInTouchEmail","keepInTouchPost","createAccount","genderIdentity"];function r(){const t=(0,s.j)(),e=(0,s.G)(t=>t.interconnectDialog.interconnectData);return{prefillData:(n,i)=>{const s=Object.fromEntries(i.filter(t=>void 0!==e[t]).map(t=>[t,e[t]]));return t(n(s)),s},setData:e=>{t((0,i.L)(Object.fromEntries(o.map(t=>[t,e[t]]))))},undo:(n,i)=>{const s=Object.fromEntries(Object.entries(n).map(([t,n])=>{const i=e[t];return[t,void 0!==i&&i===n?"":n]}));return t(i(s)),s}}}},62650:function(t,e,n){n.d(e,{A:function(){return v}});var i,s,o=n(96540),r=n(7425),a=n(75363),l=n(59505);function c(){return c=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)({}).hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},c.apply(null,arguments)}const u=t=>o.createElement("svg",c({width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":!0},t),i||(i=o.createElement("circle",{cx:9,cy:9,r:9,fill:"#30783E"})),s||(s=o.createElement("path",{d:"M12.25 6L7.79119 11.7728C7.68954 11.9045 7.53403 11.9869 7.36497 11.9986C7.19591 12.0103 7.02994 11.9501 6.9101 11.8337L5.75 10.7072",stroke:"white",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})));var h;function d(){return d=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)({}).hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},d.apply(null,arguments)}const m=t=>o.createElement("svg",d({width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":!0},t),h||(h=o.createElement("path",{d:"M4.29297 2.29297C4.68349 1.90244 5.31651 1.90244 5.70703 2.29297C6.09756 2.68349 6.09756 3.31651 5.70703 3.70703L5.41406 4H11C13.7614 4 16 6.2386 16 9V10C16 12.7614 13.7614 15 11 15H5C4.44772 15 4 14.5
1523 4 14C4.00003 13.4477 4.44774 13 5 13H11C12.6569 13 14 11.6569 14 10V9C14 7.34317 12.6568 6 11 6H5.41406L5.70703 6.29297C6.09756 6.68349 6.09756 7.31651 5.70703 7.70703C5.31651 8.09756 4.68349 8.09756 4.29297 7.70703L2.29297 5.70703C2.26536 5.67942 2.2405 5.64998 2.2168 5.62012C2.18065 5.57452 2.14797 5.52615 2.12012 5.47461C2.11269 5.46086 2.10634 5.44663 2.09961 5.43262C2.0778 5.38731 2.05783 5.34077 2.04297 5.29199C2.0303 5.25034 2.02176 5.20773 2.01465 5.16504C2.00572 5.11131 2 5.05626 2 5C2 4.92203 2.00948 4.84627 2.02637 4.77344C2.03809 4.72287 2.05259 4.67262 2.07227 4.62402C2.08028 4.60427 2.09039 4.5855 2.09961 4.56641C2.11958 4.52494 2.14194 4.48427 2.16797 4.44531C2.20461 4.39047 2.2465 4.33944 2.29297 4.29297L4.29297 2.29297Z",fill:"currentColor"})));var p=n(42716),f=n(91834),g=n(28776);var v=({setter:t,data:e,fields:n,onInterconnect:i})=>{const{resetForm:s,initialValues:c}=(0,r.j7)(),h=(0,a.useIntl)(),d=(0,p.G)(t=>t.interconnectDialog.interconnectData),v=n.some(t=>void 0!==d[t])&&!n.some(t=>void 0!==e[t]),y=(0,o.useRef)(!v),{0:x,1:w}=(0,o.useState)(!1),{prefillData:b,undo:E}=(0,l.Y)();return(0,o.useEffect)(()=>{if(v){const e=b(t,n);s({values:{...c,...e}}),null==i||i(e)}},[]),y.current?null:o.createElement(g.A,{headline:h.formatMessage({id:"interconnect.headline"}),enableDismiss:!0,icon:o.createElement(u,null),color:"secondary",variant:"dualtone",className:"mb-30",hide:x,button:o.createElement(f.A,{variant:"text-button-secondary",onClick:()=>{const n=E(e,t);s({values:{...c,...n}}),w(!0)}},o.createElement(m,null)," ",h.formatMessage({id:"interconnect.undo"}))})}},67157:function(t,e,n){var i=n(96540),s=n(7425);e.A=()=>{const{submitCount:t,isValid:e,errors:n}=(0,s.j7)();return(0,i.useEffect)(()=>{try{if(e)return;if(Object.keys(n).length<=0)return;const t=Object.keys(n);setTimeout(()=>{var e;const n=document.querySelector(`[name='${t[0]}']`);n&&(null===(e=n.parentElement)||void 0===e||e.scrollIntoView({behavior:"smooth",block:"center"}),n.focus({preventScroll:!0}))},400)}catch{}},[t]),null}},75329:function(t,e,n){n.d(e,{A:function(){return d}});var i=n(96540),s=n(89120),o=n(61105),r=n(43048),a=n(44479),l=n(9808),c=n(46942),u=n.n(c);var h=({headline:t,icon:e,overline:n,description:s,button:o,isStatic:r=!1,compact:a=!1,className:l})=>i.createElement("div",{className:u()("dialog-headline",l,{"dialog-headline--compact":a,"position-static":r})},e&&i.createElement("div",{className:"mb-18"},e),n&&i.createElement("div",{className:"typo-medium-label mb-9"},n),i.createElement("div",{className:a?"typo-title1":"typo-h2"},t),s&&i.createElement("div",{className:"mt-9"},s),o&&i.createElement("div",{className:"mt-18"},o));var d=({headline:t,overline:e,children:n,stepName:c,icon:u,description:d,button:m,compact:p=!1,centerContent:f=!1})=>{const{stepName:g,stepError:v}=(0,l.h)({stepName:""}),y=null!=c?c:v?`${g}_error`:g,x=(0,i.useRef)(null),{0:w,1:b}=(0,i.useState)(!0),E=(0,s.tF)();return(0,i.useEffect)(()=>{E&&requestAnimationFrame(()=>{x.current&&x.current.focus()})},[E]),i.createElement(r.A,{fluid:!0},i.createElement(a.A,{className:"dialog-step","data-testid":y,"aria-hidden":!E,inert:E?void 0:"true"},i.createElement(o.A,{lg:6},i.createElement(h,{headline:t,icon:u,overline:e,description:d,button:m,compact:p})),i.createElement(o.A,{lg:6,className:f?"d-flex flex-column justify-content-center":void 0},i.createElement("div",{ref:x,className:"focus-helper",role:"button",tabIndex:w?0:-1,onBlur:()=>b(!1),onClick:()=>{},onKeyDown:()=>{}}),n)))}},81995:function(t,e,n){var i=n(96465),s=n(6483),o=n(31749);e.A=(t,e=!1)=>{const n=(0,i.A)(t),r=[];if(n){var a;const t=(0,s.A)(),e=(null===(a=n.slug)||void 0===a?void 0:a.split("/"))||[];e.shift();let i="";e.length>0&&e.forEach(e=>{i+=`/${e}`;const n=t.links.nodes.find(t=>t.slug===i);r.push(n?n.title:(0,o.NZ)(e))})}return r[r.length<2||e?0:1]}},83542:function(t,e,n){n.d(e,{Z:function(){return r}});var i=n(96540),s=n(81995),o=n(48504);const r=({data:{page:t},isHiddenForRobots:e,linkingData:n,title:r,headerImage:a,useFallbackLevel:l=!1})=>{var c,u,h,d,m,p,f,g,v,y,x,w,b,E,S,C,T,L,P,M,A,k,V;let D=a;if(!D){var R,B,j;const e=null===(R=t.elements)||void 0===R||null===(B=R.hero_image)||void 0===B||null===(j=B.value)||void 0===j?void 0:j[0];var F,I,O;if("image"===(null==e?void 0:e.system.type))D=null===(F=e.elements)||void 0===F||null===(I=F.image)||void 0===I||null===(O=I.value)||void 0===O?void 0:O[0];else if("video"===(null==e?void 0:e.system.type)){var N,_,U,W,Z,$,Y,z,X,H,q;D=null===(N=(null!==(Z=null===($=t.elements)||void 0===$||null===(Y=$.hero_image)||void 0===Y||null===(z=Y.value)||void 0===z?void 0:z.length)&&void 0!==Z?Z:0)>0?null===(X=t.elements)||void 0===X||null===(H=X.hero_image)||void 0===H||null===(q=H.value)||void 0===q?void 0:q[0]:void 0)||void 0===N||null===(_=N.elements)||void 0===_||null===(U=_.placeholder_image)||void 0===U||null===(W=U.value)||void 0===W?void 0:W[0]}}let K=!1;if(void 0!==e)K=e;else if(null!==(c=t.elements)&&void 0!==c&&c.meta_robots__noindex){var G,Q;K=(null!==(G=null===(Q=t.elements.meta_robots__noindex.value)||void 0===Q?void 0:Q.length)&&void 0!==G?G:0)>0}return i.createElement(o.A,{title:r||(null===(u=t.elements)||void 0===u||null===(h=u.metadata__meta_title)||void 0===h?void 0:h.value)||"",description:(null===(d=t.elements)||void 0===d||null===(m=d.metadata__meta_description)||void 0===m?void 0:m.value)||"",twitterTitle:(null===(p=t.elements)||void 0===p||null===(f=p.metadata__twitter_title)||void 0===f?void 0:f.value)||"",twitterSite:(null===(g=t.elements)||void 0===g||null===(v=g.metadata__twitter_site)||void 0===v?void 0:v.value)||"",twitterImage:(null===(y=t.elements)||void 0===y||null===(x=y.metadata__twitter_image)||void 0===x||null===(w=x.value)||void 0===w?void 0:w[0])||D,twitterDescription:(null===(b=t.elements)||void 0===b||null===(E=b.metadata__twitter_description)||void 0===E?void 0:E.value)||"",twitterCreator:(null===(S=t.elements)||void 0===S||null===(C=S.metadata__twitter_creator)||void 0===C?void 0:C.value)||"",ogTitle:(null===(T=t.elements)||void 0===T||null===(L=T.metadata__og_title)||void 0===L?void 0:L.value)||"",ogImage:(null===(P=t.elements)||void 0===P||null===(M=P.metadata__og_image)||void 0===M||null===(A=M.value)||void 0===A?void 0:A[0])||D,ogDescription:(null===(k=t.elements)||void 0===k||null===(V=k.metadata__og_description)||void 0===V?void 0:V.value)||"",isHiddenForRobots:K,linkingData:n,tag:(0,s.A)(t.id,l)})}},86719:function(t,e,n){n.d(e,{t:function(){return i}});const i=(0,n(96540).createContext)(null)},89120:function(t,e,n){n.d(e,{tF:function(){return r},xQ:function(){return o}});var i=n(96540),s=n(86719);function o(t=!0){const e=(0,i.useContext)(s.t);if(null===e)return[!0,null];const{isPresent:n,onExitComplete:o,register:r}=e,a=(0,i.useId)();(0,i.useEffect)(()=>
1{if(t)return r(a)},[t]);const l=(0,i.useCallback)(()=>t&&o&&o(a),[a,o,t]);return!n&&o?[!1,l]:[!0]}function r(){return null===(t=(0,i.useContext)(s.t))||t.isPresent;var t}},97111:function(t,e,n){n.d(e,{cQ:function(){return s}});var i=n(75363);const s=t=>null!=t&&"object"==typeof t&&"status"in t?t:null;e.Ay=t=>{const e=(0,i.useIntl)();return t?{message:e.formatMessage({id:`error.status_${t.status}`}),status:t.status}:{message:"",status:0}}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.