PageSourceSearch

https://www.nemosciencemuseum.nl/_next/static/chunks/873-e8a77bd48cd3adb2.js

js nemosciencemuseum.nl collected 2026-10-02 03:57:48 UTC 157,210 bytes, 9 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[873],{28930:function(t,e,n){"use strict";n.d(e,{YF:function(){return d},x7:function(){return a}});var r=n(2859),i=n(2265),s=n(54887);let a=t=>{let{element:e,padding:n}=t;return{name:"arrow",options:t,fn(t){if(e&&({}).hasOwnProperty.call(e,"current")){if(null!=e.current)return(0,r.x7)({element:e.current,padding:n}).fn(t)}else if(e)return(0,r.x7)({element:e,padding:n}).fn(t);return{}}}};var o="undefined"!=typeof document?i.useLayoutEffect:i.useEffect;function l(t,e){let n,r,i;if(t===e)return!0;if(typeof t!=typeof e)return!1;if("function"==typeof t&&t.toString()===e.toString())return!0;if(t&&e&&"object"==typeof t){if(Array.isArray(t)){if((n=t.length)!=e.length)return!1;for(r=n;0!=r--;)if(!l(t[r],e[r]))return!1;return!0}if((n=(i=Object.keys(t)).length)!==Object.keys(e).length)return!1;for(r=n;0!=r--;)if(!({}).hasOwnProperty.call(e,i[r]))return!1;for(r=n;0!=r--;){let n=i[r];if(("_owner"!==n||!t.$$typeof)&&!l(t[n],e[n]))return!1}return!0}return t!=t&&e!=e}function u(t){return"undefined"==typeof window?1:(t.ownerDocument.defaultView||window).devicePixelRatio||1}function c(t,e){let n=u(t);return Math.round(e*n)/n}function h(t){let e=i.useRef(t);return o(()=>{e.current=t}),e}function d(t){void 0===t&&(t={});let{placement:e="bottom",strategy:n="absolute",middleware:a=[],platform:d,elements:{reference:p,floating:f}={},transform:m=!0,whileElementsMounted:g,open:y}=t,[v,x]=i.useState({x:0,y:0,strategy:n,placement:e,middlewareData:{},isPositioned:!1}),[b,w]=i.useState(a);l(b,a)||w(a);let[P,A]=i.useState(null),[S,k]=i.useState(null),E=i.useCallback(t=>{t!=F.current&&(F.current=t,A(t))},[A]),T=i.useCallback(t=>{t!==V.current&&(V.current=t,k(t))},[k]),C=p||P,M=f||S,F=i.useRef(null),V=i.useRef(null),D=i.useRef(v),R=h(g),j=h(d),L=i.useCallback(()=>{if(!F.current||!V.current)return;let t={placement:e,strategy:n,middleware:b};j.current&&(t.platform=j.current),(0,r.oo)(F.current,V.current,t).then(t=>{let e={...t,isPositioned:!0};O.current&&!l(D.current,e)&&(D.current=e,s.flushSync(()=>{x(e)}))})},[b,e,n,j]);o(()=>{!1===y&&D.current.isPositioned&&(D.current.isPositioned=!1,x(t=>({...t,isPositioned:!1})))},[y]);let O=i.useRef(!1);o(()=>(O.current=!0,()=>{O.current=!1}),[]),o(()=>{if(C&&(F.current=C),M&&(V.current=M),C&&M){if(R.current)return R.current(C,M,L);L()}},[C,M,L,R]);let B=i.useMemo(()=>({reference:F,floating:V,setReference:E,setFloating:T}),[E,T]),N=i.useMemo(()=>({reference:C,floating:M}),[C,M]),$=i.useMemo(()=>{let t={position:n,left:0,top:0};if(!N.floating)return t;let e=c(N.floating,v.x),r=c(N.floating,v.y);return m?{...t,transform:"translate("+e+"px, "+r+"px)",...u(N.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:e,top:r}},[n,m,N.floating,v.x,v.y]);return i.useMemo(()=>({...v,update:L,refs:B,elements:N,floatingStyles:$}),[v,L,B,N,$])}},97588:function(t,e,n){"use strict";function r(t){return"object"==typeof t&&null!==t&&!Array.isArray(t)}function i(t){return r(t)&&"string"==typeof t._ref}function s(t){return r(t)&&i(t.asset)&&t.asset._ref.startsWith("image-")}function a(t){return r(t)&&"string"==typeof t._ref&&"string"==typeof t._dataset&&"string"==typeof t._projectId}function o(t){return r(t)&&"string"==typeof t._id&&"string"==typeof t._type}function l(t){return r(t)&&"string"==typeof t._type}function u(t){return r(t)&&"string"==typeof t._key}function c(t){return"error"===t.level}n.d(e,{AY:function(){return W},Ax:function(){return V},DG:function(){return y},EG:function(){return T},Fd:function(){return f},J1:function(){return M},KA:function(){return x},M1:function(){return k},NG:function(){return v},Or:function(){return s},Si:function(){return o},YN:function(){return c},Yk:function(){return i},Yz:function(){return a},Z2:function(){return N},aj:function(){return C},ay:function(){return l},d7:function(){return E},dD:function(){return function t(e){return b(e)&&("reference"===e.name||t(e.type))}},dw:function(){return p},em:function(){return w},fU:function(){return u},fe:function(){return B},hb:function(){return I},jB:function(){return A},jp:function(){return F},js:function(){return S},lo:function(){return m},m$:function(){return P},mz:function(){return function t(e){return b(e)&&("crossDatasetReference"===e.name||t(e.type))}},n4:function(){return D},qu:function(){return $},z1:function(){return U}});let h=/_key\s*==\s*['"](.*)['"]/,d=/^\d*:\d*$/;function p(t){return"number"==typeof t||"string"==typeof t&&/^\[\d+\]$/.test(t)}function f(t){return"string"==typeof t?h.test(t.trim()):"object"==typeof t&&"_key"in t}function m(t){if("string"==typeof t&&d.test(t))return!0;
1if(!Array.isArray(t)||2!==t.length)return!1;let[e,n]=t;return("number"==typeof e||""===e)&&("number"==typeof n||""===n)}function g(t){return!!t&&("object"==typeof t||"function"==typeof t)}function y(t){return g(t)&&"string"==typeof t._type&&Array.isArray(t.children)&&t.children.every(t=>g(t))&&"markDefs"in t&&Array.isArray(t.markDefs)&&t.markDefs.every(t=>g(t))&&(!("style"in t)||"string"==typeof t.style)}function v(t){return g(t)&&"span"===t._type&&"string"==typeof t.text&&(!("marks"in t)||Array.isArray(t.marks)&&t.marks.every(t=>"string"==typeof t))}function x(t){return y(t)&&"listItem"in t&&"string"==typeof t.listItem&&"level"in t&&Number.isInteger(t.level)}function b(t){return!!t&&("object"==typeof t||"function"==typeof t)}function w(t){if(!P(t))return!1;let e=t;for(;e;){if("document"===e.name)return!0;e=e.type}return!1}function P(t){return!!b(t)&&"object"===t.jsonType}function A(t){return!!b(t)&&"array"===t.jsonType}function S(t){return A(t)&&t.of.some(t=>(function(t){if(!b(t)||!Array.isArray(t.fields))return!1;let e=t.fields.find(O),n=t.fields.find(j),r=t.fields.find(L);return O(e)&&j(n)&&L(r)})(t))}function k(t){return A(t)&&t.of.every(t=>P(t))}function E(t){return A(t)&&t.of.every(t=>F(t))}function T(t){return!!b(t)&&"boolean"===t.jsonType}function C(t){return!!b(t)&&"string"===t.jsonType}function M(t){return!!b(t)&&"number"===t.jsonType}function F(t){return T(t)||C(t)||M(t)}function V(t){return!!b(t)&&void 0!==t.deprecated}function D(t){return"object"==typeof t&&null!==t&&"title"in t&&"value"in t}function R(t){return!!b(t)&&Array.isArray(t.annotations)&&Array.isArray(t.decorators)}function j(t){return!!b(t)&&"style"===t.name&&b(t.type)&&"string"===t.type.jsonType}function L(t){return!!b(t)&&"listItem"===t.name&&b(t.type)&&"string"===t.type.jsonType}function O(t){return!!(b(t)&&"children"===t.name&&A(t.type))&&t.type.of.some(R)}function B(t,e){return t}function N(t,e){return t}function $(t,e){return t}function I(t){return r(t)&&"string"==typeof t.current}function U(t){return"error"===t.level}function W(t){return"warning"===t.level}},54438:function(t,e){"use strict";e.Q=function(t){for(var e,n=[],r=String(t||""),i=r.indexOf(","),s=0,a=!1;!a;)-1===i&&(i=r.length,a=!0),((e=r.slice(s,i).trim())||!a)&&n.push(e),s=i+1,i=r.indexOf(",",s);return n}},26035:function(t){"use strict";t.exports=function(t,n){for(var r,i,s,a=t||"",o=n||"div",l={},u=0;u<a.length;)e.lastIndex=u,s=e.exec(a),(r=a.slice(u,s?s.index:a.length))&&(i?"#"===i?l.id=r:l.className?l.className.push(r):l.className=[r]:o=r,u+=r.length),s&&(i=s[0],u++);return{type:"element",tagName:o,properties:l,children:[]}};var e=/[#.]/g},24748:function(t,e,n){"use strict";var r=n(10441),i=n(12976),s=n(26035),a=n(69380).Q,o=n(54438).Q;t.exports=function(t,e,n){var i=n?function(t){for(var e,n=t.length,r=-1,i={};++r<n;)i[(e=t[r]).toLowerCase()]=e;return i}(n):null;return function(n,c){var h,d,p,f,m=s(n,e),g=Array.prototype.slice.call(arguments,2),y=m.tagName.toLowerCase();if(m.tagName=i&&l.call(i,y)?i[y]:y,c&&("string"==typeof(h=c)||"length"in h||(d=m.tagName,p=h.type,"input"!==d&&p&&"string"==typeof p&&("object"==typeof h.children&&"length"in h.children||((p=p.toLowerCase(),"button"===d)?"menu"!==p&&"submit"!==p&&"reset"!==p&&"button"!==p:"value"in h))))&&(g.unshift(c),c=null),c)for(f in c)!function(e,n,i){var s,l,c;null!=i&&i==i&&(l=(s=r(t,n)).property,"string"==typeof(c=i)&&(s.spaceSeparated?c=a(c):s.commaSeparated?c=o(c):s.commaOrSpaceSeparated&&(c=a(o(c).join(" ")))),"style"===l&&"string"!=typeof i&&(c=function(t){var e,n=[];for(e in t)n.push([e,t[e]].join(": "));return n.join("; ")}(c)),"className"===l&&e.className&&(c=e.className.concat(c)),e[l]=function(t,e,n){var r,i,s;if("object"!=typeof n||!("length"in n))return u(t,e,n);for(i=n.length,r=-1,s=[];++r<i;)s[r]=u(t,e,n[r]);return s}(s,l,c))}(m.properties,f,c[f]);return function t(e,n){var r,i;if("string"==typeof n||"number"==typeof n){e.push({type:"text",value:String(n)});return}if("object"==typeof n&&"length"in n){for(r=-1,i=n.length;++r<i;)t(e,n[r]);return}if("object"!=typeof n||!("type"in n))throw Error("Expected node, nodes, or string, got `"+n+"`");e.push(n)}(m.children,g),"template"===m.tagName&&(m.content={type:"root",children:m.children},m.children=[]),m}};var l={}.hasOwnProperty;function u(t,e,n){var r=n;return t.number||t.positiveNumber?isNaN(r)||""===r||(r=Number(r)):(t.boolean||t.overloadedBoolean)&&"string"==typeof r&&(""===r||i(n)===i(e))&&(r=!0),r}},98007:function(t,e,n){"use strict";var r=n(88899),i=n(24748)(r,"div");i.displayName="html",t.exports=i},33819:function(t,e,n){"use strict";
1t.exports=n(98007)},19580:function(t){"use strict";t.exports=function(t){var e="string"==typeof t?t.charCodeAt(0):t;return e>=97&&e<=122||e>=65&&e<=90}},62495:function(t,e,n){"use strict";var r=n(19580),i=n(26738);t.exports=function(t){return r(t)||i(t)}},26738:function(t){"use strict";t.exports=function(t){var e="string"==typeof t?t.charCodeAt(0):t;return e>=48&&e<=57}},38569:function(t){"use strict";t.exports=function(t){var e="string"==typeof t?t.charCodeAt(0):t;return e>=97&&e<=102||e>=65&&e<=70||e>=48&&e<=57}},83819:function(t){"use strict";var e;t.exports=function(t){var n,r="&"+t+";";return(e=e||document.createElement("i")).innerHTML=r,(59!==(n=e.textContent).charCodeAt(n.length-1)||"semi"===t)&&n!==r&&n}},26310:function(t,e,n){"use strict";var r=n(66704),i=n(46561),s=n(26738),a=n(38569),o=n(62495),l=n(83819);t.exports=function(t,e){var n,s,a={};for(s in e||(e={}),d)n=e[s],a[s]=null==n?d[s]:n;return(a.position.indent||a.position.start)&&(a.indent=a.position.indent||[],a.position=a.position.start),function(t,e){var n,s,a,d,x,b,w,P,A,S,k,E,T,C,M,F,V,D,R,j,L,O=e.additional,B=e.nonTerminated,N=e.text,$=e.reference,I=e.warning,U=e.textContext,W=e.referenceContext,z=e.warningContext,_=e.position,H=e.indent||[],G=t.length,Z=0,Y=-1,q=_.column||1,X=_.line||1,K="",J=[];for("string"==typeof O&&(O=O.charCodeAt(0)),D=Q(),S=I?function(t,e){var n=Q();n.column+=e,n.offset+=e,I.call(z,v[t],n,t)}:h,Z--,G++;++Z<G;)if(10===w&&(q=H[Y]||1),38===(w=t.charCodeAt(Z))){if(9===(A=t.charCodeAt(Z+1))||10===A||12===A||32===A||38===A||60===A||A!=A||O&&A===O){K+=c(w),q++;continue}for(C=M=Z+1,L=M,35===A?(L=++C,88===(A=t.charCodeAt(L))||120===A?(F=f,L=++C):F=m):F=p,a="",T="",b="",V=y[F],L--;++L<G&&V(A=t.charCodeAt(L));)b+=c(A),F===p&&u.call(r,b)&&(a=b,T=r[b]);(x=59===t.charCodeAt(L))&&(L++,(d=F===p&&l(b))&&(a=b,T=d)),j=1+L-M,(x||B)&&(b?F===p?(x&&!T?S(5,1):(a!==b&&(j=1+(L=C+a.length)-C,x=!1),x||(k=a?1:3,e.attribute?61===(A=t.charCodeAt(L))?(S(k,j),T=null):o(A)?T=null:S(k,j):S(k,j))),P=T):(x||S(2,j),(n=P=parseInt(b,g[F]))>=55296&&n<=57343||n>1114111?(S(7,j),P=c(65533)):P in i?(S(6,j),P=i[P]):(E="",((s=P)>=1&&s<=8||11===s||s>=13&&s<=31||s>=127&&s<=159||s>=64976&&s<=65007||(65535&s)==65535||(65535&s)==65534)&&S(6,j),P>65535&&(P-=65536,E+=c(P>>>10|55296),P=56320|1023&P),P=E+c(P))):F!==p&&S(4,j)),P?(tt(),D=Q(),Z=L-1,q+=L-M+1,J.push(P),R=Q(),R.offset++,$&&$.call(W,P,{start:D,end:R},t.slice(M-1,L)),D=R):(b=t.slice(M-1,L),K+=b,q+=b.length,Z=L-1)}else 10===w&&(X++,Y++,q=0),w==w?(K+=c(w),q++):tt();return J.join("");function Q(){return{line:X,column:q,offset:Z+(_.offset||0)}}function tt(){K&&(J.push(K),N&&N.call(U,K,{start:D,end:Q()}),K="")}}(t,a)};var u={}.hasOwnProperty,c=String.fromCharCode,h=Function.prototype,d={warning:null,reference:null,text:null,warningContext:null,referenceContext:null,textContext:null,position:{},additional:null,attribute:!1,nonTerminated:!0},p="named",f="hexadecimal",m="decimal",g={};g[f]=16,g[m]=10;var y={};y[p]=o,y[m]=s,y[f]=a;var v={};v[1]="Named character references must be terminated by a semicolon",v[2]="Numeric character references must be terminated by a semicolon",v[3]="Named character references cannot be empty",v[4]="Numeric character references cannot be empty",v[5]="Named character references must be known",v[6]="Numeric character references cannot be disallowed",v[7]="Numeric character references cannot be outside the permissible Unicode range"},30946:function(t,e,n){var r=function(t){var e=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,n=0,r={},i={manual:t.Prism&&t.Prism.manual,disableWorkerMessageHandler:t.Prism&&t.Prism.disableWorkerMessageHandler,util:{encode:function t(e){return e instanceof s?new s(e.type,t(e.content),e.alias):Array.isArray(e)?e.map(t):e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/\u00a0/g," ")},type:function(t){return Object.prototype.toString.call(t).slice(8,-1)},objId:function(t){return t.__id||Object.defineProperty(t,"__id",{value:++n}),t.__id},clone:function t(e,n){var r,s;switch(n=n||{},i.util.type(e)){case"Object":if(n[s=i.util.objId(e)])return n[s];for(var a in r={},n[s]=r,e)e.hasOwnProperty(a)&&(r[a]=t(e[a],n));return r;case"Array":if(n[s=i.util.objId(e)])return n[s];return r=[],n[s]=r,e.forEach(function(e,i){r[i]=t(e,n)}),r;default:return e}},getLanguage:function(t){for(;t;){var n=e.exec(t.className);if(n)return n[1].toLowerCase();t=t.parentElement}return"none"},setLanguage:function(t,n){t.className=t.className.replace(RegExp(e,"gi"),""),t.classList.add("language-"+n)},currentScript:function(){if("undefined"==typeof document)return null;if("currentScript"in document)return document.currentScript;try{throw Error()}catch(r){var t=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(r.stack)||[])[1];if(t){var e=document.getElementsByTagName("script");for(var n in e)if(e[n].src==t)return e[n]}return null}},isActive:function(t,e,n){for(var r="no-"+e;t;){var i=t.classList;if(i.contains(e))return!0;
1if(i.contains(r))return!1;t=t.parentElement}return!!n}},languages:{plain:r,plaintext:r,text:r,txt:r,extend:function(t,e){var n=i.util.clone(i.languages[t]);for(var r in e)n[r]=e[r];return n},insertBefore:function(t,e,n,r){var s=(r=r||i.languages)[t],a={};for(var o in s)if(s.hasOwnProperty(o)){if(o==e)for(var l in n)n.hasOwnProperty(l)&&(a[l]=n[l]);n.hasOwnProperty(o)||(a[o]=s[o])}var u=r[t];return r[t]=a,i.languages.DFS(i.languages,function(e,n){n===u&&e!=t&&(this[e]=a)}),a},DFS:function t(e,n,r,s){s=s||{};var a=i.util.objId;for(var o in e)if(e.hasOwnProperty(o)){n.call(e,o,e[o],r||o);var l=e[o],u=i.util.type(l);"Object"!==u||s[a(l)]?"Array"!==u||s[a(l)]||(s[a(l)]=!0,t(l,n,o,s)):(s[a(l)]=!0,t(l,n,null,s))}}},plugins:{},highlightAll:function(t,e){i.highlightAllUnder(document,t,e)},highlightAllUnder:function(t,e,n){var r={callback:n,container:t,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};i.hooks.run("before-highlightall",r),r.elements=Array.prototype.slice.apply(r.container.querySelectorAll(r.selector)),i.hooks.run("before-all-elements-highlight",r);for(var s,a=0;s=r.elements[a++];)i.highlightElement(s,!0===e,r.callback)},highlightElement:function(e,n,r){var s=i.util.getLanguage(e),a=i.languages[s];i.util.setLanguage(e,s);var o=e.parentElement;o&&"pre"===o.nodeName.toLowerCase()&&i.util.setLanguage(o,s);var l=e.textContent,u={element:e,language:s,grammar:a,code:l};function c(t){u.highlightedCode=t,i.hooks.run("before-insert",u),u.element.innerHTML=u.highlightedCode,i.hooks.run("after-highlight",u),i.hooks.run("complete",u),r&&r.call(u.element)}if(i.hooks.run("before-sanity-check",u),(o=u.element.parentElement)&&"pre"===o.nodeName.toLowerCase()&&!o.hasAttribute("tabindex")&&o.setAttribute("tabindex","0"),!u.code){i.hooks.run("complete",u),r&&r.call(u.element);return}if(i.hooks.run("before-highlight",u),!u.grammar){c(i.util.encode(u.code));return}if(n&&t.Worker){var h=new Worker(i.filename);h.onmessage=function(t){c(t.data)},h.postMessage(JSON.stringify({language:u.language,code:u.code,immediateClose:!0}))}else c(i.highlight(u.code,u.grammar,u.language))},highlight:function(t,e,n){var r={code:t,grammar:e,language:n};if(i.hooks.run("before-tokenize",r),!r.grammar)throw Error('The language "'+r.language+'" has no grammar.');return r.tokens=i.tokenize(r.code,r.grammar),i.hooks.run("after-tokenize",r),s.stringify(i.util.encode(r.tokens),r.language)},tokenize:function(t,e){var n=e.rest;if(n){for(var r in n)e[r]=n[r];delete e.rest}var u=new o;return l(u,u.head,t),function t(e,n,r,o,u,c){for(var h in r)if(r.hasOwnProperty(h)&&r[h]){var d=r[h];d=Array.isArray(d)?d:[d];for(var p=0;p<d.length;++p){if(c&&c.cause==h+","+p)return;var f=d[p],m=f.inside,g=!!f.lookbehind,y=!!f.greedy,v=f.alias;if(y&&!f.pattern.global){var x=f.pattern.toString().match(/[imsuy]*$/)[0];f.pattern=RegExp(f.pattern.source,x+"g")}for(var b=f.pattern||f,w=o.next,P=u;w!==n.tail&&(!c||!(P>=c.reach));P+=w.value.length,w=w.next){var A,S=w.value;if(n.length>e.length)return;if(!(S instanceof s)){var k=1;if(y){if(!(A=a(b,P,e,g))||A.index>=e.length)break;var E=A.index,T=A.index+A[0].length,C=P;for(C+=w.value.length;E>=C;)C+=(w=w.next).value.length;if(C-=w.value.length,P=C,w.value instanceof s)continue;for(var M=w;M!==n.tail&&(C<T||"string"==typeof M.value);M=M.next)k++,C+=M.value.length;k--,S=e.slice(P,C),A.index-=P}else if(!(A=a(b,0,S,g)))continue;var E=A.index,F=A[0],V=S.slice(0,E),D=S.slice(E+F.length),R=P+S.length;c&&R>c.reach&&(c.reach=R);var j=w.prev;if(V&&(j=l(n,j,V),P+=V.length),function(t,e,n){for(var r=e.next,i=0;i<n&&r!==t.tail;i++)r=r.next;e.next=r,r.prev=e,t.length-=i}(n,j,k),w=l(n,j,new s(h,m?i.tokenize(F,m):F,v,F)),D&&l(n,w,D),k>1){var L={cause:h+","+p,reach:R};t(e,n,r,w.prev,P,L),c&&L.reach>c.reach&&(c.reach=L.reach)}}}}}}(t,u,e,u.head,0),function(t){for(var e=[],n=t.head.next;n!==t.tail;)e.push(n.value),n=n.next;return e}(u)},hooks:{all:{},add:function(t,e){var n=i.hooks.all;n[t]=n[t]||[],n[t].push(e)},run:function(t,e){var n=i.hooks.all[t];if(n&&n.length)for(var r,s=0;r=n[s++];)r(e)}},Token:s};function s(t,e,n,r){this.type=t,this.content=e,this.alias=n,this.length=0|(r||"").length}function a(t,e,n,r){t.lastIndex=e;var i=t.exec(n);if(i&&r&&i[1]){var s=i[1].length;i.index+=s,i[0]=i[0].slice(s)}return i}function o(){var t={value:null,prev:null,next:null},e={value:null,prev:t,next:null};t.next=e,this.head=t,this.tail=e,this.length=0}function l(t,e,n){var r=e.next,i={value:n,prev:e,next:r};return e.next=i,r.prev=i,t.length++,i}if(t.Prism=i,s.stringify=function t(e,n){if("string"==typeof e)return e;if(Array.isArray(e)){var r="";return e.forEach(function(e){r+=t(e,n)}),r}var s={type:e.type,content:t(e.content,n),tag:"span",classes:["token",e.type],attributes:{},language:n},a=e.alias;a&&(Array.isArray(a)?Array.prototype.push.apply(s.classes,a):s.classes.push(a)),i.hooks.run("wrap",s);var o="";for(var l in s.attributes)o+=" "+l+'="'+(s.attributes[l]||"").replace(/"/g,"&quot;")+'"';return"<"+s.tag+' class="'+s.classes.join(" ")+'"'+o+">"+s.content+"</"+s.tag+">"},!t.document)return t.addEventListener&&(i.disableWorkerMessageHandler||t.addEventListener("message",function(e){var n=JSON.parse(e.data),r=n.language,s=n.code,a=n.immediateClose;t.postMessage(i.highlight(s,i.languages[r],r)),a&&t.close()},!1)),i;var u=i.util.currentScript();function c(){i.manual||i.highlightAll()}if(u&&(i.filename=u.src,u.hasAttribute("data-manual")&&(i.manual=!0)),!i.manual){var h=document.readyState;"loading"===h||"interactive"===h&&u&&u.defer?document.addEventListener("DOMContentLoaded",c):window.requestAnimationFrame?window.requestAnimationFrame(c):window.setTimeout(c,16)}return i}("undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{});t.exports&&(t.exports=r),void 0!==n.g&&(n.g.Prism=r)},48049:function(t,e,n){"use strict";var r=n(14397);function i(){}function s(){}
1s.resetWarningCache=i,t.exports=function(){function t(t,e,n,i,s,a){if(a!==r){var o=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw o.name="Invariant Violation",o}}function e(){return t}t.isRequired=t;var n={array:t,bigint:t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:e,element:t,elementType:t,instanceOf:e,node:t,objectOf:e,oneOf:e,oneOfType:e,shape:e,exact:e,checkPropTypes:s,resetWarningCache:i};return n.PropTypes=n,n}},40718:function(t,e,n){t.exports=n(48049)()},14397:function(t){"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},10441:function(t,e,n){"use strict";var r=n(12976),i=n(68551),s=n(53855),a="data";t.exports=function(t,e){var n,d,p,f=r(e),m=e,g=s;return f in t.normal?t.property[t.normal[f]]:(f.length>4&&f.slice(0,4)===a&&o.test(e)&&("-"===e.charAt(4)?m=a+(n=e.slice(5).replace(l,h)).charAt(0).toUpperCase()+n.slice(1):(p=(d=e).slice(4),e=l.test(p)?d:("-"!==(p=p.replace(u,c)).charAt(0)&&(p="-"+p),a+p)),g=i),new g(m,e))};var o=/^data[-\w.:]+$/i,l=/-[a-z]/g,u=/[A-Z]/g;function c(t){return"-"+t.toLowerCase()}function h(t){return t.charAt(1).toUpperCase()}},88899:function(t,e,n){"use strict";var r=n(8397),i=n(55958),s=n(54279),a=n(77536),o=n(75398),l=n(77788);t.exports=r([s,i,a,o,l])},75398:function(t,e,n){"use strict";var r=n(24546),i=n(96360),s=r.booleanish,a=r.number,o=r.spaceSeparated;t.exports=i({transform:function(t,e){return"role"===e?e:"aria-"+e.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:s,ariaAutoComplete:null,ariaBusy:s,ariaChecked:s,ariaColCount:a,ariaColIndex:a,ariaColSpan:a,ariaControls:o,ariaCurrent:null,ariaDescribedBy:o,ariaDetails:null,ariaDisabled:s,ariaDropEffect:o,ariaErrorMessage:null,ariaExpanded:s,ariaFlowTo:o,ariaGrabbed:s,ariaHasPopup:null,ariaHidden:s,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:o,ariaLevel:a,ariaLive:null,ariaModal:s,ariaMultiLine:s,ariaMultiSelectable:s,ariaOrientation:null,ariaOwns:o,ariaPlaceholder:null,ariaPosInSet:a,ariaPressed:s,ariaReadOnly:s,ariaRelevant:null,ariaRequired:s,ariaRoleDescription:o,ariaRowCount:a,ariaRowIndex:a,ariaRowSpan:a,ariaSelected:s,ariaSetSize:a,ariaSort:null,ariaValueMax:a,ariaValueMin:a,ariaValueNow:a,ariaValueText:null,role:null}})},77788:function(t,e,n){"use strict";var r=n(24546),i=n(96360),s=n(77886),a=r.boolean,o=r.overloadedBoolean,l=r.booleanish,u=r.number,c=r.spaceSeparated,h=r.commaSeparated;t.exports=i({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:s,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:h,acceptCharset:c,accessKey:c,action:null,allow:null,allowFullScreen:a,allowPaymentRequest:a,allowUserMedia:a,alt:null,as:null,async:a,autoCapitalize:null,autoComplete:c,autoFocus:a,autoPlay:a,capture:a,charSet:null,checked:a,cite:null,className:c,cols:u,colSpan:null,content:null,contentEditable:l,controls:a,controlsList:c,coords:u|h,crossOrigin:null,data:null,dateTime:null,decoding:null,default:a,defer:a,dir:null,dirName:null,disabled:a,download:o,draggable:l,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:a,formTarget:null,headers:c,height:u,hidden:a,high:u,href:null,hrefLang:null,htmlFor:c,httpEquiv:c,id:null,imageSizes:null,imageSrcSet:h,inputMode:null,integrity:null,is:null,isMap:a,itemId:null,itemProp:c,itemRef:c,itemScope:a,itemType:c,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:a,low:u,manifest:null,max:null,maxLength:u,media:null,method:null,min:null,minLength:u,multiple:a,muted:a,name:null,nonce:null,noModule:a,noValidate:a,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforePrint:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextMenu:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:a,optimum:u,pattern:null,ping:c,placeholder:null,playsInl
1ine:a,poster:null,preload:null,readOnly:a,referrerPolicy:null,rel:c,required:a,reversed:a,rows:u,rowSpan:u,sandbox:c,scope:null,scoped:a,seamless:a,selected:a,shape:null,size:u,sizes:null,slot:null,span:u,spellCheck:l,src:null,srcDoc:null,srcLang:null,srcSet:h,start:u,step:null,style:null,tabIndex:u,target:null,title:null,translate:null,type:null,typeMustMatch:a,useMap:null,value:l,width:u,wrap:null,align:null,aLink:null,archive:c,axis:null,background:null,bgColor:null,border:u,borderColor:null,bottomMargin:u,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:a,declare:a,event:null,face:null,frame:null,frameBorder:null,hSpace:u,leftMargin:u,link:null,longDesc:null,lowSrc:null,marginHeight:u,marginWidth:u,noResize:a,noHref:a,noShade:a,noWrap:a,object:null,profile:null,prompt:null,rev:null,rightMargin:u,rules:null,scheme:null,scrolling:l,standby:null,summary:null,text:null,topMargin:u,valueType:null,version:null,vAlign:null,vLink:null,vSpace:u,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:a,disableRemotePlayback:a,prefix:null,property:null,results:u,security:null,unselectable:null}})},77886:function(t,e,n){"use strict";var r=n(28400);t.exports=function(t,e){return r(t,e.toLowerCase())}},28400:function(t){"use strict";t.exports=function(t,e){return e in t?t[e]:e}},96360:function(t,e,n){"use strict";var r=n(12976),i=n(88923),s=n(68551);t.exports=function(t){var e,n,a=t.space,o=t.mustUseProperty||[],l=t.attributes||{},u=t.properties,c=t.transform,h={},d={};for(e in u)n=new s(e,c(l,e),u[e],a),-1!==o.indexOf(e)&&(n.mustUseProperty=!0),h[e]=n,d[r(e)]=e,d[r(n.attribute)]=e;return new i(h,d,a)}},68551:function(t,e,n){"use strict";var r=n(53855),i=n(24546);t.exports=o,o.prototype=new r,o.prototype.defined=!0;var s=["boolean","booleanish","overloadedBoolean","number","commaSeparated","spaceSeparated","commaOrSpaceSeparated"],a=s.length;function o(t,e,n,o){var l,u,c,h=-1;for(o&&(this.space=o),r.call(this,t,e);++h<a;)l=c=s[h],(u=(n&i[c])===i[c])&&(this[l]=u)}},53855:function(t){"use strict";t.exports=n;var e=n.prototype;function n(t,e){this.property=t,this.attribute=e}e.space=null,e.attribute=null,e.property=null,e.boolean=!1,e.booleanish=!1,e.overloadedBoolean=!1,e.number=!1,e.commaSeparated=!1,e.spaceSeparated=!1,e.commaOrSpaceSeparated=!1,e.mustUseProperty=!1,e.defined=!1},8397:function(t,e,n){"use strict";var r=n(33881),i=n(88923);t.exports=function(t){for(var e,n,s=t.length,a=[],o=[],l=-1;++l<s;)e=t[l],a.push(e.property),o.push(e.normal),n=e.space;return new i(r.apply(null,a),r.apply(null,o),n)}},88923:function(t){"use strict";t.exports=n;var e=n.prototype;function n(t,e,n){this.property=t,this.normal=e,n&&(this.space=n)}e.space=null,e.normal={},e.property={}},24546:function(t,e){"use strict";var n=0;function r(){return Math.pow(2,++n)}e.boolean=r(),e.booleanish=r(),e.overloadedBoolean=r(),e.number=r(),e.spaceSeparated=r(),e.commaSeparated=r(),e.commaOrSpaceSeparated=r()},55958:function(t,e,n){"use strict";var r=n(96360);t.exports=r({space:"xlink",transform:function(t,e){return"xlink:"+e.slice(5).toLowerCase()},properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}})},54279:function(t,e,n){"use strict";var r=n(96360);t.exports=r({space:"xml",transform:function(t,e){return"xml:"+e.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}})},77536:function(t,e,n){"use strict";var r=n(96360),i=n(77886);t.exports=r({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:i,properties:{xmlns:null,xmlnsXLink:null}})},12976:function(t){"use strict";t.exports=function(t){return t.toLowerCase()}},13126:function(t,e){"use strict";var n,r=Symbol.for("react.element"),i=Symbol.for("react.portal"),s=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),l=Symbol.for("react.provider"),u=Symbol.for("react.context"),c=Symbol.for("react.server_context"),h=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),f=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),g=Symbol.for("react.offscreen");function y(t){if("object"==typeof t&&null!==t){var e=t.$$typeof;switch(e){case r:switch(t=t.type){case s:case o:case a:case d:case p:return t;default:switch(t=t&&t.$$typeof){case c:case u:case h:case m:case f:case l:return t;default:return e}}case i:return e}}}n=Symbol.for("react.module.reference"),e.ContextConsumer=u,e.ContextProvider=l,e.Element=r,e.ForwardRef=h,e.Fragment=s,e.Lazy=m,e.Memo=f,e.Portal=i,e.Profiler=o,e.StrictMode=a,e.Suspense=
1d,e.SuspenseList=p,e.isAsyncMode=function(){return!1},e.isConcurrentMode=function(){return!1},e.isContextConsumer=function(t){return y(t)===u},e.isContextProvider=function(t){return y(t)===l},e.isElement=function(t){return"object"==typeof t&&null!==t&&t.$$typeof===r},e.isForwardRef=function(t){return y(t)===h},e.isFragment=function(t){return y(t)===s},e.isLazy=function(t){return y(t)===m},e.isMemo=function(t){return y(t)===f},e.isPortal=function(t){return y(t)===i},e.isProfiler=function(t){return y(t)===o},e.isStrictMode=function(t){return y(t)===a},e.isSuspense=function(t){return y(t)===d},e.isSuspenseList=function(t){return y(t)===p},e.isValidElementType=function(t){return"string"==typeof t||"function"==typeof t||t===s||t===o||t===a||t===d||t===p||t===g||"object"==typeof t&&null!==t&&(t.$$typeof===m||t.$$typeof===f||t.$$typeof===l||t.$$typeof===u||t.$$typeof===h||t.$$typeof===n||void 0!==t.getModuleId)},e.typeOf=y},82558:function(t,e,n){"use strict";t.exports=n(13126)},91545:function(t,e,n){"use strict";var r=n(2265),i=n(40718),s=n(15913),a=n(84225),o=n(87418),l=r.createElement;function u(t){var e="language-".concat(t.language),n={className:e}
1,r={className:[t.className,e].filter(Boolean).join(" ")};t.inline&&(n.style={display:"inline"},n.className=t.className);var i=s.highlight(t.value,t.language);t.markers&&t.markers.length>0&&(i=o(i,{markers:t.markers}));var u=l("code",n,0===i.length?t.value:i.map(a.depth(0)));return t.inline?u:l("pre",r,u)}u.propTypes={className:i.string,inline:i.bool,language:i.string.isRequired,value:i.string.isRequired,markers:i.arrayOf(i.oneOfType([i.number,i.shape({line:i.number.isRequired,className:i.string,component:i.oneOfType([i.node,i.func])})]))},u.defaultProps={className:"refractor",inline:!1},u.registerLanguage=function(t){return s.register(t)},u.hasLanguage=function(t){return s.registered(t)},t.exports=u},87418:function(t,e,n){"use strict";var r=n(17399),i=n(60740),s=n(24835);t.exports=function(t,e){var n=e.markers.map(function(t){return t.line?t:{line:t}}).sort(function(t,e){return t.line-e.line});return function(t,e,n){if(0===e.length||0===t.length)return t;for(var a=e.reduce(function(t,e){return function(t,e){var n={type:"root",children:e},a=new s,o=new s,l=new s,u=[];function c(t,e,r){u.push(e),r.forEach(function(e){t.has(e)||(t.set(e,Object.assign({},e,{children:[]})),e!==n&&u.push(e))});for(var i=r.length;i--;){var s=t.get(r[i]),a=r[i+1],o=t.get(a)||e;-1===s.children.indexOf(o)&&s.children.push(o)}}i(n,function(e,n){if(!e.children){if(e.lineStart<t){c(a,e,n);return}if(e.lineStart===t){c(o,e,n);return}e.lineEnd>t&&u.some(function(t){return -1!==n.indexOf(t)})&&c(l,e,n)}});var h=r(n,function(t){return -1===u.indexOf(t)}),d=function(t){var e=t.get(n);return e?(i(e,function(t,e){if(t.children){t.lineStart=0,t.lineEnd=0;return}e.forEach(function(e){e.lineStart=Math.max(e.lineStart,t.lineStart),e.lineEnd=Math.max(e.lineEnd,t.lineEnd)})}),e.children):[]},p=[].concat(d(a),d(o),d(l),h?h.children:[]);return a.clear(),o.clear(),l.clear(),p}(e.line,t)},t),o=[],l=0,u=0;u<e.length;u++){for(var c=e[u],h=a[l];h&&h.lineEnd<c.line;h=a[++l])o.push(h);for(var d=[],p=a[l];p&&p.lineEnd===c.line;p=a[++l])d.push(p);d.length>0&&o.push(function(t,e,n){var r=e.className||"refractor-marker";return{type:"element",tagName:e.component||"div",properties:e.component?Object.assign({},n,{className:r}):{className:r},children:t,lineStart:e.line,lineEnd:t[t.length-1].lineEnd,isMarker:!0}}(d,c,n))}for(;l<a.length;)o.push(a[l++]);return o}(function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{lineNumber:1};return e.reduce(function(e,r){var i=n.lineNumber;if("text"===r.type){if(-1===r.value.indexOf("\n"))return r.lineStart=i,r.lineEnd=i,e.nodes.push(r),e;for(var s=r.value.split("\n"),a=0;a<s.length;a++){var o=0===a?n.lineNumber:++n.lineNumber;e.nodes.push({type:"text",value:a===s.length-1?s[a]:"".concat(s[a],"\n"),lineStart:o,lineEnd:o})}return e.lineNumber=n.lineNumber,e}if(r.children){var l=t(r.children,n),u=l.nodes[0],c=l.nodes[l.nodes.length-1];return r.lineStart=u?u.lineStart:i,r.lineEnd=c?c.lineEnd:i,r.children=l.nodes,e.lineNumber=l.lineNumber,e.nodes.push(r),e}return e.nodes.push(r),e},{nodes:[],lineNumber:n.lineNumber})}(t).nodes,n,e)}},24835:function(t){"use strict";function e(){this.map=new WeakMap}function n(){this.keys=[],this.values=[]}t.exports="function"==typeof WeakMap?e:n,e.prototype.has=function(t){return this.map.has(t)},e.prototype.set=function(t,e){return this.map.set(t,e),this},e.prototype.get=function(t){return this.map.get(t)},e.prototype.clear=function(){},n.prototype.has=function(t){return -1!==this.keys.indexOf(t)},n.prototype.set=function(t,e){var n=this.keys.indexOf(t);return -1===n?(this.keys.push(t),this.values.push(e)):this.values[n]=e,this},n.prototype.get=function(t){var e=this.keys.indexOf(t);return -1===e?void 0:this.values[e]},n.prototype.clear=function(){this.keys=[],this.values=[]}},84225:function(t,e,n){"use strict";var r=n(2265);e.depth=function t(e){return function(n,i){return function(e,n,i){if(e.tagName){var s=e.properties&&Array.isArray(e.properties.className)?e.properties.className.join(" "):e.properties.className;return r.createElement(e.tagName,Object.assign({key:"fract-".concat(i,"-").concat(n)},e.properties,{className:s}),e.children&&e.children.map(t(i+1)))}return e.value}(n,i,e)}}},15913:function(t,e,n){"use strict";var r,i,s="object"==typeof globalThis?globalThis:"object"==typeof self?self:"object"==typeof window?window:"object"==typeof n.g?n.g:{},a=(i=(r="Prism"in s)?s.Prism:void 0,function(){r?s.Prism=i:delete s.Prism,r=void 0,i=void 0});s.Prism={manual:!0,disableWorkerMessageHandler:!0};var o=n(33819),l=n(26310),u=n(30946),c=n(94719),h=n(88934),d=n(64146),p=n(64467);a();var f={}.hasOwnProperty;function m(){}m.prototype=u;var g=new m;function y(t){if("function"!=typeof t||!t.displayName)throw Error("Expected `function` for `grammar`, got `"+t+"`");void 0===g.languages[t.displayName]&&t(g)}t.exports=g,g.highlight=function(t,e){var n,r=u.highlight;if("string"!=typeof t)throw Error("Expected `string` for `value`, got `"+t+"`");if("Object"===g.util.type(e))n=e,e=null;else{if("string"!=typeof e)throw Error("Expected `string` for `name`, got `"+e+"`");if(f.call(g.languages,e))n=g.languages[e];else throw Error("Unknown language: `"+e+"` is not registered")}return r.call(this,t,n,e)},g.register=y,g.alias=function(t,e){var n,r,i,s,a=g.languages,o=t;for(n in e&&((o={})[t]=e),o)for(i=(r="string"==typeof(r=o[n])?[r]:r).length,s=-1;++s<i;)a[r[s]]=a[n]},g.registered=function(t){if("string"!=typeof t)throw Error("Expected `string` for `language`, got `"+t+"`");return f.call(g.languages,t)},g.listLanguages=function(){var t,e=g.languages,n=[];for(t in e)f.call(e,t)&&"object"==typeof e[t]&&n.push(t);return n},y(c),y(h),y(d),y(p),g.util.encode=function(t){return t},g.Token.stringify=function(t,e,n){var r;return"string"==typeof t?{type:"text",value:t}:"Array"===g.util.type(t)?function(t,e){for(var n,r=[],i=t.length,s=-1;++s<i;)""!==(n=t[s])&&null!=n&&r.push(n);for(s=-1,i=r.length;++s<i;)n=r[s],r[s]=g.Token.stringify(n,e,r);return r}(t,e):(r={type:t.type,content:g.Token.stringify(t.content,e,n),tag:"span",classes:["token",t.type],attributes:{},language:e,parent:n},t.alias&&(r.classes=r.classes.concat(t.alias)),g.hooks.run("wrap",r),o(r.tag+"."+r.classes.join("."),function(t){var e;
1for(e in t)t[e]=l(t[e]);return t}(r.attributes),r.content))}},64146:function(t){"use strict";function e(t){t.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/}}t.exports=e,e.displayName="clike",e.aliases=[]},88934:function(t){"use strict";function e(t){var e,n;e=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/,t.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-](?:[^;{\s]|\s+(?![\s{]))*(?:;|(?=\s*\{))/,inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+e.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+e.source+"$"),alias:"url"}}},selector:{pattern:RegExp("(^|[{}\\s])[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+e.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:e,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},t.languages.css.atrule.inside.rest=t.languages.css,(n=t.languages.markup)&&(n.tag.addInlined("style","css"),n.tag.addAttribute("style","css"))}t.exports=e,e.displayName="css",e.aliases=[]},64467:function(t){"use strict";function e(t){t.languages.javascript=t.languages.extend("clike",{"class-name":[t.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+(/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|")+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),t.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,t.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/,lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:t.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]
1*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:t.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:t.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:t.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:t.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),t.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:t.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),t.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),t.languages.markup&&(t.languages.markup.tag.addInlined("script","javascript"),t.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),t.languages.js=t.languages.javascript}t.exports=e,e.displayName="javascript",e.aliases=["js"]},94719:function(t){"use strict";function e(t){t.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},t.languages.markup.tag.inside["attr-value"].inside.entity=t.languages.markup.entity,t.languages.markup.doctype.inside["internal-subset"].inside=t.languages.markup,t.hooks.add("wrap",function(t){"entity"===t.type&&(t.attributes.title=t.content.value.replace(/&amp;/,"&"))}),Object.defineProperty(t.languages.markup.tag,"addInlined",{value:function(e,n){var r={};r["language-"+n]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:t.languages[n]},r.cdata=/^<!\[CDATA\[|\]\]>$/i;var i={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:r}};i["language-"+n]={pattern:/[\s\S]+/,inside:t.languages[n]};var s={};s[e]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,function(){return e}),"i"),lookbehind:!0,greedy:!0,inside:i},t.languages.insertBefore("markup","cdata",s)}}),Object.defineProperty(t.languages.markup.tag,"addAttribute",{value:function(e,n){t.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+e+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\
1s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[n,"language-"+n],inside:t.languages[n]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),t.languages.html=t.languages.markup,t.languages.mathml=t.languages.markup,t.languages.svg=t.languages.markup,t.languages.xml=t.languages.extend("markup",{}),t.languages.ssml=t.languages.xml,t.languages.atom=t.languages.xml,t.languages.rss=t.languages.xml}t.exports=e,e.displayName="markup",e.aliases=["html","mathml","svg","xml","ssml","atom","rss"]},69380:function(t,e){"use strict";e.Q=function(t){var e=String(t||"").trim();return""===e?[]:e.split(n)};var n=/[ \t\n\r\f]+/g},17399:function(t,e,n){"use strict";var r=n(14508);t.exports=function(t,e,n){var s=r(n||e),a=null==e.cascade||e.cascade;return function t(e,n,r){var o,l,u,c,h;if(!s(e,n,r))return null;if(e.children){for(o=[],l=-1;++l<e.children.length;)(u=t(e.children[l],l,e))&&o.push(u);if(a&&e.children.length&&!o.length)return null}for(h in c={},e)i.call(e,h)&&(c[h]="children"===h?o:e[h]);return c}(t,null,null)};var i={}.hasOwnProperty},14508:function(t){"use strict";function e(){return!0}t.exports=function t(n){if(null==n)return e;if("string"==typeof n)return function(t){return!!(t&&t.type===n)};if("object"==typeof n)return"length"in n?function(e){for(var n=[],r=-1;++r<e.length;)n[r]=t(e[r]);return function(){for(var t=-1;++t<n.length;)if(n[t].apply(this,arguments))return!0;return!1}}(n):function(t){var e;for(e in n)if(t[e]!==n[e])return!1;return!0};if("function"==typeof n)return n;throw Error("Expected function, string, or object as test")}},29858:function(t){t.exports=function(t){return t}},60740:function(t,e,n){"use strict";t.exports=a;var r=n(14508),i=n(29858),s="skip";function a(t,e,n,a){var o,l;"function"==typeof e&&"function"!=typeof n&&(a=n,n=e,e=null),l=r(e),o=a?-1:1,(function t(r,u,c){var h,d="object"==typeof r&&null!==r?r:{};return"string"==typeof d.type&&(h="string"==typeof d.tagName?d.tagName:"string"==typeof d.name?d.name:void 0,p.displayName="node ("+i(d.type+(h?"<"+h+">":""))+")"),p;function p(){var i,h,d,p=c.concat(r),f=[];if((!e||l(r,u,c[c.length-1]||null))&&!1===(f=null!==(i=n(r,c))&&"object"==typeof i&&"length"in i?i:"number"==typeof i?[!0,i]:[i])[0])return f;if(r.children&&f[0]!==s)for(d=(a?r.children.length:-1)+o;d>-1&&d<r.children.length;){if(!1===(h=t(r.children[d],d,p)())[0])return h;d="number"==typeof h[1]?h[1]:d+o}return f}})(t,null,[])()}a.CONTINUE=!0,a.SKIP=s,a.EXIT=!1},33881:function(t){t.exports=function(){for(var t={},n=0;n<arguments.length;n++){var r=arguments[n];for(var i in r)e.call(r,i)&&(t[i]=r[i])}return t};var e=Object.prototype.hasOwnProperty},37326:function(t,e,n){"use strict";n.d(e,{Sn:function(){return i},VG:function(){return r},ix:function(){return s}});let r={gray:{50:{title:"Gray 50",hex:"#f2f3f5"},100:{title:"Gray 100",hex:"#e6e8ec"},200:{title:"Gray 200",hex:"#ced2d9"},300:{title:"Gray 300",hex:"#b6bcc6"},400:{title:"Gray 400",hex:"#9ea6b3"},500:{title:"Gray 500",hex:"#8690a0"},600:{title:"Gray 600",hex:"#6e7683"},700:{title:"Gray 700",hex:"#565d67"},800:{title:"Gray 800",hex:"#3f434a"},900:{title:"Gray 900",hex:"#272a2e"},950:{title:"Gray 950",hex:"#1b1d20"}},blue:{50:{title:"Blue 50",hex:"#e8f1fe"},100:{title:"Blue 100",hex:"#d2e3fe"},200:{title:"Blue 200",hex:"#a6c8fd"},300:{title:"Blue 300",hex:"#7aacfd"},400:{title:"Blue 400",hex:"#4e91fc"},500:{title:"Blue 500",hex:"#2276fc"},600:{title:"Blue 600",hex:"#1e61cd"},700:{title:"Blue 700",hex:"#1a4d9e"},800:{title:"Blue 800",hex:"#17396f"},900:{title:"Blue 900",hex:"#132540"},950:{title:"Blue 950",hex:"#111b29"}},purple:{50:{title:"Purple 50",hex:"#f8e9fe"},100:{title:"Purple 100",hex:"#f2d3fe"},200:{title:"Purple 200",hex:"#e6a7fd"},300:{title:"Purple 300",hex:"#d97bfd"},400:{title:"Purple 400",hex:"#cd4efc"},500:{title:"Purple 500",hex:"#c123fc"},600:{title:"Purple 600",hex:"#9d1fcd"},700:{title:"Purple 700",hex:"#7a1b9e"},800:{title:"Purple 800",hex:"#56186f"},900:{title:"Purple 900",hex:"#331440"},950:{title:"Purple 950",hex:"#211229"}},magenta:{50:{title:"Magenta 50",hex:"#fcebf5"},100:{title:"Magenta 100",hex:"#f9d7eb"},200:{title:"Magenta 200",hex:"#f4afd8"},300:{title:"Magenta 300",hex:"#ef87c4"},400:{title:"Magenta 400",hex:"#ea5fb1"},500:{title:"Magenta 500",hex:"#e5389e"},600:{title:"Magenta 600",hex:"#ba3082"},700:{title:"Magenta 700",hex:"#8f2866"},800:{title:"Magenta 800",hex:"#65204a"},900:{title:"Magenta 900",hex:"#3a182d"},950:{title:"Magenta 950",hex:"#25141f"}},red:{50:{title:"Red 50",hex:"#fdebea"},100:{title:"Red 100",hex:"#fcd8d5"},200:{title:"Red 200",hex:"#f9b1ab"},300:{title:"Red 300",hex:"#f68b82"},400:{title:"Red 400",hex:"#f36458"},500:{title:"Red 500",hex:"#f03e2f"},600:{title:"Red 600",hex:"#c33529"},700:{title:"Red 700",hex:"#962c23"},800:{title:"Red 800",hex:"#69231d"},900:{title:"Red 900",hex:"#3c1a17"},950:{title:"Red 950",hex:"#261514"}},orange:{50:{title:"Orange 50",hex:"#fef0e6"},100:{title:"Orange 100",hex:"#fee2ce"},200:{title:"Orange 200",hex:"#fdc59d"},300:{title:"Orange 300",hex:"#fca86d"}
1,400:{title:"Orange 400",hex:"#fb8b3c"},500:{title:"Orange 500",hex:"#e57322"},600:{title:"Orange 600",hex:"#ba5f1f"},700:{title:"Orange 700",hex:"#904b1b"},800:{title:"Orange 800",hex:"#653818"},900:{title:"Orange 900",hex:"#3a2415"},950:{title:"Orange 950",hex:"#251a13"}},yellow:{50:{title:"Yellow 50",hex:"#fef7da"},100:{title:"Yellow 100",hex:"#fdefb6"},200:{title:"Yellow 200",hex:"#fcdf6d"},300:{title:"Yellow 300",hex:"#fbd024"},400:{title:"Yellow 400",hex:"#d9b421"},500:{title:"Yellow 500",hex:"#b7991e"},600:{title:"Yellow 600",hex:"#967e1c"},700:{title:"Yellow 700",hex:"#746219"},800:{title:"Yellow 800",hex:"#534717"},900:{title:"Yellow 900",hex:"#312c14"},950:{title:"Yellow 950",hex:"#201e13"}},green:{50:{title:"Green 50",hex:"#e7f9ed"},100:{title:"Green 100",hex:"#d0f4dc"},200:{title:"Green 200",hex:"#a1eaba"},300:{title:"Green 300",hex:"#72e097"},400:{title:"Green 400",hex:"#43d675"},500:{title:"Green 500",hex:"#3ab564"},600:{title:"Green 600",hex:"#329454"},700:{title:"Green 700",hex:"#297343"},800:{title:"Green 800",hex:"#215233"},900:{title:"Green 900",hex:"#183122"},950:{title:"Green 950",hex:"#14211a"}},cyan:{50:{title:"Cyan 50",hex:"#e3fafd"},100:{title:"Cyan 100",hex:"#c7f5fc"},200:{title:"Cyan 200",hex:"#90ecf9"},300:{title:"Cyan 300",hex:"#59e3f6"},400:{title:"Cyan 400",hex:"#22daf4"},500:{title:"Cyan 500",hex:"#1fb8ce"},600:{title:"Cyan 600",hex:"#1c97a8"},700:{title:"Cyan 700",hex:"#197583"},800:{title:"Cyan 800",hex:"#16545d"},900:{title:"Cyan 900",hex:"#133237"},950:{title:"Cyan 950",hex:"#112124"}}},i={title:"Black",hex:"#101112"},s={title:"White",hex:"#fff"}},20422:function(t,e,n){"use strict";n.d(e,{M:function(){return g}});var r=n(2265),i=n(48383);function s(){let t=(0,r.useRef)(!1);return(0,i.L)(()=>(t.current=!0,()=>{t.current=!1}),[]),t}var a=n(58303),o=n(6411),l=n(18295);class u extends r.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 c({children:t,isPresent:e}){let n=(0,r.useId)(),i=(0,r.useRef)(null),s=(0,r.useRef)({width:0,height:0,top:0,left:0});return(0,r.useInsertionEffect)(()=>{let{width:t,height:r,top:a,left:o}=s.current;if(e||!i.current||!t||!r)return;i.current.dataset.motionPopId=n;let l=document.createElement("style");return document.head.appendChild(l),l.sheet&&l.sheet.insertRule(`
2          [data-motion-pop-id="${n}"] {
3            position: absolute !important;
4            width: ${t}px !important;
5            height: ${r}px !important;
6            top: ${a}px !important;
7            left: ${o}px !important;
8          }
9        `),()=>{document.head.removeChild(l)}},[e]),r.createElement(u,{isPresent:e,childRef:i,sizeRef:s},r.cloneElement(t,{ref:i}))}let h=({children:t,initial:e,isPresent:n,onExitComplete:i,custom:s,presenceAffectsLayout:a,mode:u})=>{let h=(0,l.h)(d),p=(0,r.useId)(),f=(0,r.useMemo)(()=>({id:p,initial:e,isPresent:n,custom:s,onExitComplete:t=>{for(let e of(h.set(t,!0),h.values()))if(!e)return;i&&i()},register:t=>(h.set(t,!1),()=>h.delete(t))}),a?void 0:[n]);return(0,r.useMemo)(()=>{h.forEach((t,e)=>h.set(e,!1))},[n]),r.useEffect(()=>{n||h.size||!i||i()},[n]),"popLayout"===u&&(t=r.createElement(c,{isPresent:n},t)),r.createElement(o.O.Provider,{value:f},t)};function d(){return new Map}var p=n(30880),f=n(53666);let m=t=>t.key||"",g=({children:t,custom:e,initial:n=!0,onExitComplete:o,exitBeforeEnter:l,presenceAffectsLayout:u=!0,mode:c="sync"})=>{var d;(0,f.k)(!l,"Replace exitBeforeEnter with mode='wait'");let g=(0,r.useContext)(p.p).forceRender||function(){let t=s(),[e,n]=(0,r.useState)(0),i=(0,r.useCallback)(()=>{t.current&&n(e+1)},[e]);return[(0,r.useCallback)(()=>a.Wi.postRender(i),[i]),e]}()[0],y=s(),v=function(t){let e=[];return r.Children.forEach(t,t=>{(0,r.isValidElement)(t)&&e.push(t)}),e}(t),x=v,b=(0,r.useRef)(new Map).current,w=(0,r.useRef)(x),P=(0,r.useRef)(new Map).current,A=(0,r.useRef)(!0);if((0,i.L)(()=>{A.current=!1,function(t,e){t.forEach(t=>{let n=m(t);e.set(n,t)})}(v,P),w.current=x}),d=()=>{A.current=!0,P.clear(),b.clear()},(0,r.useEffect)(()=>()=>d(),[]),A.current)return r.createElement(r.Fragment,null,x.map(t=>r.createElement(h,{key:m(t),isPresent:!0,initial:!!n&&void 0,presenceAffectsLayout:u,mode:c},t)));x=[...x];let S=w.current.map(m),k=v.map(m),E=S.length;for(let t=0;t<E;t++){let e=S[t];-1!==k.indexOf(e)||b.has(e)||b.set(e,void 0)}return"wait"===c&&b.size&&(x=[]),b.forEach((t,n)=>{if(-1!==k.indexOf(n))return;let i=P.get(n);if(!i)return;let s=S.indexOf(n),a=t;a||(a=r.createElement(h,{key:m(i),isPresent:!1,onExitComplete:()=>{b.delete(n);let t=Array.from(P.keys()).filter(t=>!k.includes(t));if(t.forEach(t=>P.delete(t)),w.current=v.filter(e=>{let r=m(e);return r===n||t.includes(r)}),!b.size){if(!1===y.current)return;g(),o&&o()}},custom:e,presenceAffectsLayout:u,mode:c},i),b.set(n,a)),x.splice(s,0,a)}),x=x.map(t=>{let e=t.key;return b.has(e)?t:r.createElement(h,{key:m(t),isPresent:!0,presenceAffectsLayout:u,mode:c},t)}),r.createElement(r.Fragment,null,b.size?x:x.map(t=>(0,r.cloneElement)(t)))}},30880:function(t,e,n){"use strict";n.d(e,{p:function(){return r}});let r=(0,n(2265).createContext)({})},6411:function(t,e,n){"use strict";n.d(e,{O:function(){return r}});let r=(0,n(2265).createContext)(null)},58303:function(t,e,n){"use strict";n.d(e,{Pn:function(){return o},Wi:function(){return a},frameData:function(){return l},S6:function(){return u}});var r=n(58869);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:a,cancel:o,state:l,steps:u}=function(t,e){let n=!1,r=!0,a={delta:0,timestamp:0,isProcessing:!1},o=s.reduce((t,e)=>(t[e]=function(t){let e=new i,n=new i,r=0,s=!1,a=!1,o=new WeakSet,l={schedule:(t,i=!1,a=!1)=>{let l=a&&s,u=l?e:n;return i&&o.add(t),u.add(t)&&l&&s&&(r=e.order.length),t},cancel:t=>{n.remove(t),o.delete(t)},process:i=>{if(s){a=!0;return}if(s=!0,[e,n]=[n,e],n.clear(),r=e.order.length)for(let n=0;n<r;n++){let r=e.order[n];r(i),o.has(r)&&(l.schedule(r),t())}s=!1,a&&(a=!1,l.process(i))}};return l}(()=>n=!0),t),{}),l=t=>o[t].process(a),u=()=>{let i=performance.now();n=!1,a.delta=r?1e3/60:Math.max(Math.min(i-a.timestamp,40),1),a.timestamp=i,a.isProcessing=!0,s.forEac
9h(l),a.isProcessing=!1,n&&e&&(r=!1,t(u))},c=()=>{n=!0,r=!0,a.isProcessing||t(u)};return{schedule:s.reduce((t,e)=>{let r=o[e];return t[e]=(t,e=!1,i=!1)=>(n||c(),r.schedule(t,e,i)),t},{}),cancel:t=>s.forEach(e=>o[e].cancel(t)),state:a,steps:o}}("undefined"!=typeof requestAnimationFrame?requestAnimationFrame:r.Z,!0)},5116:function(t,e,n){"use strict";let r;n.d(e,{E:function(){return iH}});var i,s,a=n(2265);let o=(0,a.createContext)({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"}),l=(0,a.createContext)({});var u=n(6411),c=n(48383);let h=(0,a.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 y=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],v=["initial",...y];function x(t){return g(t.animate)||v.some(e=>m(t[e]))}function b(t){return!!(x(t)||t.variants)}function w(t){return Array.isArray(t)?t.join(" "):t}let P={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"]},A={};for(let t in P)A[t]={isEnabled:e=>P[t].some(t=>!!e[t])};var S=n(67890),k=n(30880);let E=(0,a.createContext)({}),T=Symbol.for("motionComponentSymbol"),C=["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 M(t){if("string"!=typeof t||t.includes("-"));else if(C.indexOf(t)>-1||/[A-Z]/.test(t))return!0;return!1}let F={},V=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],D=new Set(V);function R(t,{layout:e,layoutId:n}){return D.has(t)||t.startsWith("origin")||(e||void 0!==n)&&(!!F[t]||"opacity"===t)}let j=t=>!!(t&&t.getVelocity),L={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},O=V.length,B=t=>e=>"string"==typeof e&&e.startsWith(t),N=B("--"),$=B("var(--"),I=(t,e)=>e&&"number"==typeof t?e.transform(t):t,U=(t,e,n)=>Math.min(Math.max(n,t),e),W={test:t=>"number"==typeof t,parse:parseFloat,transform:t=>t},z={...W,transform:t=>U(0,1,t)},_={...W,default:1},H=t=>Math.round(1e5*t)/1e5,G=/(-)?([\d]*\.?[\d])+/g,Z=/(#[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"),tn={...J,parse:t=>J.parse(t)/100,transform:t=>J.transform(100*t)},tr={...W,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:_,scaleX:_,scaleY:_,scaleZ:_,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:z,originX:tn,originY:tn,originZ:Q,zIndex:tr,fillOpacity:z,strokeOpacity:z,numOctaves:tr};function ts(t,e,n,r){let{style:i,vars:s,transform:a,transformOrigin:o}=t,l=!1,u=!1,c=!0;for(let t in e){let n=e[t];if(N(t)){s[t]=n;continue}let r=ti[t],h=I(n,r);if(D.has(t)){if(l=!0,a[t]=h,!c)continue;n!==(r.default||0)&&(c=!1)}else t.startsWith("origin")?(u=!0,o[t]=h):i[t]=h}if(!e.transform&&(l||r?i.transform=function(t,{enableHardwareAcceleration:e=!0,allowTransformNone:n=!0},r,i){let s="";for(let e=0;e<O;e++){let n=V[e];if(void 0!==t[n]){let e=L[n]||n;s+=`${e}(${t[n]}) `}}return e&&!t.z&&(s+="translateZ(0)"),s=s.trim(),i?s=i(t,r?"":s):n&&r&&(s="none"),s}(t.transform,n,c,r):i.transform&&(i.transform="none")),u){let{originX:t="50%",originY:e="50%",originZ:n=0}=o;i.transformOrigin=`${t} ${e} ${n}`}}let ta=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function to(t,e,n){for(let r in e)j(e[r])||R(r,n)||(t[r]=e[r])}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,n){return"string"==typeof t?t:Q.transform(e+n*t)}let td={offset:"stroke-dashoffset",array:"stroke-dasharray"},tp={offset:"strokeDashoffset",array:"strokeDasharray"};function tf(t,{attrX:e,attrY:n,attrScale:r,originX:i,originY:s,pathLength:a,pathSpacing:o=1,pathOffset:l=0,...u}
9,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,n){let r=th(e,t.x,t.width),i=th(n,t.y,t.height);return`${r} ${i}`}(m,void 0!==i?i:.5,void 0!==s?s:.5)),void 0!==e&&(p.x=e),void 0!==n&&(p.y=n),void 0!==r&&(p.scale=r),void 0!==a&&function(t,e,n=1,r=0,i=!0){t.pathLength=1;let s=i?td:tp;t[s.offset]=Q.transform(-r);let a=Q.transform(e),o=Q.transform(n);t[s.array]=`${a} ${o}`}(p,a,o,l,!1)}let tm=()=>({...ta(),attrs:{}}),tg=t=>"string"==typeof t&&"svg"===t.toLowerCase();function ty(t,{style:e,vars:n},r,i){for(let s in Object.assign(t.style,e,i&&i.getProjectionStyles(r)),n)t.style.setProperty(s,n[s])}let tv=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 tx(t,e,n,r){for(let n in ty(t,e,void 0,r),e.attrs)t.setAttribute(tv.has(n)?n:d(n),e.attrs[n])}function tb(t,e){let{style:n}=t,r={};for(let i in n)(j(n[i])||e.style&&j(e.style[i])||R(i,t))&&(r[i]=n[i]);return r}function tw(t,e){let n=tb(t,e);for(let r in t)(j(t[r])||j(e[r]))&&(n[-1!==V.indexOf(r)?"attr"+r.charAt(0).toUpperCase()+r.substring(1):r]=t[r]);return n}function tP(t,e,n,r={},i={}){return"function"==typeof e&&(e=e(void 0!==n?n:t.custom,r,i)),"string"==typeof e&&(e=t.variants&&t.variants[e]),"function"==typeof e&&(e=e(void 0!==n?n:t.custom,r,i)),e}var tA=n(18295);let tS=t=>Array.isArray(t),tk=t=>!!(t&&"object"==typeof t&&t.mix&&t.toValue),tE=t=>tS(t)?t[t.length-1]||0:t;function tT(t){let e=j(t)?t.get():t;return tk(e)?e.toValue():e}let tC=t=>(e,n)=>{let r=(0,a.useContext)(l),i=(0,a.useContext)(u.O),s=()=>(function({scrapeMotionValuesFromProps:t,createRenderState:e,onMount:n},r,i,s){let a={latestValues:function(t,e,n,r){let i={},s=r(t,{});for(let t in s)i[t]=tT(s[t]);let{initial:a,animate:o}=t,l=x(t),u=b(t);e&&u&&!l&&!1!==t.inherit&&(void 0===a&&(a=e.initial),void 0===o&&(o=e.animate));let c=!!n&&!1===n.initial,h=(c=c||!1===a)?o:a;return h&&"boolean"!=typeof h&&!g(h)&&(Array.isArray(h)?h:[h]).forEach(e=>{let n=tP(t,e);if(!n)return;let{transitionEnd:r,transition:s,...a}=n;for(let t in a){let e=a[t];
9if(Array.isArray(e)){let t=c?e.length-1:0;e=e[t]}null!==e&&(i[t]=e)}for(let t in r)i[t]=r[t]}),i}(r,i,s,t),renderState:e()};return n&&(a.mount=t=>n(r,t,a)),a})(t,e,r,i);return n?s():(0,tA.h)(s)};var tM=n(58303);let tF={useVisualState:tC({scrapeMotionValuesFromProps:tw,createRenderState:tm,onMount:(t,e,{renderState:n,latestValues:r})=>{tM.Wi.read(()=>{try{n.dimensions="function"==typeof e.getBBox?e.getBBox():e.getBoundingClientRect()}catch(t){n.dimensions={x:0,y:0,width:0,height:0}}}),tM.Wi.render(()=>{tf(n,r,{enableHardwareAcceleration:!1},tg(e.tagName),t.transformTemplate),tx(e,n)})}})},tV={useVisualState:tC({scrapeMotionValuesFromProps:tb,createRenderState:ta})};function tD(t,e,n,r={passive:!0}){return t.addEventListener(e,n,r),()=>t.removeEventListener(e,n)}let tR=t=>"mouse"===t.pointerType?"number"!=typeof t.button||t.button<=0:!1!==t.isPrimary;function tj(t,e="page"){return{point:{x:t[e+"X"],y:t[e+"Y"]}}}let tL=t=>e=>tR(e)&&t(e,tj(e));function tO(t,e,n,r){return tD(t,e,tL(n),r)}let tB=(t,e)=>n=>e(t(n)),tN=(...t)=>t.reduce(tB);function t$(t){let e=null;return()=>null===e&&(e=t,()=>{e=null})}let tI=t$("dragHorizontal"),tU=t$("dragVertical");function tW(t){let e=!1;if("y"===t)e=tU();else if("x"===t)e=tI();else{let t=tI(),n=tU();t&&n?e=()=>{t(),n()}:(t&&t(),n&&n())}return e}function tz(){let t=tW(!0);return!t||(t(),!1)}class t_{constructor(t){this.isMounted=!1,this.node=t}update(){}}function tH(t,e){let n="onHover"+(e?"Start":"End");return tO(t.current,"pointer"+(e?"enter":"leave"),(r,i)=>{if("touch"===r.pointerType||tz())return;let s=t.getProps();t.animationState&&s.whileHover&&t.animationState.setActive("whileHover",e),s[n]&&tM.Wi.update(()=>s[n](r,i))},{passive:!t.getProps()[n]})}class tG extends t_{mount(){this.unmount=tN(tH(this.node,!0),tH(this.node,!1))}unmount(){}}class tZ extends t_{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=tN(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=n(58869);function tX(t,e){if(!e)return;let n=new PointerEvent("pointer"+t);e(n,tj(n))}class tK extends t_{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 n=this.node.getProps(),r=tO(window,"pointerup",(t,e)=>{if(!this.checkPressEnd())return;let{onTap:n,onTapCancel:r,globalTapTarget:i}=this.node.getProps();tM.Wi.update(()=>{i||tY(this.node.current,t.target)?n&&n(t,e):r&&r(t,e)})},{passive:!(n.onTap||n.onPointerUp)}),i=tO(window,"pointercancel",(t,e)=>this.cancelPress(t,e),{passive:!(n.onTapCancel||n.onPointerCancel)});this.removeEndListeners=tN(r,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:n}=this.node.getProps();n&&tM.Wi.update(()=>n(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=tN(t,e)}}startPress(t,e){this.isPressing=!0;let{onTapStart:n,whileTap:r}=this.node.getProps();r&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),n&&tM.Wi.update(()=>n(t,e))}checkPressEnd(){return this.removeEndListeners(),this.isPressing=!1,this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!tz()}cancelPress(t,e){if(!this.checkPressEnd())return;let{onTapCancel:n}=this.node.getProps();n&&tM.Wi.update(()=>n(t,e))}mount(){let t=this.node.getProps(),e=tO(t.globalTapTarget?window:this.node.current,"pointerdown",this.startPointerPress,{passive:!(t.onTapStart||t.onPointerStart)}),n=tD(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=tN(e,n)}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)},t5={some:0,all:1};class t3 extends t_{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();let{viewport:t={}}=this.node.getProps(),{root:e,margin:n,amount:r="some",once:i}=t,s={root:e?e.current:void 0,rootMargin:n,threshold:"number"==typeof r?r:t5[r]};return function(t,e,n){let r=function({root:t,...e}){let n=t||document;tQ.has(n)||tQ.set(n,{});let r=tQ.get(n),i=JSON.stringify(e);return r[i]||(r[i]=new IntersectionObserver(t1,{root:t,...e})),r[i]}(e);return tJ.set(t,n),r.observe(t),()=>{tJ.delete(t),r.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:n,onViewportLeave:r}=this.node.getProps(),s=e?n:r;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 n=>t[n]!==e[n]}(t,e))&&this.startObserver()}unmount(){}}function t2(t,e){if(!Array.isArray(e))return!1;let n=e.length;if(n!==t.length)return!1;for(let r=0;r<n;r++)if(e[r]!==t[r])return!1;return!0}function t6(t,e,n){let r=t.getProps();return tP(r,e,void 0!==n?n:r.custom,function(t){let e={};return t.values.forEach((t,n)=>e[n]=t.get()),e}(t),function(t){let e={};return t.values.forEach((t,n)=>e[n]=t.getVelocity()),e}(t))}var t8=n(53666);let t9=t=>1e3*t,t4=t=>t/1e3,t7={current:!1},et=t=>Array.isArray(t)&&"number"==typeof t[0],ee=([t,e,n,r])=>`cubic-bezier(${t}, ${e}, ${n}, ${r})`,en={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])},er=(t,e,n)=>(((1-3*n+3*e)*t+(3*n-6*e))*t+3*e)*t;function ei(t,e,n,r){if(t===e&&n===r)return tq.Z;let i=e=>(function(t,e,n,r,i){let s,a;let o=0;do(s=er(a=e+(n-e)/2,r,i)-t)>0?n=a:e=a;while(Math.abs(s)>1e-7&&++o<12);return a})(e,0,1,t,n);return t=>0===t||1===t?t:er(i(t),e,r)}let es=ei(.42,0,1,1),ea=ei(0,0,.58,1),eo=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),ey={linear:tq.Z,easeIn:es,easeInOut:eo,easeOut:ea,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)))},ev=t=>{if(Array.isArray(t)){(0,t8.k)(4===t.length,"Cubic bezier arrays must contain four numerical values.");let[e,n,r,i]=t;return ei(e,n,r,i)}return"string"==typeof t?((0,t8.k)(void 0!==ey[t],`Invalid easing type '${t}'`),ey[t]):t},ex=(t,e)=>n=>!!(q(n)&&Y.test(n)&&n.startsWith(t)||e&&Object.prototype.hasOwnProperty.call(n,e)),eb=(t,e,n)=>r=>{if(!q(r))return r;let[i,s,a,o]=r.match(G);return{[t]:parseFloat(i),[e]:parseFloat(s),[n]:parseFloat(a),alpha:void 0!==o?parseFloat(o):1}},ew=t=>U(0,255,t),eP={...W,transform:t=>Math.round(ew(t))},eA={test:ex("rgb","red"),parse:eb("red","green","blue"),transform:({red:t,green:e,blue:n,alpha:r=1})=>"rgba("+eP.transform(t)+", "+eP.transform(e)+", "+eP.transform(n)+", "+H(z.transform(r))+")"},eS={test:ex("#"),parse:function(t){let e="",n="",r="",i="";return t.length>5?(e=t.substring(1,3),n=t.substring(3,5),r=t.substring(5,7),i=t.substring(7,9)):(e=t.substring(1,2),n=t.substring(2,3),r=t.substring(3,4),i=t.substring(4,5),e+=e,n+=n,r+=r,i+=i),{red:parseInt(e,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:i?parseInt(i,16)/255:1}},transform:eA.transform},ek={test:ex("hsl","hue"),parse:eb("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:n,alpha:r=1})=>"hsla("+Math.round(t)+", "+J.transform(H(e))+", "+J.transform(H(n))+", "+H(z.transform(r))+")"},eE={test:t=>eA.test(t)||eS.test(t)||ek.test(t),parse:t=>eA.test(t)?eA.parse(t):ek.test(t)?ek.parse(t):eS.parse(t),transform:t=>q(t)?t:t.hasOwnProperty("red")?eA.transform(t):ek.transform(t)},eT=(t,e,n)=>-n*t+n*e+t;function eC(t,e,n){return(n<0&&(n+=1),n>1&&(n-=1),n<1/6)?t+(e-t)*6*n:n<.5?e:n<2/3?t+(e-t)*(2/3-n)*6:t}let eM=(t,e,n)=>{let r=t*t;return Math.sqrt(Math.max(0,n*(e*e-r)+r))},eF=[eS,eA,ek],eV=t=>eF.find(e=>e.test(t));function eD(t){let e=eV(t);(0,t8.k)(!!e,`'${t}' is not an animatable color. Use the equivalent color code instead.`);let n=e.parse(t);return e===ek&&(n=function({hue:t,saturation:e,lightness:n,alpha:r}){t/=360,n/=100;let i=0,s=0,a=0;if(e/=100){let r=n<.5?n*(1+e):n+e-n*e,o=2*n-r;i=eC(o,r,t+1/3),s=eC(o,r,t),a=eC(o,r,t-1/3)}else i=s=a=n;return{red:Math.round(255*i),green:Math.round(255*s),blue:Math.round(255*a),alpha:r}}(n)),n}let eR=(t,e)=>{let n=eD(t),r=eD(e),i={...n};return t=>(i.red=eM(n.red,r.red,t),i.green=eM(n.green,r.green,t),i.blue=eM(n.blue,r.blue,t),i.alpha=eT(n.alpha,r.alpha,t),eA.transform(i))}
9,ej={regex:/var\s*\(\s*--[\w-]+(\s*,\s*(?:(?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)+)?\s*\)/g,countKey:"Vars",token:"${v}",parse:tq.Z},eL={regex:Z,countKey:"Colors",token:"${c}",parse:eE.parse},eO={regex:G,countKey:"Numbers",token:"${n}",parse:W.parse};function eB(t,{regex:e,countKey:n,token:r,parse:i}){let s=t.tokenised.match(e);s&&(t["num"+n]=s.length,t.tokenised=t.tokenised.replace(e,r),t.values.push(...s.map(i)))}function eN(t){let e=t.toString(),n={value:e,tokenised:e,values:[],numVars:0,numColors:0,numNumbers:0};return n.value.includes("var(--")&&eB(n,ej),eB(n,eL),eB(n,eO),n}function e$(t){return eN(t).values}function eI(t){let{values:e,numColors:n,numVars:r,tokenised:i}=eN(t),s=e.length;return t=>{let e=i;for(let i=0;i<s;i++)e=i<r?e.replace(ej.token,t[i]):i<r+n?e.replace(eL.token,eE.transform(t[i])):e.replace(eO.token,H(t[i]));return e}}let eU=t=>"number"==typeof t?0:t,eW={test:function(t){var e,n;return isNaN(t)&&q(t)&&((null===(e=t.match(G))||void 0===e?void 0:e.length)||0)+((null===(n=t.match(Z))||void 0===n?void 0:n.length)||0)>0},parse:e$,createTransformer:eI,getAnimatableNone:function(t){let e=e$(t);return eI(t)(e.map(eU))}},ez=(t,e)=>n=>`${n>0?e:t}`;function e_(t,e){return"number"==typeof t?n=>eT(t,e,n):eE.test(t)?eR(t,e):t.startsWith("var(")?ez(t,e):eZ(t,e)}let eH=(t,e)=>{let n=[...t],r=n.length,i=t.map((t,n)=>e_(t,e[n]));return t=>{for(let e=0;e<r;e++)n[e]=i[e](t);return n}},eG=(t,e)=>{let n={...t,...e},r={};for(let i in n)void 0!==t[i]&&void 0!==e[i]&&(r[i]=e_(t[i],e[i]));return t=>{for(let e in r)n[e]=r[e](t);return n}},eZ=(t,e)=>{let n=eW.createTransformer(e),r=eN(t),i=eN(e);return r.numVars===i.numVars&&r.numColors===i.numColors&&r.numNumbers>=i.numNumbers?tN(eH(r.values,i.values),n):((0,t8.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.`),ez(t,e))},eY=(t,e,n)=>{let r=e-t;return 0===r?1:(n-t)/r},eq=(t,e)=>n=>eT(t,e,n);function eX(t,e,{clamp:n=!0,ease:r,mixer:i}={}){let s=t.length;if((0,t8.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 a=function(t,e,n){let r=[],i=n||function(t){if("number"==typeof t);else if("string"==typeof t)return eE.test(t)?eR:eZ;else if(Array.isArray(t))return eH;else if("object"==typeof t)return eG;return eq}(t[0]),s=t.length-1;for(let n=0;n<s;n++){let s=i(t[n],t[n+1]);e&&(s=tN(Array.isArray(e)?e[n]||tq.Z:e,s)),r.push(s)}return r}(e,r,i),o=a.length,l=e=>{let n=0;if(o>1)for(;n<t.length-2&&!(e<t[n+1]);n++);let r=eY(t[n],t[n+1],e);return a[n](r)};return n?e=>l(U(t[0],t[s-1],e)):l}function eK({duration:t=300,keyframes:e,times:n,ease:r="easeInOut"}){let i=el(r)?r.map(ev):ev(r),s={done:!1,value:e[0]},a=eX((n&&n.length===e.length?n:function(t){let e=[0];return function(t,e){let n=t[t.length-1];for(let r=1;r<=e;r++){let i=eY(0,e,r);t.push(eT(n,1,i))}}(e,t.length-1),e}(e)).map(e=>e*t),e,{ease:Array.isArray(i)?i:e.map(()=>i||eo).splice(0,e.length-1)});return{calculatedDuration:t,next:e=>(s.value=a(e),s.done=e>=t,s)}}function eJ(t,e,n){var r,i;let s=Math.max(e-5,0);return r=n-t(s),(i=e-s)?1e3/i*r:0}function eQ(t,e){return t*Math.sqrt(1-e*e)}let e0=["duration","bounce"],e1=["stiffness","damping","mass"];function e5(t,e){return e.some(e=>void 0!==t[e])}function e3({keyframes:t,restDelta:e,restSpeed:n,...r}){let i;let s=t[0],a=t[t.length-1],o={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(!e5(t,e1)&&e5(t,e0)){let n=function({duration:t=800,bounce:e=.25,velocity:n=0,mass:r=1}){let i,s;(0,t8.K)(t<=t9(10),"Spring duration must be 10 seconds or less");let a=1-e;a=U(.05,1,a),t=U(.01,10,t4(t)),a<1?(i=e=>{let r=e*a,i=r*t;return .001-(r-n)/eQ(e,a)*Math.exp(-i)},s=e=>{let r=e*a*t,s=Math.pow(a,2)*Math.pow(e,2)*t,o=eQ(Math.pow(e,2),a);return(r*n+n-s)*Math.exp(-r)*(-i(e)+.001>0?-1:1)/o}):(i=e=>-.001+Math.exp(-e*t)*((e-n)*t+1),s=e=>t*t*(n-e)*Math.exp(-e*t));let o=function(t,e,n){let r=n;for(let n=1;n<12;n++)r-=t(r)/e(r);return r}(i,s,5/t);if(t=t9(t),isNaN(o))return{stiffness:100,damping:10,duration:t};{let e=Math.pow(o,2)*r;
9return{stiffness:e,damping:2*a*Math.sqrt(r*e),duration:t}}}(t);(e={...e,...n,mass:1}).isResolvedFromDuration=!0}return e}({...r,velocity:-t4(r.velocity||0)}),f=d||0,m=u/(2*Math.sqrt(l*c)),g=a-s,y=t4(Math.sqrt(l/c)),v=5>Math.abs(g);if(n||(n=v?.01:2),e||(e=v?.005:.5),m<1){let t=eQ(y,m);i=e=>a-Math.exp(-m*y*e)*((f+m*y*g)/t*Math.sin(t*e)+g*Math.cos(t*e))}else if(1===m)i=t=>a-Math.exp(-y*t)*(g+(f+y*g)*t);else{let t=y*Math.sqrt(m*m-1);i=e=>{let n=Math.exp(-m*y*e),r=Math.min(t*e,300);return a-n*((f+m*y*g)*Math.sinh(r)+t*g*Math.cosh(r))/t}}return{calculatedDuration:p&&h||null,next:t=>{let r=i(t);if(p)o.done=t>=h;else{let s=f;0!==t&&(s=m<1?eJ(i,t,r):0);let l=Math.abs(s)<=n,u=Math.abs(a-r)<=e;o.done=l&&u}return o.value=o.done?a:r,o}}}function e2({keyframes:t,velocity:e=0,power:n=.8,timeConstant:r=325,bounceDamping:i=10,bounceStiffness:s=500,modifyTarget:a,min:o,max:l,restDelta:u=.5,restSpeed:c}){let h,d;let p=t[0],f={done:!1,value:p},m=t=>void 0!==o&&t<o||void 0!==l&&t>l,g=t=>void 0===o?l:void 0===l?o:Math.abs(o-t)<Math.abs(l-t)?o:l,y=n*e,v=p+y,x=void 0===a?v:a(v);x!==v&&(y=x-p);let b=t=>-y*Math.exp(-t/r),w=t=>x+b(t),P=t=>{let e=b(t),n=w(t);f.done=Math.abs(e)<=u,f.value=f.done?x:n},A=t=>{m(f.value)&&(h=t,d=e3({keyframes:[f.value,g(f.value)],velocity:eJ(w,t,f.value),damping:i,stiffness:s,restDelta:u,restSpeed:c}))};return A(0),{calculatedDuration:null,next:t=>{let e=!1;return(d||void 0!==h||(e=!0,P(t),A(t)),void 0!==h&&t>h)?d.next(t-h):(e||P(t),f)}}}let e6=t=>{let e=({timestamp:e})=>t(e);return{start:()=>tM.Wi.update(e,!0),stop:()=>(0,tM.Pn)(e),now:()=>tM.frameData.isProcessing?tM.frameData.timestamp:performance.now()}};function e8(t){let e=0,n=t.next(e);for(;!n.done&&e<2e4;)e+=50,n=t.next(e);return e>=2e4?1/0:e}let e9={decay:e2,inertia:e2,tween:eK,keyframes:eK,spring:e3};function e4({autoplay:t=!0,delay:e=0,driver:n=e6,keyframes:r,type:i="keyframes",repeat:s=0,repeatDelay:a=0,repeatType:o="loop",onPlay:l,onStop:u,onComplete:c,onUpdate:h,...d}){let p,f,m,g,y,v=1,x=!1,b=()=>{f=new Promise(t=>{p=t})};b();let w=e9[i]||eK;w!==eK&&"number"!=typeof r[0]&&(g=eX([0,100],r,{clamp:!1}),r=[0,100]);let P=w({...d,keyframes:r});"mirror"===o&&(y=w({...d,keyframes:[...r].reverse(),velocity:-(d.velocity||0)}));let A="idle",S=null,k=null,E=null;null===P.calculatedDuration&&s&&(P.calculatedDuration=e8(P));let{calculatedDuration:T}=P,C=1/0,M=1/0;null!==T&&(M=(C=T+a)*(s+1)-a);let F=0,V=t=>{if(null===k)return;v>0&&(k=Math.min(k,t)),v<0&&(k=Math.min(t-M/v,k));let n=(F=null!==S?S:Math.round(t-k)*v)-e*(v>=0?1:-1),i=v>=0?n<0:n>M;F=Math.max(n,0),"finished"===A&&null===S&&(F=M);let l=F,u=P;if(s){let t=Math.min(F,M)/C,e=Math.floor(t),n=t%1;!n&&t>=1&&(n=1),1===n&&e--,(e=Math.min(e,s+1))%2&&("reverse"===o?(n=1-n,a&&(n-=a/C)):"mirror"===o&&(u=y)),l=U(0,1,n)*C}let c=i?{done:!1,value:r[0]}:u.next(l);g&&(c.value=g(c.value));let{done:d}=c;i||null===T||(d=v>=0?F>=M:F<=0);let p=null===S&&("finished"===A||"running"===A&&d);return h&&h(c.value),p&&j(),c},D=()=>{m&&m.stop(),m=void 0},R=()=>{A="idle",D(),p(),b(),k=E=null},j=()=>{A="finished",c&&c(),D(),p()},L=()=>
9{if(x)return;m||(m=n(V));let t=m.now();l&&l(),null!==S?k=t-S:k&&"finished"!==A||(k=t),"finished"===A&&b(),E=k,S=null,A="running",m.start()};t&&L();let O={then:(t,e)=>f.then(t,e),get time(){return t4(F)},set time(newTime){F=newTime=t9(newTime),null===S&&m&&0!==v?k=m.now()-newTime/v:S=newTime},get duration(){return t4(null===P.calculatedDuration?e8(P):P.calculatedDuration)},get speed(){return v},set speed(newSpeed){if(newSpeed===v||!m)return;v=newSpeed,O.time=t4(F)},get state(){return A},play:L,pause:()=>{A="paused",S=F},stop:()=>{x=!0,"idle"!==A&&(A="idle",u&&u(),R())},cancel:()=>{null!==E&&V(E),R()},complete:()=>{A="finished"},sample:t=>(k=0,V(t))};return O}let e7=(s=()=>Object.hasOwnProperty.call(Element.prototype,"animate"),()=>(void 0===r&&(r=s()),r)),nt=new Set(["opacity","clipPath","filter","transform","backgroundColor"]),ne=(t,e)=>"spring"===e.type||"backgroundColor"===t||!function t(e){return!!(!e||"string"==typeof e&&en[e]||et(e)||Array.isArray(e)&&e.every(t))}(e.ease),nn={type:"spring",stiffness:500,damping:25,restSpeed:10},nr=t=>({type:"spring",stiffness:550,damping:0===t?2*Math.sqrt(550):30,restSpeed:10}),ni={type:"keyframes",duration:.8},ns={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},na=(t,{keyframes:e})=>e.length>2?ni:D.has(t)?t.startsWith("scale")?nr(e[1]):nn:ns,no=(t,e)=>"zIndex"!==t&&!!("number"==typeof e||Array.isArray(e)||"string"==typeof e&&(eW.test(e)||"0"===e)&&!e.startsWith("url(")),nl=new Set(["brightness","contrast","saturate","opacity"]);function nu(t){let[e,n]=t.slice(0,-1).split("(");if("drop-shadow"===e)return t;let[r]=n.match(G)||[];if(!r)return t;let i=n.replace(r,""),s=nl.has(e)?1:0;return r!==n&&(s*=100),e+"("+s+i+")"}let nc=/([a-z-]*)\(.*?\)/g,nh={...eW,getAnimatableNone:t=>{let e=t.match(nc);return e?e.map(nu).join(" "):t}},nd={...ti,color:eE,backgroundColor:eE,outlineColor:eE,fill:eE,stroke:eE,borderColor:eE,borderTopColor:eE,borderRightColor:eE,borderBottomColor:eE,borderLeftColor:eE,filter:nh,WebkitFilter:nh},np=t=>nd[t];function nf(t,e){let n=np(t);return n!==nh&&(n=eW),n.getAnimatableNone?n.getAnimatableNone(e):void 0}let nm=t=>/^0[^.\s]+$/.test(t);function ng(t,e){return t[e]||t.default||t}let ny={skipAnimations:!1},nv=(t,e,n,r={})=>i=>{let s=ng(r,t)||{},a=s.delay||r.delay||0,{elapsed:o=0}=r;o-=t9(a);let l=function(t,e,n,r){let i,s;let a=no(e,n);i=Array.isArray(n)?[...n]:[null,n];let o=void 0!==r.from?r.from:t.get(),l=[];for(let t=0;t<i.length;t++){var u;null===i[t]&&(i[t]=0===t?o:i[t-1]),("number"==typeof(u=i[t])?0===u:null!==u?"none"===u||"0"===u||nm(u):void 0)&&l.push(t),"string"==typeof i[t]&&"none"!==i[t]&&"0"!==i[t]&&(s=i[t])}if(a&&l.length&&s)for(let t=0;t<l.length;t++)i[l[t]]=nf(e,s);return i}(e,t,n,s),u=l[0],c=l[l.length-1],h=no(t,u),d=no(t,c);(0,t8.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:-o,onUpdate:t=>{e.set(t),s.onUpdate&&s.onUpdate(t)},onComplete:()=>{i(),s.onComplete&&s.onComplete()}};if(!function({when:t,delay:e,delayChildren:n,staggerChildren:r,staggerDirection:i,repeat:s,repeatType:a,repeatDelay:o,from:l,elapsed:u,...c}){return!!Object.keys(c).length}(s)&&(p={...p,...na(t,p)}),p.duration&&(p.duration=t9(p.duration)),p.repeatDelay&&(p.repeatDelay=t9(p.repeatDelay)),!h||!d||t7.current||!1===s.type||ny.skipAnimations)return function({keyframes:t,delay:e,onUpdate:n,onComplete:r}){let i=()=>(n&&n(t[t.length-1]),r&&r(),{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?e4({keyframes:[0,1],duration:0,delay:e,onComplete:i}):i()}(t7.current?{...p,delay:0}:p);if(!r.isHandoff&&e.owner&&e.owner.current instanceof HTMLElement&&!e.owner.getProps().onUpdate){let n=function(t,e,{onUpdate:n,onComplete:r,...i}){let s,a;if(!(e7()&&nt.has(e)&&!i.repeatDelay&&"mirror"!==i.repeatType&&0!==i.damping&&"inertia"!==i.type))return!1;let o=!1,l=!1,u=()=>{a=new Promise(t=>{s=t})};u();let{keyframes:c,duration:h=300,ease:d,times:p}=i;
9if(ne(e,i)){let t=e4({...i,repeat:0,delay:0}),e={done:!1,value:c[0]},n=[],r=0;for(;!e.done&&r<2e4;)e=t.sample(r),n.push(e.value),r+=10;p=void 0,c=n,h=r-10,d="linear"}let f=function(t,e,n,{delay:r=0,duration:i,repeat:s=0,repeatType:a="loop",ease:o,times:l}={}){let u={[e]:n};l&&(u.offset=l);let c=function t(e){if(e)return et(e)?ee(e):Array.isArray(e)?e.map(t):en[e]}(o);return Array.isArray(c)&&(u.easing=c),t.animate(u,{delay:r,duration:i,easing:Array.isArray(c)?"linear":c,fill:"both",iterations:s+1,direction:"reverse"===a?"alternate":"normal"})}(t.owner.current,e,c,{...i,duration:h,ease:d,times:p}),m=()=>{l=!1,f.cancel()},g=()=>{l=!0,tM.Wi.update(m),s(),u()};return f.onfinish=()=>{l||(t.set(function(t,{repeat:e,repeatType:n="loop"}){let r=e&&"loop"!==n&&e%2==1?0:t.length-1;return t[r]}(c,i)),r&&r(),g())},{then:(t,e)=>a.then(t,e),attachTimeline:t=>(f.timeline=t,f.onfinish=null,tq.Z),get time(){return t4(f.currentTime||0)},set time(newTime){f.currentTime=t9(newTime)},get speed(){return f.playbackRate},set speed(newSpeed){f.playbackRate=newSpeed},get duration(){return t4(h)},play:()=>{o||(f.play(),(0,tM.Pn)(m))},pause:()=>f.pause(),stop:()=>{if(o=!0,"idle"===f.playState)return;let{currentTime:e}=f;if(e){let n=e4({...i,autoplay:!1});t.setWithVelocity(n.sample(e-10).value,n.sample(e).value,10)}g()},complete:()=>{l||f.finish()},cancel:g}}(e,t,p);if(n)return n}return e4(p)};function nx(t){return!!(j(t)&&t.add)}let nb=t=>/^\-?\d*\.?\d+$/.test(t);function nw(t,e){-1===t.indexOf(e)&&t.push(e)}function nP(t,e){let n=t.indexOf(e);n>-1&&t.splice(n,1)}class nA{constructor(){this.subscriptions=[]}add(t){return nw(this.subscriptions,t),()=>nP(this.subscriptions,t)}notify(t,e,n){let r=this.subscriptions.length;if(r){if(1===r)this.subscriptions[0](t,e,n);else for(let i=0;i<r;i++){let r=this.subscriptions[i];r&&r(t,e,n)}}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}let nS=t=>!isNaN(parseFloat(t)),nk={current:void 0};class nE{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:n,timestamp:r}=tM.frameData;this.lastUpdated!==r&&(this.timeDelta=n,this.lastUpdated=r,tM.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=()=>tM.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=nS(this.current),this.owner=e.owner}onChange(t){return this.on("change",t)}on(t,e){this.events[t]||(this.events[t]=new nA);let n=this.events[t].add(e);return"change"===t?()=>{n(),tM.Wi.read(()=>{this.events.change.getSize()||this.stop()})}:n}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,n){this.set(e),this.prev=t,this.timeDelta=n}jump(t){this.updateAndNotify(t),this.prev=t,this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return nk.current&&nk.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 nT(t,e){return new nE(t,e)}let nC=t=>e=>e.test(t),nM=[W,Q,J,K,te,tt,{test:t=>"auto"===t,parse:t=>t}],nF=t=>nM.find(nC(t)),nV=[...nM,eE,eW],nD=t=>nV.find(nC(t));function nR(t,e,{delay:n=0,transitionOverride:r,type:i}={}){let{transition:s=t.getDefaultTransition(),transitionEnd:a,...o}=t.makeTargetAnimatable(e),l=t.getValue("willChange");r&&(s=r);let u=[],c=i&&t.animationState&&t.animationState.getState()[i];for(let e in o){let r=t.getValue(e),i=o[e];if(!r||void 0===i||c&&function({protectedKeys:t,needsAnimating:e},n){let r=t.hasOwnProperty(n)&&!0!==e[n];return e[n]=!1,r}(c,e))continue;let a={delay:n,elapsed:0,...ng(s||{},e)};if(window.HandoffAppearAnimations){let n=t.getProps()[p];if(n){let t=window.HandoffAppearAnimations(n,e,r,tM.Wi);null!==t&&(a.elapsed=t,a.isHandoff=!0)}}let h=!a.isHandoff&&!function(t,e){let n=t.get();if(!Array.isArray(e))return n!==e;for(let t=0;t<e.length;t++)if(e[t]!==n)return!0}(r,i);if("spring"===a.type&&(r.getVelocity()||a.velocity)&&(h=!1),r.animation&&(h=!1),h)continue;r.start(nv(e,r,i,t.shouldReduceMotion&&D.has(e)?{type:!1}:a));let d=r.animation;nx(l)&&(l.add(e),d.then(()=>l.remove(e))),u.push(d)}return a&&Promise.all(u).then(()=>{a&&function(t,e){let n=t6(t,e),{transitionEnd:r={},transition:i={},...s}=n?t.makeTargetAnimatable(n,!1):{};for(let e in s={...s,...r}){let n=tE(s[e]);t.hasValue(e)?t.getValue(e).set(n):t.addValue(e,nT(n))}}(t,a)}),u}function nj(t,e,n={}){let r=t6(t,e,n.custom),{transition:i=t.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(i=n.transitionOverride);let s=r?()=>Promise.all(nR(t,r,n)):()=>Promise.resolve(),a=t.variantChildren&&t.variantChildren.size?(r=0)=>{let{delayChildren:s=0,staggerChildren:a,staggerDirection:o}=i;return function(t,e,n=0,r=0,i=1,s){let a=[],o=(t.variantChildren.size-1)*r,l=1===i?(t=0)=>t*r:(t=0)=>o-t*r;
9return Array.from(t.variantChildren).sort(nL).forEach((t,r)=>{t.notify("AnimationStart",e),a.push(nj(t,e,{...s,delay:n+l(r)}).then(()=>t.notify("AnimationComplete",e)))}),Promise.all(a)}(t,e,s+r,a,o,n)}:()=>Promise.resolve(),{when:o}=i;if(!o)return Promise.all([s(),a(n.delay)]);{let[t,e]="beforeChildren"===o?[s,a]:[a,s];return t().then(()=>e())}}function nL(t,e){return t.sortNodePosition(e)}let nO=[...y].reverse(),nB=y.length;function nN(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}class n$ extends t_{constructor(t){super(t),t.animationState||(t.animationState=function(t){let e=e=>Promise.all(e.map(({animation:e,options:n})=>(function(t,e,n={}){let r;if(t.notify("AnimationStart",e),Array.isArray(e))r=Promise.all(e.map(e=>nj(t,e,n)));else if("string"==typeof e)r=nj(t,e,n);else{let i="function"==typeof e?t6(t,e,n.custom):e;r=Promise.all(nR(t,i,n))}return r.then(()=>t.notify("AnimationComplete",e))})(t,e,n))),n={animate:nN(!0),whileInView:nN(),whileHover:nN(),whileTap:nN(),whileDrag:nN(),whileFocus:nN(),exit:nN()},r=!0,i=(e,n)=>{let r=t6(t,n);if(r){let{transition:t,transitionEnd:n,...i}=r;e={...e,...i,...n}}return e};function s(s,a){let o=t.getProps(),l=t.getVariantContext(!0)||{},u=[],c=new Set,h={},d=1/0;for(let e=0;e<nB;e++){var p;let f=nO[e],y=n[f],v=void 0!==o[f]?o[f]:l[f],x=m(v),b=f===a?y.isActive:null;!1===b&&(d=e);let w=v===l[f]&&v!==o[f]&&x;if(w&&r&&t.manuallyAnimateOnMount&&(w=!1),y.protectedKeys={...h},!y.isActive&&null===b||!v&&!y.prevProp||g(v)||"boolean"==typeof v)continue;let P=(p=y.prevProp,("string"==typeof v?v!==p:!!Array.isArray(v)&&!t2(v,p))||f===a&&y.isActive&&!w&&x||e>d&&x),A=!1,S=Array.isArray(v)?v:[v],k=S.reduce(i,{});!1===b&&(k={});let{prevResolvedValues:E={}}=y,T={...E,...k},C=t=>{P=!0,c.has(t)&&(A=!0,c.delete(t)),y.needsAnimating[t]=!0};for(let t in T){let e=k[t],n=E[t];if(!h.hasOwnProperty(t))(tS(e)&&tS(n)?t2(e,n):e===n)?void 0!==e&&c.has(t)?C(t):y.protectedKeys[t]=!0:void 0!==e?C(t):c.add(t)}y.prevProp=v,y.prevResolvedValues=k,y.isActive&&(h={...h,...k}),r&&t.blockInitialAnimation&&(P=!1),P&&(!w||A)&&u.push(...S.map(t=>({animation:t,options:{type:f,...s}})))}if(c.size){let e={};
9c.forEach(n=>{let r=t.getBaseTarget(n);void 0!==r&&(e[n]=r)}),u.push({animation:e})}let f=!!u.length;return r&&(!1===o.initial||o.initial===o.animate)&&!t.manuallyAnimateOnMount&&(f=!1),r=!1,f?e(u):Promise.resolve()}return{animateChanges:s,setActive:function(e,r,i){var a;if(n[e].isActive===r)return Promise.resolve();null===(a=t.variantChildren)||void 0===a||a.forEach(t=>{var n;return null===(n=t.animationState)||void 0===n?void 0:n.setActive(e,r)}),n[e].isActive=r;let o=s(i,e);for(let t in n)n[t].protectedKeys={};return o},setAnimateFunction:function(n){e=n(t)},getState:()=>n}}(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 nI=0;class nU extends t_{constructor(){super(...arguments),this.id=nI++}update(){if(!this.node.presenceContext)return;let{isPresent:t,onExitComplete:e,custom:n}=this.node.presenceContext,{isPresent:r}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===r)return;let i=this.node.animationState.setActive("exit",!t,{custom:null!=n?n: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 nW=(t,e)=>Math.abs(t-e);class nz{constructor(t,e,{transformPagePoint:n,contextWindow:r,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 n=nG(this.lastMoveEventInfo,this.history),r=null!==this.startEvent,i=(t=n.offset,e={x:0,y:0},Math.sqrt(nW(t.x,e.x)**2+nW(t.y,e.y)**2)>=3);if(!r&&!i)return;let{point:s}=n,{timestamp:a}=tM.frameData;this.history.push({...s,timestamp:a});let{onStart:o,onMove:l}=this.handlers;r||(o&&o(this.lastMoveEvent,n),this.startEvent=this.lastMoveEvent),l&&l(this.lastMoveEvent,n)},this.handlePointerMove=(t,e)=>{this.lastMoveEvent=t,this.lastMoveEventInfo=n_(e,this.transformPagePoint),tM.Wi.update(this.updatePoint,!0)},this.handlePointerUp=(t,e)=>{this.end();let{onEnd:n,onSessionEnd:r,resumeAnimation:i}=this.handlers;if(this.dragSnapToOrigin&&i&&i(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let s=nG("pointercancel"===t.type?this.lastMoveEventInfo:n_(e,this.transformPagePoint),this.history);this.startEvent&&n&&n(t,s),r&&r(t,s)},!tR(t))return;this.dragSnapToOrigin=i,this.handlers=e,this.transformPagePoint=n,this.contextWindow=r||window;let s=n_(tj(t),this.transformPagePoint),{point:a}=s,{timestamp:o}=tM.frameData;this.history=[{...a,timestamp:o}];let{onSessionStart:l}=e;l&&l(t,nG(s,this.history)),this.removeListeners=tN(tO(this.contextWindow,"pointermove",this.handlePointerMove),tO(this.contextWindow,"pointerup",this.handlePointerUp),tO(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),(0,tM.Pn)(this.updatePoint)}}function n_(t,e){return e?{point:e(t.point)}:t}function nH(t,e){return{x:t.x-e.x,y:t.y-e.y}}function nG({point:t},e){return{point:t,delta:nH(t,nZ(e)),offset:nH(t,e[0]),velocity:function(t,e){if(t.length<2)return{x:0,y:0};let n=t.length-1,r=null,i=nZ(t);for(;n>=0&&(r=t[n],!(i.timestamp-r.timestamp>t9(.1)));)n--;if(!r)return{x:0,y:0};let s=t4(i.timestamp-r.timestamp);if(0===s)return{x:0,y:0};let a={x:(i.x-r.x)/s,y:(i.y-r.y)/s};return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}(e,0)}}function nZ(t){return t[t.length-1]}function nY(t){return t.max-t.min}function nq(t,e=0,n=.01){return Math.abs(t-e)<=n}function nX(t,e,n,r=.5){t.origin=r,t.originPoint=eT(e.min,e.max,t.origin),t.scale=nY(n)/nY(e),(nq(t.scale,1,1e-4)||isNaN(t.scale))&&(t.scale=1),t.translate=eT(n.min,n.max,t.origin)-t.originPoint,(nq(t.translate)||isNaN(t.translate))&&(t.translate=0)}function nK(t,e,n,r){nX(t.x,e.x,n.x,r?r.originX:void 0),nX(t.y,e.y,n.y,r?r.originY:void 0)}function nJ(t,e,n){t.min=n.min+e.min,t.max=t.min+nY(e)}function nQ(t,e,n){t.min=e.min-n.min,t.max=t.min+nY(e)}function n0(t,e,n){nQ(t.x,e.x,n.x),nQ(t.y,e.y,n.y)}function n1(t,e,n){return{min:void 0!==e?t.min+e:void 0,max:void 0!==n?t.max+n-(t.max-t.min):void 0}}function n5(t,e){let n=e.min-t.min,r=e.max-t.max;return e.max-e.min<t.max-t.min&&([n,r]=[r,n]),{min:n,max:r}}function n3(t,e,n){return{min:n2(t,e),max:n2(t,n)}}function n2(t,e){return"number"==typeof t?t:t[e]||0}let n6=()=>({translate:0,scale:1,origin:0,originPoint:0}),n8=()=>({x:n6(),y:n6()}),n9=()=>({min:0,max:0}),n4=()=>({x:n9(),y:n9()});function n7(t){return[t("x"),t("y")]}function rt({top:t,left:e,right:n,bottom:r}){return{x:{min:e,max:n},y:{min:t,max:r}}}function re(t){return void 0===t||1===t}function rn({scale:t,scaleX:e,scaleY:n}){return!re(t)||!re(e)||!re(n)}function rr(t){return rn(t)||ri(t)||t.z||t.rotate||t.rotateX||t.rotateY}function ri(t){var e,n;return(e=t.x)&&"0%"!==e||(n=t.y)&&"0%"!==n}function rs(t,e,n,r,i){return void 0!==i&&(t=r+i*(t-r)),r+n*(t-r)+e}function ra(t,e=0,n=1,r,i){t.min=rs(t.min,e,n,r,i),t.max=rs(t.max,e,n,r,i)}function ro(t,{x:e,y:n}){ra(t.x,e.translate,e.scale,e.originPoint),ra(t.y,n.translate,n.scale,n.originPoint)}function rl(t){return Number.isInteger(t)?t:t>1.0000000000001||t<.999999999999?t:1}function ru(t,e){t.min=t.min+e,t.max=t.max+e}function rc(t,e,[n,r,i]){let s=void 0!==e[i]?e[i]:.5,a=eT(t.min,t.max,s);ra(t,e[n],e[r],a,e.scale)}let rh=["x","scaleX","originX"],rd=["y","scaleY","originY"];function rp(t,e){rc(t.x,e,rh),rc(t.y,e,rd)}function rf(t,e){return rt(function(t,e){if(!e)return t;let n=e({x:t.left,y:t.top}),r=e({x:t.right,y:t.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}(t.getBoundingClientRect(),e))}let rm=({current:t})=>t?t.ownerDocument.defaultView:null,rg=new WeakMap;class ry{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=n4(),this.visualElement=t}start(t,{snapToCursor:e=!1}={}){let{presenceContext:n}=this.visualElement;if(n&&!1===n.isPresent)return;let{dragSnapToOrigin:r}=this.getProps();this.panSession=new nz(t,{onSessionStart:t=>{let{dragSnapToOrigin:n}=this.getProps();n?this.pauseAnimation():this.stopAnimation(),e&&this.snapToCursor(tj(t,"page").point)},onStart:(t,e)=>{let{drag:n,dragPropagation:r,onDragStart:i}=this.getProps();if(n&&!r&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=tW(n),!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),n7(t=>{let e=this.getAxisMotionValue(t).get()||0;if(J.test(e)){let{projection:n}=this.visualElement;if(n&&n.layout){let r=n.layout.layoutBox[t];if(r){let t=nY(r);e=parseFloat(e)/100*t}}}this.originPoint[t]=e}),i&&tM.Wi.update(()=>i(t,e),!1,!0);let{animationState:s}=this.visualElement;s&&s.setActive("whileDrag",!0)},onMove:(t,e)=>{let{dragPropagation:n,dragDirectionLock:r,onDirectionLock:i,onDrag:s}=this.getProps();if(!n&&!this.openGlobalLock)return;let{offset:a}=e;if(r&&null===this.currentDirection){this.currentDirection=function(t,e=10){let n=null;return Math.abs(t.y)>e?n="y":Math.abs(t.x)>e&&(n="x"),n}(a),null!==this.currentDirection&&i&&i(this.currentDirection);return}this.updateAxis("x",e.point,a),this.updateAxis("y",e.point,a),this.visualElement.render(),s&&s(t,e)},onSessionEnd:(t,e)=>this.stop(t,e),resumeAnimation:()=>n7(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:r,contextWindow:rm(this.visualElement)})}stop(t,e){let n=this.isDragging;if(this.cancel(),!n)return;let{velocity:r}=e;this.startAnimation(r);let{onDragEnd:i}=this.getProps();i&&tM.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:n}=this.getProps();!n&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),e&&e.setActive("whileDrag",!1)}updateAxis(t,e,n){let{drag:r}=this.getProps();if(!n||!rv(t,r,this.currentDirection))return;let i=this.getAxisMotionValue(t),s=this.originPoint[t]+n[t];this.constraints&&this.constraints[t]&&(s=function(t,{min:e,max:n},r){return void 0!==e&&t<e?t=r?eT(e,t,r.min):Math.max(t,e):void 0!==n&&t>n&&(t=r?eT(n,t,r.max):Math.min(t,n)),t}(s,this.constraints[t],this.elastic[t])),i.set(s)}resolveConstraints(){var t;let{dragConstraints:e,dragElastic:n}=this.getProps(),r=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&&r?this.constraints=function(t,{top:e,left:n,bottom:r,right:i}){return{x:n1(t.x,n,i),y:n1(t.y,e,r)}}(r.layoutBox,e):this.constraints=!1,this.elastic=function(t=.35){return!1===t?t=0:!0===t&&(t=.35),{x:n3(t,"left","right"),y:n3(t,"top","bottom")}}(n),i!==this.constraints&&r&&this.constraints&&!this.hasMutatedConstraints&&n7(t=>{this.getAxisMotionValue(t)&&(this.constraints[t]=function(t,e){let n={};return void 0!==e.min&&(n.min=e.min-t.min),void 0!==e.max&&(n.max=e.max-t.min),n}(r.layoutBox[t],this.constraints[t]))})}resolveRefConstraints(){var t;let{dragConstraints:e,onMeasureDragConstraints:n}=this.getProps();if(!e||!f(e))return!1;let r=e.current;(0,t8.k)(null!==r,"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,n){let r=rf(t,n),{scroll:i}=e;return i&&(ru(r.x,i.offset.x),ru(r.y,i.offset.y)),r}(r,i.root,this.visualElement.getTransformPagePoint()),a={x:n5((t=i.layout.layoutBox).x,s.x),y:n5(t.y,s.y)};if(n){let t=n(function({x:t,y:e}){return{top:e.min,right:t.max,bottom:e.max,left:t.min}}(a));this.hasMutatedConstraints=!!t,t&&(a=rt(t))}return a}startAnimation(t){let{drag:e,dragMomentum:n,dragElastic:r,dragTransition:i,dragSnapToOrigin:s,onDragTransitionEnd:a}=this.getProps(),o=this.constraints||{};return Promise.all(n7(a=>{if(!rv(a,e,this.currentDirection))return;let l=o&&o[a]||{};s&&(l={min:0,max:0});let u={type:"inertia",velocity:n?t[a]:0,bounceStiffness:r?200:1e6,bounceDamping:r?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...i,...l};return this.startAxisValueAnimation(a,u)})).then(a)}startAxisValueAnimation(t,e){let n=this.getAxisMotionValue(t);return n.start(nv(t,n,0,e))}stopAnimation(){n7(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){n7(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(),n=this.visualElement.getProps();return n[e]||this.visualElement.getValue(t,(n.initial?n.initial[t]:void 0)||0)}snapToCursor(t){n7(e=>{let{drag:n}=this.getProps();if(!rv(e,n,this.currentDirection))return;let{projection:r}=this.visualElement,i=this.getAxisMotionValue(e);if(r&&r.layout){let{min:n,max:s}=r.layout.layoutBox[e];i.set(t[e]-eT(n,s,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:t,dragConstraints:e}=this.getProps(),{projection:n}=this.visualElement;if(!f(e)||!n||!this.constraints)return;this.stopAnimation();let r={x:0,y:0};n7(t=>{let e=this.getAxisMotionValue(t);if(e){let n=e.get();r[t]=function(t,e){let n=.5,r=nY(t),i=nY(e);return i>r?n=eY(e.min,e.max-r,t.min):r>i&&(n=eY(t.min,t.max-i,e.min)),U(0,1,n)}({min:n,max:n},this.constraints[t])}});let{transformTemplate:i}=this.visualElement.getProps();this.visualElement.current.style.transform=i?i({},""):"none",n.root&&n.root.updateScroll(),n.updateLayout(),this.resolveConstraints(),n7(e=>{if(!rv(e,t,null))return;let n=this.getAxisMotionValue(e),{min:i,max:s}=this.constraints[e];n.set(eT(i,s,r[e]))})}addListeners(){if(!this.visualElement.current)return;rg.set(this.visualElement,this);let t=tO(this.visualElement.current,"pointerdown",t=>{let{drag:e,dragListener:n=!0}
9=this.getProps();e&&n&&this.start(t)}),e=()=>{let{dragConstraints:t}=this.getProps();f(t)&&(this.constraints=this.resolveRefConstraints())},{projection:n}=this.visualElement,r=n.addEventListener("measure",e);n&&!n.layout&&(n.root&&n.root.updateScroll(),n.updateLayout()),e();let i=tD(window,"resize",()=>this.scalePositionWithinConstraints()),s=n.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e})=>{this.isDragging&&e&&(n7(e=>{let n=this.getAxisMotionValue(e);n&&(this.originPoint[e]+=t[e].translate,n.set(n.get()+t[e].translate))}),this.visualElement.render())});return()=>{i(),t(),r(),s&&s()}}getProps(){let t=this.visualElement.getProps(),{drag:e=!1,dragDirectionLock:n=!1,dragPropagation:r=!1,dragConstraints:i=!1,dragElastic:s=.35,dragMomentum:a=!0}=t;return{...t,drag:e,dragDirectionLock:n,dragPropagation:r,dragConstraints:i,dragElastic:s,dragMomentum:a}}}function rv(t,e,n){return(!0===e||e===t)&&(null===n||n===t)}class rx extends t_{constructor(t){super(t),this.removeGroupControls=tq.Z,this.removeListeners=tq.Z,this.controls=new ry(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 rb=t=>(e,n)=>{t&&tM.Wi.update(()=>t(e,n))};class rw extends t_{constructor(){super(...arguments),this.removePointerDownListener=tq.Z}onPointerDown(t){this.session=new nz(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:rm(this.node)})}createPanHandlers(){let{onPanSessionStart:t,onPanStart:e,onPan:n,onPanEnd:r}=this.node.getProps();return{onSessionStart:rb(t),onStart:rb(e),onMove:n,onEnd:(t,e)=>{delete this.session,r&&tM.Wi.update(()=>r(t,e))}}}mount(){this.removePointerDownListener=tO(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 rP={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function rA(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}let rS={correct:(t,e)=>{if(!e.target)return t;if("string"==typeof t){if(!Q.test(t))return t;t=parseFloat(t)}let n=rA(t,e.target.x),r=rA(t,e.target.y);return`${n}% ${r}%`}};class rk extends a.Component{componentDidMount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:n,layoutId:r}=this.props,{projection:i}=t;Object.assign(F,rT),i&&(e.group&&e.group.add(i),n&&n.register&&r&&n.register(i),i.root.didUpdate(),i.addEventListener("animationComplete",()=>{this.safeToRemove()}),i.setOptions({...i.options,onExitComplete:()=>this.safeToRemove()})),rP.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){let{layoutDependency:e,visualElement:n,drag:r,isPresent:i}=this.props,s=n.projection;return s&&(s.isPresent=i,r||t.layoutDependency!==e||void 0===e?s.willUpdate():this.safeToRemove(),t.isPresent===i||(i?s.promote():s.relegate()||tM.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:n}=this.props,{projection:r}=t;r&&(r.scheduleCheckAfterUnmount(),e&&e.group&&e.group.remove(r),n&&n.deregister&&n.deregister(r))}safeToRemove(){let{safeToRemove:t}=this.props;t&&t()}render(){return null}}function rE(t){let[e,n]=function(){let t=(0,a.useContext)(u.O);if(null===t)return[!0,null];let{isPresent:e,onExitComplete:n,register:r}=t,i=(0,a.useId)();return(0,a.useEffect)(()=>r(i),[]),!e&&n?[!1,()=>n&&n(i)]:[!0]}(),r=(0,a.useContext)(k.p);return a.createElement(rk,{...t,layoutGroup:r,switchLayoutGroup:(0,a.useContext)(E),isPresent:e,safeToRemove:n})}let rT={borderRadius:{...rS,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:rS,borderTopRightRadius:rS,borderBottomLeftRadius:rS,borderBottomRightRadius:rS,boxShadow:{correct:(t,{treeScale:e,projectionDelta:n})=>{let r=eW.parse(t);if(r.length>5)return t;let i=eW.createTransformer(t),s="number"!=typeof r[0]?1:0,a=n.x.scale*e.x,o=n.y.scale*e.y;r[0+s]/=a,r[1+s]/=o;let l=eT(a,o,.5);return"number"==typeof r[2+s]&&(r[2+s]/=l),"number"==typeof r[3+s]&&(r[3+s]/=l),i(r)}}},rC=["TopLeft","TopRight","BottomLeft","BottomRight"],rM=rC.length,rF=t=>"string"==typeof t?parseFloat(t):t,rV=t=>"number"==typeof t||Q.test(t);function rD(t,e){return void 0!==t[e]?t[e]:t.borderRadius}let rR=rL(0,.5,ed),rj=rL(.5,.95,tq.Z);function rL(t,e,n){return r=>r<t?0:r>e?1:n(eY(t,e,r))}function rO(t,e){t.min=e.min,t.max=e.max}function rB(t,e){rO(t.x,e.x),rO(t.y,e.y)}function rN(t,e,n,r,i){return t-=e,t=r+1/n*(t-r),void 0!==i&&(t=r+1/i*(t-r)),t}function r$(t,e,[n,r,i],s,a){!function(t,e=0,n=1,r=.5,i,s=t,a=t){if(J.test(e)&&(e=parseFloat(e),e=eT(a.min,a.max,e/100)-a.min),"number"!=typeof e)return;let o=eT(s.min,s.max,r);t===s&&(o-=e),t.min=rN(t.min,e,n,o,i),t.max=rN(t.max,e,n,o,i)}(t,e[n],e[r],e[i],e.scale,s,a)}let rI=["x","scaleX","originX"],rU=["y","scaleY","originY"];function rW(t,e,n,r){r$(t.x,e,rI,n?n.x:void 0,r?r.x:void 0),r$(t.y,e,rU,n?n.y:void 0,r?r.y:void 0)}function rz(t){return 0===t.translate&&1===t.scale}function r_(t){return rz(t.x)&&rz(t.y)}function rH(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 rG(t){return nY(t.x)/nY(t.y)}class rZ{constructor(){this.members=[]}add(t){nw(this.members,t),t.scheduleRender()}remove(t){if(nP(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 n=this.members.findIndex(e=>t===e);if(0===n)return!1;for(let t=n;t>=0;t--){let n=this.members[t];if(!1!==n.isPresent){e=n;break}}return!!e&&(this.promote(e),!0)}promote(t,e){let n=this.lead;if(t!==n&&(this.prevLead=n,this.lead=t,t.show(),n)){n.instance&&n.scheduleRender(),t.scheduleRender(),t.resumeFrom=n,e&&(t.resumeFrom.preserveOpacity=!0),n.snapshot&&(t.snapshot=n.snapshot,t.snapshot.latestValues=n.animationValues||n.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);let{crossfade:r}=t.options;!1===r&&n.hide()}}exitAnimationComplete(){this.members.forEach(t=>{let{options:e,resumingFrom:n}=t;e.onExitComplete&&e.onExitComplete(),n&&n.options.onExitComplete&&n.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function rY(t,e,n){let r="",i=t.x.translate/e.x,s=t.y.translate/e.y;if((i||s)&&(r=`translate3d(${i}px, ${s}px, 0) `),(1!==e.x||1!==e.y)&&(r+=`scale(${1/e.x}, ${1/e.y}) `),n){let{rotate:t,rotateX:e,rotateY:i}=n;t&&(r+=`rotate(${t}deg) `),e&&(r+=`rotateX(${e}deg) `),i&&(r+=`rotateY(${i}deg) `)}let a=t.x.scale*e.x,o=t.y.scale*e.y;return(1!==a||1!==o)&&(r+=`scale(${a}, ${o})`),r||"none"}let rq=(t,e)=>t.depth-e.depth;class rX{constructor(){this.children=[],this.isDirty=!1}add(t){nw(this.children,t),this.isDirty=!0}remove(t){nP(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(rq),this.isDirty=!1,this.children.forEach(t)}}let rK=["","X","Y","Z"],rJ={visibility:"hidden"},rQ=0,r0={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0};function r1({attachResizeListener:t,defaultParent:e,measureScroll:n,checkIsScrollRoot:r,resetTransform:i}){return class{constructor(t={},n=null==e?void 0:e()){this.id=rQ++,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,r0.totalNodes=r0.resolvedTargetDeltas=r0.recalculatedProjection=0,this.nodes.forEach(r2),this.nodes.forEach(ie),this.nodes.forEach(ir),this.nodes.forEach(r6),window.MotionDebug&&window.MotionDebug.record(r0)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=t,this.root=n?n.root||n:this,this.path=n?[...n.path,n]:[],this.parent=n,this.depth=n?n.depth+1:0;for(let t=0;t<this.path.length;t++)this.path[t].shouldResetTransform=!0;this.root===this&&(this.nodes=new rX)}addEventListener(t,e){return this.eventHandlers.has(t)||this.eventHandlers.set(t,new nA),this.eventHandlers.get(t).add(e)}notifyListeners(t,...e){let n=this.eventHandlers.get(t);n&&n.notify(...e)}hasListeners(t){return this.eventHandlers.has(t)}mount(e,n=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=e instanceof SVGElement&&"svg"!==e.tagName,this.instance=e;let{layoutId:r,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),n&&(i||r)&&(this.isLayoutDirty=!0),t){let n;let r=()=>this.root.updateBlockedByResize=!1;t(e,()=>{this.root.updateBlockedByResize=!0,n&&n(),n=function(t,e){let n=performance.now(),r=({timestamp:e})=>{let i=e-n;i>=250&&((0,tM.Pn)(r),t(i-250))};return tM.Wi.read(r,!0),()=>(0,tM.Pn)(r)}(r,0),rP.hasAnimatedSinceResize&&(rP.hasAnimatedSinceResize=!1,this.nodes.forEach(it))})}r&&this.root.registerSharedNode(r,this),!1!==this.options.animate&&s&&(r||i)&&this.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e,hasRelativeTargetChanged:n,layout:r})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let i=this.options.transition||s.getDefaultTransition()||iu,{onLayoutAnimationStart:a,onLayoutAnimationComplete:o}=s.getProps(),l=!this.targetLayout||!rH(this.targetLayout,r)||n,u=!e&&n;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={...ng(i,"layout"),onPlay:a,onComplete:o};(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=r})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let t=this.getStack();t&&t.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,(0,tM.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:n}=this.options;if(void 0===e&&!n)return;let r=this.getTransformTemplate();this.prevTransformTemplateValue=r?r(this.latestValues,""):void 0,this.updateSnapshot(),t&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(r9);return}this.isUpdating||this.nodes.forEach(r4),this.isUpdating=!1,this.nodes.forEach(r7),this.nodes.forEach(r5),this.nodes.forEach(r3),this.clearAllSnapshots();let t=performance.now();tM.frameData.delta=U(0,1e3/60,t-tM.frameData.timestamp),tM.frameData.timestamp=t,tM.frameData.isProcessing=!0,tM.S6.update.process(tM.frameData),tM.S6.preRender.process(tM.frameData),tM.S6.render.process(tM.frameData),tM.frameData.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,queueMicrotask(()=>this.update()))}clearAllSnapshots(){this.nodes.forEach(r8),this.sharedNodes.forEach(is)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,tM.Wi.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){tM.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=n4(),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:r(this.instance),offset:n(this.instance)})}resetTransform(){if(!i)return;let t=this.isLayoutDirty||this.shouldResetTransform,e=this.projectionDelta&&!r_(this.projectionDelta),n=this.getTransformTemplate(),r=n?n(this.latestValues,""):void 0,s=r!==this.prevTransformTemplateValue;t&&(e||rr(this.latestValues)||s)&&(i(this.instance,r),this.shouldResetTransform=!1,this.scheduleRender())}measure(t=!0){var e;let n=this.measurePageBox(),r=this.removeElementScroll(n);return t&&(r=this.removeTransform(r)),id((e=r).x),id(e.y),{animationId:this.root.animationId,measuredBox:n,layoutBox:r,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:t}=this.options;if(!t)return n4();let e=t.measureViewportBox(),{scroll:n}=this.root;return n&&(ru(e.x,n.offset.x),ru(e.y,n.offset.y)),e}removeElementScroll(t){let e=n4();rB(e,t);for(let n=0;n<this.path.length;n++){let r=this.path[n],{scroll:i,options:s}=r;if(r!==this.root&&i&&s.layoutScroll){if(i.isRoot){rB(e,t);let{scroll:n}=this.root;n&&(ru(e.x,-n.offset.x),ru(e.y,-n.offset.y))}ru(e.x,i.offset.x),ru(e.y,i.offset.y)}}return e}applyTransform(t,e=!1){let n=n4();rB(n,t);for(let t=0;t<this.path.length;t++){let r=this.path[t];!e&&r.options.layoutScroll&&r.scroll&&r!==r.root&&rp(n,{x:-r.scroll.offset.x,y:-r.scroll.offset.y}),rr(r.latestValues)&&rp(n,r.latestValues)}return rr(this.latestValues)&&rp(n,this.latestValues),n}removeTransform(t){let e=n4();rB(e,t);for(let t=0;t<this.path.length;t++){let n=this.path[t];if(!n.instance||!rr(n.latestValues))continue;rn(n.latestValues)&&n.updateSnapshot();let r=n4();rB(r,n.measurePageBox()),rW(e,n.latestValues,n.snapshot?n.snapshot.layoutBox:void 0,r)}return rr(this.latestValues)&&rW(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!==tM.frameData.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(t=!1){var e,n,r,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 a=!!this.resumingFrom||this!==s;if(!(t||a&&this.isSharedProjectionDirty||this.isProjectionDirty||(null===(e=this.parent)||void 0===e?void 0:e.isProjectionDirty)||this.attemptToResolveRelativeTarget))return;let{layout:o,layoutId:l}=this.options;if(this.layout&&(o||l)){if(this.resolvedRelativeTargetAt=tM.frameData.timestamp,!this.targetDelta&&!this.relativeTarget){let t=this.getClosestProjectingParent();t&&t.layout&&1!==this.animationProgress?(this.relativeParent=t,this.forceRelativeParentToResolveTarget(),this.relativeTarget=n4(),this.relativeTargetOrigin=n4(),n0(this.relativeTargetOrigin,this.layout.layoutBox,t.layout.layoutBox),rB(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(this.relativeTarget||this.targetDelta){if((this.target||(this.target=n4(),this.targetWithTransforms=n4()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target)?(this.forceRelativeParentToResolveTarget(),n=this.target,r=this.relativeTarget,i=this.relativeParent.target,nJ(n.x,r.x,i.x),nJ(n.y,r.y,i.y)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):rB(this.target,this.layout.layoutBox),ro(this.target,this.targetDelta)):rB(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=n4(),this.relativeTargetOrigin=n4(),n0(this.relativeTargetOrigin,this.target,t.target),rB(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}r0.resolvedTargetDeltas++}}}getClosestProjectingParent(){return!this.parent||rn(this.parent.latestValues)||ri(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(),n=!!this.resumingFrom||this!==e,r=!0;if((this.isProjectionDirty||(null===(t=this.parent)||void 0===t?void 0:t.isProjectionDirty))&&(r=!1),n&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(r=!1),this.resolvedRelativeTargetAt===tM.frameData.timestamp&&(r=!1),r)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;rB(this.layoutCorrected,this.layout.layoutBox);let a=this.treeScale.x,o=this.treeScale.y;!function(t,e,n,r=!1){let i,s;let a=n.length;if(a){e.x=e.y=1;for(let o=0;o<a;o++){s=(i=n[o]).projectionDelta;let a=i.instance;(!a||!a.style||"contents"!==a.style.display)&&(r&&i.options.layoutScroll&&i.scroll&&i!==i.root&&rp(t,{x:-i.scroll.offset.x,y:-i.scroll.offset.y}),s&&(e.x*=s.x.scale,e.y*=s.y.scale,ro(t,s)),r&&rr(i.latestValues)&&rp(t,i.latestValues))}e.x=rl(e.x),e.y=rl(e.y)}}(this.layoutCorrected,this.treeScale,this.path,n),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=n8(),this.projectionTransform="none",this.scheduleRender());return}this.projectionDelta||(this.projectionDelta=n8(),this.projectionDeltaWithTransform=n8());let u=this.projectionTransform;nK(this.projectionDelta,this.layoutCorrected,l,this.latestValues),this.projectionTransform=rY(this.projectionDelta,this.treeScale),(this.projectionTransform!==u||this.treeScale.x!==a||this.treeScale.y!==o)&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",l)),r0.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 n;let r=this.snapshot,i=r?r.latestValues:{},s={...this.latestValues},a=n8();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!e;let o=n4(),l=(r?r.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 r=e/1e3;if(ia(a.x,t.x,r),ia(a.y,t.y,r),this.setTargetDelta(a),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var u,d,p,f;n0(o,this.layout.layoutBox,this.relativeParent.layout.layoutBox),p=this.relativeTarget,f=this.relativeTargetOrigin,io(p.x,f.x,o.x,r),io(p.y,f.y,o.y,r),n&&(u=this.relativeTarget,d=n,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),n||(n=n4()),rB(n,this.relativeTarget)}l&&(this.animationValues=s,function(t,e,n,r,i,s){i?(t.opacity=eT(0,void 0!==n.opacity?n.opacity:1,rR(r)),t.opacityExit=eT(void 0!==e.opacity?e.opacity:1,0,rj(r))):s&&(t.opacity=eT(void 0!==e.opacity?e.opacity:1,void 0!==n.opacity?n.opacity:1,r));for(let i=0;i<rM;i++){let s=`border${rC[i]}Radius`,a=rD(e,s),o=rD(n,s);(void 0!==a||void 0!==o)&&(a||(a=0),o||(o=0),0===a||0===o||rV(a)===rV(o)?(t[s]=Math.max(eT(rF(a),rF(o),r),0),(J.test(o)||J.test(a))&&(t[s]+="%")):t[s]=o)}(e.rotate||n.rotate)&&(t.rotate=eT(e.rotate||0,n.rotate||0,r))}(s,i,this.latestValues,r,h,c)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=r},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,tM.Pn)(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=tM.Wi.update(()=>{rP.hasAnimatedSinceResize=!0,this.currentAnimation=function(t,e,n){let r=j(0)?0:nT(0);return r.start(nv("",r,1e3,n)),r.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:n,layout:r,latestValues:i}=t;if(e&&n&&r){if(this!==t&&this.layout&&r&&ip(this.options.animationType,this.layout.layoutBox,r.layoutBox)){n=this.target||n4();let e=nY(this.layout.layoutBox.x);n.x.min=t.target.x.min,n.x.max=n.x.min+e;let r=nY(this.layout.layoutBox.y);n.y.min=t.target.y.min,n.y.max=n.y.min+r}rB(e,n),rp(e,i),nK(this.projectionDeltaWithTransform,this.layoutCorrected,e,i)}}registerSharedNode(t,e){this.sharedNodes.has(t)||this.sharedNodes.set(t,new rZ),this.sharedNodes.get(t).add(e);let n=e.options.initialPromotionConfig;e.promote({transition:n?n.transition:void 0,preserveFollowOpacity:n&&n.shouldPreserveFollowOpacity?n.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:n}={}){let r=this.getStack();r&&r.promote(this,n),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:n}=t;if((n.rotate||n.rotateX||n.rotateY||n.rotateZ)&&(e=!0),!e)return;let r={};for(let e=0;e<rK.length;e++){let i="rotate"+rK[e];n[i]&&(r[i]=n[i],t.setStaticValue(i,0))}for(let e in t.render(),r)t.setStaticValue(e,r[e]);t.scheduleRender()}getProjectionStyles(t){var e,n;if(!this.instance||this.isSVG)return;if(!this.isVisible)return rJ;let r={visibility:""},i=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,r.opacity="",r.pointerEvents=tT(null==t?void 0:t.pointerEvents)||"",r.transform=i?i(this.latestValues,""):"none",r;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&&!rr(this.latestValues)&&(e.transform=i?i({},""):"none",this.hasProjected=!1),e}let a=s.animationValues||s.latestValues;this.applyTransformsToTarget(),r.transform=rY(this.projectionDeltaWithTransform,this.treeScale,a),i&&(r.transform=i(a,r.transform));let{x:o,y:l}=this.projectionDelta;for(let t in r.transformOrigin=`${100*o.origin}% ${100*l.origin}% 0`,s.animationValues?r.opacity=s===this?null!==(n=null!==(e=a.opacity)&&void 0!==e?e:this.latestValues.opacity)&&void 0!==n?n:1:this.preserveOpacity?this.latestValues.opacity:a.opacityExit:r.opacity=s===this?void 0!==a.opacity?a.opacity:"":void 0!==a.opacityExit?a.opacityExit:0,F){if(void 0===a[t])continue;let{correct:e,applyTo:n}=F[t],i="none"===r.transform?a[t]:e(a[t],s);if(n){let t=n.length;for(let e=0;e<t;e++)r[n[e]]=i}else r[t]=i}return this.options.layoutId&&(r.pointerEvents=s===this?tT(null==t?void 0:t.pointerEvents)||"":"none"),r}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(r9),this.root.sharedNodes.clear()}}}function r5(t){t.updateLayout()}function r3(t){var e;let n=(null===(e=t.resumeFrom)||void 0===e?void 0:e.snapshot)||t.snapshot;if(t.isLead()&&t.layout&&n&&t.hasListeners("didUpdate")){let{layoutBox:e,measuredBox:r}=t.layout,{animationType:i}=t.options,s=n.source!==t.layout.source;"size"===i?n7(t=>{let r=s?n.measuredBox[t]:n.layoutBox[t],i=nY(r);r.min=e[t].min,r.max=r.min+i}):ip(i,n.layoutBox,e)&&n7(r=>{let i=s?n.measuredBox[r]:n.layoutBox[r],a=nY(e[r]);i.max=i.min+a,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[r].max=t.relativeTarget[r].min+a)});let a=n8();nK(a,e,n.layoutBox);let o=n8();s?nK(o,t.applyTransform(r,!0),n.measuredBox):nK(o,e,n.layoutBox);let l=!r_(a),u=!1;if(!t.resumeFrom){let r=t.getClosestProjectingParent();if(r&&!r.resumeFrom){let{snapshot:i,layout:s}=r;if(i&&s){let a=n4();n0(a,n.layoutBox,i.layoutBox);let o=n4();n0(o,e,s.layoutBox),rH(a,o)||(u=!0),r.options.layoutRoot&&(t.relativeTarget=o,t.relativeTargetOrigin=a,t.relativeParent=r)}}}t.notifyListeners("didUpdate",{layout:e,snapshot:n,delta:o,layoutDelta:a,hasLayoutChanged:l,hasRelativeTargetChanged:u})}else if(t.isLead()){let{onExitComplete:e}=t.options;e&&e()}t.options.transition=void 0}function r2(t){r0.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 r6(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function r8(t){t.clearSnapshot()}function r9(t){t.clearMeasurements()}function r4(t){t.isLayoutDirty=!1}function r7(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 ia(t,e,n){t.translate=eT(e.translate,0,n),t.scale=eT(e.scale,1,n),t.origin=e.origin,t.originPoint=e.originPoint}function io(t,e,n,r){t.min=eT(e.min,n.min,r),t.max=eT(e.max,n.max,r)}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,n){return"position"===t||"preserve-aspect"===t&&!nq(rG(e),rG(n),.2)}let im=r1({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},iy=r1({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}),iv=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function ix(t,e,n=1){(0,t8.k)(n<=4,`Max CSS variable fallback depth detected in property "${t}". This may indicate a circular fallback dependency.`);let[r,i]=function(t){let e=iv.exec(t);if(!e)return[,];let[,n,r]=e;return[n,r]}(t);if(!r)return;let s=window.getComputedStyle(e).getPropertyValue(r);if(s){let t=s.trim();return nb(t)?parseFloat(t):t}return $(i)?ix(i,e,n+1):i}let ib=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),iw=t=>ib.has(t),iP=t=>Object.keys(t).some(iw),iA=t=>t===W||t===Q,iS=(t,e)=>parseFloat(t.split(", ")[e]),ik=(t,e)=>(n,{transform:r})=>{if("none"===r||!r)return 0;let i=r.match(/^matrix3d\((.+)\)$/);if(i)return iS(i[1],e);{let e=r.match(/^matrix\((.+)\)$/);return e?iS(e[1],t):0}},iE=new Set(["x","y","z"]),iT=V.filter(t=>!iE.has(t)),iC={width:({x:t},{paddingLeft:e="0",paddingRight:n="0"})=>t.max-t.min-parseFloat(e)-parseFloat(n),height:({y:t},{paddingTop:e="0",paddingBottom:n="0"})=>t.max-t.min-parseFloat(e)-parseFloat(n),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)};iC.translateX=iC.x,iC.translateY=iC.y;let iM=(t,e,n)=>{let r=e.measureViewportBox(),i=getComputedStyle(e.current),{display:s}=i,a={};"none"===s&&e.setStaticValue("display",t.display||"block"),n.forEac
9h(t=>{a[t]=iC[t](r,i)}),e.render();let o=e.measureViewportBox();return n.forEach(n=>{let r=e.getValue(n);r&&r.jump(a[n]),t[n]=iC[n](o,i)}),t},iF=(t,e,n={},r={})=>{e={...e},r={...r};let i=Object.keys(e).filter(iw),s=[],a=!1,o=[];if(i.forEach(i=>{let l;let u=t.getValue(i);if(!t.hasValue(i))return;let c=n[i],h=nF(c),d=e[i];if(tS(d)){let t=d.length,e=null===d[0]?1:0;h=nF(c=d[e]);for(let n=e;n<t&&null!==d[n];n++)l?(0,t8.k)(nF(d[n])===l,"All keyframes must be of the same type"):(l=nF(d[n]),(0,t8.k)(l===h||iA(h)&&iA(l),"Keyframes must be of the same dimension as the current value"))}else l=nF(d);if(h!==l){if(iA(h)&&iA(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):(a||(s=function(t){let e=[];return iT.forEach(n=>{let r=t.getValue(n);void 0!==r&&(e.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),e.length&&t.render(),e}(t),a=!0),o.push(i),r[i]=void 0!==r[i]?r[i]:e[i],u.jump(d))}}),!o.length)return{target:e,transitionEnd:r};{let n=o.indexOf("height")>=0?window.pageYOffset:null,i=iM(e,t,o);return s.length&&s.forEach(([e,n])=>{t.getValue(e).set(n)}),t.render(),S.j&&null!==n&&window.scrollTo({top:n}),{target:i,transitionEnd:r}}},iV=(t,e,n,r)=>{var i,s;let a=function(t,{...e},n){let r=t.current;if(!(r instanceof Element))return{target:e,transitionEnd:n};for(let i in n&&(n={...n}),t.values.forEach(t=>{let e=t.get();if(!$(e))return;let n=ix(e,r);n&&t.set(n)}),e){let t=e[i];if(!$(t))continue;let s=ix(t,r);s&&(e[i]=s,n||(n={}),void 0===n[i]&&(n[i]=t))}return{target:e,transitionEnd:n}}(t,e,r);return e=a.target,r=a.transitionEnd,i=e,s=r,iP(i)?iF(t,i,n,s):{target:i,transitionEnd:s}},iD={current:null},iR={current:!1},ij=new WeakMap,iL=Object.keys(A),iO=iL.length,iB=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],iN=v.length;class i${constructor({parent:t,props:e,presenceContext:n,reducedMotionConfig:r,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=()=>tM.Wi.render(this.render,!1,!0);let{latestValues:a,renderState:o}=i;this.latestValues=a,this.baseTarget={...a},this.initialValues=e.initial?{...a}:{},this.renderState=o,this.parent=t,this.props=e,this.presenceContext=n,this.depth=t?t.depth+1:0,this.reducedMotionConfig=r,this.options=s,this.isControllingVariants=x(e),this.isVariantNode=b(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!==a[t]&&j(e)&&(e.set(a[t],!1),nx(l)&&l.add(t))}}scrapeMotionValuesFromProps(t,e){return{}}mount(t){this.current=t,ij.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)),iR.current||function(){if(iR.current=!0,S.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 ij.delete(this.current),this.projection&&this.projection.unmount(),(0,tM.Pn)(this.notifyUpdate),(0,tM.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 n=D.has(t),r=e.on("change",e=>{this.latestValues[t]=e,this.props.onUpdate&&tM.Wi.update(this.notifyUpdate,!1,!0),n&&this.projection&&(this.projection.isTransformDirty=!0)}),i=e.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(t,()=>{r(),i()})}sortNodePosition(t){return this.current&&this.sortInstanceNodePosition&&this.type===t.type?this.sortInstanceNodePosition(this.current,t.current):0}loadFeatures({children:t,...e},n,r,i){let s,a;for(let t=0;t<iO;t++){let n=iL[t],{isEnabled:r,Feature:i,ProjectionNode:o,MeasureLayout:l}=A[n];o&&(s=o),r(e)&&(!this.features[n]&&i&&(this.features[n]=new i(this)),l&&(a=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:n,drag:r,dragConstraints:a,layoutScroll:o,layoutRoot:l}=e;this.projection.setOptions({layoutId:t,layout:n,alwaysMeasureLayout:!!r||a&&f(a),visualElement:this,scheduleRender:()=>this.scheduleRender(),animationType:"string"==typeof n?n:"both",initialPromotionConfig:i,layoutScroll:o,layoutRoot:l})}return a}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):n4()}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<iB.length;e++){let n=iB[e];this.propEventSubscriptions[n]&&(this.propEventSubscriptions[n](),delete this.propEventSubscriptions[n]);let r=t["on"+n];r&&(this.propEventSubscriptions[n]=this.on(n,r))}this.prevMotionValues=function(t,e,n){let{willChange:r}=e;for(let i in e){let s=e[i],a=n[i];if(j(s))t.addValue(i,s),nx(r)&&r.add(i);else if(j(a))t.addValue(i,nT(s,{owner:t})),nx(r)&&r.remove(i);else if(a!==s){if(t.hasValue(i)){let e=t.getValue(i);e.hasAnimated||e.set(s)}else{let e=t.getStaticValue(i);t.addValue(i,nT(void 0!==e?e:s,{owner:t}))}}}for(let r in n)void 0===e[r]&&t.removeValue(r);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<iN;t++){let n=v[t],r=this.props[n];(m(r)||!1===r)&&(e[n]=r)}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 n=this.values.get(t);return void 0===n&&void 0!==e&&(n=nT(e,{owner:this}),this.addValue(t,n)),n}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:n}=this.props,r="string"==typeof n||"object"==typeof n?null===(e=tP(this.props,n))||void 0===e?void 0:e[t]:void 0;if(n&&void 0!==r)return r;let i=this.getBaseTargetFromProps(this.props,t);return void 0===i||j(i)?void 0!==this.initialValues[t]&&void 0===r?void 0:this.baseTarget[t]:i}on(t,e){return this.events[t]||(this.events[t]=new nA),this.events[t].add(e)}notify(t,...e){this.events[t]&&this.events[t].notify(...e)}}class iI 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:n}){delete e[t],delete n[t]}makeTargetAnimatableFromInstance({transition:t,transitionEnd:e,...n},{transformValues:r},i){let s=function(t,e,n){let r={};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)r[i]=t;else{let t=n.getValue(i);t&&(r[i]=t.get())}}return r}(n,t||{},this);if(r&&(e&&(e=r(e)),n&&(n=r(n)),s&&(s=r(s))),i){!function(t,e,n){var r,i;let s=Object.keys(e).filter(e=>!t.hasValue(e)),a=s.length;if(a)for(let o=0;o<a;o++){let a=s[o],l=e[a],u=null;Array.isArray(l)&&(u=l[0]),null===u&&(u=null!==(i=null!==(r=n[a])&&void 0!==r?r:t.readValue(a))&&void 0!==i?i:e[a]),null!=u&&("string"==typeof u&&(nb(u)||nm(u))?u=parseFloat(u):!nD(u)&&eW.test(l)&&(u=nf(a,l)),t.addValue(a,nT(u,{owner:t})),void 0===n[a]&&(n[a]=u),null!==u&&t.setBaseTarget(a,u))}}(this,n,s);let t=iV(this,n,s,e);e=t.transitionEnd,n=t.target}return{transition:t,transitionEnd:e,...n}}}class iU extends iI{constructor(){super(...arguments),this.type="html"}readValueFromInstance(t,e){if(D.has(e)){let t=np(e);return t&&t.default||0}{let n=window.getComputedStyle(t),r=(N(e)?n.getPropertyValue(e):n[e])||0;return"string"==typeof r?r.trim():r}}measureInstanceViewportBox(t,{transformPagePoint:e}){return rf(t,e)}build(t,e,n,r){ts(t,e,n,r.transformTemplate)}scrapeMotionValuesFromProps(t,e){return tb(t,e)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:t}=this.props;j(t)&&(this.childSubscription=t.on("change",t=>{this.current&&(this.current.textContent=`${t}`)}))}renderInstance(t,e,n,r){ty(t,e,n,r)}}class iW extends iI{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1}getBaseTargetFromProps(t,e){return t[e]}readValueFromInstance(t,e){if(D.has(e)){let t=np(e);return t&&t.default||0}return e=tv.has(e)?e:d(e),t.getAttribute(e)}measureInstanceViewportBox(){return n4()}scrapeMotionValuesFromProps(t,e){return tw(t,e)}build(t,e,n,r){tf(t,e,n,this.isSVGTag,r.transformTemplate)}renderInstance(t,e,n,r){tx(t,e,n,r)}mount(t){this.isSVGTag=tg(t.tagName),super.mount(t)}}let iz=(t,e)=>M(t)?new iW(e,{enableHardwareAcceleration:!1}):new iU(e,{enableHardwareAcceleration:!0}),i_={animation:{Feature:n$},exit:{Feature:nU},inView:{Feature:t3},tap:{Feature:tK},focus:{Feature:tZ},hover:{Feature:tG},pan:{Feature:rw},drag:{Feature:rx,ProjectionNode:iy,MeasureLayout:rE},layout:{ProjectionNode:iy,MeasureLayout:rE}},iH=function(t){function e(e,n={}){return function({preloadedFeatures:t,createVisualElement:e,useRender:n,useVisualState:r,Component:i}){t&&function(t){for(let e in t)A[e]={...A[e],...t[e]}}(t);let s=(0,a.forwardRef)(function(s,d){var g;let y;let v={...(0,a.useContext)(o),...s,layoutId:function({layoutId:t}){let e=(0,a.useContext)(k.p).id;return e&&void 0!==t?e+"-"+t:t}(s)},{isStatic:b}
9=v,P=function(t){let{initial:e,animate:n}=function(t,e){if(x(t)){let{initial:e,animate:n}=t;return{initial:!1===e||m(e)?e:void 0,animate:m(n)?n:void 0}}return!1!==t.inherit?e:{}}(t,(0,a.useContext)(l));return(0,a.useMemo)(()=>({initial:e,animate:n}),[w(e),w(n)])}(s),A=r(s,b);if(!b&&S.j){P.visualElement=function(t,e,n,r){let{visualElement:i}=(0,a.useContext)(l),s=(0,a.useContext)(h),d=(0,a.useContext)(u.O),f=(0,a.useContext)(o).reducedMotion,m=(0,a.useRef)();r=r||s.renderer,!m.current&&r&&(m.current=r(t,{visualState:e,parent:i,props:n,presenceContext:d,blockInitialAnimation:!!d&&!1===d.initial,reducedMotionConfig:f}));let g=m.current;(0,a.useInsertionEffect)(()=>{g&&g.update(n,d)});let y=(0,a.useRef)(!!(n[p]&&!window.HandoffComplete));return(0,c.L)(()=>{g&&(g.render(),y.current&&g.animationState&&g.animationState.animateChanges())}),(0,a.useEffect)(()=>{g&&(g.updateFeatures(),!y.current&&g.animationState&&g.animationState.animateChanges(),y.current&&(y.current=!1,window.HandoffComplete=!0))}),g}(i,A,v,e);let n=(0,a.useContext)(E),r=(0,a.useContext)(h).strict;P.visualElement&&(y=P.visualElement.loadFeatures(v,r,t,n))}return a.createElement(l.Provider,{value:P},y&&P.visualElement?a.createElement(y,{visualElement:P.visualElement,...v}):null,n(i,s,(g=P.visualElement,(0,a.useCallback)(t=>{t&&A.mount&&A.mount(t),g&&(t?g.mount(t):g.unmount()),d&&("function"==typeof d?d(t):f(d)&&(d.current=t))},[g])),A,b,P.visualElement))});return s[T]=i,s}(t(e,n))}if("undefined"==typeof Proxy)return e;let n=new Map;return new Proxy(e,{get:(t,r)=>(n.has(r)||n.set(r,e(r)),n.get(r))})}((t,e)=>(function(t,{forwardMotionProps:e=!1},n,r){return{...M(t)?tF:tV,preloadedFeatures:n,useRender:function(t=!1){return(e,n,r,{latestValues:i},s)=>{let o=(M(e)?function(t,e,n,r){let i=(0,a.useMemo)(()=>{let n=tm();return tf(n,e,{enableHardwareAcceleration:!1},tg(r),t.transformTemplate),{...n.attrs,style:{...n.style}}},[e]);if(t.style){let e={};to(e,t.style,t),i.style={...e,...i.style}}return i}:function(t,e,n){let r={},i=function(t,e,n){let r=t.style||{},i={};return to(i,r,t),Object.assign(i,function({transformTemplate:t},e,n){return(0,a.useMemo)(()=>{let r=ta();return ts(r,e,{enableHardwareAcceleration:!n},t),Object.assign({},r.vars,r.style)},[e])}(t,e,n)),t.transformValues?t.transformValues(i):i}(t,e,n);return t.drag&&!1!==t.dragListener&&(r.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)&&(r.tabIndex=0),r.style=i,r})(n,i,s,e),l={...function(t,e,n){let r={};for(let i in t)("values"!==i||"object"!=typeof t.values)&&(tc(i)||!0===n&&tu(i)||!e&&!tu(i)||t.draggable&&i.startsWith("onDrag"))&&(r[i]=t[i]);return r}(n,"string"==typeof e,t),...o,ref:r},{children:u}=n,c=(0,a.useMemo)(()=>j(u)?u.get():u,[u]);return(0,a.createElement)(e,{...l,children:c})}}(e),createVisualElement:r,Component:t}})(t,e,i_,iz))},53666:function(t,e,n){"use strict";n.d(e,{K:function(){return i},k:function(){return s}});var r=n(58869);let i=r.Z,s=r.Z},67890:function(t,e,n){"use strict";n.d(e,{j:function(){return r}});let r="undefined"!=typeof document},58869:function(t,e,n){"use strict";n.d(e,{Z:function(){return r}});let r=t=>t},18295:function(t,e,n){"use strict";n.d(e,{h:function(){return i}});var r=n(2265);function i(t){let e=(0,r.useRef)(null);return null===e.current&&(e.current=t()),e.current}},48383:function(t,e,n){"use strict";n.d(e,{L:function(){return i}});var r=n(2265);let i=n(67890).j?r.useLayoutEffect:r.useEffect},66704:function(t){"use strict";t.exports=JSON.parse('{"AElig":"\xc6","AMP":"&","Aacute":"\xc1","Acirc":"\xc2","Agrave":"\xc0","Aring":"\xc5","Atilde":"\xc3","Auml":"\xc4","COPY":"\xa9","Ccedil":"\xc7","ETH":"\xd0","Eacute":"\xc9","Ecirc":"\xca","Egrave":"\xc8","Euml":"\xcb","GT":">","Iacute":"\xcd","Icirc":"\xce","Igrave":"\xcc","Iuml":"\xcf","LT":"<","Ntilde":"\xd1","Oacute":"\xd3","Ocirc":"\xd4","Ograve":"\xd2","Oslash":"\xd8","Otilde":"\xd5","Ouml":"\xd6","QUOT":"\\"","REG":"\xae","THORN":"\xde","Uacute":"\xda","Ucirc":"\xdb","Ugrave":"\xd9","Uuml":"\xdc","Yacute":"\xdd","aacute":"\xe1","acirc":"\xe2","acute":"\xb4","aelig":"\xe6","agrave":"\xe0","amp":"&","aring":"\xe5","atilde":"\xe3","auml":"\xe4","brvbar":"\xa6","ccedil":"\xe7","cedil":"\xb8","cent":"\xa2","copy":"\xa9","curren":"\xa4","deg":"\xb0","divide":"\xf7","eacute":"\xe9","ecirc":"\xea","egrave":"\xe8","eth":"\xf0","euml":"\xeb","frac12":"\xbd","frac14":"\xbc","frac34":"\xbe","gt":">","iacute":"\xed","icirc":"\xee","iexcl":"\xa1","igrave":"\xec","iquest":"\xbf","iuml":"\xef","laquo":"\xab","lt":"<","macr":"\xaf","micro":"\xb5","middot":"\xb7","nbsp":"\xa0","not":"\xac","ntilde":"\xf1","oacute":"\xf3","ocirc":"\xf4","ograve":"\xf2","ordf":"\xaa","ordm":"\xba","oslash":"\xf8","otilde":"\xf5","ouml":"\xf6","para":"\xb6","plusmn":"\xb1","pound":"\xa3","quot":"\\"","raquo":"\xbb","reg":"\xae","sect":"\xa7","shy":"\xad","sup1":"\xb9","sup2":"\xb2","sup3":"\xb3","szlig":"\xdf","thorn":"\xfe","t
9imes":"\xd7","uacute":"\xfa","ucirc":"\xfb","ugrave":"\xf9","uml":"\xa8","uuml":"\xfc","yacute":"\xfd","yen":"\xa5","yuml":"\xff"}')},46561:function(t){"use strict";t.exports=JSON.parse('{"0":"�","128":"€","130":"‚","131":"ƒ","132":"„","133":"…","134":"†","135":"‡","136":"ˆ","137":"‰","138":"Š","139":"‹","140":"Œ","142":"Ž","145":"‘","146":"’","147":"“","148":"”","149":"•","150":"–","151":"—","152":"˜","153":"™","154":"š","155":"›","156":"œ","158":"ž","159":"Ÿ"}')}}]);

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.