PageSourceSearch

https://app.sendio.ai/assets/Pricing-DcLb-Ir2.js

js sendio.ai collected 2026-10-05 12:55:11 UTC 154,936 bytes, 1 lines download raw bytes

vendor: 21,985 bytes, line 1
1import{r as C,j as f,O as _r,kd as Wr,ke as Hr,e as st,kf as Bn,B as zt,ci as Yt,k as Dt,bR as Kr,kg as $r,ai as Gr,aj as zr,i1 as Yr,e4 as Xr,al as qr,kh as Zr,ki as Qr,kj as Jr,cq as to,a8 as eo,F as no,H as so,an as io,J as ro,kk as Fn,aw as Vt,az as Xt,kl as On,km as Un,kn as oo,ko as ao,kp as lo,d6 as co,kq as uo,t as ho}from"./index-B31rP-tR.js";const si=C.createContext({});function fo(t){const e=C.useRef(null);return e.current===null&&(e.current=t()),e.current}const ii=typeof window<"u",mo=ii?C.useLayoutEffect:C.useEffect,on=C.createContext(null);function an(t,e){t.indexOf(e)===-1&&t.push(e)}function oe(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}const q=(t,e,n)=>n>e?e:n<t?t:n;let ln=()=>{};const Q={},ri=t=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t);function oi(t){return typeof t=="object"&&t!==null}const ai=t=>/^0[^.\s]+$/u.test(t);function cn(t){let e;return()=>(e===void 0&&(e=t()),e)}const K=t=>t,po=(t,e)=>n=>e(t(n)),Ut=(...t)=>t.reduce(po),Nt=(t,e,n)=>{const s=e-t;return s===0?1:(n-t)/s};class un{constructor(){this.subscriptions=[]}add(e){return an(this.subscriptions,e),()=>oe(this.subscriptions,e)}notify(e,n,s){const i=this.subscriptions.length;if(i)if(i===1)this.subscriptions[0](e,n,s);else for(let o=0;o<i;o++){const r=this.subscriptions[o];r&&r(e,n,s)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const z=t=>t*1e3,H=t=>t/1e3;function li(t,e){return e?t*(1e3/e):0}const ci=(t,e,n)=>(((1-3*n+3*e)*t+(3*n-6*e))*t+3*e)*t,go=1e-7,yo=12;function xo(t,e,n,s,i){let o,r,a=0;do r=e+(n-e)/2,o=ci(r,s,i)-t,o>0?n=r:e=r;while(Math.abs(o)>go&&++a<yo);return r}function _t(t,e,n,s){if(t===e&&n===s)return K;const i=o=>xo(o,0,1,t,n);return o=>o===0||o===1?o:ci(i(o),e,s)}const ui=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2,di=t=>e=>1-t(1-e),hi=_t(.33,1.53,.69,.99),dn=di(hi),fi=ui(dn),mi=t=>(t*=2)<1?.5*dn(t):.5*(2-Math.pow(2,-10*(t-1))),hn=t=>1-Math.sin(Math.acos(t)),pi=di(hn),gi=ui(hn),vo=_t(.42,0,1,1),bo=_t(0,0,.58,1),yi=_t(.42,0,.58,1),To=t=>Array.isArray(t)&&typeof t[0]!="number",xi=t=>Array.isArray(t)&&typeof t[0]=="number",wo={linear:K,easeIn:vo,easeInOut:yi,easeOut:bo,circIn:hn,circInOut:gi,circOut:pi,backIn:dn,backInOut:fi,backOut:hi,anticipate:mi},Co=t=>typeof t=="string",_n=t=>{if(xi(t)){ln(t.length===4);const[e,n,s,i]=t;return _t(e,n,s,i)}else if(Co(t))return wo[t];return t},qt=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function So(t,e){let n=new Set,s=new Set,i=!1,o=!1;const r=new WeakSet;let a={delta:0,timestamp:0,isProcessing:!1};function l(u){r.has(u)&&(c.schedule(u),t()),u(a)}const c={schedule:(u,d=!1,h=!1)=>{const p=h&&i?n:s;return d&&r.add(u),p.has(u)||p.add(u),u},cancel:u=>{s.delete(u),r.delete(u)},process:u=>{if(a=u,i){o=!0;return}i=!0,[n,s]=[s,n],n.forEach(l),n.clear(),i=!1,o&&(o=!1,c.process(u))}};return c}const Po=40;function vi(t,e){let n=!1,s=!0;const i={delta:0,timestamp:0,isProcessing:!1},o=()=>n=!0,r=qt.reduce((v,S)=>(v[S]=So(o),v),{}),{setup:a,read:l,resolveKeyframes:c,preUpdate:u,update:d,preRender:h,render:m,postRender:p}=r,g=()=>{const v=Q.useManualTiming?i.timestamp:performance.now();n=!1,Q.useManualTiming||(i.delta=s?1e3/60:Math.max(Math.min(v-i.timestamp,Po),1)),i.timestamp=v,i.isProcessing=!0,a.process(i),l.process(i),c.process(i),u.process(i),d.process(i),h.process(i),m.process(i),p.process(i),i.isProcessing=!1,n&&e&&(s=!1,t(g))},x=()=>{n=!0,s=!0,i.isProcessing||t(g)};return{schedule:qt.reduce((v,S)=>{const w=r[S];return v[S]=(A,j=!1,V=!1)=>(n||x(),w.schedule(A,j,V)),v},{}),cancel:v=>{for(let S=0;S<qt.length;S++)r[qt[S]].cancel(v)},state:i,steps:r}}const{schedule:M,cancel:rt,state:N,steps:xe}=vi(typeof requestAnimationFrame<"u"?requestAnimationFrame:K,!0);let Jt;function Vo(){Jt=void 0}const O={now:()=>(Jt===void 0&&O.set(N.isProcessing||Q.useManualTiming?N.timestamp:performance.now()),Jt),set:t=>{Jt=t,queueMicrotask(Vo)}},bi=t=>e=>typeof e=="string"&&e.startsWith(t),Ti=bi("--"),Ao=bi("var(--"),fn=t=>Ao(t)?Mo.test(t.split("/*")[0].trim()):!1,Mo=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function Wn(t){return typeof t!="string"?!1:t.split("/*")[0].includes("var(--")}const wt={test:t=>typeof t=="number",parse:parseFloat,transform:t=>t},It={...wt,transform:t=>q(0,1,t)},Zt={...wt,default:1},jt=t=>Math.round(t*1e5)/1e5,mn=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function Do(t){return t==null}const Eo=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,pn=(t,e)=>n=>!!(typeof n=="string"&&Eo.test(n)&&n.startsWith(t)||e&&!Do(n)&&Object.prototype.hasOwnProperty.call(n,e)),wi=(t,e,n)=>s=>{if(typeof s!="string")return s;const[i,o,r,a]=s.match(mn);return{[t]:parseFloat(i),[e]:parseFloat(o),[n]:parseFloat(r),alpha:a!==void 0?parseFloat(a):1}},jo=t=>q(0,255,t),ve={...wt,transform:t=>Math.round(jo(t))},ut={test:pn("rgb","red"),parse:wi("red","green","blue"),transform:({red:t,green:e,blue:n,alpha:s=1})=>"rgba("+ve.transform(t)+", "+ve.transform(e)+", "+ve.transform(n)+", "+jt(It.transform(s))+")"};function Ro(t){let e="",n="",s="",i="";return t.length>5?(e=t.substring(1,3),n=t.substring(3,5),s=t.substring(5,7),i=t.substring(7,9)):(e=t.substring(1,2),n=t.substring(2,3),s=t.substring(3,4),i=t.substring(4,5),e+=e,n+=n,s+=s,i+=i),{red:parseInt(e,16),green:parseInt(n,16),blue:parseInt(s,16),alpha:i?parseInt(i,16)/255:1}}const Ie={test:pn("#"),parse:Ro,transform:ut.transform},Wt=t=>({test:e=>typeof e=="string"&&e.endsWith(t)&&e.split(" ").length===1,parse:parseFloat,transform:e=>`${e}${t}`}),et=Wt("deg"),X=Wt("%"),T=Wt("px"),Lo=Wt("vh"),ko=Wt("vw"),Hn={...X,parse:t=>X.parse(t)/100,transform:t=>X.transform(t*100)},pt={test:pn("hsl","hue"),parse:wi("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:n,alpha:s=1})=>"hsla("+Math.round(t)+", "+X.transform(jt(e))+", "+X.transform(jt(n))+", "+jt(It.transform(s))+")"},R={test:t=>ut.test(t)||Ie.test(t)||pt.test(t),parse:t=>ut.test(t)?ut.parse(t):pt.test(t)?pt.parse(t):Ie.parse(t),transform:t=>typeof t=="string"?t:t.hasOwnProperty("red")?ut.transform(t):pt.transform(t),getAnimatableNone:t=>{const e=R.parse(t);return e.alpha=0,R.transform(e)}},No=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function Io(t){var e,n;return isNaN(t)&&typeof t=="string"&&(((e=t.match(mn))==null?void 0:e.length)||0)+(((n=t.match(No))==null?void 0:n.length)||0)>0}const Ci="number",Si="color",Bo="var",Fo="var(",Kn="${}",Oo=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function Bt(t){const e=t.toString(),n=[],s={color:[],number:[],var:[]},i=[];let o=0;const a=e.replace(Oo,l=>(R.test(l)?(s.color.push(o),i.push(Si),n.push(R.parse(l))):l.startsWith(Fo)?(s.var.push(o),i.push(Bo),n.push(l)):(s.number.push(o),i.push(Ci),n.push(parseFloat(l))),++o,Kn)).split(Kn);return{values:n,split:a,indexes:s,types:i}}function Pi(t){return Bt(t).values}function Vi(t){const{split:e,types:n}=Bt(t),s=e.length;return i=>{let o="";for(let r=0;r<s;r++)if(o+=e[r],i[r]!==void 0){const a=n[r];a===Ci?o+=jt(i[r]):a===Si?o+=R.transform(i[r]):o+=i[r]}return o}}const Uo=t=>typeof t=="number"?0:R.test(t)?R.getAnimatableNone(t):t;function _o(t){const e=Pi(t);return Vi(t)(e.map(Uo))}const ot={test:Io,parse:Pi,createTransformer:Vi,getAnimatableNone:_o};function be(t,e,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?t+(e-t)*6*n:n<1/2?e:n<2/3?t+(e-t)*(2/3-n)*6:t}function Wo({hue:t,saturation:e,lightness:n,alpha:s}){t/=360,e/=100,n/=100;let i=0,o=0,r=0;if(!e)i=o=r=n;else{const a=n<.5?n*(1+e):n+e-n*e,l=2*n-a;i=be(l,a,t+1/3),o=be(l,a,t),r=be(l,a,t-1/3)}return{red:Math.round(i*255),green:Math.round(o*255),blue:Math.round(r*255),alpha:s}}function ae(t,e){return n=>n>0?e:t}const D=(t,e,n)=>t+(e-t)*n,Te=(t,e,n)=>{const s=t*t,i=n*(e*e-s)+s;return i<0?0:Math.sqrt(i)},Ho=[Ie,ut,pt],Ko=t=>Ho.find(e=>e.test(t));function $n(t){const e=Ko(t);if(!e)return!1;let n=e.parse(t);return e===pt&&(n=Wo(n)),n}const Gn=(t,e)=>{const n=$n(t),s=$n(e);if(!n||!s)return ae(t,e);const i={...n};return o=>(i.red=Te(n.red,s.red,o),i.green=Te(n.green,s.green,o),i.blue=Te(n.blue,s.blue,o),i.alpha=D(n.alpha,s.alpha,o),ut.transform(i))},Be=new Set(["none","hidden"]);function $o(t,e){return Be.has(t)?n=>n<=0?t:e:n=>n>=1?e:t}function Go(t,e){return n=>D(t,e,n)}function gn(t){return typeof t=="number"?Go:typeof t=="string"?fn(t)?ae:R.test(t)?Gn:Xo:Array.isArray(t)?Ai:typeof t=="object"?R.test(t)?Gn:zo:ae}function Ai(t,e){const n=[...t],s=n.length,i=t.map((o,r)=>gn(o)(o,e[r]));return o=>{for(let r=0;r<s;r++)n[r]=i[r](o);return n}}function zo(t,e){const n={...t,...e},s={};for(const i in n)t[i]!==void 0&&e[i]!==void 0&&(s[i]=gn(t[i])(t[i],e[i]));return i=>{for(const o in s)n[o]=s[o](i);return n}}function Yo(t,e){const n=[],s={color:0,var:0,number:0};for(let i=0;i<e.values.length;i++){const o=e.types[i],r=t.indexes[o][s[o]],a=t.values[r]??0;n[i]=a,s[o]++}return n}const Xo=(t,e)=>{const n=ot.createTransformer(e),s=Bt(t),i=Bt(e);return s.indexes.var.length===i.indexes.var.length&&s.indexes.color.length===i.indexes.color.length&&s.indexes.number.length>=i.indexes.number.length?Be.has(t)&&!i.values.length||Be.has(e)&&!s.values.length?$o(t,e):Ut(Ai(Yo(s,i),i.values),n):ae(t,e)};function Mi(t,e,n){return typeof t=="number"&&typeof e=="number"&&typeof n=="number"?D(t,e,n):gn(t)(t,e)}const qo=t=>{const e=({timestamp:n})=>t(n);return{start:(n=!0)=>M.update(e,n),stop:()=>rt(e),now:()=>N.isProcessing?N.timestamp:O.now()}},Di=(t,e,n=10)=>{let s="";const i=Math.max(Math.round(e/n),2);for(let o=0;o<i;o++)s+=Math.round(t(o/(i-1))*1e4)/1e4+", ";return`linear(${s.substring(0,s.length-2)})`},le=2e4;function yn(t){let e=0;const n=50;let s=t.next(e);for(;!s.done&&e<le;)e+=n,s=t.next(e);return e>=le?1/0:e}function Zo(t,e=100,n){const s=n({...t,keyframes:[0,e]}),i=Math.min(yn(s),le);return{type:"keyframes",ease:o=>s.next(i*o).value/e,duration:H(i)}}const Qo=5;function Ei(t,e,n){const s=Math.max(e-Qo,0);return li(n-t(s),e-s)}const E={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1},we=.001;function Jo({duration:t=E.duration,bounce:e=E.bounce,velocity:n=E.velocity,mass:s=E.mass}){let i,o,r=1-e;r=q(E.minDamping,E.maxDamping,r),t=q(E.minDuration,E.maxDuration,H(t)),r<1?(i=c=>{const u=c*r,d=u*t,h=u-n,m=Fe(c,r),p=Math.exp(-d);return we-h/m*p},o=c=>{const d=c*r*t,h=d*n+n,m=Math.pow(r,2)*Math.pow(c,2)*t,p=Math.exp(-d),g=Fe(Math.pow(c,2),r);return(-i(c)+we>0?-1:1)*((h-m)*p)/g}):(i=c=>{const u=Math.exp(-c*t),d=(c-n)*t+1;return-we+u*d},o=c=>{const u=Math.exp(-c*t),d=(n-c)*(t*t);return u*d});const a=5/t,l=ea(i,o,a);if(t=z(t),isNaN(l))return{stiffness:E.stiffness,damping:E.damping,duration:t};{const c=Math.pow(l,2)*s;return{stiffness:c,damping:r*2*Math.sqrt(s*c),duration:t}}}const ta=12;function ea(t,e,n){let s=n;for(let i=1;i<ta;i++)s=s-t(s)/e(s);return s}function Fe(t,e){return t*Math.sqrt(1-e*e)}const na=["duration","bounce"],sa=["stiffness","damping","mass"];function zn(t,e){return e.some(n=>t[n]!==void 0)}function ia(t){let e={velocity:E.velocity,stiffness:E.stiffness,damping:E.damping,mass:E.mass,isResolvedFromDuration:!1,...t};if(!zn(t,sa)&&zn(t,na))if(t.visualDuration){const n=t.visualDuration,s=2*Math.PI/(n*1.2),i=s*s,o=2*q(.05,1,1-(t.bounce||0))*Math.sqrt(i);e={...e,mass:E.mass,stiffness:i,damping:o}}else{const n=Jo(t);e={...e,...n,mass:E.mass},e.isResolvedFromDuration=!0}return e}function ce(t=E.visualDuration,e=E.bounce){const n=typeof t!="object"?{visualDuration:t,keyframes:[0,1],bounce:e}:t;let{restSpeed:s,restDelta:i}=n;const o=n.keyframes[0],r=n.keyframes[n.keyframes.length-1],a={done:!1,value:o},{stiffness:l,damping:c,mass:u,duration:d,velocity:h,isResolvedFromDuration:m}=ia({...n,velocity:-H(n.velocity||0)}),p=h||0,g=c/(2*Math.sqrt(l*u)),x=r-o,y=H(Math.sqrt(l/u)),b=Math.abs(x)<5;s||(s=b?E.restSpeed.granular:E.restSpeed.default),i||(i=b?E.restDelta.granular:E.restDelta.default);let v;if(g<1){const w=Fe(y,g);v=A=>{const j=Math.exp(-g*y*A);return r-j*((p+g*y*x)/w*Math.sin(w*A)+x*Math.cos(w*A))}}else if(g===1)v=w=>r-Math.exp(-y*w)*(x+(p+y*x)*w);else{const w=y*Math.sqrt(g*g-1);v=A=>{const j=Math.exp(-g*y*A),V=Math.min(w*A,300);return r-j*((p+g*y*x)*Math.sinh(V)+w*x*Math.cosh(V))/w}}const S={calculatedDuration:m&&d||null,next:w=>{const A=v(w);if(m)a.done=w>=d;else{let j=w===0?p:0;g<1&&(j=w===0?z(p):Ei(v,w,A));const V=Math.abs(j)<=s,I=Math.abs(r-A)<=i;a.done=V&&I}return a.value=a.done?r:A,a},toString:()=>{const w=Math.min(yn(S),le),A=Di(j=>S.next(w*j).value,w,30);return w+"ms "+A},toTransition:()=>{}};return S}ce.applyToOptions=t=>{const e=Zo(t,100,ce);return t.ease=e.ease,t.duration=z(e.duration),t.type="keyframes",t};function Oe({keyframes:t,velocity:e=0,power:n=.8,timeConstant:s=325,bounceDamping:i=10,bounceStiffness:o=500,modifyTarget:r,min:a,max:l,restDelta:c=.5,restSpeed:u}){const d=t[0],h={done:!1,value:d},m=V=>a!==void 0&&V<a||l!==void 0&&V>l,p=V=>a===void 0?l:l===void 0||Math.abs(a-V)<Math.abs(l-V)?a:l;let g=n*e;const x=d+g,y=r===void 0?x:r(x);y!==x&&(g=y-d);const b=V=>-g*Math.exp(-V/s),v=V=>y+b(V),S=V=>{const I=b(V),B=v(V);h.done=Math.abs(I)<=c,h.value=h.done?y:B};let w,A;const j=V=>{m(h.value)&&(w=V,A=ce({keyframes:[h.value,p(h.value)],velocity:Ei(v,V,h.value),damping:i,stiffness:o,restDelta:c,restSpeed:u}))};return j(0),{calculatedDuration:null,next:V=>{let I=!1;return!A&&w===void 0&&(I=!0,S(V),j(V)),w!==void 0&&V>=w?A.next(V-w):(!I&&S(V),h)}}}function ra(t,e,n){const s=[],i=n||Q.mix||Mi,o=t.length-1;for(let r=0;r<o;r++){let a=i(t[r],t[r+1]);if(e){const l=Array.isArray(e)?e[r]||K:e;a=Ut(l,a)}s.push(a)}return s}function oa(t,e,{clamp:n=!0,ease:s,mixer:i}={}){const o=t.length;if(ln(o===e.length),o===1)return()=>e[0];if(o===2&&e[0]===e[1])return()=>e[1];const r=t[0]===t[1];t[0]>t[o-1]&&(t=[...t].reverse(),e=[...e].reverse());const a=ra(e,s,i),l=a.length,c=u=>{if(r&&u<t[0])return e[0];let d=0;if(l>1)for(;d<t.length-2&&!(u<t[d+1]);d++);const h=Nt(t[d],t[d+1],u);return a[d](h)};return n?u=>c(q(t[0],t[o-1],u)):c}function aa(t,e){const n=t[t.length-1];for(let s=1;s<=e;s++){const i=Nt(0,e,s);t.push(D(n,1,i))}}function la(t){const e=[0];return aa(e,t.length-1),e}function ca(t,e){return t.map(n=>n*e)}function ua(t,e){return t.map(()=>e||yi).splice(0,t.length-1)}function Rt({duration:t=300,keyframes:e,times:n,ease:s="easeInOut"}){const i=To(s)?s.map(_n):_n(s),o={done:!1,value:e[0]},r=ca(n&&n.length===e.length?n:la(e),t),a=oa(r,e,{ease:Array.isArray(i)?i:ua(e,i)});return{calculatedDuration:t,next:l=>(o.value=a(l),o.done=l>=t,o)}}const da=t=>t!==null;function xn(t,{repeat:e,repeatType:n="loop"},s,i=1){const o=t.filter(da),a=i<0||e&&n!=="loop"&&e%2===1?0:o.length-1;return!a||s===void 0?o[a]:s}const ha={decay:Oe,inertia:Oe,tween:Rt,keyframes:Rt,spring:ce};function ji(t){typeof t.type=="string"&&(t.type=ha[t.type])}class vn{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(e=>{this.resolve=e})}notifyFinished(){this.resolve()}then(e,n){return this.finished.then(e,n)}}const fa=t=>t/100;class bn extends vn{constructor(e){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{var s,i;const{motionValue:n}=this.options;n&&n.updatedAt!==O.now()&&this.tick(O.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),(i=(s=this.options).onStop)==null||i.call(s))},this.options=e,this.initAnimation(),this.play(),e.autoplay===!1&&this.pause()}initAnimation(){const{options:e}=this;ji(e);const{type:n=Rt,repeat:s=0,repeatDelay:i=0,repeatType:o,velocity:r=0}=e;let{keyframes:a}=e;const l=n||Rt;l!==Rt&&typeof a[0]!="number"&&(this.mixKeyframes=Ut(fa,Mi(a[0],a[1])),a=[0,100]);const c=l({...e,keyframes:a});o==="mirror"&&(this.mirroredGenerator=l({...e,keyframes:[...a].reverse(),velocity:-r})),c.calculatedDuration===null&&(c.calculatedDuration=yn(c));const{calculatedDuration:u}=c;this.calculatedDuration=u,this.resolvedDuration=u+i,this.totalDuration=this.resolvedDuration*(s+1)-i,this.generator=c}updateTime(e){const n=Math.round(e-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=n}tick(e,n=!1){const{generator:s,totalDuration:i,mixKeyframes:o,mirroredGenerator:r,resolvedDuration:a,calculatedDuration:l}=this;if(this.startTime===null)return s.next(0);const{delay:c=0,keyframes:u,repeat:d,repeatType:h,repeatDelay:m,type:p,onUpdate:g,finalKeyframe:x}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-i/this.speed,this.startTime)),n?this.currentTime=e:this.updateTime(e);const y=this.currentTime-c*(this.playbackSpeed>=0?1:-1),b=this.playbackSpeed>=0?y<0:y>i;this.currentTime=Math.max(y,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=i);let v=this.currentTime,S=s;if(d){const V=Math.min(this.currentTime,i)/a;let I=Math.floor(V),B=V%1;!B&&V>=1&&(B=1),B===1&&I--,I=Math.min(I,d+1),!!(I%2)&&(h==="reverse"?(B=1-B,m&&(B-=m/a)):h==="mirror"&&(S=r)),v=q(0,1,B)*a}const w=b?{done:!1,value:u[0]}:S.next(v);o&&(w.value=o(w.value));let{done:A}=w;!b&&l!==null&&(A=this.playbackSpeed>=0?this.currentTime>=i:this.currentTime<=0);const j=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&A);return j&&p!==Oe&&(w.value=xn(u,this.options,x,this.speed)),g&&g(w.value),j&&this.finish(),w}then(e,n){return this.finished.then(e,n)}get duration(){return H(this.calculatedDuration)}get iterationDuration(){const{delay:e=0}=this.options||{};return this.duration+H(e)}get time(){return H(this.currentTime)}set time(e){var n;e=z(e),this.currentTime=e,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.playbackSpeed),(n=this.driver)==null||n.start(!1)}get speed(){return this.playbackSpeed}set speed(e){this.updateTime(O.now());const n=this.playbackSpeed!==e;this.playbackSpeed=e,n&&(this.time=H(this.currentTime))}play(){var i,o;if(this.isStopped)return;const{driver:e=qo,startTime:n}=this.options;this.driver||(this.driver=e(r=>this.tick(r))),(o=(i=this.options).onPlay)==null||o.call(i);const s=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=s):this.holdTime!==null?this.startTime=s-this.holdTime:this.startTime||(this.startTime=n??s),this.state==="finished"&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(O.now()),this.holdTime=this.currentTime}complete(){this.state!=="running"&&this.play(),this.state="finished",this.holdTime=null}finish(){var e,n;this.notifyFinished(),this.teardown(),this.state="finished",(n=(e=this.options).onComplete)==null||n.call(e)}cancel(){var e,n;this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),(n=(e=this.options).onCancel)==null||n.call(e)}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(e){return this.startTime=0,this.tick(e,!0)}attachTimeline(e){var n;return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),(n=this.driver)==null||n.stop(),e.observe(this)}}function ma(t){for(let e=1;e<t.length;e++)t[e]??(t[e]=t[e-1])}const dt=t=>t*180/Math.PI,Ue=t=>{const e=dt(Math.atan2(t[1],t[0]));return _e(e)},pa={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:t=>(Math.abs(t[0])+Math.abs(t[3]))/2,rotate:Ue,rotateZ:Ue,skewX:t=>dt(Math.atan(t[1])),skewY:t=>dt(Math.atan(t[2])),skew:t=>(Math.abs(t[1])+Math.abs(t[2]))/2},_e=t=>(t=t%360,t<0&&(t+=360),t),Yn=Ue,Xn=t=>Math.sqrt(t[0]*t[0]+t[1]*t[1]),qn=t=>Math.sqrt(t[4]*t[4]+t[5]*t[5]),ga={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:Xn,scaleY:qn,scale:t=>(Xn(t)+qn(t))/2,rotateX:t=>_e(dt(Math.atan2(t[6],t[5]))),rotateY:t=>_e(dt(Math.atan2(-t[2],t[0]))),rotateZ:Yn,rotate:Yn,skewX:t=>dt(Math.atan(t[4])),skewY:t=>dt(Math.atan(t[1])),skew:t=>(Math.abs(t[1])+Math.abs(t[4]))/2};function We(t){return t.includes("scale")?1:0}function He(t,e){if(!t||t==="none")return We(e);const n=t.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let s,i;if(n)s=ga,i=n;else{const a=t.match(/^matrix\(([-\d.e\s,]+)\)$/u);s=pa,i=a}if(!i)return We(e);const o=s[e],r=i[1].split(",").map(xa);return typeof o=="function"?o(r):r[o]}const ya=(t,e)=>{const{transform:n="none"}=getComputedStyle(t);return He(n,e)};function xa(t){return parseFloat(t.trim())}const Ct=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],St=new Set(Ct),Zn=t=>t===wt||t===T,va=new Set(["x","y","z"]),ba=Ct.filter(t=>!va.has(t));function Ta(t){const e=[];return ba.forEach(n=>{const s=t.getValue(n);s!==void 0&&(e.push([n,s.get()]),s.set(n.startsWith("scale")?1:0))}),e}const it={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:(t,{transform:e})=>He(e,"x"),y:(t,{transform:e})=>He(e,"y")};it.translateX=it.x;it.translateY=it.y;const ht=new Set;let Ke=!1,$e=!1,Ge=!1;function Ri(){if($e){const t=Array.from(ht).filter(s=>s.needsMeasurement),e=new Set(t.map(s=>s.element)),n=new Map;e.forEach(s=>{const i=Ta(s);i.length&&(n.set(s,i),s.render())}),t.forEach(s=>s.measureInitialState()),e.forEach(s=>{s.render();const i=n.get(s);
1i&&i.forEach(([o,r])=>{var a;(a=s.getValue(o))==null||a.set(r)})}),t.forEach(s=>s.measureEndState()),t.forEach(s=>{s.suspendedScrollY!==void 0&&window.scrollTo(0,s.suspendedScrollY)})}$e=!1,Ke=!1,ht.forEach(t=>t.complete(Ge)),ht.clear()}function Li(){ht.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&($e=!0)})}function wa(){Ge=!0,Li(),Ri(),Ge=!1}class Tn{constructor(e,n,s,i,o,r=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...e],this.onComplete=n,this.name=s,this.motionValue=i,this.element=o,this.isAsync=r}scheduleResolve(){this.state="scheduled",this.isAsync?(ht.add(this),Ke||(Ke=!0,M.read(Li),M.resolveKeyframes(Ri))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:e,name:n,element:s,motionValue:i}=this;if(e[0]===null){const o=i==null?void 0:i.get(),r=e[e.length-1];if(o!==void 0)e[0]=o;else if(s&&n){const a=s.readValue(n,r);a!=null&&(e[0]=a)}e[0]===void 0&&(e[0]=r),i&&o===void 0&&i.set(e[0])}ma(e)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(e=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,e),ht.delete(this)}cancel(){this.state==="scheduled"&&(ht.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const Ca=t=>t.startsWith("--");function Sa(t,e,n){Ca(e)?t.style.setProperty(e,n):t.style[e]=n}const Pa=cn(()=>window.ScrollTimeline!==void 0),Va={};function Aa(t,e){const n=cn(t);return()=>Va[e]??n()}const ki=Aa(()=>{try{document.createElement("div").animate({opacity:0}
1,{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),Et=([t,e,n,s])=>`cubic-bezier(${t}, ${e}, ${n}, ${s})`,Qn={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Et([0,.65,.55,1]),circOut:Et([.55,0,1,.45]),backIn:Et([.31,.01,.66,-.59]),backOut:Et([.33,1.53,.69,.99])};function Ni(t,e){if(t)return typeof t=="function"?ki()?Di(t,e):"ease-out":xi(t)?Et(t):Array.isArray(t)?t.map(n=>Ni(n,e)||Qn.easeOut):Qn[t]}function Ma(t,e,n,{delay:s=0,duration:i=300,repeat:o=0,repeatType:r="loop",ease:a="easeOut",times:l}={},c=void 0){const u={[e]:n};l&&(u.offset=l);const d=Ni(a,i);Array.isArray(d)&&(u.easing=d);const h={delay:s,duration:i,easing:Array.isArray(d)?"linear":d,fill:"both",iterations:o+1,direction:r==="reverse"?"alternate":"normal"};return c&&(h.pseudoElement=c),t.animate(u,h)}function Ii(t){return typeof t=="function"&&"applyToOptions"in t}function Da({type:t,...e}){return Ii(t)&&ki()?t.applyToOptions(e):(e.duration??(e.duration=300),e.ease??(e.ease="easeOut"),e)}class Bi extends vn{constructor(e){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!e)return;const{element:n,name:s,keyframes:i,pseudoElement:o,allowFlatten:r=!1,finalKeyframe:a,onComplete:l}=e;this.isPseudoElement=!!o,this.allowFlatten=r,this.options=e,ln(typeof e.type!="string");const c=Da(e);this.animation=Ma(n,s,i,c,o),c.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!o){const u=xn(i,this.options,a,this.speed);this.updateMotionValue?this.updateMotionValue(u):Sa(n,s,u),this.animation.cancel()}l==null||l(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){var e,n;(n=(e=this.animation).finish)==null||n.call(e)}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:e}=this;e==="idle"||e==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){var n,s,i;const e=(n=this.options)==null?void 0:n.element;!this.isPseudoElement&&(e!=null&&e.isConnected)&&((i=(s=this.animation).commitStyles)==null||i.call(s))}get duration(){var n,s;const e=((s=(n=this.animation.effect)==null?void 0:n.getComputedTiming)==null?void 0:s.call(n).duration)||0;return H(Number(e))}get iterationDuration(){const{delay:e=0}=this.options||{};return this.duration+H(e)}get time(){return H(Number(this.animation.currentTime)||0)}set time(e){this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=z(e)}get speed(){return this.animation.playbackRate}set speed(e){e<0&&(this.finishedTime=null),this.animation.playbackRate=e}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(e){this.manualStartTime=this.animation.startTime=e}attachTimeline({timeline:e,observe:n}){var s;return this.allowFlatten&&((s=this.animation.effect)==null||s.updateTiming({easing:"linear"})),this.animation.onfinish=null,e&&Pa()?(this.animation.timeline=e,K):n(this)}}const Fi={anticipate:mi,backInOut:fi,circInOut:gi};function Ea(t){return t in Fi}function ja(t){typeof t.ease=="string"&&Ea(t.ease)&&(t.ease=Fi[t.ease])}const Ce=10;class Ra extends Bi{constructor(e){ja(e),ji(e),super(e),e.startTime!==void 0&&(this.startTime=e.startTime),this.options=e}updateMotionValue(e){const{motionValue:n,onUpdate:s,onComplete:i,element:o,...r}=this.options;if(!n)return;if(e!==void 0){n.set(e);return}const a=new bn({...r,autoplay:!1}),l=Math.max(Ce,O.now()-this.startTime),c=q(0,Ce,l-Ce);n.setWithVelocity(a.sample(Math.max(0,l-c)).value,a.sample(l).value,c),a.stop()}}const Jn=(t,e)=>e==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&(ot.test(t)||t==="0")&&!t.startsWith("url("));function La(t){const e=t[0];if(t.length===1)return!0;for(let n=0;n<t.length;n++)if(t[n]!==e)return!0}function ka(t,e,n,s){const i=t[0];if(i===null)return!1;if(e==="display"||e==="visibility")return!0;const o=t[t.length-1],r=Jn(i,e),a=Jn(o,e);return!r||!a?!1:La(t)||(n==="spring"||Ii(n))&&s}function ze(t){t.duration=0,t.type="keyframes"}const Na=new Set(["opacity","clipPath","filter","transform"]),Ia=cn(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function Ba(t){var u;const{motionValue:e,name:n,repeatDelay:s,repeatType:i,damping:o,type:r}=t;if(!(((u=e==null?void 0:e.owner)==null?void 0:u.current)instanceof HTMLElement))return!1;const{onUpdate:l,transformTemplate:c}=e.owner.getProps();return Ia()&&n&&Na.has(n)&&(n!=="transform"||!c)&&!l&&!s&&i!=="mirror"&&o!==0&&r!=="inertia"}const Fa=40;class Oa extends vn{constructor({autoplay:e=!0,delay:n=0,type:s="
1keyframes",repeat:i=0,repeatDelay:o=0,repeatType:r="loop",keyframes:a,name:l,motionValue:c,element:u,...d}){var p;super(),this.stop=()=>{var g,x;this._animation&&(this._animation.stop(),(g=this.stopTimeline)==null||g.call(this)),(x=this.keyframeResolver)==null||x.cancel()},this.createdAt=O.now();const h={autoplay:e,delay:n,type:s,repeat:i,repeatDelay:o,repeatType:r,name:l,motionValue:c,element:u,...d},m=(u==null?void 0:u.KeyframeResolver)||Tn;this.keyframeResolver=new m(a,(g,x,y)=>this.onKeyframesResolved(g,x,h,!y),l,c,u),(p=this.keyframeResolver)==null||p.scheduleResolve()}onKeyframesResolved(e,n,s,i){var x,y;this.keyframeResolver=void 0;const{name:o,type:r,velocity:a,delay:l,isHandoff:c,onUpdate:u}=s;this.resolvedAt=O.now(),ka(e,o,r,a)||((Q.instantAnimations||!l)&&(u==null||u(xn(e,s,n))),e[0]=e[e.length-1],ze(s),s.repeat=0);const h={startTime:i?this.resolvedAt?this.resolvedAt-this.createdAt>Fa?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:n,...s,keyframes:e},m=!c&&Ba(h),p=(y=(x=h.motionValue)==null?void 0:x.owner)==null?void 0:y.current,g=m?new Ra({...h,element:p}):new bn(h);g.finished.then(()=>{this.notifyFinished()}).catch(K),this.pendingTimeline&&(this.stopTimeline=g.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=g}get finished(){return this._animation?this.animation.finished:this._finished}then(e,n){return this.finished.finally(e).then(()=>{})}get animation(){var e;return this._animation||((e=this.keyframeResolver)==null||e.resume(),wa()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(e){this.animation.time=e}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(e){this.animation.speed=e}get startTime(){return this.animation.startTime}attachTimeline(e){return this._animation?this.stopTimeline=this.animation.attachTimeline(e):this.pendingTimeline=e,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){var e;this._animation&&this.animation.cancel(),(e=this.keyframeResolver)==null||e.cancel()}}function Oi(t,e,n,s=0,i=1){const o=Array.from(t).sort((c,u)=>c.sortNodePosition(u)).indexOf(e),r=t.size,a=(r-1)*s;return typeof n=="function"?n(o,r):i===1?o*s:a-o*s}const Ua=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function _a(t){const e=Ua.exec(t);if(!e)return[,];const[,n,s,i]=e;return[`--${n??s}`,i]}function Ui(t,e,n=1){const[s,i]=_a(t);if(!s)return;const o=window.getComputedStyle(e).getPropertyValue(s);if(o){const r=o.trim();return ri(r)?parseFloat(r):r}return fn(i)?Ui(i,e,n+1):i}const Wa={type:"spring",stiffness:500,damping:25,restSpeed:10},Ha=t=>({type:"spring",stiffness:550,damping:t===0?2*Math.sqrt(550):30,restSpeed:10}),Ka={type:"keyframes",duration:.8},$a={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},Ga=(t,{keyframes:e})=>e.length>2?Ka:St.has(t)?t.startsWith("scale")?Ha(e[1]):Wa:$a,za=t=>t!==null;function Ya(t,{repeat:e,repeatType:n="loop"},s){const i=t.filter(za),o=e&&n!=="loop"&&e%2===1?0:i.length-1;return i[o]}function _i(t,e){if(t!=null&&t.inherit&&e){const{inherit:n,...s}=t;return{...e,...s}}return t}function wn(t,e){const n=(t==null?void 0:t[e])??(t==null?void 0:t.default)??t;return n!==t?_i(n,t):n}function Xa({when:t,delay:e,delayChildren:n,staggerChildren:s,staggerDirection:i,repeat:o,repeatType:r,repeatDelay:a,from:l,elapsed:c,...u}){return!!Object.keys(u).length}const Cn=(t,e,n,s={},i,o)=>r=>{const a=wn(s,t)||{},l=a.delay||s.delay||0;let{elapsed:c=0}=s;c=c-z(l);const u={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:e.getVelocity(),...a,delay:-c,onUpdate:h=>{e.set(h),a.onUpdate&&a.onUpdate(h)},onComplete:()=>{r(),a.onComplete&&a.onComplete()},name:t,motionValue:e,element:o?void 0:i};Xa(a)||Object.assign(u,Ga(t,u)),u.duration&&(u.duration=z(u.duration)),u.repeatDelay&&(u.repeatDelay=z(u.repeatDelay)),u.from!==void 0&&(u.keyframes[0]=u.from);let d=!1;if((u.type===!1||u.duration===0&&!u.repeatDelay)&&(ze(u),u.delay===0&&(
1d=!0)),(Q.instantAnimations||Q.skipAnimations||i!=null&&i.shouldSkipAnimations)&&(d=!0,ze(u),u.delay=0),u.allowFlatten=!a.type&&!a.ease,d&&!o&&e.get()!==void 0){const h=Ya(u.keyframes,a);if(h!==void 0){M.update(()=>{u.onUpdate(h),u.onComplete()});return}}return a.isSync?new bn(u):new Oa(u)};function ts(t){const e=[{},{}];return t==null||t.values.forEach((n,s)=>{e[0][s]=n.get(),e[1][s]=n.getVelocity()}),e}function Sn(t,e,n,s){if(typeof e=="function"){const[i,o]=ts(s);e=e(n!==void 0?n:t.custom,i,o)}if(typeof e=="string"&&(e=t.variants&&t.variants[e]),typeof e=="function"){const[i,o]=ts(s);e=e(n!==void 0?n:t.custom,i,o)}return e}function bt(t,e,n){const s=t.getProps();return Sn(s,e,n!==void 0?n:s.custom,t)}const Wi=new Set(["width","height","top","left","right","bottom",...Ct]),es=30,qa=t=>!isNaN(parseFloat(t));class Za{constructor(e,n={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=s=>{var o;const i=O.now();if(this.updatedAt!==i&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(s),this.current!==this.prev&&((o=this.events.change)==null||o.notify(this.current),this.dependents))for(const r of this.dependents)r.dirty()},this.hasAnimated=!1,this.setCurrent(e),this.owner=n.owner}setCurrent(e){this.current=e,this.updatedAt=O.now(),this.canTrackVelocity===null&&e!==void 0&&(this.canTrackVelocity=qa(this.current))}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return this.on("change",e)}on(e,n){this.events[e]||(this.events[e]=new un);const s=this.events[e].add(n);return e==="change"?()=>{s(),M.read(()=>{this.events.change.getSize()||this.stop()})}:s}clearListeners(){for(const e in this.events)this.events[e].clear()}attach(e,n){this.passiveEffect=e,this.stopPassiveEffect=n}set(e){this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e)}setWithVelocity(e,n,s){this.set(n),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-s}jump(e,n=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,n&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){var e;(e=this.events.change)==null||e.notify(this.current)}addDependent(e){this.dependents||(this.dependents=new Set),this.dependents.add(e)}removeDependent(e){this.dependents&&this.dependents.delete(e)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const e=O.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||e-this.updatedAt>es)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,es);return li(parseFloat(this.current)-parseFloat(this.prevFrameValue),n)}start(e){return this.stop(),new Promise(n=>{this.hasAnimated=!0,this.animation=e(n),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(){var e,n;(e=this.dependents)==null||e.clear(),(n=this.events.destroy)==null||n.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function Tt(t,e){return new Za(t,e)}const Ye=t=>Array.isArray(t);function Qa(t,e,n){t.hasValue(e)?t.getValue(e).set(n):t.addValue(e,Tt(n))}function Ja(t){return Ye(t)?t[t.length-1]||0:t}function tl(t,e){const n=bt(t,e);let{transitionEnd:s={},transition:i={},...o}=n||{};o={...o,...s};for(const r in o){const a=Ja(o[r]);Qa(t,r,a)}}const F=t=>!!(t&&t.getVelocity);function el(t){return!!(F(t)&&t.add)}function Xe(t,e){const n=t.getValue("willChange");if(el(n))return n.add(e);if(!n&&Q.WillChange){const s=new Q.WillChange("auto");t.addValue("willChange",s),s.add(e)}}function Pn(t){return t.replace(/([A-Z])/g,e=>`-${e.toLowerCase()}`)}const nl="framerAppearId",Hi="data-"+Pn(nl);function Ki(t){return t.props[Hi]}function sl({protectedKeys:t,needsAnimating:e},n){const s=t.hasOwnProperty(n)&&e[n]!==!0;return e[n]=!1,s}
1function $i(t,e,{delay:n=0,transitionOverride:s,type:i}={}){let{transition:o,transitionEnd:r,...a}=e;const l=t.getDefaultTransition();o=o?_i(o,l):l;const c=o==null?void 0:o.reduceMotion;s&&(o=s);const u=[],d=i&&t.animationState&&t.animationState.getState()[i];for(const h in a){const m=t.getValue(h,t.latestValues[h]??null),p=a[h];if(p===void 0||d&&sl(d,h))continue;const g={delay:n,...wn(o||{},h)},x=m.get();if(x!==void 0&&!m.isAnimating&&!Array.isArray(p)&&p===x&&!g.velocity)continue;let y=!1;if(window.MotionHandoffAnimation){const S=Ki(t);if(S){const w=window.MotionHandoffAnimation(S,h,M);w!==null&&(g.startTime=w,y=!0)}}Xe(t,h);const b=c??t.shouldReduceMotion;m.start(Cn(h,m,p,b&&Wi.has(h)?{type:!1}:g,t,y));const v=m.animation;v&&u.push(v)}if(r){const h=()=>M.update(()=>{r&&tl(t,r)});u.length?Promise.all(u).then(h):h()}return u}function qe(t,e,n={}){var l;const s=bt(t,e,n.type==="exit"?(l=t.presenceContext)==null?void 0:l.custom:void 0);let{transition:i=t.getDefaultTransition()||{}}=s||{};n.transitionOverride&&(i=n.transitionOverride);const o=s?()=>Promise.all($i(t,s,n)):()=>Promise.resolve(),r=t.variantChildren&&t.variantChildren.size?(c=0)=>{const{delayChildren:u=0,staggerChildren:d,staggerDirection:h}=i;return il(t,e,c,u,d,h,n)}:()=>Promise.resolve(),{when:a}=i;if(a){const[c,u]=a==="beforeChildren"?[o,r]:[r,o];return c().then(()=>u())}else return Promise.all([o(),r(n.delay)])}function il(t,e,n=0,s=0,i=0,o=1,r){const a=[];for(const l of t.variantChildren)l.notify("AnimationStart",e),a.push(qe(l,e,{...r,delay:n+(typeof s=="function"?0:s)+Oi(t.variantChildren,l,s,i,o)}).then(()=>l.notify("AnimationComplete",e)));return Promise.all(a)}function rl(t,e,n={}){t.notify("AnimationStart",e);let s;if(Array.isArray(e)){const i=e.map(o=>qe(t,o,n));s=Promise.all(i)}else if(typeof e=="string")s=qe(t,e,n);else{const i=typeof e=="function"?bt(t,e,n.custom):e;s=Promise.all($i(t,i,n))}return s.then(()=>{t.notify("AnimationComplete",e)})}const ol={test:t=>t==="auto",parse:t=>t},Gi=t=>e=>e.test(t),zi=[wt,T,X,et,ko,Lo,ol],ns=t=>zi.find(Gi(t));function al(t){return typeof t=="number"?t===0:t!==null?t==="none"||t==="0"||ai(t):!0}const ll=new Set(["brightness","contrast","saturate","opacity"]);function cl(t){const[e,n]=t.slice(0,-1).split("(");if(e==="drop-shadow")return t;const[s]=n.match(mn)||[];if(!s)return t;const i=n.replace(s,"");let o=ll.has(e)?1:0;return s!==n&&(o*=100),e+"("+o+i+")"}const ul=/\b([a-z-]*)\(.*?\)/gu,Ze={...ot,getAnimatableNone:t=>{const e=t.match(ul);return e?e.map(cl).join(" "):t}},ss={...wt,transform:Math.round},dl={rotate:et,rotateX:et,rotateY:et,rotateZ:et,scale:Zt,scaleX:Zt,scaleY:Zt,scaleZ:Zt,skew:et,skewX:et,skewY:et,distance:T,translateX:T,translateY:T,translateZ:T,x:T,y:T,z:T,perspective:T,transformPerspective:T,opacity:It,originX:Hn,originY:Hn,originZ:T},Vn={borderWidth:T,borderTopWidth:T,borderRightWidth:T,borderBottomWidth:T,borderLeftWidth:T,borderRadius:T,borderTopLeftRadius:T,borderTopRightRadius:T,borderBottomRightRadius:T,borderBottomLeftRadius:T,width:T,maxWidth:T,height:T,maxHeight:T,top:T,right:T,bottom:T,left:T,inset:T,insetBlock:T,insetBlockStart:T,insetBlockEnd:T,insetInline:T,insetInlineStart:T,insetInlineEnd:T,padding:T,paddingTop:T,paddingRight:T,paddingBottom:T,paddingLeft:T,paddingBlock:T,paddingBlockStart:T,paddingBlockEnd:T,paddingInline:T,paddingInlineStart:T,paddingInlineEnd:T,margin:T,marginTop:T,marginRight:T,marginBottom:T,marginLeft:T,marginBlock:T,marginBlockStart:T,marginBlockEnd:T,marginInline:T,marginInlineStart:T,marginInlineEnd:T,fontSize:T,backgroundPositionX:T,backgroundPositionY:T,...dl,zIndex:ss,fillOpacity:It,strokeOpacity:It,numOctaves:ss},hl={...Vn,color:R,backgroundColor:R,outlineColor:R,fill:R,stroke:R,borderColor:R,borderTopColor:R,borderRightColor:R,borderBottomColor:R,borderLeftColor:R,filter:Ze,WebkitFilter:Ze},Yi=t=>hl[t];function Xi(t,e){let n=Yi(t);return n!==Ze&&(n=ot),n.getAnimatableNone?n.getAnimatableNone(e):void 0}const fl=new Set(["auto","none","0"]);function ml(t,e,n){let s=0,i;for(;s<t.length&&!i;){const o=t[s];
vendor: 1,615 bytes, line 1
1typeof o=="string"&&!fl.has(o)&&Bt(o).values.length&&(i=t[s]),s++}if(i&&n)for(const o of e)t[o]=Xi(n,i)}class pl extends Tn{constructor(e,n,s,i,o){super(e,n,s,i,o,!0)}readKeyframes(){const{unresolvedKeyframes:e,element:n,name:s}=this;if(!n||!n.current)return;super.readKeyframes();for(let u=0;u<e.length;u++){let d=e[u];if(typeof d=="string"&&(d=d.trim(),fn(d))){const h=Ui(d,n.current);h!==void 0&&(e[u]=h),u===e.length-1&&(this.finalKeyframe=d)}}if(this.resolveNoneKeyframes(),!Wi.has(s)||e.length!==2)return;const[i,o]=e,r=ns(i),a=ns(o),l=Wn(i),c=Wn(o);if(l!==c&&it[s]){this.needsMeasurement=!0;return}if(r!==a)if(Zn(r)&&Zn(a))for(let u=0;u<e.length;u++){const d=e[u];typeof d=="string"&&(e[u]=parseFloat(d))}else it[s]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:e,name:n}=this,s=[];for(let i=0;i<e.length;i++)(e[i]===null||al(e[i]))&&s.push(i);s.length&&ml(e,s,n)}measureInitialState(){const{element:e,unresolvedKeyframes:n,name:s}=this;if(!e||!e.current)return;s==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=it[s](e.measureViewportBox(),window.getComputedStyle(e.current)),n[0]=this.measuredOrigin;const i=n[n.length-1];i!==void 0&&e.getValue(s,i).jump(i,!1)}measureEndState(){var a;const{element:e,name:n,unresolvedKeyframes:s}=this;if(!e||!e.current)return;const i=e.getValue(n);i&&i.jump(this.measuredOrigin,!1);const o=s.length-1,r=s[o];s[o]=it[n](e.measureViewportBox(),window.getComputedStyle(e.current)),r!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=r),(a=this.removedTransforms)!=null&&a.length&&this.removedTransforms.forEac
vendor: 15,412 bytes, line 1
1h(([l,c])=>{e.getValue(l).set(c)}),this.resolveNoneKeyframes()}}const gl=new Set(["opacity","clipPath","filter","transform"]);function qi(t,e,n){if(t==null)return[];if(t instanceof EventTarget)return[t];if(typeof t=="string"){let s=document;const i=(n==null?void 0:n[t])??s.querySelectorAll(t);return i?Array.from(i):[]}return Array.from(t).filter(s=>s!=null)}const Zi=(t,e)=>e&&typeof t=="number"?e.transform(t):t;function yl(t){return oi(t)&&"offsetHeight"in t}const{schedule:An}=vi(queueMicrotask,!1),G={x:!1,y:!1};function Qi(){return G.x||G.y}function xl(t){return t==="x"||t==="y"?G[t]?null:(G[t]=!0,()=>{G[t]=!1}):G.x||G.y?null:(G.x=G.y=!0,()=>{G.x=G.y=!1})}function Ji(t,e){const n=qi(t),s=new AbortController,i={passive:!0,...e,signal:s.signal};return[n,i,()=>s.abort()]}function vl(t){return!(t.pointerType==="touch"||Qi())}function bl(t,e,n={}){const[s,i,o]=Ji(t,n);return s.forEach(r=>{let a=!1,l=!1,c;const u=()=>{r.removeEventListener("pointerleave",p)},d=x=>{c&&(c(x),c=void 0),u()},h=x=>{a=!1,window.removeEventListener("pointerup",h),window.removeEventListener("pointercancel",h),l&&(l=!1,d(x))},m=()=>{a=!0,window.addEventListener("pointerup",h,i),window.addEventListener("pointercancel",h,i)},p=x=>{if(x.pointerType!=="touch"){if(a){l=!0;return}d(x)}},g=x=>{if(!vl(x))return;l=!1;const y=e(r,x);typeof y=="function"&&(c=y,r.addEventListener("pointerleave",p,i))};r.addEventListener("pointerenter",g,i),r.addEventListener("pointerdown",m,i)}),o}const tr=(t,e)=>e?t===e?!0:tr(t,e.parentElement):!1,Mn=t=>t.pointerType==="mouse"?typeof t.button!="number"||t.button<=0:t.isPrimary!==!1,Tl=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function wl(t){return Tl.has(t.tagName)||t.isContentEditable===!0}const Cl=new Set(["INPUT","SELECT","TEXTAREA"]);function Sl(t){return Cl.has(t.tagName)||t.isContentEditable===!0}const te=new WeakSet;function is(t){return e=>{e.key==="Enter"&&t(e)}}function Se(t,e){t.dispatchEvent(new PointerEvent("pointer"+e,{isPrimary:!0,bubbles:!0}))}const Pl=(t,e)=>{const n=t.currentTarget;if(!n)return;const s=is(()=>{if(te.has(n))return;Se(n,"down");const i=is(()=>{Se(n,"up")}),o=()=>Se(n,"cancel");n.addEventListener("keyup",i,e),n.addEventListener("blur",o,e)});n.addEventListener("keydown",s,e),n.addEventListener("blur",()=>n.removeEventListener("keydown",s),e)};function rs(t){return Mn(t)&&!Qi()}const os=new WeakSet;function Vl(t,e,n={}){const[s,i,o]=Ji(t,n),r=a=>{const l=a.currentTarget;if(!rs(a)||os.has(a))return;te.add(l),n.stopPropagation&&os.add(a);const c=e(l,a),u=(m,p)=>{window.removeEventListener("pointerup",d),window.removeEventListener("pointercancel",h),te.has(l)&&te.delete(l),rs(m)&&typeof c=="function"&&c(m,{success:p})},d=m=>{u(m,l===window||l===document||n.useGlobalTarget||tr(l,m.target))},h=m=>{u(m,!1)};window.addEventListener("pointerup",d,i),window.addEventListener("pointercancel",h,i)};return s.forEach(a=>{(n.useGlobalTarget?window:a).addEventListener("pointerdown",r,i),yl(a)&&(a.addEventListener("focus",c=>Pl(c,i)),!wl(a)&&!a.hasAttribute("tabindex")&&(a.tabIndex=0))}),o}function Dn(t){return oi(t)&&"ownerSVGElement"in t}const ee=new WeakMap;let nt;const er=(t,e,n)=>(s,i)=>i&&i[0]?i[0][t+"Size"]:Dn(s)&&"getBBox"in s?s.getBBox()[e]:s[n],Al=er("inline","width","offsetWidth"),Ml=er("block","height","offsetHeight");function Dl({target:t,borderBoxSize:e}){var n;(n=ee.get(t))==null||n.forEach(s=>{s(t,{get width(){return Al(t,e)},get height(){return Ml(t,e)}})})}function El(t){t.forEach(Dl)}function jl(){typeof ResizeObserver>"u"||(nt=new ResizeObserver(El))}function Rl(t,e){nt||jl();const n=qi(t);return n.forEach(s=>{let i=ee.get(s);i||(i=new Set,ee.set(s,i)),i.add(e),nt==null||nt.observe(s)}),()=>{n.forEach(s=>{const i=ee.get(s);i==null||i.delete(e),i!=null&&i.size||nt==null||nt.unobserve(s)})}}const ne=new Set;let gt;function Ll(){gt=()=>{const t={get width(){return window.innerWidth},get height(){return window.innerHeight}};ne.forEach(e=>e(t))},window.addEventListener("resize",gt)}function kl(t){return ne.add(t),gt||Ll(),()=>{ne.delete(t),!ne.size&&typeof gt=="function"&&(window.removeEventListener("resize",gt),gt=void 0)}}function as(t,e){return typeof t=="function"?kl(t):Rl(t,e)}function Nl(t){return Dn(t)&&t.tagName==="svg"}const Il=[...zi,R,ot],Bl=t=>Il.find(Gi(t)),ls=()=>({translate:0,scale:1,origin:0,originPoint:0}),yt=()=>({x:ls(),y:ls()}),cs=()=>({min:0,max:0}),k=()=>({x:cs(),y:cs()}),Fl=new WeakMap;function me(t){return t!==null&&typeof t=="object"&&typeof t.start=="function"}function Ft(t){return typeof t=="string"||Array.isArray(t)}const En=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],jn=["initial",...En];function pe(t){return me(t.animate)||jn.some(e=>Ft(t[e]))}function nr(t){return!!(pe(t)||t.variants)}function Ol(t,e,n){for(const s in e){const i=e[s],o=n[s];if(F(i))t.addValue(s,i);else if(F(o))t.addValue(s,Tt(i,{owner:t}));else if(o!==i)if(t.hasValue(s)){const r=t.getValue(s);r.liveStyle===!0?r.jump(i):r.hasAnimated||r.set(i)}else{const r=t.getStaticValue(s);t.addValue(s,Tt(r!==void 0?r:i,{owner:t}))}}for(const s in n)e[s]===void 0&&t.removeValue(s);return e}const Qe={current:null},sr={current:!1},Ul=typeof window<"u";function _l(){if(sr.current=!0,!!Ul)if(window.matchMedia){const t=window.matchMedia("(prefers-reduced-motion)"),e=()=>Qe.current=t.matches;t.addEventListener("change",e),e()}else Qe.current=!1}const us=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];let ue={};function ir(t){ue=t}function Wl(){return ue}class Hl{scrapeMotionValuesFromProps(e,n,s){return{}}constructor({parent:e,props:n,presenceContext:s,reducedMotionConfig:i,skipAnimations:o,blockInitialAnimation:r,visualState:a},l={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=Tn,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const m=O.now();this.renderScheduledAt<m&&(this.renderScheduledAt=m,M.render(this.render,!1,!0))};const{latestValues:c,renderState:u}=a;this.latestValues=c,this.baseTarget={...c},this.initialValues=n.initial?{...c}:{},this.renderState=u,this.parent=e,this.props=n,this.presenceContext=s,this.depth=e?e.depth+1:0,this.reducedMotionConfig=i,this.skipAnimationsConfig=o,this.options=l,this.blockInitialAnimation=!!r,this.isControllingVariants=pe(n),this.isVariantNode=nr(n),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(e&&e.current);const{willChange:d,...h}=this.scrapeMotionValuesFromProps(n,{},this);for(const m in h){const p=h[m];c[m]!==void 0&&F(p)&&p.set(c[m])}}mount(e){var n,s;if(this.hasBeenMounted)for(const i in this.initialValues)(n=this.values.get(i))==null||n.jump(this.initialValues[i]),this.latestValues[i]=this.initialValues[i];this.current=e,Fl.set(e,this),this.projection&&!this.projection.instance&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((i,o)=>this.bindToMotionValue(o,i)),this.reducedMotionConfig==="never"?this.shouldReduceMotion=!1:this.reducedMotionConfig==="always"?this.shouldReduceMotion=!0:(sr.current||_l(),this.shouldReduceMotion=Qe.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,(s=this.parent)==null||s.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){var e;this.projection&&this.projection.unmount(),rt(this.notifyUpdate),rt(this.render),this.valueSubscriptions.forEach(n=>n()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),(e=this.parent)==null||e.removeChild(this);for(const n in this.events)this.events[n].clear();for(const n in this.features){const s=this.features[n];s&&(s.unmount(),s.isMounted=!1)}this.current=null}addChild(e){this.children.add(e),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(e)}removeChild(e){this.children.delete(e),this.enteringChildren&&this.enteringChildren.delete(e)}bindToMotionValue(e,n){if(this.valueSubscriptions.has(e)&&this.valueSubscriptions.get(e)(),n.accelerate&&gl.has(e)&&this.current instanceof HTMLElement){const{factory:r,keyframes:a,times:l,ease:c,duration:u}=n.accelerate,d=new Bi({element:this.current,name:e,keyframes:a,times:l,ease:c,duration:z(u)}),h=r(d);this.valueSubscriptions.set(e,()=>{h(),d.cancel()});return}const s=St.has(e);s&&this.onBindTransform&&this.onBindTransform();const i=n.on("change",r=>{this.latestValues[e]=r,this.props.onUpdate&&M.preRender(this.notifyUpdate),s&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let o;typeof window<"u"&&window.MotionCheckAppearSync&&(o=window.MotionCheckAppearSync(this,e,n)),this.valueSubscriptions.set(e,()=>{i(),o&&o(),n.owner&&n.stop()})}sortNodePosition(e){return!this.current||!this.sortInstanceNodePosition||this.type!==e.type?0:this.sortInstanceNodePosition(this.current,e.current)}updateFeatures(){let e="animation";for(e in ue){const n=ue[e];if(!n)continue;const{isEnabled:s,Feature:i}=n;if(!this.features[e]&&i&&s(this.props)&&(this.features[e]=new i(this)),this.features[e]){const o=this.features[e];o.isMounted?o.update():(o.mount(),o.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):k()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,n){this.latestValues[e]=n}update(e,n){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=n;for(let s=0;s<us.length;s++){const i=us[s];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);const o="on"+i,r=e[o];r&&(this.propEventSubscriptions[i]=this.on(i,r))}this.prevMotionValues=Ol(this,this.scrapeMotionValuesFromProps(e,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(e){const n=this.getClosestVariantNode();if(n)return n.variantChildren&&n.variantChildren.add(e),()=>n.variantChildren.delete(e)}addValue(e,n){const s=this.values.get(e);n!==s&&(s&&this.removeValue(e),this.bindToMotionValue(e,n),this.values.set(e,n),this.latestValues[e]=n.get())}removeValue(e){this.values.delete(e);const n=this.valueSubscriptions.get(e);n&&(n(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,n){if(this.props.values&&this.props.values[e])return this.props.values[e];let s=this.values.get(e);return s===void 0&&n!==void 0&&(s=Tt(n===null?void 0:n,{owner:this}),this.addValue(e,s)),s}readValue(e,n){let s=this.latestValues[e]!==void 0||!this.current?this.latestValues[e]:this.getBaseTargetFromProps(this.props,e)??this.readValueFromInstance(this.current,e,this.options);return s!=null&&(typeof s=="string"&&(ri(s)||ai(s))?s=parseFloat(s):!Bl(s)&&ot.test(n)&&(s=Xi(e,n)),this.setBaseTarget(e,F(s)?s.get():s)),F(s)?s.get():s}setBaseTarget(e,n){this.baseTarget[e]=n}getBaseTarget(e){var o;const{initial:n}=this.props;let s;if(typeof n=="string"||typeof n=="object"){const r=Sn(this.props,n,(o=this.presenceContext)==null?void 0:o.custom);r&&(s=r[e])}if(n&&s!==void 0)return s;const i=this.getBaseTargetFromProps(this.props,e);return i!==void 0&&!F(i)?i:this.initialValues[e]!==void 0&&s===void 0?void 0:this.baseTarget[e]}on(e,n){return this.events[e]||(this.events[e]=new un),this.events[e].add(n)}notify(e,...n){this.events[e]&&this.events[e].notify(...n)}scheduleRenderMicrotask(){An.render(this.render)}}class rr extends Hl{constructor(){super(...arguments),this.KeyframeResolver=pl}sortInstanceNodePosition(e,n){return e.compareDocumentPosition(n)&2?1:-1}getBaseTargetFromProps(e,n){const s=e.style;return s?s[n]:void 0}removeValueFromRenderState(e,{vars:n,style:s}){delete n[e],delete s[e]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:e}=this.props;F(e)&&(this.childSubscription=e.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}}class at{constructor(e){this.isMounted=!1,this.node=e}update(){}}function or({top:t,left:e,right:n,bottom:s}){return{x:{min:e,max:n},y:{min:t,max:s}}}function Kl({x:t,y:e}){return{top:e.min,right:t.max,bottom:e.max,left:t.min}}function $l(t,e){if(!e)return t;const n=e({x:t.left,y:t.top}),s=e({x:t.right,y:t.bottom});return{top:n.y,left:n.x,bottom:s.y,right:s.x}}function Pe(t){return t===void 0||t===1}function Je({scale:t,scaleX:e,scaleY:n}){return!Pe(t)||!Pe(e)||!Pe(n)}function ct(t){return Je(t)||ar(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function ar(t){return ds(t.x)||ds(t.y)}function ds(t){return t&&t!=="0%"}function de(t,e,n){const s=t-n,i=e*s;return n+i}function hs(t,e,n,s,i){return i!==void 0&&(t=de(t,i,s)),de(t,n,s)+e}function tn(t,e=0,n=1,s,i){t.min=hs(t.min,e,n,s,i),t.max=hs(t.max,e,n,s,i)}function lr(t,{x:e,y:n}){tn(t.x,e.translate,e.scale,e.originPoint),tn(t.y,n.translate,n.scale,n.originPoint)}const fs=.999999999999,ms=1.0000000000001;function Gl(t,e,n,s=!1){const i=n.length;if(!i)return;e.x=e.y=1;let o,r;for(let a=0;a<i;a++){o=n[a],r=o.projectionDelta;const{visualElement:l}=o.options;l&&l.props.style&&l.props.style.display==="contents"||(s&&o.options.layoutScroll&&o.scroll&&o!==o.root&&vt(t,{x:-o.scroll.offset.x,y:-o.scroll.offset.y}),r&&(e.x*=r.x.scale,e.y*=r.y.scale,lr(t,r)),s&&ct(o.latestValues)&&vt(t,o.latestValues))}e.x<ms&&e.x>fs&&(e.x=1),e.y<ms&&e.y>fs&&(e.y=1)}function xt(t,e){t.min=t.min+e,t.max=t.max+e}function ps(t,e,n,s,i=.5){const o=D(t.min,t.max,i);tn(t,e,n,o,s)}function vt(t,e){ps(t.x,e.x,e.scaleX,e.scale,e.originX),ps(t.y,e.y,e.scaleY,e.scale,e.originY)}function cr(t,e){return or($l(t.getBoundingClientRect(),e))}function zl(t,e,n){const s=cr(t,n),{scroll:i}=e;return i&&(xt(s.x,i.offset.x),xt(s.y,i.offset.y)),s}const Yl={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},Xl=Ct.length;function ql(t,e,n){let s="",i=!0;for(let o=0;o<Xl;o++){const r=Ct[o],a=t[r];if(a===void 0)continue;let l=!0;if(typeof a=="number")l=a===(r.startsWith("scale")?1:0);else{const c=parseFloat(a);l=r.startsWith("scale")?c===1:c===0}if(!l||n){const c=Zi(a,Vn[r]);if(!l){i=!1;const u=Yl[r]||r;s+=`${u}(${c}) `}n&&(e[r]=c)}}return s=s.trim(),n?s=n(e,i?"":s):i&&(s="none"),s}function Rn(t,e,n){const{style:s,vars:i,transformOrigin:o}=t;let r=!1,a=!1;for(const l in e){const c=e[l];
vendor: 6,507 bytes, line 1
1if(St.has(l)){r=!0;continue}else if(Ti(l)){i[l]=c;continue}else{const u=Zi(c,Vn[l]);l.startsWith("origin")?(a=!0,o[l]=u):s[l]=u}}if(e.transform||(r||n?s.transform=ql(e,t.transform,n):s.transform&&(s.transform="none")),a){const{originX:l="50%",originY:c="50%",originZ:u=0}=o;s.transformOrigin=`${l} ${c} ${u}`}}function ur(t,{style:e,vars:n},s,i){const o=t.style;let r;for(r in e)o[r]=e[r];i==null||i.applyProjectionStyles(o,s);for(r in n)o.setProperty(r,n[r])}function gs(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}const At={correct:(t,e)=>{if(!e.target)return t;if(typeof t=="string")if(T.test(t))t=parseFloat(t);else return t;const n=gs(t,e.target.x),s=gs(t,e.target.y);return`${n}% ${s}%`}},Zl={correct:(t,{treeScale:e,projectionDelta:n})=>{const s=t,i=ot.parse(t);if(i.length>5)return s;const o=ot.createTransformer(t),r=typeof i[0]!="number"?1:0,a=n.x.scale*e.x,l=n.y.scale*e.y;i[0+r]/=a,i[1+r]/=l;const c=D(a,l,.5);return typeof i[2+r]=="number"&&(i[2+r]/=c),typeof i[3+r]=="number"&&(i[3+r]/=c),o(i)}},en={borderRadius:{...At,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:At,borderTopRightRadius:At,borderBottomLeftRadius:At,borderBottomRightRadius:At,boxShadow:Zl};function dr(t,{layout:e,layoutId:n}){return St.has(t)||t.startsWith("origin")||(e||n!==void 0)&&(!!en[t]||t==="opacity")}function Ln(t,e,n){var r;const s=t.style,i=e==null?void 0:e.style,o={};if(!s)return o;for(const a in s)(F(s[a])||i&&F(i[a])||dr(a,t)||((r=n==null?void 0:n.getValue(a))==null?void 0:r.liveStyle)!==void 0)&&(o[a]=s[a]);return o}function Ql(t){return window.getComputedStyle(t)}class Jl extends rr{constructor(){super(...arguments),this.type="html",this.renderInstance=ur}readValueFromInstance(e,n){var s;if(St.has(n))return(s=this.projection)!=null&&s.isProjecting?We(n):ya(e,n);{const i=Ql(e),o=(Ti(n)?i.getPropertyValue(n):i[n])||0;return typeof o=="string"?o.trim():o}}measureInstanceViewportBox(e,{transformPagePoint:n}){return cr(e,n)}build(e,n,s){Rn(e,n,s.transformTemplate)}scrapeMotionValuesFromProps(e,n,s){return Ln(e,n,s)}}const tc={offset:"stroke-dashoffset",array:"stroke-dasharray"},ec={offset:"strokeDashoffset",array:"strokeDasharray"};function nc(t,e,n=1,s=0,i=!0){t.pathLength=1;const o=i?tc:ec;t[o.offset]=`${-s}`,t[o.array]=`${e} ${n}`}const sc=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function hr(t,{attrX:e,attrY:n,attrScale:s,pathLength:i,pathSpacing:o=1,pathOffset:r=0,...a},l,c,u){if(Rn(t,a,c),l){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};const{attrs:d,style:h}=t;d.transform&&(h.transform=d.transform,delete d.transform),(h.transform||d.transformOrigin)&&(h.transformOrigin=d.transformOrigin??"50% 50%",delete d.transformOrigin),h.transform&&(h.transformBox=(u==null?void 0:u.transformBox)??"fill-box",delete d.transformBox);for(const m of sc)d[m]!==void 0&&(h[m]=d[m],delete d[m]);e!==void 0&&(d.x=e),n!==void 0&&(d.y=n),s!==void 0&&(d.scale=s),i!==void 0&&nc(d,i,o,r,!1)}const fr=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"]),mr=t=>typeof t=="string"&&t.toLowerCase()==="svg";function ic(t,e,n,s){ur(t,e,void 0,s);for(const i in e.attrs)t.setAttribute(fr.has(i)?i:Pn(i),e.attrs[i])}function pr(t,e,n){const s=Ln(t,e,n);for(const i in t)if(F(t[i])||F(e[i])){const o=Ct.indexOf(i)!==-1?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i;s[o]=t[i]}return s}class rc extends rr{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=k}getBaseTargetFromProps(e,n){return e[n]}readValueFromInstance(e,n){if(St.has(n)){const s=Yi(n);return s&&s.default||0}return n=fr.has(n)?n:Pn(n),e.getAttribute(n)}scrapeMotionValuesFromProps(e,n,s){return pr(e,n,s)}build(e,n,s){hr(e,n,this.isSVGTag,s.transformTemplate,s.style)}renderInstance(e,n,s,i){ic(e,n,s,i)}mount(e){this.isSVGTag=mr(e.tagName),super.mount(e)}}const oc=jn.length;function gr(t){if(!t)return;if(!t.isControllingVariants){const n=t.parent?gr(t.parent)||{}:{};return t.props.initial!==void 0&&(n.initial=t.props.initial),n}const e={};for(let n=0;n<oc;n++){const s=jn[n],i=t.props[s];(Ft(i)||i===!1)&&(e[s]=i)}return e}function yr(t,e){if(!Array.isArray(e))return!1;const n=e.length;if(n!==t.length)return!1;for(let s=0;s<n;s++)if(e[s]!==t[s])return!1;return!0}const ac=[...En].reverse(),lc=En.length;function cc(t){return e=>Promise.all(e.map(({animation:n,options:s})=>rl(t,n,s)))}function uc(t){let e=cc(t),n=ys(),s=!0;const i=l=>(c,u)=>{var h;const d=bt(t,u,l==="exit"?(h=t.presenceContext)==null?void 0:h.custom:void 0);if(d){const{transition:m,transitionEnd:p,...g}=d;c={...c,...g,...p}}return c};function o(l){e=l(t)}function r(l){const{props:c}=t,u=gr(t.parent)||{},d=[],h=new Set;let m={},p=1/0;for(let x=0;x<lc;x++){const y=ac[x],b=n[y],v=c[y]!==void 0?c[y]:u[y],S=Ft(v),w=y===l?b.isActive:null;w===!1&&(p=x);let A=v===u[y]&&v!==c[y]&&S;if(A&&s&&t.manuallyAnimateOnMount&&(A=!1),b.protectedKeys={...m},!b.isActive&&w===null||!v&&!b.prevProp||me(v)||typeof v=="boolean")continue;if(y==="exit"&&b.isActive&&w!==!0){b.prevResolvedValues&&(m={...m,...b.prevResolvedValues});continue}const j=dc(b.prevProp,v);let V=j||y===l&&b.isActive&&!A&&S||x>p&&S,I=!1;const B=Array.isArray(v)?v:[v];let J=B.reduce(i(y),{});w===!1&&(J={});const{prevResolvedValues:Kt={}}=b,$t={...Kt,...J},Pt=L=>{V=!0,h.has(L)&&(I=!0,h.delete(L)),b.needsAnimating[L]=!0;const _=t.getValue(L);_&&(_.liveStyle=!1)};for(const L in $t){const _=J[L],Z=Kt[L];if(m.hasOwnProperty(L))continue;let tt=!1;Ye(_)&&Ye(Z)?tt=!yr(_,Z):tt=_!==Z,tt?_!=null?Pt(L):h.add(L):_!==void 0&&h.has(L)?Pt(L):b.protectedKeys[L]=!0}b.prevProp=v,b.prevResolvedValues=J,b.isActive&&(m={...m,...J}),s&&t.blockInitialAnimation&&(V=!1);const Gt=A&&j;V&&(!Gt||I)&&d.push(...B.map(L=>{const _={type:y};if(typeof L=="string"&&s&&!Gt&&t.manuallyAnimateOnMount&&t.parent){const{parent:Z}=t,tt=bt(Z,L);if(Z.enteringChildren&&tt){const{delayChildren:ye}=tt.transition||{};_.delay=Oi(Z.enteringChildren,t,ye)}}return{animation:L,options:_}}))}if(h.size){const x={};if(typeof c.initial!="boolean"){const y=bt(t,Array.isArray(c.initial)?c.initial[0]:c.initial);y&&y.transition&&(x.transition=y.transition)}
vendor: 4,536 bytes, line 1
1h.forEach(y=>{const b=t.getBaseTarget(y),v=t.getValue(y);v&&(v.liveStyle=!0),x[y]=b??null}),d.push({animation:x})}let g=!!d.length;return s&&(c.initial===!1||c.initial===c.animate)&&!t.manuallyAnimateOnMount&&(g=!1),s=!1,g?e(d):Promise.resolve()}function a(l,c){var d;if(n[l].isActive===c)return Promise.resolve();(d=t.variantChildren)==null||d.forEach(h=>{var m;return(m=h.animationState)==null?void 0:m.setActive(l,c)}),n[l].isActive=c;const u=r(l);for(const h in n)n[h].protectedKeys={};return u}return{animateChanges:r,setActive:a,setAnimateFunction:o,getState:()=>n,reset:()=>{n=ys()}}}function dc(t,e){return typeof e=="string"?e!==t:Array.isArray(e)?!yr(e,t):!1}function lt(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function ys(){return{animate:lt(!0),whileInView:lt(),whileHover:lt(),whileTap:lt(),whileDrag:lt(),whileFocus:lt(),exit:lt()}}function xs(t,e){t.min=e.min,t.max=e.max}function $(t,e){xs(t.x,e.x),xs(t.y,e.y)}function vs(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}const xr=1e-4,hc=1-xr,fc=1+xr,vr=.01,mc=0-vr,pc=0+vr;function U(t){return t.max-t.min}function gc(t,e,n){return Math.abs(t-e)<=n}function bs(t,e,n,s=.5){t.origin=s,t.originPoint=D(e.min,e.max,t.origin),t.scale=U(n)/U(e),t.translate=D(n.min,n.max,t.origin)-t.originPoint,(t.scale>=hc&&t.scale<=fc||isNaN(t.scale))&&(t.scale=1),(t.translate>=mc&&t.translate<=pc||isNaN(t.translate))&&(t.translate=0)}function Lt(t,e,n,s){bs(t.x,e.x,n.x,s?s.originX:void 0),bs(t.y,e.y,n.y,s?s.originY:void 0)}function Ts(t,e,n){t.min=n.min+e.min,t.max=t.min+U(e)}function yc(t,e,n){Ts(t.x,e.x,n.x),Ts(t.y,e.y,n.y)}function ws(t,e,n){t.min=e.min-n.min,t.max=t.min+U(e)}function he(t,e,n){ws(t.x,e.x,n.x),ws(t.y,e.y,n.y)}function Cs(t,e,n,s,i){return t-=e,t=de(t,1/n,s),i!==void 0&&(t=de(t,1/i,s)),t}function xc(t,e=0,n=1,s=.5,i,o=t,r=t){if(X.test(e)&&(e=parseFloat(e),e=D(r.min,r.max,e/100)-r.min),typeof e!="number")return;let a=D(o.min,o.max,s);t===o&&(a-=e),t.min=Cs(t.min,e,n,a,i),t.max=Cs(t.max,e,n,a,i)}function Ss(t,e,[n,s,i],o,r){xc(t,e[n],e[s],e[i],e.scale,o,r)}const vc=["x","scaleX","originX"],bc=["y","scaleY","originY"];function Ps(t,e,n,s){Ss(t.x,e,vc,n?n.x:void 0,s?s.x:void 0),Ss(t.y,e,bc,n?n.y:void 0,s?s.y:void 0)}function Vs(t){return t.translate===0&&t.scale===1}function br(t){return Vs(t.x)&&Vs(t.y)}function As(t,e){return t.min===e.min&&t.max===e.max}function Tc(t,e){return As(t.x,e.x)&&As(t.y,e.y)}function Ms(t,e){return Math.round(t.min)===Math.round(e.min)&&Math.round(t.max)===Math.round(e.max)}function Tr(t,e){return Ms(t.x,e.x)&&Ms(t.y,e.y)}function Ds(t){return U(t.x)/U(t.y)}function Es(t,e){return t.translate===e.translate&&t.scale===e.scale&&t.originPoint===e.originPoint}function Y(t){return[t("x"),t("y")]}function wc(t,e,n){let s="";const i=t.x.translate/e.x,o=t.y.translate/e.y,r=(n==null?void 0:n.z)||0;if((i||o||r)&&(s=`translate3d(${i}px, ${o}px, ${r}px) `),(e.x!==1||e.y!==1)&&(s+=`scale(${1/e.x}, ${1/e.y}) `),n){const{transformPerspective:c,rotate:u,rotateX:d,rotateY:h,skewX:m,skewY:p}=n;c&&(s=`perspective(${c}px) ${s}`),u&&(s+=`rotate(${u}deg) `),d&&(s+=`rotateX(${d}deg) `),h&&(s+=`rotateY(${h}deg) `),m&&(s+=`skewX(${m}deg) `),p&&(s+=`skewY(${p}deg) `)}const a=t.x.scale*e.x,l=t.y.scale*e.y;return(a!==1||l!==1)&&(s+=`scale(${a}, ${l})`),s||"none"}const wr=["TopLeft","TopRight","BottomLeft","BottomRight"],Cc=wr.length,js=t=>typeof t=="string"?parseFloat(t):t,Rs=t=>typeof t=="number"||T.test(t);function Sc(t,e,n,s,i,o){i?(t.opacity=D(0,n.opacity??1,Pc(s)),t.opacityExit=D(e.opacity??1,0,Vc(s))):o&&(t.opacity=D(e.opacity??1,n.opacity??1,s));for(let r=0;r<Cc;r++){const a=`border${wr[r]}Radius`;let l=Ls(e,a),c=Ls(n,a);if(l===void 0&&c===void 0)continue;l||(l=0),c||(c=0),l===0||c===0||Rs(l)===Rs(c)?(t[a]=Math.max(D(js(l),js(c),s),0),(X.test(c)||X.test(l))&&(t[a]+="%")):t[a]=c}(e.rotate||n.rotate)&&(t.rotate=D(e.rotate||0,n.rotate||0,s))}function Ls(t,e){return t[e]!==void 0?t[e]:t.borderRadius}const Pc=Cr(0,.5,pi),Vc=Cr(.5,.95,K);function Cr(t,e,n){return s=>s<t?0:s>e?1:n(Nt(t,e,s))}function Ac(t,e,n){const s=F(t)?t:Tt(t);return s.start(Cn("",s,e,n)),s.animation}function Ot(t,e,n,s={passive:!0}){return t.addEventListener(e,n,s),()=>t.removeEventListener(e,n)}const Mc=(t,e)=>t.depth-e.depth;class Dc{constructor(){this.children=[],this.isDirty=!1}add(e){an(this.children,e),this.isDirty=!0}remove(e){oe(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(Mc),this.isDirty=!1,this.children.forEac
1h(e)}}function Ec(t,e){const n=O.now(),s=({timestamp:i})=>{const o=i-n;o>=e&&(rt(s),t(o-e))};return M.setup(s,!0),()=>rt(s)}function se(t){return F(t)?t.get():t}class jc{constructor(){this.members=[]}add(e){an(this.members,e);for(let n=this.members.length-1;n>=0;n--){const s=this.members[n];if(s===e||s===this.lead||s===this.prevLead)continue;const i=s.instance;i&&i.isConnected===!1&&s.isPresent!==!1&&!s.snapshot&&oe(this.members,s)}e.scheduleRender()}remove(e){if(oe(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){const n=this.members[this.members.length-1];n&&this.promote(n)}}relegate(e){const n=this.members.findIndex(i=>e===i);if(n===0)return!1;let s;for(let i=n;i>=0;i--){const o=this.members[i],r=o.instance;if(o.isPresent!==!1&&(!r||r.isConnected!==!1)){s=o;break}}return s?(this.promote(s),!0):!1}promote(e,n){const s=this.lead;if(e!==s&&(this.prevLead=s,this.lead=e,e.show(),s)){s.instance&&s.scheduleRender(),e.scheduleRender();const i=s.options.layoutDependency,o=e.options.layoutDependency;if(!(i!==void 0&&o!==void 0&&i===o)){const l=s.instance;l&&l.isConnected===!1&&!s.snapshot||(e.resumeFrom=s,n&&(e.resumeFrom.preserveOpacity=!0),s.snapshot&&(e.snapshot=s.snapshot,e.snapshot.latestValues=s.animationValues||s.latestValues),e.root&&e.root.isUpdating&&(e.isLayoutDirty=!0))}const{crossfade:a}=e.options;a===!1&&s.hide()}}exitAnimationComplete(){this.members.forEach(e=>{const{options:n,resumingFrom:s}=e;n.onExitComplete&&n.onExitComplete(),s&&s.options.onExitComplete&&s.options.onExitComplete()})}scheduleRender(){this.members.forEach(e=>{e.instance&&e.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}const ie={hasAnimatedSinceResize:!0,hasEverUpdated:!1},Ve=["","X","Y","Z"],Rc=1e3;let Lc=0;function Ae(t,e,n,s){const{latestValues:i}=e;i[t]&&(n[t]=i[t],e.setStaticValue(t,0),s&&(s[t]=0))}function Sr(t){if(t.hasCheckedOptimisedAppear=!0,t.root===t)return;const{visualElement:e}=t.options;if(!e)return;const n=Ki(e);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:i,layoutId:o}=t.options;window.MotionCancelOptimisedAnimation(n,"transform",M,!(i||o))}const{parent:s}=t;s&&!s.hasCheckedOptimisedAppear&&Sr(s)}function Pr({attachResizeListener:t,defaultParent:e,measureScroll:n,checkIsScrollRoot:s,resetTransform:i}){return class{constructor(r={},a=e==null?void 0:e()){this.id=Lc++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,this.nodes.forEach(Ic),this.nodes.forEach(Uc),this.nodes.forEach(_c),this.nodes.forEach(Bc)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=r,this.root=a?a.root||a:this,this.path=a?[...a.path,a]:[],this.parent=a,this.depth=a?a.depth+1:0;for(let l=0;l<this.path.length;l++)this.path[l].shouldResetTransform=!0;this.root===this&&(this.nodes=new Dc)}addEventListener(r,a){return this.eventHandlers.has(r)||this.eventHandlers.set(r,new un),this.eventHandlers.get(r).add(a)}notifyListeners(r,...a){const l=this.eventHandlers.get(r);l&&l.notify(...a)}hasListeners(r){return this.eventHandlers.has(r)}mount(r){if(this.instance)return;this.isSVG=Dn(r)&&!Nl(r),this.instance=r;const{layoutId:a,layout:l,visualElement:c}=this.options;if(c&&!c.current&&c.mount(r),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(l||a)&&(this.isLayoutDirty=!0),t){let u,d=0;const h=()=>this.root.updateBlockedByResize=!1;M.read(()=>{d=window.innerWidth}),t(r,()=>{const m=window.innerWidth;m!==d&&(d=m,this.root.updateBlockedByResize=!0,u&&u(),u=Ec(h,250),ie.hasAnimatedSinceResize&&(ie.hasAnimatedSinceResize=!1,this.nodes.forEac
vendor: 5,201 bytes, line 1
1h(Is)))})}a&&this.root.registerSharedNode(a,this),this.options.animate!==!1&&c&&(a||l)&&this.addEventListener("didUpdate",({delta:u,hasLayoutChanged:d,hasRelativeLayoutChanged:h,layout:m})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const p=this.options.transition||c.getDefaultTransition()||Gc,{onLayoutAnimationStart:g,onLayoutAnimationComplete:x}=c.getProps(),y=!this.targetLayout||!Tr(this.targetLayout,m),b=!d&&h;if(this.options.layoutRoot||this.resumeFrom||b||d&&(y||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const v={...wn(p,"layout"),onPlay:g,onComplete:x};(c.shouldReduceMotion||this.options.layoutRoot)&&(v.delay=0,v.type=!1),this.startAnimation(v),this.setAnimationOrigin(u,b)}else d||Is(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=m})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const r=this.getStack();r&&r.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),rt(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(Wc),this.animationId++)}getTransformTemplate(){const{visualElement:r}=this.options;return r&&r.getProps().transformTemplate}willUpdate(r=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&Sr(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let u=0;u<this.path.length;u++){const d=this.path[u];d.shouldResetTransform=!0,d.updateScroll("snapshot"),d.options.layoutRoot&&d.willUpdate(!1)}const{layoutId:a,layout:l}=this.options;if(a===void 0&&!l)return;const c=this.getTransformTemplate();this.prevTransformTemplateValue=c?c(this.latestValues,""):void 0,this.updateSnapshot(),r&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(ks);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(Ns);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(Oc),this.nodes.forEach(kc),this.nodes.forEach(Nc)):this.nodes.forEach(Ns),this.clearAllSnapshots();const a=O.now();N.delta=q(0,1e3/60,a-N.timestamp),N.timestamp=a,N.isProcessing=!0,xe.update.process(N),xe.preRender.process(N),xe.render.process(N),N.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,An.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(Fc),this.sharedNodes.forEach(Hc)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,M.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){M.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!U(this.snapshot.measuredBox.x)&&!U(this.snapshot.measuredBox.y)&&(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let l=0;l<this.path.length;l++)this.path[l].updateScroll();const r=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected=k(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:a}=this.options;a&&a.notify("LayoutMeasure",this.layout.layoutBox,r?r.layoutBox:void 0)}updateScroll(r="measure"){let a=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===r&&(a=!1),a&&this.instance){const l=s(this.instance);this.scroll={animationId:this.root.animationId,phase:r,isRoot:l,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:l}}}resetTransform(){if(!i)return;const r=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,a=this.projectionDelta&&!br(this.projectionDelta),l=this.getTransformTemplate(),c=l?l(this.latestValues,""):void 0,u=c!==this.prevTransformTemplateValue;r&&this.instance&&(a||ct(this.latestValues)||u)&&(i(this.instance,c),this.shouldResetTransform=!1,this.scheduleRender())}measure(r=!0){const a=this.measurePageBox();let l=this.removeElementScroll(a);return r&&(l=this.removeTransform(l)),zc(l),{animationId:this.root.animationId,measuredBox:a,layoutBox:l,latestValues:{},source:this.id}}measurePageBox(){var c;const{visualElement:r}=this.options;if(!r)return k();const a=r.measureViewportBox();if(!(((c=this.scroll)==null?void 0:c.wasRoot)||this.path.some(Yc)
vendor: 9,281 bytes, line 1
1)){const{scroll:u}=this.root;u&&(xt(a.x,u.offset.x),xt(a.y,u.offset.y))}return a}removeElementScroll(r){var l;const a=k();if($(a,r),(l=this.scroll)!=null&&l.wasRoot)return a;for(let c=0;c<this.path.length;c++){const u=this.path[c],{scroll:d,options:h}=u;u!==this.root&&d&&h.layoutScroll&&(d.wasRoot&&$(a,r),xt(a.x,d.offset.x),xt(a.y,d.offset.y))}return a}applyTransform(r,a=!1){const l=k();$(l,r);for(let c=0;c<this.path.length;c++){const u=this.path[c];!a&&u.options.layoutScroll&&u.scroll&&u!==u.root&&vt(l,{x:-u.scroll.offset.x,y:-u.scroll.offset.y}),ct(u.latestValues)&&vt(l,u.latestValues)}return ct(this.latestValues)&&vt(l,this.latestValues),l}removeTransform(r){const a=k();$(a,r);for(let l=0;l<this.path.length;l++){const c=this.path[l];if(!c.instance||!ct(c.latestValues))continue;Je(c.latestValues)&&c.updateSnapshot();const u=k(),d=c.measurePageBox();$(u,d),Ps(a,c.latestValues,c.snapshot?c.snapshot.layoutBox:void 0,u)}return ct(this.latestValues)&&Ps(a,this.latestValues),a}setTargetDelta(r){this.targetDelta=r,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(r){this.options={...this.options,...r,crossfade:r.crossfade!==void 0?r.crossfade:!0}}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!==N.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(r=!1){var m;const a=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=a.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=a.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=a.isSharedProjectionDirty);const l=!!this.resumingFrom||this!==a;if(!(r||l&&this.isSharedProjectionDirty||this.isProjectionDirty||(m=this.parent)!=null&&m.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:u,layoutId:d}=this.options;if(!this.layout||!(u||d))return;this.resolvedRelativeTargetAt=N.timestamp;const h=this.getClosestProjectingParent();h&&this.linkedParentVersion!==h.layoutVersion&&!h.options.layoutRoot&&this.removeRelativeTarget(),!this.targetDelta&&!this.relativeTarget&&(h&&h.layout?this.createRelativeTarget(h,this.layout.layoutBox,h.layout.layoutBox):this.removeRelativeTarget()),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=k(),this.targetWithTransforms=k()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),yc(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):$(this.target,this.layout.layoutBox),lr(this.target,this.targetDelta)):$(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,h&&!!h.resumingFrom==!!this.resumingFrom&&!h.options.layoutScroll&&h.target&&this.animationProgress!==1?this.createRelativeTarget(h,this.target,h.target):this.relativeParent=this.relativeTarget=void 0))}getClosestProjectingParent(){if(!(!this.parent||Je(this.parent.latestValues)||ar(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(r,a,l){this.relativeParent=r,this.linkedParentVersion=r.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=k(),this.relativeTargetOrigin=k(),he(this.relativeTargetOrigin,a,l),$(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){var p;const r=this.getLead(),a=!!this.resumingFrom||this!==r;let l=!0;if((this.isProjectionDirty||(p=this.parent)!=null&&p.isProjectionDirty)&&(l=!1),a&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(l=!1),this.resolvedRelativeTargetAt===N.timestamp&&(l=!1),l)return;const{layout:c,layoutId:u}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(c||u))return;$(this.layoutCorrected,this.layout.layoutBox);const d=this.treeScale.x,h=this.treeScale.y;Gl(this.layoutCorrected,this.treeScale,this.path,a),r.layout&&!r.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(r.target=r.layout.layoutBox,r.targetWithTransforms=k());const{target:m}=r;if(!m){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(vs(this.prevProjectionDelta.x,this.projectionDelta.x),vs(this.prevProjectionDelta.y,this.projectionDelta.y)),Lt(this.projectionDelta,this.layoutCorrected,m,this.latestValues),(this.treeScale.x!==d||this.treeScale.y!==h||!Es(this.projectionDelta.x,this.prevProjectionDelta.x)||!Es(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",m))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(r=!0){var a;if((a=this.options.visualElement)==null||a.scheduleRender(),r){const l=this.getStack();l&&l.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=yt(),this.projectionDelta=yt(),this.projectionDeltaWithTransform=yt()}setAnimationOrigin(r,a=!1){const l=this.snapshot,c=l?l.latestValues:{},u={...this.latestValues},d=yt();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!a;const h=k(),m=l?l.source:void 0,p=this.layout?this.layout.source:void 0,g=m!==p,x=this.getStack(),y=!x||x.members.length<=1,b=!!(g&&!y&&this.options.crossfade===!0&&!this.path.some($c));this.animationProgress=0;let v;this.mixTargetDelta=S=>{const w=S/1e3;Bs(d.x,r.x,w),Bs(d.y,r.y,w),this.setTargetDelta(d),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(he(h,this.layout.layoutBox,this.relativeParent.layout.layoutBox),Kc(this.relativeTarget,this.relativeTargetOrigin,h,w),v&&Tc(this.relativeTarget,v)&&(this.isProjectionDirty=!1),v||(v=k()),$(v,this.relativeTarget)),g&&(this.animationValues=u,Sc(u,c,this.latestValues,w,b,y)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=w},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(r){var a,l,c;this.notifyListeners("animationStart"),(a=this.currentAnimation)==null||a.stop(),(c=(l=this.resumingFrom)==null?void 0:l.currentAnimation)==null||c.stop(),this.pendingAnimation&&(rt(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=M.update(()=>{ie.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=Tt(0)),this.currentAnimation=Ac(this.motionValue,[0,1e3],{...r,velocity:0,isSync:!0,onUpdate:u=>{this.mixTargetDelta(u),r.onUpdate&&r.onUpdate(u)},onStop:()=>{},onComplete:()=>{r.onComplete&&r.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const r=this.getStack();r&&r.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(Rc),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const r=this.getLead();let{targetWithTransforms:a,target:l,layout:c,latestValues:u}=r;if(!(!a||!l||!c)){if(this!==r&&this.layout&&c&&Vr(this.options.animationType,this.layout.layoutBox,c.layoutBox)){l=this.target||k();const d=U(this.layout.layoutBox.x);l.x.min=r.target.x.min,l.x.max=l.x.min+d;const h=U(this.layout.layoutBox.y);l.y.min=r.target.y.min,l.y.max=l.y.min+h}$(a,l),vt(a,u),Lt(this.projectionDeltaWithTransform,this.layoutCorrected,a,u)}}registerSharedNode(r,a){this.sharedNodes.has(r)||this.sharedNodes.set(r,new jc),this.sharedNodes.get(r).add(a);const c=a.options.initialPromotionConfig;a.promote({transition:c?c.transition:void 0,preserveFollowOpacity:c&&c.shouldPreserveFollowOpacity?c.shouldPreserveFollowOpacity(a):void 0})}isLead(){const r=this.getStack();return r?r.lead===this:!0}getLead(){var a;const{layoutId:r}=this.options;return r?((a=this.getStack())==null?void 0:a.lead)||this:this}getPrevLead(){var a;const{layoutId:r}=this.options;return r?(a=this.getStack())==null?void 0:a.prevLead:void 0}getStack(){const{layoutId:r}=this.options;if(r)return this.root.sharedNodes.get(r)}promote({needsReset:r,transition:a,preserveFollowOpacity:l}={}){const c=this.getStack();c&&c.promote(this,l),r&&(this.projectionDelta=void 0,this.needsReset=!0),a&&this.setOptions({transition:a})}relegate(){const r=this.getStack();return r?r.relegate(this):!1}
vendor: 10,021 bytes, line 1
1resetSkewAndRotation(){const{visualElement:r}=this.options;if(!r)return;let a=!1;const{latestValues:l}=r;if((l.z||l.rotate||l.rotateX||l.rotateY||l.rotateZ||l.skewX||l.skewY)&&(a=!0),!a)return;const c={};l.z&&Ae("z",r,c,this.animationValues);for(let u=0;u<Ve.length;u++)Ae(`rotate${Ve[u]}`,r,c,this.animationValues),Ae(`skew${Ve[u]}`,r,c,this.animationValues);r.render();for(const u in c)r.setStaticValue(u,c[u]),this.animationValues&&(this.animationValues[u]=c[u]);r.scheduleRender()}applyProjectionStyles(r,a){if(!this.instance||this.isSVG)return;if(!this.isVisible){r.visibility="hidden";return}const l=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,r.visibility="",r.opacity="",r.pointerEvents=se(a==null?void 0:a.pointerEvents)||"",r.transform=l?l(this.latestValues,""):"none";return}const c=this.getLead();if(!this.projectionDelta||!this.layout||!c.target){this.options.layoutId&&(r.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,r.pointerEvents=se(a==null?void 0:a.pointerEvents)||""),this.hasProjected&&!ct(this.latestValues)&&(r.transform=l?l({},""):"none",this.hasProjected=!1);return}r.visibility="";const u=c.animationValues||c.latestValues;this.applyTransformsToTarget();let d=wc(this.projectionDeltaWithTransform,this.treeScale,u);l&&(d=l(u,d)),r.transform=d;const{x:h,y:m}=this.projectionDelta;r.transformOrigin=`${h.origin*100}% ${m.origin*100}% 0`,c.animationValues?r.opacity=c===this?u.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:u.opacityExit:r.opacity=c===this?u.opacity!==void 0?u.opacity:"":u.opacityExit!==void 0?u.opacityExit:0;for(const p in en){if(u[p]===void 0)continue;const{correct:g,applyTo:x,isCSSVariable:y}=en[p],b=d==="none"?u[p]:g(u[p],c);if(x){const v=x.length;for(let S=0;S<v;S++)r[x[S]]=b}else y?this.options.visualElement.renderState.vars[p]=b:r[p]=b}this.options.layoutId&&(r.pointerEvents=c===this?se(a==null?void 0:a.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(r=>{var a;return(a=r.currentAnimation)==null?void 0:a.stop()}),this.root.nodes.forEach(ks),this.root.sharedNodes.clear()}}}function kc(t){t.updateLayout()}function Nc(t){var n;const e=((n=t.resumeFrom)==null?void 0:n.snapshot)||t.snapshot;if(t.isLead()&&t.layout&&e&&t.hasListeners("didUpdate")){const{layoutBox:s,measuredBox:i}=t.layout,{animationType:o}=t.options,r=e.source!==t.layout.source;o==="size"?Y(d=>{const h=r?e.measuredBox[d]:e.layoutBox[d],m=U(h);h.min=s[d].min,h.max=h.min+m}):Vr(o,e.layoutBox,s)&&Y(d=>{const h=r?e.measuredBox[d]:e.layoutBox[d],m=U(s[d]);h.max=h.min+m,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[d].max=t.relativeTarget[d].min+m)});const a=yt();Lt(a,s,e.layoutBox);const l=yt();r?Lt(l,t.applyTransform(i,!0),e.measuredBox):Lt(l,s,e.layoutBox);const c=!br(a);let u=!1;if(!t.resumeFrom){const d=t.getClosestProjectingParent();if(d&&!d.resumeFrom){const{snapshot:h,layout:m}=d;if(h&&m){const p=k();he(p,e.layoutBox,h.layoutBox);const g=k();he(g,s,m.layoutBox),Tr(p,g)||(u=!0),d.options.layoutRoot&&(t.relativeTarget=g,t.relativeTargetOrigin=p,t.relativeParent=d)}}}t.notifyListeners("didUpdate",{layout:s,snapshot:e,delta:l,layoutDelta:a,hasLayoutChanged:c,hasRelativeLayoutChanged:u})}else if(t.isLead()){const{onExitComplete:s}=t.options;s&&s()}t.options.transition=void 0}function Ic(t){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 Bc(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function Fc(t){t.clearSnapshot()}function ks(t){t.clearMeasurements()}function Ns(t){t.isLayoutDirty=!1}function Oc(t){const{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function Is(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function Uc(t){t.resolveTargetDelta()}function _c(t){t.calcProjection()}function Wc(t){t.resetSkewAndRotation()}function Hc(t){t.removeLeadSnapshot()}function Bs(t,e,n){t.translate=D(e.translate,0,n),t.scale=D(e.scale,1,n),t.origin=e.origin,t.originPoint=e.originPoint}function Fs(t,e,n,s){t.min=D(e.min,n.min,s),t.max=D(e.max,n.max,s)}function Kc(t,e,n,s){Fs(t.x,e.x,n.x,s),Fs(t.y,e.y,n.y,s)}function $c(t){return t.animationValues&&t.animationValues.opacityExit!==void 0}const Gc={duration:.45,ease:[.4,0,.1,1]},Os=t=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),Us=Os("applewebkit/")&&!Os("chrome/")?Math.round:K;function _s(t){t.min=Us(t.min),t.max=Us(t.max)}function zc(t){_s(t.x),_s(t.y)}function Vr(t,e,n){return t==="position"||t==="preserve-aspect"&&!gc(Ds(e),Ds(n),.2)}function Yc(t){var e;return t!==t.root&&((e=t.scroll)==null?void 0:e.wasRoot)}const Xc=Pr({attachResizeListener:(t,e)=>Ot(t,"resize",e),measureScroll:()=>{var t,e;return{x:document.documentElement.scrollLeft||((t=document.body)==null?void 0:t.scrollLeft)||0,y:document.documentElement.scrollTop||((e=document.body)==null?void 0:e.scrollTop)||0}},checkIsScrollRoot:()=>!0}),Me={current:void 0},Ar=Pr({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!Me.current){const t=new Xc({});t.mount(window),t.setOptions({layoutScroll:!0}),Me.current=t}return Me.current},resetTransform:(t,e)=>{t.style.transform=e!==void 0?e:"none"},checkIsScrollRoot:t=>window.getComputedStyle(t).position==="fixed"}),Mr=C.createContext({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"});function qc(t=!0){const e=C.useContext(on);if(e===null)return[!0,null];const{isPresent:n,onExitComplete:s,register:i}=e,o=C.useId();C.useEffect(()=>{if(t)return i(o)},[t]);const r=C.useCallback(()=>t&&s&&s(o),[o,s,t]);return!n&&s?[!1,r]:[!0]}const Dr=C.createContext({strict:!1}),Ws={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]};let Hs=!1;function Zc(){if(Hs)return;const t={};for(const e in Ws)t[e]={isEnabled:n=>Ws[e].some(s=>!!n[s])};ir(t),Hs=!0}function Er(){return Zc(),Wl()}function Qc(t){const e=Er();for(const n in t)e[n]={...e[n],...t[n]};ir(e)}const Jc=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","propagate","ignoreStrict","viewport"]);function fe(t){return t.startsWith("while")||t.startsWith("drag")&&t!=="draggable"||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||Jc.has(t)}let jr=t=>!fe(t);function tu(t){typeof t=="function"&&(jr=e=>e.startsWith("on")?!fe(e):t(e))}try{tu(require("@emotion/is-prop-valid").default)}catch{}function eu(t,e,n){const s={};for(const i in t)i==="values"&&typeof t.values=="object"||(jr(i)||n===!0&&fe(i)||!e&&!fe(i)||t.draggable&&i.startsWith("onDrag"))&&(s[i]=t[i]);return s}const ge=C.createContext({});function nu(t,e){if(pe(t)){const{initial:n,animate:s}=t;return{initial:n===!1||Ft(n)?n:void 0,animate:Ft(s)?s:void 0}}return t.inherit!==!1?e:{}}function su(t){const{initial:e,animate:n}=nu(t,C.useContext(ge));return C.useMemo(()=>({initial:e,animate:n}),[Ks(e),Ks(n)])}function Ks(t){return Array.isArray(t)?t.join(" "):t}const kn=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function Rr(t,e,n){for(const s in e)!F(e[s])&&!dr(s,n)&&(t[s]=e[s])}function iu({transformTemplate:t},e){return C.useMemo(()=>{const n=kn();return Rn(n,e,t),Object.assign({},n.vars,n.style)},[e])}function ru(t,e){const n=t.style||{},s={};return Rr(s,n,t),Object.assign(s,iu(t,e)),s}function ou(t,e){const n={},s=ru(t,e);return t.drag&&t.dragListener!==!1&&(n.draggable=!1,s.userSelect=s.WebkitUserSelect=s.WebkitTouchCallout="none",s.touchAction=t.drag===!0?"none":`pan-${t.drag==="x"?"y":"x"}`),t.tabIndex===void 0&&(t.onTap||t.onTapStart||t.whileTap)&&(n.tabIndex=0),n.style=s,n}const Lr=()=>({...kn(),attrs:{}});function au(t,e,n,s){const i=C.useMemo(()=>{const o=Lr();return hr(o,e,mr(s),t.transformTemplate,t.style),{...o.attrs,style:{...o.style}}},[e]);if(t.style){const o={};Rr(o,t.style,t),i.style={...o,...i.style}}return i}const lu=["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 Nn(t){return typeof t!="string"||t.includes("-")?!1:!!(lu.indexOf(t)>-1||/[A-Z]/u.test(t))}function cu(t,e,n,{latestValues:s},i,o=!1,r){const l=(r??Nn(t)?au:ou)(e,s,i,t),c=eu(e,typeof t=="string",o),u=t!==C.Fragment?{...c,...l,ref:n}:{},{children:d}=e,h=C.useMemo(()=>F(d)?d.get():d,[d]);return C.createElement(t,{...u,children:h})}function uu({scrapeMotionValuesFromProps:t,createRenderState:e},n,s,i){return{latestValues:du(n,s,i,t),renderState:e()}}function du(t,e,n,s){const i={},o=s(t,{});for(const h in o)i[h]=se(o[h]);let{initial:r,animate:a}=t;const l=pe(t),c=nr(t);e&&c&&!l&&t.inherit!==!1&&(r===void 0&&(r=e.initial),a===void 0&&(a=e.animate));let u=n?n.initial===!1:!1;u=u||r===!1;const d=u?a:r;if(d&&typeof d!="boolean"&&!me(d)){const h=Array.isArray(d)?d:[d];for(let m=0;m<h.length;m++){const p=Sn(t,h[m]);if(p){const{transitionEnd:g,transition:x,...y}=p;for(const b in y){let v=y[b];
1if(Array.isArray(v)){const S=u?v.length-1:0;v=v[S]}v!==null&&(i[b]=v)}for(const b in g)i[b]=g[b]}}}return i}const kr=t=>(e,n)=>{const s=C.useContext(ge),i=C.useContext(on),o=()=>uu(t,e,s,i);return n?o():fo(o)},hu=kr({scrapeMotionValuesFromProps:Ln,createRenderState:kn}),fu=kr({scrapeMotionValuesFromProps:pr,createRenderState:Lr}),mu=Symbol.for("motionComponentSymbol");function pu(t,e,n){const s=C.useRef(n);C.useInsertionEffect(()=>{s.current=n});const i=C.useRef(null);return C.useCallback(o=>{var a;o&&((a=t.onMount)==null||a.call(t,o)),e&&(o?e.mount(o):e.unmount());const r=s.current;if(typeof r=="function")if(o){const l=r(o);typeof l=="function"&&(i.current=l)}else i.current?(i.current(),i.current=null):r(o);else r&&(r.current=o)},[e])}const Nr=C.createContext({});function mt(t){return t&&typeof t=="object"&&Object.prototype.hasOwnProperty.call(t,"current")}function gu(t,e,n,s,i,o){var v,S;const{visualElement:r}=C.useContext(ge),a=C.useContext(Dr),l=C.useContext(on),c=C.useContext(Mr),u=c.reducedMotion,d=c.skipAnimations,h=C.useRef(null),m=C.useRef(!1);s=s||a.renderer,!h.current&&s&&(h.current=s(t,{visualState:e,parent:r,props:n,presenceContext:l,blockInitialAnimation:l?l.initial===!1:!1,reducedMotionConfig:u,skipAnimations:d,isSVG:o}),m.current&&h.current&&(h.current.manuallyAnimateOnMount=!0));const p=h.current,g=C.useContext(Nr);p&&!p.projection&&i&&(p.type==="html"||p.type==="svg")&&yu(h.current,n,i,g);const x=C.useRef(!1);C.useInsertionEffect(()=>{p&&x.current&&p.update(n,l)});const y=n[Hi],b=C.useRef(!!y&&!((v=window.MotionHandoffIsComplete)!=null&&v.call(window,y))&&((S=window.MotionHasOptimisedAnimation)==null?void 0:S.call(window,y)));return mo(()=>{m.current=!0,p&&(x.current=!0,window.MotionIsMounted=!0,p.updateFeatures(),p.scheduleRenderMicrotask(),b.current&&p.animationState&&p.animationState.animateChanges())}),C.useEffect(()=>{p&&(!b.current&&p.animationState&&p.animationState.animateChanges(),b.current&&(queueMicrotask(()=>{var w;(w=window.MotionHandoffMarkAsComplete)==null||w.call(window,y)}),b.current=!1),p.enteringChildren=void 0)}),p}function yu(t,e,n,s){const{layoutId:i,layout:o,drag:r,dragConstraints:a,layoutScroll:l,layoutRoot:c,layoutCrossfade:u}=e;t.projection=new n(t.latestValues,e["data-framer-portal-id"]?void 0:Ir(t.parent)),t.projection.setOptions({layoutId:i,layout:o,alwaysMeasureLayout:!!r||a&&mt(a),visualElement:t,animationType:typeof o=="string"?o:"both",initialPromotionConfig:s,crossfade:u,layoutScroll:l,layoutRoot:c})}function Ir(t){if(t)return t.options.allowProjection!==!1?t.projection:Ir(t.parent)}function De(t,{forwardMotionProps:e=!1,type:n}={},s,i){s&&Qc(s);const o=n?n==="svg":Nn(t),r=o?fu:hu;function a(c,u){let d;const h={...C.useContext(Mr),...c,layoutId:xu(c)},{isStatic:m}=h,p=su(c),g=r(c,m);if(!m&&ii){vu();const x=bu(h);d=x.MeasureLayout,p.visualElement=gu(t,g,h,i,x.ProjectionNode,o)}return f.jsxs(ge.Provider,{value:p,children:[d&&p.visualElement?f.jsx(d,{visualElement:p.visualElement,...h}):null,cu(t,c,pu(g,p.visualElement,u),g,m,e,o)]})}a.displayName=`motion.${typeof t=="string"?t:`create(${t.displayName??t.name??""})`}`;const l=C.forwardRef(a);return l[mu]=t,l}function xu({layoutId:t}){const e=C.useContext(si).id;return e&&t!==void 0?e+"-"+t:t}function vu(t,e){C.useContext(Dr).strict}function bu(t){const e=Er(),{drag:n,layout:s}=e;if(!n&&!s)return{};const i={...n,...s};return{MeasureLayout:n!=null&&n.isEnabled(t)||s!=null&&s.isEnabled(t)?i.MeasureLayout:void 0,ProjectionNode:i.ProjectionNode}}function Tu(t,e){if(typeof Proxy>"u")return De;const n=new Map,s=(o,r)=>De(o,r,t,e),i=(o,r)=>s(o,r);return new Proxy(i,{get:(o,r)=>r==="create"?s:(n.has(r)||n.set(r,De(r,void 0,t,e)),n.get(r))})}const wu=(t,e)=>e.isSVG??Nn(t)?new rc(e):new Jl(e,{allowProjection:t!==C.Fragment});class Cu extends at{constructor(e){super(e),e.animationState||(e.animationState=uc(e))}updateAnimationControlsSubscription(){const{animate:e}=this.node.getProps();me(e)&&(this.unmountControls=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:e}=this.node.getProps(),{animate:n}=this.node.prevProps||{};e!==n&&this.updateAnimationControlsSubscription()}unmount(){var e;this.node.animationState.reset(),(e=this.unmountControls)==null||e.call(this)}}let Su=0;class Pu extends at{constructor(){super(...arguments),this.id=Su++}update(){if(!this.node.presenceContext)return;const{isPresent:e,onExitComplete:n}=this.node.presenceContext,{isPresent:s}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===s)return;const i=this.node.animationState.setActive("exit",!e);n&&!e&&i.then(()=>{n(this.id)})}mount(){const{register:e,onExitComplete:n}=this.node.presenceContext||{};
vendor: 18,580 bytes, line 1
1n&&n(this.id),e&&(this.unmount=e(this.id))}unmount(){}}const Vu={animation:{Feature:Cu},exit:{Feature:Pu}};function Ht(t){return{point:{x:t.pageX,y:t.pageY}}}const Au=t=>e=>Mn(e)&&t(e,Ht(e));function kt(t,e,n,s){return Ot(t,e,Au(n),s)}const Br=({current:t})=>t?t.ownerDocument.defaultView:null,$s=(t,e)=>Math.abs(t-e);function Mu(t,e){const n=$s(t.x,e.x),s=$s(t.y,e.y);return Math.sqrt(n**2+s**2)}const Gs=new Set(["auto","scroll"]);class Fr{constructor(e,n,{transformPagePoint:s,contextWindow:i=window,dragSnapToOrigin:o=!1,distanceThreshold:r=3,element:a}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=m=>{this.handleScroll(m.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const m=je(this.lastMoveEventInfo,this.history),p=this.startEvent!==null,g=Mu(m.offset,{x:0,y:0})>=this.distanceThreshold;if(!p&&!g)return;const{point:x}=m,{timestamp:y}=N;this.history.push({...x,timestamp:y});const{onStart:b,onMove:v}=this.handlers;p||(b&&b(this.lastMoveEvent,m),this.startEvent=this.lastMoveEvent),v&&v(this.lastMoveEvent,m)},this.handlePointerMove=(m,p)=>{this.lastMoveEvent=m,this.lastMoveEventInfo=Ee(p,this.transformPagePoint),M.update(this.updatePoint,!0)},this.handlePointerUp=(m,p)=>{this.end();const{onEnd:g,onSessionEnd:x,resumeAnimation:y}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&y&&y(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const b=je(m.type==="pointercancel"?this.lastMoveEventInfo:Ee(p,this.transformPagePoint),this.history);this.startEvent&&g&&g(m,b),x&&x(m,b)},!Mn(e))return;this.dragSnapToOrigin=o,this.handlers=n,this.transformPagePoint=s,this.distanceThreshold=r,this.contextWindow=i||window;const l=Ht(e),c=Ee(l,this.transformPagePoint),{point:u}=c,{timestamp:d}=N;this.history=[{...u,timestamp:d}];const{onSessionStart:h}=n;h&&h(e,je(c,this.history)),this.removeListeners=Ut(kt(this.contextWindow,"pointermove",this.handlePointerMove),kt(this.contextWindow,"pointerup",this.handlePointerUp),kt(this.contextWindow,"pointercancel",this.handlePointerUp)),a&&this.startScrollTracking(a)}startScrollTracking(e){let n=e.parentElement;for(;n;){const s=getComputedStyle(n);(Gs.has(s.overflowX)||Gs.has(s.overflowY))&&this.scrollPositions.set(n,{x:n.scrollLeft,y:n.scrollTop}),n=n.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener("scroll",this.onElementScroll,{capture:!0,passive:!0}),window.addEventListener("scroll",this.onWindowScroll,{passive:!0}),this.removeScrollListeners=()=>{window.removeEventListener("scroll",this.onElementScroll,{capture:!0}),window.removeEventListener("scroll",this.onWindowScroll)}}handleScroll(e){const n=this.scrollPositions.get(e);if(!n)return;const s=e===window,i=s?{x:window.scrollX,y:window.scrollY}:{x:e.scrollLeft,y:e.scrollTop},o={x:i.x-n.x,y:i.y-n.y};o.x===0&&o.y===0||(s?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=o.x,this.lastMoveEventInfo.point.y+=o.y):this.history.length>0&&(this.history[0].x-=o.x,this.history[0].y-=o.y),this.scrollPositions.set(e,i),M.update(this.updatePoint,!0))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),rt(this.updatePoint)}}function Ee(t,e){return e?{point:e(t.point)}:t}function zs(t,e){return{x:t.x-e.x,y:t.y-e.y}}function je({point:t},e){return{point:t,delta:zs(t,Or(e)),offset:zs(t,Du(e)),velocity:Eu(e,.1)}}function Du(t){return t[0]}function Or(t){return t[t.length-1]}function Eu(t,e){if(t.length<2)return{x:0,y:0};let n=t.length-1,s=null;const i=Or(t);for(;n>=0&&(s=t[n],!(i.timestamp-s.timestamp>z(e)));)n--;if(!s)return{x:0,y:0};s===t[0]&&t.length>2&&i.timestamp-s.timestamp>z(e)*2&&(s=t[1]);const o=H(i.timestamp-s.timestamp);if(o===0)return{x:0,y:0};const r={x:(i.x-s.x)/o,y:(i.y-s.y)/o};return r.x===1/0&&(r.x=0),r.y===1/0&&(r.y=0),r}function ju(t,{min:e,max:n},s){return e!==void 0&&t<e?t=s?D(e,t,s.min):Math.max(t,e):n!==void 0&&t>n&&(t=s?D(n,t,s.max):Math.min(t,n)),t}function Ys(t,e,n){return{min:e!==void 0?t.min+e:void 0,max:n!==void 0?t.max+n-(t.max-t.min):void 0}}function Ru(t,{top:e,left:n,bottom:s,right:i}){return{x:Ys(t.x,n,i),y:Ys(t.y,e,s)}}function Xs(t,e){let n=e.min-t.min,s=e.max-t.max;return e.max-e.min<t.max-t.min&&([n,s]=[s,n]),{min:n,max:s}}function Lu(t,e){return{x:Xs(t.x,e.x),y:Xs(t.y,e.y)}}function ku(t,e){let n=.5;const s=U(t),i=U(e);return i>s?n=Nt(e.min,e.max-s,t.min):s>i&&(n=Nt(t.min,t.max-i,e.min)),q(0,1,n)}function Nu(t,e){const n={};return e.min!==void 0&&(n.min=e.min-t.min),e.max!==void 0&&(n.max=e.max-t.min),n}const nn=.35;function Iu(t=nn){return t===!1?t=0:t===!0&&(t=nn),{x:qs(t,"left","right"),y:qs(t,"top","bottom")}}function qs(t,e,n){return{min:Zs(t,e),max:Zs(t,n)}}function Zs(t,e){return typeof t=="number"?t:t[e]||0}const Bu=new WeakMap;class Fu{constructor(e){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=k(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=e}start(e,{snapToCursor:n=!1,distanceThreshold:s}={}){const{presenceContext:i}=this.visualElement;if(i&&i.isPresent===!1)return;const o=d=>{n&&this.snapToCursor(Ht(d).point),this.stopAnimation()},r=(d,h)=>{const{drag:m,dragPropagation:p,onDragStart:g}=this.getProps();if(m&&!p&&(this.openDragLock&&this.openDragLock(),this.openDragLock=xl(m),!this.openDragLock))return;this.latestPointerEvent=d,this.latestPanInfo=h,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Y(y=>{let b=this.getAxisMotionValue(y).get()||0;if(X.test(b)){const{projection:v}=this.visualElement;if(v&&v.layout){const S=v.layout.layoutBox[y];S&&(b=U(S)*(parseFloat(b)/100))}}this.originPoint[y]=b}),g&&M.update(()=>g(d,h),!1,!0),Xe(this.visualElement,"transform");const{animationState:x}=this.visualElement;x&&x.setActive("whileDrag",!0)},a=(d,h)=>{this.latestPointerEvent=d,this.latestPanInfo=h;const{dragPropagation:m,dragDirectionLock:p,onDirectionLock:g,onDrag:x}=this.getProps();if(!m&&!this.openDragLock)return;const{offset:y}=h;if(p&&this.currentDirection===null){this.currentDirection=Uu(y),this.currentDirection!==null&&g&&g(this.currentDirection);return}this.updateAxis("x",h.point,y),this.updateAxis("y",h.point,y),this.visualElement.render(),x&&M.update(()=>x(d,h),!1,!0)},l=(d,h)=>{this.latestPointerEvent=d,this.latestPanInfo=h,this.stop(d,h),this.latestPointerEvent=null,this.latestPanInfo=null},c=()=>{const{dragSnapToOrigin:d}=this.getProps();(d||this.constraints)&&this.startAnimation({x:0,y:0})},{dragSnapToOrigin:u}=this.getProps();this.panSession=new Fr(e,{onSessionStart:o,onStart:r,onMove:a,onSessionEnd:l,resumeAnimation:c},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:u,distanceThreshold:s,contextWindow:Br(this.visualElement),element:this.visualElement.current})}stop(e,n){const s=e||this.latestPointerEvent,i=n||this.latestPanInfo,o=this.isDragging;if(this.cancel(),!o||!i||!s)return;const{velocity:r}=i;this.startAnimation(r);const{onDragEnd:a}=this.getProps();a&&M.postRender(()=>a(s,i))}cancel(){this.isDragging=!1;const{projection:e,animationState:n}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.endPanSession();const{dragPropagation:s}=this.getProps();!s&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),n&&n.setActive("whileDrag",!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(e,n,s){const{drag:i}=this.getProps();if(!s||!Qt(e,i,this.currentDirection))return;const o=this.getAxisMotionValue(e);let r=this.originPoint[e]+s[e];this.constraints&&this.constraints[e]&&(r=ju(r,this.constraints[e],this.elastic[e])),o.set(r)}resolveConstraints(){var o;const{dragConstraints:e,dragElastic:n}=this.getProps(),s=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(o=this.visualElement.projection)==null?void 0:o.layout,i=this.constraints;e&&mt(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):e&&s?this.constraints=Ru(s.layoutBox,e):this.constraints=!1,this.elastic=Iu(n),i!==this.constraints&&!mt(e)&&s&&this.constraints&&!this.hasMutatedConstraints&&Y(r=>{this.constraints!==!1&&this.getAxisMotionValue(r)&&(this.constraints[r]=Nu(s.layoutBox[r],this.constraints[r]))})}resolveRefConstraints(){const{dragConstraints:e,onMeasureDragConstraints:n}=this.getProps();if(!e||!mt(e))return!1;const s=e.current,{projection:i}=this.visualElement;if(!i||!i.layout)return!1;const o=zl(s,i.root,this.visualElement.getTransformPagePoint());let r=Lu(i.layout.layoutBox,o);if(n){const a=n(Kl(r));this.hasMutatedConstraints=!!a,a&&(r=or(a))}return r}startAnimation(e){const{drag:n,dragMomentum:s,dragElastic:i,dragTransition:o,dragSnapToOrigin:r,onDragTransitionEnd:a}=this.getProps(),l=this.constraints||{},c=Y(u=>{if(!Qt(u,n,this.currentDirection))return;let d=l&&l[u]||{};r&&(d={min:0,max:0});const h=i?200:1e6,m=i?40:1e7,p={type:"inertia",velocity:s?e[u]:0,bounceStiffness:h,bounceDamping:m,timeConstant:750,restDelta:1,restSpeed:10,...o,...d};return this.startAxisValueAnimation(u,p)});return Promise.all(c).then(a)}startAxisValueAnimation(e,n){const s=this.getAxisMotionValue(e);return Xe(this.visualElement,e),s.start(Cn(e,s,0,n,this.visualElement,!1))}stopAnimation(){Y(e=>this.getAxisMotionValue(e).stop())}getAxisMotionValue(e){const n=`_drag${e.toUpperCase()}`,s=this.visualElement.getProps(),i=s[n];return i||this.visualElement.getValue(e,(s.initial?s.initial[e]:void 0)||0)}snapToCursor(e){Y(n=>{const{drag:s}=this.getProps();if(!Qt(n,s,this.currentDirection))return;const{projection:i}=this.visualElement,o=this.getAxisMotionValue(n);if(i&&i.layout){const{min:r,max:a}=i.layout.layoutBox[n],l=o.get()||0;o.set(e[n]-D(r,a,.5)+l)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:e,dragConstraints:n}=this.getProps(),{projection:s}=this.visualElement;if(!mt(n)||!s||!this.constraints)return;this.stopAnimation();const i={x:0,y:0};Y(r=>{const a=this.getAxisMotionValue(r);if(a&&this.constraints!==!1){const l=a.get();i[r]=ku({min:l,max:l},this.constraints[r])}});const{transformTemplate:o}=this.visualElement.getProps();this.visualElement.current.style.transform=o?o({},""):"none",s.root&&s.root.updateScroll(),s.updateLayout(),this.constraints=!1,this.resolveConstraints(),Y(r=>{if(!Qt(r,e,null))return;const a=this.getAxisMotionValue(r),{min:l,max:c}=this.constraints[r];a.set(D(l,c,i[r]))}),this.visualElement.render()}addListeners(){if(!this.visualElement.current)return;Bu.set(this.visualElement,this);const e=this.visualElement.current,n=kt(e,"pointerdown",c=>{const{drag:u,dragListener:d=!0}=this.getProps(),h=c.target,m=h!==e&&Sl(h);u&&d&&!m&&this.start(c)});let s;const i=()=>{const{dragConstraints:c}=this.getProps();mt(c)&&c.current&&(this.constraints=this.resolveRefConstraints(),s||(s=Ou(e,c.current,()=>this.scalePositionWithinConstraints())))},{projection:o}=this.visualElement,r=o.addEventListener("measure",i);o&&!o.layout&&(o.root&&o.root.updateScroll(),o.updateLayout()),M.read(i);const a=Ot(window,"resize",()=>this.scalePositionWithinConstraints()),l=o.addEventListener("didUpdate",({delta:c,hasLayoutChanged:u})=>{this.isDragging&&u&&(Y(d=>{const h=this.getAxisMotionValue(d);h&&(this.originPoint[d]+=c[d].translate,h.set(h.get()+c[d].translate))}),this.visualElement.render())});return()=>{a(),n(),r(),l&&l(),s&&s()}}getProps(){const e=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:s=!1,dragPropagation:i=!1,dragConstraints:o=!1,dragElastic:r=nn,dragMomentum:a=!0}=e;return{...e,drag:n,dragDirectionLock:s,dragPropagation:i,dragConstraints:o,dragElastic:r,dragMomentum:a}}}function Qs(t){let e=!0;return()=>{if(e){e=!1;return}t()}}function Ou(t,e,n){const s=as(t,Qs(n)),i=as(e,Qs(n));return()=>{s(),i()}}function Qt(t,e,n){return(e===!0||e===t)&&(n===null||n===t)}function Uu(t,e=10){let n=null;return Math.abs(t.y)>e?n="y":Math.abs(t.x)>e&&(n="x"),n}class _u extends at{constructor(e){super(e),this.removeGroupControls=K,this.removeListeners=K,this.controls=new Fu(e)}mount(){const{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||K}update(){const{dragControls:e}=this.node.getProps(),{dragControls:n}=this.node.prevProps||{};e!==n&&(this.removeGroupControls(),e&&(this.removeGroupControls=e.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}}const Re=t=>(e,n)=>{t&&M.update(()=>t(e,n),!1,!0)};class Wu extends at{constructor(){super(...arguments),this.removePointerDownListener=K}onPointerDown(e){this.session=new Fr(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:Br(this.node)})}createPanHandlers(){const{onPanSessionStart:e,onPanStart:n,onPan:s,onPanEnd:i}=this.node.getProps();return{onSessionStart:Re(e),onStart:Re(n),onMove:Re(s),onEnd:(o,r)=>{delete this.session,i&&M.postRender(()=>i(o,r))}}}mount(){this.removePointerDownListener=kt(this.node.current,"pointerdown",e=>this.onPointerDown(e))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}let Le=!1;class Hu extends C.Component{componentDidMount(){const{visualElement:e,layoutGroup:n,switchLayoutGroup:s,layoutId:i}=this.props,{projection:o}=e;o&&(n.group&&n.group.add(o),s&&s.register&&i&&s.register(o),Le&&o.root.didUpdate(),o.addEventListener("animationComplete",()=>{this.safeToRemove()}),o.setOptions({...o.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),ie.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){const{layoutDependency:n,visualElement:s,drag:i,isPresent:o}=this.props,{projection:r}=s;return r&&(r.isPresent=o,e.layoutDependency!==n&&r.setOptions({...r.options,layoutDependency:n}),Le=!0,i||e.layoutDependency!==n||n===void 0||e.isPresent!==o?r.willUpdate():this.safeToRemove(),e.isPresent!==o&&(o?r.promote():r.relegate()||M.postRender(()=>{const a=r.getStack();(!a||!a.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:e}=this.props.visualElement;e&&(e.root.didUpdate(),An.postRender(()=>{!e.currentAnimation&&e.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:e,layoutGroup:n,switchLayoutGroup:s}=this.props,{projection:i}=e;Le=!0,i&&(i.scheduleCheckAfterUnmount(),n&&n.group&&n.group.remove(i),s&&s.deregister&&s.deregister(i))}safeToRemove(){const{safeToRemove:e}=this.props;e&&e()}render(){return null}}function Ur(t){const[e,n]=qc(),s=C.useContext(si);return f.jsx(Hu,{...t,layoutGroup:s,switchLayoutGroup:C.useContext(Nr),isPresent:e,safeToRemove:n})}const Ku={pan:{Feature:Wu},drag:{Feature:_u,ProjectionNode:Ar,MeasureLayout:Ur}};function Js(t,e,n){const{props:s}=t;t.animationState&&s.whileHover&&t.animationState.setActive("whileHover",n==="Start");const i="onHover"+n,o=s[i];o&&M.postRender(()=>o(e,Ht(e)))}class $u extends at{mount(){const{current:e}=this.node;e&&(this.unmount=bl(e,(n,s)=>(Js(this.node,s,"Start"),i=>Js(this.node,i,"End"))))}unmount(){}}class Gu extends at{constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.node.current.matches(":focus-visible")}catch{e=!0}!e||!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=Ut(Ot(this.node.current,"focus",()=>this.onFocus()),Ot(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function ti(t,e,n){const{props:s}=t;if(t.current instanceof HTMLButtonElement&&t.current.disabled)return;t.animationState&&s.whileTap&&t.animationState.setActive("whileTap",n==="Start");const i="onTap"+(n==="End"?"":n),o=s[i];o&&M.postRender(()=>o(e,Ht(e)))}class zu extends at{mount(){const{current:e}=this.node;if(!e)return;const{globalTapTarget:n,propagate:s}=this.node.props;this.unmount=Vl(e,(i,o)=>(ti(this.node,o,"Start"),(r,{success:a})=>ti(this.node,r,a?"End":"Cancel")),{useGlobalTarget:n,stopPropagation:(s==null?void 0:s.tap)===!1})}unmount(){}}const sn=new WeakMap,ke=new WeakMap,Yu=t=>{const e=sn.get(t.target);e&&e(t)},Xu=t=>{t.forEach(Yu)};function qu({root:t,...e}){const n=t||document;ke.has(n)||ke.set(n,{});const s=ke.get(n),i=JSON.stringify(e);return s[i]||(s[i]=new IntersectionObserver(Xu,{root:t,...e})),s[i]}function Zu(t,e,n){const s=qu(e);return sn.set(t,n),s.observe(t),()=>{sn.delete(t),s.unobserve(t)}}const Qu={some:0,all:1};class Ju extends at{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:e={}}=this.node.getProps(),{root:n,margin:s,amount:i="some",once:o}=e,r={root:n?n.current:void 0,rootMargin:s,threshold:typeof i=="number"?i:Qu[i]},a=l=>{const{isIntersecting:c}=l;if(this.isInView===c||(this.isInView=c,o&&!c&&this.hasEnteredView))return;c&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",c);const{onViewportEnter:u,onViewportLeave:d}=this.node.getProps(),h=c?u:d;h&&h(l)};return Zu(this.node.current,r,a)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:e,prevProps:n}=this.node;["amount","margin","root"].some(td(e,n))&&this.startObserver()}unmount(){}}function td({viewport:t={}},{viewport:e={}}={}){return n=>t[n]!==e[n]}const ed={inView:{Feature:Ju},tap:{Feature:zu},focus:{Feature:Gu},hover:{Feature:$u}},nd={layout:{ProjectionNode:Ar,MeasureLayout:Ur}},sd={...Vu,...ed,...Ku,...nd},ft=Tu(sd,wu),re=[{minQty:40,discountPercent:20},{minQty:30,discountPercent:16},{minQty:20,discountPercent:12},{minQty:10,discountPercent:8},{minQty:5,discountPercent:5},{minQty:1,discountPercent:0}],ei=[{creditsPerSeat:1200,addonPerSeatMonthly:0},{creditsPerSeat:3e3,addonPerSeatMonthly:100},{creditsPerSeat:7e3,addonPerSeatMonthly:280},{creditsPerSeat:2e4,addonPerSeatMonthly:820},{creditsPerSeat:5e4,addonPerSeatMonthly:1900}],ni="Everything in Starter, plus:";
1function Mt(t){return t.toLocaleString("en-US")}const id=({className:t})=>f.jsxs("svg",{className:t,viewBox:"0 0 114 24",fill:"none",role:"img","aria-label":"Guideless",children:[f.jsx("path",{d:"M113.596 9.53773V12.1352H112.475L112.297 10.512C111.995 10.3475 111.705 10.2255 111.431 10.1423C111.158 10.0609 110.883 10.0184 110.609 10.0184C110.017 10.0184 109.554 10.1644 109.22 10.4547C108.886 10.7449 108.721 11.1517 108.721 11.6748C108.721 12.1 108.855 12.4624 109.121 12.76C109.387 13.0577 109.899 13.3905 110.655 13.7565C110.774 13.8157 110.956 13.9025 111.2 14.0135C112.059 14.4091 112.681 14.7677 113.066 15.0876C113.347 15.3113 113.561 15.596 113.71 15.938C113.859 16.2744 113.932 16.6479 113.932 17.0583C113.932 18.1324 113.554 18.9754 112.798 19.5873C112.05 20.1919 111.009 20.4932 109.677 20.4932C109.129 20.4932 108.604 20.4525 108.099 20.3693C107.604 20.2954 107.143 20.1752 106.721 20.0107V17.0324H107.809L108.087 18.9791C108.406 19.1658 108.723 19.3045 109.042 19.3932C109.369 19.482 109.694 19.5282 110.02 19.5282C110.664 19.5282 111.18 19.3599 111.565 19.0253C111.958 18.6815 112.154 18.2341 112.154 17.6832C112.154 17.221 112.02 16.8402 111.754 16.5407C111.488 16.2356 110.852 15.8511 109.844 15.3871C108.703 14.8713 107.927 14.3869 107.51 13.9321C107.103 13.4773 106.899 12.9135 106.899 12.2424C106.899 11.2201 107.252 10.4288 107.954 9.86865C108.659 9.30849 109.65 9.02934 110.932 9.02934C111.444 9.02934 111.918 9.07371 112.354 9.16429C112.798 9.24564 113.213 9.3695 113.598 9.53403L113.596 9.53773Z",fill:"currentColor"}),f.jsx("path",{d:"M104.694 9.53773V12.1352H103.573L103.395 10.512C103.092 10.3475 102.802 10.2255 102.529 10.1423C102.256 10.0609 101.98 10.0184 101.707 10.0184C101.114 10.0184 100.652 10.1644 100.318 10.4547C99.9842 10.7449 99.8191 11.1517 99.8191 11.6748C99.8191 12.1 99.953 12.4624 100.219 12.76C100.485 13.0577 100.997 13.3905 101.751 13.7565C101.87 13.8157 102.052 13.9025 102.296 14.0135C103.155 14.4091 103.777 14.7677 104.162 15.0876C104.443 15.3113 104.659 15.596 104.806 15.938C104.955 16.2744 105.028 16.6479 105.028 17.0583C105.028 18.1324 104.65 18.9754 103.894 19.5873C103.146 20.1919 102.105 20.4932 100.773 20.4932C100.225 20.4932 99.6998 20.4525 99.1953 20.3693C98.6981 20.2954 98.2394 20.1752 97.8174 20.0107V17.0324H98.9054L99.1824 18.9791C99.5017 19.1658 99.8191 19.3045 100.138 19.3932C100.465 19.482 100.79 19.5282 101.116 19.5282C101.76 19.5282 102.276 19.3599 102.661 19.0253C103.054 18.6815 103.25 18.2341 103.25 17.6832C103.25 17.221 103.116 16.8402 102.85 16.5407C102.584 16.2356 101.947 15.8511 100.94 15.3871C99.7989 14.8713 99.0228 14.3869 98.6082 13.9321C98.2008 13.4773 97.9972 12.9135 97.9972 12.2424C97.9972 11.2201 98.3495 10.4288 99.0522 9.86865C99.7549 9.30849 100.747 9.02934 102.03 9.02934C102.542 9.02934 103.015 9.07371 103.452 9.16429C103.896 9.24564 104.311 9.3695 104.696 9.53403L104.694 9.53773Z",fill:"currentColor"}),f.jsx("path",{d:"M93.7552 13.298V12.9394C93.7552 12.0132 93.5516 11.3051 93.1442 10.8133C92.7443 10.3216 92.159 10.0739 91.3884 10.0739C90.6178 10.0739 89.9774 10.3789 89.4215 10.9908C88.8729 11.5954 88.5665 12.3644 88.5005 13.2962H93.7552V13.298ZM95.7881 19.1307C95.1148 19.5781 94.4139 19.9183 93.6892 20.1493C92.9626 20.3804 92.2342 20.4969 91.5003 20.4969C89.9976 20.4969 88.7757 19.9774 87.8344 18.9403C86.9005 17.8958 86.4345 16.537 86.4345 14.8657C86.4345 13.1945 86.9226 11.7506 87.9005 10.6673C88.8858 9.5784 90.1481 9.03303 91.6893 9.03303C92.9479 9.03303 93.9442 9.43975 94.6781 10.2532C95.4193 11.0592 95.7881 12.1592 95.7881 13.555C95.7881 13.7417 95.7845 13.8841 95.7771 13.9802C95.7771 14.0763 95.7698 14.1706 95.7551 14.2593H88.3904V14.5163C88.3904 15.9565 88.7353 17.099 89.4233 17.942C90.1114 18.7776 91.0416 19.1954 92.2122 19.1954C92.7534 19.1954 93.3112 19.0863 93.8892 18.87C94.4744 18.6537 95.1074 18.3173 95.7881 17.8625V19.1307Z",fill:"currentColor"}),f.jsx("path",{d:"M82.3393 4.96032H80.5853V4.24487L83.3631 3.42773H84.2291V18.9865L84.6401 19.3562L85.9391 19.469V20.2972H82.3393V4.96032Z",fill:"currentColor"}),f.jsx("path",{d:"M78.0992 13.298V12.9394C78.0992 12.0132 77.8955 11.3051 77.4882 10.8133C77.0882 10.3216 76.503 10.0739 75.7324 10.0739C74.9618 10.0739 74.3214 10.3789 73.7655 10.9908C73.2169 11.5954 72.9105 12.3644 72.8444 13.2962H78.0992V13.298ZM80.1321 19.1307C79.4587 19.5781 78.7579 19.9183 78.0331 20.1493C77.3066 20.3804 76.5782 20.4969 75.8443 20.4969C74.3416 20.4969 73.1196 19.9774 72.1784 18.9403C71.2445 17.8958 70.7785 16.537 70.7785 14.8657C70.7785 13.1945 71.2665 11.7506 72.2445 10.66
173C73.2297 9.5784 74.4921 9.03303 76.0332 9.03303C77.2919 9.03303 78.2882 9.43975 79.0221 10.2532C79.7633 11.0592 80.1321 12.1592 80.1321 13.555C80.1321 13.7417 80.1284 13.8841 80.1211 13.9802C80.1211 14.0763 80.1138 14.1706 80.0991 14.2593H72.7343V14.5163C72.7343 15.9565 73.0793 17.099 73.7673 17.942C74.4554 18.7776 75.3856 19.1954 76.5562 19.1954C77.0974 19.1954 77.6552 19.0863 78.2331 18.87C78.8184 18.6537 79.4514 18.3173 80.1321 17.8625V19.1307Z",fill:"currentColor"}),f.jsx("path",{d:"M66.7127 10.39C66.298 10.2698 65.9237 10.1811 65.5916 10.1219C65.265 10.0554 64.9733 10.0221 64.7146 10.0221C63.5514 10.0221 62.612 10.4547 61.8927 11.3199C61.1809 12.1851 60.8267 13.3276 60.8267 14.7456C60.8267 16.0655 61.1332 17.1156 61.7478 17.8902C62.3698 18.6667 63.1991 19.0549 64.2357 19.0549C64.6357 19.0549 65.0394 18.9921 65.4467 18.8645C65.8613 18.7295 66.2833 18.528 66.7127 18.26V10.39ZM66.7127 4.96032H64.9678V4.24487L67.7456 3.42773H68.6006V18.9865L68.9896 19.3562L70.0776 19.469V20.2972H66.7108V19.1104C66.1182 19.5873 65.5402 19.9386 64.977 20.1623C64.4137 20.386 63.8247 20.4988 63.2101 20.4988C61.9368 20.4988 60.8855 19.9996 60.0543 18.9994C59.2323 17.9919 58.8214 16.7052 58.8214 15.1375C58.8214 13.3165 59.3626 11.8431 60.4433 10.7154C61.5313 9.58025 62.9459 9.01455 64.6871 9.01455C64.9898 9.01455 65.3127 9.03673 65.654 9.0811C65.9953 9.12547 66.3457 9.19017 66.709 9.27152V4.96217L66.7127 4.96032Z",fill:"currentColor"}),f.jsx("path",{d:"M56.638 4.96032V6.5724L54.8601 7.09558L54.7262 7.1344V5.2709L55.7811 4.96032H56.638Z",fill:"currentColor"}),f.jsx("path",{d:"M55.7481 9.1569H56.6361V18.9847L57.0251 19.3544L58.2471 19.4672V20.2954H53.1373V19.4672L54.3372 19.3544L54.7262 18.9847V10.6913H53.1373V9.97403L55.7481 9.1569Z",fill:"currentColor"}),f.jsx("path",{d:"M42.9268 9.03488H43.7928V16.6239C43.7928 17.4595 43.9708 18.0751 44.3267 18.4707C44.6827 18.8589 45.2368 19.0531 45.9927 19.0531C46.4147 19.0531 46.8404 18.9976 47.2697 18.8848C47.7064 18.7721 48.1614 18.602 48.6366 18.369V10.6007H47.0147V9.88344L49.6586 9.03303H50.5246V18.9847L50.9355 19.3544L52.0015 19.4672V20.2954H48.6348V19.0087C47.9229 19.5245 47.2642 19.9035 46.6569 20.1512C46.0569 20.3971 45.4863 20.5209 44.9469 20.5209C43.9616 20.5209 43.2057 20.2233 42.681 19.6262C42.1617 19.0216 41.903 18.1527 41.903 17.0176V10.6044H40.2811V9.88714L42.925 9.03673L42.9268 9.03488Z",fill:"currentColor"}),f.jsx("path",{d:"M33.9493 12.9172H39.6371V13.8582L38.3821 13.9709L38.0041 14.2852V19.7704C37.0849 20.0384 36.2336 20.2399 35.4483 20.3749C34.6704 20.5098 33.953 20.5764 33.2925 20.5764C32.5366 20.5764 31.8265 20.4988 31.1605 20.3416C30.5018 20.1845 29.9055 19.9571 29.3716 19.6594C28.1496 18.9588 27.1864 17.9808 26.4837 16.7274C25.7883 15.474 25.4397 14.0967 25.4397 12.5974C25.4397 10.1644 26.1773 8.23254 27.6506 6.79979C29.1239 5.35964 31.1091 4.63864 33.6044 4.63864C34.2924 4.63864 35.0043 4.6941 35.7364 4.80687C36.4703 4.91965 37.217 5.08603 37.9803 5.30972V8.94799H36.7033L36.3584 6.86634L36.0354 6.45223C35.6061 6.25072 35.1768 6.10097 34.7474 6.00484C34.3254 5.90871 33.8924 5.85879 33.4484 5.85879C31.6926 5.85879 30.3092 6.44483 29.2945 7.61692C28.2872 8.789 27.7827 10.3974 27.7827 12.4421C27.7827 14.4867 28.3056 16.2744 29.3496 17.5131C30.4009 18.7443 31.8265 19.3599 33.6264 19.3599C33.975 19.3599 34.342 19.3378 34.7254 19.2934C35.1181 19.2416 35.5254 19.1621 35.9474 19.0586V14.2908L35.5584 13.9765L33.9475 13.8637V12.9227L33.9493 12.9172Z",fill:"currentColor"}),f.jsx("path",{d:"M14.6469 13.3662L21.0374 17.6441L20.6282 18.3596L13.7515 14.9191C12.7131 14.3996 11.4838 15.1132 11.4122 16.2798L10.9315 24H10.1114L9.63066 16.2853C9.55727 15.1132 8.32431 14.3959 7.28033 14.9173L0.409152 18.3559L0 17.6404L6.39414 13.3607C7.36106 12.7136 7.36106 11.2845 6.39414 10.6375L0 6.35957L0.409152 5.64412L7.28033 9.08273C8.32431 9.60407 9.55727 8.88492 9.63066 7.71468C9.95114 2.57156 10.1114 0 10.1114 0H10.9315C10.9315 0 10.9315 0 11.4122 7.71838C11.4856 8.88492 12.7131 9.60037 13.7534 9.08088L20.6301 5.64042L21.0392 6.35588L14.6487 10.6338C13.6781 11.2827 13.6781 12.7191 14.6487 13.368L14.6469 13.3662Z",fill:"currentColor"})]}),rd=({className:t})=>f.jsxs("svg",{className:t,viewBox:"0 0 128 37",fill:"none",role:"img","aria-label":"GTM Nexus",children:[f.jsx("path",{fill:"currentColor",d:"M34.55 6.304c.102.032.191.023.234.131.13.324.128 4.077-.004 4.489-.56.285-11.646.207-12.672.091.05 1.8.161 3.602.168 5.403.005 1.386-.167 2.866.048 4.235-1.094-.726-3.78-2.971-4.586-4.003-.287-1.485-.257-4.057-.146-5.602-1.709.081-3.45.017-5.164.022-1.382.005-2.805.109-4.179-.033.115 1.799-.002 3.661-.003 5.469 0 3.012.066 6.042-.045 9.051.515.444 1.022.886 1.501 1.37l4.027.124c-.092-1.3-.076-2.615-.086-3.918-.008-1.046-.06-2.113.034-3.156-1.113-1.
1099-2.248-2.246-3.26-3.438a63 63 0 0 1 3.683-.007q.044.002.086.006c.284.028.578.074.832.21.793.422 2.621 2.039 3.223 2.723l-.05 7.096c-.002 1.303.227 3.742-.106 4.919-.678.305-7.528.213-8.686.14a8 8 0 0 1-1.087-.171c-1.59-1.476-3.235-2.901-4.683-4.524-.153-1.335-.105-2.693-.105-4.035l-.002-12.1c0-1.482-.043-2.976.097-4.452 6.577.176 13.19.058 19.772.042l6.632.005c1.505.001 3.027.049 4.527-.087"}),f.jsx("path",{fill:"currentColor",d:"M31.231 13.879c1.194.018 2.407.066 3.592-.104.148 2.931.02 5.932.017 8.869-.002 2.762.119 5.58.011 8.337-.007.204-.025.341-.14.517-.608.321-3.518.177-4.296.114-.256-1.808-.114-3.759-.116-5.586-.002-1.959-.128-4.02.096-5.965-.665.626-1.293 1.303-1.946 1.942-1.47 1.558-3.031 3.045-4.548 4.558-1.059 1.057-2.087 2.194-3.213 3.177-.07-2.07.002-4.175.045-6.246l.066-.076c2.112-2.369 4.465-4.502 6.732-6.716.793-.776 1.762-1.975 2.67-2.58.32-.214.656-.221 1.03-.241m32.234-.614c1.184.005 2.37-.006 3.552.071l1.729 4.969c.336.964.758 1.945.947 2.95.764-2.698 1.903-5.291 2.755-7.966l3.343-.02c-.162 3.871-.068 7.796-.082 11.672a42 42 0 0 1-2.237-.042c-.035-2.426-.122-4.871-.046-7.295-.025-.522.053-1.072.094-1.595-.254.715-.427 1.456-.67 2.175a166 166 0 0 1-2.399 6.776c-.543-.026-1.09-.006-1.634.001-.573-1.251-.99-2.58-1.44-3.879-.558-1.614-1.136-3.221-1.555-4.879-.07.877.016 1.774.018 2.654q-.001 3.043.044 6.087-1.184.003-2.366.027c-.071-3.901.048-7.805-.053-11.706m-17.198-.204c.814-.138 1.796-.025 2.577.241 1.197.408 2.217 1.203 2.773 2.36.153.32.483.912.361 1.256a43 43 0 0 1-2.502-.088c-.727-.944-1.272-1.237-2.388-1.647l-.079.013c-1.031.178-1.98.497-2.597 1.407-.679 1.001-.855 2.481-.624 3.654.183.932.668 1.71 1.48 2.221.69.434 1.506.54 2.295.358 1.216-.28 1.766-1.109 2.369-2.106l-.422-.033c-.82-.07-1.64-.037-2.462-.019-.044-.6-.057-1.188-.044-1.79l.053-.166c.399-.244 4.321-.092 5.155-.157-.019 1.424.038 3.062-.821 4.281a5.56 5.56 0 0 1-3.596 2.289c-1.399.232-3.001-.141-4.144-.98-1.308-.958-2.125-2.36-2.35-3.963-.248-1.766.096-3.632 1.204-5.059.963-1.241 2.22-1.882 3.762-2.072m31.519.129c.74.012 1.468.028 2.204.122.671 1.067 1.271 2.174 1.909 3.261.844 1.436 1.731 2.851 2.455 4.353-.215-2.546-.11-5.169-.117-7.726.516-.003 1.888-.148 2.28.156.153.411.174 10.707.06 11.548-.707.1-1.463.05-2.177.053-1.619-2.514-2.886-5.249-4.417-7.81.084 1.545.079 3.087.082 4.636.002.991.058 2.02-.073 3.002-.401.313-1.659.173-2.18.173-.132-3.909-.025-7.856-.026-11.769Zm28.799.023 2.409-.009c-.058 1.351-.237 7.804.211 8.634.364.676.941.87 1.631 1.077.95-.254 1.323-.488 1.902-1.283.128-.994.075-2.043.071-3.045a259 259 0 0 0-.078-5.357c.823-.041 1.649-.021 2.472-.014-.042.693-.037 1.386-.038 2.08-.01 1.834.187 4.69-.074 6.403-.171 1.125-.851 2.056-1.772 2.698-.987.687-2.313.868-3.482.63a3.96 3.96 0 0 1-2.565-1.738c-.337-.521-.532-1.129-.631-1.739-.135-.837-.214-7.646-.056-8.337m13.623-.15c.053-.012.105-.027.159-.035.948-.122 2.088.192 2.852.744.78.565 1.221 1.433 1.344 2.38.023.181.031.16-.092.314-.566.242-1.303.1-1.899.05-.339-.466-.669-.864-1.129-1.214-.383-.07-.78-.129-1.169-.082-.334.041-.623.155-.826.433-.175.24-.219.66-.173.946.183 1.144 3.274 1.563 4.436 2.454.668.513 1.14 1.181 1.231 2.034.094.873-.184 2.004-.759 2.687-.89 1.058-2.061 1.28-3.357 1.364-1.01-.05-2.023-.206-2.875-.796-.997-.69-1.281-1.712-1.464-2.843.821.085 1.651.084 2.476.088.076.3.188.593.29.886.432.27.941.537 1.459.562.494.023 1.219-.207 1.565-.573.217-.23.369-.607.318-.926-.19-1.16-3.608-1.778-4.742-2.753-.573-.493-.943-1.142-1-1.9-.081-1.075.082-1.89.812-2.712.699-.787 1.529-1.036 2.543-1.108m-15.082.175c.072.01.148.07.211.107-.079.714-2.74 4.715-3.296 5.619 1.347 1.927 2.332 4.095 3.759 5.968q-1.475 0-2.949-.038c-.701-1.291-1.577-2.611-2.119-3.973l-.029.076-.05.126c-.303.767-1.434 3.14-2.013 3.619-.407.335-1.508.17-2.007.15-.246.01-.365.059-.566-.09-.081-.442 2.856-4.902 3.309-5.702-1.117-1.973-2.346-3.878-3.448-5.863.745.055 1.855-.157 2.537.098.574.214 1.955 3.079 2.275 3.734.48-1.28 1.271-2.521 1.972-3.693.79-.13 1.615-.113 2.414-.138m-16.333-.002c2.052-.079 4.126.008 6.184-.042-.048.828-.067 1.638.073 2.458-1.337-.176-2.767-.088-4.117-.093q.055 1.177-.015 2.353c1.344-.002 2.724.068 4.061-.058.037.74.032 1.477.026 2.217-1.315-.05-2.764-.199-4.062.019l.018 1.369c.01.423-.015.846-.033 1.268 1.24-.049 2.487-.038 3.728-.073l-.018.012.227-.011c.265.526.12 1.662.112 2.267-2.111-.044-4.218-.01-6.33.001-.064-1.121-.161-11.144-.018-11.471.037-.083.109
1-.144.164-.216m-35.489-.034q2.627.066 5.255.046c1.11-.006 2.341-.142 3.431.085.29.304.131 1.692.125 2.155l-3.202.007c.054.925-.035 1.856-.062 2.78-.03 1.034-.016 2.071-.012 3.104-.002.571.16 2.539.058 2.962a1 1 0 0 1-.197.386c-.572.361-1.392.221-2.045.197a104 104 0 0 1-.042-9.426l-3.313-.013z"})]}),od=[{name:"Rokas Balandis",role:"GTM / Business Development at",company:"Guideless",logo:f.jsx(id,{className:"h-6 w-auto"}),avatar:"/testimonials/rokas-balandis.png",quote:"Sendio makes it incredibly easy to find thousands of relevant leads for my outreach in just a few minutes, sometimes even seconds. I can create a campaign and let it run for months. That's why I use Sendio almost every day."},{name:"Charlie Rivas",role:"Founder at",company:"GTM Nexus",logo:f.jsx(rd,{className:"h-8 w-auto"}),avatar:"/testimonials/charlie-rivas.png",quote:"I've run Sendio across clients in completely different spaces, and it's held up in every one. That's rare. What makes it work is the flexibility in how you build a campaign. The team's genuinely responsive too, the kind of people you want to build alongside."}];function ad(t){for(const e of re)if(t>=e.minQty)return e.discountPercent;return 0}function ld(t){for(let e=re.length-1;e>=0;e--)if(t<re[e].minQty)return re[e];return null}const rn=50;function cd(t,e){const n=Math.max(1,Math.round(e)||1),s=rn;return Number.isFinite(t)?Math.min(s,Math.max(n,Math.round(t))):n}function ud({initialQuantity:t=1,isOpen:e=!0,currentLinkedInCount:n=0}){const{team:s,isLoading:i}=_r(),o=!i&&Wr(s)==="expired",[r,a]=C.useState(!0),l=C.useMemo(()=>cd(t,n),[t,n]),[c,u]=C.useState(l),[d,h]=C.useState(0),[m,p]=C.useState(!1);C.useEffect(()=>{e&&u(l)},[e,l]);const g=n>0&&c<n,x=99,y=79,b=C.useMemo(()=>ad(c),[c]),v=C.useMemo(()=>ld(c),[c]),S=ei[d],w=r?y:x,A=r?Math.round(S.addonPerSeatMonthly*.8):S.addonPerSeatMonthly,I=(w+A)*(1-b/100)*c,B=S.creditsPerSeat,J=B*c,Kt=`${Mt(J)} leads / mo`,$t=((s==null?void 0:s.plan)??"").toUpperCase()==="PRO"&&!(s!=null&&s.stripe_subscription_id),Pt=()=>Vt({title:lo,description:ao}),Gt=async()=>{if(s&&!g){if($t){Pt();return}p(!0);try{const P=window.location.origin,W=await Fn(s.id,{billingInterval:r?"year":"month",quantity:c,creditTier:B,successUrl:`${P}/dashboard?status=success`,cancelUrl:`${P}/dashboard?status=cancel`});if("error"in W){Vt({title:Xt,description:W.error||"Failed to initiate checkout",variant:"destructive"});return}window.location.href=W.data.url;return}catch{Vt({title:Xt,description:On,variant:"destructive"})}finally{p(!1)}}},In=[ni,"Multiple senders","3 active campaigns per sender",Kt],L=r?Math.round(Bn*.8):Bn,_=["1 sender","1 active campaign",`${Mt(Un)} leads / mo`,"Buying signals","350M+ lead database","Unlimited team","Unified inbox","Claude/Codex MCP","Post scheduler","Integrations"],Z=async()=>{if(!(!s||m)){if($t){Pt();return}p(!0);try{const P=window.location.origin,W=await Fn(s.id,{plan:"starter",billingInterval:r?"year":"month",successUrl:`${P}/dashboard?status=success`,cancelUrl:`${P}/dashboard?status=cancel`});if("error"in W){Vt({title:Xt,description:W.error||"Failed to initiate checkout",variant:"destructive"});return}window.location.href=W.data.url}catch{Vt({title:Xt,description:On,variant:"destructive"})}finally{p(!1)}}},tt=["Everything in Professional","Dedicated BDR team","Custom-built campaigns","Weekly strategy calls","Done-for-you setup","Multichannel campaigns","List research and building","CRM management"],ye=[{label:"Platform operated by",starter:"You",pro:"You",concierge:"Sendio team"},{label:"Senders",starter:"1",pro:"Custom",concierge:"Custom, fully managed"},{label:"Credits / month",starter:Mt(Un),pro:"Custom",concierge:"Custom",info:"Use credits to unlock information in Sendio, including buying signals, email addresses, and phone numbers."},{label:"Buying signals",starter:!0,pro:!0,concierge:!0},{label:"350M+ lead database",starter:!0,pro:!0,concierge:!0},{label:"Active campaigns",starter:String(Hr),pro:"3 per sender",concierge:"Unlimited"},{label:"Team members",starter:"Unlimited",pro:"Unlimited",concierge:"Unlimited"},{label:"Unified inbox",starter:!0,pro:!0,concierge:!0},{label:"Claude/Codex MCP",starter:!0,pro:!0,concierge:!0},{label:"Post scheduler",starter:!0,pro:!0,concierge:!0},{label:"Integrations",starter:!0,pro:!0,concierge:!0},{label:"AI-powered outreach",starter:!0,pro:!0,concierge:!0},{label:"Multichannel outreach",starter:!0,pro:!0,concierge:!0},{label:"Waterfall enrichment",starter:!0,pro:!0,concierge:!0},{label:"Lead scoring & prioritization",starter:!0,pro:!0,concierge:!0},{label:"Analytics & reporting",starter:"Standard",pro:"Standard",concierge:"Monthly growth report"},{label:"Done-for-you setup",starter:!1,pro:!1,concierge:!0},{label:"Dedicated BDR team",starter:!1,pro:!1,concierge:!0},{label:"Custom-built campaigns",starter:!1,pro:!1,concierge:!0},{label:"Lead list research & building",starter:!1,pro:!1,concierge:!0},{label:"Weekly strategy calls",starter:!1,pro:!1,concierge:!0},{label:"CRM management",starter:!1,pro:!1,concierge:!0},{label:"Priority on feature requests",starter:!1,pro:!1,concierge:!0}];return f.jsxs("div",{className:"space-y-28",children:[f.jsxs("div",{className:"space-y-10",children:[f.jsxs("div",{className:"flex flex-col items-center text-center space-y-4",children:[f.jsx("h1",{className:"text-4xl md:text-5xl font-bold tracking-tight",children:o?"Your trial proved it works. Now scale it.":"Pricing that pays for itself."}),o&&f.jsx("p",{className:"text-base md:text-lg text-muted-foreground md:whitespace-nowrap",children:"Pick a plan below to reactivate your campaigns instantly."})]}),f.jsx("div",{className:"flex justify-center",children:f.jsxs("div",{className:"inline-flex items-center gap-1 rounded-full border border-border bg-card p-1 shadow-sm",role:"tablist","aria-label":"Billing cycle",children:[f.jsxs("button",{onClick:()=>a(!1),className:st("relative rounded-full h-9 px-5 text-sm font-medium flex items-center transition-colors duration-200",r?"text-muted-foreground hover:text-foreground":"text-primary"),children:[!r&&f.jsx(ft.span,{layoutId:"billing-toggle-pill",className:"absolute inset-0 rounded-full bg-primary/15",transition:{type:"spring",stiffness:500,damping:35}}),f.jsx("span",{className:"relative z-10",children:"Monthly"})]}),f.jsxs("button",{onClick:()=>a(!0),className:st("relative rounded-full h-9 px-5 flex items-center gap-3 text-sm font-medium transition-colors duration-200",r?"text-primary":"text-muted-foreground hover:text-foreground"),children:[r&&f.jsx(ft.span,{layoutId:"billing-toggle-pill",className:"absolute inset-0 rounded-full bg-primary/15",transition:{type:"spring",stiffness:500,damping:35}}),f.jsx("span",{className:"relative z-10",children:"Yearly"}),f.jsx("span",{className:st("relative z-10 rounded-full h-6 px-2 flex items-center gap-1 text-[10px] font-semibold transition-colors",r?"bg-primary text-primary-foreground":"bg-yellow-100 text-yellow-700 dark:bg-yellow-900/30 dark:text-yellow-400"),children:"Save 20%"})]})]})}),f.jsxs("div",{className:"mx-auto w-full max-w-5xl grid grid-cols-1 md:grid-cols-3 gap-5 items-stretch",children:[f.jsxs(ft.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"relative flex flex-col p-7 rounded-2xl border border-border bg-background",children:[f.jsxs("div",{className:"mb-7",children:[f.jsx("h3",{className:"text-xl font-bold text-foreground mb-2",children:"Starter"}),f.jsx("p",{className:"text-sm text-muted-foreground leading-relaxed min-h-[40px]",children:"For solo foun
1ders getting their first replies."})]}),f.jsx("div",{className:"mb-7 flex h-12 items-end",children:f.jsxs("div",{className:"flex items-baseline gap-x-1 whitespace-nowrap",children:[f.jsxs("span",{className:"text-5xl font-bold text-foreground tracking-tight",children:["$",L]}),f.jsx("span",{className:"shrink-0 text-muted-foreground text-base",children:"/month"})]})}),f.jsxs(zt,{type:"button",variant:"outline",onClick:Z,disabled:m,className:"group mb-7 w-full rounded-lg py-5 font-semibold text-sm bg-background text-foreground border-border hover:border-foreground/30 hover:bg-muted/50",children:["Choose Starter",f.jsx(Yt,{"aria-hidden":!0,className:"h-4 w-4 transition-transform duration-300 ease-out group-hover:translate-x-1"})]}),f.jsx("div",{className:"flex-1",children:f.jsx("div",{className:"space-y-3.5",children:_.map(P=>f.jsxs("div",{className:"flex items-start gap-3",children:[f.jsx("div",{className:"mt-0.5 w-5 h-5 rounded-full bg-primary/10 flex items-center justify-center shrink-0",children:f.jsx(Dt,{className:"w-3 h-3 text-primary",strokeWidth:3})}),f.jsx("span",{className:"text-sm text-foreground font-medium",children:P})]},P))})})]}),f.jsxs(ft.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"relative flex flex-col p-7 rounded-2xl border-2 border-primary bg-card shadow-xl shadow-primary/10",children:[f.jsxs("div",{className:"absolute -top-3 left-1/2 -translate-x-1/2 px-3 py-1 bg-primary text-primary-foreground text-[10px] font-bold rounded-full flex items-center gap-1 uppercase tracking-wide shadow-sm whitespace-nowrap",children:[f.jsx(Kr,{className:"w-3 h-3 fill-current"}),"Most Popular"]}),f.jsxs("div",{className:"mb-7",children:[f.jsx("h3",{className:"text-xl font-bold text-foreground mb-2",children:"Professional"}),f.jsx("p",{className:"text-sm text-muted-foreground leading-relaxed min-h-[40px]",children:"Ideal for growing sales teams managing one or multiple sender accounts."})]}),f.jsx("div",{className:"mb-7 flex h-12 items-end",children:f.jsxs("div",{className:"flex items-baseline gap-x-1 whitespace-nowrap",children:[f.jsxs("span",{className:"text-5xl font-bold text-foreground tracking-tight",children:["$",I.toLocaleString("en-US",{maximumFractionDigits:0})]}),f.jsx("span",{className:"shrink-0 text-muted-foreground text-base",children:"/month"})]})}),c>=rn?f.jsx(zt,{asChild:!0,className:"group mb-7 w-full rounded-lg py-5 font-semibold text-sm !text-white border-0 shadow-lg shadow-primary/30 hover:brightness-110 transition-all",style:{backgroundImage:"linear-gradient(135deg, hsl(14 90% 48%) 0%, hsl(20 92% 55%) 55%, hsl(28 95% 60%) 100%)"},children:f.jsxs("a",{href:"https://www.sendio.ai/book-demo",target:"_blank",rel:"noreferrer",children:["Book a meeting",f.jsx(Yt,{"aria-hidden":!0,className:"h-4 w-4 transition-transform duration-300 ease-out group-hover:translate-x-1"})]})}):f.jsx(zt,{className:"group mb-7 w-full rounded-lg py-5 font-semibold text-sm !text-white border-0 shadow-lg shadow-primary/30 hover:brightness-110 transition-all disabled:opacity-60 disabled:shadow-none",style:g?void 0:{backgroundImage:"linear-gradient(135deg, hsl(14 90% 48%) 0%, hsl(20 92% 55%) 55%, hsl(28 95% 60%) 100%)"},onClick:Gt,disabled:m||g,children:m?"Processing...":g?`Select at least ${n} sender${n===1?"":"s"}`:f.jsxs(f.Fragment,{children:["Upgrade to Professional",f.jsx(Yt,{"aria-hidden":!0,className:"h-4 w-4 transition-transform duration-300 ease-out group-hover:translate-x-1"})]})}),f.jsxs("div",{className:"mb-7",children:[f.jsxs("div",{className:"grid grid-cols-[minmax(0,0.9fr)_minmax(0,1.1fr)] gap-2",children:[f.jsxs("div",{children:[f.jsxs("div",{className:"mb-1.5 flex h-5 items-center gap-1.5",children:[f.jsx("span",{className:"text-xs font-medium leading-none text-muted-foreground",children:"Senders"}),b>0&&f.jsxs("span",{className:"whitespace-nowrap rounded-full bg-green-100 px-1.5 py-0.5 text-[10px] font-semibold leading-none text-green-700 dark:bg-green-900/30 dark:text-green-400",children:[b,"% off"]})]}),f.jsx($r,{value:c,min:1,max:rn,onChange:u})]}),f.jsxs("div",{children:[f.jsx("span",{className:"mb-1.5 flex h-5 items-center text-xs font-medium leading-none text-muted-foreground",children:"Credits per sender"}),f.jsxs(Gr,{modal:!1,children:[f.jsxs(zr,{className:st("flex h-11 w-full items-center justify-between gap-2 rounded-lg border border-border/70 bg-muted/30 px-3 py-2 text-sm","ring-offset-background focus:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2"),children:[f.jsxs("span",{className:"flex min-w-0 items-center gap-2",children:[f.jsx(Yr,{className:"h-4 w-4 shrink-0 text-primary"}),f.jsx("span",{className:"truncate font-bold text-foreground",children:Mt
1(B)})]}),f.jsx(Xr,{className:"h-4 w-4 shrink-0 opacity-50"})]}),f.jsx(qr,{align:"end",className:"min-w-[var(--radix-dropdown-menu-trigger-width)] rounded-xl p-1.5",children:f.jsx(Zr,{value:String(d),onValueChange:P=>h(Number(P)),children:ei.map((P,W)=>f.jsxs(Qr,{value:String(W),className:st("relative flex w-full cursor-pointer select-none items-center justify-between gap-3 rounded-lg py-2 pl-3 pr-2.5 text-sm outline-none","focus:bg-muted/60 data-[highlighted]:bg-muted/60 data-[disabled]:pointer-events-none data-[disabled]:opacity-50"),children:[f.jsxs("span",{children:[f.jsx("span",{className:"font-semibold text-foreground",children:Mt(P.creditsPerSeat)}),f.jsx("span",{className:"text-muted-foreground",children:" credits / sender"})]}),f.jsx(Jr,{children:f.jsx(Dt,{className:"h-4 w-4 shrink-0 text-foreground"})})]},P.creditsPerSeat))})})]})]})]}),g?f.jsxs("div",{className:"mt-2 flex items-start gap-2 rounded-lg border border-amber-200 bg-amber-50 p-2.5 text-amber-900 dark:border-amber-900/40 dark:bg-amber-900/20 dark:text-amber-200",children:[f.jsx(to,{className:"mt-0.5 h-3.5 w-3.5 shrink-0"}),f.jsxs("p",{className:"text-xs leading-snug",children:["You currently have ",f.jsx("strong",{children:n})," ","sender ",n===1?"account":"accounts"," ","connected. Select at least ",n," sender",n===1?"":"s"," or disconnect",n===1?" it":" some"," before upgrading."]})]}):v?f.jsxs("p",{className:"mt-2 text-xs text-muted-foreground",children:["Add ",v.minQty-c," more for ",v.discountPercent,"% off"]}):null]}),f.jsx("div",{className:"flex-1",children:f.jsx("div",{className:"space-y-3.5",children:In.map(P=>f.jsxs("div",{className:"flex items-start gap-3",children:[f.jsx("div",{className:"mt-0.5 w-5 h-5 rounded-full bg-primary/10 flex items-center justify-center shrink-0",children:f.jsx(Dt,{className:"w-3 h-3 text-primary",strokeWidth:3})}),f.jsx("span",{className:st("text-sm text-foreground",P===ni?"font-bold":"font-medium"),children:P})]},P))})})]}),f.jsxs(ft.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"relative flex flex-col p-7 rounded-2xl border border-border bg-background",children:[f.jsxs("div",{className:"mb-7",children:[f.jsx("h3",{className:"text-xl font-bold text-foreground mb-2",children:"Growth Partner"}),f.jsx("p",{className:"text-sm text-muted-foreground leading-relaxed min-h-[40px]",children:"Done-for-you multi-channel outbound for teams and agencies."})]}),f.jsx("div",{className:"mb-7 flex h-12 items-end",children:f.jsx("span",{className:"text-3xl font-semibold text-foreground tracking-tight",children:"Custom"})}),f.jsx(zt,{asChild:!0,variant:"outline",className:"group mb-7 w-full rounded-lg py-5 font-semibold text-sm bg-background text-foreground border-border hover:border-foreground
1/30 hover:bg-muted/50",children:f.jsxs("a",{href:"https://www.sendio.ai/book-demo",target:"_blank",rel:"noreferrer",children:["Book a Meeting",f.jsx(Yt,{"aria-hidden":!0,className:"h-4 w-4 transition-transform duration-300 ease-out group-hover:translate-x-1"})]})}),f.jsx("div",{className:"flex-1",children:f.jsx("div",{className:"space-y-3.5",children:tt.map(P=>f.jsxs("div",{className:"flex items-start gap-3",children:[f.jsx("div",{className:"mt-0.5 w-5 h-5 rounded-full bg-primary/10 flex items-center justify-center shrink-0",children:f.jsx(Dt,{className:"w-3 h-3 text-primary",strokeWidth:3})}),f.jsx("span",{className:"text-sm text-foreground font-medium",children:P})]},P))})})]})]})]}),f.jsxs("section",{className:"mx-auto w-full max-w-5xl",children:[f.jsx("div",{className:"text-center mb-10",children:f.jsxs("h2",{className:"text-2xl md:text-3xl font-bold tracking-tight",children:["Sales teams ",f.jsx("span",{className:"text-primary",children:"love Sendio."})]})}),f.jsx("div",{className:"grid grid-cols-1 items-stretch gap-5 md:grid-cols-2 md:gap-6",children:od.map((P,W)=>f.jsxs(ft.article,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,delay:W*.1},className:"relative flex flex-col overflow-hidden rounded-2xl p-7 text-white shadow-xl shadow-primary/25 sm:p-8 md:p-10 bg-[linear-gradient(135deg,hsl(14_90%_48%)_0%,hsl(20_92%_55%)_55%,hsl(28_95%_60%)_100%)] dark:bg-[linear-gradient(135deg,hsl(14_72%_32%)_0%,hsl(20_70%_38%)_55%,hsl(28_72%_42%)_100%)]",children:[f.jsx("div",{className:"mb-7 flex h-8 items-center text-white",children:P.logo}),f.jsx("p",{className:"flex-1 text-base sm:text-lg text-white/95 leading-relaxed",children:P.quote}),f.jsxs("div",{className:"mt-8 flex items-center gap-3",children:[f.jsx("div",{className:"h-10 w-10 shrink-0 overflow-hidden rounded-full ring-1 ring-white/40",children:f.jsx("img",{src:P.avatar,alt:P.name,width:40,height:40,className:"h-full w-full object-cover",loading:W===0?"eager":"lazy"})}),f.jsxs("div",{className:"min-w-0 leading-tight",children:[f.jsx("div",{className:"text-sm font-semibold text-white",children:P.name}),f.jsxs("div",{className:"text-xs text-white/70",children:[P.role," ",P.company]})]})]})]},P.name))})]}),f.jsxs("div",{className:"mx-auto w-full max-w-5xl",children:[f.jsx("div",{className:"text-center mb-8",children:f.jsx("h2",{className:"text-2xl md:text-3xl font-bold tracking-tight",children:"Compare plans"})}),f.jsxs("div",{className:"overflow-x-auto",children:[f.jsxs("div",{className:"grid min-w-[720px] grid-cols-[1.5fr_1fr_1fr_1fr] text-[11px] font-semibold uppercase tracking-wider text-muted-foreground pb-5 border-b border-border/60",children:[f.jsx("div",{className:"px-6",children:"Feature"}),f.jsx("div",{className:"px-6 text-center",children:"Starter"}),f.jsx("div",{className:"px-6 text-center text-primary",children:"Professional"}),f.jsx("div",{className:"px-6 text-center",children:"Growth Partner"})]}),f.jsxs("div",{className:"relative min-w-[720px] pt-3",children:[f.jsx("div",{"aria-hidden":!0,className:"absolute top-3 bottom-0 bg-primary/5 rounded-2xl pointer-events-none",style:{left:"calc(2.5 / 4.5 * 100%)",width:"calc(1 / 4.5 * 100%)"}}),ye.map(P=>f.jsxs("div",{className:"relative grid grid-cols-[1.5fr_1fr_1fr_1fr] items-center text-sm border-b border-border/40 last:border-b-0",children:[f.jsx("div",{className:"px-6 py-5 text-foreground font-medium",children:f.jsxs("span",{className:"inline-flex items-center gap-1.5",children:[P.label,P.info&&f.jsx(eo,{delayDuration:150,children:f.jsxs(no,{children:[f.jsx(so,{asChild:!0,children:f.jsx("button",{type:"button","aria-label":`More info about ${P.label}`,className:"text-foreground/70 hover:text-foreground transition-colors",children:f.jsx(io,{className:"h-3.5 w-3.5"})})}),f.jsx(ro,{side:"top",className:"max-w-[260px] text-xs leading-relaxed",children:P.info})]})})]})}),f.jsx(Ne,{value:P.starter}),f.jsx(Ne,{value:P.pro,emphasized:!0}),f.jsx(Ne,{value:P.concierge})]},P.label))]})]})]})]})}function Ne({value:t,emphasized:e=!1}){return typeof t=="string"?f.jsx("div",{className:st("px-6 py-5 text-center text-sm",e?"text-foreground font-semibold":"text-foreground"),children:t}):f.jsx("div",{className:"px-6 py-5 flex items-center justify-center",children:t?f.jsx("div",{className:st("w-6 h-6 rounded-full flex items-center justify-center",e?"bg-primary text-primary-foreground":"bg-primary/10 text-primary"),children:f.jsx(Dt,{className:"w-3.5 h-3.5",strokeWidth:3})}
1):f.jsx(oo,{className:"w-4 h-4 text-muted-foreground/40",strokeWidth:2.5})})}function fd(){const[t]=co(),e=t.get("seats"),n=e?Number.parseInt(e,10):NaN,s=Number.isFinite(n)&&n>0?n:1,{accounts:i}=uo(),{profile:o}=ho(),r=C.useMemo(()=>{const a=(o==null?void 0:o.activeTeamId)??null;return i.filter(l=>(a?l.team_id===a:!0)&&(l.onboarding_status??"")!=="disconnected").length},[i,o==null?void 0:o.activeTeamId]);return f.jsx("div",{className:"flex-1 overflow-y-auto [scrollbar-gutter:stable] bg-gradient-to-b from-background via-background to-muted/20",children:f.jsx("div",{className:"mx-auto w-full max-w-6xl px-4 py-12 md:py-16",children:f.jsx(ud,{initialQuantity:s,currentLinkedInCount:r})})})}export{fd as default};

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.