PageSourceSearch

https://www.letiverse.co.uk/_next/static/chunks/12.ag3k-jqqiy.js?dpl=dpl_niUad4WVV3bNgZ9bw1pYgKa3rgYJ

js letiverse.co.uk collected 2026-10-05 03:42:34 UTC 168,392 bytes, 4 lines download raw bytes

1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="6b4f40ac-ac0e-21b5-8f83-ca0051b4d203")}catch(e){}}();
2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,59778,508983,328076,34771,813968,108027,970080,49997,49946,108645,878124,711320,686968,350764,270826,242047,326063,725542,423796,995905,207700,813323,829451,302192,t=>{"use strict";var e,n=t.i(648486),i=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],r=new Set((0,n._)(i).concat(["pathRotation"]));t.s(["transformPropOrder",0,i,"transformProps",0,r],59778);var a=t.i(164309),o=t.i(784544),s=function(t,e,n){return n>e?e:n<t?t:n};t.s(["clamp",0,s],508983);var u={test:function(t){return"number"==typeof t},parse:parseFloat,transform:function(t){return t}},l=(0,o._)((0,a._)({},u),{transform:function(t){return s(0,1,t)}}),c=(0,o._)((0,a._)({},u),{default:1}),h=function(t){return Math.round(1e5*t)/1e5},d=t.i(868275),v=t.i(177619),f=RegExp("-?(?:\\d+(?:\\.\\d+)?|\\.\\d+)","gu"),m=RegExp("^(?:#[\\da-f]{3,8}|(?:rgb|hsl)a?\\((?:-?[\\d.]+%?[,\\s]+){2}-?[\\d.]+%?\\s*(?:[,/]\\s*)?(?:\\b\\d+(?:\\.\\d+)?|\\.\\d+)?%?\\))$","iu"),p=function(t,e){return function(n){return!!("string"==typeof n&&m.test(n)&&n.startsWith(t)||e&&null!=n&&Object.prototype.hasOwnProperty.call(n,e))}},y=function(t,e,n){return function(i){if("string"!=typeof i)return i;var r,a=(0,v._)(i.match(f),4),o=a[0],s=a[1],u=a[2],l=a[3];return r={},(0,d._)(r,t,parseFloat(o)),(0,d._)(r,e,parseFloat(s)),(0,d._)(r,n,parseFloat(u)),(0,d._)(r,"alpha",void 0!==l?parseFloat(l):1),r}},g=(0,o._)((0,a._)({},u),{transform:function(t){return Math.round(s(0,255,t))}}),x={test:p("rgb","red"),parse:y("red","green","blue"),transform:function(t){var e=t.red,n=t.green,i=t.blue,r=t.alpha;return"rgba("+g.transform(e)+", "+g.transform(n)+", "+g.transform(i)+", "+h(l.transform(void 0===r?1:r))+")"}};t.s(["rgba",0,x],328076);var k={test:p("#"),parse:function(t){var e="",n="",i="",r="";return t.length>5?(e=t.substring(1,3),n=t.substring(3,5),i=t.substring(5,7),r=t.substring(7,9)):(e=t.substring(1,2),n=t.substring(2,3),i=t.substring(3,4),r=t.substring(4,5),e+=e,n+=n,i+=i,r+=r),{red:parseInt(e,16),green:parseInt(n,16),blue:parseInt(i,16),alpha:r?parseInt(r,16)/255:1}},transform:x.transform};t.s(["hex",0,k],34771);var T=function(t){return{test:function(e){return"string"==typeof e&&e.endsWith(t)&&1===e.split(" ").length},parse:parseFloat,transform:function(e){return"".concat(e).concat(t)}}},S=T("deg"),b=T("%"),w=T("px"),P=T("vh"),V=T("vw"),M=(0,o._)((0,a._)({},b),{parse:function(t){return b.parse(t)/100},transform:function(t){return b.transform(100*t)}});t.s(["degrees",0,S,"percent",0,b,"progressPercentage",0,M,"px",0,w,"vh",0,P,"vw",0,V],813968);var A={test:p("hsl","hue"),parse:y("hue","saturation","lightness"),transform:function(t){var e=t.hue,n=t.saturation,i=t.lightness,r=t.alpha;return"hsla("+Math.round(e)+", "+b.transform(h(n))+", "+b.transform(h(i))+", "+h(l.transform(void 0===r?1:r))+")"}};t.s(["hsla",0,A],108027);var E={test:function(t){return x.test(t)||k.test(t)||A.test(t)},parse:function(t){return x.test(t)?x.parse(t):A.test(t)?A.parse(t):k.parse(t)},transform:function(t){return"string"==typeof t?t:t.hasOwnProperty("red")?x.transform(t):A.transform(t)},getAnimatableNone:function(t){var e=E.parse(t);return e.alpha=0,E.transform(e)}};t.s(["color",0,E],970080);var C=RegExp("(?:#[\\da-f]{3,8}|(?:rgb|hsl)a?\\((?:-?[\\d.]+%?[,\\s]+){2}-?[\\d.]+%?\\s*(?:[,/]\\s*)?(?:\\b\\d+(?:\\.\\d+)?|\\.\\d+)?%?\\))","giu"),D="number",_="color",R=RegExp("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 L(t){var e=t.toString(),n=[],i={color:[],number:[],var:[]},r=[],a=0,o=e.replace(R,function(t){return E.test(t)?(i.color.push(a),r.push(_),n.push(E.parse(t))):t.startsWith("var(")?(i.var.push(a),r.push("var"),n.push(t)):(i.number.push(a),r.push(D),n.push(parseFloat(t))),++a,"${}"}).split("${}");return{values:n,split:o,indexes:i,types:r}}function B(t){var e=t.split,n=t.types,i=e.length;return function(t){for(var r="",a=0;a<i;a++)if(r+=e[a],void 0!==t[a]){var o=n[a];o===D?r+=h(t[a]):o===_?r+=E.transform(t[a]):r+=t[a]}return r}}var F=function(t,e){return"number"==typeof t?(null==e?void 0:e.trim().endsWith("/"))?t:0:"number"==typeof t?0:E.test(t)?E.getAnimatableNone(t):t},j={test:function(t){var e,n;return isNaN(t)&&"string"==typeof t&&((null==(e=t.match(f))?void 0:e.length)||0)+((null==(n=t.match(C))?void 0:n.length)||0)>0},parse:function(t){return L(t).values},createTransformer:function(t){return B(L(t))},getAnimatableNone:function(t){var e=L(t);return B(e)(e.values.map(function(t,n){return F(t,e.split[n])}))}};t.s(["analyseComplexValue",0,L,"complex",0,j],49997);var O=new Set(["brightness","contrast","saturate","opacity"]);function I(t){var e=(0,v._)(t.slice(0,-1).split("("),2),n=e[0],i=e[1];if("drop-shadow"===n)return t;var r=(0,v._)(i.match(f)||[],1)[0];if(!r)return t;var a=i.replace(r,""),o=+!!O.has(n);return r!==i&&(o*=100),n+"("+o+a+")"}var N=RegExp("\\b([a-z-]*)\\(.*?\\)","gu"),U=(0,o._)((0,a._)({},j),{getAnimatableNone:function(t){var e=t.match(N);return e?e.map(I).join(" "):t}});t.s(["filter",0,U],49946);var W=t.i(536038),G=(0,o._)((0,a._)({},j),{getAnimatableNone:function(t){var e=j.parse(t);return j.createTransformer(t)(e.map(function(t){return"number"==typeof t?0:(void 0===t?"undefined":(0,W._)(t))==="object"?(0,o._)((0,a._)({},t),{alpha:1}):t}))}});t.s(["mask",0,G],108645);var z=(0,o._)((0,a._)({},u),{transform:Math.round}),H=(0,o._)((0,a._)({borderWidth:w,borderTopWidth:w,borderRightWidth:w,borderBottomWidth:w,borderLeftWidth:w,borderRadius:w,borderTopLeftRadius:w,borderTopRightRadius:w,borderBottomRightRadius:w,borderBottomLeftRadius:w,width:w,maxWidth:w,height:w,maxHeight:w,top:w,right:w,bottom:w,left:w,inset:w,insetBlock:w,insetBlockStart:w,insetBlockEnd:w,insetInline:w,insetInlineStart:w,insetInlineEnd:w,padding:w,paddingTop:w,paddingRight:w,paddingBottom:w,paddingLeft:w,paddingBlock:w,paddingBlockStart:w,paddingBlockEnd:w,paddingInline:w,paddingInlineStart:w,paddingInlineEnd:w,margin:w,marginTop:w,marginRight:w,marginBottom:w,marginLeft:w,marginBlock:w,marginBlockStart:w,marginBlockEnd:w,marginInline:w,marginInlineStart:w,marginInlineEnd:w,fontSize:w,backgroundPositionX:w,backgroundPositionY:w},{rotate:S,pathRotation:S,rotateX:S,rotateY:S,rotateZ:S,scale:c,scaleX:c,scaleY:c,scaleZ:c,skew:S,skewX:S,skewY:S,distance:w,translateX:w,translateY:w,translateZ:w,x:w,y:w,z:w,perspective:w,transformPerspective:w,opacity:l,originX:M,originY:M,originZ:w}),{zIndex:z,fillOpacity:l,strokeOpacity:l,numOctaves:z});t.s(["numberValueTypes",0,H],878124);var K=(0,o._)((0,a._)({},H),{color:E,backgroundColor:E,outlineColor:E,fill:E,stroke:E,borderColor:E,borderTopColor:E,borderRightColor:E,borderBottomColor:E,borderLeftColor:E,filter:U,WebkitFilter:U,mask:G,WebkitMask:G});t.s(["getDefaultValueType",0,function(t){return K[t]}],711320);var Y=function(){return{translate:0,scale:1,origin:0,originPoint:0}},X=function(){return{min:0,max:0}};t.s(["createBox",0,function(){return{x:X(),y:X()}},"createDelta",0,function(){return{x:Y(),y:Y()}}],686968),t.s(["isMotionValue",0,function(t){return!!(t&&t.getVelocity)}],350764);var q=new Set(["width","height","top","left","right","bottom"].concat((0,n._)(i)));t.s(["positionalKeys",0,q],270826);var Z=function(t){return function(e){return e.test(t)}};t.s(["testValueType",0,Z],242047);var $=[u,w,b,S,V,P,{test:function(t){return"auto"===t},parse:function(t){return t}}];t.s(["dimensionValueTypes",0,$,"findDimensionValueType",0,function(t){return $.find(Z(t))}],326063);var J=t.i(878472);function Q(t,e){return e?"".concat(t,". For more information and steps for solving, visit https://motion.dev/troubleshooting/").concat(e):t}var tt=function(){},te=function(){};void 0!==J.default&&(null==(e=J.default.env)?void 0:e.NODE_ENV)!=="production"&&(tt=function(t,e,n){!t&&"u">typeof console&&console.warn(Q(e,n))},te=function(t,e,n){if(!t)throw Error(Q(e,n))}),t.s(["invariant",0,te,"warning",0,tt],725542);var tn=function(t){return RegExp("^-?(?:\\d+(?:\\.\\d+)?|\\.\\d+)$","u").test(t)};t.s(["isNumericalString",0,tn],423796);var ti=function(t){return function(e){return"string"==typeof e&&e.startsWith(t)}},tr=ti("--"),ta=ti("var(--"),to=function(t){return!!ta(t)&&ts.test(t.split("/*")[0].trim())},ts=RegExp("var\\(--(?:[\\w-]+\\s*|[\\w-]+\\s*,(?:\\s*[^)(\\s]|\\s*\\((?:[^)(]|\\([^)(]*\\))*\\))+\\s*)\\)$","iu");t.s(["containsCSSVariable",0,function(t){return"string"==typeof t&&t.split("/*")[0].includes("var(--")},"isCSSVariableName",0,tr,"isCSSVariableToken",0,to],995905);var tu=RegExp("^var\\(--(?:([\\w-]+)|([\\w-]+), ?([a-zA-Z\\d ()%#.,-]+))\\)","u");t.s(["getVariableValue",0,function t(e,n){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;te(i<=4,'Max CSS variable fallback depth detected in property "'.concat(e,'". This may indicate a circular fallback dependency.'),"max-css-var-depth");var r=(0,v._)(function(t){var e=tu.exec(t);if(!e)return[,];var n=(0,v._)(e,4),i=n[1],r=n[2],a=n[3];return["--".concat(null!=i?i:r),a]}(e),2),a=r[0],o=r[1];if(a){var s=window.getComputedStyle(n).getPropertyValue(a);if(s){var u=s.trim();return tn(u)?parseFloat(u):u}return to(o)?t(o,n,i+1):o}}],207700),t.s(["fillWildcards",0,function(t){for(var e,n=1;n<t.length;n++)null!=t[n]||(t[n]=t[n-1])}],813323);var tl=function(t){return 180*t/Math.PI},tc=function(t){return td(tl(Math.atan2(t[1],t[0])))},th={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:function(t){return(Math.abs(t[0])+Math.abs(t[3]))/2},rotate:tc,rotateZ:tc,skewX:function(t){return tl(Math.atan(t[1]))},skewY:function(t){return tl(Math.atan(t[2]))},skew:function(t){return(Math.abs(t[1])+Math.abs(t[2]))/2}},td=function(t){return(t%=360)<0&&(t+=360),t},tv=function(t){return Math.sqrt(t[0]*t[0]+t[1]*t[1])},tf=function(t){return Math.sqrt(t[4]*t[4]+t[5]*t[5])},tm={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:tv,scaleY:tf,scale:function(t){return(tv(t)+tf(t))/2},rotateX:function(t){return td(tl(Math.atan2(t[6],t[5])))},rotateY:function(t){return td(tl(Math.atan2(-t[2],t[0])))},rotateZ:tc,rotate:tc,skewX:function(t){return tl(Math.atan(t[4]))},skewY:function(t){return tl(Math.atan(t[1]))},skew:function(t){return(Math.abs(t[1])+Math.abs(t[4]))/2}};function tp(t){return+!!t.includes("scale")}function ty(t,e){if(!t||"none"===t)return tp(e);var n,i,r=t.match(RegExp("^matrix3d\\(([-\\d.e\\s,]+)\\)$","u"));if(r)n=tm,i=r;else{var a=t.match(RegExp("^matrix\\(([-\\d.e\\s,]+)\\)$","u"));n=th,i=a}if(!i)return tp(e);var o=n[e],s=i[1].split(",").map(tg);return"function"==typeof o?o(s):s[o]}function tg(t){return parseFloat(t.trim())}t.s(["defaultTransformValue",0,tp,"parseValueFromTransform",0,ty,"readTransformValue",0,function(t,e){var n=getComputedStyle(t).transform;return ty(void 0===n?"none":n,e)}],829451);var tx=new Set(["x","y","z"]),tk=i.filter(function(t){return!tx.has(t)}),tT={width:function(t,e){var n=t.x,i=e.paddingLeft,r=e.paddingRight,a=e.boxSizing,o=n.max-n.min;return"border-box"===a?o:o-parseFloat(void 0===i?"0":i)-parseFloat(void 0===r?"0":r)},height:function(t,e){var n=t.y,i=e.paddingTop,r=e.paddingBottom,a=e.boxSizing,o=n.max-n.min;return"border-box"===a?o:o-parseFloat(void 0===i?"0":i)-parseFloat(void 0===r?"0":r)},top:function(t,e){return parseFloat(e.top)},left:function(t,e){return parseFloat(e.left)},bottom:function(t,e){var n=t.y;return parseFloat(e.top)+(n.max-n.min)},right:function(t,e){var n=t.x;return parseFloat(e.left)+(n.max-n.min)},x:function(t,e){return ty(e.transform,"x")},y:function(t,e){return ty(e.transform,"y")}};tT.translateX=tT.x,tT.translateY=tT.y,t.s(["isNumOrPxType",0,function(t){return t===u||t===w},"positionalValues",0,tT,"removeNonTranslationalTransform",0,function(t){var e=[];
2return tk.forEach(function(n){var i=t.getValue(n);void 0!==i&&(e.push([n,i.get()]),i.set(+!!n.startsWith("scale")))}),e}],302192)},120194,t=>{"use strict";t.s(["noop",0,function(t){return t}])},719372,t=>{"use strict";t.s(["MotionGlobalConfig",0,{}])},907953,187067,240415,t=>{"use strict";var e=t.i(120194),n=t.i(719372),i=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"],r={value:null,addProjectionMetrics:null};function a(t,e){var a=!1,o=!0,s={delta:0,timestamp:0,isProcessing:!1},u=function(){return a=!0},l=i.reduce(function(t,n){return t[n]=function(t,e){var n=new Set,i=new Set,a=!1,o=!1,s=new WeakSet,u={delta:0,timestamp:0,isProcessing:!1},l=0;function c(e){s.has(e)&&(h.schedule(e),t()),l++,e(u)}var h={schedule:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=r&&a?n:i;return e&&s.add(t),o.add(t),t},cancel:function(t){i.delete(t),s.delete(t)},process:function(t){if(u=t,a){o=!0;return}a=!0;var s=n;n=i,i=s,n.forEach(c),e&&r.value&&r.value.frameloop[e].push(l),l=0,n.clear(),a=!1,o&&(o=!1,h.process(t))}};return h}(u,e?n:void 0),t},{}),c=l.setup,h=l.read,d=l.resolveKeyframes,v=l.preUpdate,f=l.update,m=l.preRender,p=l.render,y=l.postRender,g=function(){var i=n.MotionGlobalConfig.useManualTiming,r=i?s.timestamp:performance.now();a=!1,i||(s.delta=o?1e3/60:Math.max(Math.min(r-s.timestamp,40),1)),s.timestamp=r,s.isProcessing=!0,c.process(s),h.process(s),d.process(s),v.process(s),f.process(s),m.process(s),p.process(s),y.process(s),s.isProcessing=!1,a&&e&&(o=!1,t(g))},x=function(){a=!0,o=!0,s.isProcessing||t(g)};return{schedule:i.reduce(function(t,e){var n=l[e];return t[e]=function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return a||x(),n.schedule(t,e,i)},t},{}),cancel:function(t){for(var e=0;e<i.length;e++)l[i[e]].cancel(t)},state:s,steps:l}}t.s(["statsBuffer",0,r],187067),t.s(["createRenderBatcher",0,a],240415);var o=a("u">typeof requestAnimationFrame?requestAnimationFrame:e.noop,!0),s=o.schedule,u=o.cancel,l=o.state,c=o.steps;t.s(["cancelFrame",0,u,"frame",0,s,"frameData",0,l,"frameSteps",0,c],907953)},705418,920986,874864,198141,633836,t=>{"use strict";var e=t.i(396784),n=t.i(401157),i=t.i(319465),r=t.i(753758),a=t.i(292927),o=t.i(785337),s=t.i(177619),u=t.i(270826),l=t.i(326063),c=t.i(207700),h=t.i(995905),d=t.i(648486),v=t.i(813323),f=t.i(302192),m=t.i(907953),p=new Set,y=!1,g=!1,x=!1;function k(){if(g){var t=Array.from(p).filter(function(t){return t.needsMeasurement}),e=new Set(t.map(function(t){return t.element})),n=new Map;e.forEach(function(t){var e=(0,f.removeNonTranslationalTransform)(t);e.length&&(n.set(t,e),t.render())}),t.forEach(function(t){return t.measureInitialState()}),e.forEach(function(t){t.render();var e=n.get(t);e&&e.forEach(function(e){var n,i=(0,s._)(e,2),r=i[0],a=i[1];null==(n=t.getValue(r))||n.set(a)})}),t.forEach(function(t){return t.measureEndState()}),t.forEach(function(t){void 0!==t.suspendedScrollY&&window.scrollTo(0,t.suspendedScrollY)})}g=!1,y=!1,p.forEach(function(t){return t.complete(x)}),p.clear()}function T(){p.forEach(function(t){t.readKeyframes(),t.needsMeasurement&&(g=!0)})}var S=function(){function t(e,i,r,a,o){var s=arguments.length>5&&void 0!==arguments[5]&&arguments[5];(0,n._)(this,t),this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=(0,d._)(e),this.onComplete=i,this.name=r,this.motionValue=a,this.element=o,this.isAsync=s}return(0,i._)(t,[{key:"scheduleResolve",value:function(){this.state="scheduled",this.isAsync?(p.add(this),y||(y=!0,m.frame.read(T),m.frame.resolveKeyframes(k))):(this.readKeyframes(),this.complete())}},{key:"readKeyframes",value:function(){var t=this.unresolvedKeyframes,e=this.name,n=this.element,i=this.motionValue;if(null===t[0]){var r=null==i?void 0:i.get(),a=t[t.length-1];if(void 0!==r)t[0]=r;else if(n&&e){var o=n.readValue(e,a);null!=o&&(t[0]=o)}void 0===t[0]&&(t[0]=a),i&&void 0===r&&i.set(t[0])}(0,v.fillWildcards)(t)}},{key:"setFinalKeyframe",value:function(){}},{key:"measureInitialState",value:function(){}},{key:"renderEndStyles",value:function(){}},{key:"measureEndState",value:function(){}},{key:"complete",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),p.delete(this)}},{key:"cancel",value:function(){"scheduled"===this.state&&(p.delete(this),this.state="pending")}}
2,{key:"resume",value:function(){"pending"===this.state&&this.scheduleResolve()}}]),t}();t.s(["KeyframeResolver",0,S,"flushKeyframeResolvers",0,function(){x=!0,T(),k(),x=!1}],920986);var b=function(t){return RegExp("^0[^.\\s]+$","u").test(t)};t.s(["isZeroValueString",0,b],874864);var w=t.i(49997),P=t.i(49946),V=t.i(108645),M=t.i(711320),A=new Set([P.filter,V.mask]);function E(t,e){var n=(0,M.getDefaultValueType)(t);return A.has(n)||(n=w.complex),n.getAnimatableNone?n.getAnimatableNone(e):void 0}t.s(["getAnimatableNone",0,E],198141);var C=new Set(["auto","none","0"]),D=function(t){function d(t,i,r,a,o){return(0,n._)(this,d),(0,e._)(this,d,[t,i,r,a,o,!0])}return(0,o._)(d,t),(0,i._)(d,[{key:"readKeyframes",value:function(){var t=this.unresolvedKeyframes,e=this.element,n=this.name;if(e&&e.current){(0,r._)((0,a._)(d.prototype),"readKeyframes",this).call(this);for(var i=0;i<t.length;i++){var o=t[i];if("string"==typeof o&&(o=o.trim(),(0,h.isCSSVariableToken)(o))){var v=(0,c.getVariableValue)(o,e.current);void 0!==v&&(t[i]=v),i===t.length-1&&(this.finalKeyframe=o)}}if(this.resolveNoneKeyframes(),u.positionalKeys.has(n)&&2===t.length){var m=(0,s._)(t,2),p=m[0],y=m[1],g=(0,l.findDimensionValueType)(p),x=(0,l.findDimensionValueType)(y);if((0,h.containsCSSVariable)(p)!==(0,h.containsCSSVariable)(y)&&f.positionalValues[n]){this.needsMeasurement=!0;return}if(g!==x)if((0,f.isNumOrPxType)(g)&&(0,f.isNumOrPxType)(x))for(var k=0;k<t.length;k++){var T=t[k];"string"==typeof T&&(t[k]=parseFloat(T))}else f.positionalValues[n]&&(this.needsMeasurement=!0)}}}},{key:"resolveNoneKeyframes",value:function(){for(var t,e=this.unresolvedKeyframes,n=this.name,i=[],r=0;r<e.length;r++)(null===e[r]||("number"==typeof(t=e[r])?0===t:null===t||"none"===t||"0"===t||b(t)))&&i.push(r);i.length&&function(t,e,n){for(var i=0,r=void 0;i<t.length&&!r;){var a=t[i];"string"==typeof a&&!C.has(a)&&(0,w.analyseComplexValue)(a).values.length&&(r=t[i]),i++}if(r&&n){var o=!0,s=!1,u=void 0;try{for(var l,c=e[Symbol.iterator]();!(o=(l=c.next()).done);o=!0)t[l.value]=E(n,r)}catch(t){s=!0,u=t}finally{try{o||null==c.return||c.return()}finally{if(s)throw u}}}}(e,i,n)}},{key:"measureInitialState",value:function(){var t=this.element,e=this.unresolvedKeyframes,n=this.name;if(t&&t.current){"height"===n&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=f.positionalValues[n](t.measureViewportBox(),window.getComputedStyle(t.current)),e[0]=this.measuredOrigin;var i=e[e.length-1];void 0!==i&&t.getValue(n,i).jump(i,!1)}}},{key:"measureEndState",value:function(){var t,e=this.element,n=this.name,i=this.unresolvedKeyframes;if(e&&e.current){var r=e.getValue(n);r&&r.jump(this.measuredOrigin,!1);var a=i.length-1,o=i[a];i[a]=f.positionalValues[n](e.measureViewportBox(),window.getComputedStyle(e.current)),null!==o&&void 0===this.finalKeyframe&&(this.finalKeyframe=o),(null==(t=this.removedTransforms)?void 0:t.length)&&this.removedTransforms.forEac
2h(function(t){var n=(0,s._)(t,2),i=n[0],r=n[1];e.getValue(i).set(r)}),this.resolveNoneKeyframes()}}}]),d}(S);t.s(["DOMKeyframesResolver",0,D],705418),t.s(["millisecondsToSeconds",0,function(t){return t/1e3},"secondsToMilliseconds",0,function(t){return 1e3*t}],633836)},810246,926935,t=>{"use strict";var e=t.i(401157),n=t.i(319465);function i(t,e){-1===t.indexOf(e)&&t.push(e)}function r(t,e){var n=t.indexOf(e);n>-1&&t.splice(n,1)}t.i(177619),t.i(278308),t.s(["addUniqueItem",0,i,"removeItem",0,r],926935);var a=function(){function t(){(0,e._)(this,t),this.subscriptions=[]}return(0,n._)(t,[{key:"add",value:function(t){var e=this;return i(this.subscriptions,t),function(){return r(e.subscriptions,t)}}},{key:"notify",value:function(t,e,n){var i=this.subscriptions.length;if(i)if(1===i)this.subscriptions[0](t,e,n);else for(var r=0;r<i;r++){var a=this.subscriptions[r];a&&a(t,e,n)}}},{key:"getSize",value:function(){return this.subscriptions.length}},{key:"clear",value:function(){this.subscriptions.length=0}}]),t}();t.s(["SubscriptionManager",0,a],810246)},891662,271929,761866,475796,412126,247553,906470,210514,50252,430142,337259,354012,t=>{"use strict";var e=t.i(396784),n=t.i(401157),i=t.i(319465),r=t.i(785337),a=t.i(77368),o=t.i(725542),s=t.i(633836),u=t.i(120194);function l(t,e,n){e.startsWith("--")?t.style.setProperty(e,n):t.style[e]=n}function c(t){var e;return function(){return void 0===e&&(e=t()),e}}t.s(["setStyle",0,l],271929),t.s(["memo",0,c],761866);var h={};function d(t,e){var n=c(t);return function(){var t;return null!=(t=h[e])?t:n()}}var v=d(function(){return void 0!==window.ScrollTimeline},"scrollTimeline"),f=d(function(){return void 0!==window.ViewTimeline},"viewTimeline");t.s(["supportsScrollTimeline",0,v,"supportsViewTimeline",0,f],475796);var m=function(t){return null!==t};function p(t,e,n){var i=e.repeat,r=e.repeatType,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1,o=t.filter(m),s=a<0||i&&"loop"!==(void 0===r?"loop":r)&&i%2==1?0:o.length-1;return s&&void 0!==n?n:o[s]}t.s(["getFinalKeyframe",0,p],412126);var y=function(){function t(){(0,n._)(this,t),this.updateFinished()}return(0,i._)(t,[{key:"finished",get:function(){return this._finished}},{key:"updateFinished",value:function(){var t=this;this._finished=new Promise(function(e){t.resolve=e})}},{key:"notifyFinished",value:function(){this.resolve()}},{key:"then",value:function(t,e){return this.finished.then(t,e)}}]),t}();t.s(["WithPromise",0,y],247553);var g=t.i(868275),x={layout:0,mainThread:0,waapi:0};t.s(["activeAnimations",0,x],906470);var k=t.i(187067),T=function(t){return Array.isArray(t)&&"number"==typeof t[0]};t.s(["isBezierDefinition",0,T],210514);var S=d(function(){try{document.createElement("div").animate({opacity:0}
2,{easing:"linear(0, 1)"})}catch(t){return!1}return!0},"linearEasing"),b=function(t,e){for(var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:10,i="",r=Math.max(Math.round(e/n),2),a=0;a<r;a++)i+=Math.round(1e4*t(a/(r-1)))/1e4+", ";return"linear(".concat(i.substring(0,i.length-2),")")};t.s(["generateLinearEasing",0,b],50252);var w=t.i(177619),P=function(t){var e=(0,w._)(t,4),n=e[0],i=e[1],r=e[2],a=e[3];return"cubic-bezier(".concat(n,", ").concat(i,", ").concat(r,", ").concat(a,")")},V={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:P([0,.65,.55,1]),circOut:P([.55,0,1,.45]),backIn:P([.31,.01,.66,-.59]),backOut:P([.33,1.53,.69,.99])},M=t.i(766417);function A(t){return"function"==typeof t&&"applyToOptions"in t}t.s(["isGenerator",0,A],430142);var E=function(t){function c(t){if((0,n._)(this,c),(s=(0,e._)(this,c)).finishedTime=null,s.isStopped=!1,s.manualStartTime=null,!t)return(0,a._)(s);var i,r,s,u=t.element,h=t.name,d=t.keyframes,v=t.pseudoElement,f=t.allowFlatten,m=t.finalKeyframe,y=t.onComplete;s.isPseudoElement=!!v,s.allowFlatten=void 0!==f&&f,s.options=t,(0,o.invariant)("string"!=typeof t.type,'Mini animate() doesn\'t support "type" as a string.',"mini-spring");var w=(i=t.type,r=(0,M._)(t,["type"]),A(i)&&S()?i.applyToOptions(r):(null!=r.duration||(r.duration=300),null!=r.ease||(r.ease="easeOut"),r));return s.animation=function(t,e,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},r=i.delay,a=i.duration,o=void 0===a?300:a,s=i.repeat,u=i.repeatType,l=i.ease,c=i.times,h=arguments.length>4&&void 0!==arguments[4]?arguments[4]:void 0,d=(0,g._)({},e,n);c&&(d.offset=c);var v=function t(e,n){if(e)return"function"==typeof e?S()?b(e,n):"ease-out":T(e)?P(e):Array.isArray(e)?e.map(function(e){return t(e,n)||V.easeOut}):V[e]}(void 0===l?"easeOut":l,o);Array.isArray(v)&&(d.easing=v),k.statsBuffer.value&&x.waapi++;var f={delay:void 0===r?0:r,duration:o,easing:Array.isArray(v)?"linear":v,fill:"both",iterations:(void 0===s?0:s)+1,direction:"reverse"===(void 0===u?"loop":u)?"alternate":"normal"};h&&(f.pseudoElement=h);var m=t.animate(d,f);return k.statsBuffer.value&&m.finished.finally(function(){x.waapi--}),m}(u,h,d,w,v),!1===w.autoplay&&s.animation.pause(),s.animation.onfinish=function(){if(s.finishedTime=s.time,!v){var t=p(d,s.options,m,s.speed);s.updateMotionValue&&s.updateMotionValue(t),l(u,h,t),s.animation.cancel()}null==y||y(),s.notifyFinished()},s}return(0,r._)(c,t),(0,i._)(c,[{key:"play",value:function(){this.isStopped||(this.manualStartTime=null,this.animation.play(),"finished"===this.state&&this.updateFinished())}},{key:"pause",value:function(){this.animation.pause()}},{key:"complete",value:function(){var t,e;null==(t=(e=this.animation).finish)||t.call(e)}},{key:"cancel",value:function(){try{this.animation.cancel()}catch(t){}}},{key:"stop",value:function(){if(!this.isStopped){this.isStopped=!0;var t=this.state;"idle"!==t&&"finished"!==t&&(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}}},{key:"commitStyles",value:function(){var t,e,n,i=null==(t=this.options)?void 0:t.element;!this.isPseudoElement&&(null==i?void 0:i.isConnected)&&(null==(e=(n=this.animation).commitStyles)||e.call(n))}},{key:"duration",get:function(){var t,e,n=(null==(e=this.animation.effect)||null==(t=e.getComputedTiming)?void 0:t.call(e).duration)||0;return(0,s.millisecondsToSeconds)(Number(n))}},{key:"iterationDuration",get:function(){var t=(this.options||{}).delay;return this.duration+(0,s.millisecondsToSeconds)(void 0===t?0:t)}},{key:"time",get:function(){return(0,s.millisecondsToSeconds)(Number(this.animation.currentTime)||0)},set:function(t){var e=null!==this.finishedTime;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=(0,s.secondsToMilliseconds)(t),e&&this.animation.pause()}},{key:"speed",get:function(){return this.animation.playbackRate},set:function(t){t<0&&(this.finishedTime=null),this.animation.playbackRate=t}},{key:"state",get:function(){return null!==this.finishedTime?"finished":this.animation.playState}},{key:"startTime",get:function(){var t;return null!=(t=this.manualStartTime)?t:Number(this.animation.startTime)},set:function(t){this.manualStartTime=this.animation.startTime=t}},{key:"attachTimeline",value:function(t){var e,n=t.timeline,i=t.rangeStart,r=t.rangeEnd,a=t.observe;return(this.allowFlatten&&(null==(e=this.animation.effect)||e.updateTiming({easing:"linear"})),this.animation.onfinish=null,n&&v())?(this.animation.timeline=n,i&&(this.animation.rangeStart=i),r&&(this.animation.rangeEnd=r),u.noop):a(this)}}]),c}(y);t.s(["NativeAnimation",0,E],891662);var C=new Set(["opacity","clipPath","filter","transform"]);t.s(["acceleratedValues",0,C],337259);var D=(0,t.i(240415).createRenderBatcher)(queueMicrotask,!1),_=D.schedule,R=D.cancel;t.s(["cancelMicrotask",0,R,"microtask",0,_],354012)},720802,t=>{"use strict";
2var e,n=t.i(719372),i=t.i(907953);function r(){e=void 0}var a={now:function(){return void 0===e&&a.set(i.frameData.isProcessing||n.MotionGlobalConfig.useManualTiming?i.frameData.timestamp:performance.now()),e},set:function(t){e=t,queueMicrotask(r)}};t.s(["time",0,a])},398361,t=>{"use strict";t.s(["velocityPerSecond",0,function(t,e){return e?1e3/e*t:0}])},964355,t=>{"use strict";var e=t.i(401157),n=t.i(319465),i=t.i(810246),r=t.i(398361),a=t.i(720802),o=t.i(907953),s={current:void 0},u=function(){function t(n){var i=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,e._)(this,t),this.canTrackVelocity=null,this.events={},this.updateAndNotify=function(t){var e=a.time.now();if(i.updatedAt!==e&&i.setPrevFrameValue(),i.prev=i.current,i.setCurrent(t),i.current!==i.prev&&(null==(s=i.events.change)||s.notify(i.current),i.dependents)){var n=!0,r=!1,o=void 0;try{for(var s,u,l=i.dependents[Symbol.iterator]();!(n=(u=l.next()).done);n=!0)u.value.dirty()}catch(t){r=!0,o=t}finally{try{n||null==l.return||l.return()}finally{if(r)throw o}}}},this.hasAnimated=!1,this.setCurrent(n),this.owner=r.owner}return(0,n._)(t,[{key:"setCurrent",value:function(t){this.current=t,this.updatedAt=a.time.now(),null===this.canTrackVelocity&&void 0!==t&&(this.canTrackVelocity=!isNaN(parseFloat(this.current)))}},{key:"setPrevFrameValue",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.current;this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}},{key:"onChange",value:function(t){return this.on("change",t)}},{key:"on",value:function(t,e){var n=this;this.events[t]||(this.events[t]=new i.SubscriptionManager);var r=this.events[t].add(e);return"change"===t?function(){r(),o.frame.read(function(){n.events.change.getSize()||n.stop()})}:r}},{key:"clearListeners",value:function(){for(var t in this.events)this.events[t].clear()}},{key:"attach",value:function(t,e){this.passiveEffect=t,this.stopPassiveEffect=e}},{key:"set",value:function(t){this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t)}},{key:"setWithVelocity",value:function(t,e,n){this.set(e),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-n}},{key:"jump",value:function(t){var e=!(arguments.length>1)||void 0===arguments[1]||arguments[1];this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,e&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}},{key:"dirty",value:function(){var t;null==(t=this.events.change)||t.notify(this.current)}},{key:"addDependent",value:function(t){this.dependents||(this.dependents=new Set),this.dependents.add(t)}},{key:"removeDependent",value:function(t){this.dependents&&this.dependents.delete(t)}},{key:"get",value:function(){return s.current&&s.current.push(this),this.current}},{key:"getPrevious",value:function(){return this.prev}},{key:"getVelocity",value:function(){var t=a.time.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||t-this.updatedAt>30)return 0;var e=Math.min(this.updatedAt-this.prevUpdatedAt,30);return(0,r.velocityPerSecond)(parseFloat(this.current)-parseFloat(this.prevFrameValue),e)}},{key:"start",value:function(t){var e=this;return this.stop(),new Promise(function(n){e.hasAnimated=!0,e.animation=t(n),e.events.animationStart&&e.events.animationStart.notify()}).then(function(){e.events.animationComplete&&e.events.animationComplete.notify(),e.clearAnimation()})}},{key:"stop",value:function(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}},{key:"isAnimating",value:function(){return!!this.animation}},{key:"clearAnimation",value:function(){delete this.animation}},{key:"destroy",value:function(){var t,e;null==(t=this.dependents)||t.clear(),null==(e=this.events.destroy)||e.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}]),t}();t.s(["collectMotionValues",0,s,"motionValue",0,function(t,e){return new u(t,e)}])},585737,323482,508578,643646,661749,186645,758307,538463,155458,481103,544473,6778,533186,140109,341330,575342,97225,570110,639190,488257,805020,767052,174302,609846,882979,450603,t=>{"use strict";var e=t.i(396784),n=t.i(401157),i=t.i(319465),r=t.i(753758),a=t.i(292927),o=t.i(785337),s=t.i(59778),u=t.i(711320),l=t.i(686968),c=t.i(350764),h=t.i(705418);t.i(878472);var d=t.i(94e4),v=t.i(164309),f=t.i(766417),m=t.i(648486),p=t.i(536038),y=t.i(633836),g=t.i(423796),x=t.i(874864),k=t.i(810246),T=t.i(920986),S=t.i(891662),b=t.i(337259),w=t.i(354012),P=t.i(720802),V=t.i(964355),M=t.i(49997),A=t.i(198141),E=t.i(970080),C=t.
2i(326063),D=t.i(242047),_=(0,m._)(C.dimensionValueTypes).concat([E.color,M.complex]),R=new WeakMap;function L(t){return null!==t&&(void 0===t?"undefined":(0,p._)(t))==="object"&&"function"==typeof t.start}function B(t){return"string"==typeof t||Array.isArray(t)}t.s(["visualElementStore",0,R],323482),t.s(["isAnimationControls",0,L],508578),t.s(["isVariantLabel",0,B],643646);var F=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],j=["initial"].concat((0,m._)(F));function O(t){return L(t.animate)||j.some(function(e){return B(t[e])})}function I(t){return!!(O(t)||t.variants)}t.s(["variantPriorityOrder",0,F,"variantProps",0,j],661749),t.s(["isControllingVariants",0,O,"isVariantNode",0,I],186645);var N={current:null},U={current:!1};t.s(["hasReducedMotionListener",0,U,"prefersReducedMotion",0,N],758307);var W="u">typeof window;function G(){if(U.current=!0,W)if(window.matchMedia){var t=window.matchMedia("(prefers-reduced-motion)"),e=function(){return N.current=t.matches};t.addEventListener("change",e),e()}else N.current=!1}t.s(["initPrefersReducedMotion",0,G],538463);var z=t.i(177619);function H(t){var e=[{},{}];return null==t||t.values.forEach(function(t,n){e[0][n]=t.get(),e[1][n]=t.getVelocity()}),e}function K(t,e,n,i){if("function"==typeof e){var r=(0,z._)(H(i),2),a=r[0],o=r[1];e=e(void 0!==n?n:t.custom,a,o)}if("string"==typeof e&&(e=t.variants&&t.variants[e]),"function"==typeof e){var s=(0,z._)(H(i),2),u=s[0],l=s[1];e=e(void 0!==n?n:t.custom,u,l)}return e}t.s(["resolveVariantFromProps",0,K],155458);var Y=t.i(907953),X=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],q={},Z=function(){function t(e){var i=this,r=e.parent,a=e.props,o=e.presenceContext,s=e.reducedMotionConfig,u=e.skipAnimations,l=e.blockInitialAnimation,h=e.visualState,d=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,n._)(this,t),this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=T.KeyframeResolver,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,this.events={},this.propEventSubscriptions={},this.notifyUpdate=function(){return i.notify("Update",i.latestValues)},this.render=function(){i.current&&(i.triggerBuild(),i.renderInstance(i.current,i.renderState,i.props.style,i.projection))},this.renderScheduledAt=0,this.scheduleRender=function(){var t=P.time.now();i.renderScheduledAt<t&&(i.renderScheduledAt=t,Y.frame.render(i.render,!1,!0))};var m=h.latestValues,p=h.renderState;this.latestValues=m,this.baseTarget=(0,v._)({},m),this.initialValues=a.initial?(0,v._)({},m):{},this.renderState=p,this.parent=r,this.props=a,this.presenceContext=o,this.depth=r?r.depth+1:0,this.reducedMotionConfig=s,this.skipAnimationsConfig=u,this.options=d,this.blockInitialAnimation=!!l,this.isControllingVariants=O(a),this.isVariantNode=I(a),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(r&&r.current);var y=this.scrapeMotionValuesFromProps(a,{},this),g=(y.willChange,(0,f._)(y,["willChange"]));for(var x in g){var k=g[x];void 0!==m[x]&&(0,c.isMotionValue)(k)&&k.set(m[x])}}return(0,i._)(t,[{key:"scrapeMotionValuesFromProps",value:function(t,e,n){return{}}},{key:"mount",value:function(t){var e,n,i,r=this;if(this.hasBeenMounted)for(var a in this.initialValues)null==(i=this.values.get(a))||i.jump(this.initialValues[a]),this.latestValues[a]=this.initialValues[a];this.current=t,R.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(function(t,e){return r.bindToMotionValue(e,t)}),"never"===this.reducedMotionConfig?this.shouldReduceMotion=!1:"always"===this.reducedMotionConfig?this.shouldReduceMotion=!0:(U.current||G(),this.shouldReduceMotion=N.current),this.shouldSkipAnimations=null!=(e=this.skipAnimationsConfig)&&e,null==(n=this.parent)||n.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}},{key:"unmount",value:function(){var t;for(var e in this.projection&&this.projection.unmount(),(0,Y.cancelFrame)(this.notifyUpdate),(0,Y.cancelFrame)(this.render),this.valueSubscriptions.forEach(function(t){return t()}),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),null==(t=this.parent)||t.removeChild(this),this.events)this.events[e].clear();for(var n in this.features){var i=this.features[n];i&&(i.unmount(),i.isMounted=!1)}this.current=null}},{key:"addChild",value:function(t){this.children.add(t),null!=this.enteringChildren||(this.enteringChildren=new Set),this.enteringChildren.add(t)}},{key:"removeChild",value:function(t){this.children.delete(t),this.enteringChildren&&this.enteringChildren.delete(t)}},{key:"bindToMotionValue",value:function(t,e){var n,i=this;if(this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)(),e.accelerate&&b.acceleratedValues.has(t)&&(0,d._)(this.current,HTMLElement)){var r=e.accelerate,a=r.factory,o=r.keyframes,u=r.times,l=r.ease,c=r.duration,h=new S.NativeAnimation({element:this.current,name:t,keyframes:o,times:u,ease:l,duration:(0,y.secondsToMilliseconds)(c)}),v=a(h);this.valueSubscriptions.set(t,function(){v(),h.cancel()});return}var f=s.transformProps.has(t);f&&this.onBindTransform&&this.onBindTransform();var m=e.on("change",function(e){i.latestValues[t]=e,i.props.onUpdate&&Y.frame.preRender(i.notifyUpdate),f&&i.projection&&(i.projection.isTransformDirty=!0),i.scheduleRender()});"u">typeof window&&window.MotionCheckAppearSync&&(n=window.MotionCheckAppearSync(this,t,e)),this.valueSubscriptions.set(t,function(){m(),n&&n()})}}
2,{key:"sortNodePosition",value:function(t){return this.current&&this.sortInstanceNodePosition&&this.type===t.type?this.sortInstanceNodePosition(this.current,t.current):0}},{key:"updateFeatures",value:function(){var t="animation";for(t in q){var e=q[t];if(e){var n=e.isEnabled,i=e.Feature;if(!this.features[t]&&i&&n(this.props)&&(this.features[t]=new i(this)),this.features[t]){var r=this.features[t];r.isMounted?r.update():(r.mount(),r.isMounted=!0)}}}}},{key:"triggerBuild",value:function(){this.build(this.renderState,this.latestValues,this.props)}},{key:"measureViewportBox",value:function(){return this.current?this.measureInstanceViewportBox(this.current,this.props):(0,l.createBox)()}},{key:"getStaticValue",value:function(t){return this.latestValues[t]}},{key:"setStaticValue",value:function(t,e){this.latestValues[t]=e}},{key:"update",value:function(t,e){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=e;for(var n=0;n<X.length;n++){var i=X[n];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);var r=t["on"+i];r&&(this.propEventSubscriptions[i]=this.on(i,r))}this.prevMotionValues=function(t,e,n){for(var i in e){var r=e[i],a=n[i];if((0,c.isMotionValue)(r))t.addValue(i,r);else if((0,c.isMotionValue)(a))t.addValue(i,(0,V.motionValue)(r,{owner:t}));else if(a!==r)if(t.hasValue(i)){var o=t.getValue(i);!0===o.liveStyle?o.jump(r):o.hasAnimated||o.set(r)}else{var s=t.getStaticValue(i);t.addValue(i,(0,V.motionValue)(void 0!==s?s:r,{owner:t}))}}for(var u in n)void 0===e[u]&&t.removeValue(u);return e}(this,this.scrapeMotionValuesFromProps(t,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}},{key:"getProps",value:function(){return this.props}},{key:"getVariant",value:function(t){return this.props.variants?this.props.variants[t]:void 0}},{key:"getDefaultTransition",value:function(){return this.props.transition}},{key:"getTransformPagePoint",value:function(){return this.props.transformPagePoint}},{key:"getClosestVariantNode",value:function(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}},{key:"addVariantChild",value:function(t){var e=this.getClosestVariantNode();if(e)return e.variantChildren&&e.variantChildren.add(t),function(){return e.variantChildren.delete(t)}}},{key:"addValue",value:function(t,e){var n=this.values.get(t);e!==n&&(n&&this.removeValue(t),this.bindToMotionValue(t,e),this.values.set(t,e),this.latestValues[t]=e.get())}},{key:"removeValue",value:function(t){this.values.delete(t);var e=this.valueSubscriptions.get(t);e&&(e(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}},{key:"hasValue",value:function(t){return this.values.has(t)}},{key:"getValue",value:function(t,e){if(this.props.values&&this.props.values[t])return this.props.values[t];var n=this.values.get(t);return void 0===n&&void 0!==e&&(n=(0,V.motionValue)(null===e?void 0:e,{owner:this}),this.addValue(t,n)),n}},{key:"readValue",value:function(t,e){var n,i,r=void 0===this.latestValues[t]&&this.current?null!=(i=this.getBaseTargetFromProps(this.props,t))?i:this.readValueFromInstance(this.current,t,this.options):this.latestValues[t];return null!=r&&("string"==typeof r&&((0,g.isNumericalString)(r)||(0,x.isZeroValueString)(r))?r=parseFloat(r):(n=r,!_.find((0,D.testValueType)(n))&&M.complex.test(e)&&(r=(0,A.getAnimatableNone)(t,e))),this.setBaseTarget(t,(0,c.isMotionValue)(r)?r.get():r)),(0,c.isMotionValue)(r)?r.get():r}},{key:"setBaseTarget",value:function(t,e){this.baseTarget[t]=e}},{key:"getBaseTarget",value:function(t){var e=this.props.initial;if("string"==typeof e||(void 0===e?"undefined":(0,p._)(e))==="object"){var n,i,r=K(this.props,e,null==(i=this.presenceContext)?void 0:i.custom);r&&(n=r[t])}if(e&&void 0!==n)return n;var a=this.getBaseTargetFromProps(this.props,t);return void 0===a||(0,c.isMotionValue)(a)?void 0!==this.initialValues[t]&&void 0===n?void 0:this.baseTarget[t]:a}},{key:"on",value:function(t,e){return this.events[t]||(this.events[t]=new k.SubscriptionManager),this.events[t].add(e)}},{key:"notify",value:function(t){for(var e,n=arguments.length,i=Array(n>1?n-1:0),r=1;r<n;r++)i[r-1]=arguments[r];this.events[t]&&(e=this.events[t]).notify.apply(e,(0,m._)(i))}},{key:"scheduleRenderMicrotask",value:function(){w.microtask.render(this.render)}}]),t}();t.s(["VisualElement",0,Z,"getFeatureDefinitions",0,function(){return q},"setFeatureDefinitions",0,function(t){q=t}],481103);var $=function(t){function r(){var t;return(0,n._)(this,r),t=(0,e._)(this,r,arguments),t.KeyframeResolver=h.DOMKeyframesResolver,t}return(0,o._)(r,t),(0,i._)(r,[{key:"sortInstanceNodePosition",value:function(t,e){return 2&t.compareDocumentPosition(e)?1:-1}},{key:"getBaseTargetFromProps",value:function(t,e){var n=t.style;return n?n[e]:void 0}},{key:"removeValueFromRenderState",value:function(t,e){var n=e.vars,i=e.style;delete n[t],delete i[t]}},{key:"handleChildMotionValue",value:function(){var t=this;this.childSubscription&&(this.childSubscription(),delete this.childSubscription);var e=this.props.children;(0,c.isMotionValue)(e)&&(this.childSubscription=e.on("change",function(e){t.current&&(t.current.textContent="".concat(e))}))}}]),r}(Z);function J(t){return t.replace(/([A-Z])/g,function(t){return"-".concat(t.toLowerCase())})}t.s(["camelToDash",0,J],544473);var Q=t.i(278308),tt=function(t,e){return e&&"number"==typeof t?e.transform(t):t},te=t.i(878124),tn=t.i(995905),ti={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},tr=s.transformPropOrder.length;function ta(t,e,n){var i=t.style,r=t.vars,a=t.transformOrigin,o=!1,u=!1;for(var l in e){var c=e[l];
2if(s.transformProps.has(l)){o=!0;continue}if((0,tn.isCSSVariableName)(l)){r[l]=c;continue}var h=tt(c,te.numberValueTypes[l]);l.startsWith("origin")?(u=!0,a[l]=h):i[l]=h}if(!e.transform&&(o||n?i.transform=function(t,e,n){for(var i="",r=!0,a=0;a<tr;a++){var o=s.transformPropOrder[a],u=t[o];if(void 0!==u){var l=!0;if("number"==typeof u)l=u===+!!o.startsWith("scale");else{var c=parseFloat(u);l=o.startsWith("scale")?1===c:0===c}if(!l||n){var h=tt(u,te.numberValueTypes[o]);if(!l){r=!1;var d=ti[o]||o;i+="".concat(d,"(").concat(h,") ")}n&&(e[o]=h)}}}var v=t.pathRotation;return v&&(r=!1,i+="rotate(".concat(tt(v,te.numberValueTypes.pathRotation),") ")),i=i.trim(),n?i=n(e,r?"":i):r&&(i="none"),i}(e,t.transform,n):i.transform&&(i.transform="none")),u){var d=a.originX,v=a.originY,f=a.originZ;i.transformOrigin="".concat(void 0===d?"50%":d," ").concat(void 0===v?"50%":v," ").concat(void 0===f?0:f)}}t.s(["buildHTMLStyles",0,ta],6778);var to={offset:"stroke-dashoffset",array:"stroke-dasharray"},ts={offset:"strokeDashoffset",array:"strokeDasharray"},tu=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function tl(t,e,n,i,r){var a=(0,Q._)([e,n,i,r]),o=a[0],s=a.slice(1),u=o.attrX,l=o.attrY,c=o.attrScale,h=o.pathLength,d=o.pathSpacing,v=o.pathOffset,m=(0,f._)(o,["attrX","attrY","attrScale","pathLength","pathSpacing","pathOffset"]),p=(0,Q._)(s),y=p[0],g=p.slice(1),x=(0,Q._)(g),k=x[0],T=x.slice(1),S=(0,z._)(T,1)[0];if(ta(t,m,k),y){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};var b=t.attrs,w=t.style;b.transform&&(w.transform=b.transform,delete b.transform),(w.transform||b.transformOrigin)&&(w.transformOrigin=null!=(A=b.transformOrigin)?A:"50% 50%",delete b.transformOrigin),w.transform&&(w.transformBox=null!=(E=null==S?void 0:S.transformBox)?E:"fill-box",delete b.transformBox);var P=!0,V=!1,M=void 0;try{for(var A,E,C,D=tu[Symbol.iterator]();!(P=(C=D.next()).done);P=!0){var _=C.value;void 0!==b[_]&&(w[_]=b[_],delete b[_])}}catch(t){V=!0,M=t}finally{try{P||null==D.return||D.return()}finally{if(V)throw M}}void 0!==u&&(b.x=u),void 0!==l&&(b.y=l),void 0!==c&&(b.scale=c),void 0!==h&&function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,r=!(arguments.length>4)||void 0===arguments[4]||arguments[4];t.pathLength=1;var a=r?to:ts;t[a.offset]="".concat(-i),t[a.array]="".concat(e," ").concat(n)}(b,h,void 0===d?1:d,void 0===v?0:v,!1)}t.s(["buildSVGAttrs",0,tl],533186);var tc=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"]),th=function(t){return"string"==typeof t&&"svg"===t.toLowerCase()};function td(t,e,n,i){var r,a=e.style,o=e.vars,s=t.style;for(r in a)s[r]=a[r];for(r in null==i||i.applyProjectionStyles(s,n),o)s.setProperty(r,o[r])}t.s(["isSVGTag",0,th],140109);var tv=t.i(784544),tf=t.i(813968);function tm(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}var tp={correct:function(t,e){if(!e.target)return t;if("string"==typeof t)if(!tf.px.test(t))return t;else t=parseFloat(t);var n=tm(t,e.target.x),i=tm(t,e.target.y);return"".concat(n,"% ").concat(i,"%")}},ty=function(t,e,n){return t+(e-t)*n};t.s(["mixNumber",0,ty],341330);var tg={borderRadius:(0,tv._)((0,v._)({},tp),{applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]}),borderTopLeftRadius:tp,borderTopRightRadius:tp,borderBottomLeftRadius:tp,borderBottomRightRadius:tp,boxShadow:{correct:function(t,e){var n=e.treeScale,i=e.projectionDelta,r=M.complex.parse(t);if(r.length>5)return t;var a=M.complex.createTransformer(t),o=+("number"!=typeof r[0]),s=i.x.scale*n.x,u=i.y.scale*n.y;r[0+o]/=s,r[1+o]/=u;var l=ty(s,u,.5);return"number"==typeof r[2+o]&&(r[2+o]/=l),"number"==typeof r[3+o]&&(r[3+o]/=l),a(r)}}};function tx(t,e){var n=e.layout,i=e.layoutId;return s.transformProps.has(t)||t.startsWith("origin")||(n||void 0!==i)&&(!!tg[t]||"opacity"===t)}function tk(t,e,n){var i,r=t.style,a=null==e?void 0:e.style,o={};if(!r)return o;for(var s in r)((0,c.isMotionValue)(r[s])||a&&(0,c.isMotionValue)(a[s])||tx(s,t)||(null==n||null==(i=n.getValue(s))?void 0:i.liveStyle)!==void 0)&&(o[s]=r[s]);return o}function tT(t,e,n){var i=tk(t,e,n);for(var r in t)((0,c.isMotionValue)(t[r])||(0,c.isMotionValue)(e[r]))&&(i[-1!==s.transformPropOrder.indexOf(r)?"attr"+r.charAt(0).toUpperCase()+r.substring(1):r]=t[r]);return i}t.s(["scaleCorrectors",0,tg],575342),t.s(["isForcedMotionValue",0,tx],97225),t.s(["scrapeMotionValuesFromProps",0,tk],570110),t.s(["scrapeMotionValuesFromProps",0,tT],639190);var tS=function(t){function c(){var t;return(0,n._)(this,c),t=(0,e._)(this,c,arguments),t.type="svg",t.isSVGTag=!1,t.measureInstanceViewportBox=l.createBox,t}return(0,o._)(c,t),(0,i._)(c,[{key:"getBaseTargetFromProps",value:function(t,e){return t[e]}},{key:"readValueFromInstance",value:function(t,e){if(s.transformProps.has(e)){var n=(0,u.getDefaultValueType)(e);return n&&n.default||0}return e=tc.has(e)?e:J(e),t.getAttribute(e)}},{key:"scrapeMotionValuesFromProps",value:function(t,e,n){return tT(t,e,n)}}
2,{key:"build",value:function(t,e,n){tl(t,e,this.isSVGTag,n.transformTemplate,n.style)}},{key:"renderInstance",value:function(t,e,n,i){for(var r in td(t,e,void 0,i),e.attrs)t.setAttribute(tc.has(r)?r:J(r),e.attrs[r])}},{key:"mount",value:function(t){this.isSVGTag=th(t.tagName),(0,r._)((0,a._)(c.prototype),"mount",this).call(this,t)}}]),c}($);t.s(["SVGVisualElement",0,tS],488257);var tb=t.i(829451);function tw(t){var e=t.top;return{x:{min:t.left,max:t.right},y:{min:e,max:t.bottom}}}function tP(t,e){if(!e)return t;var n=e({x:t.left,y:t.top}),i=e({x:t.right,y:t.bottom});return{top:n.y,left:n.x,bottom:i.y,right:i.x}}function tV(t){return void 0===t||1===t}function tM(t){var e=t.scale,n=t.scaleX,i=t.scaleY;return!tV(e)||!tV(n)||!tV(i)}function tA(t){return tM(t)||tE(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function tE(t){var e,n;return(e=t.x)&&"0%"!==e||(n=t.y)&&"0%"!==n}function tC(t,e,n){return n+e*(t-n)}function tD(t,e,n,i,r){return void 0!==r&&(t=tC(t,r,i)),tC(t,n,i)+e}function t_(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,i=arguments.length>3?arguments[3]:void 0,r=arguments.length>4?arguments[4]:void 0;t.min=tD(t.min,e,n,i,r),t.max=tD(t.max,e,n,i,r)}function tR(t,e){var n=e.x,i=e.y;t_(t.x,n.translate,n.scale,n.originPoint),t_(t.y,i.translate,i.scale,i.originPoint)}function tL(t,e){t.min+=e,t.max+=e}function tB(t,e,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:.5,a=ty(t.min,t.max,r);t_(t,e,n,a,i)}function tF(t,e){return"string"==typeof t?parseFloat(t)/100*(e.max-e.min):t}function tj(t,e,n){var i=null!=n?n:t;tB(t.x,tF(e.x,i.x),e.scaleX,e.scale,e.originX),tB(t.y,tF(e.y,i.y),e.scaleY,e.scale,e.originY)}function tO(t,e){return tw(tP(t.getBoundingClientRect(),e))}t.s(["convertBoundingBoxToBox",0,tw,"convertBoxToBoundingBox",0,function(t){var e=t.x,n=t.y;return{top:n.min,right:e.max,bottom:n.max,left:e.min}},"transformBoxPoints",0,tP],805020),t.s(["has2DTranslate",0,tE,"hasScale",0,tM,"hasTransform",0,tA],767052),t.s(["applyBoxDelta",0,tR,"applyTreeDeltas",0,function(t,e,n){var i=arguments.length>3&&void 0!==arguments[3]&&arguments[3],r=n.length;if(r){e.x=e.y=1;for(var a=0;a<r;a++){var o,s,u=(o=n[a]).projectionDelta,l=o.options.visualElement;(!l||!l.props.style||"contents"!==l.props.style.display)&&(i&&o.options.layoutScroll&&o.scroll&&o!==o.root&&(tL(t.x,-o.scroll.offset.x),tL(t.y,-o.scroll.offset.y)),u&&(e.x*=u.x.scale,e.y*=u.y.scale,tR(t,u)),i&&tA(o.latestValues)&&tj(t,o.latestValues,null==(s=o.layout)?void 0:s.layoutBox))}e.x<1.0000000000001&&e.x>.999999999999&&(e.x=1),e.y<1.0000000000001&&e.y>.999999999999&&(e.y=1)}},"scalePoint",0,tC,"transformBox",0,tj,"translateAxis",0,tL],174302),t.s(["measurePageBox",0,function(t,e,n){var i=tO(t,n),r=e.scroll;return r&&(tL(i.x,r.offset.x),tL(i.y,r.offset.y)),i},"measureViewportBox",0,tO],609846);var tI=function(t){function r(){var t;return(0,n._)(this,r),t=(0,e._)(this,r,arguments),t.type="html",t.renderInstance=td,t}return(0,o._)(r,t),(0,i._)(r,[{key:"readValueFromInstance",value:function(t,e){if(s.transformProps.has(e)){var n;return(null==(n=this.projection)?void 0:n.isProjecting)?(0,tb.defaultTransformValue)(e):(0,tb.readTransformValue)(t,e)}var i=window.getComputedStyle(t),r=((0,tn.isCSSVariableName)(e)?i.getPropertyValue(e):i[e])||0;return"string"==typeof r?r.trim():r}},{key:"measureInstanceViewportBox",value:function(t,e){return tO(t,e.transformPagePoint)}},{key:"build",value:function(t,e,n){ta(t,e,n.transformTemplate)}},{key:"scrapeMotionValuesFromProps",value:function(t,e,n){return tk(t,e,n)}}]),r}($);t.s(["HTMLVisualElement",0,tI],882979);var tN=t.i(866184),tU=["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 tW(t){if("string"!=typeof t||t.includes("-"));else if(tU.indexOf(t)>-1||RegExp("[A-Z]","u").test(t))return!0;return!1}t.s(["isSVGComponent",0,tW],450603),t.s(["createDomVisualElement",0,function(t,e){var n;return(null!=(n=e.isSVG)?n:tW(t))?new tS(e):new tI(e,{allowProjection:t!==tN.Fragment})}],585737)},706735,t=>{"use strict";var e=(0,t.i(866184).createContext)({});t.s(["LayoutGroupContext",0,e])},669462,t=>{"use strict";var e=(0,t.i(866184).createContext)({strict:!1});t.s(["LazyContext",0,e])},837540,t=>{"use strict";var e=(0,t.i(866184).createContext)({transformPagePoint:function(t){return t},isStatic:!1,reducedMotion:"never"});t.s(["MotionConfigContext",0,e])},570606,t=>{"use strict";var e,n,i=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInl
2ine|popover|popoverTarget|popoverTargetAction|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,r=(e=function(t){return i.test(t)||111===t.charCodeAt(0)&&110===t.charCodeAt(1)&&91>t.charCodeAt(2)},n=Object.create(null),function(t){return void 0===n[t]&&(n[t]=e(t)),n[t]});t.s(["default",0,r],570606)},688640,8343,857959,338730,414330,972889,474032,t=>{"use strict";var e,n=t.i(866184),i=(0,n.createContext)({});t.s(["MotionContext",0,i],688640);var r=t.i(186645),a=t.i(643646);function o(t){return Array.isArray(t)?t.join(" "):t}t.s(["useCreateMotionContext",0,function(t){var e=function(t,e){if((0,r.isControllingVariants)(t)){var n=t.initial,i=t.animate;return{initial:!1===n||(0,a.isVariantLabel)(n)?n:void 0,animate:(0,a.isVariantLabel)(i)?i:void 0}}return!1!==t.inherit?e:{}}(t,(0,n.useContext)(i)),s=e.initial,u=e.animate;return(0,n.useMemo)(function(){return{initial:s,animate:u}},[o(s),o(u)])}],8343);var s=t.i(164309),u=t.i(784544),l=t.i(350764),c=t.i(97225),h=t.i(6778),d=function(){return{style:{},transform:{},transformOrigin:{},vars:{}}};function v(t,e,n){for(var i in e)(0,l.isMotionValue)(e[i])||(0,c.isForcedMotionValue)(i,n)||(t[i]=e[i])}t.s(["createHtmlRenderState",0,d],857959);var f=t.i(533186),m=t.i(140109),p=function(){return(0,u._)((0,s._)({},d()),{attrs:{}})};t.s(["createSvgRenderState",0,p],338730);var y=t.i(536038),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","propagate","ignoreStrict","viewport"]);function x(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)}var k=function(t){return!x(t)};try{e=t.r(570606).default,"function"==typeof e&&(k=function(t){return t.startsWith("on")?!x(t):e(t)})}catch(t){}var T=t.i(450603);
2t.s(["useRender",0,function(t,e,i,r,a){var o=r.latestValues,c=arguments.length>5&&void 0!==arguments[5]&&arguments[5],g=arguments.length>6?arguments[6]:void 0,S=((null!=g?g:(0,T.isSVGComponent)(t))?function(t,e,i,r){var a=(0,n.useMemo)(function(){var n=p();return(0,f.buildSVGAttrs)(n,e,(0,m.isSVGTag)(r),t.transformTemplate,t.style),(0,u._)((0,s._)({},n.attrs),{style:(0,s._)({},n.style)})},[e]);if(t.style){var o={};v(o,t.style,t),a.style=(0,s._)({},o,a.style)}return a}:function(t,e){var i,r,a={},o=(v(i={},t.style||{},t),Object.assign(i,(r=t.transformTemplate,(0,n.useMemo)(function(){var t=d();return(0,h.buildHTMLStyles)(t,e,r),Object.assign({},t.vars,t.style)},[e]))),i);return t.drag&&!1!==t.dragListener&&(a.draggable=!1,o.userSelect=o.WebkitUserSelect=o.WebkitTouchCallout="none",o.touchAction=!0===t.drag?"none":"pan-".concat("x"===t.drag?"y":"x")),void 0===t.tabIndex&&(t.onTap||t.onTapStart||t.whileTap)&&(a.tabIndex=0),a.style=o,a})(e,o,a,t),b=function(t,e,n){var i={};for(var r in t)("values"!==r||"object"!==(0,y._)(t.values))&&!(0,l.isMotionValue)(t[r])&&(k(r)||!0===n&&x(r)||!e&&!x(r)||t.draggable&&r.startsWith("onDrag"))&&(i[r]=t[r]);return i}(e,"string"==typeof t,c),w=t!==n.Fragment?(0,u._)((0,s._)({},b,S),{ref:i}):{},P=e.children,V=(0,n.useMemo)(function(){return(0,l.isMotionValue)(P)?P.get():P},[P]);return(0,n.createElement)(t,(0,u._)((0,s._)({},w),{children:V}))}],414330);var S=t.i(570110);t.s(["scrapeHTMLMotionValuesFromProps",()=>S.scrapeMotionValuesFromProps],972889),t.s(["resolveMotionValue",0,function(t){return(0,l.isMotionValue)(t)?t.get():t}],474032)},551081,t=>{"use strict";var e=(0,t.i(866184).createContext)(null);t.s(["PresenceContext",0,e])},883523,t=>{"use strict";var e=t.i(866184);t.s(["useConstant",0,function(t){var n=(0,e.useRef)(null);return null===n.current&&(n.current=t()),n.current}])},307979,701040,648797,743238,765042,649180,554653,30028,891228,t=>{"use strict";var e=t.i(972889),n=t.i(766417),i=t.i(474032),r=t.i(186645),a=t.i(508578),o=t.i(155458),s=t.i(866184),u=t.i(688640),l=t.i(551081),c=t.i(883523),h=function(t){return function(e,h){var d=(0,s.useContext)(u.MotionContext),v=(0,s.useContext)(l.PresenceContext),f=function(){var s,u;return s=t.scrapeMotionValuesFromProps,u=t.createRenderState,{latestValues:function(t,e,s,u){var l={},c=u(t,{});for(var h in c)l[h]=(0,i.resolveMotionValue)(c[h]);var d=t.initial,v=t.animate,f=(0,r.isControllingVariants)(t),m=(0,r.isVariantNode)(t);e&&m&&!f&&!1!==t.inherit&&(void 0===d&&(d=e.initial),void 0===v&&(v=e.animate));var p=!!s&&!1===s.initial,y=(p=p||!1===d)?v:d;if(y&&"boolean"!=typeof y&&!(0,a.isAnimationControls)(y))for(var g=Array.isArray(y)?y:[y],x=0;x<g.length;x++){var k=(0,o.resolveVariantFromProps)(t,g[x]);if(k){var T=k.transitionEnd,S=(k.transition,(0,n._)(k,["transitionEnd","transition"]));for(var b in S){var w=S[b];if(Array.isArray(w)){var P=p?w.length-1:0;w=w[P]}null!==w&&(l[b]=w)}for(var V in T)l[V]=T[V]}}return l}(e,d,v,s),renderState:u()}};return h?f():(0,c.useConstant)(f)}},d=t.i(857959),v=h({scrapeMotionValuesFromProps:e.scrapeHTMLMotionValuesFromProps,createRenderState:d.createHtmlRenderState});t.s(["useHTMLVisualState",0,v],307979);var f=t.i(639190),f=f,m=t.i(338730),p=h({scrapeMotionValuesFromProps:f.scrapeMotionValuesFromProps,createRenderState:m.createSvgRenderState});t.s(["useSVGVisualState",0,p],701040);var y=t.i(481103),g={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"]},x=!1;function k(){var t=function(t){e[t]={isEnabled:function(e){return g[t].some(function(t){return!!e[t]})}}};if(!x){var e={};for(var n in g)t(n);(0,y.setFeatureDefinitions)(e),x=!0}return(0,y.getFeatureDefinitions)()}t.s(["getInitializedFeatureDefinitions",0,k],648797);var T=t.i(164309);t.s(["loadFeatures",0,function(t){var e=k();for(var n in t)e[n]=(0,T._)({},e[n],t[n]);(0,y.setFeatureDefinitions)(e)}],743238);var S=Symbol.for("motionComponentSymbol");t.s(["motionComponentSymbol",0,S],765042),t.s(["useMotionRef",0,function(t,e,n){var i=(0,s.useRef)(n);(0,s.useInsertionEffect)(function(){i.current=n});var r=(0,s.useRef)(null);return(0,s.useCallback)(function(n){if(n){var a;null==(a=t.onMount)||a.call(t,n)}e&&(n?e.mount(n):e.unmount());var o=i.current;if("function"==typeof o)if(n){var s=o(n);"function"==typeof s&&(r.current=s)}else r.current?(r.current(),r.current=null):o(n);else o&&(o.current=n)},[e])}],649180);var b="data-"+(0,t.i(544473).camelToDash)("framerAppearId");t.s(["optimizedAppearDataAttribute",0,b],554653);var w=(0,s.createContext)({});t.s(["SwitchLayoutGroupContext",0,w],30028);var P=t.i(536038);t.s(["isRefObject",0,function(t){return t&&(void 0===t?"undefined":(0,P._)(t))==="object"&&Object.prototype.hasOwnProperty.call(t,"current")}],891228)},672250,t=>{"use strict";var e=t.i(866184),n="u">typeof window?e.useLayoutEffect:e.useEffect;t.s(["useIsomorphicLayoutEffect",0,n],672250)}
2,148923,838976,233278,198577,923301,274794,815645,219084,753584,577182,991388,509,111339,470934,562667,998809,931224,904282,490350,900332,959452,988645,587935,508821,610927,166532,710401,t=>{"use strict";t.i(878472);var e=t.i(164309),n=t.i(784544),i=t.i(833087),r=t.i(866184),a=t.i(706735),o=t.i(669462),s=t.i(837540),u=t.i(688640),l=t.i(8343),c=t.i(414330),h=t.i(450603),d=t.i(307979),v=t.i(701040),f=t.i(648797),m=t.i(743238),p=t.i(765042),y=t.i(649180),g=t.i(554653),x=t.i(551081),k=t.i(30028),T=t.i(891228),S=t.i(672250);function b(t){var b,w,P=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},V=P.forwardMotionProps,M=void 0!==V&&V,A=P.type,E=arguments.length>2?arguments[2]:void 0,C=arguments.length>3?arguments[3]:void 0;E&&(0,m.loadFeatures)(E);var D=A?"svg"===A:(0,h.isSVGComponent)(t),_=D?v.useSVGVisualState:d.useHTMLVisualState;function R(h,d){var v,m,p,b=(0,n._)((0,e._)({},(0,r.useContext)(s.MotionConfigContext),h),{layoutId:(v=h.layoutId,(m=(0,r.useContext)(a.LayoutGroupContext).id)&&void 0!==v?m+"-"+v:v)}
2),w=b.isStatic,P=(0,l.useCreateMotionContext)(h),V=_(h,w);if(!w&&"u">typeof window){(0,r.useContext)(o.LazyContext).strict;var A,E,R,L,B,F,j,O,I,N,U,W,G,z,H,K,Y,X,q,Z,$,J,Q,tt,te,tn,ti,tr,ta,to,ts,tu=function(t){var n=(0,f.getInitializedFeatureDefinitions)(),i=n.drag,r=n.layout;if(!i&&!r)return{};var a=(0,e._)({},i,r);return{MeasureLayout:(null==i?void 0:i.isEnabled(t))||(null==r?void 0:r.isEnabled(t))?a.MeasureLayout:void 0,ProjectionNode:a.ProjectionNode}}(b);p=tu.MeasureLayout,G=C,z=tu.ProjectionNode,q=(0,r.useContext)(u.MotionContext).visualElement,Z=(0,r.useContext)(o.LazyContext),$=(0,r.useContext)(x.PresenceContext),Q=(J=(0,r.useContext)(s.MotionConfigContext)).reducedMotion,tt=J.skipAnimations,te=(0,r.useRef)(null),tn=(0,r.useRef)(!1),G=G||Z.renderer,!te.current&&G&&(te.current=G(t,{visualState:V,parent:q,props:b,presenceContext:$,blockInitialAnimation:!!$&&!1===$.initial,reducedMotionConfig:Q,skipAnimations:tt,isSVG:D}),tn.current&&te.current&&(te.current.manuallyAnimateOnMount=!0)),ti=te.current,tr=(0,r.useContext)(k.SwitchLayoutGroupContext),ti&&!ti.projection&&z&&("html"===ti.type||"svg"===ti.type)&&(A=te.current,E=b,R=z,L=tr,B=E.layoutId,F=E.layout,j=E.drag,O=E.dragConstraints,I=E.layoutScroll,N=E.layoutRoot,U=E.layoutAnchor,W=E.layoutCrossfade,A.projection=new R(A.latestValues,E["data-framer-portal-id"]?void 0:function t(e){if(e)return!1!==e.options.allowProjection?e.projection:t(e.parent)}(A.parent)),A.projection.setOptions({layoutId:B,layout:F,alwaysMeasureLayout:!!j||O&&(0,T.isRefObject)(O),visualElement:A,animationType:"string"==typeof F?F:"both",initialPromotionConfig:L,crossfade:W,layoutScroll:I,layoutRoot:N,layoutAnchor:U})),ta=(0,r.useRef)(!1),(0,r.useInsertionEffect)(function(){ti&&ta.current&&ti.update(b,$)}),to=b[g.optimizedAppearDataAttribute],ts=(0,r.useRef)(!!to&&"u">typeof window&&!(null==(H=(K=window).MotionHandoffIsComplete)?void 0:H.call(K,to))&&(null==(Y=(X=window).MotionHasOptimisedAnimation)?void 0:Y.call(X,to))),(0,S.useIsomorphicLayoutEffect)(function(){tn.current=!0,ti&&(ta.current=!0,window.MotionIsMounted=!0,ti.updateFeatures(),ti.scheduleRenderMicrotask(),ts.current&&ti.animationState&&ti.animationState.animateChanges())}),(0,r.useEffect)(function(){ti&&(!ts.current&&ti.animationState&&ti.animationState.animateChanges(),ts.current&&(queueMicrotask(function(){var t,e;null==(t=(e=window).MotionHandoffMarkAsComplete)||t.call(e,to)}),ts.current=!1),ti.enteringChildren=void 0)}),P.visualElement=ti}return(0,i.jsxs)(u.MotionContext.Provider,{value:P,children:[p&&P.visualElement?(0,i.jsx)(p,(0,e._)({visualElement:P.visualElement},b)):null,(0,c.useRender)(t,h,(0,y.useMotionRef)(V,P.visualElement,d),V,w,M,D)]})}R.displayName="motion.".concat("string"==typeof t?t:"create(".concat(null!=(b=null!=(w=t.displayName)?w:t.name)?b:"",")"));var L=(0,r.forwardRef)(R);return L[p.motionComponentSymbol]=t,L}t.s(["createMotionProxy",0,function(t,e){if("u"<typeof Proxy)return b;var n=new Map,i=function(n,i){return b(n,i,t,e)};return new Proxy(function(t,e){return i(t,e)},{get:function(r,a){return"create"===a?i:(n.has(a)||n.set(a,b(a,void 0,t,e)),n.get(a))}})}],148923);var w=t.i(396784),P=t.i(401157),V=t.i(319465),M=t.i(785337),A=function(){function t(e){(0,P._)(this,t),this.isMounted=!1,this.node=e}return(0,V._)(t,[{key:"update",value:function(){}}]),t}();t.s(["Feature",0,A],838976);var E=t.i(766417),C=t.i(648486),D=t.i(155458);function _(t,e,n){var i=t.getProps();return(0,D.resolveVariantFromProps)(i,e,void 0!==n?n:i.custom,t)}function R(t,n){if((null==t?void 0:t.inherit)&&n){t.inherit;var i=(0,E._)(t,["inherit"]);return(0,e._)({},n,i)}return t}function L(t,e){var n,i,r=null!=(n=null!=(i=null==t?void 0:t[e])?i:null==t?void 0:t.default)?n:t;return r!==t?R(r,t):r}t.s(["getValueTransition",0,L],233278);var B=t.i(270826),F=t.i(964355),j=function(t){return Array.isArray(t)};function O(t,n){var i=_(t,n)||{},r=i.transitionEnd,a=(i.transition,(0,E._)(i,["transitionEnd","transition"]));for(var o in a=(0,e._)({},a,void 0===r?{}:r)){var s,u=j(s=a[o])?s[s.length-1]||0:s;t.hasValue(o)?t.getValue(o).set(u):t.addValue(o,(0,F.motionValue)(u))}}t.s(["setTarget",0,O],198577);
2var I=t.i(719372),N=t.i(350764);function U(t,e){var n=t.getValue("willChange");if((0,N.isMotionValue)(n)&&n.add)return n.add(e);if(!n&&I.MotionGlobalConfig.WillChange){var i=new I.MotionGlobalConfig.WillChange("auto");t.addValue("willChange",i),i.add(e)}}function W(t){return t.props[g.optimizedAppearDataAttribute]}t.s(["addValueToWillChange",0,U],923301),t.s(["getOptimisedAppearId",0,W],274794);var G=t.i(633836),z=t.i(120194),H=t.i(720802),K=function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];return e.reduce(function(t,e){return function(n){return e(t(n))}})};t.s(["pipe",0,K],815645);var Y=t.i(508983),X=t.i(906470),q=t.i(536038),Z=t.i(725542),$=t.i(995905),J=t.i(970080),Q=t.i(49997),tt=t.i(34771),te=t.i(108027);function tn(t,e,n){return(n<0&&(n+=1),n>1&&(n-=1),n<1/6)?t+(e-t)*6*n:n<.5?e:n<2/3?t+(e-t)*(2/3-n)*6:t}var ti=t.i(328076);function tr(t,e){return function(n){return n>0?e:t}}var ta=t.i(341330),to=function(t,e,n){var i=t*t,r=n*(e*e-i)+i;return r<0?0:Math.sqrt(r)},ts=[tt.hex,ti.rgba,te.hsla];function tu(t){var e=ts.find(function(e){return e.test(t)});if((0,Z.warning)(!!e,"'".concat(t,"' is not an animatable color. Use the equivalent color code instead."),"color-not-animatable"),!e)return!1;var n=e.parse(t);return e===te.hsla&&(n=function(t){var e=t.hue,n=t.saturation,i=t.lightness,r=t.alpha;e/=360,i/=100;var a=0,o=0,s=0;if(n/=100){var u=i<.5?i*(1+n):i+n-i*n,l=2*i-u;a=tn(l,u,e+1/3),o=tn(l,u,e),s=tn(l,u,e-1/3)}else a=o=s=i;return{red:Math.round(255*a),green:Math.round(255*o),blue:Math.round(255*s),alpha:r}}(n)),n}var tl=function(t,n){var i=tu(t),r=tu(n);if(!i||!r)return tr(t,n);var a=(0,e._)({},i);return function(t){return a.red=to(i.red,r.red,t),a.green=to(i.green,r.green,t),a.blue=to(i.blue,r.blue,t),a.alpha=(0,ta.mixNumber)(i.alpha,r.alpha,t),ti.rgba.transform(a)}},tc=new Set(["none","hidden"]);function th(t,e){return function(n){return(0,ta.mixNumber)(t,e,n)}}function td(t){return"number"==typeof t?th:"string"==typeof t?(0,$.isCSSVariableToken)(t)?tr:J.color.test(t)?tl:tm:Array.isArray(t)?tv:(void 0===t?"undefined":(0,q._)(t))==="object"?J.color.test(t)?tl:tf:tr}function tv(t,e){var n=(0,C._)(t),i=n.length,r=t.map(function(t,n){return td(t)(t,e[n])});return function(t){for(var e=0;e<i;e++)n[e]=r[e](t);return n}}function tf(t,n){var i=(0,e._)({},t,n),r={};for(var a in i)void 0!==t[a]&&void 0!==n[a]&&(r[a]=td(t[a])(t[a],n[a]));return function(t){for(var e in r)i[e]=r[e](t);return i}}var tm=function(t,e){var n=Q.complex.createTransformer(e),i=(0,Q.analyseComplexValue)(t),r=(0,Q.analyseComplexValue)(e);return i.indexes.var.length===r.indexes.var.length&&i.indexes.color.length===r.indexes.color.length&&i.indexes.number.length>=r.indexes.number.length?tc.has(t)&&!r.values.length||tc.has(e)&&!i.values.length?tc.has(t)?function(n){return n<=0?t:e}:function(n){return n>=1?e:t}:K(tv(function(t,e){for(var n=[],i={color:0,var:0,number:0},r=0;r<e.values.length;r++){var a,o=e.types[r],s=t.indexes[o][i[o]],u=null!=(a=t.values[s])?a:0;n[r]=u,i[o]++}return n}(i,r),r.values),n):((0,Z.warning)(!0,"Complex values '".concat(t,"' and '").concat(e,"' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition."),"complex-values-different"),tr(t,e))};function tp(t,e,n){return"number"==typeof t&&"number"==typeof e&&"number"==typeof n?(0,ta.mixNumber)(t,e,n):td(t)(t,e)}var ty=t.i(907953),tg=function(t){var e=function(e){return t(e.timestamp)};return{start:function(){var t=!(arguments.length>0)||void 0===arguments[0]||arguments[0];return ty.frame.update(e,t)},stop:function(){return(0,ty.cancelFrame)(e)},now:function(){return ty.frameData.isProcessing?ty.frameData.timestamp:H.time.now()}}},tx=t.i(50252);function tk(t){for(var e=0,n=t.next(e);!n.done&&e<2e4;)e+=50,n=t.next(e);return e>=2e4?1/0:e}function tT(t){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:100,r=arguments.length>2?arguments[2]:void 0,a=r((0,n._)((0,e._)({},t),{keyframes:[0,i]})),o=Math.min(tk(a),2e4);return{type:"keyframes",ease:function(t){return a.next(o*t).value/i},duration:(0,G.millisecondsToSeconds)(o)}}
2t.s(["createGeneratorEasing",0,tT],219084);var tS=.01,tb=2,tw=.005,tP=.5;function tV(t,e){return t*Math.sqrt(1-e*e)}var tM=["duration","bounce"],tA=["stiffness","damping","mass"];function tE(t,e){return e.some(function(e){return void 0!==t[e]})}function tC(){var t,i,r,a,o,s,u=arguments.length>0&&void 0!==arguments[0]?arguments[0]:.3,l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.3,c=(void 0===u?"undefined":(0,q._)(u))!=="object"?{visualDuration:u,keyframes:[0,1],bounce:l}:u,h=c.restSpeed,d=c.restDelta,v=c.keyframes[0],f=c.keyframes[c.keyframes.length-1],m={done:!1,value:v},p=function(t){var i=(0,e._)({velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1},t);if(!tE(t,tA)&&tE(t,tM))if(i.velocity=0,t.visualDuration){var r=2*Math.PI/(1.2*t.visualDuration),a=r*r,o=2*(0,Y.clamp)(.05,1,1-(t.bounce||0))*Math.sqrt(a);i=(0,n._)((0,e._)({},i),{mass:1,stiffness:a,damping:o})}else{var s=function(t){var e,n,i=t.duration,r=void 0===i?800:i,a=t.bounce,o=t.velocity,s=void 0===o?0:o,u=t.mass,l=void 0===u?1:u;(0,Z.warning)(r<=(0,G.secondsToMilliseconds)(10),"Spring duration must be 10 seconds or less","spring-duration-limit");var c=1-(void 0===a?.3:a);c=(0,Y.clamp)(.05,1,c),r=(0,Y.clamp)(.01,10,(0,G.millisecondsToSeconds)(r)),c<1?(e=function(t){var e=t*c,n=e*r;return .001-(e-s)/tV(t,c)*Math.exp(-n)},n=function(t){var n=t*c*r,i=Math.pow(c,2)*Math.pow(t,2)*r,a=Math.exp(-n),o=tV(Math.pow(t,2),c);return(n*s+s-i)*a*(-e(t)+.001>0?-1:1)/o}):(e=function(t){return -.001+Math.exp(-t*r)*((t-s)*r+1)},n=function(t){return r*r*(s-t)*Math.exp(-t*r)});var h=function(t,e,n){for(var i=n,r=1;r<12;r++)i-=t(i)/e(i);return i}(e,n,5/r);if(r=(0,G.secondsToMilliseconds)(r),isNaN(h))return{stiffness:100,damping:10,duration:r};var d=Math.pow(h,2)*l;return{stiffness:d,damping:2*c*Math.sqrt(l*d),duration:r}}((0,n._)((0,e._)({},t),{velocity:0}));(i=(0,n._)((0,e._)({},i,s),{mass:1})).isResolvedFromDuration=!0}return i}((0,n._)((0,e._)({},c),{velocity:-(0,G.millisecondsToSeconds)(c.velocity||0)})),y=p.stiffness,g=p.damping,x=p.mass,k=p.duration,T=p.velocity,S=p.isResolvedFromDuration,b=T||0,w=g/(2*Math.sqrt(y*x)),P=f-v,V=(0,G.millisecondsToSeconds)(Math.sqrt(y/x)),M=5>Math.abs(P);if(h||(h=M?tS:tb),d||(d=M?tw:tP),w<1)r=tV(V,w),a=(b+w*V*P)/r,t=function(t){return f-Math.exp(-w*V*t)*(a*Math.sin(r*t)+P*Math.cos(r*t))},o=w*V*a+P*r,s=w*V*P-a*r,i=function(t){return Math.exp(-w*V*t)*(o*Math.sin(r*t)+s*Math.cos(r*t))};else if(1===w){t=function(t){return f-Math.exp(-V*t)*(P+(b+V*P)*t)};var A=b+V*P;i=function(t){return Math.exp(-V*t)*(V*A*t-b)}}else{var E=V*Math.sqrt(w*w-1);t=function(t){var e=Math.exp(-w*V*t),n=Math.min(E*t,300);return f-e*((b+w*V*P)*Math.sinh(n)+E*P*Math.cosh(n))/E};var C=(b+w*V*P)/E,D=w*V*C-P*E,_=w*V*P-C*E;i=function(t){var e=Math.exp(-w*V*t),n=Math.min(E*t,300);return e*(D*Math.sinh(n)+_*Math.cosh(n))}}var R={calculatedDuration:S&&k||null,velocity:function(t){return(0,G.secondsToMilliseconds)(i(t))},next:function(e){if(!S&&w<1){var n=Math.exp(-w*V*e),u=Math.sin(r*e),l=Math.cos(r*e),c=f-n*(a*u+P*l);return m.done=Math.abs((0,G.secondsToMilliseconds)(n*(o*u+s*l)))<=h&&Math.abs(f-c)<=d,m.value=m.done?f:c,m}var v=t(e);return S?m.done=e>=k:m.done=Math.abs((0,G.secondsToMilliseconds)(i(e)))<=h&&Math.abs(f-v)<=d,m.value=m.done?f:v,m},toString:function(){var t=Math.min(tk(R),2e4),e=(0,tx.generateLinearEasing)(function(e){return R.next(t*e).value},t,30);return t+"ms "+e},toTransition:function(){}};return R}tC.applyToOptions=function(t){var e=tT(t,100,tC);return t.ease=e.ease,t.duration=(0,G.secondsToMilliseconds)(e.duration),t.type="keyframes",t},t.s(["spring",0,tC],753584);var tD=t.i(398361);function t_(t,e,n){var i=Math.max(e-5,0);return(0,tD.velocityPerSecond)(n-t(i),e-i)}function tR(t){var e,n,i=t.keyframes,r=t.velocity,a=t.power,o=t.timeConstant,s=void 0===o?325:o,u=t.bounceDamping,l=void 0===u?10:u,c=t.bounceStiffness,h=void 0===c?500:c,d=t.modifyTarget,v=t.min,f=t.max,m=t.restDelta,p=void 0===m?.5:m,y=t.restSpeed,g=i[0],x={done:!1,value:g},k=(void 0===a?.8:a)*(void 0===r?0:r),T=g+k,S=void 0===d?T:d(T);S!==T&&(k=S-g);var b=function(t){return-k*Math.exp(-t/s)},w=function(t){return S+b(t)},P=function(t){var e=b(t),n=w(t);x.done=Math.abs(e)<=p,x.value=x.done?S:n},V=function(t){var i,r;i=x.value,(void 0!==v&&i<v||void 0!==f&&i>
2f)&&(e=t,n=tC({keyframes:[x.value,(r=x.value,void 0===v?f:void 0===f||Math.abs(v-r)<Math.abs(f-r)?v:f)],velocity:t_(w,t,x.value),damping:l,stiffness:h,restDelta:p,restSpeed:y}))};return V(0),{calculatedDuration:null,next:function(t){var i=!1;return(n||void 0!==e||(i=!0,P(t),V(t)),void 0!==e&&t>=e)?n.next(t-e):(i||P(t),x)}}}var tL=function(t,e,n){return(((1-3*n+3*e)*t+(3*n-6*e))*t+3*e)*t};function tB(t,e,n,i){if(t===e&&n===i)return z.noop;var r=function(e){var i,r,a=0,o=1,s=0;do(i=tL(r=a+(o-a)/2,t,n)-e)>0?o=r:a=r;while(Math.abs(i)>1e-7&&++s<12)return r};return function(t){return 0===t||1===t?t:tL(r(t),e,i)}}var tF=tB(.42,0,1,1),tj=tB(0,0,.58,1),tO=tB(.42,0,.58,1),tI=function(t){return Array.isArray(t)&&"number"!=typeof t[0]};t.s(["isEasingArray",0,tI],577182);var tN=t.i(177619),tU=function(t){return function(e){return e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2}},tW=function(t){return function(e){return 1-t(1-e)}};t.s(["reverseEasing",0,tW],991388);var tG=tB(.33,1.53,.69,.99),tz=tW(tG),tH=tU(tz),tK=function(t){return t>=1?1:(t*=2)<1?.5*tz(t):.5*(2-Math.pow(2,-10*(t-1)))},tY=function(t){return 1-Math.sin(Math.acos(t))},tX=tW(tY),tq=tU(tY);t.s(["circIn",0,tY,"circInOut",0,tq,"circOut",0,tX],509);var tZ=t.i(210514),t$={linear:z.noop,easeIn:tF,easeInOut:tO,easeOut:tj,circIn:tY,circInOut:tq,circOut:tX,backIn:tz,backInOut:tH,backOut:tG,anticipate:tK},tJ=function(t){if((0,tZ.isBezierDefinition)(t)){(0,Z.invariant)(4===t.length,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");var e=(0,tN._)(t,4);return tB(e[0],e[1],e[2],e[3])}return"string"==typeof t?((0,Z.invariant)(void 0!==t$[t],"Invalid easing type '".concat(t,"'"),"invalid-easing-type"),t$[t]):t};t.s(["easingDefinitionToFunction",0,tJ],111339);var tQ=function(t,e,n){var i=e-t;return i?(n-t)/i:1};function t0(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=n.clamp,r=n.ease,a=n.mixer,o=t.length;if((0,Z.invariant)(o===e.length,"Both input and output ranges must be the same length","range-length"),1===o)return function(){return e[0]};if(2===o&&e[0]===e[1])return function(){return e[1]};var s=t[0]===t[1];t[0]>t[o-1]&&(t=(0,C._)(t).reverse(),e=(0,C._)(e).reverse());var u=function(t,e,n){for(var i=[],r=n||I.MotionGlobalConfig.mix||tp,a=t.length-1,o=0;o<a;o++){var s=r(t[o],t[o+1]);e&&(s=K(Array.isArray(e)?e[o]||z.noop:e,s)),i.push(s)}return i}(e,r,a),l=u.length,c=function(n){if(s&&n<t[0])return e[0];var i=0;if(l>1)for(;i<t.length-2&&!(n<t[i+1]);i++);var r=tQ(t[i],t[i+1],n);return u[i](r)};return void 0===i||i?function(e){return c((0,Y.clamp)(t[0],t[o-1],e))}:c}function t1(t,e){for(var n=t[t.length-1],i=1;i<=e;i++){var r=tQ(0,e,i);t.push((0,ta.mixNumber)(n,1,r))}}function t3(t){var e=[0];return t1(e,t.length-1),e}function t4(t){var e,n=t.duration,i=void 0===n?300:n,r=t.keyframes,a=t.times,o=t.ease,s=void 0===o?"easeInOut":o,u=tI(s)?s.map(tJ):tJ(s),l={done:!1,value:r[0]},c=t0((e=a&&a.length===r.length?a:t3(r),e.map(function(t){return t*i})),r,{ease:Array.isArray(u)?u:r.map(function(){return u||tO}).splice(0,r.length-1)});return{calculatedDuration:i,next:function(t){return l.value=c(t),l.done=t>=i,l}}}t.s(["progress",0,tQ],470934),t.s(["interpolate",0,t0],562667),t.s(["fillOffset",0,t1],998809),t.s(["defaultOffset",0,t3],931224);var t5=t.i(412126),t2={decay:tR,inertia:tR,tween:t4,keyframes:t4,spring:tC};function t8(t){"string"==typeof t.type&&(t.type=t2[t.type])}var t6=t.i(247553),t7=function(t){return t/100},t9=function(t){function i(t){var e;return(0,P._)(this,i),(e=(0,w._)(this,i)).state="idle",e.startTime=null,e.isStopped=!1,e.currentTime=0,e.holdTime=null,e.playbackSpeed=1,e.delayState={done:!1,value:void 0},e.stop=function(){var t,n,i=e.options.motionValue;i&&i.updatedAt!==H.time.now()&&e.tick(H.time.now()),e.isStopped=!0,"idle"!==e.state&&(e.teardown(),null==(t=(n=e.options).onStop)||t.call(n))},X.activeAnimations.mainThread++,e.options=t,e.initAnimation(),e.play(),!1===t.autoplay&&e.pause(),e}return(0,M._)(i,t),(0,V._)(i,[{key:"initAnimation",value:function(){var t=this.options;t8(t);var i=t.type,r=t.repeat,a=t.repeatDelay,o=void 0===a?0:a,s=t.repeatType,u=t.velocity,l=t.keyframes,c=(void 0===i?t4:i)||t4;c!==t4&&"number"!=typeof l[0]&&(this.mixKeyframes=K(t7,tp(l[0],l[1])),l=[0,100]);var h=c((0,n._)((0,e._)({},t),{keyframes:l}));"mirror"===s&&(this.mirroredGenerator=c((0,n._)((0,e._)({},t),{keyframes:(0,C._)(l).reverse(),velocity:-(void 0===u?0:u)}))),null===h.calculatedDuration&&(h.calculatedDuration=tk(h));var d=h.calculatedDuration;this.calculatedDuration=d,this.resolvedDuration=d+o,this.totalDuration=this.resolvedDuration*((void 0===r?0:r)+1)-o,this.generator=h}},{key:"updateTime",value:function(t){var e=Math.round(t-this.startTime)*this.playbackSpeed;null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=e}},{key:"tick",value:function(t){var e,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=this.generator,r=this.totalDuration,a=this.mixKeyframes,o=this.mirroredGenerator,s=this.resolvedDuration,u=this.calculatedDuration;if(null===this.startTime)return i.next(0);
2var l=this.options,c=l.delay,h=l.keyframes,d=l.repeat,v=l.repeatType,f=l.repeatDelay,m=l.type,p=l.onUpdate,y=l.finalKeyframe;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-r/this.speed,this.startTime)),n?this.currentTime=t:this.updateTime(t);var g=this.currentTime-(void 0===c?0:c)*(this.playbackSpeed>=0?1:-1),x=this.playbackSpeed>=0?g<0:g>r;this.currentTime=Math.max(g,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=r);var k=this.currentTime,T=i;if(d){var S=Math.min(this.currentTime,r)/s,b=Math.floor(S),w=S%1;!w&&S>=1&&(w=1),1===w&&b--,(b=Math.min(b,d+1))%2&&("reverse"===v?(w=1-w,f&&(w-=f/s)):"mirror"===v&&(T=o)),k=(0,Y.clamp)(0,1,w)*s}x?(this.delayState.value=h[0],e=this.delayState):e=T.next(k),a&&!x&&(e.value=a(e.value));var P=e.done;x||null===u||(P=this.playbackSpeed>=0?this.currentTime>=r:this.currentTime<=0);var V=null===this.holdTime&&("finished"===this.state||"running"===this.state&&P);return V&&m!==tR&&(e.value=(0,t5.getFinalKeyframe)(h,this.options,y,this.speed)),p&&p(e.value),V&&this.finish(),e}},{key:"then",value:function(t,e){return this.finished.then(t,e)}},{key:"duration",get:function(){return(0,G.millisecondsToSeconds)(this.calculatedDuration)}},{key:"iterationDuration",get:function(){var t=(this.options||{}).delay;return this.duration+(0,G.millisecondsToSeconds)(void 0===t?0:t)}},{key:"time",get:function(){return(0,G.millisecondsToSeconds)(this.currentTime)},set:function(t){t=(0,G.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?this.driver.start(!1):(this.startTime=0,this.state="paused",this.holdTime=t,this.tick(t))}},{key:"getGeneratorVelocity",value:function(){var t=this,e=this.currentTime;if(e<=0)return this.options.velocity||0;if(this.generator.velocity)return this.generator.velocity(e);var n=this.generator.next(e).value;return t_(function(e){return t.generator.next(e).value},e,n)}},{key:"speed",get:function(){return this.playbackSpeed},set:function(t){var e=this.playbackSpeed!==t;e&&this.driver&&this.updateTime(H.time.now()),this.playbackSpeed=t,e&&this.driver&&(this.time=(0,G.millisecondsToSeconds)(this.currentTime))}},{key:"play",value:function(){var t,e,n=this;if(!this.isStopped){var i=this.options,r=i.driver,a=i.startTime;this.driver||(this.driver=(void 0===r?tg:r)(function(t){return n.tick(t)})),null==(t=(e=this.options).onPlay)||t.call(e);var o=this.driver.now();"finished"===this.state?(this.updateFinished(),this.startTime=o):null!==this.holdTime?this.startTime=o-this.holdTime:this.startTime||(this.startTime=null!=a?a:o),"finished"===this.state&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}}},{key:"pause",value:function(){this.state="paused",this.updateTime(H.time.now()),this.holdTime=this.currentTime}},{key:"complete",value:function(){"running"!==this.state&&this.play(),this.state="finished",this.holdTime=null}},{key:"finish",value:function(){var t,e;this.notifyFinished(),this.teardown(),this.state="finished",null==(t=(e=this.options).onComplete)||t.call(e)}},{key:"cancel",value:function(){var t,e;this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),null==(t=(e=this.options).onCancel)||t.call(e)}},{key:"teardown",value:function(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null,X.activeAnimations.mainThread--}},{key:"stopDriver",value:function(){this.driver&&(this.driver.stop(),this.driver=void 0)}},{key:"sample",value:function(t){return this.startTime=0,this.tick(t,!0)}},{key:"attachTimeline",value:function(t){var e;return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),null==(e=this.driver)||e.stop(),t.observe(this)}}]),i}(t6.WithPromise);t.s(["JSAnimation",0,t9],904282);var et=t.i(920986),ee=t.i(271929),en=t.i(891662),ei={anticipate:tK,backInOut:tH,circInOut:tq},er=function(t){function i(t){var e;return(0,P._)(this,i),"string"==typeof t.ease&&t.ease in ei&&(t.ease=ei[t.ease]),t8(t),e=(0,w._)(this,i,[t]),void 0!==t.startTime&&!1!==t.autoplay&&(e.startTime=t.startTime),e.options=t,e}return(0,M._)(i,t),(0,V._)(i,[{key:"updateMotionValue",value:function(t){var i=this.options,r=i.motionValue,a=(i.onUpdate,i.onComplete,i.element),o=(0,E._)(i,["motionValue","onUpdate","onComplete","element"]);if(r){if(void 0!==t)return void r.set(t);var s=new t9((0,n._)((0,e._)({},o),{autoplay:!1})),u=Math.max(10,H.time.now()-this.startTime),l=(0,Y.clamp)(0,10,u-10),c=s.sample(u).value,h=this.options.name;a&&h&&(0,ee.setStyle)(a,h,c),r.setWithVelocity(s.sample(Math.max(0,u-l)).value,c,l),s.stop()}}}]),i}(en.NativeAnimation),ea=t.i(430142),eo=function(t,e){return"zIndex"!==e&&!!("number"==typeof t||Array.isArray(t)||"string"==typeof t&&(Q.complex.test(t)||"0"===t)&&!t.startsWith("url("))};function es(t){t.duration=0,t.type="keyframes"}var eu=t.i(94e4),el=t.i(761866),ec=t.i(337259),eh=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/,ed=new Set(["color","backgroundColor","outlineColor","fill","stroke","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"]),ev=(0,el.memo)(function(){return Object.hasOwnProperty.call(Element.prototype,"animate")}),ef=function(t){function i(t){(0,P._)(this,i);var n,r,a=t.autoplay,o=t.delay,s=t.type,u=t.repeat,l=t.repeatDelay,c=t.repeatType,h=t.keyframes,d=t.name,v=t.motionValue,f=t.element,m=(0,E._)(t,["auto
2play","delay","type","repeat","repeatDelay","repeatType","keyframes","name","motionValue","element"]);(n=(0,w._)(this,i)).stop=function(){var t,e;n._animation&&(n._animation.stop(),null==(e=n.stopTimeline)||e.call(n)),null==(t=n.keyframeResolver)||t.cancel()},n.createdAt=H.time.now();var p=(0,e._)({autoplay:void 0===a||a,delay:void 0===o?0:o,type:void 0===s?"keyframes":s,repeat:void 0===u?0:u,repeatDelay:void 0===l?0:l,repeatType:void 0===c?"loop":c,name:d,motionValue:v,element:f},m);return n.keyframeResolver=new((null==f?void 0:f.KeyframeResolver)||et.KeyframeResolver)(h,function(t,e,i){return n.onKeyframesResolved(t,e,p,!i)},d,v,f),null==(r=n.keyframeResolver)||r.scheduleResolve(),n}return(0,M._)(i,t),(0,V._)(i,[{key:"onKeyframesResolved",value:function(t,i,r,a){var o,s,u,l=this;this.keyframeResolver=void 0;var c=r.name,h=r.type,d=r.velocity,v=r.delay,f=r.isHandoff,m=r.onUpdate;this.resolvedAt=H.time.now();var p=!0;!function(t,e,n,i){var r=t[0];if(null===r)return!1;if("display"===e||"visibility"===e)return!0;var a=t[t.length-1],o=eo(r,e),s=eo(a,e);return(0,Z.warning)(o===s,"You are trying to animate ".concat(e,' from "').concat(r,'" to "').concat(a,'". "').concat(o?a:r,'" is not an animatable value.'),"value-not-animatable"),!!o&&!!s&&(function(t){var e=t[0];if(1===t.length)return!0;for(var n=0;n<t.length;n++)if(t[n]!==e)return!0}(t)||("spring"===n||(0,ea.isGenerator)(n))&&i)}(t,c,h,d)&&(p=!1,(I.MotionGlobalConfig.instantAnimations||!v)&&(null==m||m((0,t5.getFinalKeyframe)(t,r,i))),t[0]=t[t.length-1],es(r),r.repeat=0);var y=a?this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt:void 0,g=(0,n._)((0,e._)({startTime:y,finalKeyframe:i},r),{keyframes:t}),x=p&&!f&&function(t){var e,n=t.motionValue,i=t.name,r=t.repeatDelay,a=t.repeatType,o=t.damping,s=t.type,u=t.keyframes,l=null==n||null==(e=n.owner)?void 0:e.current;if(!(0,eu._)(l,HTMLElement))return!1;var c=n.owner.getProps(),h=c.onUpdate,d=c.transformTemplate;return ev()&&i&&(ec.acceleratedValues.has(i)||ed.has(i)&&function(t){for(var e=0;e<t.length;e++)if("string"==typeof t[e]&&eh.test(t[e]))return!0;return!1}(u))&&("transform"!==i||!d)&&!h&&!r&&"mirror"!==a&&0!==o&&"inertia"!==s}(g),k=null==(s=g.motionValue)||null==(o=s.owner)?void 0:o.current;if(x)try{u=new er((0,n._)((0,e._)({},g),{element:k}))}catch(t){u=new t9(g)}else u=new t9(g);u.finished.then(function(){l.notifyFinished()}).catch(z.noop),this.pendingTimeline&&(this.stopTimeline=u.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=u}},{key:"finished",get:function(){return this._animation?this.animation.finished:this._finished}},{key:"then",value:function(t,e){return this.finished.finally(t).then(function(){})}},{key:"animation",get:function(){if(!this._animation){var t;null==(t=this.keyframeResolver)||t.resume(),(0,et.flushKeyframeResolvers)()}return this._animation}},{key:"duration",get:function(){return this.animation.duration}},{key:"iterationDuration",get:function(){return this.animation.iterationDuration}},{key:"time",get:function(){return this.animation.time},set:function(t){this.animation.time=t}},{key:"speed",get:function(){return this.animation.speed},set:function(t){this.animation.speed=t}},{key:"state",get:function(){return this.animation.state}},{key:"startTime",get:function(){return this.animation.startTime}},{key:"attachTimeline",value:function(t){var e=this;return this._animation?this.stopTimeline=this.animation.attachTimeline(t):this.pendingTimeline=t,function(){return e.stop()}}},{key:"play",value:function(){this.animation.play()}},{key:"pause",value:function(){this.animation.pause()}},{key:"complete",value:function(){this.animation.complete()}},{key:"cancel",value:function(){var t;this._animation&&this.animation.cancel(),null==(t=this.keyframeResolver)||t.cancel()}}]),i}(t6.WithPromise),em=t.i(59778),ep={type:"spring",stiffness:500,damping:25,restSpeed:10},ey={type:"keyframes",duration:.8},eg={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},ex=function(t,e){var n=e.keyframes;return n.length>2?ey:em.transformProps.has(t)?t.startsWith("scale")?{type:"spring",stiffness:550,damping:0===n[1]?2*Math.sqrt(550):30,restSpeed:10}:ep:eg},ek=new Set(["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"]),eT=function(t,i,r){var a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=arguments.length>4?arguments[4]:void 0,s=arguments.length>5?arguments[5]:void 0;return function(u){var l=L(a,t)||{},c=l.delay||a.delay||0,h=a.elapsed,d=void 0===h?0:h;d-=(0,G.secondsToMilliseconds)(c);var v=(0,n._)((0,e._)({keyframes:Array.isArray(r)?r:[null,r],ease:"easeOut",velocity:i.getVelocity()},l),{delay:-d,onUpdate:function(t){i.set(t),l.onUpdate&&l.onUpdate(t)},onComplete:function(){u(),l.onComplete&&l.onComplete()},name:t,motionValue:i,element:s?void 0:o});!function(t){for(var e in t)if(!ek.has(e))return!0;return!1}(l)&&Object.assign(v,ex(t,v)),v.duration&&(v.duration=(0,G.secondsToMilliseconds)(v.duration)),v.repeatDelay&&(v.repeatDelay=(0,G.secondsToMilliseconds)(v.repeatDelay)),void 0!==v.from&&(v.keyframes[0]=v.from);var f=!1;if(!1!==v.type&&(0!==v.duration||v.repeatDelay)||(es(v),0===v.delay&&(f=!0)),(I.MotionGlobalConfig.instantAnimations||I.MotionGlobalConfig.skipAnimations||(null==o?void 0:o.shouldSkipAnimations)||l.skipAnimations)&&(f=!0,es(v),v.delay=0),v.allowFlatten=!l.type&&!l.ease,f&&!s&&void 0!==i.get()){var m=(0,t5.getFinalKeyframe)(v.keyframes,l);if(void 0!==m)return void ty.frame.update(function(){v.onUpdate(m),v.onComplete()})}return l.isSync?new t9(v):new ef(v)}};
2function eS(t,n){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=i.delay,a=void 0===r?0:r,o=i.transitionOverride,s=i.type,u=n.transition,l=n.transitionEnd,c=(0,E._)(n,["transition","transitionEnd"]),h=t.getDefaultTransition(),d=null==(u=u?R(u,h):h)?void 0:u.reduceMotion,v=null==u?void 0:u.skipAnimations;o&&(u=o);var f=[],m=s&&t.animationState&&t.animationState.getState()[s],p=null==u?void 0:u.path;for(var y in p&&p.animateVisualElement(t,c,u,a,f),c)!function(n){var i,r,o,s,l=t.getValue(n,null!=(s=t.latestValues[n])?s:null),h=c[n];if(void 0!==h&&(!m||(i=m.protectedKeys,r=m.needsAnimating,o=i.hasOwnProperty(n)&&!0!==r[n],r[n]=!1,!o))){var p=(0,e._)({delay:a},L(u||{},n));v&&(p.skipAnimations=!0);var y=l.get();if(void 0!==y&&!l.isAnimating()&&!Array.isArray(h)&&h===y&&!p.velocity)return ty.frame.update(function(){return l.set(h)});var g=!1;if(window.MotionHandoffAnimation){var x=W(t);if(x){var k=window.MotionHandoffAnimation(x,n,ty.frame);null!==k&&(p.startTime=k,g=!0)}}U(t,n);var T=null!=d?d:t.shouldReduceMotion;l.start(eT(n,l,h,T&&B.positionalKeys.has(n)?{type:!1}:p,t,g));var S=l.animation;S&&f.push(S)}}(y);if(l){var g=function(){return ty.frame.update(function(){l&&O(t,l)})};f.length?Promise.all(f).then(g):g()}return f}function eb(t,e,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,a=Array.from(t).sort(function(t,e){return t.sortNodePosition(e)}).indexOf(e),o=t.size,s=(o-1)*i;return"function"==typeof n?n(a,o):1===r?a*i:s-a*i}function ew(t,i){var r,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=_(t,i,"exit"===a.type?null==(r=t.presenceContext)?void 0:r.custom:void 0),s=(o||{}).transition,u=void 0===s?t.getDefaultTransition()||{}:s;a.transitionOverride&&(u=a.transitionOverride);var l=o?function(){return Promise.all(eS(t,o,a))}:function(){return Promise.resolve()},c=t.variantChildren&&t.variantChildren.size?function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,o=u.delayChildren;return function(t,i){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,s=arguments.length>5&&void 0!==arguments[5]?arguments[5]:1,u=arguments.length>6?arguments[6]:void 0,l=[],c=!0,h=!1,d=void 0;try{for(var v,f=t.variantChildren[Symbol.iterator]();!(c=(v=f.next()).done);c=!0)!function(){var c=v.value;c.notify("AnimationStart",i),l.push(ew(c,i,(0,n._)((0,e._)({},u),{delay:r+("function"==typeof a?0:a)+eb(t.variantChildren,c,a,o,s)})).then(function(){return c.notify("AnimationComplete",i)}))}()}catch(t){h=!0,d=t}finally{try{c||null==f.return||f.return()}finally{if(h)throw d}}return Promise.all(l)}(t,i,r,void 0===o?0:o,u.staggerChildren,u.staggerDirection,a)}:function(){return Promise.resolve()},h=u.when;if(!h)return Promise.all([l(),c(a.delay)]);var d=(0,tN._)("beforeChildren"===h?[l,c]:[c,l],2),v=d[0],f=d[1];return v().then(function(){return f()})}function eP(t,e){var n,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(t.notify("AnimationStart",e),Array.isArray(e))n=Promise.all(e.map(function(e){return ew(t,e,i)}));else if("string"==typeof e)n=ew(t,e,i);else{var r="function"==typeof e?_(t,e,i.custom):e;n=Promise.all(eS(t,r,i))}return n.then(function(){t.notify("AnimationComplete",e)})}t.s(["animateMotionValue",0,eT],490350),t.s(["animateTarget",0,eS],900332),t.s(["animateVisualElement",0,eP],959452);var eV=t.i(643646),eM=t.i(661749),eA=eM.variantProps.length,eE=t.i(508578);function eC(t,e){if(!Array.isArray(e))return!1;var n=e.length;if(n!==t.length)return!1;for(var i=0;i<n;i++)if(e[i]!==t[i])return!1;return!0}var eD=(0,C._)(eM.variantPriorityOrder).reverse(),e_=eM.variantPriorityOrder.length;function eR(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function eL(){return{animate:eR(!0),whileInView:eR(),whileHover:eR(),whileTap:eR(),whileDrag:eR(),whileFocus:eR(),exit:eR()}}var eB=function(t){function n(t){var i;return(0,P._)(this,n),i=(0,w._)(this,n,[t]),t.animationState||(t.animationState=function(t){var n=function(e){return Promise.all(e.map(function(e){return eP(t,e.animation,e.options)}))},i=eL(),r=!0,a=!1;function o(o){for(var s=t.props,u=function t(e){if(e){if(!e.isControllingVariants){var n=e.parent&&t(e.parent)||{};return void 0!==e.props.initial&&(n.initial=e.props.initial),n}for(var i={},r=0;r<eA;r++){var a=eM.variantProps[r],o=e.props[a];((0,eV.isVariantLabel)(o)||!1===o)&&(i[a]=o)}return i}}(t.parent)||{},l=[],c=new Set,h={},d=1/0,v=0;v<e_;v++)!function(n){var v,f,m=eD[n],p=i[m],y=void 0!==s[m]?s[m]:u[m],g=(0,eV.isVariantLabel)(y),x=m===o?p.isActive:null;!1===x&&(d=n);var k=y===u[m]&&y!==s[m]&&g;if(k&&(r||a)&&t.manuallyAnimateOnMount&&(k=!1),p.protectedKeys=(0,e._)({},h),!(!p.isActive&&null===x||!y&&!p.prevProp||(0,eE.isAnimationControls)(y))&&"boolean"!=typeof y){if("exit"===m&&p.isActive&&!0!==x)return p.prevResolvedValues&&(h=(0,e._)({},h,p.prevResolvedValues));var T=(v=p.prevProp,"string"==typeof(f=y)?f!==v:!!Array.isArray(f)&&!eC(f,v)),S=T||m===o&&p.isActive&&!k&&g||n>d&&g,b=!1,w=Array.isArray(y)?y:[y],P=w.reduce(function(n,i){var r,a=_(t,i,"exit"===m?null==(r=t.presenceContext)?void 0:r.custom:void 0);if(a){a.transition;var o=a.transitionEnd,s=(0,E._)(a,["transition","transitionEnd"]);n=(0,e._)({},n,s,o)}return n},{});!1===x&&(P={});var V=p.prevResolvedValues,M=void 0===V?{}:V,A=(0,e._)({}
2,M,P),D=function(e){S=!0,c.has(e)&&(b=!0,c.delete(e)),p.needsAnimating[e]=!0;var n=t.getValue(e);n&&(n.liveStyle=!1)};for(var R in A){var L=P[R],B=M[R];!h.hasOwnProperty(R)&&((j(L)&&j(B)?!eC(L,B)||T:L!==B)?null!=L?D(R):c.add(R):void 0!==L&&c.has(R)?D(R):p.protectedKeys[R]=!0)}p.prevProp=y,p.prevResolvedValues=P,p.isActive&&(h=(0,e._)({},h,P)),(r||a)&&t.blockInitialAnimation&&(S=!1);var F=k&&T,O=!F||b;S&&O&&l.push.apply(l,(0,C._)(w.map(function(e){var n={type:m};if("string"==typeof e&&(r||a)&&!F&&t.manuallyAnimateOnMount&&t.parent){var i=t.parent,o=_(i,e);if(i.enteringChildren&&o){var s=(o.transition||{}).delayChildren;n.delay=eb(i.enteringChildren,t,s)}}return{animation:e,options:n}})))}}(v);if(c.size){var f={};if("boolean"!=typeof s.initial){var m=_(t,Array.isArray(s.initial)?s.initial[0]:s.initial);m&&m.transition&&(f.transition=m.transition)}c.forEach(function(e){var n=t.getBaseTarget(e),i=t.getValue(e);i&&(i.liveStyle=!0),f[e]=null!=n?n:null}),l.push({animation:f})}var p=!!l.length;return r&&(!1===s.initial||s.initial===s.animate)&&!t.manuallyAnimateOnMount&&(p=!1),r=!1,a=!1,p?n(l):Promise.resolve()}return{animateChanges:o,setActive:function(e,n){if(i[e].isActive===n)return Promise.resolve();null==(r=t.variantChildren)||r.forEach(function(t){var i;return null==(i=t.animationState)?void 0:i.setActive(e,n)}),i[e].isActive=n;var r,a=o(e);for(var s in i)i[s].protectedKeys={};return a},setAnimateFunction:function(e){n=e(t)},getState:function(){return i},reset:function(){i=eL(),a=!0}}}(t)),i}return(0,M._)(n,t),(0,V._)(n,[{key:"updateAnimationControlsSubscription",value:function(){var t=this.node.getProps().animate;(0,eE.isAnimationControls)(t)&&(this.unmountControls=t.subscribe(this.node))}},{key:"mount",value:function(){this.updateAnimationControlsSubscription()}},{key:"update",value:function(){this.node.getProps().animate!==(this.node.prevProps||{}).animate&&this.updateAnimationControlsSubscription()}},{key:"unmount",value:function(){var t;this.node.animationState.reset(),null==(t=this.unmountControls)||t.call(this)}}]),n}(A),eF=0,ej=function(t){function e(){var t;return(0,P._)(this,e),t=(0,w._)(this,e,arguments),t.id=eF++,t.isExitComplete=!1,t}return(0,M._)(e,t),(0,V._)(e,[{key:"update",value:function(){var t=this;if(this.node.presenceContext){var e=this.node.presenceContext,n=e.isPresent,i=e.onExitComplete,r=(this.node.prevPresenceContext||{}).isPresent;if(this.node.animationState&&n!==r){if(n&&!1===r){if(this.isExitComplete){var a=this.node.getProps(),o=a.initial,s=a.custom;if("string"==typeof o||(void 0===o?"undefined":(0,q._)(o))==="object"&&null!==o&&!Array.isArray(o)){var u=_(this.node,o,s);if(u){u.transition,u.transitionEnd;var l,c=(0,E._)(u,["transition","transitionEnd"]);for(var h in c)null==(l=this.node.getValue(h))||l.jump(c[h])}}this.node.animationState.reset(),this.node.animationState.animateChanges()}else this.node.animationState.setActive("exit",!1);this.isExitComplete=!1;return}var d=this.node.animationState.setActive("exit",!n);i&&!n&&d.then(function(){t.isExitComplete=!0,i(t.id)})}}}},{key:"mount",value:function(){var t=this.node.presenceContext||{},e=t.register,n=t.onExitComplete;n&&n(this.id),e&&(this.unmount=e(this.id))}},{key:"unmount",value:function(){}}]),e}(A);t.s(["animations",0,{animation:{Feature:eB},exit:{Feature:ej}}],988645),t.s(["eachAxis",0,function(t){return[t("x"),t("y")]}],587935),t.s(["addDomEvent",0,function(t,e,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{passive:!0};return t.addEventListener(e,n,i),function(){return t.removeEventListener(e,n)}}],508821);var eO={x:!1,y:!1};t.s(["isDragActive",0,function(){return eO.x||eO.y},"isDragging",0,eO],610927),t.s(["setDragLock",0,function(t){if("x"===t||"y"===t)if(eO[t])return null;else return eO[t]=!0,function(){eO[t]=!1};return eO.x||eO.y?null:(eO.x=eO.y=!0,function(){eO.x=eO.y=!1})}],166532);function eI(t){return t.max-t.min}function eN(t,e,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:.5;t.origin=i,t.originPoint=(0,ta.mixNumber)(e.min,e.max,t.origin),t.scale=eI(n)/eI(e),t.translate=(0,ta.mixNumber)(n.min,n.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 eU(t,e,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;t.min=(i?(0,ta.mixNumber)(n.min,n.max,i):n.min)+e.min,t.max=t.min+eI(e)}function eW(t,e,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,r=i?(0,ta.mixNumber)(n.min,n.max,i):n.min;t.min=e.min-r,t.max=t.min+eI(e)}t.s(["calcBoxDelta",0,function(t,e,n,i){eN(t.x,e.x,n.x,i?i.originX:void 0),eN(t.y,e.y,n.y,i?i.originY:void 0)},"calcLength",0,eI,"calcRelativeBox",0,function(t,e,n,i){eU(t.x,e.x,n.x,null==i?void 0:i.x),eU(t.y,e.y,n.y,null==i?void 0:i.y)},"calcRelativePosition",0,function(t,e,n,i){eW(t.x,e.x,n.x,null==i?void 0:i.x),eW(t.y,e.y,n.y,null==i?void 0:i.y)},"isNear",0,function(t,e,n){return Math.abs(t-e)<=n}],710401)},825465,t=>{"use strict";var e=t.i(536038);t.s(["isObject",0,function(t){return(void 0===t?"undefined":(0,e._)(t))==="object"&&null!==t}])},678833,170899,488133,862337,996584,658904,673560,695583,584047,t=>{"use strict";var e,n,i=t.i(396784),r=t.i(401157),a=t.i(319465),o=t.i(785337),s=t.i(838976),u=t.i(120194),l=t.i(164309),c=t.i(784544),h=t.i(686968),d=t.i(907953),v=t.i(587935),f=t.i(609846),m=t.i(805020),p=t.i(923301),y=t.i(490350),g=t.i(341330),x=t.i(508821),k=t.i(166532),T=t.i(813968),S=t.i(710401),b=t.i(825465);function w(t){return(0,b.isObject)(t)&&"ownerSVGElement"in t}t.s(["isSVGElement",0,w],170899);var P=t.i(94e4);function V(t,e,n){if(null==t)return[];if((0,P._)(t,EventTarget))return[t];if("string"==typeof t){var i,r=document;e&&(r=e.current);var a=null!=(i=null==n?void 0:n[t])?i:r.querySelectorAll(t);return a?Array.from(a):[]}return Array.from(t).filter(function(t){return null!=t})}t.s(["resolveElements",0,V],488133);var M=new WeakMap,A=function(t,e,n){return function(i,r){return r&&r[0]?r[0][t+"Size"]:w(i)&&"getBBox"in i?i.getBBox()[e]:i[n]}},E=A("inline","width","offsetWidth"),C=A("block","height","offsetHeight");function D(t){var e,n=t.target,i=t.borderBoxSize;null==(e=M.get(n))||e.forEach(function(t){t(n,{get width(){return E(n,i)},get height(){return C(n,i)}})})}function _(t){t.forEach(D)}var R=new Set;function L(t,i){var r;return"function"==typeof t?(R.add(t),n||(n=function(){var t={get width(){return window.innerWidth},get height(){return window.innerHeight}};R.forEach(function(e){return e(t)})},window.addEventListener("resize",n)),function(){R.delete(t),R.size||"function"!=typeof n||(window.removeEventListener("resize",n),n=void 0)}):(!e&&"u">typeof ResizeObserver&&(e=new ResizeObserver(_)),(r=V(t)).forEac
2h(function(t){var n=M.get(t);n||(n=new Set,M.set(t,n)),n.add(i),null==e||e.observe(t)}),function(){r.forEach(function(t){var n=M.get(t);null==n||n.delete(i),(null==n?void 0:n.size)||null==e||e.unobserve(t)})})}t.s(["resize",0,L],862337);var B=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]),F=new Set(["INPUT","SELECT","TEXTAREA"]);function j(t){return F.has(t.tagName)||!0===t.isContentEditable}t.s(["isElementKeyboardAccessible",0,function(t){return B.has(t.tagName)||!0===t.isContentEditable},"isElementTextInput",0,j],996584);var O=t.i(725542),I=function(t){return"mouse"===t.pointerType?"number"!=typeof t.button||t.button<=0:!1!==t.isPrimary};function N(t){return{point:{x:t.pageX,y:t.pageY}}}t.s(["isPrimaryPointer",0,I],658904);var U=function(t){return function(e){return I(e)&&t(e,N(e))}};function W(t,e,n,i){return(0,x.addDomEvent)(t,e,U(n),i)}t.s(["addPointerInfo",0,U,"extractEventInfo",0,N],673560);var G=function(t){var e=t.current;return e?e.ownerDocument.defaultView:null},z=t.i(891228),H=t.i(815645),K=t.i(633836),Y=function(t,e){return Math.abs(t-e)},X=new Set(["auto","scroll"]),q=function(){function t(e,n){var i=this,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=a.transformPagePoint,s=a.contextWindow,u=void 0===s?window:s,h=a.dragSnapToOrigin,v=a.distanceThreshold,f=a.element;if((0,r._)(this,t),this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.lastRawMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=function(t){i.handleScroll(t.target)},this.onWindowScroll=function(){i.handleScroll(window)},this.updatePoint=function(){if(i.lastMoveEvent&&i.lastMoveEventInfo){i.lastRawMoveEventInfo&&(i.lastMoveEventInfo=Z(i.lastRawMoveEventInfo,i.transformPagePoint));var t,e,n=J(i.lastMoveEventInfo,i.history),r=null!==i.startEvent,a=(t=n.offset,e={x:0,y:0},Math.sqrt(Math.pow(Y(t.x,e.x),2)+Math.pow(Y(t.y,e.y),2))>=i.distanceThreshold);if(r||a){var o=n.point,s=d.frameData.timestamp;i.history.push((0,c._)((0,l._)({},o),{timestamp:s}));var u=i.handlers,h=u.onStart,v=u.onMove;r||(h&&h(i.lastMoveEvent,n),i.startEvent=i.lastMoveEvent),v&&v(i.lastMoveEvent,n)}}},this.handlePointerMove=function(t,e){i.lastMoveEvent=t,i.lastRawMoveEventInfo=e,i.lastMoveEventInfo=Z(e,i.transformPagePoint),d.frame.update(i.updatePoint,!0)},this.handlePointerUp=function(t,e){i.end();var n=i.handlers,r=n.onEnd,a=n.onSessionEnd,o=n.resumeAnimation;if((i.dragSnapToOrigin||!i.startEvent)&&o&&o(),i.lastMoveEvent&&i.lastMoveEventInfo){var s=J("pointercancel"===t.type?i.lastMoveEventInfo:Z(e,i.transformPagePoint),i.history);i.startEvent&&r&&r(t,s),a&&a(t,s)}},I(e)){this.dragSnapToOrigin=void 0!==h&&h,this.handlers=n,this.transformPagePoint=o,this.distanceThreshold=void 0===v?3:v,this.contextWindow=u||window;var m=Z(N(e),this.transformPagePoint),p=m.point,y=d.frameData.timestamp;this.history=[(0,c._)((0,l._)({},p),{timestamp:y})];var g=n.onSessionStart;g&&g(e,J(m,this.history)),this.removeListeners=(0,H.pipe)(W(this.contextWindow,"pointermove",this.handlePointerMove),W(this.contextWindow,"pointerup",this.handlePointerUp),W(this.contextWindow,"pointercancel",this.handlePointerUp)),f&&this.startScrollTracking(f)}}return(0,a._)(t,[{key:"startScrollTracking",value:function(t){for(var e=this,n=t.parentElement;n;){var i=getComputedStyle(n);(X.has(i.overflowX)||X.has(i.overflowY))&&this.scrollPositions.set(n,{x:n.scrollLeft,y:n.scrollTop}),n=n.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener("scroll",this.onElementScroll,{capture:!0}),window.addEventListener("scroll",this.onWindowScroll),this.removeScrollListeners=function(){window.removeEventListener("scroll",e.onElementScroll,{capture:!0}),window.removeEventListener("scroll",e.onWindowScroll)}}},{key:"handleScroll",value:function(t){var e=this.scrollPositions.get(t);if(e){var n=t===window,i=n?{x:window.scrollX,y:window.scrollY}:{x:t.scrollLeft,y:t.scrollTop},r={x:i.x-e.x,y:i.y-e.y};(0!==r.x||0!==r.y)&&(n?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=r.x,this.lastMoveEventInfo.point.y+=r.y):this.history.length>0&&(this.history[0].x-=r.x,this.history[0].y-=r.y),this.scrollPositions.set(t,i),d.frame.update(this.updatePoint,!0))}}},{key:"updateHandlers",value:function(t){this.handlers=t}},{key:"end",value:function(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),(0,d.cancelFrame)(this.updatePoint)}}]),t}();function Z(t,e){return e?{point:e(t.point)}:t}function $(t,e){return{x:t.x-e.x,y:t.y-e.y}}function J(t,e){var n=t.point;return{point:n,delta:$(n,Q(e)),offset:$(n,e[0]),velocity:function(t){if(t.length<2)return{x:0,y:0};for(var e=t.length-1,n=null,i=Q(t);e>=0&&(n=t[e],!(i.timestamp-n.timestamp>(0,K.secondsToMilliseconds)(.1)));)e--;if(!n)return{x:0,y:0};n===t[0]&&t.length>2&&i.timestamp-n.timestamp>
22*(0,K.secondsToMilliseconds)(.1)&&(n=t[1]);var r=(0,K.millisecondsToSeconds)(i.timestamp-n.timestamp);if(0===r)return{x:0,y:0};var a={x:(i.x-n.x)/r,y:(i.y-n.y)/r};return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}(e)}}function Q(t){return t[t.length-1]}var tt=t.i(470934),te=t.i(508983);function tn(t,e,n){return{min:void 0!==e?t.min+e:void 0,max:void 0!==n?t.max+n-(t.max-t.min):void 0}}function ti(t,e){var n,i=e.min-t.min,r=e.max-t.max;return e.max-e.min<t.max-t.min&&(i=(n=[r,i])[0],r=n[1]),{min:i,max:r}}function tr(t,e,n){return{min:ta(t,e),max:ta(t,n)}}function ta(t,e){return"number"==typeof t?t:t[e]||0}var to=new WeakMap,ts=function(){function t(e){(0,r._)(this,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,h.createBox)(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=e}return(0,a._)(t,[{key:"start",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=n.snapToCursor,r=void 0!==i&&i,a=n.distanceThreshold,o=this.visualElement.presenceContext;if(!o||!1!==o.isPresent){var s=this.getProps().dragSnapToOrigin;this.panSession=new q(t,{onSessionStart:function(t){r&&e.snapToCursor(N(t).point),e.stopAnimation()},onStart:function(t,n){var i=e.getProps(),r=i.drag,a=i.dragPropagation,o=i.onDragStart;if(!r||a||(e.openDragLock&&e.openDragLock(),e.openDragLock=(0,k.setDragLock)(r),e.openDragLock)){e.latestPointerEvent=t,e.latestPanInfo=n,e.isDragging=!0,e.currentDirection=null,e.resolveConstraints(),e.visualElement.projection&&(e.visualElement.projection.isAnimationBlocked=!0,e.visualElement.projection.target=void 0),(0,v.eachAxis)(function(t){var n=e.getAxisMotionValue(t).get()||0;if(T.percent.test(n)){var i=e.visualElement.projection;if(i&&i.layout){var r=i.layout.layoutBox[t];r&&(n=(0,S.calcLength)(r)*(parseFloat(n)/100))}}e.originPoint[t]=n}),o&&d.frame.update(function(){return o(t,n)},!1,!0),(0,p.addValueToWillChange)(e.visualElement,"transform");var s=e.visualElement.animationState;s&&s.setActive("whileDrag",!0)}},onMove:function(t,n){e.latestPointerEvent=t,e.latestPanInfo=n;var i=e.getProps(),r=i.dragPropagation,a=i.dragDirectionLock,o=i.onDirectionLock,s=i.onDrag;if(r||e.openDragLock){var u=n.offset;if(a&&null===e.currentDirection){e.currentDirection=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:10,n=null;return Math.abs(t.y)>e?n="y":Math.abs(t.x)>e&&(n="x"),n}(u),null!==e.currentDirection&&o&&o(e.currentDirection);return}e.updateAxis("x",n.point,u),e.updateAxis("y",n.point,u),e.visualElement.render(),s&&d.frame.update(function(){return s(t,n)},!1,!0)}},onSessionEnd:function(t,n){e.latestPointerEvent=t,e.latestPanInfo=n,e.stop(t,n),e.latestPointerEvent=null,e.latestPanInfo=null},resumeAnimation:function(){(e.getProps().dragSnapToOrigin||e.constraints)&&e.startAnimation({x:0,y:0})}},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:s,distanceThreshold:a,contextWindow:G(this.visualElement),element:this.visualElement.current})}}},{key:"stop",value:function(t,e){var n=t||this.latestPointerEvent,i=e||this.latestPanInfo,r=this.isDragging;if(this.cancel(),r&&i&&n){var a=i.velocity;this.startAnimation(a);var o=this.getProps().onDragEnd;o&&d.frame.postRender(function(){return o(n,i)})}}},{key:"cancel",value:function(){this.isDragging=!1;var t=this.visualElement,e=t.projection,n=t.animationState;e&&(e.isAnimationBlocked=!1),this.endPanSession(),!this.getProps().dragPropagation&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),n&&n.setActive("whileDrag",!1)}},{key:"endPanSession",value:function(){this.panSession&&this.panSession.end(),this.panSession=void 0}},{key:"updateAxis",value:function(t,e,n){var i=this.getProps().drag;if(n&&tl(t,i,this.currentDirection)){var r,a,o,s,u,l=this.getAxisMotionValue(t),c=this.originPoint[t]+n[t];this.constraints&&this.constraints[t]&&(r=c,a=this.constraints[t],o=this.elastic[t],s=a.min,u=a.max,void 0!==s&&r<s?r=o?(0,g.mixNumber)(s,r,o.min):Math.max(r,s):void 0!==u&&r>u&&(r=o?(0,g.mixNumber)(u,r,o.max):Math.min(r,u)),c=r),l.set(c)}}},{key:"resolveConstraints",value:function(){var t,e,n,i,r,a,o=this,s=this.getProps(),u=s.dragConstraints,l=s.dragElastic,c=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):null==(a=this.visualElement.projection)?void 0:a.layout,h=this.constraints;u&&(0,z.isRefObject)(u)?this.constraints||(this.constraints=this.resolveRefConstraints()):u&&c?this.constraints=(t=c.layoutBox,e=u.top,n=u.left,i=u.bottom,r=u.right,{x:tn(t.x,n,r),y:tn(t.y,e,i)}):this.constraints=!1,this.elastic=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:.35;return!1===t?t=0:!0===t&&(t=.35),{x:tr(t,"left","right"),y:tr(t,"top","bottom")}}(l),h!==this.constraints&&!(0,z.isRefObject)(u)&&c&&this.constraints&&!this.hasMutatedConstraints&&(0,v.eachAxis)(function(t){var e,n,i;!1!==o.constraints&&o.getAxisMotionValue(t)&&(o.constraints[t]=(e=c.layoutBox[t],n=o.constraints[t],i={},void 0!==n.min&&(i.min=n.min-e.min),void 0!==n.max&&(i.max=n.max-e.min),i))})}},{key:"resolveRefConstraints",value:function(){var t,e=this.getProps(),n=e.dragConstraints,i=e.onMeasureDragConstraints;if(!n||!(0,z.isRefObject)(n))return!1;var r=n.current;(0,O.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");var a=this.visualElement.projection;if(!a||!a.layout)return!1;a.root&&(a.root.scroll=void 0,a.root.updateScroll());var o=(0,f.measurePageBox)(r,a.root,this.visualElement.getTransformPagePoint()),s=(t=a.layout.layoutBox,{x:ti(t.x,o.x),y:ti(t.y,o.y)});if(i){var u=i((0,m.convertBoxToBoundingBox)(s));this.hasMutatedConstraints=!!u,u&&(s=(0,m.convertBoundingBoxToBox)(u))}return s}},{key:"startAnimation",value:function(t){var e=this,n=this.getProps(),i=n.drag,r=n.dragMomentum,a=n.dragElastic,o=n.dragTransition,s=n.dragSnapToOrigin,u=n.onDragTransitionEnd,c=this.constraints||{};return Promise.all((0,v.eachAxis)(function(n){if(tl(n,i,e.currentDirection)){var u=c&&c[n]||{};(!0===s||s===n)&&(u={min:0,max:0});var h=(0,l._)({type:"inertia",velocity:r?t[n]:0,bounceStiffness:a?200:1e6,bounceDamping:a?40:1e7,timeConstant:750,restDelta:1,restSpeed:10},o,u);return e.startAxisValueAnimation(n,h)}})).then(u)}},{key:"startAxisValueAnimation",value:function(t,e){var n=this.getAxisMotionValue(t);return(0,p.addValueToWillChange)(this.visualElement,t),n.start((0,y.animateMotionValue)(t,n,0,e,this.visualElement,!1))}},{key:"stopAnimation",value:function(){var t=this;(0,v.eachAxis)(function(e){return t.getAxisMotionValue(e).stop()})}},{key:"getAxisMotionValue",value:function(t){var e,n="_drag".concat(t.toUpperCase());return this.visualElement.getProps()[n]||this.visualElement.getValue(t,null!=(e=this.visualElement.latestValues[t])?e:0)}},{key:"snapToCursor",value:function(t){var e=this;(0,v.eachAxis)(function(n){if(tl(n,e.getProps().drag,e.currentDirection)){var i=e.visualElement.projection,r=e.getAxisMotionValue(n);if(i&&i.layout){var a=i.layout.layoutBox[n],o=a.min,s=a.max,u=r.get()||0;r.set(t[n]-(0,g.mixNumber)(o,s,.5)+u)}}})}},{key:"scalePositionWithinConstraints",value:function(){var t=this;if(this.visualElement.current){var e=this.getProps(),n=e.drag,i=e.dragConstraints,r=this.visualElement.projection;if((0,z.isRefObject)(i)&&r&&this.constraints){this.stopAnimation();var a={x:0,y:0};(0,v.eachAxis)(function(e){var n=t.getAxisMotionValue(e);if(n&&!1!==t.constraints){var i,r,o,s,u,l=n.get();a[e]=(i={min:l,max:l},r=t.constraints[e],o=.5,s=(0,S.calcLength)(i),(u=(0,S.calcLength)(r))>s?o=(0,tt.progress)(r.min,r.max-s,i.min):s>u&&(o=(0,tt.progress)(i.min,i.max-u,r.min)),(0,te.clamp)(0,1,o))}});var o=this.visualElement.getProps().transformTemplate;this.visualElement.current.style.transform=o?o({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.constraints=!1,this.resolveConstraints(),(0,v.eachAxis)(function(e){if(tl(e,n,null)){var i=t.getAxisMotionValue(e),r=t.constraints[e],o=r.min,s=r.max;i.set((0,g.mixNumber)(o,s,a[e]))}}),this.visualElement.render()}}}},{key:"addListeners",value:function(){var t,e=this;if(this.visualElement.current){to.set(this.visualElement,this);var n=this.visualElement.current,i=W(n,"pointerdown",function(t){var i=e.getProps(),r=i.drag,a=i.dragListener,o=t.target,s=o!==n&&j(o);r&&(void 0===a||a)&&!s&&e.start(t)}),r=function(){var i,r,a,o,s,u=e.getProps().dragConstraints;(0,z.isRefObject)(u)&&u.current&&(e.constraints=e.resolveRefConstraints(),t||(i=n,r=u.current,o=L(i,tu(a=function(){return e.scalePositionWithinConstraints()})),s=L(r,tu(a)),t=function(){o(),s()}))},a=this.visualElement.projection,o=a.addEventListener("measure",r);a&&!a.layout&&(a.root&&a.root.updateScroll(),a.updateLayout()),d.frame.read(r);var s=(0,x.addDomEvent)(window,"resize",function(){return e.scalePositionWithinConstraints()}),u=a.addEventListener("didUpdate",function(t){var n=t.delta,i=t.hasLayoutChanged;e.isDragging&&i&&((0,v.eachAxis)(function(t){var i=e.getAxisMotionValue(t);i&&(e.originPoint[t]+=n[t].translate,i.set(i.get()+n[t].translate))}),e.visualElement.render())});return function(){s(),i(),o(),u&&u(),t&&t()}}}},{key:"getProps",value:function(){var t=this.visualElement.getProps(),e=t.drag,n=t.dragDirectionLock,i=t.dragPropagation,r=t.dragConstraints,a=t.dragElastic,o=t.dragMomentum;return(0,c._)((0,l._)({},t),{drag:void 0!==e&&e,dragDirectionLock:void 0!==n&&n,dragPropagation:void 0!==i&&i,dragConstraints:void 0!==r&&r,dragElastic:void 0===a?.35:a,dragMomentum:void 0===o||o})}}]),t}();function tu(t){var e=!0;return function(){if(e){e=!1;return}t()}}function tl(t,e,n){return(!0===e||e===t)&&(null===n||n===t)}var tc=function(t){function e(t){var n;return(0,r._)(this,e),(n=(0,i._)(this,e,[t])).removeGroupControls=u.noop,n.removeListeners=u.noop,n.controls=new ts(t),n}return(0,o._)(e,t),(0,a._)(e,[{key:"mount",value:function(){var t=this.node.getProps().dragControls;t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||u.noop}},{key:"update",value:function(){var t=this.node.getProps().dragControls;t!==(this.node.prevProps||{}).dragControls&&(this.removeGroupControls(),t&&(this.removeGroupControls=t.subscribe(this.controls)))}},{key:"unmount",value:function(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}}]),e}(s.Feature);t.s(["DragGesture",0,tc],678833);var th=function(t){return function(e,n){t&&d.frame.update(function(){return t(e,n)},!1,!0)}},td=function(t){function e(){var t;return(0,r._)(this,e),t=(0,i._)(this,e,arguments),t.removePointerDownListener=u.noop,t}return(0,o._)(e,t),(0,a._)(e,[{key:"onPointerDown",value:function(t){this.session=new q(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:G(this.node)})}},{key:"createPanHandlers",value:function(){var t=this,e=this.node.getProps(),n=e.onPanSessionStart,i=e.onPanStart,r=e.onPan,a=e.onPanEnd;return{onSessionStart:th(n),onStart:th(i),onMove:th(r),onEnd:function(e,n){delete t.session,a&&d.frame.postRender(function(){return a(e,n)})}}}},{key:"mount",value:function(){var t=this;this.removePointerDownListener=W(this.node.current,"pointerdown",function(e){return t.onPointerDown(e)})}},{key:"update",value:function(){this.session&&this.session.updateHandlers(this.createPanHandlers())}},{key:"unmount",value:function(){this.removePointerDownListener(),this.session&&this.session.end()}}]),e}(s.Feature);t.s(["PanGesture",0,td],695583),t.s(["globalProjectionState",0,{hasAnimatedSinceResize:!0,hasEverUpdated:!1}],584047)},644589,t=>{"use strict";var e=t.i(866184),n=t.i(551081);t.s(["usePresence",0,function(){var t=!(arguments.length>0)||void 0===arguments[0]||arguments[0],i=(0,e.useContext)(n.PresenceContext);if(null===i)return[!0,null];var r=i.isPresent,a=i.onExitComplete,o=i.register,s=(0,e.useId)();(0,e.useEffect)(function(){if(t)return o(s)},[t]);var u=(0,e.useCallback)(function(){return t&&a&&a(s)},[s,a,t]);return!r&&a?[!1,u]:[!0]}])},791303,806682,659367,359569,515990,167454,309435,890126,t=>{"use strict";var e=t.i(678833),n=t.i(695583),i=t.i(396784),r=t.i(401157),a=t.i(319465),o=t.i(785337),s=t.i(164309),u=t.i(784544),l=t.i(177619),c=t.i(833087),h=t.i(584047),d=t.i(907953),v=t.i(354012),f=t.i(866184),m=t.i(644589),p=t.i(706735),y=t.i(30028),g=!1,x=function(t){function e(){return(0,r._)(this,e),(0,i._)(this,e,arguments)}
2return(0,o._)(e,t),(0,a._)(e,[{key:"componentDidMount",value:function(){var t=this,e=this.props,n=e.visualElement,i=e.layoutGroup,r=e.switchLayoutGroup,a=e.layoutId,o=n.projection;o&&(i.group&&i.group.add(o),r&&r.register&&a&&r.register(o),g&&o.root.didUpdate(),o.addEventListener("animationComplete",function(){t.safeToRemove()}),o.setOptions((0,u._)((0,s._)({},o.options),{layoutDependency:this.props.layoutDependency,onExitComplete:function(){return t.safeToRemove()}}))),h.globalProjectionState.hasEverUpdated=!0}},{key:"getSnapshotBeforeUpdate",value:function(t){var e=this,n=this.props,i=n.layoutDependency,r=n.visualElement,a=n.drag,o=n.isPresent,l=r.projection;return l&&(l.isPresent=o,t.layoutDependency!==i&&l.setOptions((0,u._)((0,s._)({},l.options),{layoutDependency:i})),g=!0,a||t.layoutDependency!==i||void 0===i||t.isPresent!==o?l.willUpdate():this.safeToRemove(),t.isPresent!==o&&(o?l.promote():l.relegate()||d.frame.postRender(function(){var t=l.getStack();t&&t.members.length||e.safeToRemove()}))),null}},{key:"componentDidUpdate",value:function(){var t=this,e=this.props,n=e.visualElement,i=e.layoutAnchor,r=n.projection;r&&(r.options.layoutAnchor=i,r.root.didUpdate(),v.microtask.postRender(function(){!r.currentAnimation&&r.isLead()&&t.safeToRemove()}))}},{key:"componentWillUnmount",value:function(){var t=this.props,e=t.visualElement,n=t.layoutGroup,i=t.switchLayoutGroup,r=e.projection;g=!0,r&&(r.scheduleCheckAfterUnmount(),n&&n.group&&n.group.remove(r),i&&i.deregister&&i.deregister(r))}},{key:"safeToRemove",value:function(){var t=this.props.safeToRemove;t&&t()}},{key:"render",value:function(){return null}}]),e}(f.Component);function k(t){var e=(0,l._)((0,m.usePresence)(),2),n=e[0],i=e[1],r=(0,f.useContext)(p.LayoutGroupContext);return(0,c.jsx)(x,(0,u._)((0,s._)({},t),{layoutGroup:r,switchLayoutGroup:(0,f.useContext)(y.SwitchLayoutGroupContext),isPresent:n,safeToRemove:i}))}t.s(["MeasureLayout",0,k],806682);var T=t.i(648486),S=t.i(810246),b=t.i(508983),w=t.i(120194),P=t.i(490350),V=t.i(964355),M=t.i(350764);function A(t,e,n){var i=(0,M.isMotionValue)(t)?t:(0,V.motionValue)(t);return i.start((0,P.animateMotionValue)("",i,e,n)),i.animation}t.s(["animateSingleValue",0,A],659367);
2var E=t.i(274794),C=t.i(233278),D=t.i(720802),_=t.i(575342),R=t.i(906470),L=t.i(187067);t.i(633836);var B=t.i(170899);function F(t){return(0,B.isSVGElement)(t)&&"svg"===t.tagName}t.s(["isSVGSVGElement",0,F],359569);var j=t.i(341330),O=t.i(474032),I=t.i(813968),N=t.i(470934),U=t.i(509),W=["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"],G=W.length,z=function(t){return"string"==typeof t?parseFloat(t):t},H=function(t){return"number"==typeof t||I.px.test(t)};function K(t,e){return void 0!==t[e]?t[e]:t.borderRadius}var Y=q(0,.5,U.circOut),X=q(.5,.95,w.noop);function q(t,e,n){return function(i){return i<t?0:i>e?1:n((0,N.progress)(t,e,i))}}function Z(t,e){t.min=e.min,t.max=e.max}function $(t,e){Z(t.x,e.x),Z(t.y,e.y)}function J(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}var Q=t.i(174302),tt=t.i(710401);function te(t,e,n,i,r){return t-=e,t=(0,Q.scalePoint)(t,1/n,i),void 0!==r&&(t=(0,Q.scalePoint)(t,1/r,i)),t}function tn(t,e,n,i,r){var a=(0,l._)(n,3),o=a[0],s=a[1],u=a[2];!function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:.5,r=arguments.length>4?arguments[4]:void 0,a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:t,o=arguments.length>6&&void 0!==arguments[6]?arguments[6]:t;if(I.percent.test(e)&&(e=parseFloat(e),e=(0,j.mixNumber)(o.min,o.max,e/100)-o.min),"number"==typeof e){var s=(0,j.mixNumber)(a.min,a.max,i);t===a&&(s-=e),t.min=te(t.min,e,n,s,r),t.max=te(t.max,e,n,s,r)}}(t,e[o],e[s],e[u],e.scale,i,r)}var ti=["x","scaleX","originX"],tr=["y","scaleY","originY"];function ta(t,e,n,i){tn(t.x,e,ti,n?n.x:void 0,i?i.x:void 0),tn(t.y,e,tr,n?n.y:void 0,i?i.y:void 0)}var to=t.i(686968);function ts(t){return 0===t.translate&&1===t.scale}function tu(t){return ts(t.x)&&ts(t.y)}function tl(t,e){return t.min===e.min&&t.max===e.max}function tc(t,e){return Math.round(t.min)===Math.round(e.min)&&Math.round(t.max)===Math.round(e.max)}function th(t,e){return tc(t.x,e.x)&&tc(t.y,e.y)}function td(t){return(0,tt.calcLength)(t.x)/(0,tt.calcLength)(t.y)}function tv(t,e){return t.translate===e.translate&&t.scale===e.scale&&t.originPoint===e.originPoint}var tf=t.i(926935),tm=function(){function t(){(0,r._)(this,t),this.members=[]}return(0,a._)(t,[{key:"add",value:function(t){(0,tf.addUniqueItem)(this.members,t);for(var e=this.members.length-1;e>=0;e--){var n=this.members[e];if(n!==t&&n!==this.lead&&n!==this.prevLead){var i=n.instance;i&&!1!==i.isConnected||n.snapshot||((0,tf.removeItem)(this.members,n),n.unmount())}}t.scheduleRender()}},{key:"remove",value:function(t){if((0,tf.removeItem)(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){var e=this.members[this.members.length-1];e&&this.promote(e)}}},{key:"relegate",value:function(t){for(var e=this.members.indexOf(t)-1;e>=0;e--){var n,i=this.members[e];if(!1!==i.isPresent&&(null==(n=i.instance)?void 0:n.isConnected)!==!1)return this.promote(i),!0}return!1}},{key:"promote",value:function(t,e){var n=this.lead;if(t!==n&&(this.prevLead=n,this.lead=t,t.show(),n)){n.updateSnapshot(),t.scheduleRender();var i,r=n.options.layoutDependency,a=t.options.layoutDependency;(void 0===r||r!==a)&&(t.resumeFrom=n,e&&(n.preserveOpacity=!0),n.snapshot&&(t.snapshot=n.snapshot,t.snapshot.latestValues=n.animationValues||n.latestValues),(null==(i=t.root)?void 0:i.isUpdating)&&(t.isLayoutDirty=!0)),!1===t.options.crossfade&&n.hide()}}},{key:"exitAnimationComplete",value:function(){this.members.forEach(function(t){var e,n,i,r,a;null==(e=(n=t.options).onExitComplete)||e.call(n),null==(r=t.resumingFrom)||null==(i=(a=r.options).onExitComplete)||i.call(a)})}},{key:"scheduleRender",value:function(){this.members.forEach(function(t){return t.instance&&t.scheduleRender(!1)})}},{key:"removeLeadSnapshot",value:function(){var t;(null==(t=this.lead)?void 0:t.snapshot)&&(this.lead.snapshot=void 0)}}]),t}(),tp=t.i(587935),ty=function(t,e){return t.depth-e.depth},tg=function(){function t(){(0,r._)(this,t),this.children=[],this.isDirty=!1}return(0,a._)(t,[{key:"add",value:function(t){(0,tf.addUniqueItem)(this.children,t),this.isDirty=!0}},{key:"remove",value:function(t){(0,tf.removeItem)(this.children,t),this.isDirty=!0}}
2,{key:"forEach",value:function(t){this.isDirty&&this.children.sort(ty),this.isDirty=!1,this.children.forEach(t)}}]),t}(),tx=t.i(767052),tk={nodes:0,calculatedTargetDeltas:0,calculatedProjections:0},tT=["","X","Y","Z"],tS=0;function tb(t,e,n,i){var r=e.latestValues;r[t]&&(n[t]=r[t],e.setStaticValue(t,0),i&&(i[t]=0))}function tw(t){var e=t.attachResizeListener,n=t.defaultParent,i=t.measureScroll,o=t.checkIsScrollRoot,l=t.resetTransform;function c(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null==n?void 0:n();(0,r._)(this,c),this.id=tS++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=function(){return t.update()},this.projectionUpdateScheduled=!1,this.checkUpdateFailed=function(){t.isUpdating&&(t.isUpdating=!1,t.clearAllSnapshots())},this.updateProjection=function(){t.projectionUpdateScheduled=!1,L.statsBuffer.value&&(tk.nodes=tk.calculatedTargetDeltas=tk.calculatedProjections=0),t.nodes.forEach(tM),t.nodes.forEach(tF),t.nodes.forEach(tj),t.nodes.forEach(tA),L.statsBuffer.addProjectionMetrics&&L.statsBuffer.addProjectionMetrics(tk)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=e,this.root=i?i.root||i:this,this.path=i?(0,T._)(i.path).concat([i]):[],this.parent=i,this.depth=i?i.depth+1:0;for(var a=0;a<this.path.length;a++)this.path[a].shouldResetTransform=!0;this.root===this&&(this.nodes=new tg)}return(0,a._)(c,[{key:"addEventListener",value:function(t,e){return this.eventHandlers.has(t)||this.eventHandlers.set(t,new S.SubscriptionManager),this.eventHandlers.get(t).add(e)}},{key:"notifyListeners",value:function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),i=1;i<e;i++)n[i-1]=arguments[i];var r=this.eventHandlers.get(t);r&&r.notify.apply(r,(0,T._)(n))}},{key:"hasListeners",value:function(t){return this.eventHandlers.has(t)}},{key:"mount",value:function(t){var n=this;if(!this.instance){this.isSVG=(0,B.isSVGElement)(t)&&!F(t),this.instance=t;var i=this.options,r=i.layoutId,a=i.layout,o=i.visualElement;if(o&&!o.current&&o.mount(t),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(a||r)&&(this.isLayoutDirty=!0),e){var l,c=0,v=function(){return n.root.updateBlockedByResize=!1};d.frame.read(function(){c=window.innerWidth}),e(t,function(){var t,e,i=window.innerWidth;i!==c&&(c=i,n.root.updateBlockedByResize=!0,l&&l(),t=D.time.now(),e=function(n){var i=n.timestamp-t;i>=250&&((0,d.cancelFrame)(e),v(i-250))},d.frame.setup(e,!0),l=function(){return(0,d.cancelFrame)(e)},h.globalProjectionState.hasAnimatedSinceResize&&(h.globalProjectionState.hasAnimatedSinceResize=!1,n.nodes.forEach(tB)))})}r&&this.root.registerSharedNode(r,this),!1!==this.options.animate&&o&&(r||a)&&this.addEventListener("didUpdate",function(t){var e=t.delta,i=t.hasLayoutChanged,r=t.hasRelativeLayoutChanged,a=t.layout;if(n.isTreeAnimationBlocked()){n.target=void 0,n.relativeTarget=void 0;return}var l=n.options.transition||o.getDefaultTransition()||tG,c=o.getProps(),h=c.onLayoutAnimationStart,d=c.onLayoutAnimationComplete,v=!n.targetLayout||!th(n.targetLayout,a),f=!i&&r;if(n.options.layoutRoot||n.resumeFrom||f||i&&(v||!n.currentAnimation)){n.resumeFrom&&(n.resumingFrom=n.resumeFrom,n.resumingFrom.resumingFrom=void 0);var m=(0,u._)((0,s._)({},(0,C.getValueTransition)(l,"layout")),{onPlay:h,onComplete:d});(o.shouldReduceMotion||n.options.layoutRoot)&&(m.delay=0,m.type=!1),n.startAnimation(m),n.setAnimationOrigin(e,f,m.path)}else i||tB(n),n.isLead()&&n.options.onExitComplete&&n.options.onExitComplete();n.targetLayout=a})}}},{key:"unmount",value:function(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);var t=this.getStack();t&&t.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),(0,d.cancelFrame)(this.updateProjection)}},{key:"blockUpdate",value:function(){this.updateManuallyBlocked=!0}},{key:"unblockUpdate",value:function(){this.updateManuallyBlocked=!1}},{key:"isUpdateBlocked",value:function(){return this.updateManuallyBlocked||this.updateBlockedByResize}},{key:"isTreeAnimationBlocked",value:function(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}}
2,{key:"startUpdate",value:function(){!this.isUpdateBlocked()&&(this.isUpdating=!0,this.nodes&&this.nodes.forEach(tO),this.animationId++)}},{key:"getTransformTemplate",value:function(){var t=this.options.visualElement;return t&&t.getProps().transformTemplate}},{key:"willUpdate",value:function(){var t=!(arguments.length>0)||void 0===arguments[0]||arguments[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){var n=e.options.visualElement;if(n){var i=(0,E.getOptimisedAppearId)(n);if(window.MotionHasOptimisedAnimation(i,"transform")){var r=e.options,a=r.layout,o=r.layoutId;window.MotionCancelOptimisedAnimation(i,"transform",d.frame,!(a||o))}var s=e.parent;s&&!s.hasCheckedOptimisedAppear&&t(s)}}}(this),this.root.isUpdating||this.root.startUpdate(),!this.isLayoutDirty){this.isLayoutDirty=!0;for(var e=0;e<this.path.length;e++){var n=this.path[e];n.shouldResetTransform=!0,("string"==typeof n.latestValues.x||"string"==typeof n.latestValues.y)&&(n.isLayoutDirty=!0),n.updateScroll("snapshot"),n.options.layoutRoot&&n.willUpdate(!1)}var i=this.options,r=i.layoutId,a=i.layout;if(void 0!==r||a){var o=this.getTransformTemplate();this.prevTransformTemplateValue=o?o(this.latestValues,""):void 0,this.updateSnapshot(),t&&this.notifyListeners("willUpdate")}}}},{key:"update",value:function(){if(this.updateScheduled=!1,this.isUpdateBlocked()){var t=this.updateBlockedByResize;this.unblockUpdate(),this.updateBlockedByResize=!1,this.clearAllSnapshots(),t&&this.nodes.forEach(tD),this.nodes.forEach(tC);return}if(this.animationId<=this.animationCommitId)return void this.nodes.forEach(t_);this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(tR),this.nodes.forEach(tL),this.nodes.forEach(tP),this.nodes.forEach(tV)):this.nodes.forEach(t_),this.clearAllSnapshots();var e=D.time.now();d.frameData.delta=(0,b.clamp)(0,1e3/60,e-d.frameData.timestamp),d.frameData.timestamp=e,d.frameData.isProcessing=!0,d.frameSteps.update.process(d.frameData),d.frameSteps.preRender.process(d.frameData),d.frameSteps.render.process(d.frameData),d.frameData.isProcessing=!1}},{key:"didUpdate",value:function(){this.updateScheduled||(this.updateScheduled=!0,v.microtask.read(this.scheduleUpdate))}},{key:"clearAllSnapshots",value:function(){this.nodes.forEach(tE),this.sharedNodes.forEach(tI)}},{key:"scheduleUpdateProjection",value:function(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,d.frame.preRender(this.updateProjection,!1,!0))}},{key:"scheduleCheckAfterUnmount",value:function(){var t=this;d.frame.postRender(function(){t.isLayoutDirty?t.root.didUpdate():t.root.checkUpdateFailed()})}},{key:"updateSnapshot",value:function(){!this.snapshot&&this.instance&&(this.snapshot=this.measure(),!this.snapshot||(0,tt.calcLength)(this.snapshot.measuredBox.x)||(0,tt.calcLength)(this.snapshot.measuredBox.y)||(this.snapshot=void 0))}},{key:"updateLayout",value:function(){if(this.instance&&(this.updateScroll(),this.options.alwaysMeasureLayout&&this.isLead()||this.isLayoutDirty)){if(this.resumeFrom&&!this.resumeFrom.instance)for(var t=0;t<this.path.length;t++)this.path[t].updateScroll();var e=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected||(this.layoutCorrected=(0,to.createBox)()),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);var n=this.options.visualElement;n&&n.notify("LayoutMeasure",this.layout.layoutBox,e?e.layoutBox:void 0)}}},{key:"updateScroll",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"measure",e=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===t&&(e=!1),e&&this.instance){var n=o(this.instance);this.scroll={animationId:this.root.animationId,phase:t,isRoot:n,offset:i(this.instance),wasRoot:this.scroll?this.scroll.isRoot:n}}}},{key:"resetTransform",value:function(){if(l){var t=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,e=this.projectionDelta&&!tu(this.projectionDelta),n=this.getTransformTemplate(),i=n?n(this.latestValues,""):void 0,r=i!==this.prevTransformTemplateValue;t&&this.instance&&(e||(0,tx.hasTransform)(this.latestValues)||r)&&(l(this.instance,i),this.shouldResetTransform=!1,this.scheduleRender())}}},{key:"measure",value:function(){var t,e=!(arguments.length>0)||void 0===arguments[0]||arguments[0],n=this.measurePageBox(),i=this.removeElementScroll(n);return e&&(i=this.removeTransform(i)),tK((t=i).x),tK(t.y),{animationId:this.root.animationId,measuredBox:n,layoutBox:i,latestValues:{},source:this.id}}},{key:"measurePageBox",value:function(){var t,e=this.options.visualElement;if(!e)return(0,to.createBox)();var n=e.measureViewportBox();if(!((null==(t=this.scroll)?void 0:t.wasRoot)||this.path.some(tX))){var i=this.root.scroll;i&&((0,Q.translateAxis)(n.x,i.offset.x),(0,Q.translateAxis)(n.y,i.offset.y))}return n}}
2,{key:"removeElementScroll",value:function(t){var e,n=(0,to.createBox)();if($(n,t),null==(e=this.scroll)?void 0:e.wasRoot)return n;for(var i=0;i<this.path.length;i++){var r=this.path[i],a=r.scroll,o=r.options;r!==this.root&&a&&o.layoutScroll&&(a.wasRoot&&$(n,t),(0,Q.translateAxis)(n.x,a.offset.x),(0,Q.translateAxis)(n.y,a.offset.y))}return n}},{key:"applyTransform",value:function(t){var e,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=arguments.length>2?arguments[2]:void 0,r=i||(0,to.createBox)();$(r,t);for(var a=0;a<this.path.length;a++){var o,s=this.path[a];!n&&s.options.layoutScroll&&s.scroll&&s!==s.root&&((0,Q.translateAxis)(r.x,-s.scroll.offset.x),(0,Q.translateAxis)(r.y,-s.scroll.offset.y)),(0,tx.hasTransform)(s.latestValues)&&(0,Q.transformBox)(r,s.latestValues,null==(o=s.layout)?void 0:o.layoutBox)}return(0,tx.hasTransform)(this.latestValues)&&(0,Q.transformBox)(r,this.latestValues,null==(e=this.layout)?void 0:e.layoutBox),r}},{key:"removeTransform",value:function(t){var e=(0,to.createBox)();$(e,t);for(var n=0;n<this.path.length;n++){var i,r=this.path[n];if((0,tx.hasTransform)(r.latestValues)){var a=void 0;r.instance&&((0,tx.hasScale)(r.latestValues)&&r.updateSnapshot(),$(a=(0,to.createBox)(),r.measurePageBox())),ta(e,r.latestValues,null==(i=r.snapshot)?void 0:i.layoutBox,a)}}return(0,tx.hasTransform)(this.latestValues)&&ta(e,this.latestValues),e}},{key:"setTargetDelta",value:function(t){this.targetDelta=t,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}},{key:"setOptions",value:function(t){this.options=(0,u._)((0,s._)({},this.options,t),{crossfade:void 0===t.crossfade||t.crossfade})}},{key:"clearMeasurements",value:function(){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}},{key:"forceRelativeParentToResolveTarget",value:function(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==d.frameData.timestamp&&this.relativeParent.resolveTargetDelta(!0)}},{key:"resolveTargetDelta",value:function(){var t,e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=n.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=n.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=n.isSharedProjectionDirty);var i=!!this.resumingFrom||this!==n;if(e||i&&this.isSharedProjectionDirty||this.isProjectionDirty||(null==(t=this.parent)?void 0:t.isProjectionDirty)||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize){var r=this.options,a=r.layout,o=r.layoutId;if(this.layout&&(a||o)){this.resolvedRelativeTargetAt=d.frameData.timestamp;var s=this.getClosestProjectingParent();s&&this.linkedParentVersion!==s.layoutVersion&&!s.options.layoutRoot&&this.removeRelativeTarget(),this.targetDelta||this.relativeTarget||(!1!==this.options.layoutAnchor&&s&&s.layout?this.createRelativeTarget(s,this.layout.layoutBox,s.layout.layoutBox):this.removeRelativeTarget()),(this.relativeTarget||this.targetDelta)&&(this.target||(this.target=(0,to.createBox)(),this.targetWithTransforms=(0,to.createBox)()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),(0,tt.calcRelativeBox)(this.target,this.relativeTarget,this.relativeParent.target,this.options.layoutAnchor||void 0)):this.targetDelta?(this.resumingFrom?this.applyTransform(this.layout.layoutBox,!1,this.target):$(this.target,this.layout.layoutBox),(0,Q.applyBoxDelta)(this.target,this.targetDelta)):$(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,!1!==this.options.layoutAnchor&&s&&!!s.resumingFrom==!!this.resumingFrom&&!s.options.layoutScroll&&s.target&&1!==this.animationProgress?this.createRelativeTarget(s,this.target,s.target):this.relativeParent=this.relativeTarget=void 0),L.statsBuffer.value&&tk.calculatedTargetDeltas++)}}}},{key:"getClosestProjectingParent",value:function(){if(!(!this.parent||(0,tx.hasScale)(this.parent.latestValues)||(0,tx.has2DTranslate)(this.parent.latestValues)))if(this.parent.isProjecting())return this.parent;else return this.parent.getClosestProjectingParent()}},{key:"isProjecting",value:function(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}},{key:"createRelativeTarget",value:function(t,e,n){this.relativeParent=t,this.linkedParentVersion=t.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=(0,to.createBox)(),this.relativeTargetOrigin=(0,to.createBox)(),(0,tt.calcRelativePosition)(this.relativeTargetOrigin,e,n,this.options.layoutAnchor||void 0),$(this.relativeTarget,this.relativeTargetOrigin)}},{key:"removeRelativeTarget",value:function(){this.relativeParent=this.relativeTarget=void 0}},{key:"calcProjection",value:function(){var t,e=this.getLead(),n=!!this.resumingFrom||this!==e,i=!0;if((this.isProjectionDirty||(null==(t=this.parent)?void 0:t.isProjectionDirty))&&(i=!1),n&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(i=!1),this.resolvedRelativeTargetAt===d.frameData.timestamp&&(i=!1),!i){var r=this.options,a=r.layout,o=r.layoutId;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),this.layout&&(a||o)){$(this.layoutCorrected,this.layout.layoutBox);var s=this.treeScale.x,u=this.treeScale.y;(0,Q.applyTreeDeltas)(this.layoutCorrected,this.treeScale,this.path,n),e.layout&&!e.target&&(1!==this.treeScale.x||1!==this.treeScale.y)&&(e.target=e.layout.layoutBox,e.targetWithTransforms=(0,to.
2createBox)());var l=e.target;if(!l){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}this.projectionDelta&&this.prevProjectionDelta?(J(this.prevProjectionDelta.x,this.projectionDelta.x),J(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),(0,tt.calcBoxDelta)(this.projectionDelta,this.layoutCorrected,l,this.latestValues),this.treeScale.x===s&&this.treeScale.y===u&&tv(this.projectionDelta.x,this.prevProjectionDelta.x)&&tv(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",l)),L.statsBuffer.value&&tk.calculatedProjections++}}}},{key:"hide",value:function(){this.isVisible=!1}},{key:"show",value:function(){this.isVisible=!0}},{key:"scheduleRender",value:function(){var t,e=!(arguments.length>0)||void 0===arguments[0]||arguments[0];if(null==(t=this.options.visualElement)||t.scheduleRender(),e){var n=this.getStack();n&&n.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}},{key:"createProjectionDeltas",value:function(){this.prevProjectionDelta=(0,to.createDelta)(),this.projectionDelta=(0,to.createDelta)(),this.projectionDeltaWithTransform=(0,to.createDelta)()}},{key:"setAnimationOrigin",value:function(t){var e,n=this,i=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2?arguments[2]:void 0,a=this.snapshot,o=a?a.latestValues:{},u=(0,s._)({},this.latestValues),l=(0,to.createDelta)();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!i;var c=(0,to.createBox)(),h=(a?a.source:void 0)!==(this.layout?this.layout.source:void 0),d=this.getStack(),v=!d||d.members.length<=1,f=!!(h&&!v&&!0===this.options.crossfade&&!this.path.some(tW));this.animationProgress=0;var m=null==r?void 0:r.interpolateProjection(t);this.mixTargetDelta=function(i){var r,a,s,d,p,y,g=i/1e3,x=null==m?void 0:m(g);if(x?(l.x.translate=x.x,l.x.scale=(0,j.mixNumber)(t.x.scale,1,g),l.x.origin=t.x.origin,l.x.originPoint=t.x.originPoint,l.y.translate=x.y,l.y.scale=(0,j.mixNumber)(t.y.scale,1,g),l.y.origin=t.y.origin,l.y.originPoint=t.y.originPoint):(tN(l.x,t.x,g),tN(l.y,t.y,g)),n.setTargetDelta(l),n.relativeTarget&&n.relativeTargetOrigin&&n.layout&&n.relativeParent&&n.relativeParent.layout){(0,tt.calcRelativePosition)(c,n.layout.layoutBox,n.relativeParent.layout.layoutBox,n.options.layoutAnchor||void 0),r=n.relativeTarget,a=n.relativeTargetOrigin,s=c,d=g,tU(r.x,a.x,s.x,d),tU(r.y,a.y,s.y,d),e&&(p=n.relativeTarget,y=e,tl(p.x,y.x)&&tl(p.y,y.y))&&(n.isProjectionDirty=!1),e||(e=(0,to.createBox)()),$(e,n.relativeTarget)}h&&(n.animationValues=u,function(t,e,n,i,r,a){r?(t.opacity=(0,j.mixNumber)(0,null!=(o=n.opacity)?o:1,Y(i)),t.opacityExit=(0,j.mixNumber)(null!=(s=e.opacity)?s:1,0,X(i))):a&&(t.opacity=(0,j.mixNumber)(null!=(u=e.opacity)?u:1,null!=(l=n.opacity)?l:1,i));for(var o,s,u,l,c=0;c<G;c++){var h=W[c],d=K(e,h),v=K(n,h);(void 0!==d||void 0!==v)&&(d||(d=0),v||(v=0),0===d||0===v||H(d)===H(v)?(t[h]=Math.max((0,j.mixNumber)(z(d),z(v),i),0),(I.percent.test(v)||I.percent.test(d))&&(t[h]+="%")):t[h]=v)}(e.rotate||n.rotate)&&(t.rotate=(0,j.mixNumber)(e.rotate||0,n.rotate||0,i))}(u,o,n.latestValues,g,f,v)),x&&void 0!==x.rotate&&(n.animationValues||(n.animationValues=u),n.animationValues.pathRotation=x.rotate),n.root.scheduleUpdateProjection(),n.scheduleRender(),n.animationProgress=g},this.mixTargetDelta(1e3*!!this.options.layoutRoot)}},{key:"startAnimation",value:function(t){var e,n,i,r=this;this.notifyListeners("animationStart"),null==(e=this.currentAnimation)||e.stop(),null==(i=this.resumingFrom)||null==(n=i.currentAnimation)||n.stop(),this.pendingAnimation&&((0,d.cancelFrame)(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=d.frame.update(function(){h.globalProjectionState.hasAnimatedSinceResize=!0,R.activeAnimations.layout++,r.motionValue||(r.motionValue=(0,V.motionValue)(0)),r.motionValue.jump(0,!1),r.currentAnimation=A(r.motionValue,[0,1e3],
2(0,u._)((0,s._)({},t),{velocity:0,isSync:!0,onUpdate:function(e){r.mixTargetDelta(e),t.onUpdate&&t.onUpdate(e)},onStop:function(){R.activeAnimations.layout--},onComplete:function(){R.activeAnimations.layout--,t.onComplete&&t.onComplete(),r.completeAnimation()}})),r.resumingFrom&&(r.resumingFrom.currentAnimation=r.currentAnimation),r.pendingAnimation=void 0})}},{key:"completeAnimation",value:function(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);var t=this.getStack();t&&t.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}},{key:"finishAnimation",value:function(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}},{key:"applyTransformsToTarget",value:function(){var t=this.getLead(),e=t.targetWithTransforms,n=t.target,i=t.layout,r=t.latestValues;if(e&&n&&i){if(this!==t&&this.layout&&i&&tY(this.options.animationType,this.layout.layoutBox,i.layoutBox)){n=this.target||(0,to.createBox)();var a=(0,tt.calcLength)(this.layout.layoutBox.x);n.x.min=t.target.x.min,n.x.max=n.x.min+a;var o=(0,tt.calcLength)(this.layout.layoutBox.y);n.y.min=t.target.y.min,n.y.max=n.y.min+o}$(e,n),(0,Q.transformBox)(e,r),(0,tt.calcBoxDelta)(this.projectionDeltaWithTransform,this.layoutCorrected,e,r)}}},{key:"registerSharedNode",value:function(t,e){this.sharedNodes.has(t)||this.sharedNodes.set(t,new tm),this.sharedNodes.get(t).add(e);var n=e.options.initialPromotionConfig;e.promote({transition:n?n.transition:void 0,preserveFollowOpacity:n&&n.shouldPreserveFollowOpacity?n.shouldPreserveFollowOpacity(e):void 0})}},{key:"isLead",value:function(){var t=this.getStack();return!t||t.lead===this}},{key:"getLead",value:function(){var t;return this.options.layoutId&&(null==(t=this.getStack())?void 0:t.lead)||this}},{key:"getPrevLead",value:function(){var t;return this.options.layoutId?null==(t=this.getStack())?void 0:t.prevLead:void 0}},{key:"getStack",value:function(){var t=this.options.layoutId;if(t)return this.root.sharedNodes.get(t)}},{key:"promote",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.needsReset,n=t.transition,i=t.preserveFollowOpacity,r=this.getStack();r&&r.promote(this,i),e&&(this.projectionDelta=void 0,this.needsReset=!0),n&&this.setOptions({transition:n})}},{key:"relegate",value:function(){var t=this.getStack();return!!t&&t.relegate(this)}},{key:"resetSkewAndRotation",value:function(){var t=this.options.visualElement;if(t){var e=!1,n=t.latestValues;if((n.z||n.rotate||n.rotateX||n.rotateY||n.rotateZ||n.skewX||n.skewY)&&(e=!0),e){var i={};n.z&&tb("z",t,i,this.animationValues);for(var r=0;r<tT.length;r++)tb("rotate".concat(tT[r]),t,i,this.animationValues),tb("skew".concat(tT[r]),t,i,this.animationValues);for(var a in t.render(),i)t.setStaticValue(a,i[a]),this.animationValues&&(this.animationValues[a]=i[a]);t.scheduleRender()}}}},{key:"applyProjectionStyles",value:function(t,e){if(this.instance&&!this.isSVG){if(!this.isVisible){t.visibility="hidden";return}var n,i,r=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,t.visibility="",t.opacity="",t.pointerEvents=(0,O.resolveMotionValue)(null==e?void 0:e.pointerEvents)||"",t.transform=r?r(this.latestValues,""):"none";return}var a=this.getLead();if(!this.projectionDelta||!this.layout||!a.target){this.options.layoutId&&(t.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,t.pointerEvents=(0,O.resolveMotionValue)(null==e?void 0:e.pointerEvents)||""),this.hasProjected&&!(0,tx.hasTransform)(this.latestValues)&&(t.transform=r?r({},""):"none",this.hasProjected=!1);return}t.visibility="";var o=a.animationValues||a.latestValues;this.applyTransformsToTarget();var s=function(t,e,n){var i="",r=t.x.translate/e.x,a=t.y.translate/e.y,o=(null==n?void 0:n.z)||0;if((r||a||o)&&(i="translate3d(".concat(r,"px, ").concat(a,"px, ").concat(o,"px) ")),(1!==e.x||1!==e.y)&&(i+="scale(".concat(1/e.x,", ").concat(1/e.y,") ")),n){var s=n.transformPerspective,u=n.rotate,l=n.pathRotation,c=n.rotateX,h=n.rotateY,d=n.skewX,v=n.skewY;s&&(i="perspective(".concat(s,"px) ").concat(i)),u&&(i+="rotate(".concat(u,"deg) ")),l&&(i+="rotate(".concat(l,"deg) ")),c&&(i+="rotateX(".concat(c,"deg) ")),h&&(i+="rotateY(".concat(h,"deg) ")),d&&(i+="skewX(".concat(d,"deg) ")),v&&(i+="skewY(".concat(v,"deg) "))}var f=t.x.scale*e.x,m=t.y.scale*e.y;return(1!==f||1!==m)&&(i+="scale(".concat(f,", ").concat(m,")")),i||"none"}(this.projectionDeltaWithTransform,this.treeScale,o);r&&(s=r(o,s)),t.transform=s;var u=this.projectionDelta,l=u.x,c=u.y;for(var h in t.transformOrigin="".concat(100*l.origin,"% ").concat(100*c.origin,"% 0"),a.animationValues?t.opacity=a===this?null!=(n=null!=(i=o.opacity)?i:this.latestValues.opacity)?n:1:this.preserveOpacity?this.latestValues.opacity:o.opacityExit:t.opacity=a===this?void 0!==o.opacity?o.opacity:"":void 0!==o.opacityExit?o.opacityExit:0,_.scaleCorrectors)if(void 0!==o[h]){var d=_.scaleCorrectors[h],v=d.correct,f=d.applyTo,m=d.isCSSVariable,p="none"===s?o[h]:v(o[h],a);if(f)for(var y=f.length,g=0;g<y;g++)t[f[g]]=p;
2else m?this.options.visualElement.renderState.vars[h]=p:t[h]=p}this.options.layoutId&&(t.pointerEvents=a===this?(0,O.resolveMotionValue)(null==e?void 0:e.pointerEvents)||"":"none")}}},{key:"clearSnapshot",value:function(){this.resumeFrom=this.snapshot=void 0}},{key:"resetTree",value:function(){this.root.nodes.forEach(function(t){var e;return null==(e=t.currentAnimation)?void 0:e.stop()}),this.root.nodes.forEach(tC),this.root.sharedNodes.clear()}}]),c}function tP(t){t.updateLayout()}function tV(t){var e,n=(null==(e=t.resumeFrom)?void 0:e.snapshot)||t.snapshot;if(t.isLead()&&t.layout&&n&&t.hasListeners("didUpdate")){var i=t.layout,r=i.layoutBox,a=i.measuredBox,o=t.options.animationType,s=n.source!==t.layout.source;if("size"===o)(0,tp.eachAxis)(function(t){var e=s?n.measuredBox[t]:n.layoutBox[t],i=(0,tt.calcLength)(e);e.min=r[t].min,e.max=e.min+i});else if("x"===o||"y"===o){var u="x"===o?"y":"x";Z(s?n.measuredBox[u]:n.layoutBox[u],r[u])}else tY(o,n.layoutBox,r)&&(0,tp.eachAxis)(function(e){var i=s?n.measuredBox[e]:n.layoutBox[e],a=(0,tt.calcLength)(r[e]);i.max=i.min+a,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[e].max=t.relativeTarget[e].min+a)});var l=(0,to.createDelta)();(0,tt.calcBoxDelta)(l,r,n.layoutBox);var c=(0,to.createDelta)();s?(0,tt.calcBoxDelta)(c,t.applyTransform(a,!0),n.measuredBox):(0,tt.calcBoxDelta)(c,r,n.layoutBox);var h=!tu(l),d=!1;if(!t.resumeFrom){var v=t.getClosestProjectingParent();if(v&&!v.resumeFrom){var f=v.snapshot,m=v.layout;if(f&&m){var p=t.options.layoutAnchor||void 0,y=(0,to.createBox)();(0,tt.calcRelativePosition)(y,n.layoutBox,f.layoutBox,p);var g=(0,to.createBox)();(0,tt.calcRelativePosition)(g,r,m.layoutBox,p),th(y,g)||(d=!0),v.options.layoutRoot&&(t.relativeTarget=g,t.relativeTargetOrigin=y,t.relativeParent=v)}}}t.notifyListeners("didUpdate",{layout:r,snapshot:n,delta:c,layoutDelta:l,hasLayoutChanged:h,hasRelativeLayoutChanged:d})}else if(t.isLead()){var x=t.options.onExitComplete;x&&x()}t.options.transition=void 0}function tM(t){L.statsBuffer.value&&tk.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 tA(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function tE(t){t.clearSnapshot()}function tC(t){t.clearMeasurements()}function tD(t){t.isLayoutDirty=!0,t.updateLayout()}function t_(t){t.isLayoutDirty=!1}function tR(t){t.isAnimationBlocked&&t.layout&&!t.isLayoutDirty&&(t.snapshot=t.layout,t.isLayoutDirty=!0)}function tL(t){var e=t.options.visualElement;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function tB(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function tF(t){t.resolveTargetDelta()}function tj(t){t.calcProjection()}function tO(t){t.resetSkewAndRotation()}function tI(t){t.removeLeadSnapshot()}function tN(t,e,n){t.translate=(0,j.mixNumber)(e.translate,0,n),t.scale=(0,j.mixNumber)(e.scale,1,n),t.origin=e.origin,t.originPoint=e.originPoint}function tU(t,e,n,i){t.min=(0,j.mixNumber)(e.min,n.min,i),t.max=(0,j.mixNumber)(e.max,n.max,i)}function tW(t){return t.animationValues&&void 0!==t.animationValues.opacityExit}var tG={duration:.45,ease:[.4,0,.1,1]},tz=function(t){return"u">typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t)},tH=tz("applewebkit/")&&!tz("chrome/")?Math.round:w.noop;function tK(t){t.min=tH(t.min),t.max=tH(t.max)}function tY(t,e,n){return"position"===t||"preserve-aspect"===t&&!(0,tt.isNear)(td(e),td(n),.2)}function tX(t){var e;return t!==t.root&&(null==(e=t.scroll)?void 0:e.wasRoot)}var tq=t.i(508821),tZ=tw({attachResizeListener:function(t,e){return(0,tq.addDomEvent)(t,"resize",e)},measureScroll:function(){var t,e;return{x:document.documentElement.scrollLeft||(null==(t=document.body)?void 0:t.scrollLeft)||0,y:document.documentElement.scrollTop||(null==(e=
2document.body)?void 0:e.scrollTop)||0}},checkIsScrollRoot:function(){return!0}}),t$={current:void 0},tJ=tw({measureScroll:function(t){return{x:t.scrollLeft,y:t.scrollTop}},defaultParent:function(){if(!t$.current){var t=new tZ({});t.mount(window),t.setOptions({layoutScroll:!0}),t$.current=t}return t$.current},resetTransform:function(t,e){t.style.transform=void 0!==e?e:"none"},checkIsScrollRoot:function(t){return"fixed"===window.getComputedStyle(t).position}});t.s(["HTMLProjectionNode",0,tJ],515990);var tQ={pan:{Feature:n.PanGesture},drag:{Feature:e.DragGesture,ProjectionNode:tJ,MeasureLayout:k}};t.s(["drag",0,tQ],791303);var t0=t.i(838976),t1=t.i(610927),t3=t.i(488133);function t4(t,e){var n=(0,t3.resolveElements)(t),i=new AbortController;return[n,(0,u._)((0,s._)({passive:!0},e),{signal:i.signal}),function(){return i.abort()}]}t.s(["setupGesture",0,t4],167454);var t5=t.i(673560);function t2(t,e,n){var i=t.props;t.animationState&&i.whileHover&&t.animationState.setActive("whileHover","Start"===n);var r=i["onHover"+n];r&&d.frame.postRender(function(){return r(e,(0,t5.extractEventInfo)(e))})}var t8=function(t){function e(){return(0,r._)(this,e),(0,i._)(this,e,arguments)}return(0,o._)(e,t),(0,a._)(e,[{key:"mount",value:function(){var t=this,e=this.node.current;e&&(this.unmount=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=(0,l._)(t4(t,n),3),r=i[0],a=i[1],o=i[2];return r.forEach(function(t){var n,i=!1,r=!1,o=function(){t.removeEventListener("pointerleave",l)},s=function(t){n&&(n(t),n=void 0),o()},u=function(t){i=!1,window.removeEventListener("pointerup",u),window.removeEventListener("pointercancel",u),r&&(r=!1,s(t))},l=function(t){if("touch"!==t.pointerType){if(i){r=!0;return}s(t)}};t.addEventListener("pointerenter",function(i){if(!("touch"===i.pointerType||(0,t1.isDragActive)())){r=!1;var o=e(t,i);"function"==typeof o&&(n=o,t.addEventListener("pointerleave",l,a))}},a),t.addEventListener("pointerdown",function(){i=!0,window.addEventListener("pointerup",u,a),window.addEventListener("pointercancel",u,a)},a)}),o}(e,function(e,n){return t2(t.node,n,"Start"),function(e){return t2(t.node,e,"End")}}))}},{key:"unmount",value:function(){}}]),e}(t0.Feature);t.s(["HoverGesture",0,t8],309435);var t6=t.i(815645),t7=function(t){function e(){var t;return(0,r._)(this,e),t=(0,i._)(this,e,arguments),t.isActive=!1,t}return(0,o._)(e,t),(0,a._)(e,[{key:"onFocus",value:function(){var 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)}},{key:"onBlur",value:function(){this.isActive&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}},{key:"mount",value:function(){var t=this;this.unmount=(0,t6.pipe)((0,tq.addDomEvent)(this.node.current,"focus",function(){return t.onFocus()}),(0,tq.addDomEvent)(this.node.current,"blur",function(){return t.onBlur()}))}},{key:"unmount",value:function(){}}]),e}(t0.Feature);t.s(["FocusGesture",0,t7],890126)},261427,t=>{"use strict";var e=t.i(825465);t.s(["isHTMLElement",0,function(t){return(0,e.isObject)(t)&&"offsetHeight"in t&&!("ownerSVGElement"in t)}])},484778,t=>{"use strict";var e=t.i(585737),n=t.i(148923),i=t.i(164309),r=t.i(988645),a=t.i(791303),o=t.i(309435),s=t.i(890126),u=t.i(396784),l=t.i(401157),c=t.i(319465),h=t.i(785337),d=t.i(94e4),v=t.i(838976),f=t.i(177619),m=t.i(261427),p=t.i(610927),y=function(t,e){return!!e&&(t===e||y(t,e.parentElement))},g=t.i(658904),x=t.i(167454),k=t.i(996584),T=new WeakSet;function S(t){return function(e){"Enter"===e.key&&t(e)}}function b(t,e){t.dispatchEvent(new PointerEvent("pointer"+e,{isPrimary:!0,bubbles:!0}))}var w=function(t,e){var n=t.currentTarget;if(n){var i=S(function(){if(!T.has(n)){b(n,"down");var t=S(function(){b(n,"up")});n.addEventListener("keyup",t,e),n.addEventListener("blur",function(){return b(n,"cancel")},e)}});n.addEventListener("keydown",i,e),n.addEventListener("blur",function(){return n.removeEventListener("keydown",i)},e)}};function P(t){return(0,g.isPrimaryPointer)(t)&&!(0,p.isDragActive)()}var V=new WeakSet,M=t.i(907953),A=t.i(673560);function E(t,e,n){var i=t.props;if(!(0,d._)(t.current,HTMLButtonElement)||!t.current.disabled){t.animationState&&i.whileTap&&t.animationState.setActive("whileTap","Start"===n);var r=i["onTap"+("End"===n?"":n)];r&&M.frame.postRender(function(){return r(e,(0,A.extractEventInfo)(e))})}}var C=function(t){function e(){return(0,l._)(this,e),(0,u._)(this,e,arguments)}return(0,h._)(e,t),(0,c._)(e,[{key:"mount",value:function(){var t=this,e=this.node.current;if(e){var n=this.node.props,i=n.globalTapTarget,r=n.propagate;this.unmount=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=(0,f._)((0,x.setupGesture)(t,n),3),r=i[0],a=i[1],o=i[2],s=function(t){var i=t.currentTarget;if(P(t)&&!V.has(t)){T.add(i),n.stopPropagation&&V.add(t);var r=e(i,t),o=function(t,e){window.removeEventListener("pointerup",s),window.removeEventListener("pointercancel",u),T.has(i)&&T.delete(i),P(t)&&"function"==typeof r&&r(t,{success:e})},s=function(t){o(t,i===window||i===document||n.useGlobalTarget||y(i,t.target))},u=function(t){o(t,!1)};window.addEventListener("pointerup",s,a),window.addEventListener("pointercancel",u,a)}};return r.forEach(function(t){(n.useGlobalTarget?window:t).addEventListener("pointerdown",s,a),(0,m.isHTMLElement)(t)&&(t.addEventListener("focus",function(t){return w(t,a)}),(0,k.isElementKeyboardAccessible)(t)||t.hasAttribute("tabindex")||(t.tabIndex=0))}),o}(e,function(e,n){return E(t.node,n,"Start"),function(e,n){var i=n.success;
2return E(t.node,e,i?"End":"Cancel")}},{useGlobalTarget:i,stopPropagation:(null==r?void 0:r.tap)===!1})}}},{key:"unmount",value:function(){}}]),e}(v.Feature),D=t.i(766417),_=new WeakMap,R=new WeakMap,L=function(t){var e=_.get(t.target);e&&e(t)},B=function(t){t.forEach(L)},F={some:0,all:1},j={inView:{Feature:function(t){function e(){var t;return(0,l._)(this,e),t=(0,u._)(this,e,arguments),t.hasEnteredView=!1,t.isInView=!1,t}return(0,h._)(e,t),(0,c._)(e,[{key:"startObserver",value:function(){var t,e,n,r,a,o,s,u,l,c=this;null==(l=this.stopObserver)||l.call(this);var h=this.node.getProps().viewport,d=void 0===h?{}:h,v=d.root,f=d.margin,m=d.amount,p=void 0===m?"some":m,y=d.once,g={root:v?v.current:void 0,rootMargin:f,threshold:"number"==typeof p?p:F[p]};this.stopObserver=(t=this.node.current,e=function(t){var e=t.isIntersecting;if(c.isInView!==e){if(c.isInView=e,y&&!e&&c.hasEnteredView)return;e&&(c.hasEnteredView=!0),c.node.animationState&&c.node.animationState.setActive("whileInView",e);var n=c.node.getProps(),i=n.onViewportEnter,r=n.onViewportLeave,a=e?i:r;a&&a(t)}},n=g.root,r=(0,D._)(g,["root"]),a=n||document,R.has(a)||R.set(a,{}),(o=R.get(a))[s=JSON.stringify(r)]||(o[s]=new IntersectionObserver(B,(0,i._)({root:n},r))),u=o[s],_.set(t,e),u.observe(t),function(){_.delete(t),u.unobserve(t)})}},{key:"mount",value:function(){this.startObserver()}},{key:"update",value:function(){if("u">typeof IntersectionObserver){var t=this.node;["amount","margin","root"].some(function(t){var e=t.viewport,n=void 0===e?{}:e,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=i.viewport,a=void 0===r?{}:r;return function(t){return n[t]!==a[t]}}(t.props,t.prevProps))&&this.startObserver()}}},{key:"unmount",value:function(){var t;null==(t=this.stopObserver)||t.call(this),this.hasEnteredView=!1,this.isInView=!1}}]),e}(v.Feature)},tap:{Feature:C},focus:{Feature:s.FocusGesture},hover:{Feature:o.HoverGesture}},O=t.i(515990),I=t.i(806682),N={layout:{ProjectionNode:O.HTMLProjectionNode,MeasureLayout:I.MeasureLayout}},U=(0,i._)({},r.animations,j,a.drag,N),W=(0,n.createMotionProxy)(U,e.createDomVisualElement);t.s(["motion",0,W],484778)}]);
3
4//# debugId=6b4f40ac-ac0e-21b5-8f83-ca0051b4d203

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.