PageSourceSearch

https://bsky.social/about/_next/static/chunks/pages/_app-e6ca888df01112c8.js

js bsky.social collected 2026-09-24 06:53:31 UTC 126,120 bytes, 5 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[888],{6840:function(t,e,i){(window.__NEXT_P=window.__NEXT_P||[]).push(["/_app",function(){return i(1453)}])},3412:function(t,e){"use strict";var i,n;Object.defineProperty(e,"__esModule",{value:!0}),function(t,e){for(var i in e)Object.defineProperty(t,i,{enumerable:!0,get:e[i]})}(e,{PrefetchKind:function(){return i},ACTION_REFRESH:function(){return r},ACTION_NAVIGATE:function(){return s},ACTION_RESTORE:function(){return o},ACTION_SERVER_PATCH:function(){return a},ACTION_PREFETCH:function(){return l},ACTION_FAST_REFRESH:function(){return u},ACTION_SERVER_ACTION:function(){return h},isThenable:function(){return c}});let r="refresh",s="navigate",o="restore",a="server-patch",l="prefetch",u="fast-refresh",h="server-action";function c(t){return t&&("object"==typeof t||"function"==typeof t)&&"function"==typeof t.then}(n=i||(i={})).AUTO="auto",n.FULL="full",n.TEMPORARY="temporary",("function"==typeof e.default||"object"==typeof e.default&&null!==e.default)&&void 0===e.default.__esModule&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),t.exports=e.default)},6504:function(t,e,i){"use strict";function n(t,e,i,n){return!1}Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"getDomainLocale",{enumerable:!0,get:function(){return n}}),i(282),("function"==typeof e.default||"object"==typeof e.default&&null!==e.default)&&void 0===e.default.__esModule&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),t.exports=e.default)},3480:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return b}});let n=i(8754),r=i(5893),s=n._(i(7294)),o=i(7950),a=i(7387),l=i(6982),u=i(6921),h=i(7727),c=i(1973),d=i(6216),p=i(1722),f=i(6504),m=i(634),g=i(3412),v=new Set;function y(t,e,i,n,r,s){if(s||(0,a.isLocalURL)(e)){if(!n.bypassPrefetchedCheck){let r=e+"%"+i+"%"+(void 0!==n.locale?n.locale:"locale"in t?t.locale:void 0);if(v.has(r))return;v.add(r)}Promise.resolve(s?t.prefetch(e,r):t.prefetch(e,i,n)).catch(t=>{})}}function x(t){return"string"==typeof t?t:(0,l.formatUrl)(t)}let b=s.default.forwardRef(function(t,e){let i,n;let{href:l,as:v,children:b,prefetch:C=null,passHref:w,replace:P,shallow:T,scroll:A,locale:S,onClick:j,onMouseEnter:E,onTouchStart:k,legacyBehavior:M=!1,...V}=t;i=b,M&&("string"==typeof i||"number"==typeof i)&&(i=(0,r.jsx)("a",{children:i}));let L=s.default.useContext(c.RouterContext),R=s.default.useContext(d.AppRouterContext),D=null!=L?L:R,F=!L,O=!1!==C,B=null===C?g.PrefetchKind.AUTO:g.PrefetchKind.FULL,{href:N,as:I}=s.default.useMemo(()=>{if(!L){let t=x(l);return{href:t,as:v?x(v):t}}let[t,e]=(0,o.resolveHref)(L,l,!0);return{href:t,as:v?(0,o.resolveHref)(L,v):e||t}},[L,l,v]),W=s.default.useRef(N),U=s.default.useRef(I);M&&(n=s.default.Children.only(i));let H=M?n&&"object"==typeof n&&n.ref:e,[_,Z,$]=(0,p.useIntersection)({rootMargin:"200px"}),z=s.default.useCallback(t=>{(U.current!==I||W.current!==N)&&($(),U.current=I,W.current=N),_(t),H&&("function"==typeof H?H(t):"object"==typeof H&&(H.current=t))},[I,H,N,$,_]);s.default.useEffect(()=>{D&&Z&&O&&y(D,N,I,{locale:S},{kind:B},F)},[I,N,Z,S,O,null==L?void 0:L.locale,D,F,B]);let Y={ref:z,onClick(t){M||"function"!=typeof j||j(t),M&&n.props&&"function"==typeof n.props.onClick&&n.props.onClick(t),D&&!t.defaultPrevented&&function(t,e,i,n,r,o,l,u,h){let{nodeName:c}=t.currentTarget;if("A"===c.toUpperCase()&&(function(t){let e=t.currentTarget.getAttribute("target");return e&&"_self"!==e||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.nativeEvent&&2===t.nativeEvent.which}(t)||!h&&!(0,a.isLocalURL)(i)))return;t.preventDefault();let d=()=>{let t=null==l||l;"beforePopState"in e?e[r?"replace":"push"](i,n,{shallow:o,locale:u,scroll:t}):e[r?"replace":"push"](n||i,{scroll:t})};h?s.default.startTransition(d):d()}(t,D,N,I,P,T,A,S,F)},onMouseEnter(t){M||"function"!=typeof E||E(t),M&&n.props&&"function"==typeof n.props.onMouseEnter&&n.props.onMouseEnter(t),D&&(O||!F)&&y(D,N,I,{locale:S,priority:!0,bypassPrefetchedCheck:!0},{kind:B},F)},onTouchStart(t){M||"function"!=typeof k||k(t),M&&n.props&&"function"==typeof n.props.onTouchStart&&n.props.onTouchStart(t),D&&(O||!F)&&y(D,N,I,{locale:S,priority:!0,bypassPrefetchedCheck:!0},{kind:B},F)}};if((0,u.isAbsoluteUrl)(I))Y.href=I;else if(!M||w||"a"===n.type&&!("href"in n.props)){let t=void 0!==S?S:null==L?void 0:L.locale,e=(null==L?void 0:L.isLocaleDomain)&&(0,f.getDomainLocale)(I,t,null==L?void 0:L.locales,null==L?void 0:L.domainLocales);Y.href=e||(0,m.addBasePath)((0,h.addLocale)(I,t,null==L?void 0:L.defaultLocale))}return M?s.default.cloneElement(n,Y):(0,r.jsx)("a",{...V,...Y,children:i})});("function"==typeof e.default||"object"==typeof e.default&&null!==e.default)&&void 0===e.default.__esModule&&(Object.defineProperty(e.default,"__esMo
1dule",{value:!0}),Object.assign(e.default,e),t.exports=e.default)},1722:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"useIntersection",{enumerable:!0,get:function(){return l}});let n=i(7294),r=i(9126),s="function"==typeof IntersectionObserver,o=new Map,a=[];function l(t){let{rootRef:e,rootMargin:i,disabled:l}=t,u=l||!s,[h,c]=(0,n.useState)(!1),d=(0,n.useRef)(null),p=(0,n.useCallback)(t=>{d.current=t},[]);return(0,n.useEffect)(()=>{if(s){if(u||h)return;let t=d.current;if(t&&t.tagName)return function(t,e,i){let{id:n,observer:r,elements:s}=function(t){let e;let i={root:t.root||null,margin:t.rootMargin||""},n=a.find(t=>t.root===i.root&&t.margin===i.margin);if(n&&(e=o.get(n)))return e;let r=new Map;return e={id:i,observer:new IntersectionObserver(t=>{t.forEach(t=>{let e=r.get(t.target),i=t.isIntersecting||t.intersectionRatio>0;e&&i&&e(i)})},t),elements:r},a.push(i),o.set(i,e),e}(i);return s.set(t,e),r.observe(t),function(){if(s.delete(t),r.unobserve(t),0===s.size){r.disconnect(),o.delete(n);let t=a.findIndex(t=>t.root===n.root&&t.margin===n.margin);t>-1&&a.splice(t,1)}}}(t,t=>t&&c(t),{root:null==e?void 0:e.current,rootMargin:i})}else if(!h){let t=(0,r.requestIdleCallback)(()=>c(!0));return()=>(0,r.cancelIdleCallback)(t)}},[u,i,e,h,d.current]),[p,h,(0,n.useCallback)(()=>{c(!1)},[])]}("function"==typeof e.default||"object"==typeof e.default&&null!==e.default)&&void 0===e.default.__esModule&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),t.exports=e.default)},5374:function(t,e,i){"use strict";i.d(e,{EK:function(){return p},Ey:function(){return a},GL:function(){return c},HN:function(){return o},P9:function(){return u},Rv:function(){return s},TH:function(){return d},TR:function(){return r},WL:function(){return f},ew:function(){return h},tL:function(){return l}});var n=i(5893);let r=t=>{let{className:e}=t;return(0,n.jsxs)("svg",{className:e,xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 568 501",children:[(0,n.jsx)("title",{children:"Bluesky butterfly logo"}),(0,n.jsx)("path",{fill:"currentColor",d:"M123.121 33.664C188.241 82.553 258.281 181.68 284 234.873c25.719-53.192 95.759-152.32 160.879-201.21C491.866-1.611 568-28.906 568 57.947c0 17.346-9.945 145.713-15.778 166.555-20.275 72.453-94.155 90.933-159.875 79.748C507.222 323.8 536.444 388.56 473.333 453.32c-119.86 122.992-172.272-30.859-185.702-70.281-2.462-7.227-3.614-10.608-3.631-7.733-.017-2.875-1.169.506-3.631 7.733-13.43 39.422-65.842 193.273-185.702 70.281-63.111-64.76-33.89-129.52 80.986-149.071-65.72 11.185-139.6-7.295-159.875-79.748C9.945 203.659 0 75.291 0 57.946 0-28.906 76.135-1.612 123.121 33.664Z"})]})},s=t=>{let{className:e}=t;return(0,n.jsxs)("svg",{"aria-label":"wordmark bluesky",className:e,width:"116",height:"31",viewBox:"0 0 116 31",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,n.jsx)("title",{children:"Bluesky"}),(0,n.jsx)("path",{d:"M15.3666 11.4928C18.0902 12.4818 19.536 14.7668 19.536 17.3245C19.536 21.6557 16.6779 24.2816 11.1971 24.2816H0V0H10.8272C16.0391 0 18.5609 2.69417 18.5609 6.27503C18.5609 8.66227 17.4849 10.4015 15.3666 11.4928ZM10.491 3.78548H4.53936V10.1287H10.491C12.8111 10.1287 14.0552 8.90099 14.0552 6.85479C14.0552 4.9791 12.7774 3.78548 10.491 3.78548ZM4.53936 20.462H10.9617C13.5172 20.462 14.8958 19.2684 14.8958 17.1199C14.8958 14.8691 13.5844 13.7437 10.9617 13.7437H4.53936V20.462Z",fill:"currentColor"}),(0,n.jsx)("path",{d:"M25.8299 24.2816H21.5932V0H25.8299V24.2816Z",fill:"currentColor"}),(0,n.jsx)("path",{d:"M39.8775 16.5402V6.68427H44.1143V24.2816H40.012V21.7239C38.7007 23.7019 36.8849 24.6909 34.5648 24.6909C30.8997 24.6909 28.5123 22.44 28.5123 18.3476V6.68427H32.7491V17.6315C32.7491 19.8482 33.8251 20.9736 36.0107 20.9736C38.0618 20.9736 39.8775 19.4389 39.8775 16.5402Z",fill:"currentColor"}),(0,n.jsx)("path",{d:"M63.3989 15.7899V16.813H50.4197C50.7224 19.8482 52.37 21.3487 54.9255 21.3487C56.8757 21.3487 58.1871 20.4962 58.8932 18.8251H62.9618C62.0539 22.4059 59.0277 24.6909 54.8918 24.6909C52.3027 24.6909 50.218 23.8383 48.6376 22.1672C47.0572 20.4962 46.2502 18.2794 46.2502 15.4829C46.2502 12.7206 47.0236 10.5038 48.604 8.798
168C50.1844 7.12761 52.2355 6.27503 54.8246 6.27503C57.4473 6.27503 59.5321 7.16172 61.0788 8.90099C62.6256 10.6403 63.3989 12.9593 63.3989 15.7899ZM54.791 9.61716C52.4708 9.61716 50.8569 10.9813 50.4534 13.8119H59.1622C58.7923 11.2541 57.2456 9.61716 54.791 9.61716Z",fill:"currentColor"}),(0,n.jsx)("path",{d:"M72.7892 24.7591C67.7455 24.7591 65.0891 22.747 64.8537 18.6887H68.9896C69.2249 20.8713 70.3009 21.6898 72.8564 21.6898C75.1429 21.6898 76.2862 20.9736 76.2862 19.5754C76.2862 18.3135 75.4792 17.6997 72.8901 17.2563L70.9062 16.9153C67.1066 16.2673 65.2236 14.494 65.2236 11.5952C65.2236 8.28713 67.8127 6.27503 72.4193 6.27503C77.3622 6.27503 79.9177 8.25302 80.0858 12.2431H76.0844C75.9835 10.0946 74.7394 9.34433 72.4193 9.34433C70.4018 9.34433 69.3931 10.0264 69.3931 11.3905C69.3931 12.6183 70.2673 13.1639 72.2848 13.5391L74.4704 13.8801C78.6735 14.6645 80.4893 16.2332 80.4893 19.2343C80.4893 22.7811 77.6648 24.7591 72.7892 24.7591Z",fill:"currentColor"}),(0,n.jsx)("path",{d:"M99.0846 24.2816H94.2426L89.1989 16.0968L86.5762 18.7569V24.2816H82.4067V0H86.5762V13.9824L93.6374 6.68427H98.6811L92.1243 13.3344L99.0846 24.2816Z",fill:"currentColor"}),(0,n.jsx)("path",{d:"M110.149 11.1177L111.562 6.68427H116L109.309 25.714C108.603 27.6579 107.728 29.0561 106.619 29.8405C105.509 30.6249 103.929 31 101.844 31C101.138 31 100.533 30.9659 99.9946 30.8977V27.5215H101.609C103.525 27.5215 104.467 26.3278 104.467 24.6909C104.467 23.8724 104.198 22.6788 103.66 21.1441L98.616 6.68427H103.189L104.601 11.0836C105.644 14.3916 106.551 17.6656 107.358 20.9054C108.098 18.1089 109.04 14.835 110.149 11.1177Z",fill:"currentColor"})]})},o=t=>{let{className:e}=t;return(0,n.jsxs)("svg",{className:e,width:"20",height:"21",viewBox:"0 0 20 21",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,n.jsx)("title",{children:"Question Mark Icon"}),(0,n.jsx)("path",{d:"M8.71604 13.1055V12.9162C8.71604 12.393 8.75913 11.976 8.8453 11.6651C8.93456 11.3543 9.06382 11.105 9.23309 10.9173C9.40236 10.7264 9.60856 10.5526 9.8517 10.3956C10.0456 10.2725 10.2179 10.1478 10.3687 10.0217C10.5226 9.8924 10.6442 9.75391 10.7334 9.60618C10.8227 9.45845 10.8673 9.29072 10.8673 9.10298C10.8673 8.9214 10.8242 8.76136 10.7381 8.62287C10.6519 8.48437 10.5334 8.3782 10.3826 8.30433C10.2349 8.22739 10.0702 8.18892 9.88863 8.18892C9.70705 8.18892 9.53624 8.23047 9.3762 8.31356C9.21924 8.39666 9.08998 8.51515 8.98841 8.66903C8.88993 8.81984 8.83915 9.00296 8.83607 9.21839H6.71249C6.72172 8.57209 6.87099 8.04273 7.16029 7.63033C7.45267 7.21792 7.83891 6.91323 8.31903 6.71626C8.79914 6.51622 9.3285 6.41619 9.90709 6.41619C10.5411 6.41619 11.1043 6.51468 11.5967 6.71165C12.0922 6.90862 12.4815 7.19946 12.7647 7.58416C13.0478 7.96887 13.1894 8.43975 13.1894 8.9968C13.1894 9.36304 13.1279 9.6862 13.0047 9.96626C12.8816 10.2463 12.7093 10.4941 12.4877 10.7095C12.2692 10.9219 12.0122 11.1158 11.7168 11.2912C11.4859 11.4266 11.2936 11.5682 11.1397 11.7159C10.9889 11.8636 10.875 12.0329 10.7981 12.2237C10.7211 12.4115 10.6827 12.6423 10.6827 12.9162V13.1055H8.71604ZM9.73628 16.1339C9.4039 16.1339 9.11921 16.0169 8.88224 15.783C8.64833 15.5491 8.53292 15.266 8.536 14.9336C8.53292 14.6074 8.64833 14.3288 8.88224 14.098C9.11921 13.8641 9.4039 13.7472 9.73628 13.7472C10.0533 13.7472 10.3318 13.8641 10.5719 14.098C10.8119 14.3288 10.9335 14.6074 10.9366 14.9336C10.9335 15.1552 10.875 15.3568 10.7611 15.5384C10.6503 15.7199 10.5042 15.8646 10.3226 15.9723C10.1441 16.08 9.94864 16.1339 9.73628 16.1339Z",fill:"currentColor"}),(0,n.jsx)("ellipse",{cx:"10",cy:"10.9363",rx:"9",ry:"9.03591",stroke:"currentColor",strokeWidth:"2"})]})},a=t=>{let{className:e}=t;return(0,n.jsxs)("svg",{className:e,width:"27",height:"26",viewBox:"0 0 27 26",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,n.jsx)("title",{children:"Github Icon"}),(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.211 0.856445C6.01634 0.856445 0.200195 6.60845 0.200195 13.7245C0.200195 19.4127 3.9268 24.2276 9.09659 25.9318C9.74294 26.0599 9.9797 25.6549 9.9797 25.3142C9.9797 25.0159 9.9584 23.9934 9.9584 22.9279C6.33912 23.695 5.58544 21.394 5.58544 21.394C5.00379 19.9026 4.14199 19.5193 4.14199 19.5193C2.9574 18.7311 4.22827 18.7311 4.22827 18.7311C5.54229 18.8163 6.23179 20.0519 6.23179 20.0519C7.39481 22.0118 9.2689 21.458 10.0228 21.1171C10.1304 20.2862 10.4753 19.711 10.8415 19.3915C7.95488 19.0932 4.91777 17.9854 4.91777 13.0426C4.91777 11.6365 5.43443 10.4861 6.2531 9.59139C6.12393 9.27189 5.67146 7.95076 6.38253 6.18254C6.38253 6.18254 7.4811 5.8416 9.95813 7.50341C11.0186 7.22173 12.1123 7.07844 13.211 7.07724C14.3095 7.07724 15.4294 7.22653 16.4635 7.50341C18.9408 5.8416 20.0394 6.18254 20.0394 6.18254C20.7504 7.95076 20.2977 9.27189 20.1685 9.59139C21.0088 10.4861 21.5041 11.6365 21.5041 13.0426C21.5041 17.9854 18.467 19.0717 15.5588 19.3915C16.0329 19.7962 16.4419 20.5631 16.4419 21.7775C16.4419 23.5031 16.4206 24.8881 16.4206 25.314C16.4206 25.6549 16.6577 26.0599 17.3037 25.932C22.4735 24.2274 26.2001 19.4127 26.2001 13.7245C26.2214 6.60845 20.384 0.856445 13.211 0.856445Z",fill:"currentColor"})]})},l=t=>{let{className:e}=t;return(0,n.jsxs)("svg",{className:e,width:"27",height:"25",viewBox:"0 0 27 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,n.jsx)("title",{children:"Twitter Icon"}),(0,n.jsx)("path",{d:"M20.7915 0.860352H24.8397L15.9957 11.0671L26.4 24.9561H18.2535L11.8728 16.5325L4.57194 24.9561H0.521318L9.98092 14.0389L0 0.860352H8.35333L14.1209 8.55988L20.7915 0.860352ZM19.3708 22.5095H21.6139L7.13447 3.17849H4.72735L19.3708 22.5095Z",fill:"currentColor"})]})},u=t=>{let{className:e}=t;return(0,n.jsxs)("svg",{className:e,width:"19",height:"19",viewBox:"0 0 19 19",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,n.jsx)("title",{children:"Arrow Icon"}),(0,n.jsx)("path",{d:"M5.88809 9.20633L13.7935 9.20634M13.7935 9.20634L10.4996 5.9124M13.7935 9.20634L10.4996 12.5003M18.2258 9.20633C18.2258 13.8372 14.4717 17.5913 9.84082 17.5913C5.20991 17.5913 1.45582 13.8372 1.45582 9.20633C1.45582 4.57542 5.20991 0.821327 9.84082 0.821327C14.4717 0.821327 18.2258 4.57542 18.2258 9.20633Z",stroke:"currentColor",strokeWidth:"1.4",strokeLinecap:"round",strokeLinejoin:"round"})]})},h=t=>{let{className:e}=t;return(0,n.jsxs)("svg",{className:e,width:"30",height:"30",viewBox:"0 0 30 30",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,n.jsx)("title",{children:"Carousel Arrow Icon"}),(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15 30C23.2843 30 30 23.2843 30 15C30 6.71573 23.2843 8.00843e-08 15 1.78873e-07C6.71573 2.77662e-07 8.00843e-08 6.71573 1.78873e-07 15C2.77662e-07 23.2843 6.71573 30 15 30ZM16.0607 7.93934L13.9393 10.0607L17.3787 13.5L7.5 13.5L7.5 16.5L17.3787 16.5L13.9393 19.9393L16.0607 22.0607L23.1213 15L16.0607 7.93934Z",fill:"currentColor"})]})},c=t=>{let{className:e}=t;return(0,n.jsx)("svg",{className:e,width:"40",height:"18",viewBox:"0 0 40 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.85215 2.62886C6.40119 -0.876288 12.147 -0.876287 15.696 2.62886L19.8182 6.7001L23.9405 2.62886C27.4895 -0.876287 33.2353 -0.876287 36.7843 2.62886C40.3447 6.14519 40.3447 11.8548 36.7843 15.3711C33.2353 18.8763 27.4895 18.8763 23.9405 15.3711L19.8182 11.2999L15.696 15.3711C12.147 18.8763 6.40119 18.8763 2.85215 15.3711C-0.708204 11.8548 -0.708204 6.14519 2.85215 2.62886ZM17.4895 9L13.3963 4.95738C11.122 2.71118 7.42621 2.71117 5.15188 4.95738C2.88886 7.19242 2.88886 10.8076 5.15188 13.0426C7.42621 15.2888 11.122 15.2888 13.3963 13.0426L17.4895 9ZM22.1469 9L26.2402 13.0426C28.5145 15.2888 32.2103 15.2888 34.4846 13.0426C36.7476 10.8076 36.7476 7.19242 34.4846 4.95738C32.2103 2.71118 28.5145 2.71118 26.2402 4.95738L22.1469 9Z",fill:"#252B37"})})},d=t=>{let{className:e}=t;return(0,n.jsx)("svg",{className:e,width:"36",height:"36",viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,n.jsx)("path",{d:"M18 35C27.3888 35 35 27.3888 35 18C35 8.61116 27.3888 1 18 1M18 35C8.61116 35 1 27.3888 1 18C1 8.61116 8.61116 1 18 1M18 35C14.0468 35 10.8421 27.3888 10.8421 18C10.8421 8.61116 14.0468 1 18 1M18 35C21.9532 35 25.1579 27.3888 25.1579 18C25.1579 8.61116 21.9532 1 18 1M34.1053 
118H1.89474",stroke:"#F2F9FF",strokeWidth:"2",strokeLinecap:"square"})})},p=t=>{let{className:e}=t;return(0,n.jsx)("svg",{className:e,width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,n.jsx)("path",{d:"M12.8182 10.5455L8.64929 14.7144C7.93924 15.4244 7.93924 16.5756 8.64928 17.2856L12.8182 21.4545M19.1818 10.5455L23.3507 14.7144C24.0608 15.4244 24.0608 16.5756 23.3507 17.2856L19.1818 21.4545M4.63636 31H27.3636C29.3719 31 31 29.3719 31 27.3636V4.63636C31 2.62806 29.3719 1 27.3636 1H4.63636C2.62806 1 1 2.62806 1 4.63636V27.3636C1 29.3719 2.62806 31 4.63636 31Z",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})},f=t=>{let{className:e}=t;return(0,n.jsx)("svg",{className:e,width:"32",height:"36",viewBox:"0 0 32 36",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,n.jsx)("path",{d:"M11.6362 17.3677L14.3635 20.0195L20.7272 13.8318M30.7271 17.6547V8.02194C30.7271 7.26705 30.2342 6.59545 29.5 6.35005L16.7727 2.09602C16.3897 1.96799 15.9737 1.96799 15.5906 2.09602L2.86336 6.35005C2.12917 6.59545 1.63623 7.26705 1.63623 8.02194V17.6547C1.63623 26.4455 8.90896 30.185 16.1817 34C23.4544 30.185 30.7271 26.4455 30.7271 17.6547Z",stroke:"#252B37",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"})})}},1453:function(t,e,i){"use strict";i.r(e),i.d(e,{default:function(){return M}});var n=i(5893);i(9166);var r=i(7294),s=t=>{(0,r.useEffect)(()=>{let e=t=>{};return t.events.on("routeChangeComplete",e),()=>{t.events.off("routeChangeComplete",e)}},[t])},o=i(3967),a=i.n(o),l=i(1664),u=i.n(l);let h=(t,e,i)=>{let n=e-t;return((i-t)%n+n)%n+t};var c=i(6720),d=i(5374);let p=1e3/60,f=i.g.requestAnimationFrame||i.g.webkitRequestAnimationFrame||i.g.mozRequestAnimationFrame||i.g.oRequestAnimationFrame||i.g.msRequestAnimationFrame||(t=>{setTimeout(t,p)});var m=t=>{let e=!1,i=()=>{t(),e=!1};return()=>{e||(e=!0,f(i))}};let g=function(){this.isListening=!1,this.listeners=[],this.onScroll=this.onScroll.bind(this),this.onScroll=m(this.onScroll),this.manageWindowEventListener()};g.prototype.destroy=function(){this.isListening=!1,this.listeners=[],i.g.removeEventListener("scroll",this.onScroll),i.g.removeEventListener("resize",this.onScroll)},g.prototype.listen=function(t){this.listeners.indexOf(t)>-1||(this.listeners.push(t),this.manageWindowEventListener())},g.prototype.unlisten=function(t){let e=this.listeners.indexOf(t);e>-1&&this.listeners.splice(e,1),this.manageWindowEventListener()},g.prototype.onScroll=function(){let t={x:i.g.pageXOffset,y:i.g.pageYOffset,height:i.g.innerHeight,width:i.g.innerWidth};for(let e=0;e<this.listeners.length;e++){let i=this.listeners[e];i&&this.listeners.indexOf(i)>-1&&i(t)}},g.prototype.manageWindowEventListener=function(){this.listeners.length&&!this.isListening?(i.g.addEventListener("scroll",this.onScroll),i.g.addEventListener("resize",this.onScroll),this.isListening=!0):!this.listeners.length&&this.isListening&&(i.g.removeEventListener("scroll",this.onScroll),i.g.removeEventListener("resize",this.onScroll),this.isListening=!1)};var v=new g,y=()=>i.g.scrollY||i.g.pageYOffset||document.body.scrollTop+(document.documentElement&&document.documentElement.scrollTop||0),x=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,[e,i]=(0,r.useState)(!1);return(0,r.useEffect)(()=>{let n=()=>{let n=y();n>=t&&!e?i(!0):n<t&&e&&i(!1)};return v.listen(n),()=>{v.unlisten(n)}},[t,e]),e};let b=t=>(0,n.jsx)(c.E.span,{className:"w-[16px] h-[2px] bg-black  block my-[3px]",...t}),C=t=>{let{isScrolled:e,toggle:i,isOpen:r}=t;return(0,n.jsx)("button",{onClick:i,className:a()(" absolute right-3 top-[14px] rounded-full h-[40px] w-[40px] inline-flex flex-row justify-center items-center",{"shadow-menu":!e,"bg-black":r,"bg-white":!r}),"aria-label":"toggle mobile menu",children:(0,n.jsxs)("div",{children:[(0,n.jsx)(b,{variants:{open:{rotate:45,y:5,backgroundColor:"white"}}}),(0,n.jsx)(b,{variants:{closed:{opacity:1},open:{opacity:0}},transition:{duration:.1}}),(0,n.jsx)(b,{variants:{open:{rotate:-45,y:-5,backgroundColor:"white"}}})]})})},w={open:{y:0,opacity:1,transition:{y:{stiffness:1e3,velocity:-100}}},closed:{y:2,opacity:0,transition:{y:{stiffness:1e3}}}},P=t=>{let{slug:e,onClick:i,url:r,title:s,useNative:o}=t;return(0,n.jsx)(c.E.li,{variants:w,className:"block w-full pl-0 ml-0 pb-2",children:o?(0,n.jsxs)("a",{onClick:i,href:e||r||"/",target:r?"_blank":"_self",className:"text-black text-sans-34 font-500 -tracking-[1.36px]",children:[s,r&&(0,n.jsx)(d.P9,{className:"w-5 h-5 inline-block ml-2 transform -rotate-45"})]}):(0,n.jsxs)(u(),{onClick:i,href:e||r||"/",target:r?"_blank":"_self",className:"text-black text-sans-34 font-500 -tracking-[1.36px]",children:[s,r&&(0,n.jsx)(d.P9,{className:"w-5 h-5 inline-block ml-2 transform -rotate-45"})]})})}
1,T={open:{height:300,opacity:1,transition:{staggerChildren:.07,delayChildren:.1}},closed:{opacity:0,height:0,transition:{staggerChildren:.05,staggerDirection:-1}}},A=t=>{let{isOpen:e,toggle:i}=t;return(0,n.jsx)(c.E.ul,{variants:T,className:a()("w-full ml-0",{"user-select-none pointer-events-none":!e}),children:(0,n.jsxs)("div",{className:"py-8",children:[k.map((t,e)=>(0,n.jsx)(P,{onClick:i,...t},e)),(0,n.jsxs)("ul",{className:"flex justify-start mt-8",children:[(0,n.jsx)(c.E.li,{variants:w,className:"block text-black pl-0 ml-0",children:(0,n.jsx)("a",{target:"_blank",onClick:i,href:"https://bsky.app/profile/bsky.app",className:"block text-black text-18",children:(0,n.jsx)(d.TR,{className:"w-7 h-7"})})}),(0,n.jsx)(c.E.li,{variants:w,className:"block text-black pl-0 ml-0",children:(0,n.jsx)("a",{target:"_blank",onClick:i,href:"https://github.com/bluesky-social",children:(0,n.jsx)(d.Ey,{className:"w-7 h-7 mx-3 "})})}),(0,n.jsx)(c.E.li,{variants:w,className:"block text-black pl-0 ml-0",children:(0,n.jsx)("a",{target:"_blank",onClick:i,href:"https://twitter.com/bluesky",children:(0,n.jsx)(d.tL,{className:"w-7 h-7 "})})})]})]})})},S=t=>{let{menuToggle:e,isMenuOpen:i,isScrolled:s}=t,o=(0,r.useRef)(null);return(0,n.jsxs)(c.E.nav,{className:"800:hidden col-span-8",initial:!1,animate:i?"open":"closed",ref:o,children:[(0,n.jsx)(C,{isOpen:i,isScrolled:s,toggle:()=>e()}),(0,n.jsx)(A,{isOpen:i,toggle:e})]})},j=()=>{let[t,e]=function(...t){let e=(0,r.useRef)(0),[i,n]=(0,r.useState)(t[e.current]);return[i,(0,r.useCallback)(i=>{e.current="number"!=typeof i?h(0,t.length,e.current+1):i,n(t[e.current])},[t.length,...t])]}(!1,!0),i=x(10);return(0,n.jsxs)(c.E.div,{initial:{opacity:0,y:-100},animate:{opacity:1,y:0},transition:{duration:.3},className:a()("grid grid-cols-8 fixed border-b  z-20 duration-300 w-full p-4 py-5 800:grid-cols-12 800:px-8",{"bg-white border-primary-blue text-primary-blue":i||t,"text-primary-blue":t,"800:py-8 text-white border-transparent":!i&&!t}),children:[(0,n.jsx)("div",{className:"col-span-3 800:col-span-4 1200:col-span-5 flex items-center",children:(0,n.jsxs)(u(),{href:"/",className:"flex items-center  800:hover:text-dark-blue duration-300",children:[(0,n.jsx)("div",{className:"1200:hidden",children:(0,n.jsx)(d.TR,{className:"w-[32px] h-auto mr-3"})}),(0,n.jsx)(d.Rv,{className:"h-auto w-[90px] 800:w-[116px] relative top-[3px]"})]})}),(0,n.jsx)("div",{className:"hidden 1200:inline-flex col-span-2 items-center justify-center",children:(0,n.jsx)(u(),{href:"/",className:"inline-block hover:text-dark-blue duration-300",children:(0,n.jsx)(d.TR,{className:"w-[40px] h-auto"})})}),(0,n.jsx)("div",{className:"col-span-5 800:col-span-8 1200:col-span-5 text-right",children:(0,n.jsx)("nav",{className:"hidden 800:block",children:(0,n.jsxs)("div",{className:a()(" inline-flex items-center text-dark-blue px-4 800:pl-2 rounded-[20px] text-16 -tracking-[0.48px]",{"bg-white shadow-menu":!i}),children:[E.map((t,e)=>t.useNative?(0,n.jsx)("a",{href:t.slug?t.slug:t.url?t.url:"/",target:t.url?"_blank":"_self",className:"pt-2 py-[7px] px-4 font-500 hover:text-primary-blue transition-all duration-300",children:t.title},e):(0,n.jsx)(u(),{href:t.slug?t.slug:t.url?t.url:"/",target:t.url?"_blank":"_self",className:"pt-2 py-[7px] px-4 font-500 hover:text-primary-blue transition-all duration-300",children:t.title},e)),(0,n.jsx)("a",{href:"https://github.com/bluesky-social",target:"_blank",className:"hover:text-primary-blue ml-2 transition-all duration-300",children:(0,n.jsx)(d.Ey,{className:"w-5 h-5"})})]})})}),(0,n.jsx)(S,{menuToggle:e,isScrolled:i,isMenuOpen:t})]})},E=[{title:"Company",slug:"/faq"},{title:"Blog",slug:"/blog"},{title:"AT Protocol",url:"https://atproto.com/"},{title:"App",url:"https://bsky.app"}],k=[{title:"Company",slug:"/faq"},{title:"Blog",slug:"/blog"},{title:"AT Protocol",url:"https://atproto.com/"},{title:"App",url:"https://bsky.app"}];function M(t){let{Component:e,pageProps:i,router:r}=t;return s(r),(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(j,{}),(0,n.jsx)(e,{...i})]})}},9166:function(){},1664:function(t,e,i){t.exports=i(3480)},3967:function(t,e){var i;/*!
2	Copyright (c) 2018 Jed Watson.
3	Licensed under the MIT License (MIT), see
4	http://jedwatson.github.io/classnames
5*/!function(){"use strict";var n={}.hasOwnProperty;function r(){for(var t="",e=0;e<arguments.length;e++){var i=arguments[e];i&&(t=s(t,function(t){if("string"==typeof t||"number"==typeof t)return t;if("object"!=typeof t)return"";if(Array.isArray(t))return r.apply(null,t);if(t.toString!==Object.prototype.toString&&!t.toString.toString().includes("[native code]"))return t.toString();var e="";for(var i in t)n.call(t,i)&&t[i]&&(e=s(e,i));return e}(i)))}return t}function s(t,e){return e?t?t+" "+e:t+e:t}t.exports?(r.default=r,t.exports=r):void 0!==(i=(function(){return r}).apply(e,[]))&&(t.exports=i)}()}
5,5364:function(t,e,i){"use strict";i.d(e,{p:function(){return n}});let n=(0,i(7294).createContext)({})},240:function(t,e,i){"use strict";i.d(e,{O:function(){return n}});let n=(0,i(7294).createContext)(null)},9727:function(t,e,i){"use strict";i.d(e,{Z:function(){return o}});var n=i(2081);class r{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"];function o(t,e){let i=!1,o=!0,a={delta:0,timestamp:0,isProcessing:!1},l=s.reduce((t,e)=>(t[e]=function(t){let e=new r,i=new r,n=0,s=!1,o=!1,a=new WeakSet,l={schedule:(t,r=!1,o=!1)=>{let l=o&&s,u=l?e:i;return r&&a.add(t),u.add(t)&&l&&s&&(n=e.order.length),t},cancel:t=>{i.remove(t),a.delete(t)},process:r=>{if(s){o=!0;return}if(s=!0,[e,i]=[i,e],i.clear(),n=e.order.length)for(let i=0;i<n;i++){let n=e.order[i];a.has(n)&&(l.schedule(n),t()),n(r)}s=!1,o&&(o=!1,l.process(r))}};return l}(()=>i=!0),t),{}),u=t=>{l[t].process(a)},h=()=>{let r=n.c.useManualTiming?a.timestamp:performance.now();i=!1,a.delta=o?1e3/60:Math.max(Math.min(r-a.timestamp,40),1),a.timestamp=r,a.isProcessing=!0,s.forEach(u),a.isProcessing=!1,i&&e&&(o=!1,t(h))},c=()=>{i=!0,o=!0,a.isProcessing||t(h)};return{schedule:s.reduce((t,e)=>{let n=l[e];return t[e]=(t,e=!1,r=!1)=>(i||c(),n.schedule(t,e,r)),t},{}),cancel:t=>s.forEach(e=>l[e].cancel(t)),state:a,steps:l}}},5368:function(t,e,i){"use strict";i.d(e,{Pn:function(){return s},S6:function(){return a},Wi:function(){return r},frameData:function(){return o}});var n=i(1662);let{schedule:r,cancel:s,state:o,steps:a}=(0,i(9727).Z)("undefined"!=typeof requestAnimationFrame?requestAnimationFrame:n.Z,!0)},6720:function(t,e,i){"use strict";let n,r;i.d(e,{E:function(){return rG}});var s,o,a=i(7294);let l=(0,a.createContext)({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"}),u=(0,a.createContext)({});var h=i(240),c=i(8868);let d=(0,a.createContext)({strict:!1}),p=t=>t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),f="data-"+p("framerAppearId"),{schedule:m,cancel:g}=(0,i(9727).Z)(queueMicrotask,!1);function v(t){return t&&"object"==typeof t&&Object.prototype.hasOwnProperty.call(t,"current")}function y(t){return"string"==typeof t||Array.isArray(t)}function x(t){return null!==t&&"object"==typeof t&&"function"==typeof t.start}let b=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],C=["initial",...b];function w(t){return x(t.animate)||C.some(e=>y(t[e]))}function P(t){return!!(w(t)||t.variants)}function T(t){return Array.isArray(t)?t.join(" "):t}let A={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"]},S={};for(let t in A)S[t]={isEnabled:e=>A[t].some(t=>!!e[t])};var j=i(1741),E=i(5364);let k=(0,a.createContext)({}),M=Symbol.for("motionComponentSymbol"),V=["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 L(t){if("string"!=typeof t||t.includes("-"));else if(V.indexOf(t)>-1||/[A-Z]/.test(t))return!0;return!1}let R={},D=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],F=new Set(D);function O(t,{layout:e,layoutId:i}){return F.has(t)||t.startsWith("origin")||(e||void 0!==i)&&(!!R[t]||"opacity"===t)}let B=t=>!!(t&&t.getVelocity),N={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},I=D.length,W=t=>e=>"string"==typeof e&&e.startsWith(t),U=W("--"),H=W("var(--"),_=(t,e)=>e&&"number"==typeof t?e.transform(t):t,Z=(t,e,i)=>Math.min(Math.max(i,t),e),$={test:t=>"number"==typeof t,parse:parseFloat,transform:t=>t},z={...$,transform:t=>Z(0,1,t)},Y={...$,default:1},q=t=>
5Math.round(1e5*t)/1e5,X=/(-)?([\d]*\.?[\d])+/g,G=/(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,K=/^(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function J(t){return"string"==typeof t}let Q=t=>({test:e=>J(e)&&e.endsWith(t)&&1===e.split(" ").length,parse:parseFloat,transform:e=>`${e}${t}`}),tt=Q("deg"),te=Q("%"),ti=Q("px"),tn=Q("vh"),tr=Q("vw"),ts={...te,parse:t=>te.parse(t)/100,transform:t=>te.transform(100*t)},to={...$,transform:Math.round},ta={borderWidth:ti,borderTopWidth:ti,borderRightWidth:ti,borderBottomWidth:ti,borderLeftWidth:ti,borderRadius:ti,radius:ti,borderTopLeftRadius:ti,borderTopRightRadius:ti,borderBottomRightRadius:ti,borderBottomLeftRadius:ti,width:ti,maxWidth:ti,height:ti,maxHeight:ti,size:ti,top:ti,right:ti,bottom:ti,left:ti,padding:ti,paddingTop:ti,paddingRight:ti,paddingBottom:ti,paddingLeft:ti,margin:ti,marginTop:ti,marginRight:ti,marginBottom:ti,marginLeft:ti,rotate:tt,rotateX:tt,rotateY:tt,rotateZ:tt,scale:Y,scaleX:Y,scaleY:Y,scaleZ:Y,skew:tt,skewX:tt,skewY:tt,distance:ti,translateX:ti,translateY:ti,translateZ:ti,x:ti,y:ti,z:ti,perspective:ti,transformPerspective:ti,opacity:z,originX:ts,originY:ts,originZ:ti,zIndex:to,fillOpacity:z,strokeOpacity:z,numOctaves:to};function tl(t,e,i,n){let{style:r,vars:s,transform:o,transformOrigin:a}=t,l=!1,u=!1,h=!0;for(let t in e){let i=e[t];if(U(t)){s[t]=i;continue}let n=ta[t],c=_(i,n);if(F.has(t)){if(l=!0,o[t]=c,!h)continue;i!==(n.default||0)&&(h=!1)}else t.startsWith("origin")?(u=!0,a[t]=c):r[t]=c}if(!e.transform&&(l||n?r.transform=function(t,{enableHardwareAcceleration:e=!0,allowTransformNone:i=!0},n,r){let s="";for(let e=0;e<I;e++){let i=D[e];if(void 0!==t[i]){let e=N[i]||i;s+=`${e}(${t[i]}) `}}return e&&!t.z&&(s+="translateZ(0)"),s=s.trim(),r?s=r(t,n?"":s):i&&n&&(s="none"),s}(t.transform,i,h,n):r.transform&&(r.transform="none")),u){let{originX:t="50%",originY:e="50%",originZ:i=0}=a;r.transformOrigin=`${t} ${e} ${i}`}}let tu=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function th(t,e,i){for(let n in e)B(e[n])||O(n,i)||(t[n]=e[n])}let tc=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function td(t){return t.startsWith("while")||t.startsWith("drag")&&"draggable"!==t||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||tc.has(t)}let tp=t=>!td(t);try{(s=require("@emotion/is-prop-valid").default)&&(tp=t=>t.startsWith("on")?!td(t):s(t))}catch(t){}function tf(t,e,i){return"string"==typeof t?t:ti.transform(e+i*t)}let tm={offset:"stroke-dashoffset",array:"stroke-dasharray"},tg={offset:"strokeDashoffset",array:"strokeDasharray"};function tv(t,{attrX:e,attrY:i,attrScale:n,originX:r,originY:s,pathLength:o,pathSpacing:a=1,pathOffset:l=0,...u},h,c,d){if(tl(t,u,h,d),c){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!==r||void 0!==s||f.transform)&&(f.transformOrigin=function(t,e,i){let n=tf(e,t.x,t.width),r=tf(i,t.y,t.height);return`${n} ${r}`}(m,void 0!==r?r:.5,void 0!==s?s:.5)),void 0!==e&&(p.x=e),void 0!==i&&(p.y=i),void 0!==n&&(p.scale=n),void 0!==o&&function(t,e,i=1,n=0,r=!0){t.pathLength=1;let s=r?tm:tg;t[s.offset]=ti.transform(-n);let o=ti.transform(e),a=ti.transform(i);t[s.array]=`${o} ${a}`}(p,o,a,l,!1)}let ty=()=>({...tu(),attrs:{}}),tx=t=>"string"==typeof t&&"svg"===t.toLowerCase();function tb(t,{style:e,vars:i},n,r){for(let s in Object.assign(t.style,e,r&&r.getProjectionStyles(n)),i)t.style.setProperty(s,i[s])}let tC=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function tw(t,e,i,n){for(let i in tb(t,e,void 0,n),e.attrs)t.setAttribute(tC.has(i)?i:p(i),e.attrs[i])}function tP(t,e){let{style:i}=t,n={};for(let r in i)(B(i[r])||e.style&&B(e.style[r])||O(r,t))&&(n[r]=i[r]);return n}function tT(t,e){let i=tP(t,e);for(let n in t)(B(t[n])||B(e[n]))&&(i[-1!==D.indexOf(n)?"attr"+n.charAt(0).toUpperCase()+n.substring(1):n]=t[n]);return i}function tA(t,e,i,n={},r={}){return"function"==typeof e&&(e=e(void 0!==i?i:t.custom,n,r)),"string"==typeof e&&(e=t.variants&&t.variants[e]),"function"==typeof e&&(e=e(void 0!==i?i:t.custom,n,r)),e}var tS=i(6681);let tj=t=>Array.isArray(t),tE=t=>!!(t&&"object"==typeof t&&t.mix&&t.toValue),tk=t=>tj(t)?t[t.length-1]||0:t;function tM(t){let e=B(t)?t.get():t;return tE(e)?e.toValue():e}let tV=t=>(e,i)=>{let n=(0,a.useContext)(u),r=(0,a.useContext)(h.O),s=()=>(function({scrapeMotionValuesFromProps:t,createRenderState:e,onMount:i}
5,n,r,s){let o={latestValues:function(t,e,i,n){let r={},s=n(t,{});for(let t in s)r[t]=tM(s[t]);let{initial:o,animate:a}=t,l=w(t),u=P(t);e&&u&&!l&&!1!==t.inherit&&(void 0===o&&(o=e.initial),void 0===a&&(a=e.animate));let h=!!i&&!1===i.initial,c=(h=h||!1===o)?a:o;return c&&"boolean"!=typeof c&&!x(c)&&(Array.isArray(c)?c:[c]).forEach(e=>{let i=tA(t,e);if(!i)return;let{transitionEnd:n,transition:s,...o}=i;for(let t in o){let e=o[t];if(Array.isArray(e)){let t=h?e.length-1:0;e=e[t]}null!==e&&(r[t]=e)}for(let t in n)r[t]=n[t]}),r}(n,r,s,t),renderState:e()};return i&&(o.mount=t=>i(n,t,o)),o})(t,e,n,r);return i?s():(0,tS.h)(s)};var tL=i(5368);let tR={useVisualState:tV({scrapeMotionValuesFromProps:tT,createRenderState:ty,onMount:(t,e,{renderState:i,latestValues:n})=>{tL.Wi.read(()=>{try{i.dimensions="function"==typeof e.getBBox?e.getBBox():e.getBoundingClientRect()}catch(t){i.dimensions={x:0,y:0,width:0,height:0}}}),tL.Wi.render(()=>{tv(i,n,{enableHardwareAcceleration:!1},tx(e.tagName),t.transformTemplate),tw(e,i)})}})},tD={useVisualState:tV({scrapeMotionValuesFromProps:tP,createRenderState:tu})};function tF(t,e,i,n={passive:!0}){return t.addEventListener(e,i,n),()=>t.removeEventListener(e,i)}let tO=t=>"mouse"===t.pointerType?"number"!=typeof t.button||t.button<=0:!1!==t.isPrimary;function tB(t,e="page"){return{point:{x:t[e+"X"],y:t[e+"Y"]}}}let tN=t=>e=>tO(e)&&t(e,tB(e));function tI(t,e,i,n){return tF(t,e,tN(i),n)}let tW=(t,e)=>i=>e(t(i)),tU=(...t)=>t.reduce(tW);function tH(t){let e=null;return()=>null===e&&(e=t,()=>{e=null})}let t_=tH("dragHorizontal"),tZ=tH("dragVertical");function t$(t){let e=!1;if("y"===t)e=tZ();else if("x"===t)e=t_();else{let t=t_(),i=tZ();t&&i?e=()=>{t(),i()}:(t&&t(),i&&i())}return e}function tz(){let t=t$(!0);return!t||(t(),!1)}class tY{constructor(t){this.isMounted=!1,this.node=t}update(){}}function tq(t,e){let i="onHover"+(e?"Start":"End");return tI(t.current,"pointer"+(e?"enter":"leave"),(n,r)=>{if("touch"===n.pointerType||tz())return;let s=t.getProps();t.animationState&&s.whileHover&&t.animationState.setActive("whileHover",e),s[i]&&tL.Wi.update(()=>s[i](n,r))},{passive:!t.getProps()[i]})}class tX extends tY{mount(){this.unmount=tU(tq(this.node,!0),tq(this.node,!1))}unmount(){}}class tG extends tY{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=tU(tF(this.node.current,"focus",()=>this.onFocus()),tF(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}let tK=(t,e)=>!!e&&(t===e||tK(t,e.parentElement));var tJ=i(1662);function tQ(t,e){if(!e)return;let i=new PointerEvent("pointer"+t);e(i,tB(i))}class t0 extends tY{constructor(){super(...arguments),this.removeStartListeners=tJ.Z,this.removeEndListeners=tJ.Z,this.removeAccessibleListeners=tJ.Z,this.startPointerPress=(t,e)=>{if(this.isPressing)return;this.removeEndListeners();let i=this.node.getProps(),n=tI(window,"pointerup",(t,e)=>{if(!this.checkPressEnd())return;let{onTap:i,onTapCancel:n,globalTapTarget:r}=this.node.getProps();tL.Wi.update(()=>{r||tK(this.node.current,t.target)?i&&i(t,e):n&&n(t,e)})},{passive:!(i.onTap||i.onPointerUp)}),r=tI(window,"pointercancel",(t,e)=>this.cancelPress(t,e),{passive:!(i.onTapCancel||i.onPointerCancel)});this.removeEndListeners=tU(n,r),this.startPress(t,e)},this.startAccessiblePress=()=>{let t=tF(this.node.current,"keydown",t=>{"Enter"!==t.key||this.isPressing||(this.removeEndListeners(),this.removeEndListeners=tF(this.node.current,"keyup",t=>{"Enter"===t.key&&this.checkPressEnd()&&tQ("up",(t,e)=>{let{onTap:i}=this.node.getProps();i&&tL.Wi.update(()=>i(t,e))})}),tQ("down",(t,e)=>{this.startPress(t,e)}))}),e=tF(this.node.current,"blur",()=>{this.isPressing&&tQ("cancel",(t,e)=>this.cancelPress(t,e))});this.removeAccessibleListeners=tU(t,e)}}startPress(t,e){this.isPressing=!0;let{onTapStart:i,whileTap:n}=this.node.getProps();n&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),i&&tL.Wi.update(()=>i(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:i}=this.node.getProps();i&&tL.Wi.update(()=>i(t,e))}mount(){let t=this.node.getProps(),e=tI(t.globalTapTarget?window:this.node.current,"pointerdown",this.startPointerPress,{passive:!(t.onTapStart||t.onPointerStart)}),i=tF(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=tU(e,i)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}let t1=new WeakMap,t2=new WeakMap,t3=t=>{let e=t1.get(t.target);e&&e(t)}
5,t6=t=>{t.forEach(t3)},t8={some:0,all:1};class t9 extends tY{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();let{viewport:t={}}=this.node.getProps(),{root:e,margin:i,amount:n="some",once:r}=t,s={root:e?e.current:void 0,rootMargin:i,threshold:"number"==typeof n?n:t8[n]};return function(t,e,i){let n=function({root:t,...e}){let i=t||document;t2.has(i)||t2.set(i,{});let n=t2.get(i),r=JSON.stringify(e);return n[r]||(n[r]=new IntersectionObserver(t6,{root:t,...e})),n[r]}(e);return t1.set(t,i),n.observe(t),()=>{t1.delete(t),n.unobserve(t)}}(this.node.current,s,t=>{let{isIntersecting:e}=t;if(this.isInView===e||(this.isInView=e,r&&!e&&this.hasEnteredView))return;e&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",e);let{onViewportEnter:i,onViewportLeave:n}=this.node.getProps(),s=e?i:n;s&&s(t)})}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;let{props:t,prevProps:e}=this.node;["amount","margin","root"].some(function({viewport:t={}},{viewport:e={}}={}){return i=>t[i]!==e[i]}(t,e))&&this.startObserver()}unmount(){}}function t5(t,e){if(!Array.isArray(e))return!1;let i=e.length;if(i!==t.length)return!1;for(let n=0;n<i;n++)if(e[n]!==t[n])return!1;return!0}function t7(t,e,i){let n=t.getProps();return tA(n,e,void 0!==i?i:n.custom,function(t){let e={};return t.values.forEach((t,i)=>e[i]=t.get()),e}(t),function(t){let e={};return t.values.forEach((t,i)=>e[i]=t.getVelocity()),e}(t))}var t4=i(5487);let et=t=>1e3*t,ee=t=>t/1e3,ei={current:!1},en=t=>Array.isArray(t)&&"number"==typeof t[0],er=([t,e,i,n])=>`cubic-bezier(${t}, ${e}, ${i}, ${n})`,es={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:er([0,.65,.55,1]),circOut:er([.55,0,1,.45]),backIn:er([.31,.01,.66,-.59]),backOut:er([.33,1.53,.69,.99])},eo=(t,e,i)=>(((1-3*i+3*e)*t+(3*i-6*e))*t+3*e)*t;function ea(t,e,i,n){if(t===e&&i===n)return tJ.Z;let r=e=>(function(t,e,i,n,r){let s,o;let a=0;do(s=eo(o=e+(i-e)/2,n,r)-t)>0?i=o:e=o;while(Math.abs(s)>1e-7&&++a<12);return o})(e,0,1,t,i);return t=>0===t||1===t?t:eo(r(t),e,n)}let el=ea(.42,0,1,1),eu=ea(0,0,.58,1),eh=ea(.42,0,.58,1),ec=t=>Array.isArray(t)&&"number"!=typeof t[0],ed=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2,ep=t=>e=>1-t(1-e),ef=t=>1-Math.sin(Math.acos(t)),em=ep(ef),eg=ed(ef),ev=ea(.33,1.53,.69,.99),ey=ep(ev),ex=ed(ey),eb={linear:tJ.Z,easeIn:el,easeInOut:eh,easeOut:eu,circIn:ef,circInOut:eg,circOut:em,backIn:ey,backInOut:ex,backOut:ev,anticipate:t=>(t*=2)<1?.5*ey(t):.5*(2-Math.pow(2,-10*(t-1)))},eC=t=>{if(Array.isArray(t)){(0,t4.k)(4===t.length,"Cubic bezier arrays must contain four numerical values.");let[e,i,n,r]=t;return ea(e,i,n,r)}return"string"==typeof t?((0,t4.k)(void 0!==eb[t],`Invalid easing type '${t}'`),eb[t]):t},ew=(t,e)=>i=>!!(J(i)&&K.test(i)&&i.startsWith(t)||e&&Object.prototype.hasOwnProperty.call(i,e)),eP=(t,e,i)=>n=>{if(!J(n))return n;let[r,s,o,a]=n.match(X);return{[t]:parseFloat(r),[e]:parseFloat(s),[i]:parseFloat(o),alpha:void 0!==a?parseFloat(a):1}},eT=t=>Z(0,255,t),eA={...$,transform:t=>Math.round(eT(t))},eS={test:ew("rgb","red"),parse:eP("red","green","blue"),transform:({red:t,green:e,blue:i,alpha:n=1})=>"rgba("+eA.transform(t)+", "+eA.transform(e)+", "+eA.transform(i)+", "+q(z.transform(n))+")"},ej={test:ew("#"),parse:function(t){let e="",i="",n="",r="";return t.length>5?(e=t.substring(1,3),i=t.substring(3,5),n=t.substring(5,7),r=t.substring(7,9)):(e=t.substring(1,2),i=t.substring(2,3),n=t.substring(3,4),r=t.substring(4,5),e+=e,i+=i,n+=n,r+=r),{red:parseInt(e,16),green:parseInt(i,16),blue:parseInt(n,16),alpha:r?parseInt(r,16)/255:1}},transform:eS.transform},eE={test:ew("hsl","hue"),parse:eP("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:i,alpha:n=1})=>"hsla("+Math.round(t)+", "+te.transform(q(e))+", "+te.transform(q(i))+", "+q(z.transform(n))+")"},ek={test:t=>eS.test(t)||ej.test(t)||eE.test(t),parse:t=>eS.test(t)?eS.parse(t):eE.test(t)?eE.parse(t):ej.parse(t),transform:t=>J(t)?t:t.hasOwnProperty("red")?eS.transform(t):eE.transform(t)},eM=(t,e,i)=>-i*t+i*e+t;function eV(t,e,i){return(i<0&&(i+=1),i>1&&(i-=1),i<1/6)?t+(e-t)*6*i:i<.5?e:i<2/3?t+(e-t)*(2/3-i)*6:t}let eL=(t,e,i)=>{let n=t*t;return Math.sqrt(Math.max(0,i*(e*e-n)+n))},eR=[ej,eS,eE],eD=t=>eR.find(e=>e.test(t));function eF(t){let e=eD(t);(0,t4.k)(!!e,`'${t}' is not an animatable color. Use the equivalent color code instead.`);let i=e.parse(t);return e===eE&&(i=function({hue:t,saturation:e,lightness:i,alpha:n}){t/=360,i/=100;let r=0,s=0,o=0;if(e/=100){let n=i<.5?i*(1+e):i+e-i*e,a=2*i-n;r=eV(a,n,t+1/3),s=eV(a,n,t),o=eV(a,n,t-1/3)}else r=s=o=i;return{red:Math.round(255*r),green:Math.round(255*s),blue:Math.round(255*o),alpha:n}}(i)),i}let eO=(t,e)=>{let i=eF(t),n=eF(e),r={...i};return t=>(r.red=eL(i.red,n.red,t),r.green=eL(i.green,n.green,t),r.blue=eL(i.blue,n.blue,t),r.alpha=eM(i.alpha,n.alpha,t),eS.transform(r))}
5,eB={regex:/var\s*\(\s*--[\w-]+(\s*,\s*(?:(?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)+)?\s*\)/g,countKey:"Vars",token:"${v}",parse:tJ.Z},eN={regex:G,countKey:"Colors",token:"${c}",parse:ek.parse},eI={regex:X,countKey:"Numbers",token:"${n}",parse:$.parse};function eW(t,{regex:e,countKey:i,token:n,parse:r}){let s=t.tokenised.match(e);s&&(t["num"+i]=s.length,t.tokenised=t.tokenised.replace(e,n),t.values.push(...s.map(r)))}function eU(t){let e=t.toString(),i={value:e,tokenised:e,values:[],numVars:0,numColors:0,numNumbers:0};return i.value.includes("var(--")&&eW(i,eB),eW(i,eN),eW(i,eI),i}function eH(t){return eU(t).values}function e_(t){let{values:e,numColors:i,numVars:n,tokenised:r}=eU(t),s=e.length;return t=>{let e=r;for(let r=0;r<s;r++)e=r<n?e.replace(eB.token,t[r]):r<n+i?e.replace(eN.token,ek.transform(t[r])):e.replace(eI.token,q(t[r]));return e}}let eZ=t=>"number"==typeof t?0:t,e$={test:function(t){var e,i;return isNaN(t)&&J(t)&&((null===(e=t.match(X))||void 0===e?void 0:e.length)||0)+((null===(i=t.match(G))||void 0===i?void 0:i.length)||0)>0},parse:eH,createTransformer:e_,getAnimatableNone:function(t){let e=eH(t);return e_(t)(e.map(eZ))}},ez=(t,e)=>i=>`${i>0?e:t}`;function eY(t,e){return"number"==typeof t?i=>eM(t,e,i):ek.test(t)?eO(t,e):t.startsWith("var(")?ez(t,e):eG(t,e)}let eq=(t,e)=>{let i=[...t],n=i.length,r=t.map((t,i)=>eY(t,e[i]));return t=>{for(let e=0;e<n;e++)i[e]=r[e](t);return i}},eX=(t,e)=>{let i={...t,...e},n={};for(let r in i)void 0!==t[r]&&void 0!==e[r]&&(n[r]=eY(t[r],e[r]));return t=>{for(let e in n)i[e]=n[e](t);return i}},eG=(t,e)=>{let i=e$.createTransformer(e),n=eU(t),r=eU(e);return n.numVars===r.numVars&&n.numColors===r.numColors&&n.numNumbers>=r.numNumbers?tU(eq(n.values,r.values),i):((0,t4.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))},eK=(t,e,i)=>{let n=e-t;return 0===n?1:(i-t)/n},eJ=(t,e)=>i=>eM(t,e,i);function eQ(t,e,{clamp:i=!0,ease:n,mixer:r}={}){let s=t.length;if((0,t4.k)(s===e.length,"Both input and output ranges must be the same length"),1===s)return()=>e[0];t[0]>t[s-1]&&(t=[...t].reverse(),e=[...e].reverse());let o=function(t,e,i){let n=[],r=i||function(t){if("number"==typeof t);else if("string"==typeof t)return ek.test(t)?eO:eG;else if(Array.isArray(t))return eq;else if("object"==typeof t)return eX;return eJ}(t[0]),s=t.length-1;for(let i=0;i<s;i++){let s=r(t[i],t[i+1]);e&&(s=tU(Array.isArray(e)?e[i]||tJ.Z:e,s)),n.push(s)}return n}(e,n,r),a=o.length,l=e=>{let i=0;if(a>1)for(;i<t.length-2&&!(e<t[i+1]);i++);let n=eK(t[i],t[i+1],e);return o[i](n)};return i?e=>l(Z(t[0],t[s-1],e)):l}function e0({duration:t=300,keyframes:e,times:i,ease:n="easeInOut"}){let r=ec(n)?n.map(eC):eC(n),s={done:!1,value:e[0]},o=eQ((i&&i.length===e.length?i:function(t){let e=[0];return function(t,e){let i=t[t.length-1];for(let n=1;n<=e;n++){let r=eK(0,e,n);t.push(eM(i,1,r))}}(e,t.length-1),e}(e)).map(e=>e*t),e,{ease:Array.isArray(r)?r:e.map(()=>r||eh).splice(0,e.length-1)});return{calculatedDuration:t,next:e=>(s.value=o(e),s.done=e>=t,s)}}function e1(t,e,i){var n,r;let s=Math.max(e-5,0);return n=i-t(s),(r=e-s)?1e3/r*n:0}function e2(t,e){return t*Math.sqrt(1-e*e)}let e3=["duration","bounce"],e6=["stiffness","damping","mass"];function e8(t,e){return e.some(e=>void 0!==t[e])}function e9({keyframes:t,restDelta:e,restSpeed:i,...n}){let r;let s=t[0],o=t[t.length-1],a={done:!1,value:s},{stiffness:l,damping:u,mass:h,duration:c,velocity:d,isResolvedFromDuration:p}=function(t){let e={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...t};if(!e8(t,e6)&&e8(t,e3)){let i=function({duration:t=800,bounce:e=.25,velocity:i=0,mass:n=1}){let r,s;(0,t4.K)(t<=et(10),"Spring duration must be 10 seconds or less");let o=1-e;o=Z(.05,1,o),t=Z(.01,10,ee(t)),o<1?(r=e=>{let n=e*o,r=n*t;return .001-(n-i)/e2(e,o)*Math.exp(-r)},s=e=>{let n=e*o*t,s=Math.pow(o,2)*Math.pow(e,2)*t,a=e2(Math.pow(e,2),o);return(n*i+i-s)*Math.exp(-n)*(-r(e)+.001>0?-1:1)/a}):(r=e=>-.001+Math.exp(-e*t)*((e-i)*t+1),s=e=>t*t*(i-e)*Math.exp(-e*t));
5let a=function(t,e,i){let n=i;for(let i=1;i<12;i++)n-=t(n)/e(n);return n}(r,s,5/t);if(t=et(t),isNaN(a))return{stiffness:100,damping:10,duration:t};{let e=Math.pow(a,2)*n;return{stiffness:e,damping:2*o*Math.sqrt(n*e),duration:t}}}(t);(e={...e,...i,mass:1}).isResolvedFromDuration=!0}return e}({...n,velocity:-ee(n.velocity||0)}),f=d||0,m=u/(2*Math.sqrt(l*h)),g=o-s,v=ee(Math.sqrt(l/h)),y=5>Math.abs(g);if(i||(i=y?.01:2),e||(e=y?.005:.5),m<1){let t=e2(v,m);r=e=>o-Math.exp(-m*v*e)*((f+m*v*g)/t*Math.sin(t*e)+g*Math.cos(t*e))}else if(1===m)r=t=>o-Math.exp(-v*t)*(g+(f+v*g)*t);else{let t=v*Math.sqrt(m*m-1);r=e=>{let i=Math.exp(-m*v*e),n=Math.min(t*e,300);return o-i*((f+m*v*g)*Math.sinh(n)+t*g*Math.cosh(n))/t}}return{calculatedDuration:p&&c||null,next:t=>{let n=r(t);if(p)a.done=t>=c;else{let s=f;0!==t&&(s=m<1?e1(r,t,n):0);let l=Math.abs(s)<=i,u=Math.abs(o-n)<=e;a.done=l&&u}return a.value=a.done?o:n,a}}}function e5({keyframes:t,velocity:e=0,power:i=.8,timeConstant:n=325,bounceDamping:r=10,bounceStiffness:s=500,modifyTarget:o,min:a,max:l,restDelta:u=.5,restSpeed:h}){let c,d;let p=t[0],f={done:!1,value:p},m=t=>void 0!==a&&t<a||void 0!==l&&t>l,g=t=>void 0===a?l:void 0===l?a:Math.abs(a-t)<Math.abs(l-t)?a:l,v=i*e,y=p+v,x=void 0===o?y:o(y);x!==y&&(v=x-p);let b=t=>-v*Math.exp(-t/n),C=t=>x+b(t),w=t=>{let e=b(t),i=C(t);f.done=Math.abs(e)<=u,f.value=f.done?x:i},P=t=>{m(f.value)&&(c=t,d=e9({keyframes:[f.value,g(f.value)],velocity:e1(C,t,f.value),damping:r,stiffness:s,restDelta:u,restSpeed:h}))};return P(0),{calculatedDuration:null,next:t=>{let e=!1;return(d||void 0!==c||(e=!0,w(t),P(t)),void 0!==c&&t>c)?d.next(t-c):(e||w(t),f)}}}var e7=i(2081);function e4(){n=void 0}let it={now:()=>(void 0===n&&it.set(tL.frameData.isProcessing||e7.c.useManualTiming?tL.frameData.timestamp:performance.now()),n),set:t=>{n=t,queueMicrotask(e4)}},ie=t=>{let e=({timestamp:e})=>t(e);return{start:()=>tL.Wi.update(e,!0),stop:()=>(0,tL.Pn)(e),now:()=>tL.frameData.isProcessing?tL.frameData.timestamp:it.now()}};function ii(t){let e=0,i=t.next(e);for(;!i.done&&e<2e4;)e+=50,i=t.next(e);return e>=2e4?1/0:e}let ir={decay:e5,inertia:e5,tween:e0,keyframes:e0,spring:e9};function is({autoplay:t=!0,delay:e=0,driver:i=ie,keyframes:n,type:r="keyframes",repeat:s=0,repeatDelay:o=0,repeatType:a="loop",onPlay:l,onStop:u,onComplete:h,onUpdate:c,...d}){let p,f,m,g,v,y=1,x=!1,b=()=>{f=new Promise(t=>{p=t})};b();let C=ir[r]||e0;C!==e0&&"number"!=typeof n[0]&&(g=eQ([0,100],n,{clamp:!1}),n=[0,100]);let w=C({...d,keyframes:n});"mirror"===a&&(v=C({...d,keyframes:[...n].reverse(),velocity:-(d.velocity||0)}));let P="idle",T=null,A=null,S=null;null===w.calculatedDuration&&s&&(w.calculatedDuration=ii(w));let{calculatedDuration:j}=w,E=1/0,k=1/0;null!==j&&(k=(E=j+o)*(s+1)-o);let M=0,V=t=>{if(null===A)return;y>0&&(A=Math.min(A,t)),y<0&&(A=Math.min(t-k/y,A));let i=(M=null!==T?T:Math.round(t-A)*y)-e*(y>=0?1:-1),r=y>=0?i<0:i>k;M=Math.max(i,0),"finished"===P&&null===T&&(M=k);let l=M,u=w;if(s){let t=Math.min(M,k)/E,e=Math.floor(t),i=t%1;!i&&t>=1&&(i=1),1===i&&e--,(e=Math.min(e,s+1))%2&&("reverse"===a?(i=1-i,o&&(i-=o/E)):"mirror"===a&&(u=v)),l=Z(0,1,i)*E}let h=r?{done:!1,value:n[0]}:u.next(l);g&&(h.value=g(h.value));let{done:d}=h;r||null===j||(d=y>=0?M>=k:M<=0);let p=null===T&&("finished"===P||"running"===P&&d);return c&&c(h.value),p&&D(),h},L=()=>{m&&m.stop(),m=void 0},R=()=>{P="idle",L(),p(),b(),A=S=null},D=()=>{P="finished",h&&h(),L(),p()},F=()=>{if(x)return;m||(m=i(V));let t=m.now();l&&l(),null!==T?A=t-T:A&&"finished"!==P||(A=t),"finished"===P&&b(),S=A,T=null,P="running",m.start()};t&&F();let O={then:(t,e)=>f.then(t,e),get time(){return ee(M)},set time(newTime){M=newTime=et(newTime),null===T&&m&&0!==y?A=m.now()-newTime/y:T=newTime},get duration(){return ee(null===w.calculatedDuration?ii(w):w.calculatedDuration)},get speed(){return y},set speed(newSpeed){if(newSpeed===y||!m)return;y=newSpeed,O.time=ee(M)},get state(){return P},play:F,pause:()=>{P="paused",T=M},stop:()=>{x=!0,"idle"!==P&&(P="idle",u&&u(),R())},cancel:()=>{null!==S&&V(S),R()},complete:()=>{P="finished"},sample:t=>(A=0,V(t))};return O}let io=(o=()=>Object.hasOwnProperty.call(Element.prototype,"animate"),()=>(void 0===r&&(r=o()),r)),ia=new Set(["opacity","clipPath","filter","transform","backgroundColor"]),il=(t,e)=>"spring"===e.type||"backgroundColor"===t||!function t(e){return!!(!e||"string"==typeof e&&es[e]||en(e)||Array.isArray(e)&&e.every(t))}(e.ease),iu={type:"spring",stiffness:500,damping:25,restSpeed:10},ih=t=>({type:"spring",stiffness:550,damping:0===t?2*Math.sqrt(550):30,restSpeed:10}),ic={type:"keyframes",duration:.8},id={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},ip=(t,{keyframes:e})=>e.length>2?ic:F.has(t)?t.startsWith("scale")?ih(e[1]):iu:id,im=(t,e)=>"zIndex"!==t&&!!("number"==typeof e||Array.isArray(e)||"string"==typeof e&&(e$.test(e)||"0"===e)&&!e.startsWith("url(")),ig=new Set(["brightness","contrast","saturate","opacity"]);function iv(t){let[e,i]=t.slice(0,-1).split("(");if("drop-shadow"===e)return t;let[n]=i.match(X)||[];
5if(!n)return t;let r=i.replace(n,""),s=ig.has(e)?1:0;return n!==i&&(s*=100),e+"("+s+r+")"}let iy=/([a-z-]*)\(.*?\)/g,ix={...e$,getAnimatableNone:t=>{let e=t.match(iy);return e?e.map(iv).join(" "):t}},ib={...ta,color:ek,backgroundColor:ek,outlineColor:ek,fill:ek,stroke:ek,borderColor:ek,borderTopColor:ek,borderRightColor:ek,borderBottomColor:ek,borderLeftColor:ek,filter:ix,WebkitFilter:ix},iC=t=>ib[t];function iw(t,e){let i=iC(t);return i!==ix&&(i=e$),i.getAnimatableNone?i.getAnimatableNone(e):void 0}let iP=t=>/^0[^.\s]+$/.test(t);function iT(t,e){return t[e]||t.default||t}let iA=(t,e,i,n={})=>r=>{let s=iT(n,t)||{},o=s.delay||n.delay||0,{elapsed:a=0}=n;a-=et(o);let l=function(t,e,i,n){let r,s;let o=im(e,i);r=Array.isArray(i)?[...i]:[null,i];let a=void 0!==n.from?n.from:t.get(),l=[];for(let t=0;t<r.length;t++){var u;null===r[t]&&(r[t]=0===t?a:r[t-1]),("number"==typeof(u=r[t])?0===u:null!==u?"none"===u||"0"===u||iP(u):void 0)&&l.push(t),"string"==typeof r[t]&&"none"!==r[t]&&"0"!==r[t]&&(s=r[t])}if(o&&l.length&&s)for(let t=0;t<l.length;t++)r[l[t]]=iw(e,s);return r}(e,t,i,s),u=l[0],h=l[l.length-1],c=im(t,u),d=im(t,h);(0,t4.K)(c===d,`You are trying to animate ${t} from "${u}" to "${h}". ${u} is not an animatable value - to enable this animation set ${u} to a value animatable to ${h} via the \`style\` property.`);let p={keyframes:l,velocity:e.getVelocity(),ease:"easeOut",...s,delay:-a,onUpdate:t=>{e.set(t),s.onUpdate&&s.onUpdate(t)},onComplete:()=>{r(),s.onComplete&&s.onComplete()}};if(!function({when:t,delay:e,delayChildren:i,staggerChildren:n,staggerDirection:r,repeat:s,repeatType:o,repeatDelay:a,from:l,elapsed:u,...h}){return!!Object.keys(h).length}(s)&&(p={...p,...ip(t,p)}),p.duration&&(p.duration=et(p.duration)),p.repeatDelay&&(p.repeatDelay=et(p.repeatDelay)),!c||!d||ei.current||!1===s.type||e7.c.skipAnimations)return function({keyframes:t,delay:e,onUpdate:i,onComplete:n}){let r=()=>(i&&i(t[t.length-1]),n&&n(),{time:0,speed:1,duration:0,play:tJ.Z,pause:tJ.Z,stop:tJ.Z,then:t=>(t(),Promise.resolve()),cancel:tJ.Z,complete:tJ.Z});return e?is({keyframes:[0,1],duration:0,delay:e,onComplete:r}):r()}(ei.current?{...p,delay:0}:p);if(!n.isHandoff&&e.owner&&e.owner.current instanceof HTMLElement&&!e.owner.getProps().onUpdate){let i=function(t,e,{onUpdate:i,onComplete:n,...r}){let s,o;if(!(io()&&ia.has(e)&&!r.repeatDelay&&"mirror"!==r.repeatType&&0!==r.damping&&"inertia"!==r.type))return!1;let a=!1,l=!1,u=()=>{o=new Promise(t=>{s=t})};u();let{keyframes:h,duration:c=300,ease:d,times:p}=r;if(il(e,r)){let t=is({...r,repeat:0,delay:0}),e={done:!1,value:h[0]},i=[],n=0;for(;!e.done&&n<2e4;)e=t.sample(n),i.push(e.value),n+=10;p=void 0,h=i,c=n-10,d="linear"}let f=function(t,e,i,{delay:n=0,duration:r,repeat:s=0,repeatType:o="loop",ease:a,times:l}={}){let u={[e]:i};l&&(u.offset=l);let h=function t(e){if(e)return en(e)?er(e):Array.isArray(e)?e.map(t):es[e]}(a);return Array.isArray(h)&&(u.easing=h),t.animate(u,{delay:n,duration:r,easing:Array.isArray(h)?"linear":h,fill:"both",iterations:s+1,direction:"reverse"===o?"alternate":"normal"})}(t.owner.current,e,h,{...r,duration:c,ease:d,times:p}),m=()=>{l=!1,f.cancel()},g=()=>{l=!0,tL.Wi.update(m),s(),u()};return f.onfinish=()=>{l||(t.set(function(t,{repeat:e,repeatType:i="loop"}){let n=e&&"loop"!==i&&e%2==1?0:t.length-1;return t[n]}(h,r)),n&&n(),g())},{then:(t,e)=>o.then(t,e),attachTimeline:t=>(f.timeline=t,f.onfinish=null,tJ.Z),get time(){return ee(f.currentTime||0)},set time(newTime){f.currentTime=et(newTime)},get speed(){return f.playbackRate},set speed(newSpeed){f.playbackRate=newSpeed},get duration(){return ee(c)},play:()=>{a||(f.play(),(0,tL.Pn)(m))},pause:()=>f.pause(),stop:()=>{if(a=!0,"idle"===f.playState)return;let{currentTime:e}=f;if(e){let i=is({...r,autoplay:!1});t.setWithVelocity(i.sample(e-10).value,i.sample(e).value,10)}g()},complete:()=>{l||f.finish()},cancel:g}}(e,t,p);if(i)return i}return is(p)};function iS(t){return!!(B(t)&&t.add)}let ij=t=>/^\-?\d*\.?\d+$/.test(t);function iE(t,e){-1===t.indexOf(e)&&t.push(e)}function ik(t,e){let i=t.indexOf(e);i>-1&&t.splice(i,1)}class iM{constructor(){this.subscriptions=[]}add(t){return iE(this.subscriptions,t),()=>ik(this.subscriptions,t)}notify(t,e,i){let n=this.subscriptions.length;if(n){if(1===n)this.subscriptions[0](t,e,i);else for(let r=0;r<n;r++){let n=this.subscriptions[r];n&&n(t,e,i)}}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}let iV=t=>!isNaN(parseFloat(t)),iL={current:void 0};class iR{constructor(t,e={}){this.version="11.0.3",this.canTrackVelocity=!1,this.events={},this.updateAndNotify=(t,e=!0)=>{let i=it.now();this.updatedAt!==i&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(t),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),e&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(t),this.canTrackVelocity=iV(this.current),this.owner=e.owner}setCurrent(t){this.current=t,this.updatedAt=it.now()}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,e){this.events[t]||(this.events[t]=new iM);let i=this.events[t].add(e);return"change"===t?()=>{i(),tL.Wi.read(()=>{this.events.change.getSize()||this.stop()})}:i}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,i){this.set(e),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-i}jump(t){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return iL.current&&iL.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){var t;let e=it.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||e-this.updatedAt>30)return 0;let i=Math.min(this.updatedAt-this.prevUpdatedAt,30);return t=parseFloat(this.current)-parseFloat(this.prevFrameValue),i?1e3/i*t: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 iD(t,e){return new iR(t,e)}let iF=t=>e=>e.test(t),iO=[$,ti,te,tt,tr,tn,{test:t=>"auto"===t,parse:t=>t}],iB=t=>iO.find(iF(t)),iN=[...iO,ek,e$],iI=t=>iN.find(iF(t));function iW(t,e,{delay:i=0,transitionOverride:n,type:r}={}){let{transition:s=t.getDefaultTransition(),transitionEnd:o,...a}=t.makeTargetAnimatable(e),l=t.getValue("willChange");n&&(s=n);let u=[],h=r&&t.animationState&&t.animationState.getState()[r];for(let e in a){let n=t.getValue(e),r=a[e];if(!n||void 0===r||h&&function({protectedKeys:t,needsAnimating:e},i){let n=t.hasOwnProperty(i)&&!0!==e[i];return e[i]=!1,n}(h,e))continue;let o={delay:i,elapsed:0,...iT(s||{},e)};if(window.HandoffAppearAnimations){let i=t.getProps()[f];if(i){let t=window.HandoffAppearAnimations(i,e,n,tL.Wi);null!==t&&(o.elapsed=t,o.isHandoff=!0)}}let c=!o.isHandoff&&!function(t,e){let i=t.get();if(!Array.isArray(e))return i!==e;for(let t=0;t<e.length;t++)if(e[t]!==i)return!0}(n,r);if("spring"===o.type&&(n.getVelocity()||o.velocity)&&(c=!1),n.animation&&(c=!1),c)continue;n.start(iA(e,n,r,t.shouldReduceMotion&&F.has(e)?{type:!1}:o));let d=n.animation;iS(l)&&(l.add(e),d.then(()=>l.remove(e))),u.push(d)}return o&&Promise.all(u).then(()=>{o&&function(t,e){let i=t7(t,e),{transitionEnd:n={},transition:r={},...s}=i?t.makeTargetAnimatable(i,!1):{};for(let e in s={...s,...n}){let i=tk(s[e]);t.hasValue(e)?t.getValue(e).set(i):t.addValue(e,iD(i))}}(t,o)}),u}function iU(t,e,i={}){let n=t7(t,e,i.custom),{transition:r=t.getDefaultTransition()||{}}=n||{};i.transitionOverride&&(r=i.transitionOverride);let s=n?()=>Promise.all(iW(t,n,i)):()=>Promise.resolve(),o=t.variantChildren&&t.variantChildren.size?(n=0)=>{let{delayChildren:s=0,staggerChildren:o,staggerDirection:a}=r;
5return function(t,e,i=0,n=0,r=1,s){let o=[],a=(t.variantChildren.size-1)*n,l=1===r?(t=0)=>t*n:(t=0)=>a-t*n;return Array.from(t.variantChildren).sort(iH).forEach((t,n)=>{t.notify("AnimationStart",e),o.push(iU(t,e,{...s,delay:i+l(n)}).then(()=>t.notify("AnimationComplete",e)))}),Promise.all(o)}(t,e,s+n,o,a,i)}:()=>Promise.resolve(),{when:a}=r;if(!a)return Promise.all([s(),o(i.delay)]);{let[t,e]="beforeChildren"===a?[s,o]:[o,s];return t().then(()=>e())}}function iH(t,e){return t.sortNodePosition(e)}let i_=[...b].reverse(),iZ=b.length;function i$(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}class iz extends tY{constructor(t){super(t),t.animationState||(t.animationState=function(t){let e=e=>Promise.all(e.map(({animation:e,options:i})=>(function(t,e,i={}){let n;if(t.notify("AnimationStart",e),Array.isArray(e))n=Promise.all(e.map(e=>iU(t,e,i)));else if("string"==typeof e)n=iU(t,e,i);else{let r="function"==typeof e?t7(t,e,i.custom):e;n=Promise.all(iW(t,r,i))}return n.then(()=>t.notify("AnimationComplete",e))})(t,e,i))),i={animate:i$(!0),whileInView:i$(),whileHover:i$(),whileTap:i$(),whileDrag:i$(),whileFocus:i$(),exit:i$()},n=!0,r=(e,i)=>{let n=t7(t,i);if(n){let{transition:t,transitionEnd:i,...r}=n;e={...e,...r,...i}}return e};function s(s,o){let a=t.getProps(),l=t.getVariantContext(!0)||{},u=[],h=new Set,c={},d=1/0;for(let e=0;e<iZ;e++){var p;let f=i_[e],m=i[f],g=void 0!==a[f]?a[f]:l[f],v=y(g),b=f===o?m.isActive:null;!1===b&&(d=e);let C=g===l[f]&&g!==a[f]&&v;if(C&&n&&t.manuallyAnimateOnMount&&(C=!1),m.protectedKeys={...c},!m.isActive&&null===b||!g&&!m.prevProp||x(g)||"boolean"==typeof g)continue;let w=(p=m.prevProp,("string"==typeof g?g!==p:!!Array.isArray(g)&&!t5(g,p))||f===o&&m.isActive&&!C&&v||e>d&&v),P=!1,T=Array.isArray(g)?g:[g],A=T.reduce(r,{});!1===b&&(A={});let{prevResolvedValues:S={}}=m,j={...S,...A},E=t=>{w=!0,h.has(t)&&(P=!0,h.delete(t)),m.needsAnimating[t]=!0};for(let t in j){let e=A[t],i=S[t];if(!c.hasOwnProperty(t))(tj(e)&&tj(i)?t5(e,i):e===i)?void 0!==e&&h.has(t)?E(t):m.protectedKeys[t]=!0:void 0!==e?E(t):h.add(t)}m.prevProp=g,m.prevResolvedValues=A,m.isActive&&(c={...c,...A}),n&&t.blockInitialAnimation&&(w=!1),w&&(!C||P)&&u.push(...T.map(t=>({animation:t,options:{type:f,...s}})))}if(h.size){let e={};h.forEach(i=>{let n=t.getBaseTarget(i);void 0!==n&&(e[i]=n)}),u.push({animation:e})}let f=!!u.length;return n&&(!1===a.initial||a.initial===a.animate)&&!t.manuallyAnimateOnMount&&(f=!1),n=!1,f?e(u):Promise.resolve()}return{animateChanges:s,setActive:function(e,n,r){var o;if(i[e].isActive===n)return Promise.resolve();null===(o=t.variantChildren)||void 0===o||o.forEach(t=>{var i;return null===(i=t.animationState)||void 0===i?void 0:i.setActive(e,n)}),i[e].isActive=n;let a=s(r,e);for(let t in i)i[t].protectedKeys={};return a},setAnimateFunction:function(i){e=i(t)},getState:()=>i}}(t))}updateAnimationControlsSubscription(){let{animate:t}=this.node.getProps();this.unmount(),x(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 iY=0;class iq extends tY{constructor(){super(...arguments),this.id=iY++}update(){if(!this.node.presenceContext)return;let{isPresent:t,onExitComplete:e,custom:i}=this.node.presenceContext,{isPresent:n}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===n)return;let r=this.node.animationState.setActive("exit",!t,{custom:null!=i?i:this.node.getProps().custom});e&&!t&&r.then(()=>e(this.id))}mount(){let{register:t}=this.node.presenceContext||{};t&&(this.unmount=t(this.id))}unmount(){}}let iX=(t,e)=>Math.abs(t-e);class iG{constructor(t,e,{transformPagePoint:i,contextWindow:n,dragSnapToOrigin:r=!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 i=iQ(this.lastMoveEventInfo,this.history),n=null!==this.startEvent,r=(t=i.offset,e={x:0,y:0},Math.sqrt(iX(t.x,e.x)**2+iX(t.y,e.y)**2)>=3);if(!n&&!r)return;let{point:s}=i,{timestamp:o}=tL.frameData;this.history.push({...s,timestamp:o});let{onStart:a,onMove:l}=this.handlers;n||(a&&a(this.lastMoveEvent,i),this.startEvent=this.lastMoveEvent),l&&l(this.lastMoveEvent,i)},this.handlePointerMove=(t,e)=>{this.lastMoveEvent=t,this.lastMoveEventInfo=iK(e,this.transformPagePoint),tL.Wi.update(this.updatePoint,!0)},this.handlePointerUp=(t,e)=>{this.end();let{onEnd:i,onSessionEnd:n,resumeAnimation:r}=this.handlers;if(this.dragSnapToOrigin&&r&&r(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let s=iQ("pointercancel"===t.type?this.lastMoveEventInfo:iK(e,this.transformPagePoint),this.history);this.startEvent&&i&&i(t,s),n&&n(t,s)},!tO(t))return;this.dragSnapToOrigin=r,this.handlers=e,this.transformPagePoint=i,this.contextWindow=n||window;let s=iK(tB(t),this.transformPagePoint),{point:o}=s,{timestamp:a}=tL.frameData;this.history=[{...o,timestamp:a}];let{onSessionStart:l}=e;l&&l(t,iQ(s,this.history)),this.removeListeners=tU(tI(this.contextWindow,"pointermove",this.handlePointerMove),tI(this.contextWindow,"pointerup",this.handlePointerUp),tI(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),(0,tL.Pn)(this.updatePoint)}}function iK(t,e){return e?{point:e(t.point)}:t}function iJ(t,e){return{x:t.x-e.x,y:t.y-e.y}}function iQ({point:t},e){return{point:t,delta:iJ(t,i0(e)),offset:iJ(t,e[0]),velocity:function(t,e){if(t.length<2)return{x:0,y:0};let i=t.length-1,n=null,r=i0(t);for(;i>=0&&(n=t[i],!(r.timestamp-n.timestamp>et(.1)));)i--;if(!n)return{x:0,y:0};let s=ee(r.timestamp-n.timestamp);if(0===s)return{x:0,y:0};let o={x:(r.x-n.x)/s,y:(r.y-n.y)/s}
5;return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}(e,0)}}function i0(t){return t[t.length-1]}function i1(t){return t.max-t.min}function i2(t,e=0,i=.01){return Math.abs(t-e)<=i}function i3(t,e,i,n=.5){t.origin=n,t.originPoint=eM(e.min,e.max,t.origin),t.scale=i1(i)/i1(e),(i2(t.scale,1,1e-4)||isNaN(t.scale))&&(t.scale=1),t.translate=eM(i.min,i.max,t.origin)-t.originPoint,(i2(t.translate)||isNaN(t.translate))&&(t.translate=0)}function i6(t,e,i,n){i3(t.x,e.x,i.x,n?n.originX:void 0),i3(t.y,e.y,i.y,n?n.originY:void 0)}function i8(t,e,i){t.min=i.min+e.min,t.max=t.min+i1(e)}function i9(t,e,i){t.min=e.min-i.min,t.max=t.min+i1(e)}function i5(t,e,i){i9(t.x,e.x,i.x),i9(t.y,e.y,i.y)}function i7(t,e,i){return{min:void 0!==e?t.min+e:void 0,max:void 0!==i?t.max+i-(t.max-t.min):void 0}}function i4(t,e){let i=e.min-t.min,n=e.max-t.max;return e.max-e.min<t.max-t.min&&([i,n]=[n,i]),{min:i,max:n}}function nt(t,e,i){return{min:ne(t,e),max:ne(t,i)}}function ne(t,e){return"number"==typeof t?t:t[e]||0}let ni=()=>({translate:0,scale:1,origin:0,originPoint:0}),nn=()=>({x:ni(),y:ni()}),nr=()=>({min:0,max:0}),ns=()=>({x:nr(),y:nr()});function no(t){return[t("x"),t("y")]}function na({top:t,left:e,right:i,bottom:n}){return{x:{min:e,max:i},y:{min:t,max:n}}}function nl(t){return void 0===t||1===t}function nu({scale:t,scaleX:e,scaleY:i}){return!nl(t)||!nl(e)||!nl(i)}function nh(t){return nu(t)||nc(t)||t.z||t.rotate||t.rotateX||t.rotateY}function nc(t){var e,i;return(e=t.x)&&"0%"!==e||(i=t.y)&&"0%"!==i}function nd(t,e,i,n,r){return void 0!==r&&(t=n+r*(t-n)),n+i*(t-n)+e}function np(t,e=0,i=1,n,r){t.min=nd(t.min,e,i,n,r),t.max=nd(t.max,e,i,n,r)}function nf(t,{x:e,y:i}){np(t.x,e.translate,e.scale,e.originPoint),np(t.y,i.translate,i.scale,i.originPoint)}function nm(t){return Number.isInteger(t)?t:t>1.0000000000001||t<.999999999999?t:1}function ng(t,e){t.min=t.min+e,t.max=t.max+e}function nv(t,e,[i,n,r]){let s=void 0!==e[r]?e[r]:.5,o=eM(t.min,t.max,s);np(t,e[i],e[n],o,e.scale)}let ny=["x","scaleX","originX"],nx=["y","scaleY","originY"];function nb(t,e){nv(t.x,e,ny),nv(t.y,e,nx)}function nC(t,e){return na(function(t,e){if(!e)return t;let i=e({x:t.left,y:t.top}),n=e({x:t.right,y:t.bottom});return{top:i.y,left:i.x,bottom:n.y,right:n.x}}(t.getBoundingClientRect(),e))}let nw=({current:t})=>t?t.ownerDocument.defaultView:null,nP=new WeakMap;class nT{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=ns(),this.visualElement=t}start(t,{snapToCursor:e=!1}={}){let{presenceContext:i}=this.visualElement;if(i&&!1===i.isPresent)return;let{dragSnapToOrigin:n}=this.getProps();this.panSession=new iG(t,{onSessionStart:t=>{let{dragSnapToOrigin:i}=this.getProps();i?this.pauseAnimation():this.stopAnimation(),e&&this.snapToCursor(tB(t,"page").point)},onStart:(t,e)=>{let{drag:i,dragPropagation:n,onDragStart:r}=this.getProps();if(i&&!n&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=t$(i),!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),no(t=>{let e=this.getAxisMotionValue(t).get()||0;if(te.test(e)){let{projection:i}=this.visualElement;if(i&&i.layout){let n=i.layout.layoutBox[t];if(n){let t=i1(n);e=parseFloat(e)/100*t}}}this.originPoint[t]=e}),r&&tL.Wi.update(()=>r(t,e),!1,!0);let{animationState:s}=this.visualElement;s&&s.setActive("whileDrag",!0)},onMove:(t,e)=>{let{dragPropagation:i,dragDirectionLock:n,onDirectionLock:r,onDrag:s}=this.getProps();if(!i&&!this.openGlobalLock)return;let{offset:o}=e;if(n&&null===this.currentDirection){this.currentDirection=function(t,e=10){let i=null;return Math.abs(t.y)>e?i="y":Math.abs(t.x)>e&&(i="x"),i}(o),null!==this.currentDirection&&r&&r(this.currentDirection);return}this.updateAxis("x",e.point,o),this.updateAxis("y",e.point,o),this.visualElement.render(),s&&s(t,e)},onSessionEnd:(t,e)=>this.stop(t,e),resumeAnimation:()=>no(t=>{var e;return"paused"===this.getAnimationState(t)&&(null===(e=this.getAxisMotionValue(t).animation)||void 0===e?void 0:e.play())})},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:n,contextWindow:nw(this.visualElement)})}stop(t,e){let i=this.isDragging;if(this.cancel(),!i)return;let{velocity:n}=e;this.startAnimation(n);let{onDragEnd:r}=this.getProps();r&&tL.Wi.update(()=>r(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:i}=this.getProps();!i&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),e&&e.setActive("whileDrag",!1)}updateAxis(t,e,i){let{drag:n}=this.getProps();if(!i||!nA(t,n,this.currentDirection))return;let r=this.getAxisMotionValue(t),s=this.originPoint[t]+i[t];this.constraints&&this.constraints[t]&&(s=function(t,{min:e,max:i},n){return void 0!==e&&t<e?t=n?eM(e,t,n.min):Math.max(t,e):void 0!==i&&t>i&&(t=n?eM(i,t,n.max):Math.min(t,i)),t}(s,this.constraints[t],this.elastic[t])),r.set(s)}resolveConstraints(){var t;let{dragConstraints:e,dragElastic:i}=this.getProps(),n=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):null===(t=this.visualElement.projection)||void 0===t?void 0:t.layout,r=this.constraints;e&&v(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):e&&n?this.constraints=function(t,{top:e,left:i,bottom:n,right:r}){return{x:i7(t.x,i,r),y:i7(t.y,e,n)}}(n.layoutBox,e):this.constraints=!1,this.elastic=function(t=.35){return!1===t?t=0:!0===t&&(t=.35),{x:nt(t,"left","right"),y:nt(t,"top","bottom")}}(i),r!==this.constraints&&n&&this.constraints&&!this.hasMutatedConstraints&&no(t=>{this.getAxisMotionValue(t)&&(this.constraints[t]=function(t,e){let i={};return void 0!==e.min&&(i.min=e.min-t.min),void 0!==e.max&&(i.max=e.max-t.min),i}(n.layoutBox[t],this.constraints[t]))})}resolveRefConstraints(){var t;let{dragConstraints:e,onMeasureDragConstraints:i}=this.getProps();if(!e||!v(e))return!1;let n=e.current;(0,t4.k)(null!==n,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");let{projection:r}=this.visualElement;if(!r||!r.layout)return!1;
5let s=function(t,e,i){let n=nC(t,i),{scroll:r}=e;return r&&(ng(n.x,r.offset.x),ng(n.y,r.offset.y)),n}(n,r.root,this.visualElement.getTransformPagePoint()),o={x:i4((t=r.layout.layoutBox).x,s.x),y:i4(t.y,s.y)};if(i){let t=i(function({x:t,y:e}){return{top:e.min,right:t.max,bottom:e.max,left:t.min}}(o));this.hasMutatedConstraints=!!t,t&&(o=na(t))}return o}startAnimation(t){let{drag:e,dragMomentum:i,dragElastic:n,dragTransition:r,dragSnapToOrigin:s,onDragTransitionEnd:o}=this.getProps(),a=this.constraints||{};return Promise.all(no(o=>{if(!nA(o,e,this.currentDirection))return;let l=a&&a[o]||{};s&&(l={min:0,max:0});let u={type:"inertia",velocity:i?t[o]:0,bounceStiffness:n?200:1e6,bounceDamping:n?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...r,...l};return this.startAxisValueAnimation(o,u)})).then(o)}startAxisValueAnimation(t,e){let i=this.getAxisMotionValue(t);return i.start(iA(t,i,0,e))}stopAnimation(){no(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){no(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(),i=this.visualElement.getProps();return i[e]||this.visualElement.getValue(t,(i.initial?i.initial[t]:void 0)||0)}snapToCursor(t){no(e=>{let{drag:i}=this.getProps();if(!nA(e,i,this.currentDirection))return;let{projection:n}=this.visualElement,r=this.getAxisMotionValue(e);if(n&&n.layout){let{min:i,max:s}=n.layout.layoutBox[e];r.set(t[e]-eM(i,s,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:t,dragConstraints:e}=this.getProps(),{projection:i}=this.visualElement;if(!v(e)||!i||!this.constraints)return;this.stopAnimation();let n={x:0,y:0};no(t=>{let e=this.getAxisMotionValue(t);if(e){let i=e.get();n[t]=function(t,e){let i=.5,n=i1(t),r=i1(e);return r>n?i=eK(e.min,e.max-n,t.min):n>r&&(i=eK(t.min,t.max-r,e.min)),Z(0,1,i)}({min:i,max:i},this.constraints[t])}});let{transformTemplate:r}=this.visualElement.getProps();this.visualElement.current.style.transform=r?r({},""):"none",i.root&&i.root.updateScroll(),i.updateLayout(),this.resolveConstraints(),no(e=>{if(!nA(e,t,null))return;let i=this.getAxisMotionValue(e),{min:r,max:s}=this.constraints[e];i.set(eM(r,s,n[e]))})}addListeners(){if(!this.visualElement.current)return;nP.set(this.visualElement,this);let t=tI(this.visualElement.current,"pointerdown",t=>{let{drag:e,dragListener:i=!0}=this.getProps();e&&i&&this.start(t)}),e=()=>{let{dragConstraints:t}=this.getProps();v(t)&&(this.constraints=this.resolveRefConstraints())},{projection:i}=this.visualElement,n=i.addEventListener("measure",e);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),e();let r=tF(window,"resize",()=>this.scalePositionWithinConstraints()),s=i.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e})=>{this.isDragging&&e&&(no(e=>{let i=this.getAxisMotionValue(e);i&&(this.originPoint[e]+=t[e].translate,i.set(i.get()+t[e].translate))}),this.visualElement.render())});return()=>{r(),t(),n(),s&&s()}}getProps(){let t=this.visualElement.getProps(),{drag:e=!1,dragDirectionLock:i=!1,dragPropagation:n=!1,dragConstraints:r=!1,dragElastic:s=.35,dragMomentum:o=!0}=t;return{...t,drag:e,dragDirectionLock:i,dragPropagation:n,dragConstraints:r,dragElastic:s,dragMomentum:o}}}function nA(t,e,i){return(!0===e||e===t)&&(null===i||i===t)}class nS extends tY{constructor(t){super(t),this.removeGroupControls=tJ.Z,this.removeListeners=tJ.Z,this.controls=new nT(t)}mount(){let{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||tJ.Z}unmount(){this.removeGroupControls(),this.removeListeners()}}let nj=t=>(e,i)=>{t&&tL.Wi.update(()=>t(e,i))};class nE extends tY{constructor(){super(...arguments),this.removePointerDownListener=tJ.Z}onPointerDown(t){this.session=new iG(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:nw(this.node)})}createPanHandlers(){let{onPanSessionStart:t,onPanStart:e,onPan:i,onPanEnd:n}=this.node.getProps();return{onSessionStart:nj(t),onStart:nj(e),onMove:i,onEnd:(t,e)=>{delete this.session,n&&tL.Wi.update(()=>n(t,e))}}}mount(){this.removePointerDownListener=tI(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 nk={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function nM(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}let nV={correct:(t,e)=>{if(!e.target)return t;if("string"==typeof t){if(!ti.test(t))return t;t=parseFloat(t)}let i=nM(t,e.target.x),n=nM(t,e.target.y);return`${i}% ${n}%`}};
5class nL extends a.Component{componentDidMount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i,layoutId:n}=this.props,{projection:r}=t;Object.assign(R,nD),r&&(e.group&&e.group.add(r),i&&i.register&&n&&i.register(r),r.root.didUpdate(),r.addEventListener("animationComplete",()=>{this.safeToRemove()}),r.setOptions({...r.options,onExitComplete:()=>this.safeToRemove()})),nk.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){let{layoutDependency:e,visualElement:i,drag:n,isPresent:r}=this.props,s=i.projection;return s&&(s.isPresent=r,n||t.layoutDependency!==e||void 0===e?s.willUpdate():this.safeToRemove(),t.isPresent===r||(r?s.promote():s.relegate()||tL.Wi.postRender(()=>{let t=s.getStack();t&&t.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),m.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i}=this.props,{projection:n}=t;n&&(n.scheduleCheckAfterUnmount(),e&&e.group&&e.group.remove(n),i&&i.deregister&&i.deregister(n))}safeToRemove(){let{safeToRemove:t}=this.props;t&&t()}render(){return null}}function nR(t){let[e,i]=function(){let t=(0,a.useContext)(h.O);if(null===t)return[!0,null];let{isPresent:e,onExitComplete:i,register:n}=t,r=(0,a.useId)();return(0,a.useEffect)(()=>n(r),[]),!e&&i?[!1,()=>i&&i(r)]:[!0]}(),n=(0,a.useContext)(E.p);return a.createElement(nL,{...t,layoutGroup:n,switchLayoutGroup:(0,a.useContext)(k),isPresent:e,safeToRemove:i})}let nD={borderRadius:{...nV,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:nV,borderTopRightRadius:nV,borderBottomLeftRadius:nV,borderBottomRightRadius:nV,boxShadow:{correct:(t,{treeScale:e,projectionDelta:i})=>{let n=e$.parse(t);if(n.length>5)return t;let r=e$.createTransformer(t),s="number"!=typeof n[0]?1:0,o=i.x.scale*e.x,a=i.y.scale*e.y;n[0+s]/=o,n[1+s]/=a;let l=eM(o,a,.5);return"number"==typeof n[2+s]&&(n[2+s]/=l),"number"==typeof n[3+s]&&(n[3+s]/=l),r(n)}}},nF=["TopLeft","TopRight","BottomLeft","BottomRight"],nO=nF.length,nB=t=>"string"==typeof t?parseFloat(t):t,nN=t=>"number"==typeof t||ti.test(t);function nI(t,e){return void 0!==t[e]?t[e]:t.borderRadius}let nW=nH(0,.5,em),nU=nH(.5,.95,tJ.Z);function nH(t,e,i){return n=>n<t?0:n>e?1:i(eK(t,e,n))}function n_(t,e){t.min=e.min,t.max=e.max}function nZ(t,e){n_(t.x,e.x),n_(t.y,e.y)}function n$(t,e,i,n,r){return t-=e,t=n+1/i*(t-n),void 0!==r&&(t=n+1/r*(t-n)),t}function nz(t,e,[i,n,r],s,o){!function(t,e=0,i=1,n=.5,r,s=t,o=t){if(te.test(e)&&(e=parseFloat(e),e=eM(o.min,o.max,e/100)-o.min),"number"!=typeof e)return;let a=eM(s.min,s.max,n);t===s&&(a-=e),t.min=n$(t.min,e,i,a,r),t.max=n$(t.max,e,i,a,r)}(t,e[i],e[n],e[r],e.scale,s,o)}let nY=["x","scaleX","originX"],nq=["y","scaleY","originY"];function nX(t,e,i,n){nz(t.x,e,nY,i?i.x:void 0,n?n.x:void 0),nz(t.y,e,nq,i?i.y:void 0,n?n.y:void 0)}function nG(t){return 0===t.translate&&1===t.scale}function nK(t){return nG(t.x)&&nG(t.y)}function nJ(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 nQ(t){return i1(t.x)/i1(t.y)}class n0{constructor(){this.members=[]}add(t){iE(this.members,t),t.scheduleRender()}remove(t){if(ik(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)}}relegate(t){let e;let i=this.members.findIndex(e=>t===e);if(0===i)return!1;for(let t=i;t>=0;t--){let i=this.members[t];if(!1!==i.isPresent){e=i;break}}return!!e&&(this.promote(e),!0)}promote(t,e){let i=this.lead;if(t!==i&&(this.prevLead=i,this.lead=t,t.show(),i)){i.instance&&i.scheduleRender(),t.scheduleRender(),t.resumeFrom=i,e&&(t.resumeFrom.preserveOpacity=!0),i.snapshot&&(t.snapshot=i.snapshot,t.snapshot.latestValues=i.animationValues||i.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);let{crossfade:n}=t.options;!1===n&&i.hide()}}
5exitAnimationComplete(){this.members.forEach(t=>{let{options:e,resumingFrom:i}=t;e.onExitComplete&&e.onExitComplete(),i&&i.options.onExitComplete&&i.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function n1(t,e,i){let n="",r=t.x.translate/e.x,s=t.y.translate/e.y;if((r||s)&&(n=`translate3d(${r}px, ${s}px, 0) `),(1!==e.x||1!==e.y)&&(n+=`scale(${1/e.x}, ${1/e.y}) `),i){let{rotate:t,rotateX:e,rotateY:r}=i;t&&(n+=`rotate(${t}deg) `),e&&(n+=`rotateX(${e}deg) `),r&&(n+=`rotateY(${r}deg) `)}let o=t.x.scale*e.x,a=t.y.scale*e.y;return(1!==o||1!==a)&&(n+=`scale(${o}, ${a})`),n||"none"}let n2=(t,e)=>t.depth-e.depth;class n3{constructor(){this.children=[],this.isDirty=!1}add(t){iE(this.children,t),this.isDirty=!0}remove(t){ik(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(n2),this.isDirty=!1,this.children.forEach(t)}}let n6=["","X","Y","Z"],n8={visibility:"hidden"},n9=0,n5={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0};function n7({attachResizeListener:t,defaultParent:e,measureScroll:i,checkIsScrollRoot:n,resetTransform:r}){return class{constructor(t={},i=null==e?void 0:e()){this.id=n9++,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,n5.totalNodes=n5.resolvedTargetDeltas=n5.recalculatedProjection=0,this.nodes.forEach(re),this.nodes.forEach(rl),this.nodes.forEach(ru),this.nodes.forEach(ri),window.MotionDebug&&window.MotionDebug.record(n5)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=t,this.root=i?i.root||i:this,this.path=i?[...i.path,i]:[],this.parent=i,this.depth=i?i.depth+1:0;for(let t=0;t<this.path.length;t++)this.path[t].shouldResetTransform=!0;this.root===this&&(this.nodes=new n3)}addEventListener(t,e){return this.eventHandlers.has(t)||this.eventHandlers.set(t,new iM),this.eventHandlers.get(t).add(e)}notifyListeners(t,...e){let i=this.eventHandlers.get(t);i&&i.notify(...e)}hasListeners(t){return this.eventHandlers.has(t)}mount(e,i=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=e instanceof SVGElement&&"svg"!==e.tagName,this.instance=e;let{layoutId:n,layout:r,visualElement:s}=this.options;if(s&&!s.current&&s.mount(e),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),i&&(r||n)&&(this.isLayoutDirty=!0),t){let i;let n=()=>this.root.updateBlockedByResize=!1;t(e,()=>{this.root.updateBlockedByResize=!0,i&&i(),i=function(t,e){let i=it.now(),n=({timestamp:r})=>{let s=r-i;s>=e&&((0,tL.Pn)(n),t(s-e))};return tL.Wi.read(n,!0),()=>(0,tL.Pn)(n)}(n,250),nk.hasAnimatedSinceResize&&(nk.hasAnimatedSinceResize=!1,this.nodes.forEach(ra))})}n&&this.root.registerSharedNode(n,this),!1!==this.options.animate&&s&&(n||r)&&this.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e,hasRelativeTargetChanged:i,layout:n})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let r=this.options.transition||s.getDefaultTransition()||rm,{onLayoutAnimationStart:o,onLayoutAnimationComplete:a}=s.getProps(),l=!this.targetLayout||!nJ(this.targetLayout,n)||i,u=!e&&i;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={...iT(r,"layout"),onPlay:o,onComplete:a};(s.shouldReduceMotion||this.options.layoutRoot)&&(e.delay=0,e.type=!1),this.startAnimation(e)}else e||ra(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=n})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let t=this.getStack();t&&t.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,(0,tL.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
5h(rh),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:i}=this.options;if(void 0===e&&!i)return;let n=this.getTransformTemplate();this.prevTransformTemplateValue=n?n(this.latestValues,""):void 0,this.updateSnapshot(),t&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(rr);return}this.isUpdating||this.nodes.forEach(rs),this.isUpdating=!1,this.nodes.forEach(ro),this.nodes.forEach(n4),this.nodes.forEach(rt),this.clearAllSnapshots();let t=it.now();tL.frameData.delta=Z(0,1e3/60,t-tL.frameData.timestamp),tL.frameData.timestamp=t,tL.frameData.isProcessing=!0,tL.S6.update.process(tL.frameData),tL.S6.preRender.process(tL.frameData),tL.S6.render.process(tL.frameData),tL.frameData.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,m.read(()=>this.update()))}clearAllSnapshots(){this.nodes.forEach(rn),this.sharedNodes.forEach(rc)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,tL.Wi.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){tL.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=ns(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);let{visualElement:e}=this.options;e&&e.notify("LayoutMeasure",this.layout.layoutBox,t?t.layoutBox:void 0)}updateScroll(t="measure"){let e=!!(this.options.layoutScroll&&this.instance);this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===t&&(e=!1),e&&(this.scroll={animationId:this.root.animationId,phase:t,isRoot:n(this.instance),offset:i(this.instance)})}resetTransform(){if(!r)return;let t=this.isLayoutDirty||this.shouldResetTransform,e=this.projectionDelta&&!nK(this.projectionDelta),i=this.getTransformTemplate(),n=i?i(this.latestValues,""):void 0,s=n!==this.prevTransformTemplateValue;t&&(e||nh(this.latestValues)||s)&&(r(this.instance,n),this.shouldResetTransform=!1,this.scheduleRender())}measure(t=!0){var e;let i=this.measurePageBox(),n=this.removeElementScroll(i);return t&&(n=this.removeTransform(n)),ry((e=n).x),ry(e.y),{animationId:this.root.animationId,measuredBox:i,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:t}=this.options;if(!t)return ns();let e=t.measureViewportBox(),{scroll:i}=this.root;return i&&(ng(e.x,i.offset.x),ng(e.y,i.offset.y)),e}removeElementScroll(t){let e=ns();nZ(e,t);for(let i=0;i<this.path.length;i++){let n=this.path[i],{scroll:r,options:s}=n;if(n!==this.root&&r&&s.layoutScroll){if(r.isRoot){nZ(e,t);let{scroll:i}=this.root;i&&(ng(e.x,-i.offset.x),ng(e.y,-i.offset.y))}ng(e.x,r.offset.x),ng(e.y,r.offset.y)}}return e}applyTransform(t,e=!1){let i=ns();nZ(i,t);for(let t=0;t<this.path.length;t++){let n=this.path[t];!e&&n.options.layoutScroll&&n.scroll&&n!==n.root&&nb(i,{x:-n.scroll.offset.x,y:-n.scroll.offset.y}),nh(n.latestValues)&&nb(i,n.latestValues)}return nh(this.latestValues)&&nb(i,this.latestValues),i}removeTransform(t){let e=ns();nZ(e,t);for(let t=0;t<this.path.length;t++){let i=this.path[t];if(!i.instance||!nh(i.latestValues))continue;nu(i.latestValues)&&i.updateSnapshot();let n=ns();nZ(n,i.measurePageBox()),nX(e,i.latestValues,i.snapshot?i.snapshot.layoutBox:void 0,n)}return nh(this.latestValues)&&nX(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!==tL.frameData.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(t=!1){var e,i,n,r;let s=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=s.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=s.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=s.isS
5haredProjectionDirty);let o=!!this.resumingFrom||this!==s;if(!(t||o&&this.isSharedProjectionDirty||this.isProjectionDirty||(null===(e=this.parent)||void 0===e?void 0:e.isProjectionDirty)||this.attemptToResolveRelativeTarget))return;let{layout:a,layoutId:l}=this.options;if(this.layout&&(a||l)){if(this.resolvedRelativeTargetAt=tL.frameData.timestamp,!this.targetDelta&&!this.relativeTarget){let t=this.getClosestProjectingParent();t&&t.layout&&1!==this.animationProgress?(this.relativeParent=t,this.forceRelativeParentToResolveTarget(),this.relativeTarget=ns(),this.relativeTargetOrigin=ns(),i5(this.relativeTargetOrigin,this.layout.layoutBox,t.layout.layoutBox),nZ(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(this.relativeTarget||this.targetDelta){if((this.target||(this.target=ns(),this.targetWithTransforms=ns()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target)?(this.forceRelativeParentToResolveTarget(),i=this.target,n=this.relativeTarget,r=this.relativeParent.target,i8(i.x,n.x,r.x),i8(i.y,n.y,r.y)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):nZ(this.target,this.layout.layoutBox),nf(this.target,this.targetDelta)):nZ(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=ns(),this.relativeTargetOrigin=ns(),i5(this.relativeTargetOrigin,this.target,t.target),nZ(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}n5.resolvedTargetDeltas++}}}getClosestProjectingParent(){return!this.parent||nu(this.parent.latestValues)||nc(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(),i=!!this.resumingFrom||this!==e,n=!0;if((this.isProjectionDirty||(null===(t=this.parent)||void 0===t?void 0:t.isProjectionDirty))&&(n=!1),i&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(n=!1),this.resolvedRelativeTargetAt===tL.frameData.timestamp&&(n=!1),n)return;let{layout:r,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||!(r||s))return;nZ(this.layoutCorrected,this.layout.layoutBox);let o=this.treeScale.x,a=this.treeScale.y;!function(t,e,i,n=!1){let r,s;let o=i.length;if(o){e.x=e.y=1;for(let a=0;a<o;a++){s=(r=i[a]).projectionDelta;let o=r.instance;(!o||!o.style||"contents"!==o.style.display)&&(n&&r.options.layoutScroll&&r.scroll&&r!==r.root&&nb(t,{x:-r.scroll.offset.x,y:-r.scroll.offset.y}),s&&(e.x*=s.x.scale,e.y*=s.y.scale,nf(t,s)),n&&nh(r.latestValues)&&nb(t,r.latestValues))}e.x=nm(e.x),e.y=nm(e.y)}}(this.layoutCorrected,this.treeScale,this.path,i),e.layout&&!e.target&&(1!==this.treeScale.x||1!==this.treeScale.y)&&(e.target=e.layout.layoutBox,e.targetWithTransforms=ns());let{target:l}=e;if(!l){this.projectionTransform&&(this.projectionDelta=nn(),this.projectionTransform="none",this.scheduleRender());return}this.projectionDelta||(this.projectionDelta=nn(),this.projectionDeltaWithTransform=nn());let u=this.projectionTransform;i6(this.projectionDelta,this.layoutCorrected,l,this.latestValues),this.projectionTransform=n1(this.projectionDelta,this.treeScale),(this.projectionTransform!==u||this.treeScale.x!==o||this.treeScale.y!==a)&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",l)),n5.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 i;let n=this.snapshot,r=n?n.latestValues:{},s={...this.latestValues},o=nn();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!e;let a=ns(),l=(n?n.source:void 0)!==(this.layout?this.layout.source:void 0),u=this.getStack(),h=!u||u.members.length<=1,c=!!(l&&!h&&
5!0===this.options.crossfade&&!this.path.some(rf));this.animationProgress=0,this.mixTargetDelta=e=>{let n=e/1e3;if(rd(o.x,t.x,n),rd(o.y,t.y,n),this.setTargetDelta(o),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var u,d,p,f;i5(a,this.layout.layoutBox,this.relativeParent.layout.layoutBox),p=this.relativeTarget,f=this.relativeTargetOrigin,rp(p.x,f.x,a.x,n),rp(p.y,f.y,a.y,n),i&&(u=this.relativeTarget,d=i,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),i||(i=ns()),nZ(i,this.relativeTarget)}l&&(this.animationValues=s,function(t,e,i,n,r,s){r?(t.opacity=eM(0,void 0!==i.opacity?i.opacity:1,nW(n)),t.opacityExit=eM(void 0!==e.opacity?e.opacity:1,0,nU(n))):s&&(t.opacity=eM(void 0!==e.opacity?e.opacity:1,void 0!==i.opacity?i.opacity:1,n));for(let r=0;r<nO;r++){let s=`border${nF[r]}Radius`,o=nI(e,s),a=nI(i,s);(void 0!==o||void 0!==a)&&(o||(o=0),a||(a=0),0===o||0===a||nN(o)===nN(a)?(t[s]=Math.max(eM(nB(o),nB(a),n),0),(te.test(a)||te.test(o))&&(t[s]+="%")):t[s]=a)}(e.rotate||i.rotate)&&(t.rotate=eM(e.rotate||0,i.rotate||0,n))}(s,r,this.latestValues,n,c,h)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=n},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(t){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&((0,tL.Pn)(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=tL.Wi.update(()=>{nk.hasAnimatedSinceResize=!0,this.currentAnimation=function(t,e,i){let n=B(t)?t:iD(t);return n.start(iA("",n,1e3,i)),n.animation}(0,0,{...t,onUpdate:e=>{this.mixTargetDelta(e),t.onUpdate&&t.onUpdate(e)},onComplete:()=>{t.onComplete&&t.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);let t=this.getStack();t&&t.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let t=this.getLead(),{targetWithTransforms:e,target:i,layout:n,latestValues:r}=t;if(e&&i&&n){if(this!==t&&this.layout&&n&&rx(this.options.animationType,this.layout.layoutBox,n.layoutBox)){i=this.target||ns();let e=i1(this.layout.layoutBox.x);i.x.min=t.target.x.min,i.x.max=i.x.min+e;let n=i1(this.layout.layoutBox.y);i.y.min=t.target.y.min,i.y.max=i.y.min+n}nZ(e,i),nb(e,r),i6(this.projectionDeltaWithTransform,this.layoutCorrected,e,r)}}registerSharedNode(t,e){this.sharedNodes.has(t)||this.sharedNodes.set(t,new n0),this.sharedNodes.get(t).add(e);let i=e.options.initialPromotionConfig;e.promote({transition:i?i.transition:void 0,preserveFollowOpacity:i&&i.shouldPreserveFollowOpacity?i.shouldPreserveFollowOpacity(e):void 0})}isLead(){let t=this.getStack();return!t||t.lead===this}getLead(){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:i}={}){let n=this.getStack();n&&n.promote(this,i),t&&(this.projectionDelta=void 0,this.needsReset=!0),e&&this.setOptions({transition:e})}relegate(){let t=this.getStack();return!!t&&t.relegate(this)}resetRotation(){let{visualElement:t}=this.options;if(!t)return;let e=!1,{latestValues:i}=t;if((i.rotate||i.rotateX||i.rotateY||i.rotateZ)&&(e=!0),!e)return;let n={};for(let e=0;e<n6.length;e++){let r="rotate"+n6[e];i[r]&&(n[r]=i[r],t.setStaticValue(r,0))}for(let e in t.render(),n)t.setStaticValue(e,n[e]);t.scheduleRender()}getProjectionStyles(t){var e,i;if(!this.instance||this.isSVG)return;if(!this.isVisible)return n8;let n={visibility:""},r=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,n.opacity="",n.pointerEvents=tM(null==t?void 0:t.pointerEvents)||"",n.transform=r?r(this.latestValues,""):"none",n;let s=this.getLead();if(!this.projectionDelta||!this.layout||!s.target){let e={};return this.options.layoutId&&(e.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,e.pointerEvents=tM(null==t?void 0:t.pointerEvents)||""),this.hasProjected&&!nh(this.latestValues)&&(e.transform=r?r({},""):"none",this.hasProjected=!1),e}let o=s.animationValues||s.latestValues;this.applyTransformsToTarget(),n.transform=n1(this.projectionDeltaWithTransform,this.treeScale,o),r&&(n.transform=r(o,n.transform));let{x:a,y:l}=this.projectionDelta;for(let t in n.transformOrigin=`${100*a.origin}% ${100*l.origin}% 0`,s.animationValues?n.opacity=s===this?null!==(i=null!==(e=o.opacity)&&void 0!==e?e:this.latestValues.opacity)&&void 0!==i?i:1:this.preserveOpacity?this.latestValues.opacity:o.opacityExit:n.opacity=s===this?void 0!==o.opacity?o.opacity:"":void 0!==o.opacityExit?o.opacityExit:0,R){if(void 0===o[t])continue;let{correct:e,applyTo:i}=R[t],r="none"===n.transform?o[t]:e(o[t],s);if(i){let t=i.length;for(let e=0;e<t;e++)n[i[e]]=r}else n[t]=r}return this.options.layoutId&&(n.pointerEvents=s===this?tM(null==t?void 0:t.pointerEvents)||"":"none"),n}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}
5resetTree(){this.root.nodes.forEach(t=>{var e;return null===(e=t.currentAnimation)||void 0===e?void 0:e.stop()}),this.root.nodes.forEach(rr),this.root.sharedNodes.clear()}}}function n4(t){t.updateLayout()}function rt(t){var e;let i=(null===(e=t.resumeFrom)||void 0===e?void 0:e.snapshot)||t.snapshot;if(t.isLead()&&t.layout&&i&&t.hasListeners("didUpdate")){let{layoutBox:e,measuredBox:n}=t.layout,{animationType:r}=t.options,s=i.source!==t.layout.source;"size"===r?no(t=>{let n=s?i.measuredBox[t]:i.layoutBox[t],r=i1(n);n.min=e[t].min,n.max=n.min+r}):rx(r,i.layoutBox,e)&&no(n=>{let r=s?i.measuredBox[n]:i.layoutBox[n],o=i1(e[n]);r.max=r.min+o,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[n].max=t.relativeTarget[n].min+o)});let o=nn();i6(o,e,i.layoutBox);let a=nn();s?i6(a,t.applyTransform(n,!0),i.measuredBox):i6(a,e,i.layoutBox);let l=!nK(o),u=!1;if(!t.resumeFrom){let n=t.getClosestProjectingParent();if(n&&!n.resumeFrom){let{snapshot:r,layout:s}=n;if(r&&s){let o=ns();i5(o,i.layoutBox,r.layoutBox);let a=ns();i5(a,e,s.layoutBox),nJ(o,a)||(u=!0),n.options.layoutRoot&&(t.relativeTarget=a,t.relativeTargetOrigin=o,t.relativeParent=n)}}}t.notifyListeners("didUpdate",{layout:e,snapshot:i,delta:a,layoutDelta:o,hasLayoutChanged:l,hasRelativeTargetChanged:u})}else if(t.isLead()){let{onExitComplete:e}=t.options;e&&e()}t.options.transition=void 0}function re(t){n5.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 ri(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function rn(t){t.clearSnapshot()}function rr(t){t.clearMeasurements()}function rs(t){t.isLayoutDirty=!1}function ro(t){let{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function ra(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function rl(t){t.resolveTargetDelta()}function ru(t){t.calcProjection()}function rh(t){t.resetRotation()}function rc(t){t.removeLeadSnapshot()}function rd(t,e,i){t.translate=eM(e.translate,0,i),t.scale=eM(e.scale,1,i),t.origin=e.origin,t.originPoint=e.originPoint}function rp(t,e,i,n){t.min=eM(e.min,i.min,n),t.max=eM(e.max,i.max,n)}function rf(t){return t.animationValues&&void 0!==t.animationValues.opacityExit}let rm={duration:.45,ease:[.4,0,.1,1]},rg=t=>"undefined"!=typeof navigator&&navigator.userAgent.toLowerCase().includes(t),rv=rg("applewebkit/")&&!rg("chrome/")?Math.round:tJ.Z;function ry(t){t.min=rv(t.min),t.max=rv(t.max)}function rx(t,e,i){return"position"===t||"preserve-aspect"===t&&!i2(nQ(e),nQ(i),.2)}let rb=n7({attachResizeListener:(t,e)=>tF(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),rC={current:void 0},rw=n7({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!rC.current){let t=new rb({});t.mount(window),t.setOptions({layoutScroll:!0}),rC.current=t}return rC.current},resetTransform:(t,e)=>{t.style.transform=void 0!==e?e:"none"},checkIsScrollRoot:t=>"fixed"===window.getComputedStyle(t).position}),rP=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function rT(t,e,i=1){(0,t4.k)(i<=4,`Max CSS variable fallback depth detected in property "${t}". This may indicate a circular fallback dependency.`);let[n,r]=function(t){let e=rP.exec(t);if(!e)return[,];let[,i,n]=e;return[i,n]}(t);if(!n)return;let s=window.getComputedStyle(e).getPropertyValue(n);if(s){let t=s.trim();return ij(t)?parseFloat(t):t}return H(r)?rT(r,e,i+1):r}let rA=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),rS=t=>rA.has(t),rj=t=>Object.keys(t).some(rS),rE=t=>t===$||t===ti,rk=(t,e)=>parseFloat(t.split(", ")[e]),rM=(t,e)=>(i,{transform:n})=>{if("none"===n||!n)return 0;let r=n.match(/^matrix3d\((.+)\)$/);if(r)return rk(r[1],e);{let e=n.match(/^matrix\((.+)\)$/);return e?rk(e[1],t):0}},rV=new Set(["x","y","z"]),rL=D.filter(t=>
5!rV.has(t)),rR={width:({x:t},{paddingLeft:e="0",paddingRight:i="0"})=>t.max-t.min-parseFloat(e)-parseFloat(i),height:({y:t},{paddingTop:e="0",paddingBottom:i="0"})=>t.max-t.min-parseFloat(e)-parseFloat(i),top:(t,{top:e})=>parseFloat(e),left:(t,{left:e})=>parseFloat(e),bottom:({y:t},{top:e})=>parseFloat(e)+(t.max-t.min),right:({x:t},{left:e})=>parseFloat(e)+(t.max-t.min),x:rM(4,13),y:rM(5,14)};rR.translateX=rR.x,rR.translateY=rR.y;let rD=(t,e,i)=>{let n=e.measureViewportBox(),r=e.current,s=getComputedStyle(r),{display:o}=s,a={};"none"===o&&e.setStaticValue("display",t.display||"block"),i.forEach(t=>{a[t]=rR[t](n,s)}),e.render();let l=e.measureViewportBox();return i.forEach(i=>{let n=e.getValue(i);n&&n.jump(a[i]),t[i]=rR[i](l,s)}),t},rF=(t,e,i={},n={})=>{e={...e},n={...n};let r=Object.keys(e).filter(rS),s=[],o=!1,a=[];if(r.forEach(r=>{let l;let u=t.getValue(r);if(!t.hasValue(r))return;let h=i[r],c=iB(h),d=e[r];if(tj(d)){let t=d.length,e=null===d[0]?1:0;c=iB(h=d[e]);for(let i=e;i<t&&null!==d[i];i++)l?(0,t4.k)(iB(d[i])===l,"All keyframes must be of the same type"):(l=iB(d[i]),(0,t4.k)(l===c||rE(c)&&rE(l),"Keyframes must be of the same dimension as the current value"))}else l=iB(d);if(c!==l){if(rE(c)&&rE(l)){let t=u.get();"string"==typeof t&&u.set(parseFloat(t)),"string"==typeof d?e[r]=parseFloat(d):Array.isArray(d)&&l===ti&&(e[r]=d.map(parseFloat))}else(null==c?void 0:c.transform)&&(null==l?void 0:l.transform)&&(0===h||0===d)?0===h?u.set(l.transform(h)):e[r]=c.transform(d):(o||(s=function(t){let e=[];return rL.forEach(i=>{let n=t.getValue(i);void 0!==n&&(e.push([i,n.get()]),n.set(i.startsWith("scale")?1:0))}),e.length&&t.render(),e}(t),o=!0),a.push(r),n[r]=void 0!==n[r]?n[r]:e[r],u.jump(d))}}),!a.length)return{target:e,transitionEnd:n};{let i=a.indexOf("height")>=0?window.pageYOffset:null,r=rD(e,t,a);return s.length&&s.forEach(([e,i])=>{t.getValue(e).set(i)}),t.render(),j.j&&null!==i&&window.scrollTo({top:i}),{target:r,transitionEnd:n}}},rO=(t,e,i,n)=>{var r,s;let o=function(t,{...e},i){let n=t.current;if(!(n instanceof Element))return{target:e,transitionEnd:i};for(let r in i&&(i={...i}),t.values.forEach(t=>{let e=t.get();if(!H(e))return;let i=rT(e,n);i&&t.set(i)}),e){let t=e[r];if(!H(t))continue;let s=rT(t,n);s&&(e[r]=s,i||(i={}),void 0===i[r]&&(i[r]=t))}return{target:e,transitionEnd:i}}(t,e,n);return e=o.target,n=o.transitionEnd,r=e,s=n,rj(r)?rF(t,r,i,s):{target:r,transitionEnd:s}},rB={current:null},rN={current:!1},rI=new WeakMap,rW=Object.keys(S),rU=rW.length,rH=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],r_=C.length;class rZ{constructor({parent:t,props:e,presenceContext:i,reducedMotionConfig:n,visualState:r},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=()=>tL.Wi.render(this.render,!1,!0);let{latestValues:o,renderState:a}=r;this.latestValues=o,this.baseTarget={...o},this.initialValues=e.initial?{...o}:{},this.renderState=a,this.parent=t,this.props=e,this.presenceContext=i,this.depth=t?t.depth+1:0,this.reducedMotionConfig=n,this.options=s,this.isControllingVariants=w(e),this.isVariantNode=P(e),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);let{willChange:l,...u}=this.scrapeMotionValuesFromProps(e,{});for(let t in u){let e=u[t];void 0!==o[t]&&B(e)&&(e.set(o[t],!1),iS(l)&&l.add(t))}}scrapeMotionValuesFromProps(t,e){return{}}mount(t){this.current=t,rI.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.forEac
5h((t,e)=>this.bindToMotionValue(e,t)),rN.current||function(){if(rN.current=!0,j.j){if(window.matchMedia){let t=window.matchMedia("(prefers-reduced-motion)"),e=()=>rB.current=t.matches;t.addListener(e),e()}else rB.current=!1}}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||rB.current),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){for(let t in rI.delete(this.current),this.projection&&this.projection.unmount(),(0,tL.Pn)(this.notifyUpdate),(0,tL.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 i=F.has(t),n=e.on("change",e=>{this.latestValues[t]=e,this.props.onUpdate&&tL.Wi.update(this.notifyUpdate,!1,!0),i&&this.projection&&(this.projection.isTransformDirty=!0)}),r=e.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(t,()=>{n(),r()})}sortNodePosition(t){return this.current&&this.sortInstanceNodePosition&&this.type===t.type?this.sortInstanceNodePosition(this.current,t.current):0}loadFeatures({children:t,...e},i,n,r){let s,o;for(let t=0;t<rU;t++){let i=rW[t],{isEnabled:n,Feature:r,ProjectionNode:a,MeasureLayout:l}=S[i];a&&(s=a),n(e)&&(!this.features[i]&&r&&(this.features[i]=new r(this)),l&&(o=l))}if(("html"===this.type||"svg"===this.type)&&!this.projection&&s){this.projection=new s(this.latestValues,this.parent&&this.parent.projection);let{layoutId:t,layout:i,drag:n,dragConstraints:o,layoutScroll:a,layoutRoot:l}=e;this.projection.setOptions({layoutId:t,layout:i,alwaysMeasureLayout:!!n||o&&v(o),visualElement:this,scheduleRender:()=>this.scheduleRender(),animationType:"string"==typeof i?i:"both",initialPromotionConfig:r,layoutScroll:a,layoutRoot:l})}return o}updateFeatures(){for(let t in this.features){let e=this.features[t];e.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):ns()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,e){this.latestValues[t]=e}makeTargetAnimatable(t,e=!0){return this.makeTargetAnimatableFromInstance(t,e)}update(t,e){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=e;for(let e=0;e<rH.length;e++){let i=rH[e];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);let n=t["on"+i];n&&(this.propEventSubscriptions[i]=this.on(i,n))}this.prevMotionValues=function(t,e,i){let{willChange:n}=e;for(let r in e){let s=e[r],o=i[r];if(B(s))t.addValue(r,s),iS(n)&&n.add(r);else if(B(o))t.addValue(r,iD(s,{owner:t})),iS(n)&&n.remove(r);else if(o!==s){if(t.hasValue(r)){let e=t.getValue(r);e.hasAnimated||e.set(s)}else{let e=t.getStaticValue(r);t.addValue(r,iD(void 0!==e?e:s,{owner:t}))}}}for(let n in i)void 0===e[n]&&t.removeValue(n);return e}(this,this.scrapeMotionValuesFromProps(t,this.prevProps),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}getVariantContext(t=!1){if(t)return this.parent?this.parent.getVariantContext():void 0;if(!this.isControllingVariants){let t=this.parent&&this.parent.getVariantContext()||{};return void 0!==this.props.initial&&(t.initial=this.props.initial),t}let e={};for(let t=0;t<r_;t++){let i=C[t],n=this.props[i];(y(n)||!1===n)&&(e[i]=n)}return e}addVariantChild(t){let e=this.getClosestVariantNode();if(e)return e.variantChildren&&e.variantChildren.add(t),()=>e.variantChildren.delete(t)}addValue(t,e){e!==this.values.get(t)&&(this.removeValue(t),this.bindToMotionValue(t,e)),this.values.set(t,e),this.latestValues[t]=e.get()}removeValue(t){this.values.delete(t);let e=this.valueSubscriptions.get(t);e&&(e(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,e){if(this.props.values&&this.props.values[t])return this.props.values[t];let i=this.values.get(t);return void 0===i&&void 0!==e&&(i=iD(e,{owner:this}),this.addValue(t,i)),i}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:i}=this.props,n="string"==typeof i||"object"==typeof i?null===(e=tA(this.props,i))||void 0===e?void 0:e[t]:void 0;if(i&&void 0!==n)return n;let r=this.getBaseTargetFromProps(this.props,t);return void 0===r||B(r)?void 0!==this.initialValues[t]&&void 0===n?void 0:this.baseTarget[t]:r}on(t,e){return this.events[t]||(this.events[t]=new iM),this.events[t].add(e)}notify(t,...e){this.events[t]&&this.events[t].notify(...e)}}class r$ extends rZ{sortInstanceNodePosition(t,e){return 2&t.compareDocumentPosition(e)?1:-1}getBaseTargetFromProps(t,e){return t.style?t.style[e]:void 0}removeValueFromRenderState(t,{vars:e,style:i}){delete e[t],delete i[t]}makeTargetAnimatableFromInstance({transition:t,transitionEnd:e,...i}
5,n){let r=function(t,e,i){let n={};for(let r in t){let t=function(t,e){if(e)return(e[t]||e.default||e).from}(r,e);if(void 0!==t)n[r]=t;else{let t=i.getValue(r);t&&(n[r]=t.get())}}return n}(i,t||{},this);if(n){!function(t,e,i){var n,r;let s=Object.keys(e).filter(e=>!t.hasValue(e)),o=s.length;if(o)for(let a=0;a<o;a++){let o=s[a],l=e[o],u=null;Array.isArray(l)&&(u=l[0]),null===u&&(u=null!==(r=null!==(n=i[o])&&void 0!==n?n:t.readValue(o))&&void 0!==r?r:e[o]),null!=u&&("string"==typeof u&&(ij(u)||iP(u))?u=parseFloat(u):!iI(u)&&e$.test(l)&&(u=iw(o,l)),t.addValue(o,iD(u,{owner:t})),void 0===i[o]&&(i[o]=u),null!==u&&t.setBaseTarget(o,u))}}(this,i,r);let t=rO(this,i,r,e);e=t.transitionEnd,i=t.target}return{transition:t,transitionEnd:e,...i}}}class rz extends r${constructor(){super(...arguments),this.type="html"}readValueFromInstance(t,e){if(F.has(e)){let t=iC(e);return t&&t.default||0}{let i=window.getComputedStyle(t),n=(U(e)?i.getPropertyValue(e):i[e])||0;return"string"==typeof n?n.trim():n}}measureInstanceViewportBox(t,{transformPagePoint:e}){return nC(t,e)}build(t,e,i,n){tl(t,e,i,n.transformTemplate)}scrapeMotionValuesFromProps(t,e){return tP(t,e)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:t}=this.props;B(t)&&(this.childSubscription=t.on("change",t=>{this.current&&(this.current.textContent=`${t}`)}))}renderInstance(t,e,i,n){tb(t,e,i,n)}}class rY extends r${constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1}getBaseTargetFromProps(t,e){return t[e]}readValueFromInstance(t,e){if(F.has(e)){let t=iC(e);return t&&t.default||0}return e=tC.has(e)?e:p(e),t.getAttribute(e)}measureInstanceViewportBox(){return ns()}scrapeMotionValuesFromProps(t,e){return tT(t,e)}
5build(t,e,i,n){tv(t,e,i,this.isSVGTag,n.transformTemplate)}renderInstance(t,e,i,n){tw(t,e,i,n)}mount(t){this.isSVGTag=tx(t.tagName),super.mount(t)}}let rq=(t,e)=>L(t)?new rY(e,{enableHardwareAcceleration:!1}):new rz(e,{enableHardwareAcceleration:!0}),rX={animation:{Feature:iz},exit:{Feature:iq},inView:{Feature:t9},tap:{Feature:t0},focus:{Feature:tG},hover:{Feature:tX},pan:{Feature:nE},drag:{Feature:nS,ProjectionNode:rw,MeasureLayout:nR},layout:{ProjectionNode:rw,MeasureLayout:nR}},rG=function(t){function e(e,i={}){return function({preloadedFeatures:t,createVisualElement:e,useRender:i,useVisualState:n,Component:r}){t&&function(t){for(let e in t)S[e]={...S[e],...t[e]}}(t);let s=(0,a.forwardRef)(function(s,o){var p;let g;let x={...(0,a.useContext)(l),...s,layoutId:function({layoutId:t}){let e=(0,a.useContext)(E.p).id;return e&&void 0!==t?e+"-"+t:t}(s)},{isStatic:b}=x,C=function(t){let{initial:e,animate:i}=function(t,e){if(w(t)){let{initial:e,animate:i}=t;return{initial:!1===e||y(e)?e:void 0,animate:y(i)?i:void 0}}return!1!==t.inherit?e:{}}(t,(0,a.useContext)(u));return(0,a.useMemo)(()=>({initial:e,animate:i}),[T(e),T(i)])}(s),P=n(s,b);if(!b&&j.j){C.visualElement=function(t,e,i,n){let{visualElement:r}=(0,a.useContext)(u),s=(0,a.useContext)(d),o=(0,a.useContext)(h.O),p=(0,a.useContext)(l).reducedMotion,g=(0,a.useRef)();n=n||s.renderer,!g.current&&n&&(g.current=n(t,{visualState:e,parent:r,props:i,presenceContext:o,blockInitialAnimation:!!o&&!1===o.initial,reducedMotionConfig:p}));let v=g.current;(0,a.useInsertionEffect)(()=>{v&&v.update(i,o)});let y=(0,a.useRef)(!!(i[f]&&!window.HandoffComplete));return(0,c.L)(()=>{v&&(m.postRender(v.render),y.current&&v.animationState&&v.animationState.animateChanges())}),(0,a.useEffect)(()=>{v&&(v.updateFeatures(),!y.current&&v.animationState&&v.animationState.animateChanges(),y.current&&(y.current=!1,window.HandoffComplete=!0))}),v}(r,P,x,e);let i=(0,a.useContext)(k),n=(0,a.useContext)(d).strict;C.visualElement&&(g=C.visualElement.loadFeatures(x,n,t,i))}return a.createElement(u.Provider,{value:C},g&&C.visualElement?a.createElement(g,{visualElement:C.visualElement,...x}):null,i(r,s,(p=C.visualElement,(0,a.useCallback)(t=>{t&&P.mount&&P.mount(t),p&&(t?p.mount(t):p.unmount()),o&&("function"==typeof o?o(t):v(o)&&(o.current=t))},[p])),P,b,C.visualElement))});return s[M]=r,s}(t(e,i))}if("undefined"==typeof Proxy)return e;let i=new Map;return new Proxy(e,{get:(t,n)=>(i.has(n)||i.set(n,e(n)),i.get(n))})}((t,e)=>(function(t,{forwardMotionProps:e=!1},i,n){return{...L(t)?tR:tD,preloadedFeatures:i,useRender:function(t=!1){return(e,i,n,{latestValues:r},s)=>{let o=(L(e)?function(t,e,i,n){let r=(0,a.useMemo)(()=>{let i=ty();return tv(i,e,{enableHardwareAcceleration:!1},tx(n),t.transformTemplate),{...i.attrs,style:{...i.style}}},[e]);if(t.style){let e={};th(e,t.style,t),r.style={...e,...r.style}}return r}:function(t,e,i){let n={},r=function(t,e,i){let n=t.style||{},r={};return th(r,n,t),Object.assign(r,function({transformTemplate:t},e,i){return(0,a.useMemo)(()=>{let n=tu();return tl(n,e,{enableHardwareAcceleration:!i},t),Object.assign({},n.vars,n.style)},[e])}(t,e,i)),r}(t,e,i);return t.drag&&!1!==t.dragListener&&(n.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout="none",r.touchAction=!0===t.drag?"none":`pan-${"x"===t.drag?"y":"x"}`),void 0===t.tabIndex&&(t.onTap||t.onTapStart||t.whileTap)&&(n.tabIndex=0),n.style=r,n})(i,r,s,e),l={...function(t,e,i){let n={};for(let r in t)("values"!==r||"object"!=typeof t.values)&&(tp(r)||!0===i&&td(r)||!e&&!td(r)||t.draggable&&r.startsWith("onDrag"))&&(n[r]=t[r]);return n}(i,"string"==typeof e,t),...o,ref:n},{children:u}=i,h=(0,a.useMemo)(()=>B(u)?u.get():u,[u]);return(0,a.createElement)(e,{...l,children:h})}}(e),createVisualElement:n,Component:t}})(t,e,rX,rq))},2081:function(t,e,i){"use strict";i.d(e,{c:function(){return n}});let n={skipAnimations:!1,useManualTiming:!1}},5487:function(t,e,i){"use strict";i.d(e,{K:function(){return r},k:function(){return s}});var n=i(1662);let r=n.Z,s=n.Z},1741:function(t,e,i){"use strict";i.d(e,{j:function(){return n}});let n="undefined"!=typeof document}
5,1662:function(t,e,i){"use strict";i.d(e,{Z:function(){return n}});let n=t=>t},6681:function(t,e,i){"use strict";i.d(e,{h:function(){return r}});var n=i(7294);function r(t){let e=(0,n.useRef)(null);return null===e.current&&(e.current=t()),e.current}},8868:function(t,e,i){"use strict";i.d(e,{L:function(){return r}});var n=i(7294);let r=i(1741).j?n.useLayoutEffect:n.useEffect}},function(t){var e=function(e){return t(t.s=e)};t.O(0,[774,179],function(){return e(6840),e(3035)}),_N_E=t.O()}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.