(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[657],{2998:function(e){e.exports={style:{fontFamily:"'__Inter_f367f3', '__Inter_Fallback_f367f3'",fontStyle:"normal"},className:"__className_f367f3"}},7042:function(e,t,i){"use strict";function clsx(){for(var e,t,i=0,s="",a=arguments.length;i{t[0][i]=e.get(),t[1][i]=e.getVelocity()}),t}function resolveVariantFromProps(e,t,i,s){if("function"==typeof t){let[a,n]=getValueState(s);t=t(void 0!==i?i:e.custom,a,n)}if("string"==typeof t&&(t=e.variants&&e.variants[t]),"function"==typeof t){let[a,n]=getValueState(s);t=t(void 0!==i?i:e.custom,a,n)}return t}function resolveVariant(e,t,i){let s=e.getProps();return resolveVariantFromProps(s,t,void 0!==i?i:s.custom,e)}i.d(t,{E:function(){return tB}});let isKeyframesTarget=e=>Array.isArray(e),a=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"],n={value:null,addProjectionMetrics:null},o={};function createRenderBatcher(e,t){let i=!1,s=!0,l={delta:0,timestamp:0,isProcessing:!1},flagRunNextFrame=()=>i=!0,u=a.reduce((e,i)=>(e[i]=function(e,t){let i=new Set,s=new Set,a=!1,o=!1,l=new WeakSet,u={delta:0,timestamp:0,isProcessing:!1},c=0;function triggerCallback(t){l.has(t)&&(h.schedule(t),e()),c++,t(u)}let h={schedule:(e,t=!1,n=!1)=>{let o=n&&a,u=o?i:s;return t&&l.add(e),u.has(e)||u.add(e),e},cancel:e=>{s.delete(e),l.delete(e)},process:e=>{if(u=e,a){o=!0;return}a=!0,[i,s]=[s,i],i.forEach(triggerCallback),t&&n.value&&n.value.frameloop[t].push(c),c=0,i.clear(),a=!1,o&&(o=!1,h.process(e))}};return h}(flagRunNextFrame,t?i:void 0),e),{}),{setup:c,read:h,resolveKeyframes:d,preUpdate:m,update:p,preRender:f,render:g,postRender:y}=u,processBatch=()=>{let a=o.useManualTiming?l.timestamp:performance.now();i=!1,o.useManualTiming||(l.delta=s?1e3/60:Math.max(Math.min(a-l.timestamp,40),1)),l.timestamp=a,l.isProcessing=!0,c.process(l),h.process(l),d.process(l),m.process(l),p.process(l),f.process(l),g.process(l),y.process(l),l.isProcessing=!1,i&&t&&(s=!1,e(processBatch))},wake=()=>{i=!0,s=!0,l.isProcessing||e(processBatch)},b=a.reduce((e,t)=>{let s=u[t];return e[t]=(e,t=!1,a=!1)=>(i||wake(),s.schedule(e,t,a)),e},{});return{schedule:b,cancel:e=>{for(let t=0;te,{schedule:l,cancel:u,state:c,steps:h}=createRenderBatcher("undefined"!=typeof requestAnimationFrame?requestAnimationFrame:noop,!0);function clearTime(){s=void 0}let d={now:()=>(void 0===s&&d.set(c.isProcessing||o.useManualTiming?c.timestamp:performance.now()),s),set:e=>{s=e,queueMicrotask(clearTime)}};function addUniqueItem(e,t){-1===e.indexOf(t)&&e.push(t)}function removeItem(e,t){let i=e.indexOf(t);i>-1&&e.splice(i,1)}let SubscriptionManager=class SubscriptionManager{constructor(){this.subscriptions=[]}add(e){return addUniqueItem(this.subscriptions,e),()=>removeItem(this.subscriptions,e)}notify(e,t,i){let s=this.subscriptions.length;if(s){if(1===s)this.subscriptions[0](e,t,i);else for(let a=0;a!isNaN(parseFloat(e)),m={current:void 0};let MotionValue=class MotionValue{constructor(e,t={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=(e,t=!0)=>{let i=d.now();if(this.updatedAt!==i&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(e),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(let e of this.dependents)e.dirty();t&&this.events.renderRequest?.notify(this.current)},this.hasAnimated=!1,this.setCurrent(e),this.owner=t.owner}setCurrent(e){this.current=e,this.updatedAt=d.now(),null===this.canTrackVelocity&&void 0!==e&&(this.canTrackVelocity=isFloat(this.current))}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return this.on("change",e)}on(e,t){this.events[e]||(this.events[e]=new SubscriptionManager);let i=this.events[e].add(t);return"change"===e?()=>{i(),l.read(()=>{this.events.change.getSize()||this.stop()})}:i}clearListeners(){for(let e in this.events)this.events[e].clear()}attach(e,t){this.passiveEffect=e,this.stopPassiveEffect=t}set(e,t=!0){t&&this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e,t)}setWithVelocity(e,t,i){this.set(t),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-i}jump(e,t=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,t&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.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 m.current&&m.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){var e;let t=d.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||t-this.updatedAt>30)return 0;let i=Math.min(this.updatedAt-this.prevUpdatedAt,30);return e=parseFloat(this.current)-parseFloat(this.prevFrameValue),i?e*(1e3/i):0}start(e){return this.stop(),new Promise(t=>{this.hasAnimated=!0,this.animation=e(t),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}};function motionValue(e,t){return new MotionValue(e,t)}let isMotionValue=e=>!!(e&&e.getVelocity);function addValueToWillChange(e,t){let i=e.getValue("willChange");if(isMotionValue(i)&&i.add)return i.add(t);if(!i&&o.WillChange){let i=new o.WillChange("auto");e.addValue("willChange",i),i.add(t)}}let camelToDash=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),p="data-"+camelToDash("framerAppearId"),isNotNull=e=>null!==e,f=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],g=new Set(f),y={type:"spring",stiffness:500,damping:25,restSpeed:10},criticallyDampedSpring=e=>({type:"spring",stiffness:550,damping:0===e?2*Math.sqrt(550):30,restSpeed:10}),b={type:"keyframes",duration:.8},v={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},getDefaultTransition=(e,{keyframes:t})=>t.length>2?b:g.has(e)?e.startsWith("scale")?criticallyDampedSpring(t[1]):y:v;function getValueTransition(e,t){return e?.[t]??e?.default??e}let time_conversion_secondsToMilliseconds=e=>1e3*e,millisecondsToSeconds=e=>e/1e3,x={layout:0,mainThread:0,waapi:0},checkStringStartsWith=e=>t=>"string"==typeof t&&t.startsWith(e),A=checkStringStartsWith("--"),V=checkStringStartsWith("var(--"),isCSSVariableToken=e=>{let t=V(e);return!!t&&T.test(e.split("/*")[0].trim())},T=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,clamp=(e,t,i)=>i>t?t:i"number"==typeof e,parse:parseFloat,transform:e=>e},S={...w,transform:e=>clamp(0,1,e)},P={...w,default:1},sanitize=e=>Math.round(1e5*e)/1e5,k=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,C=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,isColorString=(e,t)=>i=>!!("string"==typeof i&&C.test(i)&&i.startsWith(e)||t&&null!=i&&Object.prototype.hasOwnProperty.call(i,t)),splitColor=(e,t,i)=>s=>{if("string"!=typeof s)return s;let[a,n,o,l]=s.match(k);return{[e]:parseFloat(a),[t]:parseFloat(n),[i]:parseFloat(o),alpha:void 0!==l?parseFloat(l):1}},clampRgbUnit=e=>clamp(0,255,e),M={...w,transform:e=>Math.round(clampRgbUnit(e))},E={test:isColorString("rgb","red"),parse:splitColor("red","green","blue"),transform:({red:e,green:t,blue:i,alpha:s=1})=>"rgba("+M.transform(e)+", "+M.transform(t)+", "+M.transform(i)+", "+sanitize(S.transform(s))+")"},D={test:isColorString("#"),parse:function(e){let t="",i="",s="",a="";return e.length>5?(t=e.substring(1,3),i=e.substring(3,5),s=e.substring(5,7),a=e.substring(7,9)):(t=e.substring(1,2),i=e.substring(2,3),s=e.substring(3,4),a=e.substring(4,5),t+=t,i+=i,s+=s,a+=a),{red:parseInt(t,16),green:parseInt(i,16),blue:parseInt(s,16),alpha:a?parseInt(a,16)/255:1}},transform:E.transform},createUnitType=e=>({test:t=>"string"==typeof t&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),R=createUnitType("deg"),B=createUnitType("%"),L=createUnitType("px"),N=createUnitType("vh"),I=createUnitType("vw"),j={...B,parse:e=>B.parse(e)/100,transform:e=>B.transform(100*e)},F={test:isColorString("hsl","hue"),parse:splitColor("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:i,alpha:s=1})=>"hsla("+Math.round(e)+", "+B.transform(sanitize(t))+", "+B.transform(sanitize(i))+", "+sanitize(S.transform(s))+")"},O={test:e=>E.test(e)||D.test(e)||F.test(e),parse:e=>E.test(e)?E.parse(e):F.test(e)?F.parse(e):D.parse(e),transform:e=>"string"==typeof e?e:e.hasOwnProperty("red")?E.transform(e):F.transform(e)},U=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,z="number",W="color",_=/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 analyseComplexValue(e){let t=e.toString(),i=[],s={color:[],number:[],var:[]},a=[],n=0,o=t.replace(_,e=>(O.test(e)?(s.color.push(n),a.push(W),i.push(O.parse(e))):e.startsWith("var(")?(s.var.push(n),a.push("var"),i.push(e)):(s.number.push(n),a.push(z),i.push(parseFloat(e))),++n,"${}")),l=o.split("${}");return{values:i,split:l,indexes:s,types:a}}function parseComplexValue(e){return analyseComplexValue(e).values}function createTransformer(e){let{split:t,types:i}=analyseComplexValue(e),s=t.length;return e=>{let a="";for(let n=0;n"number"==typeof e?0:e,G={test:function(e){return isNaN(e)&&"string"==typeof e&&(e.match(k)?.length||0)+(e.match(U)?.length||0)>0},parse:parseComplexValue,createTransformer,getAnimatableNone:function(e){let t=parseComplexValue(e),i=createTransformer(e);return i(t.map(convertNumbersToZero))}};function hueToRgb(e,t,i){return(i<0&&(i+=1),i>1&&(i-=1),i<1/6)?e+(t-e)*6*i:i<.5?t:i<2/3?e+(t-e)*(2/3-i)*6:e}function mixImmediate(e,t){return i=>i>0?t:e}let mixNumber=(e,t,i)=>e+(t-e)*i,warning=()=>{},invariant=()=>{},mixLinearColor=(e,t,i)=>{let s=e*e,a=i*(t*t-s)+s;return a<0?0:Math.sqrt(a)},$=[D,E,F],getColorType=e=>$.find(t=>t.test(e));function asRGBA(e){let t=getColorType(e);if(warning(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`),!t)return!1;let i=t.parse(e);return t===F&&(i=function({hue:e,saturation:t,lightness:i,alpha:s}){e/=360,i/=100;let a=0,n=0,o=0;if(t/=100){let s=i<.5?i*(1+t):i+t-i*t,l=2*i-s;a=hueToRgb(l,s,e+1/3),n=hueToRgb(l,s,e),o=hueToRgb(l,s,e-1/3)}else a=n=o=i;return{red:Math.round(255*a),green:Math.round(255*n),blue:Math.round(255*o),alpha:s}}(i)),i}let mixColor=(e,t)=>{let i=asRGBA(e),s=asRGBA(t);if(!i||!s)return mixImmediate(e,t);let a={...i};return e=>(a.red=mixLinearColor(i.red,s.red,e),a.green=mixLinearColor(i.green,s.green,e),a.blue=mixLinearColor(i.blue,s.blue,e),a.alpha=mixNumber(i.alpha,s.alpha,e),E.transform(a))},H=new Set(["none","hidden"]),combineFunctions=(e,t)=>i=>t(e(i)),pipe=(...e)=>e.reduce(combineFunctions);function complex_mixNumber(e,t){return i=>mixNumber(e,t,i)}function getMixer(e){return"number"==typeof e?complex_mixNumber:"string"==typeof e?isCSSVariableToken(e)?mixImmediate:O.test(e)?mixColor:mixComplex:Array.isArray(e)?mixArray:"object"==typeof e?O.test(e)?mixColor:mixObject:mixImmediate}function mixArray(e,t){let i=[...e],s=i.length,a=e.map((e,i)=>getMixer(e)(e,t[i]));return e=>{for(let t=0;t{for(let t in s)i[t]=s[t](e);return i}}let mixComplex=(e,t)=>{let i=G.createTransformer(t),s=analyseComplexValue(e),a=analyseComplexValue(t),n=s.indexes.var.length===a.indexes.var.length&&s.indexes.color.length===a.indexes.color.length&&s.indexes.number.length>=a.indexes.number.length;return n?H.has(e)&&!a.values.length||H.has(t)&&!s.values.length?H.has(e)?i=>i<=0?e:t:i=>i>=1?t:e:pipe(mixArray(function(e,t){let i=[],s={color:0,var:0,number:0};for(let a=0;a{let passTimestamp=({timestamp:t})=>e(t);return{start:(e=!0)=>l.update(passTimestamp,e),stop:()=>u(passTimestamp),now:()=>c.isProcessing?c.timestamp:d.now()}},generateLinearEasing=(e,t,i=10)=>{let s="",a=Math.max(Math.round(t/i),2);for(let t=0;t=2e4?1/0:t}function calcGeneratorVelocity(e,t,i){var s,a;let n=Math.max(t-5,0);return s=i-e(n),(a=t-n)?s*(1e3/a):0}let K={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};function calcAngularFreq(e,t){return e*Math.sqrt(1-t*t)}let q=["duration","bounce"],Y=["stiffness","damping","mass"];function isSpringType(e,t){return t.some(t=>void 0!==e[t])}function spring(e=K.visualDuration,t=K.bounce){let i;let s="object"!=typeof e?{visualDuration:e,keyframes:[0,1],bounce:t}:e,{restSpeed:a,restDelta:n}=s,o=s.keyframes[0],l=s.keyframes[s.keyframes.length-1],u={done:!1,value:o},{stiffness:c,damping:h,mass:d,duration:m,velocity:p,isResolvedFromDuration:f}=function(e){let t={velocity:K.velocity,stiffness:K.stiffness,damping:K.damping,mass:K.mass,isResolvedFromDuration:!1,...e};if(!isSpringType(e,Y)&&isSpringType(e,q)){if(e.visualDuration){let i=e.visualDuration,s=2*Math.PI/(1.2*i),a=s*s,n=2*clamp(.05,1,1-(e.bounce||0))*Math.sqrt(a);t={...t,mass:K.mass,stiffness:a,damping:n}}else{let i=function({duration:e=K.duration,bounce:t=K.bounce,velocity:i=K.velocity,mass:s=K.mass}){let a,n;warning(e<=time_conversion_secondsToMilliseconds(K.maxDuration),"Spring duration must be 10 seconds or less");let o=1-t;o=clamp(K.minDamping,K.maxDamping,o),e=clamp(K.minDuration,K.maxDuration,millisecondsToSeconds(e)),o<1?(a=t=>{let s=t*o,a=s*e,n=calcAngularFreq(t,o);return .001-(s-i)/n*Math.exp(-a)},n=t=>{let s=t*o,n=s*e,l=Math.pow(o,2)*Math.pow(t,2)*e,u=calcAngularFreq(Math.pow(t,2),o),c=-a(t)+.001>0?-1:1;return c*((n*i+i-l)*Math.exp(-n))/u}):(a=t=>{let s=Math.exp(-t*e),a=(t-i)*e+1;return -.001+s*a},n=t=>{let s=Math.exp(-t*e),a=(i-t)*(e*e);return s*a});let l=5/e,u=function(e,t,i){let s=i;for(let i=1;i<12;i++)s-=e(s)/t(s);return s}(a,n,l);if(e=time_conversion_secondsToMilliseconds(e),isNaN(u))return{stiffness:K.stiffness,damping:K.damping,duration:e};{let t=Math.pow(u,2)*s;return{stiffness:t,damping:2*o*Math.sqrt(s*t),duration:e}}}(e);(t={...t,...i,mass:K.mass}).isResolvedFromDuration=!0}}return t}({...s,velocity:-millisecondsToSeconds(s.velocity||0)}),g=p||0,y=h/(2*Math.sqrt(c*d)),b=l-o,v=millisecondsToSeconds(Math.sqrt(c/d)),x=5>Math.abs(b);if(a||(a=x?K.restSpeed.granular:K.restSpeed.default),n||(n=x?K.restDelta.granular:K.restDelta.default),y<1){let e=calcAngularFreq(v,y);i=t=>{let i=Math.exp(-y*v*t);return l-i*((g+y*v*b)/e*Math.sin(e*t)+b*Math.cos(e*t))}}else if(1===y)i=e=>l-Math.exp(-v*e)*(b+(g+v*b)*e);else{let e=v*Math.sqrt(y*y-1);i=t=>{let i=Math.exp(-y*v*t),s=Math.min(e*t,300);return l-i*((g+y*v*b)*Math.sinh(s)+e*b*Math.cosh(s))/e}}let A={calculatedDuration:f&&m||null,next:e=>{let t=i(e);if(f)u.done=e>=m;else{let s=0===e?g:0;y<1&&(s=0===e?time_conversion_secondsToMilliseconds(g):calcGeneratorVelocity(i,e,t));let o=Math.abs(s)<=a,c=Math.abs(l-t)<=n;u.done=o&&c}return u.value=u.done?l:t,u},toString:()=>{let e=Math.min(calcGeneratorDuration(A),2e4),t=generateLinearEasing(t=>A.next(e*t).value,e,30);return e+"ms "+t},toTransition:()=>{}};return A}function inertia({keyframes:e,velocity:t=0,power:i=.8,timeConstant:s=325,bounceDamping:a=10,bounceStiffness:n=500,modifyTarget:o,min:l,max:u,restDelta:c=.5,restSpeed:h}){let d,m;let p=e[0],f={done:!1,value:p},isOutOfBounds=e=>void 0!==l&&eu,nearestBoundary=e=>void 0===l?u:void 0===u?l:Math.abs(l-e)-g*Math.exp(-e/s),calcLatest=e=>b+calcDelta(e),applyFriction=e=>{let t=calcDelta(e),i=calcLatest(e);f.done=Math.abs(t)<=c,f.value=f.done?b:i},checkCatchBoundary=e=>{isOutOfBounds(f.value)&&(d=e,m=spring({keyframes:[f.value,nearestBoundary(f.value)],velocity:calcGeneratorVelocity(calcLatest,e,f.value),damping:a,stiffness:n,restDelta:c,restSpeed:h}))};return checkCatchBoundary(0),{calculatedDuration:null,next:e=>{let t=!1;return(m||void 0!==d||(t=!0,applyFriction(e),checkCatchBoundary(e)),void 0!==d&&e>=d)?m.next(e-d):(t||applyFriction(e),f)}}}spring.applyToOptions=e=>{let t=function(e,t=100,i){let s=i({...e,keyframes:[0,t]}),a=Math.min(calcGeneratorDuration(s),2e4);return{type:"keyframes",ease:e=>s.next(a*e).value/t,duration:millisecondsToSeconds(a)}}(e,100,spring);return e.ease=t.ease,e.duration=time_conversion_secondsToMilliseconds(t.duration),e.type="keyframes",e};let progress=(e,t,i)=>{let s=t-e;return 0===s?1:(i-e)/s},calcBezier=(e,t,i)=>(((1-3*i+3*t)*e+(3*i-6*t))*e+3*t)*e;function cubicBezier(e,t,i,s){if(e===t&&i===s)return noop;let getTForX=t=>(function(e,t,i,s,a){let n,o;let l=0;do(n=calcBezier(o=t+(i-t)/2,s,a)-e)>0?i=o:t=o;while(Math.abs(n)>1e-7&&++l<12);return o})(t,0,1,e,i);return e=>0===e||1===e?e:calcBezier(getTForX(e),t,s)}let X=cubicBezier(.42,0,1,1),Z=cubicBezier(0,0,.58,1),J=cubicBezier(.42,0,.58,1),isEasingArray=e=>Array.isArray(e)&&"number"!=typeof e[0],mirrorEasing=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,reverseEasing=e=>t=>1-e(1-t),Q=cubicBezier(.33,1.53,.69,.99),ee=reverseEasing(Q),et=mirrorEasing(ee),anticipate=e=>(e*=2)<1?.5*ee(e):.5*(2-Math.pow(2,-10*(e-1))),circIn=e=>1-Math.sin(Math.acos(e)),ei=reverseEasing(circIn),er=mirrorEasing(circIn),isBezierDefinition=e=>Array.isArray(e)&&"number"==typeof e[0],es={linear:noop,easeIn:X,easeInOut:J,easeOut:Z,circIn:circIn,circInOut:er,circOut:ei,backIn:ee,backInOut:et,backOut:Q,anticipate:anticipate},isValidEasing=e=>"string"==typeof e,easingDefinitionToFunction=e=>{if(isBezierDefinition(e)){invariant(4===e.length,"Cubic bezier arrays must contain four numerical values.");let[t,i,s,a]=e;return cubicBezier(t,i,s,a)}return isValidEasing(e)?(invariant(void 0!==es[e],`Invalid easing type '${e}'`),es[e]):e};function keyframes({duration:e=300,keyframes:t,times:i,ease:s="easeInOut"}){let a=isEasingArray(s)?s.map(easingDefinitionToFunction):easingDefinitionToFunction(s),n={done:!1,value:t[0]},l=(i&&i.length===t.length?i:function(e){let t=[0];return function(e,t){let i=e[e.length-1];for(let s=1;s<=t;s++){let a=progress(0,t,s);e.push(mixNumber(i,1,a))}}(t,e.length-1),t}(t)).map(t=>t*e),u=function(e,t,{clamp:i=!0,ease:s,mixer:a}={}){let n=e.length;if(invariant(n===t.length,"Both input and output ranges must be the same length"),1===n)return()=>t[0];if(2===n&&t[0]===t[1])return()=>t[1];let l=e[0]===e[1];e[0]>e[n-1]&&(e=[...e].reverse(),t=[...t].reverse());let u=function(e,t,i){let s=[],a=i||o.mix||mix,n=e.length-1;for(let i=0;i{if(l&&i1)for(;sinterpolator(clamp(e[0],e[n-1],t)):interpolator}(l,t,{ease:Array.isArray(a)?a:t.map(()=>a||J).splice(0,t.length-1)});return{calculatedDuration:e,next:t=>(n.value=u(t),n.done=t>=e,n)}}let get_final_isNotNull=e=>null!==e;function get_final_getFinalKeyframe(e,{repeat:t,repeatType:i="loop"},s,a=1){let n=e.filter(get_final_isNotNull),o=a<0||t&&"loop"!==i&&t%2==1?0:n.length-1;return o&&void 0!==s?s:n[o]}let ea={decay:inertia,inertia:inertia,tween:keyframes,keyframes:keyframes,spring:spring};function replaceTransitionType(e){"string"==typeof e.type&&(e.type=ea[e.type])}let WithPromise=class WithPromise{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(e=>{this.resolve=e})}notifyFinished(){this.resolve()}then(e,t){return this.finished.then(e,t)}};let percentToProgress=e=>e/100;let JSAnimation=class JSAnimation extends WithPromise{constructor(e){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{let{motionValue:e}=this.options;e&&e.updatedAt!==d.now()&&this.tick(d.now()),this.isStopped=!0,"idle"!==this.state&&(this.teardown(),this.options.onStop?.())},x.mainThread++,this.options=e,this.initAnimation(),this.play(),!1===e.autoplay&&this.pause()}initAnimation(){let{options:e}=this;replaceTransitionType(e);let{type:t=keyframes,repeat:i=0,repeatDelay:s=0,repeatType:a,velocity:n=0}=e,{keyframes:o}=e,l=t||keyframes;l!==keyframes&&"number"!=typeof o[0]&&(this.mixKeyframes=pipe(percentToProgress,mix(o[0],o[1])),o=[0,100]);let u=l({...e,keyframes:o});"mirror"===a&&(this.mirroredGenerator=l({...e,keyframes:[...o].reverse(),velocity:-n})),null===u.calculatedDuration&&(u.calculatedDuration=calcGeneratorDuration(u));let{calculatedDuration:c}=u;this.calculatedDuration=c,this.resolvedDuration=c+s,this.totalDuration=this.resolvedDuration*(i+1)-s,this.generator=u}updateTime(e){let t=Math.round(e-this.startTime)*this.playbackSpeed;null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=t}tick(e,t=!1){let{generator:i,totalDuration:s,mixKeyframes:a,mirroredGenerator:n,resolvedDuration:o,calculatedDuration:l}=this;if(null===this.startTime)return i.next(0);let{delay:u=0,keyframes:c,repeat:h,repeatType:d,repeatDelay:m,type:p,onUpdate:f,finalKeyframe:g}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-s/this.speed,this.startTime)),t?this.currentTime=e:this.updateTime(e);let y=this.currentTime-u*(this.playbackSpeed>=0?1:-1),b=this.playbackSpeed>=0?y<0:y>s;this.currentTime=Math.max(y,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=s);let v=this.currentTime,x=i;if(h){let e=Math.min(this.currentTime,s)/o,t=Math.floor(e),i=e%1;!i&&e>=1&&(i=1),1===i&&t--,t=Math.min(t,h+1);let a=!!(t%2);a&&("reverse"===d?(i=1-i,m&&(i-=m/o)):"mirror"===d&&(x=n)),v=clamp(0,1,i)*o}let A=b?{done:!1,value:c[0]}:x.next(v);a&&(A.value=a(A.value));let{done:V}=A;b||null===l||(V=this.playbackSpeed>=0?this.currentTime>=s:this.currentTime<=0);let T=null===this.holdTime&&("finished"===this.state||"running"===this.state&&V);return T&&p!==inertia&&(A.value=get_final_getFinalKeyframe(c,this.options,g,this.speed)),f&&f(A.value),T&&this.finish(),A}then(e,t){return this.finished.then(e,t)}get duration(){return millisecondsToSeconds(this.calculatedDuration)}get time(){return millisecondsToSeconds(this.currentTime)}set time(e){e=time_conversion_secondsToMilliseconds(e),this.currentTime=e,null===this.startTime||null!==this.holdTime||0===this.playbackSpeed?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.playbackSpeed),this.driver?.start(!1)}get speed(){return this.playbackSpeed}set speed(e){this.updateTime(d.now());let t=this.playbackSpeed!==e;this.playbackSpeed=e,t&&(this.time=millisecondsToSeconds(this.currentTime))}play(){if(this.isStopped)return;let{driver:e=frameloopDriver,startTime:t}=this.options;this.driver||(this.driver=e(e=>this.tick(e))),this.options.onPlay?.();let i=this.driver.now();"finished"===this.state?(this.updateFinished(),this.startTime=i):null!==this.holdTime?this.startTime=i-this.holdTime:this.startTime||(this.startTime=t??i),"finished"===this.state&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(d.now()),this.holdTime=this.currentTime}complete(){"running"!==this.state&&this.play(),this.state="finished",this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state="finished",this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null,x.mainThread--}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(e){return this.startTime=0,this.tick(e,!0)}attachTimeline(e){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),e.observe(this)}};let radToDeg=e=>180*e/Math.PI,rotate=e=>{let t=radToDeg(Math.atan2(e[1],e[0]));return rebaseAngle(t)},en={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate,rotateZ:rotate,skewX:e=>radToDeg(Math.atan(e[1])),skewY:e=>radToDeg(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},rebaseAngle=e=>((e%=360)<0&&(e+=360),e),scaleX=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),scaleY=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),eo={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX,scaleY,scale:e=>(scaleX(e)+scaleY(e))/2,rotateX:e=>rebaseAngle(radToDeg(Math.atan2(e[6],e[5]))),rotateY:e=>rebaseAngle(radToDeg(Math.atan2(-e[2],e[0]))),rotateZ:rotate,rotate:rotate,skewX:e=>radToDeg(Math.atan(e[4])),skewY:e=>radToDeg(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function defaultTransformValue(e){return e.includes("scale")?1:0}function parseValueFromTransform(e,t){let i,s;if(!e||"none"===e)return defaultTransformValue(t);let a=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);if(a)i=eo,s=a;else{let t=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);i=en,s=t}if(!s)return defaultTransformValue(t);let n=i[t],o=s[1].split(",").map(convertTransformToNumber);return"function"==typeof n?n(o):o[n]}let readTransformValue=(e,t)=>{let{transform:i="none"}=getComputedStyle(e);return parseValueFromTransform(i,t)};function convertTransformToNumber(e){return parseFloat(e.trim())}let isNumOrPxType=e=>e===w||e===L,el=new Set(["x","y","z"]),eu=f.filter(e=>!el.has(e)),ec={width:({x:e},{paddingLeft:t="0",paddingRight:i="0"})=>e.max-e.min-parseFloat(t)-parseFloat(i),height:({y:e},{paddingTop:t="0",paddingBottom:i="0"})=>e.max-e.min-parseFloat(t)-parseFloat(i),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:(e,{transform:t})=>parseValueFromTransform(t,"x"),y:(e,{transform:t})=>parseValueFromTransform(t,"y")};ec.translateX=ec.x,ec.translateY=ec.y;let eh=new Set,ed=!1,em=!1,ep=!1;function measureAllKeyframes(){if(em){let e=Array.from(eh).filter(e=>e.needsMeasurement),t=new Set(e.map(e=>e.element)),i=new Map;t.forEach(e=>{let t=function(e){let t=[];return eu.forEach(i=>{let s=e.getValue(i);void 0!==s&&(t.push([i,s.get()]),s.set(i.startsWith("scale")?1:0))}),t}(e);t.length&&(i.set(e,t),e.render())}),e.forEach(e=>e.measureInitialState()),t.forEach(e=>{e.render();let t=i.get(e);t&&t.forEach(([t,i])=>{e.getValue(t)?.set(i)})}),e.forEach(e=>e.measureEndState()),e.forEach(e=>{void 0!==e.suspendedScrollY&&window.scrollTo(0,e.suspendedScrollY)})}em=!1,ed=!1,eh.forEach(e=>e.complete(ep)),eh.clear()}function readAllKeyframes(){eh.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(em=!0)})}let KeyframeResolver=class KeyframeResolver{constructor(e,t,i,s,a,n=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...e],this.onComplete=t,this.name=i,this.motionValue=s,this.element=a,this.isAsync=n}scheduleResolve(){this.state="scheduled",this.isAsync?(eh.add(this),ed||(ed=!0,l.read(readAllKeyframes),l.resolveKeyframes(measureAllKeyframes))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:e,name:t,element:i,motionValue:s}=this;if(null===e[0]){let a=s?.get(),n=e[e.length-1];if(void 0!==a)e[0]=a;else if(i&&t){let s=i.readValue(t,n);null!=s&&(e[0]=s)}void 0===e[0]&&(e[0]=n),s&&void 0===a&&s.set(e[0])}!function(e){for(let t=1;te.startsWith("--");function memo(e){let t;return()=>(void 0===t&&(t=e()),t)}let ef=memo(()=>void 0!==window.ScrollTimeline),eg={},ey=function(e,t){let i=memo(e);return()=>eg[t]??i()}(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch(e){return!1}return!0},"linearEasing"),cubicBezierAsString=([e,t,i,s])=>`cubic-bezier(${e}, ${t}, ${i}, ${s})`,eb={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:cubicBezierAsString([0,.65,.55,1]),circOut:cubicBezierAsString([.55,0,1,.45]),backIn:cubicBezierAsString([.31,.01,.66,-.59]),backOut:cubicBezierAsString([.33,1.53,.69,.99])};function isGenerator(e){return"function"==typeof e&&"applyToOptions"in e}let NativeAnimation=class NativeAnimation extends WithPromise{constructor(e){if(super(),this.finishedTime=null,this.isStopped=!1,!e)return;let{element:t,name:i,keyframes:s,pseudoElement:a,allowFlatten:o=!1,finalKeyframe:l,onComplete:u}=e;this.isPseudoElement=!!a,this.allowFlatten=o,this.options=e,invariant("string"!=typeof e.type,'animateMini doesn\'t support "type" as a string. Did you mean to import { spring } from "motion"?');let c=function({type:e,...t}){return isGenerator(e)&&ey()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease="easeOut"),t)}(e);this.animation=function(e,t,i,{delay:s=0,duration:a=300,repeat:o=0,repeatType:l="loop",ease:u="easeOut",times:c}={},h){let d={[t]:i};c&&(d.offset=c);let m=function mapEasingToNativeEasing(e,t){if(e)return"function"==typeof e?ey()?generateLinearEasing(e,t):"ease-out":isBezierDefinition(e)?cubicBezierAsString(e):Array.isArray(e)?e.map(e=>mapEasingToNativeEasing(e,t)||eb.easeOut):eb[e]}(u,a);Array.isArray(m)&&(d.easing=m),n.value&&x.waapi++;let p={delay:s,duration:a,easing:Array.isArray(m)?"linear":m,fill:"both",iterations:o+1,direction:"reverse"===l?"alternate":"normal"};h&&(p.pseudoElement=h);let f=e.animate(d,p);return n.value&&f.finished.finally(()=>{x.waapi--}),f}(t,i,s,c,a),!1===c.autoplay&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!a){let e=get_final_getFinalKeyframe(s,this.options,l,this.speed);this.updateMotionValue?this.updateMotionValue(e):isCSSVar(i)?t.style.setProperty(i,e):t.style[i]=e,this.animation.cancel()}u?.(),this.notifyFinished()}}play(){this.isStopped||(this.animation.play(),"finished"===this.state&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch(e){}}stop(){if(this.isStopped)return;this.isStopped=!0;let{state:e}=this;"idle"!==e&&"finished"!==e&&(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){this.isPseudoElement||this.animation.commitStyles?.()}get duration(){let e=this.animation.effect?.getComputedTiming?.().duration||0;return millisecondsToSeconds(Number(e))}get time(){return millisecondsToSeconds(Number(this.animation.currentTime)||0)}set time(e){this.finishedTime=null,this.animation.currentTime=time_conversion_secondsToMilliseconds(e)}get speed(){return this.animation.playbackRate}set speed(e){e<0&&(this.finishedTime=null),this.animation.playbackRate=e}get state(){return null!==this.finishedTime?"finished":this.animation.playState}get startTime(){return Number(this.animation.startTime)}set startTime(e){this.animation.startTime=e}attachTimeline({timeline:e,observe:t}){return(this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,e&&ef())?(this.animation.timeline=e,noop):t(this)}};let ev={anticipate:anticipate,backInOut:et,circInOut:er};let NativeAnimationExtended=class NativeAnimationExtended extends NativeAnimation{constructor(e){"string"==typeof e.ease&&e.ease in ev&&(e.ease=ev[e.ease]),replaceTransitionType(e),super(e),e.startTime&&(this.startTime=e.startTime),this.options=e}updateMotionValue(e){let{motionValue:t,onUpdate:i,onComplete:s,element:a,...n}=this.options;if(!t)return;if(void 0!==e){t.set(e);return}let o=new JSAnimation({...n,autoplay:!1}),l=time_conversion_secondsToMilliseconds(this.finishedTime??this.time);t.setWithVelocity(o.sample(l-10).value,o.sample(l).value,10),o.stop()}};let isAnimatable=(e,t)=>"zIndex"!==t&&!!("number"==typeof e||Array.isArray(e)||"string"==typeof e&&(G.test(e)||"0"===e)&&!e.startsWith("url("));function isObject(e){return"object"==typeof e&&null!==e}function isHTMLElement(e){return isObject(e)&&"offsetHeight"in e}let ex=new Set(["opacity","clipPath","filter","transform"]),eA=memo(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));let AsyncMotionValueAnimation=class AsyncMotionValueAnimation extends WithPromise{constructor({autoplay:e=!0,delay:t=0,type:i="keyframes",repeat:s=0,repeatDelay:a=0,repeatType:n="loop",keyframes:o,name:l,motionValue:u,element:c,...h}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=d.now();let m={autoplay:e,delay:t,type:i,repeat:s,repeatDelay:a,repeatType:n,name:l,motionValue:u,element:c,...h},p=c?.KeyframeResolver||KeyframeResolver;this.keyframeResolver=new p(o,(e,t,i)=>this.onKeyframesResolved(e,t,m,!i),l,u,c),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(e,t,i,s){this.keyframeResolver=void 0;let{name:a,type:n,velocity:l,delay:u,isHandoff:c,onUpdate:h}=i;this.resolvedAt=d.now(),!function(e,t,i,s){let a=e[0];if(null===a)return!1;if("display"===t||"visibility"===t)return!0;let n=e[e.length-1],o=isAnimatable(a,t),l=isAnimatable(n,t);return warning(o===l,`You are trying to animate ${t} from "${a}" to "${n}". ${a} is not an animatable value - to enable this animation set ${a} to a value animatable to ${n} via the \`style\` property.`),!!o&&!!l&&(function(e){let t=e[0];if(1===e.length)return!0;for(let i=0;i40?this.resolvedAt:this.createdAt:void 0,p={startTime:m,finalKeyframe:t,...i,keyframes:e},f=!c&&function(e){let{motionValue:t,name:i,repeatDelay:s,repeatType:a,damping:n,type:o}=e;if(!isHTMLElement(t?.owner?.current))return!1;let{onUpdate:l,transformTemplate:u}=t.owner.getProps();return eA()&&i&&ex.has(i)&&("transform"!==i||!u)&&!l&&!s&&"mirror"!==a&&0!==n&&"inertia"!==o}(p)?new NativeAnimationExtended({...p,element:p.motionValue.owner.current}):new JSAnimation(p);f.finished.then(()=>this.notifyFinished()).catch(noop),this.pendingTimeline&&(this.stopTimeline=f.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=f}get finished(){return this._animation?this.animation.finished:this._finished}then(e,t){return this.finished.finally(e).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),ep=!0,readAllKeyframes(),measureAllKeyframes(),ep=!1),this._animation}get duration(){return this.animation.duration}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(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}};let animateMotionValue=(e,t,i,s={},a,n)=>u=>{let c=getValueTransition(s,e)||{},h=c.delay||s.delay||0,{elapsed:d=0}=s;d-=time_conversion_secondsToMilliseconds(h);let m={keyframes:Array.isArray(i)?i:[null,i],ease:"easeOut",velocity:t.getVelocity(),...c,delay:-d,onUpdate:e=>{t.set(e),c.onUpdate&&c.onUpdate(e)},onComplete:()=>{u(),c.onComplete&&c.onComplete()},name:e,motionValue:t,element:n?void 0:a};!function({when:e,delay:t,delayChildren:i,staggerChildren:s,staggerDirection:a,repeat:n,repeatType:o,repeatDelay:l,from:u,elapsed:c,...h}){return!!Object.keys(h).length}(c)&&Object.assign(m,getDefaultTransition(e,m)),m.duration&&(m.duration=time_conversion_secondsToMilliseconds(m.duration)),m.repeatDelay&&(m.repeatDelay=time_conversion_secondsToMilliseconds(m.repeatDelay)),void 0!==m.from&&(m.keyframes[0]=m.from);let p=!1;if(!1!==m.type&&(0!==m.duration||m.repeatDelay)||(m.duration=0,0!==m.delay||(p=!0)),(o.instantAnimations||o.skipAnimations)&&(p=!0,m.duration=0,m.delay=0),m.allowFlatten=!c.type&&!c.ease,p&&!n&&void 0!==t.get()){let e=function(e,{repeat:t,repeatType:i="loop"},s){let a=e.filter(isNotNull),n=t&&"loop"!==i&&t%2==1?0:a.length-1;return n&&void 0!==s?s:a[n]}(m.keyframes,c);if(void 0!==e){l.update(()=>{m.onUpdate(e),m.onComplete()});return}}return c.isSync?new JSAnimation(m):new AsyncMotionValueAnimation(m)},eV=new Set(["width","height","top","left","right","bottom",...f]);function animateTarget(e,t,{delay:i=0,transitionOverride:s,type:a}={}){let{transition:n=e.getDefaultTransition(),transitionEnd:o,...u}=t;s&&(n=s);let c=[],h=a&&e.animationState&&e.animationState.getState()[a];for(let t in u){let s=e.getValue(t,e.latestValues[t]??null),a=u[t];if(void 0===a||h&&function({protectedKeys:e,needsAnimating:t},i){let s=e.hasOwnProperty(i)&&!0!==t[i];return t[i]=!1,s}(h,t))continue;let o={delay:i,...getValueTransition(n||{},t)},d=s.get();if(void 0!==d&&!s.isAnimating&&!Array.isArray(a)&&a===d&&!o.velocity)continue;let m=!1;if(window.MotionHandoffAnimation){let i=e.props[p];if(i){let e=window.MotionHandoffAnimation(i,t,l);null!==e&&(o.startTime=e,m=!0)}}addValueToWillChange(e,t),s.start(animateMotionValue(t,s,a,e.shouldReduceMotion&&eV.has(t)?{type:!1}:o,e,m));let f=s.animation;f&&c.push(f)}return o&&Promise.all(c).then(()=>{l.update(()=>{o&&function(e,t){let i=resolveVariant(e,t),{transitionEnd:s={},transition:a={},...n}=i||{};for(let t in n={...n,...s}){var o;let i=isKeyframesTarget(o=n[t])?o[o.length-1]||0:o;e.hasValue(t)?e.getValue(t).set(i):e.addValue(t,motionValue(i))}}(e,o)})}),c}function animateVariant(e,t,i={}){let s=resolveVariant(e,t,"exit"===i.type?e.presenceContext?.custom:void 0),{transition:a=e.getDefaultTransition()||{}}=s||{};i.transitionOverride&&(a=i.transitionOverride);let n=s?()=>Promise.all(animateTarget(e,s,i)):()=>Promise.resolve(),o=e.variantChildren&&e.variantChildren.size?(s=0)=>{let{delayChildren:n=0,staggerChildren:o,staggerDirection:l}=a;return function(e,t,i=0,s=0,a=1,n){let o=[],l=(e.variantChildren.size-1)*s,u=1===a?(e=0)=>e*s:(e=0)=>l-e*s;return Array.from(e.variantChildren).sort(sortByTreeOrder).forEach((e,s)=>{e.notify("AnimationStart",t),o.push(animateVariant(e,t,{...n,delay:i+u(s)}).then(()=>e.notify("AnimationComplete",t)))}),Promise.all(o)}(e,t,n+s,o,l,i)}:()=>Promise.resolve(),{when:l}=a;if(!l)return Promise.all([n(),o(i.delay)]);{let[e,t]="beforeChildren"===l?[n,o]:[o,n];return e().then(()=>t())}}function sortByTreeOrder(e,t){return e.sortNodePosition(t)}function shallowCompare(e,t){if(!Array.isArray(t))return!1;let i=t.length;if(i!==e.length)return!1;for(let s=0;se.removeEventListener(t,i)}let isPrimaryPointer=e=>"mouse"===e.pointerType?"number"!=typeof e.button||e.button<=0:!1!==e.isPrimary;function extractEventInfo(e){return{point:{x:e.pageX,y:e.pageY}}}let addPointerInfo=e=>t=>isPrimaryPointer(t)&&e(t,extractEventInfo(t));function addPointerEvent(e,t,i,s){return addDomEvent(e,t,addPointerInfo(i),s)}function convertBoundingBoxToBox({top:e,left:t,right:i,bottom:s}){return{x:{min:t,max:i},y:{min:e,max:s}}}function calcLength(e){return e.max-e.min}function calcAxisDelta(e,t,i,s=.5){e.origin=s,e.originPoint=mixNumber(t.min,t.max,e.origin),e.scale=calcLength(i)/calcLength(t),e.translate=mixNumber(i.min,i.max,e.origin)-e.originPoint,(e.scale>=.9999&&e.scale<=1.0001||isNaN(e.scale))&&(e.scale=1),(e.translate>=-.01&&e.translate<=.01||isNaN(e.translate))&&(e.translate=0)}function calcBoxDelta(e,t,i,s){calcAxisDelta(e.x,t.x,i.x,s?s.originX:void 0),calcAxisDelta(e.y,t.y,i.y,s?s.originY:void 0)}function calcRelativeAxis(e,t,i){e.min=i.min+t.min,e.max=e.min+calcLength(t)}function calcRelativeAxisPosition(e,t,i){e.min=t.min-i.min,e.max=e.min+calcLength(t)}function calcRelativePosition(e,t,i){calcRelativeAxisPosition(e.x,t.x,i.x),calcRelativeAxisPosition(e.y,t.y,i.y)}let createAxisDelta=()=>({translate:0,scale:1,origin:0,originPoint:0}),createDelta=()=>({x:createAxisDelta(),y:createAxisDelta()}),createAxis=()=>({min:0,max:0}),createBox=()=>({x:createAxis(),y:createAxis()});function eachAxis(e){return[e("x"),e("y")]}function isIdentityScale(e){return void 0===e||1===e}function hasScale({scale:e,scaleX:t,scaleY:i}){return!isIdentityScale(e)||!isIdentityScale(t)||!isIdentityScale(i)}function hasTransform(e){return hasScale(e)||has2DTranslate(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function has2DTranslate(e){var t,i;return(t=e.x)&&"0%"!==t||(i=e.y)&&"0%"!==i}function applyPointDelta(e,t,i,s,a){return void 0!==a&&(e=s+a*(e-s)),s+i*(e-s)+t}function applyAxisDelta(e,t=0,i=1,s,a){e.min=applyPointDelta(e.min,t,i,s,a),e.max=applyPointDelta(e.max,t,i,s,a)}function applyBoxDelta(e,{x:t,y:i}){applyAxisDelta(e.x,t.translate,t.scale,t.originPoint),applyAxisDelta(e.y,i.translate,i.scale,i.originPoint)}function translateAxis(e,t){e.min=e.min+t,e.max=e.max+t}function transformAxis(e,t,i,s,a=.5){let n=mixNumber(e.min,e.max,a);applyAxisDelta(e,t,i,n,s)}function transformBox(e,t){transformAxis(e.x,t.x,t.scaleX,t.scale,t.originX),transformAxis(e.y,t.y,t.scaleY,t.scale,t.originY)}function measureViewportBox(e,t){return convertBoundingBoxToBox(function(e,t){if(!t)return e;let i=t({x:e.left,y:e.top}),s=t({x:e.right,y:e.bottom});return{top:i.y,left:i.x,bottom:s.y,right:s.x}}(e.getBoundingClientRect(),t))}let getContextWindow=({current:e})=>e?e.ownerDocument.defaultView:null;function isRefObject(e){return e&&"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}let distance=(e,t)=>Math.abs(e-t);let PanSession=class PanSession{constructor(e,t,{transformPagePoint:i,contextWindow:s,dragSnapToOrigin:a=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let e=getPanInfo(this.lastMoveEventInfo,this.history),t=null!==this.startEvent,i=function(e,t){let i=distance(e.x,t.x),s=distance(e.y,t.y);return Math.sqrt(i**2+s**2)}(e.offset,{x:0,y:0})>=3;if(!t&&!i)return;let{point:s}=e,{timestamp:a}=c;this.history.push({...s,timestamp:a});let{onStart:n,onMove:o}=this.handlers;t||(n&&n(this.lastMoveEvent,e),this.startEvent=this.lastMoveEvent),o&&o(this.lastMoveEvent,e)},this.handlePointerMove=(e,t)=>{this.lastMoveEvent=e,this.lastMoveEventInfo=transformPoint(t,this.transformPagePoint),l.update(this.updatePoint,!0)},this.handlePointerUp=(e,t)=>{this.end();let{onEnd:i,onSessionEnd:s,resumeAnimation:a}=this.handlers;if(this.dragSnapToOrigin&&a&&a(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let n=getPanInfo("pointercancel"===e.type?this.lastMoveEventInfo:transformPoint(t,this.transformPagePoint),this.history);this.startEvent&&i&&i(e,n),s&&s(e,n)},!isPrimaryPointer(e))return;this.dragSnapToOrigin=a,this.handlers=t,this.transformPagePoint=i,this.contextWindow=s||window;let n=extractEventInfo(e),o=transformPoint(n,this.transformPagePoint),{point:u}=o,{timestamp:h}=c;this.history=[{...u,timestamp:h}];let{onSessionStart:d}=t;d&&d(e,getPanInfo(o,this.history)),this.removeListeners=pipe(addPointerEvent(this.contextWindow,"pointermove",this.handlePointerMove),addPointerEvent(this.contextWindow,"pointerup",this.handlePointerUp),addPointerEvent(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),u(this.updatePoint)}};function transformPoint(e,t){return t?{point:t(e.point)}:e}function subtractPoint(e,t){return{x:e.x-t.x,y:e.y-t.y}}function getPanInfo({point:e},t){return{point:e,delta:subtractPoint(e,lastDevicePoint(t)),offset:subtractPoint(e,t[0]),velocity:function(e,t){if(e.length<2)return{x:0,y:0};let i=e.length-1,s=null,a=lastDevicePoint(e);for(;i>=0&&(s=e[i],!(a.timestamp-s.timestamp>time_conversion_secondsToMilliseconds(.1)));)i--;if(!s)return{x:0,y:0};let n=millisecondsToSeconds(a.timestamp-s.timestamp);if(0===n)return{x:0,y:0};let o={x:(a.x-s.x)/n,y:(a.y-s.y)/n};return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}(t,0)}}function lastDevicePoint(e){return e[e.length-1]}function calcRelativeAxisConstraints(e,t,i){return{min:void 0!==t?e.min+t:void 0,max:void 0!==i?e.max+i-(e.max-e.min):void 0}}function calcViewportAxisConstraints(e,t){let i=t.min-e.min,s=t.max-e.max;return t.max-t.min{let{dragSnapToOrigin:i}=this.getProps();i?this.pauseAnimation():this.stopAnimation(),t&&this.snapToCursor(extractEventInfo(e).point)},onStart:(e,t)=>{let{drag:i,dragPropagation:s,onDragStart:a}=this.getProps();if(i&&!s&&(this.openDragLock&&this.openDragLock(),this.openDragLock="x"===i||"y"===i?eM[i]?null:(eM[i]=!0,()=>{eM[i]=!1}):eM.x||eM.y?null:(eM.x=eM.y=!0,()=>{eM.x=eM.y=!1}),!this.openDragLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),eachAxis(e=>{let t=this.getAxisMotionValue(e).get()||0;if(B.test(t)){let{projection:i}=this.visualElement;if(i&&i.layout){let s=i.layout.layoutBox[e];if(s){let e=calcLength(s);t=e*(parseFloat(t)/100)}}}this.originPoint[e]=t}),a&&l.postRender(()=>a(e,t)),addValueToWillChange(this.visualElement,"transform");let{animationState:n}=this.visualElement;n&&n.setActive("whileDrag",!0)},onMove:(e,t)=>{let{dragPropagation:i,dragDirectionLock:s,onDirectionLock:a,onDrag:n}=this.getProps();if(!i&&!this.openDragLock)return;let{offset:o}=t;if(s&&null===this.currentDirection){this.currentDirection=function(e,t=10){let i=null;return Math.abs(e.y)>t?i="y":Math.abs(e.x)>t&&(i="x"),i}(o),null!==this.currentDirection&&a&&a(this.currentDirection);return}this.updateAxis("x",t.point,o),this.updateAxis("y",t.point,o),this.visualElement.render(),n&&n(e,t)},onSessionEnd:(e,t)=>this.stop(e,t),resumeAnimation:()=>eachAxis(e=>"paused"===this.getAnimationState(e)&&this.getAxisMotionValue(e).animation?.play())},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:s,contextWindow:getContextWindow(this.visualElement)})}stop(e,t){let i=this.isDragging;if(this.cancel(),!i)return;let{velocity:s}=t;this.startAnimation(s);let{onDragEnd:a}=this.getProps();a&&l.postRender(()=>a(e,t))}cancel(){this.isDragging=!1;let{projection:e,animationState:t}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;let{dragPropagation:i}=this.getProps();!i&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),t&&t.setActive("whileDrag",!1)}updateAxis(e,t,i){let{drag:s}=this.getProps();if(!i||!shouldDrag(e,s,this.currentDirection))return;let a=this.getAxisMotionValue(e),n=this.originPoint[e]+i[e];this.constraints&&this.constraints[e]&&(n=function(e,{min:t,max:i},s){return void 0!==t&&ei&&(e=s?mixNumber(i,e,s.max):Math.min(e,i)),e}(n,this.constraints[e],this.elastic[e])),a.set(n)}resolveConstraints(){let{dragConstraints:e,dragElastic:t}=this.getProps(),i=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,s=this.constraints;e&&isRefObject(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):e&&i?this.constraints=function(e,{top:t,left:i,bottom:s,right:a}){return{x:calcRelativeAxisConstraints(e.x,i,a),y:calcRelativeAxisConstraints(e.y,t,s)}}(i.layoutBox,e):this.constraints=!1,this.elastic=function(e=.35){return!1===e?e=0:!0===e&&(e=.35),{x:resolveAxisElastic(e,"left","right"),y:resolveAxisElastic(e,"top","bottom")}}(t),s!==this.constraints&&i&&this.constraints&&!this.hasMutatedConstraints&&eachAxis(e=>{!1!==this.constraints&&this.getAxisMotionValue(e)&&(this.constraints[e]=function(e,t){let i={};return void 0!==t.min&&(i.min=t.min-e.min),void 0!==t.max&&(i.max=t.max-e.min),i}(i.layoutBox[e],this.constraints[e]))})}resolveRefConstraints(){var e;let{dragConstraints:t,onMeasureDragConstraints:i}=this.getProps();if(!t||!isRefObject(t))return!1;let s=t.current;invariant(null!==s,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");let{projection:a}=this.visualElement;if(!a||!a.layout)return!1;let n=function(e,t,i){let s=measureViewportBox(e,i),{scroll:a}=t;return a&&(translateAxis(s.x,a.offset.x),translateAxis(s.y,a.offset.y)),s}(s,a.root,this.visualElement.getTransformPagePoint()),o={x:calcViewportAxisConstraints((e=a.layout.layoutBox).x,n.x),y:calcViewportAxisConstraints(e.y,n.y)};if(i){let e=i(function({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}(o));this.hasMutatedConstraints=!!e,e&&(o=convertBoundingBoxToBox(e))}return o}startAnimation(e){let{drag:t,dragMomentum:i,dragElastic:s,dragTransition:a,dragSnapToOrigin:n,onDragTransitionEnd:o}=this.getProps(),l=this.constraints||{},u=eachAxis(o=>{if(!shouldDrag(o,t,this.currentDirection))return;let u=l&&l[o]||{};n&&(u={min:0,max:0});let c={type:"inertia",velocity:i?e[o]:0,bounceStiffness:s?200:1e6,bounceDamping:s?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...a,...u};return this.startAxisValueAnimation(o,c)});return Promise.all(u).then(o)}startAxisValueAnimation(e,t){let i=this.getAxisMotionValue(e);return addValueToWillChange(this.visualElement,e),i.start(animateMotionValue(e,i,0,t,this.visualElement,!1))}stopAnimation(){eachAxis(e=>this.getAxisMotionValue(e).stop())}pauseAnimation(){eachAxis(e=>this.getAxisMotionValue(e).animation?.pause())}getAnimationState(e){return this.getAxisMotionValue(e).animation?.state}getAxisMotionValue(e){let t=`_drag${e.toUpperCase()}`,i=this.visualElement.getProps(),s=i[t];return s||this.visualElement.getValue(e,(i.initial?i.initial[e]:void 0)||0)}snapToCursor(e){eachAxis(t=>{let{drag:i}=this.getProps();if(!shouldDrag(t,i,this.currentDirection))return;let{projection:s}=this.visualElement,a=this.getAxisMotionValue(t);if(s&&s.layout){let{min:i,max:n}=s.layout.layoutBox[t];a.set(e[t]-mixNumber(i,n,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:e,dragConstraints:t}=this.getProps(),{projection:i}=this.visualElement;if(!isRefObject(t)||!i||!this.constraints)return;this.stopAnimation();let s={x:0,y:0};eachAxis(e=>{let t=this.getAxisMotionValue(e);if(t&&!1!==this.constraints){let i=t.get();s[e]=function(e,t){let i=.5,s=calcLength(e),a=calcLength(t);return a>s?i=progress(t.min,t.max-s,e.min):s>a&&(i=progress(e.min,e.max-a,t.min)),clamp(0,1,i)}({min:i,max:i},this.constraints[e])}});let{transformTemplate:a}=this.visualElement.getProps();this.visualElement.current.style.transform=a?a({},""):"none",i.root&&i.root.updateScroll(),i.updateLayout(),this.resolveConstraints(),eachAxis(t=>{if(!shouldDrag(t,e,null))return;let i=this.getAxisMotionValue(t),{min:a,max:n}=this.constraints[t];i.set(mixNumber(a,n,s[t]))})}addListeners(){if(!this.visualElement.current)return;eE.set(this.visualElement,this);let e=this.visualElement.current,t=addPointerEvent(e,"pointerdown",e=>{let{drag:t,dragListener:i=!0}=this.getProps();t&&i&&this.start(e)}),measureDragConstraints=()=>{let{dragConstraints:e}=this.getProps();isRefObject(e)&&e.current&&(this.constraints=this.resolveRefConstraints())},{projection:i}=this.visualElement,s=i.addEventListener("measure",measureDragConstraints);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),l.read(measureDragConstraints);let a=addDomEvent(window,"resize",()=>this.scalePositionWithinConstraints()),n=i.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&(eachAxis(t=>{let i=this.getAxisMotionValue(t);i&&(this.originPoint[t]+=e[t].translate,i.set(i.get()+e[t].translate))}),this.visualElement.render())});return()=>{a(),t(),s(),n&&n()}}getProps(){let e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:i=!1,dragPropagation:s=!1,dragConstraints:a=!1,dragElastic:n=.35,dragMomentum:o=!0}=e;return{...e,drag:t,dragDirectionLock:i,dragPropagation:s,dragConstraints:a,dragElastic:n,dragMomentum:o}}};function shouldDrag(e,t,i){return(!0===t||t===e)&&(null===i||i===e)}let asyncHandler=e=>(t,i)=>{e&&l.postRender(()=>e(t,i))};var eD,eR,eB,eL=i(7437),eN=i(2265);let eI=(0,eN.createContext)(null),ej=(0,eN.createContext)({}),eF=(0,eN.createContext)({}),eO={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function pixelsToPercent(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}let eU={correct:(e,t)=>{if(!t.target)return e;if("string"==typeof e){if(!L.test(e))return e;e=parseFloat(e)}let i=pixelsToPercent(e,t.target.x),s=pixelsToPercent(e,t.target.y);return`${i}% ${s}%`}},ez={},{schedule:eW,cancel:e_}=createRenderBatcher(queueMicrotask,!1);let MeasureLayoutWithContext=class MeasureLayoutWithContext extends eN.Component{componentDidMount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:i,layoutId:s}=this.props,{projection:a}=e;!function(e){for(let t in e)ez[t]=e[t],A(t)&&(ez[t].isCSSVariable=!0)}(eG),a&&(t.group&&t.group.add(a),i&&i.register&&s&&i.register(a),a.root.didUpdate(),a.addEventListener("animationComplete",()=>{this.safeToRemove()}),a.setOptions({...a.options,onExitComplete:()=>this.safeToRemove()})),eO.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){let{layoutDependency:t,visualElement:i,drag:s,isPresent:a}=this.props,{projection:n}=i;return n&&(n.isPresent=a,s||e.layoutDependency!==t||void 0===t||e.isPresent!==a?n.willUpdate():this.safeToRemove(),e.isPresent===a||(a?n.promote():n.relegate()||l.postRender(()=>{let e=n.getStack();e&&e.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{projection:e}=this.props.visualElement;e&&(e.root.didUpdate(),eW.postRender(()=>{!e.currentAnimation&&e.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:i}=this.props,{projection:s}=e;s&&(s.scheduleCheckAfterUnmount(),t&&t.group&&t.group.remove(s),i&&i.deregister&&i.deregister(s))}safeToRemove(){let{safeToRemove:e}=this.props;e&&e()}render(){return null}};function MeasureLayout(e){let[t,i]=function(e=!0){let t=(0,eN.useContext)(eI);if(null===t)return[!0,null];let{isPresent:i,onExitComplete:s,register:a}=t,n=(0,eN.useId)();(0,eN.useEffect)(()=>{if(e)return a(n)},[e]);let o=(0,eN.useCallback)(()=>e&&s&&s(n),[n,s,e]);return!i&&s?[!1,o]:[!0]}(),s=(0,eN.useContext)(ej);return(0,eL.jsx)(MeasureLayoutWithContext,{...e,layoutGroup:s,switchLayoutGroup:(0,eN.useContext)(eF),isPresent:t,safeToRemove:i})}let eG={borderRadius:{...eU,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:eU,borderTopRightRadius:eU,borderBottomLeftRadius:eU,borderBottomRightRadius:eU,boxShadow:{correct:(e,{treeScale:t,projectionDelta:i})=>{let s=G.parse(e);if(s.length>5)return e;let a=G.createTransformer(e),n="number"!=typeof s[0]?1:0,o=i.x.scale*t.x,l=i.y.scale*t.y;s[0+n]/=o,s[1+n]/=l;let u=mixNumber(o,l,.5);return"number"==typeof s[2+n]&&(s[2+n]/=u),"number"==typeof s[3+n]&&(s[3+n]/=u),a(s)}}},compareByDepth=(e,t)=>e.depth-t.depth;let FlatTree=class FlatTree{constructor(){this.children=[],this.isDirty=!1}add(e){addUniqueItem(this.children,e),this.isDirty=!0}remove(e){removeItem(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(compareByDepth),this.isDirty=!1,this.children.forEach(e)}};function resolveMotionValue(e){return isMotionValue(e)?e.get():e}let e$=["TopLeft","TopRight","BottomLeft","BottomRight"],eH=e$.length,asNumber=e=>"string"==typeof e?parseFloat(e):e,isPx=e=>"number"==typeof e||L.test(e);function getRadius(e,t){return void 0!==e[t]?e[t]:e.borderRadius}let eK=compress(0,.5,ei),eq=compress(.5,.95,noop);function compress(e,t,i){return s=>st?1:i(progress(e,t,s))}function copyAxisInto(e,t){e.min=t.min,e.max=t.max}function copyBoxInto(e,t){copyAxisInto(e.x,t.x),copyAxisInto(e.y,t.y)}function copyAxisDeltaInto(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function removePointDelta(e,t,i,s,a){return e-=t,e=s+1/i*(e-s),void 0!==a&&(e=s+1/a*(e-s)),e}function removeAxisTransforms(e,t,[i,s,a],n,o){!function(e,t=0,i=1,s=.5,a,n=e,o=e){if(B.test(t)){t=parseFloat(t);let e=mixNumber(o.min,o.max,t/100);t=e-o.min}if("number"!=typeof t)return;let l=mixNumber(n.min,n.max,s);e===n&&(l-=t),e.min=removePointDelta(e.min,t,i,l,a),e.max=removePointDelta(e.max,t,i,l,a)}(e,t[i],t[s],t[a],t.scale,n,o)}let eY=["x","scaleX","originX"],eX=["y","scaleY","originY"];function removeBoxTransforms(e,t,i,s){removeAxisTransforms(e.x,t,eY,i?i.x:void 0,s?s.x:void 0),removeAxisTransforms(e.y,t,eX,i?i.y:void 0,s?s.y:void 0)}function isAxisDeltaZero(e){return 0===e.translate&&1===e.scale}function isDeltaZero(e){return isAxisDeltaZero(e.x)&&isAxisDeltaZero(e.y)}function axisEquals(e,t){return e.min===t.min&&e.max===t.max}function axisEqualsRounded(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function boxEqualsRounded(e,t){return axisEqualsRounded(e.x,t.x)&&axisEqualsRounded(e.y,t.y)}function aspectRatio(e){return calcLength(e.x)/calcLength(e.y)}function axisDeltaEquals(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}let NodeStack=class NodeStack{constructor(){this.members=[]}add(e){addUniqueItem(this.members,e),e.scheduleRender()}remove(e){if(removeItem(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){let e=this.members[this.members.length-1];e&&this.promote(e)}}relegate(e){let t;let i=this.members.findIndex(t=>e===t);if(0===i)return!1;for(let e=i;e>=0;e--){let i=this.members[e];if(!1!==i.isPresent){t=i;break}}return!!t&&(this.promote(t),!0)}promote(e,t){let i=this.lead;if(e!==i&&(this.prevLead=i,this.lead=e,e.show(),i)){i.instance&&i.scheduleRender(),e.scheduleRender(),e.resumeFrom=i,t&&(e.resumeFrom.preserveOpacity=!0),i.snapshot&&(e.snapshot=i.snapshot,e.snapshot.latestValues=i.animationValues||i.latestValues),e.root&&e.root.isUpdating&&(e.isLayoutDirty=!0);let{crossfade:s}=e.options;!1===s&&i.hide()}}exitAnimationComplete(){this.members.forEach(e=>{let{options:t,resumingFrom:i}=e;t.onExitComplete&&t.onExitComplete(),i&&i.options.onExitComplete&&i.options.onExitComplete()})}scheduleRender(){this.members.forEach(e=>{e.instance&&e.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}};function isSVGElement(e){return isObject(e)&&"ownerSVGElement"in e}let eZ={nodes:0,calculatedTargetDeltas:0,calculatedProjections:0},eJ=["","X","Y","Z"],eQ={visibility:"hidden"},e0=0;function resetDistortingTransform(e,t,i,s){let{latestValues:a}=t;a[e]&&(i[e]=a[e],t.setStaticValue(e,0),s&&(s[e]=0))}function createProjectionNode({attachResizeListener:e,defaultParent:t,measureScroll:i,checkIsScrollRoot:s,resetTransform:a}){return class{constructor(e={},i=t?.()){this.id=e0++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,n.value&&(eZ.nodes=eZ.calculatedTargetDeltas=eZ.calculatedProjections=0),this.nodes.forEach(propagateDirtyNodes),this.nodes.forEach(resolveTargetDelta),this.nodes.forEach(calcProjection),this.nodes.forEach(cleanDirtyNodes),n.addProjectionMetrics&&n.addProjectionMetrics(eZ)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=e,this.root=i?i.root||i:this,this.path=i?[...i.path,i]:[],this.parent=i,this.depth=i?i.depth+1:0;for(let e=0;ethis.root.updateBlockedByResize=!1;e(t,()=>{this.root.updateBlockedByResize=!0,i&&i(),i=function(e,t){let i=d.now(),checkElapsed=({timestamp:s})=>{let a=s-i;a>=t&&(u(checkElapsed),e(a-t))};return l.setup(checkElapsed,!0),()=>u(checkElapsed)}(resizeUnblockUpdate,250),eO.hasAnimatedSinceResize&&(eO.hasAnimatedSinceResize=!1,this.nodes.forEach(finishAnimation))})}i&&this.root.registerSharedNode(i,this),!1!==this.options.animate&&a&&(i||s)&&this.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t,hasRelativeLayoutChanged:i,layout:s})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let n=this.options.transition||a.getDefaultTransition()||e1,{onLayoutAnimationStart:o,onLayoutAnimationComplete:l}=a.getProps(),u=!this.targetLayout||!boxEqualsRounded(this.targetLayout,s),c=!t&&i;if(this.options.layoutRoot||this.resumeFrom||c||t&&(u||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);let t={...getValueTransition(n,"layout"),onPlay:o,onComplete:l};(a.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t),this.setAnimationOrigin(e,c)}else t||finishAnimation(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=s})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let e=this.getStack();e&&e.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),u(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(resetSkewAndRotation),this.animationId++)}getTransformTemplate(){let{visualElement:e}=this.options;return e&&e.getProps().transformTemplate}willUpdate(e=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&function cancelTreeOptimisedTransformAnimations(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;let{visualElement:t}=e.options;if(!t)return;let i=t.props[p];if(window.MotionHasOptimisedAnimation(i,"transform")){let{layout:t,layoutId:s}=e.options;window.MotionCancelOptimisedAnimation(i,"transform",l,!(t||s))}let{parent:s}=e;s&&!s.hasCheckedOptimisedAppear&&cancelTreeOptimisedTransformAnimations(s)}(this),this.root.isUpdating||this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let e=0;e{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),!this.snapshot||calcLength(this.snapshot.measuredBox.x)||calcLength(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 e=0;e.999999999999&&(t.x=1),t.y<1.0000000000001&&t.y>.999999999999&&(t.y=1)}}(this.layoutCorrected,this.treeScale,this.path,t),e.layout&&!e.target&&(1!==this.treeScale.x||1!==this.treeScale.y)&&(e.target=e.layout.layoutBox,e.targetWithTransforms=createBox());let{target:u}=e;if(!u){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}this.projectionDelta&&this.prevProjectionDelta?(copyAxisDeltaInto(this.prevProjectionDelta.x,this.projectionDelta.x),copyAxisDeltaInto(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),calcBoxDelta(this.projectionDelta,this.layoutCorrected,u,this.latestValues),this.treeScale.x===o&&this.treeScale.y===l&&axisDeltaEquals(this.projectionDelta.x,this.prevProjectionDelta.x)&&axisDeltaEquals(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",u)),n.value&&eZ.calculatedProjections++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(e=!0){if(this.options.visualElement?.scheduleRender(),e){let e=this.getStack();e&&e.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=createDelta(),this.projectionDelta=createDelta(),this.projectionDeltaWithTransform=createDelta()}setAnimationOrigin(e,t=!1){let i;let s=this.snapshot,a=s?s.latestValues:{},n={...this.latestValues},o=createDelta();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!t;let l=createBox(),u=s?s.source:void 0,c=this.layout?this.layout.source:void 0,h=u!==c,d=this.getStack(),m=!d||d.members.length<=1,p=!!(h&&!m&&!0===this.options.crossfade&&!this.path.some(hasOpacityCrossfade));this.animationProgress=0,this.mixTargetDelta=t=>{let s=t/1e3;if(mixAxisDelta(o.x,e.x,s),mixAxisDelta(o.y,e.y,s),this.setTargetDelta(o),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var u,c,d,f;calcRelativePosition(l,this.layout.layoutBox,this.relativeParent.layout.layoutBox),d=this.relativeTarget,f=this.relativeTargetOrigin,mixAxis(d.x,f.x,l.x,s),mixAxis(d.y,f.y,l.y,s),i&&(u=this.relativeTarget,c=i,axisEquals(u.x,c.x)&&axisEquals(u.y,c.y))&&(this.isProjectionDirty=!1),i||(i=createBox()),copyBoxInto(i,this.relativeTarget)}h&&(this.animationValues=n,function(e,t,i,s,a,n){a?(e.opacity=mixNumber(0,i.opacity??1,eK(s)),e.opacityExit=mixNumber(t.opacity??1,0,eq(s))):n&&(e.opacity=mixNumber(t.opacity??1,i.opacity??1,s));for(let a=0;a{eO.hasAnimatedSinceResize=!0,x.layout++,this.motionValue||(this.motionValue=motionValue(0)),this.currentAnimation=function(e,t,i){let s=isMotionValue(e)?e:motionValue(e);return s.start(animateMotionValue("",s,t,i)),s.animation}(this.motionValue,[0,1e3],{...e,isSync:!0,onUpdate:t=>{this.mixTargetDelta(t),e.onUpdate&&e.onUpdate(t)},onStop:()=>{x.layout--},onComplete:()=>{x.layout--,e.onComplete&&e.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);let e=this.getStack();e&&e.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let e=this.getLead(),{targetWithTransforms:t,target:i,layout:s,latestValues:a}=e;if(t&&i&&s){if(this!==e&&this.layout&&s&&shouldAnimatePositionOnly(this.options.animationType,this.layout.layoutBox,s.layoutBox)){i=this.target||createBox();let t=calcLength(this.layout.layoutBox.x);i.x.min=e.target.x.min,i.x.max=i.x.min+t;let s=calcLength(this.layout.layoutBox.y);i.y.min=e.target.y.min,i.y.max=i.y.min+s}copyBoxInto(t,i),transformBox(t,a),calcBoxDelta(this.projectionDeltaWithTransform,this.layoutCorrected,t,a)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new NodeStack);let i=this.sharedNodes.get(e);i.add(t);let s=t.options.initialPromotionConfig;t.promote({transition:s?s.transition:void 0,preserveFollowOpacity:s&&s.shouldPreserveFollowOpacity?s.shouldPreserveFollowOpacity(t):void 0})}isLead(){let e=this.getStack();return!e||e.lead===this}getLead(){let{layoutId:e}=this.options;return e&&this.getStack()?.lead||this}getPrevLead(){let{layoutId:e}=this.options;return e?this.getStack()?.prevLead:void 0}getStack(){let{layoutId:e}=this.options;if(e)return this.root.sharedNodes.get(e)}promote({needsReset:e,transition:t,preserveFollowOpacity:i}={}){let s=this.getStack();s&&s.promote(this,i),e&&(this.projectionDelta=void 0,this.needsReset=!0),t&&this.setOptions({transition:t})}relegate(){let e=this.getStack();return!!e&&e.relegate(this)}resetSkewAndRotation(){let{visualElement:e}=this.options;if(!e)return;let t=!1,{latestValues:i}=e;if((i.z||i.rotate||i.rotateX||i.rotateY||i.rotateZ||i.skewX||i.skewY)&&(t=!0),!t)return;let s={};i.z&&resetDistortingTransform("z",e,s,this.animationValues);for(let t=0;te.currentAnimation?.stop()),this.root.nodes.forEach(clearMeasurements),this.root.sharedNodes.clear()}}}function updateLayout(e){e.updateLayout()}function notifyLayoutUpdate(e){let t=e.resumeFrom?.snapshot||e.snapshot;if(e.isLead()&&e.layout&&t&&e.hasListeners("didUpdate")){let{layoutBox:i,measuredBox:s}=e.layout,{animationType:a}=e.options,n=t.source!==e.layout.source;"size"===a?eachAxis(e=>{let s=n?t.measuredBox[e]:t.layoutBox[e],a=calcLength(s);s.min=i[e].min,s.max=s.min+a}):shouldAnimatePositionOnly(a,t.layoutBox,i)&&eachAxis(s=>{let a=n?t.measuredBox[s]:t.layoutBox[s],o=calcLength(i[s]);a.max=a.min+o,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[s].max=e.relativeTarget[s].min+o)});let o=createDelta();calcBoxDelta(o,i,t.layoutBox);let l=createDelta();n?calcBoxDelta(l,e.applyTransform(s,!0),t.measuredBox):calcBoxDelta(l,i,t.layoutBox);let u=!isDeltaZero(o),c=!1;if(!e.resumeFrom){let s=e.getClosestProjectingParent();if(s&&!s.resumeFrom){let{snapshot:a,layout:n}=s;if(a&&n){let o=createBox();calcRelativePosition(o,t.layoutBox,a.layoutBox);let l=createBox();calcRelativePosition(l,i,n.layoutBox),boxEqualsRounded(o,l)||(c=!0),s.options.layoutRoot&&(e.relativeTarget=l,e.relativeTargetOrigin=o,e.relativeParent=s)}}}e.notifyListeners("didUpdate",{layout:i,snapshot:t,delta:l,layoutDelta:o,hasLayoutChanged:u,hasRelativeLayoutChanged:c})}else if(e.isLead()){let{onExitComplete:t}=e.options;t&&t()}e.options.transition=void 0}function propagateDirtyNodes(e){n.value&&eZ.nodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function cleanDirtyNodes(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function clearSnapshot(e){e.clearSnapshot()}function clearMeasurements(e){e.clearMeasurements()}function clearIsLayoutDirty(e){e.isLayoutDirty=!1}function resetTransformStyle(e){let{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function finishAnimation(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function resolveTargetDelta(e){e.resolveTargetDelta()}function calcProjection(e){e.calcProjection()}function resetSkewAndRotation(e){e.resetSkewAndRotation()}function removeLeadSnapshots(e){e.removeLeadSnapshot()}function mixAxisDelta(e,t,i){e.translate=mixNumber(t.translate,0,i),e.scale=mixNumber(t.scale,1,i),e.origin=t.origin,e.originPoint=t.originPoint}function mixAxis(e,t,i,s){e.min=mixNumber(t.min,i.min,s),e.max=mixNumber(t.max,i.max,s)}function hasOpacityCrossfade(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}let e1={duration:.45,ease:[.4,0,.1,1]},userAgentContains=e=>"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),e2=userAgentContains("applewebkit/")&&!userAgentContains("chrome/")?Math.round:noop;function roundAxis(e){e.min=e2(e.min),e.max=e2(e.max)}function shouldAnimatePositionOnly(e,t,i){return"position"===e||"preserve-aspect"===e&&!(.2>=Math.abs(aspectRatio(t)-aspectRatio(i)))}function checkNodeWasScrollRoot(e){return e!==e.root&&e.scroll?.wasRoot}let e5=createProjectionNode({attachResizeListener:(e,t)=>addDomEvent(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),e3={current:void 0},e9=createProjectionNode({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!e3.current){let e=new e5({});e.mount(window),e.setOptions({layoutScroll:!0}),e3.current=e}return e3.current},resetTransform:(e,t)=>{e.style.transform=void 0!==t?t:"none"},checkIsScrollRoot:e=>"fixed"===window.getComputedStyle(e).position});function setupGesture(e,t){let i=function(e,t,i){if(e instanceof EventTarget)return[e];if("string"==typeof e){let i=document;t&&(i=t.current);let s=(void 0)??i.querySelectorAll(e);return s?Array.from(s):[]}return Array.from(e)}(e),s=new AbortController,a={passive:!0,...t,signal:s.signal};return[i,a,()=>s.abort()]}function isValidHover(e){return!("touch"===e.pointerType||eM.x||eM.y)}function handleHoverEvent(e,t,i){let{props:s}=e;e.animationState&&s.whileHover&&e.animationState.setActive("whileHover","Start"===i);let a="onHover"+i,n=s[a];n&&l.postRender(()=>n(t,extractEventInfo(t)))}let isNodeOrChild=(e,t)=>!!t&&(e===t||isNodeOrChild(e,t.parentElement)),e6=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]),e4=new WeakSet;function filterEvents(e){return t=>{"Enter"===t.key&&e(t)}}function firePointerEvent(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}let enableKeyboardPress=(e,t)=>{let i=e.currentTarget;if(!i)return;let s=filterEvents(()=>{if(e4.has(i))return;firePointerEvent(i,"down");let e=filterEvents(()=>{firePointerEvent(i,"up")});i.addEventListener("keyup",e,t),i.addEventListener("blur",()=>firePointerEvent(i,"cancel"),t)});i.addEventListener("keydown",s,t),i.addEventListener("blur",()=>i.removeEventListener("keydown",s),t)};function isValidPressEvent(e){return isPrimaryPointer(e)&&!(eM.x||eM.y)}function handlePressEvent(e,t,i){let{props:s}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&s.whileTap&&e.animationState.setActive("whileTap","Start"===i);let a="onTap"+("End"===i?"":i),n=s[a];n&&l.postRender(()=>n(t,extractEventInfo(t)))}let e7=new WeakMap,e8=new WeakMap,fireObserverCallback=e=>{let t=e7.get(e.target);t&&t(e)},fireAllObserverCallbacks=e=>{e.forEach(fireObserverCallback)},te={some:0,all:1},tt=(0,eN.createContext)({strict:!1}),ti=(0,eN.createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),tr=(0,eN.createContext)({});function isControllingVariants(e){return isAnimationControls(e.animate)||ew.some(t=>isVariantLabel(e[t]))}function isVariantNode(e){return!!(isControllingVariants(e)||e.variants)}function variantLabelsAsDependency(e){return Array.isArray(e)?e.join(" "):e}let ts="undefined"!=typeof window,ta={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"]},tn={};for(let e in ta)tn[e]={isEnabled:t=>ta[e].some(e=>!!t[e])};let to=Symbol.for("motionComponentSymbol"),tl=ts?eN.useLayoutEffect:eN.useEffect;function isForcedMotionValue(e,{layout:t,layoutId:i}){return g.has(e)||e.startsWith("origin")||(t||void 0!==i)&&(!!ez[e]||"opacity"===e)}let getValueAsType=(e,t)=>t&&"number"==typeof e?t.transform(e):e,tu={...w,transform:Math.round},tc={borderWidth:L,borderTopWidth:L,borderRightWidth:L,borderBottomWidth:L,borderLeftWidth:L,borderRadius:L,radius:L,borderTopLeftRadius:L,borderTopRightRadius:L,borderBottomRightRadius:L,borderBottomLeftRadius:L,width:L,maxWidth:L,height:L,maxHeight:L,top:L,right:L,bottom:L,left:L,padding:L,paddingTop:L,paddingRight:L,paddingBottom:L,paddingLeft:L,margin:L,marginTop:L,marginRight:L,marginBottom:L,marginLeft:L,backgroundPositionX:L,backgroundPositionY:L,rotate:R,rotateX:R,rotateY:R,rotateZ:R,scale:P,scaleX:P,scaleY:P,scaleZ:P,skew:R,skewX:R,skewY:R,distance:L,translateX:L,translateY:L,translateZ:L,x:L,y:L,z:L,perspective:L,transformPerspective:L,opacity:S,originX:j,originY:j,originZ:L,zIndex:tu,fillOpacity:S,strokeOpacity:S,numOctaves:tu},th={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},td=f.length;function buildHTMLStyles(e,t,i){let{style:s,vars:a,transformOrigin:n}=e,o=!1,l=!1;for(let e in t){let i=t[e];if(g.has(e)){o=!0;continue}if(A(e)){a[e]=i;continue}{let t=getValueAsType(i,tc[e]);e.startsWith("origin")?(l=!0,n[e]=t):s[e]=t}}if(!t.transform&&(o||i?s.transform=function(e,t,i){let s="",a=!0;for(let n=0;n({style:{},transform:{},transformOrigin:{},vars:{}});function copyRawValuesOnly(e,t,i){for(let s in t)isMotionValue(t[s])||isForcedMotionValue(s,i)||(e[s]=t[s])}function useHTMLProps(e,t){let i={},s=function(e,t){let i=e.style||{},s={};return copyRawValuesOnly(s,i,e),Object.assign(s,function({transformTemplate:e},t){return(0,eN.useMemo)(()=>{let i=createHtmlRenderState();return buildHTMLStyles(i,t,e),Object.assign({},i.vars,i.style)},[t])}(e,t)),s}(e,t);return e.drag&&!1!==e.dragListener&&(i.draggable=!1,s.userSelect=s.WebkitUserSelect=s.WebkitTouchCallout="none",s.touchAction=!0===e.drag?"none":`pan-${"x"===e.drag?"y":"x"}`),void 0===e.tabIndex&&(e.onTap||e.onTapStart||e.whileTap)&&(i.tabIndex=0),i.style=s,i}let tm={offset:"stroke-dashoffset",array:"stroke-dasharray"},tp={offset:"strokeDashoffset",array:"strokeDasharray"};function buildSVGAttrs(e,{attrX:t,attrY:i,attrScale:s,pathLength:a,pathSpacing:n=1,pathOffset:o=0,...l},u,c,h){if(buildHTMLStyles(e,l,c),u){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};let{attrs:d,style:m}=e;d.transform&&(m.transform=d.transform,delete d.transform),(m.transform||d.transformOrigin)&&(m.transformOrigin=d.transformOrigin??"50% 50%",delete d.transformOrigin),m.transform&&(m.transformBox=h?.transformBox??"fill-box",delete d.transformBox),void 0!==t&&(d.x=t),void 0!==i&&(d.y=i),void 0!==s&&(d.scale=s),void 0!==a&&function(e,t,i=1,s=0,a=!0){e.pathLength=1;let n=a?tm:tp;e[n.offset]=L.transform(-s);let o=L.transform(t),l=L.transform(i);e[n.array]=`${o} ${l}`}(d,a,n,o,!1)}let createSvgRenderState=()=>({...createHtmlRenderState(),attrs:{}}),isSVGTag=e=>"string"==typeof e&&"svg"===e.toLowerCase();function useSVGProps(e,t,i,s){let a=(0,eN.useMemo)(()=>{let i=createSvgRenderState();return buildSVGAttrs(i,t,isSVGTag(s),e.transformTemplate,e.style),{...i.attrs,style:{...i.style}}},[t]);if(e.style){let t={};copyRawValuesOnly(t,e.style,e),a.style={...t,...a.style}}return a}let tf=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","ignoreStrict","viewport"]);function isValidMotionProp(e){return e.startsWith("while")||e.startsWith("drag")&&"draggable"!==e||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||tf.has(e)}let shouldForward=e=>!isValidMotionProp(e);try{(eD=require("@emotion/is-prop-valid").default)&&(shouldForward=e=>e.startsWith("on")?!isValidMotionProp(e):eD(e))}catch{}let tg=["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 isSVGComponent(e){if("string"!=typeof e||e.includes("-"));else if(tg.indexOf(e)>-1||/[A-Z]/u.test(e))return!0;return!1}let makeUseVisualState=e=>(t,i)=>{let s=(0,eN.useContext)(tr),a=(0,eN.useContext)(eI),make=()=>(function({scrapeMotionValuesFromProps:e,createRenderState:t},i,s,a){let n={latestValues:function(e,t,i,s){let a={},n=s(e,{});for(let e in n)a[e]=resolveMotionValue(n[e]);let{initial:o,animate:l}=e,u=isControllingVariants(e),c=isVariantNode(e);t&&c&&!u&&!1!==e.inherit&&(void 0===o&&(o=t.initial),void 0===l&&(l=t.animate));let h=!!i&&!1===i.initial;h=h||!1===o;let d=h?l:o;if(d&&"boolean"!=typeof d&&!isAnimationControls(d)){let t=Array.isArray(d)?d:[d];for(let i=0;i/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e),isZeroValueString=e=>/^0[^.\s]+$/u.test(e),testValueType=e=>t=>t.test(e),tV=[w,L,B,R,I,N,{test:e=>"auto"===e,parse:e=>e}],findDimensionValueType=e=>tV.find(testValueType(e)),tT=[...tV,O,G],findValueType=e=>tT.find(testValueType(e)),tw=new Set(["brightness","contrast","saturate","opacity"]);function applyDefaultFilter(e){let[t,i]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;let[s]=i.match(k)||[];if(!s)return e;let a=i.replace(s,""),n=tw.has(t)?1:0;return s!==i&&(n*=100),t+"("+n+a+")"}let tS=/\b([a-z-]*)\(.*?\)/gu,tP={...G,getAnimatableNone:e=>{let t=e.match(tS);return t?t.map(applyDefaultFilter).join(" "):e}},tk={...tc,color:O,backgroundColor:O,outlineColor:O,fill:O,stroke:O,borderColor:O,borderTopColor:O,borderRightColor:O,borderBottomColor:O,borderLeftColor:O,filter:tP,WebkitFilter:tP},getDefaultValueType=e=>tk[e];function animatable_none_getAnimatableNone(e,t){let i=getDefaultValueType(e);return i!==tP&&(i=G),i.getAnimatableNone?i.getAnimatableNone(t):void 0}let tC=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];let VisualElement=class VisualElement{scrapeMotionValuesFromProps(e,t,i){return{}}constructor({parent:e,props:t,presenceContext:i,reducedMotionConfig:s,blockInitialAnimation:a,visualState:n},o={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=KeyframeResolver,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{let e=d.now();this.renderScheduledAtthis.bindToMotionValue(t,e)),tx.current||function(){if(tx.current=!0,ts){if(window.matchMedia){let e=window.matchMedia("(prefers-reduced-motion)"),setReducedMotionPreferences=()=>tv.current=e.matches;e.addListener(setReducedMotionPreferences),setReducedMotionPreferences()}else tv.current=!1}}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||tv.current),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){for(let e in this.projection&&this.projection.unmount(),u(this.notifyUpdate),u(this.render),this.valueSubscriptions.forEach(e=>e()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this),this.events)this.events[e].clear();for(let e in this.features){let t=this.features[e];t&&(t.unmount(),t.isMounted=!1)}this.current=null}bindToMotionValue(e,t){let i;this.valueSubscriptions.has(e)&&this.valueSubscriptions.get(e)();let s=g.has(e);s&&this.onBindTransform&&this.onBindTransform();let a=t.on("change",t=>{this.latestValues[e]=t,this.props.onUpdate&&l.preRender(this.notifyUpdate),s&&this.projection&&(this.projection.isTransformDirty=!0)}),n=t.on("renderRequest",this.scheduleRender);window.MotionCheckAppearSync&&(i=window.MotionCheckAppearSync(this,e,t)),this.valueSubscriptions.set(e,()=>{a(),n(),i&&i(),t.owner&&t.stop()})}sortNodePosition(e){return this.current&&this.sortInstanceNodePosition&&this.type===e.type?this.sortInstanceNodePosition(this.current,e.current):0}updateFeatures(){let e="animation";for(e in tn){let t=tn[e];if(!t)continue;let{isEnabled:i,Feature:s}=t;if(!this.features[e]&&s&&i(this.props)&&(this.features[e]=new s(this)),this.features[e]){let t=this.features[e];t.isMounted?t.update():(t.mount(),t.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):createBox()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,t){this.latestValues[e]=t}update(e,t){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=t;for(let t=0;tt.variantChildren.delete(e)}addValue(e,t){let i=this.values.get(e);t!==i&&(i&&this.removeValue(e),this.bindToMotionValue(e,t),this.values.set(e,t),this.latestValues[e]=t.get())}removeValue(e){this.values.delete(e);let t=this.valueSubscriptions.get(e);t&&(t(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,t){if(this.props.values&&this.props.values[e])return this.props.values[e];let i=this.values.get(e);return void 0===i&&void 0!==t&&(i=motionValue(null===t?void 0:t,{owner:this}),this.addValue(e,i)),i}readValue(e,t){let i=void 0===this.latestValues[e]&&this.current?this.getBaseTargetFromProps(this.props,e)??this.readValueFromInstance(this.current,e,this.options):this.latestValues[e];return null!=i&&("string"==typeof i&&(isNumericalString(i)||isZeroValueString(i))?i=parseFloat(i):!findValueType(i)&&G.test(t)&&(i=animatable_none_getAnimatableNone(e,t)),this.setBaseTarget(e,isMotionValue(i)?i.get():i)),isMotionValue(i)?i.get():i}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){let t;let{initial:i}=this.props;if("string"==typeof i||"object"==typeof i){let s=resolveVariantFromProps(this.props,i,this.presenceContext?.custom);s&&(t=s[e])}if(i&&void 0!==t)return t;let s=this.getBaseTargetFromProps(this.props,e);return void 0===s||isMotionValue(s)?void 0!==this.initialValues[e]&&void 0===t?void 0:this.baseTarget[e]:s}on(e,t){return this.events[e]||(this.events[e]=new SubscriptionManager),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}};let tM=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u,tE=new Set(["auto","none","0"]);let DOMKeyframesResolver=class DOMKeyframesResolver extends KeyframeResolver{constructor(e,t,i,s,a){super(e,t,i,s,a,!0)}readKeyframes(){let{unresolvedKeyframes:e,element:t,name:i}=this;if(!t||!t.current)return;super.readKeyframes();for(let i=0;i{e.getValue(t).set(i)}),this.resolveNoneKeyframes()}};let DOMVisualElement=class DOMVisualElement extends VisualElement{constructor(){super(...arguments),this.KeyframeResolver=DOMKeyframesResolver}sortInstanceNodePosition(e,t){return 2&e.compareDocumentPosition(t)?1:-1}getBaseTargetFromProps(e,t){return e.style?e.style[t]:void 0}removeValueFromRenderState(e,{vars:t,style:i}){delete t[e],delete i[e]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:e}=this.props;isMotionValue(e)&&(this.childSubscription=e.on("change",e=>{this.current&&(this.current.textContent=`${e}`)}))}};function renderHTML(e,{style:t,vars:i},s,a){for(let n in Object.assign(e.style,t,a&&a.getProjectionStyles(s)),i)e.style.setProperty(n,i[n])}let HTMLVisualElement=class HTMLVisualElement extends DOMVisualElement{constructor(){super(...arguments),this.type="html",this.renderInstance=renderHTML}readValueFromInstance(e,t){if(g.has(t))return this.projection?.isProjecting?defaultTransformValue(t):readTransformValue(e,t);{let i=window.getComputedStyle(e),s=(A(t)?i.getPropertyValue(t):i[t])||0;return"string"==typeof s?s.trim():s}}measureInstanceViewportBox(e,{transformPagePoint:t}){return measureViewportBox(e,t)}build(e,t,i){buildHTMLStyles(e,t,i.transformTemplate)}scrapeMotionValuesFromProps(e,t,i){return scrapeMotionValuesFromProps(e,t,i)}};let tD=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"]);let SVGVisualElement=class SVGVisualElement extends DOMVisualElement{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=createBox}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(g.has(t)){let e=getDefaultValueType(t);return e&&e.default||0}return t=tD.has(t)?t:camelToDash(t),e.getAttribute(t)}scrapeMotionValuesFromProps(e,t,i){return scrape_motion_values_scrapeMotionValuesFromProps(e,t,i)}build(e,t,i){buildSVGAttrs(e,t,this.isSVGTag,i.transformTemplate,i.style)}renderInstance(e,t,i,s){!function(e,t,i,s){for(let i in renderHTML(e,t,void 0,s),t.attrs)e.setAttribute(tD.has(i)?i:camelToDash(i),t.attrs[i])}(e,t,0,s)}mount(e){this.isSVGTag=isSVGTag(e.tagName),super.mount(e)}};let tR=(eR={animation:{Feature:class extends Feature{constructor(e){super(e),e.animationState||(e.animationState=function(e){let animate=t=>Promise.all(t.map(({animation:t,options:i})=>(function(e,t,i={}){let s;if(e.notify("AnimationStart",t),Array.isArray(t)){let a=t.map(t=>animateVariant(e,t,i));s=Promise.all(a)}else if("string"==typeof t)s=animateVariant(e,t,i);else{let a="function"==typeof t?resolveVariant(e,t,i.custom):t;s=Promise.all(animateTarget(e,a,i))}return s.then(()=>{e.notify("AnimationComplete",t)})})(e,t,i))),t=createState(),i=!0,buildResolvedTypeValues=t=>(i,s)=>{let a=resolveVariant(e,s,"exit"===t?e.presenceContext?.custom:void 0);if(a){let{transition:e,transitionEnd:t,...s}=a;i={...i,...s,...t}}return i};function animateChanges(s){let{props:a}=e,n=function getVariantContext(e){if(!e)return;if(!e.isControllingVariants){let t=e.parent&&getVariantContext(e.parent)||{};return void 0!==e.props.initial&&(t.initial=e.props.initial),t}let t={};for(let i=0;ic&&g,A=!1,V=Array.isArray(f)?f:[f],T=V.reduce(buildResolvedTypeValues(m),{});!1===y&&(T={});let{prevResolvedValues:w={}}=p,S={...w,...T},markToAnimate=t=>{x=!0,l.has(t)&&(A=!0,l.delete(t)),p.needsAnimating[t]=!0;let i=e.getValue(t);i&&(i.liveStyle=!1)};for(let e in S){let t=T[e],i=w[e];if(!u.hasOwnProperty(e))(isKeyframesTarget(t)&&isKeyframesTarget(i)?shallowCompare(t,i):t===i)?void 0!==t&&l.has(e)?markToAnimate(e):p.protectedKeys[e]=!0:null!=t?markToAnimate(e):l.add(e)}p.prevProp=f,p.prevResolvedValues=T,p.isActive&&(u={...u,...T}),i&&e.blockInitialAnimation&&(x=!1);let P=b&&v,k=!P||A;x&&k&&o.push(...V.map(e=>({animation:e,options:{type:m}})))}if(l.size){let t={};if("boolean"!=typeof a.initial){let i=resolveVariant(e,Array.isArray(a.initial)?a.initial[0]:a.initial);i&&i.transition&&(t.transition=i.transition)}l.forEach(i=>{let s=e.getBaseTarget(i),a=e.getValue(i);a&&(a.liveStyle=!0),t[i]=s??null}),o.push({animation:t})}let d=!!o.length;return i&&(!1===a.initial||a.initial===a.animate)&&!e.manuallyAnimateOnMount&&(d=!1),i=!1,d?animate(o):Promise.resolve()}return{animateChanges,setActive:function(i,s){if(t[i].isActive===s)return Promise.resolve();e.variantChildren?.forEach(e=>e.animationState?.setActive(i,s)),t[i].isActive=s;let a=animateChanges(i);for(let e in t)t[e].protectedKeys={};return a},setAnimateFunction:function(t){animate=t(e)},getState:()=>t,reset:()=>{t=createState(),i=!0}}}(e))}updateAnimationControlsSubscription(){let{animate:e}=this.node.getProps();isAnimationControls(e)&&(this.unmountControls=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:e}=this.node.getProps(),{animate:t}=this.node.prevProps||{};e!==t&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}},exit:{Feature:class extends Feature{constructor(){super(...arguments),this.id=eC++}update(){if(!this.node.presenceContext)return;let{isPresent:e,onExitComplete:t}=this.node.presenceContext,{isPresent:i}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===i)return;let s=this.node.animationState.setActive("exit",!e);t&&!e&&s.then(()=>{t(this.id)})}mount(){let{register:e,onExitComplete:t}=this.node.presenceContext||{};t&&t(this.id),e&&(this.unmount=e(this.id))}unmount(){}}},inView:{Feature:class extends Feature{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();let{viewport:e={}}=this.node.getProps(),{root:t,margin:i,amount:s="some",once:a}=e,n={root:t?t.current:void 0,rootMargin:i,threshold:"number"==typeof s?s:te[s]};return function(e,t,i){let s=function({root:e,...t}){let i=e||document;e8.has(i)||e8.set(i,{});let s=e8.get(i),a=JSON.stringify(t);return s[a]||(s[a]=new IntersectionObserver(fireAllObserverCallbacks,{root:e,...t})),s[a]}(t);return e7.set(e,i),s.observe(e),()=>{e7.delete(e),s.unobserve(e)}}(this.node.current,n,e=>{let{isIntersecting:t}=e;if(this.isInView===t||(this.isInView=t,a&&!t&&this.hasEnteredView))return;t&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",t);let{onViewportEnter:i,onViewportLeave:s}=this.node.getProps(),n=t?i:s;n&&n(e)})}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;let{props:e,prevProps:t}=this.node,i=["amount","margin","root"].some(function({viewport:e={}},{viewport:t={}}={}){return i=>e[i]!==t[i]}(e,t));i&&this.startObserver()}unmount(){}}},tap:{Feature:class extends Feature{mount(){let{current:e}=this.node;e&&(this.unmount=function(e,t,i={}){let[s,a,n]=setupGesture(e,i),startPress=e=>{let s=e.currentTarget;if(!isValidPressEvent(e))return;e4.add(s);let n=t(s,e),onPointerEnd=(e,t)=>{window.removeEventListener("pointerup",onPointerUp),window.removeEventListener("pointercancel",onPointerCancel),e4.has(s)&&e4.delete(s),isValidPressEvent(e)&&"function"==typeof n&&n(e,{success:t})},onPointerUp=e=>{onPointerEnd(e,s===window||s===document||i.useGlobalTarget||isNodeOrChild(s,e.target))},onPointerCancel=e=>{onPointerEnd(e,!1)};window.addEventListener("pointerup",onPointerUp,a),window.addEventListener("pointercancel",onPointerCancel,a)};return s.forEach(e=>{let t=i.useGlobalTarget?window:e;t.addEventListener("pointerdown",startPress,a),isHTMLElement(e)&&(e.addEventListener("focus",e=>enableKeyboardPress(e,a)),e6.has(e.tagName)||-1!==e.tabIndex||e.hasAttribute("tabindex")||(e.tabIndex=0))}),n}(e,(e,t)=>(handlePressEvent(this.node,t,"Start"),(e,{success:t})=>handlePressEvent(this.node,e,t?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}},focus:{Feature:class extends Feature{constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.node.current.matches(":focus-visible")}catch(t){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=pipe(addDomEvent(this.node.current,"focus",()=>this.onFocus()),addDomEvent(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}},hover:{Feature:class extends Feature{mount(){let{current:e}=this.node;e&&(this.unmount=function(e,t,i={}){let[s,a,n]=setupGesture(e,i),onPointerEnter=e=>{if(!isValidHover(e))return;let{target:i}=e,s=t(i,e);if("function"!=typeof s||!i)return;let onPointerLeave=e=>{isValidHover(e)&&(s(e),i.removeEventListener("pointerleave",onPointerLeave))};i.addEventListener("pointerleave",onPointerLeave,a)};return s.forEach(e=>{e.addEventListener("pointerenter",onPointerEnter,a)}),n}(e,(e,t)=>(handleHoverEvent(this.node,t,"Start"),e=>handleHoverEvent(this.node,e,"End"))))}unmount(){}}},pan:{Feature:class extends Feature{constructor(){super(...arguments),this.removePointerDownListener=noop}onPointerDown(e){this.session=new PanSession(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:getContextWindow(this.node)})}createPanHandlers(){let{onPanSessionStart:e,onPanStart:t,onPan:i,onPanEnd:s}=this.node.getProps();return{onSessionStart:asyncHandler(e),onStart:asyncHandler(t),onMove:i,onEnd:(e,t)=>{delete this.session,s&&l.postRender(()=>s(e,t))}}}mount(){this.removePointerDownListener=addPointerEvent(this.node.current,"pointerdown",e=>this.onPointerDown(e))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}},drag:{Feature:class extends Feature{constructor(e){super(e),this.removeGroupControls=noop,this.removeListeners=noop,this.controls=new VisualElementDragControls(e)}mount(){let{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||noop}unmount(){this.removeGroupControls(),this.removeListeners()}},ProjectionNode:e9,MeasureLayout:MeasureLayout},layout:{ProjectionNode:e9,MeasureLayout:MeasureLayout}},eB=(e,t)=>isSVGComponent(e)?new SVGVisualElement(t):new HTMLVisualElement(t,{allowProjection:e!==eN.Fragment}),function(e,{forwardMotionProps:t}={forwardMotionProps:!1}){let i=isSVGComponent(e)?tb:ty,s={...i,preloadedFeatures:eR,useRender:function(e=!1){return(t,i,s,{latestValues:a},n)=>{let o=isSVGComponent(t)?useSVGProps:useHTMLProps,l=o(i,a,n,t),u=function(e,t,i){let s={};for(let a in e)("values"!==a||"object"!=typeof e.values)&&(shouldForward(a)||!0===i&&isValidMotionProp(a)||!t&&!isValidMotionProp(a)||e.draggable&&a.startsWith("onDrag"))&&(s[a]=e[a]);return s}(i,"string"==typeof t,e),c=t!==eN.Fragment?{...u,...l,ref:s}:{},{children:h}=i,d=(0,eN.useMemo)(()=>isMotionValue(h)?h.get():h,[h]);return(0,eN.createElement)(t,{...c,children:d})}}(t),createVisualElement:eB,Component:e};return function({preloadedFeatures:e,createVisualElement:t,useRender:i,useVisualState:s,Component:a}){function MotionComponent(e,n){var o;let l;let u={...(0,eN.useContext)(ti),...e,layoutId:function({layoutId:e}){let t=(0,eN.useContext)(ej).id;return t&&void 0!==e?t+"-"+e:e}(e)},{isStatic:c}=u,h=function(e){let{initial:t,animate:i}=function(e,t){if(isControllingVariants(e)){let{initial:t,animate:i}=e;return{initial:!1===t||isVariantLabel(t)?t:void 0,animate:isVariantLabel(i)?i:void 0}}return!1!==e.inherit?t:{}}(e,(0,eN.useContext)(tr));return(0,eN.useMemo)(()=>({initial:t,animate:i}),[variantLabelsAsDependency(t),variantLabelsAsDependency(i)])}(e),d=s(e,c);if(!c&&ts){(0,eN.useContext)(tt).strict;let e=function(e){let{drag:t,layout:i}=tn;if(!t&&!i)return{};let s={...t,...i};return{MeasureLayout:t?.isEnabled(e)||i?.isEnabled(e)?s.MeasureLayout:void 0,ProjectionNode:s.ProjectionNode}}(u);l=e.MeasureLayout,h.visualElement=function(e,t,i,s,a){let{visualElement:n}=(0,eN.useContext)(tr),o=(0,eN.useContext)(tt),l=(0,eN.useContext)(eI),u=(0,eN.useContext)(ti).reducedMotion,c=(0,eN.useRef)(null);s=s||o.renderer,!c.current&&s&&(c.current=s(e,{visualState:t,parent:n,props:i,presenceContext:l,blockInitialAnimation:!!l&&!1===l.initial,reducedMotionConfig:u}));let h=c.current,d=(0,eN.useContext)(eF);h&&!h.projection&&a&&("html"===h.type||"svg"===h.type)&&function(e,t,i,s){let{layoutId:a,layout:n,drag:o,dragConstraints:l,layoutScroll:u,layoutRoot:c,layoutCrossfade:h}=t;e.projection=new i(e.latestValues,t["data-framer-portal-id"]?void 0:function getClosestProjectingNode(e){if(e)return!1!==e.options.allowProjection?e.projection:getClosestProjectingNode(e.parent)}(e.parent)),e.projection.setOptions({layoutId:a,layout:n,alwaysMeasureLayout:!!o||l&&isRefObject(l),visualElement:e,animationType:"string"==typeof n?n:"both",initialPromotionConfig:s,crossfade:h,layoutScroll:u,layoutRoot:c})}(c.current,i,a,d);let m=(0,eN.useRef)(!1);(0,eN.useInsertionEffect)(()=>{h&&m.current&&h.update(i,l)});let f=i[p],g=(0,eN.useRef)(!!f&&!window.MotionHandoffIsComplete?.(f)&&window.MotionHasOptimisedAnimation?.(f));return tl(()=>{h&&(m.current=!0,window.MotionIsMounted=!0,h.updateFeatures(),eW.render(h.render),g.current&&h.animationState&&h.animationState.animateChanges())}),(0,eN.useEffect)(()=>{h&&(!g.current&&h.animationState&&h.animationState.animateChanges(),g.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(f)}),g.current=!1))}),h}(a,d,u,t,e.ProjectionNode)}return(0,eL.jsxs)(tr.Provider,{value:h,children:[l&&h.visualElement?(0,eL.jsx)(l,{visualElement:h.visualElement,...u}):null,i(a,e,(o=h.visualElement,(0,eN.useCallback)(e=>{e&&d.onMount&&d.onMount(e),o&&(e?o.mount(e):o.unmount()),n&&("function"==typeof n?n(e):isRefObject(n)&&(n.current=e))},[o])),d,c,h.visualElement)]})}e&&function(e){for(let t in e)tn[t]={...tn[t],...e[t]}}(e),MotionComponent.displayName=`motion.${"string"==typeof a?a:`create(${a.displayName??a.name??""})`}`;let n=(0,eN.forwardRef)(MotionComponent);return n[to]=a,n}(s)}),tB=function(e){if("undefined"==typeof Proxy)return e;let t=new Map;return new Proxy((...t)=>e(...t),{get:(i,s)=>"create"===s?e:(t.has(s)||t.set(s,e(s)),t.get(s))})}(tR)},3118:function(e,t,i){"use strict";i.d(t,{w_:function(){return GenIcon}});var s=i(2265),a={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},n=s.createContext&&s.createContext(a),o=["attr","size","title"];function _extends(){return(_extends=Object.assign?Object.assign.bind():function(e){for(var t=1;ts.createElement(IconBase,_extends({attr:_objectSpread({},e.attr)},t),function Tree2Element(e){return e&&e.map((e,t)=>s.createElement(e.tag,_objectSpread({key:t},e.attr),Tree2Element(e.child)))}(e.child))}function IconBase(e){var elem=t=>{var i,{attr:a,size:n,title:l}=e,u=function(e,t){if(null==e)return{};var i,s,a=function(e,t){if(null==e)return{};var i={};for(var s in e)if(Object.prototype.hasOwnProperty.call(e,s)){if(t.indexOf(s)>=0)continue;i[s]=e[s]}return i}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(s=0;s=0)&&Object.prototype.propertyIsEnumerable.call(e,i)&&(a[i]=e[i])}return a}(e,o),c=n||t.size||"1em";return t.className&&(i=t.className),e.className&&(i=(i?i+" ":"")+e.className),s.createElement("svg",_extends({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},t.attr,a,u,{className:i,style:_objectSpread(_objectSpread({color:e.color||t.color},t.style),e.style),height:c,width:c,xmlns:"http://www.w3.org/2000/svg"}),l&&s.createElement("title",null,l),e.children)};return void 0!==n?s.createElement(n.Consumer,null,e=>elem(e)):elem(a)}},4769:function(e,t,i){"use strict";i.d(t,{m6:function(){return p}});let createClassGroupUtils=e=>{let t=createClassMap(e),{conflictingClassGroups:i,conflictingClassGroupModifiers:s}=e;return{getClassGroupId:e=>{let i=e.split("-");return""===i[0]&&1!==i.length&&i.shift(),getGroupRecursive(i,t)||getGroupIdForArbitraryProperty(e)},getConflictingClassGroupIds:(e,t)=>{let a=i[e]||[];return t&&s[e]?[...a,...s[e]]:a}}},getGroupRecursive=(e,t)=>{if(0===e.length)return t.classGroupId;let i=e[0],s=t.nextPart.get(i),a=s?getGroupRecursive(e.slice(1),s):void 0;if(a)return a;if(0===t.validators.length)return;let n=e.join("-");return t.validators.find(({validator:e})=>e(n))?.classGroupId},s=/^\[(.+)\]$/,getGroupIdForArbitraryProperty=e=>{if(s.test(e)){let t=s.exec(e)[1],i=t?.substring(0,t.indexOf(":"));if(i)return"arbitrary.."+i}},createClassMap=e=>{let{theme:t,classGroups:i}=e,s={nextPart:new Map,validators:[]};for(let e in i)processClassesRecursively(i[e],s,e,t);return s},processClassesRecursively=(e,t,i,s)=>{e.forEach(e=>{if("string"==typeof e){let s=""===e?t:getPart(t,e);s.classGroupId=i;return}if("function"==typeof e){if(isThemeGetter(e)){processClassesRecursively(e(s),t,i,s);return}t.validators.push({validator:e,classGroupId:i});return}Object.entries(e).forEach(([e,a])=>{processClassesRecursively(a,getPart(t,e),i,s)})})},getPart=(e,t)=>{let i=e;return t.split("-").forEach(e=>{i.nextPart.has(e)||i.nextPart.set(e,{nextPart:new Map,validators:[]}),i=i.nextPart.get(e)}),i},isThemeGetter=e=>e.isThemeGetter,createLruCache=e=>{if(e<1)return{get:()=>void 0,set:()=>{}};let t=0,i=new Map,s=new Map,update=(a,n)=>{i.set(a,n),++t>e&&(t=0,s=i,i=new Map)};return{get(e){let t=i.get(e);return void 0!==t?t:void 0!==(t=s.get(e))?(update(e,t),t):void 0},set(e,t){i.has(e)?i.set(e,t):update(e,t)}}},createParseClassName=e=>{let{prefix:t,experimentalParseClassName:i}=e,parseClassName=e=>{let t;let i=[],s=0,a=0,n=0;for(let o=0;on?t-n:void 0;return{modifiers:i,hasImportantModifier:u,baseClassName:l,maybePostfixModifierPosition:c}};if(t){let e=t+":",i=parseClassName;parseClassName=t=>t.startsWith(e)?i(t.substring(e.length)):{isExternal:!0,modifiers:[],hasImportantModifier:!1,baseClassName:t,maybePostfixModifierPosition:void 0}}if(i){let e=parseClassName;parseClassName=t=>i({className:t,parseClassName:e})}return parseClassName},stripImportantModifier=e=>e.endsWith("!")?e.substring(0,e.length-1):e.startsWith("!")?e.substring(1):e,createSortModifiers=e=>{let t=Object.fromEntries(e.orderSensitiveModifiers.map(e=>[e,!0]));return e=>{if(e.length<=1)return e;let i=[],s=[];return e.forEach(e=>{let a="["===e[0]||t[e];a?(i.push(...s.sort(),e),s=[]):s.push(e)}),i.push(...s.sort()),i}},createConfigUtils=e=>({cache:createLruCache(e.cacheSize),parseClassName:createParseClassName(e),sortModifiers:createSortModifiers(e),...createClassGroupUtils(e)}),a=/\s+/,mergeClassList=(e,t)=>{let{parseClassName:i,getClassGroupId:s,getConflictingClassGroupIds:n,sortModifiers:o}=t,l=[],u=e.trim().split(a),c="";for(let e=u.length-1;e>=0;e-=1){let t=u[e],{isExternal:a,modifiers:h,hasImportantModifier:d,baseClassName:m,maybePostfixModifierPosition:p}=i(t);if(a){c=t+(c.length>0?" "+c:c);continue}let f=!!p,g=s(f?m.substring(0,p):m);if(!g){if(!f||!(g=s(m))){c=t+(c.length>0?" "+c:c);continue}f=!1}let y=o(h).join(":"),b=d?y+"!":y,v=b+g;if(l.includes(v))continue;l.push(v);let x=n(g,f);for(let e=0;e0?" "+c:c)}return c};function twJoin(){let e,t,i=0,s="";for(;i{let t;if("string"==typeof e)return e;let i="";for(let s=0;s{let themeGetter=t=>t[e]||[];return themeGetter.isThemeGetter=!0,themeGetter},n=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,o=/^\((?:(\w[\w-]*):)?(.+)\)$/i,l=/^\d+\/\d+$/,u=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,c=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,h=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,d=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,m=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,isFraction=e=>l.test(e),isNumber=e=>!!e&&!Number.isNaN(Number(e)),isInteger=e=>!!e&&Number.isInteger(Number(e)),isPercent=e=>e.endsWith("%")&&isNumber(e.slice(0,-1)),isTshirtSize=e=>u.test(e),isAny=()=>!0,isLengthOnly=e=>c.test(e)&&!h.test(e),isNever=()=>!1,isShadow=e=>d.test(e),isImage=e=>m.test(e),isAnyNonArbitrary=e=>!isArbitraryValue(e)&&!isArbitraryVariable(e),isArbitrarySize=e=>getIsArbitraryValue(e,isLabelSize,isNever),isArbitraryValue=e=>n.test(e),isArbitraryLength=e=>getIsArbitraryValue(e,isLabelLength,isLengthOnly),isArbitraryNumber=e=>getIsArbitraryValue(e,isLabelNumber,isNumber),isArbitraryPosition=e=>getIsArbitraryValue(e,isLabelPosition,isNever),isArbitraryImage=e=>getIsArbitraryValue(e,isLabelImage,isImage),isArbitraryShadow=e=>getIsArbitraryValue(e,isLabelShadow,isShadow),isArbitraryVariable=e=>o.test(e),isArbitraryVariableLength=e=>getIsArbitraryVariable(e,isLabelLength),isArbitraryVariableFamilyName=e=>getIsArbitraryVariable(e,isLabelFamilyName),isArbitraryVariablePosition=e=>getIsArbitraryVariable(e,isLabelPosition),isArbitraryVariableSize=e=>getIsArbitraryVariable(e,isLabelSize),isArbitraryVariableImage=e=>getIsArbitraryVariable(e,isLabelImage),isArbitraryVariableShadow=e=>getIsArbitraryVariable(e,isLabelShadow,!0),getIsArbitraryValue=(e,t,i)=>{let s=n.exec(e);return!!s&&(s[1]?t(s[1]):i(s[2]))},getIsArbitraryVariable=(e,t,i=!1)=>{let s=o.exec(e);return!!s&&(s[1]?t(s[1]):i)},isLabelPosition=e=>"position"===e||"percentage"===e,isLabelImage=e=>"image"===e||"url"===e,isLabelSize=e=>"length"===e||"size"===e||"bg-size"===e,isLabelLength=e=>"length"===e,isLabelNumber=e=>"number"===e,isLabelFamilyName=e=>"family-name"===e,isLabelShadow=e=>"shadow"===e,p=function(e){let t,i,s;let functionToCall=function(a){let n=[].reduce((e,t)=>t(e),e());return i=(t=createConfigUtils(n)).cache.get,s=t.cache.set,functionToCall=tailwindMerge,tailwindMerge(a)};function tailwindMerge(e){let a=i(e);if(a)return a;let n=mergeClassList(e,t);return s(e,n),n}return function(){return functionToCall(twJoin.apply(null,arguments))}}(()=>{let e=fromTheme("color"),t=fromTheme("font"),i=fromTheme("text"),s=fromTheme("font-weight"),a=fromTheme("tracking"),n=fromTheme("leading"),o=fromTheme("breakpoint"),l=fromTheme("container"),u=fromTheme("spacing"),c=fromTheme("radius"),h=fromTheme("shadow"),d=fromTheme("inset-shadow"),m=fromTheme("text-shadow"),p=fromTheme("drop-shadow"),f=fromTheme("blur"),g=fromTheme("perspective"),y=fromTheme("aspect"),b=fromTheme("ease"),v=fromTheme("animate"),scaleBreak=()=>["auto","avoid","all","avoid-page","page","left","right","column"],scalePosition=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],scalePositionWithArbitrary=()=>[...scalePosition(),isArbitraryVariable,isArbitraryValue],scaleOverflow=()=>["auto","hidden","clip","visible","scroll"],scaleOverscroll=()=>["auto","contain","none"],scaleUnambiguousSpacing=()=>[isArbitraryVariable,isArbitraryValue,u],scaleInset=()=>[isFraction,"full","auto",...scaleUnambiguousSpacing()],scaleGridTemplateColsRows=()=>[isInteger,"none","subgrid",isArbitraryVariable,isArbitraryValue],scaleGridColRowStartAndEnd=()=>["auto",{span:["full",isInteger,isArbitraryVariable,isArbitraryValue]},isInteger,isArbitraryVariable,isArbitraryValue],scaleGridColRowStartOrEnd=()=>[isInteger,"auto",isArbitraryVariable,isArbitraryValue],scaleGridAutoColsRows=()=>["auto","min","max","fr",isArbitraryVariable,isArbitraryValue],scaleAlignPrimaryAxis=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],scaleAlignSecondaryAxis=()=>["start","end","center","stretch","center-safe","end-safe"],scaleMargin=()=>["auto",...scaleUnambiguousSpacing()],scaleSizing=()=>[isFraction,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...scaleUnambiguousSpacing()],scaleColor=()=>[e,isArbitraryVariable,isArbitraryValue],scaleBgPosition=()=>[...scalePosition(),isArbitraryVariablePosition,isArbitraryPosition,{position:[isArbitraryVariable,isArbitraryValue]}],scaleBgRepeat=()=>["no-repeat",{repeat:["","x","y","space","round"]}],scaleBgSize=()=>["auto","cover","contain",isArbitraryVariableSize,isArbitrarySize,{size:[isArbitraryVariable,isArbitraryValue]}],scaleGradientStopPosition=()=>[isPercent,isArbitraryVariableLength,isArbitraryLength],scaleRadius=()=>["","none","full",c,isArbitraryVariable,isArbitraryValue],scaleBorderWidth=()=>["",isNumber,isArbitraryVariableLength,isArbitraryLength],scaleLineStyle=()=>["solid","dashed","dotted","double"],scaleBlendMode=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],scaleMaskImagePosition=()=>[isNumber,isPercent,isArbitraryVariablePosition,isArbitraryPosition],scaleBlur=()=>["","none",f,isArbitraryVariable,isArbitraryValue],scaleRotate=()=>["none",isNumber,isArbitraryVariable,isArbitraryValue],scaleScale=()=>["none",isNumber,isArbitraryVariable,isArbitraryValue],scaleSkew=()=>[isNumber,isArbitraryVariable,isArbitraryValue],scaleTranslate=()=>[isFraction,"full",...scaleUnambiguousSpacing()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[isTshirtSize],breakpoint:[isTshirtSize],color:[isAny],container:[isTshirtSize],"drop-shadow":[isTshirtSize],ease:["in","out","in-out"],font:[isAnyNonArbitrary],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[isTshirtSize],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[isTshirtSize],shadow:[isTshirtSize],spacing:["px",isNumber],text:[isTshirtSize],"text-shadow":[isTshirtSize],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",isFraction,isArbitraryValue,isArbitraryVariable,y]}],container:["container"],columns:[{columns:[isNumber,isArbitraryValue,isArbitraryVariable,l]}],"break-after":[{"break-after":scaleBreak()}],"break-before":[{"break-before":scaleBreak()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:scalePositionWithArbitrary()}],overflow:[{overflow:scaleOverflow()}],"overflow-x":[{"overflow-x":scaleOverflow()}],"overflow-y":[{"overflow-y":scaleOverflow()}],overscroll:[{overscroll:scaleOverscroll()}],"overscroll-x":[{"overscroll-x":scaleOverscroll()}],"overscroll-y":[{"overscroll-y":scaleOverscroll()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:scaleInset()}],"inset-x":[{"inset-x":scaleInset()}],"inset-y":[{"inset-y":scaleInset()}],start:[{start:scaleInset()}],end:[{end:scaleInset()}],top:[{top:scaleInset()}],right:[{right:scaleInset()}],bottom:[{bottom:scaleInset()}],left:[{left:scaleInset()}],visibility:["visible","invisible","collapse"],z:[{z:[isInteger,"auto",isArbitraryVariable,isArbitraryValue]}],basis:[{basis:[isFraction,"full","auto",l,...scaleUnambiguousSpacing()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[isNumber,isFraction,"auto","initial","none",isArbitraryValue]}],grow:[{grow:["",isNumber,isArbitraryVariable,isArbitraryValue]}],shrink:[{shrink:["",isNumber,isArbitraryVariable,isArbitraryValue]}],order:[{order:[isInteger,"first","last","none",isArbitraryVariable,isArbitraryValue]}],"grid-cols":[{"grid-cols":scaleGridTemplateColsRows()}],"col-start-end":[{col:scaleGridColRowStartAndEnd()}],"col-start":[{"col-start":scaleGridColRowStartOrEnd()}],"col-end":[{"col-end":scaleGridColRowStartOrEnd()}],"grid-rows":[{"grid-rows":scaleGridTemplateColsRows()}],"row-start-end":[{row:scaleGridColRowStartAndEnd()}],"row-start":[{"row-start":scaleGridColRowStartOrEnd()}],"row-end":[{"row-end":scaleGridColRowStartOrEnd()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":scaleGridAutoColsRows()}],"auto-rows":[{"auto-rows":scaleGridAutoColsRows()}],gap:[{gap:scaleUnambiguousSpacing()}],"gap-x":[{"gap-x":scaleUnambiguousSpacing()}],"gap-y":[{"gap-y":scaleUnambiguousSpacing()}],"justify-content":[{justify:[...scaleAlignPrimaryAxis(),"normal"]}],"justify-items":[{"justify-items":[...scaleAlignSecondaryAxis(),"normal"]}],"justify-self":[{"justify-self":["auto",...scaleAlignSecondaryAxis()]}],"align-content":[{content:["normal",...scaleAlignPrimaryAxis()]}],"align-items":[{items:[...scaleAlignSecondaryAxis(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...scaleAlignSecondaryAxis(),{baseline:["","last"]}]}],"place-content":[{"place-content":scaleAlignPrimaryAxis()}],"place-items":[{"place-items":[...scaleAlignSecondaryAxis(),"baseline"]}],"place-self":[{"place-self":["auto",...scaleAlignSecondaryAxis()]}],p:[{p:scaleUnambiguousSpacing()}],px:[{px:scaleUnambiguousSpacing()}],py:[{py:scaleUnambiguousSpacing()}],ps:[{ps:scaleUnambiguousSpacing()}],pe:[{pe:scaleUnambiguousSpacing()}],pt:[{pt:scaleUnambiguousSpacing()}],pr:[{pr:scaleUnambiguousSpacing()}],pb:[{pb:scaleUnambiguousSpacing()}],pl:[{pl:scaleUnambiguousSpacing()}],m:[{m:scaleMargin()}],mx:[{mx:scaleMargin()}],my:[{my:scaleMargin()}],ms:[{ms:scaleMargin()}],me:[{me:scaleMargin()}],mt:[{mt:scaleMargin()}],mr:[{mr:scaleMargin()}],mb:[{mb:scaleMargin()}],ml:[{ml:scaleMargin()}],"space-x":[{"space-x":scaleUnambiguousSpacing()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":scaleUnambiguousSpacing()}],"space-y-reverse":["space-y-reverse"],size:[{size:scaleSizing()}],w:[{w:[l,"screen",...scaleSizing()]}],"min-w":[{"min-w":[l,"screen","none",...scaleSizing()]}],"max-w":[{"max-w":[l,"screen","none","prose",{screen:[o]},...scaleSizing()]}],h:[{h:["screen",...scaleSizing()]}],"min-h":[{"min-h":["screen","none",...scaleSizing()]}],"max-h":[{"max-h":["screen",...scaleSizing()]}],"font-size":[{text:["base",i,isArbitraryVariableLength,isArbitraryLength]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[s,isArbitraryVariable,isArbitraryNumber]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",isPercent,isArbitraryValue]}],"font-family":[{font:[isArbitraryVariableFamilyName,isArbitraryValue,t]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[a,isArbitraryVariable,isArbitraryValue]}],"line-clamp":[{"line-clamp":[isNumber,"none",isArbitraryVariable,isArbitraryNumber]}],leading:[{leading:[n,...scaleUnambiguousSpacing()]}],"list-image":[{"list-image":["none",isArbitraryVariable,isArbitraryValue]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",isArbitraryVariable,isArbitraryValue]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:scaleColor()}],"text-color":[{text:scaleColor()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...scaleLineStyle(),"wavy"]}],"text-decoration-thickness":[{decoration:[isNumber,"from-font","auto",isArbitraryVariable,isArbitraryLength]}],"text-decoration-color":[{decoration:scaleColor()}],"underline-offset":[{"underline-offset":[isNumber,"auto",isArbitraryVariable,isArbitraryValue]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:scaleUnambiguousSpacing()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",isArbitraryVariable,isArbitraryValue]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",isArbitraryVariable,isArbitraryValue]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:scaleBgPosition()}],"bg-repeat":[{bg:scaleBgRepeat()}],"bg-size":[{bg:scaleBgSize()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},isInteger,isArbitraryVariable,isArbitraryValue],radial:["",isArbitraryVariable,isArbitraryValue],conic:[isInteger,isArbitraryVariable,isArbitraryValue]},isArbitraryVariableImage,isArbitraryImage]}],"bg-color":[{bg:scaleColor()}],"gradient-from-pos":[{from:scaleGradientStopPosition()}],"gradient-via-pos":[{via:scaleGradientStopPosition()}],"gradient-to-pos":[{to:scaleGradientStopPosition()}],"gradient-from":[{from:scaleColor()}],"gradient-via":[{via:scaleColor()}],"gradient-to":[{to:scaleColor()}],rounded:[{rounded:scaleRadius()}],"rounded-s":[{"rounded-s":scaleRadius()}],"rounded-e":[{"rounded-e":scaleRadius()}],"rounded-t":[{"rounded-t":scaleRadius()}],"rounded-r":[{"rounded-r":scaleRadius()}],"rounded-b":[{"rounded-b":scaleRadius()}],"rounded-l":[{"rounded-l":scaleRadius()}],"rounded-ss":[{"rounded-ss":scaleRadius()}],"rounded-se":[{"rounded-se":scaleRadius()}],"rounded-ee":[{"rounded-ee":scaleRadius()}],"rounded-es":[{"rounded-es":scaleRadius()}],"rounded-tl":[{"rounded-tl":scaleRadius()}],"rounded-tr":[{"rounded-tr":scaleRadius()}],"rounded-br":[{"rounded-br":scaleRadius()}],"rounded-bl":[{"rounded-bl":scaleRadius()}],"border-w":[{border:scaleBorderWidth()}],"border-w-x":[{"border-x":scaleBorderWidth()}],"border-w-y":[{"border-y":scaleBorderWidth()}],"border-w-s":[{"border-s":scaleBorderWidth()}],"border-w-e":[{"border-e":scaleBorderWidth()}],"border-w-t":[{"border-t":scaleBorderWidth()}],"border-w-r":[{"border-r":scaleBorderWidth()}],"border-w-b":[{"border-b":scaleBorderWidth()}],"border-w-l":[{"border-l":scaleBorderWidth()}],"divide-x":[{"divide-x":scaleBorderWidth()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":scaleBorderWidth()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...scaleLineStyle(),"hidden","none"]}],"divide-style":[{divide:[...scaleLineStyle(),"hidden","none"]}],"border-color":[{border:scaleColor()}],"border-color-x":[{"border-x":scaleColor()}],"border-color-y":[{"border-y":scaleColor()}],"border-color-s":[{"border-s":scaleColor()}],"border-color-e":[{"border-e":scaleColor()}],"border-color-t":[{"border-t":scaleColor()}],"border-color-r":[{"border-r":scaleColor()}],"border-color-b":[{"border-b":scaleColor()}],"border-color-l":[{"border-l":scaleColor()}],"divide-color":[{divide:scaleColor()}],"outline-style":[{outline:[...scaleLineStyle(),"none","hidden"]}],"outline-offset":[{"outline-offset":[isNumber,isArbitraryVariable,isArbitraryValue]}],"outline-w":[{outline:["",isNumber,isArbitraryVariableLength,isArbitraryLength]}],"outline-color":[{outline:scaleColor()}],shadow:[{shadow:["","none",h,isArbitraryVariableShadow,isArbitraryShadow]}],"shadow-color":[{shadow:scaleColor()}],"inset-shadow":[{"inset-shadow":["none",d,isArbitraryVariableShadow,isArbitraryShadow]}],"inset-shadow-color":[{"inset-shadow":scaleColor()}],"ring-w":[{ring:scaleBorderWidth()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:scaleColor()}],"ring-offset-w":[{"ring-offset":[isNumber,isArbitraryLength]}],"ring-offset-color":[{"ring-offset":scaleColor()}],"inset-ring-w":[{"inset-ring":scaleBorderWidth()}],"inset-ring-color":[{"inset-ring":scaleColor()}],"text-shadow":[{"text-shadow":["none",m,isArbitraryVariableShadow,isArbitraryShadow]}],"text-shadow-color":[{"text-shadow":scaleColor()}],opacity:[{opacity:[isNumber,isArbitraryVariable,isArbitraryValue]}],"mix-blend":[{"mix-blend":[...scaleBlendMode(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":scaleBlendMode()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[isNumber]}],"mask-image-linear-from-pos":[{"mask-linear-from":scaleMaskImagePosition()}],"mask-image-linear-to-pos":[{"mask-linear-to":scaleMaskImagePosition()}],"mask-image-linear-from-color":[{"mask-linear-from":scaleColor()}],"mask-image-linear-to-color":[{"mask-linear-to":scaleColor()}],"mask-image-t-from-pos":[{"mask-t-from":scaleMaskImagePosition()}],"mask-image-t-to-pos":[{"mask-t-to":scaleMaskImagePosition()}],"mask-image-t-from-color":[{"mask-t-from":scaleColor()}],"mask-image-t-to-color":[{"mask-t-to":scaleColor()}],"mask-image-r-from-pos":[{"mask-r-from":scaleMaskImagePosition()}],"mask-image-r-to-pos":[{"mask-r-to":scaleMaskImagePosition()}],"mask-image-r-from-color":[{"mask-r-from":scaleColor()}],"mask-image-r-to-color":[{"mask-r-to":scaleColor()}],"mask-image-b-from-pos":[{"mask-b-from":scaleMaskImagePosition()}],"mask-image-b-to-pos":[{"mask-b-to":scaleMaskImagePosition()}],"mask-image-b-from-color":[{"mask-b-from":scaleColor()}],"mask-image-b-to-color":[{"mask-b-to":scaleColor()}],"mask-image-l-from-pos":[{"mask-l-from":scaleMaskImagePosition()}],"mask-image-l-to-pos":[{"mask-l-to":scaleMaskImagePosition()}],"mask-image-l-from-color":[{"mask-l-from":scaleColor()}],"mask-image-l-to-color":[{"mask-l-to":scaleColor()}],"mask-image-x-from-pos":[{"mask-x-from":scaleMaskImagePosition()}],"mask-image-x-to-pos":[{"mask-x-to":scaleMaskImagePosition()}],"mask-image-x-from-color":[{"mask-x-from":scaleColor()}],"mask-image-x-to-color":[{"mask-x-to":scaleColor()}],"mask-image-y-from-pos":[{"mask-y-from":scaleMaskImagePosition()}],"mask-image-y-to-pos":[{"mask-y-to":scaleMaskImagePosition()}],"mask-image-y-from-color":[{"mask-y-from":scaleColor()}],"mask-image-y-to-color":[{"mask-y-to":scaleColor()}],"mask-image-radial":[{"mask-radial":[isArbitraryVariable,isArbitraryValue]}],"mask-image-radial-from-pos":[{"mask-radial-from":scaleMaskImagePosition()}],"mask-image-radial-to-pos":[{"mask-radial-to":scaleMaskImagePosition()}],"mask-image-radial-from-color":[{"mask-radial-from":scaleColor()}],"mask-image-radial-to-color":[{"mask-radial-to":scaleColor()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":scalePosition()}],"mask-image-conic-pos":[{"mask-conic":[isNumber]}],"mask-image-conic-from-pos":[{"mask-conic-from":scaleMaskImagePosition()}],"mask-image-conic-to-pos":[{"mask-conic-to":scaleMaskImagePosition()}],"mask-image-conic-from-color":[{"mask-conic-from":scaleColor()}],"mask-image-conic-to-color":[{"mask-conic-to":scaleColor()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:scaleBgPosition()}],"mask-repeat":[{mask:scaleBgRepeat()}],"mask-size":[{mask:scaleBgSize()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",isArbitraryVariable,isArbitraryValue]}],filter:[{filter:["","none",isArbitraryVariable,isArbitraryValue]}],blur:[{blur:scaleBlur()}],brightness:[{brightness:[isNumber,isArbitraryVariable,isArbitraryValue]}],contrast:[{contrast:[isNumber,isArbitraryVariable,isArbitraryValue]}],"drop-shadow":[{"drop-shadow":["","none",p,isArbitraryVariableShadow,isArbitraryShadow]}],"drop-shadow-color":[{"drop-shadow":scaleColor()}],grayscale:[{grayscale:["",isNumber,isArbitraryVariable,isArbitraryValue]}],"hue-rotate":[{"hue-rotate":[isNumber,isArbitraryVariable,isArbitraryValue]}],invert:[{invert:["",isNumber,isArbitraryVariable,isArbitraryValue]}],saturate:[{saturate:[isNumber,isArbitraryVariable,isArbitraryValue]}],sepia:[{sepia:["",isNumber,isArbitraryVariable,isArbitraryValue]}],"backdrop-filter":[{"backdrop-filter":["","none",isArbitraryVariable,isArbitraryValue]}],"backdrop-blur":[{"backdrop-blur":scaleBlur()}],"backdrop-brightness":[{"backdrop-brightness":[isNumber,isArbitraryVariable,isArbitraryValue]}],"backdrop-contrast":[{"backdrop-contrast":[isNumber,isArbitraryVariable,isArbitraryValue]}],"backdrop-grayscale":[{"backdrop-grayscale":["",isNumber,isArbitraryVariable,isArbitraryValue]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[isNumber,isArbitraryVariable,isArbitraryValue]}],"backdrop-invert":[{"backdrop-invert":["",isNumber,isArbitraryVariable,isArbitraryValue]}],"backdrop-opacity":[{"backdrop-opacity":[isNumber,isArbitraryVariable,isArbitraryValue]}],"backdrop-saturate":[{"backdrop-saturate":[isNumber,isArbitraryVariable,isArbitraryValue]}],"backdrop-sepia":[{"backdrop-sepia":["",isNumber,isArbitraryVariable,isArbitraryValue]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":scaleUnambiguousSpacing()}],"border-spacing-x":[{"border-spacing-x":scaleUnambiguousSpacing()}],"border-spacing-y":[{"border-spacing-y":scaleUnambiguousSpacing()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",isArbitraryVariable,isArbitraryValue]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[isNumber,"initial",isArbitraryVariable,isArbitraryValue]}],ease:[{ease:["linear","initial",b,isArbitraryVariable,isArbitraryValue]}],delay:[{delay:[isNumber,isArbitraryVariable,isArbitraryValue]}],animate:[{animate:["none",v,isArbitraryVariable,isArbitraryValue]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[g,isArbitraryVariable,isArbitraryValue]}],"perspective-origin":[{"perspective-origin":scalePositionWithArbitrary()}],rotate:[{rotate:scaleRotate()}],"rotate-x":[{"rotate-x":scaleRotate()}],"rotate-y":[{"rotate-y":scaleRotate()}],"rotate-z":[{"rotate-z":scaleRotate()}],scale:[{scale:scaleScale()}],"scale-x":[{"scale-x":scaleScale()}],"scale-y":[{"scale-y":scaleScale()}],"scale-z":[{"scale-z":scaleScale()}],"scale-3d":["scale-3d"],skew:[{skew:scaleSkew()}],"skew-x":[{"skew-x":scaleSkew()}],"skew-y":[{"skew-y":scaleSkew()}],transform:[{transform:[isArbitraryVariable,isArbitraryValue,"","none","gpu","cpu"]}],"transform-origin":[{origin:scalePositionWithArbitrary()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:scaleTranslate()}],"translate-x":[{"translate-x":scaleTranslate()}],"translate-y":[{"translate-y":scaleTranslate()}],"translate-z":[{"translate-z":scaleTranslate()}],"translate-none":["translate-none"],accent:[{accent:scaleColor()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:scaleColor()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",isArbitraryVariable,isArbitraryValue]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":scaleUnambiguousSpacing()}],"scroll-mx":[{"scroll-mx":scaleUnambiguousSpacing()}],"scroll-my":[{"scroll-my":scaleUnambiguousSpacing()}],"scroll-ms":[{"scroll-ms":scaleUnambiguousSpacing()}],"scroll-me":[{"scroll-me":scaleUnambiguousSpacing()}],"scroll-mt":[{"scroll-mt":scaleUnambiguousSpacing()}],"scroll-mr":[{"scroll-mr":scaleUnambiguousSpacing()}],"scroll-mb":[{"scroll-mb":scaleUnambiguousSpacing()}],"scroll-ml":[{"scroll-ml":scaleUnambiguousSpacing()}],"scroll-p":[{"scroll-p":scaleUnambiguousSpacing()}],"scroll-px":[{"scroll-px":scaleUnambiguousSpacing()}],"scroll-py":[{"scroll-py":scaleUnambiguousSpacing()}],"scroll-ps":[{"scroll-ps":scaleUnambiguousSpacing()}],"scroll-pe":[{"scroll-pe":scaleUnambiguousSpacing()}],"scroll-pt":[{"scroll-pt":scaleUnambiguousSpacing()}],"scroll-pr":[{"scroll-pr":scaleUnambiguousSpacing()}],"scroll-pb":[{"scroll-pb":scaleUnambiguousSpacing()}],"scroll-pl":[{"scroll-pl":scaleUnambiguousSpacing()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",isArbitraryVariable,isArbitraryValue]}],fill:[{fill:["none",...scaleColor()]}],"stroke-w":[{stroke:[isNumber,isArbitraryVariableLength,isArbitraryLength,isArbitraryNumber]}],stroke:[{stroke:["none",...scaleColor()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}})}}]);