-
Notifications
You must be signed in to change notification settings - Fork 0
/
5f1adee5006828fcc91e7a331cc1c93295d3c7a8-8af24ea4d40bd158b87c.js
2 lines (2 loc) · 83.9 KB
/
5f1adee5006828fcc91e7a331cc1c93295d3c7a8-8af24ea4d40bd158b87c.js
1
2
"use strict";(self.webpackChunkvictor_cortes=self.webpackChunkvictor_cortes||[]).push([[561],{5264:function(t,n,e){e.d(n,{Z:function(){return i}});var r=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|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|download|draggable|encType|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|playsInline|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|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|inert|itemProp|itemScope|itemType|itemID|itemRef|on|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)-.*))$/,i=function(t){var n={};return function(e){return void 0===n[e]&&(n[e]=t(e)),n[e]}}((function(t){return r.test(t)||111===t.charCodeAt(0)&&110===t.charCodeAt(1)&&t.charCodeAt(2)<91}))},701:function(t,n,e){e.d(n,{Z:function(){return Bo}});var r=e(7294),i=e(7724),o=function(t){return{isEnabled:function(n){return t.some((function(t){return!!n[t]}))}}},a={measureLayout:o(["layout","layoutId","drag","_layoutResetTransform"]),animation:o(["animate","exit","variants","whileHover","whileTap","whileFocus","whileDrag"]),exit:o(["exit"]),drag:o(["drag","dragControls"]),focus:o(["whileFocus"]),hover:o(["whileHover","onHoverStart","onHoverEnd"]),tap:o(["whileTap","onTap","onTapStart","onTapCancel"]),pan:o(["onPan","onPanStart","onPanSessionStart","onPanEnd"]),layoutAnimation:o(["layout","layoutId"])};var u=(0,r.createContext)({strict:!1}),s=Object.keys(a),l=s.length;var c=(0,r.createContext)({transformPagePoint:function(t){return t},isStatic:!1}),f=(0,r.createContext)({});var v=e(2267),d=e(9179);function p(){var t=(0,r.useContext)(v.O);if(null===t)return[!0,null];var n=t.isPresent,e=t.onExitComplete,i=t.register,o=y();(0,r.useEffect)((function(){return i(o)}),[]);return!n&&e?[!1,function(){return null==e?void 0:e(o)}]:[!0]}function m(t){return null===t||t.isPresent}var h=0,g=function(){return h++},y=function(){return(0,d.h)(g)},x=(0,r.createContext)(null),b="undefined"!=typeof window,A=b?r.useLayoutEffect:r.useEffect;function P(t,n,e,o){var a=(0,r.useContext)(c),s=(0,r.useContext)(u),l=(0,r.useContext)(f).visualElement,d=(0,r.useContext)(v.O),p=function(t){var n=t.layoutId,e=(0,r.useContext)(x);return e&&void 0!==n?e+"-"+n:n}(e),h=(0,r.useRef)(void 0);o||(o=s.renderer),!h.current&&o&&(h.current=o(t,{visualState:n,parent:l,props:(0,i.pi)((0,i.pi)({},e),{layoutId:p}),presenceId:null==d?void 0:d.id,blockInitialAnimation:!1===(null==d?void 0:d.initial)}));var g=h.current;return A((function(){g&&(g.setProps((0,i.pi)((0,i.pi)((0,i.pi)({},a),e),{layoutId:p})),g.isPresent=m(d),g.isPresenceRoot=!l||l.presenceId!==(null==d?void 0:d.id),g.syncRender())})),(0,r.useEffect)((function(){var t;g&&(null===(t=g.animationState)||void 0===t||t.animateChanges())})),A((function(){return function(){return null==g?void 0:g.notifyUnmount()}}),[]),g}function E(t){return"object"==typeof t&&Object.prototype.hasOwnProperty.call(t,"current")}function T(t){return Array.isArray(t)}function C(t){return"string"==typeof t||T(t)}function w(t,n,e,r,i){var o;return void 0===r&&(r={}),void 0===i&&(i={}),"string"==typeof n&&(n=null===(o=t.variants)||void 0===o?void 0:o[n]),"function"==typeof n?n(null!=e?e:t.custom,r,i):n}function S(t,n,e){var r=t.getProps();return w(r,n,null!=e?e:r.custom,function(t){var n={};return t.forEachValue((function(t,e){return n[e]=t.get()})),n}(t),function(t){var n={};return t.forEachValue((function(t,e){return n[e]=t.getVelocity()})),n}(t))}function M(t){var n;return"function"==typeof(null===(n=t.animate)||void 0===n?void 0:n.start)||C(t.initial)||C(t.animate)||C(t.whileHover)||C(t.whileDrag)||C(t.whileTap)||C(t.whileFocus)||C(t.exit)}function k(t){return Boolean(M(t)||t.variants)}function V(t,n){var e=function(t,n){if(M(t)){var e=t.initial,r=t.animate;return{initial:!1===e||C(e)?e:void 0,animate:C(r)?r:void 0}}return!1!==t.inherit?n:{}}(t,(0,r.useContext)(f)),i=e.initial,o=e.animate;return(0,r.useMemo)((function(){return{initial:i,animate:o}}),n?[R(i),R(o)]:[])}function R(t){return Array.isArray(t)?t.join(" "):t}function L(t){var n=t.preloadedFeatures,e=t.createVisualElement,o=t.useRender,v=t.useVisualState,d=t.Component;return n&&function(t){for(var n in t){var e=t[n];null!==e&&(a[n].Component=e)}}(n),(0,r.forwardRef)((function(t,n){var p=(0,r.useContext)(c).isStatic,m=null,h=V(t,p),g=v(t,p);return!p&&b&&(h.visualElement=P(d,g,t,e),m=function(t,n,e){var o=[];if((0,r.useContext)(u),!n)return null;for(var c=0;c<l;c++){var f=s[c],v=a[f],d=v.isEnabled,p=v.Component;d(t)&&p&&o.push(r.createElement(p,(0,i.pi)({key:f},t,{visualElement:n})))}return o}(t,h.visualElement)),r.createElement(r.Fragment,null,r.createElement(f.Provider,{value:h},o(d,t,function(t,n,e){return(0,r.useCallback)((function(r){var i;r&&(null===(i=t.mount)||void 0===i||i.call(t,r)),n&&(r?n.mount(r):n.unmount()),e&&("function"==typeof e?e(r):E(e)&&(e.current=r))}),[n])}(g,h.visualElement,n),g,p)),m)}))}function D(t){function n(n,e){return void 0===e&&(e={}),L(t(n,e))}var e=new Map;return new Proxy(n,{get:function(t,r){return e.has(r)||e.set(r,n(r)),e.get(r)}})}var O=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","svg","switch","symbol","text","tspan","use","view"];function j(t){return"string"==typeof t&&!t.includes("-")&&!!(O.indexOf(t)>-1||/[A-Z]/.test(t))}var B={};var F=["","X","Y","Z"],I=["transformPerspective","x","y","z"];function U(t,n){return I.indexOf(t)-I.indexOf(n)}["translate","scale","rotate","skew"].forEach((function(t){return F.forEach((function(n){return I.push(t+n)}))}));var H=new Set(I);function N(t){return H.has(t)}var z=new Set(["originX","originY","originZ"]);function Y(t){return z.has(t)}function Z(t,n){var e=n.layout,r=n.layoutId;return N(t)||Y(t)||(e||void 0!==r)&&(!!B[t]||"opacity"===t)}var X=function(t){return null!==t&&"object"==typeof t&&t.getVelocity},W={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"};function _(t){return t.startsWith("--")}var q=function(t,n){return n&&"number"==typeof t?n.transform(t):t};var G=function(){return G=Object.assign||function(t){for(var n,e=1,r=arguments.length;e<r;e++)for(var i in n=arguments[e])Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t},G.apply(this,arguments)};Object.create;Object.create;var $=function(t,n){return function(e){return Math.max(Math.min(e,n),t)}},K=function(t){return t%1?Number(t.toFixed(5)):t},J=/(-)?([\d]*\.?[\d])+/g,Q=/(#[0-9a-f]{6}|#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2,3}\s*\/*\s*[\d\.]+%?\))/gi,tt=/^(#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2,3}\s*\/*\s*[\d\.]+%?\))$/i;function nt(t){return"string"==typeof t}var et=function(t){return{test:function(n){return nt(n)&&n.endsWith(t)&&1===n.split(" ").length},parse:parseFloat,transform:function(n){return""+n+t}}},rt=et("deg"),it=et("%"),ot=et("px"),at=et("vh"),ut=et("vw"),st=G(G({},it),{parse:function(t){return it.parse(t)/100},transform:function(t){return it.transform(100*t)}}),lt={test:function(t){return"number"==typeof t},parse:parseFloat,transform:function(t){return t}},ct=G(G({},lt),{transform:$(0,1)}),ft=G(G({},lt),{default:1}),vt=(0,i.pi)((0,i.pi)({},lt),{transform:Math.round}),dt={borderWidth:ot,borderTopWidth:ot,borderRightWidth:ot,borderBottomWidth:ot,borderLeftWidth:ot,borderRadius:ot,radius:ot,borderTopLeftRadius:ot,borderTopRightRadius:ot,borderBottomRightRadius:ot,borderBottomLeftRadius:ot,width:ot,maxWidth:ot,height:ot,maxHeight:ot,size:ot,top:ot,right:ot,bottom:ot,left:ot,padding:ot,paddingTop:ot,paddingRight:ot,paddingBottom:ot,paddingLeft:ot,margin:ot,marginTop:ot,marginRight:ot,marginBottom:ot,marginLeft:ot,rotate:rt,rotateX:rt,rotateY:rt,rotateZ:rt,scale:ft,scaleX:ft,scaleY:ft,scaleZ:ft,skew:rt,skewX:rt,skewY:rt,distance:ot,translateX:ot,translateY:ot,translateZ:ot,x:ot,y:ot,z:ot,perspective:ot,transformPerspective:ot,opacity:ct,originX:st,originY:st,originZ:ot,zIndex:vt,fillOpacity:ct,strokeOpacity:ct,numOctaves:vt};function pt(t,n,e,r,i,o,a,u){var s,l=t.style,c=t.vars,f=t.transform,v=t.transformKeys,d=t.transformOrigin;v.length=0;var p=!1,m=!1,h=!0;for(var g in n){var y=n[g];if(_(g))c[g]=y;else{var x=dt[g],b=q(y,x);if(N(g)){if(p=!0,f[g]=b,v.push(g),!h)continue;y!==(null!==(s=x.default)&&void 0!==s?s:0)&&(h=!1)}else if(Y(g))d[g]=b,m=!0;else if((null==e?void 0:e.isHydrated)&&(null==r?void 0:r.isHydrated)&&B[g]){var A=B[g].process(y,r,e),P=B[g].applyTo;if(P)for(var E=P.length,T=0;T<E;T++)l[P[T]]=A;else l[g]=A}else l[g]=b}}r&&e&&a&&u?(l.transform=a(r.deltaFinal,r.treeScale,p?f:void 0),o&&(l.transform=o(f,l.transform)),l.transformOrigin=u(r)):(p&&(l.transform=function(t,n,e,r){var i=t.transform,o=t.transformKeys,a=n.enableHardwareAcceleration,u=void 0===a||a,s=n.allowTransformNone,l=void 0===s||s,c="";o.sort(U);for(var f=!1,v=o.length,d=0;d<v;d++){var p=o[d];c+=(W[p]||p)+"("+i[p]+") ","z"===p&&(f=!0)}return!f&&u?c+="translateZ(0)":c=c.trim(),r?c=r(i,e?"":c):l&&e&&(c="none"),c}(t,i,h,o)),m&&(l.transformOrigin=function(t){var n=t.originX,e=void 0===n?"50%":n,r=t.originY,i=void 0===r?"50%":r,o=t.originZ;return e+" "+i+" "+(void 0===o?0:o)}(d)))}var mt=function(){return{style:{},transform:{},transformKeys:[],transformOrigin:{},vars:{}}};function ht(t,n,e){for(var r in n)X(n[r])||Z(r,e)||(t[r]=n[r])}function gt(t,n,e){var o={};return ht(o,t.style||{},t),Object.assign(o,function(t,n,e){var o=t.transformTemplate;return(0,r.useMemo)((function(){var t={style:{},transform:{},transformKeys:[],transformOrigin:{},vars:{}};pt(t,n,void 0,void 0,{enableHardwareAcceleration:!e},o);var r=t.vars,a=t.style;return(0,i.pi)((0,i.pi)({},r),a)}),[n])}(t,n,e)),t.transformValues&&(o=t.transformValues(o)),o}function yt(t,n,e){var r={},i=gt(t,n,e);return Boolean(t.drag)&&(r.draggable=!1,i.userSelect=i.WebkitUserSelect=i.WebkitTouchCallout="none",i.touchAction=!0===t.drag?"none":"pan-"+("x"===t.drag?"y":"x")),r.style=i,r}var xt=new Set(["initial","animate","exit","style","variants","transition","transformTemplate","transformValues","custom","inherit","layout","layoutId","_layoutResetTransform","onLayoutAnimationComplete","onViewportBoxUpdate","onLayoutMeasure","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","drag","dragControls","dragListener","dragConstraints","dragDirectionLock","_dragX","_dragY","dragElastic","dragMomentum","dragPropagation","dragTransition","whileDrag","onPan","onPanStart","onPanEnd","onPanSessionStart","onTap","onTapStart","onTapCancel","onHoverStart","onHoverEnd","whileFocus","whileTap","whileHover"]);function bt(t){return xt.has(t)}var At=function(t){return!bt(t)};try{var Pt=e(5264).Z;At=function(t){return t.startsWith("on")?!bt(t):Pt(t)}}catch(Fo){}function Et(t,n,e){return"string"==typeof t?t:ot.transform(n+e*t)}var Tt=function(t,n){return ot.transform(t*n)},Ct={offset:"stroke-dashoffset",array:"stroke-dasharray"},wt={offset:"strokeDashoffset",array:"strokeDasharray"};function St(t,n,e,r,o,a,u,s){var l=n.attrX,c=n.attrY,f=n.originX,v=n.originY,d=n.pathLength,p=n.pathSpacing,m=void 0===p?1:p,h=n.pathOffset,g=void 0===h?0:h;pt(t,(0,i._T)(n,["attrX","attrY","originX","originY","pathLength","pathSpacing","pathOffset"]),e,r,o,a,u,s),t.attrs=t.style,t.style={};var y=t.attrs,x=t.style,b=t.dimensions,A=t.totalPathLength;y.transform&&(b&&(x.transform=y.transform),delete y.transform),b&&(void 0!==f||void 0!==v||x.transform)&&(x.transformOrigin=function(t,n,e){return Et(n,t.x,t.width)+" "+Et(e,t.y,t.height)}(b,void 0!==f?f:.5,void 0!==v?v:.5)),void 0!==l&&(y.x=l),void 0!==c&&(y.y=c),void 0!==A&&void 0!==d&&function(t,n,e,r,i,o){void 0===r&&(r=1),void 0===i&&(i=0),void 0===o&&(o=!0);var a=o?Ct:wt;t[a.offset]=Tt(-i,n);var u=Tt(e,n),s=Tt(r,n);t[a.array]=u+" "+s}(y,A,d,m,g,!1)}var Mt=function(){return(0,i.pi)((0,i.pi)({},{style:{},transform:{},transformKeys:[],transformOrigin:{},vars:{}}),{attrs:{}})};function kt(t,n){var e=(0,r.useMemo)((function(){var e=Mt();return St(e,n,void 0,void 0,{enableHardwareAcceleration:!1},t.transformTemplate),(0,i.pi)((0,i.pi)({},e.attrs),{style:(0,i.pi)({},e.style)})}),[n]);if(t.style){var o={};ht(o,t.style,t),e.style=(0,i.pi)((0,i.pi)({},o),e.style)}return e}function Vt(t){void 0===t&&(t=!1);return function(n,e,o,a,u){var s=a.latestValues,l=(j(n)?kt:yt)(e,s,u),c=function(t,n,e){var r={};for(var i in t)(At(i)||!0===e&&bt(i)||!n&&!bt(i))&&(r[i]=t[i]);return r}(e,"string"==typeof n,t),f=(0,i.pi)((0,i.pi)((0,i.pi)({},c),l),{ref:o});return(0,r.createElement)(n,f)}}var Rt=/([a-z])([A-Z])/g,Lt=function(t){return t.replace(Rt,"$1-$2").toLowerCase()};function Dt(t,n){var e=n.style,r=n.vars;for(var i in Object.assign(t.style,e),r)t.style.setProperty(i,r[i])}var Ot=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform"]);function jt(t,n){for(var e in Dt(t,n),n.attrs)t.setAttribute(Ot.has(e)?e:Lt(e),n.attrs[e])}function Bt(t){var n=t.style,e={};for(var r in n)(X(n[r])||Z(r,t))&&(e[r]=n[r]);return e}function Ft(t){var n=Bt(t);for(var e in t){if(X(t[e]))n["x"===e||"y"===e?"attr"+e.toUpperCase():e]=t[e]}return n}function It(t){return"object"==typeof t&&"function"==typeof t.start}var Ut=function(t){return Array.isArray(t)};function Ht(t){var n,e=X(t)?t.get():t;return n=e,Boolean(n&&"object"==typeof n&&n.mix&&n.toValue)?e.toValue():e}function Nt(t,n,e,r){var i=t.scrapeMotionValuesFromProps,o=t.createRenderState,a=t.onMount,u={latestValues:Yt(n,e,r,i),renderState:o()};return a&&(u.mount=function(t){return a(n,t,u)}),u}var zt=function(t){return function(n,e){var i=(0,r.useContext)(f),o=(0,r.useContext)(v.O);return e?Nt(t,n,i,o):(0,d.h)((function(){return Nt(t,n,i,o)}))}};function Yt(t,n,e,r){var o={},a=!1===(null==e?void 0:e.initial),u=r(t);for(var s in u)o[s]=Ht(u[s]);var l=t.initial,c=t.animate,f=M(t),v=k(t);n&&v&&!f&&!1!==t.inherit&&(null!=l||(l=n.initial),null!=c||(c=n.animate));var d=a||!1===l?c:l;d&&"boolean"!=typeof d&&!It(d)&&(Array.isArray(d)?d:[d]).forEach((function(n){var e=w(t,n);if(e){var r=e.transitionEnd;e.transition;var a=(0,i._T)(e,["transitionEnd","transition"]);for(var u in a)o[u]=a[u];for(var u in r)o[u]=r[u]}}));return o}var Zt={useVisualState:zt({scrapeMotionValuesFromProps:Ft,createRenderState:Mt,onMount:function(t,n,e){var r=e.renderState,i=e.latestValues;try{r.dimensions="function"==typeof n.getBBox?n.getBBox():n.getBoundingClientRect()}catch(o){r.dimensions={x:0,y:0,width:0,height:0}}"path"===n.tagName&&(r.totalPathLength=n.getTotalLength()),St(r,i,void 0,void 0,{enableHardwareAcceleration:!1},t.transformTemplate),jt(n,r)}})};var Xt,Wt={useVisualState:zt({scrapeMotionValuesFromProps:Bt,createRenderState:mt})};function _t(t,n,e,r){return t.addEventListener(n,e,r),function(){return t.removeEventListener(n,e,r)}}function qt(t,n,e,i){(0,r.useEffect)((function(){var r=t.current;if(e&&r)return _t(r,n,e,i)}),[t,n,e,i])}function Gt(t){return"undefined"!=typeof PointerEvent&&t instanceof PointerEvent?!("mouse"!==t.pointerType):t instanceof MouseEvent}function $t(t){return!!t.touches}!function(t){t.Animate="animate",t.Hover="whileHover",t.Tap="whileTap",t.Drag="whileDrag",t.Focus="whileFocus",t.Exit="exit"}(Xt||(Xt={}));var Kt={pageX:0,pageY:0};function Jt(t,n){void 0===n&&(n="page");var e=t.touches[0]||t.changedTouches[0]||Kt;return{x:e[n+"X"],y:e[n+"Y"]}}function Qt(t,n){return void 0===n&&(n="page"),{x:t[n+"X"],y:t[n+"Y"]}}function tn(t,n){return void 0===n&&(n="page"),{point:$t(t)?Jt(t,n):Qt(t,n)}}var nn=function(t,n){void 0===n&&(n=!1);var e,r=function(n){return t(n,tn(n))};return n?(e=r,function(t){var n=t instanceof MouseEvent;(!n||n&&0===t.button)&&e(t)}):r},en={pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointercancel:"mousecancel",pointerover:"mouseover",pointerout:"mouseout",pointerenter:"mouseenter",pointerleave:"mouseleave"},rn={pointerdown:"touchstart",pointermove:"touchmove",pointerup:"touchend",pointercancel:"touchcancel"};function on(t){return b&&null===window.onpointerdown?t:b&&null===window.ontouchstart?rn[t]:b&&null===window.onmousedown?en[t]:t}function an(t,n,e,r){return _t(t,on(n),nn(e,"pointerdown"===n),r)}function un(t,n,e,r){return qt(t,on(n),e&&nn(e,"pointerdown"===n),r)}function sn(t){var n=null;return function(){return null===n&&(n=t,function(){n=null})}}var ln=sn("dragHorizontal"),cn=sn("dragVertical");function fn(t){var n=!1;if("y"===t)n=cn();else if("x"===t)n=ln();else{var e=ln(),r=cn();e&&r?n=function(){e(),r()}:(e&&e(),r&&r())}return n}function vn(){var t=fn(!0);return!t||(t(),!1)}function dn(t,n,e){return function(r,i){var o;Gt(r)&&!vn()&&(null==e||e(r,i),null===(o=t.animationState)||void 0===o||o.setActive(Xt.Hover,n))}}var pn=function t(n,e){return!!e&&(n===e||t(n,e.parentElement))},mn=e(9922),hn=function(t,n){return function(e){return n(t(e))}},gn=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return t.reduce(hn)};var yn=function(t){return function(n){return t(n),null}},xn={tap:yn((function(t){var n=t.onTap,e=t.onTapStart,i=t.onTapCancel,o=t.whileTap,a=t.visualElement,u=n||e||i||o,s=(0,r.useRef)(!1),l=(0,r.useRef)(null);function c(){var t;null===(t=l.current)||void 0===t||t.call(l),l.current=null}function f(){var t;return c(),s.current=!1,null===(t=a.animationState)||void 0===t||t.setActive(Xt.Tap,!1),!vn()}function v(t,e){f()&&(pn(a.getInstance(),t.target)?null==n||n(t,e):null==i||i(t,e))}function d(t,n){f()&&(null==i||i(t,n))}un(a,"pointerdown",u?function(t,n){var r;c(),s.current||(s.current=!0,l.current=gn(an(window,"pointerup",v),an(window,"pointercancel",d)),null==e||e(t,n),null===(r=a.animationState)||void 0===r||r.setActive(Xt.Tap,!0))}:void 0),(0,mn.z)(c)})),focus:yn((function(t){var n=t.whileFocus,e=t.visualElement;qt(e,"focus",n?function(){var t;null===(t=e.animationState)||void 0===t||t.setActive(Xt.Focus,!0)}:void 0),qt(e,"blur",n?function(){var t;null===(t=e.animationState)||void 0===t||t.setActive(Xt.Focus,!1)}:void 0)})),hover:yn((function(t){var n=t.onHoverStart,e=t.onHoverEnd,r=t.whileHover,i=t.visualElement;un(i,"pointerenter",n||r?dn(i,!0,n):void 0),un(i,"pointerleave",e||r?dn(i,!1,e):void 0)}))};function bn(t,n){if(!Array.isArray(n))return!1;var e=n.length;if(e!==t.length)return!1;for(var r=0;r<e;r++)if(n[r]!==t[r])return!1;return!0}var An=function(){return An=Object.assign||function(t){for(var n,e=1,r=arguments.length;e<r;e++)for(var i in n=arguments[e])Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t},An.apply(this,arguments)};function Pn(t,n){var e={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&n.indexOf(r)<0&&(e[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(t);i<r.length;i++)n.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(e[r[i]]=t[r[i]])}return e}Object.create;Object.create;var En=function(t,n,e){return Math.min(Math.max(e,t),n)},Tn=.001;function Cn(t){var n,e,r=t.duration,i=void 0===r?800:r,o=t.bounce,a=void 0===o?.25:o,u=t.velocity,s=void 0===u?0:u,l=t.mass,c=void 0===l?1:l,f=1-a;f=En(.05,1,f),i=En(.01,10,i/1e3),f<1?(n=function(t){var n=t*f,e=n*i,r=n-s,o=wn(t,f),a=Math.exp(-e);return Tn-r/o*a},e=function(t){var e=t*f*i,r=e*s+s,o=Math.pow(f,2)*Math.pow(t,2)*i,a=Math.exp(-e),u=wn(Math.pow(t,2),f);return(-n(t)+Tn>0?-1:1)*((r-o)*a)/u}):(n=function(t){return Math.exp(-t*i)*((t-s)*i+1)-.001},e=function(t){return Math.exp(-t*i)*(i*i*(s-t))});var v=function(t,n,e){for(var r=e,i=1;i<12;i++)r-=t(r)/n(r);return r}(n,e,5/i);if(i*=1e3,isNaN(v))return{stiffness:100,damping:10,duration:i};var d=Math.pow(v,2)*c;return{stiffness:d,damping:2*f*Math.sqrt(c*d),duration:i}}function wn(t,n){return t*Math.sqrt(1-n*n)}var Sn=["duration","bounce"],Mn=["stiffness","damping","mass"];function kn(t,n){return n.some((function(n){return void 0!==t[n]}))}function Vn(t){var n=t.from,e=void 0===n?0:n,r=t.to,i=void 0===r?1:r,o=t.restSpeed,a=void 0===o?2:o,u=t.restDelta,s=Pn(t,["from","to","restSpeed","restDelta"]),l={done:!1,value:e},c=function(t){var n=An({velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1},t);if(!kn(t,Mn)&&kn(t,Sn)){var e=Cn(t);(n=An(An(An({},n),e),{velocity:0,mass:1})).isResolvedFromDuration=!0}return n}(s),f=c.stiffness,v=c.damping,d=c.mass,p=c.velocity,m=c.duration,h=c.isResolvedFromDuration,g=Rn,y=Rn;function x(){var t=p?-p/1e3:0,n=i-e,r=v/(2*Math.sqrt(f*d)),o=Math.sqrt(f/d)/1e3;if(null!=u||(u=Math.abs(i-e)<=1?.01:.4),r<1){var a=wn(o,r);g=function(e){var u=Math.exp(-r*o*e);return i-u*((t+r*o*n)/a*Math.sin(a*e)+n*Math.cos(a*e))},y=function(e){var i=Math.exp(-r*o*e);return r*o*i*(Math.sin(a*e)*(t+r*o*n)/a+n*Math.cos(a*e))-i*(Math.cos(a*e)*(t+r*o*n)-a*n*Math.sin(a*e))}}else if(1===r)g=function(e){return i-Math.exp(-o*e)*(n+(t+o*n)*e)};else{var s=o*Math.sqrt(r*r-1);g=function(e){var a=Math.exp(-r*o*e),u=Math.min(s*e,300);return i-a*((t+r*o*n)*Math.sinh(u)+s*n*Math.cosh(u))/s}}}return x(),{next:function(t){var n=g(t);if(h)l.done=t>=m;else{var e=1e3*y(t),r=Math.abs(e)<=a,o=Math.abs(i-n)<=u;l.done=r&&o}return l.value=l.done?i:n,l},flipTarget:function(){var t;p=-p,e=(t=[i,e])[0],i=t[1],x()}}}Vn.needsInterpolation=function(t,n){return"string"==typeof t||"string"==typeof n};var Rn=function(t){return 0},Ln=function(t,n,e){var r=n-t;return 0===r?1:(e-t)/r},Dn=function(t,n,e){return-e*t+e*n+t},On=function(t,n){return function(e){return Boolean(nt(e)&&tt.test(e)&&e.startsWith(t)||n&&Object.prototype.hasOwnProperty.call(e,n))}},jn=function(t,n,e){return function(r){var i;if(!nt(r))return r;var o=r.match(J),a=o[0],u=o[1],s=o[2],l=o[3];return(i={})[t]=parseFloat(a),i[n]=parseFloat(u),i[e]=parseFloat(s),i.alpha=void 0!==l?parseFloat(l):1,i}},Bn=$(0,255),Fn=G(G({},lt),{transform:function(t){return Math.round(Bn(t))}}),In={test:On("rgb","red"),parse:jn("red","green","blue"),transform:function(t){var n=t.red,e=t.green,r=t.blue,i=t.alpha,o=void 0===i?1:i;return"rgba("+Fn.transform(n)+", "+Fn.transform(e)+", "+Fn.transform(r)+", "+K(ct.transform(o))+")"}};var Un={test:On("#"),parse:function(t){var n="",e="",r="",i="";return t.length>5?(n=t.substr(1,2),e=t.substr(3,2),r=t.substr(5,2),i=t.substr(7,2)):(n=t.substr(1,1),e=t.substr(2,1),r=t.substr(3,1),i=t.substr(4,1),n+=n,e+=e,r+=r,i+=i),{red:parseInt(n,16),green:parseInt(e,16),blue:parseInt(r,16),alpha:i?parseInt(i,16)/255:1}},transform:In.transform},Hn={test:On("hsl","hue"),parse:jn("hue","saturation","lightness"),transform:function(t){var n=t.hue,e=t.saturation,r=t.lightness,i=t.alpha,o=void 0===i?1:i;return"hsla("+Math.round(n)+", "+it.transform(K(e))+", "+it.transform(K(r))+", "+K(ct.transform(o))+")"}},Nn=function(t,n,e){var r=t*t,i=n*n;return Math.sqrt(Math.max(0,e*(i-r)+r))},zn=[Un,In,Hn],Yn=function(t){return zn.find((function(n){return n.test(t)}))},Zn=function(t){return"'"+t+"' is not an animatable color. Use the equivalent color code instead."},Xn=function(t,n){var e=Yn(t),r=Yn(n);Zn(t),Zn(n),e.transform,r.transform;var i=e.parse(t),o=r.parse(n),a=An({},i),u=e===Hn?Dn:Nn;return function(t){for(var n in a)"alpha"!==n&&(a[n]=u(i[n],o[n],t));return a.alpha=Dn(i.alpha,o.alpha,t),e.transform(a)}},Wn={test:function(t){return In.test(t)||Un.test(t)||Hn.test(t)},parse:function(t){return In.test(t)?In.parse(t):Hn.test(t)?Hn.parse(t):Un.parse(t)},transform:function(t){return nt(t)?t:t.hasOwnProperty("red")?In.transform(t):Hn.transform(t)}},_n="${c}",qn="${n}";function Gn(t){var n=[],e=0,r=t.match(Q);r&&(e=r.length,t=t.replace(Q,_n),n.push.apply(n,r.map(Wn.parse)));var i=t.match(J);return i&&(t=t.replace(J,qn),n.push.apply(n,i.map(lt.parse))),{values:n,numColors:e,tokenised:t}}function $n(t){return Gn(t).values}function Kn(t){var n=Gn(t),e=n.values,r=n.numColors,i=n.tokenised,o=e.length;return function(t){for(var n=i,e=0;e<o;e++)n=n.replace(e<r?_n:qn,e<r?Wn.transform(t[e]):K(t[e]));return n}}var Jn=function(t){return"number"==typeof t?0:t};var Qn={test:function(t){var n,e,r,i;return isNaN(t)&&nt(t)&&(null!==(e=null===(n=t.match(J))||void 0===n?void 0:n.length)&&void 0!==e?e:0)+(null!==(i=null===(r=t.match(Q))||void 0===r?void 0:r.length)&&void 0!==i?i:0)>0},parse:$n,createTransformer:Kn,getAnimatableNone:function(t){var n=$n(t);return Kn(t)(n.map(Jn))}},te=function(t){return"number"==typeof t};function ne(t,n){return te(t)?function(e){return Dn(t,n,e)}:Wn.test(t)?Xn(t,n):oe(t,n)}var ee=function(t,n){var e=function(t,n,e){if(e||2===arguments.length)for(var r,i=0,o=n.length;i<o;i++)!r&&i in n||(r||(r=Array.prototype.slice.call(n,0,i)),r[i]=n[i]);return t.concat(r||Array.prototype.slice.call(n))}([],t),r=e.length,i=t.map((function(t,e){return ne(t,n[e])}));return function(t){for(var n=0;n<r;n++)e[n]=i[n](t);return e}},re=function(t,n){var e=An(An({},t),n),r={};for(var i in e)void 0!==t[i]&&void 0!==n[i]&&(r[i]=ne(t[i],n[i]));return function(t){for(var n in r)e[n]=r[n](t);return e}};function ie(t){for(var n=Qn.parse(t),e=n.length,r=0,i=0,o=0,a=0;a<e;a++)r||"number"==typeof n[a]?r++:void 0!==n[a].hue?o++:i++;return{parsed:n,numNumbers:r,numRGB:i,numHSL:o}}var oe=function(t,n){var e=Qn.createTransformer(n),r=ie(t),i=ie(n);return r.numHSL===i.numHSL&&r.numRGB===i.numRGB&&(r.numNumbers,i.numNumbers),gn(ee(r.parsed,i.parsed),e)},ae=function(t,n){return function(e){return Dn(t,n,e)}};function ue(t,n,e){for(var r,i=[],o=e||("number"==typeof(r=t[0])?ae:"string"==typeof r?Wn.test(r)?Xn:oe:Array.isArray(r)?ee:"object"==typeof r?re:void 0),a=t.length-1,u=0;u<a;u++){var s=o(t[u],t[u+1]);if(n){var l=Array.isArray(n)?n[u]:n;s=gn(l,s)}i.push(s)}return i}function se(t,n,e){var r=void 0===e?{}:e,i=r.clamp,o=void 0===i||i,a=r.ease,u=r.mixer,s=t.length;n.length,!a||!Array.isArray(a)||a.length,t[0]>t[s-1]&&(t=[].concat(t),n=[].concat(n),t.reverse(),n.reverse());var l=ue(n,a,u),c=2===s?function(t,n){var e=t[0],r=t[1],i=n[0];return function(t){return i(Ln(e,r,t))}}(t,l):function(t,n){var e=t.length,r=e-1;return function(i){var o=0,a=!1;if(i<=t[0]?a=!0:i>=t[r]&&(o=r-1,a=!0),!a){for(var u=1;u<e&&!(t[u]>i||u===r);u++);o=u-1}var s=Ln(t[o],t[o+1],i);return n[o](s)}}(t,l);return o?function(n){return c(En(t[0],t[s-1],n))}:c}var le,ce=function(t){return function(n){return 1-t(1-n)}},fe=function(t){return function(n){return n<=.5?t(2*n)/2:(2-t(2*(1-n)))/2}},ve=function(t){return function(n){return n*n*((t+1)*n-t)}},de=function(t){return t},pe=(le=2,function(t){return Math.pow(t,le)}),me=ce(pe),he=fe(pe),ge=function(t){return 1-Math.sin(Math.acos(t))},ye=ce(ge),xe=fe(ye),be=ve(1.525),Ae=ce(be),Pe=fe(be),Ee=function(t){var n=ve(t);return function(t){return(t*=2)<1?.5*n(t):.5*(2-Math.pow(2,-10*(t-1)))}}(1.525),Te=function(t){if(1===t||0===t)return t;var n=t*t;return t<.36363636363636365?7.5625*n:t<.7272727272727273?9.075*n-9.9*t+3.4:t<.9?12.066481994459833*n-19.63545706371191*t+8.898060941828255:10.8*t*t-20.52*t+10.72},Ce=ce(Te);function we(t,n){return t.map((function(){return n||he})).splice(0,t.length-1)}function Se(t){var n=t.from,e=void 0===n?0:n,r=t.to,i=void 0===r?1:r,o=t.ease,a=t.offset,u=t.duration,s=void 0===u?300:u,l={done:!1,value:e},c=Array.isArray(i)?i:[e,i],f=function(t,n){return t.map((function(t){return t*n}))}(a&&a.length===c.length?a:function(t){var n=t.length;return t.map((function(t,e){return 0!==e?e/(n-1):0}))}(c),s);function v(){return se(f,c,{ease:Array.isArray(o)?o:we(c,o)})}var d=v();return{next:function(t){return l.value=d(t),l.done=t>=s,l},flipTarget:function(){c.reverse(),d=v()}}}var Me={keyframes:Se,spring:Vn,decay:function(t){var n=t.velocity,e=void 0===n?0:n,r=t.from,i=void 0===r?0:r,o=t.power,a=void 0===o?.8:o,u=t.timeConstant,s=void 0===u?350:u,l=t.restDelta,c=void 0===l?.5:l,f=t.modifyTarget,v={done:!1,value:i},d=a*e,p=i+d,m=void 0===f?p:f(p);return m!==p&&(d=m-i),{next:function(t){var n=-d*Math.exp(-t/s);return v.done=!(n>c||n<-c),v.value=v.done?m:m+n,v},flipTarget:function(){}}}};var ke=e(1793);function Ve(t,n,e){return void 0===e&&(e=0),t-n-e}var Re=function(t){var n=function(n){var e=n.delta;return t(e)};return{start:function(){return ke.ZP.update(n,!0)},stop:function(){return ke.qY.update(n)}}};function Le(t){var n,e,r,i,o,a=t.from,u=t.autoplay,s=void 0===u||u,l=t.driver,c=void 0===l?Re:l,f=t.elapsed,v=void 0===f?0:f,d=t.repeat,p=void 0===d?0:d,m=t.repeatType,h=void 0===m?"loop":m,g=t.repeatDelay,y=void 0===g?0:g,x=t.onPlay,b=t.onStop,A=t.onComplete,P=t.onRepeat,E=t.onUpdate,T=Pn(t,["from","autoplay","driver","elapsed","repeat","repeatType","repeatDelay","onPlay","onStop","onComplete","onRepeat","onUpdate"]),C=T.to,w=0,S=T.duration,M=!1,k=!0,V=function(t){if(Array.isArray(t.to))return Se;if(Me[t.type])return Me[t.type];var n=new Set(Object.keys(t));return n.has("ease")||n.has("duration")&&!n.has("dampingRatio")?Se:n.has("dampingRatio")||n.has("stiffness")||n.has("mass")||n.has("damping")||n.has("restSpeed")||n.has("restDelta")?Vn:Se}(T);(null===(e=(n=V).needsInterpolation)||void 0===e?void 0:e.call(n,a,C))&&(o=se([0,100],[a,C],{clamp:!1}),a=0,C=100);var R=V(An(An({},T),{from:a,to:C}));function L(){w++,"reverse"===h?v=function(t,n,e,r){return void 0===e&&(e=0),void 0===r&&(r=!0),r?Ve(n+-t,n,e):n-(t-n)+e}(v,S,y,k=w%2==0):(v=Ve(v,S,y),"mirror"===h&&R.flipTarget()),M=!1,P&&P()}function D(t){if(k||(t=-t),v+=t,!M){var n=R.next(Math.max(0,v));i=n.value,o&&(i=o(i)),M=k?n.done:v<=0}null==E||E(i),M&&(0===w&&(null!=S||(S=v)),w<p?function(t,n,e,r){return r?t>=n+e:t<=-e}(v,S,y,k)&&L():(r.stop(),A&&A()))}return s&&(null==x||x(),(r=c(D)).start()),{stop:function(){null==b||b(),r.stop()}}}function De(t,n){return n?t*(1e3/n):0}var Oe=function(t){return 1e3*t},je=function(t,n){return 1-3*n+3*t},Be=function(t,n){return 3*n-6*t},Fe=function(t){return 3*t},Ie=function(t,n,e){return((je(n,e)*t+Be(n,e))*t+Fe(n))*t},Ue=function(t,n,e){return 3*je(n,e)*t*t+2*Be(n,e)*t+Fe(n)};var He=.1;function Ne(t,n,e,r){if(t===n&&e===r)return de;for(var i=new Float32Array(11),o=0;o<11;++o)i[o]=Ie(o*He,t,e);function a(n){for(var r=0,o=1;10!==o&&i[o]<=n;++o)r+=He;--o;var a=r+(n-i[o])/(i[o+1]-i[o])*He,u=Ue(a,t,e);return u>=.001?function(t,n,e,r){for(var i=0;i<8;++i){var o=Ue(n,e,r);if(0===o)return n;n-=(Ie(n,e,r)-t)/o}return n}(n,a,t,e):0===u?a:function(t,n,e,r,i){var o,a,u=0;do{(o=Ie(a=n+(e-n)/2,r,i)-t)>0?e=a:n=a}while(Math.abs(o)>1e-7&&++u<10);return a}(n,r,r+He,t,e)}return function(t){return 0===t||1===t?t:Ie(a(t),n,r)}}var ze={linear:de,easeIn:pe,easeInOut:he,easeOut:me,circIn:ge,circInOut:xe,circOut:ye,backIn:be,backInOut:Pe,backOut:Ae,anticipate:Ee,bounceIn:Ce,bounceInOut:function(t){return t<.5?.5*(1-Te(1-2*t)):.5*Te(2*t-1)+.5},bounceOut:Te},Ye=function(t){if(Array.isArray(t)){t.length;var n=(0,i.CR)(t,4);return Ne(n[0],n[1],n[2],n[3])}return"string"==typeof t?ze[t]:t},Ze=function(t,n){return"zIndex"!==t&&(!("number"!=typeof n&&!Array.isArray(n))||!("string"!=typeof n||!Qn.test(n)||n.startsWith("url(")))},Xe=function(){return{type:"spring",stiffness:500,damping:25,restDelta:.5,restSpeed:10}},We=function(t){return{type:"spring",stiffness:550,damping:0===t?2*Math.sqrt(550):30,restDelta:.01,restSpeed:10}},_e=function(){return{type:"keyframes",ease:"linear",duration:.3}},qe=function(t){return{type:"keyframes",duration:.8,values:t}},Ge={x:Xe,y:Xe,z:Xe,rotate:Xe,rotateX:Xe,rotateY:Xe,rotateZ:Xe,scaleX:We,scaleY:We,scale:We,opacity:_e,backgroundColor:_e,color:_e,default:We},$e=new Set(["brightness","contrast","saturate","opacity"]);function Ke(t){var n=t.slice(0,-1).split("("),e=n[0],r=n[1];if("drop-shadow"===e)return t;var i=(r.match(J)||[])[0];if(!i)return t;var o=r.replace(i,""),a=$e.has(e)?1:0;return i!==r&&(a*=100),e+"("+a+o+")"}var Je=/([a-z-]*)\(.*?\)/g,Qe=G(G({},Qn),{getAnimatableNone:function(t){var n=t.match(Je);return n?n.map(Ke).join(" "):t}}),tr=(0,i.pi)((0,i.pi)({},dt),{color:Wn,backgroundColor:Wn,outlineColor:Wn,fill:Wn,stroke:Wn,borderColor:Wn,borderTopColor:Wn,borderRightColor:Wn,borderBottomColor:Wn,borderLeftColor:Wn,filter:Qe,WebkitFilter:Qe}),nr=function(t){return tr[t]};function er(t,n){var e,r=nr(t);return r!==Qe&&(r=Qn),null===(e=r.getAnimatableNone)||void 0===e?void 0:e.call(r,n)}function rr(t){var n=t.ease,e=t.times,r=t.yoyo,o=t.flip,a=t.loop,u=(0,i._T)(t,["ease","times","yoyo","flip","loop"]),s=(0,i.pi)({},u);return e&&(s.offset=e),u.duration&&(s.duration=Oe(u.duration)),u.repeatDelay&&(s.repeatDelay=Oe(u.repeatDelay)),n&&(s.ease=function(t){return Array.isArray(t)&&"number"!=typeof t[0]}(n)?n.map(Ye):Ye(n)),"tween"===u.type&&(s.type="keyframes"),(r||a||o)&&(!0,r?s.repeatType="reverse":a?s.repeatType="loop":o&&(s.repeatType="mirror"),s.repeat=a||r||o||u.repeat),"spring"!==u.type&&(s.type="keyframes"),s}function ir(t,n,e){var r,o,a,u;return Array.isArray(n.to)&&(null!==(r=t.duration)&&void 0!==r||(t.duration=.8)),function(t){Array.isArray(t.to)&&null===t.to[0]&&(t.to=(0,i.ev)([],(0,i.CR)(t.to)),t.to[0]=t.from)}(n),function(t){t.when,t.delay,t.delayChildren,t.staggerChildren,t.staggerDirection,t.repeat,t.repeatType,t.repeatDelay,t.from;var n=(0,i._T)(t,["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from"]);return!!Object.keys(n).length}(t)||(t=(0,i.pi)((0,i.pi)({},t),(o=e,a=n.to,u=Ut(a)?qe:Ge[o]||Ge.default,(0,i.pi)({to:a},u(a))))),(0,i.pi)((0,i.pi)({},n),rr(t))}function or(t,n,e,r,o){var a,u=sr(r,t),s=null!==(a=u.from)&&void 0!==a?a:n.get(),l=Ze(t,e);"none"===s&&l&&"string"==typeof e?s=er(t,e):ar(s)&&"string"==typeof e?s=ur(e):!Array.isArray(e)&&ar(e)&&"string"==typeof s&&(e=ur(s));var c=Ze(t,s);return c&&l&&!1!==u.type?function(){var r={from:s,to:e,velocity:n.getVelocity(),onComplete:o,onUpdate:function(t){return n.set(t)}};return"inertia"===u.type||"decay"===u.type?function(t){var n,e=t.from,r=void 0===e?0:e,i=t.velocity,o=void 0===i?0:i,a=t.min,u=t.max,s=t.power,l=void 0===s?.8:s,c=t.timeConstant,f=void 0===c?750:c,v=t.bounceStiffness,d=void 0===v?500:v,p=t.bounceDamping,m=void 0===p?10:p,h=t.restDelta,g=void 0===h?1:h,y=t.modifyTarget,x=t.driver,b=t.onUpdate,A=t.onComplete;function P(t){return void 0!==a&&t<a||void 0!==u&&t>u}function E(t){return void 0===a?u:void 0===u||Math.abs(a-t)<Math.abs(u-t)?a:u}function T(t){null==n||n.stop(),n=Le(An(An({},t),{driver:x,onUpdate:function(n){var e;null==b||b(n),null===(e=t.onUpdate)||void 0===e||e.call(t,n)},onComplete:A}))}function C(t){T(An({type:"spring",stiffness:d,damping:m,restDelta:g},t))}if(P(r))C({from:r,velocity:o,to:E(r)});else{var w=l*o+r;void 0!==y&&(w=y(w));var S,M,k=E(w),V=k===a?-1:1;T({type:"decay",from:r,velocity:o,timeConstant:f,power:l,restDelta:g,modifyTarget:y,onUpdate:P(w)?function(t){S=M,M=t,o=De(t-S,(0,ke.$B)().delta),(1===V&&t>k||-1===V&&t<k)&&C({from:t,to:k,velocity:o})}:void 0})}return{stop:function(){return null==n?void 0:n.stop()}}}((0,i.pi)((0,i.pi)({},r),u)):Le((0,i.pi)((0,i.pi)({},ir(u,r,t)),{onUpdate:function(t){var n;r.onUpdate(t),null===(n=u.onUpdate)||void 0===n||n.call(u,t)},onComplete:function(){var t;r.onComplete(),null===(t=u.onComplete)||void 0===t||t.call(u)}}))}:function(){var t;return n.set(e),o(),null===(t=null==u?void 0:u.onComplete)||void 0===t||t.call(u),{stop:function(){}}}}function ar(t){return 0===t||"string"==typeof t&&0===parseFloat(t)&&-1===t.indexOf(" ")}function ur(t){return"number"==typeof t?0:er("",t)}function sr(t,n){return t[n]||t.default||t}function lr(t,n,e,r){return void 0===r&&(r={}),n.start((function(i){var o,a,u=or(t,n,e,r,i),s=function(t,n){var e;return null!==(e=(sr(t,n)||{}).delay)&&void 0!==e?e:0}(r,t),l=function(){return a=u()};return s?o=setTimeout(l,Oe(s)):l(),function(){clearTimeout(o),null==a||a.stop()}}))}function cr(t,n){-1===t.indexOf(n)&&t.push(n)}function fr(t,n){var e=t.indexOf(n);e>-1&&t.splice(e,1)}var vr=function(){function t(){this.subscriptions=[]}return t.prototype.add=function(t){var n=this;return cr(this.subscriptions,t),function(){return fr(n.subscriptions,t)}},t.prototype.notify=function(t,n,e){var r=this.subscriptions.length;if(r)if(1===r)this.subscriptions[0](t,n,e);else for(var i=0;i<r;i++){var o=this.subscriptions[i];o&&o(t,n,e)}},t.prototype.getSize=function(){return this.subscriptions.length},t.prototype.clear=function(){this.subscriptions.length=0},t}(),dr=function(){function t(t){var n,e=this;this.timeDelta=0,this.lastUpdated=0,this.updateSubscribers=new vr,this.velocityUpdateSubscribers=new vr,this.renderSubscribers=new vr,this.canTrackVelocity=!1,this.updateAndNotify=function(t,n){void 0===n&&(n=!0),e.prev=e.current,e.current=t;var r=(0,ke.$B)(),i=r.delta,o=r.timestamp;e.lastUpdated!==o&&(e.timeDelta=i,e.lastUpdated=o,ke.ZP.postRender(e.scheduleVelocityCheck)),e.prev!==e.current&&e.updateSubscribers.notify(e.current),e.velocityUpdateSubscribers.getSize()&&e.velocityUpdateSubscribers.notify(e.getVelocity()),n&&e.renderSubscribers.notify(e.current)},this.scheduleVelocityCheck=function(){return ke.ZP.postRender(e.velocityCheck)},this.velocityCheck=function(t){t.timestamp!==e.lastUpdated&&(e.prev=e.current,e.velocityUpdateSubscribers.notify(e.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=t,this.canTrackVelocity=(n=this.current,!isNaN(parseFloat(n)))}return t.prototype.onChange=function(t){return this.updateSubscribers.add(t)},t.prototype.clearListeners=function(){this.updateSubscribers.clear()},t.prototype.onRenderRequest=function(t){return t(this.get()),this.renderSubscribers.add(t)},t.prototype.attach=function(t){this.passiveEffect=t},t.prototype.set=function(t,n){void 0===n&&(n=!0),n&&this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t,n)},t.prototype.get=function(){return this.current},t.prototype.getPrevious=function(){return this.prev},t.prototype.getVelocity=function(){return this.canTrackVelocity?De(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0},t.prototype.start=function(t){var n=this;return this.stop(),new Promise((function(e){n.hasAnimated=!0,n.stopAnimation=t(e)})).then((function(){return n.clearAnimation()}))},t.prototype.stop=function(){this.stopAnimation&&this.stopAnimation(),this.clearAnimation()},t.prototype.isAnimating=function(){return!!this.stopAnimation},t.prototype.clearAnimation=function(){this.stopAnimation=null},t.prototype.destroy=function(){this.updateSubscribers.clear(),this.renderSubscribers.clear(),this.stop()},t}();function pr(t){return new dr(t)}var mr=function(t){return function(n){return n.test(t)}},hr=[lt,ot,it,rt,ut,at,{test:function(t){return"auto"===t},parse:function(t){return t}}],gr=function(t){return hr.find(mr(t))},yr=(0,i.ev)((0,i.ev)([],(0,i.CR)(hr)),[Wn,Qn]),xr=function(t){return yr.find(mr(t))};function br(t,n,e){t.hasValue(n)?t.getValue(n).set(e):t.addValue(n,pr(e))}function Ar(t,n){var e=S(t,n),r=e?t.makeTargetAnimatable(e,!1):{},o=r.transitionEnd,a=void 0===o?{}:o;r.transition;var u,s=(0,i._T)(r,["transitionEnd","transition"]);for(var l in s=(0,i.pi)((0,i.pi)({},s),a)){br(t,l,(u=s[l],Ut(u)?u[u.length-1]||0:u))}}function Pr(t,n){if(n)return(n[t]||n.default||n).from}function Er(t,n,e){var r;void 0===e&&(e={});var o=S(t,n,e.custom),a=(o||{}).transition,u=void 0===a?t.getDefaultTransition()||{}:a;e.transitionOverride&&(u=e.transitionOverride);var s=o?function(){return Tr(t,o,e)}:function(){return Promise.resolve()},l=(null===(r=t.variantChildren)||void 0===r?void 0:r.size)?function(r){void 0===r&&(r=0);var o=u.delayChildren,a=void 0===o?0:o,s=u.staggerChildren,l=u.staggerDirection;return function(t,n,e,r,o,a){void 0===e&&(e=0);void 0===r&&(r=0);void 0===o&&(o=1);var u=[],s=(t.variantChildren.size-1)*r,l=1===o?function(t){return void 0===t&&(t=0),t*r}:function(t){return void 0===t&&(t=0),s-t*r};return Array.from(t.variantChildren).sort(Cr).forEach((function(t,r){u.push(Er(t,n,(0,i.pi)((0,i.pi)({},a),{delay:e+l(r)})).then((function(){return t.notifyAnimationComplete(n)})))})),Promise.all(u)}(t,n,a+r,s,l,e)}:function(){return Promise.resolve()},c=u.when;if(c){var f=(0,i.CR)("beforeChildren"===c?[s,l]:[l,s],2),v=f[0],d=f[1];return v().then(d)}return Promise.all([s(),l(e.delay)])}function Tr(t,n,e){var r,o=void 0===e?{}:e,a=o.delay,u=void 0===a?0:a,s=o.transitionOverride,l=o.type,c=t.makeTargetAnimatable(n),f=c.transition,v=void 0===f?t.getDefaultTransition():f,d=c.transitionEnd,p=(0,i._T)(c,["transition","transitionEnd"]);s&&(v=s);var m=[],h=l&&(null===(r=t.animationState)||void 0===r?void 0:r.getState()[l]);for(var g in p){var y=t.getValue(g),x=p[g];if(!(!y||void 0===x||h&&wr(h,g))){var b=lr(g,y,x,(0,i.pi)({delay:u},v));m.push(b)}}return Promise.all(m).then((function(){d&&Ar(t,d)}))}function Cr(t,n){return t.sortNodePosition(n)}function wr(t,n){var e=t.protectedKeys,r=t.needsAnimating,i=e.hasOwnProperty(n)&&!0!==r[n];return r[n]=!1,i}var Sr=[Xt.Animate,Xt.Hover,Xt.Tap,Xt.Drag,Xt.Focus,Xt.Exit],Mr=(0,i.ev)([],(0,i.CR)(Sr)).reverse(),kr=Sr.length;function Vr(t){return function(n){return Promise.all(n.map((function(n){var e=n.animation,r=n.options;return function(t,n,e){var r;if(void 0===e&&(e={}),t.notifyAnimationStart(),Array.isArray(n)){var i=n.map((function(n){return Er(t,n,e)}));r=Promise.all(i)}else if("string"==typeof n)r=Er(t,n,e);else{var o="function"==typeof n?S(t,n,e.custom):n;r=Tr(t,o,e)}return r.then((function(){return t.notifyAnimationComplete(n)}))}(t,e,r)})))}}function Rr(t){var n,e=Vr(t),r=((n={})[Xt.Animate]=Lr(!0),n[Xt.Hover]=Lr(),n[Xt.Tap]=Lr(),n[Xt.Drag]=Lr(),n[Xt.Focus]=Lr(),n[Xt.Exit]=Lr(),n),o={},a=!0,u=function(n,e){var r=S(t,e);if(r){r.transition;var o=r.transitionEnd,a=(0,i._T)(r,["transition","transitionEnd"]);n=(0,i.pi)((0,i.pi)((0,i.pi)({},n),a),o)}return n};function s(n,s){for(var l,c=t.getProps(),f=t.getVariantContext(!0)||{},v=[],d=new Set,p={},m=1/0,h=function(e){var o=Mr[e],h=r[o],g=null!==(l=c[o])&&void 0!==l?l:f[o],y=C(g),x=o===s?h.isActive:null;!1===x&&(m=e);var b=g===f[o]&&g!==c[o]&&y;if(b&&a&&t.manuallyAnimateOnMount&&(b=!1),h.protectedKeys=(0,i.pi)({},p),!h.isActive&&null===x||!g&&!h.prevProp||It(g)||"boolean"==typeof g)return"continue";var A=function(t,n){if("string"==typeof n)return n!==t;if(T(n))return!bn(n,t);return!1}(h.prevProp,g)||o===s&&h.isActive&&!b&&y||e>m&&y,P=Array.isArray(g)?g:[g],E=P.reduce(u,{});!1===x&&(E={});var w=h.prevResolvedValues,S=void 0===w?{}:w,M=(0,i.pi)((0,i.pi)({},S),E),k=function(t){A=!0,d.delete(t),h.needsAnimating[t]=!0};for(var V in M){var R=E[V],L=S[V];p.hasOwnProperty(V)||(R!==L?Ut(R)&&Ut(L)?bn(R,L)?h.protectedKeys[V]=!0:k(V):void 0!==R?k(V):d.add(V):void 0!==R&&d.has(V)?k(V):h.protectedKeys[V]=!0)}h.prevProp=g,h.prevResolvedValues=E,h.isActive&&(p=(0,i.pi)((0,i.pi)({},p),E)),a&&t.blockInitialAnimation&&(A=!1),A&&!b&&v.push.apply(v,(0,i.ev)([],(0,i.CR)(P.map((function(t){return{animation:t,options:(0,i.pi)({type:o},n)}})))))},g=0;g<kr;g++)h(g);if(o=(0,i.pi)({},p),d.size){var y={};d.forEach((function(n){var e=t.getBaseTarget(n);void 0!==e&&(y[n]=e)})),v.push({animation:y})}var x=Boolean(v.length);return a&&!1===c.initial&&!t.manuallyAnimateOnMount&&(x=!1),a=!1,x?e(v):Promise.resolve()}return{isAnimated:function(t){return void 0!==o[t]},animateChanges:s,setActive:function(n,e,i){var o;return r[n].isActive===e?Promise.resolve():(null===(o=t.variantChildren)||void 0===o||o.forEach((function(t){var r;return null===(r=t.animationState)||void 0===r?void 0:r.setActive(n,e)})),r[n].isActive=e,s(i,n))},setAnimateFunction:function(n){e=n(t)},getState:function(){return r}}}function Lr(t){return void 0===t&&(t=!1),{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}var Dr={animation:yn((function(t){var n=t.visualElement,e=t.animate;n.animationState||(n.animationState=Rr(n)),It(e)&&(0,r.useEffect)((function(){return e.subscribe(n)}),[e])})),exit:yn((function(t){var n=t.custom,e=t.visualElement,o=(0,i.CR)(p(),2),a=o[0],u=o[1],s=(0,r.useContext)(v.O);(0,r.useEffect)((function(){var t,r,i=null===(t=e.animationState)||void 0===t?void 0:t.setActive(Xt.Exit,!a,{custom:null!==(r=null==s?void 0:s.custom)&&void 0!==r?r:n});!a&&(null==i||i.then(u))}),[a])}))},Or=function(t){return t.hasOwnProperty("x")&&t.hasOwnProperty("y")},jr=function(t){return Or(t)&&t.hasOwnProperty("z")},Br=function(t,n){return Math.abs(t-n)};function Fr(t,n){if(te(t)&&te(n))return Br(t,n);if(Or(t)&&Or(n)){var e=Br(t.x,n.x),r=Br(t.y,n.y),i=jr(t)&&jr(n)?Br(t.z,n.z):0;return Math.sqrt(Math.pow(e,2)+Math.pow(r,2)+Math.pow(i,2))}}var Ir=function(){function t(t,n,e){var r=this,o=(void 0===e?{}:e).transformPagePoint;if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.updatePoint=function(){if(r.lastMoveEvent&&r.lastMoveEventInfo){var t=Nr(r.lastMoveEventInfo,r.history),n=null!==r.startEvent,e=Fr(t.offset,{x:0,y:0})>=3;if(n||e){var o=t.point,a=(0,ke.$B)().timestamp;r.history.push((0,i.pi)((0,i.pi)({},o),{timestamp:a}));var u=r.handlers,s=u.onStart,l=u.onMove;n||(s&&s(r.lastMoveEvent,t),r.startEvent=r.lastMoveEvent),l&&l(r.lastMoveEvent,t)}}},this.handlePointerMove=function(t,n){r.lastMoveEvent=t,r.lastMoveEventInfo=Ur(n,r.transformPagePoint),Gt(t)&&0===t.buttons?r.handlePointerUp(t,n):ke.ZP.update(r.updatePoint,!0)},this.handlePointerUp=function(t,n){r.end();var e=r.handlers,i=e.onEnd,o=e.onSessionEnd,a=Nr(Ur(n,r.transformPagePoint),r.history);r.startEvent&&i&&i(t,a),o&&o(t,a)},!($t(t)&&t.touches.length>1)){this.handlers=n,this.transformPagePoint=o;var a=Ur(tn(t),this.transformPagePoint),u=a.point,s=(0,ke.$B)().timestamp;this.history=[(0,i.pi)((0,i.pi)({},u),{timestamp:s})];var l=n.onSessionStart;l&&l(t,Nr(a,this.history)),this.removeListeners=gn(an(window,"pointermove",this.handlePointerMove),an(window,"pointerup",this.handlePointerUp),an(window,"pointercancel",this.handlePointerUp))}}return t.prototype.updateHandlers=function(t){this.handlers=t},t.prototype.end=function(){this.removeListeners&&this.removeListeners(),ke.qY.update(this.updatePoint)},t}();function Ur(t,n){return n?{point:n(t.point)}:t}function Hr(t,n){return{x:t.x-n.x,y:t.y-n.y}}function Nr(t,n){var e=t.point;return{point:e,delta:Hr(e,Yr(n)),offset:Hr(e,zr(n)),velocity:Zr(n,.1)}}function zr(t){return t[0]}function Yr(t){return t[t.length-1]}function Zr(t,n){if(t.length<2)return{x:0,y:0};for(var e=t.length-1,r=null,i=Yr(t);e>=0&&(r=t[e],!(i.timestamp-r.timestamp>Oe(n)));)e--;if(!r)return{x:0,y:0};var o=(i.timestamp-r.timestamp)/1e3;if(0===o)return{x:0,y:0};var a={x:(i.x-r.x)/o,y:(i.y-r.y)/o};return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}var Xr=e(6066);function Wr(t){return[t("x"),t("y")]}function _r(t,n,e){var r=n.min,i=n.max;return void 0!==r&&t<r?t=e?Dn(r,t,e.min):Math.max(t,r):void 0!==i&&t>i&&(t=e?Dn(i,t,e.max):Math.min(t,i)),t}function qr(t,n,e){return{min:void 0!==n?t.min+n:void 0,max:void 0!==e?t.max+e-(t.max-t.min):void 0}}function Gr(t,n){var e,r=n.min-t.min,o=n.max-t.max;return n.max-n.min<t.max-t.min&&(r=(e=(0,i.CR)([o,r],2))[0],o=e[1]),{min:t.min+r,max:t.min+o}}function $r(t,n,e){return{min:Kr(t,n),max:Kr(t,e)}}function Kr(t,n){var e;return"number"==typeof t?t:null!==(e=t[n])&&void 0!==e?e:0}function Jr(t,n){var e=t.getBoundingClientRect();return(0,Xr.RX)((0,Xr.dV)(e,n))}function Qr(t,n,e){return void 0===n&&(n=0),void 0===e&&(e=.01),Fr(t,n)<e}function ti(t){return t.max-t.min}function ni(t,n){var e=.5,r=ti(t),i=ti(n);return i>r?e=Ln(n.min,n.max-r,t.min):r>i&&(e=Ln(t.min,t.max-i,n.min)),En(0,1,e)}function ei(t,n,e,r){void 0===r&&(r=.5),t.origin=r,t.originPoint=Dn(n.min,n.max,t.origin),t.scale=ti(e)/ti(n),Qr(t.scale,1,1e-4)&&(t.scale=1),t.translate=Dn(e.min,e.max,t.origin)-t.originPoint,Qr(t.translate)&&(t.translate=0)}function ri(t,n,e,r){ei(t.x,n.x,e.x,ii(r.originX)),ei(t.y,n.y,e.y,ii(r.originY))}function ii(t){return"number"==typeof t?t:.5}function oi(t,n,e){t.min=e.min+n.min,t.max=t.min+ti(n)}var ai=e(5302);function ui(t,n){return{min:n.min-t.min,max:n.max-t.min}}function si(t,n){return{x:ui(t.x,n.x),y:ui(t.y,n.y)}}function li(t,n){var e=t.getLayoutId(),r=n.getLayoutId();return e!==r||void 0===r&&t!==n}function ci(t){var n=t.getProps(),e=n.drag,r=n._dragX;return e&&!r}function fi(t,n){t.min=n.min,t.max=n.max}function vi(t,n,e){return e+n*(t-e)}function di(t,n,e,r,i){return void 0!==i&&(t=vi(t,i,r)),vi(t,e,r)+n}function pi(t,n,e,r,i){void 0===n&&(n=0),void 0===e&&(e=1),t.min=di(t.min,n,e,r,i),t.max=di(t.max,n,e,r,i)}function mi(t,n){var e=n.x,r=n.y;pi(t.x,e.translate,e.scale,e.originPoint),pi(t.y,r.translate,r.scale,r.originPoint)}function hi(t,n,e,r){var o=(0,i.CR)(r,3),a=o[0],u=o[1],s=o[2];t.min=n.min,t.max=n.max;var l=void 0!==e[s]?e[s]:.5,c=Dn(n.min,n.max,l);pi(t,e[a],e[u],c,e.scale)}var gi=["x","scaleX","originX"],yi=["y","scaleY","originY"];function xi(t,n,e){hi(t.x,n.x,e,gi),hi(t.y,n.y,e,yi)}function bi(t,n,e,r,i){return t=vi(t-=n,1/e,r),void 0!==i&&(t=vi(t,1/i,r)),t}function Ai(t,n,e){var r=(0,i.CR)(e,3),o=r[0],a=r[1],u=r[2];!function(t,n,e,r,i){void 0===n&&(n=0),void 0===e&&(e=1),void 0===r&&(r=.5);var o=Dn(t.min,t.max,r)-n;t.min=bi(t.min,n,e,o,i),t.max=bi(t.max,n,e,o,i)}(t,n[o],n[a],n[u],n.scale)}function Pi(t,n){Ai(t.x,n,gi),Ai(t.y,n,yi)}var Ei,Ti=e(6090),Ci=new WeakMap,wi=function(){function t(t){var n=t.visualElement;this.isDragging=!1,this.currentDirection=null,this.constraints=!1,this.elastic=(0,Xr.VZ)(),this.props={},this.hasMutatedConstraints=!1,this.cursorProgress={x:.5,y:.5},this.originPoint={},this.openGlobalLock=null,this.panSession=null,this.visualElement=n,this.visualElement.enableLayoutProjection(),Ci.set(n,this)}return t.prototype.start=function(t,n){var e=this,r=void 0===n?{}:n,o=r.snapToCursor,a=void 0!==o&&o,u=r.cursorProgress,s=this.props.transformPagePoint;this.panSession=new Ir(t,{onSessionStart:function(t){var n;e.stopMotion();var r=function(t){return tn(t,"client")}(t).point;null===(n=e.cancelLayout)||void 0===n||n.call(e),e.cancelLayout=(0,Ti.U)((function(t,n){var o=(0,ai.kv)(e.visualElement),s=(0,ai.e3)(e.visualElement),l=(0,i.ev)((0,i.ev)([],(0,i.CR)(o)),(0,i.CR)(s)),c=!1;e.isLayoutDrag()&&e.visualElement.lockProjectionTarget(),n((function(){l.forEach((function(t){return t.resetTransform()}))})),t((function(){(0,ai.de)(e.visualElement),s.forEach(ai.de)})),n((function(){l.forEach((function(t){return t.restoreTransform()})),a&&(c=e.snapToCursor(r))})),t((function(){Boolean(e.getAxisMotionValue("x")&&!e.isExternalDrag())||e.visualElement.rebaseProjectionTarget(!0,e.visualElement.measureViewportBox(!1)),e.visualElement.scheduleUpdateLayoutProjection();var t=e.visualElement.projection;Wr((function(n){if(!c){var i=t.target[n],o=i.min,a=i.max;e.cursorProgress[n]=u?u[n]:Ln(o,a,r[n])}var s=e.getAxisMotionValue(n);s&&(e.originPoint[n]=s.get())}))})),n((function(){ke.iW.update(),ke.iW.preRender(),ke.iW.render(),ke.iW.postRender()})),t((function(){return e.resolveDragConstraints()}))}))},onStart:function(t,n){var r,i,o,a=e.props,u=a.drag,s=a.dragPropagation;(!u||s||(e.openGlobalLock&&e.openGlobalLock(),e.openGlobalLock=fn(u),e.openGlobalLock))&&((0,Ti.R)(),e.isDragging=!0,e.currentDirection=null,null===(i=(r=e.props).onDragStart)||void 0===i||i.call(r,t,n),null===(o=e.visualElement.animationState)||void 0===o||o.setActive(Xt.Drag,!0))},onMove:function(t,n){var r,i,o,a,u=e.props,s=u.dragPropagation,l=u.dragDirectionLock;if(s||e.openGlobalLock){var c=n.offset;if(l&&null===e.currentDirection)return e.currentDirection=function(t,n){void 0===n&&(n=10);var e=null;Math.abs(t.y)>n?e="y":Math.abs(t.x)>n&&(e="x");return e}(c),void(null!==e.currentDirection&&(null===(i=(r=e.props).onDirectionLock)||void 0===i||i.call(r,e.currentDirection)));e.updateAxis("x",n.point,c),e.updateAxis("y",n.point,c),null===(a=(o=e.props).onDrag)||void 0===a||a.call(o,t,n),Ei=t}},onSessionEnd:function(t,n){return e.stop(t,n)}},{transformPagePoint:s})},t.prototype.resolveDragConstraints=function(){var t=this,n=this.props,e=n.dragConstraints,r=n.dragElastic,i=this.visualElement.getLayoutState().layoutCorrected;this.constraints=!!e&&(E(e)?this.resolveRefConstraints(i,e):function(t,n){var e=n.top,r=n.left,i=n.bottom,o=n.right;return{x:qr(t.x,r,o),y:qr(t.y,e,i)}}(i,e)),this.elastic=function(t){return!1===t?t=0:!0===t&&(t=.35),{x:$r(t,"left","right"),y:$r(t,"top","bottom")}}(r),this.constraints&&!this.hasMutatedConstraints&&Wr((function(n){t.getAxisMotionValue(n)&&(t.constraints[n]=function(t,n){var e={};return void 0!==n.min&&(e.min=n.min-t.min),void 0!==n.max&&(e.max=n.max-t.min),e}(i[n],t.constraints[n]))}))},t.prototype.resolveRefConstraints=function(t,n){var e=this.props,r=e.onMeasureDragConstraints,i=e.transformPagePoint,o=n.current;this.constraintsBox=Jr(o,i);var a=function(t,n){return{x:Gr(t.x,n.x),y:Gr(t.y,n.y)}}(t,this.constraintsBox);if(r){var u=r((0,Xr._6)(a));this.hasMutatedConstraints=!!u,u&&(a=(0,Xr.RX)(u))}return a},t.prototype.cancelDrag=function(){var t,n;this.visualElement.unlockProjectionTarget(),null===(t=this.cancelLayout)||void 0===t||t.call(this),this.isDragging=!1,this.panSession&&this.panSession.end(),this.panSession=null,!this.props.dragPropagation&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),null===(n=this.visualElement.animationState)||void 0===n||n.setActive(Xt.Drag,!1)},t.prototype.stop=function(t,n){var e,r,i;null===(e=this.panSession)||void 0===e||e.end(),this.panSession=null;var o=this.isDragging;if(this.cancelDrag(),o){var a=n.velocity;this.animateDragEnd(a),null===(i=(r=this.props).onDragEnd)||void 0===i||i.call(r,t,n)}},t.prototype.snapToCursor=function(t){var n=this;return Wr((function(e){if(Si(e,n.props.drag,n.currentDirection)){var r=n.getAxisMotionValue(e);if(!r)return n.cursorProgress[e]=.5,!0;var i=n.visualElement.getLayoutState().layout,o=i[e].max-i[e].min,a=i[e].min+o/2,u=t[e]-a;n.originPoint[e]=t[e],r.set(u)}})).includes(!0)},t.prototype.updateAxis=function(t,n,e){if(Si(t,this.props.drag,this.currentDirection))return this.getAxisMotionValue(t)?this.updateAxisMotionValue(t,e):this.updateVisualElementAxis(t,n)},t.prototype.updateAxisMotionValue=function(t,n){var e=this.getAxisMotionValue(t);if(n&&e){var r=this.originPoint[t]+n[t],i=this.constraints?_r(r,this.constraints[t],this.elastic[t]):r;e.set(i)}},t.prototype.updateVisualElementAxis=function(t,n){var e,r=this.visualElement.getLayoutState().layout[t],i=r.max-r.min,o=this.cursorProgress[t],a=function(t,n,e,r,i){var o=t-n*e;return r?_r(o,r,i):o}(n[t],i,o,null===(e=this.constraints)||void 0===e?void 0:e[t],this.elastic[t]);this.visualElement.setProjectionTargetAxis(t,a,a+i)},t.prototype.setProps=function(t){var n=t.drag,e=void 0!==n&&n,r=t.dragDirectionLock,o=void 0!==r&&r,a=t.dragPropagation,u=void 0!==a&&a,s=t.dragConstraints,l=void 0!==s&&s,c=t.dragElastic,f=void 0===c?.35:c,v=t.dragMomentum,d=void 0===v||v,p=(0,i._T)(t,["drag","dragDirectionLock","dragPropagation","dragConstraints","dragElastic","dragMomentum"]);this.props=(0,i.pi)({drag:e,dragDirectionLock:o,dragPropagation:u,dragConstraints:l,dragElastic:f,dragMomentum:d},p)},t.prototype.getAxisMotionValue=function(t){var n=this.props,e=n.layout,r=n.layoutId,i="_drag"+t.toUpperCase();return this.props[i]?this.props[i]:e||void 0!==r?void 0:this.visualElement.getValue(t,0)},t.prototype.isLayoutDrag=function(){return!this.getAxisMotionValue("x")},t.prototype.isExternalDrag=function(){var t=this.props,n=t._dragX,e=t._dragY;return n||e},t.prototype.animateDragEnd=function(t){var n=this,e=this.props,r=e.drag,o=e.dragMomentum,a=e.dragElastic,u=e.dragTransition,s=function(t,n){void 0===n&&(n=!0);var e,r=t.getProjectionParent();return!!r&&(n?Pi(e=si(r.projection.target,t.projection.target),r.getLatestValues()):e=si(r.getLayoutState().layout,t.getLayoutState().layout),Wr((function(n){return t.setProjectionTargetAxis(n,e[n].min,e[n].max,!0)})),!0)}(this.visualElement,this.isLayoutDrag()&&!this.isExternalDrag()),l=this.constraints||{};if(s&&Object.keys(l).length&&this.isLayoutDrag()){var c=this.visualElement.getProjectionParent();if(c){var f=si(c.projection.targetFinal,l);Wr((function(t){var n=f[t],e=n.min,r=n.max;l[t]={min:isNaN(e)?void 0:e,max:isNaN(r)?void 0:r}}))}}var v=Wr((function(e){var c;if(Si(e,r,n.currentDirection)){var f=null!==(c=null==l?void 0:l[e])&&void 0!==c?c:{},v=a?200:1e6,d=a?40:1e7,p=(0,i.pi)((0,i.pi)({type:"inertia",velocity:o?t[e]:0,bounceStiffness:v,bounceDamping:d,timeConstant:750,restDelta:1,restSpeed:10},u),f);return n.getAxisMotionValue(e)?n.startAxisValueAnimation(e,p):n.visualElement.startLayoutAnimation(e,p,s)}}));return Promise.all(v).then((function(){var t,e;null===(e=(t=n.props).onDragTransitionEnd)||void 0===e||e.call(t)}))},t.prototype.stopMotion=function(){var t=this;Wr((function(n){var e=t.getAxisMotionValue(n);e?e.stop():t.visualElement.stopLayoutAnimation()}))},t.prototype.startAxisValueAnimation=function(t,n){var e=this.getAxisMotionValue(t);if(e){var r=e.get();return e.set(r),e.set(r),lr(t,e,0,n)}},t.prototype.scalePoint=function(){var t=this,n=this.props,e=n.drag;if(E(n.dragConstraints)&&this.constraintsBox){this.stopMotion();var r={x:0,y:0};Wr((function(n){r[n]=ni(t.visualElement.projection.target[n],t.constraintsBox[n])})),this.updateConstraints((function(){Wr((function(n){if(Si(n,e,null)){var i=function(t,n,e){var r=t.max-t.min,i=Dn(n.min,n.max-r,e);return{min:i,max:i+r}}(t.visualElement.projection.target[n],t.constraintsBox[n],r[n]),o=i.min,a=i.max;t.visualElement.setProjectionTargetAxis(n,o,a)}}))})),setTimeout(Ti.R,1)}},t.prototype.updateConstraints=function(t){var n=this;this.cancelLayout=(0,Ti.U)((function(e,r){var i=(0,ai.kv)(n.visualElement);r((function(){return i.forEach((function(t){return t.resetTransform()}))})),e((function(){return(0,ai.de)(n.visualElement)})),r((function(){return i.forEach((function(t){return t.restoreTransform()}))})),e((function(){n.resolveDragConstraints()})),t&&r(t)}))},t.prototype.mount=function(t){var n=this,e=an(t.getInstance(),"pointerdown",(function(t){var e=n.props,r=e.drag,i=e.dragListener;r&&(void 0===i||i)&&n.start(t)})),r=_t(window,"resize",(function(){n.scalePoint()})),i=t.onLayoutUpdate((function(){n.isDragging&&n.resolveDragConstraints()})),o=t.prevDragCursor;return o&&this.start(Ei,{cursorProgress:o}),function(){null==e||e(),null==r||r(),null==i||i(),n.cancelDrag()}},t}();function Si(t,n,e){return!(!0!==n&&n!==t||null!==e&&e!==t)}var Mi={pan:yn((function(t){var n=t.onPan,e=t.onPanStart,i=t.onPanEnd,o=t.onPanSessionStart,a=t.visualElement,u=n||e||i||o,s=(0,r.useRef)(null),l=(0,r.useContext)(c).transformPagePoint,f={onSessionStart:o,onStart:e,onMove:n,onEnd:function(t,n){s.current=null,i&&i(t,n)}};(0,r.useEffect)((function(){null!==s.current&&s.current.updateHandlers(f)})),un(a,"pointerdown",u&&function(t){s.current=new Ir(t,f,{transformPagePoint:l})}),(0,mn.z)((function(){return s.current&&s.current.end()}))})),drag:yn((function(t){var n=t.dragControls,e=t.visualElement,o=(0,r.useContext)(c).transformPagePoint,a=(0,d.h)((function(){return new wi({visualElement:e})}));a.setProps((0,i.pi)((0,i.pi)({},t),{transformPagePoint:o})),(0,r.useEffect)((function(){return n&&n.subscribe(a)}),[a]),(0,r.useEffect)((function(){return a.mount(e)}),[])}))},ki=e(8894);function Vi(t){return"string"==typeof t&&t.startsWith("var(--")}var Ri=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function Li(t,n,e){void 0===e&&(e=1);var r=(0,i.CR)(function(t){var n=Ri.exec(t);if(!n)return[,];var e=(0,i.CR)(n,3);return[e[1],e[2]]}(t),2),o=r[0],a=r[1];if(o){var u=window.getComputedStyle(n).getPropertyValue(o);return u?u.trim():Vi(a)?Li(a,n,e+1):a}}function Di(t,n){return t/(n.max-n.min)*100}var Oi="_$css";var ji={process:function(t,n,e){var r=e.target;if("string"==typeof t){if(!ot.test(t))return t;t=parseFloat(t)}return Di(t,r.x)+"% "+Di(t,r.y)+"%"}},Bi={borderRadius:(0,i.pi)((0,i.pi)({},ji),{applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]}),borderTopLeftRadius:ji,borderTopRightRadius:ji,borderBottomLeftRadius:ji,borderBottomRightRadius:ji,boxShadow:{process:function(t,n){var e=n.delta,r=n.treeScale,i=t,o=t.includes("var("),a=[];o&&(t=t.replace(Ri,(function(t){return a.push(t),Oi})));var u=Qn.parse(t);if(u.length>5)return i;var s=Qn.createTransformer(t),l="number"!=typeof u[0]?1:0,c=e.x.scale*r.x,f=e.y.scale*r.y;u[0+l]/=c,u[1+l]/=f;var v=Dn(c,f,.5);"number"==typeof u[2+l]&&(u[2+l]/=v),"number"==typeof u[3+l]&&(u[3+l]/=v);var d=s(u);if(o){var p=0;d=d.replace(Oi,(function(){var t=a[p];return p++,t}))}return d}}},Fi=function(t){function n(){var n=null!==t&&t.apply(this,arguments)||this;return n.frameTarget=(0,Xr.VZ)(),n.currentAnimationTarget=(0,Xr.VZ)(),n.isAnimating={x:!1,y:!1},n.stopAxisAnimation={x:void 0,y:void 0},n.isAnimatingTree=!1,n.animate=function(t,e,r){void 0===r&&(r={});var o=r.originBox,a=r.targetBox,u=r.visibilityAction,s=r.shouldStackAnimate,l=r.onComplete,c=r.prevParent,f=(0,i._T)(r,["originBox","targetBox","visibilityAction","shouldStackAnimate","onComplete","prevParent"]),v=n.props,d=v.visualElement,p=v.layout;if(!1===s)return n.isAnimatingTree=!1,n.safeToRemove();if(!n.isAnimatingTree||!0===s){s&&(n.isAnimatingTree=!0),e=o||e,t=a||t;var m=!1,h=d.getProjectionParent();if(h){var g=h.prevViewportBox,y=h.getLayoutState().layout;c&&(a&&(y=c.getLayoutState().layout),o&&!li(c,h)&&c.prevViewportBox&&(g=c.prevViewportBox)),g&&Yi(c,o,a)&&(m=!0,e=si(g,e),t=si(y,t))}var x=Ii(e,t),b=Wr((function(r){var o,a;if("position"===p){var s=t[r].max-t[r].min;e[r].max=e[r].min+s}if(!d.projection.isTargetLocked)return void 0===u?x?n.animateAxis(r,t[r],e[r],(0,i.pi)((0,i.pi)({},f),{isRelative:m})):(null===(a=(o=n.stopAxisAnimation)[r])||void 0===a||a.call(o),d.setProjectionTargetAxis(r,t[r].min,t[r].max,m)):void d.setVisibility(u===ki.c.Show)}));return d.syncRender(),Promise.all(b).then((function(){n.isAnimatingTree=!1,l&&l(),d.notifyLayoutAnimationComplete()}))}},n}return(0,i.ZT)(n,t),n.prototype.componentDidMount=function(){var t=this,n=this.props.visualElement;n.animateMotionValue=lr,n.enableLayoutProjection(),this.unsubLayoutReady=n.onLayoutUpdate(this.animate),n.layoutSafeToRemove=function(){return t.safeToRemove()},function(t){for(var n in t)B[n]=t[n]}(Bi)},n.prototype.componentWillUnmount=function(){var t=this;this.unsubLayoutReady(),Wr((function(n){var e,r;return null===(r=(e=t.stopAxisAnimation)[n])||void 0===r?void 0:r.call(e)}))},n.prototype.animateAxis=function(t,n,e,r){var i,o,a=this,u=void 0===r?{}:r,s=u.transition,l=u.isRelative;if(!this.isAnimating[t]||!Ni(n,this.currentAnimationTarget[t])){null===(o=(i=this.stopAxisAnimation)[t])||void 0===o||o.call(i),this.isAnimating[t]=!0;var c=this.props.visualElement,f=this.frameTarget[t],v=c.getProjectionAnimationProgress()[t];v.clearListeners(),v.set(0),v.set(0);var d=function(){var r=v.get()/1e3;!function(t,n,e,r){t.min=Dn(n.min,e.min,r),t.max=Dn(n.max,e.max,r)}(f,e,n,r),c.setProjectionTargetAxis(t,f.min,f.max,l)};d();var p=v.onChange(d);this.stopAxisAnimation[t]=function(){a.isAnimating[t]=!1,v.stop(),p()},this.currentAnimationTarget[t]=n;var m=s||c.getDefaultTransition()||zi;return lr("x"===t?"layoutX":"layoutY",v,1e3,m&&sr(m,"layout")).then(this.stopAxisAnimation[t])}},n.prototype.safeToRemove=function(){var t,n;null===(n=(t=this.props).safeToRemove)||void 0===n||n.call(t)},n.prototype.render=function(){return null},n}(r.Component);function Ii(t,n){return!(Hi(t)||Hi(n)||Ni(t.x,n.x)&&Ni(t.y,n.y))}var Ui={min:0,max:0};function Hi(t){return Ni(t.x,Ui)&&Ni(t.y,Ui)}function Ni(t,n){return t.min===n.min&&t.max===n.max}var zi={duration:.45,ease:[.4,0,.1,1]};function Yi(t,n,e){return t||!t&&!(n||e)}var Zi=e(9180),Xi=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return(0,i.ZT)(n,t),n.prototype.componentDidMount=function(){var t=this.props,n=t.syncLayout,e=t.framerSyncLayout,r=t.visualElement;(0,Zi.Md)(n)&&n.register(r),(0,Zi.Md)(e)&&e.register(r),r.onUnmount((function(){(0,Zi.Md)(n)&&n.remove(r),(0,Zi.Md)(e)&&e.remove(r)}))},n.prototype.getSnapshotBeforeUpdate=function(){var t=this.props,n=t.syncLayout,e=t.visualElement;return(0,Zi.Md)(n)?n.syncUpdate():((0,ai.x7)(e),n.add(e)),null},n.prototype.componentDidUpdate=function(){var t=this.props.syncLayout;(0,Zi.Md)(t)||t.flush()},n.prototype.render=function(){return null},n}(r.Component);var Wi={measureLayout:function(t){var n=(0,r.useContext)(Zi.WH),e=(0,r.useContext)(Zi.bg);return r.createElement(Xi,(0,i.pi)({},t,{syncLayout:n,framerSyncLayout:e}))},layoutAnimation:function(t){var n=(0,i.CR)(p(),2)[1];return r.createElement(Fi,(0,i.pi)({},t,{safeToRemove:n}))}};function _i(){return{isHydrated:!1,layout:(0,Xr.VZ)(),layoutCorrected:(0,Xr.VZ)(),treeScale:{x:1,y:1},delta:(0,Xr.pY)(),deltaFinal:(0,Xr.pY)(),deltaTransform:""}}var qi=_i();function Gi(t,n,e){var r=t.x,i=t.y,o="translate3d("+r.translate/n.x+"px, "+i.translate/n.y+"px, 0) ";if(e){var a=e.rotate,u=e.rotateX,s=e.rotateY;a&&(o+="rotate("+a+") "),u&&(o+="rotateX("+u+") "),s&&(o+="rotateY("+s+") ")}return o+="scale("+r.scale+", "+i.scale+")",e||o!==Ki?o:""}function $i(t){var n=t.deltaFinal;return 100*n.x.origin+"% "+100*n.y.origin+"% 0"}var Ki=Gi(qi.delta,qi.treeScale,{x:1,y:1}),Ji=["LayoutMeasure","BeforeLayoutMeasure","LayoutUpdate","ViewportBoxUpdate","Update","Render","AnimationComplete","LayoutAnimationComplete","AnimationStart","SetAxisTarget","Unmount"];function Qi(t,n,e,r){var i,o,a=t.delta,u=t.layout,s=t.layoutCorrected,l=t.treeScale,c=n.target;o=u,fi((i=s).x,o.x),fi(i.y,o.y),function(t,n,e){var r=e.length;if(r){var i,o;n.x=n.y=1;for(var a=0;a<r;a++)o=(i=e[a]).getLayoutState().delta,n.x*=o.x.scale,n.y*=o.y.scale,mi(t,o),ci(i)&&xi(t,t,i.getLatestValues())}}(s,l,e),ri(a,s,c,r)}var to=e(4466),no=function(){function t(){this.children=[],this.isDirty=!1}return t.prototype.add=function(t){cr(this.children,t),this.isDirty=!0},t.prototype.remove=function(t){fr(this.children,t),this.isDirty=!0},t.prototype.forEach=function(t){this.isDirty&&this.children.sort(to._),this.isDirty=!1,this.children.forEach(t)},t}();var eo=function(t){var n=t.treeType,e=void 0===n?"":n,r=t.build,o=t.getBaseTarget,a=t.makeTargetAnimatable,u=t.measureViewportBox,s=t.render,l=t.readValueFromInstance,c=t.resetTransform,f=t.restoreTransform,v=t.removeValueFromRenderState,d=t.sortNodePosition,p=t.scrapeMotionValuesFromProps;return function(t,n){var m=t.parent,h=t.props,g=t.presenceId,y=t.blockInitialAnimation,x=t.visualState;void 0===n&&(n={});var b,A,P,E,T,w,S=x.latestValues,V=x.renderState,R=function(){var t=Ji.map((function(){return new vr})),n={},e={clearAllListeners:function(){return t.forEach((function(t){return t.clear()}))},updatePropListeners:function(t){return Ji.forEach((function(r){var i;null===(i=n[r])||void 0===i||i.call(n);var o="on"+r,a=t[o];a&&(n[r]=e[o](a))}))}};return t.forEach((function(t,n){e["on"+Ji[n]]=function(n){return t.add(n)},e["notify"+Ji[n]]=function(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];return t.notify.apply(t,(0,i.ev)([],(0,i.CR)(n)))}})),e}(),L={isEnabled:!1,isHydrated:!1,isTargetLocked:!1,target:(0,Xr.VZ)(),targetFinal:(0,Xr.VZ)()},D=L,O=S,j=_i(),B=!1,F=new Map,I=new Map,U={},H=(0,i.pi)({},S);function N(){b&&(K.isProjectionReady()&&(xi(D.targetFinal,D.target,O),ri(j.deltaFinal,j.layoutCorrected,D.targetFinal,S)),z(),s(b,V))}function z(){var t=S;if(E&&E.isActive()){var e=E.getCrossfadeState(K);e&&(t=e)}r(K,V,t,D,j,n,h)}function Y(){R.notifyUpdate(S)}function Z(){K.layoutTree.forEach(io)}var W=p(h);for(var _ in W){var q=W[_];void 0!==S[_]&&X(q)&&q.set(S[_],!1)}var G=M(h),$=k(h),K=(0,i.pi)((0,i.pi)({treeType:e,current:null,depth:m?m.depth+1:0,parent:m,children:new Set,path:m?(0,i.ev)((0,i.ev)([],(0,i.CR)(m.path)),[m]):[],layoutTree:m?m.layoutTree:new no,presenceId:g,projection:L,variantChildren:$?new Set:void 0,isVisible:void 0,manuallyAnimateOnMount:Boolean(null==m?void 0:m.isMounted()),blockInitialAnimation:y,isMounted:function(){return Boolean(b)},mount:function(t){b=K.current=t,K.pointTo(K),$&&m&&!G&&(w=null==m?void 0:m.addVariantChild(K)),null==m||m.children.add(K)},unmount:function(){ke.qY.update(Y),ke.qY.render(N),ke.qY.preRender(K.updateLayoutProjection),I.forEach((function(t){return t()})),K.stopLayoutAnimation(),K.layoutTree.remove(K),null==w||w(),null==m||m.children.delete(K),null==P||P(),R.clearAllListeners()},addVariantChild:function(t){var n,e=K.getClosestVariantNode();if(e)return null===(n=e.variantChildren)||void 0===n||n.add(t),function(){return e.variantChildren.delete(t)}},sortNodePosition:function(t){return d&&e===t.treeType?d(K.getInstance(),t.getInstance()):0},getClosestVariantNode:function(){return $?K:null==m?void 0:m.getClosestVariantNode()},scheduleUpdateLayoutProjection:m?m.scheduleUpdateLayoutProjection:function(){return ke.ZP.preRender(K.updateTreeLayoutProjection,!1,!0)},getLayoutId:function(){return h.layoutId},getInstance:function(){return b},getStaticValue:function(t){return S[t]},setStaticValue:function(t,n){return S[t]=n},getLatestValues:function(){return S},setVisibility:function(t){K.isVisible!==t&&(K.isVisible=t,K.scheduleRender())},makeTargetAnimatable:function(t,n){return void 0===n&&(n=!0),a(K,t,h,n)},addValue:function(t,n){K.hasValue(t)&&K.removeValue(t),F.set(t,n),S[t]=n.get(),function(t,n){var e=n.onChange((function(n){S[t]=n,h.onUpdate&&ke.ZP.update(Y,!1,!0)})),r=n.onRenderRequest(K.scheduleRender);I.set(t,(function(){e(),r()}))}(t,n)},removeValue:function(t){var n;F.delete(t),null===(n=I.get(t))||void 0===n||n(),I.delete(t),delete S[t],v(t,V)},hasValue:function(t){return F.has(t)},getValue:function(t,n){var e=F.get(t);return void 0===e&&void 0!==n&&(e=pr(n),K.addValue(t,e)),e},forEachValue:function(t){return F.forEach(t)},readValue:function(t){var e;return null!==(e=S[t])&&void 0!==e?e:l(b,t,n)},setBaseTarget:function(t,n){H[t]=n},getBaseTarget:function(t){if(o){var n=o(h,t);if(void 0!==n&&!X(n))return n}return H[t]}},R),{build:function(){return z(),V},scheduleRender:function(){ke.ZP.render(N,!1,!0)},syncRender:N,setProps:function(t){h=t,R.updatePropListeners(t),U=function(t,n,e){var r;for(var i in n){var o=n[i],a=e[i];if(X(o))t.addValue(i,o);else if(X(a))t.addValue(i,pr(o));else if(a!==o)if(t.hasValue(i)){var u=t.getValue(i);!u.hasAnimated&&u.set(o)}else t.addValue(i,pr(null!==(r=t.getStaticValue(i))&&void 0!==r?r:o))}for(var i in e)void 0===n[i]&&t.removeValue(i);return n}(K,p(h),U)},getProps:function(){return h},getVariant:function(t){var n;return null===(n=h.variants)||void 0===n?void 0:n[t]},getDefaultTransition:function(){return h.transition},getVariantContext:function(t){if(void 0===t&&(t=!1),t)return null==m?void 0:m.getVariantContext();if(!G){var n=(null==m?void 0:m.getVariantContext())||{};return void 0!==h.initial&&(n.initial=h.initial),n}for(var e={},r=0;r<uo;r++){var i=ao[r],o=h[i];(C(o)||!1===o)&&(e[i]=o)}return e},enableLayoutProjection:function(){L.isEnabled=!0,K.layoutTree.add(K)},lockProjectionTarget:function(){L.isTargetLocked=!0},unlockProjectionTarget:function(){K.stopLayoutAnimation(),L.isTargetLocked=!1},getLayoutState:function(){return j},setCrossfader:function(t){E=t},isProjectionReady:function(){return L.isEnabled&&L.isHydrated&&j.isHydrated},startLayoutAnimation:function(t,n,e){void 0===e&&(e=!1);var r=K.getProjectionAnimationProgress()[t],i=e?L.relativeTarget[t]:L.target[t],o=i.min,a=i.max-o;return r.clearListeners(),r.set(o),r.set(o),r.onChange((function(n){K.setProjectionTargetAxis(t,n,n+a,e)})),K.animateMotionValue(t,r,0,n)},stopLayoutAnimation:function(){Wr((function(t){return K.getProjectionAnimationProgress()[t].stop()}))},measureViewportBox:function(t){void 0===t&&(t=!0);var e=u(b,n);return t||Pi(e,S),e},getProjectionAnimationProgress:function(){return T||(T={x:pr(0),y:pr(0)}),T},setProjectionTargetAxis:function(t,n,e,r){var i;void 0===r&&(r=!1),r?(L.relativeTarget||(L.relativeTarget=(0,Xr.VZ)()),i=L.relativeTarget[t]):(L.relativeTarget=void 0,i=L.target[t]),L.isHydrated=!0,i.min=n,i.max=e,B=!0,R.notifySetAxisTarget()},rebaseProjectionTarget:function(t,n){void 0===n&&(n=j.layout);var e=K.getProjectionAnimationProgress(),r=e.x,i=e.y,o=!(L.relativeTarget||L.isTargetLocked||r.isAnimating()||i.isAnimating());(t||o)&&Wr((function(t){var e=n[t],r=e.min,i=e.max;K.setProjectionTargetAxis(t,r,i)}))},notifyLayoutReady:function(t){!function(t){var n=t.getProjectionParent();if(n){var e=si(n.getLayoutState().layout,t.getLayoutState().layout);Wr((function(n){t.setProjectionTargetAxis(n,e[n].min,e[n].max,!0)}))}else t.rebaseProjectionTarget()}(K),K.notifyLayoutUpdate(j.layout,K.prevViewportBox||j.layout,t)},resetTransform:function(){return c(K,b,h)},restoreTransform:function(){return f(b,V)},updateLayoutProjection:function(){if(K.isProjectionReady()){var t=j.delta,n=j.treeScale,e=n.x,r=n.y,i=j.deltaTransform;Qi(j,D,K.path,S),B&&K.notifyViewportBoxUpdate(D.target,t),B=!1;var o=Gi(t,n);o===i&&e===n.x&&r===n.y||K.scheduleRender(),j.deltaTransform=o}},updateTreeLayoutProjection:function(){K.layoutTree.forEach(ro),ke.ZP.preRender(Z,!1,!0)},getProjectionParent:function(){if(void 0===A){for(var t=!1,n=K.path.length-1;n>=0;n--){var e=K.path[n];if(e.projection.isEnabled){t=e;break}}A=t}return A},resolveRelativeTargetBox:function(){var t=K.getProjectionParent();if(L.relativeTarget&&t&&(function(t,n){oi(t.target.x,t.relativeTarget.x,n.target.x),oi(t.target.y,t.relativeTarget.y,n.target.y)}(L,t.projection),ci(t))){var n=L.target;xi(n,n,t.getLatestValues())}},shouldResetTransform:function(){return Boolean(h._layoutResetTransform)},pointTo:function(t){D=t.projection,O=t.getLatestValues(),null==P||P(),P=gn(t.onSetAxisTarget(K.scheduleUpdateLayoutProjection),t.onLayoutAnimationComplete((function(){var t;K.isPresent?K.presence=ki.z.Present:null===(t=K.layoutSafeToRemove)||void 0===t||t.call(K)})))},isPresent:!0,presence:ki.z.Entering});return K}};function ro(t){t.resolveRelativeTargetBox()}function io(t){t.updateLayoutProjection()}var oo,ao=(0,i.ev)(["initial"],(0,i.CR)(Sr)),uo=ao.length,so=new Set(["width","height","top","left","right","bottom","x","y"]),lo=function(t){return so.has(t)},co=function(t,n){t.set(n,!1),t.set(n)},fo=function(t){return t===lt||t===ot};!function(t){t.width="width",t.height="height",t.left="left",t.right="right",t.top="top",t.bottom="bottom"}(oo||(oo={}));var vo=function(t,n){return parseFloat(t.split(", ")[n])},po=function(t,n){return function(e,r){var i=r.transform;if("none"===i||!i)return 0;var o=i.match(/^matrix3d\((.+)\)$/);if(o)return vo(o[1],n);var a=i.match(/^matrix\((.+)\)$/);return a?vo(a[1],t):0}},mo=new Set(["x","y","z"]),ho=I.filter((function(t){return!mo.has(t)}));var go={width:function(t){var n=t.x;return n.max-n.min},height:function(t){var n=t.y;return n.max-n.min},top:function(t,n){var e=n.top;return parseFloat(e)},left:function(t,n){var e=n.left;return parseFloat(e)},bottom:function(t,n){var e=t.y,r=n.top;return parseFloat(r)+(e.max-e.min)},right:function(t,n){var e=t.x,r=n.left;return parseFloat(r)+(e.max-e.min)},x:po(4,13),y:po(5,14)},yo=function(t,n,e,r){void 0===e&&(e={}),void 0===r&&(r={}),n=(0,i.pi)({},n),r=(0,i.pi)({},r);var o=Object.keys(n).filter(lo),a=[],u=!1,s=[];if(o.forEach((function(i){var o=t.getValue(i);if(t.hasValue(i)){var l,c=e[i],f=n[i],v=gr(c);if(Ut(f))for(var d=f.length,p=null===f[0]?1:0;p<d;p++)l?gr(f[p]):(l=gr(f[p]))===v||fo(v)&&fo(l);else l=gr(f);if(v!==l)if(fo(v)&&fo(l)){var m=o.get();"string"==typeof m&&o.set(parseFloat(m)),"string"==typeof f?n[i]=parseFloat(f):Array.isArray(f)&&l===ot&&(n[i]=f.map(parseFloat))}else(null==v?void 0:v.transform)&&(null==l?void 0:l.transform)&&(0===c||0===f)?0===c?o.set(l.transform(c)):n[i]=v.transform(f):(u||(a=function(t){var n=[];return ho.forEach((function(e){var r=t.getValue(e);void 0!==r&&(n.push([e,r.get()]),r.set(e.startsWith("scale")?1:0))})),n.length&&t.syncRender(),n}(t),u=!0),s.push(i),r[i]=void 0!==r[i]?r[i]:n[i],co(o,f))}})),s.length){var l=function(t,n,e){var r=n.measureViewportBox(),i=n.getInstance(),o=getComputedStyle(i),a=o.display,u={top:o.top,left:o.left,bottom:o.bottom,right:o.right,transform:o.transform};"none"===a&&n.setStaticValue("display",t.display||"block"),n.syncRender();var s=n.measureViewportBox();return e.forEach((function(e){var i=n.getValue(e);co(i,go[e](r,u)),t[e]=go[e](s,o)})),t}(n,t,s);return a.length&&a.forEach((function(n){var e=(0,i.CR)(n,2),r=e[0],o=e[1];t.getValue(r).set(o)})),t.syncRender(),{target:l,transitionEnd:r}}return{target:n,transitionEnd:r}};function xo(t,n,e,r){return function(t){return Object.keys(t).some(lo)}(n)?yo(t,n,e,r):{target:n,transitionEnd:r}}var bo=function(t,n,e,r){var o=function(t,n,e){var r,o=(0,i._T)(n,[]),a=t.getInstance();if(!(a instanceof HTMLElement))return{target:o,transitionEnd:e};for(var u in e&&(e=(0,i.pi)({},e)),t.forEachValue((function(t){var n=t.get();if(Vi(n)){var e=Li(n,a);e&&t.set(e)}})),o){var s=o[u];if(Vi(s)){var l=Li(s,a);l&&(o[u]=l,e&&(null!==(r=e[u])&&void 0!==r||(e[u]=s)))}}return{target:o,transitionEnd:e}}(t,n,r);return xo(t,n=o.target,e,r=o.transitionEnd)};var Ao={treeType:"dom",readValueFromInstance:function(t,n){if(N(n)){var e=nr(n);return e&&e.default||0}var r,i=(r=t,window.getComputedStyle(r));return(_(n)?i.getPropertyValue(n):i[n])||0},sortNodePosition:function(t,n){return 2&t.compareDocumentPosition(n)?1:-1},getBaseTarget:function(t,n){var e;return null===(e=t.style)||void 0===e?void 0:e[n]},measureViewportBox:function(t,n){return Jr(t,n.transformPagePoint)},resetTransform:function(t,n,e){var r=e.transformTemplate;n.style.transform=r?r({},""):"none",t.scheduleRender()},restoreTransform:function(t,n){t.style.transform=n.style.transform},removeValueFromRenderState:function(t,n){var e=n.vars,r=n.style;delete e[t],delete r[t]},makeTargetAnimatable:function(t,n,e,r){var o=e.transformValues;void 0===r&&(r=!0);var a=n.transition,u=n.transitionEnd,s=(0,i._T)(n,["transition","transitionEnd"]),l=function(t,n,e){var r,i,o={};for(var a in t)o[a]=null!==(r=Pr(a,n))&&void 0!==r?r:null===(i=e.getValue(a))||void 0===i?void 0:i.get();return o}(s,a||{},t);if(o&&(u&&(u=o(u)),s&&(s=o(s)),l&&(l=o(l))),r){!function(t,n,e){var r,i,o,a,u=Object.keys(n).filter((function(n){return!t.hasValue(n)})),s=u.length;if(s)for(var l=0;l<s;l++){var c=u[l],f=n[c],v=null;Array.isArray(f)&&(v=f[0]),null===v&&(v=null!==(i=null!==(r=e[c])&&void 0!==r?r:t.readValue(c))&&void 0!==i?i:n[c]),null!=v&&("string"==typeof v&&/^\-?\d*\.?\d+$/.test(v)?v=parseFloat(v):!xr(v)&&Qn.test(f)&&(v=er(c,f)),t.addValue(c,pr(v)),null!==(o=(a=e)[c])&&void 0!==o||(a[c]=v),t.setBaseTarget(c,v))}}(t,s,l);var c=bo(t,s,l,u);u=c.transitionEnd,s=c.target}return(0,i.pi)({transition:a,transitionEnd:u},s)},scrapeMotionValuesFromProps:Bt,build:function(t,n,e,r,i,o,a){void 0!==t.isVisible&&(n.style.visibility=t.isVisible?"visible":"hidden");var u=r.isEnabled&&i.isHydrated;pt(n,e,r,i,o,a.transformTemplate,u?Gi:void 0,u?$i:void 0)},render:Dt},Po=eo(Ao),Eo=eo((0,i.pi)((0,i.pi)({},Ao),{getBaseTarget:function(t,n){return t[n]},readValueFromInstance:function(t,n){var e;return N(n)?(null===(e=nr(n))||void 0===e?void 0:e.default)||0:(n=Ot.has(n)?n:Lt(n),t.getAttribute(n))},scrapeMotionValuesFromProps:Ft,build:function(t,n,e,r,i,o,a){var u=r.isEnabled&&i.isHydrated;St(n,e,r,i,o,a.transformTemplate,u?Gi:void 0,u?$i:void 0)},render:jt})),To=function(t,n){return j(t)?Eo(n,{enableHardwareAcceleration:!1}):Po(n,{enableHardwareAcceleration:!0})},Co=(0,i.pi)((0,i.pi)((0,i.pi)((0,i.pi)({},Dr),xn),Mi),Wi),wo=D((function(t,n){return function(t,n,e,r){var o=n.forwardMotionProps,a=void 0!==o&&o,u=j(t)?Zt:Wt;return(0,i.pi)((0,i.pi)({},u),{preloadedFeatures:e,useRender:Vt(a),createVisualElement:r,Component:t})}(t,n,Co,To)}));var So=e(7326),Mo=e(1721),ko="navigation-module--active-drawer--2tIJP",Vo="navigation-module--list--FGeMO",Ro="navigation-module--list-container--3S1oC",Lo="navigation-module--list-link--3c-xS",Do="navigation-module--animation--1nloa",Oo=e(6502),jo=function(t){function n(n){var e;return(e=t.call(this,n)||this).toggleActive=e.toggleActive.bind((0,So.Z)(e)),e.state={isActive:!1,isMobile:document.documentElement.clientWidth<768},e}(0,Mo.Z)(n,t);var e=n.prototype;return e.toggleActive=function(){var t=!this.state.isActive;this.setState({isActive:t})},e.render=function(){var t=document.documentElement.clientWidth<768;this.state.isMobile!=t&&this.setState({isMobile:t});var n=["hamburgers-module--hamburger--17DS6","hamburgers-module--hamburger--arrow-r--112Dv","navigation-module--burger--dIU3B",Do],e=["navigation-module--drawer--38X2p",Do];!1===this.state.isMobile?e.push(ko):!0===this.state.isActive&&(n.push("hamburgers-module--is-active--3tHT-"),n.push("navigation-module--active-burger--1hfuU"),e.push(ko));var i=r.createElement("div",{className:"navigation-module--burger-container--1i6z7"},r.createElement("button",{className:n.join(" "),type:"button",onClick:this.toggleActive},r.createElement("span",{className:"hamburgers-module--hamburger-box--ql1oy",style:{color:"#696969"}},r.createElement("span",{className:"hamburgers-module--hamburger-inner--2z-pi",style:{color:"#696969"}}))));return r.createElement(r.Fragment,null,!0===this.state.isMobile?i:null,r.createElement("nav",{className:e.join(" "),id:"drawer"},r.createElement("ul",{className:[Vo,Oo.I8].join(" ")},r.createElement("li",{className:Ro},r.createElement("a",{href:"#hero",className:Lo},"Home")),r.createElement("li",{className:Ro},r.createElement("a",{href:"#about-me",className:Lo},"About")),r.createElement("li",{className:Ro},r.createElement("a",{href:"#experience",className:Lo},"Experience")),r.createElement("li",{className:Ro},r.createElement("a",{href:"#skills",className:Lo},"Skills")),r.createElement("li",{className:Ro},r.createElement("a",{href:"#contact-me",className:Lo},"Contact")))))},n}(r.Component),Bo=function(t){var n=t.children,e=t.path;return r.createElement(r.Fragment,null,r.createElement(jo,null),r.createElement(wo.main,{key:e,initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{type:"spring",mass:.35,stiffness:75,duration:1}},r.createElement("main",null,n)))}},6502:function(t,n,e){e.d(n,{I8:function(){return r},tR:function(){return i},z5:function(){return o},dF:function(){return a},NQ:function(){return u},_R:function(){return s},wE:function(){return l}});var r="global-module--font-family--3M2eM",i="global-module--section-header--1WPrk",o="global-module--page-section--wM6L3",a="global-module--page-section-3d--CWGe7",u="global-module--page-section-contact--2dxoM",s="global-module--fake-button--2nhr8",l="global-module--hero-text--2ypPu"},7326:function(t,n,e){function r(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}e.d(n,{Z:function(){return r}})}}]);
//# sourceMappingURL=5f1adee5006828fcc91e7a331cc1c93295d3c7a8-8af24ea4d40bd158b87c.js.map