1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,29859,t=>{"use strict";let e=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],i=new Set(e);t.s(["transformPropOrder",()=>e,"transformProps",()=>i])},38740,t=>{"use strict";let e=t=>180*t/Math.PI,i=t=>s(e(Math.atan2(t[1],t[0]))),r={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:t=>(Math.abs(t[0])+Math.abs(t[3]))/2,rotate:i,rotateZ:i,skewX:t=>e(Math.atan(t[1])),skewY:t=>e(Math.atan(t[2])),skew:t=>(Math.abs(t[1])+Math.abs(t[2]))/2},s=t=>((t%=360)<0&&(t+=360),t),n=t=>Math.sqrt(t[0]*t[0]+t[1]*t[1]),o=t=>Math.sqrt(t[4]*t[4]+t[5]*t[5]),a={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:n,scaleY:o,scale:t=>(n(t)+o(t))/2,rotateX:t=>s(e(Math.atan2(t[6],t[5]))),rotateY:t=>s(e(Math.atan2(-t[2],t[0]))),rotateZ:i,rotate:i,skewX:t=>e(Math.atan(t[4])),skewY:t=>e(Math.atan(t[1])),skew:t=>(Math.abs(t[1])+Math.abs(t[4]))/2};function l(t){return+!!t.includes("scale")}function u(t,e){let i,s;if(!t||"none"===t)return l(e);let n=t.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);if(n)i=a,s=n;else{let e=t.match(/^matrix\(([-\d.e\s,]+)\)$/u);i=r,s=e}if(!s)return l(e);let o=i[e],u=s[1].split(",").map(c);return"function"==typeof o?o(u):u[o]}let h=(t,e)=>{let{transform:i="none"}=getComputedStyle(t);return u(i,e)};function c(t){return parseFloat(t.trim())}t.s(["defaultTransformValue",()=>l,"parseValueFromTransform",()=>u,"readTransformValue",()=>h])},42210,t=>{"use strict";let e=t=>e=>"string"==typeof e&&e.startsWith(t),i=e("--"),r=e("var(--"),s=t=>!!r(t)&&n.test(t.split("/*")[0].trim()),n=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;t.s(["isCSSVariableName",()=>i,"isCSSVariableToken",()=>s])},38622,t=>{"use strict";function e({top:t,left:e,right:i,bottom:r}){return{x:{min:e,max:i},y:{min:t,max:r}}}function i({x:t,y:e}){return{top:e.min,right:t.max,bottom:e.max,left:t.min}}function r(t,e){if(!e)return t;let i=e({x:t.left,y:t.top}),r=e({x:t.right,y:t.bottom});return{top:i.y,left:i.x,bottom:r.y,right:r.x}}t.s(["convertBoundingBoxToBox",()=>e,"convertBoxToBoundingBox",()=>i,"transformBoxPoints",()=>r])},47480,t=>{"use strict";let e=(t,e,i)=>t+(e-t)*i;t.s(["mixNumber",()=>e])},57154,49278,34647,t=>{"use strict";var e=t.i(38622),i=t.i(47480);function r(t){return void 0===t||1===t}function s({scale:t,scaleX:e,scaleY:i}){return!r(t)||!r(e)||!r(i)}function n(t){return s(t)||o(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function o(t){var e,i;return(e=t.x)&&"0%"!==e||(i=t.y)&&"0%"!==i}function a(t,e,i){return i+e*(t-i)}function l(t,e,i,r,s){return void 0!==s&&(t=r+s*(t-r)),r+i*(t-r)+e}function u(t,e=0,i=1,r,s){t.min=l(t.min,e,i,r,s),t.max=l(t.max,e,i,r,s)}function h(t,{x:e,y:i}){u(t.x,e.translate,e.scale,e.originPoint),u(t.y,i.translate,i.scale,i.originPoint)}function c(t,e,i,r=!1){let s,o,a=i.length;if(a){e.x=e.y=1;for(let l=0;l<a;l++){o=(s=i[l]).projectionDelta;let{visualElement:a}=s.options;(!a||!a.props.style||"contents"!==a.props.style.display)&&(r&&s.options.layoutScroll&&s.scroll&&s!==s.root&&p(t,{x:-s.scroll.offset.x,y:-s.scroll.offset.y}),o&&(e.x*=o.x.scale,e.y*=o.y.scale,h(t,o)),r&&n(s.latestValues)&&p(t,s.latestValues))}e.x<1.0000000000001&&e.x>.999999999999&&(e.x=1),e.y<1.0000000000001&&e.y>.999999999999&&(e.y=1)}}function d(t,e){t.min=t.min+e,t.max=t.max+e}function m(t,e,r,s,n=.5){let o=(0,i.mixNumber)(t.min,t.max,n);u(t,e,r,o,s)}function p(t,e){m(t.x,e.x,e.scaleX,e.scale,e.originX),m(t.y,e.y,e.scaleY,e.scale,e.originY)}function f(t,i){return(0,e.convertBoundingBoxToBox)((0,e.transformBoxPoints)(t.getBoundingClientRect(),i))}function g(t,e,i){let r=f(t,i),{scroll:s}=e;return s&&(d(r.x,s.offset.x),d(r.y,s.offset.y)),r}t.s(["has2DTranslate",()=>o,"hasScale",()=>s,"hasTransform",()=>n],49278),t.s(["applyBoxDelta",()=>h,"applyTreeDeltas",()=>c,"scalePoint",()=>a,"transformBox",()=>p,"translateAxis",()=>d],34647),t.s(["measurePageBox",()=>g,"measureViewportBox",()=>f],57154)},44948,t=>{"use strict";let e=new Set(["width","height","top","left","right","bottom",...t.i(29859).transformPropOrder]);t.s(["positionalKeys",()=>e])},23212,t=>{"use strict";let e={test:t=>"auto"===t,parse:t=>t};t.s(["auto",()=>e])},83032,t=>{"use strict";let e=(t,e,i)=>i>e?e:i<t?t:i;t.s(["clamp",()=>e])},5160,t=>{"use strict";var e=t.i(83032);let i={test:t=>"number"==typeof t,parse:parseFloat,transform:t=>t},r={...i,transform:t=>(0,e.clamp)(0,1,t)},s={...i,default:1};t.s(["alpha",()=>r,"number",()=>i,"scale",()=>s])},21365,t=>{"use strict";let e=t=>({test:e=>"string"==typeof e&&e.endsWith(t)&&1===e.split(" ").length,parse:parseFloat,transform:e=>`${e}${t}`}),i=e("deg"),r=e("%"),s=e("px"),n=e("vh"),o=e("vw"),a={...r,parse:t=>r.parse(t)/100,transform:t=>r.transform(100*t)};t.s(["degrees",()=>i,"percent",()=>r,"progressPercentage",()=>a,"px",()=>s,"vh",()=>n,"vw",()=>o])},96091,60125,t=>{"use strict";var e=t.i(23212),i=t.i(5160),r=t.i(21365);let s=t=>e=>e.test(t);t.s(["testValueType",()=>s],60125);let n=[i.number,r.px,r.percent,r.degrees,r.vw,r.vh,e.auto],o=t=>n.find(s(t));t.s(["dimensionValueTypes",()=>n,"findDimensionValueType",()=>o],96091)},48367,t=>{"use strict";let e=()=>{},i=()=>{};t.s(["invariant",()=>i,"warning",()=>e])},10332,11855,t=>{"use strict";var e=t.i(48367);let i=t=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t);t.s(["isNumericalString",()=>i],11855);var r=t.i(42210);let s=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;t.s(["getVariableValue",()=>function t(n,o,a=1){(0,e.invariant)(a<=4,`Max CSS variable fallback depth detected in property "${n}". This may indicate a circular fallback dependency.`,"max-css-var-depth");let[l,u]=function(t){let e=s.exec(t);if(!e)return[,];let[,i,r,n]=e;return[`--${i??r}`,n]}(n);if(!l)return;let h=window.getComputedStyle(o).getPropertyValue(l);if(h){let t=h.trim();return i(t)?parseFloat(t):t}return(0,r.isCSSVariableToken)(u)?t(u,o,a+1):u}],10332)},37466,t=>{"use strict";function e(t){for(let e=1;e<t.length;e++)t[e]??(t[e]=t[e-1])}t.s(["fillWildcards",()=>e])},857,t=>{"use strict";var e=t.i(38740),i=t.i(29859),r=t.i(5160),s=t.i(21365);let n=t=>t===r.number||t===s.px,o=new Set(["x","y","z"]),a=i.transformPropOrder.filter(t=>!o.has(t));function l(t){let e=[];return a.forEach(i=>
1{let r=t.getValue(i);void 0!==r&&(e.push([i,r.get()]),r.set(+!!i.startsWith("scale")))}),e}let u={width:({x:t},{paddingLeft:e="0",paddingRight:i="0"})=>t.max-t.min-parseFloat(e)-parseFloat(i),height:({y:t},{paddingTop:e="0",paddingBottom:i="0"})=>t.max-t.min-parseFloat(e)-parseFloat(i),top:(t,{top:e})=>parseFloat(e),left:(t,{left:e})=>parseFloat(e),bottom:({y:t},{top:e})=>parseFloat(e)+(t.max-t.min),right:({x:t},{left:e})=>parseFloat(e)+(t.max-t.min),x:(t,{transform:i})=>(0,e.parseValueFromTransform)(i,"x"),y:(t,{transform:i})=>(0,e.parseValueFromTransform)(i,"y")};u.translateX=u.x,u.translateY=u.y,t.s(["isNumOrPxType",()=>n,"positionalValues",()=>u,"removeNonTranslationalTransform",()=>l])},47248,75602,54912,80124,17967,t=>{"use strict";let e=t=>t;t.s(["noop",()=>e],75602);let i={};t.s(["MotionGlobalConfig",()=>i],54912);let r=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"],s={value:null,addProjectionMetrics:null};function n(t,e){let n=!1,o=!0,a={delta:0,timestamp:0,isProcessing:!1},l=()=>n=!0,u=r.reduce((t,i)=>(t[i]=function(t,e){let i=new Set,r=new Set,n=!1,o=!1,a=new WeakSet,l={delta:0,timestamp:0,isProcessing:!1},u=0;function h(e){a.has(e)&&(c.schedule(e),t()),u++,e(l)}let c={schedule:(t,e=!1,s=!1)=>{let o=s&&n?i:r;return e&&a.add(t),o.has(t)||o.add(t),t},cancel:t=>{r.delete(t),a.delete(t)},process:t=>{if(l=t,n){o=!0;return}n=!0,[i,r]=[r,i],i.forEach(h),e&&s.value&&s.value.frameloop[e].push(u),u=0,i.clear(),n=!1,o&&(o=!1,c.process(t))}};return c}(l,e?i:void 0),t),{}),{setup:h,read:c,resolveKeyframes:d,preUpdate:m,update:p,preRender:f,render:g,postRender:v}=u,y=()=>{let r=i.useManualTiming?a.timestamp:performance.now();n=!1,i.useManualTiming||(a.delta=o?1e3/60:Math.max(Math.min(r-a.timestamp,40),1)),a.timestamp=r,a.isProcessing=!0,h.process(a),c.process(a),d.process(a),m.process(a),p.process(a),f.process(a),g.process(a),v.process(a),a.isProcessing=!1,n&&e&&(o=!1,t(y))};return{schedule:r.reduce((e,i)=>{let r=u[i];return e[i]=(e,i=!1,s=!1)=>(!n&&(n=!0,o=!0,a.isProcessing||t(y)),r.schedule(e,i,s)),e},{}),cancel:t=>{for(let e=0;e<r.length;e++)u[r[e]].cancel(t)},state:a,steps:u}}t.s(["statsBuffer",()=>s],80124),t.s(["createRenderBatcher",()=>n],17967);let{schedule:o,cancel:a,state:l,steps:u}=n("undefined"!=typeof requestAnimationFrame?requestAnimationFrame:e,!0);t.s(["cancelFrame",()=>a,"frame",()=>o,"frameData",()=>l,"frameSteps",()=>u],47248)},83582,t=>{"use strict";var e=t.i(37466),i=t.i(857),r=t.i(47248);let s=new Set,n=!1,o=!1,a=!1;function l(){if(o){let t=Array.from(s).filter(t=>t.needsMeasurement),e=new Set(t.map(t=>t.element)),r=new Map;e.forEach(t=>{let e=(0,i.removeNonTranslationalTransform)(t);e.length&&(r.set(t,e),t.render())}),t.forEach(t=>t.measureInitialState()),e.forEach(t=>{t.render();let e=r.get(t);e&&e.forEach(([e,i])=>{t.getValue(e)?.set(i)})}),t.forEach(t=>t.measureEndState()),t.forEach(t=>{void 0!==t.suspendedScrollY&&window.scrollTo(0,t.suspendedScrollY)})}o=!1,n=!1,s.forEach(t=>t.complete(a)),s.clear()}function u(){s.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(o=!0)})}function h(){a=!0,u(),l(),a=!1}class c{constructor(t,e,i,r,s,n=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=e,this.name=i,this.motionValue=r,this.element=s,this.isAsync=n}scheduleResolve(){this.state="scheduled",this.isAsync?(s.add(this),n||(n=!0,r.frame.read(u),r.frame.resolveKeyframes(l))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:t,name:i,element:r,motionValue:s}=this;if(null===t[0]){let e=s?.get(),n=t[t.length-1];if(void 0!==e)t[0]=e;else if(r&&i){let e=r.readValue(i,n);null!=e&&(t[0]=e)}void 0===t[0]&&(t[0]=n),s&&void 0===e&&s.set(t[0])}(0,e.fillWildcards)(t)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),s.delete(this)}cancel(){"scheduled"===this.state&&(s.delete(this),this.state="pending")}resume(){"pending"===this.state&&this.scheduleResolve()}}t.s(["KeyframeResolver",()=>c,"flushKeyframeResolvers",()=>h])},95256,40919,t=>{"use strict";let e=t=>/^0[^.\s]+$/u.test(t);function i(t){return"number"==typeof t?0===t:null===t||"none"===t||"0"===t||e(t)}t.s(["isZeroValueString",()=>e],40919),t.s(["isNone",()=>i],95256)},1221,22446,1935,44588,67754,t=>{"use strict";var e=t.i(83032),i=t.i(5160);let r=t=>Math.round(1e5*t)/1e5;t.s(["sanitize",()=>r],22446);let s=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;t.s(["floatRegex",()=>s],1935);let n=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,o=(t,e)=>i=>!!("string"==typeof i&&n.test(i)&&i.startsWith(t)||e&&null!=i&&Object.prototype.hasOwnProperty.call(i,e)),a=(t,e,i)=>r=>{if("string"!=typeof r)return r;let[n,o,a,l]=r.match(s);return{[t]:parseFloat(n),[e]:parseFloat(o),[i]:parseFloat(a),alpha:void 0!==l?parseFloat(l):1}};t.s(["isColorString",()=>o,"splitColor",()=>
1a],44588);let l={...i.number,transform:t=>Math.round((0,e.clamp)(0,255,t))},u={test:o("rgb","red"),parse:a("red","green","blue"),transform:({red:t,green:e,blue:s,alpha:n=1})=>"rgba("+l.transform(t)+", "+l.transform(e)+", "+l.transform(s)+", "+r(i.alpha.transform(n))+")"};t.s(["rgba",()=>u],67754);let h={test:o("#"),parse:function(t){let e="",i="",r="",s="";return t.length>5?(e=t.substring(1,3),i=t.substring(3,5),r=t.substring(5,7),s=t.substring(7,9)):(e=t.substring(1,2),i=t.substring(2,3),r=t.substring(3,4),s=t.substring(4,5),e+=e,i+=i,r+=r,s+=s),{red:parseInt(e,16),green:parseInt(i,16),blue:parseInt(r,16),alpha:s?parseInt(s,16)/255:1}},transform:u.transform};t.s(["hex",()=>h],1221)},77149,92573,68826,t=>{"use strict";var e=t.i(1221),i=t.i(5160),r=t.i(21365),s=t.i(22446),n=t.i(44588);let o={test:(0,n.isColorString)("hsl","hue"),parse:(0,n.splitColor)("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:n,alpha:o=1})=>"hsla("+Math.round(t)+", "+r.percent.transform((0,s.sanitize)(e))+", "+r.percent.transform((0,s.sanitize)(n))+", "+(0,s.sanitize)(i.alpha.transform(o))+")"};t.s(["hsla",()=>o],92573);var a=t.i(67754);let l={test:t=>a.rgba.test(t)||e.hex.test(t)||o.test(t),parse:t=>a.rgba.test(t)?a.rgba.parse(t):o.test(t)?o.parse(t):e.hex.parse(t),transform:t=>"string"==typeof t?t:t.hasOwnProperty("red")?a.rgba.transform(t):o.transform(t),getAnimatableNone:t=>{let e=l.parse(t);return e.alpha=0,l.transform(e)}};t.s(["color",()=>l],68826);let u=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;var h=t.i(1935);let c="number",d="color",m=/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 p(t){let e=t.toString(),i=[],r={color:[],number:[],var:[]},s=[],n=0,o=e.replace(m,t=>(l.test(t)?(r.color.push(n),s.push(d),i.push(l.parse(t))):t.startsWith("var(")?(r.var.push(n),s.push("var"),i.push(t)):(r.number.push(n),s.push(c),i.push(parseFloat(t))),++n,"${}")).split("${}");return{values:i,split:o,indexes:r,types:s}}function f(t){return p(t).values}function g(t){let{split:e,types:i}=p(t),r=e.length;return t=>{let n="";for(let o=0;o<r;o++)if(n+=e[o],void 0!==t[o]){let e=i[o];e===c?n+=(0,s.sanitize)(t[o]):e===d?n+=l.transform(t[o]):n+=t[o]}return n}}let v=t=>"number"==typeof t?0:l.test(t)?l.getAnimatableNone(t):t,y={test:function(t){return isNaN(t)&&"string"==typeof t&&(t.match(h.floatRegex)?.length||0)+(t.match(u)?.length||0)>0},parse:f,createTransformer:g,getAnimatableNone:function(t){let e=f(t);return g(t)(e.map(v))}};t.s(["analyseComplexValue",()=>p,"complex",()=>y],77149)},36056,24424,10973,20885,t=>{"use strict";var e=t.i(44948),i=t.i(96091),r=t.i(10332),s=t.i(42210),n=t.i(83582),o=t.i(95256),a=t.i(77149),l=t.i(1935);let u=new Set(["brightness","contrast","saturate","opacity"]);function h(t){let[e,i]=t.slice(0,-1).split("(");if("drop-shadow"===e)return t;let[r]=i.match(l.floatRegex)||[];if(!r)return t;let s=i.replace(r,""),n=+!!u.has(e);return r!==i&&(n*=100),e+"("+n+s+")"}let c=/\b([a-z-]*)\(.*?\)/gu,d={...a.complex,getAnimatableNone:t=>{let e=t.match(c);return e?e.map(h).join(" "):t}};var m=t.i(68826),p=t.i(5160);let f={...p.number,transform:Math.round};var g=t.i(21365);let v={rotate:g.degrees,rotateX:g.degrees,rotateY:g.degrees,rotateZ:g.degrees,scale:p.scale,scaleX:p.scale,scaleY:p.scale,scaleZ:p.scale,skew:g.degrees,skewX:g.degrees,skewY:g.degrees,distance:g.px,translateX:g.px,translateY:g.px,translateZ:g.px,x:g.px,y:g.px,z:g.px,perspective:g.px,transformPerspective:g.px,opacity:p.alpha,originX:g.progressPercentage,originY:g.progressPercentage,originZ:g.px},y={borderWidth:g.px,borderTopWidth:g.px,borderRightWidth:g.px,borderBottomWidth:g.px,borderLeftWidth:g.px,borderRadius:g.px,radius:g.px,borderTopLeftRadius:g.px,borderTopRightRadius:g.px,borderBottomRightRadius:g.px,borderBottomLeftRadius:g.px,width:g.px,maxWidth:g.px,height:g.px,maxHeight:g.px,top:g.px,right:g.px,bottom:g.px,left:g.px,padding:g.px,paddingTop:g.px,paddingRight:g.px,paddingBottom:g.px,paddingLeft:g.px,margin:g.px,marginTop:g.px,marginRight:g.px,marginBottom:g.px,marginLeft:g.px,backgroundPositionX:g.px,backgroundPositionY:g.px,...v,zIndex:f,fillOpacity:p.alph
1a,strokeOpacity:p.alpha,numOctaves:f};t.s(["numberValueTypes",()=>y],24424);let x={...y,color:m.color,backgroundColor:m.color,outlineColor:m.color,fill:m.color,stroke:m.color,borderColor:m.color,borderTopColor:m.color,borderRightColor:m.color,borderBottomColor:m.color,borderLeftColor:m.color,filter:d,WebkitFilter:d},b=t=>x[t];function w(t,e){let i=b(t);return i!==d&&(i=a.complex),i.getAnimatableNone?i.getAnimatableNone(e):void 0}t.s(["getDefaultValueType",()=>b],10973),t.s(["getAnimatableNone",()=>w],20885);let T=new Set(["auto","none","0"]);var P=t.i(857);class S extends n.KeyframeResolver{constructor(t,e,i,r,s){super(t,e,i,r,s,!0)}readKeyframes(){let{unresolvedKeyframes:t,element:n,name:o}=this;if(!n||!n.current)return;super.readKeyframes();for(let e=0;e<t.length;e++){let i=t[e];if("string"==typeof i&&(i=i.trim(),(0,s.isCSSVariableToken)(i))){let s=(0,r.getVariableValue)(i,n.current);void 0!==s&&(t[e]=s),e===t.length-1&&(this.finalKeyframe=i)}}if(this.resolveNoneKeyframes(),!e.positionalKeys.has(o)||2!==t.length)return;let[a,l]=t,u=(0,i.findDimensionValueType)(a),h=(0,i.findDimensionValueType)(l);if(u!==h)if((0,P.isNumOrPxType)(u)&&(0,P.isNumOrPxType)(h))for(let e=0;e<t.length;e++){let i=t[e];"string"==typeof i&&(t[e]=parseFloat(i))}else P.positionalValues[o]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){let{unresolvedKeyframes:t,name:e}=this,i=[];for(let e=0;e<t.length;e++)(null===t[e]||(0,o.isNone)(t[e]))&&i.push(e);i.length&&function(t,e,i){let r,s=0;for(;s<t.length&&!r;){let e=t[s];"string"==typeof e&&!T.has(e)&&(0,a.analyseComplexValue)(e).values.length&&(r=t[s]),s++}if(r&&i)for(let s of e)t[s]=w(i,r)}(t,i,e)}measureInitialState(){let{element:t,unresolvedKeyframes:e,name:i}=this;if(!t||!t.current)return;"height"===i&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=P.positionalValues[i](t.measureViewportBox(),window.getComputedStyle(t.current)),e[0]=this.measuredOrigin;let r=e[e.length-1];void 0!==r&&t.getValue(i,r).jump(r,!1)}measureEndState(){let{element:t,name:e,unresolvedKeyframes:i}=this;if(!t||!t.current)return;let r=t.getValue(e);r&&r.jump(this.measuredOrigin,!1);let s=i.length-1,n=i[s];i[s]=P.positionalValues[e](t.measureViewportBox(),window.getComputedStyle(t.current)),null!==n&&void 0===this.finalKeyframe&&(this.finalKeyframe=n),this.removedTransforms?.length&&this.removedTransforms.forEac
1h(([e,i])=>{t.getValue(e).set(i)}),this.resolveNoneKeyframes()}}t.s(["DOMKeyframesResolver",()=>S],36056)},38305,t=>{"use strict";let e=t=>!!(t&&t.getVelocity);t.s(["isMotionValue",()=>e])},24140,t=>{"use strict";let e;var i=t.i(54912),r=t.i(47248);function s(){e=void 0}let n={now:()=>(void 0===e&&n.set(r.frameData.isProcessing||i.MotionGlobalConfig.useManualTiming?r.frameData.timestamp:performance.now()),e),set:t=>{e=t,queueMicrotask(s)}};t.s(["time",()=>n])},33639,t=>{"use strict";function e(t,e){-1===t.indexOf(e)&&t.push(e)}function i(t,e){let i=t.indexOf(e);i>-1&&t.splice(i,1)}t.s(["addUniqueItem",()=>e,"removeItem",()=>i])},70180,t=>{"use strict";var e=t.i(33639);class i{constructor(){this.subscriptions=[]}add(t){return(0,e.addUniqueItem)(this.subscriptions,t),()=>(0,e.removeItem)(this.subscriptions,t)}notify(t,e,i){let r=this.subscriptions.length;if(r)if(1===r)this.subscriptions[0](t,e,i);else for(let s=0;s<r;s++){let r=this.subscriptions[s];r&&r(t,e,i)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}t.s(["SubscriptionManager",()=>i])},95153,t=>{"use strict";function e(t,e){return e?1e3/e*t:0}t.s(["velocityPerSecond",()=>e])},34026,t=>{"use strict";var e=t.i(70180),i=t.i(95153),r=t.i(24140),s=t.i(47248);let n={current:void 0};class o{constructor(t,e={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=t=>{let e=r.time.now();if(this.updatedAt!==e&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(t),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(let t of this.dependents)t.dirty()},this.hasAnimated=!1,this.setCurrent(t),this.owner=e.owner}setCurrent(t){this.current=t,this.updatedAt=r.time.now(),null===this.canTrackVelocity&&void 0!==t&&(this.canTrackVelocity=!isNaN(parseFloat(this.current)))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,i){this.events[t]||(this.events[t]=new e.SubscriptionManager);let r=this.events[t].add(i);return"change"===t?()=>{r(),s.frame.read(()=>{this.events.change.getSize()||this.stop()})}:r}clearListeners(){for(let t in this.events)this.events[t].clear()}attach(t,e){this.passiveEffect=t,this.stopPassiveEffect=e}set(t){this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t)}setWithVelocity(t,e,i){this.set(e),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-i}jump(t,e=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,e&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(t){this.dependents||(this.dependents=new Set),this.dependents.add(t)}removeDependent(t){this.dependents&&this.dependents.delete(t)}get(){return n.current&&n.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let t=r.time.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||t-this.updatedAt>30)return 0;let e=Math.min(this.updatedAt-this.prevUpdatedAt,30);return(0,i.velocityPerSecond)(parseFloat(this.current)-parseFloat(this.prevFrameValue),e)}start(t){return this.stop(),new Promise(e=>{this.hasAnimated=!0,this.animation=t(e),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 a(t,e){return new o(t,e)}t.s(["collectMotionValues",()=>n,"motionValue",()=>a])},46974,84776,53669,2841,t=>{"use strict";var e=t.i(68826),i=t.i(77149),r=t.i(96091),s=t.i(60125);let n=[...r.dimensionValueTypes,e.color,i.complex],o=t=>n.find((0,s.testValueType)(t));t.s(["findValueType",()=>o],46974);let{schedule:a}=(0,t.i(17967).createRenderBatcher)(queueMicrotask,!1);t.s(["microtask",()=>a],84776);let l={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"]},u={};for(let t in l)u[t]={isEnabled:e=>l[t].some(t=>!!e[t])};t.s(["featureDefinitions",()=>u],53669);let h=()=>({translate:0,scale:1,origin:0,originPoint:0}),c=()=>({x:h(),y:h()}),d=()=>({min:0,max:0}),m=()=>({x:d(),y:d()});t.s(["createBox",()=>m,"createDelta",()=>c],2841)},94553,t=>{"use strict";let e="undefined"!=typeof window;t.s(["isBrowser",()=>e])},7449,4564,t=>{"use strict";var e=t.i(94553);let i={current:null},r={current:!1};function s(){if(r.current=!0,e.isBrowser)if(window.matchMedia){let t=window.matchMedia("(prefers-reduced-motion)"),e=()=>i.current=t.matches;t.addEventListener("change",e),e()}else i.current=!1}t.s(["hasReducedMotionListener",()=>r,"prefersReducedMotion",()=>i],4564),t.s(["initPrefersReducedMotion",()=>s],7449)},25479,t=>{"use strict";let e=new WeakMap;t.s(["visualElementStore",()=>e])}
1,71390,40889,47563,44753,45987,t=>{"use strict";function e(t){return null!==t&&"object"==typeof t&&"function"==typeof t.start}function i(t){return"string"==typeof t||Array.isArray(t)}t.s(["isAnimationControls",()=>e],40889),t.s(["isVariantLabel",()=>i],47563);let r=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],s=["initial",...r];function n(t){return e(t.animate)||s.some(e=>i(t[e]))}function o(t){return!!(n(t)||t.variants)}t.s(["variantPriorityOrder",()=>r,"variantProps",()=>s],44753),t.s(["isControllingVariants",()=>n,"isVariantNode",()=>o],71390);var a=t.i(38305),l=t.i(34026);function u(t,e,i){for(let r in e){let s=e[r],n=i[r];if((0,a.isMotionValue)(s))t.addValue(r,s);else if((0,a.isMotionValue)(n))t.addValue(r,(0,l.motionValue)(s,{owner:t}));else if(n!==s)if(t.hasValue(r)){let e=t.getValue(r);!0===e.liveStyle?e.jump(s):e.hasAnimated||e.set(s)}else{let e=t.getStaticValue(r);t.addValue(r,(0,l.motionValue)(void 0!==e?e:s,{owner:t}))}}for(let r in i)void 0===e[r]&&t.removeValue(r);return e}t.s(["updateMotionValuesFromProps",()=>u],45987)},69219,t=>{"use strict";function e(t){let e=[{},{}];return t?.values.forEach((t,i)=>{e[0][i]=t.get(),e[1][i]=t.getVelocity()}),e}function i(t,i,r,s){if("function"==typeof i){let[n,o]=e(s);i=i(void 0!==r?r:t.custom,n,o)}if("string"==typeof i&&(i=t.variants&&t.variants[i]),"function"==typeof i){let[n,o]=e(s);i=i(void 0!==r?r:t.custom,n,o)}return i}t.s(["resolveVariantFromProps",()=>i])},61451,22192,14939,59298,67241,75313,3265,18332,t=>{"use strict";var e=t.i(29859),i=t.i(38740),r=t.i(42210),s=t.i(57154),n=t.i(36056),o=t.i(38305);t.i(3553);var a=t.i(83582),l=t.i(24140),u=t.i(47248),h=t.i(34026),c=t.i(46974),d=t.i(77149),m=t.i(20885),p=t.i(84776),f=t.i(11855),g=t.i(40919),v=t.i(70180),y=t.i(53669),x=t.i(2841),b=t.i(7449),w=t.i(4564),T=t.i(25479),P=t.i(71390),S=t.i(45987),V=t.i(69219);let k=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class M{scrapeMotionValuesFromProps(t,e,i){return{}}constructor({parent:t,props:e,presenceContext:i,reducedMotionConfig:r,blockInitialAnimation:s,visualState:n},h={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=a.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 t=l.time.now();this.renderScheduledAt<t&&(this.renderScheduledAt=t,u.frame.render(this.render,!1,!0))};const{latestValues:c,renderState:d}=n;this.latestValues=c,this.baseTarget={...c},this.initialValues=e.initial?{...c}:{},this.renderState=d,this.parent=t,this.props=e,this.presenceContext=i,this.depth=t?t.depth+1:0,this.reducedMotionConfig=r,this.options=h,this.blockInitialAnimation=!!s,this.isControllingVariants=(0,P.isControllingVariants)(e),this.isVariantNode=(0,P.isVariantNode)(e),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:m,...p}=this.scrapeMotionValuesFromProps(e,{},this);for(const t in p){const e=p[t];void 0!==c[t]&&(0,o.isMotionValue)(e)&&e.set(c[t])}}mount(t){this.current=t,T.visualElementStore.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((t,e)=>this.bindToMotionValue(e,t)),w.hasReducedMotionListener.current||(0,b.initPrefersReducedMotion)(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||w.prefersReducedMotion.current),this.parent?.addChild(this),this.update(this.props,this.presenceContext)}unmount(){for(let t in this.projection&&this.projection.unmount(),(0,u.cancelFrame)(this.notifyUpdate),(0,u.cancelFrame)(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this),this.events)this.events[t].clear();for(let t in this.features){let e=this.features[t];e&&(e.unmount(),e.isMounted=!1)}this.current=null}addChild(t){this.children.add(t),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(t)}removeChild(t){this.children.delete(t),this.enteringChildren&&this.enteringChildren.delete(t)}bindToMotionValue(t,i){let r;this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)();let s=e.transformProps.has(t);s&&this.onBindTransform&&this.onBindTransform();let n=i.on("change",e=>{this.latestValues[t]=e,this.props.onUpdate&&u.frame.preRender(this.notifyUpdate),s&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});window.MotionCheckAppearSync&&(r=window.MotionCheckAppearSync(this,t,i)),this.valueSubscriptions.set(t,()=>{n(),r&&r(),i.owner&&i.stop()})}sortNodePosition(t){return this.current&&this.sortInstanceNodePosition&&this.type===t.type?this.sortInstanceNodePosition(this.current,t.current):0}updateFeatures(){let t="animation";for(t in y.featureDefinitions){let e=y.featureDefinitions[t];if(!e)continue;let{isEnabled:i,Feature:r}=e;if(!this.features[t]&&r&&i(this.props)&&(this.features[t]=new r(this)),this.features[t]){let e=this.features[t];
1e.isMounted?e.update():(e.mount(),e.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):(0,x.createBox)()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,e){this.latestValues[t]=e}update(t,e){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=e;for(let e=0;e<k.length;e++){let i=k[e];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);let r=t["on"+i];r&&(this.propEventSubscriptions[i]=this.on(i,r))}this.prevMotionValues=(0,S.updateMotionValuesFromProps)(this,this.scrapeMotionValuesFromProps(t,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(t){let e=this.getClosestVariantNode();if(e)return e.variantChildren&&e.variantChildren.add(t),()=>e.variantChildren.delete(t)}addValue(t,e){let i=this.values.get(t);e!==i&&(i&&this.removeValue(t),this.bindToMotionValue(t,e),this.values.set(t,e),this.latestValues[t]=e.get())}removeValue(t){this.values.delete(t);let e=this.valueSubscriptions.get(t);e&&(e(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,e){if(this.props.values&&this.props.values[t])return this.props.values[t];let i=this.values.get(t);return void 0===i&&void 0!==e&&(i=(0,h.motionValue)(null===e?void 0:e,{owner:this}),this.addValue(t,i)),i}readValue(t,e){let i=void 0===this.latestValues[t]&&this.current?this.getBaseTargetFromProps(this.props,t)??this.readValueFromInstance(this.current,t,this.options):this.latestValues[t];return null!=i&&("string"==typeof i&&((0,f.isNumericalString)(i)||(0,g.isZeroValueString)(i))?i=parseFloat(i):!(0,c.findValueType)(i)&&d.complex.test(e)&&(i=(0,m.getAnimatableNone)(t,e)),this.setBaseTarget(t,(0,o.isMotionValue)(i)?i.get():i)),(0,o.isMotionValue)(i)?i.get():i}setBaseTarget(t,e){this.baseTarget[t]=e}getBaseTarget(t){let e,{initial:i}=this.props;if("string"==typeof i||"object"==typeof i){let r=(0,V.resolveVariantFromProps)(this.props,i,this.presenceContext?.custom);r&&(e=r[t])}if(i&&void 0!==e)return e;let r=this.getBaseTargetFromProps(this.props,t);return void 0===r||(0,o.isMotionValue)(r)?void 0!==this.initialValues[t]&&void 0===e?void 0:this.baseTarget[t]:r}on(t,e){return this.events[t]||(this.events[t]=new v.SubscriptionManager),this.events[t].add(e)}notify(t,...e){this.events[t]&&this.events[t].notify(...e)}scheduleRenderMicrotask(){p.microtask.render(this.render)}}t.s(["VisualElement",()=>M],22192);class A extends M{constructor(){super(...arguments),this.KeyframeResolver=n.DOMKeyframesResolver}sortInstanceNodePosition(t,e){return 2&t.compareDocumentPosition(e)?1:-1}getBaseTargetFromProps(t,e){return t.style?t.style[e]:void 0}removeValueFromRenderState(t,{vars:e,style:i}){delete e[t],delete i[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:t}=this.props;(0,o.isMotionValue)(t)&&(this.childSubscription=t.on("change",t=>{this.current&&(this.current.textContent=`${t}`)}))}}t.s(["DOMVisualElement",()=>A],14939);let D=(t,e)=>e&&"number"==typeof t?e.transform(t):t;var C=t.i(24424);let E={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},R=e.transformPropOrder.length;function B(t,i,s){let{style:n,vars:o,transformOrigin:a}=t,l=!1,u=!1;for(let t in i){let s=i[t];if(e.transformProps.has(t)){l=!0;continue}if((0,r.isCSSVariableName)(t)){o[t]=s;continue}{let e=D(s,C.numberValueTypes[t]);t.startsWith("origin")?(u=!0,a[t]=e):n[t]=e}}if(!i.transform&&(l||s?n.transform=function(t,i,r){let s="",n=!0;for(let o=0;o<R;o++){let a=e.transformPropOrder[o],l=t[a];if(void 0===l)continue;let u=!0;if(!(u="number"==typeof l?l===+!!a.startsWith("scale"):0===parseFloat(l))||r){let t=D(l,C.numberValueTypes[a]);if(!u){n=!1;let e=E[a]||a;s+=`${e}(${t}) `}r&&(i[a]=t)}}return s=s.trim(),r?s=r(i,n?"":s):n&&(s="none"),s}(i,t.transform,s):n.transform&&(n.transform="none")),u){let{originX:t="50%",originY:e="50%",originZ:i=0}=a;n.transformOrigin=`${t} ${e} ${i}`}}function L(t,{style:e,vars:i}
1,r,s){let n,o=t.style;for(n in e)o[n]=e[n];for(n in s?.applyProjectionStyles(o,r),i)o.setProperty(n,i[n])}t.s(["buildHTMLStyles",()=>B],59298),t.s(["renderHTML",()=>L],67241);let j={};function F(t){for(let e in t)j[e]=t[e],(0,r.isCSSVariableName)(e)&&(j[e].isCSSVariable=!0)}function O(t,{layout:i,layoutId:r}){return e.transformProps.has(t)||t.startsWith("origin")||(i||void 0!==r)&&(!!j[t]||"opacity"===t)}function I(t,e,i){let{style:r}=t,s={};for(let n in r)((0,o.isMotionValue)(r[n])||e.style&&(0,o.isMotionValue)(e.style[n])||O(n,t)||i?.getValue(n)?.liveStyle!==void 0)&&(s[n]=r[n]);return s}t.s(["addScaleCorrector",()=>F,"scaleCorrectors",()=>j],75313),t.s(["isForcedMotionValue",()=>O],3265),t.s(["scrapeMotionValuesFromProps",()=>I],18332);class N extends A{constructor(){super(...arguments),this.type="html",this.renderInstance=L}readValueFromInstance(t,s){if(e.transformProps.has(s))return this.projection?.isProjecting?(0,i.defaultTransformValue)(s):(0,i.readTransformValue)(t,s);{let e=window.getComputedStyle(t),i=((0,r.isCSSVariableName)(s)?e.getPropertyValue(s):e[s])||0;return"string"==typeof i?i.trim():i}}measureInstanceViewportBox(t,{transformPagePoint:e}){return(0,s.measureViewportBox)(t,e)}build(t,e,i){B(t,e,i.transformTemplate)}scrapeMotionValuesFromProps(t,e,i){return I(t,e,i)}}t.s(["HTMLVisualElement",()=>N],61451)},25563,t=>{"use strict";let e=t=>t.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase();t.s(["camelToDash",()=>e])},13667,21496,88333,42894,t=>{"use strict";var e=t.i(29859),i=t.i(10973),r=t.i(2841),s=t.i(14939),n=t.i(25563),o=t.i(59298),a=t.i(21365);let l={offset:"stroke-dashoffset",array:"stroke-dasharray"},u={offset:"strokeDashoffset",array:"strokeDasharray"};function h(t,{attrX:e,attrY:i,attrScale:r,pathLength:s,pathSpacing:n=1,pathOffset:h=0,...c},d,m,p){if((0,o.buildHTMLStyles)(t,c,m),d){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};let{attrs:f,style:g}=t;f.transform&&(g.transform=f.transform,delete f.transform),(g.transform||f.transformOrigin)&&(g.transformOrigin=f.transformOrigin??"50% 50%",delete f.transformOrigin),g.transform&&(g.transformBox=p?.transformBox??"fill-box",delete f.transformBox),void 0!==e&&(f.x=e),void 0!==i&&(f.y=i),void 0!==r&&(f.scale=r),void 0!==s&&function(t,e,i=1,r=0,s=!0){t.pathLength=1;let n=s?l:u;t[n.offset]=a.px.transform(-r);let o=a.px.transform(e),h=a.px.transform(i);t[n.array]=`${o} ${h}`}(f,s,n,h,!1)}t.s(["buildSVGAttrs",()=>h],21496);let c=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"]),d=t=>"string"==typeof t&&"svg"===t.toLowerCase();t.s(["isSVGTag",()=>d],88333);var m=t.i(67241),p=t.i(38305),f=t.i(18332);function g(t,i,r){let s=(0,f.scrapeMotionValuesFromProps)(t,i,r);for(let r in t)((0,p.isMotionValue)(t[r])||(0,p.isMotionValue)(i[r]))&&(s[-1!==e.transformPropOrder.indexOf(r)?"attr"+r.charAt(0).toUpperCase()+r.substring(1):r]=t[r]);return s}t.s(["scrapeMotionValuesFromProps",()=>g],42894);class v extends s.DOMVisualElement{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=r.createBox}getBaseTargetFromProps(t,e){return t[e]}readValueFromInstance(t,r){if(e.transformProps.has(r)){let t=(0,i.getDefaultValueType)(r);return t&&t.default||0}return r=c.has(r)?r:(0,n.camelToDash)(r),t.getAttribute(r)}scrapeMotionValuesFromProps(t,e,i){return g(t,e,i)}build(t,e,i){h(t,e,this.isSVGTag,i.transformTemplate,i.style)}renderInstance(t,e,i,r){for(let i in(0,m.renderHTML)(t,e,void 0,r),e.attrs)t.setAttribute(c.has(i)?i:(0,n.camelToDash)(i),e.attrs[i])}mount(t){this.isSVGTag=d(t.tagName),super.mount(t)}}t.s(["SVGVisualElement",()=>v],13667)},19647,77695,t=>{"use strict";var e=t.i(98319),i=t.i(61451),r=t.i(13667);let s=["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 n(t){if("string"!=typeof t||t.includes("-"));else if(s.indexOf(t)>-1||/[A-Z]/u.test(t))return!0;return!1}t.s(["isSVGComponent",()=>n],77695);let o=(t,s)=>n(t)?new r.SVGVisualElement(s):new i.HTMLVisualElement(s,{allowProjection:t!==e.Fragment});t.s(["createDomVisualElement",()=>o],19647)},31667,t=>{"use strict";let e=(0,t.i(98319).createContext)({});t.s(["LayoutGroupContext",()=>e])},2318,t=>{"use strict";let e=(0,t.i(98319).createContext)({strict:!1});t.s(["LazyContext",()=>e])},88810,t=>{"use strict";let e=(0,t.i(98319).createContext)({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"});t.s(["MotionConfigContext",()=>e])},53432,14970,85323,20956,25903,t=>{"use strict";var e,i=t.i(98319);let r=(0,i.createContext)({});t.s(["MotionContext",()=>r],53432);var s=t.i(71390),n=t.i(47563);function o(t){let{initial:e,animate:o}=function(t,e){if((0,s.isControllingVariants)(t)){let{initial:e,animate:i}=t;return{initial:!1===e||(0,n.isVariantLabel)(e)?e:void 0,animate:(0,n.isVariantLabel)(i)?i:void 0}}return!1!==t.inherit?e:{}}(t,(0,i.useContext)(r));return(0,i.useMemo)(()=>({initial:e,animate:o}),[a(e),a(o)])}function a(t){return Array.isArray(t)?t.join(" "):t}t.s(["useCreateMotionContext",()=>o],14970);var l=t.i(38305),u=t.i(3265),h=t.i(59298);let c=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function d(t,e,i){for(let r in e)(0,l.isMotionValue)(e[r])||(0,u.isForcedMotionValue)(r,i)||(t[r]=e[r])}t.s(["createHtmlRenderState",()=>c],85323);var m=t.i(21496);let p=()=>({...c(),attrs:{}});t.s(["createSvgRenderState",()=>p],20956);var f=t.i(88333);let g=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 v(t){return t.startsWith("while")||t.startsWith("drag")&&"draggable"!==t||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||g.has(t)}let y=t=>!v(t);try{e=(()=>{let t=Error("Cannot find module '@emotion/is-prop-valid'");throw t.code="MODULE_NOT_FOUND",t})().default,"function"==typeof e&&(y=t=>t.startsWith("on")?!v(t):e(t))}catch{}
1var x=t.i(77695);function b(t,e,r,{latestValues:s},n,o=!1){let a=((0,x.isSVGComponent)(t)?function(t,e,r,s){let n=(0,i.useMemo)(()=>{let i=p();return(0,m.buildSVGAttrs)(i,e,(0,f.isSVGTag)(s),t.transformTemplate,t.style),{...i.attrs,style:{...i.style}}},[e]);if(t.style){let e={};d(e,t.style,t),n.style={...e,...n.style}}return n}:function(t,e){let r,s,n={},o=(r=t.style||{},d(s={},r,t),Object.assign(s,function({transformTemplate:t},e){return(0,i.useMemo)(()=>{let i=c();return(0,h.buildHTMLStyles)(i,e,t),Object.assign({},i.vars,i.style)},[e])}(t,e)),s);return t.drag&&!1!==t.dragListener&&(n.draggable=!1,o.userSelect=o.WebkitUserSelect=o.WebkitTouchCallout="none",o.touchAction=!0===t.drag?"none":`pan-${"x"===t.drag?"y":"x"}`),void 0===t.tabIndex&&(t.onTap||t.onTapStart||t.whileTap)&&(n.tabIndex=0),n.style=o,n})(e,s,n,t),u=function(t,e,i){let r={};for(let s in t)("values"!==s||"object"!=typeof t.values)&&(y(s)||!0===i&&v(s)||!e&&!v(s)||t.draggable&&s.startsWith("onDrag"))&&(r[s]=t[s]);return r}(e,"string"==typeof t,o),g=t!==i.Fragment?{...u,...a,ref:r}:{},{children:w}=e,T=(0,i.useMemo)(()=>(0,l.isMotionValue)(w)?w.get():w,[w]);return(0,i.createElement)(t,{...g,children:T})}t.s(["useRender",()=>b],25903)},99517,t=>{"use strict";let e=(0,t.i(98319).createContext)(null);t.s(["PresenceContext",()=>e])},37778,t=>{"use strict";var e=t.i(98319);function i(t){let i=(0,e.useRef)(null);return null===i.current&&(i.current=t()),i.current}t.s(["useConstant",()=>i])},79089,55871,68222,85728,69111,12806,84978,t=>{"use strict";var e=t.i(98319),i=t.i(40889),r=t.i(53432),s=t.i(99517),n=t.i(71390),o=t.i(69219),a=t.i(37778),l=t.i(38305);function u(t){return(0,l.isMotionValue)(t)?t.get():t}t.s(["resolveMotionValue",()=>u],55871);let h=t=>(l,h)=>{let c=(0,e.useContext)(r.MotionContext),d=(0,e.useContext)(s.PresenceContext),m=()=>(function({scrapeMotionValuesFromProps:t,createRenderState:e},r,s,a){return{latestValues:function(t,e,r,s){let a={},l=s(t,{});for(let t in l)a[t]=u(l[t]);let{initial:h,animate:c}=t,d=(0,n.isControllingVariants)(t),m=(0,n.isVariantNode)(t);e&&m&&!d&&!1!==t.inherit&&(void 0===h&&(h=e.initial),void 0===c&&(c=e.animate));let p=!!r&&!1===r.initial,f=(p=p||!1===h)?c:h;if(f&&"boolean"!=typeof f&&!(0,i.isAnimationControls)(f)){let e=Array.isArray(f)?f:[f];for(let i=0;i<e.length;i++){let r=(0,o.resolveVariantFromProps)(t,e[i]);if(r){let{transitionEnd:t,transition:e,...i}=r;for(let t in i){let e=i[t];if(Array.isArray(e)){let t=p?e.length-1:0;e=e[t]}null!==e&&(a[t]=e)}for(let e in t)a[e]=t[e]}}}return a}(r,s,a,t),renderState:e()}})(t,l,c,d);return h?m():(0,a.useConstant)(m)};var c=t.i(85323);let d=h({scrapeMotionValuesFromProps:t.i(18332).scrapeMotionValuesFromProps,createRenderState:c.createHtmlRenderState});t.s(["useHTMLVisualState",()=>d],79089);var m=t.i(20956);let p=h({scrapeMotionValuesFromProps:t.i(42894).scrapeMotionValuesFromProps,createRenderState:m.createSvgRenderState});t.s(["useSVGVisualState",()=>p],68222);var f=t.i(53669);function g(t){for(let e in t)f.featureDefinitions[e]={...f.featureDefinitions[e],...t[e]}}t.s(["loadFeatures",()=>g],85728);let v=Symbol.for("motionComponentSymbol");function y(t){return t&&"object"==typeof t&&Object.prototype.hasOwnProperty.call(t,"current")}function x(t,i,r){return(0,e.useCallback)(e=>{e&&t.onMount&&t.onMount(e),i&&(e?i.mount(e):i.unmount()),r&&("function"==typeof r?r(e):y(r)&&(r.current=e))},[i])}t.s(["motionComponentSymbol",()=>v],69111),t.s(["isRefObject",()=>y],12806),t.s(["useMotionRef",()=>x],84978)},58062,t=>{"use strict";let e="data-"+(0,t.i(25563).camelToDash)("framerAppearId");t.s(["optimizedAppearDataAttribute",()=>e])},90829,t=>{"use strict";let e=(0,t.i(98319).createContext)({});t.s(["SwitchLayoutGroupContext",()=>e])},32034,t=>{"use strict";var e=t.i(98319);let i=t.i(94553).isBrowser?e.useLayoutEffect:e.useEffect;t.s(["useIsomorphicLayoutEffect",()=>i])},5215,t=>{"use strict";t.i(3553);var e=t.i(93200),i=t.i(98319),r=t.i(31667),s=t.i(2318),n=t.i(88810),o=t.i(53432),a=t.i(14970),l=t.i(25903),u=t.i(77695),h=t.i(79089),c=t.i(68222),d=t.i(94553),m=t.i(53669),p=t.i(85728),f=t.i(69111),g=t.i(84978),v=t.i(58062),y=t.i(99517),x=t.i(90829),b=t.i(12806),w=t.i(32034);function T(t,{forwardMotionProps:P=!1}={},S,V){S&&(0,p.loadFeatures)(S);let k=(0,u.isSVGComponent)(t)?c.useSVGVisualState:h.useHTMLVisualState;function M(u,h){let c,p={...(0,i.useContext)(n.MotionConfigContext),...u,layoutId:function({layoutId:t}){let e=(0,i.useContext)(r.LayoutGroupContext).id;return e&&void 0!==t?e+"-"+t:t}(u)},{isStatic:f}=p,T=(0,a.useCreateMotionContext)(u),S=k(u,f);if(!f&&d.isBrowser){(0,i.useContext)(s.LazyContext).strict;let e=function(t){let{drag:e,layout:i}=m.featureDefinitions;if(!e&&!i)return{};let r={...e,...i};return{MeasureLayout:e?.isEnabled(t)||i?.isEnabled(t)?r.MeasureLayout:void 0,ProjectionNode:r.ProjectionNode}}
1(p);c=e.MeasureLayout,T.visualElement=function(t,e,r,a,l){let{visualElement:u}=(0,i.useContext)(o.MotionContext),h=(0,i.useContext)(s.LazyContext),c=(0,i.useContext)(y.PresenceContext),d=(0,i.useContext)(n.MotionConfigContext).reducedMotion,m=(0,i.useRef)(null);a=a||h.renderer,!m.current&&a&&(m.current=a(t,{visualState:e,parent:u,props:r,presenceContext:c,blockInitialAnimation:!!c&&!1===c.initial,reducedMotionConfig:d}));let p=m.current,f=(0,i.useContext)(x.SwitchLayoutGroupContext);p&&!p.projection&&l&&("html"===p.type||"svg"===p.type)&&function(t,e,i,r){let{layoutId:s,layout:n,drag:o,dragConstraints:a,layoutScroll:l,layoutRoot:u,layoutCrossfade:h}=e;t.projection=new i(t.latestValues,e["data-framer-portal-id"]?void 0:function t(e){if(e)return!1!==e.options.allowProjection?e.projection:t(e.parent)}(t.parent)),t.projection.setOptions({layoutId:s,layout:n,alwaysMeasureLayout:!!o||a&&(0,b.isRefObject)(a),visualElement:t,animationType:"string"==typeof n?n:"both",initialPromotionConfig:r,crossfade:h,layoutScroll:l,layoutRoot:u})}(m.current,r,l,f);let g=(0,i.useRef)(!1);(0,i.useInsertionEffect)(()=>{p&&g.current&&p.update(r,c)});let T=r[v.optimizedAppearDataAttribute],P=(0,i.useRef)(!!T&&!window.MotionHandoffIsComplete?.(T)&&window.MotionHasOptimisedAnimation?.(T));return(0,w.useIsomorphicLayoutEffect)(()=>{p&&(g.current=!0,window.MotionIsMounted=!0,p.updateFeatures(),p.scheduleRenderMicrotask(),P.current&&p.animationState&&p.animationState.animateChanges())}),(0,i.useEffect)(()=>{p&&(!P.current&&p.animationState&&p.animationState.animateChanges(),P.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(T)}),P.current=!1),p.enteringChildren=void 0)}),p}(t,S,p,V,e.ProjectionNode)}return(0,e.jsxs)(o.MotionContext.Provider,{value:T,children:[c&&T.visualElement?(0,e.jsx)(c,{visualElement:T.visualElement,...p}):null,(0,l.useRender)(t,u,(0,g.useMotionRef)(S,T.visualElement,h),S,f,P)]})}M.displayName=`motion.${"string"==typeof t?t:`create(${t.displayName??t.name??""})`}`;let A=(0,i.forwardRef)(M);return A[f.motionComponentSymbol]=t,A}function P(t,e){if("undefined"==typeof Proxy)return T;let i=new Map,r=(i,r)=>T(i,r,t,e);return new Proxy((t,e)=>r(t,e),{get:(s,n)=>"create"===n?r:(i.has(n)||i.set(n,T(n,void 0,t,e)),i.get(n))})}t.s(["createMotionProxy",()=>P],5215)},72933,t=>{"use strict";var e=t.i(69219);function i(t,i,r){let s=t.getProps();return(0,e.resolveVariantFromProps)(s,i,void 0!==r?r:s.custom,t)}t.s(["resolveVariant",()=>i])},65836,t=>{"use strict";function e(t,e){return t?.[e]??t?.default??t}t.s(["getValueTransition",()=>e])},98815,t=>{"use strict";let e=t=>Array.isArray(t);t.s(["isKeyframesTarget",()=>e])},50972,76517,t=>{"use strict";var e=t.i(34026),i=t.i(98815),r=t.i(72933);function s(t,s){let{transitionEnd:n={},transition:o={},...a}=(0,r.resolveVariant)(t,s)||{};for(let r in a={...a,...n}){var l;let s=(l=a[r],(0,i.isKeyframesTarget)(l)?l[l.length-1]||0:l);t.hasValue(r)?t.getValue(r).set(s):t.addValue(r,(0,e.motionValue)(s))}}t.s(["setTarget",()=>s],50972);var n=t.i(54912),o=t.i(38305);function a(t,e){let i=t.getValue("willChange");if((0,o.isMotionValue)(i)&&i.add)return i.add(e);if(!i&&n.MotionGlobalConfig.WillChange){let i=new n.MotionGlobalConfig.WillChange("auto");t.addValue("willChange",i),i.add(e)}}t.s(["addValueToWillChange",()=>a],76517)},568,92296,40746,t=>{"use strict";var e=t.i(58062);function i(t){return t.props[e.optimizedAppearDataAttribute]}function r(t){t.duration=0,t.type="keyframes"}t.s(["getOptimisedAppearId",()=>i],568),t.s(["makeAnimationInstant",()=>r],92296);let s=(t,e)=>i=>e(t(i)),n=(...t)=>t.reduce(s);t.s(["pipe",()=>n],40746)},67327,t=>{"use strict";let e=t=>1e3*t,i=t=>t/1e3;t.s(["millisecondsToSeconds",()=>i,"secondsToMilliseconds",()=>e])},40289,t=>{"use strict";let e={layout:0,mainThread:0,waapi:0};t.s(["activeAnimations",()=>e])},5082,40722,t=>{"use strict";var e=t.i(40746),i=t.i(48367),r=t.i(42210),s=t.i(68826),n=t.i(77149),o=t.i(1221),a=t.i(92573);function l(t,e,i){return(i<0&&(i+=1),i>1&&(i-=1),i<1/6)?t+(e-t)*6*i:i<.5?e:i<2/3?t+(e-t)*(2/3-i)*6:t}var u=t.i(67754);function h(t,e){return i=>i>0?e:t}var c=t.i(47480);let d=(t,e,i)=>{let r=t*t,s=i*(e*e-r)+r;return s<0?0:Math.sqrt(s)},m=[o.hex,u.rgba,a.hsla];function p(t){let e=m.find(e=>e.test(t));if((0,i.warning)(!!e,`'${t}' is not an animatable color. Use the equivalent color code instead.`,"color-not-animatable"),!e)return!1;let r=e.parse(t);return e===a.hsla&&(r=function({hue:t,saturation:e,lightness:i,alpha:r}){t/=360,i/=100;let s=0,n=0,o=0;if(e/=100){let r=i<.5?i*(1+e):i+e-i*e,a=2*i-r;s=l(a,r,t+1/3),n=l(a,r,t),o=l(a,r,t-1/3)}else s=n=o=i;return{red:Math.round(255*s),green:Math.round(255*n),blue:Math.round(255*o),alpha:r}}(r)),r}let f=(t,e)=>{let i=p(t),r=p(e);if(!i||!r)return h(t,e);let s={...i};return t=>(s.red=d(i.red,r.red,t),s.green=d(i.green,r.green,t),s.blue=d(i.blue,r.blue,t),s.alpha=(0,c.mixNumber)(i.alpha,r.alpha,t),u.rgba.transform(s))},g=new Set(["none","hidden"]);function v(t,e){return i=>(0,c.mixNumber)(t,e,i)}function y(t){return"number"==typeof t?v:"string"==typeof t?(0,r.isCSSVariableToken)(t)?h:s.color.test(t)?f:w:Array.isArray(t)?x:"object"==typeof t?s.color.test(t)?f:b:h}function x(t,e){let i=[...t],r=i.length,s=t.map((t,i)=>y(t)(t,e[i]));return t=>{for(let e=0;e<r;e++)i[e]=s[e](t);return i}}function b(t,e){let i={...t,...e},r={};for(let s in i)void 0!==t[s]&&void 0!==e[s]&&(r[s]=y(t[s])(t[s],e[s]));return t=>{for(let e in r)i[e]=r[e](t);return i}}let w=(t,r)=>{let s=n.complex.createTransformer(r),o=(0,n.analyseComplexValue)(t),a=(0,n.analyseComplexValue)(r);if(!(o.indexes.var.length===a.indexes.var.length&&o.indexes.color.length===a.indexes.color.length&&o.indexes.number.length>=a.indexes.number.length))return(0,i.warning)(!0,`Complex values '${t}' and '${r}
1' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`,"complex-values-different"),h(t,r);if(g.has(t)&&!a.values.length||g.has(r)&&!o.values.length)return g.has(t)?e=>e<=0?t:r:e=>e>=1?r:t;return(0,e.pipe)(x(function(t,e){let i=[],r={color:0,var:0,number:0};for(let s=0;s<e.values.length;s++){let n=e.types[s],o=t.indexes[n][r[n]],a=t.values[o]??0;i[s]=a,r[n]++}return i}(o,a),a.values),s)};function T(t,e,i){return"number"==typeof t&&"number"==typeof e&&"number"==typeof i?(0,c.mixNumber)(t,e,i):y(t)(t,e)}t.s(["mix",()=>T],5082);var P=t.i(24140),S=t.i(47248);let V=t=>{let e=({timestamp:e})=>t(e);return{start:(t=!0)=>S.frame.update(e,t),stop:()=>(0,S.cancelFrame)(e),now:()=>S.frameData.isProcessing?S.frameData.timestamp:P.time.now()}};t.s(["frameloopDriver",()=>V],40722)},82580,13581,96239,t=>{"use strict";let e=(t,e,i=10)=>{let r="",s=Math.max(Math.round(e/i),2);for(let e=0;e<s;e++)r+=Math.round(1e4*t(e/(s-1)))/1e4+", ";return`linear(${r.substring(0,r.length-2)})`};function i(t){let e=0,i=t.next(e);for(;!i.done&&e<2e4;)e+=50,i=t.next(e);return e>=2e4?1/0:e}t.s(["generateLinearEasing",()=>e],82580),t.s(["calcGeneratorDuration",()=>i,"maxGeneratorDuration",()=>2e4],13581);var r=t.i(67327);function s(t,e=100,n){let o=n({...t,keyframes:[0,e]}),a=Math.min(i(o),2e4);return{type:"keyframes",ease:t=>o.next(a*t).value/e,duration:(0,r.millisecondsToSeconds)(a)}}t.s(["createGeneratorEasing",()=>s],96239)},94418,30600,t=>{"use strict";var e=t.i(95153);function i(t,i,r){let s=Math.max(i-5,0);return(0,e.velocityPerSecond)(r-t(s),i-s)}t.s(["calcGeneratorVelocity",()=>i],94418);let r={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};t.s(["springDefaults",()=>r],30600)},98520,t=>{"use strict";var e=t.i(67327),i=t.i(83032),r=t.i(82580),s=t.i(13581),n=t.i(96239),o=t.i(94418),a=t.i(30600),l=t.i(48367);function u(t,e){return t*Math.sqrt(1-e*e)}let h=["duration","bounce"],c=["stiffness","damping","mass"];function d(t,e){return e.some(e=>void 0!==t[e])}function m(t=a.springDefaults.visualDuration,n=a.springDefaults.bounce){let p,f="object"!=typeof t?{visualDuration:t,keyframes:[0,1],bounce:n}:t,{restSpeed:g,restDelta:v}=f,y=f.keyframes[0],x=f.keyframes[f.keyframes.length-1],b={done:!1,value:y},{stiffness:w,damping:T,mass:P,duration:S,velocity:V,isResolvedFromDuration:k}=function(t){let r={velocity:a.springDefaults.velocity,stiffness:a.springDefaults.stiffness,damping:a.springDefaults.damping,mass:a.springDefaults.mass,isResolvedFromDuration:!1,...t};if(!d(t,c)&&d(t,h))if(t.visualDuration){let e=2*Math.PI/(1.2*t.visualDuration),s=e*e,n=2*(0,i.clamp)(.05,1,1-(t.bounce||0))*Math.sqrt(s);r={...r,mass:a.springDefaults.mass,stiffness:s,damping:n}}else{let s=function({duration:t=a.springDefaults.duration,bounce:r=a.springDefaults.bounce,velocity:s=a.springDefaults.velocity,mass:n=a.springDefaults.mass}){let o,h;(0,l.warning)(t<=(0,e.secondsToMilliseconds)(a.springDefaults.maxDuration),"Spring duration must be 10 seconds or less","spring-duration-limit");let c=1-r;c=(0,i.clamp)(a.springDefaults.minDamping,a.springDefaults.maxDamping,c),t=(0,i.clamp)(a.springDefaults.minDuration,a.springDefaults.maxDuration,(0,e.millisecondsToSeconds)(t)),c<1?(o=e=>{let i=e*c,r=i*t;return .001-(i-s)/u(e,c)*Math.exp(-r)},h=e=>{let i=e*c*t,r=Math.pow(c,2)*Math.pow(e,2)*t,n=Math.exp(-i),a=u(Math.pow(e,2),c);return(i*s+s-r)*n*(-o(e)+.001>0?-1:1)/a}):(o=e=>-.001+Math.exp(-e*t)*((e-s)*t+1),h=e=>t*t*(s-e)*Math.exp(-e*t));let d=function(t,e,i){let r=i;for(let i=1;i<12;i++)r-=t(r)/e(r);return r}(o,h,5/t);if(t=(0,e.secondsToMilliseconds)(t),isNaN(d))return{stiffness:a.springDefaults.stiffness,damping:a.springDefaults.damping,duration:t};{let e=Math.pow(d,2)*n;return{stiffness:e,damping:2*c*Math.sqrt(n*e),duration:t}}}(t);(r={...r,...s,mass:a.springDefaults.mass}).isResolvedFromDuration=!0}return r}({...f,velocity:-(0,e.millisecondsToSeconds)(f.velocity||0)}),M=V||0,A=T/(2*Math.sqrt(w*P)),D=x-y,C=(0,e.millisecondsToSeconds)(Math.sqrt(w/P)),E=5>Math.abs(D);if(g||(g=E?a.springDefaults.restSpeed.granular:a.springDefaults.restSpeed.default),v||(v=E?a.springDefaults.restDelta.granular:a.springDefaults.restDelta.default),A<1){let t=u(C,A);p=e=>x-Math.exp(-A*C*e)*((M+A*C*D)/t*Math.sin(t*e)+D*Math.cos(t*e))}else if(1===A)p=t=>x-Math.exp(-C*t)*(D+(M+C*D)*t);else{let t=C*Math.sqrt(A*A-1);p=e=>{let i=Math.exp(-A*C*e),r=Math.min(t*e,300);return x-i*((M+A*C*D)*Math.sinh(r)+t*D*Math.cosh(r))/t}}let R={calculatedDuration:k&&S||null,next:t=>{let i=p(t);if(k)b.done=t>=S;else{let r=0===t?M:0;A<1&&(r=0===t?(0,e.secondsToMilliseconds)(M):(0,o.calcGeneratorVelocity)(p,t,i));let s=Math.abs(x-i)<=v;b.done=Math.abs(r)<=g&&s}return b.value=b.done?x:i,b},toString:()=>{let t=Math.min((0,s.calcGeneratorDuration)(R),s.maxGeneratorDuration),e=(0,r.generateLinearEasing)(e=>R.next(t*e).value,t,30);return t+"ms "+e},toTransition:()=>{}};return R}m.applyToOptions=t=>{let i=(0,n.createGeneratorEasing)(t,100,m);return t.ease=i.ease,t.duration=(0,e.secondsToMilliseconds)(i.duration),t.type="keyframes",t},t.s(["spring",()=>m],98520)},64653,89873,29363,t=>{"use strict";var e=t.i(98520),i=t.i(94418);function r({keyframes:t,velocity:r=0,power:s=.8,timeConstant:n=325,bounceDamping:o=10,bounceStiffness:a=
1500,modifyTarget:l,min:u,max:h,restDelta:c=.5,restSpeed:d}){let m,p,f=t[0],g={done:!1,value:f},v=s*r,y=f+v,x=void 0===l?y:l(y);x!==y&&(v=x-f);let b=t=>-v*Math.exp(-t/n),w=t=>x+b(t),T=t=>{let e=b(t),i=w(t);g.done=Math.abs(e)<=c,g.value=g.done?x:i},P=t=>{let r;if(r=g.value,void 0!==u&&r<u||void 0!==h&&r>h){var s;m=t,p=(0,e.spring)({keyframes:[g.value,(s=g.value,void 0===u?h:void 0===h||Math.abs(u-s)<Math.abs(h-s)?u:h)],velocity:(0,i.calcGeneratorVelocity)(w,t,g.value),damping:o,stiffness:a,restDelta:c,restSpeed:d})}};return P(0),{calculatedDuration:null,next:t=>{let e=!1;return(p||void 0!==m||(e=!0,T(t),P(t)),void 0!==m&&t>=m)?p.next(t-m):(e||T(t),g)}}}t.s(["inertia",()=>r],64653);var s=t.i(75602);let n=(t,e,i)=>(((1-3*i+3*e)*t+(3*i-6*e))*t+3*e)*t;function o(t,e,i,r){return t===e&&i===r?s.noop:s=>0===s||1===s?s:n(function(t,e,i,r,s){let o,a,l=0;do(o=n(a=e+(i-e)/2,r,s)-t)>0?i=a:e=a;while(Math.abs(o)>1e-7&&++l<12)return a}(s,0,1,t,i),e,r)}t.s(["cubicBezier",()=>o],89873);let a=o(.42,0,1,1),l=o(0,0,.58,1),u=o(.42,0,.58,1);t.s(["easeIn",()=>a,"easeInOut",()=>u,"easeOut",()=>l],29363)},20085,t=>{"use strict";let e=t=>Array.isArray(t)&&"number"!=typeof t[0];t.s(["isEasingArray",()=>e])},47664,28696,86183,18744,94415,t=>{"use strict";var e=t.i(48367),i=t.i(75602),r=t.i(89873);let s=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2,n=t=>e=>1-t(1-e),o=(0,r.cubicBezier)(.33,1.53,.69,.99),a=n(o),l=s(a);t.s(["backIn",()=>a,"backInOut",()=>l,"backOut",()=>o],28696);let u=t=>(t*=2)<1?.5*a(t):.5*(2-Math.pow(2,-10*(t-1)));t.s(["anticipate",()=>u],86183);let h=t=>1-Math.sin(Math.acos(t)),c=n(h),d=s(h);t.s(["circIn",()=>h,"circInOut",()=>d,"circOut",()=>c],18744);var m=t.i(29363);let p=t=>Array.isArray(t)&&"number"==typeof t[0];t.s(["isBezierDefinition",()=>p],94415);let f={linear:i.noop,easeIn:m.easeIn,easeInOut:m.easeInOut,easeOut:m.easeOut,circIn:h,circInOut:d,circOut:c,backIn:a,backInOut:l,backOut:o,anticipate:u},g=t=>
1{if(p(t)){(0,e.invariant)(4===t.length,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");let[i,s,n,o]=t;return(0,r.cubicBezier)(i,s,n,o)}return"string"==typeof t?((0,e.invariant)(void 0!==f[t],`Invalid easing type '${t}'`,"invalid-easing-type"),f[t]):t};t.s(["easingDefinitionToFunction",()=>g],47664)},47113,t=>{"use strict";let e=(t,e,i)=>{let r=e-t;return 0===r?1:(i-t)/r};t.s(["progress",()=>e])},79126,t=>{"use strict";var e=t.i(48367),i=t.i(83032),r=t.i(54912),s=t.i(75602),n=t.i(40746),o=t.i(47113),a=t.i(5082);function l(t,u,{clamp:h=!0,ease:c,mixer:d}={}){let m=t.length;if((0,e.invariant)(m===u.length,"Both input and output ranges must be the same length","range-length"),1===m)return()=>u[0];if(2===m&&u[0]===u[1])return()=>u[1];let p=t[0]===t[1];t[0]>t[m-1]&&(t=[...t].reverse(),u=[...u].reverse());let f=function(t,e,i){let o=[],l=i||r.MotionGlobalConfig.mix||a.mix,u=t.length-1;for(let i=0;i<u;i++){let r=l(t[i],t[i+1]);if(e){let t=Array.isArray(e)?e[i]||s.noop:e;r=(0,n.pipe)(t,r)}o.push(r)}return o}(u,c,d),g=f.length,v=e=>{if(p&&e<t[0])return u[0];let i=0;if(g>1)for(;i<t.length-2&&!(e<t[i+1]);i++);let r=(0,o.progress)(t[i],t[i+1],e);return f[i](r)};return h?e=>v((0,i.clamp)(t[0],t[m-1],e)):v}t.s(["interpolate",()=>l])},68617,91649,t=>{"use strict";var e=t.i(47113),i=t.i(47480);function r(t,r){let s=t[t.length-1];for(let n=1;n<=r;n++){let o=(0,e.progress)(0,r,n);t.push((0,i.mixNumber)(s,1,o))}}function s(t){let e=[0];return r(e,t.length-1),e}t.s(["fillOffset",()=>r],91649),t.s(["defaultOffset",()=>s],68617)},63960,58449,33468,91332,t=>{"use strict";t.i(3553);var e=t.i(40746),i=t.i(83032),r=t.i(67327),s=t.i(24140),n=t.i(40289),o=t.i(5082),a=t.i(40722),l=t.i(64653),u=t.i(29363),h=t.i(20085),c=t.i(47664),d=t.i(79126),m=t.i(68617);function p({duration:t=300,keyframes:e,times:i,ease:r="easeInOut"}){var s;let n=(0,h.isEasingArray)(r)?r.map(c.easingDefinitionToFunction):(0,c.easingDefinitionToFunction)(r),o={done:!1,value:e[0]},a=(s=i&&i.length===e.length?i:(0,m.defaultOffset)(e),s.map(e=>e*t)),l=(0,d.interpolate)(a,e,{ease:Array.isArray(n)?n:e.map(()=>n||u.easeInOut).splice(0,e.length-1)});return{calculatedDuration:t,next:e=>(o.value=l(e),o.done=e>=t,o)}}var f=t.i(13581);let g=t=>null!==t;function v(t,{repeat:e,repeatType:i="loop"},r,s=1){let n=t.filter(g),o=s<0||e&&"loop"!==i&&e%2==1?0:n.length-1;return o&&void 0!==r?r:n[o]}t.s(["getFinalKeyframe",()=>v],58449);var y=t.i(98520);let x={decay:l.inertia,inertia:l.inertia,tween:p,keyframes:p,spring:y.spring};function b(t){"string"==typeof t.type&&(t.type=x[t.type])}t.s(["replaceTransitionType",()=>b],33468);class w{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(t=>{this.resolve=t})}notifyFinished(){this.resolve()}then(t,e){return this.finished.then(t,e)}}t.s(["WithPromise",()=>w],91332);let T=t=>t/100;class P extends w{constructor(t){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{let{motionValue:t}=this.options;t&&t.updatedAt!==s.time.now()&&this.tick(s.time.now()),this.isStopped=!0,"idle"!==this.state&&(this.teardown(),this.options.onStop?.())},n.activeAnimations.mainThread++,this.options=t,this.initAnimation(),this.play(),!1===t.autoplay&&this.pause()}initAnimation(){let{options:t}=this;b(t);let{type:i=p,repeat:r=0,repeatDelay:s=0,repeatType:n,velocity:a=0}=t,{keyframes:l}=t,u=i||p;u!==p&&"number"!=typeof l[0]&&(this.mixKeyframes=(0,e.pipe)(T,(0,o.mix)(l[0],l[1])),l=[0,100]);let h=u({...t,keyframes:l});"mirror"===n&&(this.mirroredGenerator=u({...t,keyframes:[...l].reverse(),velocity:-a})),null===h.calculatedDuration&&(h.calculatedDuration=(0,f.calcGeneratorDuration)(h));let{calculatedDuration:c}=h;this.calculatedDuration=c,this.resolvedDuration=c+s,this.totalDuration=this.resolvedDuration*(r+1)-s,this.generator=h}updateTime(t){let e=Math.round(t-this.startTime)*this.playbackSpeed;null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=e}tick(t,e=!1){let{generator:r,totalDuration:s,mixKeyframes:n,mirroredGenerator:o,resolvedDuration:a,calculatedDuration:u}=this;if(null===this.startTime)return r.next(0);
1let{delay:h=0,keyframes:c,repeat:d,repeatType:m,repeatDelay:p,type:f,onUpdate:g,finalKeyframe:y}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-s/this.speed,this.startTime)),e?this.currentTime=t:this.updateTime(t);let x=this.currentTime-h*(this.playbackSpeed>=0?1:-1),b=this.playbackSpeed>=0?x<0:x>s;this.currentTime=Math.max(x,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=s);let w=this.currentTime,T=r;if(d){let t=Math.min(this.currentTime,s)/a,e=Math.floor(t),r=t%1;!r&&t>=1&&(r=1),1===r&&e--,(e=Math.min(e,d+1))%2&&("reverse"===m?(r=1-r,p&&(r-=p/a)):"mirror"===m&&(T=o)),w=(0,i.clamp)(0,1,r)*a}let P=b?{done:!1,value:c[0]}:T.next(w);n&&(P.value=n(P.value));let{done:S}=P;b||null===u||(S=this.playbackSpeed>=0?this.currentTime>=s:this.currentTime<=0);let V=null===this.holdTime&&("finished"===this.state||"running"===this.state&&S);return V&&f!==l.inertia&&(P.value=v(c,this.options,y,this.speed)),g&&g(P.value),V&&this.finish(),P}then(t,e){return this.finished.then(t,e)}get duration(){return(0,r.millisecondsToSeconds)(this.calculatedDuration)}get iterationDuration(){let{delay:t=0}=this.options||{};return this.duration+(0,r.millisecondsToSeconds)(t)}get time(){return(0,r.millisecondsToSeconds)(this.currentTime)}set time(t){t=(0,r.secondsToMilliseconds)(t),this.currentTime=t,null===this.startTime||null!==this.holdTime||0===this.playbackSpeed?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.playbackSpeed),this.driver?.start(!1)}get speed(){return this.playbackSpeed}set speed(t){this.updateTime(s.time.now());let e=this.playbackSpeed!==t;this.playbackSpeed=t,e&&(this.time=(0,r.millisecondsToSeconds)(this.currentTime))}play(){if(this.isStopped)return;let{driver:t=a.frameloopDriver,startTime:e}=this.options;this.driver||(this.driver=t(t=>this.tick(t))),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=e??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(s.time.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,n.activeAnimations.mainThread--}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}attachTimeline(t){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),t.observe(this)}}t.s(["JSAnimation",()=>P],63960)},40248,38212,15965,32806,99834,t=>{"use strict";let e;function i(t,e,i){e.startsWith("--")?t.style.setProperty(e,i):t.style[e]=i}function r(t){let e;return()=>(void 0===e&&(e=t()),e)}t.s(["setStyle",()=>i],40248),t.s(["memo",()=>r],38212);let s=r(()=>void 0!==window.ScrollTimeline);t.s(["supportsScrollTimeline",()=>s],15965);var n=t.i(40289),o=t.i(80124),a=t.i(94415);let l={},u=(e=r(()=>{try{document.createElement("div").animate({opacity:0}
1,{easing:"linear(0, 1)"})}catch(t){return!1}return!0}),()=>l.linearEasing??e());t.s(["supportsLinearEasing",()=>u],32806);var h=t.i(82580);let c=([t,e,i,r])=>`cubic-bezier(${t}, ${e}, ${i}, ${r})`,d={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:c([0,.65,.55,1]),circOut:c([.55,0,1,.45]),backIn:c([.31,.01,.66,-.59]),backOut:c([.33,1.53,.69,.99])};function m(t,e,i,{delay:r=0,duration:s=300,repeat:l=0,repeatType:p="loop",ease:f="easeOut",times:g}={},v){let y={[e]:i};g&&(y.offset=g);let x=function t(e,i){if(e)return"function"==typeof e?u()?(0,h.generateLinearEasing)(e,i):"ease-out":(0,a.isBezierDefinition)(e)?c(e):Array.isArray(e)?e.map(e=>t(e,i)||d.easeOut):d[e]}(f,s);Array.isArray(x)&&(y.easing=x),o.statsBuffer.value&&n.activeAnimations.waapi++;let b={delay:r,duration:s,easing:Array.isArray(x)?"linear":x,fill:"both",iterations:l+1,direction:"reverse"===p?"alternate":"normal"};v&&(b.pseudoElement=v);let w=t.animate(y,b);return o.statsBuffer.value&&w.finished.finally(()=>{n.activeAnimations.waapi--}),w}t.s(["startWaapiAnimation",()=>m],99834)},161,t=>{"use strict";function e(t){return"function"==typeof t&&"applyToOptions"in t}t.s(["isGenerator",()=>e])},1590,1298,t=>{"use strict";var e=t.i(65836),i=t.i(47248),r=t.i(44948),s=t.i(50972),n=t.i(76517),o=t.i(568),a=t.i(92296),l=t.i(63960),u=t.i(54912),h=t.i(75602),c=t.i(24140),d=t.i(58449),m=t.i(83582),p=t.i(67327),f=t.i(48367),g=t.i(40248),v=t.i(15965),y=t.i(91332),x=t.i(99834),b=t.i(32806),w=t.i(161);class T extends y.WithPromise{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,!t)return;const{element:e,name:i,keyframes:r,pseudoElement:s,allowFlatten:n=!1,finalKeyframe:o,onComplete:a}=t;this.isPseudoElement=!!s,this.allowFlatten=n,this.options=t,(0,f.invariant)("string"!=typeof t.type,'Mini animate() doesn\'t support "type" as a string.',"mini-spring");const l=function({type:t,...e}){return(0,w.isGenerator)(t)&&(0,b.supportsLinearEasing)()?t.applyToOptions(e):(e.duration??(e.duration=300),e.ease??(e.ease="easeOut"),e)}(t);this.animation=(0,x.startWaapiAnimation)(e,i,r,l,s),!1===l.autoplay&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!s){let t=(0,d.getFinalKeyframe)(r,this.options,o,this.speed);this.updateMotionValue?this.updateMotionValue(t):(0,g.setStyle)(e,i,t),this.animation.cancel()}a?.(),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(t){}}stop(){if(this.isStopped)return;this.isStopped=!0;let{state:t}=this;"idle"!==t&&"finished"!==t&&(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){this.isPseudoElement||this.animation.commitStyles?.()}get duration(){let t=this.animation.effect?.getComputedTiming?.().duration||0;return(0,p.millisecondsToSeconds)(Number(t))}get iterationDuration(){let{delay:t=0}=this.options||{};return this.duration+(0,p.millisecondsToSeconds)(t)}get time(){return(0,p.millisecondsToSeconds)(Number(this.animation.currentTime)||0)}set time(t){this.finishedTime=null,this.animation.currentTime=(0,p.secondsToMilliseconds)(t)}get speed(){return this.animation.playbackRate}set speed(t){t<0&&(this.finishedTime=null),this.animation.playbackRate=t}get state(){return null!==this.finishedTime?"finished":this.animation.playState}get startTime(){return Number(this.animation.startTime)}set startTime(t){this.animation.startTime=t}attachTimeline({timeline:t,observe:e}){return(this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,t&&(0,v.supportsScrollTimeline)())?(this.animation.timeline=t,h.noop):e(this)}}var P=t.i(33468),S=t.i(86183),V=t.i(28696),k=t.i(18744);let M={anticipate:S.anticipate,backInOut:V.backInOut,circInOut:k.circInOut};class A extends T{constructor(t){!function(t){"string"==typeof t.ease&&t.ease in M&&(t.ease=M[t.ease])}(t),(0,P.replaceTransitionType)(t),super(t),t.startTime&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){let{motionValue:e,onUpdate:i,onComplete:r,element:s,...n}=this.options;if(!e)return;if(void 0!==t)return void e.set(t);let o=new l.JSAnimation({...n,autoplay:!1}),a=(0,p.secondsToMilliseconds)(this.finishedTime??this.time);e.setWithVelocity(o.sample(a-10).value,o.sample(a).value,10),o.stop()}}
1var D=t.i(77149);let C=(t,e)=>"zIndex"!==e&&!!("number"==typeof t||Array.isArray(t)||"string"==typeof t&&(D.complex.test(t)||"0"===t)&&!t.startsWith("url("));var E=y,R=t.i(38212);let B=new Set(["opacity","clipPath","filter","transform"]),L=(0,R.memo)(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));class j extends E.WithPromise{constructor({autoplay:t=!0,delay:e=0,type:i="keyframes",repeat:r=0,repeatDelay:s=0,repeatType:n="loop",keyframes:o,name:a,motionValue:l,element:u,...h}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=c.time.now();const d={autoplay:t,delay:e,type:i,repeat:r,repeatDelay:s,repeatType:n,name:a,motionValue:l,element:u,...h},p=u?.KeyframeResolver||m.KeyframeResolver;this.keyframeResolver=new p(o,(t,e,i)=>this.onKeyframesResolved(t,e,d,!i),a,l,u),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(t,e,i,r){this.keyframeResolver=void 0;let{name:s,type:n,velocity:o,delay:m,isHandoff:p,onUpdate:g}=i;this.resolvedAt=c.time.now(),!function(t,e,i,r){let s=t[0];if(null===s)return!1;if("display"===e||"visibility"===e)return!0;let n=t[t.length-1],o=C(s,e),a=C(n,e);return(0,f.warning)(o===a,`You are trying to animate ${e} from "${s}" to "${n}". "${o?n:s}" is not an animatable value.`,"value-not-animatable"),!!o&&!!a&&(function(t){let e=t[0];if(1===t.length)return!0;for(let i=0;i<t.length;i++)if(t[i]!==e)return!0}(t)||("spring"===i||(0,w.isGenerator)(i))&&r)}(t,s,n,o)&&((u.MotionGlobalConfig.instantAnimations||!m)&&g?.((0,d.getFinalKeyframe)(t,i,e)),t[0]=t[t.length-1],(0,a.makeAnimationInstant)(i),i.repeat=0);let v={startTime:r?this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt:void 0,finalKeyframe:e,...i,keyframes:t},y=!p&&function(t){let{motionValue:e,name:i,repeatDelay:r,repeatType:s,damping:n,type:o}=t;if(!(e?.owner?.current instanceof HTMLElement))return!1;let{onUpdate:a,transformTemplate:l}=e.owner.getProps();return L()&&i&&B.has(i)&&("transform"!==i||!l)&&!a&&!r&&"mirror"!==s&&0!==n&&"inertia"!==o}(v)?new A({...v,element:v.motionValue.owner.current}):new l.JSAnimation(v);y.finished.then(()=>this.notifyFinished()).catch(h.noop),this.pendingTimeline&&(this.stopTimeline=y.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=y}get finished(){return this._animation?this.animation.finished:this._finished}then(t,e){return this.finished.finally(t).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),(0,m.flushKeyframeResolvers)()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(t){this.animation.time=t}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(t){this.animation.speed=t}get startTime(){return this.animation.startTime}attachTimeline(t){return this._animation?this.stopTimeline=this.animation.attachTimeline(t):this.pendingTimeline=t,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}let F=t=>null!==t;var O=t.i(29859);let I={type:"spring",stiffness:500,damping:25,restSpeed:10},N={type:"keyframes",duration:.8},z={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},U=(t,r,s,n={},o,h)=>c=>{let d=(0,e.getValueTransition)(n,t)||{},m=d.delay||n.delay||0,{elapsed:f=0}=n;f-=(0,p.secondsToMilliseconds)(m);let g={keyframes:Array.isArray(s)?s:[null,s],ease:"easeOut",velocity:r.getVelocity(),...d,delay:-f,onUpdate:t=>{r.set(t),d.onUpdate&&d.onUpdate(t)},onComplete:()=>{c(),d.onComplete&&d.onComplete()},name:t,motionValue:r,element:h?void 0:o};!function({when:t,delay:e,delayChildren:i,staggerChildren:r,staggerDirection:s,repeat:n,repeatType:o,repeatDelay:a,from:l,elapsed:u,...h}){return!!Object.keys(h).length}(d)&&Object.assign(g,((t,{keyframes:e})=>e.length>2?N:O.transformProps.has(t)?t.startsWith("scale")?{type:"spring",stiffness:550,damping:0===e[1]?2*Math.sqrt(550):30,restSpeed:10}:I:z)(t,g)),g.duration&&(g.duration=(0,p.secondsToMilliseconds)(g.duration)),g.repeatDelay&&(g.repeatDelay=(0,p.secondsToMilliseconds)(g.repeatDelay)),void 0!==g.from&&(g.keyframes[0]=g.from);let v=!1;if(!1!==g.type&&(0!==g.duration||g.repeatDelay)||((0,a.makeAnimationInstant)(g),0===g.delay&&(v=!0)),(u.MotionGlobalConfig.instantAnimations||u.MotionGlobalConfig.skipAnimations)&&(v=!0,(0,a.makeAnimationInstant)(g),g.delay=0),g.allowFlatten=!d.type&&!d.ease,v&&!h&&void 0!==r.get()){let t=function(t,{repeat:e,repeatType:i="loop"},r){let s=t.filter(F),n=e&&"loop"!==i&&e%2==1?0:s.length-1;return s[n]}(g.keyframes,d);if(void 0!==t)return void i.frame.update(()=>{g.onUpdate(t),g.onComplete()})}return d.isSync?new l.JSAnimation(g):new j(g)};function G(t,a,{delay:l=0,transitionOverride:u,type:h}={}){let{transition:c=t.getDefaultTransition(),transitionEnd:d,...m}=a;u&&(c=u);let p=[],f=h&&t.animationState&&t.animationState.getState()[h];for(let s in m){let a=t.getValue(s,t.latestValues[s]??null),u=m[s];if(void 0===u||f&&function({protectedKeys:t,needsAnimating:e},i){let r=t.hasOwnProperty(i)&&!0!==e[i];return e[i]=!1,r}(f,s))continue;let h={delay:l,...(0,e.getValueTransition)(c||{},s)},d=a.get();
1if(void 0!==d&&!a.isAnimating&&!Array.isArray(u)&&u===d&&!h.velocity)continue;let g=!1;if(window.MotionHandoffAnimation){let e=(0,o.getOptimisedAppearId)(t);if(e){let t=window.MotionHandoffAnimation(e,s,i.frame);null!==t&&(h.startTime=t,g=!0)}}(0,n.addValueToWillChange)(t,s),a.start(U(s,a,u,t.shouldReduceMotion&&r.positionalKeys.has(s)?{type:!1}:h,t,g));let v=a.animation;v&&p.push(v)}return d&&Promise.all(p).then(()=>{i.frame.update(()=>{d&&(0,s.setTarget)(t,d)})}),p}t.s(["animateMotionValue",()=>U],1298),t.s(["animateTarget",()=>G],1590)},22571,81822,10681,78769,55450,30487,2005,47671,56092,7748,t=>{"use strict";var e=t.i(40889),i=t.i(72933),r=t.i(1590);function s(t,e,i,r=0,n=1){let o=Array.from(t).sort((t,e)=>t.sortNodePosition(e)).indexOf(e),a=t.size,l=(a-1)*r;return"function"==typeof i?i(o,a):1===n?o*r:l-o*r}function n(t,e,o={}){let a=(0,i.resolveVariant)(t,e,"exit"===o.type?t.presenceContext?.custom:void 0),{transition:l=t.getDefaultTransition()||{}}=a||{};o.transitionOverride&&(l=o.transitionOverride);let u=a?()=>Promise.all((0,r.animateTarget)(t,a,o)):()=>Promise.resolve(),h=t.variantChildren&&t.variantChildren.size?(i=0)=>{let{delayChildren:r=0,staggerChildren:a,staggerDirection:u}=l;return function(t,e,i=0,r=0,o=0,a=1,l){let u=[];for(let h of t.variantChildren)h.notify("AnimationStart",e),u.push(n(h,e,{...l,delay:i+("function"==typeof r?0:r)+s(t.variantChildren,h,r,o,a)}).then(()=>h.notify("AnimationComplete",e)));return Promise.all(u)}(t,e,i,r,a,u,o)}:()=>Promise.resolve(),{when:c}=l;if(!c)return Promise.all([u(),h(o.delay)]);{let[t,e]="beforeChildren"===c?[u,h]:[h,u];return t().then(()=>e())}}var o=t.i(98815);function a(t,e){if(!Array.isArray(e))return!1;let i=e.length;if(i!==t.length)return!1;for(let r=0;r<i;r++)if(e[r]!==t[r])return!1;return!0}var l=t.i(47563),u=t.i(44753);let h=u.variantProps.length,c=[...u.variantPriorityOrder].reverse(),d=u.variantPriorityOrder.length;function m(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function p(){return{animate:m(!0),whileInView:m(),whileHover:m(),whileTap:m(),whileDrag:m(),whileFocus:m(),exit:m()}}class f{constructor(t){this.isMounted=!1,this.node=t}update(){}}t.s(["Feature",()=>f],81822);let g=0,v={animation:{Feature:class extends f{constructor(t){super(t),t.animationState||(t.animationState=function(t){let m=e=>Promise.all(e.map(({animation:e,options:s})=>(function(t,e,s={}){let o;if(t.notify("AnimationStart",e),Array.isArray(e))o=Promise.all(e.map(e=>n(t,e,s)));else if("string"==typeof e)o=n(t,e,s);else{let n="function"==typeof e?(0,i.resolveVariant)(t,e,s.custom):e;o=Promise.all((0,r.animateTarget)(t,n,s))}return o.then(()=>{t.notify("AnimationComplete",e)})})(t,e,s))),f=p(),g=!0,v=e=>(r,s)=>{let n=(0,i.resolveVariant)(t,s,"exit"===e?t.presenceContext?.custom:void 0);if(n){let{transition:t,transitionEnd:e,...i}=n;r={...r,...i,...e}}return r};function y(r){let{props:n}=t,p=function t(e){if(!e)return;if(!e.isControllingVariants){let i=e.parent&&t(e.parent)||{};return void 0!==e.props.initial&&(i.initial=e.props.initial),i}let i={};for(let t=0;t<h;t++){let r=u.variantProps[t],s=e.props[r];((0,l.isVariantLabel)(s)||!1===s)&&(i[r]=s)}return i}(t.parent)||{},y=[],x=new Set,b={},w=1/0;for(let u=0;u<d;u++){var T,P;let h=c[u],d=f[h],m=void 0!==n[h]?n[h]:p[h],S=(0,l.isVariantLabel)(m),V=h===r?d.isActive:null;!1===V&&(w=u);let k=m===p[h]&&m!==n[h]&&S;if(k&&g&&t.manuallyAnimateOnMount&&(k=!1),d.protectedKeys={...b},!d.isActive&&null===V||!m&&!d.prevProp||(0,e.isAnimationControls)(m)||"boolean"==typeof m)continue;let M=(T=d.prevProp,"string"==typeof(P=m)?P!==T:!!Array.isArray(P)&&!a(P,T)),A=M||h===r&&d.isActive&&!k&&S||u>w&&S,D=!1,C=Array.isArray(m)?m:[m],E=C.reduce(v(h),{});!1===V&&(E={});let{prevResolvedValues:R={}}=d,B={...R,...E},L=e=>{A=!0,x.has(e)&&(D=!0,x.delete(e)),d.needsAnimating[e]=!0;let i=t.getValue(e);i&&(i.liveStyle=!1)};for(let t in B){let e=E[t],i=R[t];if(!b.hasOwnProperty(t))((0,o.isKeyframesTarget)(e)&&(0,o.isKeyframesTarget)(i)?a(e,i):e===i)?void 0!==e&&x.has(t)?L(t):d.protectedKeys[t]=!0:null!=e?L(t):x.add(t)}d.prevProp=m,d.prevResolvedValues=E,d.isActive&&(b={...b,...E}),g&&t.blockInitialAnimation&&(A=!1);let j=k&&M,F=!j||D;A&&F&&y.push(...C.map(e=>{let r={type:h};if("string"==typeof e&&g&&!j&&t.manuallyAnimateOnMount&&t.parent){let{parent:n}=t,o=(0,i.resolveVariant)(n,e);if(n.enteringChildren&&o){let{delayChildren:e}=o.transition||{};r.delay=s(n.enteringChildren,t,e)}}return{animation:e,options:r}}))}if(x.size){let e={};if("boolean"!=typeof n.initial){let r=(0,i.resolveVariant)(t,Array.isArray(n.initial)?n.initial[0]:n.initial);r&&r.transition&&(e.transition=r.transition)}
1x.forEach(i=>{let r=t.getBaseTarget(i),s=t.getValue(i);s&&(s.liveStyle=!0),e[i]=r??null}),y.push({animation:e})}let S=!!y.length;return g&&(!1===n.initial||n.initial===n.animate)&&!t.manuallyAnimateOnMount&&(S=!1),g=!1,S?m(y):Promise.resolve()}return{animateChanges:y,setActive:function(e,i){if(f[e].isActive===i)return Promise.resolve();t.variantChildren?.forEach(t=>t.animationState?.setActive(e,i)),f[e].isActive=i;let r=y(e);for(let t in f)f[t].protectedKeys={};return r},setAnimateFunction:function(e){m=e(t)},getState:()=>f,reset:()=>{f=p(),g=!0}}}(t))}updateAnimationControlsSubscription(){let{animate:t}=this.node.getProps();(0,e.isAnimationControls)(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:t}=this.node.getProps(),{animate:e}=this.node.prevProps||{};t!==e&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}},exit:{Feature:class extends f{constructor(){super(...arguments),this.id=g++}update(){if(!this.node.presenceContext)return;let{isPresent:t,onExitComplete:e}=this.node.presenceContext,{isPresent:i}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===i)return;let r=this.node.animationState.setActive("exit",!t);e&&!t&&r.then(()=>{e(this.id)})}mount(){let{register:t,onExitComplete:e}=this.node.presenceContext||{};
1e&&e(this.id),t&&(this.unmount=t(this.id))}unmount(){}}}};t.s(["animations",()=>v],22571);var y=t.i(75602),x=t.i(47248),b=t.i(47480);let w={x:!1,y:!1};function T(){return w.x||w.y}t.s(["isDragActive",()=>T,"isDragging",()=>w],10681);var P=t.i(21365),S=t.i(48367),V=t.i(1298);function k(t,e,i,r={passive:!0}){return t.addEventListener(e,i,r),()=>t.removeEventListener(e,i)}t.s(["addDomEvent",()=>k],78769);let M=t=>"mouse"===t.pointerType?"number"!=typeof t.button||t.button<=0:!1!==t.isPrimary;function A(t){return{point:{x:t.pageX,y:t.pageY}}}t.s(["isPrimaryPointer",()=>M],55450);let D=t=>e=>M(e)&&t(e,A(e));function C(t,e,i,r){return k(t,e,D(i),r)}t.s(["addPointerInfo",()=>D,"extractEventInfo",()=>A],30487);var E=t.i(38622);function R(t){return t.max-t.min}function B(t,e,i){return Math.abs(t-e)<=i}function L(t,e,i,r=.5){t.origin=r,t.originPoint=(0,b.mixNumber)(e.min,e.max,t.origin),t.scale=R(i)/R(e),t.translate=(0,b.mixNumber)(i.min,i.max,t.origin)-t.originPoint,(t.scale>=.9999&&t.scale<=1.0001||isNaN(t.scale))&&(t.scale=1),(t.translate>=-.01&&t.translate<=.01||isNaN(t.translate))&&(t.translate=0)}function j(t,e,i,r){L(t.x,e.x,i.x,r?r.originX:void 0),L(t.y,e.y,i.y,r?r.originY:void 0)}function F(t,e,i){t.min=i.min+e.min,t.max=t.min+R(e)}function O(t,e,i){F(t.x,e.x,i.x),F(t.y,e.y,i.y)}function I(t,e,i){t.min=e.min-i.min,t.max=t.min+R(e)}function N(t,e,i){I(t.x,e.x,i.x),I(t.y,e.y,i.y)}t.s(["calcBoxDelta",()=>j,"calcLength",()=>R,"calcRelativeBox",()=>O,"calcRelativePosition",()=>N,"isNear",()=>B],2005);var z=t.i(2841);function U(t){return[t("x"),t("y")]}t.s(["eachAxis",()=>U],47671);var G=t.i(57154);let W=({current:t})=>t?t.ownerDocument.defaultView:null;var $=t.i(12806),H=t.i(76517),K=t.i(40746),Y=t.i(67327);let X=(t,e)=>Math.abs(t-e);class q{constructor(t,e,{transformPagePoint:i,contextWindow:r=window,dragSnapToOrigin:s=!1,distanceThreshold:n=3}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{var t,e;if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let i=J(this.lastMoveEventInfo,this.history),r=null!==this.startEvent,s=(t=i.offset,e={x:0,y:0},Math.sqrt(X(t.x,e.x)**2+X(t.y,e.y)**2)>=this.distanceThreshold);if(!r&&!s)return;let{point:n}=i,{timestamp:o}=x.frameData;this.history.push({...n,timestamp:o});let{onStart:a,onMove:l}=this.handlers;r||(a&&a(this.lastMoveEvent,i),this.startEvent=this.lastMoveEvent),l&&l(this.lastMoveEvent,i)},this.handlePointerMove=(t,e)=>{this.lastMoveEvent=t,this.lastMoveEventInfo=_(e,this.transformPagePoint),x.frame.update(this.updatePoint,!0)},this.handlePointerUp=(t,e)=>{this.end();let{onEnd:i,onSessionEnd:r,resumeAnimation:s}=this.handlers;if(this.dragSnapToOrigin&&s&&s(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let n=J("pointercancel"===t.type?this.lastMoveEventInfo:_(e,this.transformPagePoint),this.history);this.startEvent&&i&&i(t,n),r&&r(t,n)},!M(t))return;this.dragSnapToOrigin=s,this.handlers=e,this.transformPagePoint=i,this.distanceThreshold=n,this.contextWindow=r||window;const o=_(A(t),this.transformPagePoint),{point:a}=o,{timestamp:l}=x.frameData;this.history=[{...a,timestamp:l}];const{onSessionStart:u}=e;u&&u(t,J(o,this.history)),this.removeListeners=(0,K.pipe)(C(this.contextWindow,"pointermove",this.handlePointerMove),C(this.contextWindow,"pointerup",this.handlePointerUp),C(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),(0,x.cancelFrame)(this.updatePoint)}}function _(t,e){return e?{point:e(t.point)}:t}function Z(t,e){return{x:t.x-e.x,y:t.y-e.y}}function J({point:t},e){return{point:t,delta:Z(t,Q(e)),offset:Z(t,e[0]),velocity:function(t,e){if(t.length<2)return{x:0,y:0};let i=t.length-1,r=null,s=Q(t);for(;i>=0&&(r=t[i],!(s.timestamp-r.timestamp>(0,Y.secondsToMilliseconds)(.1)));)i--;if(!r)return{x:0,y:0};let n=(0,Y.millisecondsToSeconds)(s.timestamp-r.timestamp);if(0===n)return{x:0,y:0};let o={x:(s.x-r.x)/n,y:(s.y-r.y)/n};return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}(e,.1)}}function Q(t){return t[t.length-1]}var tt=t.i(47113),te=t.i(83032);function ti(t,e,i){return{min:void 0!==e?t.min+e:void 0,max:void 0!==i?t.max+i-(t.max-t.min):void 0}}function tr(t,e){let i=e.min-t.min,r=e.max-t.max;return e.max-e.min<t.max-t.min&&([i,r]=[r,i]),{min:i,max:r}}function ts(t,e,i){return{min:tn(t,e),max:tn(t,i)}}function tn(t,e){return"number"==typeof t?t:t[e]||0}let to=new WeakMap;class ta{constructor(t){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=(0,z.createBox)(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=t}start(t,{snapToCursor:e=!1,distanceThreshold:i}={}){let{presenceContext:r}=this.visualElement;if(r&&!1===r.isPresent)return;let s=t=>{let{dragSnapToOrigin:i}=this.getProps();i?this.pauseAnimation():this.stopAnimation(),e&&this.snapToCursor(A(t).point)},n=(t,e)=>{let{drag:i,dragPropagation:r,onDragStart:s}=this.getProps();if(i&&!r&&(this.openDragLock&&this.openDragLock(),this.openDragLock=function(t){if("x"===t||"y"===t)if(w[t])return null;else return w[t]=!0,()=>{w[t]=!1};return w.x||w.y?null:(w.x=w.y=!0,()=>{w.x=w.y=!1})}(i),!this.openDragLock))return;this.latestPointerEvent=t,this.latestPanInfo=e,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),U(t=>{let e=this.getAxisMotionValue(t).get()||0;if(P.percent.test(e)){let{projection:i}=this.visualElement;if(i&&i.layout){let r=i.layout.layoutBox[t];r&&(e=R(r)*(parseFloat(e)/100))}}this.originPoint[t]=e}),s&&x.frame.postRender(()=>s(t,e)),(0,H.addValueToWillChange)(this.visualElement,"transform");let{animationState:n}=this.visualElement;n&&n.setActive("whileDrag",!0)},o=(t,e)=>{this.latestPointerEvent=t,this.latestPanInfo=e;let{dragPropagation:i,dragDirectionLock:r,onDirectionLock:s,onDrag:n}=this.getProps();if(!i&&!this.openDragLock)return;let{offset:o}=e;if(r&&null===this.currentDirection){this.currentDirection=function(t,e=10){let i=null;return Math.abs(t.y)>e?i="y":Math.abs(t.x)>e&&(i="x"),i}(o),null!==this.currentDirection&&s&&s(this.currentDirection);return}this.updateAxis("x",e.point,o),this.updateAxis("y",e.point,o),this.visualElement.render(),n&&n(t,e)},a=(t,e)=>{this.latestPointerEvent=t,this.latestPanInfo=e,this.stop(t,e),this.latestPointerEvent=null,this.latestPanInfo=null},l=()=>U(t=>"paused"===this.getAnimationState(t)&&this.getAxisMotionValue(t).animation?.play()),{dragSnapToOrigin:u}=this.getProps();this.panSession=new q(t,{onSessionStart:s,onStart:n,onMove:o,onSessionEnd:a,resumeAnimation:l},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:u,distanceThreshold:i,contextWindow:W(this.visualElement)})}stop(t,e){let i=t||this.latestPointerEvent,r=e||this.latestPanInfo,s=this.isDragging;if(this.cancel(),!s||!r||!i)return;let{velocity:n}=r;this.startAnimation(n);let{onDragEnd:o}=this.getProps();o&&x.frame.postRender(()=>o(i,r))}cancel(){this.isDragging=!1;let{projection:t,animationState:e}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;let{dragPropagation:i}=this.getProps();!i&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),e&&e.setActive("whileDrag",!1)}updateAxis(t,e,i){let{drag:r}=this.getProps();if(!i||!tl(t,r,this.currentDirection))return;let s=this.getAxisMotionValue(t),n=this.originPoint[t]+i[t];this.constraints&&this.constraints[t]&&(n=function(t,{min:e,max:i},r){return void 0!==e&&t<e?t=r?(0,b.mixNumber)(e,t,r.min):Math.max(t,e):void 0!==i&&t>i&&(t=r?(0,b.mixNumber)(i,t,r.max):Math.min(t,i)),t}(n,this.constraints[t],this.elastic[t])),s.set(n)}resolveConstraints(){let{dragConstraints:t,dragElastic:e}=this.getProps(),i=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,r=this.constraints;t&&(0,$.isRefObject)(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&i?this.constraints=function(t,{top:e,left:i,bottom:r,right:s}){return{x:ti(t.x,i,s),y:ti(t.y,e,r)}}(i.layoutBox,t):this.constraints=!1,this.elastic=function(t=.35){return!1===t?t=0:!0===t&&(t=.35),{x:ts(t,"left","right"),y:ts(t,"top","bottom")}}(e),r!==this.constraints&&i&&this.constraints&&!this.hasMutatedConstraints&&U(t=>{var e,r;let s;!1!==this.constraints&&this.getAxisMotionValue(t)&&(this.constraints[t]=(e=i.layoutBox[t],r=this.constraints[t],s={},void 0!==r.min&&(s.min=r.min-e.min),void 0!==r.max&&(s.max=r.max-e.min),s))})}resolveRefConstraints(){var t;let{dragConstraints:e,onMeasureDragConstraints:i}=this.getProps();if(!e||!(0,$.isRefObject)(e))return!1;let r=e.current;(0,S.invariant)(null!==r,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.","drag-constraints-ref");let{projection:s}=this.visualElement;if(!s||!s.layout)return!1;let n=(0,G.measurePageBox)(r,s.root,this.visualElement.getTransformPagePoint()),o=(t=s.layout.layoutBox,{x:tr(t.x,n.x),y:tr(t.y,n.y)});if(i){let t=i((0,E.convertBoxToBoundingBox)(o));this.hasMutatedConstraints=!!t,t&&(o=(0,E.convertBoundingBoxToBox)(t))}return o}startAnimation(t){let{drag:e,dragMomentum:i,dragElastic:r,dragTransition:s,dragSnapToOrigin:n,onDragTransitionEnd:o}=this.getProps(),a=this.constraints||{};return Promise.all(U(o=>
1{if(!tl(o,e,this.currentDirection))return;let l=a&&a[o]||{};n&&(l={min:0,max:0});let u={type:"inertia",velocity:i?t[o]:0,bounceStiffness:r?200:1e6,bounceDamping:r?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...s,...l};return this.startAxisValueAnimation(o,u)})).then(o)}startAxisValueAnimation(t,e){let i=this.getAxisMotionValue(t);return(0,H.addValueToWillChange)(this.visualElement,t),i.start((0,V.animateMotionValue)(t,i,0,e,this.visualElement,!1))}stopAnimation(){U(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){U(t=>this.getAxisMotionValue(t).animation?.pause())}getAnimationState(t){return this.getAxisMotionValue(t).animation?.state}getAxisMotionValue(t){let e=`_drag${t.toUpperCase()}`,i=this.visualElement.getProps();return i[e]||this.visualElement.getValue(t,(i.initial?i.initial[t]:void 0)||0)}snapToCursor(t){U(e=>{let{drag:i}=this.getProps();if(!tl(e,i,this.currentDirection))return;let{projection:r}=this.visualElement,s=this.getAxisMotionValue(e);if(r&&r.layout){let{min:i,max:n}=r.layout.layoutBox[e];s.set(t[e]-(0,b.mixNumber)(i,n,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:t,dragConstraints:e}=this.getProps(),{projection:i}=this.visualElement;if(!(0,$.isRefObject)(e)||!i||!this.constraints)return;this.stopAnimation();let r={x:0,y:0};U(t=>{let e=this.getAxisMotionValue(t);if(e&&!1!==this.constraints){var i,s;let n,o,a,l=e.get();r[t]=(i={min:l,max:l},s=this.constraints[t],n=.5,o=R(i),(a=R(s))>o?n=(0,tt.progress)(s.min,s.max-o,i.min):o>a&&(n=(0,tt.progress)(i.min,i.max-a,s.min)),(0,te.clamp)(0,1,n))}});let{transformTemplate:s}=this.visualElement.getProps();this.visualElement.current.style.transform=s?s({},""):"none",i.root&&i.root.updateScroll(),i.updateLayout(),this.resolveConstraints(),U(e=>{if(!tl(e,t,null))return;let i=this.getAxisMotionValue(e),{min:s,max:n}=this.constraints[e];i.set((0,b.mixNumber)(s,n,r[e]))})}addListeners(){if(!this.visualElement.current)return;to.set(this.visualElement,this);let t=C(this.visualElement.current,"pointerdown",t=>{let{drag:e,dragListener:i=!0}=this.getProps();e&&i&&this.start(t)}),e=()=>{let{dragConstraints:t}=this.getProps();(0,$.isRefObject)(t)&&t.current&&(this.constraints=this.resolveRefConstraints())},{projection:i}=this.visualElement,r=i.addEventListener("measure",e);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),x.frame.read(e);let s=k(window,"resize",()=>this.scalePositionWithinConstraints()),n=i.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e})=>{this.isDragging&&e&&(U(e=>{let i=this.getAxisMotionValue(e);i&&(this.originPoint[e]+=t[e].translate,i.set(i.get()+t[e].translate))}),this.visualElement.render())});return()=>{s(),t(),r(),n&&n()}}getProps(){let t=this.visualElement.getProps(),{drag:e=!1,dragDirectionLock:i=!1,dragPropagation:r=!1,dragConstraints:s=!1,dragElastic:n=.35,dragMomentum:o=!0}=t;return{...t,drag:e,dragDirectionLock:i,dragPropagation:r,dragConstraints:s,dragElastic:n,dragMomentum:o}}}function tl(t,e,i){return(!0===e||e===t)&&(null===i||i===t)}class tu extends f{constructor(t){super(t),this.removeGroupControls=y.noop,this.removeListeners=y.noop,this.controls=new ta(t)}mount(){let{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||y.noop}unmount(){this.removeGroupControls(),this.removeListeners()}}t.s(["DragGesture",()=>tu],56092);let th=t=>(e,i)=>{t&&x.frame.postRender(()=>t(e,i))};class tc extends f{constructor(){super(...arguments),this.removePointerDownListener=y.noop}onPointerDown(t){this.session=new q(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:W(this.node)})}createPanHandlers(){let{onPanSessionStart:t,onPanStart:e,onPan:i,onPanEnd:r}=this.node.getProps();return{onSessionStart:th(t),onStart:th(e),onMove:i,onEnd:(t,e)=>{delete this.session,r&&x.frame.postRender(()=>r(t,e))}}}mount(){this.removePointerDownListener=C(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}t.s(["PanGesture",()=>tc],7748)},34890,t=>{"use strict";var e=t.i(98319),i=t.i(99517);function r(t=!0){let s=(0,e.useContext)(i.PresenceContext);if(null===s)return[!0,null];let{isPresent:n,onExitComplete:o,register:a}=s,l=(0,e.useId)();(0,e.useEffect)(()=>
1{if(t)return a(l)},[t]);let u=(0,e.useCallback)(()=>t&&o&&o(l),[l,o,t]);return!n&&o?[!1,u]:[!0]}t.s(["usePresence",()=>r])},2989,61384,t=>{"use strict";var e=t.i(93200),i=t.i(47248),r=t.i(84776),s=t.i(98319),n=t.i(34890),o=t.i(31667),a=t.i(90829);let l={hasAnimatedSinceResize:!0,hasEverUpdated:!1};t.s(["globalProjectionState",()=>l],61384);var u=t.i(21365);function h(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}let c={correct:(t,e)=>{if(!e.target)return t;if("string"==typeof t)if(!u.px.test(t))return t;else t=parseFloat(t);let i=h(t,e.target.x),r=h(t,e.target.y);return`${i}% ${r}%`}};var d=t.i(77149),m=t.i(47480),p=t.i(75313);let f=!1;class g extends s.Component{componentDidMount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i,layoutId:r}=this.props,{projection:s}=t;(0,p.addScaleCorrector)(y),s&&(e.group&&e.group.add(s),i&&i.register&&r&&i.register(s),f&&s.root.didUpdate(),s.addEventListener("animationComplete",()=>{this.safeToRemove()}),s.setOptions({...s.options,onExitComplete:()=>this.safeToRemove()})),l.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){let{layoutDependency:e,visualElement:r,drag:s,isPresent:n}=this.props,{projection:o}=r;return o&&(o.isPresent=n,f=!0,s||t.layoutDependency!==e||void 0===e||t.isPresent!==n?o.willUpdate():this.safeToRemove(),t.isPresent!==n&&(n?o.promote():o.relegate()||i.frame.postRender(()=>{let t=o.getStack();t&&t.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),r.microtask.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i}=this.props,{projection:r}=t;f=!0,r&&(r.scheduleCheckAfterUnmount(),e&&e.group&&e.group.remove(r),i&&i.deregister&&i.deregister(r))}safeToRemove(){let{safeToRemove:t}=this.props;t&&t()}render(){return null}}function v(t){let[i,r]=(0,n.usePresence)(),l=(0,s.useContext)(o.LayoutGroupContext);return(0,e.jsx)(g,{...t,layoutGroup:l,switchLayoutGroup:(0,s.useContext)(a.SwitchLayoutGroupContext),isPresent:i,safeToRemove:r})}let y={borderRadius:{...c,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:c,borderTopRightRadius:c,borderBottomLeftRadius:c,borderBottomRightRadius:c,boxShadow:{correct:(t,{treeScale:e,projectionDelta:i})=>{let r=d.complex.parse(t);if(r.length>5)return t;let s=d.complex.createTransformer(t),n=+("number"!=typeof r[0]),o=i.x.scale*e.x,a=i.y.scale*e.y;r[0+n]/=o,r[1+n]/=a;let l=(0,m.mixNumber)(o,a,.5);return"number"==typeof r[2+n]&&(r[2+n]/=l),"number"==typeof r[3+n]&&(r[3+n]/=l),s(r)}}};t.s(["MeasureLayout",()=>v],2989)},64250,t=>{"use strict";function e(t){return"object"==typeof t&&null!==t}t.s(["isObject",()=>e])},61979,37165,t=>{"use strict";var e=t.i(64250);function i(t){return(0,e.isObject)(t)&&"ownerSVGElement"in t}function r(t){return i(t)&&"svg"===t.tagName}t.s(["isSVGElement",()=>i],61979),t.s(["isSVGSVGElement",()=>r],37165)},55793,t=>{"use strict";var e=t.i(38305),i=t.i(34026),r=t.i(1298);function s(t,s,n){let o=(0,e.isMotionValue)(t)?t:(0,i.motionValue)(t);return o.start((0,r.animateMotionValue)("",o,s,n)),o.animation}t.s(["animateSingleValue",()=>s])},61374,70706,t=>{"use strict";var e=t.i(56092),i=t.i(7748),r=t.i(2989),s=t.i(80124),n=t.i(61979),o=t.i(37165),a=t.i(47248),l=t.i(65836),u=t.i(24140),h=t.i(84776),c=t.i(40289),d=t.i(34026),m=t.i(47480),p=t.i(70180),f=t.i(83032),g=t.i(75602),v=t.i(55793),y=t.i(568),x=t.i(33639);let b=(t,e)=>t.depth-e.depth;class w{constructor(){this.children=[],this.isDirty=!1}add(t){(0,x.addUniqueItem)(this.children,t),this.isDirty=!0}remove(t){(0,x.removeItem)(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(b),this.isDirty=!1,this.children.forEach(t)}}t.i(67327);var T=t.i(55871),P=t.i(21365),S=t.i(47113),V=t.i(18744);let k=["TopLeft","TopRight","BottomLeft","BottomRight"],M=k.length,A=t=>"string"==typeof t?parseFloat(t):t,D=t=>"number"==typeof t||P.px.test(t);function C(t,e){return void 0!==t[e]?t[e]:t.borderRadius}let E=B(0,.5,V.circOut),R=B(.5,.95,g.noop);function B(t,e,i){return r=>r<t?0:r>e?1:i((0,S.progress)(t,e,r))}function L(t,e){t.min=e.min,t.max=e.max}function j(t,e){L(t.x,e.x),L(t.y,e.y)}function F(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}var O=t.i(34647),I=t.i(2005);function N(t,e,i,r,s){return t-=e,t=(0,O.scalePoint)(t,1/i,r),void 0!==s&&(t=(0,O.scalePoint)(t,1/s,r)),t}function z(t,e,[i,r,s],n,o){!function(t,e=0,i=1,r=.5,s,n=t,o=t){if(P.percent.test(e)&&(e=parseFloat(e),e=(0,m.mixNumber)(o.min,o.max,e/100)-o.min),"number"!=typeof e)return;let a=(0,m.mixNumber)(n.min,n.max,r);t===n&&(a-=e),t.min=N(t.min,e,i,a,s),t.max=N(t.max,e,i,a,s)}(t,e[i],e[r],e[s],e.scale,n,o)}let U=["x","scaleX","originX"],G=["y","scaleY","originY"];function W(t,e,i,r){z(t.x,e,U,i?i.x:void 0,r?r.x:void 0),z(t.y,e,G,i?i.y:void 0,r?r.y:void 0)}var $=t.i(2841);function H(t){return 0===t.translate&&1===t.scale}function K(t){return H(t.x)&&H(t.y)}function Y(t,e){return t.min===e.min&&t.max===e.max}function X(t,e){return Math.round(t.min)===Math.round(e.min)&&Math.round(t.max)===Math.round(e.max)}function q(t,e){return X(t.x,e.x)&&X(t.y,e.y)}function _(t){return(0,I.calcLength)(t.x)/(0,I.calcLength)(t.y)}function Z(t,e){return t.translate===e.translate&&t.scale===e.scale&&t.originPoint===e.originPoint}class J{constructor(){this.members=[]}add(t){(0,x.addUniqueItem)(this.members,t),t.scheduleRender()}remove(t){if((0,x.removeItem)(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){let t=this.members[this.members.length-1];t&&this.promote(t)}
1}relegate(t){let e,i=this.members.findIndex(e=>t===e);if(0===i)return!1;for(let t=i;t>=0;t--){let i=this.members[t];if(!1!==i.isPresent){e=i;break}}return!!e&&(this.promote(e),!0)}promote(t,e){let i=this.lead;if(t!==i&&(this.prevLead=i,this.lead=t,t.show(),i)){i.instance&&i.scheduleRender(),t.scheduleRender(),t.resumeFrom=i,e&&(t.resumeFrom.preserveOpacity=!0),i.snapshot&&(t.snapshot=i.snapshot,t.snapshot.latestValues=i.animationValues||i.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);let{crossfade:r}=t.options;!1===r&&i.hide()}}exitAnimationComplete(){this.members.forEach(t=>{let{options:e,resumingFrom:i}=t;e.onExitComplete&&e.onExitComplete(),i&&i.options.onExitComplete&&i.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}var Q=t.i(75313),tt=t.i(47671),te=t.i(49278),ti=t.i(61384);let tr={nodes:0,calculatedTargetDeltas:0,calculatedProjections:0},ts=["","X","Y","Z"],tn=0;function to(t,e,i,r){let{latestValues:s}=e;s[t]&&(i[t]=s[t],e.setStaticValue(t,0),r&&(r[t]=0))}function ta({attachResizeListener:t,defaultParent:e,measureScroll:i,checkIsScrollRoot:r,resetTransform:g}){return class{constructor(t={},i=e?.()){this.id=tn++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,s.statsBuffer.value&&(tr.nodes=tr.calculatedTargetDeltas=tr.calculatedProjections=0),this.nodes.forEach(th),this.nodes.forEach(tv),this.nodes.forEach(ty),this.nodes.forEach(tc),s.statsBuffer.addProjectionMetrics&&s.statsBuffer.addProjectionMetrics(tr)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=t,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 t=0;t<this.path.length;t++)this.path[t].shouldResetTransform=!0;this.root===this&&(this.nodes=new w)}addEventListener(t,e){return this.eventHandlers.has(t)||this.eventHandlers.set(t,new p.SubscriptionManager),this.eventHandlers.get(t).add(e)}notifyListeners(t,...e){let i=this.eventHandlers.get(t);i&&i.notify(...e)}hasListeners(t){return this.eventHandlers.has(t)}mount(e){if(this.instance)return;this.isSVG=(0,n.isSVGElement)(e)&&!(0,o.isSVGSVGElement)(e),this.instance=e;let{layoutId:i,layout:r,visualElement:s}=this.options;if(s&&!s.current&&s.mount(e),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(r||i)&&(this.isLayoutDirty=!0),t){let i,r=0,s=()=>this.root.updateBlockedByResize=!1;a.frame.read(()=>{r=window.innerWidth}),t(e,()=>{let t=window.innerWidth;if(t!==r){let e,n;r=t,this.root.updateBlockedByResize=!0,i&&i(),e=u.time.now(),n=({timestamp:t})=>{let i=t-e;i>=250&&((0,a.cancelFrame)(n),s(i-250))},a.frame.setup(n,!0),i=()=>(0,a.cancelFrame)(n),ti.globalProjectionState.hasAnimatedSinceResize&&(ti.globalProjectionState.hasAnimatedSinceResize=!1,this.nodes.forEach(tg))}})}i&&this.root.registerSharedNode(i,this),!1!==this.options.animate&&s&&(i||r)&&this.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e,hasRelativeLayoutChanged:i,layout:r})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let n=this.options.transition||s.getDefaultTransition()||tS,{onLayoutAnimationStart:o,onLayoutAnimationComplete:a}=s.getProps(),u=!this.targetLayout||!q(this.targetLayout,r),h=!e&&i;if(this.options.layoutRoot||this.resumeFrom||h||e&&(u||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);let e={...(0,l.getValueTransition)(n,"layout"),onPlay:o,onComplete:a};(s.shouldReduceMotion||this.options.layoutRoot)&&(e.delay=0,e.type=!1),this.startAnimation(e),this.setAnimationOrigin(t,h)}else e||tg(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=r})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let t=this.getStack();t&&t.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),(0,a.cancelFrame)(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.forEac
1h(tx),this.animationId++)}getTransformTemplate(){let{visualElement:t}=this.options;return t&&t.getProps().transformTemplate}willUpdate(t=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&function t(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;let{visualElement:i}=e.options;if(!i)return;let r=(0,y.getOptimisedAppearId)(i);if(window.MotionHasOptimisedAnimation(r,"transform")){let{layout:t,layoutId:i}=e.options;window.MotionCancelOptimisedAnimation(r,"transform",a.frame,!(t||i))}let{parent:s}=e;s&&!s.hasCheckedOptimisedAppear&&t(s)}(this),this.root.isUpdating||this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let t=0;t<this.path.length;t++){let e=this.path[t];e.shouldResetTransform=!0,e.updateScroll("snapshot"),e.options.layoutRoot&&e.willUpdate(!1)}let{layoutId:e,layout:i}=this.options;if(void 0===e&&!i)return;let r=this.getTransformTemplate();this.prevTransformTemplateValue=r?r(this.latestValues,""):void 0,this.updateSnapshot(),t&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(tm);return}if(this.animationId<=this.animationCommitId)return void this.nodes.forEach(tp);this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(tf),this.nodes.forEach(tl),this.nodes.forEach(tu)):this.nodes.forEach(tp),this.clearAllSnapshots();let t=u.time.now();a.frameData.delta=(0,f.clamp)(0,1e3/60,t-a.frameData.timestamp),a.frameData.timestamp=t,a.frameData.isProcessing=!0,a.frameSteps.update.process(a.frameData),a.frameSteps.preRender.process(a.frameData),a.frameSteps.render.process(a.frameData),a.frameData.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,h.microtask.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(td),this.sharedNodes.forEach(tb)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,a.frame.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){a.frame.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure(),!this.snapshot||(0,I.calcLength)(this.snapshot.measuredBox.x)||(0,I.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 t=0;t<this.path.length;t++)this.path[t].updateScroll();let t=this.layout;this.layout=this.measure(!1),this.layoutCorrected=(0,$.createBox)(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);let{visualElement:e}=this.options;e&&e.notify("LayoutMeasure",this.layout.layoutBox,t?t.layoutBox:void 0)}updateScroll(t="measure"){let e=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===t&&(e=!1),e&&this.instance){let e=r(this.instance);this.scroll={animationId:this.root.animationId,phase:t,isRoot:e,offset:i(this.instance),wasRoot:this.scroll?this.scroll.isRoot:e}}}resetTransform(){if(!g)return;let t=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,e=this.projectionDelta&&!K(this.projectionDelta),i=this.getTransformTemplate(),r=i?i(this.latestValues,""):void 0,s=r!==this.prevTransformTemplateValue;t&&this.instance&&(e||(0,te.hasTransform)(this.latestValues)||s)&&(g(this.instance,r),this.shouldResetTransform=!1,this.scheduleRender())}measure(t=!0){var e;let i=this.measurePageBox(),r=this.removeElementScroll(i);return t&&(r=this.removeTransform(r)),tM((e=r).x),tM(e.y),{animationId:this.root.animationId,measuredBox:i,layoutBox:r,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:t}=this.options;if(!t)return(0,$.createBox)();let e=t.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(tD))){let{scroll:t}=this.root;t&&((0,O.translateAxis)(e.x,t.offset.x),(0,O.translateAxis)(e.y,t.offset.y))}return e}removeElementScroll(t){let e=(0,$.createBox)();if(j(e,t),this.scroll?.wasRoot)return e;for(let i=0;i<this.path.length;i++){let r=this.path[i],{scroll:s,options:n}=r;r!==this.root&&s&&n.layoutScroll&&(s.wasRoot&&j(e,t),(0,O.translateAxis)(e.x,s.offset.x),(0,O.translateAxis)(e.y,s.offset.y))}return e}applyTransform(t,e=!1){let i=(0,$.createBox)();j(i,t);for(let t=0;t<this.path.length;t++){let r=this.path[t];!e&&r.options.layoutScroll&&r.scroll&&r!==r.root&&(0,O.transformBox)(i,{x:-r.scroll.offset.x,y:-r.scroll.offset.y}),(0,te.hasTransform)(r.latestValues)&&(0,O.transformBox)(i,r.latestValues)}return(0,te.hasTransform)(this.latestValues)&&(0,O.transformBox)(i,this.latestValues),i}removeTransform(t){let e=(0,$.createBox)();j(e,t);for(let t=0;t<this.path.length;t++){let i=this.path[t];if(!i.instance||!(0,te.hasTransform)(i.latestValues))continue;(0,te.hasScale)(i.latestValues)&&i.updateSnapshot();let r=(0,$.createBox)();j(r,i.measurePageBox()),W(e,i.latestValues,i.snapshot?i.snapshot.layoutBox:void 0,r)}return(0,te.hasTransform)(this.latestValues)&&W(e,this.latestValues),e}setTargetDelta(t){this.targetDelta=t,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(t){this.options={...this.options,...t,crossfade:void 0===t.crossfade||t.crossfade}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==a.frameData.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(t=!1){let e=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=e.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=e.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=e.isSharedProjectionDirty);let i=!!this.resumingFrom||this!==e;if(!(t||i&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:r,layoutId:n}=this.options;if(this.layout&&(r||n)){if(this.resolvedRelativeTargetAt=a.frameData.timestamp,!this.targetDelta&&!this.relativeTarget){let t=this.getClosestProjectingParent();t&&t.layout&&1!==this.animationProgress?(this.relativeParent=t,this.forceRelativeParentToResolveTarget(),this.relativeTarget=(0,$.createBox)(),this.relativeTargetOrigin=(0,$.createBox)(),(0,I.calcRelativePosition)(this.relativeTargetOrigin,this.layout.layoutBox,t.layout.layoutBox),j(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(this.relativeTarget||this.targetDelta){if(this.target||(this.target=(0,$.createBox)(),this.targetWithTransforms=(0,$.createBox)()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),(0,I.calcRelativeBox)(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):j(this.target,this.layout.layoutBox),(0,O.applyBoxDelta)(this.target,this.targetDelta)):j(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;let t=this.getClosestProjectingParent();t&&!!t.resumingFrom==!!this.resumingFrom&&!t.options.layoutScroll&&t.target&&1!==this.animationProgress?(this.relativeParent=t,this.forceRelativeParentToResolveTarget(),this.relativeTarget=(0,$.createBox)(),this.relativeTargetOrigin=(0,$.createBox)(),(0,I.calcRelativePosition)(this.relativeTargetOrigin,this.target,t.target),j(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}s.statsBuffer.value&&tr.calculatedTargetDeltas++}}}getClosestProjectingParent(){if(!(!this.parent||(0,te.hasScale)(this.parent.latestValues)||(0,te.has2DTranslate)(this.parent.latestValues)))if(this.parent.isProjecting())return this.parent;else return this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){let t=this.getLead(),e=!!this.resumingFrom||this!==t,i=!0;
1if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(i=!1),e&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(i=!1),this.resolvedRelativeTargetAt===a.frameData.timestamp&&(i=!1),i)return;let{layout:r,layoutId:n}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(r||n))return;j(this.layoutCorrected,this.layout.layoutBox);let o=this.treeScale.x,l=this.treeScale.y;(0,O.applyTreeDeltas)(this.layoutCorrected,this.treeScale,this.path,e),t.layout&&!t.target&&(1!==this.treeScale.x||1!==this.treeScale.y)&&(t.target=t.layout.layoutBox,t.targetWithTransforms=(0,$.createBox)());let{target:u}=t;if(!u){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}this.projectionDelta&&this.prevProjectionDelta?(F(this.prevProjectionDelta.x,this.projectionDelta.x),F(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),(0,I.calcBoxDelta)(this.projectionDelta,this.layoutCorrected,u,this.latestValues),this.treeScale.x===o&&this.treeScale.y===l&&Z(this.projectionDelta.x,this.prevProjectionDelta.x)&&Z(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",u)),s.statsBuffer.value&&tr.calculatedProjections++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(t=!0){if(this.options.visualElement?.scheduleRender(),t){let t=this.getStack();t&&t.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=(0,$.createDelta)(),this.projectionDelta=(0,$.createDelta)(),this.projectionDeltaWithTransform=(0,$.createDelta)()}setAnimationOrigin(t,e=!1){let i,r=this.snapshot,s=r?r.latestValues:{},n={...this.latestValues},o=(0,$.createDelta)();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!e;let a=(0,$.createBox)(),l=(r?r.source:void 0)!==(this.layout?this.layout.source:void 0),u=this.getStack(),h=!u||u.members.length<=1,c=!!(l&&!h&&!0===this.options.crossfade&&!this.path.some(tP));this.animationProgress=0,this.mixTargetDelta=e=>{let r=e/1e3;if(tw(o.x,t.x,r),tw(o.y,t.y,r),this.setTargetDelta(o),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var u,d,p,f,g,v;(0,I.calcRelativePosition)(a,this.layout.layoutBox,this.relativeParent.layout.layoutBox),p=this.relativeTarget,f=this.relativeTargetOrigin,g=a,v=r,tT(p.x,f.x,g.x,v),tT(p.y,f.y,g.y,v),i&&(u=this.relativeTarget,d=i,Y(u.x,d.x)&&Y(u.y,d.y))&&(this.isProjectionDirty=!1),i||(i=(0,$.createBox)()),j(i,this.relativeTarget)}l&&(this.animationValues=n,function(t,e,i,r,s,n){s?(t.opacity=(0,m.mixNumber)(0,i.opacity??1,E(r)),t.opacityExit=(0,m.mixNumber)(e.opacity??1,0,R(r))):n&&(t.opacity=(0,m.mixNumber)(e.opacity??1,i.opacity??1,r));for(let s=0;s<M;s++){let n=`border${k[s]}Radius`,o=C(e,n),a=C(i,n);(void 0!==o||void 0!==a)&&(o||(o=0),a||(a=0),0===o||0===a||D(o)===D(a)?(t[n]=Math.max((0,m.mixNumber)(A(o),A(a),r),0),(P.percent.test(a)||P.percent.test(o))&&(t[n]+="%")):t[n]=a)}(e.rotate||i.rotate)&&(t.rotate=(0,m.mixNumber)(e.rotate||0,i.rotate||0,r))}(n,s,this.latestValues,r,c,h)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=r},this.mixTargetDelta(1e3*!!this.options.layoutRoot)}startAnimation(t){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&((0,a.cancelFrame)(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=a.frame.update(()=>{ti.globalProjectionState.hasAnimatedSinceResize=!0,c.activeAnimations.layout++,this.motionValue||(this.motionValue=(0,d.motionValue)(0)),this.currentAnimation=(0,v.animateSingleValue)(this.motionValue,[0,1e3],{...t,velocity:0,isSync:!0,onUpdate:e=>{this.mixTargetDelta(e),t.onUpdate&&t.onUpdate(e)},onStop:()=>{c.activeAnimations.layout--},onComplete:()=>{c.activeAnimations.layout--,t.onComplete&&t.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 t=this.getStack();t&&t.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 t=this.getLead(),{targetWithTransforms:e,target:i,layout:r,latestValues:s}=t;if(e&&i&&r){if(this!==t&&this.layout&&r&&tA(this.options.animationType,this.layout.layoutBox,r.layoutBox)){i=this.target||(0,$.createBox)();let e=(0,I.calcLength)(this.layout.layoutBox.x);i.x.min=t.target.x.min,i.x.max=i.x.min+e;let r=(0,I.calcLength)(this.layout.layoutBox.y);i.y.min=t.target.y.min,i.y.max=i.y.min+r}
1j(e,i),(0,O.transformBox)(e,s),(0,I.calcBoxDelta)(this.projectionDeltaWithTransform,this.layoutCorrected,e,s)}}registerSharedNode(t,e){this.sharedNodes.has(t)||this.sharedNodes.set(t,new J),this.sharedNodes.get(t).add(e);let i=e.options.initialPromotionConfig;e.promote({transition:i?i.transition:void 0,preserveFollowOpacity:i&&i.shouldPreserveFollowOpacity?i.shouldPreserveFollowOpacity(e):void 0})}isLead(){let t=this.getStack();return!t||t.lead===this}getLead(){let{layoutId:t}=this.options;return t&&this.getStack()?.lead||this}getPrevLead(){let{layoutId:t}=this.options;return t?this.getStack()?.prevLead:void 0}getStack(){let{layoutId:t}=this.options;if(t)return this.root.sharedNodes.get(t)}promote({needsReset:t,transition:e,preserveFollowOpacity:i}={}){let r=this.getStack();r&&r.promote(this,i),t&&(this.projectionDelta=void 0,this.needsReset=!0),e&&this.setOptions({transition:e})}relegate(){let t=this.getStack();return!!t&&t.relegate(this)}resetSkewAndRotation(){let{visualElement:t}=this.options;if(!t)return;let e=!1,{latestValues:i}=t;if((i.z||i.rotate||i.rotateX||i.rotateY||i.rotateZ||i.skewX||i.skewY)&&(e=!0),!e)return;let r={};i.z&&to("z",t,r,this.animationValues);for(let e=0;e<ts.length;e++)to(`rotate${ts[e]}`,t,r,this.animationValues),to(`skew${ts[e]}`,t,r,this.animationValues);for(let e in t.render(),r)t.setStaticValue(e,r[e]),this.animationValues&&(this.animationValues[e]=r[e]);t.scheduleRender()}applyProjectionStyles(t,e){if(!this.instance||this.isSVG)return;if(!this.isVisible){t.visibility="hidden";return}let i=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,t.visibility="",t.opacity="",t.pointerEvents=(0,T.resolveMotionValue)(e?.pointerEvents)||"",t.transform=i?i(this.latestValues,""):"none";return}let r=this.getLead();if(!this.projectionDelta||!this.layout||!r.target){this.options.layoutId&&(t.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,t.pointerEvents=(0,T.resolveMotionValue)(e?.pointerEvents)||""),this.hasProjected&&!(0,te.hasTransform)(this.latestValues)&&(t.transform=i?i({},""):"none",this.hasProjected=!1);return}t.visibility="";let s=r.animationValues||r.latestValues;this.applyTransformsToTarget();let n=function(t,e,i){let r="",s=t.x.translate/e.x,n=t.y.translate/e.y,o=i?.z||0;if((s||n||o)&&(r=`translate3d(${s}px, ${n}px, ${o}px) `),(1!==e.x||1!==e.y)&&(r+=`scale(${1/e.x}, ${1/e.y}) `),i){let{transformPerspective:t,rotate:e,rotateX:s,rotateY:n,skewX:o,skewY:a}=i;t&&(r=`perspective(${t}px) ${r}`),e&&(r+=`rotate(${e}deg) `),s&&(r+=`rotateX(${s}deg) `),n&&(r+=`rotateY(${n}deg) `),o&&(r+=`skewX(${o}deg) `),a&&(r+=`skewY(${a}deg) `)}let a=t.x.scale*e.x,l=t.y.scale*e.y;return(1!==a||1!==l)&&(r+=`scale(${a}, ${l})`),r||"none"}(this.projectionDeltaWithTransform,this.treeScale,s);i&&(n=i(s,n)),t.transform=n;let{x:o,y:a}=this.projectionDelta;for(let e in t.transformOrigin=`${100*o.origin}% ${100*a.origin}% 0`,r.animationValues?t.opacity=r===this?s.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:s.opacityExit:t.opacity=r===this?void 0!==s.opacity?s.opacity:"":void 0!==s.opacityExit?s.opacityExit:0,Q.scaleCorrectors){if
1(void 0===s[e])continue;let{correct:i,applyTo:o,isCSSVariable:a}=Q.scaleCorrectors[e],l="none"===n?s[e]:i(s[e],r);if(o){let e=o.length;for(let i=0;i<e;i++)t[o[i]]=l}else a?this.options.visualElement.renderState.vars[e]=l:t[e]=l}this.options.layoutId&&(t.pointerEvents=r===this?(0,T.resolveMotionValue)(e?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(t=>t.currentAnimation?.stop()),this.root.nodes.forEach(tm),this.root.sharedNodes.clear()}}}function tl(t){t.updateLayout()}function tu(t){let e=t.resumeFrom?.snapshot||t.snapshot;if(t.isLead()&&t.layout&&e&&t.hasListeners("didUpdate")){let{layoutBox:i,measuredBox:r}=t.layout,{animationType:s}=t.options,n=e.source!==t.layout.source;"size"===s?(0,tt.eachAxis)(t=>{let r=n?e.measuredBox[t]:e.layoutBox[t],s=(0,I.calcLength)(r);r.min=i[t].min,r.max=r.min+s}):tA(s,e.layoutBox,i)&&(0,tt.eachAxis)(r=>{let s=n?e.measuredBox[r]:e.layoutBox[r],o=(0,I.calcLength)(i[r]);s.max=s.min+o,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[r].max=t.relativeTarget[r].min+o)});let o=(0,$.createDelta)();(0,I.calcBoxDelta)(o,i,e.layoutBox);let a=(0,$.createDelta)();n?(0,I.calcBoxDelta)(a,t.applyTransform(r,!0),e.measuredBox):(0,I.calcBoxDelta)(a,i,e.layoutBox);let l=!K(o),u=!1;if(!t.resumeFrom){let r=t.getClosestProjectingParent();if(r&&!r.resumeFrom){let{snapshot:s,layout:n}=r;if(s&&n){let o=(0,$.createBox)();(0,I.calcRelativePosition)(o,e.layoutBox,s.layoutBox);let a=(0,$.createBox)();(0,I.calcRelativePosition)(a,i,n.layoutBox),q(o,a)||(u=!0),r.options.layoutRoot&&(t.relativeTarget=a,t.relativeTargetOrigin=o,t.relativeParent=r)}}}t.notifyListeners("didUpdate",{layout:i,snapshot:e,delta:a,layoutDelta:o,hasLayoutChanged:l,hasRelativeLayoutChanged:u})}else if(t.isLead()){let{onExitComplete:e}=t.options;e&&e()}t.options.transition=void 0}function th(t){s.statsBuffer.value&&tr.nodes++,t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=!!(t.isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function tc(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function td(t){t.clearSnapshot()}function tm(t){t.clearMeasurements()}function tp(t){t.isLayoutDirty=!1}function tf(t){let{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function tg(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function tv(t){t.resolveTargetDelta()}function ty(t){t.calcProjection()}function tx(t){t.resetSkewAndRotation()}function tb(t){t.removeLeadSnapshot()}function tw(t,e,i){t.translate=(0,m.mixNumber)(e.translate,0,i),t.scale=(0,m.mixNumber)(e.scale,1,i),t.origin=e.origin,t.originPoint=e.originPoint}function tT(t,e,i,r){t.min=(0,m.mixNumber)(e.min,i.min,r),t.max=(0,m.mixNumber)(e.max,i.max,r)}function tP(t){return t.animationValues&&void 0!==t.animationValues.opacityExit}let tS={duration:.45,ease:[.4,0,.1,1]},tV=t=>"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),tk=tV("applewebkit/")&&!tV("chrome/")?Math.round:g.noop;function tM(t){t.min=tk(t.min),t.max=tk(t.max)}function tA(t,e,i){return"position"===t||"preserve-aspect"===t&&!(0,I.isNear)(_(e),_(i),.2)}function tD(t){return t!==t.root&&t.scroll?.wasRoot}var tC=t.i(78769);let tE=ta({attachResizeListener:(t,e)=>(0,tC.addDomEvent)(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),tR={current:void 0},tB=ta({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!tR.current){let t=new tE({});t.mount(window),t.setOptions({layoutScroll:!0}),tR.current=t}return tR.current},resetTransform:(t,e)=>{t.style.transform=void 0!==e?e:"none"},checkIsScrollRoot:t=>"fixed"===window.getComputedStyle(t).position});t.s(["HTMLProjectionNode",()=>tB],70706);let tL={pan:{Feature:i.PanGesture},drag:{Feature:e.DragGesture,ProjectionNode:tB,MeasureLayout:r.MeasureLayout}};t.s(["drag",()=>tL],61374)},69710,t=>{"use strict";function e(t,e,i){if(t instanceof EventTarget)return[t];if("string"==typeof t){let r=document;e&&(r=e.current);let s=i?.[t]??r.querySelectorAll(t);return s?Array.from(s):[]}return Array.from(t)}t.s(["resolveElements",()=>e])},57422,64356,38837,t=>{"use strict";var e=t.i(10681),i=t.i(69710);function r(t,e){let r=(0,i.resolveElements)(t),s=new AbortController;return[r,{passive:!0,...e,signal:s.signal},()=>s.abort()]}function s(t){return!("touch"===t.pointerType||(0,e.isDragActive)())}t.s(["setupGesture",()=>r],64356);var n=t.i(47248),o=t.i(30487),a=t.i(81822);function l(t,e,i){let{props:r}=t;t.animationState&&r.whileHover&&t.animationState.setActive("whileHover","Start"===i);let s=r["onHover"+i];s&&n.frame.postRender(()=>s(e,(0,o.extractEventInfo)(e)))}class u extends a.Feature{mount(){let{current:t}=this.node;
1t&&(this.unmount=function(t,e,i={}){let[n,o,a]=r(t,i),l=t=>{if(!s(t))return;let{target:i}=t,r=e(i,t);if("function"!=typeof r||!i)return;let n=t=>{s(t)&&(r(t),i.removeEventListener("pointerleave",n))};i.addEventListener("pointerleave",n,o)};return n.forEach(t=>{t.addEventListener("pointerenter",l,o)}),a}(t,(t,e)=>(l(this.node,e,"Start"),t=>l(this.node,t,"End"))))}unmount(){}}t.s(["HoverGesture",()=>u],57422);var h=t.i(40746),c=t.i(78769),d=a;class m extends d.Feature{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch(e){t=!0}t&&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=(0,h.pipe)((0,c.addDomEvent)(this.node.current,"focus",()=>this.onFocus()),(0,c.addDomEvent)(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}t.s(["FocusGesture",()=>m],38837)},12064,t=>{"use strict";var e=t.i(64250);function i(t){return(0,e.isObject)(t)&&"offsetHeight"in t}t.s(["isHTMLElement",()=>i])},55018,t=>{"use strict";var e=t.i(19647),i=t.i(5215),r=t.i(22571),s=t.i(61374),n=t.i(57422),o=t.i(38837),a=t.i(12064),l=t.i(10681);let u=(t,e)=>!!e&&(t===e||u(t,e.parentElement));var h=t.i(55450),c=t.i(64356);let d=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]),m=new WeakSet;function p(t){return e=>{"Enter"===e.key&&t(e)}}function f(t,e){t.dispatchEvent(new PointerEvent("pointer"+e,{isPrimary:!0,bubbles:!0}))}function g(t){return(0,h.isPrimaryPointer)(t)&&!(0,l.isDragActive)()}var v=t.i(47248),y=t.i(30487),x=t.i(81822);function b(t,e,i){let{props:r}=t;if(t.current instanceof HTMLButtonElement&&t.current.disabled)return;t.animationState&&r.whileTap&&t.animationState.setActive("whileTap","Start"===i);let s=r["onTap"+("End"===i?"":i)];s&&v.frame.postRender(()=>s(e,(0,y.extractEventInfo)(e)))}class w extends x.Feature{mount(){let{current:t}=this.node;t&&(this.unmount=function(t,e,i={}){let[r,s,n]=(0,c.setupGesture)(t,i),o=t=>{let r=t.currentTarget;if(!g(t))return;m.add(r);let n=e(r,t),o=(t,e)=>{window.removeEventListener("pointerup",a),window.removeEventListener("pointercancel",l),m.has(r)&&m.delete(r),g(t)&&"function"==typeof n&&n(t,{success:e})},a=t=>{o(t,r===window||r===document||i.useGlobalTarget||u(r,t.target))},l=t=>{o(t,!1)};window.addEventListener("pointerup",a,s),window.addEventListener("pointercancel",l,s)};return r.forEach(t=>{((i.useGlobalTarget?window:t).addEventListener("pointerdown",o,s),(0,a.isHTMLElement)(t))&&(t.addEventListener("focus",t=>((t,e)=>{let i=t.currentTarget;if(!i)return;let r=p(()=>{if(m.has(i))return;f(i,"down");let t=p(()=>{f(i,"up")});i.addEventListener("keyup",t,e),i.addEventListener("blur",()=>f(i,"cancel"),e)});i.addEventListener("keydown",r,e),i.addEventListener("blur",()=>i.removeEventListener("keydown",r),e)})(t,s)),d.has(t.tagName)||-1!==t.tabIndex||t.hasAttribute("tabindex")||(t.tabIndex=0))}),n}(t,(t,e)=>(b(this.node,e,"Start"),(t,{success:e})=>b(this.node,t,e?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}var T=x;let P=new WeakMap,S=new WeakMap,V=t=>{let e=P.get(t.target);e&&e(t)},k=t=>{t.forEach(V)},M={some:0,all:1};class A extends T.Feature{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){var t;let e;this.unmount();let{viewport:i={}}=this.node.getProps(),{root:r,margin:s,amount:n="some",once:o}=i,a={root:r?r.current:void 0,rootMargin:s,threshold:"number"==typeof n?n:M[n]},l=t=>{let{isIntersecting:e}=t;if(this.isInView===e||(this.isInView=e,o&&!e&&this.hasEnteredView))return;e&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",e);let{onViewportEnter:i,onViewportLeave:r}=this.node.getProps(),s=e?i:r;s&&s(t)};return t=this.node.current,e=function({root:t,...e}){let i=t||document;S.has(i)||S.set(i,{});let r=S.get(i),s=JSON.stringify(e);return r[s]||(r[s]=new IntersectionObserver(k,{root:t,...e})),r[s]}(a),P.set(t,l),e.observe(t),()=>{P.delete(t),e.unobserve(t)}}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;let{props:t,prevProps:e}=this.node;["amount","margin","root"].some(function({viewport:t={}},{viewport:e={}}={}){return i=>t[i]!==e[i]}(t,e))&&this.startObserver()}unmount(){}}let D={inView:{Feature:A},tap:{Feature:w},focus:{Feature:o.FocusGesture},hover:{Feature:n.HoverGesture}};var C=t.i(70706),E=t.i(2989);let R={layout:{ProjectionNode:C.HTMLProjectionNode,MeasureLayout:E.MeasureLayout}},B={...r.animations,...D,...s.drag,...R},L=(0,i.createMotionProxy)(B,e.createDomVisualElement);t.s(["motion",()=>L],55018)},75157,t=>{"use strict";let e=(t,i)=>{if(0===t.length)return i.classGroupId;let r=t[0],s=i.nextPart.get(r),n=s?e(t.slice(1),s):void 0;if(n)return n;if(0===i.validators.length)return;let o=t.join("-");return i.validators.find(({validator:t})=>t(o))?.classGroupId},i=/^\[(.+)\]$/,r=(t,e,i,o)=>{t.forEach(t=>{if("string"==typeof t){(""===t?e:s(e,t)).classGroupId=i;return}"function"==typeof t?n(t)?r(t(o),e,i,o):e.validators.push({validator:t,classGroupId:i}):Object.entries(t).forEach(([t,n])=>{r(n,s(e,t),i,o)})})},s=(t,e)=>{let i=t;return e.split("-").forEach(t=>{i.nextPart.has(t)||i.nextPart.set(t,{nextPart:new Map,validators:[]}),i=i.nextPart.get(t)}),i},n=t=>t.isThemeGetter,o=/\s+/;function a(){let t,e,i=0,r="";for(;i<arguments.length;)(t=arguments[i++])&&(e=l(t))&&(r&&(r+=" "),r+=e);return r}let l=t=>{let e;if("string"==typeof t)return t;let i="";for(let r=0;r<t.length;r++)t[r]&&(e=l(t[r]))&&(i&&(i+=" "),i+=e);return i},u=t=>{let e=e=>e[t]||[];return e.isThemeGetter=!0,e},h=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,c=/^\((?:(\w[\w-]*):)?(.+)\)$/i,d=/^\d+\/\d+$/,m=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,p=/\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$/,f=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,g=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,v=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,y=t=>d.test(t),x=t=>!!t&&!Number.isNaN(Number(t)),b=t=>!!t&&Number.isInteger(Number(t)),w=t=>t.endsWith("%")&&x(t.slice(0,-1)),T=t=>m.test(t),P=()=>!0,S=t=>p.test(t)&&!f.test(t),V=()=>!1,k=t=>g.test(t),M=t=>v.test(t),A=t=>!C(t)&&!F(t),D=t=>W(t,Y,V),C=t=>h.test(t),E=t=>W(t,X,S),R=t=>W(t,q,x),B=t=>W(t,H,V),L=t=>W(t,K,M),j=t=>W(t,Z,k),F=t=>c.test(t),O=t=>$(t,X),I=t=>$(t,_),N=t=>$(t,H),z=t=>$(t,Y),U=t=>$(t,K),G=t=>$(t,Z,!0),W=(t,e,i)=>{let r=h.exec(t);return!!r&&(r[1]?e(r[1]):i(r[2]))},$=(t,e,i=!1)=>{let r=c.exec(t);return!!r&&(r[1]?e(r[1]):i)},H=t=>"position"===t||"percentage"===t,K=t=>"image"===t||"url"===t,Y=t=>"length"===t||"size"===t||"bg-size"===t,X=t=>"length"===t,q=t=>"number"===t,_=t=>"family-name"===t,Z=t=>"shadow"===t,J=function(t,...s){let n,l,u,h=function(o){var a;let d;return l=(n={cache:(t=>{if(t<1)return{get:()=>void 0,set:()=>{}};let e=0,i=new Map,r=new Map,s=(s,n)=>{i.set(s,n),++e>t&&(e=0,r=i,i=new Map)};return{get(t){let e=i.get(t);return void 0!==e?e:void 0!==(e=r.get(t))?(s(t,e),e):void 0},set(t,e){i.has(t)?i.set(t,e):s(t,e)}}})((a=s.reduce((t,e)=>e(t),t())).cacheSize),parseClassName:(t=>{let{prefix:e,experimentalParseClassName:i}=t,r=t=>{let e,i,r=[],s=0,n=0,o=0;for(let e=0;e<t.length;e++){let a=t[e];if(0===s&&0===n){if(":"===a){r.push(t.slice(o,e)),o=e+1;continue}if("/"===a){i=e;continue}}"["===a?s++:"]"===a?s--:"("===a?n++:")"===a&&n--}let a=0===r.length?t:t.substring(o),l=(e=a).endsWith("!")?e.substring(0,e.length-1):e.startsWith("!")?e.substring(1):e;return{modifiers:r,hasImportantModifier:l!==a,baseClassName:l,maybePostfixModifierPosition:i&&i>o?i-o:void 0}};if(e){let t=e+":",i=r;r=e=>e.startsWith(t)?i(e.substring(t.length)):{isExternal:!0,modifiers:[],hasImportantModifier:!1,baseClassName:e,maybePostfixModifierPosition:void 0}}if(i){let t=r;r=e=>i({className:e,parseClassName:t})}return r})(a),sortModifiers:(d=Object.fromEntries(a.orderSensitiveModifiers.map(t=>[t,!0])),t=>{if(t.length<=1)return t;let e=[],i=[];return t.forEach(t=>{"["===t[0]||d[t]?(e.push(...i.sort(),t),i=[]):i.push(t)}),e.push(...i.sort()),e}),...(t=>{let s=(t=>{let{theme:e,classGroups:i}=t,s={nextPart:new Map,validators:[]};for(let t in i)r(i[t],s,t,e);return s})(t),{conflictingClassGroups:n,conflictingClassGroupModifiers:o}=t;return{getClassGroupId:t=>{let r=t.split("-");return""===r[0]&&1!==r.length&&r.shift(),e(r,s)||(t=>{if(i.test(t)){let e=i.exec(t)[1],r=e?.substring(0,e.indexOf(":"));if(r)return"arbitrary.."+r}})(t)},getConflictingClassGroupIds:(t,e)=>{let i=n[t]||[];return e&&o[t]?[...i,...o[t]]:i}}})(a)}).cache.get,u=n.cache.set,h=c,c(o)};function c(t){let e=l(t);if(e)return e;let i=((t,e)=>{let{parseClassName:i,getClassGroupId:r,getConflictingClassGroupIds:s,sortModifiers:n}=e,a=[],l=t.trim().split(o),u="";for(let t=l.length-1;t>=0;t-=1){let e=l[t],{isExternal:o,modifiers:h,hasImportantModifier:c,baseClassName:d,maybePostfixModifierPosition:m}=i(e);if(o){u=e+(u.length>0?" "+u:u);continue}let p=!!m,f=r(p?d.substring(0,m):d);if(!f){if(!p||!(f=r(d))){u=e+(u.length>0?" "+u:u);continue}p=!1}let g=n(h).join(":"),v=c?g+"!":g,y=v+f;if(a.includes(y))continue;a.push(y);let x=s(f,p);for(let t=0;t<x.length;++t){let e=x[t];a.push(v+e)}u=e+(u.length>0?" "+u:u)}return u}
vendor: 4,153 bytes, line 1
1)(t,n);return u(t,i),i}return function(){return h(a.apply(null,arguments))}}(()=>{let t=u("color"),e=u("font"),i=u("text"),r=u("font-weight"),s=u("tracking"),n=u("leading"),o=u("breakpoint"),a=u("container"),l=u("spacing"),h=u("radius"),c=u("shadow"),d=u("inset-shadow"),m=u("text-shadow"),p=u("drop-shadow"),f=u("blur"),g=u("perspective"),v=u("aspect"),S=u("ease"),V=u("animate"),k=()=>["auto","avoid","all","avoid-page","page","left","right","column"],M=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],W=()=>[...M(),F,C],$=()=>["auto","hidden","clip","visible","scroll"],H=()=>["auto","contain","none"],K=()=>[F,C,l],Y=()=>[y,"full","auto",...K()],X=()=>[b,"none","subgrid",F,C],q=()=>["auto",{span:["full",b,F,C]},b,F,C],_=()=>[b,"auto",F,C],Z=()=>["auto","min","max","fr",F,C],J=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],Q=()=>["start","end","center","stretch","center-safe","end-safe"],tt=()=>["auto",...K()],te=()=>[y,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...K()],ti=()=>[t,F,C],tr=()=>[...M(),N,B,{position:[F,C]}],ts=()=>["no-repeat",{repeat:["","x","y","space","round"]}],tn=()=>["auto","cover","contain",z,D,{size:[F,C]}],to=()=>[w,O,E],ta=()=>["","none","full",h,F,C],tl=()=>["",x,O,E],tu=()=>["solid","dashed","dotted","double"],th=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],tc=()=>[x,w,N,B],td=()=>["","none",f,F,C],tm=()=>["none",x,F,C],tp=()=>["none",x,F,C],tf=()=>[x,F,C],tg=()=>[y,"full",...K()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[T],breakpoint:[T],color:[P],container:[T],"drop-shadow":[T],ease:["in","out","in-out"],font:[A],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[T],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[T],shadow:[T],spacing:["px",x],text:[T],"text-shadow":[T],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",y,C,F,v]}],container:["container"],columns:[{columns:[x,C,F,a]}],"break-after":[{"break-after":k()}],"break-before":[{"break-before":k()}],"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:W()}],overflow:[{overflow:$()}],"overflow-x":[{"overflow-x":$()}],"overflow-y":[{"overflow-y":$()}],overscroll:[{overscroll:H()}],"overscroll-x":[{"overscroll-x":H()}],"overscroll-y":[{"overscroll-y":H()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:Y()}],"inset-x":[{"inset-x":Y()}],"inset-y":[{"inset-y":Y()}],start:[{start:Y()}],end:[{end:Y()}],top:[{top:Y()}],right:[{right:Y()}],bottom:[{bottom:Y()}],left:[{left:Y()}],visibility:["visible","invisible","collapse"],z:[{z:[b,"auto",F,C]}],basis:[{basis:[y,"full","auto",a,...K()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[x,y,"auto","initial","none",C]}],grow:[{grow:["",x,F,C]}],shrink:[{shrink:["",x,F,C]}],order:[{order:[b,"first","last","none",F,C]}],"grid-cols":[{"grid-cols":X()}],"col-start-end":[{col:q()}],"col-start":[{"col-start":_()}
vendor: 11,006 bytes, line 1
1],"col-end":[{"col-end":_()}],"grid-rows":[{"grid-rows":X()}],"row-start-end":[{row:q()}],"row-start":[{"row-start":_()}],"row-end":[{"row-end":_()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":Z()}],"auto-rows":[{"auto-rows":Z()}],gap:[{gap:K()}],"gap-x":[{"gap-x":K()}],"gap-y":[{"gap-y":K()}],"justify-content":[{justify:[...J(),"normal"]}],"justify-items":[{"justify-items":[...Q(),"normal"]}],"justify-self":[{"justify-self":["auto",...Q()]}],"align-content":[{content:["normal",...J()]}],"align-items":[{items:[...Q(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...Q(),{baseline:["","last"]}]}],"place-content":[{"place-content":J()}],"place-items":[{"place-items":[...Q(),"baseline"]}],"place-self":[{"place-self":["auto",...Q()]}],p:[{p:K()}],px:[{px:K()}],py:[{py:K()}],ps:[{ps:K()}],pe:[{pe:K()}],pt:[{pt:K()}],pr:[{pr:K()}],pb:[{pb:K()}],pl:[{pl:K()}],m:[{m:tt()}],mx:[{mx:tt()}],my:[{my:tt()}],ms:[{ms:tt()}],me:[{me:tt()}],mt:[{mt:tt()}],mr:[{mr:tt()}],mb:[{mb:tt()}],ml:[{ml:tt()}],"space-x":[{"space-x":K()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":K()}],"space-y-reverse":["space-y-reverse"],size:[{size:te()}],w:[{w:[a,"screen",...te()]}],"min-w":[{"min-w":[a,"screen","none",...te()]}],"max-w":[{"max-w":[a,"screen","none","prose",{screen:[o]},...te()]}],h:[{h:["screen","lh",...te()]}],"min-h":[{"min-h":["screen","lh","none",...te()]}],"max-h":[{"max-h":["screen","lh",...te()]}],"font-size":[{text:["base",i,O,E]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,F,R]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",w,C]}],"font-family":[{font:[I,C,e]}],"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:[s,F,C]}],"line-clamp":[{"line-clamp":[x,"none",F,R]}],leading:[{leading:[n,...K()]}],"list-image":[{"list-image":["none",F,C]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",F,C]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:ti()}],"text-color":[{text:ti()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...tu(),"wavy"]}],"text-decoration-thickness":[{decoration:[x,"from-font","auto",F,E]}],"text-decoration-color":[{decoration:ti()}],"underline-offset":[{"underline-offset":[x,"auto",F,C]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:K()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",F,C]}],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",F,C]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:tr()}],"bg-repeat":[{bg:ts()}],"bg-size":[{bg:tn()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},b,F,C],radial:["",F,C],conic:[b,F,C]},U,L]}],"bg-color":[{bg:ti()}],"gradient-from-pos":[{from:to()}],"gradient-via-pos":[{via:to()}],"gradient-to-pos":[{to:to()}],"gradient-from":[{from:ti()}],"gradient-via":[{via:ti()}],"gradient-to":[{to:ti()}],rounded:[{rounded:ta()}],"rounded-s":[{"rounded-s":ta()}],"rounded-e":[{"rounded-e":ta()}],"rounded-t":[{"rounded-t":ta()}],"rounded-r":[{"rounded-r":ta()}],"rounded-b":[{"rounded-b":ta()}],"rounded-l":[{"rounded-l":ta()}],"rounded-ss":[{"rounded-ss":ta()}],"rounded-se":[{"rounded-se":ta()}],"rounded-ee":[{"rounded-ee":ta()}],"rounded-es":[{"rounded-es":ta()}],"rounded-tl":[{"rounded-tl":ta()}],"rounded-tr":[{"rounded-tr":ta()}],"rounded-br":[{"rounded-br":ta()}],"rounded-bl":[{"rounded-bl":ta()}],"border-w":[{border:tl()}],"border-w-x":[{"border-x":tl()}],"border-w-y":[{"border-y":tl()}],"border-w-s":[{"border-s":tl()}],"border-w-e":[{"border-e":tl()}],"border-w-t":[{"border-t":tl()}],"border-w-r":[{"border-r":tl()}],"border-w-b":[{"border-b":tl()}],"border-w-l":[{"border-l":tl()}],"divide-x":[{"divide-x":tl()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":tl()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...tu(),"hidden","none"]}],"divide-style":[{divide:[...tu(),"hidden","none"]}],"border-color":[{border:ti()}],"border-color-x":[{"border-x":ti()}],"border-color-y":[{"border-y":ti()}],"border-color-s":[{"border-s":ti()}],"border-color-e":[{"border-e":ti()}],"border-color-t":[{"border-t":ti()}],"border-color-r":[{"border-r":ti()}],"border-color-b":[{"border-b":ti()}],"border-color-l":[{"border-l":ti()}],"divide-color":[{divide:ti()}],"outline-style":[{outline:[...tu(),"none","hidden"]}],"outline-offset":[{"outline-offset":[x,F,C]}],"outline-w":[{outline:["",x,O,E]}],"outline-color":[{outline:ti()}],shadow:[{shadow:["","none",c,G,j]}],"shadow-color":[{shadow:ti()}],"inset-shadow":[{"inset-shadow":["none",d,G,j]}],"inset-shadow-color":[{"inset-shadow":ti()}],"ring-w":[{ring:tl()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:ti()}],"ring-offset-w":[{"ring-offset":[x,E]}],"ring-offset-color":[{"ring-offset":ti()}],"inset-ring-w":[{"inset-ring":tl()}],"inset-ring-color":[{"inset-ring":ti()}],"text-shadow":[{"text-shadow":["none",m,G,j]}],"text-shadow-color":[{"text-shadow":ti()}],opacity:[{opacity:[x,F,C]}],"mix-blend":[{"mix-blend":[...th(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":th()}],"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":[x]}],"mask-image-linear-from-pos":[{"mask-linear-from":tc()}],"mask-image-linear-to-pos":[{"mask-linear-to":tc()}],"mask-image-linear-from-color":[{"mask-linear-from":ti()}],"mask-image-linear-to-color":[{"mask-linear-to":ti()}],"mask-image-t-from-pos":[{"mask-t-from":tc()}],"mask-image-t-to-pos":[{"mask-t-to":tc()}],"mask-image-t-from-color":[{"mask-t-from":ti()}],"mask-image-t-to-color":[{"mask-t-to":ti()}],"mask-image-r-from-pos":[{"mask-r-from":tc()}],"mask-image-r-to-pos":[{"mask-r-to":tc()}],"mask-image-r-from-color":[{"mask-r-from":ti()}],"mask-image-r-to-color":[{"mask-r-to":ti()}],"mask-image-b-from-pos":[{"mask-b-from":tc()}],"mask-image-b-to-pos":[{"mask-b-to":tc()}],"mask-image-b-from-color":[{"mask-b-from":ti()}],"mask-image-b-to-color":[{"mask-b-to":ti()}],"mask-image-l-from-pos":[{"mask-l-from":tc()}],"mask-image-l-to-pos":[{"mask-l-to":tc()}],"mask-image-l-from-color":[{"mask-l-from":ti()}],"mask-image-l-to-color":[{"mask-l-to":ti()}],"mask-image-x-from-pos":[{"mask-x-from":tc()}],"mask-image-x-to-pos":[{"mask-x-to":tc()}],"mask-image-x-from-color":[{"mask-x-from":ti()}],"mask-image-x-to-color":[{"mask-x-to":ti()}],"mask-image-y-from-pos":[{"mask-y-from":tc()}],"mask-image-y-to-pos":[{"mask-y-to":tc()}],"mask-image-y-from-color":[{"mask-y-from":ti()}],"mask-image-y-to-color":[{"mask-y-to":ti()}],"mask-image-radial":[{"mask-radial":[F,C]}],"mask-image-radial-from-pos":[{"mask-radial-from":tc()}],"mask-image-radial-to-pos":[{"mask-radial-to":tc()}],"mask-image-radial-from-color":[{"mask-radial-from":ti()}],"mask-image-radial-to-color":[{"mask-radial-to":ti()}],"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":M()}],"mask-image-conic-pos":[{"mask-conic":[x]}],"mask-image-conic-from-pos":[{"mask-conic-from":tc()}],"mask-image-conic-to-pos":[{"mask-conic-to":tc()}],"mask-image-conic-from-color":[{"mask-conic-from":ti()}],"mask-image-conic-to-color":[{"mask-conic-to":ti()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:tr()}],"mask-repeat":[{mask:ts()}],"mask-size":[{mask:tn()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",F,C]}],filter:[{filter:["","none",F,C]}],blur:[{blur:td()}],brightness:[{brightness:[x,F,C]}],contrast:[{contrast:[x,F,C]}],"drop-shadow":[{"drop-shadow":["","none",p,G,j]}],"drop-shadow-color":[{"drop-shadow":ti()}],grayscale:[{grayscale:["",x,F,C]}],"hue-rotate":[{"hue-rotate":[x,F,C]}],invert:[{invert:["",x,F,C]}],saturate:[{saturate:[x,F,C]}],sepia:[{sepia:["",x,F,C]}],"backdrop-filter":[{"backdrop-filter":["","none",F,C]}],"backdrop-blur":[{"backdrop-blur":td()}],"backdrop-brightness":[{"backdrop-brightness":[x,F,C]}],"backdrop-contrast":[{"backdrop-contrast":[x,F,C]}],"backdrop-grayscale":[{"backdrop-grayscale":["",x,F,C]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[x,F,C]}],"backdrop-invert":[{"backdrop-invert":["",x,F,C]}],"backdrop-opacity":[{"backdrop-opacity":[x,F,C]}],"backdrop-saturate":[{"backdrop-saturate":[x,F,C]}],"backdrop-sepia":[{"backdrop-sepia":["",x,F,C]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":K()}],"border-spacing-x":[{"border-spacing-x":K()}],"border-spacing-y":[{"border-spacing-y":K()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",F,C]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[x,"initial",F,C]}],ease:[{ease:["linear","initial",S,F,C]}],delay:[{delay:[x,F,C]}],animate:[{animate:["none",V,F,C]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[g,F,C]}],"perspective-origin":[{"perspective-origin":W()}],rotate:[{rotate:tm()}],"rotate-x":[{"rotate-x":tm()}],"rotate-y":[{"rotate-y":tm()}],"rotate-z":[{"rotate-z":tm()}],scale:[{scale:tp()}],"scale-x":[{"scale-x":tp()}],"scale-y":[{"scale-y":tp()}],"scale-z":[{"scale-z":tp()}],"scale-3d":["scale-3d"],skew:[{skew:tf()}],"skew-x":[{"skew-x":tf()}],"skew-y":[{"skew-y":tf()}],transform:[{transform:[F,C,"","none","gpu","cpu"]}],"transform-origin":[{origin:W()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:tg()}],"translate-x":[{"translate-x":tg()}],"translate-y":[{"translate-y":tg()}],"translate-z":[{"translate-z":tg()}],"translate-none":["translate-none"],accent:[{accent:ti()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:ti()}
1],"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",F,C]}],"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":K()}],"scroll-mx":[{"scroll-mx":K()}],"scroll-my":[{"scroll-my":K()}],"scroll-ms":[{"scroll-ms":K()}],"scroll-me":[{"scroll-me":K()}],"scroll-mt":[{"scroll-mt":K()}],"scroll-mr":[{"scroll-mr":K()}],"scroll-mb":[{"scroll-mb":K()}],"scroll-ml":[{"scroll-ml":K()}],"scroll-p":[{"scroll-p":K()}],"scroll-px":[{"scroll-px":K()}],"scroll-py":[{"scroll-py":K()}],"scroll-ps":[{"scroll-ps":K()}],"scroll-pe":[{"scroll-pe":K()}],"scroll-pt":[{"scroll-pt":K()}],"scroll-pr":[{"scroll-pr":K()}],"scroll-pb":[{"scroll-pb":K()}],"scroll-pl":[{"scroll-pl":K()}],"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",F,C]}],fill:[{fill:["none",...ti()]}],"stroke-w":[{stroke:[x,O,E,R]}],stroke:[{stroke:["none",...ti()]}],"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"]}});function Q(...t){return J(function(){for(var t,e,i=0,r="",s=arguments.length;i<s;i++)(t=arguments[i])&&(e=function t(e){var i,r,s="";if("string"==typeof e||"number"==typeof e)s+=e;else if("object"==typeof e)if(Array.isArray(e)){var n=e.length;for(i=0;i<n;i++)e[i]&&(r=t(e[i]))&&(s&&(s+=" "),s+=r)}else for(r in e)e[r]&&(s&&(s+=" "),s+=r);return s}(t))&&(r&&(r+=" "),r+=e);return r}(t))}t.s(["cn",()=>Q],75157)}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.