PageSourceSearch

https://first-portfolio-vagnermengali.vercel.app/_next/static/chunks/pages/_app-800f5b0bc140c5b9.js

js first-portfolio-vagnermengali.vercel.app collected 2026-10-03 06:56:46 UTC 144,074 bytes, 9 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[888],{8679:function(t,e,r){"use strict";var n=r(9864),i={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},s={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},o={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},a={};function l(t){return n.isMemo(t)?o:a[t.$$typeof]||i}a[n.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},a[n.Memo]=o;var u=Object.defineProperty,c=Object.getOwnPropertyNames,h=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,f=Object.prototype;t.exports=function t(e,r,n){if("string"!=typeof r){if(f){var i=p(r);i&&i!==f&&t(e,i,n)}var o=c(r);h&&(o=o.concat(h(r)));for(var a=l(e),m=l(r),g=0;g<o.length;++g){var v=o[g];if(!s[v]&&!(n&&n[v])&&!(m&&m[v])&&!(a&&a[v])){var y=d(r,v);try{u(e,v,y)}catch(t){}}}}return e}},3454:function(t,e,r){"use strict";var n,i;t.exports=(null==(n=r.g.process)?void 0:n.env)&&"object"==typeof(null==(i=r.g.process)?void 0:i.env)?r.g.process:r(7663)},6840:function(t,e,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/_app",function(){return r(4221)}])},3858:function(t,e,r){"use strict";r.d(e,{k:function(){return o}});var n=r(5893),i=r(7294),s=r(1163);let o=(0,i.createContext)({});e.Z=t=>{let{children:e}=t,[r,a]=(0,i.useState)(!1),[l,u]=(0,i.useState)(!1),[c,h]=(0,i.useState)(!1),[d,p]=(0,i.useState)(!1),[f,m]=(0,i.useState)(!1),[g,v]=(0,i.useState)(!1),[y,b]=(0,i.useState)(!1),x=(0,s.useRouter)();return(0,i.useEffect)(()=>{let t=()=>{p(window.innerWidth<600),m(window.innerWidth<750&&window.innerWidth>600),v(window.innerWidth<950&&window.innerWidth>600)};return window.addEventListener("resize",t),t(),()=>window.removeEventListener("resize",t)},[]),(0,n.jsxs)(o.Provider,{value:{isSideBarVisible:r,setIsSideBarVisible:a,showSideBar:()=>a(!r),animationImage:l,setAnimationImage:u,animationImageSlide:c,setAnimationImageSlide:h,router:x,isMobile:d,setCardHover:b,cardHover:y,isTabletSmall:f,isTablet:g},children:[" ",e," "]})}},4221:function(t,e,r){"use strict";r.r(e),r.d(e,{default:function(){return F}});var n=r(2729),i=r(5893),s=r(6474),o=r.n(s),a=r(1297),l=r.n(a),u=r(7294),c=r(8868);function h(){let t=(0,u.useRef)(!1);return(0,c.L)(()=>(t.current=!0,()=>{t.current=!1}),[]),t}var d=r(2074),p=r(240),f=r(6681);class m extends u.Component{getSnapshotBeforeUpdate(t){let e=this.props.childRef.current;if(e&&t.isPresent&&!this.props.isPresent){let t=this.props.sizeRef.current;t.height=e.offsetHeight||0,t.width=e.offsetWidth||0,t.top=e.offsetTop,t.left=e.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function g({children:t,isPresent:e}){let r=(0,u.useId)(),n=(0,u.useRef)(null),i=(0,u.useRef)({width:0,height:0,top:0,left:0});return(0,u.useInsertionEffect)(()=>{let{width:t,height:s,top:o,left:a}=i.current;if(e||!n.current||!t||!s)return;n.current.dataset.motionPopId=r;let l=document.createElement("style");return document.head.appendChild(l),l.sheet&&l.sheet.insertRule(`
2          [data-motion-pop-id="${r}"] {
3            position: absolute !important;
4            width: ${t}px !important;
5            height: ${s}px !important;
6            top: ${o}px !important;
7            left: ${a}px !important;
8          }
9        `),()=>{document.head.removeChild(l)}},[e]),u.createElement(m,{isPresent:e,childRef:n,sizeRef:i},u.cloneElement(t,{ref:n}))}let v=({children:t,initial:e,isPresent:r,onExitComplete:n,custom:i,presenceAffectsLayout:s,mode:o})=>{let a=(0,f.h)(y),l=(0,u.useId)(),c=(0,u.useMemo)(()=>({id:l,initial:e,isPresent:r,custom:i,onExitComplete:t=>{for(let e of(a.set(t,!0),a.values()))if(!e)return;n&&n()},register:t=>(a.set(t,!1),()=>a.delete(t))}),s?void 0:[r]);return(0,u.useMemo)(()=>{a.forEach((t,e)=>a.set(e,!1))},[r]),u.useEffect(()=>{r||a.size||!n||n()},[r]),"popLayout"===o&&(t=u.createElement(g,{isPresent:r},t)),u.createElement(p.O.Provider,{value:c},t)};function y(){return new Map}var b=r(5364),x=r(5487);let w=t=>t.key||"",S=({children:t,custom:e,initial:r=!0,onExitComplete:n,exitBeforeEnter:i,presenceAffectsLayout:s=!0,mode:o="sync"})=>{var a;(0,x.k)(!i,"Replace exitBeforeEnter with mode='wait'");let l=(0,u.useContext)(b.p).forceRender||function(){let t=h(),[e,r]=(0,u.useState)(0),n=(0,u.useCallback)(()=>{t.current&&r(e+1)},[e]);return[(0,u.useCallback)(()=>d.Wi.postRender(n),[n]),e]}()[0],p=h(),f=function(t){let e=[];
9return u.Children.forEach(t,t=>{(0,u.isValidElement)(t)&&e.push(t)}),e}(t),m=f,g=(0,u.useRef)(new Map).current,y=(0,u.useRef)(m),S=(0,u.useRef)(new Map).current,P=(0,u.useRef)(!0);if((0,c.L)(()=>{P.current=!1,function(t,e){t.forEach(t=>{let r=w(t);e.set(r,t)})}(f,S),y.current=m}),a=()=>{P.current=!0,S.clear(),g.clear()},(0,u.useEffect)(()=>()=>a(),[]),P.current)return u.createElement(u.Fragment,null,m.map(t=>u.createElement(v,{key:w(t),isPresent:!0,initial:!!r&&void 0,presenceAffectsLayout:s,mode:o},t)));m=[...m];let A=y.current.map(w),k=f.map(w),C=A.length;for(let t=0;t<C;t++){let e=A[t];-1!==k.indexOf(e)||g.has(e)||g.set(e,void 0)}return"wait"===o&&g.size&&(m=[]),g.forEach((t,r)=>{if(-1!==k.indexOf(r))return;let i=S.get(r);if(!i)return;let a=A.indexOf(r),c=t;c||(c=u.createElement(v,{key:w(i),isPresent:!1,onExitComplete:()=>{g.delete(r);let t=Array.from(S.keys()).filter(t=>!k.includes(t));if(t.forEach(t=>S.delete(t)),y.current=f.filter(e=>{let n=w(e);return n===r||t.includes(n)}),!g.size){if(!1===p.current)return;l(),n&&n()}},custom:e,presenceAffectsLayout:s,mode:o},i),g.set(r,c)),m.splice(a,0,c)}),m=m.map(t=>{let e=t.key;return g.has(e)?t:u.createElement(v,{key:w(t),isPresent:!0,presenceAffectsLayout:s,mode:o},t)}),u.createElement(u.Fragment,null,g.size?m:m.map(t=>(0,u.cloneElement)(t)))};var P=r(4141),A=r(3858),k=r(3495);let C={initial:{height:"100%"},animate:{height:"0%"},exit:{height:["0%","100%"]}};function T(){let t=(0,n._)([" \n    position: fixed;\n    top: 0;\n    width: 100vw;\n    height: 100vh;\n    background-color: var(--black);\n    bottom: 100%;\n    z-index: 100;\n    transition: height 1s ease;\n"]);return T=function(){return t},t}let E=(0,P.ZP)(k.E.div)(T());var R=()=>(0,i.jsx)(i.Fragment,{children:(0,i.jsx)(k.E.div,{children:(0,i.jsx)(E,{variants:C,initial:"initial",animate:"animate",exit:"exit",transition:{delay:.1,duration:.1}})})});function V(){let t=(0,n._)(["\n    html, main, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {\n      margin: 0;\n      padding: 0;\n      border: 0;\n      font-size: 100%;\n      font: inherit;\n      font-family: ",";\n      vertical-align: baseline;\n      scroll-behavior: smooth;\n    }\n\n    article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {\n      display: block;\n    }\n\n    body {\n      line-height: 1;\n    }\n\n    ::-webkit-scrollbar {\n      width: 0px;\n    }\n\n    ::-webkit-scrollbar-track {\n      background: var(--grey-4);\n    }\n\n    ::-webkit-scrollbar-thumb {\n      background-color: var(--grey-2);\n      border-radius: 20px;\n    }\n\n    ol, ul {\n      list-style: none;\n    }\n\n    blockquote, q {\n      quotes: none;\n    }\n\n    blockquote:before, blockquote:after, q:before, q:after {\n      content: '';\n      content: none;\n    }\n\n    table {\n      border-collapse: collapse;\n      border-spacing: 0;\n    }\n  "]);return V=function(){return t},t}function M(){let t=(0,n._)(["\n  ","\n"]);return M=function(){return t},t}function D(){let t=(0,n._)(["\n    :root {\n      --brand1: #FE0A45;\n      --brand2: #000000;\n      --brand3: #101010;\n      --brand4: linear-gradient(90deg, #990024 0%, #D00031 50%, #990024 100%);\n      --brand5: #828c96;\n      --brand6: linear-gradient( #101010 0%, #000000 100%);\n      --brand7: #FF1A56;\n      --brand8: #D80B4B;\n      --brand9: #D00031;\n      --brand10: #990024;\n      --white: #FFFFFF;\n      --black: #000000;\n      --transparent: transparent;\n      --jost-bold: ",";\n      --jost-medium: ",";\n      --jost-light: ",";\n      --abril-fatface: ",";\n\n      html, body, #root {\n        width: 100%;\n        height: 100%;\n        margin:0;\n        padding:0;\n        color: var(--white);\n        background-color: var(--brand3)\n      }\n\n      *::selection {\n        background-color: var(--primary-color);\n        color: var(--white);\n        text-shadow: none;\n      }\n\n      a {\n        cursor: pointer;\n      }\n\n      * {\n        box-sizing: border-box;\n      }\n    }\n  "]);return D=function(){return t},t}function j(){let t=(0,n._)(["\n  ","\n"]);return j=function(){return t},t}let L=(0,P.vJ)(M(),()=>(0,P.iv)(V(),l().style.fontFamily)),O=(0,P.vJ)(j(),()=>(0,P.iv)(D(),l().style.fontFamily,l().style.fontFamily,l().style.fontFamily,o().style.fontFamily));function F(t){let{Component:e,pageProps:r}=t;return(0,i.jsx)(i.Fragment,{children:(0,i.jsx)(S,{mode:"wait",children:(0,i.jsxs)(A.Z,{children:[(0,i.jsx)(O,{}),(0,i.jsx)(L,{}),(0,i.jsx)(e,{...r}),(0,i.jsx)(R,{})]})})})}},6474:function(t){t.exports={style:{fontFamily:"'__Abril_Fatface_6eafd1', '__Abril_Fatface_Fallback_6eafd1'",fontWeight:400,fontStyle:"normal"},className:"__className_6eafd1"}},1297:function(t){t.exports={style:{fontFamily:"'__Jost_aff7da', '__Jost_Fallback_aff7da'",fontStyle:"normal"},className:"__className_aff7da"}},7663:function(t){!function(){var e={229:function(t){var e,r,n,i=t.exports={};function s(){throw Error("setTimeout has not been defined")}function o(){throw Error("clearTimeout has not been defined")}function a(t){if(e===setTimeout)return setTimeout(t,0);if((e===s||!e)&&setTimeout)return e=setTimeout,setTimeout(t,0);try{return e(t,0)}catch(r){try{return e.call(null,t,0)}catch(r){return e.call(this,t,0)}}}!function(){try{e="function"==typeof setTimeout?setTimeout:s}
9catch(t){e=s}try{r="function"==typeof clearTimeout?clearTimeout:o}catch(t){r=o}}();var l=[],u=!1,c=-1;function h(){u&&n&&(u=!1,n.length?l=n.concat(l):c=-1,l.length&&d())}function d(){if(!u){var t=a(h);u=!0;for(var e=l.length;e;){for(n=l,l=[];++c<e;)n&&n[c].run();c=-1,e=l.length}n=null,u=!1,function(t){if(r===clearTimeout)return clearTimeout(t);if((r===o||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(t);try{r(t)}catch(e){try{return r.call(null,t)}catch(e){return r.call(this,t)}}}(t)}}function p(t,e){this.fun=t,this.array=e}function f(){}i.nextTick=function(t){var e=Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)e[r-1]=arguments[r];l.push(new p(t,e)),1!==l.length||u||a(d)},p.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=f,i.addListener=f,i.once=f,i.off=f,i.removeListener=f,i.removeAllListeners=f,i.emit=f,i.prependListener=f,i.prependOnceListener=f,i.listeners=function(t){return[]},i.binding=function(t){throw Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(t){throw Error("process.chdir is not supported")},i.umask=function(){return 0}}},r={};function n(t){var i=r[t];if(void 0!==i)return i.exports;var s=r[t]={exports:{}},o=!0;try{e[t](s,s.exports,n),o=!1}finally{o&&delete r[t]}return s.exports}n.ab="//";var i=n(229);t.exports=i}()},1163:function(t,e,r){t.exports=r(3079)},9921:function(t,e){"use strict";var r="function"==typeof Symbol&&Symbol.for,n=r?Symbol.for("react.element"):60103,i=r?Symbol.for("react.portal"):60106,s=r?Symbol.for("react.fragment"):60107,o=r?Symbol.for("react.strict_mode"):60108,a=r?Symbol.for("react.profiler"):60114,l=r?Symbol.for("react.provider"):60109,u=r?Symbol.for("react.context"):60110,c=r?Symbol.for("react.async_mode"):60111,h=r?Symbol.for("react.concurrent_mode"):60111,d=r?Symbol.for("react.forward_ref"):60112,p=r?Symbol.for("react.suspense"):60113,f=r?Symbol.for("react.suspense_list"):60120,m=r?Symbol.for("react.memo"):60115,g=r?Symbol.for("react.lazy"):60116,v=r?Symbol.for("react.block"):60121,y=r?Symbol.for("react.fundamental"):60117,b=r?Symbol.for("react.responder"):60118,x=r?Symbol.for("react.scope"):60119;function w(t){if("object"==typeof t&&null!==t){var e=t.$$typeof;switch(e){case n:switch(t=t.type){case c:case h:case s:case a:case o:case p:return t;default:switch(t=t&&t.$$typeof){case u:case d:case g:case m:case l:return t;default:return e}}case i:return e}}}function S(t){return w(t)===h}e.AsyncMode=c,e.ConcurrentMode=h,e.ContextConsumer=u,e.ContextProvider=l,e.Element=n,e.ForwardRef=d,e.Fragment=s,e.Lazy=g,e.Memo=m,e.Portal=i,e.Profiler=a,e.StrictMode=o,e.Suspense=p,e.isAsyncMode=function(t){return S(t)||w(t)===c},e.isConcurrentMode=S,e.isContextConsumer=function(t){return w(t)===u},e.isContextProvider=function(t){return w(t)===l},e.isElement=function(t){return"object"==typeof t&&null!==t&&t.$$typeof===n},e.isForwardRef=function(t){return w(t)===d},e.isFragment=function(t){return w(t)===s},e.isLazy=function(t){return w(t)===g},e.isMemo=function(t){return w(t)===m},e.isPortal=function(t){return w(t)===i},e.isProfiler=function(t){return w(t)===a},e.isStrictMode=function(t){return w(t)===o},e.isSuspense=function(t){return w(t)===p},e.isValidElementType=function(t){return"string"==typeof t||"function"==typeof t||t===s||t===h||t===a||t===o||t===p||t===f||"object"==typeof t&&null!==t&&(t.$$typeof===g||t.$$typeof===m||t.$$typeof===l||t.$$typeof===u||t.$$typeof===d||t.$$typeof===y||t.$$typeof===b||t.$$typeof===x||t.$$typeof===v)},e.typeOf=w},9864:function(t,e,r){"use strict";t.exports=r(9921)},6774:function(t){t.exports=function(t,e,r,n){var i=r?r.call(n,t,e):void 0;if(void 0!==i)return!!i;if(t===e)return!0;if("object"!=typeof t||!t||"object"!=typeof e||!e)return!1;var s=Object.keys(t),o=Object.keys(e);if(s.length!==o.length)return!1;for(var a=Object.prototype.hasOwnProperty.bind(e),l=0;l<s.length;l++){var u=s[l];if(!a(u))return!1;var c=t[u],h=e[u];if(!1===(i=r?r.call(n,c,h,u):void 0)||void 0===i&&c!==h)return!1}return!0}},4141:function(t,e,r){"use strict";r.d(e,{vJ:function(){return tj},iv:function(){return tw},ZP:function(){return tL}});var n,i,s,o=r(9864),a=r(7294),l=r(6774),u=r.n(l),c=function(t){function e(t,e,n){var i=e.trim().split(f);e=i;var s=i.length,o=t.length;switch(o){case 0:case 1:var a=0;for(t=0===o?"":t[0]+" ";a<s;++a)e[a]=r(t,e[a],n).trim();break;default:var l=a=0;for(e=[];a<s;++a)for(var u=0;u<o;++u)e[l++]=r(t[u]+" ",i[a],n).trim()}return e}function r(t,e,r){var n=e.charCodeAt(0);switch(33>
vendor: 4,185 bytes, line 9
9n&&(n=(e=e.trim()).charCodeAt(0)),n){case 38:return e.replace(m,"$1"+t.trim());case 58:return t.trim()+e.replace(m,"$1"+t.trim());default:if(0<1*r&&0<e.indexOf("\f"))return e.replace(m,(58===t.charCodeAt(0)?"":"$1")+t.trim())}return t+e}function n(t,e,r,s){var o=t+";",a=2*e+3*r+4*s;if(944===a){t=o.indexOf(":",9)+1;var l=o.substring(t,o.length-1).trim();return l=o.substring(0,t).trim()+l+";",1===R||2===R&&i(l,1)?"-webkit-"+l+l:l}if(0===R||2===R&&!i(o,1))return o;switch(a){case 1015:return 97===o.charCodeAt(10)?"-webkit-"+o+o:o;case 951:return 116===o.charCodeAt(3)?"-webkit-"+o+o:o;case 963:return 110===o.charCodeAt(5)?"-webkit-"+o+o:o;case 1009:if(100!==o.charCodeAt(4))break;case 969:case 942:return"-webkit-"+o+o;case 978:return"-webkit-"+o+"-moz-"+o+o;case 1019:case 983:return"-webkit-"+o+"-moz-"+o+"-ms-"+o+o;case 883:if(45===o.charCodeAt(8))return"-webkit-"+o+o;if(0<o.indexOf("image-set(",11))return o.replace(k,"$1-webkit-$2")+o;break;case 932:if(45===o.charCodeAt(4))switch(o.charCodeAt(5)){case 103:return"-webkit-box-"+o.replace("-grow","")+"-webkit-"+o+"-ms-"+o.replace("grow","positive")+o;case 115:return"-webkit-"+o+"-ms-"+o.replace("shrink","negative")+o;case 98:return"-webkit-"+o+"-ms-"+o.replace("basis","preferred-size")+o}return"-webkit-"+o+"-ms-"+o+o;case 964:return"-webkit-"+o+"-ms-flex-"+o+o;case 1023:if(99!==o.charCodeAt(8))break;return"-webkit-box-pack"+(l=o.substring(o.indexOf(":",15)).replace("flex-","").replace("space-between","justify"))+"-webkit-"+o+"-ms-flex-pack"+l+o;case 1005:return d.test(o)?o.replace(h,":-webkit-")+o.replace(h,":-moz-")+o:o;case 1e3:switch(e=(l=o.substring(13).trim()).indexOf("-")+1,l.charCodeAt(0)+l.charCodeAt(e)){case 226:l=o.replace(b,"tb");break;case 232:l=o.replace(b,"tb-rl");break;case 220:l=o.replace(b,"lr");break;default:return o}return"-webkit-"+o+"-ms-"+l+o;case 1017:if(-1===o.indexOf("sticky",9))break;case 975:switch(e=(o=t).length-10,a=(l=(33===o.charCodeAt(e)?o.substring(0,e):o).substring(t.indexOf(":",7)+1).trim()).charCodeAt(0)+(0|l.charCodeAt(7))){case 203:if(111>l.charCodeAt(8))break;case 115:o=o.replace(l,"-webkit-"+l)+";"+o;break;case 207:case 102:o=o.replace(l,"-webkit-"+(102<a?"inline-":"")+"box")+";"+o.replace(l,"-webkit-"+l)+";"+o.replace(l,"-ms-"+l+"box")+";"+o}return o+";";case 938:if(45===o.charCodeAt(5))switch(o.charCodeAt(6)){case 105:return l=o.replace("-items",""),"-webkit-"+o+"-webkit-box-"+l+"-ms-flex-"+l+o;case 115:return"-webkit-"+o+"-ms-flex-item-"+o.replace(S,"")+o;default:return"-webkit-"+o+"-ms-flex-line-pack"+o.replace("align-content","").replace(S,"")+o}break;case 973:case 989:if(45!==o.charCodeAt(3)||122===o.charCodeAt(4))break;case 931:case 953:if(!0===A.test(t))return 115===(l=t.substring(t.indexOf(":")+1)).charCodeAt(0)?n(t.replace("stretch","fill-available"),e,r,s).replace(":fill-available",":stretch"):o.replace(l,"-webkit-"+l)+o.replace(l,"-moz-"+l.replace("fill-",""))+o;break;case 962:if(o="-webkit-"+o+(102===o.charCodeAt(5)?"-ms-"+o:"")+o,211===r+s&&105===o.charCodeAt(13)&&0<o.indexOf("transform",10))return o.substring(0,o.indexOf(";",27)+1).replace(p,"$1-webkit-$2")+o}return o}function i(t,e){var r=t.indexOf(1===e?":":"{"),n=t.substring(0,3!==e?r:10);return r=t.substring(r+1,t.length-1),j(2!==e?n:n.replace(P,"$1"),r,e)}function s(t,e){var r=n(e,e.charCodeAt(0),e.charCodeAt(1),e.charCodeAt(2));return r!==e+";"?r.replace(w," or ($1)").substring(4):"("+e+")"}function o(t,e,r,n,i,s,o,a,u,c){for(var h,d=0,p=e;d<D;++d)switch(h=M[d].call(l,t,p,r,n,i,s,o,a,u,c)){case void 0:case!1:case!0:case null:break;default:p=h}if(p!==e)return p}function a(t){return void 0!==(t=t.prefix)&&(j=null,t?"function"!=typeof t?R=1:(R=2,j=t):R=0),a}function l(t,r){var a=t;if(33>a.charCodeAt(0)&&(a=a.trim()),a=[a],0<D){var l=o(-1,r,a,a,T,C,0,0,0,0);void 0!==l&&"string"==typeof l&&(r=l)}var h=function t(r,a,l,h,d){for(var p,f,m,b,w,S=0,P=0,A=0,k=0,M=0,j=0,O=m=p=0,F=0,I=0,B=0,$=0,N=l.length,W=N-1,_="",U="",z="",H="";F<N;){if(f=l.charCodeAt(F),F===W&&0!==P+k+A+S&&(0!==P&&(f=47===P?10:47),k=A=S=0,N++,W++),0===P+k+A+S){if(F===W&&(0<I&&(_=_.replace(c,"")),0<_.trim().length)){switch(f){case 32:case 9:case 59:case 13:case 10:break;default:_+=l.charAt(F)}f=59}
vendor: 5,252 bytes, line 9
9switch(f){case 123:for(p=(_=_.trim()).charCodeAt(0),m=1,$=++F;F<N;){switch(f=l.charCodeAt(F)){case 123:m++;break;case 125:m--;break;case 47:switch(f=l.charCodeAt(F+1)){case 42:case 47:t:{for(O=F+1;O<W;++O)switch(l.charCodeAt(O)){case 47:if(42===f&&42===l.charCodeAt(O-1)&&F+2!==O){F=O+1;break t}break;case 10:if(47===f){F=O+1;break t}}F=O}}break;case 91:f++;case 40:f++;case 34:case 39:for(;F++<W&&l.charCodeAt(F)!==f;);}if(0===m)break;F++}if(m=l.substring($,F),0===p&&(p=(_=_.replace(u,"").trim()).charCodeAt(0)),64===p){switch(0<I&&(_=_.replace(c,"")),f=_.charCodeAt(1)){case 100:case 109:case 115:case 45:I=a;break;default:I=V}if($=(m=t(a,I,m,f,d+1)).length,0<D&&(w=o(3,m,I=e(V,_,B),a,T,C,$,f,d,h),_=I.join(""),void 0!==w&&0===($=(m=w.trim()).length)&&(f=0,m="")),0<$)switch(f){case 115:_=_.replace(x,s);case 100:case 109:case 45:m=_+"{"+m+"}";break;case 107:m=(_=_.replace(g,"$1 $2"))+"{"+m+"}",m=1===R||2===R&&i("@"+m,3)?"@-webkit-"+m+"@"+m:"@"+m;break;default:m=_+m,112===h&&(U+=m,m="")}else m=""}else m=t(a,e(a,_,B),m,h,d+1);z+=m,m=B=I=O=p=0,_="",f=l.charCodeAt(++F);break;case 125:case 59:if(1<($=(_=(0<I?_.replace(c,""):_).trim()).length))switch(0===O&&(45===(p=_.charCodeAt(0))||96<p&&123>p)&&($=(_=_.replace(" ",":")).length),0<D&&void 0!==(w=o(1,_,a,r,T,C,U.length,h,d,h))&&0===($=(_=w.trim()).length)&&(_="\0\0"),p=_.charCodeAt(0),f=_.charCodeAt(1),p){case 0:break;case 64:if(105===f||99===f){H+=_+l.charAt(F);break}default:58!==_.charCodeAt($-1)&&(U+=n(_,p,f,_.charCodeAt(2)))}B=I=O=p=0,_="",f=l.charCodeAt(++F)}}switch(f){case 13:case 10:47===P?P=0:0===1+p&&107!==h&&0<_.length&&(I=1,_+="\0"),0<D*L&&o(0,_,a,r,T,C,U.length,h,d,h),C=1,T++;break;case 59:case 125:if(0===P+k+A+S){C++;break}default:switch(C++,b=l.charAt(F),f){case 9:case 32:if(0===k+S+P)switch(M){case 44:case 58:case 9:case 32:b="";break;default:32!==f&&(b=" ")}break;case 0:b="\\0";break;case 12:b="\\f";break;case 11:b="\\v";break;case 38:0===k+P+S&&(I=B=1,b="\f"+b);break;case 108:if(0===k+P+S+E&&0<O)switch(F-O){case 2:112===M&&58===l.charCodeAt(F-3)&&(E=M);case 8:111===j&&(E=j)}break;case 58:0===k+P+S&&(O=F);break;case 44:0===P+A+k+S&&(I=1,b+="\r");break;case 34:case 39:0===P&&(k=k===f?0:0===k?f:k);break;case 91:0===k+P+A&&S++;break;case 93:0===k+P+A&&S--;break;case 41:0===k+P+S&&A--;break;case 40:0===k+P+S&&(0===p&&(2*M+3*j==533||(p=1)),A++);break;case 64:0===P+A+k+S+O+m&&(m=1);break;case 42:case 47:if(!(0<k+S+A))switch(P){case 0:switch(2*f+3*l.charCodeAt(F+1)){case 235:P=47;break;case 220:$=F,P=42}break;case 42:47===f&&42===M&&$+2!==F&&(33===l.charCodeAt($+2)&&(U+=l.substring($,F+1)),b="",P=0)}}0===P&&(_+=b)}j=M,M=f,F++}if(0<($=U.length)){if(I=a,0<D&&void 0!==(w=o(2,U,I,r,T,C,$,h,d,h))&&0===(U=w).length)return H+U+z;if(U=I.join(",")+"{"+U+"}",0!=R*E){switch(2!==R||i(U,2)||(E=0),E){case 111:U=U.replace(y,":-moz-$1")+U;break;case 112:U=U.replace(v,"::-webkit-input-$1")+U.replace(v,"::-moz-$1")+U.replace(v,":-ms-input-$1")+U}E=0}}return H+U+z}(V,a,r,0,0);return 0<D&&void 0!==(l=o(-2,h,a,a,T,C,h.length,0,0,0))&&(h=l),E=0,C=T=1,h}var u=/^\0+/g,c=/[\0\r\f]/g,h=/: */g,d=/zoo|gra/,p=/([,: ])(transform)/g,f=/,\r+?/g,m=/([\t\r\n ])*\f?&/g,g=/@(k\w+)\s*(\S*)\s*/,v=/::(place)/g,y=/:(read-only)/g,b=/[svh]\w+-[tblr]{2}/,x=/\(\s*(.*)\s*\)/g,w=/([\s\S]*?);/g,S=/-self|flex-/g,P=/[^]*?(:[rp][el]a[\w-]+)[^]*/,A=/stretch|:\s*\w+\-(?:conte|avail)/,k=/([^-])(image-set\()/,C=1,T=1,E=0,R=1,V=[],M=[],D=0,j=null,L=0;return l.use=function t(e){switch(e){case void 0:case null:D=M.length=0;break;default:if("function"==typeof e)M[D++]=e;else if("object"==typeof e)for(var r=0,n=e.length;r<n;++r)t(e[r]);else L=0|!!e}return t},l.set=a,void 0!==t&&a(t),l},h={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},d=/^((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|download|draggable|encType|enterKeyHint|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
9ine|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)-.*))$/,p=(n=function(t){return d.test(t)||111===t.charCodeAt(0)&&110===t.charCodeAt(1)&&91>t.charCodeAt(2)},i=Object.create(null),function(t){return void 0===i[t]&&(i[t]=n(t)),i[t]}),f=r(8679),m=r.n(f),g=r(3454);function v(){return(v=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}var y=function(t,e){for(var r=[t[0]],n=0,i=e.length;n<i;n+=1)r.push(e[n],t[n+1]);return r},b=function(t){return null!==t&&"object"==typeof t&&"[object Object]"===(t.toString?t.toString():Object.prototype.toString.call(t))&&!(0,o.typeOf)(t)},x=Object.freeze([]),w=Object.freeze({});function S(t){return"function"==typeof t}function P(t){return t.displayName||t.name||"Component"}function A(t){return t&&"string"==typeof t.styledComponentId}var k=void 0!==g&&void 0!==g.env&&(g.env.REACT_APP_SC_ATTR||g.env.SC_ATTR)||"data-styled",C="undefined"!=typeof window&&"HTMLElement"in window,T=!!("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:void 0!==g&&void 0!==g.env&&(void 0!==g.env.REACT_APP_SC_DISABLE_SPEEDY&&""!==g.env.REACT_APP_SC_DISABLE_SPEEDY?"false"!==g.env.REACT_APP_SC_DISABLE_SPEEDY&&g.env.REACT_APP_SC_DISABLE_SPEEDY:void 0!==g.env.SC_DISABLE_SPEEDY&&""!==g.env.SC_DISABLE_SPEEDY&&"false"!==g.env.SC_DISABLE_SPEEDY&&g.env.SC_DISABLE_SPEEDY)),E={};function R(t){for(var e=arguments.length,r=Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];throw Error("An error occurred. See https://git.io/JUIaE#"+t+" for more information."+(r.length>0?" Args: "+r.join(", "):""))}var V=function(){function t(t){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=t}var e=t.prototype;return e.indexOfGroup=function(t){for(var e=0,r=0;r<t;r++)e+=this.groupSizes[r];return e},e.insertRules=function(t,e){if(t>=this.groupSizes.length){for(var r=this.groupSizes,n=r.length,i=n;t>=i;)(i<<=1)<0&&R(16,""+t);this.groupSizes=new Uint32Array(i),this.groupSizes.set(r),this.length=i;for(var s=n;s<i;s++)this.groupSizes[s]=0}for(var o=this.indexOfGroup(t+1),a=0,l=e.length;a<l;
vendor: 6,379 bytes, line 9
9a++)this.tag.insertRule(o,e[a])&&(this.groupSizes[t]++,o++)},e.clearGroup=function(t){if(t<this.length){var e=this.groupSizes[t],r=this.indexOfGroup(t),n=r+e;this.groupSizes[t]=0;for(var i=r;i<n;i++)this.tag.deleteRule(r)}},e.getGroup=function(t){var e="";if(t>=this.length||0===this.groupSizes[t])return e;for(var r=this.groupSizes[t],n=this.indexOfGroup(t),i=n+r,s=n;s<i;s++)e+=this.tag.getRule(s)+"/*!sc*/\n";return e},t}(),M=new Map,D=new Map,j=1,L=function(t){if(M.has(t))return M.get(t);for(;D.has(j);)j++;var e=j++;return M.set(t,e),D.set(e,t),e},O=function(t,e){e>=j&&(j=e+1),M.set(t,e),D.set(e,t)},F="style["+k+'][data-styled-version="5.3.11"]',I=RegExp("^"+k+'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'),B=function(t,e,r){for(var n,i=r.split(","),s=0,o=i.length;s<o;s++)(n=i[s])&&t.registerName(e,n)},$=function(t,e){for(var r=(e.textContent||"").split("/*!sc*/\n"),n=[],i=0,s=r.length;i<s;i++){var o=r[i].trim();if(o){var a=o.match(I);if(a){var l=0|parseInt(a[1],10),u=a[2];0!==l&&(O(u,l),B(t,u,a[3]),t.getTag().insertRules(l,n)),n.length=0}else n.push(o)}}},N=function(){return r.nc},W=function(t){var e=document.head,r=t||e,n=document.createElement("style"),i=function(t){for(var e=t.childNodes,r=e.length;r>=0;r--){var n=e[r];if(n&&1===n.nodeType&&n.hasAttribute(k))return n}}(r),s=void 0!==i?i.nextSibling:null;n.setAttribute(k,"active"),n.setAttribute("data-styled-version","5.3.11");var o=N();return o&&n.setAttribute("nonce",o),r.insertBefore(n,s),n},_=function(){function t(t){var e=this.element=W(t);e.appendChild(document.createTextNode("")),this.sheet=function(t){if(t.sheet)return t.sheet;for(var e=document.styleSheets,r=0,n=e.length;r<n;r++){var i=e[r];if(i.ownerNode===t)return i}R(17)}(e),this.length=0}var e=t.prototype;return e.insertRule=function(t,e){try{return this.sheet.insertRule(e,t),this.length++,!0}catch(t){return!1}},e.deleteRule=function(t){this.sheet.deleteRule(t),this.length--},e.getRule=function(t){var e=this.sheet.cssRules[t];return void 0!==e&&"string"==typeof e.cssText?e.cssText:""},t}(),U=function(){function t(t){var e=this.element=W(t);this.nodes=e.childNodes,this.length=0}var e=t.prototype;return e.insertRule=function(t,e){if(t<=this.length&&t>=0){var r=document.createTextNode(e),n=this.nodes[t];return this.element.insertBefore(r,n||null),this.length++,!0}return!1},e.deleteRule=function(t){this.element.removeChild(this.nodes[t]),this.length--},e.getRule=function(t){return t<this.length?this.nodes[t].textContent:""},t}(),z=function(){function t(t){this.rules=[],this.length=0}var e=t.prototype;return e.insertRule=function(t,e){return t<=this.length&&(this.rules.splice(t,0,e),this.length++,!0)},e.deleteRule=function(t){this.rules.splice(t,1),this.length--},e.getRule=function(t){return t<this.length?this.rules[t]:""},t}(),H=C,Z={isServer:!C,useCSSOMInjection:!T},G=function(){function t(t,e,r){void 0===t&&(t=w),void 0===e&&(e={}),this.options=v({},Z,{},t),this.gs=e,this.names=new Map(r),this.server=!!t.isServer,!this.server&&C&&H&&(H=!1,function(t){for(var e=document.querySelectorAll(F),r=0,n=e.length;r<n;r++){var i=e[r];i&&"active"!==i.getAttribute(k)&&($(t,i),i.parentNode&&i.parentNode.removeChild(i))}}(this))}t.registerId=function(t){return L(t)};var e=t.prototype;return e.reconstructWithOptions=function(e,r){return void 0===r&&(r=!0),new t(v({},this.options,{},e),this.gs,r&&this.names||void 0)},e.allocateGSInstance=function(t){return this.gs[t]=(this.gs[t]||0)+1},e.getTag=function(){var t,e,r,n;return this.tag||(this.tag=(e=(t=this.options).isServer,r=t.useCSSOMInjection,n=t.target,new V(e?new z(n):r?new _(n):new U(n))))},e.hasNameForId=function(t,e){return this.names.has(t)&&this.names.get(t).has(e)},e.registerName=function(t,e){if(L(t),this.names.has(t))this.names.get(t).add(e);else{var r=new Set;r.add(e),this.names.set(t,r)}},e.insertRules=function(t,e,r){this.registerName(t,e),this.getTag().insertRules(L(t),r)},e.clearNames=function(t){this.names.has(t)&&this.names.get(t).clear()},e.clearRules=function(t){this.getTag().clearGroup(L(t)),this.clearNames(t)},e.clearTag=function(){this.tag=void 0},e.toString=function(){return function(t){for(var e=t.getTag(),r=e.length,n="",i=0;i<r;i++){var s,o=(s=i,D.get(s));if(void 0!==o){var a=t.names.get(o),l=e.getGroup(i);if(a&&l&&a.size){var u=k+".g"+i+'[id="'+o+'"]',c="";void 0!==a&&a.forEach(function(t){t.length>0&&(c+=t+",")}),n+=""+l+u+'{content:"'+c+'"}/*!sc*/\n'}}}return n}(this)},t}(),Y=/(a)(d)/gi,q=function(t){return String.fromCharCode(t+(t>25?39:97))};function X(t){var e,r="";for(e=Math.abs(t);e>52;e=e/52|0)r=q(e%52)+r;return(q(e%52)+r).replace(Y,"$1-$2")}var K=function(t,e){for(var r=e.length;r;)t=33*t^e.charCodeAt(--r);return t},J=function(t){return K(5381,t)};function Q(t){for(var e=0;e<t.length;e+=1){var r=t[e];if(S(r)&&!A(r))return!1}return!0}var tt=J("5.3.11"),te=function(){function t(t,e,r){this.rules=t,this.staticRulesId="",this.isStatic=(void 0===r||r.isStatic)&&Q(t),this.componentId=e,this.baseHash=K(tt,e),this.baseStyle=r,G.registerId(e)}return t.prototype.generateAndInjectStyles=function(t,e,r){var n=this.componentId,i=[];if(this.baseStyle&&i.push(this.baseStyle.generateAndInjectStyles(t,e,r)),this.isStatic&&!r.hash){if(this.staticRulesId&&e.hasNameForId(n,this.staticRulesId))i.push(this.staticRulesId);else{var s=tb(this.rules,t,e,r).join(""),o=X(K(this.baseHash,s)>>>0);if(!e.hasNameForId(n,o)){var a=r(s,"."+o,void 0,n);e.insertRules(n,o,a)}i.push(o),this.staticRulesId=o}}else{for(var l=this.rules.length,u=K(this.baseHash,r.hash),c="",h=0;h<l;h++){var d=this.rules[h];if("string"==typeof d)c+=d;else if(d){var p=tb(d,t,e,r),f=Array.isArray(p)?p.join(""):p;u=K(u,f+h),c+=f}}if(c){var m=X(u>>>0);if(!e.hasNameForId(n,m)){var g=r(c,"."+m,void 0,n);e.insertRules(n,m,g)}i.push(m)}}return i.join(" ")},t}(),tr=/^\s*\/\/.*$/gm,tn=[":","[",".","#"];function ti(t){var e,r,n,i,s=void 0===t?w:t,o=s.options,a=void 0===o?w:o,l=s.plugins,u=void 0===l?x:l,h=new c(a),d=[],p=function(t){function e(e){if(e)try{t(e+"}")}catch(t){}}return function(r,n,i,s,o,a,l,u,c,h){switch(r){case 1:if(0===c&&64===n.charCodeAt(0))return t(n+";"),"";break;case 2:if(0===u)return n+"/*|*/";break;case 3:switch(u){case 102:case 112:return t(i[0]+n),"";default:return n+(0===h?"/*|*/":"")}case -2:n.split("/*|*/}").forEach(e)}}}(function(t){d.push(t)}),f=function(t,n,s){return 0===n&&-1!==tn.indexOf(s[r.length])||s.match(i)?t
9:"."+e};function m(t,s,o,a){void 0===a&&(a="&");var l=t.replace(tr,""),u=s&&o?o+" "+s+" { "+l+" }":l;return e=a,n=RegExp("\\"+(r=s)+"\\b","g"),i=RegExp("(\\"+r+"\\b){2,}"),h(o||!s?"":s,u)}return h.use([].concat(u,[function(t,e,i){2===t&&i.length&&i[0].lastIndexOf(r)>0&&(i[0]=i[0].replace(n,f))},p,function(t){if(-2===t){var e=d;return d=[],e}}])),m.hash=u.length?u.reduce(function(t,e){return e.name||R(15),K(t,e.name)},5381).toString():"",m}var ts=a.createContext(),to=(ts.Consumer,a.createContext()),ta=(to.Consumer,new G),tl=ti();function tu(){return(0,a.useContext)(ts)||ta}function tc(){return(0,a.useContext)(to)||tl}function th(t){var e=(0,a.useState)(t.stylisPlugins),r=e[0],n=e[1],i=tu(),s=(0,a.useMemo)(function(){var e=i;return t.sheet?e=t.sheet:t.target&&(e=e.reconstructWithOptions({target:t.target},!1)),t.disableCSSOMInjection&&(e=e.reconstructWithOptions({useCSSOMInjection:!1})),e},[t.disableCSSOMInjection,t.sheet,t.target]),o=(0,a.useMemo)(function(){return ti({options:{prefix:!t.disableVendorPrefixes},plugins:r})},[t.disableVendorPrefixes,r]);return(0,a.useEffect)(function(){u()(r,t.stylisPlugins)||n(t.stylisPlugins)},[t.stylisPlugins]),a.createElement(ts.Provider,{value:s},a.createElement(to.Provider,{value:o},t.children))}var td=function(){function t(t,e){var r=this;this.inject=function(t,e){void 0===e&&(e=tl);var n=r.name+e.hash;t.hasNameForId(r.id,n)||t.insertRules(r.id,n,e(r.rules,n,"@keyframes"))},this.toString=function(){return R(12,String(r.name))},this.name=t,this.id="sc-keyframes-"+t,this.rules=e}return t.prototype.getName=function(t){return void 0===t&&(t=tl),this.name+t.hash},t}(),tp=/([A-Z])/,tf=/([A-Z])/g,tm=/^ms-/,tg=function(t){return"-"+t.toLowerCase()};function tv(t){return tp.test(t)?t.replace(tf,tg).replace(tm,"-ms-"):t}var ty=function(t){return null==t||!1===t||""===t};function tb(t,e,r,n){if(Array.isArray(t)){for(var i,s=[],o=0,a=t.length;o<a;o+=1)""!==(i=tb(t[o],e,r,n))&&(Array.isArray(i)?s.push.apply(s,i):s.push(i));return s}return ty(t)?"":A(t)?"."+t.styledComponentId:S(t)?"function"!=typeof t||t.prototype&&t.prototype.isReactComponent||!e?t:tb(t(e),e,r,n):t instanceof td?r?(t.inject(r,n),t.getName(n)):t:b(t)?function t(e,r){var n,i=[];for(var s in e)e.hasOwnProperty(s)&&!ty(e[s])&&(Array.isArray(e[s])&&e[s].isCss||S(e[s])?i.push(tv(s)+":",e[s],";"):b(e[s])?i.push.apply(i,t(e[s],s)):i.push(tv(s)+": "+(null==(n=e[s])||"boolean"==typeof n||""===n?"":"number"!=typeof n||0===n||s in h||s.startsWith("--")?String(n).trim():n+"px")+";"));return r?[r+" {"].concat(i,["}"]):i}(t):t.toString()}var tx=function(t){return Array.isArray(t)&&(t.isCss=!0),t};function tw(t){for(var e=arguments.length,r=Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];return S(t)||b(t)?tx(tb(y(x,[t].concat(r)))):0===r.length&&1===t.length&&"string"==typeof t[0]?t:tx(tb(y(t,r)))}var tS=function(t,e,r){return void 0===r&&(r=w),t.theme!==r.theme&&t.theme||e||r.theme},tP=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,tA=/(^-|-$)/g;function tk(t){return t.replace(tP,"-").replace(tA,"")}var tC=function(t){return X(J(t)>>>0)};function tT(t){return"string"==typeof t}var tE=function(t){return"function"==typeof t||"object"==typeof t&&null!==t&&!Array.isArray(t)},tR=a.createContext();tR.Consumer;var tV={},tM=function(t){return function t(e,r,n){if(void 0===n&&(n=w),!(0,o.isValidElementType)(r))return R(1,String(r));var i=function(){return e(r,n,tw.apply(void 0,arguments))};return i.withConfig=function(i){return t(e,r,v({},n,{},i))},i.attrs=function(i){return t(e,r,v({},n,{attrs:Array.prototype.concat(n.attrs,i).filter(Boolean)}))},i}(function t(e,r,n){var i=A(e),s=!tT(e),o=r.attrs,l=void 0===o?x:o,u=r.componentId,c=void 0===u?(b=r.displayName,k=r.parentComponentId,tV[C="string"!=typeof b?"sc":tk(b)]=(tV[C]||0)+1,T=C+"-"+tC("5.3.11"+C+tV[C]),k?k+"-"+T:T):u,h=r.displayName,d=void 0===h?tT(e)?"styled."+e:"Styled("+P(e)+")":h,f=r.displayName&&r.componentId?tk(r.displayName)+"-"+r.componentId:r.componentId||c,g=i&&e.attrs?Array.prototype.concat(e.attrs,l).filter(Boolean):l,y=r.shouldForwardProp;i&&e.shouldForwardProp&&(y=r.shouldForwardProp?function(t,n,i){return e.shouldForwardProp(t,n,i)&&r.shouldForwardProp(t,n,i)}:e.shouldForwardProp);var b,k,C,T,E,R=new te(n,f,i?e.componentStyle:void 0),V=R.isStatic&&0===l.length,M=function(t,e){return function(t,e,r,n){var i,s,o,l,u,c=t.attrs,h=t.componentStyle,d=t.defaultProps,f=t.foldedComponentIds,m=t.shouldForwardProp,g=t.styledComponentId,y=t.target,b=(void 0===(i=tS(e,(0,a.useContext)(tR),d)||w)&&(i=w),s=v({},e,{theme:i}),o={}
9,c.forEach(function(t){var e,r,n,i=t;for(e in S(i)&&(i=i(s)),i)s[e]=o[e]="className"===e?(r=o[e],n=i[e],r&&n?r+" "+n:r||n):i[e]}),[s,o]),x=b[0],P=b[1],A=(l=tu(),u=tc(),n?h.generateAndInjectStyles(w,l,u):h.generateAndInjectStyles(x,l,u)),k=P.$as||e.$as||P.as||e.as||y,C=tT(k),T=P!==e?v({},e,{},P):e,E={};for(var R in T)"$"!==R[0]&&"as"!==R&&("forwardedAs"===R?E.as=T[R]:(m?m(R,p,k):!C||p(R))&&(E[R]=T[R]));return e.style&&P.style!==e.style&&(E.style=v({},e.style,{},P.style)),E.className=Array.prototype.concat(f,g,A!==g?A:null,e.className,P.className).filter(Boolean).join(" "),E.ref=r,(0,a.createElement)(k,E)}(E,t,e,V)};return M.displayName=d,(E=a.forwardRef(M)).attrs=g,E.componentStyle=R,E.displayName=d,E.shouldForwardProp=y,E.foldedComponentIds=i?Array.prototype.concat(e.foldedComponentIds,e.styledComponentId):x,E.styledComponentId=f,E.target=i?e.target:e,E.withComponent=function(e){var i=r.componentId,s=function(t,e){if(null==t)return{};var r,n,i={},s=Object.keys(t);for(n=0;n<s.length;n++)e.indexOf(r=s[n])>=0||(i[r]=t[r]);return i}(r,["componentId"]),o=i&&i+"-"+(tT(e)?e:tk(P(e)));return t(e,v({},s,{attrs:g,componentId:o}),n)},Object.defineProperty(E,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(t){this._foldedDefaultProps=i?function t(e){for(var r=arguments.length,n=Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];for(var s=0;s<n.length;s++){var o=n[s];if(tE(o))for(var a in o)"__proto__"!==a&&"constructor"!==a&&"prototype"!==a&&function(e,r,n){var i=e[n];tE(r)&&tE(i)?t(i,r):e[n]=r}(e,o[a],a)}return e}({},e.defaultProps,t):t}}),Object.defineProperty(E,"toString",{value:function(){return"."+E.styledComponentId}}),s&&m()(E,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0,withComponent:!0}),E},t)};["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","textPath","tspan"].forEach(function(t){tM[t]=tM(t)});var tD=function(){function t(t,e){this.rules=t,this.componentId=e,this.isStatic=Q(t),G.registerId(this.componentId+1)}var e=t.prototype;return e.createStyles=function(t,e,r,n){var i=n(tb(this.rules,e,r,n).join(""),""),s=this.componentId+t;r.insertRules(s,s,i)},e.removeStyles=function(t,e){e.clearRules(this.componentId+t)},e.renderStyles=function(t,e,r,n){t>2&&G.registerId(this.componentId+t),this.removeStyles(t,r),this.createStyles(t,e,r,n)},t}();function tj(t){for(var e=arguments.length,r=Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];var i=tw.apply(void 0,[t].concat(r)),s="sc-global-"+tC(JSON.stringify(i)),o=new tD(i,s);function l(t){var e=tu(),r=tc(),n=(0,a.useContext)(tR),i=(0,a.useRef)(e.allocateGSInstance(s)).current;return e.server&&u(i,t,e,n,r),(0,a.useLayoutEffect)(function(){if(!e.server)return u(i,t,e,n,r),function(){return o.removeStyles(i,e)}},[i,t,e,n,r]),null}function u(t,e,r,n,i){if(o.isStatic)o.renderStyles(t,E,r,i);else{var s=v({},e,{theme:tS(e,n,l.defaultProps)});o.renderStyles(t,s,r,i)}}return a.memo(l)}(s=(function(){var t=this;this._emitSheetCSS=function(){var e=t.instance.toString();if(!e)return"";var r=N();return"<style "+[r&&'nonce="'+r+'"',k+'="true"','data-styled-version="5.3.11"'].filter(
9Boolean).join(" ")+">"+e+"</style>"},this.getStyleTags=function(){return t.sealed?R(2):t._emitSheetCSS()},this.getStyleElement=function(){if(t.sealed)return R(2);var e,r=((e={})[k]="",e["data-styled-version"]="5.3.11",e.dangerouslySetInnerHTML={__html:t.instance.toString()},e),n=N();return n&&(r.nonce=n),[a.createElement("style",v({},r,{key:"sc-0-0"}))]},this.seal=function(){t.sealed=!0},this.instance=new G({isServer:!0}),this.sealed=!1}).prototype).collectStyles=function(t){return this.sealed?R(2):a.createElement(th,{sheet:this.instance},t)},s.interleaveWithNodeStream=function(t){return R(3)};var tL=tM},2729:function(t,e,r){"use strict";function n(t,e){return e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}r.d(e,{_:function(){return n}})},5364:function(t,e,r){"use strict";r.d(e,{p:function(){return n}});let n=(0,r(7294).createContext)({})},240:function(t,e,r){"use strict";r.d(e,{O:function(){return n}});let n=(0,r(7294).createContext)(null)},2074:function(t,e,r){"use strict";r.d(e,{Pn:function(){return a},Wi:function(){return o},frameData:function(){return l},S6:function(){return u}});var n=r(1662);class i{constructor(){this.order=[],this.scheduled=new Set}add(t){if(!this.scheduled.has(t))return this.scheduled.add(t),this.order.push(t),!0}remove(t){let e=this.order.indexOf(t);-1!==e&&(this.order.splice(e,1),this.scheduled.delete(t))}clear(){this.order.length=0,this.scheduled.clear()}}let s=["prepare","read","update","preRender","render","postRender"],{schedule:o,cancel:a,state:l,steps:u}=function(t,e){let r=!1,n=!0,o={delta:0,timestamp:0,isProcessing:!1},a=s.reduce((t,e)=>(t[e]=function(t){let e=new i,r=new i,n=0,s=!1,o=!1,a=new WeakSet,l={schedule:(t,i=!1,o=!1)=>{let l=o&&s,u=l?e:r;return i&&a.add(t),u.add(t)&&l&&s&&(n=e.order.length),t},cancel:t=>{r.remove(t),a.delete(t)},process:i=>{if(s){o=!0;return}if(s=!0,[e,r]=[r,e],r.clear(),n=e.order.length)for(let r=0;r<n;r++){let n=e.order[r];n(i),a.has(n)&&(l.schedule(n),t())}s=!1,o&&(o=!1,l.process(i))}};return l}(()=>r=!0),t),{}),l=t=>a[t].process(o),u=()=>{let i=performance.now();r=!1,o.delta=n?1e3/60:Math.max(Math.min(i-o.timestamp,40),1),o.timestamp=i,o.isProcessing=!0,s.forEach(l),o.isProcessing=!1,r&&e&&(n=!1,t(u))},c=()=>{r=!0,n=!0,o.isProcessing||t(u)};return{schedule:s.reduce((t,e)=>{let n=a[e];return t[e]=(t,e=!1,i=!1)=>(r||c(),n.schedule(t,e,i)),t},{}),cancel:t=>s.forEach(e=>a[e].cancel(t)),state:o,steps:a}}("undefined"!=typeof requestAnimationFrame?requestAnimationFrame:n.Z,!0)},3495:function(t,e,r){"use strict";let n;r.d(e,{E:function(){return iH}});var i,s,o=r(7294);let a=(0,o.createContext)({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"}),l=(0,o.createContext)({});var u=r(240),c=r(8868);let h=(0,o.createContext)({strict:!1}),d=t=>t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),p="data-"+d("framerAppearId");function f(t){return t&&"object"==typeof t&&Object.prototype.hasOwnProperty.call(t,"current")}function m(t){return"string"==typeof t||Array.isArray(t)}function g(t){return null!==t&&"object"==typeof t&&"function"==typeof t.start}let v=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],y=["initial",...v];function b(t){return g(t.animate)||y.some(e=>m(t[e]))}function x(t){return!!(b(t)||t.variants)}function w(t){return Array.isArray(t)?t.join(" "):t}let S={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"]},P={};for(let t in S)P[t]={isEnabled:e=>S[t].some(t=>!!e[t])};var A=r(1741),k=r(5364);let C=(0,o.createContext)({}),T=Symbol.for("motionComponentSymbol"),E=["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 R(t){if("string"!=typeof t||t.includes("-"));else if(E.indexOf(t)>-1||/[A-Z]/.test(t))return!0;return!1}let V={},M=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],D=new Set(M);function j(t,{layout:e,layoutId:r}){return D.has(t)||t.startsWith("origin")||(e||void 0!==r)&&(!!V[t]||"opacity"===t)}let L=t=>!!(t&&t.getVelocity),O={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},F=M.length,I=t=>e=>"string"==typeof e&&e.startsWith(t),B=I("--"),$=I("var(--"),N=(t,e)=>e&&"number"==typeof t?e.transform(t):t,W=(t,e,r)=>Math.min(Math.max(r,t),e),_={test:t=>"number"==typeof t,parse:parseFloat,transform:t=>t},U={..._,transform:t=>W(0,1,t)},z={..._,default:1},H=t=>
9Math.round(1e5*t)/1e5,Z=/(-)?([\d]*\.?[\d])+/g,G=/(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,Y=/^(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function q(t){return"string"==typeof t}let X=t=>({test:e=>q(e)&&e.endsWith(t)&&1===e.split(" ").length,parse:parseFloat,transform:e=>`${e}${t}`}),K=X("deg"),J=X("%"),Q=X("px"),tt=X("vh"),te=X("vw"),tr={...J,parse:t=>J.parse(t)/100,transform:t=>J.transform(100*t)},tn={..._,transform:Math.round},ti={borderWidth:Q,borderTopWidth:Q,borderRightWidth:Q,borderBottomWidth:Q,borderLeftWidth:Q,borderRadius:Q,radius:Q,borderTopLeftRadius:Q,borderTopRightRadius:Q,borderBottomRightRadius:Q,borderBottomLeftRadius:Q,width:Q,maxWidth:Q,height:Q,maxHeight:Q,size:Q,top:Q,right:Q,bottom:Q,left:Q,padding:Q,paddingTop:Q,paddingRight:Q,paddingBottom:Q,paddingLeft:Q,margin:Q,marginTop:Q,marginRight:Q,marginBottom:Q,marginLeft:Q,rotate:K,rotateX:K,rotateY:K,rotateZ:K,scale:z,scaleX:z,scaleY:z,scaleZ:z,skew:K,skewX:K,skewY:K,distance:Q,translateX:Q,translateY:Q,translateZ:Q,x:Q,y:Q,z:Q,perspective:Q,transformPerspective:Q,opacity:U,originX:tr,originY:tr,originZ:Q,zIndex:tn,fillOpacity:U,strokeOpacity:U,numOctaves:tn};function ts(t,e,r,n){let{style:i,vars:s,transform:o,transformOrigin:a}=t,l=!1,u=!1,c=!0;for(let t in e){let r=e[t];if(B(t)){s[t]=r;continue}let n=ti[t],h=N(r,n);if(D.has(t)){if(l=!0,o[t]=h,!c)continue;r!==(n.default||0)&&(c=!1)}else t.startsWith("origin")?(u=!0,a[t]=h):i[t]=h}if(!e.transform&&(l||n?i.transform=function(t,{enableHardwareAcceleration:e=!0,allowTransformNone:r=!0},n,i){let s="";for(let e=0;e<F;e++){let r=M[e];if(void 0!==t[r]){let e=O[r]||r;s+=`${e}(${t[r]}) `}}return e&&!t.z&&(s+="translateZ(0)"),s=s.trim(),i?s=i(t,n?"":s):r&&n&&(s="none"),s}(t.transform,r,c,n):i.transform&&(i.transform="none")),u){let{originX:t="50%",originY:e="50%",originZ:r=0}=a;i.transformOrigin=`${t} ${e} ${r}`}}let to=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function ta(t,e,r){for(let n in e)L(e[n])||j(n,r)||(t[n]=e[n])}let tl=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","transformValues","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function tu(t){return t.startsWith("while")||t.startsWith("drag")&&"draggable"!==t||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||tl.has(t)}let tc=t=>!tu(t);try{(i=require("@emotion/is-prop-valid").default)&&(tc=t=>t.startsWith("on")?!tu(t):i(t))}catch(t){}function th(t,e,r){return"string"==typeof t?t:Q.transform(e+r*t)}let td={offset:"stroke-dashoffset",array:"stroke-dasharray"},tp={offset:"strokeDashoffset",array:"strokeDasharray"};function tf(t,{attrX:e,attrY:r,attrScale:n,originX:i,originY:s,pathLength:o,pathSpacing:a=1,pathOffset:l=0,...u},c,h,d){if(ts(t,u,c,d),h){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};let{attrs:p,style:f,dimensions:m}=t;p.transform&&(m&&(f.transform=p.transform),delete p.transform),m&&(void 0!==i||void 0!==s||f.transform)&&(f.transformOrigin=function(t,e,r){let n=th(e,t.x,t.width),i=th(r,t.y,t.height);return`${n} ${i}`}(m,void 0!==i?i:.5,void 0!==s?s:.5)),void 0!==e&&(p.x=e),void 0!==r&&(p.y=r),void 0!==n&&(p.scale=n),void 0!==o&&function(t,e,r=1,n=0,i=!0){t.pathLength=1;let s=i?td:tp;t[s.offset]=Q.transform(-n);let o=Q.transform(e),a=Q.transform(r);t[s.array]=`${o} ${a}`}(p,o,a,l,!1)}let tm=()=>({...to(),attrs:{}}),tg=t=>"string"==typeof t&&"svg"===t.toLowerCase();function tv(t,{style:e,vars:r},n,i){for(let s in Object.assign(t.style,e,i&&i.getProjectionStyles(n)),r)t.style.setProperty(s,r[s])}let ty=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"]);function tb(t,e,r,n){for(let r in tv(t,e,void 0,n),e.attrs)t.setAttribute(ty.has(r)?r:d(r),e.attrs[r])}function tx(t,e){let{style:r}=t,n={};for(let i in r)(L(r[i])||e.style&&L(e.style[i])||j(i,t))&&(n[i]=r[i]);return n}function tw(t,e){let r=tx(t,e);for(let n in t)(L(t[n])||L(e[n]))&&(r[-1!==M.indexOf(n)?"attr"+n.charAt(0).toUpperCase()+n.substring(1):n]=t[n]);return r}function tS(t,e,r,n={},i={}){return"function"==typeof e&&(e=e(void 0!==r?r:t.custom,n,i)),"string"==typeof e&&(e=t.variants&&t.variants[e]),"function"==typeof e&&(e=e(void 0!==r?r:t.custom,n,i)),e}var tP=r(6681);let tA=t=>Array.isArray(t),tk=t=>!!(t&&"object"==typeof t&&t.mix&&t.toValue),tC=t=>tA(t)?t[t.length-1]||0:t;function tT(t){let e=L(t)?t.get():t;return tk(e)?e.toValue():e}let tE=t=>(e,r)=>{let n=(0,o.useContext)(l),i=(0,o.useContext)(u.O),s=()=>(function({scrapeMotionValuesFromProps:t,createRenderState:e,onMount:r},n,i,s){let o={latestValues:function(t,e,r,n){let i={},s=n(t,{});for(let t in s)i[t]=tT(s[t]);let{initial:o,animate:a}=t,l=b(t),u=x(t);e&&u&&!l&&!1!==t.inherit&&(void 0===o&&(o=e.initial),void 0===a&&(a=e.animate));let c=!!r&&!1===r.initial,h=(c=c||!1===o)?a:o;return h&&"boolean"!=typeof h&&!g(h)&&(Array.isArray(h)?h:[h]).forEac
9h(e=>{let r=tS(t,e);if(!r)return;let{transitionEnd:n,transition:s,...o}=r;for(let t in o){let e=o[t];if(Array.isArray(e)){let t=c?e.length-1:0;e=e[t]}null!==e&&(i[t]=e)}for(let t in n)i[t]=n[t]}),i}(n,i,s,t),renderState:e()};return r&&(o.mount=t=>r(n,t,o)),o})(t,e,n,i);return r?s():(0,tP.h)(s)};var tR=r(2074);let tV={useVisualState:tE({scrapeMotionValuesFromProps:tw,createRenderState:tm,onMount:(t,e,{renderState:r,latestValues:n})=>{tR.Wi.read(()=>{try{r.dimensions="function"==typeof e.getBBox?e.getBBox():e.getBoundingClientRect()}catch(t){r.dimensions={x:0,y:0,width:0,height:0}}}),tR.Wi.render(()=>{tf(r,n,{enableHardwareAcceleration:!1},tg(e.tagName),t.transformTemplate),tb(e,r)})}})},tM={useVisualState:tE({scrapeMotionValuesFromProps:tx,createRenderState:to})};function tD(t,e,r,n={passive:!0}){return t.addEventListener(e,r,n),()=>t.removeEventListener(e,r)}let tj=t=>"mouse"===t.pointerType?"number"!=typeof t.button||t.button<=0:!1!==t.isPrimary;function tL(t,e="page"){return{point:{x:t[e+"X"],y:t[e+"Y"]}}}let tO=t=>e=>tj(e)&&t(e,tL(e));function tF(t,e,r,n){return tD(t,e,tO(r),n)}let tI=(t,e)=>r=>e(t(r)),tB=(...t)=>t.reduce(tI);function t$(t){let e=null;return()=>null===e&&(e=t,()=>{e=null})}let tN=t$("dragHorizontal"),tW=t$("dragVertical");function t_(t){let e=!1;if("y"===t)e=tW();else if("x"===t)e=tN();else{let t=tN(),r=tW();t&&r?e=()=>{t(),r()}:(t&&t(),r&&r())}return e}function tU(){let t=t_(!0);return!t||(t(),!1)}class tz{constructor(t){this.isMounted=!1,this.node=t}update(){}}function tH(t,e){let r="onHover"+(e?"Start":"End");return tF(t.current,"pointer"+(e?"enter":"leave"),(n,i)=>{if("touch"===n.pointerType||tU())return;let s=t.getProps();t.animationState&&s.whileHover&&t.animationState.setActive("whileHover",e),s[r]&&tR.Wi.update(()=>s[r](n,i))},{passive:!t.getProps()[r]})}class tZ extends tz{mount(){this.unmount=tB(tH(this.node,!0),tH(this.node,!1))}unmount(){}}class tG extends tz{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch(e){t=!0}t&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){this.isActive&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=tB(tD(this.node.current,"focus",()=>this.onFocus()),tD(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}let tY=(t,e)=>!!e&&(t===e||tY(t,e.parentElement));var tq=r(1662);function tX(t,e){if(!e)return;let r=new PointerEvent("pointer"+t);e(r,tL(r))}class tK extends tz{constructor(){super(...arguments),this.removeStartListeners=tq.Z,this.removeEndListeners=tq.Z,this.removeAccessibleListeners=tq.Z,this.startPointerPress=(t,e)=>{if(this.isPressing)return;this.removeEndListeners();let r=this.node.getProps(),n=tF(window,"pointerup",(t,e)=>{if(!this.checkPressEnd())return;let{onTap:r,onTapCancel:n,globalTapTarget:i}=this.node.getProps();tR.Wi.update(()=>{i||tY(this.node.current,t.target)?r&&r(t,e):n&&n(t,e)})},{passive:!(r.onTap||r.onPointerUp)}),i=tF(window,"pointercancel",(t,e)=>this.cancelPress(t,e),{passive:!(r.onTapCancel||r.onPointerCancel)});this.removeEndListeners=tB(n,i),this.startPress(t,e)},this.startAccessiblePress=()=>{let t=tD(this.node.current,"keydown",t=>{"Enter"!==t.key||this.isPressing||(this.removeEndListeners(),this.removeEndListeners=tD(this.node.current,"keyup",t=>{"Enter"===t.key&&this.checkPressEnd()&&tX("up",(t,e)=>{let{onTap:r}=this.node.getProps();r&&tR.Wi.update(()=>r(t,e))})}),tX("down",(t,e)=>{this.startPress(t,e)}))}),e=tD(this.node.current,"blur",()=>{this.isPressing&&tX("cancel",(t,e)=>this.cancelPress(t,e))});this.removeAccessibleListeners=tB(t,e)}}startPress(t,e){this.isPressing=!0;let{onTapStart:r,whileTap:n}=this.node.getProps();n&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),r&&tR.Wi.update(()=>r(t,e))}checkPressEnd(){return this.removeEndListeners(),this.isPressing=!1,this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!tU()}cancelPress(t,e){if(!this.checkPressEnd())return;let{onTapCancel:r}=this.node.getProps();r&&tR.Wi.update(()=>r(t,e))}mount(){let t=this.node.getProps(),e=tF(t.globalTapTarget?window:this.node.current,"pointerdown",this.startPointerPress,{passive:!(t.onTapStart||t.onPointerStart)}),r=tD(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=tB(e,r)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}let tJ=new WeakMap,tQ=new WeakMap,t0=t=>{let e=tJ.get(t.target);e&&e(t)}
9,t1=t=>{t.forEach(t0)},t2={some:0,all:1};class t5 extends tz{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();let{viewport:t={}}=this.node.getProps(),{root:e,margin:r,amount:n="some",once:i}=t,s={root:e?e.current:void 0,rootMargin:r,threshold:"number"==typeof n?n:t2[n]};return function(t,e,r){let n=function({root:t,...e}){let r=t||document;tQ.has(r)||tQ.set(r,{});let n=tQ.get(r),i=JSON.stringify(e);return n[i]||(n[i]=new IntersectionObserver(t1,{root:t,...e})),n[i]}(e);return tJ.set(t,r),n.observe(t),()=>{tJ.delete(t),n.unobserve(t)}}(this.node.current,s,t=>{let{isIntersecting:e}=t;if(this.isInView===e||(this.isInView=e,i&&!e&&this.hasEnteredView))return;e&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",e);let{onViewportEnter:r,onViewportLeave:n}=this.node.getProps(),s=e?r:n;s&&s(t)})}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;let{props:t,prevProps:e}=this.node;["amount","margin","root"].some(function({viewport:t={}},{viewport:e={}}={}){return r=>t[r]!==e[r]}(t,e))&&this.startObserver()}unmount(){}}function t3(t,e){if(!Array.isArray(e))return!1;let r=e.length;if(r!==t.length)return!1;for(let n=0;n<r;n++)if(e[n]!==t[n])return!1;return!0}function t4(t,e,r){let n=t.getProps();return tS(n,e,void 0!==r?r:n.custom,function(t){let e={};return t.values.forEach((t,r)=>e[r]=t.get()),e}(t),function(t){let e={};return t.values.forEach((t,r)=>e[r]=t.getVelocity()),e}(t))}var t9=r(5487);let t6=t=>1e3*t,t7=t=>t/1e3,t8={current:!1},et=t=>Array.isArray(t)&&"number"==typeof t[0],ee=([t,e,r,n])=>`cubic-bezier(${t}, ${e}, ${r}, ${n})`,er={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:ee([0,.65,.55,1]),circOut:ee([.55,0,1,.45]),backIn:ee([.31,.01,.66,-.59]),backOut:ee([.33,1.53,.69,.99])},en=(t,e,r)=>(((1-3*r+3*e)*t+(3*r-6*e))*t+3*e)*t;function ei(t,e,r,n){if(t===e&&r===n)return tq.Z;let i=e=>(function(t,e,r,n,i){let s,o;let a=0;do(s=en(o=e+(r-e)/2,n,i)-t)>0?r=o:e=o;while(Math.abs(s)>1e-7&&++a<12);return o})(e,0,1,t,r);return t=>0===t||1===t?t:en(i(t),e,n)}let es=ei(.42,0,1,1),eo=ei(0,0,.58,1),ea=ei(.42,0,.58,1),el=t=>Array.isArray(t)&&"number"!=typeof t[0],eu=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2,ec=t=>e=>1-t(1-e),eh=t=>1-Math.sin(Math.acos(t)),ed=ec(eh),ep=eu(eh),ef=ei(.33,1.53,.69,.99),em=ec(ef),eg=eu(em),ev={linear:tq.Z,easeIn:es,easeInOut:ea,easeOut:eo,circIn:eh,circInOut:ep,circOut:ed,backIn:em,backInOut:eg,backOut:ef,anticipate:t=>(t*=2)<1?.5*em(t):.5*(2-Math.pow(2,-10*(t-1)))},ey=t=>{if(Array.isArray(t)){(0,t9.k)(4===t.length,"Cubic bezier arrays must contain four numerical values.");let[e,r,n,i]=t;return ei(e,r,n,i)}return"string"==typeof t?((0,t9.k)(void 0!==ev[t],`Invalid easing type '${t}'`),ev[t]):t},eb=(t,e)=>r=>!!(q(r)&&Y.test(r)&&r.startsWith(t)||e&&Object.prototype.hasOwnProperty.call(r,e)),ex=(t,e,r)=>n=>{if(!q(n))return n;let[i,s,o,a]=n.match(Z);return{[t]:parseFloat(i),[e]:parseFloat(s),[r]:parseFloat(o),alpha:void 0!==a?parseFloat(a):1}},ew=t=>W(0,255,t),eS={..._,transform:t=>Math.round(ew(t))},eP={test:eb("rgb","red"),parse:ex("red","green","blue"),transform:({red:t,green:e,blue:r,alpha:n=1})=>"rgba("+eS.transform(t)+", "+eS.transform(e)+", "+eS.transform(r)+", "+H(U.transform(n))+")"},eA={test:eb("#"),parse:function(t){let e="",r="",n="",i="";return t.length>5?(e=t.substring(1,3),r=t.substring(3,5),n=t.substring(5,7),i=t.substring(7,9)):(e=t.substring(1,2),r=t.substring(2,3),n=t.substring(3,4),i=t.substring(4,5),e+=e,r+=r,n+=n,i+=i),{red:parseInt(e,16),green:parseInt(r,16),blue:parseInt(n,16),alpha:i?parseInt(i,16)/255:1}},transform:eP.transform},ek={test:eb("hsl","hue"),parse:ex("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:r,alpha:n=1})=>"hsla("+Math.round(t)+", "+J.transform(H(e))+", "+J.transform(H(r))+", "+H(U.transform(n))+")"},eC={test:t=>eP.test(t)||eA.test(t)||ek.test(t),parse:t=>eP.test(t)?eP.parse(t):ek.test(t)?ek.parse(t):eA.parse(t),transform:t=>q(t)?t:t.hasOwnProperty("red")?eP.transform(t):ek.transform(t)},eT=(t,e,r)=>
9-r*t+r*e+t;function eE(t,e,r){return(r<0&&(r+=1),r>1&&(r-=1),r<1/6)?t+(e-t)*6*r:r<.5?e:r<2/3?t+(e-t)*(2/3-r)*6:t}let eR=(t,e,r)=>{let n=t*t;return Math.sqrt(Math.max(0,r*(e*e-n)+n))},eV=[eA,eP,ek],eM=t=>eV.find(e=>e.test(t));function eD(t){let e=eM(t);(0,t9.k)(!!e,`'${t}' is not an animatable color. Use the equivalent color code instead.`);let r=e.parse(t);return e===ek&&(r=function({hue:t,saturation:e,lightness:r,alpha:n}){t/=360,r/=100;let i=0,s=0,o=0;if(e/=100){let n=r<.5?r*(1+e):r+e-r*e,a=2*r-n;i=eE(a,n,t+1/3),s=eE(a,n,t),o=eE(a,n,t-1/3)}else i=s=o=r;return{red:Math.round(255*i),green:Math.round(255*s),blue:Math.round(255*o),alpha:n}}(r)),r}let ej=(t,e)=>{let r=eD(t),n=eD(e),i={...r};return t=>(i.red=eR(r.red,n.red,t),i.green=eR(r.green,n.green,t),i.blue=eR(r.blue,n.blue,t),i.alpha=eT(r.alpha,n.alpha,t),eP.transform(i))},eL={regex:/var\s*\(\s*--[\w-]+(\s*,\s*(?:(?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)+)?\s*\)/g,countKey:"Vars",token:"${v}",parse:tq.Z},eO={regex:G,countKey:"Colors",token:"${c}",parse:eC.parse},eF={regex:Z,countKey:"Numbers",token:"${n}",parse:_.parse};function eI(t,{regex:e,countKey:r,token:n,parse:i}){let s=t.tokenised.match(e);s&&(t["num"+r]=s.length,t.tokenised=t.tokenised.replace(e,n),t.values.push(...s.map(i)))}function eB(t){let e=t.toString(),r={value:e,tokenised:e,values:[],numVars:0,numColors:0,numNumbers:0};return r.value.includes("var(--")&&eI(r,eL),eI(r,eO),eI(r,eF),r}function e$(t){return eB(t).values}function eN(t){let{values:e,numColors:r,numVars:n,tokenised:i}=eB(t),s=e.length;return t=>{let e=i;for(let i=0;i<s;i++)e=i<n?e.replace(eL.token,t[i]):i<n+r?e.replace(eO.token,eC.transform(t[i])):e.replace(eF.token,H(t[i]));return e}}let eW=t=>"number"==typeof t?0:t,e_={test:function(t){var e,r;return isNaN(t)&&q(t)&&((null===(e=t.match(Z))||void 0===e?void 0:e.length)||0)+((null===(r=t.match(G))||void 0===r?void 0:r.length)||0)>0},parse:e$,createTransformer:eN,getAnimatableNone:function(t){let e=e$(t);return eN(t)(e.map(eW))}},eU=(t,e)=>r=>`${r>0?e:t}`;function ez(t,e){return"number"==typeof t?r=>eT(t,e,r):eC.test(t)?ej(t,e):t.startsWith("var(")?eU(t,e):eG(t,e)}let eH=(t,e)=>{let r=[...t],n=r.length,i=t.map((t,r)=>ez(t,e[r]));return t=>{for(let e=0;e<n;e++)r[e]=i[e](t);return r}},eZ=(t,e)=>{let r={...t,...e},n={};for(let i in r)void 0!==t[i]&&void 0!==e[i]&&(n[i]=ez(t[i],e[i]));return t=>{for(let e in n)r[e]=n[e](t);return r}},eG=(t,e)=>{let r=e_.createTransformer(e),n=eB(t),i=eB(e);return n.numVars===i.numVars&&n.numColors===i.numColors&&n.numNumbers>=i.numNumbers?tB(eH(n.values,i.values),r):((0,t9.K)(!0,`Complex values '${t}' and '${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.`),eU(t,e))},eY=(t,e,r)=>{let n=e-t;return 0===n?1:(r-t)/n},eq=(t,e)=>r=>eT(t,e,r);function eX(t,e,{clamp:r=!0,ease:n,mixer:i}={}){let s=t.length;if((0,t9.k)(s===e.length,"Both input and output ranges must be the same length"),1===s)return()=>e[0];t[0]>t[s-1]&&(t=[...t].reverse(),e=[...e].reverse());let o=function(t,e,r){let n=[],i=r||function(t){if("number"==typeof t);else if("string"==typeof t)return eC.test(t)?ej:eG;else if(Array.isArray(t))return eH;else if("object"==typeof t)return eZ;return eq}(t[0]),s=t.length-1;for(let r=0;r<s;r++){let s=i(t[r],t[r+1]);e&&(s=tB(Array.isArray(e)?e[r]||tq.Z:e,s)),n.push(s)}return n}(e,n,i),a=o.length,l=e=>{let r=0;if(a>1)for(;r<t.length-2&&!(e<t[r+1]);r++);let n=eY(t[r],t[r+1],e);return o[r](n)};return r?e=>l(W(t[0],t[s-1],e)):l}function eK({duration:t=300,keyframes:e,times:r,ease:n="easeInOut"}){let i=el(n)?n.map(ey):ey(n),s={done:!1,value:e[0]},o=eX((r&&r.length===e.length?r:function(t){let e=[0];return function(t,e){let r=t[t.length-1];for(let n=1;n<=e;n++){let i=eY(0,e,n);t.push(eT(r,1,i))}}(e,t.length-1),e}(e)).map(e=>e*t),e,{ease:Array.isArray(i)?i:e.map(()=>i||ea).splice(0,e.length-1)});return{calculatedDuration:t,next:e=>(s.value=o(e),s.done=e>=t,s)}}function eJ(t,e,r){var n,i;let s=Math.max(e-5,0);return n=r-t(s),(i=e-s)?1e3/i*n:0}function eQ(t,e){return t*Math.sqrt(1-e*e)}let e0=["duration","bounce"],e1=["stiffness","damping","mass"];function e2(t,e){return e.some(e=>void 0!==t[e])}function e5({keyframes:t,restDelta:e,restSpeed:r,...n}){let i;let s=t[0],o=t[t.length-1],a={done:!1,value:s},{stiffness:l,damping:u,mass:c,duration:h,velocity:d,isResolvedFromDuration:p}=function(t){let e={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...t};if(!e2(t,e1)&&e2(t,e0)){let r=function({duration:t=800,bounce:e=.25,velocity:r=0,mass:n=1}){let i,s;(0,t9.K)(t<=t6(10),"Spring duration must be 10 seconds or less");let o=1-e;o=W(.05,1,o),t=W(.01,10,t7(t)),o<1?(i=e=>{let n=e*o,i=n*t;return .001-(n-r)/eQ(e,o)*Math.exp(-i)},s=e=>{let n=e*o*t,s=Math.pow(o,2)*Math.pow(e,2)*t,a=eQ(Math.pow(e,2),o);return(n*r+r-s)*Math.exp(-n)*(-i(e)+.001>0?-1:1)/a}):(i=e=>-.001+Math.exp(-e*t)*((e-r)*t+1),s=e=>t*t*(r-e)*Math.exp(-e*t));let a=function(t,e,r){let n=r;for(let r=1;r<12;r++)n-=t(n)/e(n);return n}(i,s,5/t);if(t=t6(t),isNaN(a))return{stiffness:100,damping:10,duration:t};{let e=Math.pow(a,2)*n;return{stiffness:e,damping:2*o*Math.sqrt(n*e),duration:t}}}(t);(e={...e,...r,mass:1}).isResolvedFromDuration=!0}return e}({...n,velocity:-t7(n.velocity||0)}),f=d||0,m=u/(2*Math.sqrt(l*c)),g=o-s,v=t7(Math.sqrt(l/c)),y=5>Math.abs(g);if(r||(r=y?.01:2),e||(e=y?.005:.5),m<1){let t=eQ(v,m);i=e=>o-Math.exp(-m*v*e)*((f+m*v*g)/t*Math.sin(t*e)+g*Math.cos(t*e))}else if(1===m)i=t=>o-Math.exp(-v*t)*(g+(f+v*g)*t);else{let t=v*Math.sqrt(m*m-1);i=e=>{let r=Math.exp(-m*v*e),n=Math.min(t*e,300);return o-r*((f+m*v*g)*Math.sinh(n)+t*g*Math.cosh(n))/t}}
9return{calculatedDuration:p&&h||null,next:t=>{let n=i(t);if(p)a.done=t>=h;else{let s=f;0!==t&&(s=m<1?eJ(i,t,n):0);let l=Math.abs(s)<=r,u=Math.abs(o-n)<=e;a.done=l&&u}return a.value=a.done?o:n,a}}}function e3({keyframes:t,velocity:e=0,power:r=.8,timeConstant:n=325,bounceDamping:i=10,bounceStiffness:s=500,modifyTarget:o,min:a,max:l,restDelta:u=.5,restSpeed:c}){let h,d;let p=t[0],f={done:!1,value:p},m=t=>void 0!==a&&t<a||void 0!==l&&t>l,g=t=>void 0===a?l:void 0===l?a:Math.abs(a-t)<Math.abs(l-t)?a:l,v=r*e,y=p+v,b=void 0===o?y:o(y);b!==y&&(v=b-p);let x=t=>-v*Math.exp(-t/n),w=t=>b+x(t),S=t=>{let e=x(t),r=w(t);f.done=Math.abs(e)<=u,f.value=f.done?b:r},P=t=>{m(f.value)&&(h=t,d=e5({keyframes:[f.value,g(f.value)],velocity:eJ(w,t,f.value),damping:i,stiffness:s,restDelta:u,restSpeed:c}))};return P(0),{calculatedDuration:null,next:t=>{let e=!1;return(d||void 0!==h||(e=!0,S(t),P(t)),void 0!==h&&t>h)?d.next(t-h):(e||S(t),f)}}}let e4=t=>{let e=({timestamp:e})=>t(e);return{start:()=>tR.Wi.update(e,!0),stop:()=>(0,tR.Pn)(e),now:()=>tR.frameData.isProcessing?tR.frameData.timestamp:performance.now()}};function e9(t){let e=0,r=t.next(e);for(;!r.done&&e<2e4;)e+=50,r=t.next(e);return e>=2e4?1/0:e}let e6={decay:e3,inertia:e3,tween:eK,keyframes:eK,spring:e5};function e7({autoplay:t=!0,delay:e=0,driver:r=e4,keyframes:n,type:i="keyframes",repeat:s=0,repeatDelay:o=0,repeatType:a="loop",onPlay:l,onStop:u,onComplete:c,onUpdate:h,...d}){let p,f,m,g,v,y=1,b=!1,x=()=>{f=new Promise(t=>{p=t})};x();let w=e6[i]||eK;w!==eK&&"number"!=typeof n[0]&&(g=eX([0,100],n,{clamp:!1}),n=[0,100]);let S=w({...d,keyframes:n});"mirror"===a&&(v=w({...d,keyframes:[...n].reverse(),velocity:-(d.velocity||0)}));let P="idle",A=null,k=null,C=null;null===S.calculatedDuration&&s&&(S.calculatedDuration=e9(S));let{calculatedDuration:T}=S,E=1/0,R=1/0;null!==T&&(R=(E=T+o)*(s+1)-o);let V=0,M=t=>{if(null===k)return;y>0&&(k=Math.min(k,t)),y<0&&(k=Math.min(t-R/y,k));let r=(V=null!==A?A:Math.round(t-k)*y)-e*(y>=0?1:-1),i=y>=0?r<0:r>R;V=Math.max(r,0),"finished"===P&&null===A&&(V=R);let l=V,u=S;if(s){let t=Math.min(V,R)/E,e=Math.floor(t),r=t%1;!r&&t>=1&&(r=1),1===r&&e--,(e=Math.min(e,s+1))%2&&("reverse"===a?(r=1-r,o&&(r-=o/E)):"mirror"===a&&(u=v)),l=W(0,1,r)*E}let c=i?{done:!1,value:n[0]}:u.next(l);g&&(c.value=g(c.value));let{done:d}=c;i||null===T||(d=y>=0?V>=R:V<=0);let p=null===A&&("finished"===P||"running"===P&&d);return h&&h(c.value),p&&L(),c},D=()=>{m&&m.stop(),m=void 0},j=()=>{P="idle",D(),p(),x(),k=C=null},L=()=>{P="finished",c&&c(),D(),p()},O=()=>{if(b)return;m||(m=r(M));let t=m.now();l&&l(),null!==A?k=t-A:k&&"finished"!==P||(k=t),"finished"===P&&x(),C=k,A=null,P="running",m.start()};t&&O();let F={then:(t,e)=>f.then(t,e),get time(){return t7(V)},set time(newTime){V=newTime=t6(newTime),null===A&&m&&0!==y?k=m.now()-newTime/y:A=newTime},get duration(){return t7(null===S.calculatedDuration?e9(S):S.calculatedDuration)},get speed(){return y},set speed(newSpeed){if(newSpeed===y||!m)return;y=newSpeed,F.time=t7(V)},get state(){return P},play:O,pause:()=>{P="paused",A=V},stop:()=>{b=!0,"idle"!==P&&(P="idle",u&&u(),j())},cancel:()=>{null!==C&&M(C),j()},complete:()=>{P="finished"},sample:t=>(k=0,M(t))};return F}let e8=(s=()=>Object.hasOwnProperty.call(Element.prototype,"animate"),()=>(void 0===n&&(n=s()),n)),rt=new Set(["opacity","clipPath","filter","transform","backgroundColor"]),re=(t,e)=>"spring"===e.type||"backgroundColor"===t||!function t(e){return!!(!e||"string"==typeof e&&er[e]||et(e)||Array.isArray(e)&&e.every(t))}(e.ease),rr={type:"spring",stiffness:500,damping:25,restSpeed:10},rn=t=>({type:"spring",stiffness:550,damping:0===t?2*Math.sqrt(550):30,restSpeed:10}),ri={type:"keyframes",duration:.8},rs={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},ro=(t,{keyframes:e})=>e.length>2?ri:D.has(t)?t.startsWith("scale")?rn(e[1]):rr:rs,ra=(t,e)=>"zIndex"!==t&&!!("number"==typeof e||Array.isArray(e)||"string"==typeof e&&(e_.test(e)||"0"===e)&&!e.startsWith("url(")),rl=new Set(["brightness","contrast","saturate","opacity"]);function ru(t){let[e,r]=t.slice(0,-1).split("(");if("drop-shadow"===e)return t;let[n]=r.match(Z)||[];if(!n)return t;let i=r.replace(n,""),s=rl.has(e)?1:0;return n!==r&&(s*=100),e+"("+s+i+")"}let rc=/([a-z-]*)\(.*?\)/g,rh={...e_,getAnimatableNone:t=>{let e=t.match(rc);return e?e.map(ru).join(" "):t}},rd={...ti,color:eC,backgroundColor:eC,outlineColor:eC,fill:eC,stroke:eC,borderColor:eC,borderTopColor:eC,borderRightColor:eC,borderBottomColor:eC,borderLeftColor:eC,filter:rh,WebkitFilter:rh},rp=t=>rd[t];function rf(t,e){let r=rp(t);return r!==rh&&(r=e_),r.getAnimatableNone?r.getAnimatableNone(e):void 0}let rm=t=>/^0[^.\s]+$/.test(t);function rg(t,e){return t[e]||t.default||t}let rv={skipAnimations:!1},ry=(t,e,r,n={})=>i=>{let s=rg(n,t)||{},o=s.delay||n.delay||0,{elapsed:a=0}=n;a-=t6(o);let l=function(t,e,r,n){let i,s;let o=ra(e,r);i=Array.isArray(r)?[...r]:[null,r];let a=void 0!==n.from?n.from:t.get(),l=[];for(let t=0;t<i.length;t++){var u;null===i[t]&&(i[t]=0===t?a:i[t-1]),("number"==typeof(u=i[t])?0===u:null!==u?"none"===u||"0"===u||rm(u):void 0)&&l.push(t),"string"==typeof i[t]&&"none"!==i[t]&&"0"!==i[t]&&(s=i[t])}if(o&&l.length&&s)for(let t=0;t<l.length;t++)i[l[t]]=rf(e,s);return i}(e,t,r,s),u=l[0],c=l[l.length-1],h=ra(t,u),d=ra(t,c);(0,t9.K)(h===d,`You are trying to animate ${t} from "${u}" to "${c}". ${u} is not an animatable value - to enable this animation set ${u} to a value animatable to ${c} via the \`style\` property.`);let p={keyframes:l,velocity:e.getVelocity(),ease:"easeOut",...s,delay:-a,onUpdate:t=>
9{e.set(t),s.onUpdate&&s.onUpdate(t)},onComplete:()=>{i(),s.onComplete&&s.onComplete()}};if(!function({when:t,delay:e,delayChildren:r,staggerChildren:n,staggerDirection:i,repeat:s,repeatType:o,repeatDelay:a,from:l,elapsed:u,...c}){return!!Object.keys(c).length}(s)&&(p={...p,...ro(t,p)}),p.duration&&(p.duration=t6(p.duration)),p.repeatDelay&&(p.repeatDelay=t6(p.repeatDelay)),!h||!d||t8.current||!1===s.type||rv.skipAnimations)return function({keyframes:t,delay:e,onUpdate:r,onComplete:n}){let i=()=>(r&&r(t[t.length-1]),n&&n(),{time:0,speed:1,duration:0,play:tq.Z,pause:tq.Z,stop:tq.Z,then:t=>(t(),Promise.resolve()),cancel:tq.Z,complete:tq.Z});return e?e7({keyframes:[0,1],duration:0,delay:e,onComplete:i}):i()}(t8.current?{...p,delay:0}:p);if(!n.isHandoff&&e.owner&&e.owner.current instanceof HTMLElement&&!e.owner.getProps().onUpdate){let r=function(t,e,{onUpdate:r,onComplete:n,...i}){let s,o;if(!(e8()&&rt.has(e)&&!i.repeatDelay&&"mirror"!==i.repeatType&&0!==i.damping&&"inertia"!==i.type))return!1;let a=!1,l=!1,u=()=>{o=new Promise(t=>{s=t})};u();let{keyframes:c,duration:h=300,ease:d,times:p}=i;if(re(e,i)){let t=e7({...i,repeat:0,delay:0}),e={done:!1,value:c[0]},r=[],n=0;for(;!e.done&&n<2e4;)e=t.sample(n),r.push(e.value),n+=10;p=void 0,c=r,h=n-10,d="linear"}let f=function(t,e,r,{delay:n=0,duration:i,repeat:s=0,repeatType:o="loop",ease:a,times:l}={}){let u={[e]:r};l&&(u.offset=l);let c=function t(e){if(e)return et(e)?ee(e):Array.isArray(e)?e.map(t):er[e]}(a);return Array.isArray(c)&&(u.easing=c),t.animate(u,{delay:n,duration:i,easing:Array.isArray(c)?"linear":c,fill:"both",iterations:s+1,direction:"reverse"===o?"alternate":"normal"})}(t.owner.current,e,c,{...i,duration:h,ease:d,times:p}),m=()=>{l=!1,f.cancel()},g=()=>{l=!0,tR.Wi.update(m),s(),u()};return f.onfinish=()=>{l||(t.set(function(t,{repeat:e,repeatType:r="loop"}){let n=e&&"loop"!==r&&e%2==1?0:t.length-1;return t[n]}(c,i)),n&&n(),g())},{then:(t,e)=>o.then(t,e),attachTimeline:t=>(f.timeline=t,f.onfinish=null,tq.Z),get time(){return t7(f.currentTime||0)},set time(newTime){f.currentTime=t6(newTime)},get speed(){return f.playbackRate},set speed(newSpeed){f.playbackRate=newSpeed},get duration(){return t7(h)},play:()=>{a||(f.play(),(0,tR.Pn)(m))},pause:()=>f.pause(),stop:()=>{if(a=!0,"idle"===f.playState)return;let{currentTime:e}=f;if(e){let r=e7({...i,autoplay:!1});t.setWithVelocity(r.sample(e-10).value,r.sample(e).value,10)}g()},complete:()=>{l||f.finish()},cancel:g}}(e,t,p);if(r)return r}return e7(p)};function rb(t){return!!(L(t)&&t.add)}let rx=t=>/^\-?\d*\.?\d+$/.test(t);function rw(t,e){-1===t.indexOf(e)&&t.push(e)}function rS(t,e){let r=t.indexOf(e);r>-1&&t.splice(r,1)}class rP{constructor(){this.subscriptions=[]}add(t){return rw(this.subscriptions,t),()=>rS(this.subscriptions,t)}notify(t,e,r){let n=this.subscriptions.length;if(n){if(1===n)this.subscriptions[0](t,e,r);else for(let i=0;i<n;i++){let n=this.subscriptions[i];n&&n(t,e,r)}}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}let rA=t=>!isNaN(parseFloat(t)),rk={current:void 0};class rC{constructor(t,e={}){this.version="10.18.0",this.timeDelta=0,this.lastUpdated=0,this.canTrackVelocity=!1,this.events={},this.updateAndNotify=(t,e=!0)=>{this.prev=this.current,this.current=t;let{delta:r,timestamp:n}=tR.frameData;this.lastUpdated!==n&&(this.timeDelta=r,this.lastUpdated=n,tR.Wi.postRender(this.scheduleVelocityCheck)),this.prev!==this.current&&this.events.change&&this.events.change.notify(this.current),this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()),e&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.scheduleVelocityCheck=()=>tR.Wi.postRender(this.velocityCheck),this.velocityCheck=({timestamp:t})=>{t!==this.lastUpdated&&(this.prev=this.current,this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=t,this.canTrackVelocity=rA(this.current),this.owner=e.owner}onChange(t){return this.on("change",t)}on(t,e){this.events[t]||(this.events[t]=new rP);let r=this.events[t].add(e);return"change"===t?()=>{r(),tR.Wi.read(()=>{this.events.change.getSize()||this.stop()})}:r}clearListeners(){for(let t in this.events)this.events[t].clear()}attach(t,e){this.passiveEffect=t,this.stopPassiveEffect=e}set(t,e=!0){e&&this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t,e)}setWithVelocity(t,e,r){this.set(e),this.prev=t,this.timeDelta=r}jump(t){this.updateAndNotify(t),this.prev=t,this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return rk.current&&rk.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){var t,e;return this.canTrackVelocity?(t=parseFloat(this.current)-parseFloat(this.prev),(e=this.timeDelta)?1e3/e*t:0):0}start(t){return this.stop(),new Promise(e=>{this.hasAnimated=!0,this.animation=t(e),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function rT(t,e){return new rC(t,e)}let rE=t=>e=>e.test(t),rR=[_,Q,J,K,te,tt,{test:t=>"auto"===t,parse:t=>t}],rV=t=>rR.find(rE(t)),rM=[...rR,eC,e_],rD=t=>rM.find(rE(t));function rj(t,e,{delay:r=0,transitionOverride:n,type:i}={}){let{transition:s=t.getDefaultTransition(),transitionEnd:o,...a}=t.makeTargetAnimatable(e),l=t.getValue("willChange");n&&(s=n);let u=[],c=i&&t.animationState&&t.animationState.getState()[i];for(let e in a){let n=t.getValue(e),i=a[e];if(!n||void 0===i||c&&function({protectedKeys:t,needsAnimating:e},r){let n=t.hasOwnProperty(r)&&!0!==e[r];return e[r]=!1,n}(c,e))continue;let o={delay:r,elapsed:0,...rg(s||{},e)};if(window.HandoffAppearAnimations){let r=t.getProps()[p];if(r){let t=window.HandoffAppearAnimations(r,e,n,tR.Wi);null!==t&&(o.elapsed=t,o.isHandoff=!0)}}let h=!o.isHandoff&&!function(t,e){let r=t.get();if(!Array.isArray(e))return r!==e;for(let t=0;t<e.length;t++)if(e[t]!==r)return!0}(n,i);if("spring"===o.type&&(n.getVelocity()||o.velocity)&&(h=!1),n.animation&&(h=!1),h)continue;n.start(ry(e,n,i,t.shouldReduceMotion&&D.has(e)?{type:!1}:o));let d=n.animation;rb(l)&&(l.add(e),d.then(()=>l.remove(e))),u.push(d)}return o&&Promise.all(u).then(()=>{o&&function(t,e){let r=t4(t,e),{transitionEnd:n={},transition:i={},...s}=r?t.makeTargetAnimatable(r,!1):{};for(let e in s={...s,...n}){let r=tC(s[e]);t.hasValue(e)?t.getValue(e).set(r):t.addValue(e,rT(r))}}(t,o)}),u}function rL(t,e,r={}){let n=t4(t,e,r.custom),{transition:i=t.getDefaultTransition()||{}}=n||{};r.transitionOverride&&(i=r.transitionOverride);let s=n?()=>
9Promise.all(rj(t,n,r)):()=>Promise.resolve(),o=t.variantChildren&&t.variantChildren.size?(n=0)=>{let{delayChildren:s=0,staggerChildren:o,staggerDirection:a}=i;return function(t,e,r=0,n=0,i=1,s){let o=[],a=(t.variantChildren.size-1)*n,l=1===i?(t=0)=>t*n:(t=0)=>a-t*n;return Array.from(t.variantChildren).sort(rO).forEach((t,n)=>{t.notify("AnimationStart",e),o.push(rL(t,e,{...s,delay:r+l(n)}).then(()=>t.notify("AnimationComplete",e)))}),Promise.all(o)}(t,e,s+n,o,a,r)}:()=>Promise.resolve(),{when:a}=i;if(!a)return Promise.all([s(),o(r.delay)]);{let[t,e]="beforeChildren"===a?[s,o]:[o,s];return t().then(()=>e())}}function rO(t,e){return t.sortNodePosition(e)}let rF=[...v].reverse(),rI=v.length;function rB(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}class r$ extends tz{constructor(t){super(t),t.animationState||(t.animationState=function(t){let e=e=>Promise.all(e.map(({animation:e,options:r})=>(function(t,e,r={}){let n;if(t.notify("AnimationStart",e),Array.isArray(e))n=Promise.all(e.map(e=>rL(t,e,r)));else if("string"==typeof e)n=rL(t,e,r);else{let i="function"==typeof e?t4(t,e,r.custom):e;n=Promise.all(rj(t,i,r))}return n.then(()=>t.notify("AnimationComplete",e))})(t,e,r))),r={animate:rB(!0),whileInView:rB(),whileHover:rB(),whileTap:rB(),whileDrag:rB(),whileFocus:rB(),exit:rB()},n=!0,i=(e,r)=>{let n=t4(t,r);if(n){let{transition:t,transitionEnd:r,...i}=n;e={...e,...i,...r}}return e};function s(s,o){let a=t.getProps(),l=t.getVariantContext(!0)||{},u=[],c=new Set,h={},d=1/0;for(let e=0;e<rI;e++){var p;let f=rF[e],v=r[f],y=void 0!==a[f]?a[f]:l[f],b=m(y),x=f===o?v.isActive:null;!1===x&&(d=e);let w=y===l[f]&&y!==a[f]&&b;if(w&&n&&t.manuallyAnimateOnMount&&(w=!1),v.protectedKeys={...h},!v.isActive&&null===x||!y&&!v.prevProp||g(y)||"boolean"==typeof y)continue;let S=(p=v.prevProp,("string"==typeof y?y!==p:!!Array.isArray(y)&&!t3(y,p))||f===o&&v.isActive&&!w&&b||e>d&&b),P=!1,A=Array.isArray(y)?y:[y],k=A.reduce(i,{});!1===x&&(k={});let{prevResolvedValues:C={}}=v,T={...C,...k},E=t=>{S=!0,c.has(t)&&(P=!0,c.delete(t)),v.needsAnimating[t]=!0};for(let t in T){let e=k[t],r=C[t];if(!h.hasOwnProperty(t))(tA(e)&&tA(r)?t3(e,r):e===r)?void 0!==e&&c.has(t)?E(t):v.protectedKeys[t]=!0:void 0!==e?E(t):c.add(t)}v.prevProp=y,v.prevResolvedValues=k,v.isActive&&(h={...h,...k}),n&&t.blockInitialAnimation&&(S=!1),S&&(!w||P)&&u.push(...A.map(t=>({animation:t,options:{type:f,...s}})))}if(c.size){let e={};
9c.forEach(r=>{let n=t.getBaseTarget(r);void 0!==n&&(e[r]=n)}),u.push({animation:e})}let f=!!u.length;return n&&(!1===a.initial||a.initial===a.animate)&&!t.manuallyAnimateOnMount&&(f=!1),n=!1,f?e(u):Promise.resolve()}return{animateChanges:s,setActive:function(e,n,i){var o;if(r[e].isActive===n)return Promise.resolve();null===(o=t.variantChildren)||void 0===o||o.forEach(t=>{var r;return null===(r=t.animationState)||void 0===r?void 0:r.setActive(e,n)}),r[e].isActive=n;let a=s(i,e);for(let t in r)r[t].protectedKeys={};return a},setAnimateFunction:function(r){e=r(t)},getState:()=>r}}(t))}updateAnimationControlsSubscription(){let{animate:t}=this.node.getProps();this.unmount(),g(t)&&(this.unmount=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:t}=this.node.getProps(),{animate:e}=this.node.prevProps||{};t!==e&&this.updateAnimationControlsSubscription()}unmount(){}}let rN=0;class rW extends tz{constructor(){super(...arguments),this.id=rN++}update(){if(!this.node.presenceContext)return;let{isPresent:t,onExitComplete:e,custom:r}=this.node.presenceContext,{isPresent:n}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===n)return;let i=this.node.animationState.setActive("exit",!t,{custom:null!=r?r:this.node.getProps().custom});e&&!t&&i.then(()=>e(this.id))}mount(){let{register:t}=this.node.presenceContext||{};t&&(this.unmount=t(this.id))}unmount(){}}let r_=(t,e)=>Math.abs(t-e);class rU{constructor(t,e,{transformPagePoint:r,contextWindow:n,dragSnapToOrigin:i=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{var t,e;if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let r=rZ(this.lastMoveEventInfo,this.history),n=null!==this.startEvent,i=(t=r.offset,e={x:0,y:0},Math.sqrt(r_(t.x,e.x)**2+r_(t.y,e.y)**2)>=3);if(!n&&!i)return;let{point:s}=r,{timestamp:o}=tR.frameData;this.history.push({...s,timestamp:o});let{onStart:a,onMove:l}=this.handlers;n||(a&&a(this.lastMoveEvent,r),this.startEvent=this.lastMoveEvent),l&&l(this.lastMoveEvent,r)},this.handlePointerMove=(t,e)=>{this.lastMoveEvent=t,this.lastMoveEventInfo=rz(e,this.transformPagePoint),tR.Wi.update(this.updatePoint,!0)},this.handlePointerUp=(t,e)=>{this.end();let{onEnd:r,onSessionEnd:n,resumeAnimation:i}=this.handlers;if(this.dragSnapToOrigin&&i&&i(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let s=rZ("pointercancel"===t.type?this.lastMoveEventInfo:rz(e,this.transformPagePoint),this.history);this.startEvent&&r&&r(t,s),n&&n(t,s)},!tj(t))return;this.dragSnapToOrigin=i,this.handlers=e,this.transformPagePoint=r,this.contextWindow=n||window;let s=rz(tL(t),this.transformPagePoint),{point:o}=s,{timestamp:a}=tR.frameData;this.history=[{...o,timestamp:a}];let{onSessionStart:l}=e;l&&l(t,rZ(s,this.history)),this.removeListeners=tB(tF(this.contextWindow,"pointermove",this.handlePointerMove),tF(this.contextWindow,"pointerup",this.handlePointerUp),tF(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),(0,tR.Pn)(this.updatePoint)}}function rz(t,e){return e?{point:e(t.point)}:t}function rH(t,e){return{x:t.x-e.x,y:t.y-e.y}}function rZ({point:t},e){return{point:t,delta:rH(t,rG(e)),offset:rH(t,e[0]),velocity:function(t,e){if(t.length<2)return{x:0,y:0};let r=t.length-1,n=null,i=rG(t);for(;r>=0&&(n=t[r],!(i.timestamp-n.timestamp>t6(.1)));)r--;if(!n)return{x:0,y:0};let s=t7(i.timestamp-n.timestamp);if(0===s)return{x:0,y:0};let o={x:(i.x-n.x)/s,y:(i.y-n.y)/s};return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}(e,0)}}function rG(t){return t[t.length-1]}function rY(t){return t.max-t.min}function rq(t,e=0,r=.01){return Math.abs(t-e)<=r}function rX(t,e,r,n=.5){t.origin=n,t.originPoint=eT(e.min,e.max,t.origin),t.scale=rY(r)/rY(e),(rq(t.scale,1,1e-4)||isNaN(t.scale))&&(t.scale=1),t.translate=eT(r.min,r.max,t.origin)-t.originPoint,(rq(t.translate)||isNaN(t.translate))&&(t.translate=0)}function rK(t,e,r,n){rX(t.x,e.x,r.x,n?n.originX:void 0),rX(t.y,e.y,r.y,n?n.originY:void 0)}function rJ(t,e,r){t.min=r.min+e.min,t.max=t.min+rY(e)}function rQ(t,e,r){t.min=e.min-r.min,t.max=t.min+rY(e)}function r0(t,e,r){rQ(t.x,e.x,r.x),rQ(t.y,e.y,r.y)}function r1(t,e,r){return{min:void 0!==e?t.min+e:void 0,max:void 0!==r?t.max+r-(t.max-t.min):void 0}}function r2(t,e){let r=e.min-t.min,n=e.max-t.max;return e.max-e.min<t.max-t.min&&([r,n]=[n,r]),{min:r,max:n}}function r5(t,e,r){return{min:r3(t,e),max:r3(t,r)}}function r3(t,e){return"number"==typeof t?t:t[e]||0}let r4=()=>({translate:0,scale:1,origin:0,originPoint:0}),r9=()=>({x:r4(),y:r4()}),r6=()=>({min:0,max:0}),r7=()=>({x:r6(),y:r6()});function r8(t){return[t("x"),t("y")]}function nt({top:t,left:e,right:r,bottom:n}){return{x:{min:e,max:r},y:{min:t,max:n}}}function ne(t){return void 0===t||1===t}function nr({scale:t,scaleX:e,scaleY:r}){return!ne(t)||!ne(e)||!ne(r)}function nn(t){return nr(t)||ni(t)||t.z||t.rotate||t.rotateX||t.rotateY}function ni(t){var e,r;return(e=t.x)&&"0%"!==e||(r=t.y)&&"0%"!==r}function ns(t,e,r,n,i){return void 0!==i&&(t=n+i*(t-n)),n+r*(t-n)+e}function no(t,e=0,r=1,n,i){t.min=ns(t.min,e,r,n,i),t.max=ns(t.max,e,r,n,i)}function na(t,{x:e,y:r}){no(t.x,e.translate,e.scale,e.originPoint),no(t.y,r.translate,r.scale,r.originPoint)}function nl(t){return Number.isInteger(t)?t:t>1.0000000000001||t<.999999999999?t:1}function nu(t,e){t.min=t.min+e,t.max=t.max+e}function nc(t,e,[r,n,i]){let s=void 0!==e[i]?e[i]:.5,o=eT(t.min,t.max,s);no(t,e[r],e[n],o,e.scale)}let nh=["x","scaleX","originX"],nd=["y","scaleY","originY"];function np(t,e){nc(t.x,e,nh),nc(t.y,e,nd)}function nf(t,e){return nt(function(t,e){if(!e)return t;let r=e({x:t.left,y:t.top}),n=e({x:t.right,y:t.bottom});return{top:r.y,left:r.x,bottom:n.y,right:n.x}}(t.getBoundingClientRect(),e))}let nm=({current:t})=>t?t.ownerDocument.defaultView:null,ng=new WeakMap;
9class nv{constructor(t){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=r7(),this.visualElement=t}start(t,{snapToCursor:e=!1}={}){let{presenceContext:r}=this.visualElement;if(r&&!1===r.isPresent)return;let{dragSnapToOrigin:n}=this.getProps();this.panSession=new rU(t,{onSessionStart:t=>{let{dragSnapToOrigin:r}=this.getProps();r?this.pauseAnimation():this.stopAnimation(),e&&this.snapToCursor(tL(t,"page").point)},onStart:(t,e)=>{let{drag:r,dragPropagation:n,onDragStart:i}=this.getProps();if(r&&!n&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=t_(r),!this.openGlobalLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),r8(t=>{let e=this.getAxisMotionValue(t).get()||0;if(J.test(e)){let{projection:r}=this.visualElement;if(r&&r.layout){let n=r.layout.layoutBox[t];if(n){let t=rY(n);e=parseFloat(e)/100*t}}}this.originPoint[t]=e}),i&&tR.Wi.update(()=>i(t,e),!1,!0);let{animationState:s}=this.visualElement;s&&s.setActive("whileDrag",!0)},onMove:(t,e)=>{let{dragPropagation:r,dragDirectionLock:n,onDirectionLock:i,onDrag:s}=this.getProps();if(!r&&!this.openGlobalLock)return;let{offset:o}=e;if(n&&null===this.currentDirection){this.currentDirection=function(t,e=10){let r=null;return Math.abs(t.y)>e?r="y":Math.abs(t.x)>e&&(r="x"),r}(o),null!==this.currentDirection&&i&&i(this.currentDirection);return}this.updateAxis("x",e.point,o),this.updateAxis("y",e.point,o),this.visualElement.render(),s&&s(t,e)},onSessionEnd:(t,e)=>this.stop(t,e),resumeAnimation:()=>r8(t=>{var e;return"paused"===this.getAnimationState(t)&&(null===(e=this.getAxisMotionValue(t).animation)||void 0===e?void 0:e.play())})},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:n,contextWindow:nm(this.visualElement)})}stop(t,e){let r=this.isDragging;if(this.cancel(),!r)return;let{velocity:n}=e;this.startAnimation(n);let{onDragEnd:i}=this.getProps();i&&tR.Wi.update(()=>i(t,e))}cancel(){this.isDragging=!1;let{projection:t,animationState:e}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;let{dragPropagation:r}=this.getProps();!r&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),e&&e.setActive("whileDrag",!1)}updateAxis(t,e,r){let{drag:n}=this.getProps();if(!r||!ny(t,n,this.currentDirection))return;let i=this.getAxisMotionValue(t),s=this.originPoint[t]+r[t];this.constraints&&this.constraints[t]&&(s=function(t,{min:e,max:r},n){return void 0!==e&&t<e?t=n?eT(e,t,n.min):Math.max(t,e):void 0!==r&&t>r&&(t=n?eT(r,t,n.max):Math.min(t,r)),t}(s,this.constraints[t],this.elastic[t])),i.set(s)}resolveConstraints(){var t;let{dragConstraints:e,dragElastic:r}=this.getProps(),n=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):null===(t=this.visualElement.projection)||void 0===t?void 0:t.layout,i=this.constraints;e&&f(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):e&&n?this.constraints=function(t,{top:e,left:r,bottom:n,right:i}){return{x:r1(t.x,r,i),y:r1(t.y,e,n)}}(n.layoutBox,e):this.constraints=!1,this.elastic=function(t=.35){return!1===t?t=0:!0===t&&(t=.35),{x:r5(t,"left","right"),y:r5(t,"top","bottom")}}(r),i!==this.constraints&&n&&this.constraints&&!this.hasMutatedConstraints&&r8(t=>{this.getAxisMotionValue(t)&&(this.constraints[t]=function(t,e){let r={};return void 0!==e.min&&(r.min=e.min-t.min),void 0!==e.max&&(r.max=e.max-t.min),r}(n.layoutBox[t],this.constraints[t]))})}resolveRefConstraints(){var t;let{dragConstraints:e,onMeasureDragConstraints:r}=this.getProps();if(!e||!f(e))return!1;let n=e.current;(0,t9.k)(null!==n,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");let{projection:i}=this.visualElement;if(!i||!i.layout)return!1;let s=function(t,e,r){let n=nf(t,r),{scroll:i}=e;return i&&(nu(n.x,i.offset.x),nu(n.y,i.offset.y)),n}(n,i.root,this.visualElement.getTransformPagePoint()),o={x:r2((t=i.layout.layoutBox).x,s.x),y:r2(t.y,s.y)};if(r){let t=r(function({x:t,y:e}){return{top:e.min,right:t.max,bottom:e.max,left:t.min}}(o));this.hasMutatedConstraints=!!t,t&&(o=nt(t))}return o}startAnimation(t){let{drag:e,dragMomentum:r,dragElastic:n,dragTransition:i,dragSnapToOrigin:s,onDragTransitionEnd:o}=this.getProps(),a=this.constraints||{};return Promise.all(r8(o=>{if(!ny(o,e,this.currentDirection))return;let l=a&&a[o]||{};s&&(l={min:0,max:0});let u={type:"inertia",velocity:r?t[o]:0,bounceStiffness:n?200:1e6,bounceDamping:n?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...i,...l};return this.startAxisValueAnimation(o,u)})).then(o)}startAxisValueAnimation(t,e){let r=this.getAxisMotionValue(t);return r.start(ry(t,r,0,e))}stopAnimation(){r8(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){r8(t=>{var e;return null===(e=this.getAxisMotionValue(t).animation)||void 0===e?void 0:e.pause()})}getAnimationState(t){var e;return null===(e=this.getAxisMotionValue(t).animation)||void 0===e?void 0:e.state}getAxisMotionValue(t){let e="_drag"+t.toUpperCase(),r=this.visualElement.getProps();return r[e]||this.visualElement.getValue(t,(r.initial?r.initial[t]:void 0)||0)}snapToCursor(t){r8(e=>{let{drag:r}=this.getProps();if(!ny(e,r,this.currentDirection))return;let{projection:n}=this.visualElement,i=this.getAxisMotionValue(e);if(n&&n.layout){let{min:r,max:s}=n.layout.layoutBox[e];i.set(t[e]-eT(r,s,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:t,dragConstraints:e}=this.getProps(),{projection:r}=this.visualElement;if(!f(e)||!r||!this.constraints)return;this.stopAnimation();let n={x:0,y:0};r8(t=>{let e=this.getAxisMotionValue(t);if(e){let r=e.get();n[t]=function(t,e){let r=.5,n=rY(t),i=rY(e);return i>n?r=eY(e.min,e.max-n,t.min):n>i&&(r=eY(t.min,t.max-i,e.min)),W(0,1,r)}({min:r,max:r},this.constraints[t])}});let{transformTemplate:i}=this.visualElement.getProps();this.visualElement.current.style.transform=i?i({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.resolveConstraints(),r8(e=>{if(!ny(e,t,null))return;let r=this.getAxisMotionValue(e),{min:i,max:s}=this.constraints[e];r.set(eT(i,s,n[e]))})}addListeners(){if(!this.visualElement.current)return;ng.set(this.visualElement,this);let t=tF(this.visualElement.current,"pointerdown",t=>{let{drag:e,dragListener:r=!0}=this.getProps();e&&r&&this.start(t)}),e=()=>{let{dragConstraints:t}=this.getProps();f(t)&&(this.constraints=this.resolveRefConstraints())},{projection:r}=this.visualElement,n=r.addEventListener("measure",e);r&&!r.layout&&(r.root&&r.root.updateScroll(),r.updateLayout()),e();let i=tD(window,"resize",()=>this.scalePositionWithinConstraints()),s=r.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e})=>{this.isDragging&&e&&(r8(e=>{let r=this.getAxisMotionValue(e);r&&(this.originPoint[e]+=t[e].translate,r.set(r.get()+t[e].translate))}),this.visualElement.render())});return()=>{i(),t(),n(),s&&s()}}getProps(){let t=this.visualElement.getProps(),{drag:e=!1,dragDirectionLock:r=!1,dragPropagation:n=!1,dragConstraints:i=!1,dragElastic:s=.35,dragMomentum:o=!0}=t;return{...t,drag:e,dragDirectionLock:r,dragPropagation:n,dragConstraints:i,dragElastic:s,dragMomentum:o}}}function ny(t,e,r){return(!0===e||e===t)&&(null===r||r===t)}class nb extends tz{constructor(t){super(t),this.removeGroupControls=tq.Z,this.removeListeners=tq.Z,this.controls=new nv(t)}mount(){let{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||tq.Z}unmount(){this.removeGroupControls(),this.removeListeners()}}let nx=t=>(e,r)=>{t&&tR.Wi.update(()=>t(e,r))};
9class nw extends tz{constructor(){super(...arguments),this.removePointerDownListener=tq.Z}onPointerDown(t){this.session=new rU(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:nm(this.node)})}createPanHandlers(){let{onPanSessionStart:t,onPanStart:e,onPan:r,onPanEnd:n}=this.node.getProps();return{onSessionStart:nx(t),onStart:nx(e),onMove:r,onEnd:(t,e)=>{delete this.session,n&&tR.Wi.update(()=>n(t,e))}}}mount(){this.removePointerDownListener=tF(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}let nS={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function nP(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}let nA={correct:(t,e)=>{if(!e.target)return t;if("string"==typeof t){if(!Q.test(t))return t;t=parseFloat(t)}let r=nP(t,e.target.x),n=nP(t,e.target.y);return`${r}% ${n}%`}};class nk extends o.Component{componentDidMount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:r,layoutId:n}=this.props,{projection:i}=t;Object.assign(V,nT),i&&(e.group&&e.group.add(i),r&&r.register&&n&&r.register(i),i.root.didUpdate(),i.addEventListener("animationComplete",()=>{this.safeToRemove()}),i.setOptions({...i.options,onExitComplete:()=>this.safeToRemove()})),nS.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){let{layoutDependency:e,visualElement:r,drag:n,isPresent:i}=this.props,s=r.projection;return s&&(s.isPresent=i,n||t.layoutDependency!==e||void 0===e?s.willUpdate():this.safeToRemove(),t.isPresent===i||(i?s.promote():s.relegate()||tR.Wi.postRender(()=>{let t=s.getStack();t&&t.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),queueMicrotask(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:r}=this.props,{projection:n}=t;n&&(n.scheduleCheckAfterUnmount(),e&&e.group&&e.group.remove(n),r&&r.deregister&&r.deregister(n))}safeToRemove(){let{safeToRemove:t}=this.props;t&&t()}render(){return null}}function nC(t){let[e,r]=function(){let t=(0,o.useContext)(u.O);if(null===t)return[!0,null];let{isPresent:e,onExitComplete:r,register:n}=t,i=(0,o.useId)();return(0,o.useEffect)(()=>n(i),[]),!e&&r?[!1,()=>r&&r(i)]:[!0]}(),n=(0,o.useContext)(k.p);return o.createElement(nk,{...t,layoutGroup:n,switchLayoutGroup:(0,o.useContext)(C),isPresent:e,safeToRemove:r})}let nT={borderRadius:{...nA,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:nA,borderTopRightRadius:nA,borderBottomLeftRadius:nA,borderBottomRightRadius:nA,boxShadow:{correct:(t,{treeScale:e,projectionDelta:r})=>{let n=e_.parse(t);if(n.length>5)return t;let i=e_.createTransformer(t),s="number"!=typeof n[0]?1:0,o=r.x.scale*e.x,a=r.y.scale*e.y;n[0+s]/=o,n[1+s]/=a;let l=eT(o,a,.5);return"number"==typeof n[2+s]&&(n[2+s]/=l),"number"==typeof n[3+s]&&(n[3+s]/=l),i(n)}}},nE=["TopLeft","TopRight","BottomLeft","BottomRight"],nR=nE.length,nV=t=>"string"==typeof t?parseFloat(t):t,nM=t=>"number"==typeof t||Q.test(t);function nD(t,e){return void 0!==t[e]?t[e]:t.borderRadius}let nj=nO(0,.5,ed),nL=nO(.5,.95,tq.Z);function nO(t,e,r){return n=>n<t?0:n>e?1:r(eY(t,e,n))}function nF(t,e){t.min=e.min,t.max=e.max}function nI(t,e){nF(t.x,e.x),nF(t.y,e.y)}function nB(t,e,r,n,i){return t-=e,t=n+1/r*(t-n),void 0!==i&&(t=n+1/i*(t-n)),t}function n$(t,e,[r,n,i],s,o){!function(t,e=0,r=1,n=.5,i,s=t,o=t){if(J.test(e)&&(e=parseFloat(e),e=eT(o.min,o.max,e/100)-o.min),"number"!=typeof e)return;let a=eT(s.min,s.max,n);t===s&&(a-=e),t.min=nB(t.min,e,r,a,i),t.max=nB(t.max,e,r,a,i)}(t,e[r],e[n],e[i],e.scale,s,o)}let nN=["x","scaleX","originX"],nW=["y","scaleY","originY"];function n_(t,e,r,n){n$(t.x,e,nN,r?r.x:void 0,n?n.x:void 0),n$(t.y,e,nW,r?r.y:void 0,n?n.y:void 0)}function nU(t){return 0===t.translate&&1===t.scale}function nz(t){return nU(t.x)&&nU(t.y)}function nH(t,e){return Math.round(t.x.min)===Math.round(e.x.min)&&Math.round(t.x.max)===Math.round(e.x.max)&&Math.round(t.y.min)===Math.round(e.y.min)&&Math.round(t.y.max)===Math.round(e.y.max)}function nZ(t){return rY(t.x)/rY(t.y)}class nG{constructor(){this.members=[]}add(t){rw(this.members,t),t.scheduleRender()}remove(t){if(rS(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){let t=this.members[this.members.length-1];t&&this.promote(t)}
9}relegate(t){let e;let r=this.members.findIndex(e=>t===e);if(0===r)return!1;for(let t=r;t>=0;t--){let r=this.members[t];if(!1!==r.isPresent){e=r;break}}return!!e&&(this.promote(e),!0)}promote(t,e){let r=this.lead;if(t!==r&&(this.prevLead=r,this.lead=t,t.show(),r)){r.instance&&r.scheduleRender(),t.scheduleRender(),t.resumeFrom=r,e&&(t.resumeFrom.preserveOpacity=!0),r.snapshot&&(t.snapshot=r.snapshot,t.snapshot.latestValues=r.animationValues||r.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);let{crossfade:n}=t.options;!1===n&&r.hide()}}exitAnimationComplete(){this.members.forEach(t=>{let{options:e,resumingFrom:r}=t;e.onExitComplete&&e.onExitComplete(),r&&r.options.onExitComplete&&r.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function nY(t,e,r){let n="",i=t.x.translate/e.x,s=t.y.translate/e.y;if((i||s)&&(n=`translate3d(${i}px, ${s}px, 0) `),(1!==e.x||1!==e.y)&&(n+=`scale(${1/e.x}, ${1/e.y}) `),r){let{rotate:t,rotateX:e,rotateY:i}=r;t&&(n+=`rotate(${t}deg) `),e&&(n+=`rotateX(${e}deg) `),i&&(n+=`rotateY(${i}deg) `)}let o=t.x.scale*e.x,a=t.y.scale*e.y;return(1!==o||1!==a)&&(n+=`scale(${o}, ${a})`),n||"none"}let nq=(t,e)=>t.depth-e.depth;class nX{constructor(){this.children=[],this.isDirty=!1}add(t){rw(this.children,t),this.isDirty=!0}remove(t){rS(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(nq),this.isDirty=!1,this.children.forEach(t)}}let nK=["","X","Y","Z"],nJ={visibility:"hidden"},nQ=0,n0={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0};function n1({attachResizeListener:t,defaultParent:e,measureScroll:r,checkIsScrollRoot:n,resetTransform:i}){return class{constructor(t={},r=null==e?void 0:e()){this.id=nQ++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,n0.totalNodes=n0.resolvedTargetDeltas=n0.recalculatedProjection=0,this.nodes.forEach(n3),this.nodes.forEach(ie),this.nodes.forEach(ir),this.nodes.forEach(n4),window.MotionDebug&&window.MotionDebug.record(n0)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=t,this.root=r?r.root||r:this,this.path=r?[...r.path,r]:[],this.parent=r,this.depth=r?r.depth+1:0;for(let t=0;t<this.path.length;t++)this.path[t].shouldResetTransform=!0;this.root===this&&(this.nodes=new nX)}addEventListener(t,e){return this.eventHandlers.has(t)||this.eventHandlers.set(t,new rP),this.eventHandlers.get(t).add(e)}notifyListeners(t,...e){let r=this.eventHandlers.get(t);r&&r.notify(...e)}hasListeners(t){return this.eventHandlers.has(t)}mount(e,r=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=e instanceof SVGElement&&"svg"!==e.tagName,this.instance=e;let{layoutId:n,layout:i,visualElement:s}=this.options;if(s&&!s.current&&s.mount(e),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),r&&(i||n)&&(this.isLayoutDirty=!0),t){let r;let n=()=>this.root.updateBlockedByResize=!1;t(e,()=>{this.root.updateBlockedByResize=!0,r&&r(),r=function(t,e){let r=performance.now(),n=({timestamp:e})=>{let i=e-r;i>=250&&((0,tR.Pn)(n),t(i-250))};return tR.Wi.read(n,!0),()=>(0,tR.Pn)(n)}(n,0),nS.hasAnimatedSinceResize&&(nS.hasAnimatedSinceResize=!1,this.nodes.forEach(it))})}n&&this.root.registerSharedNode(n,this),!1!==this.options.animate&&s&&(n||i)&&this.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e,hasRelativeTargetChanged:r,layout:n})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let i=this.options.transition||s.getDefaultTransition()||iu,{onLayoutAnimationStart:o,onLayoutAnimationComplete:a}=s.getProps(),l=!this.targetLayout||!nH(this.targetLayout,n)||r,u=!e&&r;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||u||e&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(t,u);let e={...rg(i,"layout"),onPlay:o,onComplete:a};(s.shouldReduceMotion||this.options.layoutRoot)&&(e.delay=0,e.type=!1),this.startAnimation(e)}else e||it(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=n})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let t=this.getStack();t&&t.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,(0,tR.Pn)(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){!this.isUpdateBlocked()&&(this.isUpdating=!0,this.nodes&&this.nodes.forEac
9h(ii),this.animationId++)}getTransformTemplate(){let{visualElement:t}=this.options;return t&&t.getProps().transformTemplate}willUpdate(t=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(this.root.isUpdating||this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let t=0;t<this.path.length;t++){let e=this.path[t];e.shouldResetTransform=!0,e.updateScroll("snapshot"),e.options.layoutRoot&&e.willUpdate(!1)}let{layoutId:e,layout:r}=this.options;if(void 0===e&&!r)return;let n=this.getTransformTemplate();this.prevTransformTemplateValue=n?n(this.latestValues,""):void 0,this.updateSnapshot(),t&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(n6);return}this.isUpdating||this.nodes.forEach(n7),this.isUpdating=!1,this.nodes.forEach(n8),this.nodes.forEach(n2),this.nodes.forEach(n5),this.clearAllSnapshots();let t=performance.now();tR.frameData.delta=W(0,1e3/60,t-tR.frameData.timestamp),tR.frameData.timestamp=t,tR.frameData.isProcessing=!0,tR.S6.update.process(tR.frameData),tR.S6.preRender.process(tR.frameData),tR.S6.render.process(tR.frameData),tR.frameData.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,queueMicrotask(()=>this.update()))}clearAllSnapshots(){this.nodes.forEach(n9),this.sharedNodes.forEach(is)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,tR.Wi.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){tR.Wi.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure())}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let t=0;t<this.path.length;t++)this.path[t].updateScroll();let t=this.layout;this.layout=this.measure(!1),this.layoutCorrected=r7(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);let{visualElement:e}=this.options;e&&e.notify("LayoutMeasure",this.layout.layoutBox,t?t.layoutBox:void 0)}updateScroll(t="measure"){let e=!!(this.options.layoutScroll&&this.instance);this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===t&&(e=!1),e&&(this.scroll={animationId:this.root.animationId,phase:t,isRoot:n(this.instance),offset:r(this.instance)})}resetTransform(){if(!i)return;let t=this.isLayoutDirty||this.shouldResetTransform,e=this.projectionDelta&&!nz(this.projectionDelta),r=this.getTransformTemplate(),n=r?r(this.latestValues,""):void 0,s=n!==this.prevTransformTemplateValue;t&&(e||nn(this.latestValues)||s)&&(i(this.instance,n),this.shouldResetTransform=!1,this.scheduleRender())}measure(t=!0){var e;let r=this.measurePageBox(),n=this.removeElementScroll(r);return t&&(n=this.removeTransform(n)),id((e=n).x),id(e.y),{animationId:this.root.animationId,measuredBox:r,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:t}=this.options;if(!t)return r7();let e=t.measureViewportBox(),{scroll:r}=this.root;return r&&(nu(e.x,r.offset.x),nu(e.y,r.offset.y)),e}removeElementScroll(t){let e=r7();nI(e,t);for(let r=0;r<this.path.length;r++){let n=this.path[r],{scroll:i,options:s}=n;if(n!==this.root&&i&&s.layoutScroll){if(i.isRoot){nI(e,t);let{scroll:r}=this.root;r&&(nu(e.x,-r.offset.x),nu(e.y,-r.offset.y))}nu(e.x,i.offset.x),nu(e.y,i.offset.y)}}return e}applyTransform(t,e=!1){let r=r7();nI(r,t);for(let t=0;t<this.path.length;t++){let n=this.path[t];!e&&n.options.layoutScroll&&n.scroll&&n!==n.root&&np(r,{x:-n.scroll.offset.x,y:-n.scroll.offset.y}),nn(n.latestValues)&&np(r,n.latestValues)}return nn(this.latestValues)&&np(r,this.latestValues),r}removeTransform(t){let e=r7();nI(e,t);for(let t=0;t<this.path.length;t++){let r=this.path[t];if(!r.instance||!nn(r.latestValues))continue;nr(r.latestValues)&&r.updateSnapshot();let n=r7();nI(n,r.measurePageBox()),n_(e,r.latestValues,r.snapshot?r.snapshot.layoutBox:void 0,n)}return nn(this.latestValues)&&n_(e,this.latestValues),e}setTargetDelta(t){this.targetDelta=t,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(t){this.options={...this.options,...t,crossfade:void 0===t.crossfade||t.crossfade}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==tR.frameData.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(t=!1){var e,r,n,i;let s=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=s.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=s.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=s.isS
9haredProjectionDirty);let o=!!this.resumingFrom||this!==s;if(!(t||o&&this.isSharedProjectionDirty||this.isProjectionDirty||(null===(e=this.parent)||void 0===e?void 0:e.isProjectionDirty)||this.attemptToResolveRelativeTarget))return;let{layout:a,layoutId:l}=this.options;if(this.layout&&(a||l)){if(this.resolvedRelativeTargetAt=tR.frameData.timestamp,!this.targetDelta&&!this.relativeTarget){let t=this.getClosestProjectingParent();t&&t.layout&&1!==this.animationProgress?(this.relativeParent=t,this.forceRelativeParentToResolveTarget(),this.relativeTarget=r7(),this.relativeTargetOrigin=r7(),r0(this.relativeTargetOrigin,this.layout.layoutBox,t.layout.layoutBox),nI(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(this.relativeTarget||this.targetDelta){if((this.target||(this.target=r7(),this.targetWithTransforms=r7()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target)?(this.forceRelativeParentToResolveTarget(),r=this.target,n=this.relativeTarget,i=this.relativeParent.target,rJ(r.x,n.x,i.x),rJ(r.y,n.y,i.y)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):nI(this.target,this.layout.layoutBox),na(this.target,this.targetDelta)):nI(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;let t=this.getClosestProjectingParent();t&&!!t.resumingFrom==!!this.resumingFrom&&!t.options.layoutScroll&&t.target&&1!==this.animationProgress?(this.relativeParent=t,this.forceRelativeParentToResolveTarget(),this.relativeTarget=r7(),this.relativeTargetOrigin=r7(),r0(this.relativeTargetOrigin,this.target,t.target),nI(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}n0.resolvedTargetDeltas++}}}getClosestProjectingParent(){return!this.parent||nr(this.parent.latestValues)||ni(this.parent.latestValues)?void 0:this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var t;let e=this.getLead(),r=!!this.resumingFrom||this!==e,n=!0;if((this.isProjectionDirty||(null===(t=this.parent)||void 0===t?void 0:t.isProjectionDirty))&&(n=!1),r&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(n=!1),this.resolvedRelativeTargetAt===tR.frameData.timestamp&&(n=!1),n)return;let{layout:i,layoutId:s}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(i||s))return;nI(this.layoutCorrected,this.layout.layoutBox);let o=this.treeScale.x,a=this.treeScale.y;!function(t,e,r,n=!1){let i,s;let o=r.length;if(o){e.x=e.y=1;for(let a=0;a<o;a++){s=(i=r[a]).projectionDelta;let o=i.instance;(!o||!o.style||"contents"!==o.style.display)&&(n&&i.options.layoutScroll&&i.scroll&&i!==i.root&&np(t,{x:-i.scroll.offset.x,y:-i.scroll.offset.y}),s&&(e.x*=s.x.scale,e.y*=s.y.scale,na(t,s)),n&&nn(i.latestValues)&&np(t,i.latestValues))}e.x=nl(e.x),e.y=nl(e.y)}}(this.layoutCorrected,this.treeScale,this.path,r),e.layout&&!e.target&&(1!==this.treeScale.x||1!==this.treeScale.y)&&(e.target=e.layout.layoutBox);let{target:l}=e;if(!l){this.projectionTransform&&(this.projectionDelta=r9(),this.projectionTransform="none",this.scheduleRender());return}this.projectionDelta||(this.projectionDelta=r9(),this.projectionDeltaWithTransform=r9());let u=this.projectionTransform;rK(this.projectionDelta,this.layoutCorrected,l,this.latestValues),this.projectionTransform=nY(this.projectionDelta,this.treeScale),(this.projectionTransform!==u||this.treeScale.x!==o||this.treeScale.y!==a)&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",l)),n0.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(t=!0){if(this.options.scheduleRender&&this.options.scheduleRender(),t){let t=this.getStack();t&&t.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}setAnimationOrigin(t,e=!1){let r;let n=this.snapshot,i=n?n.latestValues:{},s={...this.latestValues},o=r9();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!e;let a=r7(),l=(n?n.source:void 0)!==(this.layout?this.layout.source:void 0),u=this.getStack(),c=!u||u.members.length<=1,h=!!(l&&!c&&!0===this.options.crossfade&&!this.path.some(il));this.animationProgress=0,this.mixTargetDelta=e=>{let n=e/1e3;if(io(o.x,t.x,n),io(o.y,t.y,n),this.setTargetDelta(o),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var u,d,p,f;r0(a,this.layout.layoutBox,this.relativeParent.layout.layoutBox),p=this.relativeTarget,f=this.relativeTargetOrigin,ia(p.x,f.x,a.x,n),ia(p.y,f.y,a.y,n),r&&(u=this.relativeTarget,d=r,u.x.min===d.x.min&&u.x.max===d.x.max&&u.y.min===d.y.min&&u.y.max===d.y.max)&&(this.isProjectionDirty=!1),r||(r=r7()),nI(r,this.relativeTarget)}l&&(this.animationValues=s,function(t,e,r,n,i,s){i?(t.opacity=eT(0,void 0!==r.opacity?r.opacity:1,nj(n)),t.opacityExit=eT(void 0!==e.opacity?e.opacity:1,0,nL(n))):s&&(t.opacity=eT(void 0!==e.opacity?e.opacity:1,void 0!==r.opacity?r.opacity:1,n));for(let i=0;i<nR;i++){let s=`border${nE[i]}Radius`,o=nD(e,s),a=nD(r,s);(void 0!==o||void 0!==a)&&(o||(o=0),a||(a=0),0===o||0===a||nM(o)===nM(a)?(t[s]=Math.max(eT(nV(o),nV(a),n),0),(J.test(a)||J.test(o))&&(t[s]+="%")):t[s]=a)}(e.rotate||r.rotate)&&(t.rotate=eT(e.rotate||0,r.rotate||0,n))}(s,i,this.latestValues,n,h,c)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=n},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(t){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&((0,tR.Pn)(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=tR.Wi.update(()=>{nS.hasAnimatedSinceResize=!0,this.currentAnimation=function(t,e,r){let n=L(0)?0:rT(0);return n.start(ry("",n,1e3,r)),n.animation}(0,0,{...t,onUpdate:e=>{this.mixTargetDelta(e),t.onUpdate&&t.onUpdate(e)},onComplete:()=>{t.onComplete&&t.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);let t=this.getStack();t&&t.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let t=this.getLead(),{targetWithTransforms:e,target:r,layout:n,latestValues:i}=t;if(e&&r&&n){if(this!==t&&this.layout&&n&&ip(this.options.animationType,this.layout.layoutBox,n.layoutBox)){r=this.target||r7();let e=rY(this.layout.layoutBox.x);r.x.min=t.target.x.min,r.x.max=r.x.min+e;let n=rY(this.layout.layoutBox.y);r.y.min=t.target.y.min,r.y.max=r.y.min+n}nI(e,r),np(e,i),rK(this.projectionDeltaWithTransform,this.layoutCorrected,e,i)}}registerSharedNode(t,e){this.sharedNodes.has(t)||this.sharedNodes.set(t,new nG),this.sharedNodes.get(t).add(e);let r=e.options.initialPromotionConfig;e.promote({transition:r?r.transition:void 0,preserveFollowOpacity:r&&r.shouldPreserveFollowOpacity?r.shouldPreserveFollowOpacity(e):void 0})}isLead(){let t=this.getStack();return!t||t.lead===this}getLead(){var t;let{layoutId:e}=this.options;return e&&(null===(t=this.getStack())||void 0===t?void 0:t.lead)||this}getPrevLead(){var t;let{layoutId:e}=this.options;return e?null===(t=this.getStack())||void 0===t?void 0:t.prevLead:void 0}getStack(){let{layoutId:t}=this.options;if(t)return this.root.sharedNodes.get(t)}promote({needsReset:t,transition:e,preserveFollowOpacity:r}={}){let n=this.getStack();n&&n.promote(this,r),t&&(this.projectionDelta=void 0,this.needsReset=!0),e&&this.setOptions({transition:e})}relegate(){let t=this.getStack();return!!t&&t.relegate(this)}resetRotation(){let{visualElement:t}=this.options;if(!t)return;let e=!1,{latestValues:r}=t;if((r.rotate||r.rotateX||r.rotateY||r.rotateZ)&&(e=!0),!e)return;let n={};for(let e=0;e<nK.length;e++){let i="rotate"+nK[e];r[i]&&(n[i]=r[i],t.setStaticValue(i,0))}for(let e in t.render(),n)t.setStaticValue(e,n[e]);t.scheduleRender()}getProjectionStyles(t){var e,r;if(!this.instance||this.isSVG)return;if(!this.isVisible)return nJ;let n={visibility:""},i=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,n.opacity="",n.pointerEvents=tT(null==t?void 0:t.pointerEvents)||"",n.transform=i?i(this.latestValues,""):"none",n;let s=this.getLead();if(!this.projectionDelta||!this.layout||!s.target){let e={};return this.options.layoutId&&(e.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,e.pointerEvents=tT(null==t?void 0:t.pointerEvents)||""),this.hasProjected&&!nn(this.latestValues)&&(e.transform=i?i({},""):"none",this.hasProjected=!1),e}let o=s.animationValues||s.latestValues;this.applyTransformsToTarget(),n.transform=nY(this.projectionDeltaWithTransform,this.treeScale,o),i&&(n.transform=i(o,n.transform));let{x:a,y:l}=this.projectionDelta;for(let t in n.transformOrigin=`${100*a.origin}% ${100*l.origin}% 0`,s.animationValues?n.opacity=s===this?null!==(r=null!==(e=o.opacity)&&void 0!==e?e:this.latestValues.opacity)&&void 0!==r?r:1:this.preserveOpacity?this.latestValues.opacity:o.opacityExit:n.opacity=s===this?void 0!==o.opacity?o.opacity:"":void 0!==o.opacityExit?o.opacityExit:0,V){if(void 0===o[t])continue;let{correct:e,applyTo:r}=V[t],i="none"===n.transform?o[t]:e(o[t],s);if(r){let t=r.length;for(let e=0;e<t;e++)n[r[e]]=i}else n[t]=i}return this.options.layoutId&&(n.pointerEvents=s===this?tT(null==t?void 0:t.pointerEvents)||"":"none"),n}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}
9resetTree(){this.root.nodes.forEach(t=>{var e;return null===(e=t.currentAnimation)||void 0===e?void 0:e.stop()}),this.root.nodes.forEach(n6),this.root.sharedNodes.clear()}}}function n2(t){t.updateLayout()}function n5(t){var e;let r=(null===(e=t.resumeFrom)||void 0===e?void 0:e.snapshot)||t.snapshot;if(t.isLead()&&t.layout&&r&&t.hasListeners("didUpdate")){let{layoutBox:e,measuredBox:n}=t.layout,{animationType:i}=t.options,s=r.source!==t.layout.source;"size"===i?r8(t=>{let n=s?r.measuredBox[t]:r.layoutBox[t],i=rY(n);n.min=e[t].min,n.max=n.min+i}):ip(i,r.layoutBox,e)&&r8(n=>{let i=s?r.measuredBox[n]:r.layoutBox[n],o=rY(e[n]);i.max=i.min+o,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[n].max=t.relativeTarget[n].min+o)});let o=r9();rK(o,e,r.layoutBox);let a=r9();s?rK(a,t.applyTransform(n,!0),r.measuredBox):rK(a,e,r.layoutBox);let l=!nz(o),u=!1;if(!t.resumeFrom){let n=t.getClosestProjectingParent();if(n&&!n.resumeFrom){let{snapshot:i,layout:s}=n;if(i&&s){let o=r7();r0(o,r.layoutBox,i.layoutBox);let a=r7();r0(a,e,s.layoutBox),nH(o,a)||(u=!0),n.options.layoutRoot&&(t.relativeTarget=a,t.relativeTargetOrigin=o,t.relativeParent=n)}}}t.notifyListeners("didUpdate",{layout:e,snapshot:r,delta:a,layoutDelta:o,hasLayoutChanged:l,hasRelativeTargetChanged:u})}else if(t.isLead()){let{onExitComplete:e}=t.options;e&&e()}t.options.transition=void 0}function n3(t){n0.totalNodes++,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 n4(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function n9(t){t.clearSnapshot()}function n6(t){t.clearMeasurements()}function n7(t){t.isLayoutDirty=!1}function n8(t){let{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function it(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function ie(t){t.resolveTargetDelta()}function ir(t){t.calcProjection()}function ii(t){t.resetRotation()}function is(t){t.removeLeadSnapshot()}function io(t,e,r){t.translate=eT(e.translate,0,r),t.scale=eT(e.scale,1,r),t.origin=e.origin,t.originPoint=e.originPoint}function ia(t,e,r,n){t.min=eT(e.min,r.min,n),t.max=eT(e.max,r.max,n)}function il(t){return t.animationValues&&void 0!==t.animationValues.opacityExit}let iu={duration:.45,ease:[.4,0,.1,1]},ic=t=>"undefined"!=typeof navigator&&navigator.userAgent.toLowerCase().includes(t),ih=ic("applewebkit/")&&!ic("chrome/")?Math.round:tq.Z;function id(t){t.min=ih(t.min),t.max=ih(t.max)}function ip(t,e,r){return"position"===t||"preserve-aspect"===t&&!rq(nZ(e),nZ(r),.2)}let im=n1({attachResizeListener:(t,e)=>tD(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),ig={current:void 0},iv=n1({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!ig.current){let t=new im({});t.mount(window),t.setOptions({layoutScroll:!0}),ig.current=t}return ig.current},resetTransform:(t,e)=>{t.style.transform=void 0!==e?e:"none"},checkIsScrollRoot:t=>"fixed"===window.getComputedStyle(t).position}),iy=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function ib(t,e,r=1){(0,t9.k)(r<=4,`Max CSS variable fallback depth detected in property "${t}". This may indicate a circular fallback dependency.`);let[n,i]=function(t){let e=iy.exec(t);if(!e)return[,];let[,r,n]=e;return[r,n]}(t);if(!n)return;let s=window.getComputedStyle(e).getPropertyValue(n);if(s){let t=s.trim();return rx(t)?parseFloat(t):t}return $(i)?ib(i,e,r+1):i}let ix=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),iw=t=>ix.has(t),iS=t=>Object.keys(t).some(iw),iP=t=>t===_||t===Q,iA=(t,e)=>parseFloat(t.split(", ")[e]),ik=(t,e)=>(r,{transform:n})=>{if("none"===n||!n)return 0;let i=n.match(/^matrix3d\((.+)\)$/);if(i)return iA(i[1],e);{let e=n.match(/^matrix\((.+)\)$/);return e?iA(e[1],t):0}},iC=new Set(["x","y","z"]),iT=M.filter(t=>!iC.has(t)),iE={width:({x:t},{paddingLeft:e="0",paddingRight:r="0"})=>t.max-t.min-parseFloat(e)-parseFloat(r),height:({y:t},{paddingTop:e="0",paddingBottom:r="0"})=>t.max-t.min-parseFloat(e)-parseFloat(r),top:(t,{top:e})=>parseFloat(e),left:(t,{left:e})=>parseFloat(e),bottom:({y:t},{top:e})=>parseFloat(e)+(t.max-t.min),right:({x:t},{left:e})=>parseFloat(e)+(t.max-t.min),x:ik(4,13),y:ik(5,14)};iE.translateX=iE.x,iE.translateY=iE.y;let iR=(t,e,r)=>{let n=e.measureViewportBox(),i=getComputedStyle(e.current),{display:s}=i,o={};"none"===s&&e.setStaticValue("display",t.display||"block"),r.forEach(t=>{o[t]=iE[t](n,i)}),e.render();let a=e.measureViewportBox();return r.forEach(r=>{let n=e.getValue(r);n&&n.jump(o[r]),t[r]=iE[r](a,i)}),t},iV=(t,e,r={},n={})=>{e={...e},n={...n};let i=Object.keys(e).filter(iw),s=[],o=!1,a=[];if(i.forEach(i=>
9{let l;let u=t.getValue(i);if(!t.hasValue(i))return;let c=r[i],h=rV(c),d=e[i];if(tA(d)){let t=d.length,e=null===d[0]?1:0;h=rV(c=d[e]);for(let r=e;r<t&&null!==d[r];r++)l?(0,t9.k)(rV(d[r])===l,"All keyframes must be of the same type"):(l=rV(d[r]),(0,t9.k)(l===h||iP(h)&&iP(l),"Keyframes must be of the same dimension as the current value"))}else l=rV(d);if(h!==l){if(iP(h)&&iP(l)){let t=u.get();"string"==typeof t&&u.set(parseFloat(t)),"string"==typeof d?e[i]=parseFloat(d):Array.isArray(d)&&l===Q&&(e[i]=d.map(parseFloat))}else(null==h?void 0:h.transform)&&(null==l?void 0:l.transform)&&(0===c||0===d)?0===c?u.set(l.transform(c)):e[i]=h.transform(d):(o||(s=function(t){let e=[];return iT.forEach(r=>{let n=t.getValue(r);void 0!==n&&(e.push([r,n.get()]),n.set(r.startsWith("scale")?1:0))}),e.length&&t.render(),e}(t),o=!0),a.push(i),n[i]=void 0!==n[i]?n[i]:e[i],u.jump(d))}}),!a.length)return{target:e,transitionEnd:n};{let r=a.indexOf("height")>=0?window.pageYOffset:null,i=iR(e,t,a);return s.length&&s.forEach(([e,r])=>{t.getValue(e).set(r)}),t.render(),A.j&&null!==r&&window.scrollTo({top:r}),{target:i,transitionEnd:n}}},iM=(t,e,r,n)=>{var i,s;let o=function(t,{...e},r){let n=t.current;if(!(n instanceof Element))return{target:e,transitionEnd:r};for(let i in r&&(r={...r}),t.values.forEach(t=>{let e=t.get();if(!$(e))return;let r=ib(e,n);r&&t.set(r)}),e){let t=e[i];if(!$(t))continue;let s=ib(t,n);s&&(e[i]=s,r||(r={}),void 0===r[i]&&(r[i]=t))}return{target:e,transitionEnd:r}}(t,e,n);return e=o.target,n=o.transitionEnd,i=e,s=n,iS(i)?iV(t,i,r,s):{target:i,transitionEnd:s}},iD={current:null},ij={current:!1},iL=new WeakMap,iO=Object.keys(P),iF=iO.length,iI=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],iB=y.length;class i${constructor({parent:t,props:e,presenceContext:r,reducedMotionConfig:n,visualState:i},s={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.scheduleRender=()=>tR.Wi.render(this.render,!1,!0);let{latestValues:o,renderState:a}=i;this.latestValues=o,this.baseTarget={...o},this.initialValues=e.initial?{...o}:{},this.renderState=a,this.parent=t,this.props=e,this.presenceContext=r,this.depth=t?t.depth+1:0,this.reducedMotionConfig=n,this.options=s,this.isControllingVariants=b(e),this.isVariantNode=x(e),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);let{willChange:l,...u}=this.scrapeMotionValuesFromProps(e,{});for(let t in u){let e=u[t];void 0!==o[t]&&L(e)&&(e.set(o[t],!1),rb(l)&&l.add(t))}}scrapeMotionValuesFromProps(t,e){return{}}mount(t){this.current=t,iL.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((t,e)=>this.bindToMotionValue(e,t)),ij.current||function(){if(ij.current=!0,A.j){if(window.matchMedia){let t=window.matchMedia("(prefers-reduced-motion)"),e=()=>iD.current=t.matches;t.addListener(e),e()}else iD.current=!1}}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||iD.current),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){for(let t in iL.delete(this.current),this.projection&&this.projection.unmount(),(0,tR.Pn)(this.notifyUpdate),(0,tR.Pn)(this.render),this.valueSubscriptions.forEach(t=>t()),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this),this.events)this.events[t].clear();for(let t in this.features)this.features[t].unmount();this.current=null}bindToMotionValue(t,e){let r=D.has(t),n=e.on("change",e=>{this.latestValues[t]=e,this.props.onUpdate&&tR.Wi.update(this.notifyUpdate,!1,!0),r&&this.projection&&(this.projection.isTransformDirty=!0)}),i=e.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(t,()=>{n(),i()})}sortNodePosition(t){return this.current&&this.sortInstanceNodePosition&&this.type===t.type?this.sortInstanceNodePosition(this.current,t.current):0}loadFeatures({children:t,...e},r,n,i){let s,o;for(let t=0;t<iF;t++){let r=iO[t],{isEnabled:n,Feature:i,ProjectionNode:a,MeasureLayout:l}=P[r];a&&(s=a),n(e)&&(!this.features[r]&&i&&(this.features[r]=new i(this)),l&&(o=l))}if(("html"===this.type||"svg"===this.type)&&!this.projection&&s){this.projection=new s(this.latestValues,this.parent&&this.parent.projection);let{layoutId:t,layout:r,drag:n,dragConstraints:o,layoutScroll:a,layoutRoot:l}=e;this.projection.setOptions({layoutId:t,layout:r,alwaysMeasureLayout:!!n||o&&f(o),visualElement:this,scheduleRender:()=>this.scheduleRender(),animationType:"string"==typeof r?r:"both",initialPromotionConfig:i,layoutScroll:a,layoutRoot:l})}return o}updateFeatures(){for(let t in this.features){let e=this.features[t];
9e.isMounted?e.update():(e.mount(),e.isMounted=!0)}}triggerBuild(){this.build(this.renderState,this.latestValues,this.options,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):r7()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,e){this.latestValues[t]=e}makeTargetAnimatable(t,e=!0){return this.makeTargetAnimatableFromInstance(t,this.props,e)}update(t,e){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=e;for(let e=0;e<iI.length;e++){let r=iI[e];this.propEventSubscriptions[r]&&(this.propEventSubscriptions[r](),delete this.propEventSubscriptions[r]);let n=t["on"+r];n&&(this.propEventSubscriptions[r]=this.on(r,n))}this.prevMotionValues=function(t,e,r){let{willChange:n}=e;for(let i in e){let s=e[i],o=r[i];if(L(s))t.addValue(i,s),rb(n)&&n.add(i);else if(L(o))t.addValue(i,rT(s,{owner:t})),rb(n)&&n.remove(i);else if(o!==s){if(t.hasValue(i)){let e=t.getValue(i);e.hasAnimated||e.set(s)}else{let e=t.getStaticValue(i);t.addValue(i,rT(void 0!==e?e:s,{owner:t}))}}}for(let n in r)void 0===e[n]&&t.removeValue(n);return e}(this,this.scrapeMotionValuesFromProps(t,this.prevProps),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}getVariantContext(t=!1){if(t)return this.parent?this.parent.getVariantContext():void 0;if(!this.isControllingVariants){let t=this.parent&&this.parent.getVariantContext()||{};return void 0!==this.props.initial&&(t.initial=this.props.initial),t}let e={};for(let t=0;t<iB;t++){let r=y[t],n=this.props[r];(m(n)||!1===n)&&(e[r]=n)}return e}addVariantChild(t){let e=this.getClosestVariantNode();if(e)return e.variantChildren&&e.variantChildren.add(t),()=>e.variantChildren.delete(t)}addValue(t,e){e!==this.values.get(t)&&(this.removeValue(t),this.bindToMotionValue(t,e)),this.values.set(t,e),this.latestValues[t]=e.get()}removeValue(t){this.values.delete(t);let e=this.valueSubscriptions.get(t);e&&(e(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,e){if(this.props.values&&this.props.values[t])return this.props.values[t];let r=this.values.get(t);return void 0===r&&void 0!==e&&(r=rT(e,{owner:this}),this.addValue(t,r)),r}readValue(t){var e;return void 0===this.latestValues[t]&&this.current?null!==(e=this.getBaseTargetFromProps(this.props,t))&&void 0!==e?e:this.readValueFromInstance(this.current,t,this.options):this.latestValues[t]}setBaseTarget(t,e){this.baseTarget[t]=e}getBaseTarget(t){var e;let{initial:r}=this.props,n="string"==typeof r||"object"==typeof r?null===(e=tS(this.props,r))||void 0===e?void 0:e[t]:void 0;if(r&&void 0!==n)return n;let i=this.getBaseTargetFromProps(this.props,t);return void 0===i||L(i)?void 0!==this.initialValues[t]&&void 0===n?void 0:this.baseTarget[t]:i}on(t,e){return this.events[t]||(this.events[t]=new rP),this.events[t].add(e)}notify(t,...e){this.events[t]&&this.events[t].notify(...e)}}class iN extends i${sortInstanceNodePosition(t,e){return 2&t.compareDocumentPosition(e)?1:-1}getBaseTargetFromProps(t,e){return t.style?t.style[e]:void 0}removeValueFromRenderState(t,{vars:e,style:r}){delete e[t],delete r[t]}makeTargetAnimatableFromInstance({transition:t,transitionEnd:e,...r},{transformValues:n},i){let s=function(t,e,r){let n={};for(let i in t){let t=function(t,e){if(e)return(e[t]||e.default||e).from}(i,e);if(void 0!==t)n[i]=t;else{let t=r.getValue(i);t&&(n[i]=t.get())}}return n}(r,t||{},this);if(n&&(e&&(e=n(e)),r&&(r=n(r)),s&&(s=n(s))),i){!function(t,e,r){var n,i;let s=Object.keys(e).filter(e=>!t.hasValue(e)),o=s.length;if(o)for(let a=0;a<o;a++){let o=s[a],l=e[o],u=null;Array.isArray(l)&&(u=l[0]),null===u&&(u=null!==(i=null!==(n=r[o])&&void 0!==n?n:t.readValue(o))&&void 0!==i?i:e[o]),null!=u&&("string"==typeof u&&(rx(u)||rm(u))?u=parseFloat(u):!rD(u)&&e_.test(l)&&(u=rf(o,l)),t.addValue(o,rT(u,{owner:t})),void 0===r[o]&&(r[o]=u),null!==u&&t.setBaseTarget(o,u))}}(this,r,s);let t=iM(this,r,s,e);e=t.transitionEnd,r=t.target}return{transition:t,transitionEnd:e,...r}}}class iW extends iN{constructor(){super(...arguments),this.type="html"}readValueFromInstance(t,e){if(D.has(e)){let t=rp(e);return t&&t.default||0}{let r=window.getComputedStyle(t),n=(B(e)?r.getPropertyValue(e):r[e])||0;return"string"==typeof n?n.trim():n}}measureInstanceViewportBox(t,{transformPagePoint:e}){return nf(t,e)}build(t,e,r,n){ts(t,e,r,n.transformTemplate)}scrapeMotionValuesFromProps(t,e){return tx(t,e)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:t}=this.props;L(t)&&(this.childSubscription=t.on("change",t=>{this.current&&(this.current.textContent=`${t}`)}))}renderInstance(t,e,r,n){tv(t,e,r,n)}}class i_ extends iN{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1}getBaseTargetFromProps(t,e){return t[e]}readValueFromInstance(t,e){if(D.has(e)){let t=rp(e);return t&&t.default||0}return e=ty.has(e)?e:d(e),t.getAttribute(e)}measureInstanceViewportBox(){return r7()}scrapeMotionValuesFromProps(t,e){return tw(t,e)}
9build(t,e,r,n){tf(t,e,r,this.isSVGTag,n.transformTemplate)}renderInstance(t,e,r,n){tb(t,e,r,n)}mount(t){this.isSVGTag=tg(t.tagName),super.mount(t)}}let iU=(t,e)=>R(t)?new i_(e,{enableHardwareAcceleration:!1}):new iW(e,{enableHardwareAcceleration:!0}),iz={animation:{Feature:r$},exit:{Feature:rW},inView:{Feature:t5},tap:{Feature:tK},focus:{Feature:tG},hover:{Feature:tZ},pan:{Feature:nw},drag:{Feature:nb,ProjectionNode:iv,MeasureLayout:nC},layout:{ProjectionNode:iv,MeasureLayout:nC}},iH=function(t){function e(e,r={}){return function({preloadedFeatures:t,createVisualElement:e,useRender:r,useVisualState:n,Component:i}){t&&function(t){for(let e in t)P[e]={...P[e],...t[e]}}(t);let s=(0,o.forwardRef)(function(s,d){var g;let v;let y={...(0,o.useContext)(a),...s,layoutId:function({layoutId:t}){let e=(0,o.useContext)(k.p).id;return e&&void 0!==t?e+"-"+t:t}(s)},{isStatic:x}=y,S=function(t){let{initial:e,animate:r}=function(t,e){if(b(t)){let{initial:e,animate:r}=t;return{initial:!1===e||m(e)?e:void 0,animate:m(r)?r:void 0}}return!1!==t.inherit?e:{}}(t,(0,o.useContext)(l));return(0,o.useMemo)(()=>({initial:e,animate:r}),[w(e),w(r)])}(s),P=n(s,x);if(!x&&A.j){S.visualElement=function(t,e,r,n){let{visualElement:i}=(0,o.useContext)(l),s=(0,o.useContext)(h),d=(0,o.useContext)(u.O),f=(0,o.useContext)(a).reducedMotion,m=(0,o.useRef)();n=n||s.renderer,!m.current&&n&&(m.current=n(t,{visualState:e,parent:i,props:r,presenceContext:d,blockInitialAnimation:!!d&&!1===d.initial,reducedMotionConfig:f}));let g=m.current;(0,o.useInsertionEffect)(()=>{g&&g.update(r,d)});let v=(0,o.useRef)(!!(r[p]&&!window.HandoffComplete));return(0,c.L)(()=>{g&&(g.render(),v.current&&g.animationState&&g.animationState.animateChanges())}),(0,o.useEffect)(()=>{g&&(g.updateFeatures(),!v.current&&g.animationState&&g.animationState.animateChanges(),v.current&&(v.current=!1,window.HandoffComplete=!0))}),g}(i,P,y,e);let r=(0,o.useContext)(C),n=(0,o.useContext)(h).strict;S.visualElement&&(v=S.visualElement.loadFeatures(y,n,t,r))}return o.createElement(l.Provider,{value:S},v&&S.visualElement?o.createElement(v,{visualElement:S.visualElement,...y}):null,r(i,s,(g=S.visualElement,(0,o.useCallback)(t=>{t&&P.mount&&P.mount(t),g&&(t?g.mount(t):g.unmount()),d&&("function"==typeof d?d(t):f(d)&&(d.current=t))},[g])),P,x,S.visualElement))});return s[T]=i,s}(t(e,r))}if("undefined"==typeof Proxy)return e;let r=new Map;return new Proxy(e,{get:(t,n)=>(r.has(n)||r.set(n,e(n)),r.get(n))})}((t,e)=>(function(t,{forwardMotionProps:e=!1},r,n){return{...R(t)?tV:tM,preloadedFeatures:r,useRender:function(t=!1){return(e,r,n,{latestValues:i},s)=>{let a=(R(e)?function(t,e,r,n){let i=(0,o.useMemo)(()=>{let r=tm();return tf(r,e,{enableHardwareAcceleration:!1},tg(n),t.transformTemplate),{...r.attrs,style:{...r.style}}},[e]);if(t.style){let e={};ta(e,t.style,t),i.style={...e,...i.style}}return i}:function(t,e,r){let n={},i=function(t,e,r){let n=t.style||{},i={};return ta(i,n,t),Object.assign(i,function({transformTemplate:t},e,r){return(0,o.useMemo)(()=>{let n=to();return ts(n,e,{enableHardwareAcceleration:!r},t),Object.assign({},n.vars,n.style)},[e])}(t,e,r)),t.transformValues?t.transformValues(i):i}(t,e,r);return t.drag&&!1!==t.dragListener&&(n.draggable=!1,i.userSelect=i.WebkitUserSelect=i.WebkitTouchCallout="none",i.touchAction=!0===t.drag?"none":`pan-${"x"===t.drag?"y":"x"}`),void 0===t.tabIndex&&(t.onTap||t.onTapStart||t.whileTap)&&(n.tabIndex=0),n.style=i,n})(r,i,s,e),l={...function(t,e,r){let n={};for(let i in t)("values"!==i||"object"!=typeof t.values)&&(tc(i)||!0===r&&tu(i)||!e&&!tu(i)||t.draggable&&i.startsWith("onDrag"))&&(n[i]=t[i]);return n}(r,"string"==typeof e,t),...a,ref:n},{children:u}=r,c=(0,o.useMemo)(()=>L(u)?u.get():u,[u]);return(0,o.createElement)(e,{...l,children:c})}}(e),createVisualElement:n,Component:t}})(t,e,iz,iU))},5487:function(t,e,r){"use strict";r.d(e,{K:function(){return i},k:function(){return s}});var n=r(1662);let i=n.Z,s=n.Z},1741:function(t,e,r){"use strict";r.d(e,{j:function(){return n}});let n="undefined"!=typeof document},1662:function(t,e,r){"use strict";r.d(e,{Z:function(){return n}});let n=t=>t},6681:function(t,e,r){"use strict";r.d(e,{h:function(){return i}});var n=r(7294);function i(t){let e=(0,n.useRef)(null);return null===e.current&&(e.current=t()),e.current}},8868:function(t,e,r){"use strict";r.d(e,{L:function(){return i}});var n=r(7294);let i=r(1741).j?n.useLayoutEffect:n.useEffect}},function(t){var e=function(e){return t(t.s=e)};t.O(0,[774,179],function(){return e(6840),e(3079)}),_N_E=t.O()}]);

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.