PageSourceSearch

https://www.emprisebank.com/6320-e19e4d180b280fd4ccae.js

js emprisebank.com collected 2026-10-02 04:14:20 UTC 43,770 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunkmbb_gatsby_content=self.webpackChunkmbb_gatsby_content||[]).push([[6320],{6320:function(t,e,n){n.r(e),n.d(e,{default:function(){return gr}});var r=n(1635),o=n(6540),i=n(5490),a=n(6719),u=n(8601),s=0,l=function(){return s++};function c(){var t=(0,o.useContext)(a.t);if(null===t)return[!0,null];var e=t.isPresent,n=t.onExitComplete,r=t.register,i=(0,u.M)(l);(0,o.useEffect)(function(){return r(i)},[]);return!e&&n?[!1,function(){return null==n?void 0:n(i)}]:[!0]}var f=n(1712);function d(t,e){if(!Array.isArray(e))return!1;var n=e.length;if(n!==t.length)return!1;for(var r=0;r<n;r++)if(e[r]!==t[r])return!1;return!0}var p=n(3e3);const v=(t,e,n)=>Math.min(Math.max(n,t),e),m=.001;function h({duration:t=800,bounce:e=.25,velocity:n=0,mass:r=1}){let o,i;(0,p.$)(t<=1e4,"Spring duration must be 10 seconds or less");let a=1-e;a=v(.05,1,a),t=v(.01,10,t/1e3),a<1?(o=e=>{const r=e*a,o=r*t,i=r-n,u=g(e,a),s=Math.exp(-o);return m-i/u*s},i=e=>{const r=e*a*t,i=r*n+n,u=Math.pow(a,2)*Math.pow(e,2)*t,s=Math.exp(-r),l=g(Math.pow(e,2),a);return(-o(e)+m>0?-1:1)*((i-u)*s)/l}):(o=e=>Math.exp(-e*t)*((e-n)*t+1)-.001,i=e=>Math.exp(-e*t)*(t*t*(n-e)));const u=function(t,e,n){let r=n;for(let o=1;o<y;o++)r-=t(r)/e(r);return r}(o,i,5/t);if(t*=1e3,isNaN(u))return{stiffness:100,damping:10,duration:t};{const e=Math.pow(u,2)*r;return{stiffness:e,damping:2*a*Math.sqrt(r*e),duration:t}}}const y=12;function g(t,e){return t*Math.sqrt(1-e*e)}const b=["duration","bounce"],w=["stiffness","damping","mass"];function C(t,e){return e.some(e=>void 0!==t[e])}function V(t){var{from:e=0,to:n=1,restSpeed:o=2,restDelta:i}=t,a=(0,r.Tt)(t,["from","to","restSpeed","restDelta"]);const u={done:!1,value:e};let{stiffness:s,damping:l,mass:c,velocity:f,duration:d,isResolvedFromDuration:p}=function(t){let e=Object.assign({velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1},t);if(!C(t,w)&&C(t,b)){const n=h(t);e=Object.assign(Object.assign(Object.assign({},e),n),{velocity:0,mass:1}),e.isResolvedFromDuration=!0}return e}(a),v=A,m=A;function y(){const t=f?-f/1e3:0,r=n-e,o=l/(2*Math.sqrt(s*c)),a=Math.sqrt(s/c)/1e3;if(void 0===i&&(i=Math.min(Math.abs(n-e)/100,.4)),o<1){const e=g(a,o);v=i=>{const u=Math.exp(-o*a*i);return n-u*((t+o*a*r)/e*Math.sin(e*i)+r*Math.cos(e*i))},m=n=>{const i=Math.exp(-o*a*n);return o*a*i*(Math.sin(e*n)*(t+o*a*r)/e+r*Math.cos(e*n))-i*(Math.cos(e*n)*(t+o*a*r)-e*r*Math.sin(e*n))}}else if(1===o)v=e=>n-Math.exp(-a*e)*(r+(t+a*r)*e);else{const e=a*Math.sqrt(o*o-1);v=i=>{const u=Math.exp(-o*a*i),s=Math.min(e*i,300);return n-u*((t+o*a*r)*Math.sinh(s)+e*r*Math.cosh(s))/e}}}return y(),{next:t=>{const e=v(t);if(p)u.done=t>=d;else{const r=1e3*m(t),a=Math.abs(r)<=o,s=Math.abs(n-e)<=i;u.done=a&&s}return u.value=u.done?n:e,u},flipTarget:()=>{f=-f,[e,n]=[n,e],y()}}}V.needsInterpolation=(t,e)=>"string"==typeof t||"string"==typeof e;const A=t=>0,S=(t,e,n)=>{const r=e-t;return 0===r?1:(n-t)/r},T=(t,e,n)=>-n*t+n*e+t;var x=n(6273),E=n(4941);const M=(t,e)=>n=>Boolean((0,E.Kg)(n)&&E.Fl.test(n)&&n.startsWith(t)||e&&Object.prototype.hasOwnProperty.call(n,e)),O=(t,e,n)=>r=>{if(!(0,E.Kg)(r))return r;const[o,i,a,u]=r.match(E.SY);return{[t]:parseFloat(o),[e]:parseFloat(i),[n]:parseFloat(a),alpha:void 0!==u?parseFloat(u):1}},I=(0,E.qE)(0,255),P=Object.assign(Object.assign({},x.ai),{transform:t=>Math.round(I(t))}),k={test:M("rgb","red"),parse:O("red","green","blue"),transform:({red:t,green:e,blue:n,alpha:r=1})=>"rgba("+P.transform(t)+", "+P.transform(e)+", "+P.transform(n)+", "+(0,E.aj)(x.X4.transform(r))+")"};const F={test:M("#"),parse:function(t){let e="",n="",r="",o="";return t.length>5?(e=t.substr(1,2),n=t.substr(3,2),r=t.substr(5,2),o=t.substr(7,2)):(e=t.substr(1,1),n=t.substr(2,1),r=t.substr(3,1),o=t.substr(4,1),e+=e,n+=n,r+=r,o+=o),{red:parseInt(e,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:o?parseInt(o,16)/255:1}},transform:k.transform};var R=n(2008);const j={test:M("hsl","hue"),parse:O("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:n,alpha:r=1})=>"hsla("+Math.round(t)+", "+R.KN.transform((0,E.aj)(e))+", "+R.KN.transform((0,E.aj)(n))+", "+(0,E.aj)(x.X4.transform(r))+")"};function D(t,e,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?t+6*(e-t)*n:n<.5?e:n<2/3?t+(e-t)*(2/3-n)*6:t}function B({hue:t,saturation:e,lightness:n,alpha:r}){t/=360,n/=100;let o=0,i=0,a=0;if(e/=100){const r=n<.5?n*(1+e):n+e-n*e,u=2*n-r;o=D(u,r,t+1/3),i=D(u,r,t),a=D(u,r,t-1/3)}else o=i=a=n;return{red:Math.round(255*o),green:Math.round(255*i),blue:Math.round(255*a),alpha:r}}const N=(t,e,n)=>{const r=t*t,o=e*e;return Math.sqrt(Math.max(0,n*(o-r)+r))},U=[F,k,j],z=t=>U.find(e=>e.test(t)),L=t=>`'${t}' is not an animatable color. Use the equivalent color code instead.`,K=(t,e)=>{let n=z(t),r=z(e);(0,p.V)(!!n,L(t)),(0,p.V)(!!r,L(e));let o=n.parse(t),i=r.parse(e);n===j&&(o=B(o),n=k),r===j&&(i=B(i),r=k);const a=Object.assign({},o);return t=>{for(const e in a)"alpha"!==e&&(a[e]=N(o[e],i[e],t));
1return a.alpha=T(o.alpha,i.alpha,t),n.transform(a)}},Y={test:t=>k.test(t)||F.test(t)||j.test(t),parse:t=>k.test(t)?k.parse(t):j.test(t)?j.parse(t):F.parse(t),transform:t=>(0,E.Kg)(t)?t:t.hasOwnProperty("red")?k.transform(t):j.transform(t)},$="${c}",q="${n}";function H(t){"number"==typeof t&&(t=`${t}`);const e=[];let n=0;const r=t.match(E.ne);r&&(n=r.length,t=t.replace(E.ne,$),e.push(...r.map(Y.parse)));const o=t.match(E.SY);return o&&(t=t.replace(E.SY,q),e.push(...o.map(x.ai.parse))),{values:e,numColors:n,tokenised:t}}function X(t){return H(t).values}function W(t){const{values:e,numColors:n,tokenised:r}=H(t),o=e.length;return t=>{let e=r;for(let r=0;r<o;r++)e=e.replace(r<n?$:q,r<n?Y.transform(t[r]):(0,E.aj)(t[r]));return e}}const _=t=>"number"==typeof t?0:t;const G={test:function(t){var e,n,r,o;return isNaN(t)&&(0,E.Kg)(t)&&(null!==(n=null===(e=t.match(E.SY))||void 0===e?void 0:e.length)&&void 0!==n?n:0)+(null!==(o=null===(r=t.match(E.ne))||void 0===r?void 0:r.length)&&void 0!==o?o:0)>0},parse:X,createTransformer:W,getAnimatableNone:function(t){const e=X(t);return W(t)(e.map(_))}},Z=(t,e)=>n=>e(t(n)),J=(...t)=>t.reduce(Z);function Q(t,e){return"number"==typeof t?n=>T(t,e,n):Y.test(t)?K(t,e):rt(t,e)}const tt=(t,e)=>{const n=[...t],r=n.length,o=t.map((t,n)=>Q(t,e[n]));return t=>{for(let e=0;e<r;e++)n[e]=o[e](t);return n}},et=(t,e)=>{const n=Object.assign(Object.assign({},t),e),r={};for(const o in n)void 0!==t[o]&&void 0!==e[o]&&(r[o]=Q(t[o],e[o]));return t=>{for(const e in r)n[e]=r[e](t);return n}};function nt(t){const e=G.parse(t),n=e.length;let r=0,o=0,i=0;for(let a=0;a<n;a++)r||"number"==typeof e[a]?r++:void 0!==e[a].hue?i++:o++;return{parsed:e,numNumbers:r,numRGB:o,numHSL:i}}const rt=(t,e)=>{const n=G.createTransformer(e),r=nt(t),o=nt(e);return r.numHSL===o.numHSL&&r.numRGB===o.numRGB&&r.numNumbers>=o.numNumbers?J(tt(r.parsed,o.parsed),n):((0,p.$)(!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.`),n=>`${n>0?e:t}`)},ot=(t,e)=>n=>T(t,e,n);function it(t,e,n){const r=[],o=n||("number"==typeof(i=t[0])?ot:"string"==typeof i?Y.test(i)?K:rt:Array.isArray(i)?tt:"object"==typeof i?et:void 0);var i;const a=t.length-1;for(let u=0;u<a;u++){let n=o(t[u],t[u+1]);if(e){const t=Array.isArray(e)?e[u]:e;n=J(t,n)}r.push(n)}return r}function at(t,e,{clamp:n=!0,ease:r,mixer:o}={}){const i=t.length;(0,p.V)(i===e.length,"Both input and output ranges must be the same length"),(0,p.V)(!r||!Array.isArray(r)||r.length===i-1,"Array of easing functions must be of length `input.length - 1`, as it applies to the transitions **between** the defined values."),t[0]>t[i-1]&&(t=[].concat(t),e=[].concat(e),t.reverse(),e.reverse());const a=it(e,r,o),u=2===i?function([t,e],[n]){return r=>n(S(t,e,r))}(t,a):function(t,e){const n=t.length,r=n-1;return o=>{let i=0,a=!1;if(o<=t[0]?a=!0:o>=t[r]&&(i=r-1,a=!0),!a){let e=1;for(;e<n&&!(t[e]>o||e===r);e++);i=e-1}const u=S(t[i],t[i+1],o);return e[i](u)}}(t,a);return n?e=>u(v(t[0],t[i-1],e)):u}const ut=t=>e=>1-t(1-e),st=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2,lt=t=>e=>e*e*((t+1)*e-t),ct=4/11,ft=8/11,dt=t=>t,pt=(vt=2,t=>Math.pow(t,vt));var vt;const mt=ut(pt),ht=st(pt),yt=t=>1-Math.sin(Math.acos(t)),gt=ut(yt),bt=st(gt),wt=lt(1.525),Ct=ut(wt),Vt=st(wt),At=(t=>{const e=lt(t);return t=>(t*=2)<1?.5*e(t):.5*(2-Math.pow(2,-10*(t-1)))})(1.525),St=4356/361,Tt=35442/1805,xt=16061/1805,Et=t=>{if(1===t||0===t)return t;const e=t*t;return t<ct?7.5625*e:t<ft?9.075*e-9.9*t+3.4:t<.9?St*e-Tt*t+xt:10.8*t*t-20.52*t+10.72},Mt=ut(Et);function Ot(t,e){return t.map(()=>e||ht).splice(0,t.length-1)}function It({from:t=0,to:e=1,ease:n,offset:r,duration:o=300}){const i={done:!1,value:t},a=Array.isArray(e)?e:[t,e],u=function(t,e){return t.map(t=>t*e)}(r&&r.length===a.length?r:function(t){const e=t.length;return t.map((t,n)=>0!==n?n/(e-1):0)}(a),o);function s(){return at(u,a,{ease:Array.isArray(n)?n:Ot(a,n)})}let l=s();return{next:t=>(i.value=l(t),i.done=t>=o,i),flipTarget:()=>{a.reverse(),l=s()}}}const Pt={keyframes:It,spring:V,decay:function({velocity:t=0,from:e=0,power:n=.8,timeConstant:r=350,restDelta:o=.5,modifyTarget:i}){const a={done:!1,value:e};let u=n*t;const s=e+u,l=void 0===i?s:i(s);return l!==s&&(u=l-e),{next:t=>{const e=-u*Math.exp(-t/r);return a.done=!(e>o||e<-o),a.value=a.done?l:l+e,a},flipTarget:()=>{}}}};const kt=1/60*1e3,Ft="undefined"!=typeof performance?()=>performance.now():()=>Date.now(),Rt="undefined"!=typeof window?t=>window.requestAnimationFrame(t):t=>setTimeout(()=>
1t(Ft()),kt);let jt=!0,Dt=!1,Bt=!1;const Nt={delta:0,timestamp:0},Ut=["read","update","preRender","render","postRender"],zt=Ut.reduce((t,e)=>(t[e]=function(t){let e=[],n=[],r=0,o=!1,i=!1;const a=new WeakSet,u={schedule:(t,i=!1,u=!1)=>{const s=u&&o,l=s?e:n;return i&&a.add(t),-1===l.indexOf(t)&&(l.push(t),s&&o&&(r=e.length)),t},cancel:t=>{const e=n.indexOf(t);-1!==e&&n.splice(e,1),a.delete(t)},process:s=>{if(o)i=!0;else{if(o=!0,[e,n]=[n,e],n.length=0,r=e.length,r)for(let n=0;n<r;n++){const r=e[n];r(s),a.has(r)&&(u.schedule(r),t())}o=!1,i&&(i=!1,u.process(s))}}};return u}(()=>Dt=!0),t),{}),Lt=Ut.reduce((t,e)=>{const n=zt[e];return t[e]=(t,e=!1,r=!1)=>(Dt||qt(),n.schedule(t,e,r)),t},{}),Kt=Ut.reduce((t,e)=>(t[e]=zt[e].cancel,t),{}),Yt=(Ut.reduce((t,e)=>(t[e]=()=>zt[e].process(Nt),t),{}),t=>zt[t].process(Nt)),$t=t=>{Dt=!1,Nt.delta=jt?kt:Math.max(Math.min(t-Nt.timestamp,40),1),Nt.timestamp=t,Bt=!0,Ut.forEach(Yt),Bt=!1,Dt&&(jt=!1,Rt($t))},qt=()=>{Dt=!0,jt=!0,Bt||Rt($t)},Ht=()=>Nt;var Xt=Lt;function Wt(t,e,n=0){return t-e-n}const _t=t=>{const e=({delta:e})=>t(e);return{start:()=>Xt.update(e,!0),stop:()=>Kt.update(e)}};function Gt(t){var e,n,{from:o,autoplay:i=!0,driver:a=_t,elapsed:u=0,repeat:s=0,repeatType:l="loop",repeatDelay:c=0,onPlay:f,onStop:d,onComplete:p,onRepeat:v,onUpdate:m}=t,h=(0,r.Tt)(t,["from","autoplay","driver","elapsed","repeat","repeatType","repeatDelay","onPlay","onStop","onComplete","onRepeat","onUpdate"]);let y,g,b,{to:w}=h,C=0,A=h.duration,S=!1,T=!0;const x=function(t){if(Array.isArray(t.to))return It;if(Pt[t.type])return Pt[t.type];const e=new Set(Object.keys(t));return e.has("ease")||e.has("duration")&&!e.has("dampingRatio")?It:e.has("dampingRatio")||e.has("stiffness")||e.has("mass")||e.has("damping")||e.has("restSpeed")||e.has("restDelta")?V:It}(h);(null===(n=(e=x).needsInterpolation)||void 0===n?void 0:n.call(e,o,w))&&(b=at([0,100],[o,w],{clamp:!1}),o=0,w=100);const E=x(Object.assign(Object.assign({},h),{from:o,to:w}));function M(){C++,"reverse"===l?(T=C%2==0,u=function(t,e,n=0,r=!0){return r?Wt(e+-t,e,n):e-(t-e)+n}(u,A,c,T)):(u=Wt(u,A,c),"mirror"===l&&E.flipTarget()),S=!1,v&&v()}function O(t){if(T||(t=-t),u+=t,!S){const t=E.next(Math.max(0,u));g=t.value,b&&(g=b(g)),S=T?t.done:u<=0}null==m||m(g),S&&(0===C&&(null!=A||(A=u)),C<s?function(t,e,n,r){return r?t>=e+n:t<=-n}(u,A,c,T)&&M():(y.stop(),p&&p()))}return i&&(null==f||f(),y=a(O),y.start()),{stop:()=>{null==d||d(),y.stop()}}}function Zt(t,e){return e?t*(1e3/e):0}var Jt=function(t){return 1e3*t};const Qt=(t,e)=>1-3*e+3*t,te=(t,e)=>3*e-6*t,ee=t=>3*t,ne=(t,e,n)=>((Qt(e,n)*t+te(e,n))*t+ee(e))*t,re=(t,e,n)=>3*Qt(e,n)*t*t+2*te(e,n)*t+ee(e);const oe=.1;function ie(t,e,n,r){if(t===e&&n===r)return dt;const o=new Float32Array(11);for(let a=0;a<11;++a)o[a]=ne(a*oe,t,n);function i(e){let r=0,i=1;for(;10!==i&&o[i]<=e;++i)r+=oe;--i;const a=r+(e-o[i])/(o[i+1]-o[i])*oe,u=re(a,t,n);return u>=.001?function(t,e,n,r){for(let o=0;o<8;++o){const o=re(e,n,r);if(0===o)return e;e-=(ne(e,n,r)-t)/o}return e}(e,a,t,n):0===u?a:function(t,e,n,r,o){let i,a,u=0;do{a=e+(n-e)/2,i=ne(a,r,o)-t,i>0?n=a:e=a}while(Math.abs(i)>1e-7&&++u<10);return a}(e,r,r+oe,t,n)}return t=>0===t||1===t?t:ne(i(t),e,r)}var ae={linear:dt,easeIn:pt,easeInOut:ht,easeOut:mt,circIn:yt,circInOut:bt,circOut:gt,backIn:wt,backInOut:Vt,backOut:Ct,anticipate:At,bounceIn:Mt,bounceInOut:t=>t<.5?.5*(1-Et(1-2*t)):.5*Et(2*t-1)+.5,bounceOut:Et},ue=function(t){if(Array.isArray(t)){(0,p.V)(4===t.length,"Cubic bezier arrays must contain four numerical values.");var e=(0,r.zs)(t,4);return ie(e[0],e[1],e[2],e[3])}return"string"==typeof t?((0,p.V)(void 0!==ae[t],"Invalid easing type '".concat(t,"'")),ae[t]):t},se=function(t,e){return"zIndex"!==t&&(!("number"!=typeof e&&!Array.isArray(e))||!("string"!=typeof e||!G.test(e)||e.startsWith("url(")))},le=function(){return{type:"spring",stiffness:500,damping:25,restSpeed:10}},ce=function(t){return{type:"spring",stiffness:550,damping:0===t?2*Math.sqrt(550):30,restSpeed:10}},fe=function(){return{type:"keyframes",ease:"linear",duration:.3}},de=function(t){return{type:"keyframes",duration:.8,values:t}},pe={x:le,y:le,z:le,rotate:le,rotateX:le,rotateY:le,rotateZ:le,scaleX:ce,scaleY:ce,scale:ce,opacity:fe,backgroundColor:fe,color:fe,default:ce};const ve=new Set(["brightness","contrast","saturate","opacity"]);function me(t){let[e,n]=t.slice(0,-1).split("(");if("drop-shadow"===e)return t;const[r]=n.match(E.SY)||[];if(!r)return t;const o=n.replace(r,"");let i=ve.has(e)?1:0;return r!==n&&(i*=100),e+"("+i+o+")"}const he=/([a-z-]*)\(.*?\)/g,ye=Object.assign(Object.assign({},G),{getAnimatableNone:t=>{const e=t.match(he);return e?e.map(me).join(" "):t}});var ge=n(3776),be=(0,r.Cl)((0,r.Cl)({},ge.W),{color:Y,backgroundColor:Y,outlineColor:Y,fill:Y,stroke:Y,borderColor:Y,borderTopColor:Y,borderRightColor:Y,borderBottomColor:Y,borderLeftColor:Y,filter:ye,WebkitFilter:ye}),we=function(t){return be[t]};function Ce(t,e){var n,r=we(t);return r!==ye&&(r=G),null===(n=r.getAnimatableNone)||void 0===n?void 0:n.call(r,e)}var Ve=!1,Ae=n(7365);var Se=!1;function Te(t){var e=t.ease,n=t.times,o=t.yoyo,i=t.flip,a=t.loop,u=(0,r.Tt)(t,["ease","times","yoyo","flip","loop"]),s=(0,r.Cl)({},u);return n&&(s.offset=n),u.duration&&(s.duration=Jt(u.duration)),u.repeatDelay&&(s.repeatDelay=Jt(u.repeatDelay)),e&&(s.ease=function(t){return Array.isArray(t)&&"number"!=typeof t[0]}(e)?e.map(ue):ue(e)),"tween"===u.type&&(s.type="keyframes"),(o||a||i)&&((0,p.$)(!Se,"yoyo, loop and flip have been removed from the API. Replace with repeat and repeatType options."),Se=!0,o?s.repeatType="reverse":a?s.repeatType="loop":i&&(s.repeatType="mirror"),s.repeat=a||o||i||u.repeat),"spring"!==u.type&&(s.type="keyframes"),s}function xe(t,e,n){var o,i,a,u;return Array.isArray(e.to)&&(null!==(o=t.duration)&&void 0!==o||(t.duration=.8)),function(t){Array.isArray(t.to)&&null===t.to[0]&&(t.to=(0,r.fX)([],(0,r.zs)(t.to),!1),t.to[0]=t.from)}(e),function(t){t.when,t.delay,t.delayChildren,t.staggerChildren,t.staggerDirection,t.repeat,t.repeatType,t.repeatDelay,t.from;var e=(0,r.Tt)(t,["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from"]);return!!Object.keys(e).length}(t)||(t=(0,r.Cl)((0,r.Cl)({},t),(i=n,a=e.to,u=(0,f.p)(a)?de:pe[i]||pe.default,(0,r.Cl)({to:a},u(a))))),(0,r.Cl)((0,r.Cl)({},e),Te(t))}function Ee(t,e,n,o,i){var a,u=Ie(o,t),s=null!==(a=u.from)&&void 0!==a?a:e.get(),l=se(t,n);"none"===s&&l&&"string"==typeof n?s=Ce(t,n):Me(s)&&"string"==typeof n?s=Oe(n):!Array.isArray(n)&&Me(n)&&"string"==typeof s&&(n=Oe(s));var c=se(t,s);return(0,p.$)(c===l,"You are trying to animate ".concat(t,' from "').concat(s,'" to "').concat(n,'". ').concat(s," is not an animatable value - to enable this animation set ").concat(s," to a value animatable to ").concat(n," via the `style` property.")),c&&l&&!1!==u.type?function(){var o={from:s,to:n,velocity:e.getVelocity(),onComplete:i,onUpdate:function(t){return e.set(t)}};return"inertia"===u.type||"decay"===u.type?function({from:t=0,velocity:e=0,min:n,max:r,power:o=.8,timeConstant:i=750,bounceStiffness:a=
1500,bounceDamping:u=10,restDelta:s=1,modifyTarget:l,driver:c,onUpdate:f,onComplete:d,onStop:p}){let v;function m(t){return void 0!==n&&t<n||void 0!==r&&t>r}function h(t){return void 0===n?r:void 0===r||Math.abs(n-t)<Math.abs(r-t)?n:r}function y(t){null==v||v.stop(),v=Gt(Object.assign(Object.assign({},t),{driver:c,onUpdate:e=>{var n;null==f||f(e),null===(n=t.onUpdate)||void 0===n||n.call(t,e)},onComplete:d,onStop:p}))}function g(t){y(Object.assign({type:"spring",stiffness:a,damping:u,restDelta:s},t))}if(m(t))g({from:t,velocity:e,to:h(t)});else{let r=o*e+t;void 0!==l&&(r=l(r));const a=h(r),u=a===n?-1:1;let c,f;const d=t=>{c=f,f=t,e=Zt(t-c,Ht().delta),(1===u&&t>a||-1===u&&t<a)&&g({from:t,to:a,velocity:e})};y({type:"decay",from:t,velocity:e,timeConstant:i,power:o,restDelta:s,modifyTarget:l,onUpdate:m(r)?d:void 0})}return{stop:()=>null==v?void 0:v.stop()}}((0,r.Cl)((0,r.Cl)({},o),u)):Gt((0,r.Cl)((0,r.Cl)({},xe(u,o,t)),{onUpdate:function(t){var e;o.onUpdate(t),null===(e=u.onUpdate)||void 0===e||e.call(u,t)},onComplete:function(){var t;o.onComplete(),null===(t=u.onComplete)||void 0===t||t.call(u)}}))}:function(){var t,r,o=(0,Ae.K)(n);return e.set(o),i(),null===(t=null==u?void 0:u.onUpdate)||void 0===t||t.call(u,o),null===(r=null==u?void 0:u.onComplete)||void 0===r||r.call(u),{stop:function(){}}}}function Me(t){return 0===t||"string"==typeof t&&0===parseFloat(t)&&-1===t.indexOf(" ")}function Oe(t){return"number"==typeof t?0:Ce("",t)}function Ie(t,e){return t[e]||t.default||t}function Pe(t,e,n,r){return void 0===r&&(r={}),Ve&&(r={type:!1}),e.start(function(o){var i,a,u=Ee(t,e,n,r,o),s=function(t,e){var n,r;return null!==(r=null!==(n=(Ie(t,e)||{}).delay)&&void 0!==n?n:t.delay)&&void 0!==r?r:0}(r,t),l=function(){return a=u()};return s?i=window.setTimeout(l,Jt(s)):l(),function(){clearTimeout(i),null==a||a.stop()}})}var ke=function(t){return/^\-?\d*\.?\d+$/.test(t)},Fe=function(t){return/^0[^.\s]+$/.test(t)};var Re=function(){function t(){this.subscriptions=[]}return t.prototype.add=function(t){var e,n,r=this;return e=this.subscriptions,n=t,-1===e.indexOf(n)&&e.push(n),function(){return function(t,e){var n=t.indexOf(e);n>-1&&t.splice(n,1)}(r.subscriptions,t)}},t.prototype.notify=function(t,e,n){var r=this.subscriptions.length;if(r)if(1===r)this.subscriptions[0](t,e,n);else for(var o=0;o<r;o++){var i=this.subscriptions[o];i&&i(t,e,n)}},t.prototype.getSize=function(){return this.subscriptions.length},t.prototype.clear=function(){this.subscriptions.length=0},t}(),je=function(){function t(t){var e,n=this;this.version="6.5.1",this.timeDelta=0,this.lastUpdated=0,this.updateSubscribers=new Re,this.velocityUpdateSubscribers=new Re,this.renderSubscribers=new Re,this.canTrackVelocity=!1,this.updateAndNotify=function(t,e){void 0===e&&(e=!0),n.prev=n.current,n.current=t;var r=Ht(),o=r.delta,i=r.timestamp;n.lastUpdated!==i&&(n.timeDelta=o,n.lastUpdated=i,Xt.postRender(n.scheduleVelocityCheck)),n.prev!==n.current&&n.updateSubscribers.notify(n.current),n.velocityUpdateSubscribers.getSize()&&n.velocityUpdateSubscribers.notify(n.getVelocity()),e&&n.renderSubscribers.notify(n.current)},this.scheduleVelocityCheck=function(){return Xt.postRender(n.velocityCheck)},this.velocityCheck=function(t){t.timestamp!==n.lastUpdated&&(n.prev=n.current,n.velocityUpdateSubscribers.notify(n.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=t,this.canTrackVelocity=(e=this.current,!isNaN(parseFloat(e)))}return t.prototype.onChange=function(t){return this.updateSubscribers.add(t)},t.prototype.clearListeners=function(){this.updateSubscribers.clear()},t.prototype.onRenderRequest=function(t){return t(this.get()),this.renderSubscribers.add(t)},t.prototype.attach=function(t){this.passiveEffect=t},t.prototype.set=function(t,e){void 0===e&&(e=!0),e&&this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t,e)},t.prototype.get=function(){return this.current},t.prototype.getPrevious=function(){return this.prev},t.prototype.getVelocity=function(){return this.canTrackVelocity?Zt(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0},t.prototype.start=function(t){var e=this;return this.stop(),new Promise(function(n){e.hasAnimated=!0,e.stopAnimation=t(n)}).then(function(){return e.clearAnimation()})},t.prototype.stop=function(){this.stopAnimation&&this.stopAnimation(),this.clearAnimation()},t.prototype.isAnimating=function(){return!!this.stopAnimation},t.prototype.clearAnimation=function(){this.stopAnimation=null},t.prototype.destroy=function(){this.updateSubscribers.clear(),this.renderSubscribers.clear(),this.stop()},t}();function De(t){return new je(t)}var Be=function(t){return function(e){return e.test(t)}},Ne=[x.ai,R.px,R.KN,R.uj,R.vw,R.vh,{test:function(t){return"auto"===t},parse:function(t){return t}}],Ue=function(t){return Ne.find(Be(t))},ze=(0,r.fX)((0,r.fX)([],(0,r.zs)(Ne),!1),[Y,G],!1),Le=function(t){return ze.find(Be(t))},Ke=n(1552);function Ye(t,e,n){t.hasValue(e)?t.getValue(e).set(n):t.addValue(e,De(n))}function $e(t,e){var n=(0,Ke.KC)(t,e),o=n?t.makeTargetAnimatable(n,!1):{},i=o.transitionEnd,a=void 0===i?{}:i;o.transition;var u=(0,r.Tt)(o,["transitionEnd","transition"]);for(var s in u=(0,r.Cl)((0,r.Cl)({},u),a)){Ye(t,s,(0,Ae.K)(u[s]))}}function qe(t,e){if(e)return(e[t]||e.default||e).from}var He,Xe=n(2200);function We(t,e,n){var o;void 0===n&&(n={});var i=(0,Ke.KC)(t,e,n.custom),a=(i||{}).transition,u=void 0===a?t.getDefaultTransition()||{}:a;n.transitionOverride&&(u=n.transitionOverride);var s=i?function(){return _e(t,i,n)}:function(){return Promise.resolve()},l=(null===(o=t.variantChildren)||void 0===o?void 0:o.size)?function(o){void 0===o&&(o=0);var i=u.delayChildren,a=void 0===i?0:i,s=u.staggerChildren,l=u.staggerDirection;return function(t,e,n,o,i,a){void 0===n&&(n=0);void 0===o&&(o=0);void 0===i&&(i=1);var u=[],s=(t.variantChildren.size-1)*o,l=1===i?function(t){return void 0===t&&(t=0),t*o}:function(t){return void 0===t&&(t=0),s-t*o};return Array.from(t.variantChildren).sort(Ge).forEach(function(t,o){u.push(We(t,e,(0,r.Cl)((0,r.Cl)({},a),{delay:n+l(o)})).then(function(){return t.notifyAnimationComplete(e)}))}),Promise.all(u)}(t,e,a+o,s,l,n)}:function(){return Promise.resolve()},c=u.when;if(c){var f=(0,r.zs)("beforeChildren"===c?[s,l]:[l,s],2),d=f[0],p=f[1];return d().then(p)}return Promise.all([s(),l(n.delay)])}function _e(t,e,n){var o,i=void 0===n?{}:n,a=i.delay,u=void 0===a?0:a,s=i.transitionOverride,l=i.type,c=t.makeTargetAnimatable(e),f=c.transition,d=void 0===f?t.getDefaultTransition():f,p=c.transitionEnd,v=(0,r.Tt)(c,["transition","transitionEnd"]);s&&(d=s);var m=[],h=l&&(null===(o=t.animationState)||void 0===o?void 0:o.getState()[l]);for(var y in v){var g=t.getValue(y),b=v[y];if(!(!g||void 0===b||h&&Ze(h,y))){var w=(0,r.Cl)({delay:u},d);t.shouldReduceMotion&&(0,Xe.wY)(y)&&(w=(0,r.Cl)((0,r.Cl)({},w),{type:!1,delay:0}));var C=Pe(y,g,b,w);m.push(C)}}return Promise.all(m).then(function(){p&&$e(t,p)})}function Ge(t,e){return t.sortNodePosition(e)}function Ze(t,e){var n=t.protectedKeys,r=t.needsAnimating,o=n.hasOwnProperty(e)&&!0!==r[e];return r[e]=!1,o}!function(t){t.Animate="animate",t.Hover="whileHover",t.Tap="whileTap",t.Drag="whileDrag",t.Focus="whileFocus",t.InView="whileInView",t.Exit="exit"}(He||(He={}));var Je=[He.Animate,He.InView,He.Focus,He.Hover,He.Tap,He.Drag,He.Exit],Qe=(0,r.fX)([],(0,r.zs)(Je),!1).reverse(),tn=Je.length;function en(t){return function(e){return Promise.all(e.map(function(e){var n=e.animation,r=e.options;return function(t,e,n){var r;if(void 0===n&&(n={}),t.notifyAnimationStart(e),Array.isArray(e)){var o=e.map(function(e){return We(t,e,n)});r=Promise.all(o)}else if("string"==typeof e)r=We(t,e,n);else{var i="function"==typeof e?(0,Ke.KC)(t,e,n.custom):e;r=_e(t,i,n)}return r.then(function(){return t.notifyAnimationComplete(e)})}(t,n,r)}))}}function nn(t){var e,n=en(t),o=((e={})[He.Animate]=rn(!0),e[He.InView]=rn(),e[He.Hover]=rn(),e[He.Tap]=rn(),e[He.Drag]=rn(),e[He.Focus]=rn(),e[He.Exit]=rn(),e),a={},u=!0,s=function(e,n){var o=(0,Ke.KC)(t,n);if(o){o.transition;var i=o.transitionEnd,a=(0,r.Tt)(o,["transition","transitionEnd"]);e=(0,r.Cl)((0,r.Cl)((0,r.Cl)({},e),a),i)}return e};function l(e,l){for(var c,p=t.getProps(),v=t.getVariantContext(!0)||{},m=[],h=new Set,y={}
1,g=1/0,b=function(n){var a=Qe[n],b=o[a],w=null!==(c=p[a])&&void 0!==c?c:v[a],C=(0,Ke.wf)(w),V=a===l?b.isActive:null;!1===V&&(g=n);var A=w===v[a]&&w!==p[a]&&C;if(A&&u&&t.manuallyAnimateOnMount&&(A=!1),b.protectedKeys=(0,r.Cl)({},y),!b.isActive&&null===V||!w&&!b.prevProp||(0,i.N)(w)||"boolean"==typeof w)return"continue";var S=function(t,e){if("string"==typeof e)return e!==t;if((0,Ke.Tp)(e))return!d(e,t);return!1}(b.prevProp,w),T=S||a===l&&b.isActive&&!A&&C||n>g&&C,x=Array.isArray(w)?w:[w],E=x.reduce(s,{});!1===V&&(E={});var M=b.prevResolvedValues,O=void 0===M?{}:M,I=(0,r.Cl)((0,r.Cl)({},O),E),P=function(t){T=!0,h.delete(t),b.needsAnimating[t]=!0};for(var k in I){var F=E[k],R=O[k];y.hasOwnProperty(k)||(F!==R?(0,f.p)(F)&&(0,f.p)(R)?!d(F,R)||S?P(k):b.protectedKeys[k]=!0:void 0!==F?P(k):h.add(k):void 0!==F&&h.has(k)?P(k):b.protectedKeys[k]=!0)}b.prevProp=w,b.prevResolvedValues=E,b.isActive&&(y=(0,r.Cl)((0,r.Cl)({},y),E)),u&&t.blockInitialAnimation&&(T=!1),T&&!A&&m.push.apply(m,(0,r.fX)([],(0,r.zs)(x.map(function(t){return{animation:t,options:(0,r.Cl)({type:a},e)}})),!1))},w=0;w<tn;w++)b(w);if(a=(0,r.Cl)({},y),h.size){var C={};h.forEach(function(e){var n=t.getBaseTarget(e);void 0!==n&&(C[e]=n)}),m.push({animation:C})}var V=Boolean(m.length);return u&&!1===p.initial&&!t.manuallyAnimateOnMount&&(V=!1),u=!1,V?n(m):Promise.resolve()}return{isAnimated:function(t){return void 0!==a[t]},animateChanges:l,setActive:function(e,n,r){var i;if(o[e].isActive===n)return Promise.resolve();null===(i=t.variantChildren)||void 0===i||i.forEach(function(t){var r;return null===(r=t.animationState)||void 0===r?void 0:r.setActive(e,n)}),o[e].isActive=n;var a=l(r,e);for(var u in o)o[u].protectedKeys={};return a},setAnimateFunction:function(e){n=e(t)},getState:function(){return o}}}function rn(t){return void 0===t&&(t=!1),{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}var on=function(t){return function(e){return t(e),null}},an={animation:on(function(t){var e=t.visualElement,n=t.animate;e.animationState||(e.animationState=nn(e)),(0,i.N)(n)&&(0,o.useEffect)(function(){return n.subscribe(e)},[n])}),exit:on(function(t){var e=t.custom,n=t.visualElement,i=(0,r.zs)(c(),2),u=i[0],s=i[1],l=(0,o.useContext)(a.t);(0,o.useEffect)(function(){var t,r;n.isPresent=u;var o=null===(t=n.animationState)||void 0===t?void 0:t.setActive(He.Exit,!u,{custom:null!==(r=null==l?void 0:l.custom)&&void 0!==r?r:e});!u&&(null==o||o.then(s))},[u])})};function un(t,e,n,r){return void 0===r&&(r={passive:!0}),t.addEventListener(e,n,r),function(){return t.removeEventListener(e,n)}}function sn(t,e,n,r){(0,o.useEffect)(function(){var o=t.current;if(n&&o)return un(o,e,n,r)},[t,e,n,r])}function ln(t){return!!t.touches}var cn={pageX:0,pageY:0};function fn(t,e){void 0===e&&(e="page");var n=t.touches[0]||t.changedTouches[0]||cn;return{x:n[e+"X"],y:n[e+"Y"]}}function dn(t,e){return void 0===e&&(e="page"),{x:t[e+"X"],y:t[e+"Y"]}}var pn=function(t,e){void 0===e&&(e=!1);var n,r=function(e){return t(e,function(t,e){return void 0===e&&(e="page"),{point:ln(t)?fn(t,e):dn(t,e)}}(e))};return e?(n=r,function(t){var e=t instanceof MouseEvent;(!e||e&&0===t.button)&&n(t)}):r},vn=n(8288),mn={pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointercancel:"mousecancel",pointerover:"mouseover",pointerout:"mouseout",pointerenter:"mouseenter",pointerleave:"mouseleave"},hn={pointerdown:"touchstart",pointermove:"touchmove",pointerup:"touchend",pointercancel:"touchcancel"};function yn(t){return vn.B&&null===window.onpointerdown?t:vn.B&&null===window.ontouchstart?hn[t]:vn.B&&null===window.onmousedown?mn[t]:t}function gn(t,e,n,r){return un(t,yn(e),pn(n,"pointerdown"===e),r)}function bn(t,e,n,r){return sn(t,yn(e),n&&pn(n,"pointerdown"===e),r)}function wn(t){var e=null;return function(){return null===e&&(e=t,function(){e=null})}}var Cn=wn("dragHorizontal"),Vn=wn("dragVertical");function An(){var t=function(t){var e=!1;if("y"===t)e=Vn();else if("x"===t)e=Cn();else{var n=Cn(),r=Vn();n&&r?e=function(){n(),r()}:(n&&n(),r&&r())}return e}(!0);return!t||(t(),!1)}function Sn(t,e,n){return function(r,o){var i;(function(t){return"undefined"!=typeof PointerEvent&&t instanceof PointerEvent?!("mouse"!==t.pointerType):t instanceof MouseEvent})(r)&&!An()&&(null===(i=t.animationState)||void 0===i||i.setActive(He.Hover,e),null==n||n(r,o))}}var Tn=function(t,e){return!!e&&(t===e||Tn(t,e.parentElement))};var xn=n(5974),En=new Set;var Mn=new WeakMap,On=new WeakMap,In=function(t){var e;null===(e=Mn.get(t.target))||void 0===e||e(t)},Pn=function(t){t.forEach(In)};function kn(t,e,n){var o=function(t){var e=t.root,n=(0,r.Tt)(t,["root"]),o=e||document;On.has(o)||On.set(o,{});var i=On.get(o),a=JSON.stringify(n);
1return i[a]||(i[a]=new IntersectionObserver(Pn,(0,r.Cl)({root:e},n))),i[a]}(e);return Mn.set(t,n),o.observe(t),function(){Mn.delete(t),o.unobserve(t)}}var Fn={some:0,all:1};function Rn(t,e,n,r){var i=r.root,a=r.margin,u=r.amount,s=void 0===u?"some":u,l=r.once;(0,o.useEffect)(function(){if(t){var r={root:null==i?void 0:i.current,rootMargin:a,threshold:"number"==typeof s?s:Fn[s]};return kn(n.getInstance(),r,function(t){var r,o=t.isIntersecting;if(e.isInView!==o&&(e.isInView=o,!l||o||!e.hasEnteredView)){o&&(e.hasEnteredView=!0),null===(r=n.animationState)||void 0===r||r.setActive(He.InView,o);var i=n.getProps(),a=o?i.onViewportEnter:i.onViewportLeave;null==a||a(t)}})}},[t,i,a,s])}function jn(t,e,n,r){var i=r.fallback,a=void 0===i||i;(0,o.useEffect)(function(){var r,o;t&&a&&("production"!==xn._&&(r="IntersectionObserver not available on this device. whileInView animations will trigger on mount.",!1||En.has(r)||(console.warn(r),o&&console.warn(o),En.add(r))),requestAnimationFrame(function(){var t;e.hasEnteredView=!0;var r=n.getProps().onViewportEnter;null==r||r(null),null===(t=n.animationState)||void 0===t||t.setActive(He.InView,!0)}))},[t])}var Dn={inView:on(function(t){var e=t.visualElement,n=t.whileInView,r=t.onViewportEnter,i=t.onViewportLeave,a=t.viewport,u=void 0===a?{}:a,s=(0,o.useRef)({hasEnteredView:!1,isInView:!1}),l=Boolean(n||r||i);u.once&&s.current.hasEnteredView&&(l=!1),("undefined"==typeof IntersectionObserver?jn:Rn)(l,s.current,e,u)}),tap:on(function(t){var e,n=t.onTap,r=t.onTapStart,i=t.onTapCancel,a=t.whileTap,u=t.visualElement,s=n||r||i||a,l=(0,o.useRef)(!1),c=(0,o.useRef)(null),f={passive:!(r||n||i||h)};function d(){var t;null===(t=c.current)||void 0===t||t.call(c),c.current=null}function p(){var t;return d(),l.current=!1,null===(t=u.animationState)||void 0===t||t.setActive(He.Tap,!1),!An()}function v(t,e){p()&&(Tn(u.getInstance(),t.target)?null==n||n(t,e):null==i||i(t,e))}function m(t,e){p()&&(null==i||i(t,e))}function h(t,e){var n;d(),l.current||(l.current=!0,c.current=J(gn(window,"pointerup",v,f),gn(window,"pointercancel",m,f)),null===(n=u.animationState)||void 0===n||n.setActive(He.Tap,!0),null==r||r(t,e))}bn(u,"pointerdown",s?h:void 0,f),e=d,(0,o.useEffect)(function(){return function(){return e()}},[])}),focus:on(function(t){var e=t.whileFocus,n=t.visualElement;sn(n,"focus",e?function(){var t;null===(t=n.animationState)||void 0===t||t.setActive(He.Focus,!0)}:void 0),sn(n,"blur",e?function(){var t;null===(t=n.animationState)||void 0===t||t.setActive(He.Focus,!1)}:void 0)}),hover:on(function(t){var e=t.onHoverStart,n=t.onHoverEnd,r=t.whileHover,o=t.visualElement;bn(o,"pointerenter",e||r?Sn(o,!0,e):void 0,{passive:!e}),bn(o,"pointerleave",n||r?Sn(o,!1,n):void 0,{passive:!n})})},Bn=n(9896),Nn=["LayoutMeasure","BeforeLayoutMeasure","LayoutUpdate","ViewportBoxUpdate","Update","Render","AnimationComplete","LayoutAnimationComplete","AnimationStart","LayoutAnimationStart","SetAxisTarget","Unmount"];var Un=function(t){var e=t.treeType,n=void 0===e?"":e,o=t.build,i=t.getBaseTarget,a=t.makeTargetAnimatable,u=t.measureViewportBox,s=t.render,l=t.readValueFromInstance,c=t.removeValueFromRenderState,f=t.sortNodePosition,d=t.scrapeMotionValuesFromProps;return function(t,e){var p=t.parent,v=t.props,m=t.presenceId,h=t.blockInitialAnimation,y=t.visualState,g=t.shouldReduceMotion;void 0===e&&(e={});var b,w,C=!1,V=y.latestValues,A=y.renderState,S=function(){var t=Nn.map(function(){return new Re}),e={},n={clearAllListeners:function(){return t.forEach(function(t){return t.clear()})},updatePropListeners:function(t){Nn.forEach(function(r){var o,i="on"+r,a=t[i];
1null===(o=e[r])||void 0===o||o.call(e),a&&(e[r]=n[i](a))})}};return t.forEach(function(t,e){n["on"+Nn[e]]=function(e){return t.add(e)},n["notify"+Nn[e]]=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return t.notify.apply(t,(0,r.fX)([],(0,r.zs)(e),!1))}}),n}(),T=new Map,x=new Map,E={},M=(0,r.Cl)({},V);function O(){b&&C&&(I(),s(b,A,v.style,N.projection))}function I(){o(N,A,V,e,v)}function P(){S.notifyUpdate(V)}function k(t,e){var n=e.onChange(function(e){V[t]=e,v.onUpdate&&Xt.update(P,!1,!0)}),r=e.onRenderRequest(N.scheduleRender);x.set(t,function(){n(),r()})}var F=d(v);for(var R in F){var j=F[R];void 0!==V[R]&&(0,Bn.S)(j)&&j.set(V[R],!1)}var D=(0,Ke.rG)(v),B=(0,Ke.F0)(v),N=(0,r.Cl)((0,r.Cl)({treeType:n,current:null,depth:p?p.depth+1:0,parent:p,children:new Set,presenceId:m,shouldReduceMotion:g,variantChildren:B?new Set:void 0,isVisible:void 0,manuallyAnimateOnMount:Boolean(null==p?void 0:p.isMounted()),blockInitialAnimation:h,isMounted:function(){return Boolean(b)},mount:function(t){C=!0,b=N.current=t,N.projection&&N.projection.mount(t),B&&p&&!D&&(w=null==p?void 0:p.addVariantChild(N)),T.forEach(function(t,e){return k(e,t)}),null==p||p.children.add(N),N.setProps(v)},unmount:function(){var t;null===(t=N.projection)||void 0===t||t.unmount(),Kt.update(P),Kt.render(O),x.forEach(function(t){return t()}),null==w||w(),null==p||p.children.delete(N),S.clearAllListeners(),b=void 0,C=!1},addVariantChild:function(t){var e,n=N.getClosestVariantNode();if(n)return null===(e=n.variantChildren)||void 0===e||e.add(t),function(){return n.variantChildren.delete(t)}},sortNodePosition:function(t){return f&&n===t.treeType?f(N.getInstance(),t.getInstance()):0},getClosestVariantNode:function(){return B?N:null==p?void 0:p.getClosestVariantNode()},getLayoutId:function(){return v.layoutId},getInstance:function(){return b},getStaticValue:function(t){return V[t]},setStaticValue:function(t,e){return V[t]=e},getLatestValues:function(){return V},setVisibility:function(t){N.isVisible!==t&&(N.isVisible=t,N.scheduleRender())},makeTargetAnimatable:function(t,e){return void 0===e&&(e=!0),a(N,t,v,e)},measureViewportBox:function(){return u(b,v)},addValue:function(t,e){N.hasValue(t)&&N.removeValue(t),T.set(t,e),V[t]=e.get(),k(t,e)},removeValue:function(t){var e;T.delete(t),null===(e=x.get(t))||void 0===e||e(),x.delete(t),delete V[t],c(t,A)},hasValue:function(t){return T.has(t)},getValue:function(t,e){var n=T.get(t);return void 0===n&&void 0!==e&&(n=De(e),N.addValue(t,n)),n},forEachValue:function(t){return T.forEach(t)},readValue:function(t){var n;return null!==(n=V[t])&&void 0!==n?n:l(b,t,e)},setBaseTarget:function(t,e){M[t]=e},getBaseTarget:function(t){if(i){var e=i(v,t);if(void 0!==e&&!(0,Bn.S)(e))return e}return M[t]}},S),{build:function(){return I(),A},scheduleRender:function(){Xt.render(O,!1,!0)},syncRender:O,setProps:function(t){(t.transformTemplate||v.transformTemplate)&&N.scheduleRender(),v=t,S.updatePropListeners(t),E=function(t,e,n){var r;for(var o in e){var i=e[o],a=n[o];if((0,Bn.S)(i))t.addValue(o,i);else if((0,Bn.S)(a))t.addValue(o,De(i));else if(a!==i)if(t.hasValue(o)){var u=t.getValue(o);!u.hasAnimated&&u.set(i)}else t.addValue(o,De(null!==(r=t.getStaticValue(o))&&void 0!==r?r:i))}for(var o in n)void 0===e[o]&&t.removeValue(o);return e}(N,d(v),E)},getProps:function(){return v},getVariant:function(t){var e;return null===(e=v.variants)||void 0===e?void 0:e[t]},getDefaultTransition:function(){return v.transition},getTransformPagePoint:function(){return v.transformPagePoint},getVariantContext:function(t){if(void 0===t&&(t=!1),t)return null==p?void 0:p.getVariantContext();if(!D){var e=(null==p?void 0:p.getVariantContext())||{};return void 0!==v.initial&&(e.initial=v.initial),e}for(var n={},r=0;r<Ln;r++){var o=zn[r],i=v[o];((0,Ke.wf)(i)||!1===i)&&(n[o]=i)}return n}});return N}},zn=(0,r.fX)(["initial"],(0,r.zs)(Je),!1),Ln=zn.length,Kn=n(9298),Yn=n(568);function $n(t){return"string"==typeof t&&t.startsWith("var(--")}var qn=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function Hn(t,e,n){void 0===n&&(n=1),(0,p.V)(n<=4,'Max CSS variable fallback depth detected in property "'.concat(t,'". This may indicate a circular fallback dependency.'));var o=(0,r.zs)(function(t){var e=qn.exec(t);if(!e)return[,];var n=(0,r.zs)(e,3);return[n[1],n[2]]}(t),2),i=o[0],a=o[1];if(i){var u=window.getComputedStyle(e).getPropertyValue(i);return u?u.trim():$n(a)?Hn(a,e,n+1):a}}var Xn,Wn=new Set(["width","height","top","left","right","bottom","x","y"]),_n=function(t){return Wn.has(t)},Gn=function(t,e){t.set(e,!1),t.set(e)},Zn=function(t){return t===x.ai||t===R.px};!function(t){t.width="width",t.height="height",t.left="left",t.right="right",t.top="top",t.bottom="bottom"}(Xn||(Xn={}));var Jn=function(t,e){return parseFloat(t.split(", ")[e])},Qn=function(t,e){return function(n,r){var o=r.transform;if("none"===o||!o)return 0;var i=o.match(/^matrix3d\((.+)\)$/);if(i)return Jn(i[1],e);var a=o.match(/^matrix\((.+)\)$/);return a?Jn(a[1],t):0}},tr=new Set(["x","y","z"]),er=Xe.fu.filter(function(t){return!tr.has(t)});var nr={width:function(t,e){var n=t.x,r=e.paddingLeft,o=void 0===r?"0":r,i=e.paddingRight,a=void 0===i?"0":i;return n.max-n.min-parseFloat(o)-parseFloat(a)},height:function(t,e){var n=t.y,r=e.paddingTop,o=void 0===r?"0":r,i=e.paddingBottom,a=void 0===i?"0":i;return n.max-n.min-parseFloat(o)-parseFloat(a)},top:function(t,e){var n=e.top;return parseFloat(n)},left:function(t,e){var n=e.left;return parseFloat(n)},bottom:function(t,e){var n=t.y,r=e.top;return parseFloat(r)+(n.max-n.min)},right:function(t,e){var n=t.x,r=e.left;return parseFloat(r)+(n.max-n.min)},x:Qn(4,13),y:Qn(5,14)},rr=function(t,e,n,o){void 0===n&&(n={}),void 0===o&&(o={}),e=(0,r.Cl)({},e),o=(0,r.Cl)({},o);var i=Object.keys(e).filter(_n),a=[],u=!1,s=[];if(i.forEach(function(r){var i=t.getValue(r);if(t.hasValue(r)){var l,c=n[r],d=Ue(c),v=e[r];if((0,f.p)(v)){var m=v.length,h=null===v[0]?1:0;c=v[h],d=Ue(c);for(var y=h;y<m;y++)l?(0,p.V)(Ue(v[y])===l,"All keyframes must be of the same type"):(l=Ue(v[y]),(0,p.V)(l===d||Zn(d)&&Zn(l),"Keyframes must be of the same dimension as the current value"))}else l=Ue(v);if(d!==l)if(Zn(d)&&Zn(l)){var g=i.get();"string"==typeof g&&i.set(parseFloat(g)),"string"==typeof v?e[r]=parseFloat(v):Array.isArray(v)&&l===R.px&&(e[r]=v.map(parseFloat))}else(null==d?void 0:d.transform)&&(null==l?void 0:l.transform)&&(0===c||0===v)?0===c?i.set(l.transform(c)):e[r]=d.transform(v):(u||(a=function(t){var e=[];return er.forEach(function(n){var r=t.getValue(n);void 0!==r&&(e.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),e.length&&t.syncRender(),e}(t),u=!0),s.push(r),o[r]=void 0!==o[r]?o[r]:e[r],Gn(i,v))}}),s.length){var l=s.indexOf("height")>=0?window.pageYOffset:null,c=function(t,e,n){var r=e.measureViewportBox(),o=e.getInstance(),i=getComputedStyle(o),a=i.display,u={};"none"===a&&e.setStaticValue("display",t.display||"block"),n.forEac
1h(function(t){u[t]=nr[t](r,i)}),e.syncRender();var s=e.measureViewportBox();return n.forEach(function(n){var r=e.getValue(n);Gn(r,u[n]),t[n]=nr[n](s,i)}),t}(e,t,s);return a.length&&a.forEach(function(e){var n=(0,r.zs)(e,2),o=n[0],i=n[1];t.getValue(o).set(i)}),t.syncRender(),null!==l&&window.scrollTo({top:l}),{target:c,transitionEnd:o}}return{target:e,transitionEnd:o}};function or(t,e,n,r){return function(t){return Object.keys(t).some(_n)}(e)?rr(t,e,n,r):{target:e,transitionEnd:r}}var ir=function(t,e,n,o){var i=function(t,e,n){var o,i=(0,r.Tt)(e,[]),a=t.getInstance();if(!(a instanceof Element))return{target:i,transitionEnd:n};for(var u in n&&(n=(0,r.Cl)({},n)),t.forEachValue(function(t){var e=t.get();if($n(e)){var n=Hn(e,a);n&&t.set(n)}}),i){var s=i[u];if($n(s)){var l=Hn(s,a);l&&(i[u]=l,n&&(null!==(o=n[u])&&void 0!==o||(n[u]=s)))}}return{target:i,transitionEnd:n}}(t,e,o);return or(t,e=i.target,n,o=i.transitionEnd)},ar=n(4494),ur=n(9836);function sr(t,e){return n=function(t,e){if(!e)return t;var 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}}(t.getBoundingClientRect(),e),r=n.top,{x:{min:n.left,max:n.right},y:{min:r,max:n.bottom}};var n,r}var lr={treeType:"dom",readValueFromInstance:function(t,e){if((0,Xe.wY)(e)){var n=we(e);return n&&n.default||0}var r,o=(r=t,window.getComputedStyle(r));return((0,Yn.Y)(e)?o.getPropertyValue(e):o[e])||0},sortNodePosition:function(t,e){return 2&t.compareDocumentPosition(e)?1:-1},getBaseTarget:function(t,e){var n;return null===(n=t.style)||void 0===n?void 0:n[e]},measureViewportBox:function(t,e){return sr(t,e.transformPagePoint)},resetTransform:function(t,e,n){var r=n.transformTemplate;e.style.transform=r?r({},""):"none",t.scheduleRender()},restoreTransform:function(t,e){t.style.transform=e.style.transform},removeValueFromRenderState:function(t,e){var n=e.vars,r=e.style;delete n[t],delete r[t]},makeTargetAnimatable:function(t,e,n,o){var i=n.transformValues;void 0===o&&(o=!0);var a=e.transition,u=e.transitionEnd,s=(0,r.Tt)(e,["transition","transitionEnd"]),l=function(t,e,n){var r,o,i={};for(var a in t)i[a]=null!==(r=qe(a,e))&&void 0!==r?r:null===(o=n.getValue(a))||void 0===o?void 0:o.get();return i}(s,a||{},t);if(i&&(u&&(u=i(u)),s&&(s=i(s)),l&&(l=i(l))),o){!function(t,e,n){var r,o,i,a,u=Object.keys(e).filter(function(e){return!t.hasValue(e)}),s=u.length;if(s)for(var l=0;l<s;l++){var c=u[l],f=e[c],d=null;Array.isArray(f)&&(d=f[0]),null===d&&(d=null!==(o=null!==(r=n[c])&&void 0!==r?r:t.readValue(c))&&void 0!==o?o:e[c]),null!=d&&("string"==typeof d&&(ke(d)||Fe(d))?d=parseFloat(d):!Le(d)&&G.test(f)&&(d=Ce(c,f)),t.addValue(c,De(d)),null!==(i=(a=n)[c])&&void 0!==i||(a[c]=d),t.setBaseTarget(c,d))}}(t,s,l);var c=ir(t,s,l,u);u=c.transitionEnd,s=c.target}return(0,r.Cl)({transition:a,transitionEnd:u},s)},scrapeMotionValuesFromProps:ar.x,build:function(t,e,n,r,o){void 0!==t.isVisible&&(e.style.visibility=t.isVisible?"visible":"hidden"),(0,Kn.O)(e,n,r,o.transformTemplate)},render:ur.e},cr=Un(lr),fr=n(5158),dr=n(3163),pr=n(8062),vr=n(7549),mr=n(7415),hr=Un((0,r.Cl)((0,r.Cl)({},lr),{getBaseTarget:function(t,e){return t[e]},readValueFromInstance:function(t,e){var n;return(0,Xe.wY)(e)?(null===(n=we(e))||void 0===n?void 0:n.default)||0:(e=vr.e.has(e)?e:(0,pr.I)(e),t.getAttribute(e))},scrapeMotionValuesFromProps:fr.x,build:function(t,e,n,r,o){(0,dr.B)(e,n,r,o.transformTemplate)},render:mr.d})),yr=n(3385),gr=(0,r.Cl)((0,r.Cl)({renderer:function(t,e){return(0,yr.Q)(t)?hr(e,{enableHardwareAcceleration:!1}):cr(e,{enableHardwareAcceleration:!0})}},an),Dn)}}]);
2//# sourceMappingURL=6320-e19e4d180b280fd4ccae.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.