"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6961],{44839:function(e,t,n){t.Z=function(){for(var e,t,n=0,r="",u=arguments.length;n<u;n++)(e=arguments[n])&&(t=function e(t){var n,r,u="";if("string"==typeof t||"number"==typeof t)u+=t;else if("object"==typeof t){if(Array.isArray(t)){var a=t.length;for(n=0;n<a;n++)t[n]&&(r=e(t[n]))&&(u&&(u+=" "),u+=r)}else for(r in t)t[r]&&(u&&(u+=" "),u+=r)}return u}(e))&&(r&&(r+=" "),r+=t);return r}},44632:function(e,t,n){n.d(t,{j:function(){return P}});var r,u=n(70725),a=n(19470),l=n(49653),o=n(80557),i=n(92007),s=n(29924),f=n(33217),c=n(77599),p=n(19047);function y(e){return"object"==typeof e&&!Array.isArray(e)}function h(e,t,n,r){return"string"==typeof e&&y(t)?function(e,t,n){var r;if("string"==typeof e){let u=document;t&&((0,p.k)(!!t.current,"Scope provided, but no element detected."),u=t.current),n?(null!==(r=n[e])&&void 0!==r||(n[e]=u.querySelectorAll(e)),e=n[e]):e=u.querySelectorAll(e)}else e instanceof Element&&(e=[e]);return Array.from(e||[])}(e,n,r):e instanceof NodeList?Array.from(e):Array.isArray(e)?e:[e]}var d=n(49868);function g(e,t,n,r){var u;return"number"==typeof t?t:t.startsWith("-")||t.startsWith("+")?Math.max(0,e+parseFloat(t)):"<"===t?n:null!==(u=r.get(t))&&void 0!==u?u:e}let m=(e,t,n)=>{let r=t-e;return((n-e)%r+r)%r+e};var v=n(19379),A=n(28746),b=n(75004);function x(e,t){return e.at!==t.at?e.at-t.at:null===e.value?1:null===t.value?-1:0}function S(e,t){return t.has(e)||t.set(e,{}),t.get(e)}function w(e,t){return t[e]||(t[e]=[]),t[e]}let k=e=>"number"==typeof e,E=e=>e.every(k);var M=n(26283),j=n(58688),O=n(48170),N=n(82714),R=n(39440),C=n(58250),I=n(18304);class V extends I.l{constructor(){super(...arguments),this.type="object"}readValueFromInstance(e,t){if(t in e){let n=e[t];if("string"==typeof n||"number"==typeof n)return n}}getBaseTargetFromProps(){}removeValueFromRenderState(e,t){delete t.output[e]}measureInstanceViewportBox(){return(0,C.dO)()}build(e,t){Object.assign(e.output,t)}renderInstance(e,{output:t}){Object.assign(e,t)}sortInstanceNodePosition(){return 0}}function _(e){let t={presenceContext:null,props:{},visualState:{renderState:{transform:{},transformOrigin:{},style:{},vars:{},attrs:{}},latestValues:{}}},n=(0,O.v)(e)?new N.e(t):new R.W(t);n.mount(e),M.R.set(e,n)}function F(e){let t=new V({presenceContext:null,props:{},visualState:{renderState:{output:{}},latestValues:{}}});t.mount(e),M.R.set(e,t)}var W=n(71233);function B(e,t,n,r){let u=[];if((0,c.i)(e)||"number"==typeof e||"string"==typeof e&&!y(t))u.push((0,W.D)(e,y(t)&&t.default||t,n&&n.default||n));else{let a=h(e,t,r),l=a.length;(0,p.k)(!!l,"No valid elements provided.");for(let e=0;e<l;e++){let r=a[e],o=r instanceof Element?_:F;M.R.has(r)||o(r);let i=M.R.get(r),s={...n};"delay"in s&&"function"==typeof s.delay&&(s.delay=s.delay(e,l)),u.push(...(0,j.w)(i,{...t,transition:s},{}))}}return u}let P=function(e,t,n){let p=[];p=Array.isArray(e)&&Array.isArray(e[0])?function(e,t,n){let r=[];return(function(e,{defaultTransition:t={},...n}={},r,u){let a=t.duration||.3,p=new Map,y=new Map,k={},M=new Map,j=0,O=0,N=0;for(let n=0;n<e.length;n++){let f=e[n];if("string"==typeof f){M.set(f,O);continue}if(!Array.isArray(f)){M.set(f.name,g(O,f.at,j,M));continue}let[p,x,R={}]=f;void 0!==R.at&&(O=g(O,R.at,j,M));let C=0,I=(e,n,r,f=0,c=0)=>{let p=Array.isArray(e)?e:[e],{delay:y=0,times:h=(0,i.Y)(p),type:g="keyframes",...x}=n,{ease:S=t.ease||"easeOut",duration:w}=n,k="function"==typeof y?y(f,c):y,M=p.length,j=(0,d.x)(g)?g:null==u?void 0:u[g];if(M<=2&&j){let e=100;2===M&&E(p)&&(e=Math.abs(p[1]-p[0]));let t={...x};void 0!==w&&(t.duration=(0,o.w)(w));let n=function(e,t=100,n){let r=n({...e,keyframes:[0,t]}),u=Math.min((0,l.i)(r),l.E);return{type:"keyframes",ease:e=>r.next(u*e).value/t,duration:(0,o.X)(u)}}(t,e,j);S=n.ease,w=n.duration}null!=w||(w=a);let R=O+k,I=R+w;1===h.length&&0===h[0]&&(h[1]=1);let V=h.length-p.length;V>0&&(0,s.c)(h,V),1===p.length&&p.unshift(null),function(e,t,n,r,u,a){!function(e,t,n){for(let r=0;r<e.length;r++){let u=e[r];u.at>t&&u.at<n&&((0,A.cl)(e,u),r--)}}(e,u,a);for(let o=0;o<t.length;o++){var l;e.push({value:t[o],at:(0,b.t)(u,a,r[o]),easing:(l=o,(0,v.N)(n)?n[m(0,n.length,l)]:n)})}}(r,p,S,h,R,I),C=Math.max(k+w,C),N=Math.max(I,N)};if((0,c.i)(p))I(x,R,w("default",S(p,y)));else{let e=h(p,x,r,k),t=e.length;for(let n=0;n<t;n++){let r=S(e[n],y);for(let e in x)I(x[e],R&&R[e]?{...R,...R[e]}:{...R},w(e,r),n,t)}}j=O,O+=C}return y.forEach((e,r)=>{for(let u in e){let a=e[u];a.sort(x);let l=[],o=[],i=[];for(let e=0;e<a.length;e++){let{at:t,value:n,easing:r}=a[e];l.push(n),o.push((0,f.Y)(0,N,t)),i.push(r||"easeOut")}0!==o[0]&&(o.unshift(0),l.unshift(l[0]),i.unshift("easeInOut")),1!==o[o.length-1]&&(o.push(1),l.push(null)),p.has(r)||p.set(r,{keyframes:{},transition:{}});let s=p.get(r);s.keyframes[u]=l,s.transition[u]={...t,duration:N,ease:i,times:o,...n}}}),p})(e,t,n,{spring:a.S}).forEach(({keyframes:e,transition:t},n)=>{r.push(...B(n,e,t))}),r}(e,t,void 0):B(e,t,n,r);let y=new u.s(p);return r&&r.animations.push(y),y}},45282:function(e,t,n){n.d(t,{c:function(){return o}});var r=n(2265),u=n(20804),a=n(29791),l=n(30458);function o(e){let t=(0,l.h)(()=>(0,u.BX)(e)),{isStatic:n}=(0,r.useContext)(a._);if(n){let[,n]=(0,r.useState)(e);(0,r.useEffect)(()=>t.on("change",n),[])}return t}},80847:function(e,t,n){n.d(t,{H:function(){return p}});var r=n(42548);let u=e=>e&&"object"==typeof e&&e.mix,a=e=>u(e)?e.mix:void 0;var l=n(45282),o=n(9033),i=n(86219);function s(e,t){let n=(0,l.c)(t()),r=()=>n.set(t());return r(),(0,o.L)(()=>{let t=()=>i.Wi.preRender(r,!1,!0),n=e.map(e=>e.on("change",t));return()=>{n.forEach(e=>e()),(0,i.Pn)(r)}}),n}var f=n(30458),c=n(20804);function p(e,t,n,u){if("function"==typeof e)return function(e){c.S1.current=[],e();let t=s(c.S1.current,e);return c.S1.current=void 0,t}(e);let l="function"==typeof t?t:function(...e){let t=!Array.isArray(e[0]),n=t?0:-1,u=e[0+n],l=e[1+n],o=e[2+n],i=e[3+n],s=(0,r.s)(l,o,{mixer:a(o[0]),...i});return t?s(u):s}(t,n,u);return Array.isArray(e)?y(e,l):y([e],([e])=>l(e))}function y(e,t){let n=(0,f.h)(()=>[]);return s(e,()=>{n.length=0;let r=e.length;for(let t=0;t<r;t++)n[t]=e[t].get();return t(n)})}}}]);