File "index.js"

Full Path: /home/fresvfqn/waterdamagerestorationandrepairsmithtown.com/wp-content/plugins/surerank/build/vendor-66bb3aca/index.js
File size: 22.7 KB
MIME-type: text/plain
Charset: utf-8

"use strict";(globalThis.webpackChunksurerank=globalThis.webpackChunksurerank||[]).push([[254],{1712:(e,t,n)=>{n.d(t,{p:()=>i});const i=e=>Array.isArray(e)},8853:(e,t,n)=>{n.d(t,{f:()=>J});var i=n(64942),s=n(77331),r=n(10104),o=n(74668),a=n(39652),l=n(41533),u=n(10309),c=n(44768),d=n(84868),h=n(5133),p=n(44582),m=n(24835),f=n(8104),v=n(24552);const y=(e,t)=>"zIndex"!==t&&(!("number"!==typeof e&&!Array.isArray(e))||!("string"!==typeof e||!v.f.test(e)&&"0"!==e||e.startsWith("url("))),g=e=>null!==e;function T(e,{repeat:t,repeatType:n="loop"},i){const s=e.filter(g),r=t&&"loop"!==n&&t%2===1?0:s.length-1;return r&&void 0!==i?i:s[r]}class P{constructor({autoplay:e=!0,delay:t=0,type:n="keyframes",repeat:i=0,repeatDelay:s=0,repeatType:r="loop",...o}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.createdAt=p.k.now(),this.options={autoplay:e,delay:t,type:n,repeat:i,repeatDelay:s,repeatType:r,...o},this.updateFinishedPromise()}calcStartTime(){return this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt}get resolved(){return this._resolved||this.hasAttemptedResolve||(0,m.q)(),this._resolved}onKeyframesResolved(e,t){this.resolvedAt=p.k.now(),this.hasAttemptedResolve=!0;const{name:n,type:s,velocity:r,delay:o,onComplete:l,onUpdate:u,isGenerator:c}=this.options;if(!c&&!function(e,t,n,s){const r=e[0];if(null===r)return!1;if("display"===t||"visibility"===t)return!0;const o=e[e.length-1],a=y(r,t),l=y(o,t);return(0,f.$)(a===l,`You are trying to animate ${t} from "${r}" to "${o}". ${r} is not an animatable value - to enable this animation set ${r} to a value animatable to ${o} via the \`style\` property.`),!(!a||!l)&&(function(e){const t=e[0];if(1===e.length)return!0;for(let n=0;n<e.length;n++)if(e[n]!==t)return!0}(e)||("spring"===n||(0,i.WH)(n))&&s)}(e,n,s,r)){if(a.d.current||!o)return u&&u(T(e,this.options,t)),l&&l(),void this.resolveFinishedPromise();this.options.duration=0}const d=this.initPlayback(e,t);!1!==d&&(this._resolved={keyframes:e,finalKeyframe:t,...d},this.onPostResolved())}onPostResolved(){}then(e,t){return this.currentFinishedPromise.then(e,t)}flatten(){this.options.type="keyframes",this.options.ease="linear"}updateFinishedPromise(){this.currentFinishedPromise=new Promise(e=>{this.resolveFinishedPromise=e})}}var k=n(42464),M=n(58799),x=n(91339),w=n(57177);function C(e,t,n){const i=Math.max(t-5,0);return(0,w.f)(n-e(i),t-i)}function b(e,t){return e*Math.sqrt(1-t*t)}const S=["duration","bounce"],A=["stiffness","damping","mass"];function D(e,t){return t.some(t=>void 0!==e[t])}function R(e=.3,t=.3){const n="object"!==typeof e?{visualDuration:e,keyframes:[0,1],bounce:t}:e;let{restSpeed:r,restDelta:o}=n;const a=n.keyframes[0],l=n.keyframes[n.keyframes.length-1],u={done:!1,value:a},{stiffness:c,damping:d,mass:h,duration:p,velocity:m,isResolvedFromDuration:v}=function(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!D(e,A)&&D(e,S))if(e.visualDuration){const n=2*Math.PI/(1.2*e.visualDuration),i=n*n,s=2*(0,k.q)(.05,1,1-(e.bounce||0))*Math.sqrt(i);t={...t,mass:1,stiffness:i,damping:s}}else{const n=function({duration:e=800,bounce:t=.3,velocity:n=0,mass:i=1}){let r,o;(0,f.$)(e<=(0,s.f)(10),"Spring duration must be 10 seconds or less");let a=1-t;a=(0,k.q)(.05,1,a),e=(0,k.q)(.01,10,(0,s.X)(e)),a<1?(r=t=>{const i=t*a,s=i*e;return.001-(i-n)/b(t,a)*Math.exp(-s)},o=t=>{const i=t*a*e,s=i*n+n,o=Math.pow(a,2)*Math.pow(t,2)*e,l=Math.exp(-i),u=b(Math.pow(t,2),a);return(.001-r(t)>0?-1:1)*((s-o)*l)/u}):(r=t=>Math.exp(-t*e)*((t-n)*e+1)-.001,o=t=>Math.exp(-t*e)*(e*e*(n-t)));const l=function(e,t,n){let i=n;for(let s=1;s<12;s++)i-=e(i)/t(i);return i}(r,o,5/e);if(e=(0,s.f)(e),isNaN(l))return{stiffness:100,damping:10,duration:e};{const t=Math.pow(l,2)*i;return{stiffness:t,damping:2*a*Math.sqrt(i*t),duration:e}}}(e);t={...t,...n,mass:1},t.isResolvedFromDuration=!0}return t}({...n,velocity:-(0,s.X)(n.velocity||0)}),y=m||0,g=d/(2*Math.sqrt(c*h)),T=l-a,P=(0,s.X)(Math.sqrt(c/h)),M=Math.abs(T)<5;let x;if(r||(r=M?.01:2),o||(o=M?.005:.5),g<1){const e=b(P,g);x=t=>{const n=Math.exp(-g*P*t);return l-n*((y+g*P*T)/e*Math.sin(e*t)+T*Math.cos(e*t))}}else if(1===g)x=e=>l-Math.exp(-P*e)*(T+(y+P*T)*e);else{const e=P*Math.sqrt(g*g-1);x=t=>{const n=Math.exp(-g*P*t),i=Math.min(e*t,300);return l-n*((y+g*P*T)*Math.sinh(i)+e*T*Math.cosh(i))/e}}const w={calculatedDuration:v&&p||null,next:e=>{const t=x(e);if(v)u.done=e>=p;else{let n=0;g<1&&(n=0===e?(0,s.f)(y):C(x,e,t));const i=Math.abs(n)<=r,a=Math.abs(l-t)<=o;u.done=i&&a}return u.value=u.done?l:t,u},toString:()=>{const e=Math.min((0,i.tu)(w),i.YE),t=(0,i.KZ)(t=>w.next(e*t).value,e,30);return e+"ms "+t}};return w}function E({keyframes:e,velocity:t=0,power:n=.8,timeConstant:i=325,bounceDamping:s=10,bounceStiffness:r=500,modifyTarget:o,min:a,max:l,restDelta:u=.5,restSpeed:c}){const d=e[0],h={done:!1,value:d},p=e=>void 0===a?l:void 0===l||Math.abs(a-e)<Math.abs(l-e)?a:l;let m=n*t;const f=d+m,v=void 0===o?f:o(f);v!==f&&(m=v-d);const y=e=>-m*Math.exp(-e/i),g=e=>v+y(e),T=e=>{const t=y(e),n=g(e);h.done=Math.abs(t)<=u,h.value=h.done?v:n};let P,k;const M=e=>{var t;t=h.value,(void 0!==a&&t<a||void 0!==l&&t>l)&&(P=e,k=R({keyframes:[h.value,p(h.value)],velocity:C(g,e,h.value),damping:s,stiffness:r,restDelta:u,restSpeed:c}))};return M(0),{calculatedDuration:null,next:e=>{let t=!1;return k||void 0!==P||(t=!0,T(e),M(e)),void 0!==P&&e>=P?k.next(e-P):(!t&&T(e),h)}}}var F=n(93771),$=n(17795),K=n(60983),U=n(28844),j=n(33490),O=n(30951);function G(e,t){return e.map(()=>t||F.am).splice(0,e.length-1)}function I({duration:e=300,keyframes:t,times:n,ease:i="easeInOut"}){const s=(0,$.h)(i)?i.map(K.K):(0,K.K)(i),r={done:!1,value:t[0]},o=(0,O.A)(n&&n.length===t.length?n:(0,j.Z)(t),e),a=(0,U.G)(o,t,{ease:Array.isArray(s)?s:G(t,s)});return{calculatedDuration:e,next:t=>(r.value=a(t),r.done=t>=e,r)}}const q=e=>{const t=({timestamp:t})=>e(t);return{start:()=>r.Gt.update(t,!0),stop:()=>(0,r.WG)(t),now:()=>r.uv.isProcessing?r.uv.timestamp:p.k.now()}},L={decay:E,inertia:E,tween:I,keyframes:I,spring:R},V=e=>e/100;class _ extends P{constructor(e){super(e),this.holdTime=null,this.cancelTime=null,this.currentTime=0,this.playbackSpeed=1,this.pendingPlayState="running",this.startTime=null,this.state="idle",this.stop=()=>{if(this.resolver.cancel(),this.isStopped=!0,"idle"===this.state)return;this.teardown();const{onStop:e}=this.options;e&&e()};const{name:t,motionValue:n,element:i,keyframes:s}=this.options;this.resolver=new((null===i||void 0===i?void 0:i.KeyframeResolver)||m.h)(s,(e,t)=>this.onKeyframesResolved(e,t),t,n,i),this.resolver.scheduleResolve()}flatten(){super.flatten(),this._resolved&&Object.assign(this._resolved,this.initPlayback(this._resolved.keyframes))}initPlayback(e){const{type:t="keyframes",repeat:n=0,repeatDelay:s=0,repeatType:r,velocity:o=0}=this.options,a=(0,i.WH)(t)?t:L[t]||I;let l,u;a!==I&&"number"!==typeof e[0]&&(l=(0,x.F)(V,(0,M.j)(e[0],e[1])),e=[0,100]);const c=a({...this.options,keyframes:e});"mirror"===r&&(u=a({...this.options,keyframes:[...e].reverse(),velocity:-o})),null===c.calculatedDuration&&(c.calculatedDuration=(0,i.tu)(c));const{calculatedDuration:d}=c,h=d+s;return{generator:c,mirroredGenerator:u,mapPercentToKeyframes:l,calculatedDuration:d,resolvedDuration:h,totalDuration:h*(n+1)-s}}onPostResolved(){const{autoplay:e=!0}=this.options;this.play(),"paused"!==this.pendingPlayState&&e?this.state=this.pendingPlayState:this.pause()}tick(e,t=!1){const{resolved:n}=this;if(!n){const{keyframes:e}=this.options;return{done:!0,value:e[e.length-1]}}const{finalKeyframe:i,generator:s,mirroredGenerator:r,mapPercentToKeyframes:o,keyframes:a,calculatedDuration:l,totalDuration:u,resolvedDuration:c}=n;if(null===this.startTime)return s.next(0);const{delay:d,repeat:h,repeatType:p,repeatDelay:m,onUpdate:f}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-u/this.speed,this.startTime)),this.currentTime=t?e:null!==this.holdTime?this.holdTime:Math.round(e-this.startTime)*this.speed;const v=this.currentTime-d*(this.speed>=0?1:-1),y=this.speed>=0?v<0:v>u;this.currentTime=Math.max(v,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=u);let g=this.currentTime,P=s;if(h){const e=Math.min(this.currentTime,u)/c;let t=Math.floor(e),n=e%1;!n&&e>=1&&(n=1),1===n&&t--,t=Math.min(t,h+1),Boolean(t%2)&&("reverse"===p?(n=1-n,m&&(n-=m/c)):"mirror"===p&&(P=r)),g=(0,k.q)(0,1,n)*c}const M=y?{done:!1,value:a[0]}:P.next(g);o&&(M.value=o(M.value));let{done:x}=M;y||null===l||(x=this.speed>=0?this.currentTime>=u:this.currentTime<=0);const w=null===this.holdTime&&("finished"===this.state||"running"===this.state&&x);return w&&void 0!==i&&(M.value=T(a,this.options,i)),f&&f(M.value),w&&this.finish(),M}get duration(){const{resolved:e}=this;return e?(0,s.X)(e.calculatedDuration):0}get time(){return(0,s.X)(this.currentTime)}set time(e){e=(0,s.f)(e),this.currentTime=e,null!==this.holdTime||0===this.speed?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.speed)}get speed(){return this.playbackSpeed}set speed(e){const t=this.playbackSpeed!==e;this.playbackSpeed=e,t&&(this.time=(0,s.X)(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved)return void(this.pendingPlayState="running");if(this.isStopped)return;const{driver:e=q,onPlay:t,startTime:n}=this.options;this.driver||(this.driver=e(e=>this.tick(e))),t&&t();const i=this.driver.now();null!==this.holdTime?this.startTime=i-this.holdTime:this.startTime?"finished"===this.state&&(this.startTime=i):this.startTime=null!==n&&void 0!==n?n:this.calcStartTime(),"finished"===this.state&&this.updateFinishedPromise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}pause(){var e;this._resolved?(this.state="paused",this.holdTime=null!==(e=this.currentTime)&&void 0!==e?e:0):this.pendingPlayState="paused"}complete(){"running"!==this.state&&this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";const{onComplete:e}=this.options;e&&e()}cancel(){null!==this.cancelTime&&this.tick(this.cancelTime),this.teardown(),this.updateFinishedPromise()}teardown(){this.state="idle",this.stopDriver(),this.resolveFinishedPromise(),this.updateFinishedPromise(),this.startTime=this.cancelTime=null,this.resolver.cancel()}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(e){return this.startTime=0,this.tick(e,!0)}}const W=new Set(["opacity","clipPath","filter","transform"]),z=(0,n(54435).p)(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),X={anticipate:u.b,backInOut:c.ZZ,circInOut:d.tn};class H extends P{constructor(e){super(e);const{name:t,motionValue:n,element:i,keyframes:s}=this.options;this.resolver=new h.K(s,(e,t)=>this.onKeyframesResolved(e,t),t,n,i),this.resolver.scheduleResolve()}initPlayback(e,t){let{duration:n=300,times:s,ease:r,type:o,motionValue:a,name:l,startTime:u}=this.options;if(!a.owner||!a.owner.current)return!1;var c;if("string"===typeof r&&(0,i.nL)()&&r in X&&(r=X[r]),(0,i.WH)((c=this.options).type)||"spring"===c.type||!(0,i.yL)(c.ease)){const{onComplete:t,onUpdate:i,motionValue:a,element:l,...u}=this.options,c=function(e,t){const n=new _({...t,keyframes:e,repeat:0,delay:0,isGenerator:!0});let i={done:!1,value:e[0]};const s=[];let r=0;for(;!i.done&&r<2e4;)i=n.sample(r),s.push(i.value),r+=10;return{times:void 0,keyframes:s,duration:r-10,ease:"linear"}}(e,u);1===(e=c.keyframes).length&&(e[1]=e[0]),n=c.duration,s=c.times,r=c.ease,o="keyframes"}const d=function(e,t,n,{delay:s=0,duration:r=300,repeat:o=0,repeatType:a="loop",ease:l="easeInOut",times:u}={}){const c={[t]:n};u&&(c.offset=u);const d=(0,i.TU)(l,r);return Array.isArray(d)&&(c.easing=d),e.animate(c,{delay:s,duration:r,easing:Array.isArray(d)?"linear":d,fill:"both",iterations:o+1,direction:"reverse"===a?"alternate":"normal"})}(a.owner.current,l,e,{...this.options,duration:n,times:s,ease:r});return d.startTime=null!==u&&void 0!==u?u:this.calcStartTime(),this.pendingTimeline?((0,i.vG)(d,this.pendingTimeline),this.pendingTimeline=void 0):d.onfinish=()=>{const{onComplete:n}=this.options;a.set(T(e,this.options,t)),n&&n(),this.cancel(),this.resolveFinishedPromise()},{animation:d,duration:n,times:s,type:o,ease:r,keyframes:e}}get duration(){const{resolved:e}=this;if(!e)return 0;const{duration:t}=e;return(0,s.X)(t)}get time(){const{resolved:e}=this;if(!e)return 0;const{animation:t}=e;return(0,s.X)(t.currentTime||0)}set time(e){const{resolved:t}=this;if(!t)return;const{animation:n}=t;n.currentTime=(0,s.f)(e)}get speed(){const{resolved:e}=this;if(!e)return 1;const{animation:t}=e;return t.playbackRate}set speed(e){const{resolved:t}=this;if(!t)return;const{animation:n}=t;n.playbackRate=e}get state(){const{resolved:e}=this;if(!e)return"idle";const{animation:t}=e;return t.playState}get startTime(){const{resolved:e}=this;if(!e)return null;const{animation:t}=e;return t.startTime}attachTimeline(e){if(this._resolved){const{resolved:t}=this;if(!t)return l.l;const{animation:n}=t;(0,i.vG)(n,e)}else this.pendingTimeline=e;return l.l}play(){if(this.isStopped)return;const{resolved:e}=this;if(!e)return;const{animation:t}=e;"finished"===t.playState&&this.updateFinishedPromise(),t.play()}pause(){const{resolved:e}=this;if(!e)return;const{animation:t}=e;t.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,"idle"===this.state)return;this.resolveFinishedPromise(),this.updateFinishedPromise();const{resolved:e}=this;if(!e)return;const{animation:t,keyframes:n,duration:i,type:r,ease:o,times:a}=e;if("idle"===t.playState||"finished"===t.playState)return;if(this.time){const{motionValue:e,onUpdate:t,onComplete:l,element:u,...c}=this.options,d=new _({...c,keyframes:n,duration:i,type:r,ease:o,times:a,isGenerator:!0}),h=(0,s.f)(this.time);e.setWithVelocity(d.sample(h-10).value,d.sample(h).value,10)}const{onStop:l}=this.options;l&&l(),this.cancel()}complete(){const{resolved:e}=this;e&&e.animation.finish()}cancel(){const{resolved:e}=this;e&&e.animation.cancel()}static supports(e){const{motionValue:t,name:n,repeatDelay:i,repeatType:s,damping:r,type:o}=e;if(!t||!t.owner||!(t.owner.current instanceof HTMLElement))return!1;const{onUpdate:a,transformTemplate:l}=t.owner.getProps();return z()&&n&&W.has(n)&&!a&&!l&&!i&&"mirror"!==s&&0!==r&&"inertia"!==o}}var N=n(72443);const Q={type:"spring",stiffness:500,damping:25,restSpeed:10},Z={type:"keyframes",duration:.8},Y={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},B=(e,{keyframes:t})=>t.length>2?Z:N.f.has(e)?e.startsWith("scale")?{type:"spring",stiffness:550,damping:0===t[1]?2*Math.sqrt(550):30,restSpeed:10}:Q:Y,J=(e,t,n,l={},u,c)=>d=>{const h=(0,i.rU)(l,e)||{},p=h.delay||l.delay||0;let{elapsed:m=0}=l;m-=(0,s.f)(p);let f={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...h,delay:-m,onUpdate:e=>{t.set(e),h.onUpdate&&h.onUpdate(e)},onComplete:()=>{d(),h.onComplete&&h.onComplete()},name:e,motionValue:t,element:c?void 0:u};(function({when:e,delay:t,delayChildren:n,staggerChildren:i,staggerDirection:s,repeat:r,repeatType:o,repeatDelay:a,from:l,elapsed:u,...c}){return!!Object.keys(c).length})(h)||(f={...f,...B(e,f)}),f.duration&&(f.duration=(0,s.f)(f.duration)),f.repeatDelay&&(f.repeatDelay=(0,s.f)(f.repeatDelay)),void 0!==f.from&&(f.keyframes[0]=f.from);let v=!1;if((!1===f.type||0===f.duration&&!f.repeatDelay)&&(f.duration=0,0===f.delay&&(v=!0)),(a.d.current||o.W.skipAnimations)&&(v=!0,f.duration=0,f.delay=0),v&&!c&&void 0!==t.get()){const e=T(f.keyframes,h);if(void 0!==e)return r.Gt.update(()=>{f.onUpdate(e),f.onComplete()}),new i.P6([])}return!c&&H.supports(f)?new H(f):new _(f)}},23717:(e,t,n)=>{n.d(t,{N:()=>i});const i=(0,n(51609).createContext)({})},27523:(e,t,n)=>{n.d(t,{_:()=>f});var i=n(74737),s=n(64942),r=n(15972),o=n(24714),a=n(50029),l=n(94458),u=n(8853),c=n(10104);function d({protectedKeys:e,needsAnimating:t},n){const i=e.hasOwnProperty(n)&&!0!==t[n];return t[n]=!1,i}function h(e,t,{delay:n=0,transitionOverride:i,type:h}={}){var p;let{transition:m=e.getDefaultTransition(),transitionEnd:f,...v}=t;i&&(m=i);const y=[],g=h&&e.animationState&&e.animationState.getState()[h];for(const o in v){const t=e.getValue(o,null!==(p=e.latestValues[o])&&void 0!==p?p:null),i=v[o];if(void 0===i||g&&d(g,o))continue;const h={delay:n,...(0,s.rU)(m||{},o)};let f=!1;if(window.MotionHandoffAnimation){const t=(0,l.P)(e);if(t){const e=window.MotionHandoffAnimation(t,o,c.Gt);null!==e&&(h.startTime=e,f=!0)}}(0,a.g)(e,o),t.start((0,u.f)(o,t,i,e.shouldReduceMotion&&r.$.has(o)?{type:!1}:h,e,f));const T=t.animation;T&&y.push(T)}return f&&Promise.all(y).then(()=>{c.Gt.update(()=>{f&&(0,o.U)(e,f)})}),y}function p(e,t,n={}){var s;const r=(0,i.K)(e,t,"exit"===n.type?null===(s=e.presenceContext)||void 0===s?void 0:s.custom:void 0);let{transition:o=e.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(o=n.transitionOverride);const a=r?()=>Promise.all(h(e,r,n)):()=>Promise.resolve(),l=e.variantChildren&&e.variantChildren.size?(i=0)=>{const{delayChildren:s=0,staggerChildren:r,staggerDirection:a}=o;return function(e,t,n=0,i=0,s=1,r){const o=[],a=(e.variantChildren.size-1)*i,l=1===s?(e=0)=>e*i:(e=0)=>a-e*i;return Array.from(e.variantChildren).sort(m).forEach((e,i)=>{e.notify("AnimationStart",t),o.push(p(e,t,{...r,delay:n+l(i)}).then(()=>e.notify("AnimationComplete",t)))}),Promise.all(o)}(e,t,s+i,r,a,n)}:()=>Promise.resolve(),{when:u}=o;if(u){const[e,t]="beforeChildren"===u?[a,l]:[l,a];return e().then(()=>t())}return Promise.all([a(),l(n.delay)])}function m(e,t){return e.sortNodePosition(t)}function f(e,t,n={}){let s;if(e.notify("AnimationStart",t),Array.isArray(t)){const i=t.map(t=>p(e,t,n));s=Promise.all(i)}else if("string"===typeof t)s=p(e,t,n);else{const r="function"===typeof t?(0,i.K)(e,t,n.custom):t;s=Promise.all(h(e,r,n))}return s.then(()=>{e.notify("AnimationComplete",t)})}},29473:(e,t,n)=>{n.d(t,{L:()=>i});const i=(0,n(51609).createContext)({})},35446:(e,t,n)=>{n.d(t,{Q:()=>i});const i=(0,n(51609).createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"})},45153:(e,t,n)=>{n.d(t,{A:()=>i});const i=(0,n(51609).createContext)({})},54513:(e,t,n)=>{n.d(t,{$:()=>s});var i=n(77312);function s(e){return"number"===typeof e?0===e:null===e||"none"===e||"0"===e||(0,i.$)(e)}},60990:(e,t,n)=>{n.d(t,{z:()=>a});var i=n(51609),s=n(45153),r=n(36551),o=n(837);function a(e){const{initial:t,animate:n}=function(e,t){if((0,o.e)(e)){const{initial:t,animate:n}=e;return{initial:!1===t||(0,r.w)(t)?t:void 0,animate:(0,r.w)(n)?n:void 0}}return!1!==e.inherit?t:{}}(e,(0,i.useContext)(s.A));return(0,i.useMemo)(()=>({initial:t,animate:n}),[l(t),l(n)])}function l(e){return Array.isArray(e)?e.join(" "):e}},62956:(e,t,n)=>{n.d(t,{z:()=>o});var i=n(24785),s=n(69896),r=n(8853);function o(e,t,n){const o=(0,s.S)(e)?e:(0,i.OQ)(e);return o.start((0,r.f)("",o,t,n)),o.animation}},65490:(e,t,n)=>{function i(e){return null!==e&&"object"===typeof e&&"function"===typeof e.start}n.d(t,{N:()=>i})},66048:(e,t,n)=>{n.d(t,{Y:()=>i});const i=(0,n(51609).createContext)({strict:!1})},66221:(e,t,n)=>{n.d(t,{N:()=>y});var i=n(74848),s=n(51609),r=n(29473),o=n(28601),a=n(86719),l=n(35446);class u extends s.Component{getSnapshotBeforeUpdate(e){const t=this.props.childRef.current;if(t&&e.isPresent&&!this.props.isPresent){const e=this.props.sizeRef.current;e.height=t.offsetHeight||0,e.width=t.offsetWidth||0,e.top=t.offsetTop,e.left=t.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function c({children:e,isPresent:t}){const n=(0,s.useId)(),r=(0,s.useRef)(null),o=(0,s.useRef)({width:0,height:0,top:0,left:0}),{nonce:a}=(0,s.useContext)(l.Q);return(0,s.useInsertionEffect)(()=>{const{width:e,height:i,top:s,left:l}=o.current;if(t||!r.current||!e||!i)return;r.current.dataset.motionPopId=n;const u=document.createElement("style");return a&&(u.nonce=a),document.head.appendChild(u),u.sheet&&u.sheet.insertRule(`\n          [data-motion-pop-id="${n}"] {\n            position: absolute !important;\n            width: ${e}px !important;\n            height: ${i}px !important;\n            top: ${s}px !important;\n            left: ${l}px !important;\n          }\n        `),()=>{document.head.removeChild(u)}},[t]),(0,i.jsx)(u,{isPresent:t,childRef:r,sizeRef:o,children:s.cloneElement(e,{ref:r})})}const d=({children:e,initial:t,isPresent:n,onExitComplete:r,custom:l,presenceAffectsLayout:u,mode:d})=>{const p=(0,o.M)(h),m=(0,s.useId)(),f=(0,s.useCallback)(e=>{p.set(e,!0);for(const t of p.values())if(!t)return;r&&r()},[p,r]),v=(0,s.useMemo)(()=>({id:m,initial:t,isPresent:n,custom:l,onExitComplete:f,register:e=>(p.set(e,!1),()=>p.delete(e))}),u?[Math.random(),f]:[n,f]);return(0,s.useMemo)(()=>{p.forEach((e,t)=>p.set(t,!1))},[n]),s.useEffect(()=>{!n&&!p.size&&r&&r()},[n]),"popLayout"===d&&(e=(0,i.jsx)(c,{isPresent:n,children:e})),(0,i.jsx)(a.t.Provider,{value:v,children:e})};function h(){return new Map}var p=n(89120);const m=e=>e.key||"";function f(e){const t=[];return s.Children.forEach(e,e=>{(0,s.isValidElement)(e)&&t.push(e)}),t}var v=n(25128);const y=({children:e,custom:t,initial:n=!0,onExitComplete:a,presenceAffectsLayout:l=!0,mode:u="sync",propagate:c=!1})=>{const[h,y]=(0,p.xQ)(c),g=(0,s.useMemo)(()=>f(e),[e]),T=c&&!h?[]:g.map(m),P=(0,s.useRef)(!0),k=(0,s.useRef)(g),M=(0,o.M)(()=>new Map),[x,w]=(0,s.useState)(g),[C,b]=(0,s.useState)(g);(0,v.E)(()=>{P.current=!1,k.current=g;for(let e=0;e<C.length;e++){const t=m(C[e]);T.includes(t)?M.delete(t):!0!==M.get(t)&&M.set(t,!1)}},[C,T.length,T.join("-")]);const S=[];if(g!==x){let e=[...g];for(let t=0;t<C.length;t++){const n=C[t],i=m(n);T.includes(i)||(e.splice(t,0,n),S.push(n))}return"wait"===u&&S.length&&(e=S),b(f(e)),void w(g)}const{forceRender:A}=(0,s.useContext)(r.L);return(0,i.jsx)(i.Fragment,{children:C.map(e=>{const s=m(e),r=!(c&&!h)&&(g===C||T.includes(s));return(0,i.jsx)(d,{isPresent:r,initial:!(P.current&&!n)&&void 0,custom:r?void 0:t,presenceAffectsLayout:l,mode:u,onExitComplete:r?void 0:()=>{if(!M.has(s))return;M.set(s,!0);let e=!0;M.forEach(t=>{t||(e=!1)}),e&&(null===A||void 0===A||A(),b(k.current),c&&(null===y||void 0===y||y()),a&&a())},children:e},s)})})}},82392:(e,t,n)=>{n.d(t,{n:()=>i});const i="data-"+(0,n(48062).I)("framerAppearId")},86719:(e,t,n)=>{n.d(t,{t:()=>i});const i=(0,n(51609).createContext)(null)},87116:(e,t,n)=>{n.d(t,{o:()=>c});var i=n(74848),s=n(51609),r=n(29473);const o=(0,s.createContext)(null);var a=n(84281),l=n(83637);const u=e=>!0===e,c=({children:e,id:t,inherit:n=!0})=>{const c=(0,s.useContext)(r.L),d=(0,s.useContext)(o),[h,p]=(0,a.C)(),m=(0,s.useRef)(null),f=c.id||d;null===m.current&&((e=>u(!0===e)||"id"===e)(n)&&f&&(t=t?f+"-"+t:f),m.current={id:t,group:u(n)&&c.group||(0,l.M)()});const v=(0,s.useMemo)(()=>({...m.current,forceRender:h}),[p]);return(0,i.jsx)(r.L.Provider,{value:v,children:e})}},89120:(e,t,n)=>{n.d(t,{xQ:()=>r});var i=n(51609),s=n(86719);function r(e=!0){const t=(0,i.useContext)(s.t);if(null===t)return[!0,null];const{isPresent:n,onExitComplete:r,register:o}=t,a=(0,i.useId)();(0,i.useEffect)(()=>{e&&o(a)},[e]);const l=(0,i.useCallback)(()=>e&&r&&r(a),[a,r,e]);return!n&&r?[!1,l]:[!0]}},94458:(e,t,n)=>{n.d(t,{P:()=>s});var i=n(82392);function s(e){return e.props[i.n]}}}]);