content-helps-ledger.gitbook.io
Open in
urlscan Pro
2606:4700:4400::6812:282f
Public Scan
URL:
https://content-helps-ledger.gitbook.io/_next/static/chunks/1538-28b9996ceedaa74d.js
Submission: On November 10 via api from US — Scanned from GB
Submission: On November 10 via api from US — Scanned from GB
Form analysis
0 forms found in the DOMText Content
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1538],{23060:function(t,e){"use strict";e.ZP=function(t,e){if("string"==typeof e)throw Error(e);if("function"==typeof e)throw Error(e(t));if(e)return t;throw Error("Unhandled discriminated union member: ".concat(JSON.stringify(t)))}},54689:function(t,e,n){"use strict";n.d(e,{F:function(){return u},f:function(){return c}});var r=n(7653);let i=["light","dark"],s="(prefers-color-scheme: dark)",o="undefined"==typeof window,a=(0,r.createContext)(void 0),l={setTheme:t=>{},themes:[]},u=()=>{var t;return null!==(t=(0,r.useContext)(a))&&void 0!==t?t:l},c=t=>(0,r.useContext)(a)?r.createElement(r.Fragment,null,t.children):r.createElement(d,t),h=["light","dark"],d=({forcedTheme:t,disableTransitionOnChange:e=!1,enableSystem:n=!0,enableColorScheme:o=!0,storageKey:l="theme",themes:u=h,defaultTheme:c=n?"system":"light",attribute:d="data-theme",value:y,children:g,nonce:x})=>{let[b,w]=(0,r.useState)(()=>p(l,c)),[P,S]=(0,r.useState)(()=>p(l)),A=y?Object.values(y):u,C=(0,r.useCallback)(t=>{let r=t;if(!r)return;"system"===t&&n&&(r=v());let s=y?y[r]:r,a=e?m():null,l=document.documentElement;if("class"===d?(l.classList.remove(...A),s&&l.classList.add(s)):s?l.setAttribute(d,s):l.removeAttribute(d),o){let t=i.includes(c)?c:null,e=i.includes(r)?r:t;l.style.colorScheme=e}null==a||a()},[]),T=(0,r.useCallback)(t=>{w(t);try{localStorage.setItem(l,t)}catch(t){}},[t]),E=(0,r.useCallback)(e=>{S(v(e)),"system"===b&&n&&!t&&C("system")},[b,t]);(0,r.useEffect)(()=>{let t=window.matchMedia(s);return t.addListener(E),E(t),()=>t.removeListener(E)},[E]),(0,r.useEffect)(()=>{let t=t=>{t.key===l&&T(t.newValue||c)};return window.addEventListener("storage",t),()=>window.removeEventListener("storage",t)},[T]),(0,r.useEffect)(()=>{C(null!=t?t:b)},[t,b]);let k=(0,r.useMemo)(()=>({theme:b,setTheme:T,forcedTheme:t,resolvedTheme:"system"===b?P:b,themes:n?[...u,"system"]:u,systemTheme:n?P:void 0}),[b,T,t,P,n,u]);return r.createElement(a.Provider,{value:k},r.createElement(f,{forcedTheme:t,disableTransitionOnChange:e,enableSystem:n,enableColorScheme:o,storageKey:l,themes:u,defaultTheme:c,attribute:d,value:y,children:g,attrs:A,nonce:x}),g)},f=(0,r.memo)(({forcedTheme:t,storageKey:e,attribute:n,enableSystem:o,enableColorScheme:a,defaultTheme:l,value:u,attrs:c,nonce:h})=>{let d="system"===l,f="class"===n?`var d=document.documentElement,c=d.classList;c.remove(${c.map(t=>`'${t}'`).join(",")});`:`var d=document.documentElement,n='${n}',s='setAttribute';`,p=a?i.includes(l)&&l?`if(e==='light'||e==='dark'||!e)d.style.colorScheme=e||'${l}'`:"if(e==='light'||e==='dark')d.style.colorScheme=e":"",m=(t,e=!1,r=!0)=>{let s=u?u[t]:t,o=e?t+"|| ''":`'${s}'`,l="";return a&&r&&!e&&i.includes(t)&&(l+=`d.style.colorScheme = '${t}';`),"class"===n?l+=e||s?`c.add(${o})`:"null":s&&(l+=`d[s](n,${o})`),l},v=t?`!function(){${f}${m(t)}}()`:o?`!function(){try{${f}var e=localStorage.getItem('${e}');if('system'===e||(!e&&${d})){var t='${s}',m=window.matchMedia(t);if(m.media!==t||m.matches){${m("dark")}}else{${m("light")}}}else if(e){${u?`var x=${JSON.stringify(u)};`:""}${m(u?"x[e]":"e",!0)}}${d?"":"else{"+m(l,!1,!1)+"}"}${p}}catch(e){}}()`:`!function(){try{${f}var e=localStorage.getItem('${e}');if(e){${u?`var x=${JSON.stringify(u)};`:""}${m(u?"x[e]":"e",!0)}}else{${m(l,!1,!1)};}${p}}catch(t){}}();`;return r.createElement("script",{nonce:h,dangerouslySetInnerHTML:{__html:v}})},()=>!0),p=(t,e)=>{let n;if(!o){try{n=localStorage.getItem(t)||void 0}catch(t){}return n||e}},m=()=>{let t=document.createElement("style");return t.appendChild(document.createTextNode("*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),document.head.appendChild(t),()=>{window.getComputedStyle(document.body),setTimeout(()=>{document.head.removeChild(t)},1)}},v=t=>(t||(t=window.matchMedia(s)),t.matches?"dark":"light")},99976:function(t,e,n){"use strict";Object.defineProperty(e,"$",{enumerable:!0,get:function(){return i}});let r=n(43503);function i(t){let{createServerReference:e}=n(18786);return e(t,r.callServer)}},32603:function(t,e,n){"use strict";n.d(e,{y1:function(){return b}});var r=n(7653);function i(){return(i=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)({}).hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(null,arguments)}n(27573);var s=["shift","alt","meta","mod","ctrl"],o={esc:"escape",return:"enter",".":"period",",":"comma","-":"slash"," ":"space","`":"backquote","#":"backslash","+":"bracketright",ShiftLeft:"shift",ShiftRight:"shift",AltLeft:"alt",AltRight:"alt",MetaLeft:"meta",MetaRight:"meta",OSLeft:"meta",OSRight:"meta",ControlLeft:"ctrl",ControlRight:"ctrl"};function a(t){return(t&&o[t]||t||"").trim().toLowerCase().replace(/key|digit|numpad|arrow/,"")}function l(t,e){return void 0===e&&(e=","),t.split(e)}function u(t,e,n){void 0===e&&(e="+");var r=t.toLocaleLowerCase().split(e).map(function(t){return a(t)}),o={alt:r.includes("alt"),ctrl:r.includes("ctrl")||r.includes("control"),shift:r.includes("shift"),meta:r.includes("meta"),mod:r.includes("mod")},l=r.filter(function(t){return!s.includes(t)});return i({},o,{keys:l,description:n})}"undefined"!=typeof document&&(document.addEventListener("keydown",function(t){void 0!==t.key&&d([a(t.key),a(t.code)])}),document.addEventListener("keyup",function(t){void 0!==t.key&&f([a(t.key),a(t.code)])})),"undefined"!=typeof window&&window.addEventListener("blur",function(){c.clear()});var c=new Set;function h(t){return Array.isArray(t)}function d(t){var e=Array.isArray(t)?t:[t];c.has("meta")&&c.forEach(function(t){return!s.includes(t)&&c.delete(t.toLowerCase())}),e.forEach(function(t){return c.add(t.toLowerCase())})}function f(t){var e=Array.isArray(t)?t:[t];"meta"===t?c.clear():e.forEach(function(t){return c.delete(t.toLowerCase())})}function p(t,e){var n=t.target;void 0===e&&(e=!1);var r=n&&n.tagName;return h(e)?!!(r&&e&&e.some(function(t){return t.toLowerCase()===r.toLowerCase()})):!!(r&&e&&!0===e)}var m=function(t,e,n){void 0===n&&(n=!1);var r,i=e.alt,s=e.meta,o=e.mod,l=e.shift,u=e.ctrl,d=e.keys,f=t.key,p=t.code,m=t.ctrlKey,v=t.metaKey,y=t.shiftKey,g=t.altKey,x=a(p),b=f.toLowerCase();if(!(null!=d&&d.includes(x))&&!(null!=d&&d.includes(b))&&!["ctrl","control","unknown","meta","alt","shift","os"].includes(x))return!1;if(!n){if(!g===i&&"alt"!==b||!y===l&&"shift"!==b)return!1;if(o){if(!v&&!m)return!1}else if(!v===s&&"meta"!==b&&"os"!==b||!m===u&&"ctrl"!==b&&"control"!==b)return!1}return!!(d&&1===d.length&&(d.includes(b)||d.includes(x)))||(d?(void 0===r&&(r=","),(h(d)?d:d.split(r)).every(function(t){return c.has(t.trim().toLowerCase())})):!d)},v=(0,r.createContext)(void 0),y=(0,r.createContext)({hotkeys:[],enabledScopes:[],toggleScope:function(){},enableScope:function(){},disableScope:function(){}}),g=function(t){t.stopPropagation(),t.preventDefault(),t.stopImmediatePropagation()},x="undefined"!=typeof window?r.useLayoutEffect:r.useEffect;function b(t,e,n,i){var s,o=(0,r.useState)(null),c=o[0],b=o[1],w=(0,r.useRef)(!1),P=n instanceof Array?i instanceof Array?void 0:i:n,S=h(t)?t.join(null==P?void 0:P.splitKey):t,A=n instanceof Array?n:i instanceof Array?i:void 0,C=(0,r.useCallback)(e,null!=A?A:[]),T=(0,r.useRef)(C);A?T.current=C:T.current=e;var E=(!function t(e,n){return e&&n&&"object"==typeof e&&"object"==typeof n?Object.keys(e).length===Object.keys(n).length&&Object.keys(e).reduce(function(r,i){return r&&t(e[i],n[i])},!0):e===n}((s=(0,r.useRef)(void 0)).current,P)&&(s.current=P),s.current),k=(0,r.useContext)(y).enabledScopes,M=(0,r.useContext)(v);return x(function(){if((null==E?void 0:E.enabled)!==!1&&(t=null==E?void 0:E.scopes,0===k.length&&t?(console.warn('A hotkey has the "scopes" option set, however no active scopes were found. If you want to use the global scopes feature, you need to wrap your app in a <HotkeysProvider>'),!0):!!(!t||k.some(function(e){return t.includes(e)})||k.includes("*")))){var t,e=function(t,e){var n;if(void 0===e&&(e=!1),!p(t,["input","textarea","select"])||p(t,null==E?void 0:E.enableOnFormTags)){if(null!==c){var r=c.getRootNode();if((r instanceof Document||r instanceof ShadowRoot)&&r.activeElement!==c&&!c.contains(r.activeElement)){g(t);return}}(null==(n=t.target)||!n.isContentEditable||null!=E&&E.enableOnContentEditable)&&l(S,null==E?void 0:E.splitKey).forEach(function(n){var r,i,s,o=u(n,null==E?void 0:E.combinationKey);if(m(t,o,null==E?void 0:E.ignoreModifiers)||null!=(s=o.keys)&&s.includes("*")){if(null!=E&&null!=E.ignoreEventWhen&&E.ignoreEventWhen(t)||e&&w.current)return;if(("function"==typeof(r=null==E?void 0:E.preventDefault)&&r(t,o)||!0===r)&&t.preventDefault(),"function"==typeof(i=null==E?void 0:E.enabled)?!i(t,o):!0!==i&&void 0!==i){g(t);return}T.current(t,o),e||(w.current=!0)}})}},n=function(t){void 0!==t.key&&(d(a(t.code)),((null==E?void 0:E.keydown)===void 0&&(null==E?void 0:E.keyup)!==!0||null!=E&&E.keydown)&&e(t))},r=function(t){void 0!==t.key&&(f(a(t.code)),w.current=!1,null!=E&&E.keyup&&e(t,!0))},i=c||(null==P?void 0:P.document)||document;return i.addEventListener("keyup",r),i.addEventListener("keydown",n),M&&l(S,null==E?void 0:E.splitKey).forEach(function(t){return M.addHotkey(u(t,null==E?void 0:E.combinationKey,null==E?void 0:E.description))}),function(){i.removeEventListener("keyup",r),i.removeEventListener("keydown",n),M&&l(S,null==E?void 0:E.splitKey).forEach(function(t){return M.removeHotkey(u(t,null==E?void 0:E.combinationKey,null==E?void 0:E.description))})}}},[c,S,E,k]),b}},22847:function(t){t.exports={style:{fontFamily:"'__cbdtFont_e782a9', '__cbdtFont_Fallback_e782a9'"},className:"__className_e782a9",variable:"__variable_e782a9"}},40787:function(t){t.exports={style:{fontFamily:"'__sbixFont_a7f53a', '__sbixFont_Fallback_a7f53a'"},className:"__className_a7f53a",variable:"__variable_a7f53a"}},29643:function(t){t.exports={style:{fontFamily:"'__svgFont_274faa', '__svgFont_Fallback_274faa'"},className:"__className_274faa",variable:"__variable_274faa"}},92805:function(t,e,n){"use strict";n.d(e,{S:function(){return h}});var r=n(37169),i=n(73923),s=n(40131),o=n(3983);function a(t,e){return t*Math.sqrt(1-e*e)}let l=["duration","bounce"],u=["stiffness","damping","mass"];function c(t,e){return e.some(e=>void 0!==t[e])}function h({keyframes:t,restDelta:e,restSpeed:n,...h}){let d;let f=t[0],p=t[t.length-1],m={done:!1,value:f},{stiffness:v,damping:y,mass:g,duration:x,velocity:b,isResolvedFromDuration:w}=function(t){let e={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...t};if(!c(t,u)&&c(t,l)){let n=function({duration:t=800,bounce:e=.25,velocity:n=0,mass:i=1}){let l,u;(0,s.K)(t<=(0,r.w)(10),"Spring duration must be 10 seconds or less");let c=1-e;c=(0,o.u)(.05,1,c),t=(0,o.u)(.01,10,(0,r.X)(t)),c<1?(l=e=>{let r=e*c,i=r*t;return .001-(r-n)/a(e,c)*Math.exp(-i)},u=e=>{let r=e*c*t,i=Math.pow(c,2)*Math.pow(e,2)*t,s=a(Math.pow(e,2),c);return(r*n+n-i)*Math.exp(-r)*(-l(e)+.001>0?-1:1)/s}):(l=e=>-.001+Math.exp(-e*t)*((e-n)*t+1),u=e=>t*t*(n-e)*Math.exp(-e*t));let h=function(t,e,n){let r=n;for(let n=1;n<12;n++)r-=t(r)/e(r);return r}(l,u,5/t);if(t=(0,r.w)(t),isNaN(h))return{stiffness:100,damping:10,duration:t};{let e=Math.pow(h,2)*i;return{stiffness:e,damping:2*c*Math.sqrt(i*e),duration:t}}}(t);(e={...e,...n,mass:1}).isResolvedFromDuration=!0}return e}({...h,velocity:-(0,r.X)(h.velocity||0)}),P=b||0,S=y/(2*Math.sqrt(v*g)),A=p-f,C=(0,r.X)(Math.sqrt(v/g)),T=5>Math.abs(A);if(n||(n=T?.01:2),e||(e=T?.005:.5),S<1){let t=a(C,S);d=e=>p-Math.exp(-S*C*e)*((P+S*C*A)/t*Math.sin(t*e)+A*Math.cos(t*e))}else if(1===S)d=t=>p-Math.exp(-C*t)*(A+(P+C*A)*t);else{let t=C*Math.sqrt(S*S-1);d=e=>{let n=Math.exp(-S*C*e),r=Math.min(t*e,300);return p-n*((P+S*C*A)*Math.sinh(r)+t*A*Math.cosh(r))/t}}return{calculatedDuration:w&&x||null,next:t=>{let r=d(t);if(w)m.done=t>=x;else{let s=P;0!==t&&(s=S<1?(0,i.P)(d,t,r):0);let o=Math.abs(s)<=n,a=Math.abs(p-r)<=e;m.done=o&&a}return m.value=m.done?p:r,m}}}},30003:function(t,e,n){"use strict";n.d(e,{E:function(){return r},i:function(){return i}});let r=2e4;function i(t){let e=0,n=t.next(e);for(;!n.done&&e<r;)e+=50,n=t.next(e);return e>=r?1/0:e}},73923:function(t,e,n){"use strict";n.d(e,{P:function(){return i}});var r=n(2365);function i(t,e,n){let i=Math.max(e-5,0);return(0,r.R)(n-t(i),e-i)}},74489:function(t,e,n){"use strict";n.d(e,{H:function(){return F}});var r=n(2415),i=n(81536),s=n(40131);function o(t,e,n){var r;if("string"==typeof t){let i=document;e&&((0,s.k)(!!e.current,"Scope provided, but no element detected."),i=e.current),n?(null!==(r=n[t])&&void 0!==r||(n[t]=i.querySelectorAll(t)),t=n[t]):t=i.querySelectorAll(t)}else t instanceof Element&&(t=[t]);return Array.from(t||[])}var a=n(66960),l=n(55062);let u=(0,n(52953).X)(()=>void 0!==window.ScrollTimeline);class c{constructor(t){this.animations=t.filter(Boolean)}then(t,e){return Promise.all(this.animations).then(t).catch(e)}getAll(t){return this.animations[0][t]}setAll(t,e){for(let n=0;n<this.animations.length;n++)this.animations[n][t]=e}attachTimeline(t){let e=this.animations.map(e=>{if(!u()||!e.attachTimeline)return e.pause(),function(t,e){let n;let r=()=>{let{currentTime:r}=e,i=(null===r?0:r.value)/100;n!==i&&t(i),n=i};return l.Wi.update(r,!0),()=>(0,l.Pn)(r)}(t=>{e.time=e.duration*t},t);e.attachTimeline(t)});return()=>{e.forEach((t,e)=>{t&&t(),this.animations[e].stop()})}}get time(){return this.getAll("time")}set time(t){this.setAll("time",t)}get speed(){return this.getAll("speed")}set speed(t){this.setAll("speed",t)}get duration(){let t=0;for(let e=0;e<this.animations.length;e++)t=Math.max(t,this.animations[e].duration);return t}runAll(t){this.animations.forEach(e=>e[t]())}play(){this.runAll("play")}pause(){this.runAll("pause")}stop(){this.runAll("stop")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}var h=n(62180),d=n(99890),f=n(98904),p=n(95479),m=n(51119),v=n(92805),y=n(30003),g=n(37169),x=n(50101),b=n(53823),w=n(99075),P=n(21826);function S(t,e,n,r){var i;return"number"==typeof e?e:e.startsWith("-")||e.startsWith("+")?Math.max(0,t+parseFloat(e)):"<"===e?n:null!==(i=r.get(e))&&void 0!==i?i:t}let A=(t,e,n)=>{let r=e-t;return((n-t)%r+r)%r+t};var C=n(46267),T=n(3779),E=n(43640);function k(t,e){return t.at!==e.at?t.at-e.at:null===t.value?1:null===e.value?-1:0}function M(t,e){return e.has(t)||e.set(t,{}),e.get(t)}function V(t,e){return e[t]||(e[t]=[]),e[t]}let R=t=>"number"==typeof t,D=t=>t.every(R);function L(t,e,n,r){let i=o(t,r),l=i.length;(0,s.k)(!!l,"No valid element provided.");let u=[];for(let t=0;t<l;t++){let r=i[t];a.R.has(r)||function(t){let e={presenceContext:null,props:{},visualState:{renderState:{transform:{},transformOrigin:{},style:{},vars:{},attrs:{}},latestValues:{}}},n=(0,d.v)(t)?new f.e(e,{enableHardwareAcceleration:!1}):new p.W(e,{enableHardwareAcceleration:!0});n.mount(t),a.R.set(t,n)}(r);let s=a.R.get(r),o={...n};"function"==typeof o.delay&&(o.delay=o.delay(t,l)),u.push(...(0,h.w)(s,{...e,transition:o},{}))}return new c(u)}let O=t=>Array.isArray(t)&&Array.isArray(t[0]),j=t=>function(e,n,r){let i;return i=O(e)?function(t,e,n){let r=[];return(function(t,{defaultTransition:e={},...n}={},r){let i=e.duration||.3,s=new Map,a=new Map,l={},u=new Map,c=0,h=0,d=0;for(let n=0;n<t.length;n++){let s=t[n];if("string"==typeof s){u.set(s,h);continue}if(!Array.isArray(s)){u.set(s.name,S(h,s.at,c,u));continue}let[f,p,m={}]=s;void 0!==m.at&&(h=S(h,m.at,c,u));let w=0,k=(t,n,r,s=0,o=0)=>{let a=Array.isArray(t)?t:[t],{delay:l=0,times:u=(0,x.Y)(a),type:c="keyframes",...f}=n,{ease:p=e.ease||"easeOut",duration:m}=n,P="function"==typeof l?l(s,o):l,S=a.length;if(S<=2&&"spring"===c){let t=100;2===S&&D(a)&&(t=Math.abs(a[1]-a[0]));let e={...f};void 0!==m&&(e.duration=(0,g.w)(m));let n=function(t,e=100){let n=(0,v.S)({keyframes:[0,e],...t}),r=Math.min((0,y.i)(n),y.E);return{type:"keyframes",ease:t=>n.next(r*t).value/e,duration:(0,g.X)(r)}}(e,t);p=n.ease,m=n.duration}null!=m||(m=i);let k=h+P,M=k+m;1===u.length&&0===u[0]&&(u[1]=1);let V=u.length-a.length;V>0&&(0,b.c)(u,V),1===a.length&&a.unshift(null),function(t,e,n,r,i,s){!function(t,e,n){for(let r=0;r<t.length;r++){let i=t[r];i.at>e&&i.at<n&&((0,T.cl)(t,i),r--)}}(t,i,s);for(let a=0;a<e.length;a++){var o;t.push({value:e[a],at:(0,E.C)(i,s,r[a]),easing:(o=a,(0,C.N)(n)?n[A(0,n.length,o)]:n)})}}(r,a,p,u,k,M),w=Math.max(P+m,w),d=Math.max(M,d)};if((0,P.i)(f))k(p,m,V("default",M(f,a)));else{let t=o(f,r,l),e=t.length;for(let n=0;n<e;n++){let r=M(t[n],a);for(let t in p)k(p[t],m[t]?{...m,...m[t]}:{...m},V(t,r),n,e)}}c=h,h+=w}return a.forEach((t,r)=>{for(let i in t){let o=t[i];o.sort(k);let a=[],l=[],u=[];for(let t=0;t<o.length;t++){let{at:e,value:n,easing:r}=o[t];a.push(n),l.push((0,w.Y)(0,d,e)),u.push(r||"easeOut")}0!==l[0]&&(l.unshift(0),a.unshift(a[0]),u.unshift("easeInOut")),1!==l[l.length-1]&&(l.push(1),a.push(null)),s.has(r)||s.set(r,{keyframes:{},transition:{}});let c=s.get(r);c.keyframes[i]=a,c.transition[i]={...e,duration:d,ease:u,times:l,...n}}}),s})(t,e,n).forEach(({keyframes:t,transition:e},n)=>{let i;i=(0,P.i)(n)?(0,m.D)(n,t.default,e.default):L(n,t,e),r.push(i)}),new c(r)}(e,n,t):"object"!=typeof n||Array.isArray(n)?(0,m.D)(e,n,r):L(e,n,r,t),t&&t.animations.push(i),i};function F(){let t=(0,r.h)(()=>({current:null,animations:[]})),e=(0,r.h)(()=>j(t));return(0,i.z)(()=>{t.animations.forEach(t=>t.stop())}),[t,e]}j()},43440:function(t,e,n){"use strict";n.d(e,{v:function(){return ts}});var r=n(40131),i=n(37169);let s={current:!1},o=t=>Array.isArray(t)&&"number"==typeof t[0],a=([t,e,n,r])=>`cubic-bezier(${t}, ${e}, ${n}, ${r})`,l={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:a([0,.65,.55,1]),circOut:a([.55,0,1,.45]),backIn:a([.31,.01,.66,-.59]),backOut:a([.33,1.53,.69,.99])};var u=n(466),c=n(46267),h=n(6616),d=n(38180),f=n(3983),p=n(43640);function m(t,e,n){return(n<0&&(n+=1),n>1&&(n-=1),n<1/6)?t+(e-t)*6*n:n<.5?e:n<2/3?t+(e-t)*(2/3-n)*6:t}var v=n(63822),y=n(70326),g=n(54317);let x=(t,e,n)=>{let r=t*t;return Math.sqrt(Math.max(0,n*(e*e-r)+r))},b=[v.$,y.m,g.J],w=t=>b.find(e=>e.test(t));function P(t){let e=w(t);(0,r.k)(!!e,`'${t}' is not an animatable color. Use the equivalent color code instead.`);let n=e.parse(t);return e===g.J&&(n=function({hue:t,saturation:e,lightness:n,alpha:r}){t/=360,n/=100;let i=0,s=0,o=0;if(e/=100){let r=n<.5?n*(1+e):n+e-n*e,a=2*n-r;i=m(a,r,t+1/3),s=m(a,r,t),o=m(a,r,t-1/3)}else i=s=o=n;return{red:Math.round(255*i),green:Math.round(255*s),blue:Math.round(255*o),alpha:r}}(n)),n}let S=(t,e)=>{let n=P(t),r=P(e),i={...n};return t=>(i.red=x(n.red,r.red,t),i.green=x(n.green,r.green,t),i.blue=x(n.blue,r.blue,t),i.alpha=(0,p.C)(n.alpha,r.alpha,t),y.m.transform(i))};var A=n(50970),C=n(75301);let T=(t,e)=>n=>`${n>0?e:t}`;function E(t,e){return"number"==typeof t?n=>(0,p.C)(t,e,n):d.$.test(t)?S(t,e):t.startsWith("var(")?T(t,e):V(t,e)}let k=(t,e)=>{let n=[...t],r=n.length,i=t.map((t,n)=>E(t,e[n]));return t=>{for(let e=0;e<r;e++)n[e]=i[e](t);return n}},M=(t,e)=>{let n={...t,...e},r={};for(let i in n)void 0!==t[i]&&void 0!==e[i]&&(r[i]=E(t[i],e[i]));return t=>{for(let e in r)n[e]=r[e](t);return n}},V=(t,e)=>{let n=C.P.createTransformer(e),i=(0,C.V)(t),s=(0,C.V)(e);return i.numVars===s.numVars&&i.numColors===s.numColors&&i.numNumbers>=s.numNumbers?(0,A.z)(k(i.values,s.values),n):((0,r.K)(!0,`Complex values '${t}' and '${e}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),T(t,e))};var R=n(99075),D=n(38752);let L=(t,e)=>n=>(0,p.C)(t,e,n);function O(t,e,{clamp:n=!0,ease:i,mixer:s}={}){let o=t.length;if((0,r.k)(o===e.length,"Both input and output ranges must be the same length"),1===o)return()=>e[0];t[0]>t[o-1]&&(t=[...t].reverse(),e=[...e].reverse());let a=function(t,e,n){let r=[],i=n||function(t){if("number"==typeof t);else if("string"==typeof t)return d.$.test(t)?S:V;else if(Array.isArray(t))return k;else if("object"==typeof t)return M;return L}(t[0]),s=t.length-1;for(let n=0;n<s;n++){let s=i(t[n],t[n+1]);if(e){let t=Array.isArray(e)?e[n]||D.Z:e;s=(0,A.z)(t,s)}r.push(s)}return r}(e,i,s),l=a.length,u=e=>{let n=0;if(l>1)for(;n<t.length-2&&!(e<t[n+1]);n++);let r=(0,R.Y)(t[n],t[n+1],e);return a[n](r)};return n?e=>u((0,f.u)(t[0],t[o-1],e)):u}var j=n(50101);function F({duration:t=300,keyframes:e,times:n,ease:r="easeInOut"}){let i=(0,c.N)(r)?r.map(h.R):(0,h.R)(r),s={done:!1,value:e[0]},o=O((n&&n.length===e.length?n:(0,j.Y)(e)).map(e=>e*t),e,{ease:Array.isArray(i)?i:e.map(()=>i||u.mZ).splice(0,e.length-1)});return{calculatedDuration:t,next:e=>(s.value=o(e),s.done=e>=t,s)}}var B=n(92805),$=n(73923);function I({keyframes:t,velocity:e=0,power:n=.8,timeConstant:r=325,bounceDamping:i=10,bounceStiffness:s=500,modifyTarget:o,min:a,max:l,restDelta:u=.5,restSpeed:c}){let h,d;let f=t[0],p={done:!1,value:f},m=t=>void 0!==a&&t<a||void 0!==l&&t>l,v=t=>void 0===a?l:void 0===l?a:Math.abs(a-t)<Math.abs(l-t)?a:l,y=n*e,g=f+y,x=void 0===o?g:o(g);x!==g&&(y=x-f);let b=t=>-y*Math.exp(-t/r),w=t=>x+b(t),P=t=>{let e=b(t),n=w(t);p.done=Math.abs(e)<=u,p.value=p.done?x:n},S=t=>{m(p.value)&&(h=t,d=(0,B.S)({keyframes:[p.value,v(p.value)],velocity:(0,$.P)(w,t,p.value),damping:i,stiffness:s,restDelta:u,restSpeed:c}))};return S(0),{calculatedDuration:null,next:t=>{let e=!1;return(d||void 0!==h||(e=!0,P(t),S(t)),void 0!==h&&t>h)?d.next(t-h):(e||P(t),p)}}}var N=n(55062);let U=t=>{let e=({timestamp:e})=>t(e);return{start:()=>N.Wi.update(e,!0),stop:()=>(0,N.Pn)(e),now:()=>N.frameData.isProcessing?N.frameData.timestamp:performance.now()}};var W=n(30003);let _={decay:I,inertia:I,tween:F,keyframes:F,spring:B.S};function q({autoplay:t=!0,delay:e=0,driver:n=U,keyframes:r,type:s="keyframes",repeat:o=0,repeatDelay:a=0,repeatType:l="loop",onPlay:u,onStop:c,onComplete:h,onUpdate:d,...p}){let m,v,y,g,x,b=1,w=!1,P=()=>{v=new Promise(t=>{m=t})};P();let S=_[s]||F;S!==F&&"number"!=typeof r[0]&&(g=O([0,100],r,{clamp:!1}),r=[0,100]);let A=S({...p,keyframes:r});"mirror"===l&&(x=S({...p,keyframes:[...r].reverse(),velocity:-(p.velocity||0)}));let C="idle",T=null,E=null,k=null;null===A.calculatedDuration&&o&&(A.calculatedDuration=(0,W.i)(A));let{calculatedDuration:M}=A,V=1/0,R=1/0;null!==M&&(R=(V=M+a)*(o+1)-a);let D=0,L=t=>{if(null===E)return;b>0&&(E=Math.min(E,t)),b<0&&(E=Math.min(t-R/b,E));let n=(D=null!==T?T:Math.round(t-E)*b)-e*(b>=0?1:-1),i=b>=0?n<0:n>R;D=Math.max(n,0),"finished"===C&&null===T&&(D=R);let s=D,u=A;if(o){let t=Math.min(D,R)/V,e=Math.floor(t),n=t%1;!n&&t>=1&&(n=1),1===n&&e--,(e=Math.min(e,o+1))%2&&("reverse"===l?(n=1-n,a&&(n-=a/V)):"mirror"===l&&(u=x)),s=(0,f.u)(0,1,n)*V}let c=i?{done:!1,value:r[0]}:u.next(s);g&&(c.value=g(c.value));let{done:h}=c;i||null===M||(h=b>=0?D>=R:D<=0);let p=null===T&&("finished"===C||"running"===C&&h);return d&&d(c.value),p&&$(),c},j=()=>{y&&y.stop(),y=void 0},B=()=>{C="idle",j(),m(),P(),E=k=null},$=()=>{C="finished",h&&h(),j(),m()},I=()=>{if(w)return;y||(y=n(L));let t=y.now();u&&u(),null!==T?E=t-T:E&&"finished"!==C||(E=t),"finished"===C&&P(),k=E,T=null,C="running",y.start()};t&&I();let N={then:(t,e)=>v.then(t,e),get time(){return(0,i.X)(D)},set time(newTime){D=newTime=(0,i.w)(newTime),null===T&&y&&0!==b?E=y.now()-newTime/b:T=newTime},get duration(){let t=null===A.calculatedDuration?(0,W.i)(A):A.calculatedDuration;return(0,i.X)(t)},get speed(){return b},set speed(newSpeed){if(newSpeed===b||!y)return;b=newSpeed,N.time=(0,i.X)(D)},get state(){return C},play:I,pause:()=>{C="paused",T=D},stop:()=>{w=!0,"idle"!==C&&(C="idle",c&&c(),B())},cancel:()=>{null!==k&&L(k),B()},complete:()=>{C="finished"},sample:t=>(E=0,L(t))};return N}let z=(0,n(52953).X)(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),H=new Set(["opacity","clipPath","filter","transform","backgroundColor"]),X=(t,e)=>"spring"===e.type||"backgroundColor"===t||!function t(e){return!!(!e||"string"==typeof e&&l[e]||o(e)||Array.isArray(e)&&e.every(t))}(e.ease);var Y=n(90210);let Z={type:"spring",stiffness:500,damping:25,restSpeed:10},G=t=>({type:"spring",stiffness:550,damping:0===t?2*Math.sqrt(550):30,restSpeed:10}),K={type:"keyframes",duration:.8},J={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},Q=(t,{keyframes:e})=>e.length>2?K:Y.G.has(t)?t.startsWith("scale")?G(e[1]):Z:J,tt=(t,e)=>"zIndex"!==t&&!!("number"==typeof e||Array.isArray(e)||"string"==typeof e&&(C.P.test(e)||"0"===e)&&!e.startsWith("url("));var te=n(67057),tn=n(13186),tr=n(71683);let ti={skipAnimations:!1},ts=(t,e,n,u={})=>c=>{let h=(0,tr.e)(u,t)||{},d=h.delay||u.delay||0,{elapsed:f=0}=u;f-=(0,i.w)(d);let p=function(t,e,n,r){let i,s;let o=tt(e,n);i=Array.isArray(n)?[...n]:[null,n];let a=void 0!==r.from?r.from:t.get(),l=[];for(let t=0;t<i.length;t++){var u;null===i[t]&&(i[t]=0===t?a:i[t-1]),("number"==typeof(u=i[t])?0===u:null!==u?"none"===u||"0"===u||(0,tn.W)(u):void 0)&&l.push(t),"string"==typeof i[t]&&"none"!==i[t]&&"0"!==i[t]&&(s=i[t])}if(o&&l.length&&s)for(let t=0;t<l.length;t++)i[l[t]]=(0,te.T)(e,s);return i}(e,t,n,h),m=p[0],v=p[p.length-1],y=tt(t,m),g=tt(t,v);(0,r.K)(y===g,`You are trying to animate ${t} from "${m}" to "${v}". ${m} is not an animatable value - to enable this animation set ${m} to a value animatable to ${v} via the \`style\` property.`);let x={keyframes:p,velocity:e.getVelocity(),ease:"easeOut",...h,delay:-f,onUpdate:t=>{e.set(t),h.onUpdate&&h.onUpdate(t)},onComplete:()=>{c(),h.onComplete&&h.onComplete()}};if((0,tr.r)(h)||(x={...x,...Q(t,x)}),x.duration&&(x.duration=(0,i.w)(x.duration)),x.repeatDelay&&(x.repeatDelay=(0,i.w)(x.repeatDelay)),!y||!g||s.current||!1===h.type||ti.skipAnimations)return function({keyframes:t,delay:e,onUpdate:n,onComplete:r}){let i=()=>(n&&n(t[t.length-1]),r&&r(),{time:0,speed:1,duration:0,play:D.Z,pause:D.Z,stop:D.Z,then:t=>(t(),Promise.resolve()),cancel:D.Z,complete:D.Z});return e?q({keyframes:[0,1],duration:0,delay:e,onComplete:i}):i()}(s.current?{...x,delay:0}:x);if(!u.isHandoff&&e.owner&&e.owner.current instanceof HTMLElement&&!e.owner.getProps().onUpdate){let n=function(t,e,{onUpdate:n,onComplete:r,...s}){let u,c;if(!(z()&&H.has(e)&&!s.repeatDelay&&"mirror"!==s.repeatType&&0!==s.damping&&"inertia"!==s.type))return!1;let h=!1,d=!1,f=()=>{c=new Promise(t=>{u=t})};f();let{keyframes:p,duration:m=300,ease:v,times:y}=s;if(X(e,s)){let t=q({...s,repeat:0,delay:0}),e={done:!1,value:p[0]},n=[],r=0;for(;!e.done&&r<2e4;)e=t.sample(r),n.push(e.value),r+=10;y=void 0,p=n,m=r-10,v="linear"}let g=function(t,e,n,{delay:r=0,duration:i,repeat:s=0,repeatType:u="loop",ease:c,times:h}={}){let d={[e]:n};h&&(d.offset=h);let f=function t(e){if(e)return o(e)?a(e):Array.isArray(e)?e.map(t):l[e]}(c);return Array.isArray(f)&&(d.easing=f),t.animate(d,{delay:r,duration:i,easing:Array.isArray(f)?"linear":f,fill:"both",iterations:s+1,direction:"reverse"===u?"alternate":"normal"})}(t.owner.current,e,p,{...s,duration:m,ease:v,times:y}),x=()=>{d=!1,g.cancel()},b=()=>{d=!0,N.Wi.update(x),u(),f()};return g.onfinish=()=>{d||(t.set(function(t,{repeat:e,repeatType:n="loop"}){let r=e&&"loop"!==n&&e%2==1?0:t.length-1;return t[r]}(p,s)),r&&r(),b())},{then:(t,e)=>c.then(t,e),attachTimeline:t=>(g.timeline=t,g.onfinish=null,D.Z),get time(){return(0,i.X)(g.currentTime||0)},set time(newTime){g.currentTime=(0,i.w)(newTime)},get speed(){return g.playbackRate},set speed(newSpeed){g.playbackRate=newSpeed},get duration(){return(0,i.X)(m)},play:()=>{h||(g.play(),(0,N.Pn)(x))},pause:()=>g.pause(),stop:()=>{if(h=!0,"idle"===g.playState)return;let{currentTime:e}=g;if(e){let n=q({...s,autoplay:!1});t.setWithVelocity(n.sample(e-10).value,n.sample(e).value,10)}b()},complete:()=>{d||g.finish()},cancel:b}}(e,t,x);if(n)return n}return q(x)}},51119:function(t,e,n){"use strict";n.d(e,{D:function(){return o}});var r=n(43440),i=n(90039),s=n(21826);function o(t,e,n){let o=(0,s.i)(t)?t:(0,i.BX)(t);return o.start((0,r.v)("",o,e,n)),o.animation}},62180:function(t,e,n){"use strict";n.d(e,{w:function(){return c}});var r=n(90210),i=n(17235),s=n(43440),o=n(71331),a=n(63798),l=n(71683),u=n(55062);function c(t,e,{delay:n=0,transitionOverride:c,type:h}={}){let{transition:d=t.getDefaultTransition(),transitionEnd:f,...p}=t.makeTargetAnimatable(e),m=t.getValue("willChange");c&&(d=c);let v=[],y=h&&t.animationState&&t.animationState.getState()[h];for(let e in p){let a=t.getValue(e),c=p[e];if(!a||void 0===c||y&&function({protectedKeys:t,needsAnimating:e},n){let r=t.hasOwnProperty(n)&&!0!==e[n];return e[n]=!1,r}(y,e))continue;let h={delay:n,elapsed:0,...(0,l.e)(d||{},e)};if(window.HandoffAppearAnimations){let n=t.getProps()[i.M];if(n){let t=window.HandoffAppearAnimations(n,e,a,u.Wi);null!==t&&(h.elapsed=t,h.isHandoff=!0)}}let f=!h.isHandoff&&!function(t,e){let n=t.get();if(!Array.isArray(e))return n!==e;for(let t=0;t<e.length;t++)if(e[t]!==n)return!0}(a,c);if("spring"===h.type&&(a.getVelocity()||h.velocity)&&(f=!1),a.animation&&(f=!1),f)continue;a.start((0,s.v)(e,a,c,t.shouldReduceMotion&&r.G.has(e)?{type:!1}:h));let g=a.animation;(0,o.L)(m)&&(m.add(e),g.then(()=>m.remove(e))),v.push(g)}return f&&Promise.all(v).then(()=>{f&&(0,a.CD)(t,f)}),v}},17235:function(t,e,n){"use strict";n.d(e,{M:function(){return r}});let r="data-"+(0,n(95657).D)("framerAppearId")},82600:function(t,e,n){"use strict";function r(t){return null!==t&&"object"==typeof t&&"function"==typeof t.start}n.d(e,{H:function(){return r}})},68686:function(t,e,n){"use strict";n.d(e,{C:function(){return r}});let r=t=>Array.isArray(t)},11349:function(t,e,n){"use strict";n.d(e,{E:function(){return i}});var r=n(6616);function i(t=.1,{startDelay:e=0,from:n=0,ease:i}={}){return(s,o)=>{let a=t*Math.abs(("number"==typeof n?n:function(t,e){if("first"===t)return 0;{let n=e-1;return"last"===t?n:n/2}}(n,o))-s);if(i){let e=o*t;a=(0,r.R)(i)(a/e)*e}return e+a}}},71683:function(t,e,n){"use strict";function r({when:t,delay:e,delayChildren:n,staggerChildren:r,staggerDirection:i,repeat:s,repeatType:o,repeatDelay:a,from:l,elapsed:u,...c}){return!!Object.keys(c).length}function i(t,e){return t[e]||t.default||t}n.d(e,{e:function(){return i},r:function(){return r}})},40529:function(t,e,n){"use strict";n.d(e,{M:function(){return y}});var r=n(7653),i=n(98739);function s(){let t=(0,r.useRef)(!1);return(0,i.L)(()=>(t.current=!0,()=>{t.current=!1}),[]),t}var o=n(55062),a=n(14),l=n(2415);class u extends r.Component{getSnapshotBeforeUpdate(t){let e=this.props.childRef.current;if(e&&t.isPresent&&!this.props.isPresent){let t=this.props.sizeRef.current;t.height=e.offsetHeight||0,t.width=e.offsetWidth||0,t.top=e.offsetTop,t.left=e.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function c({children:t,isPresent:e}){let n=(0,r.useId)(),i=(0,r.useRef)(null),s=(0,r.useRef)({width:0,height:0,top:0,left:0});return(0,r.useInsertionEffect)(()=>{let{width:t,height:r,top:o,left:a}=s.current;if(e||!i.current||!t||!r)return;i.current.dataset.motionPopId=n;let l=document.createElement("style");return document.head.appendChild(l),l.sheet&&l.sheet.insertRule(` [data-motion-pop-id="${n}"] { position: absolute !important; width: ${t}px !important; height: ${r}px !important; top: ${o}px !important; left: ${a}px !important; } `),()=>{document.head.removeChild(l)}},[e]),r.createElement(u,{isPresent:e,childRef:i,sizeRef:s},r.cloneElement(t,{ref:i}))}let h=({children:t,initial:e,isPresent:n,onExitComplete:i,custom:s,presenceAffectsLayout:o,mode:u})=>{let h=(0,l.h)(d),f=(0,r.useId)(),p=(0,r.useMemo)(()=>({id:f,initial:e,isPresent:n,custom:s,onExitComplete:t=>{for(let e of(h.set(t,!0),h.values()))if(!e)return;i&&i()},register:t=>(h.set(t,!1),()=>h.delete(t))}),o?void 0:[n]);return(0,r.useMemo)(()=>{h.forEach((t,e)=>h.set(e,!1))},[n]),r.useEffect(()=>{n||h.size||!i||i()},[n]),"popLayout"===u&&(t=r.createElement(c,{isPresent:n},t)),r.createElement(a.O.Provider,{value:p},t)};function d(){return new Map}var f=n(50728),p=n(81536),m=n(40131);let v=t=>t.key||"",y=({children:t,custom:e,initial:n=!0,onExitComplete:a,exitBeforeEnter:l,presenceAffectsLayout:u=!0,mode:c="sync"})=>{(0,m.k)(!l,"Replace exitBeforeEnter with mode='wait'");let d=(0,r.useContext)(f.p).forceRender||function(){let t=s(),[e,n]=(0,r.useState)(0),i=(0,r.useCallback)(()=>{t.current&&n(e+1)},[e]);return[(0,r.useCallback)(()=>o.Wi.postRender(i),[i]),e]}()[0],y=s(),g=function(t){let e=[];return r.Children.forEach(t,t=>{(0,r.isValidElement)(t)&&e.push(t)}),e}(t),x=g,b=(0,r.useRef)(new Map).current,w=(0,r.useRef)(x),P=(0,r.useRef)(new Map).current,S=(0,r.useRef)(!0);if((0,i.L)(()=>{S.current=!1,function(t,e){t.forEach(t=>{let n=v(t);e.set(n,t)})}(g,P),w.current=x}),(0,p.z)(()=>{S.current=!0,P.clear(),b.clear()}),S.current)return r.createElement(r.Fragment,null,x.map(t=>r.createElement(h,{key:v(t),isPresent:!0,initial:!!n&&void 0,presenceAffectsLayout:u,mode:c},t)));x=[...x];let A=w.current.map(v),C=g.map(v),T=A.length;for(let t=0;t<T;t++){let e=A[t];-1!==C.indexOf(e)||b.has(e)||b.set(e,void 0)}return"wait"===c&&b.size&&(x=[]),b.forEach((t,n)=>{if(-1!==C.indexOf(n))return;let i=P.get(n);if(!i)return;let s=A.indexOf(n),o=t;o||(o=r.createElement(h,{key:v(i),isPresent:!1,onExitComplete:()=>{b.delete(n);let t=Array.from(P.keys()).filter(t=>!C.includes(t));if(t.forEach(t=>P.delete(t)),w.current=g.filter(e=>{let r=v(e);return r===n||t.includes(r)}),!b.size){if(!1===y.current)return;d(),a&&a()}},custom:e,presenceAffectsLayout:u,mode:c},i),b.set(n,o)),x.splice(s,0,o)}),x=x.map(t=>{let e=t.key;return b.has(e)?t:r.createElement(h,{key:v(t),isPresent:!0,presenceAffectsLayout:u,mode:c},t)}),r.createElement(r.Fragment,null,b.size?x:x.map(t=>(0,r.cloneElement)(t)))}},50728:function(t,e,n){"use strict";n.d(e,{p:function(){return r}});let r=(0,n(7653).createContext)({})},14:function(t,e,n){"use strict";n.d(e,{O:function(){return r}});let r=(0,n(7653).createContext)(null)},55083:function(t,e,n){"use strict";n.d(e,{Bn:function(){return o},X7:function(){return a},Z7:function(){return s}});var r=n(48828),i=n(32515);let s=t=>1-Math.sin(Math.acos(t)),o=(0,i.M)(s),a=(0,r.o)(s)},70308:function(t,e,n){"use strict";n.d(e,{_:function(){return s}});var r=n(38752);let i=(t,e,n)=>(((1-3*n+3*e)*t+(3*n-6*e))*t+3*e)*t;function s(t,e,n,s){if(t===e&&n===s)return r.Z;let o=e=>(function(t,e,n,r,s){let o,a;let l=0;do(o=i(a=e+(n-e)/2,r,s)-t)>0?n=a:e=a;while(Math.abs(o)>1e-7&&++l<12);return a})(e,0,1,t,n);return t=>0===t||1===t?t:i(o(t),e,s)}},466:function(t,e,n){"use strict";n.d(e,{Vv:function(){return s},YQ:function(){return i},mZ:function(){return o}});var r=n(70308);let i=(0,r._)(.42,0,1,1),s=(0,r._)(0,0,.58,1),o=(0,r._)(.42,0,.58,1)},48828:function(t,e,n){"use strict";n.d(e,{o:function(){return r}});let r=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2},32515:function(t,e,n){"use strict";n.d(e,{M:function(){return r}});let r=t=>e=>1-t(1-e)},46267:function(t,e,n){"use strict";n.d(e,{N:function(){return r}});let r=t=>Array.isArray(t)&&"number"!=typeof t[0]},6616:function(t,e,n){"use strict";n.d(e,{R:function(){return p}});var r=n(40131),i=n(70308),s=n(38752),o=n(466),a=n(55083),l=n(48828),u=n(32515);let c=(0,i._)(.33,1.53,.69,.99),h=(0,u.M)(c),d=(0,l.o)(h),f={linear:s.Z,easeIn:o.YQ,easeInOut:o.mZ,easeOut:o.Vv,circIn:a.Z7,circInOut:a.X7,circOut:a.Bn,backIn:h,backInOut:d,backOut:c,anticipate:t=>(t*=2)<1?.5*h(t):.5*(2-Math.pow(2,-10*(t-1)))},p=t=>{if(Array.isArray(t)){(0,r.k)(4===t.length,"Cubic bezier arrays must contain four numerical values.");let[e,n,s,o]=t;return(0,i._)(e,n,s,o)}return"string"==typeof t?((0,r.k)(void 0!==f[t],`Invalid easing type '${t}'`),f[t]):t}},55062:function(t,e,n){"use strict";n.d(e,{Pn:function(){return a},Wi:function(){return o},frameData:function(){return l},S6:function(){return u}});var r=n(38752);class i{constructor(){this.order=[],this.scheduled=new Set}add(t){if(!this.scheduled.has(t))return this.scheduled.add(t),this.order.push(t),!0}remove(t){let e=this.order.indexOf(t);-1!==e&&(this.order.splice(e,1),this.scheduled.delete(t))}clear(){this.order.length=0,this.scheduled.clear()}}let s=["prepare","read","update","preRender","render","postRender"],{schedule:o,cancel:a,state:l,steps:u}=function(t,e){let n=!1,r=!0,o={delta:0,timestamp:0,isProcessing:!1},a=s.reduce((t,e)=>(t[e]=function(t){let e=new i,n=new i,r=0,s=!1,o=!1,a=new WeakSet,l={schedule:(t,i=!1,o=!1)=>{let l=o&&s,u=l?e:n;return i&&a.add(t),u.add(t)&&l&&s&&(r=e.order.length),t},cancel:t=>{n.remove(t),a.delete(t)},process:i=>{if(s){o=!0;return}if(s=!0,[e,n]=[n,e],n.clear(),r=e.order.length)for(let n=0;n<r;n++){let r=e.order[n];r(i),a.has(r)&&(l.schedule(r),t())}s=!1,o&&(o=!1,l.process(i))}};return l}(()=>n=!0),t),{}),l=t=>a[t].process(o),u=()=>{let i=performance.now();n=!1,o.delta=r?1e3/60:Math.max(Math.min(i-o.timestamp,40),1),o.timestamp=i,o.isProcessing=!0,s.forEach(l),o.isProcessing=!1,n&&e&&(r=!1,t(u))},c=()=>{n=!0,r=!0,o.isProcessing||t(u)};return{schedule:s.reduce((t,e)=>{let r=a[e];return t[e]=(t,e=!1,i=!1)=>(n||c(),r.schedule(t,e,i)),t},{}),cancel:t=>s.forEach(e=>a[e].cancel(t)),state:o,steps:a}}("undefined"!=typeof requestAnimationFrame?requestAnimationFrame:r.Z,!0)},76073:function(t,e,n){"use strict";n.d(e,{A:function(){return i}});let r={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"]},i={};for(let t in r)i[t]={isEnabled:e=>r[t].some(t=>!!e[t])}},88344:function(t,e,n){"use strict";n.d(e,{j:function(){return s}});var r=n(34940),i=n(90210);function s(t,{layout:e,layoutId:n}){return i.G.has(t)||t.startsWith("origin")||(e||void 0!==n)&&(!!r.P[t]||"opacity"===t)}},54828:function(t,e,n){"use strict";function r({top:t,left:e,right:n,bottom:r}){return{x:{min:e,max:n},y:{min:t,max:r}}}function i({x:t,y:e}){return{top:e.min,right:t.max,bottom:e.max,left:t.min}}function s(t,e){if(!e)return t;let n=e({x:t.left,y:t.top}),r=e({x:t.right,y:t.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}n.d(e,{d7:function(){return s},i8:function(){return r},z2:function(){return i}})},81077:function(t,e,n){"use strict";n.d(e,{D2:function(){return m},YY:function(){return u},am:function(){return h},o2:function(){return l},q2:function(){return s}});var r=n(43640),i=n(27502);function s(t,e,n){return n+e*(t-n)}function o(t,e,n,r,i){return void 0!==i&&(t=r+i*(t-r)),r+n*(t-r)+e}function a(t,e=0,n=1,r,i){t.min=o(t.min,e,n,r,i),t.max=o(t.max,e,n,r,i)}function l(t,{x:e,y:n}){a(t.x,e.translate,e.scale,e.originPoint),a(t.y,n.translate,n.scale,n.originPoint)}function u(t,e,n,r=!1){let s,o;let a=n.length;if(a){e.x=e.y=1;for(let u=0;u<a;u++){o=(s=n[u]).projectionDelta;let a=s.instance;(!a||!a.style||"contents"!==a.style.display)&&(r&&s.options.layoutScroll&&s.scroll&&s!==s.root&&m(t,{x:-s.scroll.offset.x,y:-s.scroll.offset.y}),o&&(e.x*=o.x.scale,e.y*=o.y.scale,l(t,o)),r&&(0,i.ud)(s.latestValues)&&m(t,s.latestValues))}e.x=c(e.x),e.y=c(e.y)}}function c(t){return Number.isInteger(t)?t:t>1.0000000000001||t<.999999999999?t:1}function h(t,e){t.min=t.min+e,t.max=t.max+e}function d(t,e,[n,i,s]){let o=void 0!==e[s]?e[s]:.5,l=(0,r.C)(t.min,t.max,o);a(t,e[n],e[i],l,e.scale)}let f=["x","scaleX","originX"],p=["y","scaleY","originY"];function m(t,e){d(t.x,e,f),d(t.y,e,p)}},86503:function(t,e,n){"use strict";n.d(e,{dO:function(){return o},wc:function(){return i}});let r=()=>({translate:0,scale:1,origin:0,originPoint:0}),i=()=>({x:r(),y:r()}),s=()=>({min:0,max:0}),o=()=>({x:s(),y:s()})},34940:function(t,e,n){"use strict";n.d(e,{B:function(){return i},P:function(){return r}});let r={};function i(t){Object.assign(r,t)}},27502:function(t,e,n){"use strict";function r(t){return void 0===t||1===t}function i({scale:t,scaleX:e,scaleY:n}){return!r(t)||!r(e)||!r(n)}function s(t){return i(t)||o(t)||t.z||t.rotate||t.rotateX||t.rotateY}function o(t){var e,n;return(e=t.x)&&"0%"!==e||(n=t.y)&&"0%"!==n}n.d(e,{D_:function(){return o},Lj:function(){return i},ud:function(){return s}})},30487:function(t,e,n){"use strict";n.d(e,{J:function(){return s},z:function(){return o}});var r=n(54828),i=n(81077);function s(t,e){return(0,r.i8)((0,r.d7)(t.getBoundingClientRect(),e))}function o(t,e,n){let r=s(t,n),{scroll:o}=e;return o&&((0,i.am)(r.x,o.offset.x),(0,i.am)(r.y,o.offset.y)),r}},53434:function(t,e,n){"use strict";n.d(e,{J:function(){return X}});var r=n(63798),i=n(40131),s=n(37984),o=n(25375);let a=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function l(t,e,n=1){(0,i.k)(n<=4,`Max CSS variable fallback depth detected in property "${t}". This may indicate a circular fallback dependency.`);let[r,u]=function(t){let e=a.exec(t);if(!e)return[,];let[,n,r]=e;return[n,r]}(t);if(!r)return;let c=window.getComputedStyle(e).getPropertyValue(r);if(c){let t=c.trim();return(0,s.P)(t)?parseFloat(t):t}return(0,o.tm)(u)?l(u,e,n+1):u}var u=n(68686),c=n(90210),h=n(61217),d=n(80226),f=n(37822),p=n(31150);let m=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),v=t=>m.has(t),y=t=>Object.keys(t).some(v),g=t=>t===f.Rx||t===p.px,x=(t,e)=>parseFloat(t.split(", ")[e]),b=(t,e)=>(n,{transform:r})=>{if("none"===r||!r)return 0;let i=r.match(/^matrix3d\((.+)\)$/);if(i)return x(i[1],e);{let e=r.match(/^matrix\((.+)\)$/);return e?x(e[1],t):0}},w=new Set(["x","y","z"]),P=c._.filter(t=>!w.has(t)),S={width:({x:t},{paddingLeft:e="0",paddingRight:n="0"})=>t.max-t.min-parseFloat(e)-parseFloat(n),height:({y:t},{paddingTop:e="0",paddingBottom:n="0"})=>t.max-t.min-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:b(4,13),y:b(5,14)};S.translateX=S.x,S.translateY=S.y;let A=(t,e,n)=>{let r=e.measureViewportBox(),i=getComputedStyle(e.current),{display:s}=i,o={};"none"===s&&e.setStaticValue("display",t.display||"block"),n.forEach(t=>{o[t]=S[t](r,i)}),e.render();let a=e.measureViewportBox();return n.forEach(n=>{let r=e.getValue(n);r&&r.jump(o[n]),t[n]=S[n](a,i)}),t},C=(t,e,n={},r={})=>{e={...e},r={...r};let s=Object.keys(e).filter(v),o=[],a=!1,l=[];if(s.forEach(s=>{let c;let d=t.getValue(s);if(!t.hasValue(s))return;let f=n[s],m=(0,h.C)(f),v=e[s];if((0,u.C)(v)){let t=v.length,e=null===v[0]?1:0;f=v[e],m=(0,h.C)(f);for(let n=e;n<t&&null!==v[n];n++)c?(0,i.k)((0,h.C)(v[n])===c,"All keyframes must be of the same type"):(c=(0,h.C)(v[n]),(0,i.k)(c===m||g(m)&&g(c),"Keyframes must be of the same dimension as the current value"))}else c=(0,h.C)(v);if(m!==c){if(g(m)&&g(c)){let t=d.get();"string"==typeof t&&d.set(parseFloat(t)),"string"==typeof v?e[s]=parseFloat(v):Array.isArray(v)&&c===p.px&&(e[s]=v.map(parseFloat))}else(null==m?void 0:m.transform)&&(null==c?void 0:c.transform)&&(0===f||0===v)?0===f?d.set(c.transform(f)):e[s]=m.transform(v):(a||(o=function(t){let e=[];return P.forEach(n=>{let r=t.getValue(n);void 0!==r&&(e.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),e.length&&t.render(),e}(t),a=!0),l.push(s),r[s]=void 0!==r[s]?r[s]:e[s],d.jump(v))}}),!l.length)return{target:e,transitionEnd:r};{let n=l.indexOf("height")>=0?window.pageYOffset:null,i=A(e,t,l);return o.length&&o.forEach(([e,n])=>{t.getValue(e).set(n)}),t.render(),d.j&&null!==n&&window.scrollTo({top:n}),{target:i,transitionEnd:r}}},T=(t,e,n,r)=>{var i,s;let a=function(t,{...e},n){let r=t.current;if(!(r instanceof Element))return{target:e,transitionEnd:n};for(let i in n&&(n={...n}),t.values.forEach(t=>{let e=t.get();if(!(0,o.tm)(e))return;let n=l(e,r);n&&t.set(n)}),e){let t=e[i];if(!(0,o.tm)(t))continue;let s=l(t,r);s&&(e[i]=s,n||(n={}),void 0===n[i]&&(n[i]=t))}return{target:e,transitionEnd:n}}(t,e,r);return e=a.target,r=a.transitionEnd,i=e,s=r,y(i)?C(t,i,n,s):{target:i,transitionEnd:s}};var E=n(86503),k=n(99506);let M={current:null},V={current:!1};var R=n(39311),D=n(90039),L=n(71331),O=n(21826),j=n(33343),F=n(28453),B=n(29222),$=n(76073),I=n(17199),N=n(66960),U=n(55062);let W=Object.keys($.A),_=W.length,q=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],z=I.V.length;class H{constructor({parent:t,props:e,presenceContext:n,reducedMotionConfig:r,visualState:i},s={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},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.scheduleRender=()=>U.Wi.render(this.render,!1,!0);let{latestValues:o,renderState:a}=i;this.latestValues=o,this.baseTarget={...o},this.initialValues=e.initial?{...o}:{},this.renderState=a,this.parent=t,this.props=e,this.presenceContext=n,this.depth=t?t.depth+1:0,this.reducedMotionConfig=r,this.options=s,this.isControllingVariants=(0,j.G)(e),this.isVariantNode=(0,j.M)(e),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);let{willChange:l,...u}=this.scrapeMotionValuesFromProps(e,{});for(let t in u){let e=u[t];void 0!==o[t]&&(0,O.i)(e)&&(e.set(o[t],!1),(0,L.L)(l)&&l.add(t))}}scrapeMotionValuesFromProps(t,e){return{}}mount(t){this.current=t,N.R.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)),V.current||function(){if(V.current=!0,d.j){if(window.matchMedia){let t=window.matchMedia("(prefers-reduced-motion)"),e=()=>M.current=t.matches;t.addListener(e),e()}else M.current=!1}}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||M.current),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){for(let t in N.R.delete(this.current),this.projection&&this.projection.unmount(),(0,U.Pn)(this.notifyUpdate),(0,U.Pn)(this.render),this.valueSubscriptions.forEach(t=>t()),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this),this.events)this.events[t].clear();for(let t in this.features)this.features[t].unmount();this.current=null}bindToMotionValue(t,e){let n=c.G.has(t),r=e.on("change",e=>{this.latestValues[t]=e,this.props.onUpdate&&U.Wi.update(this.notifyUpdate,!1,!0),n&&this.projection&&(this.projection.isTransformDirty=!0)}),i=e.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(t,()=>{r(),i()})}sortNodePosition(t){return this.current&&this.sortInstanceNodePosition&&this.type===t.type?this.sortInstanceNodePosition(this.current,t.current):0}loadFeatures({children:t,...e},n,r,i){let s,o;for(let t=0;t<_;t++){let n=W[t],{isEnabled:r,Feature:i,ProjectionNode:a,MeasureLayout:l}=$.A[n];a&&(s=a),r(e)&&(!this.features[n]&&i&&(this.features[n]=new i(this)),l&&(o=l))}if(("html"===this.type||"svg"===this.type)&&!this.projection&&s){this.projection=new s(this.latestValues,this.parent&&this.parent.projection);let{layoutId:t,layout:n,drag:r,dragConstraints:o,layoutScroll:a,layoutRoot:l}=e;this.projection.setOptions({layoutId:t,layout:n,alwaysMeasureLayout:!!r||o&&(0,k.I)(o),visualElement:this,scheduleRender:()=>this.scheduleRender(),animationType:"string"==typeof n?n:"both",initialPromotionConfig:i,layoutScroll:a,layoutRoot:l})}return o}updateFeatures(){for(let t in this.features){let e=this.features[t];e.isMounted?e.update():(e.mount(),e.isMounted=!0)}}triggerBuild(){this.build(this.renderState,this.latestValues,this.options,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):(0,E.dO)()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,e){this.latestValues[t]=e}makeTargetAnimatable(t,e=!0){return this.makeTargetAnimatableFromInstance(t,this.props,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 e=0;e<q.length;e++){let n=q[e];this.propEventSubscriptions[n]&&(this.propEventSubscriptions[n](),delete this.propEventSubscriptions[n]);let r=t["on"+n];r&&(this.propEventSubscriptions[n]=this.on(n,r))}this.prevMotionValues=function(t,e,n){let{willChange:r}=e;for(let i in e){let s=e[i],o=n[i];if((0,O.i)(s))t.addValue(i,s),(0,L.L)(r)&&r.add(i);else if((0,O.i)(o))t.addValue(i,(0,D.BX)(s,{owner:t})),(0,L.L)(r)&&r.remove(i);else if(o!==s){if(t.hasValue(i)){let e=t.getValue(i);e.hasAnimated||e.set(s)}else{let e=t.getStaticValue(i);t.addValue(i,(0,D.BX)(void 0!==e?e:s,{owner:t}))}}}for(let r in n)void 0===e[r]&&t.removeValue(r);return e}(this,this.scrapeMotionValuesFromProps(t,this.prevProps),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}getVariantContext(t=!1){if(t)return this.parent?this.parent.getVariantContext():void 0;if(!this.isControllingVariants){let t=this.parent&&this.parent.getVariantContext()||{};return void 0!==this.props.initial&&(t.initial=this.props.initial),t}let e={};for(let t=0;t<z;t++){let n=I.V[t],r=this.props[n];((0,F.$)(r)||!1===r)&&(e[n]=r)}return e}addVariantChild(t){let e=this.getClosestVariantNode();if(e)return e.variantChildren&&e.variantChildren.add(t),()=>e.variantChildren.delete(t)}addValue(t,e){e!==this.values.get(t)&&(this.removeValue(t),this.bindToMotionValue(t,e)),this.values.set(t,e),this.latestValues[t]=e.get()}removeValue(t){this.values.delete(t);let 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=(0,D.BX)(e,{owner:this}),this.addValue(t,n)),n}readValue(t){var e;return void 0===this.latestValues[t]&&this.current?null!==(e=this.getBaseTargetFromProps(this.props,t))&&void 0!==e?e:this.readValueFromInstance(this.current,t,this.options):this.latestValues[t]}setBaseTarget(t,e){this.baseTarget[t]=e}getBaseTarget(t){var e;let{initial:n}=this.props,r="string"==typeof n||"object"==typeof n?null===(e=(0,B.o)(this.props,n))||void 0===e?void 0:e[t]:void 0;if(n&&void 0!==r)return r;let i=this.getBaseTargetFromProps(this.props,t);return void 0===i||(0,O.i)(i)?void 0!==this.initialValues[t]&&void 0===r?void 0:this.baseTarget[t]:i}on(t,e){return this.events[t]||(this.events[t]=new R.L),this.events[t].add(e)}notify(t,...e){this.events[t]&&this.events[t].notify(...e)}}class X extends H{sortInstanceNodePosition(t,e){return 2&t.compareDocumentPosition(e)?1:-1}getBaseTargetFromProps(t,e){return t.style?t.style[e]:void 0}removeValueFromRenderState(t,{vars:e,style:n}){delete e[t],delete n[t]}makeTargetAnimatableFromInstance({transition:t,transitionEnd:e,...n},{transformValues:i},s){let o=(0,r.P$)(n,t||{},this);if(i&&(e&&(e=i(e)),n&&(n=i(n)),o&&(o=i(o))),s){(0,r.GJ)(this,n,o);let t=T(this,n,o,e);e=t.transitionEnd,n=t.target}return{transition:t,transitionEnd:e,...n}}}},72354:function(t,e,n){"use strict";n.d(e,{E:function(){return na}});var r,i=n(7653);let s=(0,i.createContext)({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"}),o=(0,i.createContext)({});var a=n(14),l=n(98739);let u=(0,i.createContext)({strict:!1});var c=n(17235),h=n(99506),d=n(28453),f=n(33343);function p(t){return Array.isArray(t)?t.join(" "):t}var m=n(76073),v=n(80226),y=n(50728);let g=(0,i.createContext)({}),x=Symbol.for("motionComponentSymbol"),b=["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 w(t){if("string"!=typeof t||t.includes("-"));else if(b.indexOf(t)>-1||/[A-Z]/.test(t))return!0;return!1}var P=n(88344),S=n(21826),A=n(24569);let C=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function T(t,e,n){for(let r in e)(0,S.i)(e[r])||(0,P.j)(r,n)||(t[r]=e[r])}let E=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","transformValues","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function k(t){return t.startsWith("while")||t.startsWith("drag")&&"draggable"!==t||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||E.has(t)}let M=t=>!k(t);try{(r=require("@emotion/is-prop-valid").default)&&(M=t=>t.startsWith("on")?!k(t):r(t))}catch(t){}var V=n(90379);let R=()=>({...C(),attrs:{}});var D=n(67461),L=n(17257),O=n(52737),j=n(82600),F=n(29222),B=n(2415),$=n(36565);function I(t){let e=(0,S.i)(t)?t.get():t;return(0,$.p)(e)?e.toValue():e}let N=t=>(e,n)=>{let r=(0,i.useContext)(o),s=(0,i.useContext)(a.O),l=()=>(function({scrapeMotionValuesFromProps:t,createRenderState:e,onMount:n},r,i,s){let o={latestValues:function(t,e,n,r){let i={},s=r(t,{});for(let t in s)i[t]=I(s[t]);let{initial:o,animate:a}=t,l=(0,f.G)(t),u=(0,f.M)(t);e&&u&&!l&&!1!==t.inherit&&(void 0===o&&(o=e.initial),void 0===a&&(a=e.animate));let c=!!n&&!1===n.initial,h=(c=c||!1===o)?a:o;return h&&"boolean"!=typeof h&&!(0,j.H)(h)&&(Array.isArray(h)?h:[h]).forEach(e=>{let n=(0,F.o)(t,e);if(!n)return;let{transitionEnd:r,transition:s,...o}=n;for(let t in o){let e=o[t];if(Array.isArray(e)){let t=c?e.length-1:0;e=e[t]}null!==e&&(i[t]=e)}for(let t in r)i[t]=r[t]}),i}(r,i,s,t),renderState:e()};return n&&(o.mount=t=>n(r,t,o)),o})(t,e,r,s);return n?l():(0,B.h)(l)};var U=n(55062);let W={useVisualState:N({scrapeMotionValuesFromProps:O.U,createRenderState:R,onMount:(t,e,{renderState:n,latestValues:r})=>{U.Wi.read(()=>{try{n.dimensions="function"==typeof e.getBBox?e.getBBox():e.getBoundingClientRect()}catch(t){n.dimensions={x:0,y:0,width:0,height:0}}}),U.Wi.render(()=>{(0,V.i)(n,r,{enableHardwareAcceleration:!1},(0,D.a)(e.tagName),t.transformTemplate),(0,L.K)(e,n)})}})},_={useVisualState:N({scrapeMotionValuesFromProps:n(32313).U,createRenderState:C})};function q(t,e,n,r={passive:!0}){return t.addEventListener(e,n,r),()=>t.removeEventListener(e,n)}let z=t=>"mouse"===t.pointerType?"number"!=typeof t.button||t.button<=0:!1!==t.isPrimary;function H(t,e="page"){return{point:{x:t[e+"X"],y:t[e+"Y"]}}}let X=t=>e=>z(e)&&t(e,H(e));function Y(t,e,n,r){return q(t,e,X(n),r)}var Z=n(50970);function G(t){let e=null;return()=>null===e&&(e=t,()=>{e=null})}let K=G("dragHorizontal"),J=G("dragVertical");function Q(t){let e=!1;if("y"===t)e=J();else if("x"===t)e=K();else{let t=K(),n=J();t&&n?e=()=>{t(),n()}:(t&&t(),n&&n())}return e}function tt(){let t=Q(!0);return!t||(t(),!1)}class te{constructor(t){this.isMounted=!1,this.node=t}update(){}}function tn(t,e){let n="onHover"+(e?"Start":"End");return Y(t.current,"pointer"+(e?"enter":"leave"),(r,i)=>{if("touch"===r.pointerType||tt())return;let s=t.getProps();t.animationState&&s.whileHover&&t.animationState.setActive("whileHover",e),s[n]&&U.Wi.update(()=>s[n](r,i))},{passive:!t.getProps()[n]})}class tr extends te{mount(){this.unmount=(0,Z.z)(tn(this.node,!0),tn(this.node,!1))}unmount(){}}class ti extends te{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=(0,Z.z)(q(this.node.current,"focus",()=>this.onFocus()),q(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}let ts=(t,e)=>!!e&&(t===e||ts(t,e.parentElement));var to=n(38752);function ta(t,e){if(!e)return;let n=new PointerEvent("pointer"+t);e(n,H(n))}class tl extends te{constructor(){super(...arguments),this.removeStartListeners=to.Z,this.removeEndListeners=to.Z,this.removeAccessibleListeners=to.Z,this.startPointerPress=(t,e)=>{if(this.isPressing)return;this.removeEndListeners();let n=this.node.getProps(),r=Y(window,"pointerup",(t,e)=>{if(!this.checkPressEnd())return;let{onTap:n,onTapCancel:r,globalTapTarget:i}=this.node.getProps();U.Wi.update(()=>{i||ts(this.node.current,t.target)?n&&n(t,e):r&&r(t,e)})},{passive:!(n.onTap||n.onPointerUp)}),i=Y(window,"pointercancel",(t,e)=>this.cancelPress(t,e),{passive:!(n.onTapCancel||n.onPointerCancel)});this.removeEndListeners=(0,Z.z)(r,i),this.startPress(t,e)},this.startAccessiblePress=()=>{let t=q(this.node.current,"keydown",t=>{"Enter"!==t.key||this.isPressing||(this.removeEndListeners(),this.removeEndListeners=q(this.node.current,"keyup",t=>{"Enter"===t.key&&this.checkPressEnd()&&ta("up",(t,e)=>{let{onTap:n}=this.node.getProps();n&&U.Wi.update(()=>n(t,e))})}),ta("down",(t,e)=>{this.startPress(t,e)}))}),e=q(this.node.current,"blur",()=>{this.isPressing&&ta("cancel",(t,e)=>this.cancelPress(t,e))});this.removeAccessibleListeners=(0,Z.z)(t,e)}}startPress(t,e){this.isPressing=!0;let{onTapStart:n,whileTap:r}=this.node.getProps();r&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),n&&U.Wi.update(()=>n(t,e))}checkPressEnd(){return this.removeEndListeners(),this.isPressing=!1,this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!tt()}cancelPress(t,e){if(!this.checkPressEnd())return;let{onTapCancel:n}=this.node.getProps();n&&U.Wi.update(()=>n(t,e))}mount(){let t=this.node.getProps(),e=Y(t.globalTapTarget?window:this.node.current,"pointerdown",this.startPointerPress,{passive:!(t.onTapStart||t.onPointerStart)}),n=q(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=(0,Z.z)(e,n)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}let tu=new WeakMap,tc=new WeakMap,th=t=>{let e=tu.get(t.target);e&&e(t)},td=t=>{t.forEach(th)},tf={some:0,all:1};class tp extends te{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();let{viewport:t={}}=this.node.getProps(),{root:e,margin:n,amount:r="some",once:i}=t,s={root:e?e.current:void 0,rootMargin:n,threshold:"number"==typeof r?r:tf[r]};return function(t,e,n){let r=function({root:t,...e}){let n=t||document;tc.has(n)||tc.set(n,{});let r=tc.get(n),i=JSON.stringify(e);return r[i]||(r[i]=new IntersectionObserver(td,{root:t,...e})),r[i]}(e);return tu.set(t,n),r.observe(t),()=>{tu.delete(t),r.unobserve(t)}}(this.node.current,s,t=>{let{isIntersecting:e}=t;if(this.isInView===e||(this.isInView=e,i&&!e&&this.hasEnteredView))return;e&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",e);let{onViewportEnter:n,onViewportLeave:r}=this.node.getProps(),s=e?n:r;s&&s(t)})}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;let{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(){}}var tm=n(68686);function tv(t,e){if(!Array.isArray(e))return!1;let n=e.length;if(n!==t.length)return!1;for(let r=0;r<n;r++)if(e[r]!==t[r])return!1;return!0}var ty=n(80062),tg=n(17199),tx=n(62180);function tb(t,e,n={}){let r=(0,ty.x)(t,e,n.custom),{transition:i=t.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(i=n.transitionOverride);let s=r?()=>Promise.all((0,tx.w)(t,r,n)):()=>Promise.resolve(),o=t.variantChildren&&t.variantChildren.size?(r=0)=>{let{delayChildren:s=0,staggerChildren:o,staggerDirection:a}=i;return function(t,e,n=0,r=0,i=1,s){let o=[],a=(t.variantChildren.size-1)*r,l=1===i?(t=0)=>t*r:(t=0)=>a-t*r;return Array.from(t.variantChildren).sort(tw).forEach((t,r)=>{t.notify("AnimationStart",e),o.push(tb(t,e,{...s,delay:n+l(r)}).then(()=>t.notify("AnimationComplete",e)))}),Promise.all(o)}(t,e,s+r,o,a,n)}:()=>Promise.resolve(),{when:a}=i;if(!a)return Promise.all([s(),o(n.delay)]);{let[t,e]="beforeChildren"===a?[s,o]:[o,s];return t().then(()=>e())}}function tw(t,e){return t.sortNodePosition(e)}let tP=[...tg.e].reverse(),tS=tg.e.length;function tA(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}class tC extends te{constructor(t){super(t),t.animationState||(t.animationState=function(t){let e=e=>Promise.all(e.map(({animation:e,options:n})=>(function(t,e,n={}){let r;if(t.notify("AnimationStart",e),Array.isArray(e))r=Promise.all(e.map(e=>tb(t,e,n)));else if("string"==typeof e)r=tb(t,e,n);else{let i="function"==typeof e?(0,ty.x)(t,e,n.custom):e;r=Promise.all((0,tx.w)(t,i,n))}return r.then(()=>t.notify("AnimationComplete",e))})(t,e,n))),n={animate:tA(!0),whileInView:tA(),whileHover:tA(),whileTap:tA(),whileDrag:tA(),whileFocus:tA(),exit:tA()},r=!0,i=(e,n)=>{let r=(0,ty.x)(t,n);if(r){let{transition:t,transitionEnd:n,...i}=r;e={...e,...i,...n}}return e};function s(s,o){let a=t.getProps(),l=t.getVariantContext(!0)||{},u=[],c=new Set,h={},f=1/0;for(let e=0;e<tS;e++){var p;let m=tP[e],v=n[m],y=void 0!==a[m]?a[m]:l[m],g=(0,d.$)(y),x=m===o?v.isActive:null;!1===x&&(f=e);let b=y===l[m]&&y!==a[m]&&g;if(b&&r&&t.manuallyAnimateOnMount&&(b=!1),v.protectedKeys={...h},!v.isActive&&null===x||!y&&!v.prevProp||(0,j.H)(y)||"boolean"==typeof y)continue;let w=(p=v.prevProp,("string"==typeof y?y!==p:!!Array.isArray(y)&&!tv(y,p))||m===o&&v.isActive&&!b&&g||e>f&&g),P=!1,S=Array.isArray(y)?y:[y],A=S.reduce(i,{});!1===x&&(A={});let{prevResolvedValues:C={}}=v,T={...C,...A},E=t=>{w=!0,c.has(t)&&(P=!0,c.delete(t)),v.needsAnimating[t]=!0};for(let t in T){let e=A[t],n=C[t];if(!h.hasOwnProperty(t))((0,tm.C)(e)&&(0,tm.C)(n)?tv(e,n):e===n)?void 0!==e&&c.has(t)?E(t):v.protectedKeys[t]=!0:void 0!==e?E(t):c.add(t)}v.prevProp=y,v.prevResolvedValues=A,v.isActive&&(h={...h,...A}),r&&t.blockInitialAnimation&&(w=!1),w&&(!b||P)&&u.push(...S.map(t=>({animation:t,options:{type:m,...s}})))}if(c.size){let e={};c.forEach(n=>{let r=t.getBaseTarget(n);void 0!==r&&(e[n]=r)}),u.push({animation:e})}let m=!!u.length;return r&&(!1===a.initial||a.initial===a.animate)&&!t.manuallyAnimateOnMount&&(m=!1),r=!1,m?e(u):Promise.resolve()}return{animateChanges:s,setActive:function(e,r,i){var o;if(n[e].isActive===r)return Promise.resolve();null===(o=t.variantChildren)||void 0===o||o.forEach(t=>{var n;return null===(n=t.animationState)||void 0===n?void 0:n.setActive(e,r)}),n[e].isActive=r;let a=s(i,e);for(let t in n)n[t].protectedKeys={};return a},setAnimateFunction:function(n){e=n(t)},getState:()=>n}}(t))}updateAnimationControlsSubscription(){let{animate:t}=this.node.getProps();this.unmount(),(0,j.H)(t)&&(this.unmount=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:t}=this.node.getProps(),{animate:e}=this.node.prevProps||{};t!==e&&this.updateAnimationControlsSubscription()}unmount(){}}let tT=0;class tE extends te{constructor(){super(...arguments),this.id=tT++}update(){if(!this.node.presenceContext)return;let{isPresent:t,onExitComplete:e,custom:n}=this.node.presenceContext,{isPresent:r}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===r)return;let i=this.node.animationState.setActive("exit",!t,{custom:null!=n?n:this.node.getProps().custom});e&&!t&&i.then(()=>e(this.id))}mount(){let{register:t}=this.node.presenceContext||{};t&&(this.unmount=t(this.id))}unmount(){}}var tk=n(40131),tM=n(37169);let tV=(t,e)=>Math.abs(t-e);class tR{constructor(t,e,{transformPagePoint:n,contextWindow:r,dragSnapToOrigin:i=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{var t,e;if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let n=tO(this.lastMoveEventInfo,this.history),r=null!==this.startEvent,i=(t=n.offset,e={x:0,y:0},Math.sqrt(tV(t.x,e.x)**2+tV(t.y,e.y)**2)>=3);if(!r&&!i)return;let{point:s}=n,{timestamp:o}=U.frameData;this.history.push({...s,timestamp:o});let{onStart:a,onMove:l}=this.handlers;r||(a&&a(this.lastMoveEvent,n),this.startEvent=this.lastMoveEvent),l&&l(this.lastMoveEvent,n)},this.handlePointerMove=(t,e)=>{this.lastMoveEvent=t,this.lastMoveEventInfo=tD(e,this.transformPagePoint),U.Wi.update(this.updatePoint,!0)},this.handlePointerUp=(t,e)=>{this.end();let{onEnd:n,onSessionEnd:r,resumeAnimation:i}=this.handlers;if(this.dragSnapToOrigin&&i&&i(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let s=tO("pointercancel"===t.type?this.lastMoveEventInfo:tD(e,this.transformPagePoint),this.history);this.startEvent&&n&&n(t,s),r&&r(t,s)},!z(t))return;this.dragSnapToOrigin=i,this.handlers=e,this.transformPagePoint=n,this.contextWindow=r||window;let s=tD(H(t),this.transformPagePoint),{point:o}=s,{timestamp:a}=U.frameData;this.history=[{...o,timestamp:a}];let{onSessionStart:l}=e;l&&l(t,tO(s,this.history)),this.removeListeners=(0,Z.z)(Y(this.contextWindow,"pointermove",this.handlePointerMove),Y(this.contextWindow,"pointerup",this.handlePointerUp),Y(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),(0,U.Pn)(this.updatePoint)}}function tD(t,e){return e?{point:e(t.point)}:t}function tL(t,e){return{x:t.x-e.x,y:t.y-e.y}}function tO({point:t},e){return{point:t,delta:tL(t,tj(e)),offset:tL(t,e[0]),velocity:function(t,e){if(t.length<2)return{x:0,y:0};let n=t.length-1,r=null,i=tj(t);for(;n>=0&&(r=t[n],!(i.timestamp-r.timestamp>(0,tM.w)(.1)));)n--;if(!r)return{x:0,y:0};let s=(0,tM.X)(i.timestamp-r.timestamp);if(0===s)return{x:0,y:0};let o={x:(i.x-r.x)/s,y:(i.y-r.y)/s};return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}(e,0)}}function tj(t){return t[t.length-1]}var tF=n(99075),tB=n(43640);function t$(t){return t.max-t.min}function tI(t,e=0,n=.01){return Math.abs(t-e)<=n}function tN(t,e,n,r=.5){t.origin=r,t.originPoint=(0,tB.C)(e.min,e.max,t.origin),t.scale=t$(n)/t$(e),(tI(t.scale,1,1e-4)||isNaN(t.scale))&&(t.scale=1),t.translate=(0,tB.C)(n.min,n.max,t.origin)-t.originPoint,(tI(t.translate)||isNaN(t.translate))&&(t.translate=0)}function tU(t,e,n,r){tN(t.x,e.x,n.x,r?r.originX:void 0),tN(t.y,e.y,n.y,r?r.originY:void 0)}function tW(t,e,n){t.min=n.min+e.min,t.max=t.min+t$(e)}function t_(t,e,n){t.min=e.min-n.min,t.max=t.min+t$(e)}function tq(t,e,n){t_(t.x,e.x,n.x),t_(t.y,e.y,n.y)}var tz=n(3983);function tH(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 tX(t,e){let n=e.min-t.min,r=e.max-t.max;return e.max-e.min<t.max-t.min&&([n,r]=[r,n]),{min:n,max:r}}function tY(t,e,n){return{min:tZ(t,e),max:tZ(t,n)}}function tZ(t,e){return"number"==typeof t?t:t[e]||0}var tG=n(86503);function tK(t){return[t("x"),t("y")]}var tJ=n(30487),tQ=n(54828),t0=n(31150),t1=n(43440);let t3=({current:t})=>t?t.ownerDocument.defaultView:null,t2=new WeakMap;class t5{constructor(t){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=(0,tG.dO)(),this.visualElement=t}start(t,{snapToCursor:e=!1}={}){let{presenceContext:n}=this.visualElement;if(n&&!1===n.isPresent)return;let{dragSnapToOrigin:r}=this.getProps();this.panSession=new tR(t,{onSessionStart:t=>{let{dragSnapToOrigin:n}=this.getProps();n?this.pauseAnimation():this.stopAnimation(),e&&this.snapToCursor(H(t,"page").point)},onStart:(t,e)=>{let{drag:n,dragPropagation:r,onDragStart:i}=this.getProps();if(n&&!r&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=Q(n),!this.openGlobalLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),tK(t=>{let e=this.getAxisMotionValue(t).get()||0;if(t0.aQ.test(e)){let{projection:n}=this.visualElement;if(n&&n.layout){let r=n.layout.layoutBox[t];if(r){let t=t$(r);e=parseFloat(e)/100*t}}}this.originPoint[t]=e}),i&&U.Wi.update(()=>i(t,e),!1,!0);let{animationState:s}=this.visualElement;s&&s.setActive("whileDrag",!0)},onMove:(t,e)=>{let{dragPropagation:n,dragDirectionLock:r,onDirectionLock:i,onDrag:s}=this.getProps();if(!n&&!this.openGlobalLock)return;let{offset:o}=e;if(r&&null===this.currentDirection){this.currentDirection=function(t,e=10){let n=null;return Math.abs(t.y)>e?n="y":Math.abs(t.x)>e&&(n="x"),n}(o),null!==this.currentDirection&&i&&i(this.currentDirection);return}this.updateAxis("x",e.point,o),this.updateAxis("y",e.point,o),this.visualElement.render(),s&&s(t,e)},onSessionEnd:(t,e)=>this.stop(t,e),resumeAnimation:()=>tK(t=>{var e;return"paused"===this.getAnimationState(t)&&(null===(e=this.getAxisMotionValue(t).animation)||void 0===e?void 0:e.play())})},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:r,contextWindow:t3(this.visualElement)})}stop(t,e){let n=this.isDragging;if(this.cancel(),!n)return;let{velocity:r}=e;this.startAnimation(r);let{onDragEnd:i}=this.getProps();i&&U.Wi.update(()=>i(t,e))}cancel(){this.isDragging=!1;let{projection:t,animationState:e}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;let{dragPropagation:n}=this.getProps();!n&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),e&&e.setActive("whileDrag",!1)}updateAxis(t,e,n){let{drag:r}=this.getProps();if(!n||!t6(t,r,this.currentDirection))return;let i=this.getAxisMotionValue(t),s=this.originPoint[t]+n[t];this.constraints&&this.constraints[t]&&(s=function(t,{min:e,max:n},r){return void 0!==e&&t<e?t=r?(0,tB.C)(e,t,r.min):Math.max(t,e):void 0!==n&&t>n&&(t=r?(0,tB.C)(n,t,r.max):Math.min(t,n)),t}(s,this.constraints[t],this.elastic[t])),i.set(s)}resolveConstraints(){var t;let{dragConstraints:e,dragElastic:n}=this.getProps(),r=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):null===(t=this.visualElement.projection)||void 0===t?void 0:t.layout,i=this.constraints;e&&(0,h.I)(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):e&&r?this.constraints=function(t,{top:e,left:n,bottom:r,right:i}){return{x:tH(t.x,n,i),y:tH(t.y,e,r)}}(r.layoutBox,e):this.constraints=!1,this.elastic=function(t=.35){return!1===t?t=0:!0===t&&(t=.35),{x:tY(t,"left","right"),y:tY(t,"top","bottom")}}(n),i!==this.constraints&&r&&this.constraints&&!this.hasMutatedConstraints&&tK(t=>{this.getAxisMotionValue(t)&&(this.constraints[t]=function(t,e){let n={};return void 0!==e.min&&(n.min=e.min-t.min),void 0!==e.max&&(n.max=e.max-t.min),n}(r.layoutBox[t],this.constraints[t]))})}resolveRefConstraints(){var t;let{dragConstraints:e,onMeasureDragConstraints:n}=this.getProps();if(!e||!(0,h.I)(e))return!1;let r=e.current;(0,tk.k)(null!==r,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");let{projection:i}=this.visualElement;if(!i||!i.layout)return!1;let s=(0,tJ.z)(r,i.root,this.visualElement.getTransformPagePoint()),o={x:tX((t=i.layout.layoutBox).x,s.x),y:tX(t.y,s.y)};if(n){let t=n((0,tQ.z2)(o));this.hasMutatedConstraints=!!t,t&&(o=(0,tQ.i8)(t))}return o}startAnimation(t){let{drag:e,dragMomentum:n,dragElastic:r,dragTransition:i,dragSnapToOrigin:s,onDragTransitionEnd:o}=this.getProps(),a=this.constraints||{};return Promise.all(tK(o=>{if(!t6(o,e,this.currentDirection))return;let l=a&&a[o]||{};s&&(l={min:0,max:0});let u={type:"inertia",velocity:n?t[o]:0,bounceStiffness:r?200:1e6,bounceDamping:r?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...i,...l};return this.startAxisValueAnimation(o,u)})).then(o)}startAxisValueAnimation(t,e){let n=this.getAxisMotionValue(t);return n.start((0,t1.v)(t,n,0,e))}stopAnimation(){tK(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){tK(t=>{var e;return null===(e=this.getAxisMotionValue(t).animation)||void 0===e?void 0:e.pause()})}getAnimationState(t){var e;return null===(e=this.getAxisMotionValue(t).animation)||void 0===e?void 0:e.state}getAxisMotionValue(t){let e="_drag"+t.toUpperCase(),n=this.visualElement.getProps();return n[e]||this.visualElement.getValue(t,(n.initial?n.initial[t]:void 0)||0)}snapToCursor(t){tK(e=>{let{drag:n}=this.getProps();if(!t6(e,n,this.currentDirection))return;let{projection:r}=this.visualElement,i=this.getAxisMotionValue(e);if(r&&r.layout){let{min:n,max:s}=r.layout.layoutBox[e];i.set(t[e]-(0,tB.C)(n,s,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:t,dragConstraints:e}=this.getProps(),{projection:n}=this.visualElement;if(!(0,h.I)(e)||!n||!this.constraints)return;this.stopAnimation();let r={x:0,y:0};tK(t=>{let e=this.getAxisMotionValue(t);if(e){let n=e.get();r[t]=function(t,e){let n=.5,r=t$(t),i=t$(e);return i>r?n=(0,tF.Y)(e.min,e.max-r,t.min):r>i&&(n=(0,tF.Y)(t.min,t.max-i,e.min)),(0,tz.u)(0,1,n)}({min:n,max:n},this.constraints[t])}});let{transformTemplate:i}=this.visualElement.getProps();this.visualElement.current.style.transform=i?i({},""):"none",n.root&&n.root.updateScroll(),n.updateLayout(),this.resolveConstraints(),tK(e=>{if(!t6(e,t,null))return;let n=this.getAxisMotionValue(e),{min:i,max:s}=this.constraints[e];n.set((0,tB.C)(i,s,r[e]))})}addListeners(){if(!this.visualElement.current)return;t2.set(this.visualElement,this);let t=Y(this.visualElement.current,"pointerdown",t=>{let{drag:e,dragListener:n=!0}=this.getProps();e&&n&&this.start(t)}),e=()=>{let{dragConstraints:t}=this.getProps();(0,h.I)(t)&&(this.constraints=this.resolveRefConstraints())},{projection:n}=this.visualElement,r=n.addEventListener("measure",e);n&&!n.layout&&(n.root&&n.root.updateScroll(),n.updateLayout()),e();let i=q(window,"resize",()=>this.scalePositionWithinConstraints()),s=n.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e})=>{this.isDragging&&e&&(tK(e=>{let n=this.getAxisMotionValue(e);n&&(this.originPoint[e]+=t[e].translate,n.set(n.get()+t[e].translate))}),this.visualElement.render())});return()=>{i(),t(),r(),s&&s()}}getProps(){let t=this.visualElement.getProps(),{drag:e=!1,dragDirectionLock:n=!1,dragPropagation:r=!1,dragConstraints:i=!1,dragElastic:s=.35,dragMomentum:o=!0}=t;return{...t,drag:e,dragDirectionLock:n,dragPropagation:r,dragConstraints:i,dragElastic:s,dragMomentum:o}}}function t6(t,e,n){return(!0===e||e===t)&&(null===n||n===t)}class t7 extends te{constructor(t){super(t),this.removeGroupControls=to.Z,this.removeListeners=to.Z,this.controls=new t5(t)}mount(){let{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||to.Z}unmount(){this.removeGroupControls(),this.removeListeners()}}let t9=t=>(e,n)=>{t&&U.Wi.update(()=>t(e,n))};class t8 extends te{constructor(){super(...arguments),this.removePointerDownListener=to.Z}onPointerDown(t){this.session=new tR(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:t3(this.node)})}createPanHandlers(){let{onPanSessionStart:t,onPanStart:e,onPan:n,onPanEnd:r}=this.node.getProps();return{onSessionStart:t9(t),onStart:t9(e),onMove:n,onEnd:(t,e)=>{delete this.session,r&&U.Wi.update(()=>r(t,e))}}}mount(){this.removePointerDownListener=Y(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}let t4={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function et(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}let ee={correct:(t,e)=>{if(!e.target)return t;if("string"==typeof t){if(!t0.px.test(t))return t;t=parseFloat(t)}let n=et(t,e.target.x),r=et(t,e.target.y);return`${n}% ${r}%`}};var en=n(75301),er=n(34940);class ei extends i.Component{componentDidMount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:n,layoutId:r}=this.props,{projection:i}=t;(0,er.B)(eo),i&&(e.group&&e.group.add(i),n&&n.register&&r&&n.register(i),i.root.didUpdate(),i.addEventListener("animationComplete",()=>{this.safeToRemove()}),i.setOptions({...i.options,onExitComplete:()=>this.safeToRemove()})),t4.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){let{layoutDependency:e,visualElement:n,drag:r,isPresent:i}=this.props,s=n.projection;return s&&(s.isPresent=i,r||t.layoutDependency!==e||void 0===e?s.willUpdate():this.safeToRemove(),t.isPresent===i||(i?s.promote():s.relegate()||U.Wi.postRender(()=>{let t=s.getStack();t&&t.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),queueMicrotask(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:n}=this.props,{projection:r}=t;r&&(r.scheduleCheckAfterUnmount(),e&&e.group&&e.group.remove(r),n&&n.deregister&&n.deregister(r))}safeToRemove(){let{safeToRemove:t}=this.props;t&&t()}render(){return null}}function es(t){let[e,n]=function(){let t=(0,i.useContext)(a.O);if(null===t)return[!0,null];let{isPresent:e,onExitComplete:n,register:r}=t,s=(0,i.useId)();return(0,i.useEffect)(()=>r(s),[]),!e&&n?[!1,()=>n&&n(s)]:[!0]}(),r=(0,i.useContext)(y.p);return i.createElement(ei,{...t,layoutGroup:r,switchLayoutGroup:(0,i.useContext)(g),isPresent:e,safeToRemove:n})}let eo={borderRadius:{...ee,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:ee,borderTopRightRadius:ee,borderBottomLeftRadius:ee,borderBottomRightRadius:ee,boxShadow:{correct:(t,{treeScale:e,projectionDelta:n})=>{let r=en.P.parse(t);if(r.length>5)return t;let i=en.P.createTransformer(t),s="number"!=typeof r[0]?1:0,o=n.x.scale*e.x,a=n.y.scale*e.y;r[0+s]/=o,r[1+s]/=a;let l=(0,tB.C)(o,a,.5);return"number"==typeof r[2+s]&&(r[2+s]/=l),"number"==typeof r[3+s]&&(r[3+s]/=l),i(r)}}};var ea=n(39311),el=n(55083);let eu=["TopLeft","TopRight","BottomLeft","BottomRight"],ec=eu.length,eh=t=>"string"==typeof t?parseFloat(t):t,ed=t=>"number"==typeof t||t0.px.test(t);function ef(t,e){return void 0!==t[e]?t[e]:t.borderRadius}let ep=ev(0,.5,el.Bn),em=ev(.5,.95,to.Z);function ev(t,e,n){return r=>r<t?0:r>e?1:n((0,tF.Y)(t,e,r))}function ey(t,e){t.min=e.min,t.max=e.max}function eg(t,e){ey(t.x,e.x),ey(t.y,e.y)}var ex=n(81077);function eb(t,e,n,r,i){return t-=e,t=(0,ex.q2)(t,1/n,r),void 0!==i&&(t=(0,ex.q2)(t,1/i,r)),t}function ew(t,e,[n,r,i],s,o){!function(t,e=0,n=1,r=.5,i,s=t,o=t){if(t0.aQ.test(e)&&(e=parseFloat(e),e=(0,tB.C)(o.min,o.max,e/100)-o.min),"number"!=typeof e)return;let a=(0,tB.C)(s.min,s.max,r);t===s&&(a-=e),t.min=eb(t.min,e,n,a,i),t.max=eb(t.max,e,n,a,i)}(t,e[n],e[r],e[i],e.scale,s,o)}let eP=["x","scaleX","originX"],eS=["y","scaleY","originY"];function eA(t,e,n,r){ew(t.x,e,eP,n?n.x:void 0,r?r.x:void 0),ew(t.y,e,eS,n?n.y:void 0,r?r.y:void 0)}var eC=n(71683);function eT(t){return 0===t.translate&&1===t.scale}function eE(t){return eT(t.x)&&eT(t.y)}function ek(t,e){return Math.round(t.x.min)===Math.round(e.x.min)&&Math.round(t.x.max)===Math.round(e.x.max)&&Math.round(t.y.min)===Math.round(e.y.min)&&Math.round(t.y.max)===Math.round(e.y.max)}function eM(t){return t$(t.x)/t$(t.y)}var eV=n(3779);class eR{constructor(){this.members=[]}add(t){(0,eV.y4)(this.members,t),t.scheduleRender()}remove(t){if((0,eV.cl)(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){let t=this.members[this.members.length-1];t&&this.promote(t)}}relegate(t){let e;let n=this.members.findIndex(e=>t===e);if(0===n)return!1;for(let t=n;t>=0;t--){let n=this.members[t];if(!1!==n.isPresent){e=n;break}}return!!e&&(this.promote(e),!0)}promote(t,e){let n=this.lead;if(t!==n&&(this.prevLead=n,this.lead=t,t.show(),n)){n.instance&&n.scheduleRender(),t.scheduleRender(),t.resumeFrom=n,e&&(t.resumeFrom.preserveOpacity=!0),n.snapshot&&(t.snapshot=n.snapshot,t.snapshot.latestValues=n.animationValues||n.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);let{crossfade:r}=t.options;!1===r&&n.hide()}}exitAnimationComplete(){this.members.forEach(t=>{let{options:e,resumingFrom:n}=t;e.onExitComplete&&e.onExitComplete(),n&&n.options.onExitComplete&&n.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function eD(t,e,n){let r="",i=t.x.translate/e.x,s=t.y.translate/e.y;if((i||s)&&(r=`translate3d(${i}px, ${s}px, 0) `),(1!==e.x||1!==e.y)&&(r+=`scale(${1/e.x}, ${1/e.y}) `),n){let{rotate:t,rotateX:e,rotateY:i}=n;t&&(r+=`rotate(${t}deg) `),e&&(r+=`rotateX(${e}deg) `),i&&(r+=`rotateY(${i}deg) `)}let o=t.x.scale*e.x,a=t.y.scale*e.y;return(1!==o||1!==a)&&(r+=`scale(${o}, ${a})`),r||"none"}var eL=n(27502);let eO=(t,e)=>t.depth-e.depth;class ej{constructor(){this.children=[],this.isDirty=!1}add(t){(0,eV.y4)(this.children,t),this.isDirty=!0}remove(t){(0,eV.cl)(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(eO),this.isDirty=!1,this.children.forEach(t)}}var eF=n(99890),eB=n(51119);let e$=["","X","Y","Z"],eI={visibility:"hidden"},eN=0,eU={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0};function eW({attachResizeListener:t,defaultParent:e,measureScroll:n,checkIsScrollRoot:r,resetTransform:i}){return class{constructor(t={},n=null==e?void 0:e()){this.id=eN++,this.animationId=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.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,eU.totalNodes=eU.resolvedTargetDeltas=eU.recalculatedProjection=0,this.nodes.forEach(ez),this.nodes.forEach(eJ),this.nodes.forEach(eQ),this.nodes.forEach(eH),window.MotionDebug&&window.MotionDebug.record(eU)},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 t=0;t<this.path.length;t++)this.path[t].shouldResetTransform=!0;this.root===this&&(this.nodes=new ej)}addEventListener(t,e){return this.eventHandlers.has(t)||this.eventHandlers.set(t,new ea.L),this.eventHandlers.get(t).add(e)}notifyListeners(t,...e){let n=this.eventHandlers.get(t);n&&n.notify(...e)}hasListeners(t){return this.eventHandlers.has(t)}mount(e,n=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=(0,eF.v)(e),this.instance=e;let{layoutId:r,layout:i,visualElement:s}=this.options;if(s&&!s.current&&s.mount(e),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),n&&(i||r)&&(this.isLayoutDirty=!0),t){let n;let r=()=>this.root.updateBlockedByResize=!1;t(e,()=>{this.root.updateBlockedByResize=!0,n&&n(),n=function(t,e){let n=performance.now(),r=({timestamp:e})=>{let i=e-n;i>=250&&((0,U.Pn)(r),t(i-250))};return U.Wi.read(r,!0),()=>(0,U.Pn)(r)}(r,0),t4.hasAnimatedSinceResize&&(t4.hasAnimatedSinceResize=!1,this.nodes.forEach(eK))})}r&&this.root.registerSharedNode(r,this),!1!==this.options.animate&&s&&(r||i)&&this.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e,hasRelativeTargetChanged:n,layout:r})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let i=this.options.transition||s.getDefaultTransition()||e6,{onLayoutAnimationStart:o,onLayoutAnimationComplete:a}=s.getProps(),l=!this.targetLayout||!ek(this.targetLayout,r)||n,u=!e&&n;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||u||e&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(t,u);let e={...(0,eC.e)(i,"layout"),onPlay:o,onComplete:a};(s.shouldReduceMotion||this.options.layoutRoot)&&(e.delay=0,e.type=!1),this.startAnimation(e)}else e||eK(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=r})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let t=this.getStack();t&&t.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,(0,U.Pn)(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.forEach(e0),this.animationId++)}getTransformTemplate(){let{visualElement:t}=this.options;return t&&t.getProps().transformTemplate}willUpdate(t=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(this.root.isUpdating||this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let t=0;t<this.path.length;t++){let e=this.path[t];e.shouldResetTransform=!0,e.updateScroll("snapshot"),e.options.layoutRoot&&e.willUpdate(!1)}let{layoutId:e,layout:n}=this.options;if(void 0===e&&!n)return;let r=this.getTransformTemplate();this.prevTransformTemplateValue=r?r(this.latestValues,""):void 0,this.updateSnapshot(),t&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(eY);return}this.isUpdating||this.nodes.forEach(eZ),this.isUpdating=!1,this.nodes.forEach(eG),this.nodes.forEach(e_),this.nodes.forEach(eq),this.clearAllSnapshots();let t=performance.now();U.frameData.delta=(0,tz.u)(0,1e3/60,t-U.frameData.timestamp),U.frameData.timestamp=t,U.frameData.isProcessing=!0,U.S6.update.process(U.frameData),U.S6.preRender.process(U.frameData),U.S6.render.process(U.frameData),U.frameData.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,queueMicrotask(()=>this.update()))}clearAllSnapshots(){this.nodes.forEach(eX),this.sharedNodes.forEach(e1)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,U.Wi.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){U.Wi.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure())}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let t=0;t<this.path.length;t++)this.path[t].updateScroll();let t=this.layout;this.layout=this.measure(!1),this.layoutCorrected=(0,tG.dO)(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);let{visualElement:e}=this.options;e&&e.notify("LayoutMeasure",this.layout.layoutBox,t?t.layoutBox:void 0)}updateScroll(t="measure"){let e=!!(this.options.layoutScroll&&this.instance);this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===t&&(e=!1),e&&(this.scroll={animationId:this.root.animationId,phase:t,isRoot:r(this.instance),offset:n(this.instance)})}resetTransform(){if(!i)return;let t=this.isLayoutDirty||this.shouldResetTransform,e=this.projectionDelta&&!eE(this.projectionDelta),n=this.getTransformTemplate(),r=n?n(this.latestValues,""):void 0,s=r!==this.prevTransformTemplateValue;t&&(e||(0,eL.ud)(this.latestValues)||s)&&(i(this.instance,r),this.shouldResetTransform=!1,this.scheduleRender())}measure(t=!0){var e;let n=this.measurePageBox(),r=this.removeElementScroll(n);return t&&(r=this.removeTransform(r)),e8((e=r).x),e8(e.y),{animationId:this.root.animationId,measuredBox:n,layoutBox:r,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:t}=this.options;if(!t)return(0,tG.dO)();let e=t.measureViewportBox(),{scroll:n}=this.root;return n&&((0,ex.am)(e.x,n.offset.x),(0,ex.am)(e.y,n.offset.y)),e}removeElementScroll(t){let e=(0,tG.dO)();eg(e,t);for(let n=0;n<this.path.length;n++){let r=this.path[n],{scroll:i,options:s}=r;if(r!==this.root&&i&&s.layoutScroll){if(i.isRoot){eg(e,t);let{scroll:n}=this.root;n&&((0,ex.am)(e.x,-n.offset.x),(0,ex.am)(e.y,-n.offset.y))}(0,ex.am)(e.x,i.offset.x),(0,ex.am)(e.y,i.offset.y)}}return e}applyTransform(t,e=!1){let n=(0,tG.dO)();eg(n,t);for(let t=0;t<this.path.length;t++){let r=this.path[t];!e&&r.options.layoutScroll&&r.scroll&&r!==r.root&&(0,ex.D2)(n,{x:-r.scroll.offset.x,y:-r.scroll.offset.y}),(0,eL.ud)(r.latestValues)&&(0,ex.D2)(n,r.latestValues)}return(0,eL.ud)(this.latestValues)&&(0,ex.D2)(n,this.latestValues),n}removeTransform(t){let e=(0,tG.dO)();eg(e,t);for(let t=0;t<this.path.length;t++){let n=this.path[t];if(!n.instance||!(0,eL.ud)(n.latestValues))continue;(0,eL.Lj)(n.latestValues)&&n.updateSnapshot();let r=(0,tG.dO)();eg(r,n.measurePageBox()),eA(e,n.latestValues,n.snapshot?n.snapshot.layoutBox:void 0,r)}return(0,eL.ud)(this.latestValues)&&eA(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!==U.frameData.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(t=!1){var e,n,r,i;let s=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=s.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=s.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=s.isSharedProjectionDirty);let o=!!this.resumingFrom||this!==s;if(!(t||o&&this.isSharedProjectionDirty||this.isProjectionDirty||(null===(e=this.parent)||void 0===e?void 0:e.isProjectionDirty)||this.attemptToResolveRelativeTarget))return;let{layout:a,layoutId:l}=this.options;if(this.layout&&(a||l)){if(this.resolvedRelativeTargetAt=U.frameData.timestamp,!this.targetDelta&&!this.relativeTarget){let t=this.getClosestProjectingParent();t&&t.layout&&1!==this.animationProgress?(this.relativeParent=t,this.forceRelativeParentToResolveTarget(),this.relativeTarget=(0,tG.dO)(),this.relativeTargetOrigin=(0,tG.dO)(),tq(this.relativeTargetOrigin,this.layout.layoutBox,t.layout.layoutBox),eg(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(this.relativeTarget||this.targetDelta){if((this.target||(this.target=(0,tG.dO)(),this.targetWithTransforms=(0,tG.dO)()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target)?(this.forceRelativeParentToResolveTarget(),n=this.target,r=this.relativeTarget,i=this.relativeParent.target,tW(n.x,r.x,i.x),tW(n.y,r.y,i.y)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):eg(this.target,this.layout.layoutBox),(0,ex.o2)(this.target,this.targetDelta)):eg(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;let t=this.getClosestProjectingParent();t&&!!t.resumingFrom==!!this.resumingFrom&&!t.options.layoutScroll&&t.target&&1!==this.animationProgress?(this.relativeParent=t,this.forceRelativeParentToResolveTarget(),this.relativeTarget=(0,tG.dO)(),this.relativeTargetOrigin=(0,tG.dO)(),tq(this.relativeTargetOrigin,this.target,t.target),eg(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}eU.resolvedTargetDeltas++}}}getClosestProjectingParent(){return!this.parent||(0,eL.Lj)(this.parent.latestValues)||(0,eL.D_)(this.parent.latestValues)?void 0:this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var t;let e=this.getLead(),n=!!this.resumingFrom||this!==e,r=!0;if((this.isProjectionDirty||(null===(t=this.parent)||void 0===t?void 0:t.isProjectionDirty))&&(r=!1),n&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(r=!1),this.resolvedRelativeTargetAt===U.frameData.timestamp&&(r=!1),r)return;let{layout:i,layoutId:s}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(i||s))return;eg(this.layoutCorrected,this.layout.layoutBox);let o=this.treeScale.x,a=this.treeScale.y;(0,ex.YY)(this.layoutCorrected,this.treeScale,this.path,n),e.layout&&!e.target&&(1!==this.treeScale.x||1!==this.treeScale.y)&&(e.target=e.layout.layoutBox);let{target:l}=e;if(!l){this.projectionTransform&&(this.projectionDelta=(0,tG.wc)(),this.projectionTransform="none",this.scheduleRender());return}this.projectionDelta||(this.projectionDelta=(0,tG.wc)(),this.projectionDeltaWithTransform=(0,tG.wc)());let u=this.projectionTransform;tU(this.projectionDelta,this.layoutCorrected,l,this.latestValues),this.projectionTransform=eD(this.projectionDelta,this.treeScale),(this.projectionTransform!==u||this.treeScale.x!==o||this.treeScale.y!==a)&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",l)),eU.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(t=!0){if(this.options.scheduleRender&&this.options.scheduleRender(),t){let t=this.getStack();t&&t.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}setAnimationOrigin(t,e=!1){let n;let r=this.snapshot,i=r?r.latestValues:{},s={...this.latestValues},o=(0,tG.wc)();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!e;let a=(0,tG.dO)(),l=(r?r.source:void 0)!==(this.layout?this.layout.source:void 0),u=this.getStack(),c=!u||u.members.length<=1,h=!!(l&&!c&&!0===this.options.crossfade&&!this.path.some(e5));this.animationProgress=0,this.mixTargetDelta=e=>{let r=e/1e3;if(e3(o.x,t.x,r),e3(o.y,t.y,r),this.setTargetDelta(o),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var u,d,f,p;tq(a,this.layout.layoutBox,this.relativeParent.layout.layoutBox),f=this.relativeTarget,p=this.relativeTargetOrigin,e2(f.x,p.x,a.x,r),e2(f.y,p.y,a.y,r),n&&(u=this.relativeTarget,d=n,u.x.min===d.x.min&&u.x.max===d.x.max&&u.y.min===d.y.min&&u.y.max===d.y.max)&&(this.isProjectionDirty=!1),n||(n=(0,tG.dO)()),eg(n,this.relativeTarget)}l&&(this.animationValues=s,function(t,e,n,r,i,s){i?(t.opacity=(0,tB.C)(0,void 0!==n.opacity?n.opacity:1,ep(r)),t.opacityExit=(0,tB.C)(void 0!==e.opacity?e.opacity:1,0,em(r))):s&&(t.opacity=(0,tB.C)(void 0!==e.opacity?e.opacity:1,void 0!==n.opacity?n.opacity:1,r));for(let i=0;i<ec;i++){let s=`border${eu[i]}Radius`,o=ef(e,s),a=ef(n,s);(void 0!==o||void 0!==a)&&(o||(o=0),a||(a=0),0===o||0===a||ed(o)===ed(a)?(t[s]=Math.max((0,tB.C)(eh(o),eh(a),r),0),(t0.aQ.test(a)||t0.aQ.test(o))&&(t[s]+="%")):t[s]=a)}(e.rotate||n.rotate)&&(t.rotate=(0,tB.C)(e.rotate||0,n.rotate||0,r))}(s,i,this.latestValues,r,h,c)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=r},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(t){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&((0,U.Pn)(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=U.Wi.update(()=>{t4.hasAnimatedSinceResize=!0,this.currentAnimation=(0,eB.D)(0,1e3,{...t,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);let 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(){let t=this.getLead(),{targetWithTransforms:e,target:n,layout:r,latestValues:i}=t;if(e&&n&&r){if(this!==t&&this.layout&&r&&e4(this.options.animationType,this.layout.layoutBox,r.layoutBox)){n=this.target||(0,tG.dO)();let e=t$(this.layout.layoutBox.x);n.x.min=t.target.x.min,n.x.max=n.x.min+e;let r=t$(this.layout.layoutBox.y);n.y.min=t.target.y.min,n.y.max=n.y.min+r}eg(e,n),(0,ex.D2)(e,i),tU(this.projectionDeltaWithTransform,this.layoutCorrected,e,i)}}registerSharedNode(t,e){this.sharedNodes.has(t)||this.sharedNodes.set(t,new eR),this.sharedNodes.get(t).add(e);let n=e.options.initialPromotionConfig;e.promote({transition:n?n.transition:void 0,preserveFollowOpacity:n&&n.shouldPreserveFollowOpacity?n.shouldPreserveFollowOpacity(e):void 0})}isLead(){let t=this.getStack();return!t||t.lead===this}getLead(){var t;let{layoutId:e}=this.options;return e&&(null===(t=this.getStack())||void 0===t?void 0:t.lead)||this}getPrevLead(){var t;let{layoutId:e}=this.options;return e?null===(t=this.getStack())||void 0===t?void 0:t.prevLead:void 0}getStack(){let{layoutId:t}=this.options;if(t)return this.root.sharedNodes.get(t)}promote({needsReset:t,transition:e,preserveFollowOpacity:n}={}){let r=this.getStack();r&&r.promote(this,n),t&&(this.projectionDelta=void 0,this.needsReset=!0),e&&this.setOptions({transition:e})}relegate(){let t=this.getStack();return!!t&&t.relegate(this)}resetRotation(){let{visualElement:t}=this.options;if(!t)return;let e=!1,{latestValues:n}=t;if((n.rotate||n.rotateX||n.rotateY||n.rotateZ)&&(e=!0),!e)return;let r={};for(let e=0;e<e$.length;e++){let i="rotate"+e$[e];n[i]&&(r[i]=n[i],t.setStaticValue(i,0))}for(let e in t.render(),r)t.setStaticValue(e,r[e]);t.scheduleRender()}getProjectionStyles(t){var e,n;if(!this.instance||this.isSVG)return;if(!this.isVisible)return eI;let r={visibility:""},i=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,r.opacity="",r.pointerEvents=I(null==t?void 0:t.pointerEvents)||"",r.transform=i?i(this.latestValues,""):"none",r;let s=this.getLead();if(!this.projectionDelta||!this.layout||!s.target){let e={};return this.options.layoutId&&(e.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,e.pointerEvents=I(null==t?void 0:t.pointerEvents)||""),this.hasProjected&&!(0,eL.ud)(this.latestValues)&&(e.transform=i?i({},""):"none",this.hasProjected=!1),e}let o=s.animationValues||s.latestValues;this.applyTransformsToTarget(),r.transform=eD(this.projectionDeltaWithTransform,this.treeScale,o),i&&(r.transform=i(o,r.transform));let{x:a,y:l}=this.projectionDelta;for(let t in r.transformOrigin=`${100*a.origin}% ${100*l.origin}% 0`,s.animationValues?r.opacity=s===this?null!==(n=null!==(e=o.opacity)&&void 0!==e?e:this.latestValues.opacity)&&void 0!==n?n:1:this.preserveOpacity?this.latestValues.opacity:o.opacityExit:r.opacity=s===this?void 0!==o.opacity?o.opacity:"":void 0!==o.opacityExit?o.opacityExit:0,er.P){if(void 0===o[t])continue;let{correct:e,applyTo:n}=er.P[t],i="none"===r.transform?o[t]:e(o[t],s);if(n){let t=n.length;for(let e=0;e<t;e++)r[n[e]]=i}else r[t]=i}return this.options.layoutId&&(r.pointerEvents=s===this?I(null==t?void 0:t.pointerEvents)||"":"none"),r}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(t=>{var e;return null===(e=t.currentAnimation)||void 0===e?void 0:e.stop()}),this.root.nodes.forEach(eY),this.root.sharedNodes.clear()}}}function e_(t){t.updateLayout()}function eq(t){var e;let n=(null===(e=t.resumeFrom)||void 0===e?void 0:e.snapshot)||t.snapshot;if(t.isLead()&&t.layout&&n&&t.hasListeners("didUpdate")){let{layoutBox:e,measuredBox:r}=t.layout,{animationType:i}=t.options,s=n.source!==t.layout.source;"size"===i?tK(t=>{let r=s?n.measuredBox[t]:n.layoutBox[t],i=t$(r);r.min=e[t].min,r.max=r.min+i}):e4(i,n.layoutBox,e)&&tK(r=>{let i=s?n.measuredBox[r]:n.layoutBox[r],o=t$(e[r]);i.max=i.min+o,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[r].max=t.relativeTarget[r].min+o)});let o=(0,tG.wc)();tU(o,e,n.layoutBox);let a=(0,tG.wc)();s?tU(a,t.applyTransform(r,!0),n.measuredBox):tU(a,e,n.layoutBox);let l=!eE(o),u=!1;if(!t.resumeFrom){let r=t.getClosestProjectingParent();if(r&&!r.resumeFrom){let{snapshot:i,layout:s}=r;if(i&&s){let o=(0,tG.dO)();tq(o,n.layoutBox,i.layoutBox);let a=(0,tG.dO)();tq(a,e,s.layoutBox),ek(o,a)||(u=!0),r.options.layoutRoot&&(t.relativeTarget=a,t.relativeTargetOrigin=o,t.relativeParent=r)}}}t.notifyListeners("didUpdate",{layout:e,snapshot:n,delta:a,layoutDelta:o,hasLayoutChanged:l,hasRelativeTargetChanged:u})}else if(t.isLead()){let{onExitComplete:e}=t.options;e&&e()}t.options.transition=void 0}function ez(t){eU.totalNodes++,t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=!!(t.isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function eH(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function eX(t){t.clearSnapshot()}function eY(t){t.clearMeasurements()}function eZ(t){t.isLayoutDirty=!1}function eG(t){let{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function eK(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function eJ(t){t.resolveTargetDelta()}function eQ(t){t.calcProjection()}function e0(t){t.resetRotation()}function e1(t){t.removeLeadSnapshot()}function e3(t,e,n){t.translate=(0,tB.C)(e.translate,0,n),t.scale=(0,tB.C)(e.scale,1,n),t.origin=e.origin,t.originPoint=e.originPoint}function e2(t,e,n,r){t.min=(0,tB.C)(e.min,n.min,r),t.max=(0,tB.C)(e.max,n.max,r)}function e5(t){return t.animationValues&&void 0!==t.animationValues.opacityExit}let e6={duration:.45,ease:[.4,0,.1,1]},e7=t=>"undefined"!=typeof navigator&&navigator.userAgent.toLowerCase().includes(t),e9=e7("applewebkit/")&&!e7("chrome/")?Math.round:to.Z;function e8(t){t.min=e9(t.min),t.max=e9(t.max)}function e4(t,e,n){return"position"===t||"preserve-aspect"===t&&!tI(eM(e),eM(n),.2)}let nt=eW({attachResizeListener:(t,e)=>q(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),ne={current:void 0},nn=eW({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!ne.current){let t=new nt({});t.mount(window),t.setOptions({layoutScroll:!0}),ne.current=t}return ne.current},resetTransform:(t,e)=>{t.style.transform=void 0!==e?e:"none"},checkIsScrollRoot:t=>"fixed"===window.getComputedStyle(t).position});var nr=n(95479),ni=n(98904);let ns=(t,e)=>w(t)?new ni.e(e,{enableHardwareAcceleration:!1}):new nr.W(e,{enableHardwareAcceleration:!0}),no={animation:{Feature:tC},exit:{Feature:tE},inView:{Feature:tp},tap:{Feature:tl},focus:{Feature:ti},hover:{Feature:tr},pan:{Feature:t8},drag:{Feature:t7,ProjectionNode:nn,MeasureLayout:es},layout:{ProjectionNode:nn,MeasureLayout:es}},na=function(t){function e(e,n={}){return function({preloadedFeatures:t,createVisualElement:e,useRender:n,useVisualState:r,Component:b}){t&&function(t){for(let e in t)m.A[e]={...m.A[e],...t[e]}}(t);let w=(0,i.forwardRef)(function(m,x){var w;let P;let S={...(0,i.useContext)(s),...m,layoutId:function({layoutId:t}){let e=(0,i.useContext)(y.p).id;return e&&void 0!==t?e+"-"+t:t}(m)},{isStatic:A}=S,C=function(t){let{initial:e,animate:n}=function(t,e){if((0,f.G)(t)){let{initial:e,animate:n}=t;return{initial:!1===e||(0,d.$)(e)?e:void 0,animate:(0,d.$)(n)?n:void 0}}return!1!==t.inherit?e:{}}(t,(0,i.useContext)(o));return(0,i.useMemo)(()=>({initial:e,animate:n}),[p(e),p(n)])}(m),T=r(m,A);if(!A&&v.j){C.visualElement=function(t,e,n,r){let{visualElement:h}=(0,i.useContext)(o),d=(0,i.useContext)(u),f=(0,i.useContext)(a.O),p=(0,i.useContext)(s).reducedMotion,m=(0,i.useRef)();r=r||d.renderer,!m.current&&r&&(m.current=r(t,{visualState:e,parent:h,props:n,presenceContext:f,blockInitialAnimation:!!f&&!1===f.initial,reducedMotionConfig:p}));let v=m.current;(0,i.useInsertionEffect)(()=>{v&&v.update(n,f)});let y=(0,i.useRef)(!!(n[c.M]&&!window.HandoffComplete));return(0,l.L)(()=>{v&&(v.render(),y.current&&v.animationState&&v.animationState.animateChanges())}),(0,i.useEffect)(()=>{v&&(v.updateFeatures(),!y.current&&v.animationState&&v.animationState.animateChanges(),y.current&&(y.current=!1,window.HandoffComplete=!0))}),v}(b,T,S,e);let n=(0,i.useContext)(g),r=(0,i.useContext)(u).strict;C.visualElement&&(P=C.visualElement.loadFeatures(S,r,t,n))}return i.createElement(o.Provider,{value:C},P&&C.visualElement?i.createElement(P,{visualElement:C.visualElement,...S}):null,n(b,m,(w=C.visualElement,(0,i.useCallback)(t=>{t&&T.mount&&T.mount(t),w&&(t?w.mount(t):w.unmount()),x&&("function"==typeof x?x(t):(0,h.I)(x)&&(x.current=t))},[w])),T,A,C.visualElement))});return w[x]=b,w}(t(e,n))}if("undefined"==typeof Proxy)return e;let n=new Map;return new Proxy(e,{get:(t,r)=>(n.has(r)||n.set(r,e(r)),n.get(r))})}((t,e)=>(function(t,{forwardMotionProps:e=!1},n,r){return{...w(t)?W:_,preloadedFeatures:n,useRender:function(t=!1){return(e,n,r,{latestValues:s},o)=>{let a=(w(e)?function(t,e,n,r){let s=(0,i.useMemo)(()=>{let n=R();return(0,V.i)(n,e,{enableHardwareAcceleration:!1},(0,D.a)(r),t.transformTemplate),{...n.attrs,style:{...n.style}}},[e]);if(t.style){let e={};T(e,t.style,t),s.style={...e,...s.style}}return s}:function(t,e,n){let r={},s=function(t,e,n){let r=t.style||{},s={};return T(s,r,t),Object.assign(s,function({transformTemplate:t},e,n){return(0,i.useMemo)(()=>{let r=C();return(0,A.r)(r,e,{enableHardwareAcceleration:!n},t),Object.assign({},r.vars,r.style)},[e])}(t,e,n)),t.transformValues?t.transformValues(s):s}(t,e,n);return t.drag&&!1!==t.dragListener&&(r.draggable=!1,s.userSelect=s.WebkitUserSelect=s.WebkitTouchCallout="none",s.touchAction=!0===t.drag?"none":`pan-${"x"===t.drag?"y":"x"}`),void 0===t.tabIndex&&(t.onTap||t.onTapStart||t.whileTap)&&(r.tabIndex=0),r.style=s,r})(n,s,o,e),l={...function(t,e,n){let r={};for(let i in t)("values"!==i||"object"!=typeof t.values)&&(M(i)||!0===n&&k(i)||!e&&!k(i)||t.draggable&&i.startsWith("onDrag"))&&(r[i]=t[i]);return r}(n,"string"==typeof e,t),...a,ref:r},{children:u}=n,c=(0,i.useMemo)(()=>(0,S.i)(u)?u.get():u,[u]);return(0,i.createElement)(e,{...l,children:c})}}(e),createVisualElement:r,Component:t}})(t,e,no,ns))},95657:function(t,e,n){"use strict";n.d(e,{D:function(){return r}});let r=t=>t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()},25375:function(t,e,n){"use strict";n.d(e,{Xp:function(){return o},f9:function(){return i},tm:function(){return s}});let r=t=>e=>"string"==typeof e&&e.startsWith(t),i=r("--"),s=r("var(--"),o=/var\s*\(\s*--[\w-]+(\s*,\s*(?:(?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)+)?\s*\)/g},99890:function(t,e,n){"use strict";function r(t){return t instanceof SVGElement&&"svg"!==t.tagName}n.d(e,{v:function(){return r}})},67057:function(t,e,n){"use strict";n.d(e,{T:function(){return o}});var r=n(75301),i=n(36237),s=n(7494);function o(t,e){let n=(0,s.A)(t);return n!==i.h&&(n=r.P),n.getAnimatableNone?n.getAnimatableNone(e):void 0}},7494:function(t,e,n){"use strict";n.d(e,{A:function(){return o}});var r=n(38180),i=n(36237);let s={...n(91137).j,color:r.$,backgroundColor:r.$,outlineColor:r.$,fill:r.$,stroke:r.$,borderColor:r.$,borderTopColor:r.$,borderRightColor:r.$,borderBottomColor:r.$,borderLeftColor:r.$,filter:i.h,WebkitFilter:i.h},o=t=>s[t]},61217:function(t,e,n){"use strict";n.d(e,{$:function(){return o},C:function(){return a}});var r=n(37822),i=n(31150),s=n(35966);let o=[r.Rx,i.px,i.aQ,i.RW,i.vw,i.vh,{test:t=>"auto"===t,parse:t=>t}],a=t=>o.find((0,s.l)(t))},91137:function(t,e,n){"use strict";n.d(e,{j:function(){return o}});var r=n(37822),i=n(31150);let s={...r.Rx,transform:Math.round},o={borderWidth:i.px,borderTopWidth:i.px,borderRightWidth:i.px,borderBottomWidth:i.px,borderLeftWidth:i.px,borderRadius:i.px,radius:i.px,borderTopLeftRadius:i.px,borderTopRightRadius:i.px,borderBottomRightRadius:i.px,borderBottomLeftRadius:i.px,width:i.px,maxWidth:i.px,height:i.px,maxHeight:i.px,size:i.px,top:i.px,right:i.px,bottom:i.px,left:i.px,padding:i.px,paddingTop:i.px,paddingRight:i.px,paddingBottom:i.px,paddingLeft:i.px,margin:i.px,marginTop:i.px,marginRight:i.px,marginBottom:i.px,marginLeft:i.px,rotate:i.RW,rotateX:i.RW,rotateY:i.RW,rotateZ:i.RW,scale:r.bA,scaleX:r.bA,scaleY:r.bA,scaleZ:r.bA,skew:i.RW,skewX:i.RW,skewY:i.RW,distance:i.px,translateX:i.px,translateY:i.px,translateZ:i.px,x:i.px,y:i.px,z:i.px,perspective:i.px,transformPerspective:i.px,opacity:r.Fq,originX:i.$C,originY:i.$C,originZ:i.px,zIndex:s,fillOpacity:r.Fq,strokeOpacity:r.Fq,numOctaves:s}},35966:function(t,e,n){"use strict";n.d(e,{l:function(){return r}});let r=t=>e=>e.test(t)},95479:function(t,e,n){"use strict";n.d(e,{W:function(){return d}});var r=n(24569),i=n(25375),s=n(90210),o=n(32313),a=n(74670),l=n(7494),u=n(30487),c=n(53434),h=n(21826);class d extends c.J{constructor(){super(...arguments),this.type="html"}readValueFromInstance(t,e){if(s.G.has(e)){let t=(0,l.A)(e);return t&&t.default||0}{let n=window.getComputedStyle(t),r=((0,i.f9)(e)?n.getPropertyValue(e):n[e])||0;return"string"==typeof r?r.trim():r}}measureInstanceViewportBox(t,{transformPagePoint:e}){return(0,u.J)(t,e)}build(t,e,n,i){(0,r.r)(t,e,n,i.transformTemplate)}scrapeMotionValuesFromProps(t,e){return(0,o.U)(t,e)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:t}=this.props;(0,h.i)(t)&&(this.childSubscription=t.on("change",t=>{this.current&&(this.current.textContent=`${t}`)}))}renderInstance(t,e,n,r){(0,a.N)(t,e,n,r)}}},24569:function(t,e,n){"use strict";n.d(e,{r:function(){return u}});var r=n(90210);let i={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},s=r._.length;var o=n(25375);let a=(t,e)=>e&&"number"==typeof t?e.transform(t):t;var l=n(91137);function u(t,e,n,u){let{style:c,vars:h,transform:d,transformOrigin:f}=t,p=!1,m=!1,v=!0;for(let t in e){let n=e[t];if((0,o.f9)(t)){h[t]=n;continue}let i=l.j[t],s=a(n,i);if(r.G.has(t)){if(p=!0,d[t]=s,!v)continue;n!==(i.default||0)&&(v=!1)}else t.startsWith("origin")?(m=!0,f[t]=s):c[t]=s}if(!e.transform&&(p||u?c.transform=function(t,{enableHardwareAcceleration:e=!0,allowTransformNone:n=!0},o,a){let l="";for(let e=0;e<s;e++){let n=r._[e];if(void 0!==t[n]){let e=i[n]||n;l+=`${e}(${t[n]}) `}}return e&&!t.z&&(l+="translateZ(0)"),l=l.trim(),a?l=a(t,o?"":l):n&&o&&(l="none"),l}(t.transform,n,v,u):c.transform&&(c.transform="none")),m){let{originX:t="50%",originY:e="50%",originZ:n=0}=f;c.transformOrigin=`${t} ${e} ${n}`}}},74670:function(t,e,n){"use strict";function r(t,{style:e,vars:n},r,i){for(let s in Object.assign(t.style,e,i&&i.getProjectionStyles(r)),n)t.style.setProperty(s,n[s])}n.d(e,{N:function(){return r}})},32313:function(t,e,n){"use strict";n.d(e,{U:function(){return s}});var r=n(88344),i=n(21826);function s(t,e){let{style:n}=t,s={};for(let o in n)((0,i.i)(n[o])||e.style&&(0,i.i)(e.style[o])||(0,r.j)(o,t))&&(s[o]=n[o]);return s}},90210:function(t,e,n){"use strict";n.d(e,{G:function(){return i},_:function(){return r}});let r=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],i=new Set(r)},66960:function(t,e,n){"use strict";n.d(e,{R:function(){return r}});let r=new WeakMap},98904:function(t,e,n){"use strict";n.d(e,{e:function(){return f}});var r=n(52737),i=n(53434),s=n(90379),o=n(95657),a=n(26270),l=n(90210),u=n(17257),c=n(7494),h=n(86503),d=n(67461);class f extends i.J{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1}getBaseTargetFromProps(t,e){return t[e]}readValueFromInstance(t,e){if(l.G.has(e)){let t=(0,c.A)(e);return t&&t.default||0}return e=a.s.has(e)?e:(0,o.D)(e),t.getAttribute(e)}measureInstanceViewportBox(){return(0,h.dO)()}scrapeMotionValuesFromProps(t,e){return(0,r.U)(t,e)}build(t,e,n,r){(0,s.i)(t,e,n,this.isSVGTag,r.transformTemplate)}renderInstance(t,e,n,r){(0,u.K)(t,e,n,r)}mount(t){this.isSVGTag=(0,d.a)(t.tagName),super.mount(t)}}},90379:function(t,e,n){"use strict";n.d(e,{i:function(){return l}});var r=n(24569),i=n(31150);function s(t,e,n){return"string"==typeof t?t:i.px.transform(e+n*t)}let o={offset:"stroke-dashoffset",array:"stroke-dasharray"},a={offset:"strokeDashoffset",array:"strokeDasharray"};function l(t,{attrX:e,attrY:n,attrScale:l,originX:u,originY:c,pathLength:h,pathSpacing:d=1,pathOffset:f=0,...p},m,v,y){if((0,r.r)(t,p,m,y),v){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};let{attrs:g,style:x,dimensions:b}=t;g.transform&&(b&&(x.transform=g.transform),delete g.transform),b&&(void 0!==u||void 0!==c||x.transform)&&(x.transformOrigin=function(t,e,n){let r=s(e,t.x,t.width),i=s(n,t.y,t.height);return`${r} ${i}`}(b,void 0!==u?u:.5,void 0!==c?c:.5)),void 0!==e&&(g.x=e),void 0!==n&&(g.y=n),void 0!==l&&(g.scale=l),void 0!==h&&function(t,e,n=1,r=0,s=!0){t.pathLength=1;let l=s?o:a;t[l.offset]=i.px.transform(-r);let u=i.px.transform(e),c=i.px.transform(n);t[l.array]=`${u} ${c}`}(g,h,d,f,!1)}},26270:function(t,e,n){"use strict";n.d(e,{s:function(){return r}});let r=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"])},67461:function(t,e,n){"use strict";n.d(e,{a:function(){return r}});let r=t=>"string"==typeof t&&"svg"===t.toLowerCase()},17257:function(t,e,n){"use strict";n.d(e,{K:function(){return o}});var r=n(95657),i=n(74670),s=n(26270);function o(t,e,n,o){for(let n in(0,i.N)(t,e,void 0,o),e.attrs)t.setAttribute(s.s.has(n)?n:(0,r.D)(n),e.attrs[n])}},52737:function(t,e,n){"use strict";n.d(e,{U:function(){return o}});var r=n(21826),i=n(32313),s=n(90210);function o(t,e){let n=(0,i.U)(t,e);for(let i in t)((0,r.i)(t[i])||(0,r.i)(e[i]))&&(n[-1!==s._.indexOf(i)?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i]=t[i]);return n}},33343:function(t,e,n){"use strict";n.d(e,{G:function(){return o},M:function(){return a}});var r=n(82600),i=n(28453),s=n(17199);function o(t){return(0,r.H)(t.animate)||s.V.some(e=>(0,i.$)(t[e]))}function a(t){return!!(o(t)||t.variants)}},28453:function(t,e,n){"use strict";function r(t){return"string"==typeof t||Array.isArray(t)}n.d(e,{$:function(){return r}})},80062:function(t,e,n){"use strict";n.d(e,{x:function(){return i}});var r=n(29222);function i(t,e,n){let i=t.getProps();return(0,r.o)(i,e,void 0!==n?n:i.custom,function(t){let e={};return t.values.forEach((t,n)=>e[n]=t.get()),e}(t),function(t){let e={};return t.values.forEach((t,n)=>e[n]=t.getVelocity()),e}(t))}},29222:function(t,e,n){"use strict";function r(t,e,n,r={},i={}){return"function"==typeof e&&(e=e(void 0!==n?n:t.custom,r,i)),"string"==typeof e&&(e=t.variants&&t.variants[e]),"function"==typeof e&&(e=e(void 0!==n?n:t.custom,r,i)),e}n.d(e,{o:function(){return r}})},63798:function(t,e,n){"use strict";n.d(e,{GJ:function(){return v},P$:function(){return y},CD:function(){return m}});var r=n(37984),i=n(13186),s=n(36565),o=n(90039),a=n(75301),l=n(67057),u=n(38180),c=n(61217),h=n(35966);let d=[...c.$,u.$,a.P],f=t=>d.find((0,h.l)(t));var p=n(80062);function m(t,e){let n=(0,p.x)(t,e),{transitionEnd:r={},transition:i={},...a}=n?t.makeTargetAnimatable(n,!1):{};for(let e in a={...a,...r}){let n=(0,s.Y)(a[e]);t.hasValue(e)?t.getValue(e).set(n):t.addValue(e,(0,o.BX)(n))}}function v(t,e,n){var s,u;let c=Object.keys(e).filter(e=>!t.hasValue(e)),h=c.length;if(h)for(let d=0;d<h;d++){let h=c[d],p=e[h],m=null;Array.isArray(p)&&(m=p[0]),null===m&&(m=null!==(u=null!==(s=n[h])&&void 0!==s?s:t.readValue(h))&&void 0!==u?u:e[h]),null!=m&&("string"==typeof m&&((0,r.P)(m)||(0,i.W)(m))?m=parseFloat(m):!f(m)&&a.P.test(p)&&(m=(0,l.T)(h,p)),t.addValue(h,(0,o.BX)(m,{owner:t})),void 0===n[h]&&(n[h]=m),null!==m&&t.setBaseTarget(h,m))}}function y(t,e,n){let r={};for(let i in t){let t=function(t,e){if(e)return(e[t]||e.default||e).from}(i,e);if(void 0!==t)r[i]=t;else{let t=n.getValue(i);t&&(r[i]=t.get())}}return r}},17199:function(t,e,n){"use strict";n.d(e,{V:function(){return i},e:function(){return r}});let r=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],i=["initial",...r]},3779:function(t,e,n){"use strict";function r(t,e){-1===t.indexOf(e)&&t.push(e)}function i(t,e){let n=t.indexOf(e);n>-1&&t.splice(n,1)}n.d(e,{cl:function(){return i},y4:function(){return r}})},3983:function(t,e,n){"use strict";n.d(e,{u:function(){return r}});let r=(t,e,n)=>Math.min(Math.max(n,t),e)},40131:function(t,e,n){"use strict";n.d(e,{K:function(){return i},k:function(){return s}});var r=n(38752);let i=r.Z,s=r.Z},80226:function(t,e,n){"use strict";n.d(e,{j:function(){return r}});let r="undefined"!=typeof document},37984:function(t,e,n){"use strict";n.d(e,{P:function(){return r}});let r=t=>/^\-?\d*\.?\d+$/.test(t)},99506:function(t,e,n){"use strict";function r(t){return t&&"object"==typeof t&&Object.prototype.hasOwnProperty.call(t,"current")}n.d(e,{I:function(){return r}})},13186:function(t,e,n){"use strict";n.d(e,{W:function(){return r}});let r=t=>/^0[^.\s]+$/.test(t)},52953:function(t,e,n){"use strict";function r(t){let e;return()=>(void 0===e&&(e=t()),e)}n.d(e,{X:function(){return r}})},43640:function(t,e,n){"use strict";n.d(e,{C:function(){return r}});let r=(t,e,n)=>-n*t+n*e+t},38752:function(t,e,n){"use strict";n.d(e,{Z:function(){return r}});let r=t=>t},50101:function(t,e,n){"use strict";n.d(e,{Y:function(){return i}});var r=n(53823);function i(t){let e=[0];return(0,r.c)(e,t.length-1),e}},53823:function(t,e,n){"use strict";n.d(e,{c:function(){return s}});var r=n(43640),i=n(99075);function s(t,e){let n=t[t.length-1];for(let s=1;s<=e;s++){let o=(0,i.Y)(0,e,s);t.push((0,r.C)(n,1,o))}}},50970:function(t,e,n){"use strict";n.d(e,{z:function(){return i}});let r=(t,e)=>n=>e(t(n)),i=(...t)=>t.reduce(r)},99075:function(t,e,n){"use strict";n.d(e,{Y:function(){return r}});let r=(t,e,n)=>{let r=e-t;return 0===r?1:(n-t)/r}},36565:function(t,e,n){"use strict";n.d(e,{Y:function(){return s},p:function(){return i}});var r=n(68686);let i=t=>!!(t&&"object"==typeof t&&t.mix&&t.toValue),s=t=>(0,r.C)(t)?t[t.length-1]||0:t},39311:function(t,e,n){"use strict";n.d(e,{L:function(){return i}});var r=n(3779);class i{constructor(){this.subscriptions=[]}add(t){return(0,r.y4)(this.subscriptions,t),()=>(0,r.cl)(this.subscriptions,t)}notify(t,e,n){let r=this.subscriptions.length;if(r){if(1===r)this.subscriptions[0](t,e,n);else for(let i=0;i<r;i++){let r=this.subscriptions[i];r&&r(t,e,n)}}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}},37169:function(t,e,n){"use strict";n.d(e,{X:function(){return i},w:function(){return r}});let r=t=>1e3*t,i=t=>t/1e3},2415:function(t,e,n){"use strict";n.d(e,{h:function(){return i}});var r=n(7653);function i(t){let e=(0,r.useRef)(null);return null===e.current&&(e.current=t()),e.current}},98739:function(t,e,n){"use strict";n.d(e,{L:function(){return i}});var r=n(7653);let i=n(80226).j?r.useLayoutEffect:r.useEffect},81536:function(t,e,n){"use strict";n.d(e,{z:function(){return i}});var r=n(7653);function i(t){return(0,r.useEffect)(()=>()=>t(),[])}},2365:function(t,e,n){"use strict";function r(t,e){return e?1e3/e*t:0}n.d(e,{R:function(){return r}})},90039:function(t,e,n){"use strict";n.d(e,{BX:function(){return u}});var r=n(39311),i=n(2365),s=n(55062);let o=t=>!isNaN(parseFloat(t)),a={current:void 0};class l{constructor(t,e={}){this.version="10.18.0",this.timeDelta=0,this.lastUpdated=0,this.canTrackVelocity=!1,this.events={},this.updateAndNotify=(t,e=!0)=>{this.prev=this.current,this.current=t;let{delta:n,timestamp:r}=s.frameData;this.lastUpdated!==r&&(this.timeDelta=n,this.lastUpdated=r,s.Wi.postRender(this.scheduleVelocityCheck)),this.prev!==this.current&&this.events.change&&this.events.change.notify(this.current),this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()),e&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.scheduleVelocityCheck=()=>s.Wi.postRender(this.velocityCheck),this.velocityCheck=({timestamp:t})=>{t!==this.lastUpdated&&(this.prev=this.current,this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=t,this.canTrackVelocity=o(this.current),this.owner=e.owner}onChange(t){return this.on("change",t)}on(t,e){this.events[t]||(this.events[t]=new r.L);let n=this.events[t].add(e);return"change"===t?()=>{n(),s.Wi.read(()=>{this.events.change.getSize()||this.stop()})}:n}clearListeners(){for(let t in this.events)this.events[t].clear()}attach(t,e){this.passiveEffect=t,this.stopPassiveEffect=e}set(t,e=!0){e&&this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t,e)}setWithVelocity(t,e,n){this.set(e),this.prev=t,this.timeDelta=n}jump(t){this.updateAndNotify(t),this.prev=t,this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return a.current&&a.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){return this.canTrackVelocity?(0,i.R)(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0}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.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function u(t,e){return new l(t,e)}},63822:function(t,e,n){"use strict";n.d(e,{$:function(){return i}});var r=n(70326);let i={test:(0,n(63335).i)("#"),parse:function(t){let e="",n="",r="",i="";return t.length>5?(e=t.substring(1,3),n=t.substring(3,5),r=t.substring(5,7),i=t.substring(7,9)):(e=t.substring(1,2),n=t.substring(2,3),r=t.substring(3,4),i=t.substring(4,5),e+=e,n+=n,r+=r,i+=i),{red:parseInt(e,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:i?parseInt(i,16)/255:1}},transform:r.m.transform}},54317:function(t,e,n){"use strict";n.d(e,{J:function(){return a}});var r=n(37822),i=n(31150),s=n(79680),o=n(63335);let a={test:(0,o.i)("hsl","hue"),parse:(0,o.d)("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:n,alpha:o=1})=>"hsla("+Math.round(t)+", "+i.aQ.transform((0,s.Nw)(e))+", "+i.aQ.transform((0,s.Nw)(n))+", "+(0,s.Nw)(r.Fq.transform(o))+")"}},38180:function(t,e,n){"use strict";n.d(e,{$:function(){return a}});var r=n(79680),i=n(63822),s=n(54317),o=n(70326);let a={test:t=>o.m.test(t)||i.$.test(t)||s.J.test(t),parse:t=>o.m.test(t)?o.m.parse(t):s.J.test(t)?s.J.parse(t):i.$.parse(t),transform:t=>(0,r.HD)(t)?t:t.hasOwnProperty("red")?o.m.transform(t):s.J.transform(t)}},70326:function(t,e,n){"use strict";n.d(e,{m:function(){return u}});var r=n(3983),i=n(37822),s=n(79680),o=n(63335);let a=t=>(0,r.u)(0,255,t),l={...i.Rx,transform:t=>Math.round(a(t))},u={test:(0,o.i)("rgb","red"),parse:(0,o.d)("red","green","blue"),transform:({red:t,green:e,blue:n,alpha:r=1})=>"rgba("+l.transform(t)+", "+l.transform(e)+", "+l.transform(n)+", "+(0,s.Nw)(i.Fq.transform(r))+")"}},63335:function(t,e,n){"use strict";n.d(e,{d:function(){return s},i:function(){return i}});var r=n(79680);let i=(t,e)=>n=>!!((0,r.HD)(n)&&r.mj.test(n)&&n.startsWith(t)||e&&Object.prototype.hasOwnProperty.call(n,e)),s=(t,e,n)=>i=>{if(!(0,r.HD)(i))return i;let[s,o,a,l]=i.match(r.KP);return{[t]:parseFloat(s),[e]:parseFloat(o),[n]:parseFloat(a),alpha:void 0!==l?parseFloat(l):1}}},36237:function(t,e,n){"use strict";n.d(e,{h:function(){return l}});var r=n(75301),i=n(79680);let s=new Set(["brightness","contrast","saturate","opacity"]);function o(t){let[e,n]=t.slice(0,-1).split("(");if("drop-shadow"===e)return t;let[r]=n.match(i.KP)||[];if(!r)return t;let o=n.replace(r,""),a=s.has(e)?1:0;return r!==n&&(a*=100),e+"("+a+o+")"}let a=/([a-z-]*)\(.*?\)/g,l={...r.P,getAnimatableNone:t=>{let e=t.match(a);return e?e.map(o).join(" "):t}}},75301:function(t,e,n){"use strict";n.d(e,{P:function(){return v},V:function(){return d}});var r=n(25375),i=n(38752),s=n(38180),o=n(37822),a=n(79680);let l={regex:r.Xp,countKey:"Vars",token:"${v}",parse:i.Z},u={regex:a.dA,countKey:"Colors",token:"${c}",parse:s.$.parse},c={regex:a.KP,countKey:"Numbers",token:"${n}",parse:o.Rx.parse};function h(t,{regex:e,countKey:n,token:r,parse:i}){let s=t.tokenised.match(e);s&&(t["num"+n]=s.length,t.tokenised=t.tokenised.replace(e,r),t.values.push(...s.map(i)))}function d(t){let e=t.toString(),n={value:e,tokenised:e,values:[],numVars:0,numColors:0,numNumbers:0};return n.value.includes("var(--")&&h(n,l),h(n,u),h(n,c),n}function f(t){return d(t).values}function p(t){let{values:e,numColors:n,numVars:r,tokenised:i}=d(t),o=e.length;return t=>{let e=i;for(let i=0;i<o;i++)e=i<r?e.replace(l.token,t[i]):i<r+n?e.replace(u.token,s.$.transform(t[i])):e.replace(c.token,(0,a.Nw)(t[i]));return e}}let m=t=>"number"==typeof t?0:t,v={test:function(t){var e,n;return isNaN(t)&&(0,a.HD)(t)&&((null===(e=t.match(a.KP))||void 0===e?void 0:e.length)||0)+((null===(n=t.match(a.dA))||void 0===n?void 0:n.length)||0)>0},parse:f,createTransformer:p,getAnimatableNone:function(t){let e=f(t);return p(t)(e.map(m))}}},37822:function(t,e,n){"use strict";n.d(e,{Fq:function(){return s},Rx:function(){return i},bA:function(){return o}});var r=n(3983);let i={test:t=>"number"==typeof t,parse:parseFloat,transform:t=>t},s={...i,transform:t=>(0,r.u)(0,1,t)},o={...i,default:1}},31150:function(t,e,n){"use strict";n.d(e,{$C:function(){return c},RW:function(){return s},aQ:function(){return o},px:function(){return a},vh:function(){return l},vw:function(){return u}});var r=n(79680);let i=t=>({test:e=>(0,r.HD)(e)&&e.endsWith(t)&&1===e.split(" ").length,parse:parseFloat,transform:e=>`${e}${t}`}),s=i("deg"),o=i("%"),a=i("px"),l=i("vh"),u=i("vw"),c={...o,parse:t=>o.parse(t)/100,transform:t=>o.transform(100*t)}},79680:function(t,e,n){"use strict";n.d(e,{HD:function(){return a},KP:function(){return i},Nw:function(){return r},dA:function(){return s},mj:function(){return o}});let r=t=>Math.round(1e5*t)/1e5,i=/(-)?([\d]*\.?[\d])+/g,s=/(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,o=/^(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function a(t){return"string"==typeof t}},71331:function(t,e,n){"use strict";n.d(e,{L:function(){return i}});var r=n(21826);function i(t){return!!((0,r.i)(t)&&t.add)}},21826:function(t,e,n){"use strict";n.d(e,{i:function(){return r}});let r=t=>!!(t&&t.getVelocity)},26066:function(t,e,n){"use strict";function r(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)t[r]=n[r]}return t}n.d(e,{Z:function(){return i}});var i=function t(e,n){function i(t,i,s){if("undefined"!=typeof document){"number"==typeof(s=r({},n,s)).expires&&(s.expires=new Date(Date.now()+864e5*s.expires)),s.expires&&(s.expires=s.expires.toUTCString()),t=encodeURIComponent(t).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var o="";for(var a in s)s[a]&&(o+="; "+a,!0!==s[a]&&(o+="="+s[a].split(";")[0]));return document.cookie=t+"="+e.write(i,t)+o}}return Object.create({set:i,get:function(t){if("undefined"!=typeof document&&(!arguments.length||t)){for(var n=document.cookie?document.cookie.split("; "):[],r={},i=0;i<n.length;i++){var s=n[i].split("="),o=s.slice(1).join("=");try{var a=decodeURIComponent(s[0]);if(r[a]=e.read(o,a),t===a)break}catch(t){}}return t?r[t]:r}},remove:function(t,e){i(t,"",r({},e,{expires:-1}))},withAttributes:function(e){return t(this.converter,r({},this.attributes,e))},withConverter:function(e){return t(r({},this.converter,e),this.attributes)}},{attributes:{value:Object.freeze(n)},converter:{value:Object.freeze(e)}})}({read:function(t){return'"'===t[0]&&(t=t.slice(1,-1)),t.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(t){return encodeURIComponent(t).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}},{path:"/"})},15799:function(t,e,n){"use strict";n.d(e,{AE:function(){return u},Oi:function(){return l},XI:function(){return E}});var r,i=function(){try{if("undefined"==typeof localStorage)return!1;let t="nuqs-localStorage-test";localStorage.setItem(t,t);let e=localStorage.getItem(t)===t;if(localStorage.removeItem(t),!e)return!1}catch(t){return console.error("[nuqs]: debug mode is disabled (localStorage unavailable).",t),!1}let t=localStorage.getItem("debug")??"";return t.includes("nuqs")||t.includes("next-usequerystate")}();function s(t,...e){if(!i)return;let n=function(t,...e){return t.replace(/%[sfdO]/g,t=>{let n=e.shift();return"%O"===t&&n?JSON.stringify(n).replace(/"([^"]+)":/g,"$1:"):String(n)})}(t,...e);performance.mark(n),console.log(t,...e)}function o(t,e,n){try{return t(e)}catch(t){return!function(t,...e){i&&console.warn(t,...e)}("[nuqs] Error while parsing value `%s`: %O"+(n?" (for key `%s`)":""),e,t,n),null}}function a(t){function e(e){if(void 0===e)return null;let n="";if(Array.isArray(e)){if(void 0===e[0])return null;n=e[0]}return"string"==typeof e&&(n=e),o(t.parse,n)}return{eq:(t,e)=>t===e,...t,parseServerSide:e,withDefault(t){return{...this,defaultValue:t,parseServerSide:n=>e(n)??t}},withOptions(t){return{...this,...t}}}}var l=a({parse:t=>t,serialize:t=>`${t}`});a({parse:t=>{let e=parseInt(t);return Number.isNaN(e)?null:e},serialize:t=>Math.round(t).toFixed()}),a({parse:t=>{let e=parseInt(t,16);return Number.isNaN(e)?null:e},serialize:t=>{let e=Math.round(t).toString(16);return e.padStart(e.length+e.length%2,"0")}}),a({parse:t=>{let e=parseFloat(t);return Number.isNaN(e)?null:e},serialize:t=>t.toString()});var u=a({parse:t=>"true"===t,serialize:t=>t?"true":"false"});a({parse:t=>{let e=parseInt(t);return Number.isNaN(e)?null:new Date(e)},serialize:t=>t.valueOf().toString()}),a({parse:t=>{let e=new Date(t);return Number.isNaN(e.valueOf())?null:e},serialize:t=>t.toISOString()});var c={409:"Multiple versions of the library are loaded. This may lead to unexpected behavior. Currently using `%s`, but `%s` was about to load on top.",429:"URL update rate-limited by the browser. Consider increasing `throttleMs` for key(s) `%s`. %O",500:"Empty search params cache. Search params can't be accessed in Layouts.",501:"Search params cache already populated. Have you called `parse` twice?"};function h(t){return`[nuqs] ${c[t]} See https://err.47ng.com/NUQS-${t}`}var d=n(81695),f=n(7653),p=function(){if("undefined"==typeof window||!window.GestureEvent)return 50;try{let t=navigator.userAgent?.match(/version\/([\d\.]+) safari/i);return parseFloat(t[1])>=17?120:320}catch{return 320}}(),m=new Map,v={history:"replace",scroll:!1,shallow:!0,throttleMs:p},y=new Set,g=0,x=null;function b(t){return m.get(t)??null}function w(t,e){return(t.split("#")[0]??"")+function(t){if(0===t.size)return"";let e=[];for(let[n,r]of t.entries()){let t=n.replace(/#/g,"%23").replace(/&/g,"%26").replace(/\+/g,"%2B").replace(/=/g,"%3D").replace(/\?/g,"%3F");e.push(`${t}=${r.replace(/%/g,"%25").replace(/\+/g,"%2B").replace(/ /g,"+").replace(/#/g,"%23").replace(/&/g,"%26").replace(/"/g,"%22").replace(/'/g,"%27").replace(/`/g,"%60").replace(/</g,"%3C").replace(/>/g,"%3E")}`)}return"?"+e.join("&")}(e)+location.hash}var P=Symbol("__nuqs__SYNC__"),S="__nuqs__NO_SYNC__",A=Symbol("__nuqs__NOTIFY__"),C={all:r=r||new Map,on:function(t,e){var n=r.get(t);n?n.push(e):r.set(t,[e])},off:function(t,e){var n=r.get(t);n&&(e?n.splice(n.indexOf(e)>>>0,1):r.set(t,[]))},emit:function(t,e){var n=r.get(t);n&&n.slice().map(function(t){t(e)}),(n=r.get("*"))&&n.slice().map(function(n){n(t,e)})}};"object"==typeof history&&function(){let t="1.20.0",e=history.__nuqs_patched;if(e){e!==t&&console.error(h(409),e,t);return}for(let e of(s("[nuqs] Patching history with %s",t),["pushState","replaceState"])){let t=history[e].bind(history);history[e]=function(n,r,i){if(!i)return s("[nuqs] history.%s(null) (%s) %O",e,r,n),t(n,r,i);let o=r===S?"internal":"external",a=new URL(i,location.origin).searchParams;if(s("[nuqs] history.%s(%s) (%s) %O",e,i,o,n),"external"===o){for(let[t,e]of a.entries()){let n=b(t);null!==n&&n!==e&&(s("[nuqs] Overwrite detected for key: %s, Server: %s, queue: %s",t,e,n),a.set(t,n))}setTimeout(()=>{s("[nuqs] External history.%s call: triggering sync with %s",e,a),C.emit(P,a),C.emit(A,{search:a,source:o})},0)}else setTimeout(()=>{C.emit(A,{search:a,source:o})},0);return t(n,r===S?"":r,i)}}Object.defineProperty(history,"__nuqs_patched",{value:t,writable:!1,enumerable:!1,configurable:!1})}();var T={};function E(t,{history:e="replace",scroll:n=!1,shallow:r=!0,throttleMs:i=p,clearOnDefault:o=!1,startTransition:a,urlKeys:l=T}={}){let u=Object.keys(t).join(","),c=f.useMemo(()=>Object.fromEntries(Object.keys(t).map(t=>[t,l[t]??t])),[u,l]),b=(0,d.useRouter)(),A=(0,d.useSearchParams)(),E=f.useRef({}),[M,V]=f.useState(()=>{let e=A??new URLSearchParams;return E.current=Object.fromEntries(e.entries()),k(t,l,e)}),R=f.useRef(M);return s("[nuq+ `%s`] render - state: %O, iSP: %s",u,M,A),f.useEffect(()=>{window.next?.version==="14.0.3"&&V(k(t,l,A,E.current,R.current))},[Object.keys(c).map(t=>A?.get(t)).join("&"),u]),f.useInsertionEffect(()=>{function e(t){s("[nuq+ `%s`] updateInternalState %O",u,t),R.current=t,V(t)}function n(n){let r=k(t,l,n,E.current,R.current);s("[nuq+ `%s`] syncFromURL %O",u,r),e(r)}let r=Object.keys(t).reduce((n,r)=>(n[r]=({state:n,query:i})=>{let{defaultValue:o}=t[r],a=c[r];R.current={...R.current,[r]:n??o??null},E.current[a]=i,s("[nuq+ `%s`] Cross-hook key sync %s: %O (default: %O). Resolved: %O",u,a,n,o,R.current),e(R.current)},n),{});for(let e of(C.on(P,n),Object.keys(t))){let t=c[e];s("[nuq+ `%s`] Subscribing to sync for `%s`",u,t),C.on(t,r[e])}return()=>{for(let e of(C.off(P,n),Object.keys(t))){let t=c[e];s("[nuq+ `%s`] Unsubscribing to sync for `%s`",u,t),C.off(t,r[e])}}},[t,c]),[M,f.useCallback((l,d={})=>{let f="function"==typeof l?l(R.current):null===l?Object.fromEntries(Object.keys(t).map(t=>[t,null])):l;for(let[l,h]of(s("[nuq+ `%s`] setState: %O",u,f),Object.entries(f))){let u=t[l],f=c[l];u&&((d.clearOnDefault??u.clearOnDefault??o)&&null!==h&&void 0!==u.defaultValue&&(u.eq??((t,e)=>t===e))(h,u.defaultValue)&&(h=null),E.current[f]=function(t,e,n,r){let i=null===e?null:n(e);return s("[nuqs queue] Enqueueing %s=%s %O",t,i,r),m.set(t,i),"push"===r.history&&(v.history="push"),r.scroll&&(v.scroll=!0),!1===r.shallow&&(v.shallow=!1),r.startTransition&&(y.add(r.startTransition),v.shallow=!1),v.throttleMs=Math.max(r.throttleMs??p,Number.isFinite(v.throttleMs)?v.throttleMs:0),i}(f,h,u.serialize??String,{history:d.history??u.history??e,shallow:d.shallow??u.shallow??r,scroll:d.scroll??u.scroll??n,throttleMs:d.throttleMs??u.throttleMs??i,startTransition:d.startTransition??u.startTransition??a}),C.emit(f,{state:h,query:E.current[f]??null}))}return null===x&&(x=new Promise((t,e)=>{if(!Number.isFinite(v.throttleMs)){s("[nuqs queue] Skipping flush due to throttleMs=Infinity"),t(new URLSearchParams(location.search)),setTimeout(()=>{x=null},0);return}function n(){g=performance.now();let[n,r]=function(t){let e=new URLSearchParams(location.search);if(0===m.size)return[e,null];let n=Array.from(m.entries()),r={...v},i=Array.from(y);for(let[t,i]of(m.clear(),y.clear(),v.history="replace",v.scroll=!1,v.shallow=!0,v.throttleMs=p,s("[nuqs queue] Flushing queue %O with options %O",n,r),n))null===i?e.delete(t):e.set(t,i);try{let n=window.next?.router;if("string"==typeof n?.state?.asPath){let t=w(n.state.asPath.split("?")[0]??"",e);s("[nuqs queue (pages)] Updating url: %s",t),("push"===r.history?n.push:n.replace).call(n,t,t,{scroll:r.scroll,shallow:r.shallow})}else{let n=w(location.origin+location.pathname,e);s("[nuqs queue (app)] Updating url: %s",n);let o="push"===r.history?history.pushState:history.replaceState,a=(window.next?.version??"")>="14.1.0"?null:history.state;o.call(history,a,S,n),r.scroll&&window.scrollTo(0,0),r.shallow||function(t,e){let n=r=>{if(r===t.length)return e();let i=t[r];if(!i)throw Error("Invalid transition function");i(()=>n(r+1))};n(0)}(i,()=>{t.replace(n,{scroll:!1})})}return[e,null]}catch(t){return console.error(h(429),n.map(([t])=>t).join(),t),[e,t]}}(b);null===r?t(n):e(n),x=null}setTimeout(function(){let t=performance.now()-g,e=v.throttleMs,r=Math.max(0,Math.min(e,e-t));s("[nuqs queue] Scheduling flush in %f ms. Throttled at %f ms",r,e),0===r?n():setTimeout(n,r)},0)})),x},[t,e,r,n,i,a,c])]}function k(t,e,n,r,i){return Object.keys(t).reduce((s,a)=>{let l=e?.[a]??a,{defaultValue:u,parse:c}=t[a],h=n?.get(l)??null,d=b(l)??h;if(r&&i&&r[l]===d)return s[a]=i[a]??u??null,s;let f=null===d?null:o(c,d,a);return s[a]=f??u??null,r&&(r[l]=d),s},{})}}}]); //# sourceMappingURL=1538-28b9996ceedaa74d.js.map