diff options
author | github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> | 2022-09-27 14:34:31 +0000 |
---|---|---|
committer | github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> | 2022-09-27 14:34:31 +0000 |
commit | 6bf6a5eecc1fa7ddbb1fcda85e08fe9c393f9298 (patch) | |
tree | 5d49607334f00a1f5ea78309372de7dad4006967 /out | |
parent | 6f783297f37e95d083b32a7160afcb55e309e883 (diff) |
chore: build
Diffstat (limited to 'out')
-rw-r--r-- | out/404.html | 2 | ||||
-rw-r--r-- | out/_next/static/OY7xgp5amTQ-MjS0RPi98/_buildManifest.js (renamed from out/_next/static/jl9qrr_7bhMugoK5uUQaL/_buildManifest.js) | 2 | ||||
-rw-r--r-- | out/_next/static/OY7xgp5amTQ-MjS0RPi98/_ssgManifest.js (renamed from out/_next/static/jl9qrr_7bhMugoK5uUQaL/_ssgManifest.js) | 0 | ||||
-rw-r--r-- | out/_next/static/chunks/pages/_app-0446451a5624316e6d5d.js | 1 | ||||
-rw-r--r-- | out/_next/static/chunks/pages/_app-5686c15726fcbac980ca.js | 1 | ||||
-rw-r--r-- | out/_next/static/chunks/pages/index-d0602a908c162f7c5496.js | 1 | ||||
-rw-r--r-- | out/_next/static/chunks/pages/index-f954a7866bfdd966749e.js | 1 | ||||
-rw-r--r-- | out/index.html | 2 |
8 files changed, 5 insertions, 5 deletions
diff --git a/out/404.html b/out/404.html index 3bdcf06..7b1f0b0 100644 --- a/out/404.html +++ b/out/404.html @@ -1 +1 @@ -<!DOCTYPE html><html><head><meta name="viewport" content="width=device-width"/><meta charSet="utf-8"/><title>404: This page could not be found</title><meta name="next-head-count" content="3"/><link rel="preload" href="/_next/static/css/a37ded5ec4cf14937ec5.css" as="style"/><link rel="stylesheet" href="/_next/static/css/a37ded5ec4cf14937ec5.css" data-n-g=""/><noscript data-n-css=""></noscript><script defer="" nomodule="" src="/_next/static/chunks/polyfills-a40ef1678bae11e696dba45124eadd70.js"></script><script src="/_next/static/chunks/webpack-97b7769aa68ab46953a1.js" defer=""></script><script src="/_next/static/chunks/framework-a62d654bd9699da79f2a.js" defer=""></script><script src="/_next/static/chunks/main-80dde85f3cea1551bba1.js" defer=""></script><script src="/_next/static/chunks/pages/_app-0446451a5624316e6d5d.js" defer=""></script><script src="/_next/static/chunks/pages/_error-ea939aab753d9e9db3bd.js" defer=""></script><script src="/_next/static/jl9qrr_7bhMugoK5uUQaL/_buildManifest.js" defer=""></script><script src="/_next/static/jl9qrr_7bhMugoK5uUQaL/_ssgManifest.js" defer=""></script></head><body><div id="__next"><style data-emotion="css-global 8u9pn4">:host,:root{--chakra-ring-inset:var(--chakra-empty,/*!*/ /*!*/);--chakra-ring-offset-width:0px;--chakra-ring-offset-color:#fff;--chakra-ring-color:rgba(66, 153, 225, 0.6);--chakra-ring-offset-shadow:0 0 #0000;--chakra-ring-shadow:0 0 #0000;--chakra-space-x-reverse:0;--chakra-space-y-reverse:0;--chakra-colors-transparent:transparent;--chakra-colors-current:currentColor;--chakra-colors-black:#bbc2cf;--chakra-colors-white:#242730;--chakra-colors-whiteAlpha-50:rgba(255, 255, 255, 0.04);--chakra-colors-whiteAlpha-100:rgba(255, 255, 255, 0.06);--chakra-colors-whiteAlpha-200:rgba(255, 255, 255, 0.08);--chakra-colors-whiteAlpha-300:rgba(255, 255, 255, 0.16);--chakra-colors-whiteAlpha-400:rgba(255, 255, 255, 0.24);--chakra-colors-whiteAlpha-500:rgba(255, 255, 255, 0.36);--chakra-colors-whiteAlpha-600:rgba(255, 255, 255, 0.48);--chakra-colors-whiteAlpha-700:rgba(255, 255, 255, 0.64);--chakra-colors-whiteAlpha-800:rgba(255, 255, 255, 0.80);--chakra-colors-whiteAlpha-900:rgba(255, 255, 255, 0.92);--chakra-colors-blackAlpha-50:rgba(0, 0, 0, 0.04);--chakra-colors-blackAlpha-100:rgba(0, 0, 0, 0.06);--chakra-colors-blackAlpha-200:rgba(0, 0, 0, 0.08);--chakra-colors-blackAlpha-300:rgba(0, 0, 0, 0.16);--chakra-colors-blackAlpha-400:rgba(0, 0, 0, 0.24);--chakra-colors-blackAlpha-500:rgba(0, 0, 0, 0.36);--chakra-colors-blackAlpha-600:rgba(0, 0, 0, 0.48);--chakra-colors-blackAlpha-700:rgba(0, 0, 0, 0.64);--chakra-colors-blackAlpha-800:rgba(0, 0, 0, 0.80);--chakra-colors-blackAlpha-900:rgba(0, 0, 0, 0.92);--chakra-colors-gray-50:#F7FAFC;--chakra-colors-gray-100:#1c1f24;--chakra-colors-gray-200:rgb(29, 33, 38);--chakra-colors-gray-300:#21272d;--chakra-colors-gray-400:#23272e;--chakra-colors-gray-500:#484854;--chakra-colors-gray-600:#62686E;--chakra-colors-gray-700:#757B80;--chakra-colors-gray-800:#9ca0a4;--chakra-colors-gray-900:#DFDFDF;--chakra-colors-red-50:#FFF5F5;--chakra-colors-red-100:#FED7D7;--chakra-colors-red-200:#FEB2B2;--chakra-colors-red-300:#FC8181;--chakra-colors-red-400:#F56565;--chakra-colors-red-500:#ff665c;--chakra-colors-red-600:#C53030;--chakra-colors-red-700:#9B2C2C;--chakra-colors-red-800:#822727;--chakra-colors-red-900:#63171B;--chakra-colors-orange-50:#FFFAF0;--chakra-colors-orange-100:#FEEBC8;--chakra-colors-orange-200:#FBD38D;--chakra-colors-orange-300:#F6AD55;--chakra-colors-orange-400:#ED8936;--chakra-colors-orange-500:#e69055;--chakra-colors-orange-600:#C05621;--chakra-colors-orange-700:#9C4221;--chakra-colors-orange-800:#7B341E;--chakra-colors-orange-900:#652B19;--chakra-colors-yellow-50:#FFFFF0;--chakra-colors-yellow-100:#FEFCBF;--chakra-colors-yellow-200:#FAF089;--chakra-colors-yellow-300:#F6E05E;--chakra-colors-yellow-400:#ECC94B;--chakra-colors-yellow-500:#FCCE7B;--chakra-colors-yellow-600:#B7791F;--chakra-colors-yellow-700:#975A16;--chakra-colors-yellow-800:#744210;--chakra-colors-yellow-900:#5F370E;--chakra-colors-green-50:#F0FFF4;--chakra-colors-green-100:#C6F6D5;--chakra-colors-green-200:#9AE6B4;--chakra-colors-green-300:#68D391;--chakra-colors-green-400:#48BB78;--chakra-colors-green-500:#7bc275;--chakra-colors-green-600:#2F855A;--chakra-colors-green-700:#276749;--chakra-colors-green-800:#22543D;--chakra-colors-green-900:#1C4532;--chakra-colors-teal-50:#E6FFFA;--chakra-colors-teal-100:#B2F5EA;--chakra-colors-teal-200:#81E6D9;--chakra-colors-teal-300:#4FD1C5;--chakra-colors-teal-400:#38B2AC;--chakra-colors-teal-500:#51afef;--chakra-colors-teal-600:#2C7A7B;--chakra-colors-teal-700:#285E61;--chakra-colors-teal-800:#234E52;--chakra-colors-teal-900:#1D4044;--chakra-colors-blue-50:#ebf8ff;--chakra-colors-blue-100:#bee3f8;--chakra-colors-blue-200:#90cdf4;--chakra-colors-blue-300:#63b3ed;--chakra-colors-blue-400:#4299e1;--chakra-colors-blue-500:#51afef;--chakra-colors-blue-600:#2b6cb0;--chakra-colors-blue-700:#2c5282;--chakra-colors-blue-800:#2a4365;--chakra-colors-blue-900:#1A365D;--chakra-colors-cyan-50:#EDFDFD;--chakra-colors-cyan-100:#C4F1F9;--chakra-colors-cyan-200:#9DECF9;--chakra-colors-cyan-300:#76E4F7;--chakra-colors-cyan-400:#0BC5EA;--chakra-colors-cyan-500:#5cEfFF;--chakra-colors-cyan-600:#00A3C4;--chakra-colors-cyan-700:#0987A0;--chakra-colors-cyan-800:#086F83;--chakra-colors-cyan-900:#065666;--chakra-colors-purple-50:#FAF5FF;--chakra-colors-purple-100:#E9D8FD;--chakra-colors-purple-200:#D6BCFA;--chakra-colors-purple-300:#B794F4;--chakra-colors-purple-400:#9F7AEA;--chakra-colors-purple-500:#a991f1;--chakra-colors-purple-600:#6B46C1;--chakra-colors-purple-700:#553C9A;--chakra-colors-purple-800:#44337A;--chakra-colors-purple-900:#322659;--chakra-colors-pink-50:#FFF5F7;--chakra-colors-pink-100:#FED7E2;--chakra-colors-pink-200:#FBB6CE;--chakra-colors-pink-300:#F687B3;--chakra-colors-pink-400:#ED64A6;--chakra-colors-pink-500:#C57BDB;--chakra-colors-pink-600:#B83280;--chakra-colors-pink-700:#97266D;--chakra-colors-pink-800:#702459;--chakra-colors-pink-900:#521B41;--chakra-colors-linkedin-50:#E8F4F9;--chakra-colors-linkedin-100:#CFEDFB;--chakra-colors-linkedin-200:#9BDAF3;--chakra-colors-linkedin-300:#68C7EC;--chakra-colors-linkedin-400:#34B3E4;--chakra-colors-linkedin-500:#00A0DC;--chakra-colors-linkedin-600:#008CC9;--chakra-colors-linkedin-700:#0077B5;--chakra-colors-linkedin-800:#005E93;--chakra-colors-linkedin-900:#004471;--chakra-colors-facebook-50:#E8F4F9;--chakra-colors-facebook-100:#D9DEE9;--chakra-colors-facebook-200:#B7C2DA;--chakra-colors-facebook-300:#6482C0;--chakra-colors-facebook-400:#4267B2;--chakra-colors-facebook-500:#385898;--chakra-colors-facebook-600:#314E89;--chakra-colors-facebook-700:#29487D;--chakra-colors-facebook-800:#223B67;--chakra-colors-facebook-900:#1E355B;--chakra-colors-messenger-50:#D0E6FF;--chakra-colors-messenger-100:#B9DAFF;--chakra-colors-messenger-200:#A2CDFF;--chakra-colors-messenger-300:#7AB8FF;--chakra-colors-messenger-400:#2E90FF;--chakra-colors-messenger-500:#0078FF;--chakra-colors-messenger-600:#0063D1;--chakra-colors-messenger-700:#0052AC;--chakra-colors-messenger-800:#003C7E;--chakra-colors-messenger-900:#002C5C;--chakra-colors-whatsapp-50:#dffeec;--chakra-colors-whatsapp-100:#b9f5d0;--chakra-colors-whatsapp-200:#90edb3;--chakra-colors-whatsapp-300:#65e495;--chakra-colors-whatsapp-400:#3cdd78;--chakra-colors-whatsapp-500:#22c35e;--chakra-colors-whatsapp-600:#179848;--chakra-colors-whatsapp-700:#0c6c33;--chakra-colors-whatsapp-800:#01421c;--chakra-colors-whatsapp-900:#001803;--chakra-colors-twitter-50:#E5F4FD;--chakra-colors-twitter-100:#C8E9FB;--chakra-colors-twitter-200:#A8DCFA;--chakra-colors-twitter-300:#83CDF7;--chakra-colors-twitter-400:#57BBF5;--chakra-colors-twitter-500:#1DA1F2;--chakra-colors-twitter-600:#1A94DA;--chakra-colors-twitter-700:#1681BF;--chakra-colors-twitter-800:#136B9E;--chakra-colors-twitter-900:#0D4D71;--chakra-colors-telegram-50:#E3F2F9;--chakra-colors-telegram-100:#C5E4F3;--chakra-colors-telegram-200:#A2D4EC;--chakra-colors-telegram-300:#7AC1E4;--chakra-colors-telegram-400:#47A9DA;--chakra-colors-telegram-500:#0088CC;--chakra-colors-telegram-600:#007AB8;--chakra-colors-telegram-700:#006BA1;--chakra-colors-telegram-800:#005885;--chakra-colors-telegram-900:#003F5E;--chakra-colors-alt-100:#2a2e38;--chakra-colors-alt-900:#5D656B;--chakra-borders-none:0;--chakra-borders-1px:1px solid;--chakra-borders-2px:2px solid;--chakra-borders-4px:4px solid;--chakra-borders-8px:8px solid;--chakra-fonts-heading:-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";--chakra-fonts-body:-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";--chakra-fonts-mono:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--chakra-fontSizes-xs:0.75rem;--chakra-fontSizes-sm:0.875rem;--chakra-fontSizes-md:1rem;--chakra-fontSizes-lg:1.125rem;--chakra-fontSizes-xl:1.25rem;--chakra-fontSizes-2xl:1.5rem;--chakra-fontSizes-3xl:1.875rem;--chakra-fontSizes-4xl:2.25rem;--chakra-fontSizes-5xl:3rem;--chakra-fontSizes-6xl:3.75rem;--chakra-fontSizes-7xl:4.5rem;--chakra-fontSizes-8xl:6rem;--chakra-fontSizes-9xl:8rem;--chakra-fontWeights-hairline:100;--chakra-fontWeights-thin:200;--chakra-fontWeights-light:300;--chakra-fontWeights-normal:400;--chakra-fontWeights-medium:500;--chakra-fontWeights-semibold:600;--chakra-fontWeights-bold:700;--chakra-fontWeights-extrabold:800;--chakra-fontWeights-black:900;--chakra-letterSpacings-tighter:-0.05em;--chakra-letterSpacings-tight:-0.025em;--chakra-letterSpacings-normal:0;--chakra-letterSpacings-wide:0.025em;--chakra-letterSpacings-wider:0.05em;--chakra-letterSpacings-widest:0.1em;--chakra-lineHeights-3:.75rem;--chakra-lineHeights-4:1rem;--chakra-lineHeights-5:1.25rem;--chakra-lineHeights-6:1.5rem;--chakra-lineHeights-7:1.75rem;--chakra-lineHeights-8:2rem;--chakra-lineHeights-9:2.25rem;--chakra-lineHeights-10:2.5rem;--chakra-lineHeights-normal:normal;--chakra-lineHeights-none:1;--chakra-lineHeights-shorter:1.25;--chakra-lineHeights-short:1.375;--chakra-lineHeights-base:1.5;--chakra-lineHeights-tall:1.625;--chakra-lineHeights-taller:2;--chakra-radii-none:0;--chakra-radii-sm:0.125rem;--chakra-radii-base:0.25rem;--chakra-radii-md:0.375rem;--chakra-radii-lg:0.5rem;--chakra-radii-xl:0.75rem;--chakra-radii-2xl:1rem;--chakra-radii-3xl:1.5rem;--chakra-radii-full:9999px;--chakra-space-1:0.25rem;--chakra-space-2:0.5rem;--chakra-space-3:0.75rem;--chakra-space-4:1rem;--chakra-space-5:1.25rem;--chakra-space-6:1.5rem;--chakra-space-7:1.75rem;--chakra-space-8:2rem;--chakra-space-9:2.25rem;--chakra-space-10:2.5rem;--chakra-space-12:3rem;--chakra-space-14:3.5rem;--chakra-space-16:4rem;--chakra-space-20:5rem;--chakra-space-24:6rem;--chakra-space-28:7rem;--chakra-space-32:8rem;--chakra-space-36:9rem;--chakra-space-40:10rem;--chakra-space-44:11rem;--chakra-space-48:12rem;--chakra-space-52:13rem;--chakra-space-56:14rem;--chakra-space-60:15rem;--chakra-space-64:16rem;--chakra-space-72:18rem;--chakra-space-80:20rem;--chakra-space-96:24rem;--chakra-space-px:1px;--chakra-space-0-5:0.125rem;--chakra-space-1-5:0.375rem;--chakra-space-2-5:0.625rem;--chakra-space-3-5:0.875rem;--chakra-shadows-xs:0 0 0 1px rgba(0, 0, 0, 0.05);--chakra-shadows-sm:0 1px 2px 0 rgba(0, 0, 0, 0.05);--chakra-shadows-base:0 1px 3px 0 rgba(0, 0, 0, 0.1),0 1px 2px 0 rgba(0, 0, 0, 0.06);--chakra-shadows-md:0 4px 6px -1px rgba(0, 0, 0, 0.1),0 2px 4px -1px rgba(0, 0, 0, 0.06);--chakra-shadows-lg:0 10px 15px -3px rgba(0, 0, 0, 0.1),0 4px 6px -2px rgba(0, 0, 0, 0.05);--chakra-shadows-xl:0 20px 25px -5px rgba(0, 0, 0, 0.1),0 10px 10px -5px rgba(0, 0, 0, 0.04);--chakra-shadows-2xl:0 25px 50px -12px rgba(0, 0, 0, 0.25);--chakra-shadows-outline:0 0 0 3px #a991f1aa;--chakra-shadows-inner:inset 0 2px 4px 0 rgba(0,0,0,0.06);--chakra-shadows-none:none;--chakra-shadows-dark-lg:rgba(0, 0, 0, 0.1) 0px 0px 0px 1px,rgba(0, 0, 0, 0.2) 0px 5px 10px,rgba(0, 0, 0, 0.4) 0px 15px 40px;--chakra-sizes-1:0.25rem;--chakra-sizes-2:0.5rem;--chakra-sizes-3:0.75rem;--chakra-sizes-4:1rem;--chakra-sizes-5:1.25rem;--chakra-sizes-6:1.5rem;--chakra-sizes-7:1.75rem;--chakra-sizes-8:2rem;--chakra-sizes-9:2.25rem;--chakra-sizes-10:2.5rem;--chakra-sizes-12:3rem;--chakra-sizes-14:3.5rem;--chakra-sizes-16:4rem;--chakra-sizes-20:5rem;--chakra-sizes-24:6rem;--chakra-sizes-28:7rem;--chakra-sizes-32:8rem;--chakra-sizes-36:9rem;--chakra-sizes-40:10rem;--chakra-sizes-44:11rem;--chakra-sizes-48:12rem;--chakra-sizes-52:13rem;--chakra-sizes-56:14rem;--chakra-sizes-60:15rem;--chakra-sizes-64:16rem;--chakra-sizes-72:18rem;--chakra-sizes-80:20rem;--chakra-sizes-96:24rem;--chakra-sizes-px:1px;--chakra-sizes-0-5:0.125rem;--chakra-sizes-1-5:0.375rem;--chakra-sizes-2-5:0.625rem;--chakra-sizes-3-5:0.875rem;--chakra-sizes-max:max-content;--chakra-sizes-min:min-content;--chakra-sizes-full:100%;--chakra-sizes-3xs:14rem;--chakra-sizes-2xs:16rem;--chakra-sizes-xs:20rem;--chakra-sizes-sm:24rem;--chakra-sizes-md:28rem;--chakra-sizes-lg:32rem;--chakra-sizes-xl:36rem;--chakra-sizes-2xl:42rem;--chakra-sizes-3xl:48rem;--chakra-sizes-4xl:56rem;--chakra-sizes-5xl:64rem;--chakra-sizes-6xl:72rem;--chakra-sizes-7xl:80rem;--chakra-sizes-8xl:90rem;--chakra-sizes-container-sm:640px;--chakra-sizes-container-md:768px;--chakra-sizes-container-lg:1024px;--chakra-sizes-container-xl:1280px;--chakra-zIndices-hide:-1;--chakra-zIndices-auto:auto;--chakra-zIndices-base:0;--chakra-zIndices-docked:10;--chakra-zIndices-dropdown:1000;--chakra-zIndices-sticky:1100;--chakra-zIndices-banner:1200;--chakra-zIndices-overlay:1300;--chakra-zIndices-modal:1400;--chakra-zIndices-popover:1500;--chakra-zIndices-skipLink:1600;--chakra-zIndices-toast:1700;--chakra-zIndices-tooltip:1800;--chakra-transition-property-common:background-color,border-color,color,fill,stroke,opacity,box-shadow,transform;--chakra-transition-property-colors:background-color,border-color,color,fill,stroke;--chakra-transition-property-dimensions:width,height;--chakra-transition-property-position:left,right,top,bottom;--chakra-transition-property-background:background-color,background-image,background-position;--chakra-transition-easing-ease-in:cubic-bezier(0.4, 0, 1, 1);--chakra-transition-easing-ease-out:cubic-bezier(0, 0, 0.2, 1);--chakra-transition-easing-ease-in-out:cubic-bezier(0.4, 0, 0.2, 1);--chakra-transition-duration-ultra-fast:50ms;--chakra-transition-duration-faster:100ms;--chakra-transition-duration-fast:150ms;--chakra-transition-duration-normal:200ms;--chakra-transition-duration-slow:300ms;--chakra-transition-duration-slower:400ms;--chakra-transition-duration-ultra-slow:500ms;--chakra-blur-none:0;--chakra-blur-sm:4px;--chakra-blur-base:8px;--chakra-blur-md:12px;--chakra-blur-lg:16px;--chakra-blur-xl:24px;--chakra-blur-2xl:40px;--chakra-blur-3xl:64px;}</style><style data-emotion="css-global 1jqlf9g">html{line-height:1.5;-webkit-text-size-adjust:100%;font-family:system-ui,sans-serif;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale;touch-action:manipulation;}body{position:relative;min-height:100%;font-feature-settings:'kern';}*,*::before,*::after{border-width:0;border-style:solid;box-sizing:border-box;}main{display:block;}hr{border-top-width:1px;box-sizing:content-box;height:0;overflow:visible;}pre,code,kbd,samp{font-family:SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:1em;}a{background-color:transparent;color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit;}abbr[title]{border-bottom:none;-webkit-text-decoration:underline;text-decoration:underline;-webkit-text-decoration:underline dotted;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;}b,strong{font-weight:bold;}small{font-size:80%;}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline;}sub{bottom:-0.25em;}sup{top:-0.5em;}img{border-style:none;}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible;}button,select{text-transform:none;}button::-moz-focus-inner,[type="button"]::-moz-focus-inner,[type="reset"]::-moz-focus-inner,[type="submit"]::-moz-focus-inner{border-style:none;padding:0;}fieldset{padding:0.35em 0.75em 0.625em;}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline;}textarea{overflow:auto;}[type="checkbox"],[type="radio"]{box-sizing:border-box;padding:0;}[type="number"]::-webkit-inner-spin-button,[type="number"]::-webkit-outer-spin-button{-webkit-appearance:none!important;}input[type="number"]{-moz-appearance:textfield;}[type="search"]{-webkit-appearance:textfield;outline-offset:-2px;}[type="search"]::-webkit-search-decoration{-webkit-appearance:none!important;}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block;}summary{display:-webkit-box;display:-webkit-list-item;display:-ms-list-itembox;display:list-item;}template{display:none;}[hidden]{display:none!important;}body,blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0;}button{background:transparent;padding:0;}fieldset{margin:0;padding:0;}ol,ul{margin:0;padding:0;}textarea{resize:vertical;}button,[role="button"]{cursor:pointer;}button::-moz-focus-inner{border:0!important;}table{border-collapse:collapse;}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit;}button,input,optgroup,select,textarea{padding:0;line-height:inherit;color:inherit;}img,svg,video,canvas,audio,iframe,embed,object{display:block;}img,video{max-width:100%;height:auto;}[data-js-focus-visible] :focus:not([data-focus-visible-added]){outline:none;box-shadow:none;}select::-ms-expand{display:none;}</style><style data-emotion="css-global 1baqkrf">body{font-family:var(--chakra-fonts-body);color:var(--chakra-colors-gray-800);background:var(--chakra-colors-white);transition-property:background-color;transition-duration:var(--chakra-transition-duration-normal);line-height:var(--chakra-lineHeights-base);}*::-webkit-input-placeholder{color:var(--chakra-colors-gray-400);}*::-moz-placeholder{color:var(--chakra-colors-gray-400);}*:-ms-input-placeholder{color:var(--chakra-colors-gray-400);}*::placeholder{color:var(--chakra-colors-gray-400);}*,*::before,::after{border-color:var(--chakra-colors-gray-200);word-wrap:break-word;}</style><div style="color:#000;background:#fff;font-family:-apple-system, BlinkMacSystemFont, Roboto, "Segoe UI", "Fira Sans", Avenir, "Helvetica Neue", "Lucida Grande", sans-serif;height:100vh;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center"><div><style>body { margin: 0 }</style><h1 style="display:inline-block;border-right:1px solid rgba(0, 0, 0,.3);margin:0;margin-right:20px;padding:10px 23px 10px 0;font-size:24px;font-weight:500;vertical-align:top">404</h1><div style="display:inline-block;text-align:left;line-height:49px;height:49px;vertical-align:middle"><h2 style="font-size:14px;font-weight:normal;line-height:inherit;margin:0;padding:0">This page could not be found<!-- -->.</h2></div></div></div><span></span></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{"statusCode":404}},"page":"/_error","query":{},"buildId":"jl9qrr_7bhMugoK5uUQaL","nextExport":true,"isFallback":false,"gip":true,"scriptLoader":[]}</script></body></html>
\ No newline at end of file +<!DOCTYPE html><html><head><meta name="viewport" content="width=device-width"/><meta charSet="utf-8"/><title>404: This page could not be found</title><meta name="next-head-count" content="3"/><link rel="preload" href="/_next/static/css/a37ded5ec4cf14937ec5.css" as="style"/><link rel="stylesheet" href="/_next/static/css/a37ded5ec4cf14937ec5.css" data-n-g=""/><noscript data-n-css=""></noscript><script defer="" nomodule="" src="/_next/static/chunks/polyfills-a40ef1678bae11e696dba45124eadd70.js"></script><script src="/_next/static/chunks/webpack-97b7769aa68ab46953a1.js" defer=""></script><script src="/_next/static/chunks/framework-a62d654bd9699da79f2a.js" defer=""></script><script src="/_next/static/chunks/main-80dde85f3cea1551bba1.js" defer=""></script><script src="/_next/static/chunks/pages/_app-5686c15726fcbac980ca.js" defer=""></script><script src="/_next/static/chunks/pages/_error-ea939aab753d9e9db3bd.js" defer=""></script><script src="/_next/static/OY7xgp5amTQ-MjS0RPi98/_buildManifest.js" defer=""></script><script src="/_next/static/OY7xgp5amTQ-MjS0RPi98/_ssgManifest.js" defer=""></script></head><body><div id="__next"><style data-emotion="css-global 8u9pn4">:host,:root{--chakra-ring-inset:var(--chakra-empty,/*!*/ /*!*/);--chakra-ring-offset-width:0px;--chakra-ring-offset-color:#fff;--chakra-ring-color:rgba(66, 153, 225, 0.6);--chakra-ring-offset-shadow:0 0 #0000;--chakra-ring-shadow:0 0 #0000;--chakra-space-x-reverse:0;--chakra-space-y-reverse:0;--chakra-colors-transparent:transparent;--chakra-colors-current:currentColor;--chakra-colors-black:#bbc2cf;--chakra-colors-white:#242730;--chakra-colors-whiteAlpha-50:rgba(255, 255, 255, 0.04);--chakra-colors-whiteAlpha-100:rgba(255, 255, 255, 0.06);--chakra-colors-whiteAlpha-200:rgba(255, 255, 255, 0.08);--chakra-colors-whiteAlpha-300:rgba(255, 255, 255, 0.16);--chakra-colors-whiteAlpha-400:rgba(255, 255, 255, 0.24);--chakra-colors-whiteAlpha-500:rgba(255, 255, 255, 0.36);--chakra-colors-whiteAlpha-600:rgba(255, 255, 255, 0.48);--chakra-colors-whiteAlpha-700:rgba(255, 255, 255, 0.64);--chakra-colors-whiteAlpha-800:rgba(255, 255, 255, 0.80);--chakra-colors-whiteAlpha-900:rgba(255, 255, 255, 0.92);--chakra-colors-blackAlpha-50:rgba(0, 0, 0, 0.04);--chakra-colors-blackAlpha-100:rgba(0, 0, 0, 0.06);--chakra-colors-blackAlpha-200:rgba(0, 0, 0, 0.08);--chakra-colors-blackAlpha-300:rgba(0, 0, 0, 0.16);--chakra-colors-blackAlpha-400:rgba(0, 0, 0, 0.24);--chakra-colors-blackAlpha-500:rgba(0, 0, 0, 0.36);--chakra-colors-blackAlpha-600:rgba(0, 0, 0, 0.48);--chakra-colors-blackAlpha-700:rgba(0, 0, 0, 0.64);--chakra-colors-blackAlpha-800:rgba(0, 0, 0, 0.80);--chakra-colors-blackAlpha-900:rgba(0, 0, 0, 0.92);--chakra-colors-gray-50:#F7FAFC;--chakra-colors-gray-100:#1c1f24;--chakra-colors-gray-200:rgb(29, 33, 38);--chakra-colors-gray-300:#21272d;--chakra-colors-gray-400:#23272e;--chakra-colors-gray-500:#484854;--chakra-colors-gray-600:#62686E;--chakra-colors-gray-700:#757B80;--chakra-colors-gray-800:#9ca0a4;--chakra-colors-gray-900:#DFDFDF;--chakra-colors-red-50:#FFF5F5;--chakra-colors-red-100:#FED7D7;--chakra-colors-red-200:#FEB2B2;--chakra-colors-red-300:#FC8181;--chakra-colors-red-400:#F56565;--chakra-colors-red-500:#ff665c;--chakra-colors-red-600:#C53030;--chakra-colors-red-700:#9B2C2C;--chakra-colors-red-800:#822727;--chakra-colors-red-900:#63171B;--chakra-colors-orange-50:#FFFAF0;--chakra-colors-orange-100:#FEEBC8;--chakra-colors-orange-200:#FBD38D;--chakra-colors-orange-300:#F6AD55;--chakra-colors-orange-400:#ED8936;--chakra-colors-orange-500:#e69055;--chakra-colors-orange-600:#C05621;--chakra-colors-orange-700:#9C4221;--chakra-colors-orange-800:#7B341E;--chakra-colors-orange-900:#652B19;--chakra-colors-yellow-50:#FFFFF0;--chakra-colors-yellow-100:#FEFCBF;--chakra-colors-yellow-200:#FAF089;--chakra-colors-yellow-300:#F6E05E;--chakra-colors-yellow-400:#ECC94B;--chakra-colors-yellow-500:#FCCE7B;--chakra-colors-yellow-600:#B7791F;--chakra-colors-yellow-700:#975A16;--chakra-colors-yellow-800:#744210;--chakra-colors-yellow-900:#5F370E;--chakra-colors-green-50:#F0FFF4;--chakra-colors-green-100:#C6F6D5;--chakra-colors-green-200:#9AE6B4;--chakra-colors-green-300:#68D391;--chakra-colors-green-400:#48BB78;--chakra-colors-green-500:#7bc275;--chakra-colors-green-600:#2F855A;--chakra-colors-green-700:#276749;--chakra-colors-green-800:#22543D;--chakra-colors-green-900:#1C4532;--chakra-colors-teal-50:#E6FFFA;--chakra-colors-teal-100:#B2F5EA;--chakra-colors-teal-200:#81E6D9;--chakra-colors-teal-300:#4FD1C5;--chakra-colors-teal-400:#38B2AC;--chakra-colors-teal-500:#51afef;--chakra-colors-teal-600:#2C7A7B;--chakra-colors-teal-700:#285E61;--chakra-colors-teal-800:#234E52;--chakra-colors-teal-900:#1D4044;--chakra-colors-blue-50:#ebf8ff;--chakra-colors-blue-100:#bee3f8;--chakra-colors-blue-200:#90cdf4;--chakra-colors-blue-300:#63b3ed;--chakra-colors-blue-400:#4299e1;--chakra-colors-blue-500:#51afef;--chakra-colors-blue-600:#2b6cb0;--chakra-colors-blue-700:#2c5282;--chakra-colors-blue-800:#2a4365;--chakra-colors-blue-900:#1A365D;--chakra-colors-cyan-50:#EDFDFD;--chakra-colors-cyan-100:#C4F1F9;--chakra-colors-cyan-200:#9DECF9;--chakra-colors-cyan-300:#76E4F7;--chakra-colors-cyan-400:#0BC5EA;--chakra-colors-cyan-500:#5cEfFF;--chakra-colors-cyan-600:#00A3C4;--chakra-colors-cyan-700:#0987A0;--chakra-colors-cyan-800:#086F83;--chakra-colors-cyan-900:#065666;--chakra-colors-purple-50:#FAF5FF;--chakra-colors-purple-100:#E9D8FD;--chakra-colors-purple-200:#D6BCFA;--chakra-colors-purple-300:#B794F4;--chakra-colors-purple-400:#9F7AEA;--chakra-colors-purple-500:#a991f1;--chakra-colors-purple-600:#6B46C1;--chakra-colors-purple-700:#553C9A;--chakra-colors-purple-800:#44337A;--chakra-colors-purple-900:#322659;--chakra-colors-pink-50:#FFF5F7;--chakra-colors-pink-100:#FED7E2;--chakra-colors-pink-200:#FBB6CE;--chakra-colors-pink-300:#F687B3;--chakra-colors-pink-400:#ED64A6;--chakra-colors-pink-500:#C57BDB;--chakra-colors-pink-600:#B83280;--chakra-colors-pink-700:#97266D;--chakra-colors-pink-800:#702459;--chakra-colors-pink-900:#521B41;--chakra-colors-linkedin-50:#E8F4F9;--chakra-colors-linkedin-100:#CFEDFB;--chakra-colors-linkedin-200:#9BDAF3;--chakra-colors-linkedin-300:#68C7EC;--chakra-colors-linkedin-400:#34B3E4;--chakra-colors-linkedin-500:#00A0DC;--chakra-colors-linkedin-600:#008CC9;--chakra-colors-linkedin-700:#0077B5;--chakra-colors-linkedin-800:#005E93;--chakra-colors-linkedin-900:#004471;--chakra-colors-facebook-50:#E8F4F9;--chakra-colors-facebook-100:#D9DEE9;--chakra-colors-facebook-200:#B7C2DA;--chakra-colors-facebook-300:#6482C0;--chakra-colors-facebook-400:#4267B2;--chakra-colors-facebook-500:#385898;--chakra-colors-facebook-600:#314E89;--chakra-colors-facebook-700:#29487D;--chakra-colors-facebook-800:#223B67;--chakra-colors-facebook-900:#1E355B;--chakra-colors-messenger-50:#D0E6FF;--chakra-colors-messenger-100:#B9DAFF;--chakra-colors-messenger-200:#A2CDFF;--chakra-colors-messenger-300:#7AB8FF;--chakra-colors-messenger-400:#2E90FF;--chakra-colors-messenger-500:#0078FF;--chakra-colors-messenger-600:#0063D1;--chakra-colors-messenger-700:#0052AC;--chakra-colors-messenger-800:#003C7E;--chakra-colors-messenger-900:#002C5C;--chakra-colors-whatsapp-50:#dffeec;--chakra-colors-whatsapp-100:#b9f5d0;--chakra-colors-whatsapp-200:#90edb3;--chakra-colors-whatsapp-300:#65e495;--chakra-colors-whatsapp-400:#3cdd78;--chakra-colors-whatsapp-500:#22c35e;--chakra-colors-whatsapp-600:#179848;--chakra-colors-whatsapp-700:#0c6c33;--chakra-colors-whatsapp-800:#01421c;--chakra-colors-whatsapp-900:#001803;--chakra-colors-twitter-50:#E5F4FD;--chakra-colors-twitter-100:#C8E9FB;--chakra-colors-twitter-200:#A8DCFA;--chakra-colors-twitter-300:#83CDF7;--chakra-colors-twitter-400:#57BBF5;--chakra-colors-twitter-500:#1DA1F2;--chakra-colors-twitter-600:#1A94DA;--chakra-colors-twitter-700:#1681BF;--chakra-colors-twitter-800:#136B9E;--chakra-colors-twitter-900:#0D4D71;--chakra-colors-telegram-50:#E3F2F9;--chakra-colors-telegram-100:#C5E4F3;--chakra-colors-telegram-200:#A2D4EC;--chakra-colors-telegram-300:#7AC1E4;--chakra-colors-telegram-400:#47A9DA;--chakra-colors-telegram-500:#0088CC;--chakra-colors-telegram-600:#007AB8;--chakra-colors-telegram-700:#006BA1;--chakra-colors-telegram-800:#005885;--chakra-colors-telegram-900:#003F5E;--chakra-colors-alt-100:#2a2e38;--chakra-colors-alt-900:#5D656B;--chakra-borders-none:0;--chakra-borders-1px:1px solid;--chakra-borders-2px:2px solid;--chakra-borders-4px:4px solid;--chakra-borders-8px:8px solid;--chakra-fonts-heading:-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";--chakra-fonts-body:-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";--chakra-fonts-mono:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--chakra-fontSizes-xs:0.75rem;--chakra-fontSizes-sm:0.875rem;--chakra-fontSizes-md:1rem;--chakra-fontSizes-lg:1.125rem;--chakra-fontSizes-xl:1.25rem;--chakra-fontSizes-2xl:1.5rem;--chakra-fontSizes-3xl:1.875rem;--chakra-fontSizes-4xl:2.25rem;--chakra-fontSizes-5xl:3rem;--chakra-fontSizes-6xl:3.75rem;--chakra-fontSizes-7xl:4.5rem;--chakra-fontSizes-8xl:6rem;--chakra-fontSizes-9xl:8rem;--chakra-fontWeights-hairline:100;--chakra-fontWeights-thin:200;--chakra-fontWeights-light:300;--chakra-fontWeights-normal:400;--chakra-fontWeights-medium:500;--chakra-fontWeights-semibold:600;--chakra-fontWeights-bold:700;--chakra-fontWeights-extrabold:800;--chakra-fontWeights-black:900;--chakra-letterSpacings-tighter:-0.05em;--chakra-letterSpacings-tight:-0.025em;--chakra-letterSpacings-normal:0;--chakra-letterSpacings-wide:0.025em;--chakra-letterSpacings-wider:0.05em;--chakra-letterSpacings-widest:0.1em;--chakra-lineHeights-3:.75rem;--chakra-lineHeights-4:1rem;--chakra-lineHeights-5:1.25rem;--chakra-lineHeights-6:1.5rem;--chakra-lineHeights-7:1.75rem;--chakra-lineHeights-8:2rem;--chakra-lineHeights-9:2.25rem;--chakra-lineHeights-10:2.5rem;--chakra-lineHeights-normal:normal;--chakra-lineHeights-none:1;--chakra-lineHeights-shorter:1.25;--chakra-lineHeights-short:1.375;--chakra-lineHeights-base:1.5;--chakra-lineHeights-tall:1.625;--chakra-lineHeights-taller:2;--chakra-radii-none:0;--chakra-radii-sm:0.125rem;--chakra-radii-base:0.25rem;--chakra-radii-md:0.375rem;--chakra-radii-lg:0.5rem;--chakra-radii-xl:0.75rem;--chakra-radii-2xl:1rem;--chakra-radii-3xl:1.5rem;--chakra-radii-full:9999px;--chakra-space-1:0.25rem;--chakra-space-2:0.5rem;--chakra-space-3:0.75rem;--chakra-space-4:1rem;--chakra-space-5:1.25rem;--chakra-space-6:1.5rem;--chakra-space-7:1.75rem;--chakra-space-8:2rem;--chakra-space-9:2.25rem;--chakra-space-10:2.5rem;--chakra-space-12:3rem;--chakra-space-14:3.5rem;--chakra-space-16:4rem;--chakra-space-20:5rem;--chakra-space-24:6rem;--chakra-space-28:7rem;--chakra-space-32:8rem;--chakra-space-36:9rem;--chakra-space-40:10rem;--chakra-space-44:11rem;--chakra-space-48:12rem;--chakra-space-52:13rem;--chakra-space-56:14rem;--chakra-space-60:15rem;--chakra-space-64:16rem;--chakra-space-72:18rem;--chakra-space-80:20rem;--chakra-space-96:24rem;--chakra-space-px:1px;--chakra-space-0-5:0.125rem;--chakra-space-1-5:0.375rem;--chakra-space-2-5:0.625rem;--chakra-space-3-5:0.875rem;--chakra-shadows-xs:0 0 0 1px rgba(0, 0, 0, 0.05);--chakra-shadows-sm:0 1px 2px 0 rgba(0, 0, 0, 0.05);--chakra-shadows-base:0 1px 3px 0 rgba(0, 0, 0, 0.1),0 1px 2px 0 rgba(0, 0, 0, 0.06);--chakra-shadows-md:0 4px 6px -1px rgba(0, 0, 0, 0.1),0 2px 4px -1px rgba(0, 0, 0, 0.06);--chakra-shadows-lg:0 10px 15px -3px rgba(0, 0, 0, 0.1),0 4px 6px -2px rgba(0, 0, 0, 0.05);--chakra-shadows-xl:0 20px 25px -5px rgba(0, 0, 0, 0.1),0 10px 10px -5px rgba(0, 0, 0, 0.04);--chakra-shadows-2xl:0 25px 50px -12px rgba(0, 0, 0, 0.25);--chakra-shadows-outline:0 0 0 3px #a991f1aa;--chakra-shadows-inner:inset 0 2px 4px 0 rgba(0,0,0,0.06);--chakra-shadows-none:none;--chakra-shadows-dark-lg:rgba(0, 0, 0, 0.1) 0px 0px 0px 1px,rgba(0, 0, 0, 0.2) 0px 5px 10px,rgba(0, 0, 0, 0.4) 0px 15px 40px;--chakra-sizes-1:0.25rem;--chakra-sizes-2:0.5rem;--chakra-sizes-3:0.75rem;--chakra-sizes-4:1rem;--chakra-sizes-5:1.25rem;--chakra-sizes-6:1.5rem;--chakra-sizes-7:1.75rem;--chakra-sizes-8:2rem;--chakra-sizes-9:2.25rem;--chakra-sizes-10:2.5rem;--chakra-sizes-12:3rem;--chakra-sizes-14:3.5rem;--chakra-sizes-16:4rem;--chakra-sizes-20:5rem;--chakra-sizes-24:6rem;--chakra-sizes-28:7rem;--chakra-sizes-32:8rem;--chakra-sizes-36:9rem;--chakra-sizes-40:10rem;--chakra-sizes-44:11rem;--chakra-sizes-48:12rem;--chakra-sizes-52:13rem;--chakra-sizes-56:14rem;--chakra-sizes-60:15rem;--chakra-sizes-64:16rem;--chakra-sizes-72:18rem;--chakra-sizes-80:20rem;--chakra-sizes-96:24rem;--chakra-sizes-px:1px;--chakra-sizes-0-5:0.125rem;--chakra-sizes-1-5:0.375rem;--chakra-sizes-2-5:0.625rem;--chakra-sizes-3-5:0.875rem;--chakra-sizes-max:max-content;--chakra-sizes-min:min-content;--chakra-sizes-full:100%;--chakra-sizes-3xs:14rem;--chakra-sizes-2xs:16rem;--chakra-sizes-xs:20rem;--chakra-sizes-sm:24rem;--chakra-sizes-md:28rem;--chakra-sizes-lg:32rem;--chakra-sizes-xl:36rem;--chakra-sizes-2xl:42rem;--chakra-sizes-3xl:48rem;--chakra-sizes-4xl:56rem;--chakra-sizes-5xl:64rem;--chakra-sizes-6xl:72rem;--chakra-sizes-7xl:80rem;--chakra-sizes-8xl:90rem;--chakra-sizes-container-sm:640px;--chakra-sizes-container-md:768px;--chakra-sizes-container-lg:1024px;--chakra-sizes-container-xl:1280px;--chakra-zIndices-hide:-1;--chakra-zIndices-auto:auto;--chakra-zIndices-base:0;--chakra-zIndices-docked:10;--chakra-zIndices-dropdown:1000;--chakra-zIndices-sticky:1100;--chakra-zIndices-banner:1200;--chakra-zIndices-overlay:1300;--chakra-zIndices-modal:1400;--chakra-zIndices-popover:1500;--chakra-zIndices-skipLink:1600;--chakra-zIndices-toast:1700;--chakra-zIndices-tooltip:1800;--chakra-transition-property-common:background-color,border-color,color,fill,stroke,opacity,box-shadow,transform;--chakra-transition-property-colors:background-color,border-color,color,fill,stroke;--chakra-transition-property-dimensions:width,height;--chakra-transition-property-position:left,right,top,bottom;--chakra-transition-property-background:background-color,background-image,background-position;--chakra-transition-easing-ease-in:cubic-bezier(0.4, 0, 1, 1);--chakra-transition-easing-ease-out:cubic-bezier(0, 0, 0.2, 1);--chakra-transition-easing-ease-in-out:cubic-bezier(0.4, 0, 0.2, 1);--chakra-transition-duration-ultra-fast:50ms;--chakra-transition-duration-faster:100ms;--chakra-transition-duration-fast:150ms;--chakra-transition-duration-normal:200ms;--chakra-transition-duration-slow:300ms;--chakra-transition-duration-slower:400ms;--chakra-transition-duration-ultra-slow:500ms;--chakra-blur-none:0;--chakra-blur-sm:4px;--chakra-blur-base:8px;--chakra-blur-md:12px;--chakra-blur-lg:16px;--chakra-blur-xl:24px;--chakra-blur-2xl:40px;--chakra-blur-3xl:64px;}</style><style data-emotion="css-global 1jqlf9g">html{line-height:1.5;-webkit-text-size-adjust:100%;font-family:system-ui,sans-serif;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale;touch-action:manipulation;}body{position:relative;min-height:100%;font-feature-settings:'kern';}*,*::before,*::after{border-width:0;border-style:solid;box-sizing:border-box;}main{display:block;}hr{border-top-width:1px;box-sizing:content-box;height:0;overflow:visible;}pre,code,kbd,samp{font-family:SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:1em;}a{background-color:transparent;color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit;}abbr[title]{border-bottom:none;-webkit-text-decoration:underline;text-decoration:underline;-webkit-text-decoration:underline dotted;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;}b,strong{font-weight:bold;}small{font-size:80%;}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline;}sub{bottom:-0.25em;}sup{top:-0.5em;}img{border-style:none;}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible;}button,select{text-transform:none;}button::-moz-focus-inner,[type="button"]::-moz-focus-inner,[type="reset"]::-moz-focus-inner,[type="submit"]::-moz-focus-inner{border-style:none;padding:0;}fieldset{padding:0.35em 0.75em 0.625em;}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline;}textarea{overflow:auto;}[type="checkbox"],[type="radio"]{box-sizing:border-box;padding:0;}[type="number"]::-webkit-inner-spin-button,[type="number"]::-webkit-outer-spin-button{-webkit-appearance:none!important;}input[type="number"]{-moz-appearance:textfield;}[type="search"]{-webkit-appearance:textfield;outline-offset:-2px;}[type="search"]::-webkit-search-decoration{-webkit-appearance:none!important;}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block;}summary{display:-webkit-box;display:-webkit-list-item;display:-ms-list-itembox;display:list-item;}template{display:none;}[hidden]{display:none!important;}body,blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0;}button{background:transparent;padding:0;}fieldset{margin:0;padding:0;}ol,ul{margin:0;padding:0;}textarea{resize:vertical;}button,[role="button"]{cursor:pointer;}button::-moz-focus-inner{border:0!important;}table{border-collapse:collapse;}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit;}button,input,optgroup,select,textarea{padding:0;line-height:inherit;color:inherit;}img,svg,video,canvas,audio,iframe,embed,object{display:block;}img,video{max-width:100%;height:auto;}[data-js-focus-visible] :focus:not([data-focus-visible-added]){outline:none;box-shadow:none;}select::-ms-expand{display:none;}</style><style data-emotion="css-global 1baqkrf">body{font-family:var(--chakra-fonts-body);color:var(--chakra-colors-gray-800);background:var(--chakra-colors-white);transition-property:background-color;transition-duration:var(--chakra-transition-duration-normal);line-height:var(--chakra-lineHeights-base);}*::-webkit-input-placeholder{color:var(--chakra-colors-gray-400);}*::-moz-placeholder{color:var(--chakra-colors-gray-400);}*:-ms-input-placeholder{color:var(--chakra-colors-gray-400);}*::placeholder{color:var(--chakra-colors-gray-400);}*,*::before,::after{border-color:var(--chakra-colors-gray-200);word-wrap:break-word;}</style><div style="color:#000;background:#fff;font-family:-apple-system, BlinkMacSystemFont, Roboto, "Segoe UI", "Fira Sans", Avenir, "Helvetica Neue", "Lucida Grande", sans-serif;height:100vh;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center"><div><style>body { margin: 0 }</style><h1 style="display:inline-block;border-right:1px solid rgba(0, 0, 0,.3);margin:0;margin-right:20px;padding:10px 23px 10px 0;font-size:24px;font-weight:500;vertical-align:top">404</h1><div style="display:inline-block;text-align:left;line-height:49px;height:49px;vertical-align:middle"><h2 style="font-size:14px;font-weight:normal;line-height:inherit;margin:0;padding:0">This page could not be found<!-- -->.</h2></div></div></div><span></span></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{"statusCode":404}},"page":"/_error","query":{},"buildId":"OY7xgp5amTQ-MjS0RPi98","nextExport":true,"isFallback":false,"gip":true,"scriptLoader":[]}</script></body></html>
\ No newline at end of file diff --git a/out/_next/static/jl9qrr_7bhMugoK5uUQaL/_buildManifest.js b/out/_next/static/OY7xgp5amTQ-MjS0RPi98/_buildManifest.js index c5407e2..d412b2e 100644 --- a/out/_next/static/jl9qrr_7bhMugoK5uUQaL/_buildManifest.js +++ b/out/_next/static/OY7xgp5amTQ-MjS0RPi98/_buildManifest.js @@ -1 +1 @@ -self.__BUILD_MANIFEST={__rewrites:{beforeFiles:[],afterFiles:[],fallback:[]},"/":["static/chunks/fb7d5399-9c00dff9225b87a317ed.js","static/chunks/17007de1-7d8b9c17ee7cc8107af3.js","static/chunks/252f366e-54a484ebfe8fe95dfdbb.js","static/chunks/95b64a6e-860b8751a48619de0c76.js","static/chunks/0c428ae2-753f1ebbec24c403674c.js","static/chunks/1a48c3c1-648f6631a5e9a5f8e954.js","static/chunks/b5f2ed29-b8c45246e6f61610d91f.js","static/chunks/d25bd147-2c59edc357c0e2372258.js","static/css/bdf775d76e641698f02f.css","static/chunks/879-09bfd8a9d59d1f41b6f4.js","static/chunks/pages/index-d0602a908c162f7c5496.js"],"/_error":["static/chunks/pages/_error-ea939aab753d9e9db3bd.js"],sortedPages:["/","/_app","/_error"]},self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB();
\ No newline at end of file +self.__BUILD_MANIFEST={__rewrites:{beforeFiles:[],afterFiles:[],fallback:[]},"/":["static/chunks/fb7d5399-9c00dff9225b87a317ed.js","static/chunks/17007de1-7d8b9c17ee7cc8107af3.js","static/chunks/252f366e-54a484ebfe8fe95dfdbb.js","static/chunks/95b64a6e-860b8751a48619de0c76.js","static/chunks/0c428ae2-753f1ebbec24c403674c.js","static/chunks/1a48c3c1-648f6631a5e9a5f8e954.js","static/chunks/b5f2ed29-b8c45246e6f61610d91f.js","static/chunks/d25bd147-2c59edc357c0e2372258.js","static/css/bdf775d76e641698f02f.css","static/chunks/879-09bfd8a9d59d1f41b6f4.js","static/chunks/pages/index-f954a7866bfdd966749e.js"],"/_error":["static/chunks/pages/_error-ea939aab753d9e9db3bd.js"],sortedPages:["/","/_app","/_error"]},self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB();
\ No newline at end of file diff --git a/out/_next/static/jl9qrr_7bhMugoK5uUQaL/_ssgManifest.js b/out/_next/static/OY7xgp5amTQ-MjS0RPi98/_ssgManifest.js index 0511aa8..0511aa8 100644 --- a/out/_next/static/jl9qrr_7bhMugoK5uUQaL/_ssgManifest.js +++ b/out/_next/static/OY7xgp5amTQ-MjS0RPi98/_ssgManifest.js diff --git a/out/_next/static/chunks/pages/_app-0446451a5624316e6d5d.js b/out/_next/static/chunks/pages/_app-0446451a5624316e6d5d.js deleted file mode 100644 index 7b79210..0000000 --- a/out/_next/static/chunks/pages/_app-0446451a5624316e6d5d.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[888],{20949:function(e,r,t){"use strict";t.d(r,{SG:function(){return y},If:function(){return v}});var n=t(85393),a=t(44592),o=t(67294);var i="chakra-ui-light",l="chakra-ui-dark",s={classList:{add:a.ZT,remove:a.ZT}};function c(e,r){var t=function(e){return a.jU?e.body:s}(r);t.classList.add(e?l:i),t.classList.remove(e?i:l)}var u="(prefers-color-scheme: dark)";function d(e){var r;return(null!=(r=function(e){var r=null==window.matchMedia?void 0:window.matchMedia(e);if(r)return!!r.media===r.matches}(u))?r:"dark"===e)?"dark":"light"}var f=function(){return document.documentElement.style.getPropertyValue("--chakra-ui-color-mode")||document.documentElement.dataset.theme},b=function(e){a.jU&&(document.documentElement.style.setProperty("--chakra-ui-color-mode",e),document.documentElement.setAttribute("data-theme",e))},p=function(){return"undefined"!==typeof Storage},g="chakra-ui-color-mode",h={get:function(e){if(!p())return e;try{var r=localStorage.getItem(g);return null!=r?r:e}catch(t){return a.Ts&&console.log(t),e}},set:function(e){if(p())try{localStorage.setItem(g,e)}catch(r){a.Ts&&console.log(r)}},type:"localStorage"},m=o.createContext({});a.Ts&&(m.displayName="ColorModeContext");var v=function(){var e=o.useContext(m);if(void 0===e)throw new Error("useColorMode must be used within a ColorModeProvider");return e};function y(e){var r=e.value,t=e.children,i=e.options,l=i.useSystemColorMode,s=i.initialColorMode,p=e.colorModeManager,g=void 0===p?h:p,v="dark"===s?"dark":"light",y=o.useState("cookie"===g.type?g.get(v):v),x=y[0],w=y[1],k=(0,n.O)().document;o.useEffect((function(){if(a.jU&&"localStorage"===g.type){var e=d(v);if(l)return w(e);var r=f(),t=g.get();return w(r?r:t||("system"===s?e:v))}}),[g,l,v,s]),o.useEffect((function(){var e="dark"===x;c(e,k),b(e?"dark":"light")}),[x,k]);var S=o.useCallback((function(e,r){if(void 0===r&&(r=!1),r){if(g.get()&&!l)return}else g.set(e);w(e)}),[g,l]),E=o.useCallback((function(){S("light"===x?"dark":"light")}),[x,S]);o.useEffect((function(){var e,r=l||"system"===s;return r&&(e=function(e){if(!("matchMedia"in window))return a.ZT;var r=window.matchMedia(u),t=function(){e(r.matches?"dark":"light",!0)};return r.addEventListener("change",t),function(){r.removeEventListener("change",t)}}(S)),function(){e&&r&&e()}}),[S,l,s]);var C=o.useMemo((function(){return{colorMode:null!=r?r:x,toggleColorMode:r?a.ZT:E,setColorMode:r?a.ZT:S}}),[x,S,E,r]);return o.createElement(m.Provider,{value:C},t)}a.Ts&&(y.displayName="ColorModeProvider");a.Ts;a.Ts},97375:function(e,r,t){"use strict";t.d(r,{vc:function(){return p},kt:function(){return l},pY:function(){return s},Tx:function(){return c},Di:function(){return u},qY:function(){return m},Ck:function(){return y},s9:function(){return w},Gp:function(){return S},NW:function(){return C},Me:function(){return g},ZS:function(){return h},II:function(){return A},qq:function(){return B},O3:function(){return _},PO:function(){return R},bx:function(){return T},zq:function(){return E},rf:function(){return v}});var n=t(67294),a=t(78698),o=(t(20640),t(44592)),i=t(70580);function l(e){void 0===e&&(e=!1);var r=(0,n.useState)(e),t=r[0],a=r[1];return[t,{on:(0,n.useCallback)((function(){a(!0)}),[]),off:(0,n.useCallback)((function(){a(!1)}),[]),toggle:(0,n.useCallback)((function(){a((function(e){return!e}))}),[])}]}function s(e,r){var t=void 0!==e;return[t,t&&"undefined"!==typeof e?e:r]}function c(e){var r=e.value,t=e.defaultValue,i=e.onChange,l=e.shouldUpdate,s=void 0===l?function(e,r){return e!==r}:l,c=(0,a.u)(i),u=(0,a.u)(s),d=n.useState(t),f=d[0],b=d[1],p=void 0!==r,g=p?r:f,h=n.useCallback((function(e){var r=(0,o.Pu)(e,g);u(g,r)&&(p||b(r),c(r))}),[p,c,g,u]);return[g,h]}function u(e,r){var t=n.useState(null),o=t[0],l=t[1],s=n.useRef();return(0,a.a)((function(){if(e.current){var t=e.current;return n(),r&&(window.addEventListener("resize",n),window.addEventListener("scroll",n)),function(){r&&(window.removeEventListener("resize",n),window.removeEventListener("scroll",n)),s.current&&cancelAnimationFrame(s.current)}}function n(){s.current=requestAnimationFrame((function(){var e=(0,i.iz)(t);l(e)}))}}),[r]),o}function d(){return(d=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e}).apply(this,arguments)}var f={current:1},b=n.createContext(f),p=n.memo((function(e){var r=e.children;return n.createElement(b.Provider,{value:{current:1}},r)}));function g(e,r){var t=n.useContext(b),a=n.useState(t.current),o=a[0],i=a[1];return n.useEffect((function(){i(function(e){return e.current++}(t))}),[t]),n.useMemo((function(){return e||[r,o].filter(Boolean).join("-")}),[e,r,o])}function h(e){for(var r=arguments.length,t=new Array(r>1?r-1:0),a=1;a<r;a++)t[a-1]=arguments[a];var o=g(e);return n.useMemo((function(){return t.map((function(e){return e+"-"+o}))}),[o,t])}function m(e){void 0===e&&(e={});var r=e,t=r.onClose,i=r.onOpen,l=r.isOpen,c=r.id,u=(0,a.u)(i),f=(0,a.u)(t),b=n.useState(e.defaultIsOpen||!1),p=b[0],h=b[1],m=s(l,p),v=m[0],y=m[1],x=g(c,"disclosure"),w=n.useCallback((function(){v||h(!1),null==f||f()}),[v,f]),k=n.useCallback((function(){v||h(!0),null==u||u()}),[v,u]),S=n.useCallback((function(){(y?w:k)()}),[y,k,w]);return{isOpen:!!y,onOpen:k,onClose:w,onToggle:S,isControlled:v,getButtonProps:function(e){return void 0===e&&(e={}),d({},e,{"aria-expanded":"true","aria-controls":x,onClick:(0,o.v0)(e.onClick,S)})},getDisclosureProps:function(e){return void 0===e&&(e={}),d({},e,{hidden:!y,id:x})}}}var v=function(e,r){var t=n.useRef(!1);return n.useEffect((function(){if(t.current)return e();t.current=!0}),r),t.current};function y(e,r){var t=r.shouldFocus,n=r.visible,a=r.focusRef,i=t&&!n;v((function(){if(i&&!function(e){var r=e.current;if(!r)return!1;var t=(0,o.vY)(r);return!!t&&!(0,o.r3)(r,t)&&!!(0,o.Wq)(t)}(e)){var r=(null==a?void 0:a.current)||e.current;r&&(0,o.T_)(r,{nextTick:!0})}}),[i,e,a])}function x(e,r,t,n){return(0,a.b)((0,o.f7)(r),(0,o.JN)(t,"pointerdown"===r),e,n)}function w(e){var r=e.ref,t=e.elements,n=e.enabled,a=(0,o.Ao)("Safari");x((function(){return(0,o.lZ)(r.current)}),"pointerdown",(function(e){if(a&&n){var i=e.target,l=(null!=t?t:[r]).some((function(e){var r=(0,o.Ik)(e)?e.current:e;return(0,o.r3)(r,i)}));!(0,o.H9)(i)&&l&&(e.preventDefault(),(0,o.T_)(i))}}))}var k={preventScroll:!0,shouldFocus:!1};function S(e,r){void 0===r&&(r=k);var t=r,i=t.focusRef,l=t.preventScroll,s=t.shouldFocus,c=t.visible,u=(0,o.Ik)(e)?e.current:e,d=s&&c,f=(0,n.useCallback)((function(){if(u&&d&&!(0,o.r3)(u,document.activeElement))if(null!=i&&i.current)(0,o.T_)(i.current,{preventScroll:l,nextTick:!0});else{var e=(0,o.t5)(u);e.length>0&&(0,o.T_)(e[0],{preventScroll:l,nextTick:!0})}}),[d,l,u,i]);v((function(){f()}),[f]),(0,a.b)("transitionend",f,u)}function E(e,r){return void 0===r&&(r=[]),n.useEffect((function(){return function(){return e()}}),r)}function C(){var e=n.useRef(!1),r=n.useState(0),t=r[0],a=r[1];return E((function(){e.current=!0})),n.useCallback((function(){e.current||a(t+1)}),[t])}function A(e){var r=n.useRef(null);return r.current=e,r}function F(e,r){if(null!=e)if("function"!==typeof e)try{e.current=r}catch(t){throw new Error("Cannot assign value '"+r+"' to ref '"+e+"'")}else e(r)}function B(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return n.useMemo((function(){return r.every((function(e){return null==e}))?null:function(e){r.forEach((function(r){r&&F(r,e)}))}}),r)}function _(e){var r=e.ref,t=e.handler,i=e.enabled,l=void 0===i||i,s=(0,a.u)(t),c=(0,n.useRef)({isPointerDown:!1,ignoreEmulatedMouseEvents:!1}).current;(0,n.useEffect)((function(){if(l){var e=function(e){D(e,r)&&(c.isPointerDown=!0)},n=function(e){c.ignoreEmulatedMouseEvents?c.ignoreEmulatedMouseEvents=!1:c.isPointerDown&&t&&D(e,r)&&(c.isPointerDown=!1,s(e))},a=function(e){c.ignoreEmulatedMouseEvents=!0,t&&c.isPointerDown&&D(e,r)&&(c.isPointerDown=!1,s(e))},i=(0,o.lZ)(r.current);return i.addEventListener("mousedown",e,!0),i.addEventListener("mouseup",n,!0),i.addEventListener("touchstart",e,!0),i.addEventListener("touchend",a,!0),function(){i.removeEventListener("mousedown",e,!0),i.removeEventListener("mouseup",n,!0),i.removeEventListener("touchstart",e,!0),i.removeEventListener("touchend",a,!0)}}}),[t,r,s,c,l])}function D(e,r){var t,n=e.target;if(e.button>0)return!1;if(n&&!(0,o.lZ)(n).body.contains(n))return!1;return!(null!=(t=r.current)&&t.contains(n))}function R(e,r){var t=r.onPan,a=r.onPanStart,i=r.onPanEnd,l=r.onPanSessionStart,s=r.onPanSessionEnd,c=r.threshold,u=Boolean(t||a||i||l||s),d=(0,n.useRef)(null),f={onSessionStart:l,onSessionEnd:s,onStart:a,onMove:t,onEnd:function(e,r){d.current=null,null==i||i(e,r)}};(0,n.useEffect)((function(){var e;null==(e=d.current)||e.updateHandlers(f)})),x((function(){return e.current}),"pointerdown",u?function(e){d.current=new o.Hc(e,f,c)}:o.ZT),E((function(){var e;null==(e=d.current)||e.end(),d.current=null}))}function T(e){void 0===e&&(e={});var r=e,t=r.timeout,a=void 0===t?300:t,o=r.preventDefault,i=void 0===o?function(){return!0}:o,l=n.useState([]),s=l[0],c=l[1],u=n.useRef(),d=function(){u.current&&(clearTimeout(u.current),u.current=null)};return n.useEffect((function(){return d}),[]),function(e){return function(r){if("Backspace"===r.key){var t=[].concat(s);return t.pop(),void c(t)}if(function(e){var r=e.key;return 1===r.length||r.length>1&&/[^a-zA-Z0-9]/.test(r)}(r)){var n=s.concat(r.key);i(r)&&(r.preventDefault(),r.stopPropagation()),c(n),e(n.join("")),d(),u.current=setTimeout((function(){c([]),u.current=null}),a)}}}}},78698:function(e,r,t){"use strict";t.d(r,{a:function(){return o},b:function(){return l},c:function(){return s},u:function(){return i}});var n=t(44592),a=t(67294),o=n.jU?a.useLayoutEffect:a.useEffect;function i(e,r){void 0===r&&(r=[]);var t=a.useRef(e);return o((function(){t.current=e})),a.useCallback((function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return null==t.current?void 0:t.current.apply(t,r)}),r)}function l(e,r,t,o){var l=i(r);return a.useEffect((function(){var r,a=null!=(r=(0,n.Pu)(t))?r:document;return a.addEventListener(e,l,o),function(){a.removeEventListener(e,l,o)}}),[e,t,o,l]),function(){var r;(null!=(r=(0,n.Pu)(t))?r:document).removeEventListener(e,l,o)}}function s(e){var r=e.isOpen,t=e.ref,o=(0,a.useState)(r),i=o[0],s=o[1],c=(0,a.useState)(!1),u=c[0],d=c[1];return(0,a.useEffect)((function(){u||(s(r),d(!0))}),[r,u,i]),l("animationend",(function(){s(r)}),(function(){return t.current})),{present:!(!r&&(!i&&u)),onComplete:function(){var e,r=new((0,n.kR)(t.current).CustomEvent)("animationend",{bubbles:!0});null==(e=t.current)||e.dispatchEvent(r)}}}},46871:function(e,r,t){"use strict";t.d(r,{h_:function(){return k},hE:function(){return f}});var n=t(44592),a=t(52829),o=t(67294),i=t(97375),l=t(78698),s=t(73935),c=(0,a.kr)({strict:!1,name:"PortalManagerContext"}),u=c[0],d=c[1];function f(e){var r=e.children,t=e.zIndex;return o.createElement(u,{value:{zIndex:t}},r)}function b(){return(b=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e}).apply(this,arguments)}n.Ts&&(f.displayName="PortalManager");var p=["containerRef"],g=(0,a.kr)({strict:!1,name:"PortalContext"}),h=g[0],m=g[1],v="chakra-portal",y=function(e){return o.createElement("div",{className:"chakra-portal-zIndex",style:{position:"absolute",zIndex:e.zIndex,top:0,left:0,right:0}},e.children)},x=function(e){var r=e.appendToParentPortal,t=e.children,n=o.useRef(null),a=o.useRef(null),c=(0,i.NW)(),u=m(),f=d();(0,l.a)((function(){if(n.current){var e=n.current.ownerDocument,t=r&&null!=u?u:e.body;if(t){a.current=e.createElement("div"),a.current.className=v,t.appendChild(a.current),c();var o=a.current;return function(){t.contains(o)&&t.removeChild(o)}}}}),[]);var b=null!=f&&f.zIndex?o.createElement(y,{zIndex:null==f?void 0:f.zIndex},t):t;return a.current?(0,s.createPortal)(o.createElement(h,{value:a.current},b),a.current):o.createElement("span",{ref:n})},w=function(e){var r=e.children,t=e.containerRef,a=e.appendToParentPortal,c=t.current,u=null!=c?c:n.jU?document.body:void 0,d=o.useMemo((function(){var e=null==c?void 0:c.ownerDocument.createElement("div");return e&&(e.className=v),e}),[c]),f=(0,i.NW)();return(0,l.a)((function(){f()}),[]),(0,l.a)((function(){if(d&&u)return u.appendChild(d),function(){u.removeChild(d)}}),[d,u]),u&&d?(0,s.createPortal)(o.createElement(h,{value:a?d:null},r),d):null};function k(e){var r=e.containerRef,t=function(e,r){if(null==e)return{};var t,n,a={},o=Object.keys(e);for(n=0;n<o.length;n++)t=o[n],r.indexOf(t)>=0||(a[t]=e[t]);return a}(e,p);return r?o.createElement(w,b({containerRef:r},t)):o.createElement(x,t)}k.defaultProps={appendToParentPortal:!0},k.className=v,k.selector=".chakra-portal",n.Ts&&(k.displayName="Portal")},85393:function(e,r,t){"use strict";t.d(r,{u:function(){return d},O:function(){return u}});var n=t(44592),a=t(67294),o={body:{classList:{add:function(){},remove:function(){}}},addEventListener:function(){},removeEventListener:function(){},activeElement:{blur:function(){},nodeName:""},querySelector:function(){return null},querySelectorAll:function(){return[]},getElementById:function(){return null},createEvent:function(){return{initEvent:function(){}}},createElement:function(){return{children:[],childNodes:[],style:{},setAttribute:function(){},getElementsByTagName:function(){return[]}}}},i=function(){},l={window:{document:o,navigator:{userAgent:""},CustomEvent:function(){return this},addEventListener:i,removeEventListener:i,getComputedStyle:function(){return{getPropertyValue:function(){return""}}},matchMedia:function(){return{matches:!1,addListener:i,removeListener:i}},requestAnimationFrame:function(e){return"undefined"===typeof setTimeout?(e(),null):setTimeout(e,0)},cancelAnimationFrame:function(e){"undefined"!==typeof setTimeout&&clearTimeout(e)},setTimeout:function(){return 0},clearTimeout:i,setInterval:function(){return 0},clearInterval:i},document:o},s=n.jU?{window:window,document:document}:l,c=(0,a.createContext)(s);function u(){return(0,a.useContext)(c)}function d(e){var r=e.children,t=e.environment,n=(0,a.useState)(null),o=n[0],i=n[1],l=(0,a.useMemo)((function(){var e,r=null==o?void 0:o.ownerDocument,n=null==o?void 0:o.ownerDocument.defaultView;return null!=(e=null!=t?t:r?{document:r,window:n}:void 0)?e:s}),[o,t]),u=!o&&!t;return a.createElement(c.Provider,{value:l},r,u&&a.createElement("span",{ref:function(e){e&&i(e)}}))}n.Ts&&(c.displayName="EnvironmentContext"),n.Ts&&(d.displayName="EnvironmentProvider")},52829:function(e,r,t){"use strict";t.d(r,{kr:function(){return s},WR:function(){return c},lq:function(){return l}});t(38554),t(9839);function n(e){return"function"===typeof e}!function(e){var r=new WeakMap}((function(e,r,t,n){var a="string"===typeof r?r.split("."):[r];for(n=0;n<a.length&&e;n+=1)e=e[a[n]];return void 0===e?t:e}));"undefined"===typeof window||!window.document||window.document.createElement;["input:not([disabled])","select:not([disabled])","textarea:not([disabled])","embed","iframe","object","a[href]","area[href]","button:not([disabled])","[tabindex]","audio[controls]","video[controls]","*[tabindex]:not([aria-disabled])","*[contenteditable]"].join();function a(e){var r;return function(){if(e){for(var t=arguments.length,n=new Array(t),a=0;a<t;a++)n[a]=arguments[a];r=e.apply(this,n),e=null}return r}}a((function(e){return function(){e.condition,e.message}})),a((function(e){return function(){e.condition,e.message}}));Number.MIN_SAFE_INTEGER,Number.MAX_SAFE_INTEGER;Object.freeze(["base","sm","md","lg","xl","2xl"]);var o=t(67294);function i(e,r){if(null!=e)if(n(e))e(r);else try{e.current=r}catch(t){throw new Error("Cannot assign value '"+r+"' to ref '"+e+"'")}}function l(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return function(e){r.forEach((function(r){return i(r,e)}))}}function s(e){void 0===e&&(e={});var r=e,t=r.strict,n=void 0===t||t,a=r.errorMessage,i=void 0===a?"useContext: `context` is undefined. Seems you forgot to wrap component within the Provider":a,l=r.name,s=o.createContext(void 0);return s.displayName=l,[s.Provider,function e(){var r=o.useContext(s);if(!r&&n){var t=new Error(i);throw t.name="ContextError",null==Error.captureStackTrace||Error.captureStackTrace(t,e),t}return r},s]}function c(e){return o.Children.toArray(e).filter((function(e){return o.isValidElement(e)}))}},94244:function(e,r,t){"use strict";t.d(r,{iv:function(){return Ee},ZR:function(){return xe},oE:function(){return me},cC:function(){return ve},c0:function(){return He},fr:function(){return l}});var n=t(44592),a=t(38554),o=t.n(a);function i(){return(i=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e}).apply(this,arguments)}var l=function(e,r){return function(t){var a=String(r),o=e?e+"."+a:a;return(0,n.Kn)(t.__cssMap)&&o in t.__cssMap?t.__cssMap[o].varRef:r}};function s(e){var r=e.scale,t=e.transform,n=e.compose;return function(e,a){var o,i=l(r,e)(a),s=null!=(o=null==t?void 0:t(i,a))?o:i;return n&&(s=n(s,a)),s}}function c(e,r){return function(t){var n={property:t,scale:e};return n.transform=s({scale:e,transform:r}),n}}var u,d,f=function(e){var r=e.rtl,t=e.ltr;return function(e){return"rtl"===e.direction?r:t}};var b=["rotate(var(--chakra-rotate, 0))","scaleX(var(--chakra-scale-x, 1))","scaleY(var(--chakra-scale-y, 1))","skewX(var(--chakra-skew-x, 0))","skewY(var(--chakra-skew-y, 0))"];var p={"--chakra-blur":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-brightness":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-contrast":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-grayscale":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-hue-rotate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-invert":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-saturate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-sepia":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-drop-shadow":"var(--chakra-empty,/*!*/ /*!*/)",filter:["var(--chakra-blur)","var(--chakra-brightness)","var(--chakra-contrast)","var(--chakra-grayscale)","var(--chakra-hue-rotate)","var(--chakra-invert)","var(--chakra-saturate)","var(--chakra-sepia)","var(--chakra-drop-shadow)"].join(" ")},g={backdropFilter:["var(--chakra-backdrop-blur)","var(--chakra-backdrop-brightness)","var(--chakra-backdrop-contrast)","var(--chakra-backdrop-grayscale)","var(--chakra-backdrop-hue-rotate)","var(--chakra-backdrop-invert)","var(--chakra-backdrop-opacity)","var(--chakra-backdrop-saturate)","var(--chakra-backdrop-sepia)"].join(" "),"--chakra-backdrop-blur":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-brightness":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-contrast":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-grayscale":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-hue-rotate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-invert":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-opacity":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-saturate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-sepia":"var(--chakra-empty,/*!*/ /*!*/)"};var h={"row-reverse":{space:"--chakra-space-x-reverse",divide:"--chakra-divide-x-reverse"},"column-reverse":{space:"--chakra-space-y-reverse",divide:"--chakra-divide-y-reverse"}},m="& > :not(style) ~ :not(style)",v=((u={})[m]={marginInlineStart:"calc(var(--chakra-space-x) * calc(1 - var(--chakra-space-x-reverse)))",marginInlineEnd:"calc(var(--chakra-space-x) * var(--chakra-space-x-reverse))"},u),y=((d={})[m]={marginTop:"calc(var(--chakra-space-y) * calc(1 - var(--chakra-space-y-reverse)))",marginBottom:"calc(var(--chakra-space-y) * var(--chakra-space-y-reverse))"},d);function x(e,r){return(x=Object.setPrototypeOf||function(e,r){return e.__proto__=r,e})(e,r)}function w(e,r){if("function"!==typeof r&&null!==r)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(r&&r.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),r&&x(e,r)}function k(){k=function(e,r){return new t(e,void 0,r)};var e=RegExp.prototype,r=new WeakMap;function t(e,n,a){var o=new RegExp(e,n);return r.set(o,a||r.get(e)),x(o,t.prototype)}function n(e,t){var n=r.get(t);return Object.keys(n).reduce((function(r,t){return r[t]=e[n[t]],r}),Object.create(null))}return w(t,RegExp),t.prototype.exec=function(r){var t=e.exec.call(this,r);return t&&(t.groups=n(t,this)),t},t.prototype[Symbol.replace]=function(t,a){if("string"===typeof a){var o=r.get(this);return e[Symbol.replace].call(this,t,a.replace(/\$<([^>]+)>/g,(function(e,r){return"$"+o[r]})))}if("function"===typeof a){var i=this;return e[Symbol.replace].call(this,t,(function(){var e=arguments;return"object"!==typeof e[e.length-1]&&(e=[].slice.call(e)).push(n(e,i)),a.apply(this,e)}))}return e[Symbol.replace].call(this,t,a)},k.apply(this,arguments)}var S={"to-t":"to top","to-tr":"to top right","to-r":"to right","to-br":"to bottom right","to-b":"to bottom","to-bl":"to bottom left","to-l":"to left","to-tl":"to top left"},E=new Set(Object.values(S)),C=new Set(["none","-moz-initial","inherit","initial","revert","unset"]),A=function(e){return e.trim()};var F=function(e){return(0,n.HD)(e)&&e.includes("(")&&e.includes(")")},B=function(e){return function(r){return e+"("+r+")"}},_={filter:function(e){return"auto"!==e?e:p},backdropFilter:function(e){return"auto"!==e?e:g},ring:function(e){return function(e){return{"--chakra-ring-offset-shadow":"var(--chakra-ring-inset) 0 0 0 var(--chakra-ring-offset-width) var(--chakra-ring-offset-color)","--chakra-ring-shadow":"var(--chakra-ring-inset) 0 0 0 calc(var(--chakra-ring-width) + var(--chakra-ring-offset-width)) var(--chakra-ring-color)","--chakra-ring-width":e,boxShadow:["var(--chakra-ring-offset-shadow)","var(--chakra-ring-shadow)","var(--chakra-shadow, 0 0 #0000)"].join(", ")}}(_.px(e))},bgClip:function(e){return"text"===e?{color:"transparent",backgroundClip:"text"}:{backgroundClip:e}},transform:function(e){return"auto"===e?["translateX(var(--chakra-translate-x, 0))","translateY(var(--chakra-translate-y, 0))"].concat(b).join(" "):"auto-gpu"===e?["translate3d(var(--chakra-translate-x, 0), var(--chakra-translate-y, 0), 0)"].concat(b).join(" "):e},px:function(e){return null==e?e:function(e){var r=parseFloat(e.toString()),t=e.toString().replace(String(r),"");return{unitless:!t,value:r,unit:t}}(e).unitless||(0,n.hj)(e)?e+"px":e},fraction:function(e){return!(0,n.hj)(e)||e>1?e:100*e+"%"},float:function(e,r){return"rtl"===r.direction?{left:"right",right:"left"}[e]:e},degree:function(e){if((0,n.FS)(e)||null==e)return e;var r=(0,n.HD)(e)&&!e.endsWith("deg");return(0,n.hj)(e)||r?e+"deg":e},gradient:function(e,r){return function(e,r){var t,n;if(null==e||C.has(e))return e;var a=null!=(t=null==(n=k(/(^[\x2DA-Za-z]+)\(((.*))\)/g,{type:1,values:2}).exec(e))?void 0:n.groups)?t:{},o=a.type,i=a.values;if(!o||!i)return e;var l=o.includes("-gradient")?o:o+"-gradient",s=i.split(",").map(A).filter(Boolean),c=s[0],u=s.slice(1);if(0===(null==u?void 0:u.length))return e;var d=c in S?S[c]:c;return u.unshift(d),l+"("+u.map((function(e){if(E.has(e))return e;var t=e.indexOf(" "),n=-1!==t?[e.substr(0,t),e.substr(t+1)]:[e],a=n[0],o=n[1],i=F(o)?o:o&&o.split(" "),l="colors."+a,s=l in r.__cssMap?r.__cssMap[l].varRef:a;return i?[s].concat(Array.isArray(i)?i:[i]).join(" "):s})).join(", ")+")"}(e,null!=r?r:{})},blur:B("blur"),opacity:B("opacity"),brightness:B("brightness"),contrast:B("contrast"),dropShadow:B("drop-shadow"),grayscale:B("grayscale"),hueRotate:B("hue-rotate"),invert:B("invert"),saturate:B("saturate"),sepia:B("sepia"),bgImage:function(e){return null==e||F(e)||C.has(e)?e:"url("+e+")"},outline:function(e){var r="0"===String(e)||"none"===String(e);return null!==e&&r?{outline:"2px solid transparent",outlineOffset:"2px"}:{outline:e}},flexDirection:function(e){var r,t=null!=(r=h[e])?r:{},n=t.space,a=t.divide,o={flexDirection:e};return n&&(o[n]=1),a&&(o[a]=1),o}},D={borderWidths:c("borderWidths"),borderStyles:c("borderStyles"),colors:c("colors"),borders:c("borders"),radii:c("radii",_.px),space:c("space",_.px),spaceT:c("space",_.px),degreeT:function(e){return{property:e,transform:_.degree}},prop:function(e,r,t){return i({property:e,scale:r},r&&{transform:s({scale:r,transform:t})})},propT:function(e,r){return{property:e,transform:r}},sizes:c("sizes",_.px),sizesT:c("sizes",_.fraction),shadows:c("shadows"),logical:function(e){var r=e.property,t=e.scale,n=e.transform;return{scale:t,property:f(r),transform:t?s({scale:t,compose:n}):n}},blur:c("blur",_.blur)},R={background:D.colors("background"),backgroundColor:D.colors("backgroundColor"),backgroundImage:D.propT("backgroundImage",_.bgImage),backgroundSize:!0,backgroundPosition:!0,backgroundRepeat:!0,backgroundAttachment:!0,backgroundClip:{transform:_.bgClip},bgSize:D.prop("backgroundSize"),bgPosition:D.prop("backgroundPosition"),bg:D.colors("background"),bgColor:D.colors("backgroundColor"),bgPos:D.prop("backgroundPosition"),bgRepeat:D.prop("backgroundRepeat"),bgAttachment:D.prop("backgroundAttachment"),bgGradient:D.propT("backgroundImage",_.gradient),bgClip:{transform:_.bgClip}};Object.assign(R,{bgImage:R.backgroundImage,bgImg:R.backgroundImage});var T={border:D.borders("border"),borderWidth:D.borderWidths("borderWidth"),borderStyle:D.borderStyles("borderStyle"),borderColor:D.colors("borderColor"),borderRadius:D.radii("borderRadius"),borderTop:D.borders("borderTop"),borderBlockStart:D.borders("borderBlockStart"),borderTopLeftRadius:D.radii("borderTopLeftRadius"),borderStartStartRadius:D.logical({scale:"radii",property:{ltr:"borderTopLeftRadius",rtl:"borderTopRightRadius"}}),borderEndStartRadius:D.logical({scale:"radii",property:{ltr:"borderBottomLeftRadius",rtl:"borderBottomRightRadius"}}),borderTopRightRadius:D.radii("borderTopRightRadius"),borderStartEndRadius:D.logical({scale:"radii",property:{ltr:"borderTopRightRadius",rtl:"borderTopLeftRadius"}}),borderEndEndRadius:D.logical({scale:"radii",property:{ltr:"borderBottomRightRadius",rtl:"borderBottomLeftRadius"}}),borderRight:D.borders("borderRight"),borderInlineEnd:D.borders("borderInlineEnd"),borderBottom:D.borders("borderBottom"),borderBlockEnd:D.borders("borderBlockEnd"),borderBottomLeftRadius:D.radii("borderBottomLeftRadius"),borderBottomRightRadius:D.radii("borderBottomRightRadius"),borderLeft:D.borders("borderLeft"),borderInlineStart:{property:"borderInlineStart",scale:"borders"},borderInlineStartRadius:D.logical({scale:"radii",property:{ltr:["borderTopLeftRadius","borderBottomLeftRadius"],rtl:["borderTopRightRadius","borderBottomRightRadius"]}}),borderInlineEndRadius:D.logical({scale:"radii",property:{ltr:["borderTopRightRadius","borderBottomRightRadius"],rtl:["borderTopLeftRadius","borderBottomLeftRadius"]}}),borderX:D.borders(["borderLeft","borderRight"]),borderInline:D.borders("borderInline"),borderY:D.borders(["borderTop","borderBottom"]),borderBlock:D.borders("borderBlock"),borderTopWidth:D.borderWidths("borderTopWidth"),borderBlockStartWidth:D.borderWidths("borderBlockStartWidth"),borderTopColor:D.colors("borderTopColor"),borderBlockStartColor:D.colors("borderBlockStartColor"),borderTopStyle:D.borderStyles("borderTopStyle"),borderBlockStartStyle:D.borderStyles("borderBlockStartStyle"),borderBottomWidth:D.borderWidths("borderBottomWidth"),borderBlockEndWidth:D.borderWidths("borderBlockEndWidth"),borderBottomColor:D.colors("borderBottomColor"),borderBlockEndColor:D.colors("borderBlockEndColor"),borderBottomStyle:D.borderStyles("borderBottomStyle"),borderBlockEndStyle:D.borderStyles("borderBlockEndStyle"),borderLeftWidth:D.borderWidths("borderLeftWidth"),borderInlineStartWidth:D.borderWidths("borderInlineStartWidth"),borderLeftColor:D.colors("borderLeftColor"),borderInlineStartColor:D.colors("borderInlineStartColor"),borderLeftStyle:D.borderStyles("borderLeftStyle"),borderInlineStartStyle:D.borderStyles("borderInlineStartStyle"),borderRightWidth:D.borderWidths("borderRightWidth"),borderInlineEndWidth:D.borderWidths("borderInlineEndWidth"),borderRightColor:D.colors("borderRightColor"),borderInlineEndColor:D.colors("borderInlineEndColor"),borderRightStyle:D.borderStyles("borderRightStyle"),borderInlineEndStyle:D.borderStyles("borderInlineEndStyle"),borderTopRadius:D.radii(["borderTopLeftRadius","borderTopRightRadius"]),borderBottomRadius:D.radii(["borderBottomLeftRadius","borderBottomRightRadius"]),borderLeftRadius:D.radii(["borderTopLeftRadius","borderBottomLeftRadius"]),borderRightRadius:D.radii(["borderTopRightRadius","borderBottomRightRadius"])};Object.assign(T,{rounded:T.borderRadius,roundedTop:T.borderTopRadius,roundedTopLeft:T.borderTopLeftRadius,roundedTopRight:T.borderTopRightRadius,roundedTopStart:T.borderStartStartRadius,roundedTopEnd:T.borderStartEndRadius,roundedBottom:T.borderBottomRadius,roundedBottomLeft:T.borderBottomLeftRadius,roundedBottomRight:T.borderBottomRightRadius,roundedBottomStart:T.borderEndStartRadius,roundedBottomEnd:T.borderEndEndRadius,roundedLeft:T.borderLeftRadius,roundedRight:T.borderRightRadius,roundedStart:T.borderInlineStartRadius,roundedEnd:T.borderInlineEndRadius,borderStart:T.borderInlineStart,borderEnd:T.borderInlineEnd,borderTopStartRadius:T.borderStartStartRadius,borderTopEndRadius:T.borderStartEndRadius,borderBottomStartRadius:T.borderEndStartRadius,borderBottomEndRadius:T.borderEndEndRadius,borderStartRadius:T.borderInlineStartRadius,borderEndRadius:T.borderInlineEndRadius,borderStartWidth:T.borderInlineStartWidth,borderEndWidth:T.borderInlineEndWidth,borderStartColor:T.borderInlineStartColor,borderEndColor:T.borderInlineEndColor,borderStartStyle:T.borderInlineStartStyle,borderEndStyle:T.borderInlineEndStyle});var z={color:D.colors("color"),textColor:D.colors("color"),fill:D.colors("fill"),stroke:D.colors("stroke")},P={boxShadow:D.shadows("boxShadow"),mixBlendMode:!0,blendMode:D.prop("mixBlendMode"),backgroundBlendMode:!0,bgBlendMode:D.prop("backgroundBlendMode"),opacity:!0};Object.assign(P,{shadow:P.boxShadow});var M={filter:{transform:_.filter},blur:D.blur("--chakra-blur"),brightness:D.propT("--chakra-brightness",_.brightness),contrast:D.propT("--chakra-contrast",_.contrast),hueRotate:D.degreeT("--chakra-hue-rotate"),invert:D.propT("--chakra-invert",_.invert),saturate:D.propT("--chakra-saturate",_.saturate),dropShadow:D.propT("--chakra-drop-shadow",_.dropShadow),backdropFilter:{transform:_.backdropFilter},backdropBlur:D.blur("--chakra-backdrop-blur"),backdropBrightness:D.propT("--chakra-backdrop-brightness",_.brightness),backdropContrast:D.propT("--chakra-backdrop-contrast",_.contrast),backdropHueRotate:D.degreeT("--chakra-backdrop-hue-rotate"),backdropInvert:D.propT("--chakra-backdrop-invert",_.invert),backdropSaturate:D.propT("--chakra-backdrop-saturate",_.saturate)},j={alignItems:!0,alignContent:!0,justifyItems:!0,justifyContent:!0,flexWrap:!0,flexDirection:{transform:_.flexDirection},experimental_spaceX:{static:v,transform:s({scale:"space",transform:function(e){return null!==e?{"--chakra-space-x":e}:null}})},experimental_spaceY:{static:y,transform:s({scale:"space",transform:function(e){return null!=e?{"--chakra-space-y":e}:null}})},flex:!0,flexFlow:!0,flexGrow:!0,flexShrink:!0,flexBasis:D.sizes("flexBasis"),justifySelf:!0,alignSelf:!0,order:!0,placeItems:!0,placeContent:!0,placeSelf:!0,gap:D.space("gap"),rowGap:D.space("rowGap"),columnGap:D.space("columnGap")};Object.assign(j,{flexDir:j.flexDirection});var O={gridGap:D.space("gridGap"),gridColumnGap:D.space("gridColumnGap"),gridRowGap:D.space("gridRowGap"),gridColumn:!0,gridRow:!0,gridAutoFlow:!0,gridAutoColumns:!0,gridColumnStart:!0,gridColumnEnd:!0,gridRowStart:!0,gridRowEnd:!0,gridAutoRows:!0,gridTemplate:!0,gridTemplateColumns:!0,gridTemplateRows:!0,gridTemplateAreas:!0,gridArea:!0},I={appearance:!0,cursor:!0,resize:!0,userSelect:!0,pointerEvents:!0,outline:{transform:_.outline},outlineOffset:!0,outlineColor:D.colors("outlineColor")},W={width:D.sizesT("width"),inlineSize:D.sizesT("inlineSize"),height:D.sizes("height"),blockSize:D.sizes("blockSize"),boxSize:D.sizes(["width","height"]),minWidth:D.sizes("minWidth"),minInlineSize:D.sizes("minInlineSize"),minHeight:D.sizes("minHeight"),minBlockSize:D.sizes("minBlockSize"),maxWidth:D.sizes("maxWidth"),maxInlineSize:D.sizes("maxInlineSize"),maxHeight:D.sizes("maxHeight"),maxBlockSize:D.sizes("maxBlockSize"),d:D.prop("display"),overflow:!0,overflowX:!0,overflowY:!0,overscrollBehavior:!0,overscrollBehaviorX:!0,overscrollBehaviorY:!0,display:!0,verticalAlign:!0,boxSizing:!0,boxDecorationBreak:!0,float:D.propT("float",_.float),objectFit:!0,objectPosition:!0,visibility:!0,isolation:!0};Object.assign(W,{w:W.width,h:W.height,minW:W.minWidth,maxW:W.maxWidth,minH:W.minHeight,maxH:W.maxHeight,overscroll:W.overscrollBehavior,overscrollX:W.overscrollBehaviorX,overscrollY:W.overscrollBehaviorY});var N={listStyleType:!0,listStylePosition:!0,listStylePos:D.prop("listStylePosition"),listStyleImage:!0,listStyleImg:D.prop("listStyleImage")},L={border:"0px",clip:"rect(0, 0, 0, 0)",width:"1px",height:"1px",margin:"-1px",padding:"0px",overflow:"hidden",whiteSpace:"nowrap",position:"absolute"},H={position:"static",width:"auto",height:"auto",clip:"auto",padding:"0",margin:"0",overflow:"visible",whiteSpace:"normal"},$=function(e,r,t){var a={},o=(0,n.Wf)(e,r,{});for(var i in o){i in t&&null!=t[i]||(a[i]=o[i])}return a},q={srOnly:{transform:function(e){return!0===e?L:"focusable"===e?H:{}}},layerStyle:{processResult:!0,transform:function(e,r,t){return $(r,"layerStyles."+e,t)}},textStyle:{processResult:!0,transform:function(e,r,t){return $(r,"textStyles."+e,t)}},apply:{processResult:!0,transform:function(e,r,t){return $(r,e,t)}}},Z={position:!0,pos:D.prop("position"),zIndex:D.prop("zIndex","zIndices"),inset:D.spaceT("inset"),insetX:D.spaceT(["left","right"]),insetInline:D.spaceT("insetInline"),insetY:D.spaceT(["top","bottom"]),insetBlock:D.spaceT("insetBlock"),top:D.spaceT("top"),insetBlockStart:D.spaceT("insetBlockStart"),bottom:D.spaceT("bottom"),insetBlockEnd:D.spaceT("insetBlockEnd"),left:D.spaceT("left"),insetInlineStart:D.logical({scale:"space",property:{ltr:"left",rtl:"right"}}),right:D.spaceT("right"),insetInlineEnd:D.logical({scale:"space",property:{ltr:"right",rtl:"left"}})};Object.assign(Z,{insetStart:Z.insetInlineStart,insetEnd:Z.insetInlineEnd});var U={ring:{transform:_.ring},ringColor:D.colors("--chakra-ring-color"),ringOffset:D.prop("--chakra-ring-offset-width"),ringOffsetColor:D.colors("--chakra-ring-offset-color"),ringInset:D.prop("--chakra-ring-inset")},V={margin:D.spaceT("margin"),marginTop:D.spaceT("marginTop"),marginBlockStart:D.spaceT("marginBlockStart"),marginRight:D.spaceT("marginRight"),marginInlineEnd:D.spaceT("marginInlineEnd"),marginBottom:D.spaceT("marginBottom"),marginBlockEnd:D.spaceT("marginBlockEnd"),marginLeft:D.spaceT("marginLeft"),marginInlineStart:D.spaceT("marginInlineStart"),marginX:D.spaceT(["marginInlineStart","marginInlineEnd"]),marginInline:D.spaceT("marginInline"),marginY:D.spaceT(["marginTop","marginBottom"]),marginBlock:D.spaceT("marginBlock"),padding:D.space("padding"),paddingTop:D.space("paddingTop"),paddingBlockStart:D.space("paddingBlockStart"),paddingRight:D.space("paddingRight"),paddingBottom:D.space("paddingBottom"),paddingBlockEnd:D.space("paddingBlockEnd"),paddingLeft:D.space("paddingLeft"),paddingInlineStart:D.space("paddingInlineStart"),paddingInlineEnd:D.space("paddingInlineEnd"),paddingX:D.space(["paddingInlineStart","paddingInlineEnd"]),paddingInline:D.space("paddingInline"),paddingY:D.space(["paddingTop","paddingBottom"]),paddingBlock:D.space("paddingBlock")};Object.assign(V,{m:V.margin,mt:V.marginTop,mr:V.marginRight,me:V.marginInlineEnd,marginEnd:V.marginInlineEnd,mb:V.marginBottom,ml:V.marginLeft,ms:V.marginInlineStart,marginStart:V.marginInlineStart,mx:V.marginX,my:V.marginY,p:V.padding,pt:V.paddingTop,py:V.paddingY,px:V.paddingX,pb:V.paddingBottom,pl:V.paddingLeft,ps:V.paddingInlineStart,paddingStart:V.paddingInlineStart,pr:V.paddingRight,pe:V.paddingInlineEnd,paddingEnd:V.paddingInlineEnd});var Y={textDecorationColor:D.colors("textDecorationColor"),textDecoration:!0,textDecor:{property:"textDecoration"},textDecorationLine:!0,textDecorationStyle:!0,textDecorationThickness:!0,textUnderlineOffset:!0,textShadow:D.shadows("textShadow")},X={clipPath:!0,transform:D.propT("transform",_.transform),transformOrigin:!0,translateX:D.spaceT("--chakra-translate-x"),translateY:D.spaceT("--chakra-translate-y"),skewX:D.degreeT("--chakra-skew-x"),skewY:D.degreeT("--chakra-skew-y"),scaleX:D.prop("--chakra-scale-x"),scaleY:D.prop("--chakra-scale-y"),scale:D.prop(["--chakra-scale-x","--chakra-scale-y"]),rotate:D.degreeT("--chakra-rotate")},G={transition:!0,transitionDelay:!0,animation:!0,willChange:!0,transitionDuration:D.prop("transitionDuration","transition.duration"),transitionProperty:D.prop("transitionProperty","transition.property"),transitionTimingFunction:D.prop("transitionTimingFunction","transition.easing")},K={fontFamily:D.prop("fontFamily","fonts"),fontSize:D.prop("fontSize","fontSizes",_.px),fontWeight:D.prop("fontWeight","fontWeights"),lineHeight:D.prop("lineHeight","lineHeights"),letterSpacing:D.prop("letterSpacing","letterSpacings"),textAlign:!0,fontStyle:!0,wordBreak:!0,overflowWrap:!0,textOverflow:!0,textTransform:!0,whiteSpace:!0,noOfLines:{static:{overflow:"hidden",textOverflow:"ellipsis",display:"-webkit-box",WebkitBoxOrient:"vertical",WebkitLineClamp:"var(--chakra-line-clamp)"},property:"--chakra-line-clamp"},isTruncated:{transform:function(e){if(!0===e)return{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}}}},J={scrollBehavior:!0,scrollSnapAlign:!0,scrollSnapStop:!0,scrollSnapType:!0,scrollMargin:D.spaceT("scrollMargin"),scrollMarginTop:D.spaceT("scrollMarginTop"),scrollMarginBottom:D.spaceT("scrollMarginBottom"),scrollMarginLeft:D.spaceT("scrollMarginLeft"),scrollMarginRight:D.spaceT("scrollMarginRight"),scrollMarginX:D.spaceT(["scrollMarginLeft","scrollMarginRight"]),scrollMarginY:D.spaceT(["scrollMarginTop","scrollMarginBottom"]),scrollPadding:D.spaceT("scrollPadding"),scrollPaddingTop:D.spaceT("scrollPaddingTop"),scrollPaddingBottom:D.spaceT("scrollPaddingBottom"),scrollPaddingLeft:D.spaceT("scrollPaddingLeft"),scrollPaddingRight:D.spaceT("scrollPaddingRight"),scrollPaddingX:D.spaceT(["scrollPaddingLeft","scrollPaddingRight"]),scrollPaddingY:D.spaceT(["scrollPaddingTop","scrollPaddingBottom"])};function Q(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,n=new Array(r);t<r;t++)n[t]=e[t];return n}function ee(e,r){var t="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(t)return(t=t.call(e)).next.bind(t);if(Array.isArray(e)||(t=function(e,r){if(e){if("string"===typeof e)return Q(e,r);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?Q(e,r):void 0}}(e))||r&&e&&"number"===typeof e.length){t&&(e=t);var n=0;return function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var re=function(e,r){return e+":hover "+r+", "+e+"[data-hover] "+r},te=function(e,r){return e+":focus "+r+", "+e+"[data-focus] "+r},ne=function(e,r){return e+":focus-visible "+r},ae=function(e,r){return e+":focus-within "+r},oe=function(e,r){return e+":active "+r+", "+e+"[data-active] "+r},ie=function(e,r){return e+":disabled "+r+", "+e+"[data-disabled] "+r},le=function(e,r){return e+":invalid "+r+", "+e+"[data-invalid] "+r},se=function(e,r){return e+":checked "+r+", "+e+"[data-checked] "+r},ce=function(e,r){return e+":placeholder-shown "+r},ue=function(e){return fe((function(r){return e(r,"&")}),"[role=group]","[data-group]",".group")},de=function(e){return fe((function(r){return e(r,"~ &")}),"[data-peer]",".peer")},fe=function(e){for(var r=arguments.length,t=new Array(r>1?r-1:0),n=1;n<r;n++)t[n-1]=arguments[n];return t.map(e).join(", ")},be={_hover:"&:hover, &[data-hover]",_active:"&:active, &[data-active]",_focus:"&:focus, &[data-focus]",_highlighted:"&[data-highlighted]",_focusWithin:"&:focus-within",_focusVisible:"&:focus-visible",_disabled:"&[disabled], &[aria-disabled=true], &[data-disabled]",_readOnly:"&[aria-readonly=true], &[readonly], &[data-readonly]",_before:"&::before",_after:"&::after",_empty:"&:empty",_expanded:"&[aria-expanded=true], &[data-expanded]",_checked:"&[aria-checked=true], &[data-checked]",_grabbed:"&[aria-grabbed=true], &[data-grabbed]",_pressed:"&[aria-pressed=true], &[data-pressed]",_invalid:"&[aria-invalid=true], &[data-invalid]",_valid:"&[data-valid], &[data-state=valid]",_loading:"&[data-loading], &[aria-busy=true]",_selected:"&[aria-selected=true], &[data-selected]",_hidden:"&[hidden], &[data-hidden]",_autofill:"&:-webkit-autofill",_even:"&:nth-of-type(even)",_odd:"&:nth-of-type(odd)",_first:"&:first-of-type",_last:"&:last-of-type",_notFirst:"&:not(:first-of-type)",_notLast:"&:not(:last-of-type)",_visited:"&:visited",_activeLink:"&[aria-current=page]",_activeStep:"&[aria-current=step]",_indeterminate:"&:indeterminate, &[aria-checked=mixed], &[data-indeterminate]",_groupHover:ue(re),_peerHover:de(re),_groupFocus:ue(te),_peerFocus:de(te),_groupFocusVisible:ue(ne),_peerFocusVisible:de(ne),_groupActive:ue(oe),_peerActive:de(oe),_groupDisabled:ue(ie),_peerDisabled:de(ie),_groupInvalid:ue(le),_peerInvalid:de(le),_groupChecked:ue(se),_peerChecked:de(se),_groupFocusWithin:ue(ae),_peerFocusWithin:de(ae),_peerPlaceholderShown:de(ce),_placeholder:"&::placeholder",_placeholderShown:"&:placeholder-shown",_fullScreen:"&:fullscreen",_selection:"&::selection",_rtl:"[dir=rtl] &, &[dir=rtl]",_ltr:"[dir=ltr] &, &[dir=ltr]",_mediaDark:"@media (prefers-color-scheme: dark)",_mediaReduceMotion:"@media (prefers-reduced-motion: reduce)",_dark:".chakra-ui-dark &, [data-theme=dark] &, &[data-theme=dark]",_light:".chakra-ui-light &, [data-theme=light] &, &[data-theme=light]"},pe=(0,n.Yd)(be),ge=o()({},R,T,z,j,W,M,U,I,O,q,Z,P,V,J,K,Y,X,N,G),he=Object.assign({},V,W,j,O,Z),me=(0,n.Yd)(he),ve=[].concat((0,n.Yd)(ge),pe),ye=i({},ge,be),xe=function(e){return e in ye},we=function(e,r){return e.startsWith("--")&&(0,n.HD)(r)&&!(0,n.FS)(r)},ke=function(e,r){var t,n;if(null==r)return r;var a=function(r){var t,n;return null==(t=e.__cssMap)||null==(n=t[r])?void 0:n.varRef},o=function(e){var r;return null!=(r=a(e))?r:e},i=r.split(",").map((function(e){return e.trim()})),l=i[0],s=i[1];return r=null!=(t=null!=(n=a(l))?n:o(s))?t:o(r)};function Se(e){var r=e.configs,t=void 0===r?{}:r,a=e.pseudos,i=void 0===a?{}:a,l=e.theme;return function e(r,a){void 0===a&&(a=!1);var s=(0,n.Pu)(r,l),c=function(e){return function(r){if(!r.__breakpoints)return e;var t=r.__breakpoints,a=t.isResponsive,o=t.toArrayValue,i=t.media,l={};for(var s in e){var c=(0,n.Pu)(e[s],r);if(null!=c)if(c=(0,n.Kn)(c)&&a(c)?o(c):c,Array.isArray(c))for(var u=c.slice(0,i.length).length,d=0;d<u;d+=1){var f=null==i?void 0:i[d];f?(l[f]=l[f]||{},null!=c[d]&&(l[f][s]=c[d])):l[s]=c[d]}else l[s]=c}return l}}(s)(l),u={};for(var d in c){var f,b,p,g,h,m=c[d],v=(0,n.Pu)(m,l);d in i&&(d=i[d]),we(d,v)&&(v=ke(l,v));var y=t[d];if(!0===y&&(y={property:d}),(0,n.Kn)(v)){var x;u[d]=null!=(x=u[d])?x:{},u[d]=o()({},u[d],e(v,!0))}else{var w=null!=(f=null==(b=y)||null==b.transform?void 0:b.transform(v,l,s))?f:v;w=null!=(p=y)&&p.processResult?e(w,!0):w;var k=(0,n.Pu)(null==(g=y)?void 0:g.property,l);if(!a&&null!=(h=y)&&h.static){var S=(0,n.Pu)(y.static,l);u=o()({},u,S)}if(k&&Array.isArray(k))for(var E,C=ee(k);!(E=C()).done;){u[E.value]=w}else k?"&"===k&&(0,n.Kn)(w)?u=o()({},u,w):u[k]=w:(0,n.Kn)(w)?u=o()({},u,w):u[d]=w}}return u}}var Ee=function(e){return function(r){return Se({theme:r,pseudos:be,configs:ge})(e)}};function Ce(e){return(0,n.Kn)(e)&&e.reference?e.reference:String(e)}var Ae=function(e){for(var r=arguments.length,t=new Array(r>1?r-1:0),n=1;n<r;n++)t[n-1]=arguments[n];return t.map(Ce).join(" "+e+" ").replace(/calc/g,"")},Fe=function(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return"calc("+Ae.apply(void 0,["+"].concat(r))+")"},Be=function(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return"calc("+Ae.apply(void 0,["-"].concat(r))+")"},_e=function(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return"calc("+Ae.apply(void 0,["*"].concat(r))+")"},De=function(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return"calc("+Ae.apply(void 0,["/"].concat(r))+")"},Re=function(e){var r=Ce(e);return null==r||Number.isNaN(parseFloat(r))?_e(r,-1):String(r).startsWith("-")?String(r).slice(1):"-"+r},Te=Object.assign((function(e){return{add:function(){for(var r=arguments.length,t=new Array(r),n=0;n<r;n++)t[n]=arguments[n];return Te(Fe.apply(void 0,[e].concat(t)))},subtract:function(){for(var r=arguments.length,t=new Array(r),n=0;n<r;n++)t[n]=arguments[n];return Te(Be.apply(void 0,[e].concat(t)))},multiply:function(){for(var r=arguments.length,t=new Array(r),n=0;n<r;n++)t[n]=arguments[n];return Te(_e.apply(void 0,[e].concat(t)))},divide:function(){for(var r=arguments.length,t=new Array(r),n=0;n<r;n++)t[n]=arguments[n];return Te(De.apply(void 0,[e].concat(t)))},negate:function(){return Te(Re(e))},toString:function(){return e.toString()}}}),{add:Fe,subtract:Be,multiply:_e,divide:De,negate:Re});function ze(e){var r=function(e,r){return void 0===r&&(r="-"),e.replace(/\s+/g,r)}(e.toString());return r.includes("\\.")?e:!Number.isInteger(parseFloat(e.toString()))?r.replace(".","\\."):e}function Pe(e,r){return"var("+ze(e)+(r?", "+r:"")+")"}function Me(e,r){return void 0===r&&(r=""),"--"+function(e,r){return void 0===r&&(r=""),[r,ze(e)].filter(Boolean).join("-")}(e,r)}function je(e,r){return function(e,r,t){var n=Me(e,t);return{variable:n,reference:Pe(n,r)}}(String(e).replace(/\./g,"-"),void 0,r)}function Oe(e,r){for(var t={},a={},i=function(){var i=s[l],c=i[0],u=i[1],d=u.isSemantic,f=u.value,b=je(c,null==r?void 0:r.cssVarPrefix),p=b.variable,g=b.reference;if(!d){if(c.startsWith("space")){var h=c.split("."),m=h[0]+".-"+h.slice(1).join("."),v=Te.negate(f),y=Te.negate(g);a[m]={value:v,var:p,varRef:y}}return t[p]=f,a[c]={value:f,var:p,varRef:g},"continue"}var x=(0,n.Kn)(f)?f:{default:f};t=o()(t,Object.entries(x).reduce((function(t,n){var a,o,i=n[0],l=function(t){var n=[String(c).split(".")[0],t].join(".");return e[n]?je(n,null==r?void 0:r.cssVarPrefix).reference:t}(n[1]);return"default"===i?(t[p]=l,t):(t[null!=(a=null==be?void 0:be[i])?a:i]=((o={})[p]=l,o),t)}),{})),a[c]={value:g,var:p,varRef:g}},l=0,s=Object.entries(e);l<s.length;l++)i();return{cssVars:t,cssMap:a}}var Ie=["__cssMap","__cssVars","__breakpoints"],We=["colors","borders","borderWidths","borderStyles","fonts","fontSizes","fontWeights","letterSpacings","lineHeights","radii","space","shadows","sizes","zIndices","transition","blur"];function Ne(e){var r=We;return(0,n.ei)(e,r)}function Le(e){return e.__cssMap,e.__cssVars,e.__breakpoints,function(e,r){if(null==e)return{};var t,n,a={},o=Object.keys(e);for(n=0;n<o.length;n++)t=o[n],r.indexOf(t)>=0||(a[t]=e[t]);return a}(e,Ie)}function He(e){var r,t=Le(e),a=Oe(function(e){var r,t,a=e.tokens,o=e.semanticTokens,i=Object.entries(null!=(r=(0,n.xH)(a))?r:{}).map((function(e){return[e[0],{isSemantic:!1,value:e[1]}]})),l=Object.entries(null!=(t=(0,n.xH)(o,1))?t:{}).map((function(e){return[e[0],{isSemantic:!0,value:e[1]}]}));return(0,n.sq)([].concat(i,l))}({tokens:Ne(t),semanticTokens:function(e){return e.semanticTokens}(t)}),{cssVarPrefix:null==(r=t.config)?void 0:r.cssVarPrefix}),o=a.cssMap,l=a.cssVars;return Object.assign(t,{__cssVars:i({},{"--chakra-ring-inset":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-ring-offset-width":"0px","--chakra-ring-offset-color":"#fff","--chakra-ring-color":"rgba(66, 153, 225, 0.6)","--chakra-ring-offset-shadow":"0 0 #0000","--chakra-ring-shadow":"0 0 #0000","--chakra-space-x-reverse":"0","--chakra-space-y-reverse":"0"},l),__cssMap:o,__breakpoints:(0,n.yn)(t.breakpoints)}),t}},105:function(e,r,t){"use strict";t.d(r,{ZL:function(){return P},Fo:function(){return T},f6:function(){return B},m$:function(){return $},Gp:function(){return q},Lr:function(){return M},jC:function(){return V},mq:function(){return U},yK:function(){return z},Fg:function(){return D}});var n=t(20949),a=t(94244),o=t(70917),i=t(31421),l=t(44592),s=t(38554),c=t.n(s),u=t(67294),d=t(69590),f=t.n(d),b=t(52829),p=t(87462),g=t(67866),h=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,m=(0,g.Z)((function(e){return h.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91})),v=t(70444),y=t(94199),x=m,w=function(e){return"theme"!==e},k=function(e){return"string"===typeof e&&e.charCodeAt(0)>96?x:w},S=function(e,r,t){var n;if(r){var a=r.shouldForwardProp;n=e.__emotion_forwardProp&&a?function(r){return e.__emotion_forwardProp(r)&&a(r)}:a}return"function"!==typeof n&&t&&(n=e.__emotion_forwardProp),n},E=function(){return null},C=function e(r,t){var n,a,o=r.__emotion_real===r,l=o&&r.__emotion_base||r;void 0!==t&&(n=t.label,a=t.target);var s=S(r,t,o),c=s||k(l),d=!c("as");return function(){var f=arguments,b=o&&void 0!==r.__emotion_styles?r.__emotion_styles.slice(0):[];if(void 0!==n&&b.push("label:"+n+";"),null==f[0]||void 0===f[0].raw)b.push.apply(b,f);else{0,b.push(f[0][0]);for(var g=f.length,h=1;h<g;h++)b.push(f[h],f[0][h])}var m=(0,i.w)((function(e,r,t){var n=d&&e.as||l,o="",f=[],p=e;if(null==e.theme){for(var g in p={},e)p[g]=e[g];p.theme=(0,u.useContext)(i.T)}"string"===typeof e.className?o=(0,v.f)(r.registered,f,e.className):null!=e.className&&(o=e.className+" ");var h=(0,y.O)(b.concat(f),r.registered,p);(0,v.M)(r,h,"string"===typeof n);o+=r.key+"-"+h.name,void 0!==a&&(o+=" "+a);var m=d&&void 0===s?k(n):c,x={};for(var w in e)d&&"as"===w||m(w)&&(x[w]=e[w]);x.className=o,x.ref=t;var S=(0,u.createElement)(n,x),C=(0,u.createElement)(E,null);return(0,u.createElement)(u.Fragment,null,C,S)}));return m.displayName=void 0!==n?n:"Styled("+("string"===typeof l?l:l.displayName||l.name||"Component")+")",m.defaultProps=r.defaultProps,m.__emotion_real=m,m.__emotion_base=l,m.__emotion_styles=b,m.__emotion_forwardProp=s,Object.defineProperty(m,"toString",{value:function(){return"."+a}}),m.withComponent=function(r,n){return e(r,(0,p.Z)({},t,n,{shouldForwardProp:S(m,n,!0)})).apply(void 0,b)},m}}.bind();["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].forEach((function(e){C[e]=C(e)}));var A=C;function F(){return(F=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e}).apply(this,arguments)}var B=function(e){var r=e.cssVarsRoot,t=e.theme,n=e.children,o=u.useMemo((function(){return(0,a.c0)(t)}),[t]);return u.createElement(i.a,{theme:o},u.createElement(_,{root:r}),n)},_=function(e){var r=e.root,t=void 0===r?":host, :root":r;return u.createElement(o.xB,{styles:function(e){var r;return(r={})[t]=e.__cssVars,r}})};function D(){var e=u.useContext(i.T);if(!e)throw Error("useTheme: `theme` is undefined. Seems you forgot to wrap your app in `<ChakraProvider />` or `<ThemeProvider />`");return e}var R=(0,b.kr)({name:"StylesContext",errorMessage:"useStyles: `styles` is undefined. Seems you forgot to wrap the components in `<StylesProvider />` "}),T=R[0],z=R[1],P=function(){var e=(0,n.If)().colorMode;return u.createElement(o.xB,{styles:function(r){var t=(0,l.Wf)(r,"styles.global"),n=(0,l.Pu)(t,{theme:r,colorMode:e});if(n){var o=(0,a.iv)(n)(r);return o}}})};function M(e){return(0,l.CE)(e,["styleConfig","size","variant","colorScheme"])}function j(){return F({},(0,n.If)(),{theme:D()})}function O(e,r){if(null==e)return{};var t,n,a={},o=Object.keys(e);for(n=0;n<o.length;n++)t=o[n],r.indexOf(t)>=0||(a[t]=e[t]);return a}var I=new Set([].concat(a.cC,["textStyle","layerStyle","apply","isTruncated","noOfLines","focusBorderColor","errorBorderColor","as","__css","css","sx"])),W=new Set(["htmlWidth","htmlHeight","htmlSize"]),N=function(e){return W.has(e)||!I.has(e)},L=["theme","css","__css","sx"],H=["baseStyle"];var $=function(e,r){var t=null!=r?r:{},n=t.baseStyle,o=O(t,H);o.shouldForwardProp||(o.shouldForwardProp=N);var i=function(e){var r=e.baseStyle;return function(e){e.theme;var t=e.css,n=e.__css,o=e.sx,i=O(e,L),s=(0,l.lw)(i,(function(e,r){return(0,a.ZR)(r)})),c=(0,l.Pu)(r,e),u=Object.assign({},n,c,(0,l.YU)(s),o),d=(0,a.iv)(u)(e.theme);return t?[d,t]:d}}({baseStyle:n});return A(e,o)(i)};function q(e){return u.forwardRef(e)}["a","b","article","aside","blockquote","button","caption","cite","circle","code","dd","div","dl","dt","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hr","img","input","kbd","label","li","main","mark","nav","ol","p","path","pre","q","rect","s","svg","section","select","strong","small","span","sub","sup","table","tbody","td","textarea","tfoot","th","thead","tr","ul"].forEach((function(e){$[e]=$(e)}));var Z=["styleConfig"];function U(e,r,t){var n;void 0===r&&(r={}),void 0===t&&(t={});var a=r,o=a.styleConfig,i=O(a,Z),s=j(),d=s.theme,b=s.colorMode,p=(0,l.Wf)(d,"components."+e),g=o||p,h=c()({theme:d,colorMode:b},null!=(n=null==g?void 0:g.defaultProps)?n:{},(0,l.YU)((0,l.CE)(i,["children"]))),m=(0,u.useRef)({});if(g){var v,y,x,w,k,S,E=(0,l.Pu)(null!=(v=g.baseStyle)?v:{},h),C=(0,l.Pu)(null!=(y=null==(x=g.variants)?void 0:x[h.variant])?y:{},h),A=(0,l.Pu)(null!=(w=null==(k=g.sizes)?void 0:k[h.size])?w:{},h),F=c()({},E,A,C);null!=(S=t)&&S.isMultiPart&&g.parts&&g.parts.forEach((function(e){var r;F[e]=null!=(r=F[e])?r:{}})),f()(m.current,F)||(m.current=F)}return m.current}function V(e,r){return U(e,r,{isMultiPart:!0})}},44592:function(e,r,t){"use strict";t.d(r,{Hc:function(){return ze},Ts:function(){return m},jX:function(){return o},yn:function(){return P},Qm:function(){return H},PP:function(){return ie},v0:function(){return oe},HU:function(){return we},r3:function(){return Z},cx:function(){return $},PB:function(){return L},Ao:function(){return Ne},VI:function(){return he},YU:function(){return C},xH:function(){return ge},T_:function(){return be},sq:function(){return F},vY:function(){return q},t5:function(){return re},K1:function(){return B},LP:function(){return l},lZ:function(){return I},kR:function(){return O},f7:function(){return Re},wN:function(){return V},H9:function(){return G},kJ:function(){return c},jU:function(){return N},FS:function(){return h},Qr:function(){return b},mf:function(){return u},Re:function(){return j},kA:function(){return y},Ft:function(){return p},hj:function(){return s},Kn:function(){return f},Ik:function(){return v},n_:function(){return Y},HD:function(){return g},Wq:function(){return Q},o8:function(){return d},XQ:function(){return We},Wf:function(){return S},ZT:function(){return se},uh:function(){return U},lw:function(){return E},Yd:function(){return A},CE:function(){return x},WS:function(){return ye},ei:function(){return w},zG:function(){return ue},px:function(){return _},cl:function(){return i},WP:function(){return xe},Pu:function(){return ae},Vl:function(){return k},Rg:function(){return ve},ZK:function(){return ce},JN:function(){return Be}});t(38554);var n=t(9839);function a(e){var r=null==e?0:e.length;return r?e[r-1]:void 0}function o(e,r){return[].concat(e,[r])}function i(e,r){return e.filter((function(e){return e!==r}))}function l(e,r,t,n){if(null==r)return n;if(!n)return e.find((function(e){return t(e).toLowerCase().startsWith(r.toLowerCase())}));var a,o=e.filter((function(e){return t(e).toLowerCase().startsWith(r.toLowerCase())}));return o.length>0?o.includes(n)?((a=o.indexOf(n)+1)===o.length&&(a=0),o[a]):(a=e.indexOf(o[0]),e[a]):n}function s(e){return"number"===typeof e}function c(e){return Array.isArray(e)}function u(e){return"function"===typeof e}function d(e){return"undefined"===typeof e||void 0===e}function f(e){var r=typeof e;return null!=e&&("object"===r||"function"===r)&&!c(e)}function b(e){return f(e)&&0===Object.keys(e).length}function p(e){return null==e}function g(e){return"[object String]"===Object.prototype.toString.call(e)}function h(e){return/^var\(--.+\)$/.test(e)}var m=!1;function v(e){return"current"in e}function y(e){return e&&f(e)&&f(e.target)}function x(e,r){var t={};return Object.keys(e).forEach((function(n){r.includes(n)||(t[n]=e[n])})),t}function w(e,r){var t={};return r.forEach((function(r){r in e&&(t[r]=e[r])})),t}function k(e,r){var t={},n={};return Object.keys(e).forEach((function(a){r.includes(a)?t[a]=e[a]:n[a]=e[a]})),[t,n]}var S=function(e){var r=new WeakMap;return function(t,n,a,o){if("undefined"===typeof t)return e(t,n,a);r.has(t)||r.set(t,new Map);var i=r.get(t);if(i.has(n))return i.get(n);var l=e(t,n,a,o);return i.set(n,l),l}}((function(e,r,t,n){var a="string"===typeof r?r.split("."):[r];for(n=0;n<a.length&&e;n+=1)e=e[a[n]];return void 0===e?t:e}));function E(e,r){var t={};return Object.keys(e).forEach((function(n){var a=e[n];r(a,n,e)&&(t[n]=a)})),t}var C=function(e){return E(e,(function(e){return null!==e&&void 0!==e}))},A=function(e){return Object.keys(e)},F=function(e){return e.reduce((function(e,r){var t=r[0],n=r[1];return e[t]=n,e}),{})},B=function(e,r,t){var n,a;return null!=(n=null==(a=e.__cssMap[r+"."+t])?void 0:a.varRef)?n:t};function _(e){return null==e?e:function(e){var r=parseFloat(e.toString()),t=e.toString().replace(String(r),"");return{unitless:!t,value:r,unit:t}}(e).unitless||s(e)?e+"px":e}var D=function(e,r){return parseInt(e[1],10)>parseInt(r[1],10)?1:-1},R=function(e){return F(Object.entries(e).sort(D))};function T(e){var r=R(e);return Object.assign(Object.values(r),r)}function z(e,r){var t=[];return e&&t.push("@media screen and (min-width: "+_(e)+")"),t.length>0&&r&&t.push("and"),r&&t.push("@media screen and (max-width: "+_(r)+")"),t.join(" ")}function P(e){var r;if(!e)return null;e.base=null!=(r=e.base)?r:"0px";var t=T(e),n=Object.entries(e).sort(D).map((function(e,r,t){var n,a=e[0],o=e[1],i=(null!=(n=t[r+1])?n:[])[1];return{breakpoint:a,minW:o,maxW:i=parseFloat(i)>0?function(e){var r;if(!e)return e;var t=(e=null!=(r=_(e))?r:e).endsWith("px")?-1:-.0635;return s(e)?""+(e+t):e.replace(/([0-9]+\.?[0-9]*)/,(function(e){return""+(parseFloat(e)+t)}))}(i):void 0,maxWQuery:z(null,i),minWQuery:z(o),minMaxQuery:z(o,i)}})),o=function(e){var r=Object.keys(R(e));return new Set(r)}(e),i=Array.from(o.values());return{keys:o,normalized:t,isResponsive:function(e){var r=Object.keys(e);return r.length>0&&r.every((function(e){return o.has(e)}))},asObject:R(e),asArray:T(e),details:n,media:[null].concat(t.map((function(e){return z(e)})).slice(1)),toArrayValue:function(e){if(!f(e))throw new Error("toArrayValue: value must be an object");for(var r=i.map((function(r){var t;return null!=(t=e[r])?t:null}));null===a(r);)r.pop();return r},toObjectValue:function(e){if(!Array.isArray(e))throw new Error("toObjectValue: value must be an array");return e.reduce((function(e,r,t){var n=i[t];return null!=n&&null!=r&&(e[n]=r),e}),{})}}}function M(e){return null!=e&&"object"==typeof e&&"nodeType"in e&&e.nodeType===Node.ELEMENT_NODE}function j(e){var r;return!!M(e)&&e instanceof(null!=(r=e.ownerDocument.defaultView)?r:window).HTMLElement}function O(e){var r,t;return M(e)&&null!=(r=null==(t=I(e))?void 0:t.defaultView)?r:window}function I(e){var r;return M(e)&&null!=(r=e.ownerDocument)?r:document}function W(e){var r;return null!=(r=e.view)?r:window}var N=!("undefined"===typeof window||!window.document||!window.document.createElement),L=function(e){return e?"":void 0},H=function(e){return!!e||void 0},$=function(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return r.filter(Boolean).join(" ")};function q(e){var r=I(e);return null==r?void 0:r.activeElement}function Z(e,r){return!!e&&(e===r||e.contains(r))}function U(e){var r=e.key,t=e.keyCode;return t>=37&&t<=40&&0!==r.indexOf("Arrow")?"Arrow"+r:r}function V(e){var r,t,n=q(null!=(r=e.target)?r:e.currentTarget);return null!=(t=e.relatedTarget)?t:n}function Y(e){return 0!==e.button}var X=function(e){return e.hasAttribute("tabindex")};function G(e){return(j(e)?I(e):document).activeElement===e}function K(e){return!(!e.parentElement||!K(e.parentElement))||e.hidden}function J(e){if(!j(e)||K(e)||function(e){return!0===Boolean(e.getAttribute("disabled"))||!0===Boolean(e.getAttribute("aria-disabled"))}(e))return!1;var r=e.localName;if(["input","select","textarea","button"].indexOf(r)>=0)return!0;var t={a:function(){return e.hasAttribute("href")},audio:function(){return e.hasAttribute("controls")},video:function(){return e.hasAttribute("controls")}};return r in t?t[r]():!!function(e){var r=e.getAttribute("contenteditable");return"false"!==r&&null!=r}(e)||X(e)}function Q(e){return!!e&&(j(e)&&J(e)&&!function(e){return X(e)&&-1===e.tabIndex}(e))}var ee=["input:not([disabled])","select:not([disabled])","textarea:not([disabled])","embed","iframe","object","a[href]","area[href]","button:not([disabled])","[tabindex]","audio[controls]","video[controls]","*[tabindex]:not([aria-disabled])","*[contenteditable]"].join();function re(e){var r=Array.from(e.querySelectorAll(ee));return r.unshift(e),r.filter(J).filter((function(e){return"none"!==window.getComputedStyle(e).display}))}function te(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,n=new Array(r);t<r;t++)n[t]=e[t];return n}function ne(e,r){var t="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(t)return(t=t.call(e)).next.bind(t);if(Array.isArray(e)||(t=function(e,r){if(e){if("string"===typeof e)return te(e,r);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?te(e,r):void 0}}(e))||r&&e&&"number"===typeof e.length){t&&(e=t);var n=0;return function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function ae(e){for(var r=arguments.length,t=new Array(r>1?r-1:0),n=1;n<r;n++)t[n-1]=arguments[n];return u(e)?e.apply(void 0,t):e}function oe(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return function(e){r.some((function(r){return null==r||r(e),null==e?void 0:e.defaultPrevented}))}}function ie(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return function(e){r.forEach((function(r){null==r||r(e)}))}}function le(e){var r;return function(){if(e){for(var t=arguments.length,n=new Array(t),a=0;a<t;a++)n[a]=arguments[a];r=e.apply(this,n),e=null}return r}}var se=function(){},ce=le((function(e){return function(){var r=e.condition,t=e.message;r&&m&&console.warn(t)}})),ue=(le((function(e){return function(){var r=e.condition,t=e.message;r&&m&&console.error(t)}})),function(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return function(e){return r.reduce((function(e,r){return r(e)}),e)}}),de=function(e,r){return Math.abs(e-r)},fe=function(e){return"x"in e&&"y"in e};function be(e,r){void 0===r&&(r={});var t=r,n=t.isActive,a=void 0===n?G:n,o=t.nextTick,i=t.preventScroll,l=void 0===i||i,s=t.selectTextIfInput,c=void 0===s||s;if(!e||a(e))return-1;function u(){if(e){if(function(){if(null==pe){pe=!1;try{document.createElement("div").focus({get preventScroll(){return pe=!0,!0}})}catch(e){}}return pe}())e.focus({preventScroll:l});else if(e.focus(),l)!function(e){for(var r,t=ne(e);!(r=t()).done;){var n=r.value,a=n.element,o=n.scrollTop,i=n.scrollLeft;a.scrollTop=o,a.scrollLeft=i}}(function(e){var r,t=I(e),n=null!=(r=t.defaultView)?r:window,a=e.parentNode,o=[],i=t.scrollingElement||t.documentElement;for(;a instanceof n.HTMLElement&&a!==i;)(a.offsetHeight<a.scrollHeight||a.offsetWidth<a.scrollWidth)&&o.push({element:a,scrollTop:a.scrollTop,scrollLeft:a.scrollLeft}),a=a.parentNode;i instanceof n.HTMLElement&&o.push({element:i,scrollTop:i.scrollTop,scrollLeft:i.scrollLeft});return o}(e));(function(e){return j(e)&&"input"===e.tagName.toLowerCase()&&"select"in e})(e)&&c&&e.select()}else ce({condition:!0,message:"[chakra-ui]: can't call focus() on `null` or `undefined` element"})}return o?requestAnimationFrame(u):(u(),-1)}var pe=null;function ge(e,r){return void 0===r&&(r=1/0),(f(e)||Array.isArray(e))&&r?Object.entries(e).reduce((function(e,t){var n=t[0],a=t[1];return f(a)||c(a)?Object.entries(ge(a,r-1)).forEach((function(r){var t=r[0],a=r[1];e[n+"."+t]=a})):e[n]=a,e}),{}):e}function he(e){var r=e.hasBeenSelected,t=e.isLazy,n=e.isSelected,a=e.lazyBehavior;return!t||(!!n||!("keepMounted"!==(void 0===a?"unmount":a)||!r))}Number.MIN_SAFE_INTEGER,Number.MAX_SAFE_INTEGER;function me(e){var r=parseFloat(e);return function(e){return"number"!==typeof e||Number.isNaN(e)||!Number.isFinite(e)}(r)?0:r}function ve(e,r,t){return 100*(e-r)/(t-r)}function ye(e,r,t){return(t-r)*e+r}function xe(e,r,t){return function(e,r){var t=me(e),n=Math.pow(10,null!=r?r:10);return t=Math.round(t*n)/n,r?t.toFixed(r):t.toString()}(Math.round((e-r)/t)*t+r,function(e){if(!Number.isFinite(e))return 0;for(var r=1,t=0;Math.round(e*r)/r!==e;)r*=10,t+=1;return t}(t))}function we(e,r,t){return null==e?e:(ce({condition:t<r,message:"clamp: max cannot be less than min"}),Math.min(Math.max(e,r),t))}function ke(){return(ke=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e}).apply(this,arguments)}function Se(e){return!!e.touches}var Ee={pageX:0,pageY:0};function Ce(e,r){void 0===r&&(r="page");var t=e.touches[0]||e.changedTouches[0]||Ee;return{x:t[r+"X"],y:t[r+"Y"]}}function Ae(e,r){return void 0===r&&(r="page"),{x:e[r+"X"],y:e[r+"Y"]}}function Fe(e,r){return void 0===r&&(r="page"),{point:Se(e)?Ce(e,r):Ae(e,r)}}var Be=function(e,r){void 0===r&&(r=!1);var t,n=function(r){return e(r,Fe(r))};return r?(t=n,function(e){var r=e instanceof W(e).MouseEvent;(!r||r&&0===e.button)&&t(e)}):n},_e={pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointercancel:"mousecancel",pointerover:"mouseover",pointerout:"mouseout",pointerenter:"mouseenter",pointerleave:"mouseleave"},De={pointerdown:"touchstart",pointermove:"touchmove",pointerup:"touchend",pointercancel:"touchcancel"};function Re(e){return N&&null===window.onpointerdown?e:N&&null===window.ontouchstart?De[e]:N&&null===window.onmousedown?_e[e]:e}function Te(e,r,t,n){return function(e,r,t,n){return e.addEventListener(r,t,n),function(){e.removeEventListener(r,t,n)}}(e,Re(r),Be(t,"pointerdown"===r),n)}var ze=function(){function e(e,r,t){var a=this;if(this.history=[],this.startEvent=null,this.lastEvent=null,this.lastEventInfo=null,this.handlers={},this.removeListeners=se,this.threshold=3,this.win=void 0,this.updatePoint=function(){if(a.lastEvent&&a.lastEventInfo){var e=Oe(a.lastEventInfo,a.history),r=null!==a.startEvent,t=function(e,r){if(s(e)&&s(r))return de(e,r);if(fe(e)&&fe(r)){var t=de(e.x,r.x),n=de(e.y,r.y);return Math.sqrt(Math.pow(t,2)+Math.pow(n,2))}return 0}(e.offset,{x:0,y:0})>=a.threshold;if(r||t){var o=(0,n.$B)().timestamp;a.history.push(ke({},e.point,{timestamp:o}));var i=a.handlers,l=i.onStart,c=i.onMove;r||(null==l||l(a.lastEvent,e),a.startEvent=a.lastEvent),null==c||c(a.lastEvent,e)}}},this.onPointerMove=function(e,r){a.lastEvent=e,a.lastEventInfo=r,function(e){var r=W(e);return"undefined"!==typeof r.PointerEvent&&e instanceof r.PointerEvent?!("mouse"!==e.pointerType):e instanceof r.MouseEvent}(e)&&0===e.buttons?a.onPointerUp(e,r):n.ZP.update(a.updatePoint,!0)},this.onPointerUp=function(e,r){var t=Oe(r,a.history),n=a.handlers,o=n.onEnd,i=n.onSessionEnd;null==i||i(e,t),a.end(),o&&a.startEvent&&(null==o||o(e,t))},this.win=W(e),!(Se(o=e)&&o.touches.length>1)){var o;this.handlers=r,t&&(this.threshold=t),e.stopPropagation(),e.preventDefault();var i=Fe(e),l=(0,n.$B)().timestamp;this.history=[ke({},i.point,{timestamp:l})];var c=r.onSessionStart;null==c||c(e,Oe(i,this.history)),this.removeListeners=ue(Te(this.win,"pointermove",this.onPointerMove),Te(this.win,"pointerup",this.onPointerUp),Te(this.win,"pointercancel",this.onPointerUp))}}var r=e.prototype;return r.updateHandlers=function(e){this.handlers=e},r.end=function(){var e;null==(e=this.removeListeners)||e.call(this),n.qY.update(this.updatePoint)},e}();function Pe(e,r){return{x:e.x-r.x,y:e.y-r.y}}function Me(e){return e[0]}function je(e){return e[e.length-1]}function Oe(e,r){return{point:e.point,delta:Pe(e.point,je(r)),offset:Pe(e.point,Me(r)),velocity:Ie(r,.1)}}function Ie(e,r){if(e.length<2)return{x:0,y:0};for(var t=e.length-1,n=null,a=function(e){return e[e.length-1]}(e);t>=0&&(n=e[t],!(a.timestamp-n.timestamp>1e3*r));)t--;if(!n)return{x:0,y:0};var o=(a.timestamp-n.timestamp)/1e3;if(0===o)return{x:0,y:0};var i={x:(a.x-n.x)/o,y:(a.y-n.y)/o};return i.x===1/0&&(i.x=0),i.y===1/0&&(i.y=0),i}Object.freeze(["base","sm","md","lg","xl","2xl"]);function We(e,r){return c(e)?e.map((function(e){return null===e?null:r(e)})):f(e)?A(e).reduce((function(t,n){return t[n]=r(e[n]),t}),{}):null!=e?r(e):null}function Ne(e){return!!N&&function(e){var r=e.userAgent,t=e.vendor,n=/(android)/i.test(r);switch(!0){case/CriOS/.test(r):return"Chrome for iOS";case/Edg\//.test(r):return"Edge";case n&&/Silk\//.test(r):return"Silk";case/Chrome/.test(r)&&/Google Inc/.test(t):return"Chrome";case/Firefox\/\d+\.\d+$/.test(r):return"Firefox";case n:return"AOSP";case/MSIE|Trident/.test(r):return"IE";case/Safari/.test(e.userAgent)&&/Apple Computer/.test(r):return"Safari";case/AppleWebKit/.test(r):return"WebKit";default:return null}}(window.navigator)===e}},51859:function(e,r,t){"use strict";t.d(r,{Z:function(){return ae}});var n=t(11526),a=Math.abs,o=String.fromCharCode,i=Object.assign;function l(e){return e.trim()}function s(e,r,t){return e.replace(r,t)}function c(e,r){return e.indexOf(r)}function u(e,r){return 0|e.charCodeAt(r)}function d(e,r,t){return e.slice(r,t)}function f(e){return e.length}function b(e){return e.length}function p(e,r){return r.push(e),e}var g=1,h=1,m=0,v=0,y=0,x="";function w(e,r,t,n,a,o,i){return{value:e,root:r,parent:t,type:n,props:a,children:o,line:g,column:h,length:i,return:""}}function k(e,r){return i(w("",null,null,"",null,null,0),e,{length:-e.length},r)}function S(){return y=v>0?u(x,--v):0,h--,10===y&&(h=1,g--),y}function E(){return y=v<m?u(x,v++):0,h++,10===y&&(h=1,g++),y}function C(){return u(x,v)}function A(){return v}function F(e,r){return d(x,e,r)}function B(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function _(e){return g=h=1,m=f(x=e),v=0,[]}function D(e){return x="",e}function R(e){return l(F(v-1,P(91===e?e+2:40===e?e+1:e)))}function T(e){for(;(y=C())&&y<33;)E();return B(e)>2||B(y)>3?"":" "}function z(e,r){for(;--r&&E()&&!(y<48||y>102||y>57&&y<65||y>70&&y<97););return F(e,A()+(r<6&&32==C()&&32==E()))}function P(e){for(;E();)switch(y){case e:return v;case 34:case 39:34!==e&&39!==e&&P(y);break;case 40:41===e&&P(e);break;case 92:E()}return v}function M(e,r){for(;E()&&e+y!==57&&(e+y!==84||47!==C()););return"/*"+F(r,v-1)+"*"+o(47===e?e:E())}function j(e){for(;!B(C());)E();return F(e,v)}var O="-ms-",I="-moz-",W="-webkit-",N="comm",L="rule",H="decl",$="@keyframes";function q(e,r){for(var t="",n=b(e),a=0;a<n;a++)t+=r(e[a],a,e,r)||"";return t}function Z(e,r,t,n){switch(e.type){case"@import":case H:return e.return=e.return||e.value;case N:return"";case $:return e.return=e.value+"{"+q(e.children,n)+"}";case L:e.value=e.props.join(",")}return f(t=q(e.children,n))?e.return=e.value+"{"+t+"}":""}function U(e,r){switch(function(e,r){return(((r<<2^u(e,0))<<2^u(e,1))<<2^u(e,2))<<2^u(e,3)}(e,r)){case 5103:return W+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return W+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return W+e+I+e+O+e+e;case 6828:case 4268:return W+e+O+e+e;case 6165:return W+e+O+"flex-"+e+e;case 5187:return W+e+s(e,/(\w+).+(:[^]+)/,"-webkit-box-$1$2-ms-flex-$1$2")+e;case 5443:return W+e+O+"flex-item-"+s(e,/flex-|-self/,"")+e;case 4675:return W+e+O+"flex-line-pack"+s(e,/align-content|flex-|-self/,"")+e;case 5548:return W+e+O+s(e,"shrink","negative")+e;case 5292:return W+e+O+s(e,"basis","preferred-size")+e;case 6060:return W+"box-"+s(e,"-grow","")+W+e+O+s(e,"grow","positive")+e;case 4554:return W+s(e,/([^-])(transform)/g,"$1-webkit-$2")+e;case 6187:return s(s(s(e,/(zoom-|grab)/,W+"$1"),/(image-set)/,W+"$1"),e,"")+e;case 5495:case 3959:return s(e,/(image-set\([^]*)/,W+"$1$`$1");case 4968:return s(s(e,/(.+:)(flex-)?(.*)/,"-webkit-box-pack:$3-ms-flex-pack:$3"),/s.+-b[^;]+/,"justify")+W+e+e;case 4095:case 3583:case 4068:case 2532:return s(e,/(.+)-inline(.+)/,W+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(f(e)-1-r>6)switch(u(e,r+1)){case 109:if(45!==u(e,r+4))break;case 102:return s(e,/(.+:)(.+)-([^]+)/,"$1-webkit-$2-$3$1"+I+(108==u(e,r+3)?"$3":"$2-$3"))+e;case 115:return~c(e,"stretch")?U(s(e,"stretch","fill-available"),r)+e:e}break;case 4949:if(115!==u(e,r+1))break;case 6444:switch(u(e,f(e)-3-(~c(e,"!important")&&10))){case 107:return s(e,":",":"+W)+e;case 101:return s(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+W+(45===u(e,14)?"inline-":"")+"box$3$1"+W+"$2$3$1"+O+"$2box$3")+e}break;case 5936:switch(u(e,r+11)){case 114:return W+e+O+s(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return W+e+O+s(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return W+e+O+s(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return W+e+O+e+e}return e}function V(e){return D(Y("",null,null,null,[""],e=_(e),0,[0],e))}function Y(e,r,t,n,a,i,l,u,d){for(var b=0,g=0,h=l,m=0,v=0,y=0,x=1,w=1,k=1,F=0,B="",_=a,D=i,P=n,O=B;w;)switch(y=F,F=E()){case 40:if(108!=y&&58==O.charCodeAt(h-1)){-1!=c(O+=s(R(F),"&","&\f"),"&\f")&&(k=-1);break}case 34:case 39:case 91:O+=R(F);break;case 9:case 10:case 13:case 32:O+=T(y);break;case 92:O+=z(A()-1,7);continue;case 47:switch(C()){case 42:case 47:p(G(M(E(),A()),r,t),d);break;default:O+="/"}break;case 123*x:u[b++]=f(O)*k;case 125*x:case 59:case 0:switch(F){case 0:case 125:w=0;case 59+g:v>0&&f(O)-h&&p(v>32?K(O+";",n,t,h-1):K(s(O," ","")+";",n,t,h-2),d);break;case 59:O+=";";default:if(p(P=X(O,r,t,b,g,a,u,B,_=[],D=[],h),i),123===F)if(0===g)Y(O,r,P,P,_,i,h,u,D);else switch(m){case 100:case 109:case 115:Y(e,P,P,n&&p(X(e,P,P,0,0,a,u,B,a,_=[],h),D),a,D,h,u,n?_:D);break;default:Y(O,P,P,P,[""],D,0,u,D)}}b=g=v=0,x=k=1,B=O="",h=l;break;case 58:h=1+f(O),v=y;default:if(x<1)if(123==F)--x;else if(125==F&&0==x++&&125==S())continue;switch(O+=o(F),F*x){case 38:k=g>0?1:(O+="\f",-1);break;case 44:u[b++]=(f(O)-1)*k,k=1;break;case 64:45===C()&&(O+=R(E())),m=C(),g=h=f(B=O+=j(A())),F++;break;case 45:45===y&&2==f(O)&&(x=0)}}return i}function X(e,r,t,n,o,i,c,u,f,p,g){for(var h=o-1,m=0===o?i:[""],v=b(m),y=0,x=0,k=0;y<n;++y)for(var S=0,E=d(e,h+1,h=a(x=c[y])),C=e;S<v;++S)(C=l(x>0?m[S]+" "+E:s(E,/&\f/g,m[S])))&&(f[k++]=C);return w(e,r,t,0===o?L:u,f,p,g)}function G(e,r,t){return w(e,r,t,N,o(y),d(e,2,-2),0)}function K(e,r,t,n){return w(e,r,t,H,d(e,0,n),d(e,n+1,-1),n)}var J=function(e,r,t){for(var n=0,a=0;n=a,a=C(),38===n&&12===a&&(r[t]=1),!B(a);)E();return F(e,v)},Q=function(e,r){return D(function(e,r){var t=-1,n=44;do{switch(B(n)){case 0:38===n&&12===C()&&(r[t]=1),e[t]+=J(v-1,r,t);break;case 2:e[t]+=R(n);break;case 4:if(44===n){e[++t]=58===C()?"&\f":"",r[t]=e[t].length;break}default:e[t]+=o(n)}}while(n=E());return e}(_(e),r))},ee=new WeakMap,re=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var r=e.value,t=e.parent,n=e.column===t.column&&e.line===t.line;"rule"!==t.type;)if(!(t=t.parent))return;if((1!==e.props.length||58===r.charCodeAt(0)||ee.get(t))&&!n){ee.set(e,!0);for(var a=[],o=Q(r,a),i=t.props,l=0,s=0;l<o.length;l++)for(var c=0;c<i.length;c++,s++)e.props[s]=a[l]?o[l].replace(/&\f/g,i[c]):i[c]+" "+o[l]}}},te=function(e){if("decl"===e.type){var r=e.value;108===r.charCodeAt(0)&&98===r.charCodeAt(2)&&(e.return="",e.value="")}},ne=[function(e,r,t,n){if(e.length>-1&&!e.return)switch(e.type){case H:e.return=U(e.value,e.length);break;case $:return q([k(e,{value:s(e.value,"@","@"+W)})],n);case L:if(e.length)return function(e,r){return e.map(r).join("")}(e.props,(function(r){switch(function(e,r){return(e=r.exec(e))?e[0]:e}(r,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return q([k(e,{props:[s(r,/:(read-\w+)/,":-moz-$1")]})],n);case"::placeholder":return q([k(e,{props:[s(r,/:(plac\w+)/,":-webkit-input-$1")]}),k(e,{props:[s(r,/:(plac\w+)/,":-moz-$1")]}),k(e,{props:[s(r,/:(plac\w+)/,O+"input-$1")]})],n)}return""}))}}],ae=function(e){var r=e.key;if("css"===r){var t=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(t,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var a=e.stylisPlugins||ne;var o,i,l={},s=[];o=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+r+' "]'),(function(e){for(var r=e.getAttribute("data-emotion").split(" "),t=1;t<r.length;t++)l[r[t]]=!0;s.push(e)}));var c,u,d=[Z,(u=function(e){c.insert(e)},function(e){e.root||(e=e.return)&&u(e)})],f=function(e){var r=b(e);return function(t,n,a,o){for(var i="",l=0;l<r;l++)i+=e[l](t,n,a,o)||"";return i}}([re,te].concat(a,d));i=function(e,r,t,n){c=t,q(V(e?e+"{"+r.styles+"}":r.styles),f),n&&(p.inserted[r.name]=!0)};var p={key:r,sheet:new n.m({key:r,container:o,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:l,registered:{},insert:i};return p.sheet.hydrate(s),p}},67866:function(e,r){"use strict";r.Z=function(e){var r=Object.create(null);return function(t){return void 0===r[t]&&(r[t]=e(t)),r[t]}}},31421:function(e,r,t){"use strict";t.d(r,{T:function(){return c},a:function(){return d},w:function(){return s}});var n=t(67294),a=t(51859),o=t(87462),i=function(e){var r=new WeakMap;return function(t){if(r.has(t))return r.get(t);var n=e(t);return r.set(t,n),n}},l=(t(94199),(0,n.createContext)("undefined"!==typeof HTMLElement?(0,a.Z)({key:"css"}):null));l.Provider;var s=function(e){return(0,n.forwardRef)((function(r,t){var a=(0,n.useContext)(l);return e(r,a,t)}))},c=(0,n.createContext)({});var u=i((function(e){return i((function(r){return function(e,r){return"function"===typeof r?r(e):(0,o.Z)({},e,r)}(e,r)}))})),d=function(e){var r=(0,n.useContext)(c);return e.theme!==r&&(r=u(r)(e.theme)),(0,n.createElement)(c.Provider,{value:r},e.children)}},70917:function(e,r,t){"use strict";t.d(r,{xB:function(){return s},F4:function(){return u}});var n=t(67294),a=(t(51859),t(31421)),o=(t(8679),t(70444)),i=t(94199),l=t(11526),s=(0,a.w)((function(e,r){var t=e.styles,s=(0,i.O)([t],void 0,(0,n.useContext)(a.T)),c=(0,n.useRef)();return(0,n.useLayoutEffect)((function(){var e=r.key+"-global",t=new l.m({key:e,nonce:r.sheet.nonce,container:r.sheet.container,speedy:r.sheet.isSpeedy}),n=!1,a=document.querySelector('style[data-emotion="'+e+" "+s.name+'"]');return r.sheet.tags.length&&(t.before=r.sheet.tags[0]),null!==a&&(n=!0,a.setAttribute("data-emotion",e),t.hydrate([a])),c.current=[t,n],function(){t.flush()}}),[r]),(0,n.useLayoutEffect)((function(){var e=c.current,t=e[0];if(e[1])e[1]=!1;else{if(void 0!==s.next&&(0,o.M)(r,s.next,!0),t.tags.length){var n=t.tags[t.tags.length-1].nextElementSibling;t.before=n,t.flush()}r.insert("",s,t,!1)}}),[r,s.name]),null}));function c(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return(0,i.O)(r)}var u=function(){var e=c.apply(void 0,arguments),r="animation-"+e.name;return{name:r,styles:"@keyframes "+r+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}},94199:function(e,r,t){"use strict";t.d(r,{O:function(){return g}});var n=function(e){for(var r,t=0,n=0,a=e.length;a>=4;++n,a-=4)r=1540483477*(65535&(r=255&e.charCodeAt(n)|(255&e.charCodeAt(++n))<<8|(255&e.charCodeAt(++n))<<16|(255&e.charCodeAt(++n))<<24))+(59797*(r>>>16)<<16),t=1540483477*(65535&(r^=r>>>24))+(59797*(r>>>16)<<16)^1540483477*(65535&t)+(59797*(t>>>16)<<16);switch(a){case 3:t^=(255&e.charCodeAt(n+2))<<16;case 2:t^=(255&e.charCodeAt(n+1))<<8;case 1:t=1540483477*(65535&(t^=255&e.charCodeAt(n)))+(59797*(t>>>16)<<16)}return(((t=1540483477*(65535&(t^=t>>>13))+(59797*(t>>>16)<<16))^t>>>15)>>>0).toString(36)},a={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},o=t(67866),i=/[A-Z]|^ms/g,l=/_EMO_([^_]+?)_([^]*?)_EMO_/g,s=function(e){return 45===e.charCodeAt(1)},c=function(e){return null!=e&&"boolean"!==typeof e},u=(0,o.Z)((function(e){return s(e)?e:e.replace(i,"-$&").toLowerCase()})),d=function(e,r){switch(e){case"animation":case"animationName":if("string"===typeof r)return r.replace(l,(function(e,r,t){return b={name:r,styles:t,next:b},r}))}return 1===a[e]||s(e)||"number"!==typeof r||0===r?r:r+"px"};function f(e,r,t){if(null==t)return"";if(void 0!==t.__emotion_styles)return t;switch(typeof t){case"boolean":return"";case"object":if(1===t.anim)return b={name:t.name,styles:t.styles,next:b},t.name;if(void 0!==t.styles){var n=t.next;if(void 0!==n)for(;void 0!==n;)b={name:n.name,styles:n.styles,next:b},n=n.next;return t.styles+";"}return function(e,r,t){var n="";if(Array.isArray(t))for(var a=0;a<t.length;a++)n+=f(e,r,t[a])+";";else for(var o in t){var i=t[o];if("object"!==typeof i)null!=r&&void 0!==r[i]?n+=o+"{"+r[i]+"}":c(i)&&(n+=u(o)+":"+d(o,i)+";");else if(!Array.isArray(i)||"string"!==typeof i[0]||null!=r&&void 0!==r[i[0]]){var l=f(e,r,i);switch(o){case"animation":case"animationName":n+=u(o)+":"+l+";";break;default:n+=o+"{"+l+"}"}}else for(var s=0;s<i.length;s++)c(i[s])&&(n+=u(o)+":"+d(o,i[s])+";")}return n}(e,r,t);case"function":if(void 0!==e){var a=b,o=t(e);return b=a,f(e,r,o)}break;case"string":}if(null==r)return t;var i=r[t];return void 0!==i?i:t}var b,p=/label:\s*([^\s;\n{]+)\s*(;|$)/g;var g=function(e,r,t){if(1===e.length&&"object"===typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var a=!0,o="";b=void 0;var i=e[0];null==i||void 0===i.raw?(a=!1,o+=f(t,r,i)):o+=i[0];for(var l=1;l<e.length;l++)o+=f(t,r,e[l]),a&&(o+=i[l]);p.lastIndex=0;for(var s,c="";null!==(s=p.exec(o));)c+="-"+s[1];return{name:n(o)+c,styles:o,next:b}}},11526:function(e,r,t){"use strict";t.d(r,{m:function(){return n}});var n=function(){function e(e){var r=this;this._insertTag=function(e){var t;t=0===r.tags.length?r.insertionPoint?r.insertionPoint.nextSibling:r.prepend?r.container.firstChild:r.before:r.tags[r.tags.length-1].nextSibling,r.container.insertBefore(e,t),r.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var r=e.prototype;return r.hydrate=function(e){e.forEach(this._insertTag)},r.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(function(e){var r=document.createElement("style");return r.setAttribute("data-emotion",e.key),void 0!==e.nonce&&r.setAttribute("nonce",e.nonce),r.appendChild(document.createTextNode("")),r.setAttribute("data-s",""),r}(this));var r=this.tags[this.tags.length-1];if(this.isSpeedy){var t=function(e){if(e.sheet)return e.sheet;for(var r=0;r<document.styleSheets.length;r++)if(document.styleSheets[r].ownerNode===e)return document.styleSheets[r]}(r);try{t.insertRule(e,t.cssRules.length)}catch(n){0}}else r.appendChild(document.createTextNode(e));this.ctr++},r.flush=function(){this.tags.forEach((function(e){return e.parentNode&&e.parentNode.removeChild(e)})),this.tags=[],this.ctr=0},e}()},70444:function(e,r,t){"use strict";t.d(r,{f:function(){return n},M:function(){return a}});function n(e,r,t){var n="";return t.split(" ").forEach((function(t){void 0!==e[t]?r.push(e[t]+";"):n+=t+" "})),n}var a=function(e,r,t){var n=e.key+"-"+r.name;if(!1===t&&void 0===e.registered[n]&&(e.registered[n]=r.styles),void 0===e.inserted[r.name]){var a=r;do{e.insert(r===a?"."+n:"",a,e.sheet,!0);a=a.next}while(void 0!==a)}}},20640:function(e,r,t){"use strict";var n=t(11742),a={"text/plain":"Text","text/html":"Url",default:"Text"};e.exports=function(e,r){var t,o,i,l,s,c,u=!1;r||(r={}),t=r.debug||!1;try{if(i=n(),l=document.createRange(),s=document.getSelection(),(c=document.createElement("span")).textContent=e,c.style.all="unset",c.style.position="fixed",c.style.top=0,c.style.clip="rect(0, 0, 0, 0)",c.style.whiteSpace="pre",c.style.webkitUserSelect="text",c.style.MozUserSelect="text",c.style.msUserSelect="text",c.style.userSelect="text",c.addEventListener("copy",(function(n){if(n.stopPropagation(),r.format)if(n.preventDefault(),"undefined"===typeof n.clipboardData){t&&console.warn("unable to use e.clipboardData"),t&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var o=a[r.format]||a.default;window.clipboardData.setData(o,e)}else n.clipboardData.clearData(),n.clipboardData.setData(r.format,e);r.onCopy&&(n.preventDefault(),r.onCopy(n.clipboardData))})),document.body.appendChild(c),l.selectNodeContents(c),s.addRange(l),!document.execCommand("copy"))throw new Error("copy command was unsuccessful");u=!0}catch(d){t&&console.error("unable to copy using execCommand: ",d),t&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(r.format||"text",e),r.onCopy&&r.onCopy(window.clipboardData),u=!0}catch(d){t&&console.error("unable to copy using clipboardData: ",d),t&&console.error("falling back to prompt"),o=function(e){var r=(/mac os x/i.test(navigator.userAgent)?"\u2318":"Ctrl")+"+C";return e.replace(/#{\s*key\s*}/g,r)}("message"in r?r.message:"Copy to clipboard: #{key}, Enter"),window.prompt(o,e)}}finally{s&&("function"==typeof s.removeRange?s.removeRange(l):s.removeAllRanges()),c&&document.body.removeChild(c),i()}return u}},70580:function(e,r,t){"use strict";t.d(r,{iz:function(){return c}});var n="Invariant failed";var a=function(e){var r=e.top,t=e.right,n=e.bottom,a=e.left;return{top:r,right:t,bottom:n,left:a,width:t-a,height:n-r,x:a,y:r,center:{x:(t+a)/2,y:(n+r)/2}}},o=function(e,r){return{top:e.top+r.top,left:e.left+r.left,bottom:e.bottom-r.bottom,right:e.right-r.right}},i={top:0,right:0,bottom:0,left:0},l=function(e){var r,t,n=e.borderBox,l=e.margin,s=void 0===l?i:l,c=e.border,u=void 0===c?i:c,d=e.padding,f=void 0===d?i:d,b=a((t=s,{top:(r=n).top-t.top,left:r.left-t.left,bottom:r.bottom+t.bottom,right:r.right+t.right})),p=a(o(n,u)),g=a(o(p,f));return{marginBox:b,borderBox:a(n),paddingBox:p,contentBox:g,margin:s,border:u,padding:f}},s=function(e){var r=e.slice(0,-2);if("px"!==e.slice(-2))return 0;var t=Number(r);return isNaN(t)&&function(e,r){if(!e)throw new Error(n)}(!1),t},c=function(e){return function(e,r){var t={top:s(r.marginTop),right:s(r.marginRight),bottom:s(r.marginBottom),left:s(r.marginLeft)},n={top:s(r.paddingTop),right:s(r.paddingRight),bottom:s(r.paddingBottom),left:s(r.paddingLeft)},a={top:s(r.borderTopWidth),right:s(r.borderRightWidth),bottom:s(r.borderBottomWidth),left:s(r.borderLeftWidth)};return l({borderBox:e,margin:t,padding:n,border:a})}(e.getBoundingClientRect(),window.getComputedStyle(e))}},9839:function(e,r,t){"use strict";t.d(r,{qY:function(){return b},ZP:function(){return y},iW:function(){return p},$B:function(){return v}});var n=1/60*1e3,a="undefined"!==typeof performance?function(){return performance.now()}:function(){return Date.now()},o="undefined"!==typeof window?function(e){return window.requestAnimationFrame(e)}:function(e){return setTimeout((function(){return e(a())}),n)};var i=!0,l=!1,s=!1,c={delta:0,timestamp:0},u=["read","update","preRender","render","postRender"],d=u.reduce((function(e,r){return e[r]=function(e){var r=[],t=[],n=0,a=!1,o=new WeakSet,i={schedule:function(e,i,l){void 0===i&&(i=!1),void 0===l&&(l=!1);var s=l&&a,c=s?r:t;return i&&o.add(e),-1===c.indexOf(e)&&(c.push(e),s&&a&&(n=r.length)),e},cancel:function(e){var r=t.indexOf(e);-1!==r&&t.splice(r,1),o.delete(e)},process:function(l){var s;if(a=!0,r=(s=[t,r])[0],(t=s[1]).length=0,n=r.length)for(var c=0;c<n;c++){var u=r[c];u(l),o.has(u)&&(i.schedule(u),e())}a=!1}};return i}((function(){return l=!0})),e}),{}),f=u.reduce((function(e,r){var t=d[r];return e[r]=function(e,r,n){return void 0===r&&(r=!1),void 0===n&&(n=!1),l||m(),t.schedule(e,r,n)},e}),{}),b=u.reduce((function(e,r){return e[r]=d[r].cancel,e}),{}),p=u.reduce((function(e,r){return e[r]=function(){return d[r].process(c)},e}),{}),g=function(e){return d[e].process(c)},h=function(e){l=!1,c.delta=i?n:Math.max(Math.min(e-c.timestamp,40),1),c.timestamp=e,s=!0,u.forEach(g),s=!1,l&&(i=!1,o(h))},m=function(){l=!0,i=!0,s||o(h)},v=function(){return c},y=f},8679:function(e,r,t){"use strict";var n=t(59864),a={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},l={};function s(e){return n.isMemo(e)?i:l[e.$$typeof]||a}l[n.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},l[n.Memo]=i;var c=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,b=Object.getPrototypeOf,p=Object.prototype;e.exports=function e(r,t,n){if("string"!==typeof t){if(p){var a=b(t);a&&a!==p&&e(r,a,n)}var i=u(t);d&&(i=i.concat(d(t)));for(var l=s(r),g=s(t),h=0;h<i.length;++h){var m=i[h];if(!o[m]&&(!n||!n[m])&&(!g||!g[m])&&(!l||!l[m])){var v=f(t,m);try{c(r,m,v)}catch(y){}}}}return r}},38554:function(e,r,t){e=t.nmd(e);var n="__lodash_hash_undefined__",a=9007199254740991,o="[object Arguments]",i="[object Function]",l="[object Object]",s=/^\[object .+?Constructor\]$/,c=/^(?:0|[1-9]\d*)$/,u={};u["[object Float32Array]"]=u["[object Float64Array]"]=u["[object Int8Array]"]=u["[object Int16Array]"]=u["[object Int32Array]"]=u["[object Uint8Array]"]=u["[object Uint8ClampedArray]"]=u["[object Uint16Array]"]=u["[object Uint32Array]"]=!0,u[o]=u["[object Array]"]=u["[object ArrayBuffer]"]=u["[object Boolean]"]=u["[object DataView]"]=u["[object Date]"]=u["[object Error]"]=u[i]=u["[object Map]"]=u["[object Number]"]=u[l]=u["[object RegExp]"]=u["[object Set]"]=u["[object String]"]=u["[object WeakMap]"]=!1;var d="object"==typeof t.g&&t.g&&t.g.Object===Object&&t.g,f="object"==typeof self&&self&&self.Object===Object&&self,b=d||f||Function("return this")(),p=r&&!r.nodeType&&r,g=p&&e&&!e.nodeType&&e,h=g&&g.exports===p,m=h&&d.process,v=function(){try{var e=g&&g.require&&g.require("util").types;return e||m&&m.binding&&m.binding("util")}catch(r){}}(),y=v&&v.isTypedArray;function x(e,r,t){switch(t.length){case 0:return e.call(r);case 1:return e.call(r,t[0]);case 2:return e.call(r,t[0],t[1]);case 3:return e.call(r,t[0],t[1],t[2])}return e.apply(r,t)}var w,k,S=Array.prototype,E=Function.prototype,C=Object.prototype,A=b["__core-js_shared__"],F=E.toString,B=C.hasOwnProperty,_=function(){var e=/[^.]+$/.exec(A&&A.keys&&A.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),D=C.toString,R=F.call(Object),T=RegExp("^"+F.call(B).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),z=h?b.Buffer:void 0,P=b.Symbol,M=b.Uint8Array,j=z?z.allocUnsafe:void 0,O=(w=Object.getPrototypeOf,k=Object,function(e){return w(k(e))}),I=Object.create,W=C.propertyIsEnumerable,N=S.splice,L=P?P.toStringTag:void 0,H=function(){try{var e=be(Object,"defineProperty");return e({},"",{}),e}catch(r){}}(),$=z?z.isBuffer:void 0,q=Math.max,Z=Date.now,U=be(b,"Map"),V=be(Object,"create"),Y=function(){function e(){}return function(r){if(!Ce(r))return{};if(I)return I(r);e.prototype=r;var t=new e;return e.prototype=void 0,t}}();function X(e){var r=-1,t=null==e?0:e.length;for(this.clear();++r<t;){var n=e[r];this.set(n[0],n[1])}}function G(e){var r=-1,t=null==e?0:e.length;for(this.clear();++r<t;){var n=e[r];this.set(n[0],n[1])}}function K(e){var r=-1,t=null==e?0:e.length;for(this.clear();++r<t;){var n=e[r];this.set(n[0],n[1])}}function J(e){var r=this.__data__=new G(e);this.size=r.size}function Q(e,r){var t=xe(e),n=!t&&ye(e),a=!t&&!n&&ke(e),o=!t&&!n&&!a&&Fe(e),i=t||n||a||o,l=i?function(e,r){for(var t=-1,n=Array(e);++t<e;)n[t]=r(t);return n}(e.length,String):[],s=l.length;for(var c in e)!r&&!B.call(e,c)||i&&("length"==c||a&&("offset"==c||"parent"==c)||o&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||pe(c,s))||l.push(c);return l}function ee(e,r,t){(void 0!==t&&!ve(e[r],t)||void 0===t&&!(r in e))&&ne(e,r,t)}function re(e,r,t){var n=e[r];B.call(e,r)&&ve(n,t)&&(void 0!==t||r in e)||ne(e,r,t)}function te(e,r){for(var t=e.length;t--;)if(ve(e[t][0],r))return t;return-1}function ne(e,r,t){"__proto__"==r&&H?H(e,r,{configurable:!0,enumerable:!0,value:t,writable:!0}):e[r]=t}X.prototype.clear=function(){this.__data__=V?V(null):{},this.size=0},X.prototype.delete=function(e){var r=this.has(e)&&delete this.__data__[e];return this.size-=r?1:0,r},X.prototype.get=function(e){var r=this.__data__;if(V){var t=r[e];return t===n?void 0:t}return B.call(r,e)?r[e]:void 0},X.prototype.has=function(e){var r=this.__data__;return V?void 0!==r[e]:B.call(r,e)},X.prototype.set=function(e,r){var t=this.__data__;return this.size+=this.has(e)?0:1,t[e]=V&&void 0===r?n:r,this},G.prototype.clear=function(){this.__data__=[],this.size=0},G.prototype.delete=function(e){var r=this.__data__,t=te(r,e);return!(t<0)&&(t==r.length-1?r.pop():N.call(r,t,1),--this.size,!0)},G.prototype.get=function(e){var r=this.__data__,t=te(r,e);return t<0?void 0:r[t][1]},G.prototype.has=function(e){return te(this.__data__,e)>-1},G.prototype.set=function(e,r){var t=this.__data__,n=te(t,e);return n<0?(++this.size,t.push([e,r])):t[n][1]=r,this},K.prototype.clear=function(){this.size=0,this.__data__={hash:new X,map:new(U||G),string:new X}},K.prototype.delete=function(e){var r=fe(this,e).delete(e);return this.size-=r?1:0,r},K.prototype.get=function(e){return fe(this,e).get(e)},K.prototype.has=function(e){return fe(this,e).has(e)},K.prototype.set=function(e,r){var t=fe(this,e),n=t.size;return t.set(e,r),this.size+=t.size==n?0:1,this},J.prototype.clear=function(){this.__data__=new G,this.size=0},J.prototype.delete=function(e){var r=this.__data__,t=r.delete(e);return this.size=r.size,t},J.prototype.get=function(e){return this.__data__.get(e)},J.prototype.has=function(e){return this.__data__.has(e)},J.prototype.set=function(e,r){var t=this.__data__;if(t instanceof G){var n=t.__data__;if(!U||n.length<199)return n.push([e,r]),this.size=++t.size,this;t=this.__data__=new K(n)}return t.set(e,r),this.size=t.size,this};var ae,oe=function(e,r,t){for(var n=-1,a=Object(e),o=t(e),i=o.length;i--;){var l=o[ae?i:++n];if(!1===r(a[l],l,a))break}return e};function ie(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":L&&L in Object(e)?function(e){var r=B.call(e,L),t=e[L];try{e[L]=void 0;var n=!0}catch(o){}var a=D.call(e);n&&(r?e[L]=t:delete e[L]);return a}(e):function(e){return D.call(e)}(e)}function le(e){return Ae(e)&&ie(e)==o}function se(e){return!(!Ce(e)||function(e){return!!_&&_ in e}(e))&&(Se(e)?T:s).test(function(e){if(null!=e){try{return F.call(e)}catch(r){}try{return e+""}catch(r){}}return""}(e))}function ce(e){if(!Ce(e))return function(e){var r=[];if(null!=e)for(var t in Object(e))r.push(t);return r}(e);var r=ge(e),t=[];for(var n in e)("constructor"!=n||!r&&B.call(e,n))&&t.push(n);return t}function ue(e,r,t,n,a){e!==r&&oe(r,(function(o,i){if(a||(a=new J),Ce(o))!function(e,r,t,n,a,o,i){var s=he(e,t),c=he(r,t),u=i.get(c);if(u)return void ee(e,t,u);var d=o?o(s,c,t+"",e,r,i):void 0,f=void 0===d;if(f){var b=xe(c),p=!b&&ke(c),g=!b&&!p&&Fe(c);d=c,b||p||g?xe(s)?d=s:Ae(h=s)&&we(h)?d=function(e,r){var t=-1,n=e.length;r||(r=Array(n));for(;++t<n;)r[t]=e[t];return r}(s):p?(f=!1,d=function(e,r){if(r)return e.slice();var t=e.length,n=j?j(t):new e.constructor(t);return e.copy(n),n}(c,!0)):g?(f=!1,d=function(e,r){var t=r?function(e){var r=new e.constructor(e.byteLength);return new M(r).set(new M(e)),r}(e.buffer):e.buffer;return new e.constructor(t,e.byteOffset,e.length)}(c,!0)):d=[]:function(e){if(!Ae(e)||ie(e)!=l)return!1;var r=O(e);if(null===r)return!0;var t=B.call(r,"constructor")&&r.constructor;return"function"==typeof t&&t instanceof t&&F.call(t)==R}(c)||ye(c)?(d=s,ye(s)?d=function(e){return function(e,r,t,n){var a=!t;t||(t={});var o=-1,i=r.length;for(;++o<i;){var l=r[o],s=n?n(t[l],e[l],l,t,e):void 0;void 0===s&&(s=e[l]),a?ne(t,l,s):re(t,l,s)}return t}(e,Be(e))}(s):Ce(s)&&!Se(s)||(d=function(e){return"function"!=typeof e.constructor||ge(e)?{}:Y(O(e))}(c))):f=!1}var h;f&&(i.set(c,d),a(d,c,n,o,i),i.delete(c));ee(e,t,d)}(e,r,i,t,ue,n,a);else{var s=n?n(he(e,i),o,i+"",e,r,a):void 0;void 0===s&&(s=o),ee(e,i,s)}}),Be)}function de(e,r){return me(function(e,r,t){return r=q(void 0===r?e.length-1:r,0),function(){for(var n=arguments,a=-1,o=q(n.length-r,0),i=Array(o);++a<o;)i[a]=n[r+a];a=-1;for(var l=Array(r+1);++a<r;)l[a]=n[a];return l[r]=t(i),x(e,this,l)}}(e,r,Re),e+"")}function fe(e,r){var t=e.__data__;return function(e){var r=typeof e;return"string"==r||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==e:null===e}(r)?t["string"==typeof r?"string":"hash"]:t.map}function be(e,r){var t=function(e,r){return null==e?void 0:e[r]}(e,r);return se(t)?t:void 0}function pe(e,r){var t=typeof e;return!!(r=null==r?a:r)&&("number"==t||"symbol"!=t&&c.test(e))&&e>-1&&e%1==0&&e<r}function ge(e){var r=e&&e.constructor;return e===("function"==typeof r&&r.prototype||C)}function he(e,r){if(("constructor"!==r||"function"!==typeof e[r])&&"__proto__"!=r)return e[r]}var me=function(e){var r=0,t=0;return function(){var n=Z(),a=16-(n-t);if(t=n,a>0){if(++r>=800)return arguments[0]}else r=0;return e.apply(void 0,arguments)}}(H?function(e,r){return H(e,"toString",{configurable:!0,enumerable:!1,value:(t=r,function(){return t}),writable:!0});var t}:Re);function ve(e,r){return e===r||e!==e&&r!==r}var ye=le(function(){return arguments}())?le:function(e){return Ae(e)&&B.call(e,"callee")&&!W.call(e,"callee")},xe=Array.isArray;function we(e){return null!=e&&Ee(e.length)&&!Se(e)}var ke=$||function(){return!1};function Se(e){if(!Ce(e))return!1;var r=ie(e);return r==i||"[object GeneratorFunction]"==r||"[object AsyncFunction]"==r||"[object Proxy]"==r}function Ee(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=a}function Ce(e){var r=typeof e;return null!=e&&("object"==r||"function"==r)}function Ae(e){return null!=e&&"object"==typeof e}var Fe=y?function(e){return function(r){return e(r)}}(y):function(e){return Ae(e)&&Ee(e.length)&&!!u[ie(e)]};function Be(e){return we(e)?Q(e,!0):ce(e)}var _e,De=(_e=function(e,r,t,n){ue(e,r,t,n)},de((function(e,r){var t=-1,n=r.length,a=n>1?r[n-1]:void 0,o=n>2?r[2]:void 0;for(a=_e.length>3&&"function"==typeof a?(n--,a):void 0,o&&function(e,r,t){if(!Ce(t))return!1;var n=typeof r;return!!("number"==n?we(t)&&pe(r,t.length):"string"==n&&r in t)&&ve(t[r],e)}(r[0],r[1],o)&&(a=n<3?void 0:a,n=1),e=Object(e);++t<n;){var i=r[t];i&&_e(e,i,t,a)}return e})));function Re(e){return e}e.exports=De},67690:function(e,r,t){"use strict";t.d(r,{n:function(){return n}});var n={1337:{base0:"#171F24",base1:"#1C1C1C",base2:"#121212",base3:"#3D3D3D",base4:"#4b474c",base5:"#515151",base6:"#6D6D6D",base7:"#777778",base8:"#f4f4f4",bg:"#191919","bg-alt":"#252526",blue:"#8CDAFF","dark-blue":"#6699CC",fg:"#d4d4d4","fg-alt":"#AEAFAD",green:"#468800",grey:"#777778","light-green":"#B5CEA8","light-yellow":"#FBE3BF",magenta:"#C586C0",orange:"#FC9354",red:"#FF5E5E",teal:"#35CDAF",white:"#FFFFFF",yellow:"#E9FDAC"},Iosevkem:{base0:"#1b1d1e",base1:"#202020",base2:"#303030",base3:"#303030",base4:"#505050",base5:"#505050",base6:"#808080",base7:"#808080",base8:"#DFDFDF",bg:"#1b1d1e","bg-alt":"#262829",blue:"#6c9ef8",cyan:"#00aa80","dark-blue":"#6688aa","dark-cyan":"#5699AF",fg:"#dddddd","fg-alt":"#5B6268",green:"#60aa00",grey:"#505050",magenta:"#b77fdb",orange:"#da8548",red:"#d02b61",teal:"#4db5bd",violet:"#a9a1e1",yellow:"#d08928"},"acario-dark":{base0:"#0F1019",base1:"#121212",base2:"#1E1E33",base3:"#464A56",base4:"#585C6C",base5:"#767676",base6:"#959EA5",base7:"#B2B2B2",base8:"#D0D0D0",bg:"#0D0E16","bg-alt":"#040408","bg-blue":"#0C213E",blue:"#3679D8",cyan:"#36D8BD","dark-blue":"#0C213E",fg:"#CEDBE5","fg-alt":"#E5F4FF",green:"#79D836",grey:"#767676",magenta:"#8041D8",orange:"#D85F00",red:"#D83441",teal:"#2D9574",violet:"#AB11D8",yellow:"#D8B941"},"ayu-mirage":{bg:"#1f2430","bg-alt":"#171b24",base0:"#3d434d",base1:"#707a8c",base2:"#2f3b54",base3:"#f5f7fd",base4:"#f5f7fd",base5:"#1c1e23",base6:"#484f5b",base7:"#14171f",base8:"#11131a",fg:"#cbccc6","fg-alt":"#707a8c",grey:"#171b24",red:"#f28779",orange:"#ffa759",green:"#bae67e",teal:"#95e6cb",yellow:"#ffd580",blue:"#73d0ff","dark-blue":"#5ca6cc",magenta:"#d4bfff",violet:"#dccbff",cyan:"#5ccfe6"},"ayu-light":{"common-accent":"#ff9940","common-bg":"#fafafa","common-fg":"#575f66","common-ui":"#ba9199","syntax-comment":"#abb0b6","syntax-constant":"#a37acc","syntax-entity":"#399ee6","syntax-error":"#f51818","syntax-func":"#f2ae49","syntax-keyword":"#fa8d3e","syntax-markup":"#f07171","syntax-operator":"#ed9366","syntax-regexp":"#4cbf99","syntax-special":"#e6ba7e","syntax-string":"#86b300","syntax-tag":"#55b4d4",test:"#2ea8e6","ui-gutter-active":"#ba9199","ui-gutter-normal":"#d9c2c6","ui-line":"#e8e8e8","ui-panel-border":"#fcfcfc","ui-panel-shadow":"#fbfbfb","ui-selection-bg":"#bce1f3","ui-selection-border":"#f0f8fd","ui-selection-inactive":"#f0f8fd"},badger:{bg:"#171717","bg-alt":"#2f2f2f",base0:"#1D1D1D",base1:"#1c1f24",base2:"#202328",base3:"#23272e",base4:"#433F4f",base5:"#635770",base6:"#656868",base7:"#9ca0a4",base8:"#DFDFDF",fg:"#F6F3E8","fg-alt":"#FBF9F3",grey:"#433F4f",red:"#E2434C",orange:"#EA9847",green:"#86B187",teal:"#65A399",yellow:"#E0D063",blue:"#8AC6F2","dark-blue":"#2257A0",magenta:"#E18Cbb",violet:"#BF93C3"},"challenger-deep":{base0:"#100E23",base1:"#292F37",base2:"#3D4551",base3:"#4C4B68",base4:"#565575",base5:"#858FA5",base6:"#9BA7BF",base7:"#B0BED8",base8:"#BAC9E4",bg:"#1E1C31","bg-alt":"#12111E",blue:"#91DDFF",cyan:"#AAFFE4","dark-blue":"#65B2FF","dark-cyan":"#62D196",fg:"#CBE3E7","fg-alt":"#B2B2B2",green:"#95FFA4",grey:"#565575",magenta:"#C991E1",orange:"#FFB378",red:"#FF8080",teal:"#63F2F1",violet:"#906CFF",yellow:"#FFE9AA"},"city-lights":{bg:"#1D252C","bg-alt":"#181E24",base0:"#10151C",base1:"#171D22",base2:"#20282F",base3:"#28323B",base4:"#384551",base5:"#56697A",base6:"#688094",base7:"#7FA0B7",base8:"#9CAABB","fg-alt":"#728CA0",fg:"#A0B3C5",grey:"#41505E",red:"#D95468",orange:"#D98E48",green:"#8BD49C",teal:"#33CED8",yellow:"#EBBF83",blue:"#5EC4FF","bright-blue":"#539AFC","dark-blue":"#718CA1"},"dark+":{bg:"#1e1e1e","bg-alt":"#252526",base0:"#171F24",base1:"#1C1C1C",base2:"#121212",base3:"#313131",base4:"#4b474c",base5:"#37474F",base6:"#237AD3",base7:"#777778",base8:"#f4f4f4",fg:"#d4d4d4","fg-alt":"#AEAFAD",grey:"#777778",red:"#D16969",orange:"#DB8E73",green:"#579C4C","light-green":"#B5CEA8",teal:"#35CDAF",yellow:"#D7BA7D","light-yellow":"#D9DAA2",blue:"#339CDB","dark-blue":"#124F7B",magenta:"#C586C0",violet:"#BB80B3","dark-violet":"#68217A",cyan:"#85DDFF","dark-cyan":"#207FA1"},dracula:{base0:"#1E2029",base1:"#282a36",base2:"#373844",base3:"#44475a",base4:"#565761",base5:"#6272a4",base6:"#b6b6b2",base7:"#ccccc7",base8:"#f8f8f2",bg:"#282a36","bg-alt":"#1E2029",blue:"#61bfff",cyan:"#8be9fd","dark-blue":"#0189cc","dark-cyan":"#8be9fd",fg:"#f8f8f2","fg-alt":"#e2e2dc",green:"#50fa7b",grey:"#565761",magenta:"#ff79c6",orange:"#ffb86c",red:"#ff5555",teal:"#0189cc",violet:"#bd93f9",yellow:"#f1fa8c"},ephemeral:{base0:"#181e26",base1:"#1e262d",base2:"#242d39",base3:"#2a3542",base4:"#323f4e",base5:"#364455",base6:"#505d6f",base7:"#77818f",base8:"#ebedef",bg:"#323f4e","bg-alt":"#28323e",blue:"#92b6f4",cyan:"#79e6f3","dark-blue":"#9f92f4","dark-violet":"#985EFF",fg:"#f8f8f2","fg-alt":"#fdfdfd",green:"#53e2ae",grey:"#3d4c5f",magenta:"#BD99FF",orange:"#f2a272",red:"#f48fb1",teal:"#a1efd3",violet:"#8897f4",yellow:"#f1fa8c"},"fairy-floss":{base0:"#464258",base1:"#514C66",base2:"#6A6483",base3:"#9673D3",base4:"#A0A0C0",base5:"#B8A2CE",base6:"#726C8A",base7:"#5B576C",base8:"#716799",bg:"#5a5475","bg-alt":"#343145",blue:"#55b3cc",cyan:"#96CBFE","dark-blue":"#167be2","dark-cyan":"#204052",fg:"#F8F8F0","fg-alt":"#B5B2Bd",green:"#C2FFDF",grey:"#656565",magenta:"#FFB8D1",orange:"#E6C000",red:"#CC6666",teal:"#8295D6",violet:"#C5A3FF",yellow:"#FFEA00"},flatwhite:{bg:"#f7f3ee","bg-alt":"#f1ece4",base0:"#f1ece4",base1:"#e4ddd2",base2:"#dcd3c6",base3:"#b9a992",base4:"#93836c",base5:"#605a52",base6:"#202328",base7:"#1c1f24",base8:"#1b2229",fg:"#605a52","fg-alt":"#93836c",grey:"#b9a992",red:"#955f5f",orange:"#957f5f",green:"#81895d",teal:"#5f8c7d",yellow:"#957f5f",blue:"#7382a0","dark-blue":"#7382a0",magenta:"#9c739c",violet:"#9c739c",cyan:"#5f8c7d","dark-cyan":"#5f8c7d"},"gruvbox-light":{base0:"#f0f0f0",base1:"#ebdbb2",base2:"#d5c4a1",base3:"#bdae93",base4:"#a89984",base5:"#504945",base6:"#3c3836",base7:"#282828",base8:"#1d2021",bg:"#fbf1c7","bg-alt":"#f2e5bc",blue:"#076678",cyan:"#427b58","dark-blue":"#2b3c44","dark-cyan":"#36473a",fg:"#282828","fg-alt":"#1c1c1c",green:"#79740e",grey:"#928374",magenta:"#b16286",orange:"#af3a03",red:"#9d0006",teal:"#4db5bd",violet:"#8f3f71",yellow:"#b57614"},gruvbox:{base0:"#0d1011",base1:"#1d2021",base2:"#282828",base3:"#3c3836",base4:"#665c54",base5:"#7c6f64",base6:"#928374",base7:"#d5c4a1",base8:"#fbf1c7",bg:"#282828","bg-alt":"#1d2021","bg-alt2":"#504945",blue:"#83a598","dark-green":"#98971a","dark-yellow":"#d79921",fg:"#ebdbb2","fg-alt":"#d5c4a1",green:"#b8bb26",grey:"#928374",magenta:"#cc241d",orange:"#fe8019",red:"#fb4934",teal:"#8ec07c",violet:"#d3869b",yellow:"#fabd2f"},henna:{base0:"#10151a",base1:"#181A1F",base2:"#1B1F23",base3:"#262D35",base4:"#282C34",base5:"#2c313a",base6:"#3B4048",base7:"#495162",base8:"#606F73",bg:"#21272e","bg-alt":"#1B1F23",blue:"#56b5c2",cyan:"#56b6c2","dark-blue":"#2257A0","dark-cyan":"#2e4a54",fg:"#f8f8f0","fg-alt":"#6B717D",green:"#53df83",grey:"#737c8c",magenta:"#FFB8D1",orange:"#e74c3c",red:"#e74c3c",teal:"#1abc9c",violet:"#C5A3FF",yellow:"#ECBE7B"},"homage-black":{base0:"#1B2229",base1:"#1c1f24",base2:"#202328",base3:"#23272e",base4:"#3f444a",base5:"#5B6268",base6:"#73797e",base7:"#9ca0a4",base8:"#DFDFDF",bg:"#000000","bg-alt":"#000000",blue:"#0170bf",cyan:"#46D9FF","dark-blue":"#003c64","dark-cyan":"#5699AF",fg:"#bbc2cf","fg-alt":"#5B6268",green:"#98be65",grey:"#5B6268",magenta:"#c678dd",orange:"#b4916d",red:"#ff6c6b",teal:"#4db5bd",violet:"#a9a1e1",yellow:"#ECBE7B"},"homage-white":{base0:"#f0f0f0",base1:"#e7e7e7",base2:"#dfdfdf",base3:"#c6c7c7",base4:"#9ca0a4",base5:"#383a42",base6:"#202328",base7:"#1c1f24",base8:"#1b2229",bg:"#fafafa","bg-alt":"#f0f0f0",blue:"#014980",cyan:"#0184bc","dark-blue":"#030f64",fg:"#383a42","fg-alt":"#c6c7c7",green:"#556b2f",grey:"#383a42",magenta:"#a626a4",orange:"#8a3b3c",red:"#e45649",teal:"#4db5bd",violet:"#b751b6",yellow:"#986801","yellow-alt":"#fafadd"},horizon:{base0:"#16161c",base1:"#1a1c23",base2:"#1d1f27",base3:"#232530",base4:"#6a6a6a",base5:"#f9cec3",base6:"#f9cbbe",base7:"#fadad1",base8:"#fdf0ed",bg:"#232530","bg-alt":"#1c1e26",blue:"#21bfc2",cyan:"#59e3e3","dark-blue":"#25b2bc","dark-cyan":"#27d797",fg:"#c7c9cb","fg-alt":"#fdf0ed",green:"#09f7a0",grey:"#6a6a6a",magenta:"#6c6f93",orange:"#f09383",red:"#e95678",teal:"#87ceeb",violet:"#b877db",yellow:"#fab795"},"ir-black":{base0:"#1B2229",base1:"#1c1f24",base2:"#202328",base3:"#23272e",base4:"#3f444a",base5:"#5B6268",base6:"#73797e",base7:"#9ca0a4",base8:"#DFDFDF",bg:"#000000","bg-alt":"#121212",blue:"#96CBFE","dark-blue":"#2257A0",fg:"#f6f3e8","fg-alt":"#5B6268",green:"#A8FF60","green-alt":"#99CC99",grey:"#3f444a",magenta:"#FF73FD",orange:"#E9C062","orange-alt":"#FFD2A7",red:"#ff6c60",teal:"#00A0A0",white:"#ffffff",yellow:"#FFFFB6"},laserwave:{base0:"#222228",base1:"#24262D",base2:"#282b33",base3:"#3E3549",base4:"#4E415C",base5:"#544863",base6:"#ED60BA",base7:"#91889B",base8:"#ECEFF4",bg:"#27212E","bg-alt":"#1B1720",blue:"#40B4C4",cyan:"#B4DCE7","dark-blue":"#336A79","dark-cyan":"#6D7E8A",fg:"#FFFFFF","fg-alt":"#EEEEEE",green:"#74DFC4",grey:"#4E415C",magenta:"#EB64B9",orange:"#FFB85B",red:"#964C7B",teal:"#4D8079",violet:"#B381C5",yellow:"#FFE261"},manegarm:{"-bg":"#1c1408","-bg-alt":"#181107",base0:"#1B2229",base1:"#1c1f24",base2:"#202328",base3:"#23272e",base4:"#3f444a",base5:"#95836f",base6:"#73797e",base7:"#9ca0a4",base8:"#dfdfdf",bg:"#1c1408","bg-alt":"#181107",blue:"#0075c4","dark-blue":"#0060a1",fg:"#5b8512","fg-alt":"#4f7410",green:"#7cb518",grey:"#707a6a",magenta:"#d72638",orange:"#ff7000",red:"#ff4e00",teal:"#dbc077",violet:"#76597b",yellow:"#ffbf00"},material:{base0:"#171F24",base1:"#1C262B",base2:"#222D32",base3:"#171F24",base4:"#314048",base5:"#37474F",base6:"#556369",base7:"#737E84",base8:"#9BA3A7",bg:"#263238","bg-alt":"#1C262B",blue:"#82aaff",cyan:"#89DDFF","dark-blue":"#7986E7","dark-cyan":"#80cbc4",fg:"#EEFFFF","fg-alt":"#BFC7D5",green:"#c3e88d",grey:"#37474F",magenta:"#c792ea",orange:"#f78c6c",red:"#ff5370",teal:"#44b9b1",violet:"#bb80b3",yellow:"#ffcb6b"},miramare:{base0:"#0d1011",base1:"#1d2021",base2:"#282828",base3:"#3c3836",base4:"#5b5b5b",base5:"#7c6f64",base6:"#928374",base7:"#d5c4a1",base8:"#fbf1c7",bg:"#2a2426","bg-alt":"#242021","bg-alt2":"#504945",blue:"#89beba","dark-blue":"#458588","dark-green":"#678f67",fg:"#e6d6ac","fg-alt":"#d8caac",green:"#87af87",grey:"#5b5b5b",magenta:"#e68183",orange:"#e39b7b",red:"#e68183",teal:"#87af87",violet:"#d3a0bc",yellow:"#d9bb80"},molokai:{base0:"#131313",base1:"#161821",base2:"#2e313d",base3:"#3a3d4b",base4:"#535763",base5:"#595d68",base6:"#696d77",base7:"#888d94",base8:"#afb5b9",bg:"#282a3a","bg-alt":"#1E1F2B",blue:"#9cd1bb",cyan:"#9cd1bb","dark-blue":"#9cd1bb","dark-cyan":"#9cd1bb",fg:"#eaf2f1","fg-alt":"#c6c6c6",green:"#bad761",grey:"#535763",magenta:"#9cd1bb",orange:"#ff95be",red:"#ff657a",teal:"#9cd1bb",violet:"#c39ac9",yellow:"#ffd76d"},"monokai-classic":{base0:"#19181A",base1:"#1B1B1B",base2:"#212122",base3:"#2B2B2B",base4:"#383539",base5:"#4C4A4D",base6:"#727072",base7:"#c1c0c0",base8:"#FCFCFA",bg:"#2D2A2E","bg-alt":"#221F22",blue:"#78DCE8",cyan:"#78DCE8","dark-blue":"#81A2BE","dark-cyan":"#81A2BE",fg:"#FCFCFA","fg-alt":"#939293",green:"#A9DC76",grey:"#727072",magenta:"#FF6188",orange:"#FC9867",red:"#CC6666",teal:"#A9DC76",violet:"#AB9DF2",yellow:"#FFD866"},"monokai-pro":{base0:"#131313",base1:"#191515",base2:"#332c2c",base3:"#403838",base4:"#5b5353",base5:"#615959",base6:"#72696a",base7:"#948a8b",base8:"#bfb3b5",bg:"#2c2525","bg-alt":"#201C1C",blue:"#85dacc",cyan:"#85dacc","dark-blue":"#85dacc","dark-cyan":"#85dacc",fg:"#fff1f3","fg-alt":"#c6c6c6",green:"#adda78",grey:"#5b5353",magenta:"#85dacc",orange:"#f38d70",red:"#fd6883",teal:"#85dacc",violet:"#a8a9eb",yellow:"#f9cc6c"},"monokai-machine":{base0:"#161a2a",base1:"#191a2a",base2:"#1e2030",base3:"#222436",base4:"#2f334d",base5:"#444a73",base6:"#828bb8",base7:"#a9b8e8",base8:"#b4c2f0",bg:"#212337","bg-alt":"#191a2a","dark-red":"#ff5370","dark-teal":"#4fd6be",fg:"#c8d3f5","fg-alt":"#b4c2f0",green:"#c3e88d",grey:"#444a73",indigo:"#7a88cf","light-red":"#ff98a4","light-teal":"#7af8ca",orange:"#ff995e",red:"#ff757f",region:"#383e5c",teal:"#77e0c6",yellow:"#ffc777"},"monokai-octagon":{base0:"#131313",base1:"#191919",base2:"#2c2c2d",base3:"#363537",base4:"#525053",base5:"#585659",base6:"#69676c",base7:"#8b888f",base8:"#b6b2bc",bg:"#222222","bg-alt":"#191919",blue:"#5ad4e6",cyan:"#5ad4e6","dark-blue":"#5ad4e6","dark-cyan":"#5ad4e6",fg:"#f7f1ff","fg-alt":"#c6c6c6",green:"#7bd88f",grey:"#525053",magenta:"#5ad4e6",orange:"#fd9353",red:"#fc618d",teal:"#5ad4e6",violet:"#948ae3",yellow:"#fce566"},"monokai-ristretto":{base0:"#161a2a",base1:"#191a2a",base2:"#1e2030",base3:"#222436",base4:"#2f334d",base5:"#444a73",base6:"#828bb8",base7:"#a9b8e8",base8:"#b4c2f0",bg:"#212337","bg-alt":"#191a2a","dark-red":"#ff5370","dark-teal":"#4fd6be",fg:"#c8d3f5","fg-alt":"#b4c2f0",green:"#c3e88d",grey:"#444a73",indigo:"#7a88cf","light-red":"#ff98a4","light-teal":"#7af8ca",orange:"#ff995e",red:"#ff757f",region:"#383e5c",teal:"#77e0c6",yellow:"#ffc777"},"monokai-spectrum":{base0:"#F0F4FC",base1:"#E3EAF5",base2:"#D8DEE9",base3:"#C2D0E7",base4:"#B8C5DB",base5:"#AEBACF",base6:"#A1ACC0",base7:"#60728C",base8:"#485163",bg:"#E5E9F0","bg-alt":"#D8DEE9",blue:"#3B6EA8",cyan:"#398EAC","dark-blue":"#5272AF","dark-cyan":"#2C7088",fg:"#3B4252","fg-alt":"#2E3440",green:"#4F894C",grey:"#B8C5DB",magenta:"#97365B",orange:"#AC4426",red:"#99324B",teal:"#29838D",violet:"#842879",yellow:"#9A7500"},moonlight:{base0:"#191C25",base1:"#242832",base2:"#2C333F",base3:"#373E4C",base4:"#434C5E",base5:"#4C566A",base6:"#9099AB",base7:"#D8DEE9",base8:"#F0F4FC",bg:"#2E3440","bg-alt":"#272C36",blue:"#81A1C1",cyan:"#88C0D0","dark-blue":"#5E81AC","dark-cyan":"#507681",fg:"#ECEFF4","fg-alt":"#E5E9F0",green:"#A3BE8C",grey:"#434C5E",magenta:"#B48EAD",orange:"#D08770",red:"#BF616A",teal:"#8FBCBB",violet:"#5D80AE",yellow:"#EBCB8B"},"nord-light":{base0:"#0d0f11",base1:"#1e272c",base2:"#212122",base3:"#2f3f48",base4:"#3c4c55",base5:"#556873",base6:"#6A7D89",base7:"#899BA6",base8:"#e6eef3",bg:"#3c4c55","bg-alt":"#44545d",blue:"#83AFE5",cyan:"#7FC1CA","dark-blue":"#759DCE","dark-cyan":"#659AA1",fg:"#c5d4dd","fg-alt":"#c5c8c6",green:"#A8CE93",grey:"#899BA6",magenta:"#D18EC2",orange:"#F2C38F",red:"#DF8C8C",teal:"#95BEBC",violet:"#9A93E1",yellow:"#DADA93"},nord:{base0:"#1B2B34",base1:"#343D46",base2:"#4F5B66",base3:"#65737E",base4:"#A7ADBA",base5:"#C0C5CE",base6:"#CDD3DE",base7:"#D8DEE9",base8:"#D8DEE9",bg:"#1B2B34","bg-alt":"#14232D",blue:"#6699CC",cyan:"#5FB3B3","dark-blue":"#6699CC","dark-cyan":"#5FB3B3",fg:"#D8DEE9","fg-alt":"#CDD3DE",green:"#99C794",grey:"#A7ADBA",magenta:"#E27E8D",orange:"#F99157",red:"#EC5f67",teal:"#5FB3B3",violet:"#C594C5",yellow:"#FAC863"},nova:{base0:"#1B2229",base1:"#1c1f24",base2:"#202328",base3:"#23272e",base4:"#3f444a",base5:"#5B6268",base6:"#686b78",base7:"#9ca0a4",base8:"#DFDFDF",bg:"#1c1d20","bg-alt":"#151619",blue:"#4fb3d8",cyan:"#4fb3d8","dark-blue":"#5689f0","dark-cyan":"#4fb3d8",fg:"#cbccd1","fg-alt":"#5B6268",green:"#78bd65",grey:"#3f444a",magenta:"#b978ab",orange:"#ee7b29",red:"#ea3d54",teal:"#78bd65",violet:"#b978ab",yellow:"#fedd38"},"oceanic-next":{base0:"#f0f0f0",base1:"#e7e7e7",base2:"#dfdfdf",base3:"#c6c7c7",base4:"#9ca0a4",base5:"#383a42",base6:"#202328",base7:"#1c1f24",base8:"#1b2229",bg:"#fafafa","bg-alt":"#f0f0f0",blue:"#4078f2",cyan:"#0184bc","dark-blue":"#a0bcf8","dark-cyan":"#005478",fg:"#383a42","fg-alt":"#c6c7c7",green:"#50a14f",grey:"#9ca0a4",magenta:"#a626a4",orange:"#da8548",red:"#e45649",teal:"#4db5bd",violet:"#b751b6",yellow:"#986801"},"old-hope":{base0:"#1B2229",base1:"#1c1f24",base2:"#202328",base3:"#23272e",base4:"#3f444a",base5:"#5B6268",base6:"#73797e",base7:"#9ca0a4",base8:"#DFDFDF",bg:"#282c34","bg-alt":"#21242b",blue:"#51afef",cyan:"#46D9FF","dark-blue":"#2257A0","dark-cyan":"#5699AF",fg:"#bbc2cf","fg-alt":"#5B6268",green:"#98be65",grey:"#3f444a",magenta:"#c678dd",orange:"#da8548",red:"#ff6c6b",teal:"#4db5bd",violet:"#a9a1e1",yellow:"#ECBE7B"},one:{base0:"#1B2229",base1:"#1c1f24",base2:"#202328",base3:"#2F3237",base4:"#4f5b66",base5:"#65737E",base6:"#73797e",base7:"#9ca0a4",base8:"#DFDFDF",bg:"#2b303b","bg-alt":"#232830",blue:"#8FA1B3",cyan:"#46D9FF","dark-blue":"#2257A0","dark-cyan":"#5699AF",fg:"#c0c5ce","fg-alt":"#c0c5ce",green:"#A3BE8C",grey:"#4f5b66",magenta:"#c678dd",orange:"#D08770",red:"#BF616A",teal:"#4db5bd",violet:"#b48ead",yellow:"#ECBE7B"},"one-light":{base0:"#f0f0f0",base1:"#e7e7e7",base2:"#dfdfdf",base3:"#c6c7c7",base4:"#9ca0a4",base5:"#383a42",base6:"#202328",base7:"#1c1f24",base8:"#1b2229",bg:"#fafafa","bg-alt":"#f0f0f0",blue:"#014980",cyan:"#0184bc","dark-blue":"#030f64",fg:"#383a42","fg-alt":"#c6c7c7",green:"#556b2f",grey:"#383a42",magenta:"#a626a4",orange:"#8a3b3c",red:"#e45649",teal:"#4db5bd",violet:"#b751b6",yellow:"#986801","yellow-alt":"#fafadd"},"one-vibrant":{base0:"#1c1f24",base1:"#1c1f24",base2:"#21272d",base3:"#23272e",base4:"#484854",base5:"#62686E",base6:"#757B80",base7:"#9ca0a4",base8:"#DFDFDF",bg:"#242730","bg-alt":"#2a2e38",blue:"#51afef",cyan:"#5cEfFF","dark-blue":"#1f5582","dark-cyan":"#6A8FBF",fg:"#bbc2cf","fg-alt":"#5D656B",green:"#7bc275",grey:"#484854",magenta:"#C57BDB",orange:"#e69055",red:"#ff665c",teal:"#4db5bd",violet:"#a991f1",yellow:"#FCCE7B"},"opera-light":{base0:"#fafafa",base1:"#f5f5f5",base2:"#eeeeee",base3:"#e0e0e0",base4:"#bdbdbd",base5:"#9e9e9e",base6:"#757575",base7:"#616161",base8:"#424242",bg:"#fafafa","bg-alt":"#eeeeee",blue:"#3b6ea8",cyan:"#398eac","dark-blue":"#5272AF","dark-cyan":"#2c7088",fg:"#2a2a2a","fg-alt":"#454545",green:"#4f894c",grey:"#bdbdbd",magenta:"#97365b",orange:"#ac4426",red:"#99324b",teal:"#29838d",violet:"#842879",yellow:"#9a7500"},opera:{base0:"#000000",base1:"#1e1e1e",base2:"#2e2e2e",base3:"#262626",base4:"#3f3f3f",base5:"#525252",base6:"#6b6b6b",base7:"#979797",base8:"#dfdfdf",bg:"#323334","bg-alt":"#222224",blue:"#80A0C2",cyan:"#86C0D1","dark-blue":"#5C748E","dark-cyan":"#507681",fg:"#eceff4","fg-alt":"#727269",green:"#A2BF8A",grey:"#3f3f3f",magenta:"#B58DAE",orange:"#D2876D",red:"#C16069",teal:"#8EBCBB",violet:"#5D80AE",yellow:"#ECCC87"},"outrun-electric":{base0:"#131033",base1:"#1f1147",base2:"#110d26",base3:"#3b4167",base4:"#2d2844",base5:"#BA45A3",base6:"#6A6EA3",base7:"#6564D1",base8:"#919ad9",bg:"#0c0a20","bg-alt":"#090819",blue:"#1ea8fc",cyan:"#42c6ff","dark-blue":"#3F88AD","dark-cyan":"#204052",fg:"#f2f3f7","fg-alt":"#7984D1",green:"#a7da1e",grey:"#546A90",magenta:"#ff2afc",orange:"#cf433e",red:"#e61f44",teal:"#A875FF",violet:"#df85ff",yellow:"#ffd400"},palenight:{base0:"#1c1f2b",base1:"#1e212e",base2:"#232635",base3:"#3C435E",base4:"#4E5579",base5:"#676E95",base6:"#697098",base7:"#717CB4",base8:"#A6Accd",bg:"#292D3E","bg-alt":"#242837",blue:"#82aaff",cyan:"#89DDFF","dark-blue":"#7986E7","dark-cyan":"#80cbc4",fg:"#EEFFFF","fg-alt":"#BFC7D5",green:"#c3e88d",grey:"#676E95",magenta:"#c792ea",orange:"#f78c6c",red:"#ff5370",teal:"#44b9b1",violet:"#bb80b3",yellow:"#ffcb6b"},peacock:{bg:"#2b2a27","bg-alt":"#1F1E1D",base0:"#2b2a27",base1:"#1c1f24",base2:"#202328",base3:"#23272e",base4:"#3f444a",base5:"#5B6268",base6:"#73797e",base7:"#9ca0a4",base8:"#DFDFDF",fg:"#ede0ce","fg-alt":"#5B6268",grey:"#3f444a",white:"#f8f8f0",red:"#ff5d38",orange:"#cb4b16",green:"#98be65",teal:"#26a6a6",yellow:"#bcd42a",blue:"#51afef","dark-blue":"#2257A0",magenta:"#c678dd",violet:"#a9a1e1",cyan:"#46D9FF","dark-cyan":"#5699AF"},"plain-dark":{base0:"#838083",base1:"#0e0c0a",base2:"#bbbbbb",base3:"#444444",base4:"#202020",base5:"#545053",base6:"#050505",base7:"#ffdddd",base8:"#050505",bg:"#222222","bg-alt":"#434343",blue:"#d7d5d1",cyan:"#d7d5d1","dark-blue":"#d7d5d1","dark-cyan":"#d7d5d1",fg:"#d7d5d1","fg-alt":"#e7e5e3",green:"#d7d5d1",grey:"#d7d5d1",magenta:"#d7d5d1",orange:"#d7d5d1",red:"#d7d5d1",teal:"#d7d5d1",violet:"#d7d5d1",yellow:"#d7d5d1"},plain:{base0:"#969896",base1:"#f1f3f5",base2:"#444444",base3:"#cccccc",base4:"#e7e7e7",base5:"#c5c8c6",base6:"#fafafa",base7:"#dfdfdf",base8:"#fafafa",bg:"#ffffff","bg-alt":"#f3f3f3",blue:"#282a2e",cyan:"#282a2e","dark-blue":"#282a2e","dark-cyan":"#282a2e",fg:"#282a2e","fg-alt":"#48494d",green:"#282a2e",grey:"#282a2e",magenta:"#282a2e",orange:"#282a2e",red:"#282a2e",teal:"#282a2e",violet:"#282a2e",yellow:"#282a2e"},rouge:{base0:"#070A0E",base1:"#0E131D",base2:"#151D2B",base3:"#1F2A3F",base4:"#5D636E",base5:"#64727d",base6:"#B16E75",base7:"#E8E9EB",base8:"#F0F4FC",bg:"#172030","bg-alt":"#172030",blue:"#6e94b9","dark-blue":"#1E6378",fg:"#FAFFF6","fg-alt":"#A7ACB9",green:"#A3B09A",grey:"#64727d","light-red":"#DB6E8F",magenta:"#b18bb1",orange:"#eabe9a",red:"#c6797e",salmon:"#F9B5AC",teal:"#7ea9a9",violet:"#5D80AE",yellow:"#F7E3AF"},"shades-of-purple":{base0:"#161a2a",base1:"#191a2a",base2:"#1e2030",base3:"#222436",base4:"#a599e9",base5:"#444a73",base6:"#828bb8",base7:"#a9b8e8",base8:"#b4c2f0",bg:"#2d2b55","bg-alt":"#1e1e3f","dark-green":"#00ff00","dark-red":"#ff5370","dark-teal":"#37fea1",fg:"#e3e9fa","fg-alt":"#b4c2f0",green:"#3ad900",grey:"#444a73",indigo:"#7a88cf","light-green":"#a5ff90","light-red":"#ff98a4",orange:"#ff9d00",red:"#ff000d",region:"#b362ff",selection:"#b362ff"},snazzy:{base0:"#282a36",base1:"#34353e",base2:"#43454f",base3:"#78787e",base4:"#a5a5a9",base5:"#e2e4e5",base6:"#eff0eb",base7:"#f1f1f0",base8:"#ff5c57",bg:"#282a36","bg-alt":"#242631",blue:"#57c7ff",cyan:"#9aedfe","dark-blue":"#459fcc",fg:"#f9f9f9","fg-alt":"#d1d1d1",green:"#5af78e",grey:"#848688",magenta:"#ff6ac1",red:"#ff5c57",ui0:"#848688",ui1:"#606580",ui2:"#3a3d4d",ui3:"#1c1e27",yellow:"#f3f99d"},"solarized-dark-high-contrast":{base0:"#01323d",base1:"#03282F",base2:"#00212C",base3:"#13383C",base4:"#56697A",base5:"#62787f",base6:"#96A7A9",base7:"#788484",base8:"#626C6C",bg:"#002732","bg-alt":"#00212B",blue:"#3c98e0",cyan:"#3cafa5","dark-blue":"#3F88AD","dark-cyan":"#03373f",fg:"#8d9fa1","fg-alt":"#60767e",green:"#93a61a",grey:"#56697A",magenta:"#e2468f",orange:"#db5823",red:"#ec423a",teal:"#35a69c",violet:"#7a7ed2",yellow:"#c49619"},"solarized-dark":{base0:"#073642",base1:"#03282F",base2:"#00212C",base3:"#13383C",base4:"#56697A",base5:"#405A61",base6:"#96A7A9",base7:"#788484",base8:"#626C6C",bg:"#002b36","bg-alt":"#00212B",blue:"#268bd2",cyan:"#2aa198","dark-blue":"#3F88AD","dark-cyan":"#204052",fg:"#839496","fg-alt":"#657b83",green:"#859900",grey:"#56697A",magenta:"#d33682",orange:"#cb4b16",red:"#dc322f",teal:"#35a69c",violet:"#6c71c4",yellow:"#b58900"},"solarized-light":{"dark-cyan":"#204052",cyan:"#2aa198",violet:"#6c71c4",magenta:"#d33682","dark-blue":"#3F88AD",blue:"#268bd2",yellow:"#b58900",teal:"#35a69c",green:"#859900",orange:"#cb4b16",red:"#dc322f",grey:"#E1DBCD",base8:"#626C6C",base7:"#788484",base6:"#96A7A9",base5:"#D6D6D6",base4:"#E1DBCD",base3:"#F2E6CE",base2:"#FCF7E8",base1:"#FCF8ED",base0:"#FFFBF0","fg-alt":"#7B8787","bg-alt":"#EEE8D5",fg:"#556b72",bg:"#FDF6E3"},sourcerer:{base0:"#1d2127",base1:"#1d2127",base2:"#272727",base3:"#32353f",base4:"#494952",base5:"#62686E",base6:"#757B80",base7:"#9ca0a4",base8:"#faf4c6",bg:"#171717","bg-alt":"#222222",blue:"#87AFD7",cyan:"#87ceeb","dark-blue":"#6688aa",fg:"#c2c2b0","fg-alt":"#5D656B",green:"#87875f","green-br":"#719611",grey:"#686858",magenta:"#8787AF",orange:"#ff9800",red:"#aa4450",teal:"#578F8F",violet:"#8181a6",yellow:"#cc8800"},spacegrey:{base0:"#1B2229",base1:"#1c1f24",base2:"#202328",base3:"#2F3237",base4:"#4f5b66",base5:"#65737E",base6:"#73797e",base7:"#9ca0a4",base8:"#DFDFDF",bg:"#2b303b","bg-alt":"#232830",blue:"#8FA1B3",cyan:"#46D9FF","dark-blue":"#2257A0","dark-cyan":"#5699AF",fg:"#c0c5ce","fg-alt":"#c0c5ce",green:"#A3BE8C",grey:"#4f5b66",magenta:"#c678dd",orange:"#D08770",red:"#BF616A",teal:"#4db5bd",violet:"#b48ead",yellow:"#ECBE7B"},"tomorrow-day":{base0:"#f2f2f2",base1:"#e4e4e4",base2:"#dedede",base3:"#d6d4d4",base4:"#C0bfbf",base5:"#a3a1a1",base6:"#8a8787",base7:"#696769",base8:"#000000",bg:"#ffffff","bg-alt":"#f2f2f2",blue:"#4271ae",cyan:"#8abeb7","dark-blue":"#315482","dark-cyan":"#b8d8d3",fg:"#4d4d4c","fg-alt":"#1e1e1e",green:"#718c00",grey:"#8e908c",magenta:"#c678dd",orange:"#f5871f",red:"#c82829",teal:"#3e999f",violet:"#8959a8",yellow:"#eab700"},"tomorrow-night":{base0:"#0d0d0d",base1:"#1b1b1b",base2:"#212122",base3:"#292b2b",base4:"#3f4040",base5:"#5c5e5e",base6:"#757878",base7:"#969896",base8:"#ffffff",bg:"#1d1f21","bg-alt":"#161719",blue:"#81a2be",cyan:"#8abeb7","dark-blue":"#41728e","dark-cyan":"#52726d",fg:"#c5c8c6","fg-alt":"#767876",green:"#b5bd68",grey:"#5a5b5a",magenta:"#c9b4cf",orange:"#de935f",red:"#cc6666",teal:"#81a2be",violet:"#b294bb",yellow:"#f0c674"},wilmersdorf:{bg:"#282b33","bg-alt":"#1f2024",base0:"#222228",base1:"#282b33",base2:"#34373e",base3:"#41454b",base4:"#515462",base5:"#888395",base6:"#929292",base7:"#727269",base8:"#eceff4","fg-alt":"#c9d9ff",fg:"#c6c6c6",grey:"#515462",red:"#e1c1ee",orange:"#a6c1e0",green:"#5b94ab",teal:"#7ebebd",yellow:"#cfcf9c"},xcode:{base0:"#0d0d0d",base1:"#1b1b1b",base2:"#212122",base3:"#292b2b",base4:"#3f4040",base5:"#5c5e5e",base6:"#757878",base7:"#969896",base8:"#ffffff",bg:"#292A30","bg-alt":"#252629",blue:"#5DD8FF",cyan:"#8abeb7","dark-cyan":"#52726d",fg:"#FFFFFF","fg-alt":"#999999",green:"#67B7A4",grey:"#6C7986","light-green":"#9EF1DD",magenta:"#D0A8FF",orange:"#FD8F3F",red:"#FC6A5D",teal:"#59B0CF",violet:"#A167E6",yellow:"#D0BF68"},zenburn:{"dark-cyan":"#5699AF",cyan:"#93E0E3",violet:"#a9a1e1",magenta:"#DC8CC3","dark-blue":"#2257A0",blue:"#8CD0D3",yellow:"#F0DFAF",teal:"#4db5bd",green:"#7F9F7F",orange:"#DFAF8F",red:"#CC9393",grey:"#494949","fg-alt":"#989890",fg:"#DCDCDC",base8:"#FFFFEF",base7:"#6F6F6F",base6:"#5F5F5F",base5:"#4F4F4F",base4:"#494949",base3:"#383838",base2:"#303030",base1:"#2B2B2B",base0:"#000000","bg-alt":"#383838",bg:"#3F3F3F"}}},93264:function(e,r,t){"use strict";t.r(r),t.d(r,{default:function(){return va}});var n=t(92809),a=(t(43146),t(70917)),o=t(67294),i=function(){return o.createElement(a.xB,{styles:'\n html {\n line-height: 1.5;\n -webkit-text-size-adjust: 100%;\n font-family: system-ui, sans-serif;\n -webkit-font-smoothing: antialiased;\n text-rendering: optimizeLegibility;\n -moz-osx-font-smoothing: grayscale;\n touch-action: manipulation;\n }\n\n body {\n position: relative;\n min-height: 100%;\n font-feature-settings: \'kern\';\n }\n\n *,\n *::before,\n *::after {\n border-width: 0;\n border-style: solid;\n box-sizing: border-box;\n }\n\n main {\n display: block;\n }\n\n hr {\n border-top-width: 1px;\n box-sizing: content-box;\n height: 0;\n overflow: visible;\n }\n\n pre,\n code,\n kbd,\n samp {\n font-family: SFMono-Regular, Menlo, Monaco, Consolas, monospace;\n font-size: 1em;\n }\n\n a {\n background-color: transparent;\n color: inherit;\n text-decoration: inherit;\n }\n\n abbr[title] {\n border-bottom: none;\n text-decoration: underline;\n -webkit-text-decoration: underline dotted;\n text-decoration: underline dotted;\n }\n\n b,\n strong {\n font-weight: bold;\n }\n\n small {\n font-size: 80%;\n }\n\n sub,\n sup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n }\n\n sub {\n bottom: -0.25em;\n }\n\n sup {\n top: -0.5em;\n }\n\n img {\n border-style: none;\n }\n\n button,\n input,\n optgroup,\n select,\n textarea {\n font-family: inherit;\n font-size: 100%;\n line-height: 1.15;\n margin: 0;\n }\n\n button,\n input {\n overflow: visible;\n }\n\n button,\n select {\n text-transform: none;\n }\n\n button::-moz-focus-inner,\n [type="button"]::-moz-focus-inner,\n [type="reset"]::-moz-focus-inner,\n [type="submit"]::-moz-focus-inner {\n border-style: none;\n padding: 0;\n }\n\n fieldset {\n padding: 0.35em 0.75em 0.625em;\n }\n\n legend {\n box-sizing: border-box;\n color: inherit;\n display: table;\n max-width: 100%;\n padding: 0;\n white-space: normal;\n }\n\n progress {\n vertical-align: baseline;\n }\n\n textarea {\n overflow: auto;\n }\n\n [type="checkbox"],\n [type="radio"] {\n box-sizing: border-box;\n padding: 0;\n }\n\n [type="number"]::-webkit-inner-spin-button,\n [type="number"]::-webkit-outer-spin-button {\n -webkit-appearance: none !important;\n }\n\n input[type="number"] {\n -moz-appearance: textfield;\n }\n\n [type="search"] {\n -webkit-appearance: textfield;\n outline-offset: -2px;\n }\n\n [type="search"]::-webkit-search-decoration {\n -webkit-appearance: none !important;\n }\n\n ::-webkit-file-upload-button {\n -webkit-appearance: button;\n font: inherit;\n }\n\n details {\n display: block;\n }\n\n summary {\n display: list-item;\n }\n\n template {\n display: none;\n }\n\n [hidden] {\n display: none !important;\n }\n\n body,\n blockquote,\n dl,\n dd,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n hr,\n figure,\n p,\n pre {\n margin: 0;\n }\n\n button {\n background: transparent;\n padding: 0;\n }\n\n fieldset {\n margin: 0;\n padding: 0;\n }\n\n ol,\n ul {\n margin: 0;\n padding: 0;\n }\n\n textarea {\n resize: vertical;\n }\n\n button,\n [role="button"] {\n cursor: pointer;\n }\n\n button::-moz-focus-inner {\n border: 0 !important;\n }\n\n table {\n border-collapse: collapse;\n }\n\n h1,\n h2,\n h3,\n h4,\n h5,\n h6 {\n font-size: inherit;\n font-weight: inherit;\n }\n\n button,\n input,\n optgroup,\n select,\n textarea {\n padding: 0;\n line-height: inherit;\n color: inherit;\n }\n\n img,\n svg,\n video,\n canvas,\n audio,\n iframe,\n embed,\n object {\n display: block;\n }\n\n img,\n video {\n max-width: 100%;\n height: auto;\n }\n\n [data-js-focus-visible] :focus:not([data-focus-visible-added]) {\n outline: none;\n box-shadow: none;\n }\n\n select::-ms-expand {\n display: none;\n }\n '})},l=t(46871),s=t(105),c=t(20949),u=t(85393),d=t(97375),f={px:"1px",.5:"0.125rem",1:"0.25rem",1.5:"0.375rem",2:"0.5rem",2.5:"0.625rem",3:"0.75rem",3.5:"0.875rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem",12:"3rem",14:"3.5rem",16:"4rem",20:"5rem",24:"6rem",28:"7rem",32:"8rem",36:"9rem",40:"10rem",44:"11rem",48:"12rem",52:"13rem",56:"14rem",60:"15rem",64:"16rem",72:"18rem",80:"20rem",96:"24rem"};function b(){return(b=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e}).apply(this,arguments)}var p=b({},f,{max:"max-content",min:"min-content",full:"100%","3xs":"14rem","2xs":"16rem",xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem","8xl":"90rem"},{container:{sm:"640px",md:"768px",lg:"1024px",xl:"1280px"}}),g=t(38554),h=t.n(g);t(9839);function m(e){return Array.isArray(e)}function v(e){var r=typeof e;return null!=e&&("object"===r||"function"===r)&&!m(e)}!function(e){var r=new WeakMap}((function(e,r,t,n){var a="string"===typeof r?r.split("."):[r];for(n=0;n<a.length&&e;n+=1)e=e[a[n]];return void 0===e?t:e}));var y=function(e){return e.reduce((function(e,r){var t=r[0],n=r[1];return e[t]=n,e}),{})};"undefined"===typeof window||!window.document||window.document.createElement;["input:not([disabled])","select:not([disabled])","textarea:not([disabled])","embed","iframe","object","a[href]","area[href]","button:not([disabled])","[tabindex]","audio[controls]","video[controls]","*[tabindex]:not([aria-disabled])","*[contenteditable]"].join();function x(e){var r;return function(){if(e){for(var t=arguments.length,n=new Array(t),a=0;a<t;a++)n[a]=arguments[a];r=e.apply(this,n),e=null}return r}}x((function(e){return function(){e.condition,e.message}})),x((function(e){return function(){e.condition,e.message}}));Number.MIN_SAFE_INTEGER,Number.MAX_SAFE_INTEGER;Object.freeze(["base","sm","md","lg","xl","2xl"]);function w(e,r){for(var t=0;t<r.length;t++){var n=r[t];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var k=function(){function e(e){var r=this;this.map={},this.called=!1,this.assert=function(){if(r.called)throw new Error("[anatomy] .part(...) should only be called once. Did you mean to use .extend(...) ?");r.called=!0},this.parts=function(){r.assert();for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];for(var a=0,o=t;a<o.length;a++){var i=o[a];r.map[i]=r.toPart(i)}return r},this.extend=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];for(var a=0,o=t;a<o.length;a++){var i=o[a];i in r.map||(r.map[i]=r.toPart(i))}return r},this.toPart=function(e){var t="chakra-"+(["container","root"].includes(null!=e?e:"")?[r.name]:[r.name,e]).filter(Boolean).join("__");return{className:t,selector:"."+t,toString:function(){return e}}},this.__type={}}var r,t,n;return r=e,(t=[{key:"selectors",get:function(){return y(Object.entries(this.map).map((function(e){return[e[0],e[1].selector]})))}},{key:"classNames",get:function(){return y(Object.entries(this.map).map((function(e){return[e[0],e[1].className]})))}},{key:"keys",get:function(){return Object.keys(this.map)}}])&&w(r.prototype,t),n&&w(r,n),e}();function S(e){return new k(e)}function E(e){return v(e)&&e.reference?e.reference:String(e)}var C=function(e){for(var r=arguments.length,t=new Array(r>1?r-1:0),n=1;n<r;n++)t[n-1]=arguments[n];return t.map(E).join(" "+e+" ").replace(/calc/g,"")},A=function(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return"calc("+C.apply(void 0,["+"].concat(r))+")"},F=function(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return"calc("+C.apply(void 0,["-"].concat(r))+")"},B=function(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return"calc("+C.apply(void 0,["*"].concat(r))+")"},_=function(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return"calc("+C.apply(void 0,["/"].concat(r))+")"},D=function(e){var r=E(e);return null==r||Number.isNaN(parseFloat(r))?B(r,-1):String(r).startsWith("-")?String(r).slice(1):"-"+r},R=Object.assign((function(e){return{add:function(){for(var r=arguments.length,t=new Array(r),n=0;n<r;n++)t[n]=arguments[n];return R(A.apply(void 0,[e].concat(t)))},subtract:function(){for(var r=arguments.length,t=new Array(r),n=0;n<r;n++)t[n]=arguments[n];return R(F.apply(void 0,[e].concat(t)))},multiply:function(){for(var r=arguments.length,t=new Array(r),n=0;n<r;n++)t[n]=arguments[n];return R(B.apply(void 0,[e].concat(t)))},divide:function(){for(var r=arguments.length,t=new Array(r),n=0;n<r;n++)t[n]=arguments[n];return R(_.apply(void 0,[e].concat(t)))},negate:function(){return R(D(e))},toString:function(){return e.toString()}}}),{add:A,subtract:F,multiply:B,divide:_,negate:D});var T=S("accordion").parts("container","item","button","panel").extend("icon"),z=S("alert").parts("title","description","container").extend("icon"),P=S("avatar").parts("label","badge","container").extend("excessLabel","group"),M=S("breadcrumb").parts("link","item","container").extend("separator"),j=(S("button").parts(),S("checkbox").parts("control","icon","container").extend("label")),O=(S("progress").parts("track","filledTrack").extend("label"),S("drawer").parts("overlay","dialogContainer","dialog").extend("header","closeButton","body","footer")),I=S("editable").parts("preview","input"),W=S("form").parts("container","requiredIndicator","helperText"),N=S("formError").parts("text","icon"),L=S("input").parts("addon","field","element"),H=S("list").parts("container","item","icon"),$=S("menu").parts("button","list","item").extend("groupTitle","command","divider"),q=S("modal").parts("overlay","dialogContainer","dialog").extend("header","closeButton","body","footer"),Z=S("numberinput").parts("root","field","stepperGroup","stepper"),U=(S("pininput").parts("field"),S("popover").parts("content","header","body","footer").extend("popper","arrow","closeButton")),V=S("progress").parts("label","filledTrack","track"),Y=S("radio").parts("container","control","label"),X=S("select").parts("field","icon"),G=S("slider").parts("container","track","thumb","filledTrack"),K=S("stat").parts("container","label","helpText","number","icon"),J=S("switch").parts("container","track","thumb"),Q=S("table").parts("table","thead","tbody","tr","th","td","tfoot","caption"),ee=S("tabs").parts("root","tab","tablist","tabpanel","tabpanels","indicator"),re=S("tag").parts("container","label","closeButton");function te(e,r){(function(e){return"string"===typeof e&&-1!==e.indexOf(".")&&1===parseFloat(e)})(e)&&(e="100%");var t=function(e){return"string"===typeof e&&-1!==e.indexOf("%")}(e);return e=360===r?e:Math.min(r,Math.max(0,parseFloat(e))),t&&(e=parseInt(String(e*r),10)/100),Math.abs(e-r)<1e-6?1:e=360===r?(e<0?e%r+r:e%r)/parseFloat(String(r)):e%r/parseFloat(String(r))}function ne(e){return Math.min(1,Math.max(0,e))}function ae(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function oe(e){return e<=1?100*Number(e)+"%":e}function ie(e){return 1===e.length?"0"+e:String(e)}function le(e,r,t){e=te(e,255),r=te(r,255),t=te(t,255);var n=Math.max(e,r,t),a=Math.min(e,r,t),o=0,i=0,l=(n+a)/2;if(n===a)i=0,o=0;else{var s=n-a;switch(i=l>.5?s/(2-n-a):s/(n+a),n){case e:o=(r-t)/s+(r<t?6:0);break;case r:o=(t-e)/s+2;break;case t:o=(e-r)/s+4}o/=6}return{h:o,s:i,l:l}}function se(e,r,t){return t<0&&(t+=1),t>1&&(t-=1),t<1/6?e+6*t*(r-e):t<.5?r:t<2/3?e+(r-e)*(2/3-t)*6:e}function ce(e,r,t){e=te(e,255),r=te(r,255),t=te(t,255);var n=Math.max(e,r,t),a=Math.min(e,r,t),o=0,i=n,l=n-a,s=0===n?0:l/n;if(n===a)o=0;else{switch(n){case e:o=(r-t)/l+(r<t?6:0);break;case r:o=(t-e)/l+2;break;case t:o=(e-r)/l+4}o/=6}return{h:o,s:s,v:i}}function ue(e,r,t,n){var a=[ie(Math.round(e).toString(16)),ie(Math.round(r).toString(16)),ie(Math.round(t).toString(16))];return n&&a[0].startsWith(a[0].charAt(1))&&a[1].startsWith(a[1].charAt(1))&&a[2].startsWith(a[2].charAt(1))?a[0].charAt(0)+a[1].charAt(0)+a[2].charAt(0):a.join("")}function de(e){return Math.round(255*parseFloat(e)).toString(16)}function fe(e){return be(e)/255}function be(e){return parseInt(e,16)}var pe={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function ge(e){var r,t,n,a={r:0,g:0,b:0},o=1,i=null,l=null,s=null,c=!1,u=!1;return"string"===typeof e&&(e=function(e){if(0===(e=e.trim().toLowerCase()).length)return!1;var r=!1;if(pe[e])e=pe[e],r=!0;else if("transparent"===e)return{r:0,g:0,b:0,a:0,format:"name"};var t=ye.rgb.exec(e);if(t)return{r:t[1],g:t[2],b:t[3]};if(t=ye.rgba.exec(e))return{r:t[1],g:t[2],b:t[3],a:t[4]};if(t=ye.hsl.exec(e))return{h:t[1],s:t[2],l:t[3]};if(t=ye.hsla.exec(e))return{h:t[1],s:t[2],l:t[3],a:t[4]};if(t=ye.hsv.exec(e))return{h:t[1],s:t[2],v:t[3]};if(t=ye.hsva.exec(e))return{h:t[1],s:t[2],v:t[3],a:t[4]};if(t=ye.hex8.exec(e))return{r:be(t[1]),g:be(t[2]),b:be(t[3]),a:fe(t[4]),format:r?"name":"hex8"};if(t=ye.hex6.exec(e))return{r:be(t[1]),g:be(t[2]),b:be(t[3]),format:r?"name":"hex"};if(t=ye.hex4.exec(e))return{r:be(t[1]+t[1]),g:be(t[2]+t[2]),b:be(t[3]+t[3]),a:fe(t[4]+t[4]),format:r?"name":"hex8"};if(t=ye.hex3.exec(e))return{r:be(t[1]+t[1]),g:be(t[2]+t[2]),b:be(t[3]+t[3]),format:r?"name":"hex"};return!1}(e)),"object"===typeof e&&(xe(e.r)&&xe(e.g)&&xe(e.b)?(r=e.r,t=e.g,n=e.b,a={r:255*te(r,255),g:255*te(t,255),b:255*te(n,255)},c=!0,u="%"===String(e.r).substr(-1)?"prgb":"rgb"):xe(e.h)&&xe(e.s)&&xe(e.v)?(i=oe(e.s),l=oe(e.v),a=function(e,r,t){e=6*te(e,360),r=te(r,100),t=te(t,100);var n=Math.floor(e),a=e-n,o=t*(1-r),i=t*(1-a*r),l=t*(1-(1-a)*r),s=n%6;return{r:255*[t,i,o,o,l,t][s],g:255*[l,t,t,i,o,o][s],b:255*[o,o,l,t,t,i][s]}}(e.h,i,l),c=!0,u="hsv"):xe(e.h)&&xe(e.s)&&xe(e.l)&&(i=oe(e.s),s=oe(e.l),a=function(e,r,t){var n,a,o;if(e=te(e,360),r=te(r,100),t=te(t,100),0===r)a=t,o=t,n=t;else{var i=t<.5?t*(1+r):t+r-t*r,l=2*t-i;n=se(l,i,e+1/3),a=se(l,i,e),o=se(l,i,e-1/3)}return{r:255*n,g:255*a,b:255*o}}(e.h,i,s),c=!0,u="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(o=e.a)),o=ae(o),{ok:c,format:e.format||u,r:Math.min(255,Math.max(a.r,0)),g:Math.min(255,Math.max(a.g,0)),b:Math.min(255,Math.max(a.b,0)),a:o}}var he="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)",me="[\\s|\\(]+("+he+")[,|\\s]+("+he+")[,|\\s]+("+he+")\\s*\\)?",ve="[\\s|\\(]+("+he+")[,|\\s]+("+he+")[,|\\s]+("+he+")[,|\\s]+("+he+")\\s*\\)?",ye={CSS_UNIT:new RegExp(he),rgb:new RegExp("rgb"+me),rgba:new RegExp("rgba"+ve),hsl:new RegExp("hsl"+me),hsla:new RegExp("hsla"+ve),hsv:new RegExp("hsv"+me),hsva:new RegExp("hsva"+ve),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function xe(e){return Boolean(ye.CSS_UNIT.exec(String(e)))}var we=function(){function e(r,t){var n;if(void 0===r&&(r=""),void 0===t&&(t={}),r instanceof e)return r;"number"===typeof r&&(r=function(e){return{r:e>>16,g:(65280&e)>>8,b:255&e}}(r)),this.originalInput=r;var a=ge(r);this.originalInput=r,this.r=a.r,this.g=a.g,this.b=a.b,this.a=a.a,this.roundA=Math.round(100*this.a)/100,this.format=null!==(n=t.format)&&void 0!==n?n:a.format,this.gradientType=t.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=a.ok}return e.prototype.isDark=function(){return this.getBrightness()<128},e.prototype.isLight=function(){return!this.isDark()},e.prototype.getBrightness=function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},e.prototype.getLuminance=function(){var e=this.toRgb(),r=e.r/255,t=e.g/255,n=e.b/255;return.2126*(r<=.03928?r/12.92:Math.pow((r+.055)/1.055,2.4))+.7152*(t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4))+.0722*(n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4))},e.prototype.getAlpha=function(){return this.a},e.prototype.setAlpha=function(e){return this.a=ae(e),this.roundA=Math.round(100*this.a)/100,this},e.prototype.toHsv=function(){var e=ce(this.r,this.g,this.b);return{h:360*e.h,s:e.s,v:e.v,a:this.a}},e.prototype.toHsvString=function(){var e=ce(this.r,this.g,this.b),r=Math.round(360*e.h),t=Math.round(100*e.s),n=Math.round(100*e.v);return 1===this.a?"hsv("+r+", "+t+"%, "+n+"%)":"hsva("+r+", "+t+"%, "+n+"%, "+this.roundA+")"},e.prototype.toHsl=function(){var e=le(this.r,this.g,this.b);return{h:360*e.h,s:e.s,l:e.l,a:this.a}},e.prototype.toHslString=function(){var e=le(this.r,this.g,this.b),r=Math.round(360*e.h),t=Math.round(100*e.s),n=Math.round(100*e.l);return 1===this.a?"hsl("+r+", "+t+"%, "+n+"%)":"hsla("+r+", "+t+"%, "+n+"%, "+this.roundA+")"},e.prototype.toHex=function(e){return void 0===e&&(e=!1),ue(this.r,this.g,this.b,e)},e.prototype.toHexString=function(e){return void 0===e&&(e=!1),"#"+this.toHex(e)},e.prototype.toHex8=function(e){return void 0===e&&(e=!1),function(e,r,t,n,a){var o=[ie(Math.round(e).toString(16)),ie(Math.round(r).toString(16)),ie(Math.round(t).toString(16)),ie(de(n))];return a&&o[0].startsWith(o[0].charAt(1))&&o[1].startsWith(o[1].charAt(1))&&o[2].startsWith(o[2].charAt(1))&&o[3].startsWith(o[3].charAt(1))?o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0)+o[3].charAt(0):o.join("")}(this.r,this.g,this.b,this.a,e)},e.prototype.toHex8String=function(e){return void 0===e&&(e=!1),"#"+this.toHex8(e)},e.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},e.prototype.toRgbString=function(){var e=Math.round(this.r),r=Math.round(this.g),t=Math.round(this.b);return 1===this.a?"rgb("+e+", "+r+", "+t+")":"rgba("+e+", "+r+", "+t+", "+this.roundA+")"},e.prototype.toPercentageRgb=function(){var e=function(e){return Math.round(100*te(e,255))+"%"};return{r:e(this.r),g:e(this.g),b:e(this.b),a:this.a}},e.prototype.toPercentageRgbString=function(){var e=function(e){return Math.round(100*te(e,255))};return 1===this.a?"rgb("+e(this.r)+"%, "+e(this.g)+"%, "+e(this.b)+"%)":"rgba("+e(this.r)+"%, "+e(this.g)+"%, "+e(this.b)+"%, "+this.roundA+")"},e.prototype.toName=function(){if(0===this.a)return"transparent";if(this.a<1)return!1;for(var e="#"+ue(this.r,this.g,this.b,!1),r=0,t=Object.entries(pe);r<t.length;r++){var n=t[r],a=n[0];if(e===n[1])return a}return!1},e.prototype.toString=function(e){var r=Boolean(e);e=null!==e&&void 0!==e?e:this.format;var t=!1,n=this.a<1&&this.a>=0;return r||!n||!e.startsWith("hex")&&"name"!==e?("rgb"===e&&(t=this.toRgbString()),"prgb"===e&&(t=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(t=this.toHexString()),"hex3"===e&&(t=this.toHexString(!0)),"hex4"===e&&(t=this.toHex8String(!0)),"hex8"===e&&(t=this.toHex8String()),"name"===e&&(t=this.toName()),"hsl"===e&&(t=this.toHslString()),"hsv"===e&&(t=this.toHsvString()),t||this.toHexString()):"name"===e&&0===this.a?this.toName():this.toRgbString()},e.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},e.prototype.clone=function(){return new e(this.toString())},e.prototype.lighten=function(r){void 0===r&&(r=10);var t=this.toHsl();return t.l+=r/100,t.l=ne(t.l),new e(t)},e.prototype.brighten=function(r){void 0===r&&(r=10);var t=this.toRgb();return t.r=Math.max(0,Math.min(255,t.r-Math.round(-r/100*255))),t.g=Math.max(0,Math.min(255,t.g-Math.round(-r/100*255))),t.b=Math.max(0,Math.min(255,t.b-Math.round(-r/100*255))),new e(t)},e.prototype.darken=function(r){void 0===r&&(r=10);var t=this.toHsl();return t.l-=r/100,t.l=ne(t.l),new e(t)},e.prototype.tint=function(e){return void 0===e&&(e=10),this.mix("white",e)},e.prototype.shade=function(e){return void 0===e&&(e=10),this.mix("black",e)},e.prototype.desaturate=function(r){void 0===r&&(r=10);var t=this.toHsl();return t.s-=r/100,t.s=ne(t.s),new e(t)},e.prototype.saturate=function(r){void 0===r&&(r=10);var t=this.toHsl();return t.s+=r/100,t.s=ne(t.s),new e(t)},e.prototype.greyscale=function(){return this.desaturate(100)},e.prototype.spin=function(r){var t=this.toHsl(),n=(t.h+r)%360;return t.h=n<0?360+n:n,new e(t)},e.prototype.mix=function(r,t){void 0===t&&(t=50);var n=this.toRgb(),a=new e(r).toRgb(),o=t/100;return new e({r:(a.r-n.r)*o+n.r,g:(a.g-n.g)*o+n.g,b:(a.b-n.b)*o+n.b,a:(a.a-n.a)*o+n.a})},e.prototype.analogous=function(r,t){void 0===r&&(r=6),void 0===t&&(t=30);var n=this.toHsl(),a=360/t,o=[this];for(n.h=(n.h-(a*r>>1)+720)%360;--r;)n.h=(n.h+a)%360,o.push(new e(n));return o},e.prototype.complement=function(){var r=this.toHsl();return r.h=(r.h+180)%360,new e(r)},e.prototype.monochromatic=function(r){void 0===r&&(r=6);for(var t=this.toHsv(),n=t.h,a=t.s,o=t.v,i=[],l=1/r;r--;)i.push(new e({h:n,s:a,v:o})),o=(o+l)%1;return i},e.prototype.splitcomplement=function(){var r=this.toHsl(),t=r.h;return[this,new e({h:(t+72)%360,s:r.s,l:r.l}),new e({h:(t+216)%360,s:r.s,l:r.l})]},e.prototype.onBackground=function(r){var t=this.toRgb(),n=new e(r).toRgb();return new e({r:n.r+(t.r-n.r)*t.a,g:n.g+(t.g-n.g)*t.a,b:n.b+(t.b-n.b)*t.a})},e.prototype.triad=function(){return this.polyad(3)},e.prototype.tetrad=function(){return this.polyad(4)},e.prototype.polyad=function(r){for(var t=this.toHsl(),n=t.h,a=[this],o=360/r,i=1;i<r;i++)a.push(new e({h:(n+i*o)%360,s:t.s,l:t.l}));return a},e.prototype.equals=function(r){return this.toRgbString()===new e(r).toRgbString()},e}();function ke(e){if(void 0===e&&(e={}),void 0!==e.count&&null!==e.count){var r=e.count,t=[];for(e.count=void 0;r>t.length;)e.count=null,e.seed&&(e.seed+=1),t.push(ke(e));return e.count=r,t}var n=function(e,r){var t=Ee(function(e){var r=parseInt(e,10);if(!Number.isNaN(r)&&r<360&&r>0)return[r,r];if("string"===typeof e){var t=Ae.find((function(r){return r.name===e}));if(t){var n=Ce(t);if(n.hueRange)return n.hueRange}var a=new we(e);if(a.isValid){var o=a.toHsv().h;return[o,o]}}return[0,360]}(e),r);t<0&&(t=360+t);return t}(e.hue,e.seed),a=function(e,r){if("monochrome"===r.hue)return 0;if("random"===r.luminosity)return Ee([0,100],r.seed);var t=Se(e).saturationRange,n=t[0],a=t[1];switch(r.luminosity){case"bright":n=55;break;case"dark":n=a-10;break;case"light":a=55}return Ee([n,a],r.seed)}(n,e),o={h:n,s:a,v:function(e,r,t){var n=function(e,r){for(var t=Se(e).lowerBounds,n=0;n<t.length-1;n++){var a=t[n][0],o=t[n][1],i=t[n+1][0],l=t[n+1][1];if(r>=a&&r<=i){var s=(l-o)/(i-a);return s*r+(o-s*a)}}return 0}(e,r),a=100;switch(t.luminosity){case"dark":a=n+20;break;case"light":n=(a+n)/2;break;case"random":n=0,a=100}return Ee([n,a],t.seed)}(n,a,e)};return void 0!==e.alpha&&(o.a=e.alpha),new we(o)}function Se(e){e>=334&&e<=360&&(e-=360);for(var r=0,t=Ae;r<t.length;r++){var n=Ce(t[r]);if(n.hueRange&&e>=n.hueRange[0]&&e<=n.hueRange[1])return n}throw Error("Color not found")}function Ee(e,r){if(void 0===r)return Math.floor(e[0]+Math.random()*(e[1]+1-e[0]));var t=e[1]||1,n=e[0]||0,a=(r=(9301*r+49297)%233280)/233280;return Math.floor(n+a*(t-n))}function Ce(e){var r=e.lowerBounds[0][0],t=e.lowerBounds[e.lowerBounds.length-1][0],n=e.lowerBounds[e.lowerBounds.length-1][1],a=e.lowerBounds[0][1];return{name:e.name,hueRange:e.hueRange,lowerBounds:e.lowerBounds,saturationRange:[r,t],brightnessRange:[n,a]}}var Ae=[{name:"monochrome",hueRange:null,lowerBounds:[[0,0],[100,0]]},{name:"red",hueRange:[-26,18],lowerBounds:[[20,100],[30,92],[40,89],[50,85],[60,78],[70,70],[80,60],[90,55],[100,50]]},{name:"orange",hueRange:[19,46],lowerBounds:[[20,100],[30,93],[40,88],[50,86],[60,85],[70,70],[100,70]]},{name:"yellow",hueRange:[47,62],lowerBounds:[[25,100],[40,94],[50,89],[60,86],[70,84],[80,82],[90,80],[100,75]]},{name:"green",hueRange:[63,178],lowerBounds:[[30,100],[40,90],[50,85],[60,81],[70,74],[80,64],[90,50],[100,40]]},{name:"blue",hueRange:[179,257],lowerBounds:[[20,100],[30,86],[40,80],[50,74],[60,60],[70,52],[80,44],[90,39],[100,35]]},{name:"purple",hueRange:[258,282],lowerBounds:[[20,100],[30,87],[40,79],[50,70],[60,65],[70,59],[80,52],[90,45],[100,42]]},{name:"pink",hueRange:[283,334],lowerBounds:[[20,100],[30,90],[40,86],[60,84],[80,80],[90,75],[100,73]]}],Fe=t(44592),Be=function(e,r,t){var n=(0,Fe.Wf)(e,"colors."+r,r);return new we(n).isValid?n:t},_e=function(e){return function(r){var t=Be(r,e);return new we(t).isDark()?"dark":"light"}},De=function(e,r){return function(t){var n=Be(t,e);return new we(n).setAlpha(r).toRgbString()}};function Re(e,r){return void 0===e&&(e="1rem"),void 0===r&&(r="rgba(255, 255, 255, 0.15)"),{backgroundImage:"linear-gradient(\n 45deg,\n "+r+" 25%,\n transparent 25%,\n transparent 50%,\n "+r+" 50%,\n "+r+" 75%,\n transparent 75%,\n transparent\n )",backgroundSize:e+" "+e}}function Te(e){var r=ke().toHexString();return!e||(0,Fe.Qr)(e)?r:e.string&&e.colors?function(e,r){var t=0;if(0===e.length)return r[0];for(var n=0;n<e.length;n+=1)t=e.charCodeAt(n)+((t<<5)-t),t&=t;return t=(t%r.length+r.length)%r.length,r[t]}(e.string,e.colors):e.string&&!e.colors?function(e){var r=0;if(0===e.length)return r.toString();for(var t=0;t<e.length;t+=1)r=e.charCodeAt(t)+((r<<5)-r),r&=r;for(var n="#",a=0;a<3;a+=1){n+=("00"+(r>>8*a&255).toString(16)).substr(-2)}return n}(e.string):e.colors&&!e.string?function(e){return e[Math.floor(Math.random()*e.length)]}(e.colors):r}function ze(e,r){return function(t){return"dark"===t.colorMode?r:e}}function Pe(e){var r=e.orientation,t=e.vertical,n=e.horizontal;return r?"vertical"===r?t:n:{}}function Me(){return(Me=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e}).apply(this,arguments)}function je(e){return(0,Fe.Kn)(e)&&e.reference?e.reference:String(e)}var Oe=function(e){for(var r=arguments.length,t=new Array(r>1?r-1:0),n=1;n<r;n++)t[n-1]=arguments[n];return t.map(je).join(" "+e+" ").replace(/calc/g,"")},Ie=function(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return"calc("+Oe.apply(void 0,["+"].concat(r))+")"},We=function(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return"calc("+Oe.apply(void 0,["-"].concat(r))+")"},Ne=function(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return"calc("+Oe.apply(void 0,["*"].concat(r))+")"},Le=function(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return"calc("+Oe.apply(void 0,["/"].concat(r))+")"},He=function(e){var r=je(e);return null==r||Number.isNaN(parseFloat(r))?Ne(r,-1):String(r).startsWith("-")?String(r).slice(1):"-"+r},$e=Object.assign((function(e){return{add:function(){for(var r=arguments.length,t=new Array(r),n=0;n<r;n++)t[n]=arguments[n];return $e(Ie.apply(void 0,[e].concat(t)))},subtract:function(){for(var r=arguments.length,t=new Array(r),n=0;n<r;n++)t[n]=arguments[n];return $e(We.apply(void 0,[e].concat(t)))},multiply:function(){for(var r=arguments.length,t=new Array(r),n=0;n<r;n++)t[n]=arguments[n];return $e(Ne.apply(void 0,[e].concat(t)))},divide:function(){for(var r=arguments.length,t=new Array(r),n=0;n<r;n++)t[n]=arguments[n];return $e(Le.apply(void 0,[e].concat(t)))},negate:function(){return $e(He(e))},toString:function(){return e.toString()}}}),{add:Ie,subtract:We,multiply:Ne,divide:Le,negate:He});function qe(e){var r=function(e,r){return void 0===r&&(r="-"),e.replace(/\s+/g,r)}(e.toString());return r.includes("\\.")?e:function(e){return!Number.isInteger(parseFloat(e.toString()))}(e)?r.replace(".","\\."):e}function Ze(e,r){return"var("+qe(e)+(r?", "+r:"")+")"}function Ue(e,r){return void 0===r&&(r=""),"--"+function(e,r){return void 0===r&&(r=""),[r,qe(e)].filter(Boolean).join("-")}(e,r)}function Ve(e,r){var t=Ue(e,null==r?void 0:r.prefix);return{variable:t,reference:Ze(t,Ye(null==r?void 0:r.fallback))}}function Ye(e){return"string"===typeof e?e:null==e?void 0:e.reference}var Xe={letterSpacings:{tighter:"-0.05em",tight:"-0.025em",normal:"0",wide:"0.025em",wider:"0.05em",widest:"0.1em"},lineHeights:{normal:"normal",none:1,shorter:1.25,short:1.375,base:1.5,tall:1.625,taller:"2",3:".75rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem"},fontWeights:{hairline:100,thin:200,light:300,normal:400,medium:500,semibold:600,bold:700,extrabold:800,black:900},fonts:{heading:'-apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',body:'-apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',mono:'SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace'},fontSizes:{xs:"0.75rem",sm:"0.875rem",md:"1rem",lg:"1.125rem",xl:"1.25rem","2xl":"1.5rem","3xl":"1.875rem","4xl":"2.25rem","5xl":"3rem","6xl":"3.75rem","7xl":"4.5rem","8xl":"6rem","9xl":"8rem"}},Ge={container:{borderTopWidth:"1px",borderColor:"inherit",_last:{borderBottomWidth:"1px"}},button:{transitionProperty:"common",transitionDuration:"normal",fontSize:"1rem",_focus:{boxShadow:"outline"},_hover:{bg:"blackAlpha.50"},_disabled:{opacity:.4,cursor:"not-allowed"},px:4,py:2},panel:{pt:2,px:4,pb:5},icon:{fontSize:"1.25em"}},Ke={parts:T.keys,baseStyle:Ge};function Je(e){var r=e.theme,t=e.colorScheme;return ze(Be(r,t+".100",t),De(t+".200",.16)(r))(e)}var Qe={subtle:function(e){var r=e.colorScheme;return{container:{bg:Je(e)},icon:{color:ze(r+".500",r+".200")(e)}}},"left-accent":function(e){var r=e.colorScheme;return{container:{paddingStart:3,borderStartWidth:"4px",borderStartColor:ze(r+".500",r+".200")(e),bg:Je(e)},icon:{color:ze(r+".500",r+".200")(e)}}},"top-accent":function(e){var r=e.colorScheme;return{container:{pt:2,borderTopWidth:"4px",borderTopColor:ze(r+".500",r+".200")(e),bg:Je(e)},icon:{color:ze(r+".500",r+".200")(e)}}},solid:function(e){var r=e.colorScheme;return{container:{bg:ze(r+".500",r+".200")(e),color:ze("white","gray.900")(e)}}}},er={parts:z.keys,baseStyle:{container:{px:4,py:3},title:{fontWeight:"bold",lineHeight:6,marginEnd:2},description:{lineHeight:6},icon:{flexShrink:0,marginEnd:3,w:5,h:6}},variants:Qe,defaultProps:{variant:"subtle",colorScheme:"blue"}},rr=function(e){return{transform:"translate(25%, 25%)",borderRadius:"full",border:"0.2em solid",borderColor:ze("white","gray.800")(e)}},tr=function(e){return{bg:ze("gray.200","whiteAlpha.400")(e)}},nr=function(e){var r=e.name,t=e.theme,n=r?Te({string:r}):"gray.400",a=function(e){return function(r){return"dark"===_e(e)(r)}}(n)(t),o="white";return a||(o="gray.800"),{bg:n,color:o,borderColor:ze("white","gray.800")(e),verticalAlign:"top"}};function ar(e){var r=p[e];return{container:{width:e,height:e,fontSize:"calc("+(null!=r?r:e)+" / 2.5)"},excessLabel:{width:e,height:e},label:{fontSize:"calc("+(null!=r?r:e)+" / 2.5)",lineHeight:"100%"!==e?null!=r?r:e:void 0}}}var or,ir,lr,sr={"2xs":ar("4"),xs:ar("6"),sm:ar("8"),md:ar("12"),lg:ar("16"),xl:ar("24"),"2xl":ar("32"),full:ar("100%")},cr={parts:P.keys,baseStyle:function(e){return{badge:rr(e),excessLabel:tr(e),container:nr(e)}},sizes:sr,defaultProps:{size:"md"}},ur={baseStyle:{px:1,textTransform:"uppercase",fontSize:"xs",borderRadius:"sm",fontWeight:"bold"},variants:{solid:function(e){var r=e.colorScheme,t=e.theme;return{bg:ze(r+".500",De(r+".500",.6)(t))(e),color:ze("white","whiteAlpha.800")(e)}},subtle:function(e){var r=e.colorScheme,t=e.theme;return{bg:ze(r+".100",De(r+".200",.16)(t))(e),color:ze(r+".800",r+".200")(e)}},outline:function(e){var r=e.colorScheme,t=e.theme,n=De(r+".200",.8)(t),a=ze(Be(t,r+".500"),n)(e);return{color:a,boxShadow:"inset 0 0 0px 1px "+a}}},defaultProps:{variant:"subtle",colorScheme:"gray"}},dr={link:{transitionProperty:"common",transitionDuration:"fast",transitionTimingFunction:"ease-out",cursor:"pointer",textDecoration:"none",outline:"none",color:"inherit",_hover:{textDecoration:"underline"},_focus:{boxShadow:"outline"}}},fr={parts:M.keys,baseStyle:dr},br=function(e){var r=e.colorScheme,t=e.theme;if("gray"===r)return{color:ze("inherit","whiteAlpha.900")(e),_hover:{bg:ze("gray.100","whiteAlpha.200")(e)},_active:{bg:ze("gray.200","whiteAlpha.300")(e)}};var n=De(r+".200",.12)(t),a=De(r+".200",.24)(t);return{color:ze(r+".600",r+".200")(e),bg:"transparent",_hover:{bg:ze(r+".50",n)(e)},_active:{bg:ze(r+".100",a)(e)}}},pr={yellow:{bg:"yellow.400",color:"black",hoverBg:"yellow.500",activeBg:"yellow.600"},cyan:{bg:"cyan.400",color:"black",hoverBg:"cyan.500",activeBg:"cyan.600"}},gr={baseStyle:{lineHeight:"1.2",borderRadius:"md",fontWeight:"semibold",transitionProperty:"common",transitionDuration:"normal",_focus:{boxShadow:"outline"},_disabled:{opacity:.4,cursor:"not-allowed",boxShadow:"none"},_hover:{_disabled:{bg:"initial"}}},variants:{ghost:br,outline:function(e){var r=e.colorScheme,t=ze("gray.200","whiteAlpha.300")(e);return b({border:"1px solid",borderColor:"gray"===r?t:"currentColor"},br(e))},solid:function(e){var r,t=e.colorScheme;if("gray"===t){var n=ze("gray.100","whiteAlpha.200")(e);return{bg:n,_hover:{bg:ze("gray.200","whiteAlpha.300")(e),_disabled:{bg:n}},_active:{bg:ze("gray.300","whiteAlpha.400")(e)}}}var a=null!=(r=pr[t])?r:{},o=a.bg,i=void 0===o?t+".500":o,l=a.color,s=void 0===l?"white":l,c=a.hoverBg,u=void 0===c?t+".600":c,d=a.activeBg,f=void 0===d?t+".700":d,b=ze(i,t+".200")(e);return{bg:b,color:ze(s,"gray.800")(e),_hover:{bg:ze(u,t+".300")(e),_disabled:{bg:b}},_active:{bg:ze(f,t+".400")(e)}}},link:function(e){var r=e.colorScheme;return{padding:0,height:"auto",lineHeight:"normal",verticalAlign:"baseline",color:ze(r+".500",r+".200")(e),_hover:{textDecoration:"underline",_disabled:{textDecoration:"none"}},_active:{color:ze(r+".700",r+".500")(e)}}},unstyled:{bg:"none",color:"inherit",display:"inline",lineHeight:"inherit",m:0,p:0}},sizes:{lg:{h:12,minW:12,fontSize:"lg",px:6},md:{h:10,minW:10,fontSize:"md",px:4},sm:{h:8,minW:8,fontSize:"sm",px:3},xs:{h:6,minW:6,fontSize:"xs",px:2}},defaultProps:{variant:"solid",size:"md",colorScheme:"gray"}},hr=function(e){var r=e.colorScheme;return{w:"100%",transitionProperty:"box-shadow",transitionDuration:"normal",border:"2px solid",borderRadius:"sm",borderColor:"inherit",color:"white",_checked:{bg:ze(r+".500",r+".200")(e),borderColor:ze(r+".500",r+".200")(e),color:ze("white","gray.900")(e),_hover:{bg:ze(r+".600",r+".300")(e),borderColor:ze(r+".600",r+".300")(e)},_disabled:{borderColor:ze("gray.200","transparent")(e),bg:ze("gray.200","whiteAlpha.300")(e),color:ze("gray.500","whiteAlpha.500")(e)}},_indeterminate:{bg:ze(r+".500",r+".200")(e),borderColor:ze(r+".500",r+".200")(e),color:ze("white","gray.900")(e)},_disabled:{bg:ze("gray.100","whiteAlpha.100")(e),borderColor:ze("gray.100","transparent")(e)},_focus:{boxShadow:"outline"},_invalid:{borderColor:ze("red.500","red.300")(e)}}},mr={userSelect:"none",_disabled:{opacity:.4}},vr={transitionProperty:"transform",transitionDuration:"normal"},yr={parts:j.keys,baseStyle:function(e){return{icon:vr,control:hr(e),label:mr}},sizes:{sm:{control:{h:3,w:3},label:{fontSize:"sm"},icon:{fontSize:"0.45rem"}},md:{control:{w:4,h:4},label:{fontSize:"md"},icon:{fontSize:"0.625rem"}},lg:{control:{w:5,h:5},label:{fontSize:"lg"},icon:{fontSize:"0.625rem"}}},defaultProps:{size:"md",colorScheme:"blue"}},xr=Ve("close-button-size"),wr={baseStyle:function(e){var r=ze("blackAlpha.100","whiteAlpha.100")(e),t=ze("blackAlpha.200","whiteAlpha.200")(e);return{w:[xr.reference],h:[xr.reference],borderRadius:"md",transitionProperty:"common",transitionDuration:"normal",_disabled:{opacity:.4,cursor:"not-allowed",boxShadow:"none"},_hover:{bg:r},_active:{bg:t},_focus:{boxShadow:"outline"}}},sizes:{lg:(or={},or[xr.variable]="40px",or.fontSize="16px",or),md:(ir={},ir[xr.variable]="32px",ir.fontSize="12px",ir),sm:(lr={},lr[xr.variable]="24px",lr.fontSize="10px",lr)},defaultProps:{size:"md"}},kr={baseStyle:{fontFamily:"mono",fontSize:"sm",px:"0.2em",borderRadius:"sm"},variants:ur.variants,defaultProps:ur.defaultProps},Sr={baseStyle:{w:"100%",mx:"auto",maxW:"60ch",px:"1rem"}},Er={baseStyle:{opacity:.6,borderColor:"inherit"},variants:{solid:{borderStyle:"solid"},dashed:{borderStyle:"dashed"}},defaultProps:{variant:"solid"}};function Cr(e){return"full"===e?{dialog:{maxW:"100vw",h:"100vh"}}:{dialog:{maxW:e}}}var Ar={bg:"blackAlpha.600",zIndex:"overlay"},Fr={display:"flex",zIndex:"modal",justifyContent:"center"},Br=function(e){return b({},e.isFullHeight&&{height:"100vh"},{zIndex:"modal",maxH:"100vh",bg:ze("white","gray.700")(e),color:"inherit",boxShadow:ze("lg","dark-lg")(e)})},_r={px:6,py:4,fontSize:"xl",fontWeight:"semibold"},Dr={position:"absolute",top:2,insetEnd:3},Rr={px:6,py:2,flex:1,overflow:"auto"},Tr={px:6,py:4},zr={xs:Cr("xs"),sm:Cr("md"),md:Cr("lg"),lg:Cr("2xl"),xl:Cr("4xl"),full:Cr("full")},Pr={parts:O.keys,baseStyle:function(e){return{overlay:Ar,dialogContainer:Fr,dialog:Br(e),header:_r,closeButton:Dr,body:Rr,footer:Tr}},sizes:zr,defaultProps:{size:"xs"}},Mr={preview:{borderRadius:"md",py:"3px",transitionProperty:"common",transitionDuration:"normal"},input:{borderRadius:"md",py:"3px",transitionProperty:"common",transitionDuration:"normal",width:"full",_focus:{boxShadow:"outline"},_placeholder:{opacity:.6}}},jr={parts:I.keys,baseStyle:Mr},Or=function(e){return{marginStart:1,color:ze("red.500","red.300")(e)}},Ir=function(e){return{mt:2,color:ze("gray.500","whiteAlpha.600")(e),lineHeight:"normal",fontSize:"sm"}},Wr={parts:W.keys,baseStyle:function(e){return{container:{width:"100%",position:"relative"},requiredIndicator:Or(e),helperText:Ir(e)}}},Nr=function(e){return{color:ze("red.500","red.300")(e),mt:2,fontSize:"sm",lineHeight:"normal"}},Lr=function(e){return{marginEnd:"0.5em",color:ze("red.500","red.300")(e)}},Hr={parts:N.keys,baseStyle:function(e){return{text:Nr(e),icon:Lr(e)}}},$r={baseStyle:{fontSize:"md",marginEnd:3,mb:2,fontWeight:"medium",transitionProperty:"common",transitionDuration:"normal",opacity:1,_disabled:{opacity:.4}}},qr={baseStyle:{fontFamily:"heading",fontWeight:"bold"},sizes:{"4xl":{fontSize:["6xl",null,"7xl"],lineHeight:1},"3xl":{fontSize:["5xl",null,"6xl"],lineHeight:1},"2xl":{fontSize:["4xl",null,"5xl"],lineHeight:[1.2,null,1]},xl:{fontSize:["3xl",null,"4xl"],lineHeight:[1.33,null,1.2]},lg:{fontSize:["2xl",null,"3xl"],lineHeight:[1.33,null,1.2]},md:{fontSize:"xl",lineHeight:1.2},sm:{fontSize:"md",lineHeight:1.2},xs:{fontSize:"sm",lineHeight:1.2}},defaultProps:{size:"xl"}},Zr={lg:{fontSize:"lg",px:4,h:12,borderRadius:"md"},md:{fontSize:"md",px:4,h:10,borderRadius:"md"},sm:{fontSize:"sm",px:3,h:8,borderRadius:"sm"},xs:{fontSize:"xs",px:2,h:6,borderRadius:"sm"}},Ur={lg:{field:Zr.lg,addon:Zr.lg},md:{field:Zr.md,addon:Zr.md},sm:{field:Zr.sm,addon:Zr.sm},xs:{field:Zr.xs,addon:Zr.xs}};function Vr(e){var r=e.focusBorderColor,t=e.errorBorderColor;return{focusBorderColor:r||ze("blue.500","blue.300")(e),errorBorderColor:t||ze("red.500","red.300")(e)}}var Yr={outline:function(e){var r=e.theme,t=Vr(e),n=t.focusBorderColor,a=t.errorBorderColor;return{field:{border:"1px solid",borderColor:"inherit",bg:"inherit",_hover:{borderColor:ze("gray.300","whiteAlpha.400")(e)},_readOnly:{boxShadow:"none !important",userSelect:"all"},_disabled:{opacity:.4,cursor:"not-allowed"},_invalid:{borderColor:Be(r,a),boxShadow:"0 0 0 1px "+Be(r,a)},_focus:{zIndex:1,borderColor:Be(r,n),boxShadow:"0 0 0 1px "+Be(r,n)}},addon:{border:"1px solid",borderColor:ze("inherit","whiteAlpha.50")(e),bg:ze("gray.100","whiteAlpha.300")(e)}}},filled:function(e){var r=e.theme,t=Vr(e),n=t.focusBorderColor,a=t.errorBorderColor;return{field:{border:"2px solid",borderColor:"transparent",bg:ze("gray.100","whiteAlpha.50")(e),_hover:{bg:ze("gray.200","whiteAlpha.100")(e)},_readOnly:{boxShadow:"none !important",userSelect:"all"},_disabled:{opacity:.4,cursor:"not-allowed"},_invalid:{borderColor:Be(r,a)},_focus:{bg:"transparent",borderColor:Be(r,n)}},addon:{border:"2px solid",borderColor:"transparent",bg:ze("gray.100","whiteAlpha.50")(e)}}},flushed:function(e){var r=e.theme,t=Vr(e),n=t.focusBorderColor,a=t.errorBorderColor;return{field:{borderBottom:"1px solid",borderColor:"inherit",borderRadius:0,px:0,bg:"transparent",_readOnly:{boxShadow:"none !important",userSelect:"all"},_invalid:{borderColor:Be(r,a),boxShadow:"0px 1px 0px 0px "+Be(r,a)},_focus:{borderColor:Be(r,n),boxShadow:"0px 1px 0px 0px "+Be(r,n)}},addon:{borderBottom:"2px solid",borderColor:"inherit",borderRadius:0,px:0,bg:"transparent"}}},unstyled:{field:{bg:"transparent",px:0,height:"auto"},addon:{bg:"transparent",px:0,height:"auto"}}},Xr={parts:L.keys,baseStyle:{field:{width:"100%",minWidth:0,outline:0,position:"relative",appearance:"none",transitionProperty:"common",transitionDuration:"normal"}},sizes:Ur,variants:Yr,defaultProps:{size:"md",variant:"outline"}},Gr={baseStyle:function(e){return{bg:ze("gray.100","whiteAlpha")(e),borderRadius:"md",borderWidth:"1px",borderBottomWidth:"3px",fontSize:"0.8em",fontWeight:"bold",lineHeight:"normal",px:"0.4em",whiteSpace:"nowrap"}}},Kr={baseStyle:{transitionProperty:"common",transitionDuration:"fast",transitionTimingFunction:"ease-out",cursor:"pointer",textDecoration:"none",outline:"none",color:"inherit",_hover:{textDecoration:"underline"},_focus:{boxShadow:"outline"}}},Jr={container:{},item:{},icon:{marginEnd:"0.5rem",display:"inline",verticalAlign:"text-bottom"}},Qr={parts:H.keys,baseStyle:Jr},et=function(e){return{bg:ze("#fff","gray.700")(e),boxShadow:ze("sm","dark-lg")(e),color:"inherit",minW:"3xs",py:"2",zIndex:1,borderRadius:"md",borderWidth:"1px"}},rt=function(e){return{py:"0.4rem",px:"0.8rem",transitionProperty:"background",transitionDuration:"ultra-fast",transitionTimingFunction:"ease-in",_focus:{bg:ze("gray.100","whiteAlpha.100")(e)},_active:{bg:ze("gray.200","whiteAlpha.200")(e)},_expanded:{bg:ze("gray.100","whiteAlpha.100")(e)},_disabled:{opacity:.4,cursor:"not-allowed"}}},tt={mx:4,my:2,fontWeight:"semibold",fontSize:"sm"},nt={opacity:.6},at={border:0,borderBottom:"1px solid",borderColor:"inherit",my:"0.5rem",opacity:.6},ot={transitionProperty:"common",transitionDuration:"normal"},it={parts:$.keys,baseStyle:function(e){return{button:ot,list:et(e),item:rt(e),groupTitle:tt,command:nt,divider:at}}},lt={bg:"blackAlpha.600",zIndex:"modal"},st=function(e){return{display:"flex",zIndex:"modal",justifyContent:"center",alignItems:e.isCentered?"center":"flex-start",overflow:"inside"===e.scrollBehavior?"hidden":"auto"}},ct=function(e){var r=e.scrollBehavior;return{borderRadius:"md",bg:ze("white","gray.700")(e),color:"inherit",my:"3.75rem",zIndex:"modal",maxH:"inside"===r?"calc(100% - 7.5rem)":void 0,boxShadow:ze("lg","dark-lg")(e)}},ut={px:6,py:4,fontSize:"xl",fontWeight:"semibold"},dt={position:"absolute",top:2,insetEnd:3},ft=function(e){return{px:6,py:2,flex:1,overflow:"inside"===e.scrollBehavior?"auto":void 0}},bt={px:6,py:4};function pt(e){return"full"===e?{dialog:{maxW:"100vw",minH:"100vh","@supports(min-height: -webkit-fill-available)":{minH:"-webkit-fill-available"},my:0}}:{dialog:{maxW:e}}}var gt,ht,mt,vt={xs:pt("xs"),sm:pt("sm"),md:pt("md"),lg:pt("lg"),xl:pt("xl"),"2xl":pt("2xl"),"3xl":pt("3xl"),"4xl":pt("4xl"),"5xl":pt("5xl"),"6xl":pt("6xl"),full:pt("full")},yt={parts:q.keys,baseStyle:function(e){return{overlay:lt,dialogContainer:st(e),dialog:ct(e),header:ut,closeButton:dt,body:ft(e),footer:bt}},sizes:vt,defaultProps:{size:"md"}},xt=Xr.variants,wt=Xr.defaultProps,kt=Ve("number-input-stepper-width"),St=Ve("number-input-input-padding"),Et=$e(kt).add("0.5rem").toString(),Ct=((gt={})[kt.variable]="24px",gt[St.variable]=Et,gt),At=null!=(ht=null==(mt=Xr.baseStyle)?void 0:mt.field)?ht:{},Ft={width:[kt.reference]},Bt=function(e){return{borderStart:"1px solid",borderStartColor:ze("inherit","whiteAlpha.300")(e),color:ze("inherit","whiteAlpha.800")(e),_active:{bg:ze("gray.200","whiteAlpha.300")(e)},_disabled:{opacity:.4,cursor:"not-allowed"}}};function _t(e){var r,t,n=Xr.sizes[e],a={lg:"md",md:"md",sm:"sm",xs:"sm"},o=null!=(r=null==(t=n.field)?void 0:t.fontSize)?r:"md",i=Xe.fontSizes[o.toString()];return{field:b({},n.field,{paddingInlineEnd:St.reference,verticalAlign:"top"}),stepper:{fontSize:$e(i).multiply(.75).toString(),_first:{borderTopEndRadius:a[e]},_last:{borderBottomEndRadius:a[e],mt:"-1px",borderTopWidth:1}}}}var Dt,Rt={xs:_t("xs"),sm:_t("sm"),md:_t("md"),lg:_t("lg")},Tt={parts:Z.keys,baseStyle:function(e){return{root:Ct,field:At,stepperGroup:Ft,stepper:Bt(e)}},sizes:Rt,variants:xt,defaultProps:wt},zt={baseStyle:b({},Xr.baseStyle.field,{textAlign:"center"}),sizes:{lg:{fontSize:"lg",w:12,h:12,borderRadius:"md"},md:{fontSize:"md",w:10,h:10,borderRadius:"md"},sm:{fontSize:"sm",w:8,h:8,borderRadius:"sm"},xs:{fontSize:"xs",w:6,h:6,borderRadius:"sm"}},variants:{outline:function(e){var r;return null!=(r=Xr.variants.outline(e).field)?r:{}},flushed:function(e){var r;return null!=(r=Xr.variants.flushed(e).field)?r:{}},filled:function(e){var r;return null!=(r=Xr.variants.filled(e).field)?r:{}},unstyled:null!=(Dt=Xr.variants.unstyled.field)?Dt:{}},defaultProps:Xr.defaultProps},Pt=Ve("popper-bg"),Mt=Ve("popper-arrow-bg"),jt=Ve("popper-arrow-shadow-color"),Ot={zIndex:10},It=function(e){var r,t=ze("white","gray.700")(e),n=ze("gray.200","whiteAlpha.300")(e);return(r={})[Pt.variable]="colors."+t,r.bg=Pt.reference,r[Mt.variable]=Pt.reference,r[jt.variable]="colors."+n,r.width="xs",r.border="1px solid",r.borderColor="inherit",r.borderRadius="md",r.boxShadow="sm",r.zIndex="inherit",r._focus={outline:0,boxShadow:"outline"},r},Wt={px:3,py:2,borderBottomWidth:"1px"},Nt={px:3,py:2},Lt={px:3,py:2,borderTopWidth:"1px"},Ht={position:"absolute",borderRadius:"md",top:1,insetEnd:2,padding:2},$t={parts:U.keys,baseStyle:function(e){return{popper:Ot,content:It(e),header:Wt,body:Nt,footer:Lt,arrow:{},closeButton:Ht}}};var qt={lineHeight:"1",fontSize:"0.25em",fontWeight:"bold",color:"white"},Zt=function(e){return{bg:ze("gray.100","whiteAlpha.300")(e)}},Ut=function(e){return b({transitionProperty:"common",transitionDuration:"slow"},function(e){var r=e.colorScheme,t=e.theme,n=e.isIndeterminate,a=e.hasStripe,o=ze(Re(),Re("1rem","rgba(0,0,0,0.1)"))(e),i=ze(r+".500",r+".200")(e),l="linear-gradient(\n to right,\n transparent 0%,\n "+Be(t,i)+" 50%,\n transparent 100%\n )";return b({},!n&&a&&o,n?{bgImage:l}:{bgColor:i})}(e))},Vt={parts:V.keys,sizes:{xs:{track:{h:"0.25rem"}},sm:{track:{h:"0.5rem"}},md:{track:{h:"0.75rem"}},lg:{track:{h:"1rem"}}},baseStyle:function(e){return{label:qt,filledTrack:Ut(e),track:Zt(e)}},defaultProps:{size:"md",colorScheme:"blue"}},Yt=function(e){var r=yr.baseStyle(e).control,t=void 0===r?{}:r;return b({},t,{borderRadius:"full",_checked:b({},t._checked,{_before:{content:'""',display:"inline-block",pos:"relative",w:"50%",h:"50%",borderRadius:"50%",bg:"currentColor"}})})},Xt={parts:Y.keys,baseStyle:function(e){return{label:yr.baseStyle(e).label,control:Yt(e)}},sizes:{md:{control:{w:4,h:4},label:{fontSize:"md"}},lg:{control:{w:5,h:5},label:{fontSize:"lg"}},sm:{control:{width:3,height:3},label:{fontSize:"sm"}}},defaultProps:{size:"md",colorScheme:"blue"}},Gt=function(e){return b({},Xr.baseStyle.field,{bg:ze("white","gray.700")(e),appearance:"none",paddingBottom:"1px",lineHeight:"normal","> option, > optgroup":{bg:ze("white","gray.700")(e)}})},Kt={width:"1.5rem",height:"100%",insetEnd:"0.5rem",position:"relative",color:"currentColor",fontSize:"1.25rem",_disabled:{opacity:.5}},Jt={paddingInlineEnd:"2rem"},Qt=h()({},Xr.sizes,{lg:{field:Jt},md:{field:Jt},sm:{field:Jt},xs:{field:Jt,icon:{insetEnd:"0.25rem"}}}),en={parts:X.keys,baseStyle:function(e){return{field:Gt(e),icon:Kt}},sizes:Qt,variants:Xr.variants,defaultProps:Xr.defaultProps},rn=function(e,r){return(0,a.F4)({from:{borderColor:e,background:e},to:{borderColor:r,background:r}})},tn={baseStyle:function(e){var r=ze("gray.100","gray.800")(e),t=ze("gray.400","gray.600")(e),n=e.startColor,a=void 0===n?r:n,o=e.endColor,i=void 0===o?t:o,l=e.speed,s=e.theme,c=Be(s,a),u=Be(s,i);return{opacity:.7,borderRadius:"2px",borderColor:c,background:u,animation:l+"s linear infinite alternate "+rn(c,u)}}},nn={baseStyle:function(e){return{borderRadius:"md",fontWeight:"semibold",_focus:{boxShadow:"outline",padding:"1rem",position:"fixed",top:"1.5rem",insetStart:"1.5rem",bg:ze("white","gray.700")(e)}}}};var an,on,ln,sn,cn,un,dn,fn,bn,pn,gn,hn,mn,vn=function(e){return b({display:"inline-block",position:"relative",cursor:"pointer",_disabled:{opacity:.6,cursor:"default",pointerEvents:"none"}},Pe({orientation:e.orientation,vertical:{h:"100%"},horizontal:{w:"100%"}}))},yn=function(e){return{overflow:"hidden",borderRadius:"sm",bg:ze("gray.200","whiteAlpha.200")(e),_disabled:{bg:ze("gray.300","whiteAlpha.300")(e)}}},xn=function(e){return b({display:"flex",alignItems:"center",justifyContent:"center",position:"absolute",outline:0,zIndex:1,borderRadius:"full",bg:"white",boxShadow:"base",border:"1px solid",borderColor:"transparent",transitionProperty:"transform",transitionDuration:"normal",_focus:{boxShadow:"outline"},_disabled:{bg:"gray.300"}},function(e){return Pe({orientation:e.orientation,vertical:{left:"50%",transform:"translateX(-50%)",_active:{transform:"translateX(-50%) scale(1.15)"}},horizontal:{top:"50%",transform:"translateY(-50%)",_active:{transform:"translateY(-50%) scale(1.15)"}}})}(e))},wn=function(e){var r=e.colorScheme;return{width:"inherit",height:"inherit",bg:ze(r+".500",r+".200")(e)}},kn={lg:function(e){return{thumb:{w:"16px",h:"16px"},track:Pe({orientation:e.orientation,horizontal:{h:"4px"},vertical:{w:"4px"}})}},md:function(e){return{thumb:{w:"14px",h:"14px"},track:Pe({orientation:e.orientation,horizontal:{h:"4px"},vertical:{w:"4px"}})}},sm:function(e){return{thumb:{w:"10px",h:"10px"},track:Pe({orientation:e.orientation,horizontal:{h:"2px"},vertical:{w:"2px"}})}}},Sn={parts:G.keys,sizes:kn,baseStyle:function(e){return{container:vn(e),track:yn(e),thumb:xn(e),filledTrack:wn(e)}},defaultProps:{size:"md",colorScheme:"blue"}},En=Ve("spinner-size"),Cn={baseStyle:{width:[En.reference],height:[En.reference]},sizes:{xs:(an={},an[En.variable]="0.75rem",an),sm:(on={},on[En.variable]="1rem",on),md:(ln={},ln[En.variable]="1.5rem",ln),lg:(sn={},sn[En.variable]="2rem",sn),xl:(cn={},cn[En.variable]="3rem",cn)},defaultProps:{size:"md"}},An={container:{},label:{fontWeight:"medium"},helpText:{opacity:.8,marginBottom:2},number:{verticalAlign:"baseline",fontWeight:"semibold"},icon:{marginEnd:1,w:"14px",h:"14px",verticalAlign:"middle"}},Fn={parts:K.keys,baseStyle:An,sizes:{md:{label:{fontSize:"sm"},helpText:{fontSize:"sm"},number:{fontSize:"2xl"}}},defaultProps:{size:"md"}},Bn=Ve("switch-track-width"),_n=Ve("switch-track-height"),Dn=Ve("switch-track-diff"),Rn=$e.subtract(Bn,_n),Tn=Ve("switch-thumb-x"),zn=function(e){var r=e.colorScheme;return{borderRadius:"full",p:"2px",width:[Bn.reference],height:[_n.reference],transitionProperty:"common",transitionDuration:"fast",bg:ze("gray.300","whiteAlpha.400")(e),_focus:{boxShadow:"outline"},_disabled:{opacity:.4,cursor:"not-allowed"},_checked:{bg:ze(r+".500",r+".200")(e)}}},Pn={bg:"white",transitionProperty:"transform",transitionDuration:"normal",borderRadius:"inherit",width:[_n.reference],height:[_n.reference],_checked:{transform:"translateX("+Tn.reference+")"}},Mn={sm:{container:(un={},un[Bn.variable]="1.375rem",un[_n.variable]="0.75rem",un)},md:{container:(dn={},dn[Bn.variable]="1.875rem",dn[_n.variable]="1rem",dn)},lg:{container:(fn={},fn[Bn.variable]="2.875rem",fn[_n.variable]="1.5rem",fn)}},jn={parts:J.keys,baseStyle:function(e){var r,t;return{container:(t={},t[Dn.variable]=Rn,t[Tn.variable]=Dn.reference,t._rtl=(r={},r[Tn.variable]=$e(Dn).negate().toString(),r),t),track:zn(e),thumb:Pn}},sizes:Mn,defaultProps:{size:"md",colorScheme:"blue"}},On={"&[data-is-numeric=true]":{textAlign:"end"}},In={simple:function(e){var r=e.colorScheme;return{th:b({color:ze("gray.600","gray.400")(e),borderBottom:"1px",borderColor:ze(r+".100",r+".700")(e)},On),td:b({borderBottom:"1px",borderColor:ze(r+".100",r+".700")(e)},On),caption:{color:ze("gray.600","gray.100")(e)},tfoot:{tr:{"&:last-of-type":{th:{borderBottomWidth:0}}}}}},striped:function(e){var r=e.colorScheme;return{th:b({color:ze("gray.600","gray.400")(e),borderBottom:"1px",borderColor:ze(r+".100",r+".700")(e)},On),td:b({borderBottom:"1px",borderColor:ze(r+".100",r+".700")(e)},On),caption:{color:ze("gray.600","gray.100")(e)},tbody:{tr:{"&:nth-of-type(odd)":{"th, td":{borderBottomWidth:"1px",borderColor:ze(r+".100",r+".700")(e)},td:{background:ze(r+".100",r+".700")(e)}}}},tfoot:{tr:{"&:last-of-type":{th:{borderBottomWidth:0}}}}}},unstyled:{}},Wn={parts:Q.keys,baseStyle:{table:{fontVariantNumeric:"lining-nums tabular-nums",borderCollapse:"collapse",width:"full"},th:{fontFamily:"heading",fontWeight:"bold",textTransform:"uppercase",letterSpacing:"wider",textAlign:"start"},td:{textAlign:"start"},caption:{mt:4,fontFamily:"heading",textAlign:"center",fontWeight:"medium"}},variants:In,sizes:{sm:{th:{px:"4",py:"1",lineHeight:"4",fontSize:"xs"},td:{px:"4",py:"2",fontSize:"sm",lineHeight:"4"},caption:{px:"4",py:"2",fontSize:"xs"}},md:{th:{px:"6",py:"3",lineHeight:"4",fontSize:"xs"},td:{px:"6",py:"4",lineHeight:"5"},caption:{px:"6",py:"2",fontSize:"sm"}},lg:{th:{px:"8",py:"4",lineHeight:"5",fontSize:"sm"},td:{px:"8",py:"5",lineHeight:"6"},caption:{px:"6",py:"2",fontSize:"md"}}},defaultProps:{variant:"simple",size:"md",colorScheme:"gray"}},Nn=function(e){return{display:"vertical"===e.orientation?"flex":"block"}},Ln=function(e){return{flex:e.isFitted?1:void 0,transitionProperty:"common",transitionDuration:"normal",_focus:{zIndex:1,boxShadow:"outline"}}},Hn=function(e){var r=e.align,t=void 0===r?"start":r,n=e.orientation;return{justifyContent:{end:"flex-end",center:"center",start:"flex-start"}[t],flexDirection:"vertical"===n?"column":"row"}},$n={p:4},qn={line:function(e){var r,t,n=e.colorScheme,a=e.orientation,o="vertical"===a?"borderStart":"borderBottom",i="vertical"===a?"marginStart":"marginBottom";return{tablist:(r={},r[o]="2px solid",r.borderColor="inherit",r),tab:(t={},t[o]="2px solid",t.borderColor="transparent",t[i]="-2px",t._selected={color:ze(n+".600",n+".300")(e),borderColor:"currentColor"},t._active={bg:ze("gray.200","whiteAlpha.300")(e)},t._disabled={opacity:.4,cursor:"not-allowed"},t)}},enclosed:function(e){var r=e.colorScheme;return{tab:{borderTopRadius:"md",border:"1px solid",borderColor:"transparent",mb:"-1px",_selected:{color:ze(r+".600",r+".300")(e),borderColor:"inherit",borderBottomColor:ze("white","gray.800")(e)}},tablist:{mb:"-1px",borderBottom:"1px solid",borderColor:"inherit"}}},"enclosed-colored":function(e){var r=e.colorScheme;return{tab:{border:"1px solid",borderColor:"inherit",bg:ze("gray.50","whiteAlpha.50")(e),mb:"-1px",_notLast:{marginEnd:"-1px"},_selected:{bg:ze("#fff","gray.800")(e),color:ze(r+".600",r+".300")(e),borderColor:"inherit",borderTopColor:"currentColor",borderBottomColor:"transparent"}},tablist:{mb:"-1px",borderBottom:"1px solid",borderColor:"inherit"}}},"soft-rounded":function(e){var r=e.colorScheme,t=e.theme;return{tab:{borderRadius:"full",fontWeight:"semibold",color:"gray.600",_selected:{color:Be(t,r+".700"),bg:Be(t,r+".100")}}}},"solid-rounded":function(e){var r=e.colorScheme;return{tab:{borderRadius:"full",fontWeight:"semibold",color:ze("gray.600","inherit")(e),_selected:{color:ze("#fff","gray.800")(e),bg:ze(r+".600",r+".300")(e)}}}},unstyled:{}},Zn={parts:ee.keys,baseStyle:function(e){return{root:Nn(e),tab:Ln(e),tablist:Hn(e),tabpanel:$n}},sizes:{sm:{tab:{py:1,px:4,fontSize:"sm"}},md:{tab:{fontSize:"md",py:2,px:4}},lg:{tab:{fontSize:"lg",py:3,px:4}}},variants:qn,defaultProps:{size:"md",variant:"line",colorScheme:"blue"}},Un={container:{fontWeight:"medium",lineHeight:1.2,outline:0,_focus:{boxShadow:"outline"}},label:{lineHeight:1.2,overflow:"visible"},closeButton:{fontSize:"18px",w:"1.25rem",h:"1.25rem",transitionProperty:"common",transitionDuration:"normal",borderRadius:"full",marginStart:"0.375rem",marginEnd:"-1",opacity:.5,_disabled:{opacity:.4},_focus:{boxShadow:"outline",bg:"rgba(0, 0, 0, 0.14)"},_hover:{opacity:.8},_active:{opacity:1}}},Vn={subtle:function(e){return{container:ur.variants.subtle(e)}},solid:function(e){return{container:ur.variants.solid(e)}},outline:function(e){return{container:ur.variants.outline(e)}}},Yn={parts:re.keys,variants:Vn,baseStyle:Un,sizes:{sm:{container:{minH:"1.25rem",minW:"1.25rem",fontSize:"xs",px:2,borderRadius:"md"},closeButton:{marginEnd:"-2px",marginStart:"0.35rem"}},md:{container:{minH:"1.5rem",minW:"1.5rem",fontSize:"sm",borderRadius:"md",px:2}},lg:{container:{minH:8,minW:8,fontSize:"md",borderRadius:"md",px:3}}},defaultProps:{size:"md",variant:"subtle",colorScheme:"gray"}},Xn=b({},Xr.baseStyle.field,{paddingY:"8px",minHeight:"80px",lineHeight:"short",verticalAlign:"top"}),Gn={outline:function(e){var r;return null!=(r=Xr.variants.outline(e).field)?r:{}},flushed:function(e){var r;return null!=(r=Xr.variants.flushed(e).field)?r:{}},filled:function(e){var r;return null!=(r=Xr.variants.filled(e).field)?r:{}},unstyled:null!=(bn=Xr.variants.unstyled.field)?bn:{}},Kn={baseStyle:Xn,sizes:{xs:null!=(pn=Xr.sizes.xs.field)?pn:{},sm:null!=(gn=Xr.sizes.sm.field)?gn:{},md:null!=(hn=Xr.sizes.md.field)?hn:{},lg:null!=(mn=Xr.sizes.lg.field)?mn:{}},variants:Gn,defaultProps:{size:"md",variant:"outline"}},Jn=Ve("tooltip-bg"),Qn=Ve("popper-arrow-bg"),ea={baseStyle:function(e){var r,t=ze("gray.700","gray.300")(e);return(r={})[Jn.variable]="colors."+t,r.px="8px",r.py="2px",r.bg=[Jn.reference],r[Qn.variable]=[Jn.reference],r.color=ze("whiteAlpha.900","gray.900")(e),r.borderRadius="sm",r.fontWeight="medium",r.fontSize="sm",r.boxShadow="md",r.maxW="320px",r.zIndex="tooltip",r}},ra=Object.freeze({__proto__:null,Accordion:Ke,Alert:er,Avatar:cr,Badge:ur,Breadcrumb:fr,Button:gr,Checkbox:yr,CloseButton:wr,Code:kr,Container:Sr,Divider:Er,Drawer:Pr,Editable:jr,Form:Wr,FormError:Hr,FormLabel:$r,Heading:qr,Input:Xr,Kbd:Gr,Link:Kr,List:Qr,Menu:it,Modal:yt,NumberInput:Tt,PinInput:zt,Popover:$t,Progress:Vt,Radio:Xt,Select:en,Skeleton:tn,SkipLink:nn,Slider:Sn,Spinner:Cn,Stat:Fn,Switch:jn,Table:Wn,Tabs:Zn,Tag:Yn,Textarea:Kn,Tooltip:ea}),ta=b({breakpoints:function(e){return(0,Fe.ZK)({condition:!0,message:["[chakra-ui]: createBreakpoints(...) will be deprecated pretty soon","simply pass the breakpoints as an object. Remove the createBreakpoint(..) call"].join("")}),Me({base:"0em"},e)}({sm:"30em",md:"48em",lg:"62em",xl:"80em","2xl":"96em"}),zIndices:{hide:-1,auto:"auto",base:0,docked:10,dropdown:1e3,sticky:1100,banner:1200,overlay:1300,modal:1400,popover:1500,skipLink:1600,toast:1700,tooltip:1800},radii:{none:"0",sm:"0.125rem",base:"0.25rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"},blur:{none:0,sm:"4px",base:"8px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},colors:{transparent:"transparent",current:"currentColor",black:"#000000",white:"#FFFFFF",whiteAlpha:{50:"rgba(255, 255, 255, 0.04)",100:"rgba(255, 255, 255, 0.06)",200:"rgba(255, 255, 255, 0.08)",300:"rgba(255, 255, 255, 0.16)",400:"rgba(255, 255, 255, 0.24)",500:"rgba(255, 255, 255, 0.36)",600:"rgba(255, 255, 255, 0.48)",700:"rgba(255, 255, 255, 0.64)",800:"rgba(255, 255, 255, 0.80)",900:"rgba(255, 255, 255, 0.92)"},blackAlpha:{50:"rgba(0, 0, 0, 0.04)",100:"rgba(0, 0, 0, 0.06)",200:"rgba(0, 0, 0, 0.08)",300:"rgba(0, 0, 0, 0.16)",400:"rgba(0, 0, 0, 0.24)",500:"rgba(0, 0, 0, 0.36)",600:"rgba(0, 0, 0, 0.48)",700:"rgba(0, 0, 0, 0.64)",800:"rgba(0, 0, 0, 0.80)",900:"rgba(0, 0, 0, 0.92)"},gray:{50:"#F7FAFC",100:"#EDF2F7",200:"#E2E8F0",300:"#CBD5E0",400:"#A0AEC0",500:"#718096",600:"#4A5568",700:"#2D3748",800:"#1A202C",900:"#171923"},red:{50:"#FFF5F5",100:"#FED7D7",200:"#FEB2B2",300:"#FC8181",400:"#F56565",500:"#E53E3E",600:"#C53030",700:"#9B2C2C",800:"#822727",900:"#63171B"},orange:{50:"#FFFAF0",100:"#FEEBC8",200:"#FBD38D",300:"#F6AD55",400:"#ED8936",500:"#DD6B20",600:"#C05621",700:"#9C4221",800:"#7B341E",900:"#652B19"},yellow:{50:"#FFFFF0",100:"#FEFCBF",200:"#FAF089",300:"#F6E05E",400:"#ECC94B",500:"#D69E2E",600:"#B7791F",700:"#975A16",800:"#744210",900:"#5F370E"},green:{50:"#F0FFF4",100:"#C6F6D5",200:"#9AE6B4",300:"#68D391",400:"#48BB78",500:"#38A169",600:"#2F855A",700:"#276749",800:"#22543D",900:"#1C4532"},teal:{50:"#E6FFFA",100:"#B2F5EA",200:"#81E6D9",300:"#4FD1C5",400:"#38B2AC",500:"#319795",600:"#2C7A7B",700:"#285E61",800:"#234E52",900:"#1D4044"},blue:{50:"#ebf8ff",100:"#bee3f8",200:"#90cdf4",300:"#63b3ed",400:"#4299e1",500:"#3182ce",600:"#2b6cb0",700:"#2c5282",800:"#2a4365",900:"#1A365D"},cyan:{50:"#EDFDFD",100:"#C4F1F9",200:"#9DECF9",300:"#76E4F7",400:"#0BC5EA",500:"#00B5D8",600:"#00A3C4",700:"#0987A0",800:"#086F83",900:"#065666"},purple:{50:"#FAF5FF",100:"#E9D8FD",200:"#D6BCFA",300:"#B794F4",400:"#9F7AEA",500:"#805AD5",600:"#6B46C1",700:"#553C9A",800:"#44337A",900:"#322659"},pink:{50:"#FFF5F7",100:"#FED7E2",200:"#FBB6CE",300:"#F687B3",400:"#ED64A6",500:"#D53F8C",600:"#B83280",700:"#97266D",800:"#702459",900:"#521B41"},linkedin:{50:"#E8F4F9",100:"#CFEDFB",200:"#9BDAF3",300:"#68C7EC",400:"#34B3E4",500:"#00A0DC",600:"#008CC9",700:"#0077B5",800:"#005E93",900:"#004471"},facebook:{50:"#E8F4F9",100:"#D9DEE9",200:"#B7C2DA",300:"#6482C0",400:"#4267B2",500:"#385898",600:"#314E89",700:"#29487D",800:"#223B67",900:"#1E355B"},messenger:{50:"#D0E6FF",100:"#B9DAFF",200:"#A2CDFF",300:"#7AB8FF",400:"#2E90FF",500:"#0078FF",600:"#0063D1",700:"#0052AC",800:"#003C7E",900:"#002C5C"},whatsapp:{50:"#dffeec",100:"#b9f5d0",200:"#90edb3",300:"#65e495",400:"#3cdd78",500:"#22c35e",600:"#179848",700:"#0c6c33",800:"#01421c",900:"#001803"},twitter:{50:"#E5F4FD",100:"#C8E9FB",200:"#A8DCFA",300:"#83CDF7",400:"#57BBF5",500:"#1DA1F2",600:"#1A94DA",700:"#1681BF",800:"#136B9E",900:"#0D4D71"},telegram:{50:"#E3F2F9",100:"#C5E4F3",200:"#A2D4EC",300:"#7AC1E4",400:"#47A9DA",500:"#0088CC",600:"#007AB8",700:"#006BA1",800:"#005885",900:"#003F5E"}}},Xe,{sizes:p,shadows:{xs:"0 0 0 1px rgba(0, 0, 0, 0.05)",sm:"0 1px 2px 0 rgba(0, 0, 0, 0.05)",base:"0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06)",md:"0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)",lg:"0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)",xl:"0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04)","2xl":"0 25px 50px -12px rgba(0, 0, 0, 0.25)",outline:"0 0 0 3px rgba(66, 153, 225, 0.6)",inner:"inset 0 2px 4px 0 rgba(0,0,0,0.06)",none:"none","dark-lg":"rgba(0, 0, 0, 0.1) 0px 0px 0px 1px, rgba(0, 0, 0, 0.2) 0px 5px 10px, rgba(0, 0, 0, 0.4) 0px 15px 40px"},space:f,borders:{none:0,"1px":"1px solid","2px":"2px solid","4px":"4px solid","8px":"8px solid"},transition:{property:{common:"background-color, border-color, color, fill, stroke, opacity, box-shadow, transform",colors:"background-color, border-color, color, fill, stroke",dimensions:"width, height",position:"left, right, top, bottom",background:"background-color, background-image, background-position"},easing:{"ease-in":"cubic-bezier(0.4, 0, 1, 1)","ease-out":"cubic-bezier(0, 0, 0.2, 1)","ease-in-out":"cubic-bezier(0.4, 0, 0.2, 1)"},duration:{"ultra-fast":"50ms",faster:"100ms",fast:"150ms",normal:"200ms",slow:"300ms",slower:"400ms","ultra-slow":"500ms"}}}),na=["borders","breakpoints","colors","components","config","direction","fonts","fontSizes","fontWeights","letterSpacings","lineHeights","radii","shadows","sizes","space","styles","transition","zIndices"];function aa(e){return!!(0,Fe.Kn)(e)&&na.every((function(r){return Object.prototype.hasOwnProperty.call(e,r)}))}var oa=b({direction:"ltr"},ta,{components:ra,styles:{global:function(e){return{body:{fontFamily:"body",color:ze("gray.800","whiteAlpha.900")(e),bg:ze("white","gray.800")(e),transitionProperty:"background-color",transitionDuration:"normal",lineHeight:"base"},"*::placeholder":{color:ze("gray.400","whiteAlpha.400")(e)},"*, *::before, &::after":{borderColor:ze("gray.200","whiteAlpha.300")(e),wordWrap:"break-word"}}}},config:{useSystemColorMode:!1,initialColorMode:"light",cssVarPrefix:"chakra"}}),ia=function(e){var r=e.children,t=e.colorModeManager,n=e.portalZIndex,a=e.resetCSS,f=void 0===a||a,b=e.theme,p=void 0===b?{}:b,g=e.environment,h=e.cssVarsRoot,m=o.createElement(u.u,{environment:g},r);return o.createElement(d.vc,null,o.createElement(s.f6,{theme:p,cssVarsRoot:h},o.createElement(c.SG,{colorModeManager:t,options:p.config},f&&o.createElement(i,null),o.createElement(s.ZL,null),n?o.createElement(l.hE,{zIndex:n},m):m)))};function la(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];var n=[].concat(r),a=r[r.length-1];return aa(a)&&n.length>1?n=n.slice(0,n.length-1):a=oa,Fe.zG.apply(void 0,n.map((function(e){return function(r){return(0,Fe.mf)(e)?e(r):sa(r,e)}})))(a)}function sa(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return h().apply(void 0,[{}].concat(r,[ca]))}function ca(e,r,t,n){if(((0,Fe.mf)(e)||(0,Fe.mf)(r))&&Object.prototype.hasOwnProperty.call(n,t))return function(){var t=(0,Fe.mf)(e)?e.apply(void 0,arguments):e,n=(0,Fe.mf)(r)?r.apply(void 0,arguments):r;return h()({},t,n,ca)}}function ua(e){var r=e.colorScheme,t=e.components;return function(e){var n=Object.keys(e.components||{});return Array.isArray(t)?n=t:(0,Fe.Kn)(t)&&(n=Object.keys(t)),sa(e,{components:(0,Fe.sq)(n.map((function(e){return[e,{defaultProps:{colorScheme:r}}]})))})}}ia.defaultProps={theme:oa};var da=t(52596),fa=t(29356),ba=t(67690),pa=t(85893);function ga(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}function ha(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?ga(Object(t),!0).forEach((function(r){(0,n.Z)(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ga(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}function ma(e){var r=e.children,t=(0,o.useContext)(fa.N),n=t.highlightColor,a=t.emacsTheme,i=a[1],l=da.Z(i.base1,i.base2)(.2),s="purple.500"===n?"".concat(i.violet,"aa"):"pink.500"===n?"".concat(i.magenta,"aa"):"blue.500"===n?"".concat(i.blue,"aa"):"cyan.500"===n?"".concat(i.cyan,"aa"):"green.500"===n?"".concat(i.green,"aa"):"yellow.500"===n?"".concat(i.yellow,"aa"):"orange.500"===n?"".concat(i.orange,"aa"):"red.500"===n?"".concat(i.red,"aa"):void 0,c=la((0,o.useMemo)((function(){return{colors:{white:i.bg,black:i.fg,gray:{100:i.base1,200:l,300:i.base2,400:i.base3,500:i.base4,600:i.base5,700:i.base6,800:i.base7,900:i.base8},blue:{500:i.blue},teal:{500:i.blue},yellow:{500:i.yellow},orange:{500:i.orange},red:{500:i.red},green:{500:i.green},purple:{500:i.violet},pink:{500:i.magenta},cyan:{500:i.cyan},alt:{100:i["bg-alt"],900:i["fg-alt"]}},shadows:{outline:"0 0 0 3px "+s},components:{Button:{variants:{outline:{border:"2px solid",borderColor:n,color:n},ghost:{color:n,_hover:{bg:"inherit",border:"1px solid",borderColor:n},_active:{color:"inherit",bg:n}},subtle:{color:"gray.800",_hover:{bg:"inherit",color:n},_active:{color:"inherit",bg:s}}}},Accordion:{baseStyle:{container:{marginTop:"10px",borderWidth:"0px",_last:{borderWidth:"0px"}},panel:{marginRight:"10px"}}},Slider:{baseStyle:function(e){return{thumb:{backgroundColor:n},filledTrack:{backgroundColor:"gray.400"},track:{backgroundColor:"gray.400",borderColor:"gray.400",borderWidth:"5px",borderRadius:"lg"}}}}}}}),[n,JSON.stringify(a)]),ua({colorScheme:n.split(".")[0]}));return(0,pa.jsx)(ia,{theme:c,children:r})}var va=function(e){var r=e.Component,t=e.pageProps,n=["one-vibrant",ba.n["one-vibrant"]],a=(0,o.useState)(!1),i=a[0],l=a[1],s=(0,o.useState)(n),c=s[0],u=s[1],d=(0,o.useState)("purple.500"),f=d[0],b=d[1];(0,o.useEffect)((function(){i&&localStorage.setItem("colorTheme",JSON.stringify(c))}),[c]),(0,o.useEffect)((function(){i&&localStorage.setItem("highlightColor",JSON.stringify(f))}),[f]),(0,o.useEffect)((function(){var e,r,t,a;u(null!==(e=JSON.parse(null!==(r=localStorage.getItem("colorTheme"))&&void 0!==r?r:JSON.stringify(n)))&&void 0!==e?e:n),b(null!==(t=JSON.parse(null!==(a=localStorage.getItem("highlightColor"))&&void 0!==a?a:JSON.stringify(f)))&&void 0!==t?t:f),l(!0)}),[]);var p={emacsTheme:c,setEmacsTheme:u,highlightColor:f,setHighlightColor:b};return(0,pa.jsx)(fa.N.Provider,{value:p,children:(0,pa.jsx)(ma,{children:(0,pa.jsx)(r,ha({},t))})})}},29356:function(e,r,t){"use strict";t.d(r,{N:function(){return o}});var n=t(67294),a=["vibrant",t(67690).n["one-vibrant"]],o=(0,n.createContext)({emacsTheme:a,setEmacsTheme:null,highlightColor:"purple",setHighlightColor:null})},94798:function(e,r,t){"use strict";function n(e,r,t){e.prototype=r.prototype=t,t.constructor=e}function a(e,r){var t=Object.create(e.prototype);for(var n in r)t[n]=r[n];return t}function o(){}t.d(r,{ZP:function(){return w},B8:function(){return C}});var i=.7,l=1/i,s="\\s*([+-]?\\d+)\\s*",c="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",u="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",d=/^#([0-9a-f]{3,8})$/,f=new RegExp("^rgb\\("+[s,s,s]+"\\)$"),b=new RegExp("^rgb\\("+[u,u,u]+"\\)$"),p=new RegExp("^rgba\\("+[s,s,s,c]+"\\)$"),g=new RegExp("^rgba\\("+[u,u,u,c]+"\\)$"),h=new RegExp("^hsl\\("+[c,u,u]+"\\)$"),m=new RegExp("^hsla\\("+[c,u,u,c]+"\\)$"),v={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function y(){return this.rgb().formatHex()}function x(){return this.rgb().formatRgb()}function w(e){var r,t;return e=(e+"").trim().toLowerCase(),(r=d.exec(e))?(t=r[1].length,r=parseInt(r[1],16),6===t?k(r):3===t?new A(r>>8&15|r>>4&240,r>>4&15|240&r,(15&r)<<4|15&r,1):8===t?S(r>>24&255,r>>16&255,r>>8&255,(255&r)/255):4===t?S(r>>12&15|r>>8&240,r>>8&15|r>>4&240,r>>4&15|240&r,((15&r)<<4|15&r)/255):null):(r=f.exec(e))?new A(r[1],r[2],r[3],1):(r=b.exec(e))?new A(255*r[1]/100,255*r[2]/100,255*r[3]/100,1):(r=p.exec(e))?S(r[1],r[2],r[3],r[4]):(r=g.exec(e))?S(255*r[1]/100,255*r[2]/100,255*r[3]/100,r[4]):(r=h.exec(e))?D(r[1],r[2]/100,r[3]/100,1):(r=m.exec(e))?D(r[1],r[2]/100,r[3]/100,r[4]):v.hasOwnProperty(e)?k(v[e]):"transparent"===e?new A(NaN,NaN,NaN,0):null}function k(e){return new A(e>>16&255,e>>8&255,255&e,1)}function S(e,r,t,n){return n<=0&&(e=r=t=NaN),new A(e,r,t,n)}function E(e){return e instanceof o||(e=w(e)),e?new A((e=e.rgb()).r,e.g,e.b,e.opacity):new A}function C(e,r,t,n){return 1===arguments.length?E(e):new A(e,r,t,null==n?1:n)}function A(e,r,t,n){this.r=+e,this.g=+r,this.b=+t,this.opacity=+n}function F(){return"#"+_(this.r)+_(this.g)+_(this.b)}function B(){var e=this.opacity;return(1===(e=isNaN(e)?1:Math.max(0,Math.min(1,e)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===e?")":", "+e+")")}function _(e){return((e=Math.max(0,Math.min(255,Math.round(e)||0)))<16?"0":"")+e.toString(16)}function D(e,r,t,n){return n<=0?e=r=t=NaN:t<=0||t>=1?e=r=NaN:r<=0&&(e=NaN),new T(e,r,t,n)}function R(e){if(e instanceof T)return new T(e.h,e.s,e.l,e.opacity);if(e instanceof o||(e=w(e)),!e)return new T;if(e instanceof T)return e;var r=(e=e.rgb()).r/255,t=e.g/255,n=e.b/255,a=Math.min(r,t,n),i=Math.max(r,t,n),l=NaN,s=i-a,c=(i+a)/2;return s?(l=r===i?(t-n)/s+6*(t<n):t===i?(n-r)/s+2:(r-t)/s+4,s/=c<.5?i+a:2-i-a,l*=60):s=c>0&&c<1?0:l,new T(l,s,c,e.opacity)}function T(e,r,t,n){this.h=+e,this.s=+r,this.l=+t,this.opacity=+n}function z(e,r,t){return 255*(e<60?r+(t-r)*e/60:e<180?t:e<240?r+(t-r)*(240-e)/60:r)}n(o,w,{copy:function(e){return Object.assign(new this.constructor,this,e)},displayable:function(){return this.rgb().displayable()},hex:y,formatHex:y,formatHsl:function(){return R(this).formatHsl()},formatRgb:x,toString:x}),n(A,C,a(o,{brighter:function(e){return e=null==e?l:Math.pow(l,e),new A(this.r*e,this.g*e,this.b*e,this.opacity)},darker:function(e){return e=null==e?i:Math.pow(i,e),new A(this.r*e,this.g*e,this.b*e,this.opacity)},rgb:function(){return this},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:F,formatHex:F,formatRgb:B,toString:B})),n(T,(function(e,r,t,n){return 1===arguments.length?R(e):new T(e,r,t,null==n?1:n)}),a(o,{brighter:function(e){return e=null==e?l:Math.pow(l,e),new T(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?i:Math.pow(i,e),new T(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=this.h%360+360*(this.h<0),r=isNaN(e)||isNaN(this.s)?0:this.s,t=this.l,n=t+(t<.5?t:1-t)*r,a=2*t-n;return new A(z(e>=240?e-240:e+120,a,n),z(e,a,n),z(e<120?e+240:e-120,a,n),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var e=this.opacity;return(1===(e=isNaN(e)?1:Math.max(0,Math.min(1,e)))?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(1===e?")":", "+e+")")}}))},57631:function(e,r){"use strict";r.Z=function(e){return function(){return e}}},13311:function(e,r,t){"use strict";function n(e,r){return e=+e,r=+r,function(t){return e*(1-t)+r*t}}t.d(r,{Z:function(){return n}})},20439:function(e,r,t){"use strict";t.d(r,{ZP:function(){return c}});var n=t(94798);function a(e,r,t,n,a){var o=e*e,i=o*e;return((1-3*e+3*o-i)*r+(4-6*o+3*i)*t+(1+3*e+3*o-3*i)*n+i*a)/6}var o=t(57631);function i(e,r){return function(t){return e+t*r}}function l(e){return 1===(e=+e)?s:function(r,t){return t-r?function(e,r,t){return e=Math.pow(e,t),r=Math.pow(r,t)-e,t=1/t,function(n){return Math.pow(e+n*r,t)}}(r,t,e):(0,o.Z)(isNaN(r)?t:r)}}function s(e,r){var t=r-e;return t?i(e,t):(0,o.Z)(isNaN(e)?r:e)}var c=function e(r){var t=l(r);function a(e,r){var a=t((e=(0,n.B8)(e)).r,(r=(0,n.B8)(r)).r),o=t(e.g,r.g),i=t(e.b,r.b),l=s(e.opacity,r.opacity);return function(r){return e.r=a(r),e.g=o(r),e.b=i(r),e.opacity=l(r),e+""}}return a.gamma=e,a}(1);function u(e){return function(r){var t,a,o=r.length,i=new Array(o),l=new Array(o),s=new Array(o);for(t=0;t<o;++t)a=(0,n.B8)(r[t]),i[t]=a.r||0,l[t]=a.g||0,s[t]=a.b||0;return i=e(i),l=e(l),s=e(s),a.opacity=1,function(e){return a.r=i(e),a.g=l(e),a.b=s(e),a+""}}}u((function(e){var r=e.length-1;return function(t){var n=t<=0?t=0:t>=1?(t=1,r-1):Math.floor(t*r),o=e[n],i=e[n+1],l=n>0?e[n-1]:2*o-i,s=n<r-1?e[n+2]:2*i-o;return a((t-n/r)*r,l,o,i,s)}})),u((function(e){var r=e.length;return function(t){var n=Math.floor(((t%=1)<0?++t:t)*r),o=e[(n+r-1)%r],i=e[n%r],l=e[(n+1)%r],s=e[(n+2)%r];return a((t-n/r)*r,o,i,l,s)}}))},25996:function(e,r,t){"use strict";t.d(r,{Z:function(){return i}});var n=t(13311),a=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,o=new RegExp(a.source,"g");function i(e,r){var t,i,l,s=a.lastIndex=o.lastIndex=0,c=-1,u=[],d=[];for(e+="",r+="";(t=a.exec(e))&&(i=o.exec(r));)(l=i.index)>s&&(l=r.slice(s,l),u[c]?u[c]+=l:u[++c]=l),(t=t[0])===(i=i[0])?u[c]?u[c]+=i:u[++c]=i:(u[++c]=null,d.push({i:c,x:(0,n.Z)(t,i)})),s=o.lastIndex;return s<r.length&&(l=r.slice(s),u[c]?u[c]+=l:u[++c]=l),u.length<2?d[0]?function(e){return function(r){return e(r)+""}}(d[0].x):function(e){return function(){return e}}(r):(r=d.length,function(e){for(var t,n=0;n<r;++n)u[(t=d[n]).i]=t.x(e);return u.join("")})}},52596:function(e,r,t){"use strict";t.d(r,{Z:function(){return f}});var n=t(94798),a=t(20439);function o(e,r){var t,n=r?r.length:0,a=e?Math.min(n,e.length):0,o=new Array(a),i=new Array(n);for(t=0;t<a;++t)o[t]=f(e[t],r[t]);for(;t<n;++t)i[t]=r[t];return function(e){for(t=0;t<a;++t)i[t]=o[t](e);return i}}function i(e,r){var t=new Date;return e=+e,r=+r,function(n){return t.setTime(e*(1-n)+r*n),t}}var l=t(13311);function s(e,r){var t,n={},a={};for(t in null!==e&&"object"===typeof e||(e={}),null!==r&&"object"===typeof r||(r={}),r)t in e?n[t]=f(e[t],r[t]):a[t]=r[t];return function(e){for(t in n)a[t]=n[t](e);return a}}var c=t(25996),u=t(57631);function d(e,r){r||(r=[]);var t,n=e?Math.min(r.length,e.length):0,a=r.slice();return function(o){for(t=0;t<n;++t)a[t]=e[t]*(1-o)+r[t]*o;return a}}function f(e,r){var t,f,b=typeof r;return null==r||"boolean"===b?(0,u.Z)(r):("number"===b?l.Z:"string"===b?(t=(0,n.ZP)(r))?(r=t,a.ZP):c.Z:r instanceof n.ZP?a.ZP:r instanceof Date?i:(f=r,!ArrayBuffer.isView(f)||f instanceof DataView?Array.isArray(r)?o:"function"!==typeof r.valueOf&&"function"!==typeof r.toString||isNaN(r)?s:l.Z:d))(e,r)}},76363:function(e,r,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/_app",function(){return t(93264)}])},43146:function(){},69590:function(e){var r="undefined"!==typeof Element,t="function"===typeof Map,n="function"===typeof Set,a="function"===typeof ArrayBuffer&&!!ArrayBuffer.isView;function o(e,i){if(e===i)return!0;if(e&&i&&"object"==typeof e&&"object"==typeof i){if(e.constructor!==i.constructor)return!1;var l,s,c,u;if(Array.isArray(e)){if((l=e.length)!=i.length)return!1;for(s=l;0!==s--;)if(!o(e[s],i[s]))return!1;return!0}if(t&&e instanceof Map&&i instanceof Map){if(e.size!==i.size)return!1;for(u=e.entries();!(s=u.next()).done;)if(!i.has(s.value[0]))return!1;for(u=e.entries();!(s=u.next()).done;)if(!o(s.value[1],i.get(s.value[0])))return!1;return!0}if(n&&e instanceof Set&&i instanceof Set){if(e.size!==i.size)return!1;for(u=e.entries();!(s=u.next()).done;)if(!i.has(s.value[0]))return!1;return!0}if(a&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(i)){if((l=e.length)!=i.length)return!1;for(s=l;0!==s--;)if(e[s]!==i[s])return!1;return!0}if(e.constructor===RegExp)return e.source===i.source&&e.flags===i.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===i.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===i.toString();if((l=(c=Object.keys(e)).length)!==Object.keys(i).length)return!1;for(s=l;0!==s--;)if(!Object.prototype.hasOwnProperty.call(i,c[s]))return!1;if(r&&e instanceof Element)return!1;for(s=l;0!==s--;)if(("_owner"!==c[s]&&"__v"!==c[s]&&"__o"!==c[s]||!e.$$typeof)&&!o(e[c[s]],i[c[s]]))return!1;return!0}return e!==e&&i!==i}e.exports=function(e,r){try{return o(e,r)}catch(t){if((t.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw t}}},69921:function(e,r){"use strict";var t="function"===typeof Symbol&&Symbol.for,n=t?Symbol.for("react.element"):60103,a=t?Symbol.for("react.portal"):60106,o=t?Symbol.for("react.fragment"):60107,i=t?Symbol.for("react.strict_mode"):60108,l=t?Symbol.for("react.profiler"):60114,s=t?Symbol.for("react.provider"):60109,c=t?Symbol.for("react.context"):60110,u=t?Symbol.for("react.async_mode"):60111,d=t?Symbol.for("react.concurrent_mode"):60111,f=t?Symbol.for("react.forward_ref"):60112,b=t?Symbol.for("react.suspense"):60113,p=t?Symbol.for("react.suspense_list"):60120,g=t?Symbol.for("react.memo"):60115,h=t?Symbol.for("react.lazy"):60116,m=t?Symbol.for("react.block"):60121,v=t?Symbol.for("react.fundamental"):60117,y=t?Symbol.for("react.responder"):60118,x=t?Symbol.for("react.scope"):60119;function w(e){if("object"===typeof e&&null!==e){var r=e.$$typeof;switch(r){case n:switch(e=e.type){case u:case d:case o:case l:case i:case b:return e;default:switch(e=e&&e.$$typeof){case c:case f:case h:case g:case s:return e;default:return r}}case a:return r}}}function k(e){return w(e)===d}r.AsyncMode=u,r.ConcurrentMode=d,r.ContextConsumer=c,r.ContextProvider=s,r.Element=n,r.ForwardRef=f,r.Fragment=o,r.Lazy=h,r.Memo=g,r.Portal=a,r.Profiler=l,r.StrictMode=i,r.Suspense=b,r.isAsyncMode=function(e){return k(e)||w(e)===u},r.isConcurrentMode=k,r.isContextConsumer=function(e){return w(e)===c},r.isContextProvider=function(e){return w(e)===s},r.isElement=function(e){return"object"===typeof e&&null!==e&&e.$$typeof===n},r.isForwardRef=function(e){return w(e)===f},r.isFragment=function(e){return w(e)===o},r.isLazy=function(e){return w(e)===h},r.isMemo=function(e){return w(e)===g},r.isPortal=function(e){return w(e)===a},r.isProfiler=function(e){return w(e)===l},r.isStrictMode=function(e){return w(e)===i},r.isSuspense=function(e){return w(e)===b},r.isValidElementType=function(e){return"string"===typeof e||"function"===typeof e||e===o||e===d||e===l||e===i||e===b||e===p||"object"===typeof e&&null!==e&&(e.$$typeof===h||e.$$typeof===g||e.$$typeof===s||e.$$typeof===c||e.$$typeof===f||e.$$typeof===v||e.$$typeof===y||e.$$typeof===x||e.$$typeof===m)},r.typeOf=w},59864:function(e,r,t){"use strict";e.exports=t(69921)},11742:function(e){e.exports=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var r=document.activeElement,t=[],n=0;n<e.rangeCount;n++)t.push(e.getRangeAt(n));switch(r.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":r.blur();break;default:r=null}return e.removeAllRanges(),function(){"Caret"===e.type&&e.removeAllRanges(),e.rangeCount||t.forEach((function(r){e.addRange(r)})),r&&r.focus()}}},87462:function(e,r,t){"use strict";function n(){return(n=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e}).apply(this,arguments)}t.d(r,{Z:function(){return n}})},92809:function(e,r,t){"use strict";function n(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}t.d(r,{Z:function(){return n}})}},function(e){var r=function(r){return e(e.s=r)};e.O(0,[774,179],(function(){return r(76363),r(34651)}));var t=e.O();_N_E=t}]);
\ No newline at end of file diff --git a/out/_next/static/chunks/pages/_app-5686c15726fcbac980ca.js b/out/_next/static/chunks/pages/_app-5686c15726fcbac980ca.js new file mode 100644 index 0000000..e5c7705 --- /dev/null +++ b/out/_next/static/chunks/pages/_app-5686c15726fcbac980ca.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[888],{20949:function(e,r,t){"use strict";t.d(r,{SG:function(){return y},If:function(){return v}});var n=t(85393),a=t(44592),o=t(67294);var i="chakra-ui-light",l="chakra-ui-dark",s={classList:{add:a.ZT,remove:a.ZT}};function c(e,r){var t=function(e){return a.jU?e.body:s}(r);t.classList.add(e?l:i),t.classList.remove(e?i:l)}var u="(prefers-color-scheme: dark)";function d(e){var r;return(null!=(r=function(e){var r=null==window.matchMedia?void 0:window.matchMedia(e);if(r)return!!r.media===r.matches}(u))?r:"dark"===e)?"dark":"light"}var f=function(){return document.documentElement.style.getPropertyValue("--chakra-ui-color-mode")||document.documentElement.dataset.theme},b=function(e){a.jU&&(document.documentElement.style.setProperty("--chakra-ui-color-mode",e),document.documentElement.setAttribute("data-theme",e))},p=function(){return"undefined"!==typeof Storage},g="chakra-ui-color-mode",h={get:function(e){if(!p())return e;try{var r=localStorage.getItem(g);return null!=r?r:e}catch(t){return a.Ts&&console.log(t),e}},set:function(e){if(p())try{localStorage.setItem(g,e)}catch(r){a.Ts&&console.log(r)}},type:"localStorage"},m=o.createContext({});a.Ts&&(m.displayName="ColorModeContext");var v=function(){var e=o.useContext(m);if(void 0===e)throw new Error("useColorMode must be used within a ColorModeProvider");return e};function y(e){var r=e.value,t=e.children,i=e.options,l=i.useSystemColorMode,s=i.initialColorMode,p=e.colorModeManager,g=void 0===p?h:p,v="dark"===s?"dark":"light",y=o.useState("cookie"===g.type?g.get(v):v),x=y[0],w=y[1],k=(0,n.O)().document;o.useEffect((function(){if(a.jU&&"localStorage"===g.type){var e=d(v);if(l)return w(e);var r=f(),t=g.get();return w(r?r:t||("system"===s?e:v))}}),[g,l,v,s]),o.useEffect((function(){var e="dark"===x;c(e,k),b(e?"dark":"light")}),[x,k]);var S=o.useCallback((function(e,r){if(void 0===r&&(r=!1),r){if(g.get()&&!l)return}else g.set(e);w(e)}),[g,l]),E=o.useCallback((function(){S("light"===x?"dark":"light")}),[x,S]);o.useEffect((function(){var e,r=l||"system"===s;return r&&(e=function(e){if(!("matchMedia"in window))return a.ZT;var r=window.matchMedia(u),t=function(){e(r.matches?"dark":"light",!0)};return r.addEventListener("change",t),function(){r.removeEventListener("change",t)}}(S)),function(){e&&r&&e()}}),[S,l,s]);var C=o.useMemo((function(){return{colorMode:null!=r?r:x,toggleColorMode:r?a.ZT:E,setColorMode:r?a.ZT:S}}),[x,S,E,r]);return o.createElement(m.Provider,{value:C},t)}a.Ts&&(y.displayName="ColorModeProvider");a.Ts;a.Ts},97375:function(e,r,t){"use strict";t.d(r,{vc:function(){return p},kt:function(){return l},pY:function(){return s},Tx:function(){return c},Di:function(){return u},qY:function(){return m},Ck:function(){return y},s9:function(){return w},Gp:function(){return S},NW:function(){return C},Me:function(){return g},ZS:function(){return h},II:function(){return A},qq:function(){return B},O3:function(){return _},PO:function(){return R},bx:function(){return T},zq:function(){return E},rf:function(){return v}});var n=t(67294),a=t(78698),o=(t(20640),t(44592)),i=t(70580);function l(e){void 0===e&&(e=!1);var r=(0,n.useState)(e),t=r[0],a=r[1];return[t,{on:(0,n.useCallback)((function(){a(!0)}),[]),off:(0,n.useCallback)((function(){a(!1)}),[]),toggle:(0,n.useCallback)((function(){a((function(e){return!e}))}),[])}]}function s(e,r){var t=void 0!==e;return[t,t&&"undefined"!==typeof e?e:r]}function c(e){var r=e.value,t=e.defaultValue,i=e.onChange,l=e.shouldUpdate,s=void 0===l?function(e,r){return e!==r}:l,c=(0,a.u)(i),u=(0,a.u)(s),d=n.useState(t),f=d[0],b=d[1],p=void 0!==r,g=p?r:f,h=n.useCallback((function(e){var r=(0,o.Pu)(e,g);u(g,r)&&(p||b(r),c(r))}),[p,c,g,u]);return[g,h]}function u(e,r){var t=n.useState(null),o=t[0],l=t[1],s=n.useRef();return(0,a.a)((function(){if(e.current){var t=e.current;return n(),r&&(window.addEventListener("resize",n),window.addEventListener("scroll",n)),function(){r&&(window.removeEventListener("resize",n),window.removeEventListener("scroll",n)),s.current&&cancelAnimationFrame(s.current)}}function n(){s.current=requestAnimationFrame((function(){var e=(0,i.iz)(t);l(e)}))}}),[r]),o}function d(){return(d=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e}).apply(this,arguments)}var f={current:1},b=n.createContext(f),p=n.memo((function(e){var r=e.children;return n.createElement(b.Provider,{value:{current:1}},r)}));function g(e,r){var t=n.useContext(b),a=n.useState(t.current),o=a[0],i=a[1];return n.useEffect((function(){i(function(e){return e.current++}(t))}),[t]),n.useMemo((function(){return e||[r,o].filter(Boolean).join("-")}),[e,r,o])}function h(e){for(var r=arguments.length,t=new Array(r>1?r-1:0),a=1;a<r;a++)t[a-1]=arguments[a];var o=g(e);return n.useMemo((function(){return t.map((function(e){return e+"-"+o}))}),[o,t])}function m(e){void 0===e&&(e={});var r=e,t=r.onClose,i=r.onOpen,l=r.isOpen,c=r.id,u=(0,a.u)(i),f=(0,a.u)(t),b=n.useState(e.defaultIsOpen||!1),p=b[0],h=b[1],m=s(l,p),v=m[0],y=m[1],x=g(c,"disclosure"),w=n.useCallback((function(){v||h(!1),null==f||f()}),[v,f]),k=n.useCallback((function(){v||h(!0),null==u||u()}),[v,u]),S=n.useCallback((function(){(y?w:k)()}),[y,k,w]);return{isOpen:!!y,onOpen:k,onClose:w,onToggle:S,isControlled:v,getButtonProps:function(e){return void 0===e&&(e={}),d({},e,{"aria-expanded":"true","aria-controls":x,onClick:(0,o.v0)(e.onClick,S)})},getDisclosureProps:function(e){return void 0===e&&(e={}),d({},e,{hidden:!y,id:x})}}}var v=function(e,r){var t=n.useRef(!1);return n.useEffect((function(){if(t.current)return e();t.current=!0}),r),t.current};function y(e,r){var t=r.shouldFocus,n=r.visible,a=r.focusRef,i=t&&!n;v((function(){if(i&&!function(e){var r=e.current;if(!r)return!1;var t=(0,o.vY)(r);return!!t&&!(0,o.r3)(r,t)&&!!(0,o.Wq)(t)}(e)){var r=(null==a?void 0:a.current)||e.current;r&&(0,o.T_)(r,{nextTick:!0})}}),[i,e,a])}function x(e,r,t,n){return(0,a.b)((0,o.f7)(r),(0,o.JN)(t,"pointerdown"===r),e,n)}function w(e){var r=e.ref,t=e.elements,n=e.enabled,a=(0,o.Ao)("Safari");x((function(){return(0,o.lZ)(r.current)}),"pointerdown",(function(e){if(a&&n){var i=e.target,l=(null!=t?t:[r]).some((function(e){var r=(0,o.Ik)(e)?e.current:e;return(0,o.r3)(r,i)}));!(0,o.H9)(i)&&l&&(e.preventDefault(),(0,o.T_)(i))}}))}var k={preventScroll:!0,shouldFocus:!1};function S(e,r){void 0===r&&(r=k);var t=r,i=t.focusRef,l=t.preventScroll,s=t.shouldFocus,c=t.visible,u=(0,o.Ik)(e)?e.current:e,d=s&&c,f=(0,n.useCallback)((function(){if(u&&d&&!(0,o.r3)(u,document.activeElement))if(null!=i&&i.current)(0,o.T_)(i.current,{preventScroll:l,nextTick:!0});else{var e=(0,o.t5)(u);e.length>0&&(0,o.T_)(e[0],{preventScroll:l,nextTick:!0})}}),[d,l,u,i]);v((function(){f()}),[f]),(0,a.b)("transitionend",f,u)}function E(e,r){return void 0===r&&(r=[]),n.useEffect((function(){return function(){return e()}}),r)}function C(){var e=n.useRef(!1),r=n.useState(0),t=r[0],a=r[1];return E((function(){e.current=!0})),n.useCallback((function(){e.current||a(t+1)}),[t])}function A(e){var r=n.useRef(null);return r.current=e,r}function F(e,r){if(null!=e)if("function"!==typeof e)try{e.current=r}catch(t){throw new Error("Cannot assign value '"+r+"' to ref '"+e+"'")}else e(r)}function B(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return n.useMemo((function(){return r.every((function(e){return null==e}))?null:function(e){r.forEach((function(r){r&&F(r,e)}))}}),r)}function _(e){var r=e.ref,t=e.handler,i=e.enabled,l=void 0===i||i,s=(0,a.u)(t),c=(0,n.useRef)({isPointerDown:!1,ignoreEmulatedMouseEvents:!1}).current;(0,n.useEffect)((function(){if(l){var e=function(e){D(e,r)&&(c.isPointerDown=!0)},n=function(e){c.ignoreEmulatedMouseEvents?c.ignoreEmulatedMouseEvents=!1:c.isPointerDown&&t&&D(e,r)&&(c.isPointerDown=!1,s(e))},a=function(e){c.ignoreEmulatedMouseEvents=!0,t&&c.isPointerDown&&D(e,r)&&(c.isPointerDown=!1,s(e))},i=(0,o.lZ)(r.current);return i.addEventListener("mousedown",e,!0),i.addEventListener("mouseup",n,!0),i.addEventListener("touchstart",e,!0),i.addEventListener("touchend",a,!0),function(){i.removeEventListener("mousedown",e,!0),i.removeEventListener("mouseup",n,!0),i.removeEventListener("touchstart",e,!0),i.removeEventListener("touchend",a,!0)}}}),[t,r,s,c,l])}function D(e,r){var t,n=e.target;if(e.button>0)return!1;if(n&&!(0,o.lZ)(n).body.contains(n))return!1;return!(null!=(t=r.current)&&t.contains(n))}function R(e,r){var t=r.onPan,a=r.onPanStart,i=r.onPanEnd,l=r.onPanSessionStart,s=r.onPanSessionEnd,c=r.threshold,u=Boolean(t||a||i||l||s),d=(0,n.useRef)(null),f={onSessionStart:l,onSessionEnd:s,onStart:a,onMove:t,onEnd:function(e,r){d.current=null,null==i||i(e,r)}};(0,n.useEffect)((function(){var e;null==(e=d.current)||e.updateHandlers(f)})),x((function(){return e.current}),"pointerdown",u?function(e){d.current=new o.Hc(e,f,c)}:o.ZT),E((function(){var e;null==(e=d.current)||e.end(),d.current=null}))}function T(e){void 0===e&&(e={});var r=e,t=r.timeout,a=void 0===t?300:t,o=r.preventDefault,i=void 0===o?function(){return!0}:o,l=n.useState([]),s=l[0],c=l[1],u=n.useRef(),d=function(){u.current&&(clearTimeout(u.current),u.current=null)};return n.useEffect((function(){return d}),[]),function(e){return function(r){if("Backspace"===r.key){var t=[].concat(s);return t.pop(),void c(t)}if(function(e){var r=e.key;return 1===r.length||r.length>1&&/[^a-zA-Z0-9]/.test(r)}(r)){var n=s.concat(r.key);i(r)&&(r.preventDefault(),r.stopPropagation()),c(n),e(n.join("")),d(),u.current=setTimeout((function(){c([]),u.current=null}),a)}}}}},78698:function(e,r,t){"use strict";t.d(r,{a:function(){return o},b:function(){return l},c:function(){return s},u:function(){return i}});var n=t(44592),a=t(67294),o=n.jU?a.useLayoutEffect:a.useEffect;function i(e,r){void 0===r&&(r=[]);var t=a.useRef(e);return o((function(){t.current=e})),a.useCallback((function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return null==t.current?void 0:t.current.apply(t,r)}),r)}function l(e,r,t,o){var l=i(r);return a.useEffect((function(){var r,a=null!=(r=(0,n.Pu)(t))?r:document;return a.addEventListener(e,l,o),function(){a.removeEventListener(e,l,o)}}),[e,t,o,l]),function(){var r;(null!=(r=(0,n.Pu)(t))?r:document).removeEventListener(e,l,o)}}function s(e){var r=e.isOpen,t=e.ref,o=(0,a.useState)(r),i=o[0],s=o[1],c=(0,a.useState)(!1),u=c[0],d=c[1];return(0,a.useEffect)((function(){u||(s(r),d(!0))}),[r,u,i]),l("animationend",(function(){s(r)}),(function(){return t.current})),{present:!(!r&&(!i&&u)),onComplete:function(){var e,r=new((0,n.kR)(t.current).CustomEvent)("animationend",{bubbles:!0});null==(e=t.current)||e.dispatchEvent(r)}}}},46871:function(e,r,t){"use strict";t.d(r,{h_:function(){return k},hE:function(){return f}});var n=t(44592),a=t(52829),o=t(67294),i=t(97375),l=t(78698),s=t(73935),c=(0,a.kr)({strict:!1,name:"PortalManagerContext"}),u=c[0],d=c[1];function f(e){var r=e.children,t=e.zIndex;return o.createElement(u,{value:{zIndex:t}},r)}function b(){return(b=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e}).apply(this,arguments)}n.Ts&&(f.displayName="PortalManager");var p=["containerRef"],g=(0,a.kr)({strict:!1,name:"PortalContext"}),h=g[0],m=g[1],v="chakra-portal",y=function(e){return o.createElement("div",{className:"chakra-portal-zIndex",style:{position:"absolute",zIndex:e.zIndex,top:0,left:0,right:0}},e.children)},x=function(e){var r=e.appendToParentPortal,t=e.children,n=o.useRef(null),a=o.useRef(null),c=(0,i.NW)(),u=m(),f=d();(0,l.a)((function(){if(n.current){var e=n.current.ownerDocument,t=r&&null!=u?u:e.body;if(t){a.current=e.createElement("div"),a.current.className=v,t.appendChild(a.current),c();var o=a.current;return function(){t.contains(o)&&t.removeChild(o)}}}}),[]);var b=null!=f&&f.zIndex?o.createElement(y,{zIndex:null==f?void 0:f.zIndex},t):t;return a.current?(0,s.createPortal)(o.createElement(h,{value:a.current},b),a.current):o.createElement("span",{ref:n})},w=function(e){var r=e.children,t=e.containerRef,a=e.appendToParentPortal,c=t.current,u=null!=c?c:n.jU?document.body:void 0,d=o.useMemo((function(){var e=null==c?void 0:c.ownerDocument.createElement("div");return e&&(e.className=v),e}),[c]),f=(0,i.NW)();return(0,l.a)((function(){f()}),[]),(0,l.a)((function(){if(d&&u)return u.appendChild(d),function(){u.removeChild(d)}}),[d,u]),u&&d?(0,s.createPortal)(o.createElement(h,{value:a?d:null},r),d):null};function k(e){var r=e.containerRef,t=function(e,r){if(null==e)return{};var t,n,a={},o=Object.keys(e);for(n=0;n<o.length;n++)t=o[n],r.indexOf(t)>=0||(a[t]=e[t]);return a}(e,p);return r?o.createElement(w,b({containerRef:r},t)):o.createElement(x,t)}k.defaultProps={appendToParentPortal:!0},k.className=v,k.selector=".chakra-portal",n.Ts&&(k.displayName="Portal")},85393:function(e,r,t){"use strict";t.d(r,{u:function(){return d},O:function(){return u}});var n=t(44592),a=t(67294),o={body:{classList:{add:function(){},remove:function(){}}},addEventListener:function(){},removeEventListener:function(){},activeElement:{blur:function(){},nodeName:""},querySelector:function(){return null},querySelectorAll:function(){return[]},getElementById:function(){return null},createEvent:function(){return{initEvent:function(){}}},createElement:function(){return{children:[],childNodes:[],style:{},setAttribute:function(){},getElementsByTagName:function(){return[]}}}},i=function(){},l={window:{document:o,navigator:{userAgent:""},CustomEvent:function(){return this},addEventListener:i,removeEventListener:i,getComputedStyle:function(){return{getPropertyValue:function(){return""}}},matchMedia:function(){return{matches:!1,addListener:i,removeListener:i}},requestAnimationFrame:function(e){return"undefined"===typeof setTimeout?(e(),null):setTimeout(e,0)},cancelAnimationFrame:function(e){"undefined"!==typeof setTimeout&&clearTimeout(e)},setTimeout:function(){return 0},clearTimeout:i,setInterval:function(){return 0},clearInterval:i},document:o},s=n.jU?{window:window,document:document}:l,c=(0,a.createContext)(s);function u(){return(0,a.useContext)(c)}function d(e){var r=e.children,t=e.environment,n=(0,a.useState)(null),o=n[0],i=n[1],l=(0,a.useMemo)((function(){var e,r=null==o?void 0:o.ownerDocument,n=null==o?void 0:o.ownerDocument.defaultView;return null!=(e=null!=t?t:r?{document:r,window:n}:void 0)?e:s}),[o,t]),u=!o&&!t;return a.createElement(c.Provider,{value:l},r,u&&a.createElement("span",{ref:function(e){e&&i(e)}}))}n.Ts&&(c.displayName="EnvironmentContext"),n.Ts&&(d.displayName="EnvironmentProvider")},52829:function(e,r,t){"use strict";t.d(r,{kr:function(){return s},WR:function(){return c},lq:function(){return l}});t(38554),t(9839);function n(e){return"function"===typeof e}!function(e){var r=new WeakMap}((function(e,r,t,n){var a="string"===typeof r?r.split("."):[r];for(n=0;n<a.length&&e;n+=1)e=e[a[n]];return void 0===e?t:e}));"undefined"===typeof window||!window.document||window.document.createElement;["input:not([disabled])","select:not([disabled])","textarea:not([disabled])","embed","iframe","object","a[href]","area[href]","button:not([disabled])","[tabindex]","audio[controls]","video[controls]","*[tabindex]:not([aria-disabled])","*[contenteditable]"].join();function a(e){var r;return function(){if(e){for(var t=arguments.length,n=new Array(t),a=0;a<t;a++)n[a]=arguments[a];r=e.apply(this,n),e=null}return r}}a((function(e){return function(){e.condition,e.message}})),a((function(e){return function(){e.condition,e.message}}));Number.MIN_SAFE_INTEGER,Number.MAX_SAFE_INTEGER;Object.freeze(["base","sm","md","lg","xl","2xl"]);var o=t(67294);function i(e,r){if(null!=e)if(n(e))e(r);else try{e.current=r}catch(t){throw new Error("Cannot assign value '"+r+"' to ref '"+e+"'")}}function l(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return function(e){r.forEach((function(r){return i(r,e)}))}}function s(e){void 0===e&&(e={});var r=e,t=r.strict,n=void 0===t||t,a=r.errorMessage,i=void 0===a?"useContext: `context` is undefined. Seems you forgot to wrap component within the Provider":a,l=r.name,s=o.createContext(void 0);return s.displayName=l,[s.Provider,function e(){var r=o.useContext(s);if(!r&&n){var t=new Error(i);throw t.name="ContextError",null==Error.captureStackTrace||Error.captureStackTrace(t,e),t}return r},s]}function c(e){return o.Children.toArray(e).filter((function(e){return o.isValidElement(e)}))}},94244:function(e,r,t){"use strict";t.d(r,{iv:function(){return Ee},hX:function(){return M},ZR:function(){return xe},oE:function(){return me},cC:function(){return ve},c0:function(){return He},fr:function(){return l}});var n=t(44592),a=t(38554),o=t.n(a);function i(){return(i=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e}).apply(this,arguments)}var l=function(e,r){return function(t){var a=String(r),o=e?e+"."+a:a;return(0,n.Kn)(t.__cssMap)&&o in t.__cssMap?t.__cssMap[o].varRef:r}};function s(e){var r=e.scale,t=e.transform,n=e.compose;return function(e,a){var o,i=l(r,e)(a),s=null!=(o=null==t?void 0:t(i,a))?o:i;return n&&(s=n(s,a)),s}}function c(e,r){return function(t){var n={property:t,scale:e};return n.transform=s({scale:e,transform:r}),n}}var u,d,f=function(e){var r=e.rtl,t=e.ltr;return function(e){return"rtl"===e.direction?r:t}};var b=["rotate(var(--chakra-rotate, 0))","scaleX(var(--chakra-scale-x, 1))","scaleY(var(--chakra-scale-y, 1))","skewX(var(--chakra-skew-x, 0))","skewY(var(--chakra-skew-y, 0))"];var p={"--chakra-blur":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-brightness":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-contrast":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-grayscale":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-hue-rotate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-invert":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-saturate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-sepia":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-drop-shadow":"var(--chakra-empty,/*!*/ /*!*/)",filter:["var(--chakra-blur)","var(--chakra-brightness)","var(--chakra-contrast)","var(--chakra-grayscale)","var(--chakra-hue-rotate)","var(--chakra-invert)","var(--chakra-saturate)","var(--chakra-sepia)","var(--chakra-drop-shadow)"].join(" ")},g={backdropFilter:["var(--chakra-backdrop-blur)","var(--chakra-backdrop-brightness)","var(--chakra-backdrop-contrast)","var(--chakra-backdrop-grayscale)","var(--chakra-backdrop-hue-rotate)","var(--chakra-backdrop-invert)","var(--chakra-backdrop-opacity)","var(--chakra-backdrop-saturate)","var(--chakra-backdrop-sepia)"].join(" "),"--chakra-backdrop-blur":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-brightness":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-contrast":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-grayscale":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-hue-rotate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-invert":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-opacity":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-saturate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-sepia":"var(--chakra-empty,/*!*/ /*!*/)"};var h={"row-reverse":{space:"--chakra-space-x-reverse",divide:"--chakra-divide-x-reverse"},"column-reverse":{space:"--chakra-space-y-reverse",divide:"--chakra-divide-y-reverse"}},m="& > :not(style) ~ :not(style)",v=((u={})[m]={marginInlineStart:"calc(var(--chakra-space-x) * calc(1 - var(--chakra-space-x-reverse)))",marginInlineEnd:"calc(var(--chakra-space-x) * var(--chakra-space-x-reverse))"},u),y=((d={})[m]={marginTop:"calc(var(--chakra-space-y) * calc(1 - var(--chakra-space-y-reverse)))",marginBottom:"calc(var(--chakra-space-y) * var(--chakra-space-y-reverse))"},d);function x(e,r){return(x=Object.setPrototypeOf||function(e,r){return e.__proto__=r,e})(e,r)}function w(e,r){if("function"!==typeof r&&null!==r)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(r&&r.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),r&&x(e,r)}function k(){k=function(e,r){return new t(e,void 0,r)};var e=RegExp.prototype,r=new WeakMap;function t(e,n,a){var o=new RegExp(e,n);return r.set(o,a||r.get(e)),x(o,t.prototype)}function n(e,t){var n=r.get(t);return Object.keys(n).reduce((function(r,t){return r[t]=e[n[t]],r}),Object.create(null))}return w(t,RegExp),t.prototype.exec=function(r){var t=e.exec.call(this,r);return t&&(t.groups=n(t,this)),t},t.prototype[Symbol.replace]=function(t,a){if("string"===typeof a){var o=r.get(this);return e[Symbol.replace].call(this,t,a.replace(/\$<([^>]+)>/g,(function(e,r){return"$"+o[r]})))}if("function"===typeof a){var i=this;return e[Symbol.replace].call(this,t,(function(){var e=arguments;return"object"!==typeof e[e.length-1]&&(e=[].slice.call(e)).push(n(e,i)),a.apply(this,e)}))}return e[Symbol.replace].call(this,t,a)},k.apply(this,arguments)}var S={"to-t":"to top","to-tr":"to top right","to-r":"to right","to-br":"to bottom right","to-b":"to bottom","to-bl":"to bottom left","to-l":"to left","to-tl":"to top left"},E=new Set(Object.values(S)),C=new Set(["none","-moz-initial","inherit","initial","revert","unset"]),A=function(e){return e.trim()};var F=function(e){return(0,n.HD)(e)&&e.includes("(")&&e.includes(")")},B=function(e){return function(r){return e+"("+r+")"}},_={filter:function(e){return"auto"!==e?e:p},backdropFilter:function(e){return"auto"!==e?e:g},ring:function(e){return function(e){return{"--chakra-ring-offset-shadow":"var(--chakra-ring-inset) 0 0 0 var(--chakra-ring-offset-width) var(--chakra-ring-offset-color)","--chakra-ring-shadow":"var(--chakra-ring-inset) 0 0 0 calc(var(--chakra-ring-width) + var(--chakra-ring-offset-width)) var(--chakra-ring-color)","--chakra-ring-width":e,boxShadow:["var(--chakra-ring-offset-shadow)","var(--chakra-ring-shadow)","var(--chakra-shadow, 0 0 #0000)"].join(", ")}}(_.px(e))},bgClip:function(e){return"text"===e?{color:"transparent",backgroundClip:"text"}:{backgroundClip:e}},transform:function(e){return"auto"===e?["translateX(var(--chakra-translate-x, 0))","translateY(var(--chakra-translate-y, 0))"].concat(b).join(" "):"auto-gpu"===e?["translate3d(var(--chakra-translate-x, 0), var(--chakra-translate-y, 0), 0)"].concat(b).join(" "):e},px:function(e){return null==e?e:function(e){var r=parseFloat(e.toString()),t=e.toString().replace(String(r),"");return{unitless:!t,value:r,unit:t}}(e).unitless||(0,n.hj)(e)?e+"px":e},fraction:function(e){return!(0,n.hj)(e)||e>1?e:100*e+"%"},float:function(e,r){return"rtl"===r.direction?{left:"right",right:"left"}[e]:e},degree:function(e){if((0,n.FS)(e)||null==e)return e;var r=(0,n.HD)(e)&&!e.endsWith("deg");return(0,n.hj)(e)||r?e+"deg":e},gradient:function(e,r){return function(e,r){var t,n;if(null==e||C.has(e))return e;var a=null!=(t=null==(n=k(/(^[\x2DA-Za-z]+)\(((.*))\)/g,{type:1,values:2}).exec(e))?void 0:n.groups)?t:{},o=a.type,i=a.values;if(!o||!i)return e;var l=o.includes("-gradient")?o:o+"-gradient",s=i.split(",").map(A).filter(Boolean),c=s[0],u=s.slice(1);if(0===(null==u?void 0:u.length))return e;var d=c in S?S[c]:c;return u.unshift(d),l+"("+u.map((function(e){if(E.has(e))return e;var t=e.indexOf(" "),n=-1!==t?[e.substr(0,t),e.substr(t+1)]:[e],a=n[0],o=n[1],i=F(o)?o:o&&o.split(" "),l="colors."+a,s=l in r.__cssMap?r.__cssMap[l].varRef:a;return i?[s].concat(Array.isArray(i)?i:[i]).join(" "):s})).join(", ")+")"}(e,null!=r?r:{})},blur:B("blur"),opacity:B("opacity"),brightness:B("brightness"),contrast:B("contrast"),dropShadow:B("drop-shadow"),grayscale:B("grayscale"),hueRotate:B("hue-rotate"),invert:B("invert"),saturate:B("saturate"),sepia:B("sepia"),bgImage:function(e){return null==e||F(e)||C.has(e)?e:"url("+e+")"},outline:function(e){var r="0"===String(e)||"none"===String(e);return null!==e&&r?{outline:"2px solid transparent",outlineOffset:"2px"}:{outline:e}},flexDirection:function(e){var r,t=null!=(r=h[e])?r:{},n=t.space,a=t.divide,o={flexDirection:e};return n&&(o[n]=1),a&&(o[a]=1),o}},D={borderWidths:c("borderWidths"),borderStyles:c("borderStyles"),colors:c("colors"),borders:c("borders"),radii:c("radii",_.px),space:c("space",_.px),spaceT:c("space",_.px),degreeT:function(e){return{property:e,transform:_.degree}},prop:function(e,r,t){return i({property:e,scale:r},r&&{transform:s({scale:r,transform:t})})},propT:function(e,r){return{property:e,transform:r}},sizes:c("sizes",_.px),sizesT:c("sizes",_.fraction),shadows:c("shadows"),logical:function(e){var r=e.property,t=e.scale,n=e.transform;return{scale:t,property:f(r),transform:t?s({scale:t,compose:n}):n}},blur:c("blur",_.blur)},R={background:D.colors("background"),backgroundColor:D.colors("backgroundColor"),backgroundImage:D.propT("backgroundImage",_.bgImage),backgroundSize:!0,backgroundPosition:!0,backgroundRepeat:!0,backgroundAttachment:!0,backgroundClip:{transform:_.bgClip},bgSize:D.prop("backgroundSize"),bgPosition:D.prop("backgroundPosition"),bg:D.colors("background"),bgColor:D.colors("backgroundColor"),bgPos:D.prop("backgroundPosition"),bgRepeat:D.prop("backgroundRepeat"),bgAttachment:D.prop("backgroundAttachment"),bgGradient:D.propT("backgroundImage",_.gradient),bgClip:{transform:_.bgClip}};Object.assign(R,{bgImage:R.backgroundImage,bgImg:R.backgroundImage});var T={border:D.borders("border"),borderWidth:D.borderWidths("borderWidth"),borderStyle:D.borderStyles("borderStyle"),borderColor:D.colors("borderColor"),borderRadius:D.radii("borderRadius"),borderTop:D.borders("borderTop"),borderBlockStart:D.borders("borderBlockStart"),borderTopLeftRadius:D.radii("borderTopLeftRadius"),borderStartStartRadius:D.logical({scale:"radii",property:{ltr:"borderTopLeftRadius",rtl:"borderTopRightRadius"}}),borderEndStartRadius:D.logical({scale:"radii",property:{ltr:"borderBottomLeftRadius",rtl:"borderBottomRightRadius"}}),borderTopRightRadius:D.radii("borderTopRightRadius"),borderStartEndRadius:D.logical({scale:"radii",property:{ltr:"borderTopRightRadius",rtl:"borderTopLeftRadius"}}),borderEndEndRadius:D.logical({scale:"radii",property:{ltr:"borderBottomRightRadius",rtl:"borderBottomLeftRadius"}}),borderRight:D.borders("borderRight"),borderInlineEnd:D.borders("borderInlineEnd"),borderBottom:D.borders("borderBottom"),borderBlockEnd:D.borders("borderBlockEnd"),borderBottomLeftRadius:D.radii("borderBottomLeftRadius"),borderBottomRightRadius:D.radii("borderBottomRightRadius"),borderLeft:D.borders("borderLeft"),borderInlineStart:{property:"borderInlineStart",scale:"borders"},borderInlineStartRadius:D.logical({scale:"radii",property:{ltr:["borderTopLeftRadius","borderBottomLeftRadius"],rtl:["borderTopRightRadius","borderBottomRightRadius"]}}),borderInlineEndRadius:D.logical({scale:"radii",property:{ltr:["borderTopRightRadius","borderBottomRightRadius"],rtl:["borderTopLeftRadius","borderBottomLeftRadius"]}}),borderX:D.borders(["borderLeft","borderRight"]),borderInline:D.borders("borderInline"),borderY:D.borders(["borderTop","borderBottom"]),borderBlock:D.borders("borderBlock"),borderTopWidth:D.borderWidths("borderTopWidth"),borderBlockStartWidth:D.borderWidths("borderBlockStartWidth"),borderTopColor:D.colors("borderTopColor"),borderBlockStartColor:D.colors("borderBlockStartColor"),borderTopStyle:D.borderStyles("borderTopStyle"),borderBlockStartStyle:D.borderStyles("borderBlockStartStyle"),borderBottomWidth:D.borderWidths("borderBottomWidth"),borderBlockEndWidth:D.borderWidths("borderBlockEndWidth"),borderBottomColor:D.colors("borderBottomColor"),borderBlockEndColor:D.colors("borderBlockEndColor"),borderBottomStyle:D.borderStyles("borderBottomStyle"),borderBlockEndStyle:D.borderStyles("borderBlockEndStyle"),borderLeftWidth:D.borderWidths("borderLeftWidth"),borderInlineStartWidth:D.borderWidths("borderInlineStartWidth"),borderLeftColor:D.colors("borderLeftColor"),borderInlineStartColor:D.colors("borderInlineStartColor"),borderLeftStyle:D.borderStyles("borderLeftStyle"),borderInlineStartStyle:D.borderStyles("borderInlineStartStyle"),borderRightWidth:D.borderWidths("borderRightWidth"),borderInlineEndWidth:D.borderWidths("borderInlineEndWidth"),borderRightColor:D.colors("borderRightColor"),borderInlineEndColor:D.colors("borderInlineEndColor"),borderRightStyle:D.borderStyles("borderRightStyle"),borderInlineEndStyle:D.borderStyles("borderInlineEndStyle"),borderTopRadius:D.radii(["borderTopLeftRadius","borderTopRightRadius"]),borderBottomRadius:D.radii(["borderBottomLeftRadius","borderBottomRightRadius"]),borderLeftRadius:D.radii(["borderTopLeftRadius","borderBottomLeftRadius"]),borderRightRadius:D.radii(["borderTopRightRadius","borderBottomRightRadius"])};Object.assign(T,{rounded:T.borderRadius,roundedTop:T.borderTopRadius,roundedTopLeft:T.borderTopLeftRadius,roundedTopRight:T.borderTopRightRadius,roundedTopStart:T.borderStartStartRadius,roundedTopEnd:T.borderStartEndRadius,roundedBottom:T.borderBottomRadius,roundedBottomLeft:T.borderBottomLeftRadius,roundedBottomRight:T.borderBottomRightRadius,roundedBottomStart:T.borderEndStartRadius,roundedBottomEnd:T.borderEndEndRadius,roundedLeft:T.borderLeftRadius,roundedRight:T.borderRightRadius,roundedStart:T.borderInlineStartRadius,roundedEnd:T.borderInlineEndRadius,borderStart:T.borderInlineStart,borderEnd:T.borderInlineEnd,borderTopStartRadius:T.borderStartStartRadius,borderTopEndRadius:T.borderStartEndRadius,borderBottomStartRadius:T.borderEndStartRadius,borderBottomEndRadius:T.borderEndEndRadius,borderStartRadius:T.borderInlineStartRadius,borderEndRadius:T.borderInlineEndRadius,borderStartWidth:T.borderInlineStartWidth,borderEndWidth:T.borderInlineEndWidth,borderStartColor:T.borderInlineStartColor,borderEndColor:T.borderInlineEndColor,borderStartStyle:T.borderInlineStartStyle,borderEndStyle:T.borderInlineEndStyle});var z={color:D.colors("color"),textColor:D.colors("color"),fill:D.colors("fill"),stroke:D.colors("stroke")},P={boxShadow:D.shadows("boxShadow"),mixBlendMode:!0,blendMode:D.prop("mixBlendMode"),backgroundBlendMode:!0,bgBlendMode:D.prop("backgroundBlendMode"),opacity:!0};Object.assign(P,{shadow:P.boxShadow});var M={filter:{transform:_.filter},blur:D.blur("--chakra-blur"),brightness:D.propT("--chakra-brightness",_.brightness),contrast:D.propT("--chakra-contrast",_.contrast),hueRotate:D.degreeT("--chakra-hue-rotate"),invert:D.propT("--chakra-invert",_.invert),saturate:D.propT("--chakra-saturate",_.saturate),dropShadow:D.propT("--chakra-drop-shadow",_.dropShadow),backdropFilter:{transform:_.backdropFilter},backdropBlur:D.blur("--chakra-backdrop-blur"),backdropBrightness:D.propT("--chakra-backdrop-brightness",_.brightness),backdropContrast:D.propT("--chakra-backdrop-contrast",_.contrast),backdropHueRotate:D.degreeT("--chakra-backdrop-hue-rotate"),backdropInvert:D.propT("--chakra-backdrop-invert",_.invert),backdropSaturate:D.propT("--chakra-backdrop-saturate",_.saturate)},j={alignItems:!0,alignContent:!0,justifyItems:!0,justifyContent:!0,flexWrap:!0,flexDirection:{transform:_.flexDirection},experimental_spaceX:{static:v,transform:s({scale:"space",transform:function(e){return null!==e?{"--chakra-space-x":e}:null}})},experimental_spaceY:{static:y,transform:s({scale:"space",transform:function(e){return null!=e?{"--chakra-space-y":e}:null}})},flex:!0,flexFlow:!0,flexGrow:!0,flexShrink:!0,flexBasis:D.sizes("flexBasis"),justifySelf:!0,alignSelf:!0,order:!0,placeItems:!0,placeContent:!0,placeSelf:!0,gap:D.space("gap"),rowGap:D.space("rowGap"),columnGap:D.space("columnGap")};Object.assign(j,{flexDir:j.flexDirection});var O={gridGap:D.space("gridGap"),gridColumnGap:D.space("gridColumnGap"),gridRowGap:D.space("gridRowGap"),gridColumn:!0,gridRow:!0,gridAutoFlow:!0,gridAutoColumns:!0,gridColumnStart:!0,gridColumnEnd:!0,gridRowStart:!0,gridRowEnd:!0,gridAutoRows:!0,gridTemplate:!0,gridTemplateColumns:!0,gridTemplateRows:!0,gridTemplateAreas:!0,gridArea:!0},I={appearance:!0,cursor:!0,resize:!0,userSelect:!0,pointerEvents:!0,outline:{transform:_.outline},outlineOffset:!0,outlineColor:D.colors("outlineColor")},W={width:D.sizesT("width"),inlineSize:D.sizesT("inlineSize"),height:D.sizes("height"),blockSize:D.sizes("blockSize"),boxSize:D.sizes(["width","height"]),minWidth:D.sizes("minWidth"),minInlineSize:D.sizes("minInlineSize"),minHeight:D.sizes("minHeight"),minBlockSize:D.sizes("minBlockSize"),maxWidth:D.sizes("maxWidth"),maxInlineSize:D.sizes("maxInlineSize"),maxHeight:D.sizes("maxHeight"),maxBlockSize:D.sizes("maxBlockSize"),d:D.prop("display"),overflow:!0,overflowX:!0,overflowY:!0,overscrollBehavior:!0,overscrollBehaviorX:!0,overscrollBehaviorY:!0,display:!0,verticalAlign:!0,boxSizing:!0,boxDecorationBreak:!0,float:D.propT("float",_.float),objectFit:!0,objectPosition:!0,visibility:!0,isolation:!0};Object.assign(W,{w:W.width,h:W.height,minW:W.minWidth,maxW:W.maxWidth,minH:W.minHeight,maxH:W.maxHeight,overscroll:W.overscrollBehavior,overscrollX:W.overscrollBehaviorX,overscrollY:W.overscrollBehaviorY});var N={listStyleType:!0,listStylePosition:!0,listStylePos:D.prop("listStylePosition"),listStyleImage:!0,listStyleImg:D.prop("listStyleImage")},L={border:"0px",clip:"rect(0, 0, 0, 0)",width:"1px",height:"1px",margin:"-1px",padding:"0px",overflow:"hidden",whiteSpace:"nowrap",position:"absolute"},H={position:"static",width:"auto",height:"auto",clip:"auto",padding:"0",margin:"0",overflow:"visible",whiteSpace:"normal"},$=function(e,r,t){var a={},o=(0,n.Wf)(e,r,{});for(var i in o){i in t&&null!=t[i]||(a[i]=o[i])}return a},q={srOnly:{transform:function(e){return!0===e?L:"focusable"===e?H:{}}},layerStyle:{processResult:!0,transform:function(e,r,t){return $(r,"layerStyles."+e,t)}},textStyle:{processResult:!0,transform:function(e,r,t){return $(r,"textStyles."+e,t)}},apply:{processResult:!0,transform:function(e,r,t){return $(r,e,t)}}},Z={position:!0,pos:D.prop("position"),zIndex:D.prop("zIndex","zIndices"),inset:D.spaceT("inset"),insetX:D.spaceT(["left","right"]),insetInline:D.spaceT("insetInline"),insetY:D.spaceT(["top","bottom"]),insetBlock:D.spaceT("insetBlock"),top:D.spaceT("top"),insetBlockStart:D.spaceT("insetBlockStart"),bottom:D.spaceT("bottom"),insetBlockEnd:D.spaceT("insetBlockEnd"),left:D.spaceT("left"),insetInlineStart:D.logical({scale:"space",property:{ltr:"left",rtl:"right"}}),right:D.spaceT("right"),insetInlineEnd:D.logical({scale:"space",property:{ltr:"right",rtl:"left"}})};Object.assign(Z,{insetStart:Z.insetInlineStart,insetEnd:Z.insetInlineEnd});var U={ring:{transform:_.ring},ringColor:D.colors("--chakra-ring-color"),ringOffset:D.prop("--chakra-ring-offset-width"),ringOffsetColor:D.colors("--chakra-ring-offset-color"),ringInset:D.prop("--chakra-ring-inset")},V={margin:D.spaceT("margin"),marginTop:D.spaceT("marginTop"),marginBlockStart:D.spaceT("marginBlockStart"),marginRight:D.spaceT("marginRight"),marginInlineEnd:D.spaceT("marginInlineEnd"),marginBottom:D.spaceT("marginBottom"),marginBlockEnd:D.spaceT("marginBlockEnd"),marginLeft:D.spaceT("marginLeft"),marginInlineStart:D.spaceT("marginInlineStart"),marginX:D.spaceT(["marginInlineStart","marginInlineEnd"]),marginInline:D.spaceT("marginInline"),marginY:D.spaceT(["marginTop","marginBottom"]),marginBlock:D.spaceT("marginBlock"),padding:D.space("padding"),paddingTop:D.space("paddingTop"),paddingBlockStart:D.space("paddingBlockStart"),paddingRight:D.space("paddingRight"),paddingBottom:D.space("paddingBottom"),paddingBlockEnd:D.space("paddingBlockEnd"),paddingLeft:D.space("paddingLeft"),paddingInlineStart:D.space("paddingInlineStart"),paddingInlineEnd:D.space("paddingInlineEnd"),paddingX:D.space(["paddingInlineStart","paddingInlineEnd"]),paddingInline:D.space("paddingInline"),paddingY:D.space(["paddingTop","paddingBottom"]),paddingBlock:D.space("paddingBlock")};Object.assign(V,{m:V.margin,mt:V.marginTop,mr:V.marginRight,me:V.marginInlineEnd,marginEnd:V.marginInlineEnd,mb:V.marginBottom,ml:V.marginLeft,ms:V.marginInlineStart,marginStart:V.marginInlineStart,mx:V.marginX,my:V.marginY,p:V.padding,pt:V.paddingTop,py:V.paddingY,px:V.paddingX,pb:V.paddingBottom,pl:V.paddingLeft,ps:V.paddingInlineStart,paddingStart:V.paddingInlineStart,pr:V.paddingRight,pe:V.paddingInlineEnd,paddingEnd:V.paddingInlineEnd});var Y={textDecorationColor:D.colors("textDecorationColor"),textDecoration:!0,textDecor:{property:"textDecoration"},textDecorationLine:!0,textDecorationStyle:!0,textDecorationThickness:!0,textUnderlineOffset:!0,textShadow:D.shadows("textShadow")},X={clipPath:!0,transform:D.propT("transform",_.transform),transformOrigin:!0,translateX:D.spaceT("--chakra-translate-x"),translateY:D.spaceT("--chakra-translate-y"),skewX:D.degreeT("--chakra-skew-x"),skewY:D.degreeT("--chakra-skew-y"),scaleX:D.prop("--chakra-scale-x"),scaleY:D.prop("--chakra-scale-y"),scale:D.prop(["--chakra-scale-x","--chakra-scale-y"]),rotate:D.degreeT("--chakra-rotate")},G={transition:!0,transitionDelay:!0,animation:!0,willChange:!0,transitionDuration:D.prop("transitionDuration","transition.duration"),transitionProperty:D.prop("transitionProperty","transition.property"),transitionTimingFunction:D.prop("transitionTimingFunction","transition.easing")},K={fontFamily:D.prop("fontFamily","fonts"),fontSize:D.prop("fontSize","fontSizes",_.px),fontWeight:D.prop("fontWeight","fontWeights"),lineHeight:D.prop("lineHeight","lineHeights"),letterSpacing:D.prop("letterSpacing","letterSpacings"),textAlign:!0,fontStyle:!0,wordBreak:!0,overflowWrap:!0,textOverflow:!0,textTransform:!0,whiteSpace:!0,noOfLines:{static:{overflow:"hidden",textOverflow:"ellipsis",display:"-webkit-box",WebkitBoxOrient:"vertical",WebkitLineClamp:"var(--chakra-line-clamp)"},property:"--chakra-line-clamp"},isTruncated:{transform:function(e){if(!0===e)return{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}}}},J={scrollBehavior:!0,scrollSnapAlign:!0,scrollSnapStop:!0,scrollSnapType:!0,scrollMargin:D.spaceT("scrollMargin"),scrollMarginTop:D.spaceT("scrollMarginTop"),scrollMarginBottom:D.spaceT("scrollMarginBottom"),scrollMarginLeft:D.spaceT("scrollMarginLeft"),scrollMarginRight:D.spaceT("scrollMarginRight"),scrollMarginX:D.spaceT(["scrollMarginLeft","scrollMarginRight"]),scrollMarginY:D.spaceT(["scrollMarginTop","scrollMarginBottom"]),scrollPadding:D.spaceT("scrollPadding"),scrollPaddingTop:D.spaceT("scrollPaddingTop"),scrollPaddingBottom:D.spaceT("scrollPaddingBottom"),scrollPaddingLeft:D.spaceT("scrollPaddingLeft"),scrollPaddingRight:D.spaceT("scrollPaddingRight"),scrollPaddingX:D.spaceT(["scrollPaddingLeft","scrollPaddingRight"]),scrollPaddingY:D.spaceT(["scrollPaddingTop","scrollPaddingBottom"])};function Q(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,n=new Array(r);t<r;t++)n[t]=e[t];return n}function ee(e,r){var t="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(t)return(t=t.call(e)).next.bind(t);if(Array.isArray(e)||(t=function(e,r){if(e){if("string"===typeof e)return Q(e,r);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?Q(e,r):void 0}}(e))||r&&e&&"number"===typeof e.length){t&&(e=t);var n=0;return function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var re=function(e,r){return e+":hover "+r+", "+e+"[data-hover] "+r},te=function(e,r){return e+":focus "+r+", "+e+"[data-focus] "+r},ne=function(e,r){return e+":focus-visible "+r},ae=function(e,r){return e+":focus-within "+r},oe=function(e,r){return e+":active "+r+", "+e+"[data-active] "+r},ie=function(e,r){return e+":disabled "+r+", "+e+"[data-disabled] "+r},le=function(e,r){return e+":invalid "+r+", "+e+"[data-invalid] "+r},se=function(e,r){return e+":checked "+r+", "+e+"[data-checked] "+r},ce=function(e,r){return e+":placeholder-shown "+r},ue=function(e){return fe((function(r){return e(r,"&")}),"[role=group]","[data-group]",".group")},de=function(e){return fe((function(r){return e(r,"~ &")}),"[data-peer]",".peer")},fe=function(e){for(var r=arguments.length,t=new Array(r>1?r-1:0),n=1;n<r;n++)t[n-1]=arguments[n];return t.map(e).join(", ")},be={_hover:"&:hover, &[data-hover]",_active:"&:active, &[data-active]",_focus:"&:focus, &[data-focus]",_highlighted:"&[data-highlighted]",_focusWithin:"&:focus-within",_focusVisible:"&:focus-visible",_disabled:"&[disabled], &[aria-disabled=true], &[data-disabled]",_readOnly:"&[aria-readonly=true], &[readonly], &[data-readonly]",_before:"&::before",_after:"&::after",_empty:"&:empty",_expanded:"&[aria-expanded=true], &[data-expanded]",_checked:"&[aria-checked=true], &[data-checked]",_grabbed:"&[aria-grabbed=true], &[data-grabbed]",_pressed:"&[aria-pressed=true], &[data-pressed]",_invalid:"&[aria-invalid=true], &[data-invalid]",_valid:"&[data-valid], &[data-state=valid]",_loading:"&[data-loading], &[aria-busy=true]",_selected:"&[aria-selected=true], &[data-selected]",_hidden:"&[hidden], &[data-hidden]",_autofill:"&:-webkit-autofill",_even:"&:nth-of-type(even)",_odd:"&:nth-of-type(odd)",_first:"&:first-of-type",_last:"&:last-of-type",_notFirst:"&:not(:first-of-type)",_notLast:"&:not(:last-of-type)",_visited:"&:visited",_activeLink:"&[aria-current=page]",_activeStep:"&[aria-current=step]",_indeterminate:"&:indeterminate, &[aria-checked=mixed], &[data-indeterminate]",_groupHover:ue(re),_peerHover:de(re),_groupFocus:ue(te),_peerFocus:de(te),_groupFocusVisible:ue(ne),_peerFocusVisible:de(ne),_groupActive:ue(oe),_peerActive:de(oe),_groupDisabled:ue(ie),_peerDisabled:de(ie),_groupInvalid:ue(le),_peerInvalid:de(le),_groupChecked:ue(se),_peerChecked:de(se),_groupFocusWithin:ue(ae),_peerFocusWithin:de(ae),_peerPlaceholderShown:de(ce),_placeholder:"&::placeholder",_placeholderShown:"&:placeholder-shown",_fullScreen:"&:fullscreen",_selection:"&::selection",_rtl:"[dir=rtl] &, &[dir=rtl]",_ltr:"[dir=ltr] &, &[dir=ltr]",_mediaDark:"@media (prefers-color-scheme: dark)",_mediaReduceMotion:"@media (prefers-reduced-motion: reduce)",_dark:".chakra-ui-dark &, [data-theme=dark] &, &[data-theme=dark]",_light:".chakra-ui-light &, [data-theme=light] &, &[data-theme=light]"},pe=(0,n.Yd)(be),ge=o()({},R,T,z,j,W,M,U,I,O,q,Z,P,V,J,K,Y,X,N,G),he=Object.assign({},V,W,j,O,Z),me=(0,n.Yd)(he),ve=[].concat((0,n.Yd)(ge),pe),ye=i({},ge,be),xe=function(e){return e in ye},we=function(e,r){return e.startsWith("--")&&(0,n.HD)(r)&&!(0,n.FS)(r)},ke=function(e,r){var t,n;if(null==r)return r;var a=function(r){var t,n;return null==(t=e.__cssMap)||null==(n=t[r])?void 0:n.varRef},o=function(e){var r;return null!=(r=a(e))?r:e},i=r.split(",").map((function(e){return e.trim()})),l=i[0],s=i[1];return r=null!=(t=null!=(n=a(l))?n:o(s))?t:o(r)};function Se(e){var r=e.configs,t=void 0===r?{}:r,a=e.pseudos,i=void 0===a?{}:a,l=e.theme;return function e(r,a){void 0===a&&(a=!1);var s=(0,n.Pu)(r,l),c=function(e){return function(r){if(!r.__breakpoints)return e;var t=r.__breakpoints,a=t.isResponsive,o=t.toArrayValue,i=t.media,l={};for(var s in e){var c=(0,n.Pu)(e[s],r);if(null!=c)if(c=(0,n.Kn)(c)&&a(c)?o(c):c,Array.isArray(c))for(var u=c.slice(0,i.length).length,d=0;d<u;d+=1){var f=null==i?void 0:i[d];f?(l[f]=l[f]||{},null!=c[d]&&(l[f][s]=c[d])):l[s]=c[d]}else l[s]=c}return l}}(s)(l),u={};for(var d in c){var f,b,p,g,h,m=c[d],v=(0,n.Pu)(m,l);d in i&&(d=i[d]),we(d,v)&&(v=ke(l,v));var y=t[d];if(!0===y&&(y={property:d}),(0,n.Kn)(v)){var x;u[d]=null!=(x=u[d])?x:{},u[d]=o()({},u[d],e(v,!0))}else{var w=null!=(f=null==(b=y)||null==b.transform?void 0:b.transform(v,l,s))?f:v;w=null!=(p=y)&&p.processResult?e(w,!0):w;var k=(0,n.Pu)(null==(g=y)?void 0:g.property,l);if(!a&&null!=(h=y)&&h.static){var S=(0,n.Pu)(y.static,l);u=o()({},u,S)}if(k&&Array.isArray(k))for(var E,C=ee(k);!(E=C()).done;){u[E.value]=w}else k?"&"===k&&(0,n.Kn)(w)?u=o()({},u,w):u[k]=w:(0,n.Kn)(w)?u=o()({},u,w):u[d]=w}}return u}}var Ee=function(e){return function(r){return Se({theme:r,pseudos:be,configs:ge})(e)}};function Ce(e){return(0,n.Kn)(e)&&e.reference?e.reference:String(e)}var Ae=function(e){for(var r=arguments.length,t=new Array(r>1?r-1:0),n=1;n<r;n++)t[n-1]=arguments[n];return t.map(Ce).join(" "+e+" ").replace(/calc/g,"")},Fe=function(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return"calc("+Ae.apply(void 0,["+"].concat(r))+")"},Be=function(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return"calc("+Ae.apply(void 0,["-"].concat(r))+")"},_e=function(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return"calc("+Ae.apply(void 0,["*"].concat(r))+")"},De=function(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return"calc("+Ae.apply(void 0,["/"].concat(r))+")"},Re=function(e){var r=Ce(e);return null==r||Number.isNaN(parseFloat(r))?_e(r,-1):String(r).startsWith("-")?String(r).slice(1):"-"+r},Te=Object.assign((function(e){return{add:function(){for(var r=arguments.length,t=new Array(r),n=0;n<r;n++)t[n]=arguments[n];return Te(Fe.apply(void 0,[e].concat(t)))},subtract:function(){for(var r=arguments.length,t=new Array(r),n=0;n<r;n++)t[n]=arguments[n];return Te(Be.apply(void 0,[e].concat(t)))},multiply:function(){for(var r=arguments.length,t=new Array(r),n=0;n<r;n++)t[n]=arguments[n];return Te(_e.apply(void 0,[e].concat(t)))},divide:function(){for(var r=arguments.length,t=new Array(r),n=0;n<r;n++)t[n]=arguments[n];return Te(De.apply(void 0,[e].concat(t)))},negate:function(){return Te(Re(e))},toString:function(){return e.toString()}}}),{add:Fe,subtract:Be,multiply:_e,divide:De,negate:Re});function ze(e){var r=function(e,r){return void 0===r&&(r="-"),e.replace(/\s+/g,r)}(e.toString());return r.includes("\\.")?e:!Number.isInteger(parseFloat(e.toString()))?r.replace(".","\\."):e}function Pe(e,r){return"var("+ze(e)+(r?", "+r:"")+")"}function Me(e,r){return void 0===r&&(r=""),"--"+function(e,r){return void 0===r&&(r=""),[r,ze(e)].filter(Boolean).join("-")}(e,r)}function je(e,r){return function(e,r,t){var n=Me(e,t);return{variable:n,reference:Pe(n,r)}}(String(e).replace(/\./g,"-"),void 0,r)}function Oe(e,r){for(var t={},a={},i=function(){var i=s[l],c=i[0],u=i[1],d=u.isSemantic,f=u.value,b=je(c,null==r?void 0:r.cssVarPrefix),p=b.variable,g=b.reference;if(!d){if(c.startsWith("space")){var h=c.split("."),m=h[0]+".-"+h.slice(1).join("."),v=Te.negate(f),y=Te.negate(g);a[m]={value:v,var:p,varRef:y}}return t[p]=f,a[c]={value:f,var:p,varRef:g},"continue"}var x=(0,n.Kn)(f)?f:{default:f};t=o()(t,Object.entries(x).reduce((function(t,n){var a,o,i=n[0],l=function(t){var n=[String(c).split(".")[0],t].join(".");return e[n]?je(n,null==r?void 0:r.cssVarPrefix).reference:t}(n[1]);return"default"===i?(t[p]=l,t):(t[null!=(a=null==be?void 0:be[i])?a:i]=((o={})[p]=l,o),t)}),{})),a[c]={value:g,var:p,varRef:g}},l=0,s=Object.entries(e);l<s.length;l++)i();return{cssVars:t,cssMap:a}}var Ie=["__cssMap","__cssVars","__breakpoints"],We=["colors","borders","borderWidths","borderStyles","fonts","fontSizes","fontWeights","letterSpacings","lineHeights","radii","space","shadows","sizes","zIndices","transition","blur"];function Ne(e){var r=We;return(0,n.ei)(e,r)}function Le(e){return e.__cssMap,e.__cssVars,e.__breakpoints,function(e,r){if(null==e)return{};var t,n,a={},o=Object.keys(e);for(n=0;n<o.length;n++)t=o[n],r.indexOf(t)>=0||(a[t]=e[t]);return a}(e,Ie)}function He(e){var r,t=Le(e),a=Oe(function(e){var r,t,a=e.tokens,o=e.semanticTokens,i=Object.entries(null!=(r=(0,n.xH)(a))?r:{}).map((function(e){return[e[0],{isSemantic:!1,value:e[1]}]})),l=Object.entries(null!=(t=(0,n.xH)(o,1))?t:{}).map((function(e){return[e[0],{isSemantic:!0,value:e[1]}]}));return(0,n.sq)([].concat(i,l))}({tokens:Ne(t),semanticTokens:function(e){return e.semanticTokens}(t)}),{cssVarPrefix:null==(r=t.config)?void 0:r.cssVarPrefix}),o=a.cssMap,l=a.cssVars;return Object.assign(t,{__cssVars:i({},{"--chakra-ring-inset":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-ring-offset-width":"0px","--chakra-ring-offset-color":"#fff","--chakra-ring-color":"rgba(66, 153, 225, 0.6)","--chakra-ring-offset-shadow":"0 0 #0000","--chakra-ring-shadow":"0 0 #0000","--chakra-space-x-reverse":"0","--chakra-space-y-reverse":"0"},l),__cssMap:o,__breakpoints:(0,n.yn)(t.breakpoints)}),t}},105:function(e,r,t){"use strict";t.d(r,{ZL:function(){return P},Fo:function(){return T},f6:function(){return B},m$:function(){return $},Gp:function(){return q},Lr:function(){return M},jC:function(){return V},mq:function(){return U},yK:function(){return z},Fg:function(){return D}});var n=t(20949),a=t(94244),o=t(70917),i=t(31421),l=t(44592),s=t(38554),c=t.n(s),u=t(67294),d=t(69590),f=t.n(d),b=t(52829),p=t(87462),g=t(67866),h=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,m=(0,g.Z)((function(e){return h.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91})),v=t(70444),y=t(94199),x=m,w=function(e){return"theme"!==e},k=function(e){return"string"===typeof e&&e.charCodeAt(0)>96?x:w},S=function(e,r,t){var n;if(r){var a=r.shouldForwardProp;n=e.__emotion_forwardProp&&a?function(r){return e.__emotion_forwardProp(r)&&a(r)}:a}return"function"!==typeof n&&t&&(n=e.__emotion_forwardProp),n},E=function(){return null},C=function e(r,t){var n,a,o=r.__emotion_real===r,l=o&&r.__emotion_base||r;void 0!==t&&(n=t.label,a=t.target);var s=S(r,t,o),c=s||k(l),d=!c("as");return function(){var f=arguments,b=o&&void 0!==r.__emotion_styles?r.__emotion_styles.slice(0):[];if(void 0!==n&&b.push("label:"+n+";"),null==f[0]||void 0===f[0].raw)b.push.apply(b,f);else{0,b.push(f[0][0]);for(var g=f.length,h=1;h<g;h++)b.push(f[h],f[0][h])}var m=(0,i.w)((function(e,r,t){var n=d&&e.as||l,o="",f=[],p=e;if(null==e.theme){for(var g in p={},e)p[g]=e[g];p.theme=(0,u.useContext)(i.T)}"string"===typeof e.className?o=(0,v.f)(r.registered,f,e.className):null!=e.className&&(o=e.className+" ");var h=(0,y.O)(b.concat(f),r.registered,p);(0,v.M)(r,h,"string"===typeof n);o+=r.key+"-"+h.name,void 0!==a&&(o+=" "+a);var m=d&&void 0===s?k(n):c,x={};for(var w in e)d&&"as"===w||m(w)&&(x[w]=e[w]);x.className=o,x.ref=t;var S=(0,u.createElement)(n,x),C=(0,u.createElement)(E,null);return(0,u.createElement)(u.Fragment,null,C,S)}));return m.displayName=void 0!==n?n:"Styled("+("string"===typeof l?l:l.displayName||l.name||"Component")+")",m.defaultProps=r.defaultProps,m.__emotion_real=m,m.__emotion_base=l,m.__emotion_styles=b,m.__emotion_forwardProp=s,Object.defineProperty(m,"toString",{value:function(){return"."+a}}),m.withComponent=function(r,n){return e(r,(0,p.Z)({},t,n,{shouldForwardProp:S(m,n,!0)})).apply(void 0,b)},m}}.bind();["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].forEach((function(e){C[e]=C(e)}));var A=C;function F(){return(F=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e}).apply(this,arguments)}var B=function(e){var r=e.cssVarsRoot,t=e.theme,n=e.children,o=u.useMemo((function(){return(0,a.c0)(t)}),[t]);return u.createElement(i.a,{theme:o},u.createElement(_,{root:r}),n)},_=function(e){var r=e.root,t=void 0===r?":host, :root":r;return u.createElement(o.xB,{styles:function(e){var r;return(r={})[t]=e.__cssVars,r}})};function D(){var e=u.useContext(i.T);if(!e)throw Error("useTheme: `theme` is undefined. Seems you forgot to wrap your app in `<ChakraProvider />` or `<ThemeProvider />`");return e}var R=(0,b.kr)({name:"StylesContext",errorMessage:"useStyles: `styles` is undefined. Seems you forgot to wrap the components in `<StylesProvider />` "}),T=R[0],z=R[1],P=function(){var e=(0,n.If)().colorMode;return u.createElement(o.xB,{styles:function(r){var t=(0,l.Wf)(r,"styles.global"),n=(0,l.Pu)(t,{theme:r,colorMode:e});if(n){var o=(0,a.iv)(n)(r);return o}}})};function M(e){return(0,l.CE)(e,["styleConfig","size","variant","colorScheme"])}function j(){return F({},(0,n.If)(),{theme:D()})}function O(e,r){if(null==e)return{};var t,n,a={},o=Object.keys(e);for(n=0;n<o.length;n++)t=o[n],r.indexOf(t)>=0||(a[t]=e[t]);return a}var I=new Set([].concat(a.cC,["textStyle","layerStyle","apply","isTruncated","noOfLines","focusBorderColor","errorBorderColor","as","__css","css","sx"])),W=new Set(["htmlWidth","htmlHeight","htmlSize"]),N=function(e){return W.has(e)||!I.has(e)},L=["theme","css","__css","sx"],H=["baseStyle"];var $=function(e,r){var t=null!=r?r:{},n=t.baseStyle,o=O(t,H);o.shouldForwardProp||(o.shouldForwardProp=N);var i=function(e){var r=e.baseStyle;return function(e){e.theme;var t=e.css,n=e.__css,o=e.sx,i=O(e,L),s=(0,l.lw)(i,(function(e,r){return(0,a.ZR)(r)})),c=(0,l.Pu)(r,e),u=Object.assign({},n,c,(0,l.YU)(s),o),d=(0,a.iv)(u)(e.theme);return t?[d,t]:d}}({baseStyle:n});return A(e,o)(i)};function q(e){return u.forwardRef(e)}["a","b","article","aside","blockquote","button","caption","cite","circle","code","dd","div","dl","dt","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hr","img","input","kbd","label","li","main","mark","nav","ol","p","path","pre","q","rect","s","svg","section","select","strong","small","span","sub","sup","table","tbody","td","textarea","tfoot","th","thead","tr","ul"].forEach((function(e){$[e]=$(e)}));var Z=["styleConfig"];function U(e,r,t){var n;void 0===r&&(r={}),void 0===t&&(t={});var a=r,o=a.styleConfig,i=O(a,Z),s=j(),d=s.theme,b=s.colorMode,p=(0,l.Wf)(d,"components."+e),g=o||p,h=c()({theme:d,colorMode:b},null!=(n=null==g?void 0:g.defaultProps)?n:{},(0,l.YU)((0,l.CE)(i,["children"]))),m=(0,u.useRef)({});if(g){var v,y,x,w,k,S,E=(0,l.Pu)(null!=(v=g.baseStyle)?v:{},h),C=(0,l.Pu)(null!=(y=null==(x=g.variants)?void 0:x[h.variant])?y:{},h),A=(0,l.Pu)(null!=(w=null==(k=g.sizes)?void 0:k[h.size])?w:{},h),F=c()({},E,A,C);null!=(S=t)&&S.isMultiPart&&g.parts&&g.parts.forEach((function(e){var r;F[e]=null!=(r=F[e])?r:{}})),f()(m.current,F)||(m.current=F)}return m.current}function V(e,r){return U(e,r,{isMultiPart:!0})}},44592:function(e,r,t){"use strict";t.d(r,{Hc:function(){return ze},Ts:function(){return m},jX:function(){return o},yn:function(){return P},Qm:function(){return H},PP:function(){return ie},v0:function(){return oe},HU:function(){return we},r3:function(){return Z},cx:function(){return $},PB:function(){return L},Ao:function(){return Ne},VI:function(){return he},YU:function(){return C},xH:function(){return ge},T_:function(){return be},sq:function(){return F},vY:function(){return q},t5:function(){return re},K1:function(){return B},LP:function(){return l},lZ:function(){return I},kR:function(){return O},f7:function(){return Re},wN:function(){return V},H9:function(){return G},kJ:function(){return c},jU:function(){return N},FS:function(){return h},Qr:function(){return b},mf:function(){return u},Re:function(){return j},kA:function(){return y},Ft:function(){return p},hj:function(){return s},Kn:function(){return f},Ik:function(){return v},n_:function(){return Y},HD:function(){return g},Wq:function(){return Q},o8:function(){return d},XQ:function(){return We},Wf:function(){return S},ZT:function(){return se},uh:function(){return U},lw:function(){return E},Yd:function(){return A},CE:function(){return x},WS:function(){return ye},ei:function(){return w},zG:function(){return ue},px:function(){return _},cl:function(){return i},WP:function(){return xe},Pu:function(){return ae},Vl:function(){return k},Rg:function(){return ve},ZK:function(){return ce},JN:function(){return Be}});t(38554);var n=t(9839);function a(e){var r=null==e?0:e.length;return r?e[r-1]:void 0}function o(e,r){return[].concat(e,[r])}function i(e,r){return e.filter((function(e){return e!==r}))}function l(e,r,t,n){if(null==r)return n;if(!n)return e.find((function(e){return t(e).toLowerCase().startsWith(r.toLowerCase())}));var a,o=e.filter((function(e){return t(e).toLowerCase().startsWith(r.toLowerCase())}));return o.length>0?o.includes(n)?((a=o.indexOf(n)+1)===o.length&&(a=0),o[a]):(a=e.indexOf(o[0]),e[a]):n}function s(e){return"number"===typeof e}function c(e){return Array.isArray(e)}function u(e){return"function"===typeof e}function d(e){return"undefined"===typeof e||void 0===e}function f(e){var r=typeof e;return null!=e&&("object"===r||"function"===r)&&!c(e)}function b(e){return f(e)&&0===Object.keys(e).length}function p(e){return null==e}function g(e){return"[object String]"===Object.prototype.toString.call(e)}function h(e){return/^var\(--.+\)$/.test(e)}var m=!1;function v(e){return"current"in e}function y(e){return e&&f(e)&&f(e.target)}function x(e,r){var t={};return Object.keys(e).forEach((function(n){r.includes(n)||(t[n]=e[n])})),t}function w(e,r){var t={};return r.forEach((function(r){r in e&&(t[r]=e[r])})),t}function k(e,r){var t={},n={};return Object.keys(e).forEach((function(a){r.includes(a)?t[a]=e[a]:n[a]=e[a]})),[t,n]}var S=function(e){var r=new WeakMap;return function(t,n,a,o){if("undefined"===typeof t)return e(t,n,a);r.has(t)||r.set(t,new Map);var i=r.get(t);if(i.has(n))return i.get(n);var l=e(t,n,a,o);return i.set(n,l),l}}((function(e,r,t,n){var a="string"===typeof r?r.split("."):[r];for(n=0;n<a.length&&e;n+=1)e=e[a[n]];return void 0===e?t:e}));function E(e,r){var t={};return Object.keys(e).forEach((function(n){var a=e[n];r(a,n,e)&&(t[n]=a)})),t}var C=function(e){return E(e,(function(e){return null!==e&&void 0!==e}))},A=function(e){return Object.keys(e)},F=function(e){return e.reduce((function(e,r){var t=r[0],n=r[1];return e[t]=n,e}),{})},B=function(e,r,t){var n,a;return null!=(n=null==(a=e.__cssMap[r+"."+t])?void 0:a.varRef)?n:t};function _(e){return null==e?e:function(e){var r=parseFloat(e.toString()),t=e.toString().replace(String(r),"");return{unitless:!t,value:r,unit:t}}(e).unitless||s(e)?e+"px":e}var D=function(e,r){return parseInt(e[1],10)>parseInt(r[1],10)?1:-1},R=function(e){return F(Object.entries(e).sort(D))};function T(e){var r=R(e);return Object.assign(Object.values(r),r)}function z(e,r){var t=[];return e&&t.push("@media screen and (min-width: "+_(e)+")"),t.length>0&&r&&t.push("and"),r&&t.push("@media screen and (max-width: "+_(r)+")"),t.join(" ")}function P(e){var r;if(!e)return null;e.base=null!=(r=e.base)?r:"0px";var t=T(e),n=Object.entries(e).sort(D).map((function(e,r,t){var n,a=e[0],o=e[1],i=(null!=(n=t[r+1])?n:[])[1];return{breakpoint:a,minW:o,maxW:i=parseFloat(i)>0?function(e){var r;if(!e)return e;var t=(e=null!=(r=_(e))?r:e).endsWith("px")?-1:-.0635;return s(e)?""+(e+t):e.replace(/([0-9]+\.?[0-9]*)/,(function(e){return""+(parseFloat(e)+t)}))}(i):void 0,maxWQuery:z(null,i),minWQuery:z(o),minMaxQuery:z(o,i)}})),o=function(e){var r=Object.keys(R(e));return new Set(r)}(e),i=Array.from(o.values());return{keys:o,normalized:t,isResponsive:function(e){var r=Object.keys(e);return r.length>0&&r.every((function(e){return o.has(e)}))},asObject:R(e),asArray:T(e),details:n,media:[null].concat(t.map((function(e){return z(e)})).slice(1)),toArrayValue:function(e){if(!f(e))throw new Error("toArrayValue: value must be an object");for(var r=i.map((function(r){var t;return null!=(t=e[r])?t:null}));null===a(r);)r.pop();return r},toObjectValue:function(e){if(!Array.isArray(e))throw new Error("toObjectValue: value must be an array");return e.reduce((function(e,r,t){var n=i[t];return null!=n&&null!=r&&(e[n]=r),e}),{})}}}function M(e){return null!=e&&"object"==typeof e&&"nodeType"in e&&e.nodeType===Node.ELEMENT_NODE}function j(e){var r;return!!M(e)&&e instanceof(null!=(r=e.ownerDocument.defaultView)?r:window).HTMLElement}function O(e){var r,t;return M(e)&&null!=(r=null==(t=I(e))?void 0:t.defaultView)?r:window}function I(e){var r;return M(e)&&null!=(r=e.ownerDocument)?r:document}function W(e){var r;return null!=(r=e.view)?r:window}var N=!("undefined"===typeof window||!window.document||!window.document.createElement),L=function(e){return e?"":void 0},H=function(e){return!!e||void 0},$=function(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return r.filter(Boolean).join(" ")};function q(e){var r=I(e);return null==r?void 0:r.activeElement}function Z(e,r){return!!e&&(e===r||e.contains(r))}function U(e){var r=e.key,t=e.keyCode;return t>=37&&t<=40&&0!==r.indexOf("Arrow")?"Arrow"+r:r}function V(e){var r,t,n=q(null!=(r=e.target)?r:e.currentTarget);return null!=(t=e.relatedTarget)?t:n}function Y(e){return 0!==e.button}var X=function(e){return e.hasAttribute("tabindex")};function G(e){return(j(e)?I(e):document).activeElement===e}function K(e){return!(!e.parentElement||!K(e.parentElement))||e.hidden}function J(e){if(!j(e)||K(e)||function(e){return!0===Boolean(e.getAttribute("disabled"))||!0===Boolean(e.getAttribute("aria-disabled"))}(e))return!1;var r=e.localName;if(["input","select","textarea","button"].indexOf(r)>=0)return!0;var t={a:function(){return e.hasAttribute("href")},audio:function(){return e.hasAttribute("controls")},video:function(){return e.hasAttribute("controls")}};return r in t?t[r]():!!function(e){var r=e.getAttribute("contenteditable");return"false"!==r&&null!=r}(e)||X(e)}function Q(e){return!!e&&(j(e)&&J(e)&&!function(e){return X(e)&&-1===e.tabIndex}(e))}var ee=["input:not([disabled])","select:not([disabled])","textarea:not([disabled])","embed","iframe","object","a[href]","area[href]","button:not([disabled])","[tabindex]","audio[controls]","video[controls]","*[tabindex]:not([aria-disabled])","*[contenteditable]"].join();function re(e){var r=Array.from(e.querySelectorAll(ee));return r.unshift(e),r.filter(J).filter((function(e){return"none"!==window.getComputedStyle(e).display}))}function te(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,n=new Array(r);t<r;t++)n[t]=e[t];return n}function ne(e,r){var t="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(t)return(t=t.call(e)).next.bind(t);if(Array.isArray(e)||(t=function(e,r){if(e){if("string"===typeof e)return te(e,r);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?te(e,r):void 0}}(e))||r&&e&&"number"===typeof e.length){t&&(e=t);var n=0;return function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function ae(e){for(var r=arguments.length,t=new Array(r>1?r-1:0),n=1;n<r;n++)t[n-1]=arguments[n];return u(e)?e.apply(void 0,t):e}function oe(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return function(e){r.some((function(r){return null==r||r(e),null==e?void 0:e.defaultPrevented}))}}function ie(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return function(e){r.forEach((function(r){null==r||r(e)}))}}function le(e){var r;return function(){if(e){for(var t=arguments.length,n=new Array(t),a=0;a<t;a++)n[a]=arguments[a];r=e.apply(this,n),e=null}return r}}var se=function(){},ce=le((function(e){return function(){var r=e.condition,t=e.message;r&&m&&console.warn(t)}})),ue=(le((function(e){return function(){var r=e.condition,t=e.message;r&&m&&console.error(t)}})),function(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return function(e){return r.reduce((function(e,r){return r(e)}),e)}}),de=function(e,r){return Math.abs(e-r)},fe=function(e){return"x"in e&&"y"in e};function be(e,r){void 0===r&&(r={});var t=r,n=t.isActive,a=void 0===n?G:n,o=t.nextTick,i=t.preventScroll,l=void 0===i||i,s=t.selectTextIfInput,c=void 0===s||s;if(!e||a(e))return-1;function u(){if(e){if(function(){if(null==pe){pe=!1;try{document.createElement("div").focus({get preventScroll(){return pe=!0,!0}})}catch(e){}}return pe}())e.focus({preventScroll:l});else if(e.focus(),l)!function(e){for(var r,t=ne(e);!(r=t()).done;){var n=r.value,a=n.element,o=n.scrollTop,i=n.scrollLeft;a.scrollTop=o,a.scrollLeft=i}}(function(e){var r,t=I(e),n=null!=(r=t.defaultView)?r:window,a=e.parentNode,o=[],i=t.scrollingElement||t.documentElement;for(;a instanceof n.HTMLElement&&a!==i;)(a.offsetHeight<a.scrollHeight||a.offsetWidth<a.scrollWidth)&&o.push({element:a,scrollTop:a.scrollTop,scrollLeft:a.scrollLeft}),a=a.parentNode;i instanceof n.HTMLElement&&o.push({element:i,scrollTop:i.scrollTop,scrollLeft:i.scrollLeft});return o}(e));(function(e){return j(e)&&"input"===e.tagName.toLowerCase()&&"select"in e})(e)&&c&&e.select()}else ce({condition:!0,message:"[chakra-ui]: can't call focus() on `null` or `undefined` element"})}return o?requestAnimationFrame(u):(u(),-1)}var pe=null;function ge(e,r){return void 0===r&&(r=1/0),(f(e)||Array.isArray(e))&&r?Object.entries(e).reduce((function(e,t){var n=t[0],a=t[1];return f(a)||c(a)?Object.entries(ge(a,r-1)).forEach((function(r){var t=r[0],a=r[1];e[n+"."+t]=a})):e[n]=a,e}),{}):e}function he(e){var r=e.hasBeenSelected,t=e.isLazy,n=e.isSelected,a=e.lazyBehavior;return!t||(!!n||!("keepMounted"!==(void 0===a?"unmount":a)||!r))}Number.MIN_SAFE_INTEGER,Number.MAX_SAFE_INTEGER;function me(e){var r=parseFloat(e);return function(e){return"number"!==typeof e||Number.isNaN(e)||!Number.isFinite(e)}(r)?0:r}function ve(e,r,t){return 100*(e-r)/(t-r)}function ye(e,r,t){return(t-r)*e+r}function xe(e,r,t){return function(e,r){var t=me(e),n=Math.pow(10,null!=r?r:10);return t=Math.round(t*n)/n,r?t.toFixed(r):t.toString()}(Math.round((e-r)/t)*t+r,function(e){if(!Number.isFinite(e))return 0;for(var r=1,t=0;Math.round(e*r)/r!==e;)r*=10,t+=1;return t}(t))}function we(e,r,t){return null==e?e:(ce({condition:t<r,message:"clamp: max cannot be less than min"}),Math.min(Math.max(e,r),t))}function ke(){return(ke=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e}).apply(this,arguments)}function Se(e){return!!e.touches}var Ee={pageX:0,pageY:0};function Ce(e,r){void 0===r&&(r="page");var t=e.touches[0]||e.changedTouches[0]||Ee;return{x:t[r+"X"],y:t[r+"Y"]}}function Ae(e,r){return void 0===r&&(r="page"),{x:e[r+"X"],y:e[r+"Y"]}}function Fe(e,r){return void 0===r&&(r="page"),{point:Se(e)?Ce(e,r):Ae(e,r)}}var Be=function(e,r){void 0===r&&(r=!1);var t,n=function(r){return e(r,Fe(r))};return r?(t=n,function(e){var r=e instanceof W(e).MouseEvent;(!r||r&&0===e.button)&&t(e)}):n},_e={pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointercancel:"mousecancel",pointerover:"mouseover",pointerout:"mouseout",pointerenter:"mouseenter",pointerleave:"mouseleave"},De={pointerdown:"touchstart",pointermove:"touchmove",pointerup:"touchend",pointercancel:"touchcancel"};function Re(e){return N&&null===window.onpointerdown?e:N&&null===window.ontouchstart?De[e]:N&&null===window.onmousedown?_e[e]:e}function Te(e,r,t,n){return function(e,r,t,n){return e.addEventListener(r,t,n),function(){e.removeEventListener(r,t,n)}}(e,Re(r),Be(t,"pointerdown"===r),n)}var ze=function(){function e(e,r,t){var a=this;if(this.history=[],this.startEvent=null,this.lastEvent=null,this.lastEventInfo=null,this.handlers={},this.removeListeners=se,this.threshold=3,this.win=void 0,this.updatePoint=function(){if(a.lastEvent&&a.lastEventInfo){var e=Oe(a.lastEventInfo,a.history),r=null!==a.startEvent,t=function(e,r){if(s(e)&&s(r))return de(e,r);if(fe(e)&&fe(r)){var t=de(e.x,r.x),n=de(e.y,r.y);return Math.sqrt(Math.pow(t,2)+Math.pow(n,2))}return 0}(e.offset,{x:0,y:0})>=a.threshold;if(r||t){var o=(0,n.$B)().timestamp;a.history.push(ke({},e.point,{timestamp:o}));var i=a.handlers,l=i.onStart,c=i.onMove;r||(null==l||l(a.lastEvent,e),a.startEvent=a.lastEvent),null==c||c(a.lastEvent,e)}}},this.onPointerMove=function(e,r){a.lastEvent=e,a.lastEventInfo=r,function(e){var r=W(e);return"undefined"!==typeof r.PointerEvent&&e instanceof r.PointerEvent?!("mouse"!==e.pointerType):e instanceof r.MouseEvent}(e)&&0===e.buttons?a.onPointerUp(e,r):n.ZP.update(a.updatePoint,!0)},this.onPointerUp=function(e,r){var t=Oe(r,a.history),n=a.handlers,o=n.onEnd,i=n.onSessionEnd;null==i||i(e,t),a.end(),o&&a.startEvent&&(null==o||o(e,t))},this.win=W(e),!(Se(o=e)&&o.touches.length>1)){var o;this.handlers=r,t&&(this.threshold=t),e.stopPropagation(),e.preventDefault();var i=Fe(e),l=(0,n.$B)().timestamp;this.history=[ke({},i.point,{timestamp:l})];var c=r.onSessionStart;null==c||c(e,Oe(i,this.history)),this.removeListeners=ue(Te(this.win,"pointermove",this.onPointerMove),Te(this.win,"pointerup",this.onPointerUp),Te(this.win,"pointercancel",this.onPointerUp))}}var r=e.prototype;return r.updateHandlers=function(e){this.handlers=e},r.end=function(){var e;null==(e=this.removeListeners)||e.call(this),n.qY.update(this.updatePoint)},e}();function Pe(e,r){return{x:e.x-r.x,y:e.y-r.y}}function Me(e){return e[0]}function je(e){return e[e.length-1]}function Oe(e,r){return{point:e.point,delta:Pe(e.point,je(r)),offset:Pe(e.point,Me(r)),velocity:Ie(r,.1)}}function Ie(e,r){if(e.length<2)return{x:0,y:0};for(var t=e.length-1,n=null,a=function(e){return e[e.length-1]}(e);t>=0&&(n=e[t],!(a.timestamp-n.timestamp>1e3*r));)t--;if(!n)return{x:0,y:0};var o=(a.timestamp-n.timestamp)/1e3;if(0===o)return{x:0,y:0};var i={x:(a.x-n.x)/o,y:(a.y-n.y)/o};return i.x===1/0&&(i.x=0),i.y===1/0&&(i.y=0),i}Object.freeze(["base","sm","md","lg","xl","2xl"]);function We(e,r){return c(e)?e.map((function(e){return null===e?null:r(e)})):f(e)?A(e).reduce((function(t,n){return t[n]=r(e[n]),t}),{}):null!=e?r(e):null}function Ne(e){return!!N&&function(e){var r=e.userAgent,t=e.vendor,n=/(android)/i.test(r);switch(!0){case/CriOS/.test(r):return"Chrome for iOS";case/Edg\//.test(r):return"Edge";case n&&/Silk\//.test(r):return"Silk";case/Chrome/.test(r)&&/Google Inc/.test(t):return"Chrome";case/Firefox\/\d+\.\d+$/.test(r):return"Firefox";case n:return"AOSP";case/MSIE|Trident/.test(r):return"IE";case/Safari/.test(e.userAgent)&&/Apple Computer/.test(r):return"Safari";case/AppleWebKit/.test(r):return"WebKit";default:return null}}(window.navigator)===e}},51859:function(e,r,t){"use strict";t.d(r,{Z:function(){return ae}});var n=t(11526),a=Math.abs,o=String.fromCharCode,i=Object.assign;function l(e){return e.trim()}function s(e,r,t){return e.replace(r,t)}function c(e,r){return e.indexOf(r)}function u(e,r){return 0|e.charCodeAt(r)}function d(e,r,t){return e.slice(r,t)}function f(e){return e.length}function b(e){return e.length}function p(e,r){return r.push(e),e}var g=1,h=1,m=0,v=0,y=0,x="";function w(e,r,t,n,a,o,i){return{value:e,root:r,parent:t,type:n,props:a,children:o,line:g,column:h,length:i,return:""}}function k(e,r){return i(w("",null,null,"",null,null,0),e,{length:-e.length},r)}function S(){return y=v>0?u(x,--v):0,h--,10===y&&(h=1,g--),y}function E(){return y=v<m?u(x,v++):0,h++,10===y&&(h=1,g++),y}function C(){return u(x,v)}function A(){return v}function F(e,r){return d(x,e,r)}function B(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function _(e){return g=h=1,m=f(x=e),v=0,[]}function D(e){return x="",e}function R(e){return l(F(v-1,P(91===e?e+2:40===e?e+1:e)))}function T(e){for(;(y=C())&&y<33;)E();return B(e)>2||B(y)>3?"":" "}function z(e,r){for(;--r&&E()&&!(y<48||y>102||y>57&&y<65||y>70&&y<97););return F(e,A()+(r<6&&32==C()&&32==E()))}function P(e){for(;E();)switch(y){case e:return v;case 34:case 39:34!==e&&39!==e&&P(y);break;case 40:41===e&&P(e);break;case 92:E()}return v}function M(e,r){for(;E()&&e+y!==57&&(e+y!==84||47!==C()););return"/*"+F(r,v-1)+"*"+o(47===e?e:E())}function j(e){for(;!B(C());)E();return F(e,v)}var O="-ms-",I="-moz-",W="-webkit-",N="comm",L="rule",H="decl",$="@keyframes";function q(e,r){for(var t="",n=b(e),a=0;a<n;a++)t+=r(e[a],a,e,r)||"";return t}function Z(e,r,t,n){switch(e.type){case"@import":case H:return e.return=e.return||e.value;case N:return"";case $:return e.return=e.value+"{"+q(e.children,n)+"}";case L:e.value=e.props.join(",")}return f(t=q(e.children,n))?e.return=e.value+"{"+t+"}":""}function U(e,r){switch(function(e,r){return(((r<<2^u(e,0))<<2^u(e,1))<<2^u(e,2))<<2^u(e,3)}(e,r)){case 5103:return W+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return W+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return W+e+I+e+O+e+e;case 6828:case 4268:return W+e+O+e+e;case 6165:return W+e+O+"flex-"+e+e;case 5187:return W+e+s(e,/(\w+).+(:[^]+)/,"-webkit-box-$1$2-ms-flex-$1$2")+e;case 5443:return W+e+O+"flex-item-"+s(e,/flex-|-self/,"")+e;case 4675:return W+e+O+"flex-line-pack"+s(e,/align-content|flex-|-self/,"")+e;case 5548:return W+e+O+s(e,"shrink","negative")+e;case 5292:return W+e+O+s(e,"basis","preferred-size")+e;case 6060:return W+"box-"+s(e,"-grow","")+W+e+O+s(e,"grow","positive")+e;case 4554:return W+s(e,/([^-])(transform)/g,"$1-webkit-$2")+e;case 6187:return s(s(s(e,/(zoom-|grab)/,W+"$1"),/(image-set)/,W+"$1"),e,"")+e;case 5495:case 3959:return s(e,/(image-set\([^]*)/,W+"$1$`$1");case 4968:return s(s(e,/(.+:)(flex-)?(.*)/,"-webkit-box-pack:$3-ms-flex-pack:$3"),/s.+-b[^;]+/,"justify")+W+e+e;case 4095:case 3583:case 4068:case 2532:return s(e,/(.+)-inline(.+)/,W+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(f(e)-1-r>6)switch(u(e,r+1)){case 109:if(45!==u(e,r+4))break;case 102:return s(e,/(.+:)(.+)-([^]+)/,"$1-webkit-$2-$3$1"+I+(108==u(e,r+3)?"$3":"$2-$3"))+e;case 115:return~c(e,"stretch")?U(s(e,"stretch","fill-available"),r)+e:e}break;case 4949:if(115!==u(e,r+1))break;case 6444:switch(u(e,f(e)-3-(~c(e,"!important")&&10))){case 107:return s(e,":",":"+W)+e;case 101:return s(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+W+(45===u(e,14)?"inline-":"")+"box$3$1"+W+"$2$3$1"+O+"$2box$3")+e}break;case 5936:switch(u(e,r+11)){case 114:return W+e+O+s(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return W+e+O+s(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return W+e+O+s(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return W+e+O+e+e}return e}function V(e){return D(Y("",null,null,null,[""],e=_(e),0,[0],e))}function Y(e,r,t,n,a,i,l,u,d){for(var b=0,g=0,h=l,m=0,v=0,y=0,x=1,w=1,k=1,F=0,B="",_=a,D=i,P=n,O=B;w;)switch(y=F,F=E()){case 40:if(108!=y&&58==O.charCodeAt(h-1)){-1!=c(O+=s(R(F),"&","&\f"),"&\f")&&(k=-1);break}case 34:case 39:case 91:O+=R(F);break;case 9:case 10:case 13:case 32:O+=T(y);break;case 92:O+=z(A()-1,7);continue;case 47:switch(C()){case 42:case 47:p(G(M(E(),A()),r,t),d);break;default:O+="/"}break;case 123*x:u[b++]=f(O)*k;case 125*x:case 59:case 0:switch(F){case 0:case 125:w=0;case 59+g:v>0&&f(O)-h&&p(v>32?K(O+";",n,t,h-1):K(s(O," ","")+";",n,t,h-2),d);break;case 59:O+=";";default:if(p(P=X(O,r,t,b,g,a,u,B,_=[],D=[],h),i),123===F)if(0===g)Y(O,r,P,P,_,i,h,u,D);else switch(m){case 100:case 109:case 115:Y(e,P,P,n&&p(X(e,P,P,0,0,a,u,B,a,_=[],h),D),a,D,h,u,n?_:D);break;default:Y(O,P,P,P,[""],D,0,u,D)}}b=g=v=0,x=k=1,B=O="",h=l;break;case 58:h=1+f(O),v=y;default:if(x<1)if(123==F)--x;else if(125==F&&0==x++&&125==S())continue;switch(O+=o(F),F*x){case 38:k=g>0?1:(O+="\f",-1);break;case 44:u[b++]=(f(O)-1)*k,k=1;break;case 64:45===C()&&(O+=R(E())),m=C(),g=h=f(B=O+=j(A())),F++;break;case 45:45===y&&2==f(O)&&(x=0)}}return i}function X(e,r,t,n,o,i,c,u,f,p,g){for(var h=o-1,m=0===o?i:[""],v=b(m),y=0,x=0,k=0;y<n;++y)for(var S=0,E=d(e,h+1,h=a(x=c[y])),C=e;S<v;++S)(C=l(x>0?m[S]+" "+E:s(E,/&\f/g,m[S])))&&(f[k++]=C);return w(e,r,t,0===o?L:u,f,p,g)}function G(e,r,t){return w(e,r,t,N,o(y),d(e,2,-2),0)}function K(e,r,t,n){return w(e,r,t,H,d(e,0,n),d(e,n+1,-1),n)}var J=function(e,r,t){for(var n=0,a=0;n=a,a=C(),38===n&&12===a&&(r[t]=1),!B(a);)E();return F(e,v)},Q=function(e,r){return D(function(e,r){var t=-1,n=44;do{switch(B(n)){case 0:38===n&&12===C()&&(r[t]=1),e[t]+=J(v-1,r,t);break;case 2:e[t]+=R(n);break;case 4:if(44===n){e[++t]=58===C()?"&\f":"",r[t]=e[t].length;break}default:e[t]+=o(n)}}while(n=E());return e}(_(e),r))},ee=new WeakMap,re=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var r=e.value,t=e.parent,n=e.column===t.column&&e.line===t.line;"rule"!==t.type;)if(!(t=t.parent))return;if((1!==e.props.length||58===r.charCodeAt(0)||ee.get(t))&&!n){ee.set(e,!0);for(var a=[],o=Q(r,a),i=t.props,l=0,s=0;l<o.length;l++)for(var c=0;c<i.length;c++,s++)e.props[s]=a[l]?o[l].replace(/&\f/g,i[c]):i[c]+" "+o[l]}}},te=function(e){if("decl"===e.type){var r=e.value;108===r.charCodeAt(0)&&98===r.charCodeAt(2)&&(e.return="",e.value="")}},ne=[function(e,r,t,n){if(e.length>-1&&!e.return)switch(e.type){case H:e.return=U(e.value,e.length);break;case $:return q([k(e,{value:s(e.value,"@","@"+W)})],n);case L:if(e.length)return function(e,r){return e.map(r).join("")}(e.props,(function(r){switch(function(e,r){return(e=r.exec(e))?e[0]:e}(r,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return q([k(e,{props:[s(r,/:(read-\w+)/,":-moz-$1")]})],n);case"::placeholder":return q([k(e,{props:[s(r,/:(plac\w+)/,":-webkit-input-$1")]}),k(e,{props:[s(r,/:(plac\w+)/,":-moz-$1")]}),k(e,{props:[s(r,/:(plac\w+)/,O+"input-$1")]})],n)}return""}))}}],ae=function(e){var r=e.key;if("css"===r){var t=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(t,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var a=e.stylisPlugins||ne;var o,i,l={},s=[];o=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+r+' "]'),(function(e){for(var r=e.getAttribute("data-emotion").split(" "),t=1;t<r.length;t++)l[r[t]]=!0;s.push(e)}));var c,u,d=[Z,(u=function(e){c.insert(e)},function(e){e.root||(e=e.return)&&u(e)})],f=function(e){var r=b(e);return function(t,n,a,o){for(var i="",l=0;l<r;l++)i+=e[l](t,n,a,o)||"";return i}}([re,te].concat(a,d));i=function(e,r,t,n){c=t,q(V(e?e+"{"+r.styles+"}":r.styles),f),n&&(p.inserted[r.name]=!0)};var p={key:r,sheet:new n.m({key:r,container:o,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:l,registered:{},insert:i};return p.sheet.hydrate(s),p}},67866:function(e,r){"use strict";r.Z=function(e){var r=Object.create(null);return function(t){return void 0===r[t]&&(r[t]=e(t)),r[t]}}},31421:function(e,r,t){"use strict";t.d(r,{T:function(){return c},a:function(){return d},w:function(){return s}});var n=t(67294),a=t(51859),o=t(87462),i=function(e){var r=new WeakMap;return function(t){if(r.has(t))return r.get(t);var n=e(t);return r.set(t,n),n}},l=(t(94199),(0,n.createContext)("undefined"!==typeof HTMLElement?(0,a.Z)({key:"css"}):null));l.Provider;var s=function(e){return(0,n.forwardRef)((function(r,t){var a=(0,n.useContext)(l);return e(r,a,t)}))},c=(0,n.createContext)({});var u=i((function(e){return i((function(r){return function(e,r){return"function"===typeof r?r(e):(0,o.Z)({},e,r)}(e,r)}))})),d=function(e){var r=(0,n.useContext)(c);return e.theme!==r&&(r=u(r)(e.theme)),(0,n.createElement)(c.Provider,{value:r},e.children)}},70917:function(e,r,t){"use strict";t.d(r,{xB:function(){return s},F4:function(){return u}});var n=t(67294),a=(t(51859),t(31421)),o=(t(8679),t(70444)),i=t(94199),l=t(11526),s=(0,a.w)((function(e,r){var t=e.styles,s=(0,i.O)([t],void 0,(0,n.useContext)(a.T)),c=(0,n.useRef)();return(0,n.useLayoutEffect)((function(){var e=r.key+"-global",t=new l.m({key:e,nonce:r.sheet.nonce,container:r.sheet.container,speedy:r.sheet.isSpeedy}),n=!1,a=document.querySelector('style[data-emotion="'+e+" "+s.name+'"]');return r.sheet.tags.length&&(t.before=r.sheet.tags[0]),null!==a&&(n=!0,a.setAttribute("data-emotion",e),t.hydrate([a])),c.current=[t,n],function(){t.flush()}}),[r]),(0,n.useLayoutEffect)((function(){var e=c.current,t=e[0];if(e[1])e[1]=!1;else{if(void 0!==s.next&&(0,o.M)(r,s.next,!0),t.tags.length){var n=t.tags[t.tags.length-1].nextElementSibling;t.before=n,t.flush()}r.insert("",s,t,!1)}}),[r,s.name]),null}));function c(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return(0,i.O)(r)}var u=function(){var e=c.apply(void 0,arguments),r="animation-"+e.name;return{name:r,styles:"@keyframes "+r+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}},94199:function(e,r,t){"use strict";t.d(r,{O:function(){return g}});var n=function(e){for(var r,t=0,n=0,a=e.length;a>=4;++n,a-=4)r=1540483477*(65535&(r=255&e.charCodeAt(n)|(255&e.charCodeAt(++n))<<8|(255&e.charCodeAt(++n))<<16|(255&e.charCodeAt(++n))<<24))+(59797*(r>>>16)<<16),t=1540483477*(65535&(r^=r>>>24))+(59797*(r>>>16)<<16)^1540483477*(65535&t)+(59797*(t>>>16)<<16);switch(a){case 3:t^=(255&e.charCodeAt(n+2))<<16;case 2:t^=(255&e.charCodeAt(n+1))<<8;case 1:t=1540483477*(65535&(t^=255&e.charCodeAt(n)))+(59797*(t>>>16)<<16)}return(((t=1540483477*(65535&(t^=t>>>13))+(59797*(t>>>16)<<16))^t>>>15)>>>0).toString(36)},a={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},o=t(67866),i=/[A-Z]|^ms/g,l=/_EMO_([^_]+?)_([^]*?)_EMO_/g,s=function(e){return 45===e.charCodeAt(1)},c=function(e){return null!=e&&"boolean"!==typeof e},u=(0,o.Z)((function(e){return s(e)?e:e.replace(i,"-$&").toLowerCase()})),d=function(e,r){switch(e){case"animation":case"animationName":if("string"===typeof r)return r.replace(l,(function(e,r,t){return b={name:r,styles:t,next:b},r}))}return 1===a[e]||s(e)||"number"!==typeof r||0===r?r:r+"px"};function f(e,r,t){if(null==t)return"";if(void 0!==t.__emotion_styles)return t;switch(typeof t){case"boolean":return"";case"object":if(1===t.anim)return b={name:t.name,styles:t.styles,next:b},t.name;if(void 0!==t.styles){var n=t.next;if(void 0!==n)for(;void 0!==n;)b={name:n.name,styles:n.styles,next:b},n=n.next;return t.styles+";"}return function(e,r,t){var n="";if(Array.isArray(t))for(var a=0;a<t.length;a++)n+=f(e,r,t[a])+";";else for(var o in t){var i=t[o];if("object"!==typeof i)null!=r&&void 0!==r[i]?n+=o+"{"+r[i]+"}":c(i)&&(n+=u(o)+":"+d(o,i)+";");else if(!Array.isArray(i)||"string"!==typeof i[0]||null!=r&&void 0!==r[i[0]]){var l=f(e,r,i);switch(o){case"animation":case"animationName":n+=u(o)+":"+l+";";break;default:n+=o+"{"+l+"}"}}else for(var s=0;s<i.length;s++)c(i[s])&&(n+=u(o)+":"+d(o,i[s])+";")}return n}(e,r,t);case"function":if(void 0!==e){var a=b,o=t(e);return b=a,f(e,r,o)}break;case"string":}if(null==r)return t;var i=r[t];return void 0!==i?i:t}var b,p=/label:\s*([^\s;\n{]+)\s*(;|$)/g;var g=function(e,r,t){if(1===e.length&&"object"===typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var a=!0,o="";b=void 0;var i=e[0];null==i||void 0===i.raw?(a=!1,o+=f(t,r,i)):o+=i[0];for(var l=1;l<e.length;l++)o+=f(t,r,e[l]),a&&(o+=i[l]);p.lastIndex=0;for(var s,c="";null!==(s=p.exec(o));)c+="-"+s[1];return{name:n(o)+c,styles:o,next:b}}},11526:function(e,r,t){"use strict";t.d(r,{m:function(){return n}});var n=function(){function e(e){var r=this;this._insertTag=function(e){var t;t=0===r.tags.length?r.insertionPoint?r.insertionPoint.nextSibling:r.prepend?r.container.firstChild:r.before:r.tags[r.tags.length-1].nextSibling,r.container.insertBefore(e,t),r.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var r=e.prototype;return r.hydrate=function(e){e.forEach(this._insertTag)},r.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(function(e){var r=document.createElement("style");return r.setAttribute("data-emotion",e.key),void 0!==e.nonce&&r.setAttribute("nonce",e.nonce),r.appendChild(document.createTextNode("")),r.setAttribute("data-s",""),r}(this));var r=this.tags[this.tags.length-1];if(this.isSpeedy){var t=function(e){if(e.sheet)return e.sheet;for(var r=0;r<document.styleSheets.length;r++)if(document.styleSheets[r].ownerNode===e)return document.styleSheets[r]}(r);try{t.insertRule(e,t.cssRules.length)}catch(n){0}}else r.appendChild(document.createTextNode(e));this.ctr++},r.flush=function(){this.tags.forEach((function(e){return e.parentNode&&e.parentNode.removeChild(e)})),this.tags=[],this.ctr=0},e}()},70444:function(e,r,t){"use strict";t.d(r,{f:function(){return n},M:function(){return a}});function n(e,r,t){var n="";return t.split(" ").forEach((function(t){void 0!==e[t]?r.push(e[t]+";"):n+=t+" "})),n}var a=function(e,r,t){var n=e.key+"-"+r.name;if(!1===t&&void 0===e.registered[n]&&(e.registered[n]=r.styles),void 0===e.inserted[r.name]){var a=r;do{e.insert(r===a?"."+n:"",a,e.sheet,!0);a=a.next}while(void 0!==a)}}},20640:function(e,r,t){"use strict";var n=t(11742),a={"text/plain":"Text","text/html":"Url",default:"Text"};e.exports=function(e,r){var t,o,i,l,s,c,u=!1;r||(r={}),t=r.debug||!1;try{if(i=n(),l=document.createRange(),s=document.getSelection(),(c=document.createElement("span")).textContent=e,c.style.all="unset",c.style.position="fixed",c.style.top=0,c.style.clip="rect(0, 0, 0, 0)",c.style.whiteSpace="pre",c.style.webkitUserSelect="text",c.style.MozUserSelect="text",c.style.msUserSelect="text",c.style.userSelect="text",c.addEventListener("copy",(function(n){if(n.stopPropagation(),r.format)if(n.preventDefault(),"undefined"===typeof n.clipboardData){t&&console.warn("unable to use e.clipboardData"),t&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var o=a[r.format]||a.default;window.clipboardData.setData(o,e)}else n.clipboardData.clearData(),n.clipboardData.setData(r.format,e);r.onCopy&&(n.preventDefault(),r.onCopy(n.clipboardData))})),document.body.appendChild(c),l.selectNodeContents(c),s.addRange(l),!document.execCommand("copy"))throw new Error("copy command was unsuccessful");u=!0}catch(d){t&&console.error("unable to copy using execCommand: ",d),t&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(r.format||"text",e),r.onCopy&&r.onCopy(window.clipboardData),u=!0}catch(d){t&&console.error("unable to copy using clipboardData: ",d),t&&console.error("falling back to prompt"),o=function(e){var r=(/mac os x/i.test(navigator.userAgent)?"\u2318":"Ctrl")+"+C";return e.replace(/#{\s*key\s*}/g,r)}("message"in r?r.message:"Copy to clipboard: #{key}, Enter"),window.prompt(o,e)}}finally{s&&("function"==typeof s.removeRange?s.removeRange(l):s.removeAllRanges()),c&&document.body.removeChild(c),i()}return u}},70580:function(e,r,t){"use strict";t.d(r,{iz:function(){return c}});var n="Invariant failed";var a=function(e){var r=e.top,t=e.right,n=e.bottom,a=e.left;return{top:r,right:t,bottom:n,left:a,width:t-a,height:n-r,x:a,y:r,center:{x:(t+a)/2,y:(n+r)/2}}},o=function(e,r){return{top:e.top+r.top,left:e.left+r.left,bottom:e.bottom-r.bottom,right:e.right-r.right}},i={top:0,right:0,bottom:0,left:0},l=function(e){var r,t,n=e.borderBox,l=e.margin,s=void 0===l?i:l,c=e.border,u=void 0===c?i:c,d=e.padding,f=void 0===d?i:d,b=a((t=s,{top:(r=n).top-t.top,left:r.left-t.left,bottom:r.bottom+t.bottom,right:r.right+t.right})),p=a(o(n,u)),g=a(o(p,f));return{marginBox:b,borderBox:a(n),paddingBox:p,contentBox:g,margin:s,border:u,padding:f}},s=function(e){var r=e.slice(0,-2);if("px"!==e.slice(-2))return 0;var t=Number(r);return isNaN(t)&&function(e,r){if(!e)throw new Error(n)}(!1),t},c=function(e){return function(e,r){var t={top:s(r.marginTop),right:s(r.marginRight),bottom:s(r.marginBottom),left:s(r.marginLeft)},n={top:s(r.paddingTop),right:s(r.paddingRight),bottom:s(r.paddingBottom),left:s(r.paddingLeft)},a={top:s(r.borderTopWidth),right:s(r.borderRightWidth),bottom:s(r.borderBottomWidth),left:s(r.borderLeftWidth)};return l({borderBox:e,margin:t,padding:n,border:a})}(e.getBoundingClientRect(),window.getComputedStyle(e))}},9839:function(e,r,t){"use strict";t.d(r,{qY:function(){return b},ZP:function(){return y},iW:function(){return p},$B:function(){return v}});var n=1/60*1e3,a="undefined"!==typeof performance?function(){return performance.now()}:function(){return Date.now()},o="undefined"!==typeof window?function(e){return window.requestAnimationFrame(e)}:function(e){return setTimeout((function(){return e(a())}),n)};var i=!0,l=!1,s=!1,c={delta:0,timestamp:0},u=["read","update","preRender","render","postRender"],d=u.reduce((function(e,r){return e[r]=function(e){var r=[],t=[],n=0,a=!1,o=new WeakSet,i={schedule:function(e,i,l){void 0===i&&(i=!1),void 0===l&&(l=!1);var s=l&&a,c=s?r:t;return i&&o.add(e),-1===c.indexOf(e)&&(c.push(e),s&&a&&(n=r.length)),e},cancel:function(e){var r=t.indexOf(e);-1!==r&&t.splice(r,1),o.delete(e)},process:function(l){var s;if(a=!0,r=(s=[t,r])[0],(t=s[1]).length=0,n=r.length)for(var c=0;c<n;c++){var u=r[c];u(l),o.has(u)&&(i.schedule(u),e())}a=!1}};return i}((function(){return l=!0})),e}),{}),f=u.reduce((function(e,r){var t=d[r];return e[r]=function(e,r,n){return void 0===r&&(r=!1),void 0===n&&(n=!1),l||m(),t.schedule(e,r,n)},e}),{}),b=u.reduce((function(e,r){return e[r]=d[r].cancel,e}),{}),p=u.reduce((function(e,r){return e[r]=function(){return d[r].process(c)},e}),{}),g=function(e){return d[e].process(c)},h=function(e){l=!1,c.delta=i?n:Math.max(Math.min(e-c.timestamp,40),1),c.timestamp=e,s=!0,u.forEach(g),s=!1,l&&(i=!1,o(h))},m=function(){l=!0,i=!0,s||o(h)},v=function(){return c},y=f},8679:function(e,r,t){"use strict";var n=t(59864),a={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},l={};function s(e){return n.isMemo(e)?i:l[e.$$typeof]||a}l[n.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},l[n.Memo]=i;var c=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,b=Object.getPrototypeOf,p=Object.prototype;e.exports=function e(r,t,n){if("string"!==typeof t){if(p){var a=b(t);a&&a!==p&&e(r,a,n)}var i=u(t);d&&(i=i.concat(d(t)));for(var l=s(r),g=s(t),h=0;h<i.length;++h){var m=i[h];if(!o[m]&&(!n||!n[m])&&(!g||!g[m])&&(!l||!l[m])){var v=f(t,m);try{c(r,m,v)}catch(y){}}}}return r}},38554:function(e,r,t){e=t.nmd(e);var n="__lodash_hash_undefined__",a=9007199254740991,o="[object Arguments]",i="[object Function]",l="[object Object]",s=/^\[object .+?Constructor\]$/,c=/^(?:0|[1-9]\d*)$/,u={};u["[object Float32Array]"]=u["[object Float64Array]"]=u["[object Int8Array]"]=u["[object Int16Array]"]=u["[object Int32Array]"]=u["[object Uint8Array]"]=u["[object Uint8ClampedArray]"]=u["[object Uint16Array]"]=u["[object Uint32Array]"]=!0,u[o]=u["[object Array]"]=u["[object ArrayBuffer]"]=u["[object Boolean]"]=u["[object DataView]"]=u["[object Date]"]=u["[object Error]"]=u[i]=u["[object Map]"]=u["[object Number]"]=u[l]=u["[object RegExp]"]=u["[object Set]"]=u["[object String]"]=u["[object WeakMap]"]=!1;var d="object"==typeof t.g&&t.g&&t.g.Object===Object&&t.g,f="object"==typeof self&&self&&self.Object===Object&&self,b=d||f||Function("return this")(),p=r&&!r.nodeType&&r,g=p&&e&&!e.nodeType&&e,h=g&&g.exports===p,m=h&&d.process,v=function(){try{var e=g&&g.require&&g.require("util").types;return e||m&&m.binding&&m.binding("util")}catch(r){}}(),y=v&&v.isTypedArray;function x(e,r,t){switch(t.length){case 0:return e.call(r);case 1:return e.call(r,t[0]);case 2:return e.call(r,t[0],t[1]);case 3:return e.call(r,t[0],t[1],t[2])}return e.apply(r,t)}var w,k,S=Array.prototype,E=Function.prototype,C=Object.prototype,A=b["__core-js_shared__"],F=E.toString,B=C.hasOwnProperty,_=function(){var e=/[^.]+$/.exec(A&&A.keys&&A.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),D=C.toString,R=F.call(Object),T=RegExp("^"+F.call(B).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),z=h?b.Buffer:void 0,P=b.Symbol,M=b.Uint8Array,j=z?z.allocUnsafe:void 0,O=(w=Object.getPrototypeOf,k=Object,function(e){return w(k(e))}),I=Object.create,W=C.propertyIsEnumerable,N=S.splice,L=P?P.toStringTag:void 0,H=function(){try{var e=be(Object,"defineProperty");return e({},"",{}),e}catch(r){}}(),$=z?z.isBuffer:void 0,q=Math.max,Z=Date.now,U=be(b,"Map"),V=be(Object,"create"),Y=function(){function e(){}return function(r){if(!Ce(r))return{};if(I)return I(r);e.prototype=r;var t=new e;return e.prototype=void 0,t}}();function X(e){var r=-1,t=null==e?0:e.length;for(this.clear();++r<t;){var n=e[r];this.set(n[0],n[1])}}function G(e){var r=-1,t=null==e?0:e.length;for(this.clear();++r<t;){var n=e[r];this.set(n[0],n[1])}}function K(e){var r=-1,t=null==e?0:e.length;for(this.clear();++r<t;){var n=e[r];this.set(n[0],n[1])}}function J(e){var r=this.__data__=new G(e);this.size=r.size}function Q(e,r){var t=xe(e),n=!t&&ye(e),a=!t&&!n&&ke(e),o=!t&&!n&&!a&&Fe(e),i=t||n||a||o,l=i?function(e,r){for(var t=-1,n=Array(e);++t<e;)n[t]=r(t);return n}(e.length,String):[],s=l.length;for(var c in e)!r&&!B.call(e,c)||i&&("length"==c||a&&("offset"==c||"parent"==c)||o&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||pe(c,s))||l.push(c);return l}function ee(e,r,t){(void 0!==t&&!ve(e[r],t)||void 0===t&&!(r in e))&&ne(e,r,t)}function re(e,r,t){var n=e[r];B.call(e,r)&&ve(n,t)&&(void 0!==t||r in e)||ne(e,r,t)}function te(e,r){for(var t=e.length;t--;)if(ve(e[t][0],r))return t;return-1}function ne(e,r,t){"__proto__"==r&&H?H(e,r,{configurable:!0,enumerable:!0,value:t,writable:!0}):e[r]=t}X.prototype.clear=function(){this.__data__=V?V(null):{},this.size=0},X.prototype.delete=function(e){var r=this.has(e)&&delete this.__data__[e];return this.size-=r?1:0,r},X.prototype.get=function(e){var r=this.__data__;if(V){var t=r[e];return t===n?void 0:t}return B.call(r,e)?r[e]:void 0},X.prototype.has=function(e){var r=this.__data__;return V?void 0!==r[e]:B.call(r,e)},X.prototype.set=function(e,r){var t=this.__data__;return this.size+=this.has(e)?0:1,t[e]=V&&void 0===r?n:r,this},G.prototype.clear=function(){this.__data__=[],this.size=0},G.prototype.delete=function(e){var r=this.__data__,t=te(r,e);return!(t<0)&&(t==r.length-1?r.pop():N.call(r,t,1),--this.size,!0)},G.prototype.get=function(e){var r=this.__data__,t=te(r,e);return t<0?void 0:r[t][1]},G.prototype.has=function(e){return te(this.__data__,e)>-1},G.prototype.set=function(e,r){var t=this.__data__,n=te(t,e);return n<0?(++this.size,t.push([e,r])):t[n][1]=r,this},K.prototype.clear=function(){this.size=0,this.__data__={hash:new X,map:new(U||G),string:new X}},K.prototype.delete=function(e){var r=fe(this,e).delete(e);return this.size-=r?1:0,r},K.prototype.get=function(e){return fe(this,e).get(e)},K.prototype.has=function(e){return fe(this,e).has(e)},K.prototype.set=function(e,r){var t=fe(this,e),n=t.size;return t.set(e,r),this.size+=t.size==n?0:1,this},J.prototype.clear=function(){this.__data__=new G,this.size=0},J.prototype.delete=function(e){var r=this.__data__,t=r.delete(e);return this.size=r.size,t},J.prototype.get=function(e){return this.__data__.get(e)},J.prototype.has=function(e){return this.__data__.has(e)},J.prototype.set=function(e,r){var t=this.__data__;if(t instanceof G){var n=t.__data__;if(!U||n.length<199)return n.push([e,r]),this.size=++t.size,this;t=this.__data__=new K(n)}return t.set(e,r),this.size=t.size,this};var ae,oe=function(e,r,t){for(var n=-1,a=Object(e),o=t(e),i=o.length;i--;){var l=o[ae?i:++n];if(!1===r(a[l],l,a))break}return e};function ie(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":L&&L in Object(e)?function(e){var r=B.call(e,L),t=e[L];try{e[L]=void 0;var n=!0}catch(o){}var a=D.call(e);n&&(r?e[L]=t:delete e[L]);return a}(e):function(e){return D.call(e)}(e)}function le(e){return Ae(e)&&ie(e)==o}function se(e){return!(!Ce(e)||function(e){return!!_&&_ in e}(e))&&(Se(e)?T:s).test(function(e){if(null!=e){try{return F.call(e)}catch(r){}try{return e+""}catch(r){}}return""}(e))}function ce(e){if(!Ce(e))return function(e){var r=[];if(null!=e)for(var t in Object(e))r.push(t);return r}(e);var r=ge(e),t=[];for(var n in e)("constructor"!=n||!r&&B.call(e,n))&&t.push(n);return t}function ue(e,r,t,n,a){e!==r&&oe(r,(function(o,i){if(a||(a=new J),Ce(o))!function(e,r,t,n,a,o,i){var s=he(e,t),c=he(r,t),u=i.get(c);if(u)return void ee(e,t,u);var d=o?o(s,c,t+"",e,r,i):void 0,f=void 0===d;if(f){var b=xe(c),p=!b&&ke(c),g=!b&&!p&&Fe(c);d=c,b||p||g?xe(s)?d=s:Ae(h=s)&&we(h)?d=function(e,r){var t=-1,n=e.length;r||(r=Array(n));for(;++t<n;)r[t]=e[t];return r}(s):p?(f=!1,d=function(e,r){if(r)return e.slice();var t=e.length,n=j?j(t):new e.constructor(t);return e.copy(n),n}(c,!0)):g?(f=!1,d=function(e,r){var t=r?function(e){var r=new e.constructor(e.byteLength);return new M(r).set(new M(e)),r}(e.buffer):e.buffer;return new e.constructor(t,e.byteOffset,e.length)}(c,!0)):d=[]:function(e){if(!Ae(e)||ie(e)!=l)return!1;var r=O(e);if(null===r)return!0;var t=B.call(r,"constructor")&&r.constructor;return"function"==typeof t&&t instanceof t&&F.call(t)==R}(c)||ye(c)?(d=s,ye(s)?d=function(e){return function(e,r,t,n){var a=!t;t||(t={});var o=-1,i=r.length;for(;++o<i;){var l=r[o],s=n?n(t[l],e[l],l,t,e):void 0;void 0===s&&(s=e[l]),a?ne(t,l,s):re(t,l,s)}return t}(e,Be(e))}(s):Ce(s)&&!Se(s)||(d=function(e){return"function"!=typeof e.constructor||ge(e)?{}:Y(O(e))}(c))):f=!1}var h;f&&(i.set(c,d),a(d,c,n,o,i),i.delete(c));ee(e,t,d)}(e,r,i,t,ue,n,a);else{var s=n?n(he(e,i),o,i+"",e,r,a):void 0;void 0===s&&(s=o),ee(e,i,s)}}),Be)}function de(e,r){return me(function(e,r,t){return r=q(void 0===r?e.length-1:r,0),function(){for(var n=arguments,a=-1,o=q(n.length-r,0),i=Array(o);++a<o;)i[a]=n[r+a];a=-1;for(var l=Array(r+1);++a<r;)l[a]=n[a];return l[r]=t(i),x(e,this,l)}}(e,r,Re),e+"")}function fe(e,r){var t=e.__data__;return function(e){var r=typeof e;return"string"==r||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==e:null===e}(r)?t["string"==typeof r?"string":"hash"]:t.map}function be(e,r){var t=function(e,r){return null==e?void 0:e[r]}(e,r);return se(t)?t:void 0}function pe(e,r){var t=typeof e;return!!(r=null==r?a:r)&&("number"==t||"symbol"!=t&&c.test(e))&&e>-1&&e%1==0&&e<r}function ge(e){var r=e&&e.constructor;return e===("function"==typeof r&&r.prototype||C)}function he(e,r){if(("constructor"!==r||"function"!==typeof e[r])&&"__proto__"!=r)return e[r]}var me=function(e){var r=0,t=0;return function(){var n=Z(),a=16-(n-t);if(t=n,a>0){if(++r>=800)return arguments[0]}else r=0;return e.apply(void 0,arguments)}}(H?function(e,r){return H(e,"toString",{configurable:!0,enumerable:!1,value:(t=r,function(){return t}),writable:!0});var t}:Re);function ve(e,r){return e===r||e!==e&&r!==r}var ye=le(function(){return arguments}())?le:function(e){return Ae(e)&&B.call(e,"callee")&&!W.call(e,"callee")},xe=Array.isArray;function we(e){return null!=e&&Ee(e.length)&&!Se(e)}var ke=$||function(){return!1};function Se(e){if(!Ce(e))return!1;var r=ie(e);return r==i||"[object GeneratorFunction]"==r||"[object AsyncFunction]"==r||"[object Proxy]"==r}function Ee(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=a}function Ce(e){var r=typeof e;return null!=e&&("object"==r||"function"==r)}function Ae(e){return null!=e&&"object"==typeof e}var Fe=y?function(e){return function(r){return e(r)}}(y):function(e){return Ae(e)&&Ee(e.length)&&!!u[ie(e)]};function Be(e){return we(e)?Q(e,!0):ce(e)}var _e,De=(_e=function(e,r,t,n){ue(e,r,t,n)},de((function(e,r){var t=-1,n=r.length,a=n>1?r[n-1]:void 0,o=n>2?r[2]:void 0;for(a=_e.length>3&&"function"==typeof a?(n--,a):void 0,o&&function(e,r,t){if(!Ce(t))return!1;var n=typeof r;return!!("number"==n?we(t)&&pe(r,t.length):"string"==n&&r in t)&&ve(t[r],e)}(r[0],r[1],o)&&(a=n<3?void 0:a,n=1),e=Object(e);++t<n;){var i=r[t];i&&_e(e,i,t,a)}return e})));function Re(e){return e}e.exports=De},67690:function(e,r,t){"use strict";t.d(r,{n:function(){return n}});var n={1337:{base0:"#171F24",base1:"#1C1C1C",base2:"#121212",base3:"#3D3D3D",base4:"#4b474c",base5:"#515151",base6:"#6D6D6D",base7:"#777778",base8:"#f4f4f4",bg:"#191919","bg-alt":"#252526",blue:"#8CDAFF","dark-blue":"#6699CC",fg:"#d4d4d4","fg-alt":"#AEAFAD",green:"#468800",grey:"#777778","light-green":"#B5CEA8","light-yellow":"#FBE3BF",magenta:"#C586C0",orange:"#FC9354",red:"#FF5E5E",teal:"#35CDAF",white:"#FFFFFF",yellow:"#E9FDAC"},Iosevkem:{base0:"#1b1d1e",base1:"#202020",base2:"#303030",base3:"#303030",base4:"#505050",base5:"#505050",base6:"#808080",base7:"#808080",base8:"#DFDFDF",bg:"#1b1d1e","bg-alt":"#262829",blue:"#6c9ef8",cyan:"#00aa80","dark-blue":"#6688aa","dark-cyan":"#5699AF",fg:"#dddddd","fg-alt":"#5B6268",green:"#60aa00",grey:"#505050",magenta:"#b77fdb",orange:"#da8548",red:"#d02b61",teal:"#4db5bd",violet:"#a9a1e1",yellow:"#d08928"},"acario-dark":{base0:"#0F1019",base1:"#121212",base2:"#1E1E33",base3:"#464A56",base4:"#585C6C",base5:"#767676",base6:"#959EA5",base7:"#B2B2B2",base8:"#D0D0D0",bg:"#0D0E16","bg-alt":"#040408","bg-blue":"#0C213E",blue:"#3679D8",cyan:"#36D8BD","dark-blue":"#0C213E",fg:"#CEDBE5","fg-alt":"#E5F4FF",green:"#79D836",grey:"#767676",magenta:"#8041D8",orange:"#D85F00",red:"#D83441",teal:"#2D9574",violet:"#AB11D8",yellow:"#D8B941"},"ayu-mirage":{bg:"#1f2430","bg-alt":"#171b24",base0:"#3d434d",base1:"#707a8c",base2:"#2f3b54",base3:"#f5f7fd",base4:"#f5f7fd",base5:"#1c1e23",base6:"#484f5b",base7:"#14171f",base8:"#11131a",fg:"#cbccc6","fg-alt":"#707a8c",grey:"#171b24",red:"#f28779",orange:"#ffa759",green:"#bae67e",teal:"#95e6cb",yellow:"#ffd580",blue:"#73d0ff","dark-blue":"#5ca6cc",magenta:"#d4bfff",violet:"#dccbff",cyan:"#5ccfe6"},"ayu-light":{"common-accent":"#ff9940","common-bg":"#fafafa","common-fg":"#575f66","common-ui":"#ba9199","syntax-comment":"#abb0b6","syntax-constant":"#a37acc","syntax-entity":"#399ee6","syntax-error":"#f51818","syntax-func":"#f2ae49","syntax-keyword":"#fa8d3e","syntax-markup":"#f07171","syntax-operator":"#ed9366","syntax-regexp":"#4cbf99","syntax-special":"#e6ba7e","syntax-string":"#86b300","syntax-tag":"#55b4d4",test:"#2ea8e6","ui-gutter-active":"#ba9199","ui-gutter-normal":"#d9c2c6","ui-line":"#e8e8e8","ui-panel-border":"#fcfcfc","ui-panel-shadow":"#fbfbfb","ui-selection-bg":"#bce1f3","ui-selection-border":"#f0f8fd","ui-selection-inactive":"#f0f8fd"},badger:{bg:"#171717","bg-alt":"#2f2f2f",base0:"#1D1D1D",base1:"#1c1f24",base2:"#202328",base3:"#23272e",base4:"#433F4f",base5:"#635770",base6:"#656868",base7:"#9ca0a4",base8:"#DFDFDF",fg:"#F6F3E8","fg-alt":"#FBF9F3",grey:"#433F4f",red:"#E2434C",orange:"#EA9847",green:"#86B187",teal:"#65A399",yellow:"#E0D063",blue:"#8AC6F2","dark-blue":"#2257A0",magenta:"#E18Cbb",violet:"#BF93C3"},"challenger-deep":{base0:"#100E23",base1:"#292F37",base2:"#3D4551",base3:"#4C4B68",base4:"#565575",base5:"#858FA5",base6:"#9BA7BF",base7:"#B0BED8",base8:"#BAC9E4",bg:"#1E1C31","bg-alt":"#12111E",blue:"#91DDFF",cyan:"#AAFFE4","dark-blue":"#65B2FF","dark-cyan":"#62D196",fg:"#CBE3E7","fg-alt":"#B2B2B2",green:"#95FFA4",grey:"#565575",magenta:"#C991E1",orange:"#FFB378",red:"#FF8080",teal:"#63F2F1",violet:"#906CFF",yellow:"#FFE9AA"},"city-lights":{bg:"#1D252C","bg-alt":"#181E24",base0:"#10151C",base1:"#171D22",base2:"#20282F",base3:"#28323B",base4:"#384551",base5:"#56697A",base6:"#688094",base7:"#7FA0B7",base8:"#9CAABB","fg-alt":"#728CA0",fg:"#A0B3C5",grey:"#41505E",red:"#D95468",orange:"#D98E48",green:"#8BD49C",teal:"#33CED8",yellow:"#EBBF83",blue:"#5EC4FF","bright-blue":"#539AFC","dark-blue":"#718CA1"},"dark+":{bg:"#1e1e1e","bg-alt":"#252526",base0:"#171F24",base1:"#1C1C1C",base2:"#121212",base3:"#313131",base4:"#4b474c",base5:"#37474F",base6:"#237AD3",base7:"#777778",base8:"#f4f4f4",fg:"#d4d4d4","fg-alt":"#AEAFAD",grey:"#777778",red:"#D16969",orange:"#DB8E73",green:"#579C4C","light-green":"#B5CEA8",teal:"#35CDAF",yellow:"#D7BA7D","light-yellow":"#D9DAA2",blue:"#339CDB","dark-blue":"#124F7B",magenta:"#C586C0",violet:"#BB80B3","dark-violet":"#68217A",cyan:"#85DDFF","dark-cyan":"#207FA1"},dracula:{base0:"#1E2029",base1:"#282a36",base2:"#373844",base3:"#44475a",base4:"#565761",base5:"#6272a4",base6:"#b6b6b2",base7:"#ccccc7",base8:"#f8f8f2",bg:"#282a36","bg-alt":"#1E2029",blue:"#61bfff",cyan:"#8be9fd","dark-blue":"#0189cc","dark-cyan":"#8be9fd",fg:"#f8f8f2","fg-alt":"#e2e2dc",green:"#50fa7b",grey:"#565761",magenta:"#ff79c6",orange:"#ffb86c",red:"#ff5555",teal:"#0189cc",violet:"#bd93f9",yellow:"#f1fa8c"},ephemeral:{base0:"#181e26",base1:"#1e262d",base2:"#242d39",base3:"#2a3542",base4:"#323f4e",base5:"#364455",base6:"#505d6f",base7:"#77818f",base8:"#ebedef",bg:"#323f4e","bg-alt":"#28323e",blue:"#92b6f4",cyan:"#79e6f3","dark-blue":"#9f92f4","dark-violet":"#985EFF",fg:"#f8f8f2","fg-alt":"#fdfdfd",green:"#53e2ae",grey:"#3d4c5f",magenta:"#BD99FF",orange:"#f2a272",red:"#f48fb1",teal:"#a1efd3",violet:"#8897f4",yellow:"#f1fa8c"},"fairy-floss":{base0:"#464258",base1:"#514C66",base2:"#6A6483",base3:"#9673D3",base4:"#A0A0C0",base5:"#B8A2CE",base6:"#726C8A",base7:"#5B576C",base8:"#716799",bg:"#5a5475","bg-alt":"#343145",blue:"#55b3cc",cyan:"#96CBFE","dark-blue":"#167be2","dark-cyan":"#204052",fg:"#F8F8F0","fg-alt":"#B5B2Bd",green:"#C2FFDF",grey:"#656565",magenta:"#FFB8D1",orange:"#E6C000",red:"#CC6666",teal:"#8295D6",violet:"#C5A3FF",yellow:"#FFEA00"},flatwhite:{bg:"#f7f3ee","bg-alt":"#f1ece4",base0:"#f1ece4",base1:"#e4ddd2",base2:"#dcd3c6",base3:"#b9a992",base4:"#93836c",base5:"#605a52",base6:"#202328",base7:"#1c1f24",base8:"#1b2229",fg:"#605a52","fg-alt":"#93836c",grey:"#b9a992",red:"#955f5f",orange:"#957f5f",green:"#81895d",teal:"#5f8c7d",yellow:"#957f5f",blue:"#7382a0","dark-blue":"#7382a0",magenta:"#9c739c",violet:"#9c739c",cyan:"#5f8c7d","dark-cyan":"#5f8c7d"},"gruvbox-light":{base0:"#f0f0f0",base1:"#ebdbb2",base2:"#d5c4a1",base3:"#bdae93",base4:"#a89984",base5:"#504945",base6:"#3c3836",base7:"#282828",base8:"#1d2021",bg:"#fbf1c7","bg-alt":"#f2e5bc",blue:"#076678",cyan:"#427b58","dark-blue":"#2b3c44","dark-cyan":"#36473a",fg:"#282828","fg-alt":"#1c1c1c",green:"#79740e",grey:"#928374",magenta:"#b16286",orange:"#af3a03",red:"#9d0006",teal:"#4db5bd",violet:"#8f3f71",yellow:"#b57614"},gruvbox:{base0:"#0d1011",base1:"#1d2021",base2:"#282828",base3:"#3c3836",base4:"#665c54",base5:"#7c6f64",base6:"#928374",base7:"#d5c4a1",base8:"#fbf1c7",bg:"#282828","bg-alt":"#1d2021","bg-alt2":"#504945",blue:"#83a598","dark-green":"#98971a","dark-yellow":"#d79921",fg:"#ebdbb2","fg-alt":"#d5c4a1",green:"#b8bb26",grey:"#928374",magenta:"#cc241d",orange:"#fe8019",red:"#fb4934",teal:"#8ec07c",violet:"#d3869b",yellow:"#fabd2f"},henna:{base0:"#10151a",base1:"#181A1F",base2:"#1B1F23",base3:"#262D35",base4:"#282C34",base5:"#2c313a",base6:"#3B4048",base7:"#495162",base8:"#606F73",bg:"#21272e","bg-alt":"#1B1F23",blue:"#56b5c2",cyan:"#56b6c2","dark-blue":"#2257A0","dark-cyan":"#2e4a54",fg:"#f8f8f0","fg-alt":"#6B717D",green:"#53df83",grey:"#737c8c",magenta:"#FFB8D1",orange:"#e74c3c",red:"#e74c3c",teal:"#1abc9c",violet:"#C5A3FF",yellow:"#ECBE7B"},"homage-black":{base0:"#1B2229",base1:"#1c1f24",base2:"#202328",base3:"#23272e",base4:"#3f444a",base5:"#5B6268",base6:"#73797e",base7:"#9ca0a4",base8:"#DFDFDF",bg:"#000000","bg-alt":"#000000",blue:"#0170bf",cyan:"#46D9FF","dark-blue":"#003c64","dark-cyan":"#5699AF",fg:"#bbc2cf","fg-alt":"#5B6268",green:"#98be65",grey:"#5B6268",magenta:"#c678dd",orange:"#b4916d",red:"#ff6c6b",teal:"#4db5bd",violet:"#a9a1e1",yellow:"#ECBE7B"},"homage-white":{base0:"#f0f0f0",base1:"#e7e7e7",base2:"#dfdfdf",base3:"#c6c7c7",base4:"#9ca0a4",base5:"#383a42",base6:"#202328",base7:"#1c1f24",base8:"#1b2229",bg:"#fafafa","bg-alt":"#f0f0f0",blue:"#014980",cyan:"#0184bc","dark-blue":"#030f64",fg:"#383a42","fg-alt":"#c6c7c7",green:"#556b2f",grey:"#383a42",magenta:"#a626a4",orange:"#8a3b3c",red:"#e45649",teal:"#4db5bd",violet:"#b751b6",yellow:"#986801","yellow-alt":"#fafadd"},horizon:{base0:"#16161c",base1:"#1a1c23",base2:"#1d1f27",base3:"#232530",base4:"#6a6a6a",base5:"#f9cec3",base6:"#f9cbbe",base7:"#fadad1",base8:"#fdf0ed",bg:"#232530","bg-alt":"#1c1e26",blue:"#21bfc2",cyan:"#59e3e3","dark-blue":"#25b2bc","dark-cyan":"#27d797",fg:"#c7c9cb","fg-alt":"#fdf0ed",green:"#09f7a0",grey:"#6a6a6a",magenta:"#6c6f93",orange:"#f09383",red:"#e95678",teal:"#87ceeb",violet:"#b877db",yellow:"#fab795"},"ir-black":{base0:"#1B2229",base1:"#1c1f24",base2:"#202328",base3:"#23272e",base4:"#3f444a",base5:"#5B6268",base6:"#73797e",base7:"#9ca0a4",base8:"#DFDFDF",bg:"#000000","bg-alt":"#121212",blue:"#96CBFE","dark-blue":"#2257A0",fg:"#f6f3e8","fg-alt":"#5B6268",green:"#A8FF60","green-alt":"#99CC99",grey:"#3f444a",magenta:"#FF73FD",orange:"#E9C062","orange-alt":"#FFD2A7",red:"#ff6c60",teal:"#00A0A0",white:"#ffffff",yellow:"#FFFFB6"},laserwave:{base0:"#222228",base1:"#24262D",base2:"#282b33",base3:"#3E3549",base4:"#4E415C",base5:"#544863",base6:"#ED60BA",base7:"#91889B",base8:"#ECEFF4",bg:"#27212E","bg-alt":"#1B1720",blue:"#40B4C4",cyan:"#B4DCE7","dark-blue":"#336A79","dark-cyan":"#6D7E8A",fg:"#FFFFFF","fg-alt":"#EEEEEE",green:"#74DFC4",grey:"#4E415C",magenta:"#EB64B9",orange:"#FFB85B",red:"#964C7B",teal:"#4D8079",violet:"#B381C5",yellow:"#FFE261"},manegarm:{"-bg":"#1c1408","-bg-alt":"#181107",base0:"#1B2229",base1:"#1c1f24",base2:"#202328",base3:"#23272e",base4:"#3f444a",base5:"#95836f",base6:"#73797e",base7:"#9ca0a4",base8:"#dfdfdf",bg:"#1c1408","bg-alt":"#181107",blue:"#0075c4","dark-blue":"#0060a1",fg:"#5b8512","fg-alt":"#4f7410",green:"#7cb518",grey:"#707a6a",magenta:"#d72638",orange:"#ff7000",red:"#ff4e00",teal:"#dbc077",violet:"#76597b",yellow:"#ffbf00"},material:{base0:"#171F24",base1:"#1C262B",base2:"#222D32",base3:"#171F24",base4:"#314048",base5:"#37474F",base6:"#556369",base7:"#737E84",base8:"#9BA3A7",bg:"#263238","bg-alt":"#1C262B",blue:"#82aaff",cyan:"#89DDFF","dark-blue":"#7986E7","dark-cyan":"#80cbc4",fg:"#EEFFFF","fg-alt":"#BFC7D5",green:"#c3e88d",grey:"#37474F",magenta:"#c792ea",orange:"#f78c6c",red:"#ff5370",teal:"#44b9b1",violet:"#bb80b3",yellow:"#ffcb6b"},miramare:{base0:"#0d1011",base1:"#1d2021",base2:"#282828",base3:"#3c3836",base4:"#5b5b5b",base5:"#7c6f64",base6:"#928374",base7:"#d5c4a1",base8:"#fbf1c7",bg:"#2a2426","bg-alt":"#242021","bg-alt2":"#504945",blue:"#89beba","dark-blue":"#458588","dark-green":"#678f67",fg:"#e6d6ac","fg-alt":"#d8caac",green:"#87af87",grey:"#5b5b5b",magenta:"#e68183",orange:"#e39b7b",red:"#e68183",teal:"#87af87",violet:"#d3a0bc",yellow:"#d9bb80"},molokai:{base0:"#131313",base1:"#161821",base2:"#2e313d",base3:"#3a3d4b",base4:"#535763",base5:"#595d68",base6:"#696d77",base7:"#888d94",base8:"#afb5b9",bg:"#282a3a","bg-alt":"#1E1F2B",blue:"#9cd1bb",cyan:"#9cd1bb","dark-blue":"#9cd1bb","dark-cyan":"#9cd1bb",fg:"#eaf2f1","fg-alt":"#c6c6c6",green:"#bad761",grey:"#535763",magenta:"#9cd1bb",orange:"#ff95be",red:"#ff657a",teal:"#9cd1bb",violet:"#c39ac9",yellow:"#ffd76d"},"monokai-classic":{base0:"#19181A",base1:"#1B1B1B",base2:"#212122",base3:"#2B2B2B",base4:"#383539",base5:"#4C4A4D",base6:"#727072",base7:"#c1c0c0",base8:"#FCFCFA",bg:"#2D2A2E","bg-alt":"#221F22",blue:"#78DCE8",cyan:"#78DCE8","dark-blue":"#81A2BE","dark-cyan":"#81A2BE",fg:"#FCFCFA","fg-alt":"#939293",green:"#A9DC76",grey:"#727072",magenta:"#FF6188",orange:"#FC9867",red:"#CC6666",teal:"#A9DC76",violet:"#AB9DF2",yellow:"#FFD866"},"monokai-pro":{base0:"#131313",base1:"#191515",base2:"#332c2c",base3:"#403838",base4:"#5b5353",base5:"#615959",base6:"#72696a",base7:"#948a8b",base8:"#bfb3b5",bg:"#2c2525","bg-alt":"#201C1C",blue:"#85dacc",cyan:"#85dacc","dark-blue":"#85dacc","dark-cyan":"#85dacc",fg:"#fff1f3","fg-alt":"#c6c6c6",green:"#adda78",grey:"#5b5353",magenta:"#85dacc",orange:"#f38d70",red:"#fd6883",teal:"#85dacc",violet:"#a8a9eb",yellow:"#f9cc6c"},"monokai-machine":{base0:"#161a2a",base1:"#191a2a",base2:"#1e2030",base3:"#222436",base4:"#2f334d",base5:"#444a73",base6:"#828bb8",base7:"#a9b8e8",base8:"#b4c2f0",bg:"#212337","bg-alt":"#191a2a","dark-red":"#ff5370","dark-teal":"#4fd6be",fg:"#c8d3f5","fg-alt":"#b4c2f0",green:"#c3e88d",grey:"#444a73",indigo:"#7a88cf","light-red":"#ff98a4","light-teal":"#7af8ca",orange:"#ff995e",red:"#ff757f",region:"#383e5c",teal:"#77e0c6",yellow:"#ffc777"},"monokai-octagon":{base0:"#131313",base1:"#191919",base2:"#2c2c2d",base3:"#363537",base4:"#525053",base5:"#585659",base6:"#69676c",base7:"#8b888f",base8:"#b6b2bc",bg:"#222222","bg-alt":"#191919",blue:"#5ad4e6",cyan:"#5ad4e6","dark-blue":"#5ad4e6","dark-cyan":"#5ad4e6",fg:"#f7f1ff","fg-alt":"#c6c6c6",green:"#7bd88f",grey:"#525053",magenta:"#5ad4e6",orange:"#fd9353",red:"#fc618d",teal:"#5ad4e6",violet:"#948ae3",yellow:"#fce566"},"monokai-ristretto":{base0:"#161a2a",base1:"#191a2a",base2:"#1e2030",base3:"#222436",base4:"#2f334d",base5:"#444a73",base6:"#828bb8",base7:"#a9b8e8",base8:"#b4c2f0",bg:"#212337","bg-alt":"#191a2a","dark-red":"#ff5370","dark-teal":"#4fd6be",fg:"#c8d3f5","fg-alt":"#b4c2f0",green:"#c3e88d",grey:"#444a73",indigo:"#7a88cf","light-red":"#ff98a4","light-teal":"#7af8ca",orange:"#ff995e",red:"#ff757f",region:"#383e5c",teal:"#77e0c6",yellow:"#ffc777"},"monokai-spectrum":{base0:"#F0F4FC",base1:"#E3EAF5",base2:"#D8DEE9",base3:"#C2D0E7",base4:"#B8C5DB",base5:"#AEBACF",base6:"#A1ACC0",base7:"#60728C",base8:"#485163",bg:"#E5E9F0","bg-alt":"#D8DEE9",blue:"#3B6EA8",cyan:"#398EAC","dark-blue":"#5272AF","dark-cyan":"#2C7088",fg:"#3B4252","fg-alt":"#2E3440",green:"#4F894C",grey:"#B8C5DB",magenta:"#97365B",orange:"#AC4426",red:"#99324B",teal:"#29838D",violet:"#842879",yellow:"#9A7500"},moonlight:{base0:"#191C25",base1:"#242832",base2:"#2C333F",base3:"#373E4C",base4:"#434C5E",base5:"#4C566A",base6:"#9099AB",base7:"#D8DEE9",base8:"#F0F4FC",bg:"#2E3440","bg-alt":"#272C36",blue:"#81A1C1",cyan:"#88C0D0","dark-blue":"#5E81AC","dark-cyan":"#507681",fg:"#ECEFF4","fg-alt":"#E5E9F0",green:"#A3BE8C",grey:"#434C5E",magenta:"#B48EAD",orange:"#D08770",red:"#BF616A",teal:"#8FBCBB",violet:"#5D80AE",yellow:"#EBCB8B"},"nord-light":{base0:"#0d0f11",base1:"#1e272c",base2:"#212122",base3:"#2f3f48",base4:"#3c4c55",base5:"#556873",base6:"#6A7D89",base7:"#899BA6",base8:"#e6eef3",bg:"#3c4c55","bg-alt":"#44545d",blue:"#83AFE5",cyan:"#7FC1CA","dark-blue":"#759DCE","dark-cyan":"#659AA1",fg:"#c5d4dd","fg-alt":"#c5c8c6",green:"#A8CE93",grey:"#899BA6",magenta:"#D18EC2",orange:"#F2C38F",red:"#DF8C8C",teal:"#95BEBC",violet:"#9A93E1",yellow:"#DADA93"},nord:{base0:"#1B2B34",base1:"#343D46",base2:"#4F5B66",base3:"#65737E",base4:"#A7ADBA",base5:"#C0C5CE",base6:"#CDD3DE",base7:"#D8DEE9",base8:"#D8DEE9",bg:"#1B2B34","bg-alt":"#14232D",blue:"#6699CC",cyan:"#5FB3B3","dark-blue":"#6699CC","dark-cyan":"#5FB3B3",fg:"#D8DEE9","fg-alt":"#CDD3DE",green:"#99C794",grey:"#A7ADBA",magenta:"#E27E8D",orange:"#F99157",red:"#EC5f67",teal:"#5FB3B3",violet:"#C594C5",yellow:"#FAC863"},nova:{base0:"#1B2229",base1:"#1c1f24",base2:"#202328",base3:"#23272e",base4:"#3f444a",base5:"#5B6268",base6:"#686b78",base7:"#9ca0a4",base8:"#DFDFDF",bg:"#1c1d20","bg-alt":"#151619",blue:"#4fb3d8",cyan:"#4fb3d8","dark-blue":"#5689f0","dark-cyan":"#4fb3d8",fg:"#cbccd1","fg-alt":"#5B6268",green:"#78bd65",grey:"#3f444a",magenta:"#b978ab",orange:"#ee7b29",red:"#ea3d54",teal:"#78bd65",violet:"#b978ab",yellow:"#fedd38"},"oceanic-next":{base0:"#f0f0f0",base1:"#e7e7e7",base2:"#dfdfdf",base3:"#c6c7c7",base4:"#9ca0a4",base5:"#383a42",base6:"#202328",base7:"#1c1f24",base8:"#1b2229",bg:"#fafafa","bg-alt":"#f0f0f0",blue:"#4078f2",cyan:"#0184bc","dark-blue":"#a0bcf8","dark-cyan":"#005478",fg:"#383a42","fg-alt":"#c6c7c7",green:"#50a14f",grey:"#9ca0a4",magenta:"#a626a4",orange:"#da8548",red:"#e45649",teal:"#4db5bd",violet:"#b751b6",yellow:"#986801"},"old-hope":{base0:"#1B2229",base1:"#1c1f24",base2:"#202328",base3:"#23272e",base4:"#3f444a",base5:"#5B6268",base6:"#73797e",base7:"#9ca0a4",base8:"#DFDFDF",bg:"#282c34","bg-alt":"#21242b",blue:"#51afef",cyan:"#46D9FF","dark-blue":"#2257A0","dark-cyan":"#5699AF",fg:"#bbc2cf","fg-alt":"#5B6268",green:"#98be65",grey:"#3f444a",magenta:"#c678dd",orange:"#da8548",red:"#ff6c6b",teal:"#4db5bd",violet:"#a9a1e1",yellow:"#ECBE7B"},one:{base0:"#1B2229",base1:"#1c1f24",base2:"#202328",base3:"#2F3237",base4:"#4f5b66",base5:"#65737E",base6:"#73797e",base7:"#9ca0a4",base8:"#DFDFDF",bg:"#2b303b","bg-alt":"#232830",blue:"#8FA1B3",cyan:"#46D9FF","dark-blue":"#2257A0","dark-cyan":"#5699AF",fg:"#c0c5ce","fg-alt":"#c0c5ce",green:"#A3BE8C",grey:"#4f5b66",magenta:"#c678dd",orange:"#D08770",red:"#BF616A",teal:"#4db5bd",violet:"#b48ead",yellow:"#ECBE7B"},"one-light":{base0:"#f0f0f0",base1:"#e7e7e7",base2:"#dfdfdf",base3:"#c6c7c7",base4:"#9ca0a4",base5:"#383a42",base6:"#202328",base7:"#1c1f24",base8:"#1b2229",bg:"#fafafa","bg-alt":"#f0f0f0",blue:"#014980",cyan:"#0184bc","dark-blue":"#030f64",fg:"#383a42","fg-alt":"#c6c7c7",green:"#556b2f",grey:"#383a42",magenta:"#a626a4",orange:"#8a3b3c",red:"#e45649",teal:"#4db5bd",violet:"#b751b6",yellow:"#986801","yellow-alt":"#fafadd"},"one-vibrant":{base0:"#1c1f24",base1:"#1c1f24",base2:"#21272d",base3:"#23272e",base4:"#484854",base5:"#62686E",base6:"#757B80",base7:"#9ca0a4",base8:"#DFDFDF",bg:"#242730","bg-alt":"#2a2e38",blue:"#51afef",cyan:"#5cEfFF","dark-blue":"#1f5582","dark-cyan":"#6A8FBF",fg:"#bbc2cf","fg-alt":"#5D656B",green:"#7bc275",grey:"#484854",magenta:"#C57BDB",orange:"#e69055",red:"#ff665c",teal:"#4db5bd",violet:"#a991f1",yellow:"#FCCE7B"},"opera-light":{base0:"#fafafa",base1:"#f5f5f5",base2:"#eeeeee",base3:"#e0e0e0",base4:"#bdbdbd",base5:"#9e9e9e",base6:"#757575",base7:"#616161",base8:"#424242",bg:"#fafafa","bg-alt":"#eeeeee",blue:"#3b6ea8",cyan:"#398eac","dark-blue":"#5272AF","dark-cyan":"#2c7088",fg:"#2a2a2a","fg-alt":"#454545",green:"#4f894c",grey:"#bdbdbd",magenta:"#97365b",orange:"#ac4426",red:"#99324b",teal:"#29838d",violet:"#842879",yellow:"#9a7500"},opera:{base0:"#000000",base1:"#1e1e1e",base2:"#2e2e2e",base3:"#262626",base4:"#3f3f3f",base5:"#525252",base6:"#6b6b6b",base7:"#979797",base8:"#dfdfdf",bg:"#323334","bg-alt":"#222224",blue:"#80A0C2",cyan:"#86C0D1","dark-blue":"#5C748E","dark-cyan":"#507681",fg:"#eceff4","fg-alt":"#727269",green:"#A2BF8A",grey:"#3f3f3f",magenta:"#B58DAE",orange:"#D2876D",red:"#C16069",teal:"#8EBCBB",violet:"#5D80AE",yellow:"#ECCC87"},"outrun-electric":{base0:"#131033",base1:"#1f1147",base2:"#110d26",base3:"#3b4167",base4:"#2d2844",base5:"#BA45A3",base6:"#6A6EA3",base7:"#6564D1",base8:"#919ad9",bg:"#0c0a20","bg-alt":"#090819",blue:"#1ea8fc",cyan:"#42c6ff","dark-blue":"#3F88AD","dark-cyan":"#204052",fg:"#f2f3f7","fg-alt":"#7984D1",green:"#a7da1e",grey:"#546A90",magenta:"#ff2afc",orange:"#cf433e",red:"#e61f44",teal:"#A875FF",violet:"#df85ff",yellow:"#ffd400"},palenight:{base0:"#1c1f2b",base1:"#1e212e",base2:"#232635",base3:"#3C435E",base4:"#4E5579",base5:"#676E95",base6:"#697098",base7:"#717CB4",base8:"#A6Accd",bg:"#292D3E","bg-alt":"#242837",blue:"#82aaff",cyan:"#89DDFF","dark-blue":"#7986E7","dark-cyan":"#80cbc4",fg:"#EEFFFF","fg-alt":"#BFC7D5",green:"#c3e88d",grey:"#676E95",magenta:"#c792ea",orange:"#f78c6c",red:"#ff5370",teal:"#44b9b1",violet:"#bb80b3",yellow:"#ffcb6b"},peacock:{bg:"#2b2a27","bg-alt":"#1F1E1D",base0:"#2b2a27",base1:"#1c1f24",base2:"#202328",base3:"#23272e",base4:"#3f444a",base5:"#5B6268",base6:"#73797e",base7:"#9ca0a4",base8:"#DFDFDF",fg:"#ede0ce","fg-alt":"#5B6268",grey:"#3f444a",white:"#f8f8f0",red:"#ff5d38",orange:"#cb4b16",green:"#98be65",teal:"#26a6a6",yellow:"#bcd42a",blue:"#51afef","dark-blue":"#2257A0",magenta:"#c678dd",violet:"#a9a1e1",cyan:"#46D9FF","dark-cyan":"#5699AF"},"plain-dark":{base0:"#838083",base1:"#0e0c0a",base2:"#bbbbbb",base3:"#444444",base4:"#202020",base5:"#545053",base6:"#050505",base7:"#ffdddd",base8:"#050505",bg:"#222222","bg-alt":"#434343",blue:"#d7d5d1",cyan:"#d7d5d1","dark-blue":"#d7d5d1","dark-cyan":"#d7d5d1",fg:"#d7d5d1","fg-alt":"#e7e5e3",green:"#d7d5d1",grey:"#d7d5d1",magenta:"#d7d5d1",orange:"#d7d5d1",red:"#d7d5d1",teal:"#d7d5d1",violet:"#d7d5d1",yellow:"#d7d5d1"},plain:{base0:"#969896",base1:"#f1f3f5",base2:"#444444",base3:"#cccccc",base4:"#e7e7e7",base5:"#c5c8c6",base6:"#fafafa",base7:"#dfdfdf",base8:"#fafafa",bg:"#ffffff","bg-alt":"#f3f3f3",blue:"#282a2e",cyan:"#282a2e","dark-blue":"#282a2e","dark-cyan":"#282a2e",fg:"#282a2e","fg-alt":"#48494d",green:"#282a2e",grey:"#282a2e",magenta:"#282a2e",orange:"#282a2e",red:"#282a2e",teal:"#282a2e",violet:"#282a2e",yellow:"#282a2e"},rouge:{base0:"#070A0E",base1:"#0E131D",base2:"#151D2B",base3:"#1F2A3F",base4:"#5D636E",base5:"#64727d",base6:"#B16E75",base7:"#E8E9EB",base8:"#F0F4FC",bg:"#172030","bg-alt":"#172030",blue:"#6e94b9","dark-blue":"#1E6378",fg:"#FAFFF6","fg-alt":"#A7ACB9",green:"#A3B09A",grey:"#64727d","light-red":"#DB6E8F",magenta:"#b18bb1",orange:"#eabe9a",red:"#c6797e",salmon:"#F9B5AC",teal:"#7ea9a9",violet:"#5D80AE",yellow:"#F7E3AF"},"shades-of-purple":{base0:"#161a2a",base1:"#191a2a",base2:"#1e2030",base3:"#222436",base4:"#a599e9",base5:"#444a73",base6:"#828bb8",base7:"#a9b8e8",base8:"#b4c2f0",bg:"#2d2b55","bg-alt":"#1e1e3f","dark-green":"#00ff00","dark-red":"#ff5370","dark-teal":"#37fea1",fg:"#e3e9fa","fg-alt":"#b4c2f0",green:"#3ad900",grey:"#444a73",indigo:"#7a88cf","light-green":"#a5ff90","light-red":"#ff98a4",orange:"#ff9d00",red:"#ff000d",region:"#b362ff",selection:"#b362ff"},snazzy:{base0:"#282a36",base1:"#34353e",base2:"#43454f",base3:"#78787e",base4:"#a5a5a9",base5:"#e2e4e5",base6:"#eff0eb",base7:"#f1f1f0",base8:"#ff5c57",bg:"#282a36","bg-alt":"#242631",blue:"#57c7ff",cyan:"#9aedfe","dark-blue":"#459fcc",fg:"#f9f9f9","fg-alt":"#d1d1d1",green:"#5af78e",grey:"#848688",magenta:"#ff6ac1",red:"#ff5c57",ui0:"#848688",ui1:"#606580",ui2:"#3a3d4d",ui3:"#1c1e27",yellow:"#f3f99d"},"solarized-dark-high-contrast":{base0:"#01323d",base1:"#03282F",base2:"#00212C",base3:"#13383C",base4:"#56697A",base5:"#62787f",base6:"#96A7A9",base7:"#788484",base8:"#626C6C",bg:"#002732","bg-alt":"#00212B",blue:"#3c98e0",cyan:"#3cafa5","dark-blue":"#3F88AD","dark-cyan":"#03373f",fg:"#8d9fa1","fg-alt":"#60767e",green:"#93a61a",grey:"#56697A",magenta:"#e2468f",orange:"#db5823",red:"#ec423a",teal:"#35a69c",violet:"#7a7ed2",yellow:"#c49619"},"solarized-dark":{base0:"#073642",base1:"#03282F",base2:"#00212C",base3:"#13383C",base4:"#56697A",base5:"#405A61",base6:"#96A7A9",base7:"#788484",base8:"#626C6C",bg:"#002b36","bg-alt":"#00212B",blue:"#268bd2",cyan:"#2aa198","dark-blue":"#3F88AD","dark-cyan":"#204052",fg:"#839496","fg-alt":"#657b83",green:"#859900",grey:"#56697A",magenta:"#d33682",orange:"#cb4b16",red:"#dc322f",teal:"#35a69c",violet:"#6c71c4",yellow:"#b58900"},"solarized-light":{"dark-cyan":"#204052",cyan:"#2aa198",violet:"#6c71c4",magenta:"#d33682","dark-blue":"#3F88AD",blue:"#268bd2",yellow:"#b58900",teal:"#35a69c",green:"#859900",orange:"#cb4b16",red:"#dc322f",grey:"#E1DBCD",base8:"#626C6C",base7:"#788484",base6:"#96A7A9",base5:"#D6D6D6",base4:"#E1DBCD",base3:"#F2E6CE",base2:"#FCF7E8",base1:"#FCF8ED",base0:"#FFFBF0","fg-alt":"#7B8787","bg-alt":"#EEE8D5",fg:"#556b72",bg:"#FDF6E3"},sourcerer:{base0:"#1d2127",base1:"#1d2127",base2:"#272727",base3:"#32353f",base4:"#494952",base5:"#62686E",base6:"#757B80",base7:"#9ca0a4",base8:"#faf4c6",bg:"#171717","bg-alt":"#222222",blue:"#87AFD7",cyan:"#87ceeb","dark-blue":"#6688aa",fg:"#c2c2b0","fg-alt":"#5D656B",green:"#87875f","green-br":"#719611",grey:"#686858",magenta:"#8787AF",orange:"#ff9800",red:"#aa4450",teal:"#578F8F",violet:"#8181a6",yellow:"#cc8800"},spacegrey:{base0:"#1B2229",base1:"#1c1f24",base2:"#202328",base3:"#2F3237",base4:"#4f5b66",base5:"#65737E",base6:"#73797e",base7:"#9ca0a4",base8:"#DFDFDF",bg:"#2b303b","bg-alt":"#232830",blue:"#8FA1B3",cyan:"#46D9FF","dark-blue":"#2257A0","dark-cyan":"#5699AF",fg:"#c0c5ce","fg-alt":"#c0c5ce",green:"#A3BE8C",grey:"#4f5b66",magenta:"#c678dd",orange:"#D08770",red:"#BF616A",teal:"#4db5bd",violet:"#b48ead",yellow:"#ECBE7B"},"tomorrow-day":{base0:"#f2f2f2",base1:"#e4e4e4",base2:"#dedede",base3:"#d6d4d4",base4:"#C0bfbf",base5:"#a3a1a1",base6:"#8a8787",base7:"#696769",base8:"#000000",bg:"#ffffff","bg-alt":"#f2f2f2",blue:"#4271ae",cyan:"#8abeb7","dark-blue":"#315482","dark-cyan":"#b8d8d3",fg:"#4d4d4c","fg-alt":"#1e1e1e",green:"#718c00",grey:"#8e908c",magenta:"#c678dd",orange:"#f5871f",red:"#c82829",teal:"#3e999f",violet:"#8959a8",yellow:"#eab700"},"tomorrow-night":{base0:"#0d0d0d",base1:"#1b1b1b",base2:"#212122",base3:"#292b2b",base4:"#3f4040",base5:"#5c5e5e",base6:"#757878",base7:"#969896",base8:"#ffffff",bg:"#1d1f21","bg-alt":"#161719",blue:"#81a2be",cyan:"#8abeb7","dark-blue":"#41728e","dark-cyan":"#52726d",fg:"#c5c8c6","fg-alt":"#767876",green:"#b5bd68",grey:"#5a5b5a",magenta:"#c9b4cf",orange:"#de935f",red:"#cc6666",teal:"#81a2be",violet:"#b294bb",yellow:"#f0c674"},wilmersdorf:{bg:"#282b33","bg-alt":"#1f2024",base0:"#222228",base1:"#282b33",base2:"#34373e",base3:"#41454b",base4:"#515462",base5:"#888395",base6:"#929292",base7:"#727269",base8:"#eceff4","fg-alt":"#c9d9ff",fg:"#c6c6c6",grey:"#515462",red:"#e1c1ee",orange:"#a6c1e0",green:"#5b94ab",teal:"#7ebebd",yellow:"#cfcf9c"},xcode:{base0:"#0d0d0d",base1:"#1b1b1b",base2:"#212122",base3:"#292b2b",base4:"#3f4040",base5:"#5c5e5e",base6:"#757878",base7:"#969896",base8:"#ffffff",bg:"#292A30","bg-alt":"#252629",blue:"#5DD8FF",cyan:"#8abeb7","dark-cyan":"#52726d",fg:"#FFFFFF","fg-alt":"#999999",green:"#67B7A4",grey:"#6C7986","light-green":"#9EF1DD",magenta:"#D0A8FF",orange:"#FD8F3F",red:"#FC6A5D",teal:"#59B0CF",violet:"#A167E6",yellow:"#D0BF68"},zenburn:{"dark-cyan":"#5699AF",cyan:"#93E0E3",violet:"#a9a1e1",magenta:"#DC8CC3","dark-blue":"#2257A0",blue:"#8CD0D3",yellow:"#F0DFAF",teal:"#4db5bd",green:"#7F9F7F",orange:"#DFAF8F",red:"#CC9393",grey:"#494949","fg-alt":"#989890",fg:"#DCDCDC",base8:"#FFFFEF",base7:"#6F6F6F",base6:"#5F5F5F",base5:"#4F4F4F",base4:"#494949",base3:"#383838",base2:"#303030",base1:"#2B2B2B",base0:"#000000","bg-alt":"#383838",bg:"#3F3F3F"}}},93264:function(e,r,t){"use strict";t.r(r),t.d(r,{default:function(){return va}});var n=t(92809),a=(t(43146),t(70917)),o=t(67294),i=function(){return o.createElement(a.xB,{styles:'\n html {\n line-height: 1.5;\n -webkit-text-size-adjust: 100%;\n font-family: system-ui, sans-serif;\n -webkit-font-smoothing: antialiased;\n text-rendering: optimizeLegibility;\n -moz-osx-font-smoothing: grayscale;\n touch-action: manipulation;\n }\n\n body {\n position: relative;\n min-height: 100%;\n font-feature-settings: \'kern\';\n }\n\n *,\n *::before,\n *::after {\n border-width: 0;\n border-style: solid;\n box-sizing: border-box;\n }\n\n main {\n display: block;\n }\n\n hr {\n border-top-width: 1px;\n box-sizing: content-box;\n height: 0;\n overflow: visible;\n }\n\n pre,\n code,\n kbd,\n samp {\n font-family: SFMono-Regular, Menlo, Monaco, Consolas, monospace;\n font-size: 1em;\n }\n\n a {\n background-color: transparent;\n color: inherit;\n text-decoration: inherit;\n }\n\n abbr[title] {\n border-bottom: none;\n text-decoration: underline;\n -webkit-text-decoration: underline dotted;\n text-decoration: underline dotted;\n }\n\n b,\n strong {\n font-weight: bold;\n }\n\n small {\n font-size: 80%;\n }\n\n sub,\n sup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n }\n\n sub {\n bottom: -0.25em;\n }\n\n sup {\n top: -0.5em;\n }\n\n img {\n border-style: none;\n }\n\n button,\n input,\n optgroup,\n select,\n textarea {\n font-family: inherit;\n font-size: 100%;\n line-height: 1.15;\n margin: 0;\n }\n\n button,\n input {\n overflow: visible;\n }\n\n button,\n select {\n text-transform: none;\n }\n\n button::-moz-focus-inner,\n [type="button"]::-moz-focus-inner,\n [type="reset"]::-moz-focus-inner,\n [type="submit"]::-moz-focus-inner {\n border-style: none;\n padding: 0;\n }\n\n fieldset {\n padding: 0.35em 0.75em 0.625em;\n }\n\n legend {\n box-sizing: border-box;\n color: inherit;\n display: table;\n max-width: 100%;\n padding: 0;\n white-space: normal;\n }\n\n progress {\n vertical-align: baseline;\n }\n\n textarea {\n overflow: auto;\n }\n\n [type="checkbox"],\n [type="radio"] {\n box-sizing: border-box;\n padding: 0;\n }\n\n [type="number"]::-webkit-inner-spin-button,\n [type="number"]::-webkit-outer-spin-button {\n -webkit-appearance: none !important;\n }\n\n input[type="number"] {\n -moz-appearance: textfield;\n }\n\n [type="search"] {\n -webkit-appearance: textfield;\n outline-offset: -2px;\n }\n\n [type="search"]::-webkit-search-decoration {\n -webkit-appearance: none !important;\n }\n\n ::-webkit-file-upload-button {\n -webkit-appearance: button;\n font: inherit;\n }\n\n details {\n display: block;\n }\n\n summary {\n display: list-item;\n }\n\n template {\n display: none;\n }\n\n [hidden] {\n display: none !important;\n }\n\n body,\n blockquote,\n dl,\n dd,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n hr,\n figure,\n p,\n pre {\n margin: 0;\n }\n\n button {\n background: transparent;\n padding: 0;\n }\n\n fieldset {\n margin: 0;\n padding: 0;\n }\n\n ol,\n ul {\n margin: 0;\n padding: 0;\n }\n\n textarea {\n resize: vertical;\n }\n\n button,\n [role="button"] {\n cursor: pointer;\n }\n\n button::-moz-focus-inner {\n border: 0 !important;\n }\n\n table {\n border-collapse: collapse;\n }\n\n h1,\n h2,\n h3,\n h4,\n h5,\n h6 {\n font-size: inherit;\n font-weight: inherit;\n }\n\n button,\n input,\n optgroup,\n select,\n textarea {\n padding: 0;\n line-height: inherit;\n color: inherit;\n }\n\n img,\n svg,\n video,\n canvas,\n audio,\n iframe,\n embed,\n object {\n display: block;\n }\n\n img,\n video {\n max-width: 100%;\n height: auto;\n }\n\n [data-js-focus-visible] :focus:not([data-focus-visible-added]) {\n outline: none;\n box-shadow: none;\n }\n\n select::-ms-expand {\n display: none;\n }\n '})},l=t(46871),s=t(105),c=t(20949),u=t(85393),d=t(97375),f={px:"1px",.5:"0.125rem",1:"0.25rem",1.5:"0.375rem",2:"0.5rem",2.5:"0.625rem",3:"0.75rem",3.5:"0.875rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem",12:"3rem",14:"3.5rem",16:"4rem",20:"5rem",24:"6rem",28:"7rem",32:"8rem",36:"9rem",40:"10rem",44:"11rem",48:"12rem",52:"13rem",56:"14rem",60:"15rem",64:"16rem",72:"18rem",80:"20rem",96:"24rem"};function b(){return(b=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e}).apply(this,arguments)}var p=b({},f,{max:"max-content",min:"min-content",full:"100%","3xs":"14rem","2xs":"16rem",xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem","8xl":"90rem"},{container:{sm:"640px",md:"768px",lg:"1024px",xl:"1280px"}}),g=t(38554),h=t.n(g);t(9839);function m(e){return Array.isArray(e)}function v(e){var r=typeof e;return null!=e&&("object"===r||"function"===r)&&!m(e)}!function(e){var r=new WeakMap}((function(e,r,t,n){var a="string"===typeof r?r.split("."):[r];for(n=0;n<a.length&&e;n+=1)e=e[a[n]];return void 0===e?t:e}));var y=function(e){return e.reduce((function(e,r){var t=r[0],n=r[1];return e[t]=n,e}),{})};"undefined"===typeof window||!window.document||window.document.createElement;["input:not([disabled])","select:not([disabled])","textarea:not([disabled])","embed","iframe","object","a[href]","area[href]","button:not([disabled])","[tabindex]","audio[controls]","video[controls]","*[tabindex]:not([aria-disabled])","*[contenteditable]"].join();function x(e){var r;return function(){if(e){for(var t=arguments.length,n=new Array(t),a=0;a<t;a++)n[a]=arguments[a];r=e.apply(this,n),e=null}return r}}x((function(e){return function(){e.condition,e.message}})),x((function(e){return function(){e.condition,e.message}}));Number.MIN_SAFE_INTEGER,Number.MAX_SAFE_INTEGER;Object.freeze(["base","sm","md","lg","xl","2xl"]);function w(e,r){for(var t=0;t<r.length;t++){var n=r[t];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var k=function(){function e(e){var r=this;this.map={},this.called=!1,this.assert=function(){if(r.called)throw new Error("[anatomy] .part(...) should only be called once. Did you mean to use .extend(...) ?");r.called=!0},this.parts=function(){r.assert();for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];for(var a=0,o=t;a<o.length;a++){var i=o[a];r.map[i]=r.toPart(i)}return r},this.extend=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];for(var a=0,o=t;a<o.length;a++){var i=o[a];i in r.map||(r.map[i]=r.toPart(i))}return r},this.toPart=function(e){var t="chakra-"+(["container","root"].includes(null!=e?e:"")?[r.name]:[r.name,e]).filter(Boolean).join("__");return{className:t,selector:"."+t,toString:function(){return e}}},this.__type={}}var r,t,n;return r=e,(t=[{key:"selectors",get:function(){return y(Object.entries(this.map).map((function(e){return[e[0],e[1].selector]})))}},{key:"classNames",get:function(){return y(Object.entries(this.map).map((function(e){return[e[0],e[1].className]})))}},{key:"keys",get:function(){return Object.keys(this.map)}}])&&w(r.prototype,t),n&&w(r,n),e}();function S(e){return new k(e)}function E(e){return v(e)&&e.reference?e.reference:String(e)}var C=function(e){for(var r=arguments.length,t=new Array(r>1?r-1:0),n=1;n<r;n++)t[n-1]=arguments[n];return t.map(E).join(" "+e+" ").replace(/calc/g,"")},A=function(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return"calc("+C.apply(void 0,["+"].concat(r))+")"},F=function(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return"calc("+C.apply(void 0,["-"].concat(r))+")"},B=function(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return"calc("+C.apply(void 0,["*"].concat(r))+")"},_=function(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return"calc("+C.apply(void 0,["/"].concat(r))+")"},D=function(e){var r=E(e);return null==r||Number.isNaN(parseFloat(r))?B(r,-1):String(r).startsWith("-")?String(r).slice(1):"-"+r},R=Object.assign((function(e){return{add:function(){for(var r=arguments.length,t=new Array(r),n=0;n<r;n++)t[n]=arguments[n];return R(A.apply(void 0,[e].concat(t)))},subtract:function(){for(var r=arguments.length,t=new Array(r),n=0;n<r;n++)t[n]=arguments[n];return R(F.apply(void 0,[e].concat(t)))},multiply:function(){for(var r=arguments.length,t=new Array(r),n=0;n<r;n++)t[n]=arguments[n];return R(B.apply(void 0,[e].concat(t)))},divide:function(){for(var r=arguments.length,t=new Array(r),n=0;n<r;n++)t[n]=arguments[n];return R(_.apply(void 0,[e].concat(t)))},negate:function(){return R(D(e))},toString:function(){return e.toString()}}}),{add:A,subtract:F,multiply:B,divide:_,negate:D});var T=S("accordion").parts("container","item","button","panel").extend("icon"),z=S("alert").parts("title","description","container").extend("icon"),P=S("avatar").parts("label","badge","container").extend("excessLabel","group"),M=S("breadcrumb").parts("link","item","container").extend("separator"),j=(S("button").parts(),S("checkbox").parts("control","icon","container").extend("label")),O=(S("progress").parts("track","filledTrack").extend("label"),S("drawer").parts("overlay","dialogContainer","dialog").extend("header","closeButton","body","footer")),I=S("editable").parts("preview","input"),W=S("form").parts("container","requiredIndicator","helperText"),N=S("formError").parts("text","icon"),L=S("input").parts("addon","field","element"),H=S("list").parts("container","item","icon"),$=S("menu").parts("button","list","item").extend("groupTitle","command","divider"),q=S("modal").parts("overlay","dialogContainer","dialog").extend("header","closeButton","body","footer"),Z=S("numberinput").parts("root","field","stepperGroup","stepper"),U=(S("pininput").parts("field"),S("popover").parts("content","header","body","footer").extend("popper","arrow","closeButton")),V=S("progress").parts("label","filledTrack","track"),Y=S("radio").parts("container","control","label"),X=S("select").parts("field","icon"),G=S("slider").parts("container","track","thumb","filledTrack"),K=S("stat").parts("container","label","helpText","number","icon"),J=S("switch").parts("container","track","thumb"),Q=S("table").parts("table","thead","tbody","tr","th","td","tfoot","caption"),ee=S("tabs").parts("root","tab","tablist","tabpanel","tabpanels","indicator"),re=S("tag").parts("container","label","closeButton");function te(e,r){(function(e){return"string"===typeof e&&-1!==e.indexOf(".")&&1===parseFloat(e)})(e)&&(e="100%");var t=function(e){return"string"===typeof e&&-1!==e.indexOf("%")}(e);return e=360===r?e:Math.min(r,Math.max(0,parseFloat(e))),t&&(e=parseInt(String(e*r),10)/100),Math.abs(e-r)<1e-6?1:e=360===r?(e<0?e%r+r:e%r)/parseFloat(String(r)):e%r/parseFloat(String(r))}function ne(e){return Math.min(1,Math.max(0,e))}function ae(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function oe(e){return e<=1?100*Number(e)+"%":e}function ie(e){return 1===e.length?"0"+e:String(e)}function le(e,r,t){e=te(e,255),r=te(r,255),t=te(t,255);var n=Math.max(e,r,t),a=Math.min(e,r,t),o=0,i=0,l=(n+a)/2;if(n===a)i=0,o=0;else{var s=n-a;switch(i=l>.5?s/(2-n-a):s/(n+a),n){case e:o=(r-t)/s+(r<t?6:0);break;case r:o=(t-e)/s+2;break;case t:o=(e-r)/s+4}o/=6}return{h:o,s:i,l:l}}function se(e,r,t){return t<0&&(t+=1),t>1&&(t-=1),t<1/6?e+6*t*(r-e):t<.5?r:t<2/3?e+(r-e)*(2/3-t)*6:e}function ce(e,r,t){e=te(e,255),r=te(r,255),t=te(t,255);var n=Math.max(e,r,t),a=Math.min(e,r,t),o=0,i=n,l=n-a,s=0===n?0:l/n;if(n===a)o=0;else{switch(n){case e:o=(r-t)/l+(r<t?6:0);break;case r:o=(t-e)/l+2;break;case t:o=(e-r)/l+4}o/=6}return{h:o,s:s,v:i}}function ue(e,r,t,n){var a=[ie(Math.round(e).toString(16)),ie(Math.round(r).toString(16)),ie(Math.round(t).toString(16))];return n&&a[0].startsWith(a[0].charAt(1))&&a[1].startsWith(a[1].charAt(1))&&a[2].startsWith(a[2].charAt(1))?a[0].charAt(0)+a[1].charAt(0)+a[2].charAt(0):a.join("")}function de(e){return Math.round(255*parseFloat(e)).toString(16)}function fe(e){return be(e)/255}function be(e){return parseInt(e,16)}var pe={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function ge(e){var r,t,n,a={r:0,g:0,b:0},o=1,i=null,l=null,s=null,c=!1,u=!1;return"string"===typeof e&&(e=function(e){if(0===(e=e.trim().toLowerCase()).length)return!1;var r=!1;if(pe[e])e=pe[e],r=!0;else if("transparent"===e)return{r:0,g:0,b:0,a:0,format:"name"};var t=ye.rgb.exec(e);if(t)return{r:t[1],g:t[2],b:t[3]};if(t=ye.rgba.exec(e))return{r:t[1],g:t[2],b:t[3],a:t[4]};if(t=ye.hsl.exec(e))return{h:t[1],s:t[2],l:t[3]};if(t=ye.hsla.exec(e))return{h:t[1],s:t[2],l:t[3],a:t[4]};if(t=ye.hsv.exec(e))return{h:t[1],s:t[2],v:t[3]};if(t=ye.hsva.exec(e))return{h:t[1],s:t[2],v:t[3],a:t[4]};if(t=ye.hex8.exec(e))return{r:be(t[1]),g:be(t[2]),b:be(t[3]),a:fe(t[4]),format:r?"name":"hex8"};if(t=ye.hex6.exec(e))return{r:be(t[1]),g:be(t[2]),b:be(t[3]),format:r?"name":"hex"};if(t=ye.hex4.exec(e))return{r:be(t[1]+t[1]),g:be(t[2]+t[2]),b:be(t[3]+t[3]),a:fe(t[4]+t[4]),format:r?"name":"hex8"};if(t=ye.hex3.exec(e))return{r:be(t[1]+t[1]),g:be(t[2]+t[2]),b:be(t[3]+t[3]),format:r?"name":"hex"};return!1}(e)),"object"===typeof e&&(xe(e.r)&&xe(e.g)&&xe(e.b)?(r=e.r,t=e.g,n=e.b,a={r:255*te(r,255),g:255*te(t,255),b:255*te(n,255)},c=!0,u="%"===String(e.r).substr(-1)?"prgb":"rgb"):xe(e.h)&&xe(e.s)&&xe(e.v)?(i=oe(e.s),l=oe(e.v),a=function(e,r,t){e=6*te(e,360),r=te(r,100),t=te(t,100);var n=Math.floor(e),a=e-n,o=t*(1-r),i=t*(1-a*r),l=t*(1-(1-a)*r),s=n%6;return{r:255*[t,i,o,o,l,t][s],g:255*[l,t,t,i,o,o][s],b:255*[o,o,l,t,t,i][s]}}(e.h,i,l),c=!0,u="hsv"):xe(e.h)&&xe(e.s)&&xe(e.l)&&(i=oe(e.s),s=oe(e.l),a=function(e,r,t){var n,a,o;if(e=te(e,360),r=te(r,100),t=te(t,100),0===r)a=t,o=t,n=t;else{var i=t<.5?t*(1+r):t+r-t*r,l=2*t-i;n=se(l,i,e+1/3),a=se(l,i,e),o=se(l,i,e-1/3)}return{r:255*n,g:255*a,b:255*o}}(e.h,i,s),c=!0,u="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(o=e.a)),o=ae(o),{ok:c,format:e.format||u,r:Math.min(255,Math.max(a.r,0)),g:Math.min(255,Math.max(a.g,0)),b:Math.min(255,Math.max(a.b,0)),a:o}}var he="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)",me="[\\s|\\(]+("+he+")[,|\\s]+("+he+")[,|\\s]+("+he+")\\s*\\)?",ve="[\\s|\\(]+("+he+")[,|\\s]+("+he+")[,|\\s]+("+he+")[,|\\s]+("+he+")\\s*\\)?",ye={CSS_UNIT:new RegExp(he),rgb:new RegExp("rgb"+me),rgba:new RegExp("rgba"+ve),hsl:new RegExp("hsl"+me),hsla:new RegExp("hsla"+ve),hsv:new RegExp("hsv"+me),hsva:new RegExp("hsva"+ve),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function xe(e){return Boolean(ye.CSS_UNIT.exec(String(e)))}var we=function(){function e(r,t){var n;if(void 0===r&&(r=""),void 0===t&&(t={}),r instanceof e)return r;"number"===typeof r&&(r=function(e){return{r:e>>16,g:(65280&e)>>8,b:255&e}}(r)),this.originalInput=r;var a=ge(r);this.originalInput=r,this.r=a.r,this.g=a.g,this.b=a.b,this.a=a.a,this.roundA=Math.round(100*this.a)/100,this.format=null!==(n=t.format)&&void 0!==n?n:a.format,this.gradientType=t.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=a.ok}return e.prototype.isDark=function(){return this.getBrightness()<128},e.prototype.isLight=function(){return!this.isDark()},e.prototype.getBrightness=function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},e.prototype.getLuminance=function(){var e=this.toRgb(),r=e.r/255,t=e.g/255,n=e.b/255;return.2126*(r<=.03928?r/12.92:Math.pow((r+.055)/1.055,2.4))+.7152*(t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4))+.0722*(n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4))},e.prototype.getAlpha=function(){return this.a},e.prototype.setAlpha=function(e){return this.a=ae(e),this.roundA=Math.round(100*this.a)/100,this},e.prototype.toHsv=function(){var e=ce(this.r,this.g,this.b);return{h:360*e.h,s:e.s,v:e.v,a:this.a}},e.prototype.toHsvString=function(){var e=ce(this.r,this.g,this.b),r=Math.round(360*e.h),t=Math.round(100*e.s),n=Math.round(100*e.v);return 1===this.a?"hsv("+r+", "+t+"%, "+n+"%)":"hsva("+r+", "+t+"%, "+n+"%, "+this.roundA+")"},e.prototype.toHsl=function(){var e=le(this.r,this.g,this.b);return{h:360*e.h,s:e.s,l:e.l,a:this.a}},e.prototype.toHslString=function(){var e=le(this.r,this.g,this.b),r=Math.round(360*e.h),t=Math.round(100*e.s),n=Math.round(100*e.l);return 1===this.a?"hsl("+r+", "+t+"%, "+n+"%)":"hsla("+r+", "+t+"%, "+n+"%, "+this.roundA+")"},e.prototype.toHex=function(e){return void 0===e&&(e=!1),ue(this.r,this.g,this.b,e)},e.prototype.toHexString=function(e){return void 0===e&&(e=!1),"#"+this.toHex(e)},e.prototype.toHex8=function(e){return void 0===e&&(e=!1),function(e,r,t,n,a){var o=[ie(Math.round(e).toString(16)),ie(Math.round(r).toString(16)),ie(Math.round(t).toString(16)),ie(de(n))];return a&&o[0].startsWith(o[0].charAt(1))&&o[1].startsWith(o[1].charAt(1))&&o[2].startsWith(o[2].charAt(1))&&o[3].startsWith(o[3].charAt(1))?o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0)+o[3].charAt(0):o.join("")}(this.r,this.g,this.b,this.a,e)},e.prototype.toHex8String=function(e){return void 0===e&&(e=!1),"#"+this.toHex8(e)},e.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},e.prototype.toRgbString=function(){var e=Math.round(this.r),r=Math.round(this.g),t=Math.round(this.b);return 1===this.a?"rgb("+e+", "+r+", "+t+")":"rgba("+e+", "+r+", "+t+", "+this.roundA+")"},e.prototype.toPercentageRgb=function(){var e=function(e){return Math.round(100*te(e,255))+"%"};return{r:e(this.r),g:e(this.g),b:e(this.b),a:this.a}},e.prototype.toPercentageRgbString=function(){var e=function(e){return Math.round(100*te(e,255))};return 1===this.a?"rgb("+e(this.r)+"%, "+e(this.g)+"%, "+e(this.b)+"%)":"rgba("+e(this.r)+"%, "+e(this.g)+"%, "+e(this.b)+"%, "+this.roundA+")"},e.prototype.toName=function(){if(0===this.a)return"transparent";if(this.a<1)return!1;for(var e="#"+ue(this.r,this.g,this.b,!1),r=0,t=Object.entries(pe);r<t.length;r++){var n=t[r],a=n[0];if(e===n[1])return a}return!1},e.prototype.toString=function(e){var r=Boolean(e);e=null!==e&&void 0!==e?e:this.format;var t=!1,n=this.a<1&&this.a>=0;return r||!n||!e.startsWith("hex")&&"name"!==e?("rgb"===e&&(t=this.toRgbString()),"prgb"===e&&(t=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(t=this.toHexString()),"hex3"===e&&(t=this.toHexString(!0)),"hex4"===e&&(t=this.toHex8String(!0)),"hex8"===e&&(t=this.toHex8String()),"name"===e&&(t=this.toName()),"hsl"===e&&(t=this.toHslString()),"hsv"===e&&(t=this.toHsvString()),t||this.toHexString()):"name"===e&&0===this.a?this.toName():this.toRgbString()},e.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},e.prototype.clone=function(){return new e(this.toString())},e.prototype.lighten=function(r){void 0===r&&(r=10);var t=this.toHsl();return t.l+=r/100,t.l=ne(t.l),new e(t)},e.prototype.brighten=function(r){void 0===r&&(r=10);var t=this.toRgb();return t.r=Math.max(0,Math.min(255,t.r-Math.round(-r/100*255))),t.g=Math.max(0,Math.min(255,t.g-Math.round(-r/100*255))),t.b=Math.max(0,Math.min(255,t.b-Math.round(-r/100*255))),new e(t)},e.prototype.darken=function(r){void 0===r&&(r=10);var t=this.toHsl();return t.l-=r/100,t.l=ne(t.l),new e(t)},e.prototype.tint=function(e){return void 0===e&&(e=10),this.mix("white",e)},e.prototype.shade=function(e){return void 0===e&&(e=10),this.mix("black",e)},e.prototype.desaturate=function(r){void 0===r&&(r=10);var t=this.toHsl();return t.s-=r/100,t.s=ne(t.s),new e(t)},e.prototype.saturate=function(r){void 0===r&&(r=10);var t=this.toHsl();return t.s+=r/100,t.s=ne(t.s),new e(t)},e.prototype.greyscale=function(){return this.desaturate(100)},e.prototype.spin=function(r){var t=this.toHsl(),n=(t.h+r)%360;return t.h=n<0?360+n:n,new e(t)},e.prototype.mix=function(r,t){void 0===t&&(t=50);var n=this.toRgb(),a=new e(r).toRgb(),o=t/100;return new e({r:(a.r-n.r)*o+n.r,g:(a.g-n.g)*o+n.g,b:(a.b-n.b)*o+n.b,a:(a.a-n.a)*o+n.a})},e.prototype.analogous=function(r,t){void 0===r&&(r=6),void 0===t&&(t=30);var n=this.toHsl(),a=360/t,o=[this];for(n.h=(n.h-(a*r>>1)+720)%360;--r;)n.h=(n.h+a)%360,o.push(new e(n));return o},e.prototype.complement=function(){var r=this.toHsl();return r.h=(r.h+180)%360,new e(r)},e.prototype.monochromatic=function(r){void 0===r&&(r=6);for(var t=this.toHsv(),n=t.h,a=t.s,o=t.v,i=[],l=1/r;r--;)i.push(new e({h:n,s:a,v:o})),o=(o+l)%1;return i},e.prototype.splitcomplement=function(){var r=this.toHsl(),t=r.h;return[this,new e({h:(t+72)%360,s:r.s,l:r.l}),new e({h:(t+216)%360,s:r.s,l:r.l})]},e.prototype.onBackground=function(r){var t=this.toRgb(),n=new e(r).toRgb();return new e({r:n.r+(t.r-n.r)*t.a,g:n.g+(t.g-n.g)*t.a,b:n.b+(t.b-n.b)*t.a})},e.prototype.triad=function(){return this.polyad(3)},e.prototype.tetrad=function(){return this.polyad(4)},e.prototype.polyad=function(r){for(var t=this.toHsl(),n=t.h,a=[this],o=360/r,i=1;i<r;i++)a.push(new e({h:(n+i*o)%360,s:t.s,l:t.l}));return a},e.prototype.equals=function(r){return this.toRgbString()===new e(r).toRgbString()},e}();function ke(e){if(void 0===e&&(e={}),void 0!==e.count&&null!==e.count){var r=e.count,t=[];for(e.count=void 0;r>t.length;)e.count=null,e.seed&&(e.seed+=1),t.push(ke(e));return e.count=r,t}var n=function(e,r){var t=Ee(function(e){var r=parseInt(e,10);if(!Number.isNaN(r)&&r<360&&r>0)return[r,r];if("string"===typeof e){var t=Ae.find((function(r){return r.name===e}));if(t){var n=Ce(t);if(n.hueRange)return n.hueRange}var a=new we(e);if(a.isValid){var o=a.toHsv().h;return[o,o]}}return[0,360]}(e),r);t<0&&(t=360+t);return t}(e.hue,e.seed),a=function(e,r){if("monochrome"===r.hue)return 0;if("random"===r.luminosity)return Ee([0,100],r.seed);var t=Se(e).saturationRange,n=t[0],a=t[1];switch(r.luminosity){case"bright":n=55;break;case"dark":n=a-10;break;case"light":a=55}return Ee([n,a],r.seed)}(n,e),o={h:n,s:a,v:function(e,r,t){var n=function(e,r){for(var t=Se(e).lowerBounds,n=0;n<t.length-1;n++){var a=t[n][0],o=t[n][1],i=t[n+1][0],l=t[n+1][1];if(r>=a&&r<=i){var s=(l-o)/(i-a);return s*r+(o-s*a)}}return 0}(e,r),a=100;switch(t.luminosity){case"dark":a=n+20;break;case"light":n=(a+n)/2;break;case"random":n=0,a=100}return Ee([n,a],t.seed)}(n,a,e)};return void 0!==e.alpha&&(o.a=e.alpha),new we(o)}function Se(e){e>=334&&e<=360&&(e-=360);for(var r=0,t=Ae;r<t.length;r++){var n=Ce(t[r]);if(n.hueRange&&e>=n.hueRange[0]&&e<=n.hueRange[1])return n}throw Error("Color not found")}function Ee(e,r){if(void 0===r)return Math.floor(e[0]+Math.random()*(e[1]+1-e[0]));var t=e[1]||1,n=e[0]||0,a=(r=(9301*r+49297)%233280)/233280;return Math.floor(n+a*(t-n))}function Ce(e){var r=e.lowerBounds[0][0],t=e.lowerBounds[e.lowerBounds.length-1][0],n=e.lowerBounds[e.lowerBounds.length-1][1],a=e.lowerBounds[0][1];return{name:e.name,hueRange:e.hueRange,lowerBounds:e.lowerBounds,saturationRange:[r,t],brightnessRange:[n,a]}}var Ae=[{name:"monochrome",hueRange:null,lowerBounds:[[0,0],[100,0]]},{name:"red",hueRange:[-26,18],lowerBounds:[[20,100],[30,92],[40,89],[50,85],[60,78],[70,70],[80,60],[90,55],[100,50]]},{name:"orange",hueRange:[19,46],lowerBounds:[[20,100],[30,93],[40,88],[50,86],[60,85],[70,70],[100,70]]},{name:"yellow",hueRange:[47,62],lowerBounds:[[25,100],[40,94],[50,89],[60,86],[70,84],[80,82],[90,80],[100,75]]},{name:"green",hueRange:[63,178],lowerBounds:[[30,100],[40,90],[50,85],[60,81],[70,74],[80,64],[90,50],[100,40]]},{name:"blue",hueRange:[179,257],lowerBounds:[[20,100],[30,86],[40,80],[50,74],[60,60],[70,52],[80,44],[90,39],[100,35]]},{name:"purple",hueRange:[258,282],lowerBounds:[[20,100],[30,87],[40,79],[50,70],[60,65],[70,59],[80,52],[90,45],[100,42]]},{name:"pink",hueRange:[283,334],lowerBounds:[[20,100],[30,90],[40,86],[60,84],[80,80],[90,75],[100,73]]}],Fe=t(44592),Be=function(e,r,t){var n=(0,Fe.Wf)(e,"colors."+r,r);return new we(n).isValid?n:t},_e=function(e){return function(r){var t=Be(r,e);return new we(t).isDark()?"dark":"light"}},De=function(e,r){return function(t){var n=Be(t,e);return new we(n).setAlpha(r).toRgbString()}};function Re(e,r){return void 0===e&&(e="1rem"),void 0===r&&(r="rgba(255, 255, 255, 0.15)"),{backgroundImage:"linear-gradient(\n 45deg,\n "+r+" 25%,\n transparent 25%,\n transparent 50%,\n "+r+" 50%,\n "+r+" 75%,\n transparent 75%,\n transparent\n )",backgroundSize:e+" "+e}}function Te(e){var r=ke().toHexString();return!e||(0,Fe.Qr)(e)?r:e.string&&e.colors?function(e,r){var t=0;if(0===e.length)return r[0];for(var n=0;n<e.length;n+=1)t=e.charCodeAt(n)+((t<<5)-t),t&=t;return t=(t%r.length+r.length)%r.length,r[t]}(e.string,e.colors):e.string&&!e.colors?function(e){var r=0;if(0===e.length)return r.toString();for(var t=0;t<e.length;t+=1)r=e.charCodeAt(t)+((r<<5)-r),r&=r;for(var n="#",a=0;a<3;a+=1){n+=("00"+(r>>8*a&255).toString(16)).substr(-2)}return n}(e.string):e.colors&&!e.string?function(e){return e[Math.floor(Math.random()*e.length)]}(e.colors):r}function ze(e,r){return function(t){return"dark"===t.colorMode?r:e}}function Pe(e){var r=e.orientation,t=e.vertical,n=e.horizontal;return r?"vertical"===r?t:n:{}}function Me(){return(Me=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e}).apply(this,arguments)}function je(e){return(0,Fe.Kn)(e)&&e.reference?e.reference:String(e)}var Oe=function(e){for(var r=arguments.length,t=new Array(r>1?r-1:0),n=1;n<r;n++)t[n-1]=arguments[n];return t.map(je).join(" "+e+" ").replace(/calc/g,"")},Ie=function(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return"calc("+Oe.apply(void 0,["+"].concat(r))+")"},We=function(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return"calc("+Oe.apply(void 0,["-"].concat(r))+")"},Ne=function(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return"calc("+Oe.apply(void 0,["*"].concat(r))+")"},Le=function(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return"calc("+Oe.apply(void 0,["/"].concat(r))+")"},He=function(e){var r=je(e);return null==r||Number.isNaN(parseFloat(r))?Ne(r,-1):String(r).startsWith("-")?String(r).slice(1):"-"+r},$e=Object.assign((function(e){return{add:function(){for(var r=arguments.length,t=new Array(r),n=0;n<r;n++)t[n]=arguments[n];return $e(Ie.apply(void 0,[e].concat(t)))},subtract:function(){for(var r=arguments.length,t=new Array(r),n=0;n<r;n++)t[n]=arguments[n];return $e(We.apply(void 0,[e].concat(t)))},multiply:function(){for(var r=arguments.length,t=new Array(r),n=0;n<r;n++)t[n]=arguments[n];return $e(Ne.apply(void 0,[e].concat(t)))},divide:function(){for(var r=arguments.length,t=new Array(r),n=0;n<r;n++)t[n]=arguments[n];return $e(Le.apply(void 0,[e].concat(t)))},negate:function(){return $e(He(e))},toString:function(){return e.toString()}}}),{add:Ie,subtract:We,multiply:Ne,divide:Le,negate:He});function qe(e){var r=function(e,r){return void 0===r&&(r="-"),e.replace(/\s+/g,r)}(e.toString());return r.includes("\\.")?e:function(e){return!Number.isInteger(parseFloat(e.toString()))}(e)?r.replace(".","\\."):e}function Ze(e,r){return"var("+qe(e)+(r?", "+r:"")+")"}function Ue(e,r){return void 0===r&&(r=""),"--"+function(e,r){return void 0===r&&(r=""),[r,qe(e)].filter(Boolean).join("-")}(e,r)}function Ve(e,r){var t=Ue(e,null==r?void 0:r.prefix);return{variable:t,reference:Ze(t,Ye(null==r?void 0:r.fallback))}}function Ye(e){return"string"===typeof e?e:null==e?void 0:e.reference}var Xe={letterSpacings:{tighter:"-0.05em",tight:"-0.025em",normal:"0",wide:"0.025em",wider:"0.05em",widest:"0.1em"},lineHeights:{normal:"normal",none:1,shorter:1.25,short:1.375,base:1.5,tall:1.625,taller:"2",3:".75rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem"},fontWeights:{hairline:100,thin:200,light:300,normal:400,medium:500,semibold:600,bold:700,extrabold:800,black:900},fonts:{heading:'-apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',body:'-apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',mono:'SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace'},fontSizes:{xs:"0.75rem",sm:"0.875rem",md:"1rem",lg:"1.125rem",xl:"1.25rem","2xl":"1.5rem","3xl":"1.875rem","4xl":"2.25rem","5xl":"3rem","6xl":"3.75rem","7xl":"4.5rem","8xl":"6rem","9xl":"8rem"}},Ge={container:{borderTopWidth:"1px",borderColor:"inherit",_last:{borderBottomWidth:"1px"}},button:{transitionProperty:"common",transitionDuration:"normal",fontSize:"1rem",_focus:{boxShadow:"outline"},_hover:{bg:"blackAlpha.50"},_disabled:{opacity:.4,cursor:"not-allowed"},px:4,py:2},panel:{pt:2,px:4,pb:5},icon:{fontSize:"1.25em"}},Ke={parts:T.keys,baseStyle:Ge};function Je(e){var r=e.theme,t=e.colorScheme;return ze(Be(r,t+".100",t),De(t+".200",.16)(r))(e)}var Qe={subtle:function(e){var r=e.colorScheme;return{container:{bg:Je(e)},icon:{color:ze(r+".500",r+".200")(e)}}},"left-accent":function(e){var r=e.colorScheme;return{container:{paddingStart:3,borderStartWidth:"4px",borderStartColor:ze(r+".500",r+".200")(e),bg:Je(e)},icon:{color:ze(r+".500",r+".200")(e)}}},"top-accent":function(e){var r=e.colorScheme;return{container:{pt:2,borderTopWidth:"4px",borderTopColor:ze(r+".500",r+".200")(e),bg:Je(e)},icon:{color:ze(r+".500",r+".200")(e)}}},solid:function(e){var r=e.colorScheme;return{container:{bg:ze(r+".500",r+".200")(e),color:ze("white","gray.900")(e)}}}},er={parts:z.keys,baseStyle:{container:{px:4,py:3},title:{fontWeight:"bold",lineHeight:6,marginEnd:2},description:{lineHeight:6},icon:{flexShrink:0,marginEnd:3,w:5,h:6}},variants:Qe,defaultProps:{variant:"subtle",colorScheme:"blue"}},rr=function(e){return{transform:"translate(25%, 25%)",borderRadius:"full",border:"0.2em solid",borderColor:ze("white","gray.800")(e)}},tr=function(e){return{bg:ze("gray.200","whiteAlpha.400")(e)}},nr=function(e){var r=e.name,t=e.theme,n=r?Te({string:r}):"gray.400",a=function(e){return function(r){return"dark"===_e(e)(r)}}(n)(t),o="white";return a||(o="gray.800"),{bg:n,color:o,borderColor:ze("white","gray.800")(e),verticalAlign:"top"}};function ar(e){var r=p[e];return{container:{width:e,height:e,fontSize:"calc("+(null!=r?r:e)+" / 2.5)"},excessLabel:{width:e,height:e},label:{fontSize:"calc("+(null!=r?r:e)+" / 2.5)",lineHeight:"100%"!==e?null!=r?r:e:void 0}}}var or,ir,lr,sr={"2xs":ar("4"),xs:ar("6"),sm:ar("8"),md:ar("12"),lg:ar("16"),xl:ar("24"),"2xl":ar("32"),full:ar("100%")},cr={parts:P.keys,baseStyle:function(e){return{badge:rr(e),excessLabel:tr(e),container:nr(e)}},sizes:sr,defaultProps:{size:"md"}},ur={baseStyle:{px:1,textTransform:"uppercase",fontSize:"xs",borderRadius:"sm",fontWeight:"bold"},variants:{solid:function(e){var r=e.colorScheme,t=e.theme;return{bg:ze(r+".500",De(r+".500",.6)(t))(e),color:ze("white","whiteAlpha.800")(e)}},subtle:function(e){var r=e.colorScheme,t=e.theme;return{bg:ze(r+".100",De(r+".200",.16)(t))(e),color:ze(r+".800",r+".200")(e)}},outline:function(e){var r=e.colorScheme,t=e.theme,n=De(r+".200",.8)(t),a=ze(Be(t,r+".500"),n)(e);return{color:a,boxShadow:"inset 0 0 0px 1px "+a}}},defaultProps:{variant:"subtle",colorScheme:"gray"}},dr={link:{transitionProperty:"common",transitionDuration:"fast",transitionTimingFunction:"ease-out",cursor:"pointer",textDecoration:"none",outline:"none",color:"inherit",_hover:{textDecoration:"underline"},_focus:{boxShadow:"outline"}}},fr={parts:M.keys,baseStyle:dr},br=function(e){var r=e.colorScheme,t=e.theme;if("gray"===r)return{color:ze("inherit","whiteAlpha.900")(e),_hover:{bg:ze("gray.100","whiteAlpha.200")(e)},_active:{bg:ze("gray.200","whiteAlpha.300")(e)}};var n=De(r+".200",.12)(t),a=De(r+".200",.24)(t);return{color:ze(r+".600",r+".200")(e),bg:"transparent",_hover:{bg:ze(r+".50",n)(e)},_active:{bg:ze(r+".100",a)(e)}}},pr={yellow:{bg:"yellow.400",color:"black",hoverBg:"yellow.500",activeBg:"yellow.600"},cyan:{bg:"cyan.400",color:"black",hoverBg:"cyan.500",activeBg:"cyan.600"}},gr={baseStyle:{lineHeight:"1.2",borderRadius:"md",fontWeight:"semibold",transitionProperty:"common",transitionDuration:"normal",_focus:{boxShadow:"outline"},_disabled:{opacity:.4,cursor:"not-allowed",boxShadow:"none"},_hover:{_disabled:{bg:"initial"}}},variants:{ghost:br,outline:function(e){var r=e.colorScheme,t=ze("gray.200","whiteAlpha.300")(e);return b({border:"1px solid",borderColor:"gray"===r?t:"currentColor"},br(e))},solid:function(e){var r,t=e.colorScheme;if("gray"===t){var n=ze("gray.100","whiteAlpha.200")(e);return{bg:n,_hover:{bg:ze("gray.200","whiteAlpha.300")(e),_disabled:{bg:n}},_active:{bg:ze("gray.300","whiteAlpha.400")(e)}}}var a=null!=(r=pr[t])?r:{},o=a.bg,i=void 0===o?t+".500":o,l=a.color,s=void 0===l?"white":l,c=a.hoverBg,u=void 0===c?t+".600":c,d=a.activeBg,f=void 0===d?t+".700":d,b=ze(i,t+".200")(e);return{bg:b,color:ze(s,"gray.800")(e),_hover:{bg:ze(u,t+".300")(e),_disabled:{bg:b}},_active:{bg:ze(f,t+".400")(e)}}},link:function(e){var r=e.colorScheme;return{padding:0,height:"auto",lineHeight:"normal",verticalAlign:"baseline",color:ze(r+".500",r+".200")(e),_hover:{textDecoration:"underline",_disabled:{textDecoration:"none"}},_active:{color:ze(r+".700",r+".500")(e)}}},unstyled:{bg:"none",color:"inherit",display:"inline",lineHeight:"inherit",m:0,p:0}},sizes:{lg:{h:12,minW:12,fontSize:"lg",px:6},md:{h:10,minW:10,fontSize:"md",px:4},sm:{h:8,minW:8,fontSize:"sm",px:3},xs:{h:6,minW:6,fontSize:"xs",px:2}},defaultProps:{variant:"solid",size:"md",colorScheme:"gray"}},hr=function(e){var r=e.colorScheme;return{w:"100%",transitionProperty:"box-shadow",transitionDuration:"normal",border:"2px solid",borderRadius:"sm",borderColor:"inherit",color:"white",_checked:{bg:ze(r+".500",r+".200")(e),borderColor:ze(r+".500",r+".200")(e),color:ze("white","gray.900")(e),_hover:{bg:ze(r+".600",r+".300")(e),borderColor:ze(r+".600",r+".300")(e)},_disabled:{borderColor:ze("gray.200","transparent")(e),bg:ze("gray.200","whiteAlpha.300")(e),color:ze("gray.500","whiteAlpha.500")(e)}},_indeterminate:{bg:ze(r+".500",r+".200")(e),borderColor:ze(r+".500",r+".200")(e),color:ze("white","gray.900")(e)},_disabled:{bg:ze("gray.100","whiteAlpha.100")(e),borderColor:ze("gray.100","transparent")(e)},_focus:{boxShadow:"outline"},_invalid:{borderColor:ze("red.500","red.300")(e)}}},mr={userSelect:"none",_disabled:{opacity:.4}},vr={transitionProperty:"transform",transitionDuration:"normal"},yr={parts:j.keys,baseStyle:function(e){return{icon:vr,control:hr(e),label:mr}},sizes:{sm:{control:{h:3,w:3},label:{fontSize:"sm"},icon:{fontSize:"0.45rem"}},md:{control:{w:4,h:4},label:{fontSize:"md"},icon:{fontSize:"0.625rem"}},lg:{control:{w:5,h:5},label:{fontSize:"lg"},icon:{fontSize:"0.625rem"}}},defaultProps:{size:"md",colorScheme:"blue"}},xr=Ve("close-button-size"),wr={baseStyle:function(e){var r=ze("blackAlpha.100","whiteAlpha.100")(e),t=ze("blackAlpha.200","whiteAlpha.200")(e);return{w:[xr.reference],h:[xr.reference],borderRadius:"md",transitionProperty:"common",transitionDuration:"normal",_disabled:{opacity:.4,cursor:"not-allowed",boxShadow:"none"},_hover:{bg:r},_active:{bg:t},_focus:{boxShadow:"outline"}}},sizes:{lg:(or={},or[xr.variable]="40px",or.fontSize="16px",or),md:(ir={},ir[xr.variable]="32px",ir.fontSize="12px",ir),sm:(lr={},lr[xr.variable]="24px",lr.fontSize="10px",lr)},defaultProps:{size:"md"}},kr={baseStyle:{fontFamily:"mono",fontSize:"sm",px:"0.2em",borderRadius:"sm"},variants:ur.variants,defaultProps:ur.defaultProps},Sr={baseStyle:{w:"100%",mx:"auto",maxW:"60ch",px:"1rem"}},Er={baseStyle:{opacity:.6,borderColor:"inherit"},variants:{solid:{borderStyle:"solid"},dashed:{borderStyle:"dashed"}},defaultProps:{variant:"solid"}};function Cr(e){return"full"===e?{dialog:{maxW:"100vw",h:"100vh"}}:{dialog:{maxW:e}}}var Ar={bg:"blackAlpha.600",zIndex:"overlay"},Fr={display:"flex",zIndex:"modal",justifyContent:"center"},Br=function(e){return b({},e.isFullHeight&&{height:"100vh"},{zIndex:"modal",maxH:"100vh",bg:ze("white","gray.700")(e),color:"inherit",boxShadow:ze("lg","dark-lg")(e)})},_r={px:6,py:4,fontSize:"xl",fontWeight:"semibold"},Dr={position:"absolute",top:2,insetEnd:3},Rr={px:6,py:2,flex:1,overflow:"auto"},Tr={px:6,py:4},zr={xs:Cr("xs"),sm:Cr("md"),md:Cr("lg"),lg:Cr("2xl"),xl:Cr("4xl"),full:Cr("full")},Pr={parts:O.keys,baseStyle:function(e){return{overlay:Ar,dialogContainer:Fr,dialog:Br(e),header:_r,closeButton:Dr,body:Rr,footer:Tr}},sizes:zr,defaultProps:{size:"xs"}},Mr={preview:{borderRadius:"md",py:"3px",transitionProperty:"common",transitionDuration:"normal"},input:{borderRadius:"md",py:"3px",transitionProperty:"common",transitionDuration:"normal",width:"full",_focus:{boxShadow:"outline"},_placeholder:{opacity:.6}}},jr={parts:I.keys,baseStyle:Mr},Or=function(e){return{marginStart:1,color:ze("red.500","red.300")(e)}},Ir=function(e){return{mt:2,color:ze("gray.500","whiteAlpha.600")(e),lineHeight:"normal",fontSize:"sm"}},Wr={parts:W.keys,baseStyle:function(e){return{container:{width:"100%",position:"relative"},requiredIndicator:Or(e),helperText:Ir(e)}}},Nr=function(e){return{color:ze("red.500","red.300")(e),mt:2,fontSize:"sm",lineHeight:"normal"}},Lr=function(e){return{marginEnd:"0.5em",color:ze("red.500","red.300")(e)}},Hr={parts:N.keys,baseStyle:function(e){return{text:Nr(e),icon:Lr(e)}}},$r={baseStyle:{fontSize:"md",marginEnd:3,mb:2,fontWeight:"medium",transitionProperty:"common",transitionDuration:"normal",opacity:1,_disabled:{opacity:.4}}},qr={baseStyle:{fontFamily:"heading",fontWeight:"bold"},sizes:{"4xl":{fontSize:["6xl",null,"7xl"],lineHeight:1},"3xl":{fontSize:["5xl",null,"6xl"],lineHeight:1},"2xl":{fontSize:["4xl",null,"5xl"],lineHeight:[1.2,null,1]},xl:{fontSize:["3xl",null,"4xl"],lineHeight:[1.33,null,1.2]},lg:{fontSize:["2xl",null,"3xl"],lineHeight:[1.33,null,1.2]},md:{fontSize:"xl",lineHeight:1.2},sm:{fontSize:"md",lineHeight:1.2},xs:{fontSize:"sm",lineHeight:1.2}},defaultProps:{size:"xl"}},Zr={lg:{fontSize:"lg",px:4,h:12,borderRadius:"md"},md:{fontSize:"md",px:4,h:10,borderRadius:"md"},sm:{fontSize:"sm",px:3,h:8,borderRadius:"sm"},xs:{fontSize:"xs",px:2,h:6,borderRadius:"sm"}},Ur={lg:{field:Zr.lg,addon:Zr.lg},md:{field:Zr.md,addon:Zr.md},sm:{field:Zr.sm,addon:Zr.sm},xs:{field:Zr.xs,addon:Zr.xs}};function Vr(e){var r=e.focusBorderColor,t=e.errorBorderColor;return{focusBorderColor:r||ze("blue.500","blue.300")(e),errorBorderColor:t||ze("red.500","red.300")(e)}}var Yr={outline:function(e){var r=e.theme,t=Vr(e),n=t.focusBorderColor,a=t.errorBorderColor;return{field:{border:"1px solid",borderColor:"inherit",bg:"inherit",_hover:{borderColor:ze("gray.300","whiteAlpha.400")(e)},_readOnly:{boxShadow:"none !important",userSelect:"all"},_disabled:{opacity:.4,cursor:"not-allowed"},_invalid:{borderColor:Be(r,a),boxShadow:"0 0 0 1px "+Be(r,a)},_focus:{zIndex:1,borderColor:Be(r,n),boxShadow:"0 0 0 1px "+Be(r,n)}},addon:{border:"1px solid",borderColor:ze("inherit","whiteAlpha.50")(e),bg:ze("gray.100","whiteAlpha.300")(e)}}},filled:function(e){var r=e.theme,t=Vr(e),n=t.focusBorderColor,a=t.errorBorderColor;return{field:{border:"2px solid",borderColor:"transparent",bg:ze("gray.100","whiteAlpha.50")(e),_hover:{bg:ze("gray.200","whiteAlpha.100")(e)},_readOnly:{boxShadow:"none !important",userSelect:"all"},_disabled:{opacity:.4,cursor:"not-allowed"},_invalid:{borderColor:Be(r,a)},_focus:{bg:"transparent",borderColor:Be(r,n)}},addon:{border:"2px solid",borderColor:"transparent",bg:ze("gray.100","whiteAlpha.50")(e)}}},flushed:function(e){var r=e.theme,t=Vr(e),n=t.focusBorderColor,a=t.errorBorderColor;return{field:{borderBottom:"1px solid",borderColor:"inherit",borderRadius:0,px:0,bg:"transparent",_readOnly:{boxShadow:"none !important",userSelect:"all"},_invalid:{borderColor:Be(r,a),boxShadow:"0px 1px 0px 0px "+Be(r,a)},_focus:{borderColor:Be(r,n),boxShadow:"0px 1px 0px 0px "+Be(r,n)}},addon:{borderBottom:"2px solid",borderColor:"inherit",borderRadius:0,px:0,bg:"transparent"}}},unstyled:{field:{bg:"transparent",px:0,height:"auto"},addon:{bg:"transparent",px:0,height:"auto"}}},Xr={parts:L.keys,baseStyle:{field:{width:"100%",minWidth:0,outline:0,position:"relative",appearance:"none",transitionProperty:"common",transitionDuration:"normal"}},sizes:Ur,variants:Yr,defaultProps:{size:"md",variant:"outline"}},Gr={baseStyle:function(e){return{bg:ze("gray.100","whiteAlpha")(e),borderRadius:"md",borderWidth:"1px",borderBottomWidth:"3px",fontSize:"0.8em",fontWeight:"bold",lineHeight:"normal",px:"0.4em",whiteSpace:"nowrap"}}},Kr={baseStyle:{transitionProperty:"common",transitionDuration:"fast",transitionTimingFunction:"ease-out",cursor:"pointer",textDecoration:"none",outline:"none",color:"inherit",_hover:{textDecoration:"underline"},_focus:{boxShadow:"outline"}}},Jr={container:{},item:{},icon:{marginEnd:"0.5rem",display:"inline",verticalAlign:"text-bottom"}},Qr={parts:H.keys,baseStyle:Jr},et=function(e){return{bg:ze("#fff","gray.700")(e),boxShadow:ze("sm","dark-lg")(e),color:"inherit",minW:"3xs",py:"2",zIndex:1,borderRadius:"md",borderWidth:"1px"}},rt=function(e){return{py:"0.4rem",px:"0.8rem",transitionProperty:"background",transitionDuration:"ultra-fast",transitionTimingFunction:"ease-in",_focus:{bg:ze("gray.100","whiteAlpha.100")(e)},_active:{bg:ze("gray.200","whiteAlpha.200")(e)},_expanded:{bg:ze("gray.100","whiteAlpha.100")(e)},_disabled:{opacity:.4,cursor:"not-allowed"}}},tt={mx:4,my:2,fontWeight:"semibold",fontSize:"sm"},nt={opacity:.6},at={border:0,borderBottom:"1px solid",borderColor:"inherit",my:"0.5rem",opacity:.6},ot={transitionProperty:"common",transitionDuration:"normal"},it={parts:$.keys,baseStyle:function(e){return{button:ot,list:et(e),item:rt(e),groupTitle:tt,command:nt,divider:at}}},lt={bg:"blackAlpha.600",zIndex:"modal"},st=function(e){return{display:"flex",zIndex:"modal",justifyContent:"center",alignItems:e.isCentered?"center":"flex-start",overflow:"inside"===e.scrollBehavior?"hidden":"auto"}},ct=function(e){var r=e.scrollBehavior;return{borderRadius:"md",bg:ze("white","gray.700")(e),color:"inherit",my:"3.75rem",zIndex:"modal",maxH:"inside"===r?"calc(100% - 7.5rem)":void 0,boxShadow:ze("lg","dark-lg")(e)}},ut={px:6,py:4,fontSize:"xl",fontWeight:"semibold"},dt={position:"absolute",top:2,insetEnd:3},ft=function(e){return{px:6,py:2,flex:1,overflow:"inside"===e.scrollBehavior?"auto":void 0}},bt={px:6,py:4};function pt(e){return"full"===e?{dialog:{maxW:"100vw",minH:"100vh","@supports(min-height: -webkit-fill-available)":{minH:"-webkit-fill-available"},my:0}}:{dialog:{maxW:e}}}var gt,ht,mt,vt={xs:pt("xs"),sm:pt("sm"),md:pt("md"),lg:pt("lg"),xl:pt("xl"),"2xl":pt("2xl"),"3xl":pt("3xl"),"4xl":pt("4xl"),"5xl":pt("5xl"),"6xl":pt("6xl"),full:pt("full")},yt={parts:q.keys,baseStyle:function(e){return{overlay:lt,dialogContainer:st(e),dialog:ct(e),header:ut,closeButton:dt,body:ft(e),footer:bt}},sizes:vt,defaultProps:{size:"md"}},xt=Xr.variants,wt=Xr.defaultProps,kt=Ve("number-input-stepper-width"),St=Ve("number-input-input-padding"),Et=$e(kt).add("0.5rem").toString(),Ct=((gt={})[kt.variable]="24px",gt[St.variable]=Et,gt),At=null!=(ht=null==(mt=Xr.baseStyle)?void 0:mt.field)?ht:{},Ft={width:[kt.reference]},Bt=function(e){return{borderStart:"1px solid",borderStartColor:ze("inherit","whiteAlpha.300")(e),color:ze("inherit","whiteAlpha.800")(e),_active:{bg:ze("gray.200","whiteAlpha.300")(e)},_disabled:{opacity:.4,cursor:"not-allowed"}}};function _t(e){var r,t,n=Xr.sizes[e],a={lg:"md",md:"md",sm:"sm",xs:"sm"},o=null!=(r=null==(t=n.field)?void 0:t.fontSize)?r:"md",i=Xe.fontSizes[o.toString()];return{field:b({},n.field,{paddingInlineEnd:St.reference,verticalAlign:"top"}),stepper:{fontSize:$e(i).multiply(.75).toString(),_first:{borderTopEndRadius:a[e]},_last:{borderBottomEndRadius:a[e],mt:"-1px",borderTopWidth:1}}}}var Dt,Rt={xs:_t("xs"),sm:_t("sm"),md:_t("md"),lg:_t("lg")},Tt={parts:Z.keys,baseStyle:function(e){return{root:Ct,field:At,stepperGroup:Ft,stepper:Bt(e)}},sizes:Rt,variants:xt,defaultProps:wt},zt={baseStyle:b({},Xr.baseStyle.field,{textAlign:"center"}),sizes:{lg:{fontSize:"lg",w:12,h:12,borderRadius:"md"},md:{fontSize:"md",w:10,h:10,borderRadius:"md"},sm:{fontSize:"sm",w:8,h:8,borderRadius:"sm"},xs:{fontSize:"xs",w:6,h:6,borderRadius:"sm"}},variants:{outline:function(e){var r;return null!=(r=Xr.variants.outline(e).field)?r:{}},flushed:function(e){var r;return null!=(r=Xr.variants.flushed(e).field)?r:{}},filled:function(e){var r;return null!=(r=Xr.variants.filled(e).field)?r:{}},unstyled:null!=(Dt=Xr.variants.unstyled.field)?Dt:{}},defaultProps:Xr.defaultProps},Pt=Ve("popper-bg"),Mt=Ve("popper-arrow-bg"),jt=Ve("popper-arrow-shadow-color"),Ot={zIndex:10},It=function(e){var r,t=ze("white","gray.700")(e),n=ze("gray.200","whiteAlpha.300")(e);return(r={})[Pt.variable]="colors."+t,r.bg=Pt.reference,r[Mt.variable]=Pt.reference,r[jt.variable]="colors."+n,r.width="xs",r.border="1px solid",r.borderColor="inherit",r.borderRadius="md",r.boxShadow="sm",r.zIndex="inherit",r._focus={outline:0,boxShadow:"outline"},r},Wt={px:3,py:2,borderBottomWidth:"1px"},Nt={px:3,py:2},Lt={px:3,py:2,borderTopWidth:"1px"},Ht={position:"absolute",borderRadius:"md",top:1,insetEnd:2,padding:2},$t={parts:U.keys,baseStyle:function(e){return{popper:Ot,content:It(e),header:Wt,body:Nt,footer:Lt,arrow:{},closeButton:Ht}}};var qt={lineHeight:"1",fontSize:"0.25em",fontWeight:"bold",color:"white"},Zt=function(e){return{bg:ze("gray.100","whiteAlpha.300")(e)}},Ut=function(e){return b({transitionProperty:"common",transitionDuration:"slow"},function(e){var r=e.colorScheme,t=e.theme,n=e.isIndeterminate,a=e.hasStripe,o=ze(Re(),Re("1rem","rgba(0,0,0,0.1)"))(e),i=ze(r+".500",r+".200")(e),l="linear-gradient(\n to right,\n transparent 0%,\n "+Be(t,i)+" 50%,\n transparent 100%\n )";return b({},!n&&a&&o,n?{bgImage:l}:{bgColor:i})}(e))},Vt={parts:V.keys,sizes:{xs:{track:{h:"0.25rem"}},sm:{track:{h:"0.5rem"}},md:{track:{h:"0.75rem"}},lg:{track:{h:"1rem"}}},baseStyle:function(e){return{label:qt,filledTrack:Ut(e),track:Zt(e)}},defaultProps:{size:"md",colorScheme:"blue"}},Yt=function(e){var r=yr.baseStyle(e).control,t=void 0===r?{}:r;return b({},t,{borderRadius:"full",_checked:b({},t._checked,{_before:{content:'""',display:"inline-block",pos:"relative",w:"50%",h:"50%",borderRadius:"50%",bg:"currentColor"}})})},Xt={parts:Y.keys,baseStyle:function(e){return{label:yr.baseStyle(e).label,control:Yt(e)}},sizes:{md:{control:{w:4,h:4},label:{fontSize:"md"}},lg:{control:{w:5,h:5},label:{fontSize:"lg"}},sm:{control:{width:3,height:3},label:{fontSize:"sm"}}},defaultProps:{size:"md",colorScheme:"blue"}},Gt=function(e){return b({},Xr.baseStyle.field,{bg:ze("white","gray.700")(e),appearance:"none",paddingBottom:"1px",lineHeight:"normal","> option, > optgroup":{bg:ze("white","gray.700")(e)}})},Kt={width:"1.5rem",height:"100%",insetEnd:"0.5rem",position:"relative",color:"currentColor",fontSize:"1.25rem",_disabled:{opacity:.5}},Jt={paddingInlineEnd:"2rem"},Qt=h()({},Xr.sizes,{lg:{field:Jt},md:{field:Jt},sm:{field:Jt},xs:{field:Jt,icon:{insetEnd:"0.25rem"}}}),en={parts:X.keys,baseStyle:function(e){return{field:Gt(e),icon:Kt}},sizes:Qt,variants:Xr.variants,defaultProps:Xr.defaultProps},rn=function(e,r){return(0,a.F4)({from:{borderColor:e,background:e},to:{borderColor:r,background:r}})},tn={baseStyle:function(e){var r=ze("gray.100","gray.800")(e),t=ze("gray.400","gray.600")(e),n=e.startColor,a=void 0===n?r:n,o=e.endColor,i=void 0===o?t:o,l=e.speed,s=e.theme,c=Be(s,a),u=Be(s,i);return{opacity:.7,borderRadius:"2px",borderColor:c,background:u,animation:l+"s linear infinite alternate "+rn(c,u)}}},nn={baseStyle:function(e){return{borderRadius:"md",fontWeight:"semibold",_focus:{boxShadow:"outline",padding:"1rem",position:"fixed",top:"1.5rem",insetStart:"1.5rem",bg:ze("white","gray.700")(e)}}}};var an,on,ln,sn,cn,un,dn,fn,bn,pn,gn,hn,mn,vn=function(e){return b({display:"inline-block",position:"relative",cursor:"pointer",_disabled:{opacity:.6,cursor:"default",pointerEvents:"none"}},Pe({orientation:e.orientation,vertical:{h:"100%"},horizontal:{w:"100%"}}))},yn=function(e){return{overflow:"hidden",borderRadius:"sm",bg:ze("gray.200","whiteAlpha.200")(e),_disabled:{bg:ze("gray.300","whiteAlpha.300")(e)}}},xn=function(e){return b({display:"flex",alignItems:"center",justifyContent:"center",position:"absolute",outline:0,zIndex:1,borderRadius:"full",bg:"white",boxShadow:"base",border:"1px solid",borderColor:"transparent",transitionProperty:"transform",transitionDuration:"normal",_focus:{boxShadow:"outline"},_disabled:{bg:"gray.300"}},function(e){return Pe({orientation:e.orientation,vertical:{left:"50%",transform:"translateX(-50%)",_active:{transform:"translateX(-50%) scale(1.15)"}},horizontal:{top:"50%",transform:"translateY(-50%)",_active:{transform:"translateY(-50%) scale(1.15)"}}})}(e))},wn=function(e){var r=e.colorScheme;return{width:"inherit",height:"inherit",bg:ze(r+".500",r+".200")(e)}},kn={lg:function(e){return{thumb:{w:"16px",h:"16px"},track:Pe({orientation:e.orientation,horizontal:{h:"4px"},vertical:{w:"4px"}})}},md:function(e){return{thumb:{w:"14px",h:"14px"},track:Pe({orientation:e.orientation,horizontal:{h:"4px"},vertical:{w:"4px"}})}},sm:function(e){return{thumb:{w:"10px",h:"10px"},track:Pe({orientation:e.orientation,horizontal:{h:"2px"},vertical:{w:"2px"}})}}},Sn={parts:G.keys,sizes:kn,baseStyle:function(e){return{container:vn(e),track:yn(e),thumb:xn(e),filledTrack:wn(e)}},defaultProps:{size:"md",colorScheme:"blue"}},En=Ve("spinner-size"),Cn={baseStyle:{width:[En.reference],height:[En.reference]},sizes:{xs:(an={},an[En.variable]="0.75rem",an),sm:(on={},on[En.variable]="1rem",on),md:(ln={},ln[En.variable]="1.5rem",ln),lg:(sn={},sn[En.variable]="2rem",sn),xl:(cn={},cn[En.variable]="3rem",cn)},defaultProps:{size:"md"}},An={container:{},label:{fontWeight:"medium"},helpText:{opacity:.8,marginBottom:2},number:{verticalAlign:"baseline",fontWeight:"semibold"},icon:{marginEnd:1,w:"14px",h:"14px",verticalAlign:"middle"}},Fn={parts:K.keys,baseStyle:An,sizes:{md:{label:{fontSize:"sm"},helpText:{fontSize:"sm"},number:{fontSize:"2xl"}}},defaultProps:{size:"md"}},Bn=Ve("switch-track-width"),_n=Ve("switch-track-height"),Dn=Ve("switch-track-diff"),Rn=$e.subtract(Bn,_n),Tn=Ve("switch-thumb-x"),zn=function(e){var r=e.colorScheme;return{borderRadius:"full",p:"2px",width:[Bn.reference],height:[_n.reference],transitionProperty:"common",transitionDuration:"fast",bg:ze("gray.300","whiteAlpha.400")(e),_focus:{boxShadow:"outline"},_disabled:{opacity:.4,cursor:"not-allowed"},_checked:{bg:ze(r+".500",r+".200")(e)}}},Pn={bg:"white",transitionProperty:"transform",transitionDuration:"normal",borderRadius:"inherit",width:[_n.reference],height:[_n.reference],_checked:{transform:"translateX("+Tn.reference+")"}},Mn={sm:{container:(un={},un[Bn.variable]="1.375rem",un[_n.variable]="0.75rem",un)},md:{container:(dn={},dn[Bn.variable]="1.875rem",dn[_n.variable]="1rem",dn)},lg:{container:(fn={},fn[Bn.variable]="2.875rem",fn[_n.variable]="1.5rem",fn)}},jn={parts:J.keys,baseStyle:function(e){var r,t;return{container:(t={},t[Dn.variable]=Rn,t[Tn.variable]=Dn.reference,t._rtl=(r={},r[Tn.variable]=$e(Dn).negate().toString(),r),t),track:zn(e),thumb:Pn}},sizes:Mn,defaultProps:{size:"md",colorScheme:"blue"}},On={"&[data-is-numeric=true]":{textAlign:"end"}},In={simple:function(e){var r=e.colorScheme;return{th:b({color:ze("gray.600","gray.400")(e),borderBottom:"1px",borderColor:ze(r+".100",r+".700")(e)},On),td:b({borderBottom:"1px",borderColor:ze(r+".100",r+".700")(e)},On),caption:{color:ze("gray.600","gray.100")(e)},tfoot:{tr:{"&:last-of-type":{th:{borderBottomWidth:0}}}}}},striped:function(e){var r=e.colorScheme;return{th:b({color:ze("gray.600","gray.400")(e),borderBottom:"1px",borderColor:ze(r+".100",r+".700")(e)},On),td:b({borderBottom:"1px",borderColor:ze(r+".100",r+".700")(e)},On),caption:{color:ze("gray.600","gray.100")(e)},tbody:{tr:{"&:nth-of-type(odd)":{"th, td":{borderBottomWidth:"1px",borderColor:ze(r+".100",r+".700")(e)},td:{background:ze(r+".100",r+".700")(e)}}}},tfoot:{tr:{"&:last-of-type":{th:{borderBottomWidth:0}}}}}},unstyled:{}},Wn={parts:Q.keys,baseStyle:{table:{fontVariantNumeric:"lining-nums tabular-nums",borderCollapse:"collapse",width:"full"},th:{fontFamily:"heading",fontWeight:"bold",textTransform:"uppercase",letterSpacing:"wider",textAlign:"start"},td:{textAlign:"start"},caption:{mt:4,fontFamily:"heading",textAlign:"center",fontWeight:"medium"}},variants:In,sizes:{sm:{th:{px:"4",py:"1",lineHeight:"4",fontSize:"xs"},td:{px:"4",py:"2",fontSize:"sm",lineHeight:"4"},caption:{px:"4",py:"2",fontSize:"xs"}},md:{th:{px:"6",py:"3",lineHeight:"4",fontSize:"xs"},td:{px:"6",py:"4",lineHeight:"5"},caption:{px:"6",py:"2",fontSize:"sm"}},lg:{th:{px:"8",py:"4",lineHeight:"5",fontSize:"sm"},td:{px:"8",py:"5",lineHeight:"6"},caption:{px:"6",py:"2",fontSize:"md"}}},defaultProps:{variant:"simple",size:"md",colorScheme:"gray"}},Nn=function(e){return{display:"vertical"===e.orientation?"flex":"block"}},Ln=function(e){return{flex:e.isFitted?1:void 0,transitionProperty:"common",transitionDuration:"normal",_focus:{zIndex:1,boxShadow:"outline"}}},Hn=function(e){var r=e.align,t=void 0===r?"start":r,n=e.orientation;return{justifyContent:{end:"flex-end",center:"center",start:"flex-start"}[t],flexDirection:"vertical"===n?"column":"row"}},$n={p:4},qn={line:function(e){var r,t,n=e.colorScheme,a=e.orientation,o="vertical"===a?"borderStart":"borderBottom",i="vertical"===a?"marginStart":"marginBottom";return{tablist:(r={},r[o]="2px solid",r.borderColor="inherit",r),tab:(t={},t[o]="2px solid",t.borderColor="transparent",t[i]="-2px",t._selected={color:ze(n+".600",n+".300")(e),borderColor:"currentColor"},t._active={bg:ze("gray.200","whiteAlpha.300")(e)},t._disabled={opacity:.4,cursor:"not-allowed"},t)}},enclosed:function(e){var r=e.colorScheme;return{tab:{borderTopRadius:"md",border:"1px solid",borderColor:"transparent",mb:"-1px",_selected:{color:ze(r+".600",r+".300")(e),borderColor:"inherit",borderBottomColor:ze("white","gray.800")(e)}},tablist:{mb:"-1px",borderBottom:"1px solid",borderColor:"inherit"}}},"enclosed-colored":function(e){var r=e.colorScheme;return{tab:{border:"1px solid",borderColor:"inherit",bg:ze("gray.50","whiteAlpha.50")(e),mb:"-1px",_notLast:{marginEnd:"-1px"},_selected:{bg:ze("#fff","gray.800")(e),color:ze(r+".600",r+".300")(e),borderColor:"inherit",borderTopColor:"currentColor",borderBottomColor:"transparent"}},tablist:{mb:"-1px",borderBottom:"1px solid",borderColor:"inherit"}}},"soft-rounded":function(e){var r=e.colorScheme,t=e.theme;return{tab:{borderRadius:"full",fontWeight:"semibold",color:"gray.600",_selected:{color:Be(t,r+".700"),bg:Be(t,r+".100")}}}},"solid-rounded":function(e){var r=e.colorScheme;return{tab:{borderRadius:"full",fontWeight:"semibold",color:ze("gray.600","inherit")(e),_selected:{color:ze("#fff","gray.800")(e),bg:ze(r+".600",r+".300")(e)}}}},unstyled:{}},Zn={parts:ee.keys,baseStyle:function(e){return{root:Nn(e),tab:Ln(e),tablist:Hn(e),tabpanel:$n}},sizes:{sm:{tab:{py:1,px:4,fontSize:"sm"}},md:{tab:{fontSize:"md",py:2,px:4}},lg:{tab:{fontSize:"lg",py:3,px:4}}},variants:qn,defaultProps:{size:"md",variant:"line",colorScheme:"blue"}},Un={container:{fontWeight:"medium",lineHeight:1.2,outline:0,_focus:{boxShadow:"outline"}},label:{lineHeight:1.2,overflow:"visible"},closeButton:{fontSize:"18px",w:"1.25rem",h:"1.25rem",transitionProperty:"common",transitionDuration:"normal",borderRadius:"full",marginStart:"0.375rem",marginEnd:"-1",opacity:.5,_disabled:{opacity:.4},_focus:{boxShadow:"outline",bg:"rgba(0, 0, 0, 0.14)"},_hover:{opacity:.8},_active:{opacity:1}}},Vn={subtle:function(e){return{container:ur.variants.subtle(e)}},solid:function(e){return{container:ur.variants.solid(e)}},outline:function(e){return{container:ur.variants.outline(e)}}},Yn={parts:re.keys,variants:Vn,baseStyle:Un,sizes:{sm:{container:{minH:"1.25rem",minW:"1.25rem",fontSize:"xs",px:2,borderRadius:"md"},closeButton:{marginEnd:"-2px",marginStart:"0.35rem"}},md:{container:{minH:"1.5rem",minW:"1.5rem",fontSize:"sm",borderRadius:"md",px:2}},lg:{container:{minH:8,minW:8,fontSize:"md",borderRadius:"md",px:3}}},defaultProps:{size:"md",variant:"subtle",colorScheme:"gray"}},Xn=b({},Xr.baseStyle.field,{paddingY:"8px",minHeight:"80px",lineHeight:"short",verticalAlign:"top"}),Gn={outline:function(e){var r;return null!=(r=Xr.variants.outline(e).field)?r:{}},flushed:function(e){var r;return null!=(r=Xr.variants.flushed(e).field)?r:{}},filled:function(e){var r;return null!=(r=Xr.variants.filled(e).field)?r:{}},unstyled:null!=(bn=Xr.variants.unstyled.field)?bn:{}},Kn={baseStyle:Xn,sizes:{xs:null!=(pn=Xr.sizes.xs.field)?pn:{},sm:null!=(gn=Xr.sizes.sm.field)?gn:{},md:null!=(hn=Xr.sizes.md.field)?hn:{},lg:null!=(mn=Xr.sizes.lg.field)?mn:{}},variants:Gn,defaultProps:{size:"md",variant:"outline"}},Jn=Ve("tooltip-bg"),Qn=Ve("popper-arrow-bg"),ea={baseStyle:function(e){var r,t=ze("gray.700","gray.300")(e);return(r={})[Jn.variable]="colors."+t,r.px="8px",r.py="2px",r.bg=[Jn.reference],r[Qn.variable]=[Jn.reference],r.color=ze("whiteAlpha.900","gray.900")(e),r.borderRadius="sm",r.fontWeight="medium",r.fontSize="sm",r.boxShadow="md",r.maxW="320px",r.zIndex="tooltip",r}},ra=Object.freeze({__proto__:null,Accordion:Ke,Alert:er,Avatar:cr,Badge:ur,Breadcrumb:fr,Button:gr,Checkbox:yr,CloseButton:wr,Code:kr,Container:Sr,Divider:Er,Drawer:Pr,Editable:jr,Form:Wr,FormError:Hr,FormLabel:$r,Heading:qr,Input:Xr,Kbd:Gr,Link:Kr,List:Qr,Menu:it,Modal:yt,NumberInput:Tt,PinInput:zt,Popover:$t,Progress:Vt,Radio:Xt,Select:en,Skeleton:tn,SkipLink:nn,Slider:Sn,Spinner:Cn,Stat:Fn,Switch:jn,Table:Wn,Tabs:Zn,Tag:Yn,Textarea:Kn,Tooltip:ea}),ta=b({breakpoints:function(e){return(0,Fe.ZK)({condition:!0,message:["[chakra-ui]: createBreakpoints(...) will be deprecated pretty soon","simply pass the breakpoints as an object. Remove the createBreakpoint(..) call"].join("")}),Me({base:"0em"},e)}({sm:"30em",md:"48em",lg:"62em",xl:"80em","2xl":"96em"}),zIndices:{hide:-1,auto:"auto",base:0,docked:10,dropdown:1e3,sticky:1100,banner:1200,overlay:1300,modal:1400,popover:1500,skipLink:1600,toast:1700,tooltip:1800},radii:{none:"0",sm:"0.125rem",base:"0.25rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"},blur:{none:0,sm:"4px",base:"8px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},colors:{transparent:"transparent",current:"currentColor",black:"#000000",white:"#FFFFFF",whiteAlpha:{50:"rgba(255, 255, 255, 0.04)",100:"rgba(255, 255, 255, 0.06)",200:"rgba(255, 255, 255, 0.08)",300:"rgba(255, 255, 255, 0.16)",400:"rgba(255, 255, 255, 0.24)",500:"rgba(255, 255, 255, 0.36)",600:"rgba(255, 255, 255, 0.48)",700:"rgba(255, 255, 255, 0.64)",800:"rgba(255, 255, 255, 0.80)",900:"rgba(255, 255, 255, 0.92)"},blackAlpha:{50:"rgba(0, 0, 0, 0.04)",100:"rgba(0, 0, 0, 0.06)",200:"rgba(0, 0, 0, 0.08)",300:"rgba(0, 0, 0, 0.16)",400:"rgba(0, 0, 0, 0.24)",500:"rgba(0, 0, 0, 0.36)",600:"rgba(0, 0, 0, 0.48)",700:"rgba(0, 0, 0, 0.64)",800:"rgba(0, 0, 0, 0.80)",900:"rgba(0, 0, 0, 0.92)"},gray:{50:"#F7FAFC",100:"#EDF2F7",200:"#E2E8F0",300:"#CBD5E0",400:"#A0AEC0",500:"#718096",600:"#4A5568",700:"#2D3748",800:"#1A202C",900:"#171923"},red:{50:"#FFF5F5",100:"#FED7D7",200:"#FEB2B2",300:"#FC8181",400:"#F56565",500:"#E53E3E",600:"#C53030",700:"#9B2C2C",800:"#822727",900:"#63171B"},orange:{50:"#FFFAF0",100:"#FEEBC8",200:"#FBD38D",300:"#F6AD55",400:"#ED8936",500:"#DD6B20",600:"#C05621",700:"#9C4221",800:"#7B341E",900:"#652B19"},yellow:{50:"#FFFFF0",100:"#FEFCBF",200:"#FAF089",300:"#F6E05E",400:"#ECC94B",500:"#D69E2E",600:"#B7791F",700:"#975A16",800:"#744210",900:"#5F370E"},green:{50:"#F0FFF4",100:"#C6F6D5",200:"#9AE6B4",300:"#68D391",400:"#48BB78",500:"#38A169",600:"#2F855A",700:"#276749",800:"#22543D",900:"#1C4532"},teal:{50:"#E6FFFA",100:"#B2F5EA",200:"#81E6D9",300:"#4FD1C5",400:"#38B2AC",500:"#319795",600:"#2C7A7B",700:"#285E61",800:"#234E52",900:"#1D4044"},blue:{50:"#ebf8ff",100:"#bee3f8",200:"#90cdf4",300:"#63b3ed",400:"#4299e1",500:"#3182ce",600:"#2b6cb0",700:"#2c5282",800:"#2a4365",900:"#1A365D"},cyan:{50:"#EDFDFD",100:"#C4F1F9",200:"#9DECF9",300:"#76E4F7",400:"#0BC5EA",500:"#00B5D8",600:"#00A3C4",700:"#0987A0",800:"#086F83",900:"#065666"},purple:{50:"#FAF5FF",100:"#E9D8FD",200:"#D6BCFA",300:"#B794F4",400:"#9F7AEA",500:"#805AD5",600:"#6B46C1",700:"#553C9A",800:"#44337A",900:"#322659"},pink:{50:"#FFF5F7",100:"#FED7E2",200:"#FBB6CE",300:"#F687B3",400:"#ED64A6",500:"#D53F8C",600:"#B83280",700:"#97266D",800:"#702459",900:"#521B41"},linkedin:{50:"#E8F4F9",100:"#CFEDFB",200:"#9BDAF3",300:"#68C7EC",400:"#34B3E4",500:"#00A0DC",600:"#008CC9",700:"#0077B5",800:"#005E93",900:"#004471"},facebook:{50:"#E8F4F9",100:"#D9DEE9",200:"#B7C2DA",300:"#6482C0",400:"#4267B2",500:"#385898",600:"#314E89",700:"#29487D",800:"#223B67",900:"#1E355B"},messenger:{50:"#D0E6FF",100:"#B9DAFF",200:"#A2CDFF",300:"#7AB8FF",400:"#2E90FF",500:"#0078FF",600:"#0063D1",700:"#0052AC",800:"#003C7E",900:"#002C5C"},whatsapp:{50:"#dffeec",100:"#b9f5d0",200:"#90edb3",300:"#65e495",400:"#3cdd78",500:"#22c35e",600:"#179848",700:"#0c6c33",800:"#01421c",900:"#001803"},twitter:{50:"#E5F4FD",100:"#C8E9FB",200:"#A8DCFA",300:"#83CDF7",400:"#57BBF5",500:"#1DA1F2",600:"#1A94DA",700:"#1681BF",800:"#136B9E",900:"#0D4D71"},telegram:{50:"#E3F2F9",100:"#C5E4F3",200:"#A2D4EC",300:"#7AC1E4",400:"#47A9DA",500:"#0088CC",600:"#007AB8",700:"#006BA1",800:"#005885",900:"#003F5E"}}},Xe,{sizes:p,shadows:{xs:"0 0 0 1px rgba(0, 0, 0, 0.05)",sm:"0 1px 2px 0 rgba(0, 0, 0, 0.05)",base:"0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06)",md:"0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)",lg:"0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)",xl:"0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04)","2xl":"0 25px 50px -12px rgba(0, 0, 0, 0.25)",outline:"0 0 0 3px rgba(66, 153, 225, 0.6)",inner:"inset 0 2px 4px 0 rgba(0,0,0,0.06)",none:"none","dark-lg":"rgba(0, 0, 0, 0.1) 0px 0px 0px 1px, rgba(0, 0, 0, 0.2) 0px 5px 10px, rgba(0, 0, 0, 0.4) 0px 15px 40px"},space:f,borders:{none:0,"1px":"1px solid","2px":"2px solid","4px":"4px solid","8px":"8px solid"},transition:{property:{common:"background-color, border-color, color, fill, stroke, opacity, box-shadow, transform",colors:"background-color, border-color, color, fill, stroke",dimensions:"width, height",position:"left, right, top, bottom",background:"background-color, background-image, background-position"},easing:{"ease-in":"cubic-bezier(0.4, 0, 1, 1)","ease-out":"cubic-bezier(0, 0, 0.2, 1)","ease-in-out":"cubic-bezier(0.4, 0, 0.2, 1)"},duration:{"ultra-fast":"50ms",faster:"100ms",fast:"150ms",normal:"200ms",slow:"300ms",slower:"400ms","ultra-slow":"500ms"}}}),na=["borders","breakpoints","colors","components","config","direction","fonts","fontSizes","fontWeights","letterSpacings","lineHeights","radii","shadows","sizes","space","styles","transition","zIndices"];function aa(e){return!!(0,Fe.Kn)(e)&&na.every((function(r){return Object.prototype.hasOwnProperty.call(e,r)}))}var oa=b({direction:"ltr"},ta,{components:ra,styles:{global:function(e){return{body:{fontFamily:"body",color:ze("gray.800","whiteAlpha.900")(e),bg:ze("white","gray.800")(e),transitionProperty:"background-color",transitionDuration:"normal",lineHeight:"base"},"*::placeholder":{color:ze("gray.400","whiteAlpha.400")(e)},"*, *::before, &::after":{borderColor:ze("gray.200","whiteAlpha.300")(e),wordWrap:"break-word"}}}},config:{useSystemColorMode:!1,initialColorMode:"light",cssVarPrefix:"chakra"}}),ia=function(e){var r=e.children,t=e.colorModeManager,n=e.portalZIndex,a=e.resetCSS,f=void 0===a||a,b=e.theme,p=void 0===b?{}:b,g=e.environment,h=e.cssVarsRoot,m=o.createElement(u.u,{environment:g},r);return o.createElement(d.vc,null,o.createElement(s.f6,{theme:p,cssVarsRoot:h},o.createElement(c.SG,{colorModeManager:t,options:p.config},f&&o.createElement(i,null),o.createElement(s.ZL,null),n?o.createElement(l.hE,{zIndex:n},m):m)))};function la(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];var n=[].concat(r),a=r[r.length-1];return aa(a)&&n.length>1?n=n.slice(0,n.length-1):a=oa,Fe.zG.apply(void 0,n.map((function(e){return function(r){return(0,Fe.mf)(e)?e(r):sa(r,e)}})))(a)}function sa(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return h().apply(void 0,[{}].concat(r,[ca]))}function ca(e,r,t,n){if(((0,Fe.mf)(e)||(0,Fe.mf)(r))&&Object.prototype.hasOwnProperty.call(n,t))return function(){var t=(0,Fe.mf)(e)?e.apply(void 0,arguments):e,n=(0,Fe.mf)(r)?r.apply(void 0,arguments):r;return h()({},t,n,ca)}}function ua(e){var r=e.colorScheme,t=e.components;return function(e){var n=Object.keys(e.components||{});return Array.isArray(t)?n=t:(0,Fe.Kn)(t)&&(n=Object.keys(t)),sa(e,{components:(0,Fe.sq)(n.map((function(e){return[e,{defaultProps:{colorScheme:r}}]})))})}}ia.defaultProps={theme:oa};var da=t(52596),fa=t(29356),ba=t(67690),pa=t(85893);function ga(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}function ha(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?ga(Object(t),!0).forEach((function(r){(0,n.Z)(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ga(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}function ma(e){var r=e.children,t=(0,o.useContext)(fa.N),n=t.highlightColor,a=t.emacsTheme,i=a[1],l=da.Z(i.base1,i.base2)(.2),s="purple.500"===n?"".concat(i.violet,"aa"):"pink.500"===n?"".concat(i.magenta,"aa"):"blue.500"===n?"".concat(i.blue,"aa"):"cyan.500"===n?"".concat(i.cyan,"aa"):"green.500"===n?"".concat(i.green,"aa"):"yellow.500"===n?"".concat(i.yellow,"aa"):"orange.500"===n?"".concat(i.orange,"aa"):"red.500"===n?"".concat(i.red,"aa"):void 0,c=la((0,o.useMemo)((function(){return{colors:{white:i.bg,black:i.fg,gray:{100:i.base1,200:l,300:i.base2,400:i.base3,500:i.base4,600:i.base5,700:i.base6,800:i.base7,900:i.base8},blue:{500:i.blue},teal:{500:i.blue},yellow:{500:i.yellow},orange:{500:i.orange},red:{500:i.red},green:{500:i.green},purple:{500:i.violet},pink:{500:i.magenta},cyan:{500:i.cyan},alt:{100:i["bg-alt"],900:i["fg-alt"]}},shadows:{outline:"0 0 0 3px "+s},components:{Button:{variants:{outline:{border:"2px solid",borderColor:n,color:n},ghost:{color:n,_hover:{bg:"inherit",border:"1px solid",borderColor:n},_active:{color:"inherit",bg:n}},subtle:{color:"gray.800",_hover:{bg:"inherit",color:n},_active:{color:"inherit",bg:s}}}},Accordion:{baseStyle:{container:{marginTop:"10px",borderWidth:"0px",_last:{borderWidth:"0px"}},panel:{marginRight:"10px"}}},Slider:{baseStyle:function(e){return{thumb:{backgroundColor:n},filledTrack:{backgroundColor:"gray.400"},track:{backgroundColor:"gray.400",borderColor:"gray.400",borderWidth:"5px",borderRadius:"lg"}}}}}}}),[n,JSON.stringify(a)]),ua({colorScheme:n.split(".")[0]}));return(0,pa.jsx)(ia,{theme:c,children:r})}var va=function(e){var r=e.Component,t=e.pageProps,n=["one-vibrant",ba.n["one-vibrant"]],a=(0,o.useState)(!1),i=a[0],l=a[1],s=(0,o.useState)(n),c=s[0],u=s[1],d=(0,o.useState)("purple.500"),f=d[0],b=d[1];(0,o.useEffect)((function(){i&&localStorage.setItem("colorTheme",JSON.stringify(c))}),[c]),(0,o.useEffect)((function(){i&&localStorage.setItem("highlightColor",JSON.stringify(f))}),[f]),(0,o.useEffect)((function(){var e,r,t,a;u(null!==(e=JSON.parse(null!==(r=localStorage.getItem("colorTheme"))&&void 0!==r?r:JSON.stringify(n)))&&void 0!==e?e:n),b(null!==(t=JSON.parse(null!==(a=localStorage.getItem("highlightColor"))&&void 0!==a?a:JSON.stringify(f)))&&void 0!==t?t:f),l(!0)}),[]);var p={emacsTheme:c,setEmacsTheme:u,highlightColor:f,setHighlightColor:b};return(0,pa.jsx)(fa.N.Provider,{value:p,children:(0,pa.jsx)(ma,{children:(0,pa.jsx)(r,ha({},t))})})}},29356:function(e,r,t){"use strict";t.d(r,{N:function(){return o}});var n=t(67294),a=["vibrant",t(67690).n["one-vibrant"]],o=(0,n.createContext)({emacsTheme:a,setEmacsTheme:null,highlightColor:"purple",setHighlightColor:null})},94798:function(e,r,t){"use strict";function n(e,r,t){e.prototype=r.prototype=t,t.constructor=e}function a(e,r){var t=Object.create(e.prototype);for(var n in r)t[n]=r[n];return t}function o(){}t.d(r,{ZP:function(){return w},B8:function(){return C}});var i=.7,l=1/i,s="\\s*([+-]?\\d+)\\s*",c="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",u="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",d=/^#([0-9a-f]{3,8})$/,f=new RegExp("^rgb\\("+[s,s,s]+"\\)$"),b=new RegExp("^rgb\\("+[u,u,u]+"\\)$"),p=new RegExp("^rgba\\("+[s,s,s,c]+"\\)$"),g=new RegExp("^rgba\\("+[u,u,u,c]+"\\)$"),h=new RegExp("^hsl\\("+[c,u,u]+"\\)$"),m=new RegExp("^hsla\\("+[c,u,u,c]+"\\)$"),v={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function y(){return this.rgb().formatHex()}function x(){return this.rgb().formatRgb()}function w(e){var r,t;return e=(e+"").trim().toLowerCase(),(r=d.exec(e))?(t=r[1].length,r=parseInt(r[1],16),6===t?k(r):3===t?new A(r>>8&15|r>>4&240,r>>4&15|240&r,(15&r)<<4|15&r,1):8===t?S(r>>24&255,r>>16&255,r>>8&255,(255&r)/255):4===t?S(r>>12&15|r>>8&240,r>>8&15|r>>4&240,r>>4&15|240&r,((15&r)<<4|15&r)/255):null):(r=f.exec(e))?new A(r[1],r[2],r[3],1):(r=b.exec(e))?new A(255*r[1]/100,255*r[2]/100,255*r[3]/100,1):(r=p.exec(e))?S(r[1],r[2],r[3],r[4]):(r=g.exec(e))?S(255*r[1]/100,255*r[2]/100,255*r[3]/100,r[4]):(r=h.exec(e))?D(r[1],r[2]/100,r[3]/100,1):(r=m.exec(e))?D(r[1],r[2]/100,r[3]/100,r[4]):v.hasOwnProperty(e)?k(v[e]):"transparent"===e?new A(NaN,NaN,NaN,0):null}function k(e){return new A(e>>16&255,e>>8&255,255&e,1)}function S(e,r,t,n){return n<=0&&(e=r=t=NaN),new A(e,r,t,n)}function E(e){return e instanceof o||(e=w(e)),e?new A((e=e.rgb()).r,e.g,e.b,e.opacity):new A}function C(e,r,t,n){return 1===arguments.length?E(e):new A(e,r,t,null==n?1:n)}function A(e,r,t,n){this.r=+e,this.g=+r,this.b=+t,this.opacity=+n}function F(){return"#"+_(this.r)+_(this.g)+_(this.b)}function B(){var e=this.opacity;return(1===(e=isNaN(e)?1:Math.max(0,Math.min(1,e)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===e?")":", "+e+")")}function _(e){return((e=Math.max(0,Math.min(255,Math.round(e)||0)))<16?"0":"")+e.toString(16)}function D(e,r,t,n){return n<=0?e=r=t=NaN:t<=0||t>=1?e=r=NaN:r<=0&&(e=NaN),new T(e,r,t,n)}function R(e){if(e instanceof T)return new T(e.h,e.s,e.l,e.opacity);if(e instanceof o||(e=w(e)),!e)return new T;if(e instanceof T)return e;var r=(e=e.rgb()).r/255,t=e.g/255,n=e.b/255,a=Math.min(r,t,n),i=Math.max(r,t,n),l=NaN,s=i-a,c=(i+a)/2;return s?(l=r===i?(t-n)/s+6*(t<n):t===i?(n-r)/s+2:(r-t)/s+4,s/=c<.5?i+a:2-i-a,l*=60):s=c>0&&c<1?0:l,new T(l,s,c,e.opacity)}function T(e,r,t,n){this.h=+e,this.s=+r,this.l=+t,this.opacity=+n}function z(e,r,t){return 255*(e<60?r+(t-r)*e/60:e<180?t:e<240?r+(t-r)*(240-e)/60:r)}n(o,w,{copy:function(e){return Object.assign(new this.constructor,this,e)},displayable:function(){return this.rgb().displayable()},hex:y,formatHex:y,formatHsl:function(){return R(this).formatHsl()},formatRgb:x,toString:x}),n(A,C,a(o,{brighter:function(e){return e=null==e?l:Math.pow(l,e),new A(this.r*e,this.g*e,this.b*e,this.opacity)},darker:function(e){return e=null==e?i:Math.pow(i,e),new A(this.r*e,this.g*e,this.b*e,this.opacity)},rgb:function(){return this},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:F,formatHex:F,formatRgb:B,toString:B})),n(T,(function(e,r,t,n){return 1===arguments.length?R(e):new T(e,r,t,null==n?1:n)}),a(o,{brighter:function(e){return e=null==e?l:Math.pow(l,e),new T(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?i:Math.pow(i,e),new T(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=this.h%360+360*(this.h<0),r=isNaN(e)||isNaN(this.s)?0:this.s,t=this.l,n=t+(t<.5?t:1-t)*r,a=2*t-n;return new A(z(e>=240?e-240:e+120,a,n),z(e,a,n),z(e<120?e+240:e-120,a,n),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var e=this.opacity;return(1===(e=isNaN(e)?1:Math.max(0,Math.min(1,e)))?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(1===e?")":", "+e+")")}}))},57631:function(e,r){"use strict";r.Z=function(e){return function(){return e}}},13311:function(e,r,t){"use strict";function n(e,r){return e=+e,r=+r,function(t){return e*(1-t)+r*t}}t.d(r,{Z:function(){return n}})},20439:function(e,r,t){"use strict";t.d(r,{ZP:function(){return c}});var n=t(94798);function a(e,r,t,n,a){var o=e*e,i=o*e;return((1-3*e+3*o-i)*r+(4-6*o+3*i)*t+(1+3*e+3*o-3*i)*n+i*a)/6}var o=t(57631);function i(e,r){return function(t){return e+t*r}}function l(e){return 1===(e=+e)?s:function(r,t){return t-r?function(e,r,t){return e=Math.pow(e,t),r=Math.pow(r,t)-e,t=1/t,function(n){return Math.pow(e+n*r,t)}}(r,t,e):(0,o.Z)(isNaN(r)?t:r)}}function s(e,r){var t=r-e;return t?i(e,t):(0,o.Z)(isNaN(e)?r:e)}var c=function e(r){var t=l(r);function a(e,r){var a=t((e=(0,n.B8)(e)).r,(r=(0,n.B8)(r)).r),o=t(e.g,r.g),i=t(e.b,r.b),l=s(e.opacity,r.opacity);return function(r){return e.r=a(r),e.g=o(r),e.b=i(r),e.opacity=l(r),e+""}}return a.gamma=e,a}(1);function u(e){return function(r){var t,a,o=r.length,i=new Array(o),l=new Array(o),s=new Array(o);for(t=0;t<o;++t)a=(0,n.B8)(r[t]),i[t]=a.r||0,l[t]=a.g||0,s[t]=a.b||0;return i=e(i),l=e(l),s=e(s),a.opacity=1,function(e){return a.r=i(e),a.g=l(e),a.b=s(e),a+""}}}u((function(e){var r=e.length-1;return function(t){var n=t<=0?t=0:t>=1?(t=1,r-1):Math.floor(t*r),o=e[n],i=e[n+1],l=n>0?e[n-1]:2*o-i,s=n<r-1?e[n+2]:2*i-o;return a((t-n/r)*r,l,o,i,s)}})),u((function(e){var r=e.length;return function(t){var n=Math.floor(((t%=1)<0?++t:t)*r),o=e[(n+r-1)%r],i=e[n%r],l=e[(n+1)%r],s=e[(n+2)%r];return a((t-n/r)*r,o,i,l,s)}}))},25996:function(e,r,t){"use strict";t.d(r,{Z:function(){return i}});var n=t(13311),a=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,o=new RegExp(a.source,"g");function i(e,r){var t,i,l,s=a.lastIndex=o.lastIndex=0,c=-1,u=[],d=[];for(e+="",r+="";(t=a.exec(e))&&(i=o.exec(r));)(l=i.index)>s&&(l=r.slice(s,l),u[c]?u[c]+=l:u[++c]=l),(t=t[0])===(i=i[0])?u[c]?u[c]+=i:u[++c]=i:(u[++c]=null,d.push({i:c,x:(0,n.Z)(t,i)})),s=o.lastIndex;return s<r.length&&(l=r.slice(s),u[c]?u[c]+=l:u[++c]=l),u.length<2?d[0]?function(e){return function(r){return e(r)+""}}(d[0].x):function(e){return function(){return e}}(r):(r=d.length,function(e){for(var t,n=0;n<r;++n)u[(t=d[n]).i]=t.x(e);return u.join("")})}},52596:function(e,r,t){"use strict";t.d(r,{Z:function(){return f}});var n=t(94798),a=t(20439);function o(e,r){var t,n=r?r.length:0,a=e?Math.min(n,e.length):0,o=new Array(a),i=new Array(n);for(t=0;t<a;++t)o[t]=f(e[t],r[t]);for(;t<n;++t)i[t]=r[t];return function(e){for(t=0;t<a;++t)i[t]=o[t](e);return i}}function i(e,r){var t=new Date;return e=+e,r=+r,function(n){return t.setTime(e*(1-n)+r*n),t}}var l=t(13311);function s(e,r){var t,n={},a={};for(t in null!==e&&"object"===typeof e||(e={}),null!==r&&"object"===typeof r||(r={}),r)t in e?n[t]=f(e[t],r[t]):a[t]=r[t];return function(e){for(t in n)a[t]=n[t](e);return a}}var c=t(25996),u=t(57631);function d(e,r){r||(r=[]);var t,n=e?Math.min(r.length,e.length):0,a=r.slice();return function(o){for(t=0;t<n;++t)a[t]=e[t]*(1-o)+r[t]*o;return a}}function f(e,r){var t,f,b=typeof r;return null==r||"boolean"===b?(0,u.Z)(r):("number"===b?l.Z:"string"===b?(t=(0,n.ZP)(r))?(r=t,a.ZP):c.Z:r instanceof n.ZP?a.ZP:r instanceof Date?i:(f=r,!ArrayBuffer.isView(f)||f instanceof DataView?Array.isArray(r)?o:"function"!==typeof r.valueOf&&"function"!==typeof r.toString||isNaN(r)?s:l.Z:d))(e,r)}},76363:function(e,r,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/_app",function(){return t(93264)}])},43146:function(){},69590:function(e){var r="undefined"!==typeof Element,t="function"===typeof Map,n="function"===typeof Set,a="function"===typeof ArrayBuffer&&!!ArrayBuffer.isView;function o(e,i){if(e===i)return!0;if(e&&i&&"object"==typeof e&&"object"==typeof i){if(e.constructor!==i.constructor)return!1;var l,s,c,u;if(Array.isArray(e)){if((l=e.length)!=i.length)return!1;for(s=l;0!==s--;)if(!o(e[s],i[s]))return!1;return!0}if(t&&e instanceof Map&&i instanceof Map){if(e.size!==i.size)return!1;for(u=e.entries();!(s=u.next()).done;)if(!i.has(s.value[0]))return!1;for(u=e.entries();!(s=u.next()).done;)if(!o(s.value[1],i.get(s.value[0])))return!1;return!0}if(n&&e instanceof Set&&i instanceof Set){if(e.size!==i.size)return!1;for(u=e.entries();!(s=u.next()).done;)if(!i.has(s.value[0]))return!1;return!0}if(a&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(i)){if((l=e.length)!=i.length)return!1;for(s=l;0!==s--;)if(e[s]!==i[s])return!1;return!0}if(e.constructor===RegExp)return e.source===i.source&&e.flags===i.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===i.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===i.toString();if((l=(c=Object.keys(e)).length)!==Object.keys(i).length)return!1;for(s=l;0!==s--;)if(!Object.prototype.hasOwnProperty.call(i,c[s]))return!1;if(r&&e instanceof Element)return!1;for(s=l;0!==s--;)if(("_owner"!==c[s]&&"__v"!==c[s]&&"__o"!==c[s]||!e.$$typeof)&&!o(e[c[s]],i[c[s]]))return!1;return!0}return e!==e&&i!==i}e.exports=function(e,r){try{return o(e,r)}catch(t){if((t.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw t}}},69921:function(e,r){"use strict";var t="function"===typeof Symbol&&Symbol.for,n=t?Symbol.for("react.element"):60103,a=t?Symbol.for("react.portal"):60106,o=t?Symbol.for("react.fragment"):60107,i=t?Symbol.for("react.strict_mode"):60108,l=t?Symbol.for("react.profiler"):60114,s=t?Symbol.for("react.provider"):60109,c=t?Symbol.for("react.context"):60110,u=t?Symbol.for("react.async_mode"):60111,d=t?Symbol.for("react.concurrent_mode"):60111,f=t?Symbol.for("react.forward_ref"):60112,b=t?Symbol.for("react.suspense"):60113,p=t?Symbol.for("react.suspense_list"):60120,g=t?Symbol.for("react.memo"):60115,h=t?Symbol.for("react.lazy"):60116,m=t?Symbol.for("react.block"):60121,v=t?Symbol.for("react.fundamental"):60117,y=t?Symbol.for("react.responder"):60118,x=t?Symbol.for("react.scope"):60119;function w(e){if("object"===typeof e&&null!==e){var r=e.$$typeof;switch(r){case n:switch(e=e.type){case u:case d:case o:case l:case i:case b:return e;default:switch(e=e&&e.$$typeof){case c:case f:case h:case g:case s:return e;default:return r}}case a:return r}}}function k(e){return w(e)===d}r.AsyncMode=u,r.ConcurrentMode=d,r.ContextConsumer=c,r.ContextProvider=s,r.Element=n,r.ForwardRef=f,r.Fragment=o,r.Lazy=h,r.Memo=g,r.Portal=a,r.Profiler=l,r.StrictMode=i,r.Suspense=b,r.isAsyncMode=function(e){return k(e)||w(e)===u},r.isConcurrentMode=k,r.isContextConsumer=function(e){return w(e)===c},r.isContextProvider=function(e){return w(e)===s},r.isElement=function(e){return"object"===typeof e&&null!==e&&e.$$typeof===n},r.isForwardRef=function(e){return w(e)===f},r.isFragment=function(e){return w(e)===o},r.isLazy=function(e){return w(e)===h},r.isMemo=function(e){return w(e)===g},r.isPortal=function(e){return w(e)===a},r.isProfiler=function(e){return w(e)===l},r.isStrictMode=function(e){return w(e)===i},r.isSuspense=function(e){return w(e)===b},r.isValidElementType=function(e){return"string"===typeof e||"function"===typeof e||e===o||e===d||e===l||e===i||e===b||e===p||"object"===typeof e&&null!==e&&(e.$$typeof===h||e.$$typeof===g||e.$$typeof===s||e.$$typeof===c||e.$$typeof===f||e.$$typeof===v||e.$$typeof===y||e.$$typeof===x||e.$$typeof===m)},r.typeOf=w},59864:function(e,r,t){"use strict";e.exports=t(69921)},11742:function(e){e.exports=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var r=document.activeElement,t=[],n=0;n<e.rangeCount;n++)t.push(e.getRangeAt(n));switch(r.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":r.blur();break;default:r=null}return e.removeAllRanges(),function(){"Caret"===e.type&&e.removeAllRanges(),e.rangeCount||t.forEach((function(r){e.addRange(r)})),r&&r.focus()}}},87462:function(e,r,t){"use strict";function n(){return(n=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e}).apply(this,arguments)}t.d(r,{Z:function(){return n}})},92809:function(e,r,t){"use strict";function n(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}t.d(r,{Z:function(){return n}})}},function(e){var r=function(r){return e(e.s=r)};e.O(0,[774,179],(function(){return r(76363),r(34651)}));var t=e.O();_N_E=t}]);
\ No newline at end of file diff --git a/out/_next/static/chunks/pages/index-d0602a908c162f7c5496.js b/out/_next/static/chunks/pages/index-d0602a908c162f7c5496.js deleted file mode 100644 index db96f6b..0000000 --- a/out/_next/static/chunks/pages/index-d0602a908c162f7c5496.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[405],{20624:function(e,n,t){"use strict";t.r(n),t.d(n,{Graph:function(){return Xt},GraphPage:function(){return Gt},default:function(){return qt},getThemeColor:function(){return Kt},hexToRGBA:function(){return $t},normalizeLinkEnds:function(){return Qt}});var r=t(30266),o=t(83789),i=t(92809),l=t(80318),s=t(809),c=t.n(s),a=t(97375),u=t(68527),d=t(47398),h=t(68921),g=t(105),f=t(27549),p=t(74376),x=t(52596),j=t(9008),b=t(67294),v=t(32802),m=t.n(v),y=t(47516),C=t(63750),O=t(22003),w=t(31122),k=t(7520),S=t(36194),I=[],N={};for(var P in S.oY)for(var D in S.oY[P]){var B=P+D;"LinearNone"===B&&(B="Linear"),I.push(B),N[B]=S.oY[P][D]}var L=N,T={enabled:!0,charge:-700,collision:!0,collisionStrength:20,centering:!0,centeringStrength:.2,linkStrength:.3,linkIts:1,alphaDecay:.05,alphaTarget:0,alphaMin:0,velocityDecay:.25,gravity:.3,gravityOn:!0,gravityLocal:!1},z={orphans:!1,dailies:!1,parent:"heading",filelessCites:!1,tagsBlacklist:[],tagsWhitelist:[],dirsBlocklist:[],dirsAllowlist:[],bad:!0,nodes:[],links:[],date:[],noter:!0},F={method:"degree"},E={particles:!1,particlesNumber:0,particlesWidth:4,arrows:!1,arrowsLength:1,arrowsPos:.5,arrowsColor:"",linkOpacity:.8,linkWidth:1,nodeRel:3,nodeOpacity:1,nodeResolution:12,labels:2,labelScale:1.5,labelFontSize:10,labelLength:40,labelWordWrap:25,labelLineSpace:1,labelDynamicDegree:8,labelDynamicStrength:.5,highlight:!0,highlightNodeSize:1.1,highlightLinkSize:.7,highlightFade:.8,highlightAnim:!0,animationSpeed:360,algorithmOptions:I,algorithmName:"CircularOut",linkColorScheme:"gray.500",nodeColorScheme:["red.500","gray.600","yellow.500","green.500","cyan.500","blue.500","pink.500","purple.500","orange.500"],nodeHighlight:"purple.500",linkHighlight:"purple.500",backgroundColor:"white",emacsNodeColor:"gray.800",labelTextColor:"black",labelBackgroundColor:"",labelBackgroundOpacity:.7,citeDashes:!0,citeDashLength:35,citeGapLength:15,citeLinkColor:"gray.700",citeLinkHighlightColor:"",citeNodeColor:"black",refDashes:!0,refDashLength:35,refGapLength:15,refLinkColor:"gray.700",refLinkHighlightColor:"",refNodeColor:"black",nodeSizeLinks:.5,nodeZoomSize:1.2},R={follow:"zoom",localSame:"add",zoomPadding:200,zoomSpeed:2e3},Z={highlight:"hover",local:"double",follow:"never",context:"right",preview:"click",backgroundExitsLocal:!1},H={neighbors:1},W=["red.500","orange.500","yellow.500","green.500","cyan.500","blue.500","pink.500","purple.500","white","gray.100","gray.200","gray.300","gray.400","gray.500","gray.600","gray.700","gray.800","gray.900","black"],A=t(57324),M=t(90232),V=t(52072);function _(e,n,t){t.send(JSON.stringify({command:e,data:n}))}function U(e,n){_("open",{id:e.id},n)}var q=t(10219),G=t(44592),X=t(38554),J=t.n(X),Q=t(53869),K=t(99860);function $(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function Y(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?$(Object(t),!0).forEach((function(n){(0,i.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):$(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var ee={ease:[.25,.1,.25,1],easeIn:[.4,0,1,1],easeOut:[0,0,.2,1],easeInOut:[.4,0,.2,1]};var ne=function(e,n){return Y(Y({},e),{},{delay:(0,G.hj)(n)?n:null===n||void 0===n?void 0:n.enter})},te=function(e,n){return Y(Y({},e),{},{delay:(0,G.hj)(n)?n:null===n||void 0===n?void 0:n.exit})},re=t(85893),oe=["in","unmountOnExit","animateOpacity","startingSize","endingSize","dimension","style","className","transition","transitionEnd"];function ie(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function le(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?ie(Object(t),!0).forEach((function(n){(0,i.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ie(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var se=function(e){return null!=e&&parseInt(e.toString(),10)>0},ce={exit:{size:{duration:.2,ease:ee.ease},opacity:{duration:.3,ease:ee.ease}},enter:{size:{duration:.3,ease:ee.ease},opacity:{duration:.4,ease:ee.ease}}},ae={exit:function(e){var n,t,r=e.animateOpacity,o=e.startingSize,l=e.transition,s=e.transitionEnd,c=e.delay,a=e.dimension;return le(le({},r&&{opacity:se(o)?1:0}),{},(t={overflow:"hidden"},(0,i.Z)(t,a,o),(0,i.Z)(t,"transitionEnd",null===s||void 0===s?void 0:s.exit),(0,i.Z)(t,"transition",null!==(n=null===l||void 0===l?void 0:l.exit)&&void 0!==n?n:te(ce.exit,c)),t))},enter:function(e){var n,t,r=e.animateOpacity,o=e.endingSize,l=e.transition,s=e.transitionEnd,c=e.delay,a=e.dimension;return le(le({},r&&{opacity:1}),{},(t={},(0,i.Z)(t,a,o),(0,i.Z)(t,"transitionEnd",null===s||void 0===s?void 0:s.enter),(0,i.Z)(t,"transition",null!==(n=null===l||void 0===l?void 0:l.enter)&&void 0!==n?n:ne(ce.enter,c)),t))}},ue=b.forwardRef((function(e,n){var t=e.in,r=e.unmountOnExit,o=e.animateOpacity,i=void 0===o||o,s=e.startingSize,c=void 0===s?0:s,a=e.endingSize,u=void 0===a?"auto":a,d=e.dimension,h=void 0===d?"height":d,g=e.style,f=e.className,p=e.transition,x=e.transitionEnd,j=(0,q.Z)(e,oe),v=b.useState(!1),m=(0,l.Z)(v,2),y=m[0],C=m[1];b.useEffect((function(){var e=setTimeout((function(){C(!0)}));return function(){return clearTimeout(e)}}),[]),(0,G.ZK)({condition:Boolean(c>0&&r),message:"startingSize and unmountOnExit are mutually exclusive. You can't use them together"});var O=parseFloat(c.toString())>0,w={startingSize:c,endingSize:u,animateOpacity:i,dimension:h,transition:y?p:{enter:{duration:0}},transitionEnd:J()(x,{enter:{overflow:"initial"},exit:r?void 0:{display:O?"block":"none"}})},k=!r||t,S=t||r?"enter":"exit";return(0,re.jsx)(Q.M,{initial:!1,custom:w,children:k&&(0,re.jsx)(K.E.div,le(le({ref:n},j),{},{className:(0,G.cx)("chakra-collapse",f),style:le({overflow:"hidden",display:"block"},g),custom:w,variants:ae,initial:!!r&&"exit",animate:S,exit:"exit"}))})}));function de(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function he(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?de(Object(t),!0).forEach((function(n){(0,i.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):de(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}G.Ts&&(ue.displayName="Collapse");var ge=function(e){var n=e.setTagColors,t=e.setFilter,r=e.filter,l=e.tagColors,s=e.target,c=r.tagsBlacklist,d=r.tagsWhitelist,h=c.indexOf(s)>-1,g=d.indexOf(s)>-1,f=(0,a.qY)();return(0,re.jsxs)(re.Fragment,{children:[(0,re.jsx)(A.sN,{icon:(0,re.jsx)(u.Box,{bgColor:l[s],borderRadius:"sm",height:3,width:3,borderColor:l[s]||"gray.600",borderWidth:1}),closeOnSelect:!1,onClick:f.onToggle,children:(0,re.jsx)(u.Text,{children:"Change color"})}),(0,re.jsx)(ue,{in:f.isOpen,children:(0,re.jsxs)(u.Flex,{ml:2,mt:2,flexWrap:"wrap",children:[(0,re.jsx)(u.Box,{children:(0,re.jsx)(u.Box,{tabIndex:0,cursor:"pointer",onClick:function(){return n((function(e){return Object.fromEntries(Object.keys(e).filter((function(e){return e!==s})).map((function(n){return[n,e[n]]})))}))},bgColor:"",m:1,borderRadius:"sm",borderColor:"gray.600",borderWidth:1,height:3,width:3})},"empty"),W.map((function(e){return(0,re.jsx)(u.Box,{children:(0,re.jsx)(u.Box,{tabIndex:0,cursor:"pointer",onClick:function(){return n(he(he({},l),{},(0,i.Z)({},s,e)))},bgColor:e,m:1,borderRadius:"sm",height:3,width:3})},e)}))]})}),!g&&(0,re.jsx)(A.sN,{onClick:function(){t(h?function(e){return he(he({},e),{},{tagsBlacklist:e.tagsBlacklist.filter((function(e){return e!==s}))})}:function(e){return he(he({},e),{},{tagsBlacklist:[].concat((0,o.Z)(e.tagsBlacklist),[s])})})},icon:h?(0,re.jsx)(V.MinusIcon,{}):(0,re.jsx)(V.ViewOffIcon,{}),children:h?"Remove from blocklist":"Add to blocklist"}),!h&&(0,re.jsx)(A.sN,{onClick:function(){t(g?function(e){return he(he({},e),{},{tagsWhitelist:e.tagsWhitelist.filter((function(e){return e!==s}))})}:function(e){return he(he({},e),{},{tagsWhitelist:[].concat((0,o.Z)(e.tagsWhitelist),[s])})})},icon:g?(0,re.jsx)(V.MinusIcon,{}):(0,re.jsx)(V.ViewIcon,{}),children:g?"Remove from allowlist":"Add to allowlist"})]})},fe=function(e){e.background;var n,t,r=e.target,o=(e.nodeType,e.coordinates),i=e.handleLocal,l=e.menuClose,s=e.scope,c=e.webSocket,d=e.setPreviewNode,g=e.setTagColors,f=e.tagColors,p=e.setFilter,x=e.filter,j=(0,a.qY)(),v=j.isOpen,m=j.onOpen,C=j.onClose;(0,b.useRef)();return(0,re.jsxs)(re.Fragment,{children:[(0,re.jsx)(A.v2,{defaultIsOpen:!0,closeOnBlur:!1,onClose:function(){return l()},children:(0,re.jsx)(A.qy,{zIndex:"overlay",bgColor:"white",color:"black",position:"absolute",left:o.left,top:o.top,right:o.right,bottom:o.bottom,fontSize:"xs",boxShadow:"xl",children:"string"!==typeof r?(0,re.jsxs)(re.Fragment,{children:[r&&(0,re.jsxs)(re.Fragment,{children:[(0,re.jsx)(u.Heading,{size:"xs",isTruncated:!0,px:3,py:1,children:r.title}),(0,re.jsx)(A.R,{borderColor:"gray.500"})]}),0!==s.nodeIds.length&&(0,re.jsxs)(re.Fragment,{children:[(0,re.jsx)(A.sN,{onClick:function(){return i(r,"add")},icon:(0,re.jsx)(V.PlusSquareIcon,{}),children:"Expand local graph at node"}),(0,re.jsx)(A.sN,{onClick:function(){return i(r,"replace")},icon:(0,re.jsx)(y.DvO,{}),children:"Open local graph for this node"}),(0,re.jsx)(A.sN,{onClick:function(){return i(r,"remove")},icon:(0,re.jsx)(V.MinusIcon,{}),children:"Exclude node from local graph"})]}),null!==r&&void 0!==r&&null!==(n=r.properties)&&void 0!==n&&n.FILELESS?(0,re.jsx)(A.sN,{icon:(0,re.jsx)(V.AddIcon,{}),onClick:function(){return function(e,n){_("create",{id:e.id,title:e.title,ref:e.properties.ROAM_REFS},n)}(r,c)},children:"Create node"}):(0,re.jsx)(A.sN,{icon:(0,re.jsx)(V.EditIcon,{}),onClick:function(){return U(r,c)},children:"Open in Emacs"}),(null===r||void 0===r||null===(t=r.properties)||void 0===t?void 0:t.ROAM_REFS)&&(0,re.jsx)(A.sN,{icon:(0,re.jsx)(V.ExternalLinkIcon,{}),children:"Open in Zotero"}),0===s.nodeIds.length&&(0,re.jsx)(A.sN,{icon:(0,re.jsx)(y.DvO,{}),onClick:function(){return i(r,"replace")},children:"Open local graph"}),(0,re.jsx)(A.sN,{icon:(0,re.jsx)(V.ViewIcon,{}),onClick:function(){d(r)},children:"Preview"}),0===(null===r||void 0===r?void 0:r.level)&&(0,re.jsx)(A.sN,{closeOnSelect:!1,icon:(0,re.jsx)(V.DeleteIcon,{color:"red.500"}),color:"red.500",onClick:m,children:"Permanently delete note"})]}):(0,re.jsx)(ge,{target:r,tagColors:f,filter:x,setTagColors:g,setFilter:p})})}),"string"!==typeof r&&(0,re.jsxs)(M.u_,{isCentered:!0,isOpen:v,onClose:C,children:[(0,re.jsx)(M.ZA,{}),(0,re.jsxs)(M.hz,{zIndex:"popover",children:[(0,re.jsx)(M.xB,{children:"Delete node?"}),(0,re.jsx)(M.ol,{}),(0,re.jsx)(M.fe,{children:(0,re.jsxs)(u.VStack,{spacing:4,display:"flex",alignItems:"flex-start",children:[(0,re.jsx)(u.Text,{children:"This will permanently delete your note:"}),(0,re.jsx)(u.Text,{fontWeight:"bold",children:null===r||void 0===r?void 0:r.title}),0!==(null===r||void 0===r?void 0:r.level)&&(0,re.jsx)(u.Text,{children:"This will only delete the from this heading until but not including the next node. Your parent file and all other nodes will not be deleted."}),(0,re.jsx)(u.Text,{children:"Are you sure you want to do continue?"})]})}),(0,re.jsxs)(M.mz,{children:[(0,re.jsx)(h.Button,{mr:3,onClick:function(){console.log("closing"),C(),l()},children:"Cancel"}),(0,re.jsx)(h.Button,{variant:"link",colorScheme:"red",ml:3,onClick:function(){console.log("aaaaa"),function(e,n){0===e.level&&_("delete",{id:e.id,file:e.file},n)}(r,c),C(),l()},children:"Delete node"})]})]})]})]})},pe=t(5434),xe=t(51649),je=function(e){var n=e.setJustification,t=(e.setIndent,e.setFont,e.justification),r=(e.setPreviewNode,e.canUndo),o=e.canRedo,i=(e.resetPreviewNode,e.previousPreviewNode),l=e.nextPreviewNode,s=e.outline,c=e.setOutline,a=e.collapse,g=e.setCollapse;return(0,re.jsxs)(u.Flex,{flex:"0 1 40px",pb:3,alignItems:"center",justifyContent:"space-between",pr:1,children:[(0,re.jsx)(u.Flex,{children:(0,re.jsxs)(h.ButtonGroup,{isAttached:!0,children:[(0,re.jsx)(d.u,{label:"Go backward",children:(0,re.jsx)(h.IconButton,{_focus:{},variant:"subtle",icon:(0,re.jsx)(V.ChevronLeftIcon,{}),"aria-label":"Previous node",disabled:!r,onClick:function(){return i()}})}),(0,re.jsx)(d.u,{label:"Go forward",children:(0,re.jsx)(h.IconButton,{_focus:{},variant:"subtle",icon:(0,re.jsx)(V.ChevronRightIcon,{}),"aria-label":"Next node",disabled:!o,onClick:function(){return l()}})})]})}),(0,re.jsxs)(u.Flex,{children:[(0,re.jsx)(d.u,{label:"Justify content",children:(0,re.jsx)(h.IconButton,{variant:"subtle","aria-label":"Justify content",icon:[(0,re.jsx)(y.v9V,{},"justify"),(0,re.jsx)(y.YSr,{},"left"),(0,re.jsx)(y.RXA,{},"right"),(0,re.jsx)(y.tr_,{},"center")][t],onClick:function(){return n((function(e){return(e+1)%4}))}})}),(0,re.jsx)(d.u,{label:"Toggle outline view",children:(0,re.jsx)(h.IconButton,{variant:"subtle","aria-label":"Justify content",icon:s?(0,re.jsx)(xe.XQM,{}):(0,re.jsx)(xe.JfF,{}),onClick:function(){return c((function(e){return!e}))}})}),(0,re.jsx)(d.u,{label:"Toggle headers",children:(0,re.jsx)(h.IconButton,{variant:"subtle","aria-label":"Toggle headers",icon:a?(0,re.jsx)(pe.omV,{}):(0,re.jsx)(pe.egf,{}),onClick:function(){return g((function(e){return!e}))}})})]})]})},be=t(96356);function ve(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function me(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?ve(Object(t),!0).forEach((function(n){(0,i.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ve(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var ye=function(e){var n,t,r,i=e.filter,l=e.setFilter,s=e.tagColors,c=(e.setTagColors,e.openContextMenu),a=e.previewNode;return null!==a&&void 0!==a&&a.tags&&null!==(null===a||void 0===a||null===(n=a.tags)||void 0===n?void 0:n[0])?(0,re.jsx)(u.Flex,{mb:2,flexWrap:"wrap",children:null===a||void 0===a||null===(t=a.tags)||void 0===t||null===(r=t.map)||void 0===r?void 0:r.call(t,(function(e){var n,t,r,a=null!==(n=i.tagsBlacklist)&&void 0!==n?n:[],u=null!==(t=i.tagsWhitelist)&&void 0!==t?t:[],d=a.includes(e),h=u.includes(e);return(0,re.jsxs)(be.Tag,{tabIndex:0,mr:2,mt:2,onContextMenu:function(n){n.preventDefault(),c(e,n)},cursor:"pointer",onClick:function(){l(d?function(n){return me(me({},n),{},{tagsBlacklist:n.tagsBlacklist.filter((function(n){return n!==e})),tagsWhitelist:[].concat((0,o.Z)(n.tagsWhitelist),[e])})}:h?function(n){return me(me({},n),{},{tagsWhitelist:n.tagsWhitelist.filter((function(n){return n!==e}))})}:function(n){return me(me({},n),{},{tagsBlacklist:[].concat((0,o.Z)(n.tagsBlacklist),[e])})})},size:"sm",variant:"outline",colorScheme:(null===(r=s[e])||void 0===r?void 0:r.replaceAll(/(.*?)\..*/g,"$1"))||void 0,children:[(0,re.jsx)(be.TagLabel,{children:e}),d?(0,re.jsx)(be.TagRightIcon,{as:V.ViewOffIcon}):h?(0,re.jsx)(be.TagRightIcon,{as:V.ViewIcon}):null]},e)}))}):null},Ce=t(18835),Oe=t.n(Ce),we=t(13816),ke=t.n(we),Se=t(42728),Ie=t.n(Se),Ne=t(77890),Pe=t.n(Ne),De=t(94986),Be=t.n(De),Le=t(88541),Te=t.n(Le),ze=t(71167),Fe=t.n(ze),Ee=(t(85062),t(27431)),Re=t.n(Ee),Ze=t(12861),He=t.n(Ze),We=t(10043),Ae=t.n(We),Me=t(80816),Ve=t(93545),_e=t.n(Ve),Ue=t(15941),qe=t.n(Ue),Ge=t(67597),Xe=t.n(Ge),Je=t(44549),Qe=t.n(Je),Ke=t(78818),$e=t.n(Ke),Ye=t(32095),en=t(46871),nn=t(29356),tn={".headingFlex":{flexDirection:"row-reverse",justifyContent:"flex-end"},".outlineHeadingButton":{display:"none"},h1:{color:"black",lineHeight:"1.2",fontSize:"16",fontWeight:"bold",paddingTop:2},h2:{fontSize:"14",color:"black",fontWeight:"bold",fontStyle:"bold italic",paddingTop:2},h3:{fontSize:"13",color:"black",paddingTop:2},h4:{fontSize:"12",fontStyle:"italic",color:"black",paddingTop:2},".sectionContent":{paddingTop:2}},rn={".headingFlex":{flexDirection:"row",justifyContent:"flex-start"},".viewerHeadingButton":{display:"none"},".sectionContent":{mt:3,paddingLeft:4,ml:"11px",borderLeftWidth:"1px",borderLeftColor:"gray.500"},".preHeadingContent":{},"h1,h2,h3,h4,h5,h6,h7,h8":{pl:1,lineHeight:"1.25",color:"black",fontSize:15,fontWeight:700},".sec":{pt:1},".wrapClass > div > p":{mb:2},p:{fontWeight:500,fontSize:14,pb:2}},on={".katex":{overflowX:"scroll"},ol:{paddingLeft:4,py:1},"li::marker":{fontSize:12,fontWeight:"bold"},li:{pt:1},ul:{paddingLeft:"5"},p:{fontSize:"14",fontWeight:"500 !important",pb:2},div:{hyphens:"auto !important"},".title":{textAlign:"center",marginBottom:".2em"},".subtitle":{textAlign:"center",fontSize:"medium",fontWeight:"bold",marginTop:0},".TODO":{color:"red.500"},".equationContainer":{display:"table",textAlign:"center",width:"100%"},".equation":{verticalAlign:"middle"},".equation-label":{display:"tableCell",textAlign:"right",verticalAlign:"middle"},".inlinetask":{padding:"10px",border:"2px solid gray",margin:"10px",background:"#ffffcc"},"#org-div-home-and-up":{textAlign:"right",fontSize:"70 % ",whiteSpace:"nowrap"},textarea:{overflowX:"auto"},".linenr":{fontSize:"smaller"},".org-info-js_info-navigation":{borderStyle:"none"},"#org-info-js_console-label":{fontSize:"10px",fontWeight:"bold",whiteSpace:"nowrap"},".org-info-js_search-highlight":{backgroundColor:"#ffff00",color:"#000000",fontWeight:"bold"},".org-svg":{width:"90%"},".DONE":{color:"green"},".priority":{fontFamily:"monospace",color:"orange"},".tag":{backgroundColor:"white",fontFamily:"monospace",padding:"2px",fontSize:"80%",fontWeight:"normal"},".timestamp":{color:"#bebebe"},".timestamp-kwd":{color:"#5f9ea0"},".org-right":{marginLeft:"auto",marginRight:"0px",textAlign:"right"},".org-left":{marginLeft:"0px",marginRight:"auto",textAlign:"left"},".org-center":{marginLeft:"auto",marginRight:"auto",textAlign:"center"},".underline":{textDecoration:"underline"},"#postamble p":{fontSize:"90%",margin:".2em"},"#preamble p":{fontSize:"90%",margin:".2em"},"p.verse":{marginLeft:"3%"},pre:{borderRadius:"3px",backgroundColor:"white",padding:"8pt",fontFamily:"monospace",overflow:"auto",margin:"1.2em"},"pre.src":{position:"relative",overflow:"auto"},"pre.src:before":{display:"none",position:"absolute",top:"-8px",right:"12px",padding:"3px",backgroundColor:"white"},"caption.t-above":{captionSide:"top"},"caption.t-bottom":{captionSide:"bottom"},"th.org-right":{textAlign:"center"},"th.org-left":{textAlign:"center"},"th.org-center":{textAlign:"center"},"td.org-right":{textAlign:"right"},"td.org-left":{textAlign:"left"},"td.org-center":{textAlign:"center"},".footpara":{display:"inline"},".footdef":{marginBottom:"1em"},".figure":{padding:"1em"},".figure p":{textAlign:"center"}},ln=t(86658),sn=["style"];function cn(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function an(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?cn(Object(t),!0).forEach((function(n){(0,i.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):cn(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var un=function(e){var n=e.noUnderline,t=e.id,r=e.setSidebarHighlightedNode,o=e.setPreviewNode,i=e.nodeById,l=e.openContextMenu,s=e.href,c=e.children,a=e.isWiki,d=(0,b.useContext)(nn.N).highlightColor,h=Kt(d,(0,g.Fg)()),f=(s.replaceAll(/(.*?)\:?.*/g,"$1"),s.replaceAll(/.*?\:(.*)/g,"$1")),p=null!==t&&void 0!==t?t:f,x=a?"[[".concat(c,"]]"):c;return(0,re.jsx)(u.Text,{as:"a",onMouseEnter:function(){return r(i[p])},onMouseLeave:function(){return r({})},tabIndex:0,display:"inline",overflow:"hidden",fontWeight:500,color:d,textDecoration:n?void 0:"underline",onContextMenu:function(e){e.preventDefault(),l(i[f],e)},onClick:function(){return o(i[f])},_hover:{textDecoration:"none",cursor:"pointer",bgColor:h+"22"},_focus:{outlineColor:d},children:x})},dn=function(e){var n=e.href,t=e.children,r=(0,b.useContext)(nn.N).highlightColor;return(0,re.jsxs)(u.Link,{color:r,isExternal:!0,href:n,children:[t,(0,re.jsx)(V.ExternalLinkIcon,{mx:"1px",pb:"2px"})]})},hn=function(e){var n,t=e.href,r=e.children,o=e.nodeById,i=e.setSidebarHighlightedNode,l=e.previewNode,s=e.setPreviewNode,c=e.nodeByCite,a=e.openContextMenu,d=e.outline,h=e.noUnderline,g=e.linksByNodeId,f=e.isWiki,p=e.macros,x=e.attachDir,j=e.useInheritance,v=(0,b.useState)(null),m=v[0],y=v[1],C=(0,b.useState)(!1),O=C[0],w=C[1],k=t.replaceAll(/(.*?)\:.*/g,"$1"),S=d?rn:tn;console.log(l);if((0,b.useEffect)((function(){k.replaceAll(/(http)?.*/g,"$1")||m||O&&fetch("http://localhost:35901/node/".concat(L)).then((function(e){return e.text()})).then((function(e){"error"===e||y(e)})).catch((function(e){return console.log(e),"Could not fetch the text for some reason, sorry!\n\n This can happen because you have an id with forward slashes (/) in it."}))}),[O,m]),!k)return(0,re.jsx)(u.Text,{color:"gray.700",children:r});if(k.replaceAll(/(http)?.*/g,"$1"))return(0,re.jsx)(dn,{href:t,children:r});var I,N,P,D,B=t.replaceAll(/.*?\:(.*)/g,"$1"),L=function(e,n){if("id"===e)return n;if(e.includes("cite")){var t,r=null!==(t=c[n])&&void 0!==t&&t;return r?null!==r&&void 0!==r&&r.properties.FILELESS?"":null===r||void 0===r?void 0:r.id:""}return""}(k,B);encodeURIComponent(encodeURIComponent(null===(n=o[L])||void 0===n?void 0:n.file));return L?(0,re.jsx)(re.Fragment,{children:(0,re.jsxs)(Ye.J2,{gutter:12,trigger:"hover",placement:"top-start",children:[(0,re.jsx)(Ye.xo,{children:(0,re.jsx)(u.Box,{display:"inline",onMouseEnter:function(){return w(!0)},onMouseLeave:function(){return w(!1)},children:(0,re.jsx)(un,{id:L,setSidebarHighlightedNode:i,setPreviewNode:s,nodeById:o,href:t,children:r,nodeByCite:c,openContextMenu:a,noUnderline:h,isWiki:f},null!==(I=null===(N=o[L])||void 0===N?void 0:N.title)&&void 0!==I?I:L)})}),(0,re.jsx)(en.h_,{children:(0,re.jsxs)(Ye.yk,{transform:"scale(1)",boxShadow:"xl",position:"relative",zIndex:"tooltip",onMouseEnter:function(){var e;i(null!==(e=o[L])&&void 0!==e?e:{})},onMouseLeave:function(){i({})},children:[(0,re.jsx)(Ye.QH,{}),(0,re.jsx)(Ye.b,{pb:5,fontSize:"xs",position:"relative",zIndex:"tooltip",transform:"scale(1)",width:"100%",children:(0,re.jsx)(ln.$B,{autoHeight:!0,autoHeightMax:300,autoHide:!0,renderThumbVertical:function(e){var n=e.style,t=(0,q.Z)(e,sn);return(0,re.jsx)(u.Box,an({style:an(an({},n),{},{borderRadius:0})},t))},children:(0,re.jsx)(u.Box,{w:"100%",color:"black",px:3,sx:an(an({},on),S),children:(0,re.jsx)(Cn,{previewText:m,nodeById:o,setSidebarHighlightedNode:i,setPreviewNode:s,nodeByCite:c,openContextMenu:a,outline:d,linksByNodeId:g,macros:p,attachDir:x,useInheritance:j,previewNode:o[L],collapse:!1})})})})]},null!==(P=null===(D=o[L])||void 0===D?void 0:D.title)&&void 0!==P?P:L)})]})}):(0,re.jsx)(u.Text,{as:"span",display:"inline",className:t,color:"base.700",cursor:"not-allowed",children:r})},gn=t(25675),fn=t(62520),pn=t.n(fn),xn=function(e){var n=e.src,t=e.file,r=(0,b.useState)(null);r[0],r[1];if(n.replaceAll(/(http)?.*/g,"$1"))return console.log(n.replaceAll(/(http)?.*/g,"$1")),(0,re.jsx)(gn.default,{layout:"responsive",loader:function(e){var n=e.src;return e.width,e.quality,"".concat(n)},src:n,alt:"",width:"auto",height:"auto"});var o=n.replaceAll(/file:/g,""),i=pn().dirname(t),l=pn().isAbsolute(o)||"~"===o.slice(0,1)?o:pn().join(i,o),s=encodeURIComponent(encodeURIComponent(l));return(0,re.jsx)(u.Container,{my:4,position:"relative",children:(0,re.jsx)("img",{alt:"Wow, an image.",src:"http://localhost:35901/img/".concat(s)})})},jn=t(14578),bn=(0,b.createContext)({outline:!1,collapse:!0}),vn=function(e){var n=e.children,t=e.className,r=(0,b.useState)(!0),o=r[0],i=r[1],l=(0,b.useContext)(bn).collapse;if((0,b.useEffect)((function(){i(!l)}),[l]),"h0Wrapper headingWrapper"===t)return(0,re.jsxs)(u.Box,{className:"preHeadingContent",children:[" ",n]});var s=n;return(0,re.jsxs)(u.Box,{className:"sec",children:[(0,re.jsx)(u.Box,{display:"block",children:(0,re.jsxs)(u.Flex,{className:"headingFlex",alignItems:"baseline",children:[o&&s.length>0?(0,re.jsxs)(re.Fragment,{children:[(0,re.jsx)(h.IconButton,{className:"viewerHeadingButton",_focus:{},_active:{},"aria-label":"Expand heading",size:"xs",variant:"subtle",icon:(0,re.jsx)(V.ChevronUpIcon,{}),onClick:function(){return i(!o)},height:2,width:2}),(0,re.jsx)(h.IconButton,{className:"outlineHeadingButton",_focus:{},_active:{},"aria-label":"Expand heading",size:"xs",variant:"subtle",icon:(0,re.jsx)(jn.zOz,{}),onClick:function(){return i(!o)},height:2,width:2})]}):(0,re.jsxs)(re.Fragment,{children:[(0,re.jsx)(h.IconButton,{className:"viewerHeadingButton",_active:{},_focus:{},"aria-label":"Collapse heading",height:2,width:2,size:"xs",variant:"subtle",icon:(0,re.jsx)(V.ChevronDownIcon,{}),onClick:function(){return i(!o)}}),(0,re.jsx)(h.IconButton,{className:"outlineHeadingButton",_active:{},_focus:{},"aria-label":"Collapse heading",height:2,width:2,size:"xs",variant:"subtle",icon:(0,re.jsx)(jn.O6Y,{}),onClick:function(){return i(!o)}})]}),s[0]]})}),o&&(0,re.jsx)(u.Box,{className:"sectionContent",children:s.slice(1)})]})};function mn(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function yn(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?mn(Object(t),!0).forEach((function(n){(0,i.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):mn(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var Cn=function(e){var n,t,r=e.nodeById,o=e.setSidebarHighlightedNode,l=e.setPreviewNode,s=e.previewText,c=e.nodeByCite,a=e.previewNode,d=e.openContextMenu,h=e.outline,f=e.collapse,p=e.linksByNodeId,x=e.macros,j=e.attachDir,v=e.useInheritance;if(!a||!p)return null;var m=Oe()().use(ke()).use(Be()).use(Te(),{idDir:j||void 0,useInheritance:v}).use(Pe()).use(Ie(),{useSections:!0}),y=(null===(n=p[null===a||void 0===a?void 0:a.id])||void 0===n?void 0:n.reduce((function(e,n){var t=Qt(n).filter((function(e){return e!==a.id})).join("");return yn(yn({},e),{},(0,i.Z)({},t,r[t]))}),{}))||{},C=Object.entries(y),O=Oe()().use(He()).use(qe(),["yaml"]).use(Xe()).use(Me.Z,{permaLinks:Object.keys(y),pageResolver:function(e){var n,t=C.find((function(n){var t;return(null===n||void 0===n||null===(t=n[1])||void 0===t?void 0:t.title)===e}));return[null!==(n=null===t||void 0===t?void 0:t[0])&&void 0!==n?n:""]},hrefTemplate:function(e){return"id:".concat(e)}}).use(Qe()).use(_e()).use(Ae()).use($e()),w=".md"===(null===a||void 0===a||null===(t=a.file)||void 0===t?void 0:t.slice(-3)),k=w?O:m;console.log(x);var S=(0,b.useMemo)((function(){return k.use(Fe(),{trust:function(e){return["\\htmlId","\\href"].includes(e.command)},macros:yn({"\\eqref":"\\href{###1}{(\\text{#1})}","\\ref":"\\href{###1}{\\text{#1}}","\\label":"\\htmlId{#1}{}"},x)}).use(Re(),{createElement:b.createElement,components:{a:function(e){var n=e.children,t=e.href;return(0,re.jsx)(hn,{nodeByCite:c,setSidebarHighlightedNode:o,href:"".concat(t),nodeById:r,linksByNodeId:p,setPreviewNode:l,openContextMenu:d,outline:h,previewNode:a,isWiki:w,macros:x,attachDir:j,useInheritance:v,children:n})},img:function(e){var n=e.src;return(0,re.jsx)(xn,{src:n,file:null===a||void 0===a?void 0:a.file})},section:function(e){var n=e.children,t=e.className;return t&&t.slice(-1)==="".concat(a.level)?(0,re.jsx)(u.Box,{children:n.slice(1)}):(0,re.jsx)(vn,{outline:h,collapse:f,className:t,children:n})},blockquote:function(e){var n=e.children;return(0,re.jsx)(g.m$.blockquote,{color:"gray.800",bgColor:"gray.300",pt:4,pb:2,mb:4,mt:3,pl:4,borderLeftWidth:4,borderLeftColor:"gray.700",children:n})},p:function(e){var n=e.children;return(0,re.jsx)("p",{lang:"en",children:n})}}})}),[null===a||void 0===a?void 0:a.id]),I=(0,b.useMemo)((function(){return S.processSync(s).result}),[s]);return(0,re.jsx)(bn.Provider,{value:{collapse:f,outline:h},children:I})},On=function(e){var n=e.openContextMenu,t=e.setSidebarHighlightedNode,r=e.nodeById,o=e.nodeByCite,i=e.previewNode,l=e.setPreviewNode,s=e.outline,c=e.collapse,a=e.linksByNodeId,u=e.macros,d=e.attachDir,h=e.useInheritance,g=(0,b.useState)(""),f=g[0],p=g[1],x=encodeURIComponent(encodeURIComponent(i.id));return(0,b.useEffect)((function(){fetch("http://localhost:35901/node/".concat(x)).then((function(e){return e.text()})).then((function(e){if(""===e)return"(empty node)";"error"!==e&&(console.log(e),p(e))})).catch((function(e){return p("(could not find node)"),console.log(e),"Could not fetch the text for some reason, sorry!\n\n This can happen because you have an id with forward slashes (/) in it."}))}),[i.id]),(0,re.jsx)(re.Fragment,{children:f&&i&&(0,re.jsx)(Cn,{nodeById:r,previewNode:i,setPreviewNode:l,previewText:f,nodeByCite:o,setSidebarHighlightedNode:t,openContextMenu:n,outline:s,collapse:c,linksByNodeId:a,attachDir:d,useInheritance:h,macros:u||{}})})},wn=function(e){var n,t=e.previewNode,r=e.setPreviewNode,o=e.setSidebarHighlightedNode,i=e.nodeById,s=e.linksByNodeId,c=e.nodeByCite,a=e.openContextMenu,d=e.outline,h=e.macros,g=e.attachDir,f=e.useInheritance,p=(null!==(n=s[null===t||void 0===t?void 0:t.id])&&void 0!==n?n:[]).filter((function(e){var n=Qt(e),r=(0,l.Z)(n,2),o=r[0];r[1];return o!==(null===t||void 0===t?void 0:t.id)})).map((function(e){return e.source}));return(0,re.jsxs)(u.Box,{className:"backlinks",borderRadius:"sm",mt:6,p:4,bg:"white",mb:10,children:[(0,re.jsx)("p",{style:{fontSize:16,fontWeight:600},children:"Linked references (".concat(p.length,")")}),(0,re.jsx)(u.VStack,{py:2,spacing:3,alignItems:"start",divider:(0,re.jsx)(u.StackDivider,{borderColor:"gray.500"}),align:"stretch",color:"gray.800",children:(null===t||void 0===t?void 0:t.id)&&p.map((function(e){var n,l,p;n=null===(l=i[e])||void 0===l?void 0:l.title;return(0,re.jsx)(u.Box,{overflow:"hidden",py:1,borderRadius:"sm",width:"100%",children:(0,re.jsx)(hn,{linksByNodeId:s,nodeByCite:c,setSidebarHighlightedNode:o,href:"id:".concat(e),nodeById:i,previewNode:t,setPreviewNode:r,openContextMenu:a,outline:d,noUnderline:!0,attachDir:g,useInheritance:f,macros:h,children:null===(p=i[e])||void 0===p?void 0:p.title})},e)}))})]})};function kn(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function Sn(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?kn(Object(t),!0).forEach((function(n){(0,i.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):kn(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var In=function(e){var n=e.setPreviewNode,t=e.justificationList,r=e.justification,o=e.previewNode,i=e.nodeById,l=e.nodeByCite,s=e.setSidebarHighlightedNode,c=e.linksByNodeId,a=e.openContextMenu,d=e.outline,h=e.collapse,g=e.macros,f=e.attachDir,p=e.useInheritance,x=d?rn:tn;return(0,re.jsx)(u.Box,{pr:8,pt:2,height:"100%",className:"org",sx:Sn(Sn(Sn({},on),x),{},{textAlign:t[r]}),children:(null===o||void 0===o?void 0:o.id)&&(0,re.jsxs)(u.Flex,{className:"wrapClass",height:"100%",flexDirection:"column",justifyContent:"space-between",children:[(0,re.jsx)(On,{setPreviewNode:n,previewNode:o,nodeByCite:l,setSidebarHighlightedNode:s,openContextMenu:a,outline:d,collapse:h,nodeById:i,linksByNodeId:c,macros:g,attachDir:f,useInheritance:p}),(0,re.jsx)(wn,{setPreviewNode:n,previewNode:o,nodeById:i,linksByNodeId:c,nodeByCite:l,setSidebarHighlightedNode:s,openContextMenu:a,outline:d,attachDir:f,useInheritance:p,macros:g||{}})]})})},Nn=function(e){var n=e.previewNode;return(0,re.jsx)(u.Flex,{maxW:"90%",children:(0,re.jsx)(u.Heading,{lineHeight:1.2,size:"md",fontWeight:600,pt:4,children:null===n||void 0===n?void 0:n.title})})},Pn=t(29119);function Dn(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function Bn(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?Dn(Object(t),!0).forEach((function(n){(0,i.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Dn(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}function Ln(e,n){var t,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=Tn(e,null!==(t=r.storage)&&void 0!==t?t:localStorage),i=o.get(),l=void 0!==i?i:n,s=null!=i&&"object"===typeof i&&!1===Array.isArray(i)?Bn(Bn({},n),i):l;s!==i&&o.update(s);var c=(0,b.useState)(s),a=c[0],u=c[1];(0,b.useEffect)((function(){a!==s&&u(s)}),[e]);var d=function(e){e instanceof Function?u((function(n){var t=e(n);return o.update(t),t})):(u(e),o.update(e))};return[a,d]}function Tn(e,n){return{get:function(){var t=n.getItem(e);if(t&&"undefined"!==t)return JSON.parse(t)},update:function(t){n.setItem(e,JSON.stringify(t))},remove:function(){n.removeItem(e)}}}var zn=["style"];function Fn(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function En(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?Fn(Object(t),!0).forEach((function(n){(0,i.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Fn(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var Rn=function(e){var n=e.isOpen,t=e.onOpen,r=e.onClose,o=e.previewNode,i=e.setPreviewNode,s=e.nodeById,c=e.linksByNodeId,a=e.nodeByCite,d=e.setSidebarHighlightedNode,g=e.canUndo,f=e.canRedo,p=e.resetPreviewNode,x=e.previousPreviewNode,j=e.nextPreviewNode,v=e.openContextMenu,m=(e.scope,e.setScope,e.windowWidth),C=e.filter,O=e.setFilter,w=e.tagColors,k=e.setTagColors,S=e.macros,I=e.attachDir,N=e.useInheritance,P=((0,b.useContext)(nn.N).highlightColor,(0,b.useState)()),D=P[0],B=P[1],L=Ln("sidebarWidth",400),T=(0,l.Z)(L,2),z=T[0],F=T[1];(0,b.useEffect)((function(){null!==o&&void 0!==o&&o.id?(t(),B(o)):r()}),[null===o||void 0===o?void 0:o.id]);var E=Ln("justification",1),R=(0,l.Z)(E,2),Z=R[0],H=R[1],W=Ln("outline",!1),A=(0,l.Z)(W,2),M=A[0],V=A[1],_=(0,b.useState)("sans serif"),U=(_[0],_[1]),G=(0,b.useState)(0),X=(G[0],G[1]),J=(0,b.useState)(!1),Q=J[0],K=J[1];return(0,re.jsx)(ue,{animateOpacity:!1,dimension:"width",in:n,unmountOnExit:!0,startingSize:0,style:{height:"100vh"},children:(0,re.jsx)(Pn.e,{size:{height:"100vh",width:z},onResizeStop:function(e,n,t,r){F((function(e){return e+r.width}))},enable:{top:!1,right:!1,bottom:!1,left:!0,topRight:!1,bottomRight:!1,bottomLeft:!1,topLeft:!1},minWidth:"220px",maxWidth:m-200,children:(0,re.jsxs)(u.Flex,{flexDir:"column",h:"100vh",pl:2,color:"black",bg:"alt.100",width:"100%",children:[(0,re.jsxs)(u.Flex,{pl:2,alignItems:"center",color:"black",width:"100%",children:[(0,re.jsx)(u.Flex,{pt:1,flexShrink:0,children:(0,re.jsx)(je,{setJustification:H,setIndent:X,setFont:U,justification:Z,setPreviewNode:i,canUndo:g,canRedo:f,resetPreviewNode:p,previousPreviewNode:x,nextPreviewNode:j,outline:M,setOutline:V,collapse:Q,setCollapse:K})}),(0,re.jsx)(u.Flex,{whiteSpace:"nowrap",textOverflow:"ellipsis",overflow:"hidden",onContextMenu:function(e){e.preventDefault(),v(o,e)}}),(0,re.jsx)(u.Flex,{flexDir:"row",ml:"auto",children:(0,re.jsx)(h.IconButton,{m:1,icon:(0,re.jsx)(y.T41,{}),"aria-label":"Options",variant:"subtle",onClick:function(e){v(o,e,{left:void 0,top:12,right:20-m,bottom:void 0})}})})]}),(0,re.jsx)(ln.$B,{autoHide:!0,renderThumbVertical:function(e){var n=e.style,t=(0,q.Z)(e,zn);return(0,re.jsx)(u.Box,En({style:En(En({},n),{},{borderRadius:0})},t))},children:D&&(0,re.jsxs)(u.VStack,{flexGrow:1,alignItems:"left",bg:"alt.100",paddingLeft:4,children:[(0,re.jsx)(Nn,{previewNode:D}),(0,re.jsx)(ye,{filter:C,setFilter:O,tagColors:w,setTagColors:k,openContextMenu:v,previewNode:o}),(0,re.jsx)(In,{setPreviewNode:i,previewNode:o,nodeById:s,nodeByCite:a,setSidebarHighlightedNode:d,justification:Z,justificationList:["justify","start","end","center"],linksByNodeId:c,openContextMenu:v,outline:M,setOutline:V,collapse:Q,macros:S,attachDir:I,useInheritance:N})]})})]})})})},Zn=t(94090),Hn=t(88696),Wn=t(47647);function An(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function Mn(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?An(Object(t),!0).forEach((function(n){(0,i.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):An(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var Vn=function(e){var n,t=e.filter,r=e.listName,o=e.labelFilter,l=e.displayName,s=e.setFilter,c=e.options,a=void 0===c?[]:c,u=(0,b.useContext)(nn.N).highlightColor,d=(null===a||void 0===a?void 0:a.map((function(e){return{value:e,label:o?e.replace(o,""):e}})))||[],h=(0,b.useState)((null===(n=t[r])||void 0===n?void 0:n.map((function(e){return{value:e,label:o?null===e||void 0===e?void 0:e.replace(o,""):e}})))||[]),g=h[0],f=h[1];return(0,re.jsx)(Wn.CUIAutoComplete,{labelStyleProps:{fontWeight:300,fontSize:14},items:d,label:"Add tag to ".concat(l),placeholder:" ",onCreateItem:function(e){return null},disableCreateItem:!0,selectedItems:g,onSelectedItemsChange:function(e){e.selectedItems&&(f(e.selectedItems),s(Mn(Mn({},t),{},(0,i.Z)({},r,e.selectedItems.map((function(e){return e.value}))))))},listItemStyleProps:{overflow:"hidden"},highlightItemBg:"gray.400",toggleButtonStyleProps:{variant:"outline"},inputStyleProps:{mt:2,height:8,focusBorderColor:u,color:"gray.800",borderColor:"gray.500"},tagStyleProps:{justifyContent:"flex-start",fontSize:10,borderColor:u,borderWidth:1,borderRadius:"md",color:u,bg:"",height:4,mb:2},hideToggleButton:!0,itemRenderer:function(e){return e.label}})};function _n(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function Un(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?_n(Object(t),!0).forEach((function(n){(0,i.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):_n(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var qn=function(e){var n=e.colorList,t=e.tagColors,r=e.setTagColors,o=e.highlightColor,l=e.tags.map((function(e){return{value:e,label:e}})),s=(0,b.useState)(Object.keys(t).map((function(e){return{value:e,label:e}}))),c=s[0],a=s[1];return(0,re.jsxs)(u.Box,{children:[(0,re.jsx)(Wn.CUIAutoComplete,{items:l,labelStyleProps:{fontWeight:300,fontSize:14},label:"Add tag to color",placeholder:" ",disableCreateItem:!0,selectedItems:c,onSelectedItemsChange:function(e){e.selectedItems&&(a(Array.from(new Set(e.selectedItems))),r(Object.fromEntries(Array.from(new Set(e.selectedItems)).map((function(e){var n;return[e.label,null!==(n=t[e.label])&&void 0!==n?n:"gray.600"]})))))},listItemStyleProps:{overflow:"hidden"},highlightItemBg:"gray.400",toggleButtonStyleProps:{variant:"outline"},inputStyleProps:{height:8,focusBorderColor:o,color:"gray.800",borderColor:"gray.500"},tagStyleProps:{display:"none",rounded:"full",bg:o,height:8,paddingLeft:4,fontWeight:"bold"},hideToggleButton:!0,itemRenderer:function(e){return e.label}}),(0,re.jsx)(u.VStack,{spacing:2,justifyContent:"flex-start",divider:(0,re.jsx)(u.StackDivider,{borderColor:"gray.500"}),align:"stretch",color:"gray.800",children:Object.keys(t).map((function(e){return(0,re.jsxs)(u.Flex,{alignItems:"center",justifyContent:"space-between",width:"100%",pl:2,children:[(0,re.jsx)(u.Box,{width:"100%",children:(0,re.jsx)(u.Text,{children:e})}),(0,re.jsxs)(A.v2,{isLazy:!0,placement:"right",children:[(0,re.jsx)(A.j2,{as:h.Button,colorScheme:"",color:"black",children:(0,re.jsx)(u.Box,{bgColor:t[e],borderRadius:"sm",height:6,width:6})}),(0,re.jsx)(en.h_,{children:(0,re.jsx)(A.qy,{minW:10,zIndex:"popover",bgColor:"gray.200",children:n.map((function(n){return(0,re.jsx)(A.sN,{onClick:function(){return r(Un(Un({},t),{},(0,i.Z)({},e,n)))},justifyContent:"space-between",alignItems:"center",display:"flex",children:(0,re.jsx)(u.Box,{bgColor:n,borderRadius:"sm",height:6,width:6})},n)}))})})]}),(0,re.jsx)(h.IconButton,{"aria-label":"Delete tag color",variant:"ghost",icon:(0,re.jsx)(V.DeleteIcon,{}),onClick:function(){r(Object.fromEntries(Array.from(new Set(c)).map((function(e){var n;return[e.label,null!==(n=t[e.label])&&void 0!==n?n:"gray.600"]})))),a(c.filter((function(n){return n.value!==e})))}})]},e)}))})]})},Gn=t(80918),Xn=function(e){var n=e.infoText;return(0,re.jsx)(u.Box,{paddingLeft:"1",children:(0,re.jsx)(d.u,{label:n,placement:"top",color:"gray.100",bg:"gray.800",hasArrow:!0,children:(0,re.jsx)(V.InfoOutlineIcon,{})})})},Jn=["min","max","step","value"],Qn=function(e){var n=e.min,t=void 0===n?0:n,r=e.max,o=void 0===r?10:r,i=e.step,l=void 0===i?.1:i,s=e.value,c=void 0===s?1:s,a=(0,q.Z)(e,Jn),h=a.onChange,g=a.label,f=a.infoText,p=(0,b.useContext)(nn.N).highlightColor;return(0,re.jsxs)(u.Box,{pt:1,pb:2,children:[(0,re.jsxs)(u.Box,{display:"flex",alignItems:"flex-end",mb:2,children:[(0,re.jsx)(u.Text,{children:g}),f&&(0,re.jsx)(Xn,{infoText:f})]}),(0,re.jsxs)(Gn.iR,{value:c,onChange:h,min:t,max:o,step:l,children:[(0,re.jsx)(Gn.Uj,{children:(0,re.jsx)(Gn.Ms,{})}),(0,re.jsx)(d.u,{bg:p,label:c.toFixed(1),children:(0,re.jsx)(Gn.gs,{bg:"white"})})]})]},g)},Kn=(0,b.createContext)({subDirs:["dailies",".attach"],attachDir:".attach",useInheritance:!1,roamDir:"~/org",dailyDir:"dailies"});function $n(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function Yn(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?$n(Object(t),!0).forEach((function(n){(0,i.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):$n(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var et=function(e){var n=e.filter,t=e.setFilter,r=e.local,o=e.setLocal,i=e.tagColors,l=e.setTagColors,s=e.highlightColor,c=e.colorList,a=e.tags,d=(0,b.useContext)(Kn),g=d.roamDir,f=d.subDirs;return(0,re.jsxs)(u.Box,{children:[(0,re.jsxs)(u.VStack,{spacing:2,justifyContent:"flex-start",divider:(0,re.jsx)(u.StackDivider,{borderColor:"gray.500"}),align:"stretch",paddingLeft:7,color:"gray.800",children:[(0,re.jsxs)(u.Flex,{alignItems:"center",justifyContent:"space-between",children:[(0,re.jsx)(u.Text,{children:"Link children to"}),(0,re.jsxs)(A.v2,{isLazy:!0,placement:"right",children:[(0,re.jsx)(A.j2,{as:h.Button,rightIcon:(0,re.jsx)(V.ChevronDownIcon,{}),colorScheme:"",color:"black",size:"sm",children:function(){switch(n.parent){case"parent":return(0,re.jsx)(u.Text,{children:"File"});case"heading":return(0,re.jsx)(u.Text,{children:"Heading"});default:return(0,re.jsx)(u.Text,{children:"Nothing"})}}()}),(0,re.jsx)(en.h_,{children:(0,re.jsxs)(A.qy,{bgColor:"gray.200",zIndex:"popover",children:[(0,re.jsx)(A.sN,{onClick:function(){return t((function(e){return Yn(Yn({},e),{},{parent:""})}))},children:"Nothing"}),(0,re.jsx)(A.sN,{onClick:function(){return t((function(e){return Yn(Yn({},e),{},{parent:"parent"})}))},children:"Parent file node"}),(0,re.jsx)(A.sN,{onClick:function(){return t((function(e){return Yn(Yn({},e),{},{parent:"heading"})}))},children:"Next highest heading node"})]})})]})]}),(0,re.jsxs)(u.Flex,{justifyContent:"space-between",children:[(0,re.jsx)(u.Text,{children:"Orphans"}),(0,re.jsx)(Hn.r,{onChange:function(){t((function(e){return Yn(Yn({},e),{},{orphans:!e.orphans})}))},isChecked:n.orphans})]}),(0,re.jsxs)(u.Flex,{justifyContent:"space-between",children:[(0,re.jsx)(u.Text,{children:"Dailies"}),(0,re.jsx)(Hn.r,{onChange:function(){t((function(e){return Yn(Yn({},e),{},{dailies:!e.dailies})}))},isChecked:n.dailies})]}),(0,re.jsxs)(u.Flex,{justifyContent:"space-between",children:[(0,re.jsx)(u.Text,{children:"Org-noter pages"}),(0,re.jsx)(Hn.r,{onChange:function(){t((function(e){return Yn(Yn({},e),{},{noter:!e.noter})}))},isChecked:n.noter})]}),(0,re.jsxs)(u.Flex,{justifyContent:"space-between",children:[(0,re.jsx)(u.Text,{children:"Citations without note files"}),(0,re.jsx)(Hn.r,{onChange:function(){t(Yn(Yn({},n),{},{filelessCites:!n.filelessCites}))},isChecked:n.filelessCites})]}),(0,re.jsxs)(u.Flex,{justifyContent:"space-between",children:[(0,re.jsx)(u.Text,{children:"Non-existent nodes"}),(0,re.jsx)(Hn.r,{onChange:function(){l(Yn(Yn({},i),{},{bad:"white"})),t(Yn(Yn({},n),{},{bad:!n.bad}))},isChecked:n.bad})]}),(0,re.jsx)(Qn,{label:"Number of neighbors in local graph",value:r.neighbors,onChange:function(e){return o(Yn(Yn({},r),{},{neighbors:e}))},min:1,max:5,step:1})]}),(0,re.jsxs)(Zn.UQ,{padding:0,allowToggle:!0,allowMultiple:!0,paddingLeft:3,children:[(0,re.jsxs)(Zn.Qd,{children:[(0,re.jsxs)(Zn.KF,{children:["Directory filters",(0,re.jsx)(Zn.XE,{})]}),(0,re.jsxs)(Zn.Hk,{pr:0,mr:0,children:[(0,re.jsx)(Vn,{filter:n,setFilter:t,options:f,displayName:"directory blocklist",listName:"dirsBlocklist",labelFilter:g}),(0,re.jsx)(Vn,{filter:n,setFilter:t,options:f,displayName:"directory allowlist",listName:"dirsAllowlist",labelFilter:g})]})]}),(0,re.jsxs)(Zn.Qd,{children:[(0,re.jsxs)(Zn.KF,{children:["Tag filters",(0,re.jsx)(Zn.XE,{})]}),(0,re.jsxs)(Zn.Hk,{pr:0,mr:0,children:[(0,re.jsx)(Vn,{filter:n,setFilter:t,options:a,displayName:"tag blocklist",listName:"tagsBlacklist"}),(0,re.jsx)(Vn,{filter:n,setFilter:t,options:a,displayName:"tag allowlist",listName:"tagsWhitelist"})]})]}),(0,re.jsxs)(Zn.Qd,{children:[(0,re.jsxs)(Zn.KF,{children:["Tag colors",(0,re.jsx)(Zn.XE,{})]}),(0,re.jsx)(Zn.Hk,{pr:0,mr:0,children:(0,re.jsx)(qn,{tags:a,colorList:c,tagColors:i,setTagColors:l,highlightColor:s})})]})]})]})},nt=t(37496),tt=function(e){var n=e.value,t=e.onChange,r=e.label,o=e.infoText,i=e.children;return(0,re.jsxs)(u.Box,{paddingTop:2,children:[(0,re.jsxs)(u.Box,{display:"flex",justifyContent:"space-between",paddingBottom:2,children:[(0,re.jsxs)(u.Box,{display:"flex",alignItems:"center",children:[(0,re.jsx)(u.Text,{children:r}),o&&(0,re.jsx)(Xn,{infoText:o})]}),(0,re.jsx)(Hn.r,{isChecked:!!n,onChange:t})]}),(0,re.jsx)(nt.UO,{in:!!n,animateOpacity:!0,children:(0,re.jsx)(u.Box,{paddingLeft:4,paddingTop:2,paddingBottom:2,children:i})})]},r)};function rt(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function ot(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?rt(Object(t),!0).forEach((function(n){(0,i.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):rt(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var it=function(e){var n=e.physics,t=e.setPhysics,r=(0,b.useCallback)((function(e,n,r){t((function(t){return ot(ot({},t),{},(0,i.Z)({},n,e/r))}))}),[]);return(0,re.jsxs)(u.Box,{children:[(0,re.jsxs)(u.VStack,{spacing:2,justifyContent:"flex-start",divider:(0,re.jsx)(u.StackDivider,{borderColor:"gray.500"}),align:"stretch",paddingLeft:7,color:"gray.800",children:[(0,re.jsxs)(tt,{label:"Gravity",value:n.gravityOn,onChange:function(){return t(ot(ot({},n),{},{gravityOn:!n.gravityOn}))},children:[(0,re.jsxs)(u.Flex,{justifyContent:"space-between",children:[(0,re.jsx)(u.Text,{children:"Also in local"}),(0,re.jsx)(Hn.r,{onChange:function(){t((function(e){return ot(ot({},e),{},{gravityLocal:!e.gravityLocal})}))},isChecked:n.gravityLocal})]}),(0,re.jsx)(Qn,{label:"Strength",value:10*n.gravity,onChange:function(e){return r(e,"gravity",10)}})]}),(0,re.jsx)(Qn,{value:-n.charge/100,onChange:function(e){return r(e,"charge",-.01)},label:"Repulsive Force"}),(0,re.jsx)(Qn,{value:5*n.linkStrength,onChange:function(e){return r(e,"linkStrength",5)},label:"Link Force"}),(0,re.jsx)(Qn,{label:"Stabilization rate",value:50*n.alphaDecay,onChange:function(e){return r(e,"alphaDecay",50)}})]}),(0,re.jsx)(u.Box,{children:(0,re.jsx)(Zn.UQ,{paddingLeft:3,allowToggle:!0,children:(0,re.jsxs)(Zn.Qd,{children:[(0,re.jsxs)(Zn.KF,{children:[(0,re.jsx)(u.Text,{children:"Advanced"}),(0,re.jsx)(Zn.XE,{marginRight:2})]}),(0,re.jsx)(Zn.Hk,{children:(0,re.jsxs)(u.VStack,{spacing:2,justifyContent:"flex-start",divider:(0,re.jsx)(u.StackDivider,{borderColor:"gray.500"}),align:"stretch",paddingLeft:3,color:"gray.800",children:[(0,re.jsx)(tt,{label:"Collision",infoText:"Perfomance sap, disable if slow",value:n.collision,onChange:function(){return t(ot(ot({},n),{},{collision:!n.collision}))},children:(0,re.jsx)(Qn,{value:n.collisionStrength/5,onChange:function(e){return r(e,"collisionStrength",.2)},label:"Collision Radius",infoText:"Easy with this one, high values can lead to a real jiggly mess"})}),(0,re.jsx)(Qn,{label:"Link iterations",value:n.linkIts,onChange:function(e){return r(e,"linkIts",1)},min:0,max:6,step:1,infoText:"How many links down the line the physics of a single node affects (Slow)"}),(0,re.jsx)(Qn,{label:"Viscosity",value:10*n.velocityDecay,onChange:function(e){return r(e,"velocityDecay",10)}}),(0,re.jsx)(tt,{label:"Center nodes",value:n.centering,onChange:function(){return t(ot(ot({},n),{},{centering:!n.centering}))},infoText:"Keeps the nodes in the center of the viewport. If disabled you can drag the nodes anywhere you want.",children:(0,re.jsx)(Qn,{label:"Centering Strength",value:n.centeringStrength,max:2,step:.01,onChange:function(e){return r(e,"centeringStrength",1)}})})]})})]})})})]})};function lt(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function st(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?lt(Object(t),!0).forEach((function(n){(0,i.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):lt(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var ct=function(e){var n=e.behavior,t=e.setBehavior,r=e.mouse,o=e.setMouse;return(0,re.jsxs)(u.VStack,{spacing:2,justifyContent:"flex-start",divider:(0,re.jsx)(u.StackDivider,{borderColor:"gray.500"}),align:"stretch",paddingLeft:7,color:"gray.800",children:[(0,re.jsxs)(u.Flex,{alignItems:"center",justifyContent:"space-between",children:[(0,re.jsx)(u.Text,{children:"Preview node"}),(0,re.jsxs)(A.v2,{isLazy:!0,placement:"right",children:[(0,re.jsx)(A.j2,{as:h.Button,rightIcon:(0,re.jsx)(V.ChevronDownIcon,{}),colorScheme:"",color:"black",children:(0,re.jsx)(u.Text,{children:r.preview?r.preview[0].toUpperCase()+r.preview.slice(1):"Never"})}),(0,re.jsxs)(en.h_,{children:[" ",(0,re.jsxs)(A.qy,{bgColor:"gray.200",zIndex:"popover",children:[(0,re.jsx)(A.sN,{onClick:function(){return o(st(st({},r),{},{preview:""}))},children:"Never"}),(0,re.jsx)(A.sN,{onClick:function(){return o(st(st({},r),{},{preview:"click"}))},children:"Click"}),(0,re.jsx)(A.sN,{onClick:function(){return o(st(st({},r),{},{preview:"double"}))},children:"Double Click"})]})]})]})]}),(0,re.jsxs)(u.Flex,{alignItems:"center",justifyContent:"space-between",children:[(0,re.jsxs)(u.Flex,{children:[(0,re.jsx)(u.Text,{children:"Expand Node"}),(0,re.jsx)(Xn,{infoText:"View only the node and its direct neighbors"})]}),(0,re.jsxs)(A.v2,{isLazy:!0,placement:"right",children:[(0,re.jsx)(A.j2,{as:h.Button,rightIcon:(0,re.jsx)(V.ChevronDownIcon,{}),colorScheme:"",color:"black",children:(0,re.jsx)(u.Text,{children:r.local?r.local[0].toUpperCase()+r.local.slice(1):"Never"})}),(0,re.jsxs)(en.h_,{children:[" ",(0,re.jsxs)(A.qy,{zIndex:"popover",bgColor:"gray.200",children:[(0,re.jsx)(A.sN,{onClick:function(){return o(st(st({},r),{},{local:""}))},children:"Never"}),(0,re.jsx)(A.sN,{onClick:function(){return o(st(st({},r),{},{local:"click"}))},children:"Click"}),(0,re.jsx)(A.sN,{onClick:function(){return o(st(st({},r),{},{local:"double"}))},children:"Double Click"}),(0,re.jsx)(A.sN,{onClick:function(){return o(st(st({},r),{},{local:"right"}))},children:"Right Click"})]})]})]})]}),(0,re.jsxs)(u.Flex,{alignItems:"center",justifyContent:"space-between",children:[(0,re.jsx)(u.Text,{children:"Open in Emacs"}),(0,re.jsxs)(A.v2,{isLazy:!0,placement:"right",children:[(0,re.jsx)(A.j2,{as:h.Button,rightIcon:(0,re.jsx)(V.ChevronDownIcon,{}),colorScheme:"",color:"black",children:(0,re.jsx)(u.Text,{children:r.follow?r.follow[0].toUpperCase()+r.follow.slice(1):"Never"})}),(0,re.jsxs)(en.h_,{children:[" ",(0,re.jsxs)(A.qy,{bgColor:"gray.200",zIndex:"popover",children:[(0,re.jsx)(A.sN,{onClick:function(){return o(st(st({},r),{},{follow:""}))},children:"Never"}),(0,re.jsx)(A.sN,{onClick:function(){return o(st(st({},r),{},{follow:"click"}))},children:"Click"}),(0,re.jsx)(A.sN,{onClick:function(){return o(st(st({},r),{},{follow:"double"}))},children:"Double Click"}),(0,re.jsx)(A.sN,{onClick:function(){return o(st(st({},r),{},{follow:"right"}))},children:"Right Click"})]})]})]})]}),(0,re.jsxs)(u.Flex,{alignItems:"center",justifyContent:"space-between",children:[(0,re.jsx)(u.Text,{children:"Follow Emacs by..."}),(0,re.jsxs)(A.v2,{isLazy:!0,placement:"right",children:[(0,re.jsx)(A.j2,{as:h.Button,rightIcon:(0,re.jsx)(V.ChevronDownIcon,{}),colorScheme:"",color:"black",children:(0,re.jsx)(u.Text,{children:n.follow[0].toUpperCase()+n.follow.slice(1)})}),(0,re.jsxs)(en.h_,{children:[" ",(0,re.jsxs)(A.qy,{bgColor:"gray.200",zIndex:"popover",children:[(0,re.jsx)(A.sN,{onClick:function(){return t(st(st({},n),{},{follow:"color"}))},children:"Just coloring the currently opened node"}),(0,re.jsx)(A.sN,{onClick:function(){return t(st(st({},n),{},{follow:"local"}))},children:"Opening the local graph"}),(0,re.jsx)(A.sN,{onClick:function(){return t(st(st({},n),{},{follow:"zoom"}))},children:"Zooming to the current node"})]})]})]})]}),(0,re.jsxs)(u.Flex,{alignItems:"center",justifyContent:"space-between",children:[(0,re.jsxs)(u.Flex,{children:[(0,re.jsx)(u.Text,{children:"Local graph"}),(0,re.jsx)(Xn,{infoText:"When in local mode and clicking a new node, should I add that node's local graph or open the new one?"})]}),(0,re.jsxs)(A.v2,{isLazy:!0,placement:"right",children:[(0,re.jsx)(A.j2,{as:h.Button,rightIcon:(0,re.jsx)(V.ChevronDownIcon,{}),colorScheme:"",color:"black",children:(0,re.jsx)(u.Text,{children:"add"===n.localSame?"Add":"Replace"})}),(0,re.jsxs)(en.h_,{children:[" ",(0,re.jsxs)(A.qy,{bgColor:"gray.200",zIndex:"popover",children:[(0,re.jsx)(A.sN,{onClick:function(){return t(st(st({},n),{},{localSame:"replace"}))},children:"Open that nodes graph"}),(0,re.jsx)(A.sN,{onClick:function(){return t(st(st({},n),{},{localSame:"add"}))},children:"Add node to local graph"})]})]})]})]}),(0,re.jsx)(Qn,{label:"Zoom speed",value:n.zoomSpeed,min:0,max:4e3,step:100,onChange:function(e){return t(st(st({},n),{},{zoomSpeed:e}))}}),(0,re.jsx)(Qn,{label:"Zoom padding",value:n.zoomPadding,min:0,max:400,step:1,onChange:function(e){return t(st(st({},n),{},{zoomPadding:e}))},infoText:"How much to zoom out to accomodate all nodes when changing the view."})]})},at=t(11391);function ut(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function dt(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?ut(Object(t),!0).forEach((function(n){(0,i.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ut(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var ht=function(e){var n=e.visuals,t=e.setVisuals;return(0,re.jsx)(u.VStack,{spacing:2,justifyContent:"flex-start",divider:(0,re.jsx)(u.StackDivider,{borderColor:"gray.500"}),align:"stretch",color:"gray.800",children:(0,re.jsx)(u.Box,{children:(0,re.jsx)(tt,{label:"Highlight",onChange:function(){return t((function(e){return dt(dt({},e),{},{highlight:!e.highlight})}))},value:n.highlight,children:(0,re.jsxs)(u.VStack,{spacing:1,justifyContent:"flex-start",divider:(0,re.jsx)(u.StackDivider,{borderColor:"gray.400"}),align:"stretch",paddingLeft:0,children:[(0,re.jsx)(Qn,{label:"Highlight Link Thickness",value:n.highlightLinkSize,onChange:function(e){return t((function(n){return dt(dt({},n),{},{highlightLinkSize:e})}))}}),(0,re.jsx)(Qn,{label:"Highlight Node Size",value:n.highlightNodeSize,onChange:function(e){return t((function(n){return dt(dt({},n),{},{highlightNodeSize:e})}))}}),(0,re.jsx)(Qn,{min:0,max:1,label:"Highlight Fade",value:n.highlightFade,onChange:function(e){return t((function(n){return dt(dt({},n),{},{highlightFade:e})}))}}),(0,re.jsxs)(tt,{label:"Highlight Animation",onChange:function(){t((function(e){return dt(dt({},e),{},{highlightAnim:!e.highlightAnim})}))},value:n.highlightAnim,children:[(0,re.jsx)(Qn,{label:"Animation speed",onChange:function(e){return t((function(n){return dt(dt({},n),{},{animationSpeed:e})}))},value:n.animationSpeed,infoText:"Slower speed has a chance of being buggy",min:50,max:1e3,step:10}),(0,re.jsx)(at.Ph,{placeholder:n.algorithmName,onChange:function(e){t((function(n){return dt(dt({},n),{},{algorithmName:e.target.value})}))},children:n.algorithmOptions.map((function(e){return(0,re.jsx)("option",{value:e,children:e},e)}))})]})]})})})})};function gt(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function ft(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?gt(Object(t),!0).forEach((function(n){(0,i.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):gt(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var pt=function(e){var n=e.label,t=e.colorList,r=e.value,o=e.visValue,l=e.setVisuals,s=e.noEmpty,c=(0,b.useCallback)((function(e){return l((function(n){return ft(ft({},n),{},(0,i.Z)({},r,e))}))}),[]);return(0,re.jsxs)(u.Flex,{alignItems:"center",justifyContent:"space-between",children:[(0,re.jsx)(u.Text,{children:n}),(0,re.jsxs)(Ye.J2,{isLazy:!0,placement:"right",children:[(0,re.jsx)(Ye.xo,{children:(0,re.jsx)(h.Button,{colorScheme:"",color:"black",rightIcon:(0,re.jsx)(V.ChevronDownIcon,{}),children:(0,re.jsx)(u.Box,{bgColor:o,borderRadius:"sm",height:6,width:6})})}),(0,re.jsx)(en.h_,{children:(0,re.jsx)(Ye.yk,{zIndex:"tooltip",maxW:36,position:"relative",children:(0,re.jsxs)(u.Flex,{flexWrap:"wrap",bgColor:"gray.200",children:[!s&&(0,re.jsx)(u.Box,{onClick:function(){return c("")},justifyContent:"space-between",alignItems:"center",display:"flex",m:1,children:(0,re.jsx)(u.Box,{height:6,width:6,borderColor:"gray.600",borderRadius:"xl",borderWidth:1})}),t.map((function(e){return(0,re.jsx)(u.Box,{m:1,onClick:function(){return c(e)},justifyContent:"space-between",alignItems:"center",display:"flex",children:(0,re.jsx)(u.Box,{bgColor:e,borderRadius:"xl",height:6,width:6})},e)}))]})})})]})]})};function xt(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function jt(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?xt(Object(t),!0).forEach((function(n){(0,i.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):xt(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var bt=function(e){var n=e.visuals,t=e.setVisualsCallback,r=e.highlightColor,i=e.setHighlightColor;return(0,re.jsx)(u.VStack,{spacing:2,justifyContent:"flex-start",divider:(0,re.jsx)(u.StackDivider,{borderColor:"gray.500"}),align:"stretch",color:"gray.800",children:(0,re.jsxs)(u.Box,{children:[(0,re.jsxs)(u.Flex,{alignItems:"center",justifyContent:"space-between",children:[(0,re.jsx)(u.Text,{children:"Nodes"}),(0,re.jsx)(d.u,{label:"Shuffle node colors",children:(0,re.jsx)(h.IconButton,{"aria-label":"Shuffle node colors",size:"sm",icon:(0,re.jsx)(V.RepeatIcon,{}),variant:"ghost",onClick:function(){var e,r=null!==(e=n.nodeColorScheme)&&void 0!==e?e:[];t(jt(jt({},n),{},{nodeColorScheme:r.map((function(e){return[Math.random(),e]})).sort((function(e,n){return(0,l.Z)(e,1)[0]-(0,l.Z)(n,1)[0]})).map((function(e){var n=(0,l.Z)(e,2);n[0];return n[1]}))}))}})}),(0,re.jsx)(d.u,{label:"Cycle node colors",children:(0,re.jsx)(h.IconButton,{"aria-label":"Shift node colors",icon:(0,re.jsx)(V.ArrowRightIcon,{}),size:"sm",variant:"ghost",onClick:function(){var e,r=null!==(e=n.nodeColorScheme)&&void 0!==e?e:[];t(jt(jt({},n),{},{nodeColorScheme:[].concat((0,o.Z)(r.slice(1,r.length)),[r[0]])}))}})}),(0,re.jsxs)(A.v2,{isLazy:!0,placement:"right",closeOnSelect:!1,matchWidth:!0,children:[(0,re.jsx)(A.j2,{width:20,as:h.Button,colorScheme:"",color:"black",rightIcon:(0,re.jsx)(V.ChevronDownIcon,{}),children:(0,re.jsx)(u.Flex,{height:6,width:6,flexDirection:"column",flexWrap:"wrap",children:n.nodeColorScheme.map((function(e){return(0,re.jsx)(u.Box,{bgColor:e,flex:"1 1 8px",borderRadius:"2xl"},e)}))})}),(0,re.jsxs)(en.h_,{children:[" ",(0,re.jsx)(A.qy,{minW:10,zIndex:"popover",bgColor:"gray.200",children:(0,re.jsx)(A.__,{width:500,type:"checkbox",defaultValue:n.nodeColorScheme,onChange:function(e){e.length&&t(jt(jt({},n),{},{nodeColorScheme:e}))},children:W.map((function(e){return(0,re.jsx)(A.ii,{isChecked:n.nodeColorScheme.some((function(n){return n===e})),value:e,isDisabled:1===n.nodeColorScheme.length&&n.nodeColorScheme[0]===e,children:(0,re.jsx)(u.Box,{justifyContent:"space-between",alignItems:"center",display:"flex",children:(0,re.jsx)(u.Box,{bgColor:e,borderRadius:"sm",height:6,width:6})})},e)}))})})]})]})]}),(0,re.jsxs)(u.Flex,{alignItems:"center",justifyContent:"space-between",children:[(0,re.jsx)(u.Text,{children:"Links"}),(0,re.jsxs)(A.v2,{isLazy:!0,placement:"right",children:[(0,re.jsx)(A.j2,{as:h.Button,colorScheme:"",color:"black",rightIcon:(0,re.jsx)(V.ChevronDownIcon,{}),children:(0,re.jsx)(u.Box,{children:n.linkColorScheme?(0,re.jsx)(u.Box,{bgColor:n.linkColorScheme,borderRadius:"sm",height:6,width:6}):(0,re.jsx)(u.Flex,{height:6,width:6,flexDirection:"column",flexWrap:"wrap",children:n.nodeColorScheme.map((function(e){return(0,re.jsx)(u.Box,{bgColor:e,flex:"1 1 8px",borderRadius:"2xl"},e)}))})})}),(0,re.jsxs)(en.h_,{children:[" ",(0,re.jsxs)(A.qy,{minW:10,zIndex:"popover",bgColor:"gray.200",children:[(0,re.jsx)(A.sN,{onClick:function(){return t(jt(jt({},n),{},{linkColorScheme:""}))},justifyContent:"space-between",alignItems:"center",display:"flex",children:(0,re.jsx)(u.Flex,{height:6,width:6,flexDirection:"column",flexWrap:"wrap",children:n.nodeColorScheme.map((function(e){return(0,re.jsx)(u.Box,{bgColor:e,flex:"1 1 8px",borderRadius:"2xl"},e)}))})}),W.map((function(e){return(0,re.jsx)(A.sN,{onClick:function(){return t(jt(jt({},n),{},{linkColorScheme:e}))},justifyContent:"space-between",alignItems:"center",display:"flex",children:(0,re.jsx)(u.Box,{bgColor:e,borderRadius:"sm",height:6,width:6})},e)}))]})]})]})]}),(0,re.jsxs)(u.Flex,{alignItems:"center",justifyContent:"space-between",children:[(0,re.jsx)(u.Text,{children:"Accent"}),(0,re.jsxs)(A.v2,{isLazy:!0,placement:"right",children:[(0,re.jsx)(A.j2,{as:h.Button,colorScheme:"",color:"black",rightIcon:(0,re.jsx)(V.ChevronDownIcon,{}),children:(0,re.jsx)(u.Box,{bgColor:r,borderRadius:"sm",height:6,width:6})}),(0,re.jsxs)(en.h_,{children:[" ",(0,re.jsx)(A.qy,{minW:10,zIndex:"popover",bgColor:"gray.200",children:W.map((function(e){return(0,re.jsx)(A.sN,{onClick:function(){return i(e)},justifyContent:"space-between",alignItems:"center",display:"flex",children:(0,re.jsx)(u.Box,{bgColor:e,borderRadius:"sm",height:6,width:6})},e)}))})]})]})]}),(0,re.jsx)(pt,{colorList:W,label:"Link highlight",setVisuals:t,value:"linkHighlight",visValue:n.linkHighlight}),(0,re.jsx)(pt,{colorList:W,label:"Node highlight",setVisuals:t,value:"nodeHighlight",visValue:n.nodeHighlight}),(0,re.jsx)(pt,{colorList:W,label:"Background",setVisuals:t,value:"backgroundColor",visValue:n.backgroundColor}),(0,re.jsx)(pt,{colorList:W,label:"Emacs node",setVisuals:t,value:"emacsNodeColor",visValue:n.emacsNodeColor})]})})};function vt(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function mt(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?vt(Object(t),!0).forEach((function(n){(0,i.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):vt(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var yt=function(e){var n=e.visuals,t=e.setVisuals,r=e.threeDim;return(0,re.jsx)(u.VStack,{spacing:2,justifyContent:"flex-start",divider:(0,re.jsx)(u.StackDivider,{borderColor:"gray.500"}),align:"stretch",color:"gray.800",children:(0,re.jsxs)(u.Box,{children:[(0,re.jsx)(Qn,{label:"Node size",value:n.nodeRel,onChange:function(e){return t(mt(mt({},n),{},{nodeRel:e}))}}),(0,re.jsx)(Qn,{label:"Node degree size multiplier",value:n.nodeSizeLinks,min:0,max:2,onChange:function(e){return t(mt(mt({},n),{},{nodeSizeLinks:e}))}}),(0,re.jsx)(Qn,{label:"Node zoom invariance",value:n.nodeZoomSize,min:0,max:2,infoText:"How much the graph will try to keep the nodesize consistent across zoom scales. 0 is no consistency, node will always be their true size, 1 is linear, 2 is quadratic.",onChange:function(e){return t((function(n){return mt(mt({},n),{},{nodeZoomSize:e})}))}}),r&&(0,re.jsxs)(re.Fragment,{children:[(0,re.jsx)(Qn,{label:"Node opacity",value:n.nodeOpacity,min:0,max:1,onChange:function(e){return t(mt(mt({},n),{},{nodeOpacity:e}))}}),(0,re.jsx)(Qn,{label:"Node resolution",value:n.nodeResolution,min:5,max:32,step:1,onChange:function(e){return t(mt(mt({},n),{},{nodeResolution:e}))}})]}),(0,re.jsx)(Qn,{label:"Link width",value:n.linkWidth,onChange:function(e){return t(mt(mt({},n),{},{linkWidth:e}))}}),r&&(0,re.jsx)(Qn,{label:"Link opacity",min:0,max:1,value:n.linkOpacity,onChange:function(e){return t(mt(mt({},n),{},{linkOpacity:e}))}}),(0,re.jsxs)(tt,{label:"Link arrows",value:n.arrows,onChange:function(){return t(mt(mt({},n),{},{arrows:!n.arrows}))},children:[(0,re.jsx)(Qn,{label:"Arrow size",value:n.arrowsLength/10,onChange:function(e){return t(mt(mt({},n),{},{arrowsLength:10*e}))}}),(0,re.jsx)(Qn,{label:"Arrow Position",value:n.arrowsPos,min:0,max:1,step:.01,onChange:function(e){return t(mt(mt({},n),{},{arrowsPos:e}))}}),(0,re.jsx)(pt,{colorList:W,label:"Arrow Color",setVisuals:t,value:"arrowsColor",visValue:n.arrowsColor},"arrow")]}),(0,re.jsxs)(tt,{label:"Directional Particles",value:n.particles,onChange:function(){return t(mt(mt({},n),{},{particles:!n.particles}))},children:[(0,re.jsx)(Qn,{label:"Particle Number",value:n.particlesNumber,max:5,step:1,onChange:function(e){return t(mt(mt({},n),{},{particlesNumber:e}))}}),(0,re.jsx)(Qn,{label:"Particle Size",value:n.particlesWidth,onChange:function(e){return t(mt(mt({},n),{},{particlesWidth:e}))}})]})]})})};function Ct(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function Ot(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?Ct(Object(t),!0).forEach((function(n){(0,i.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Ct(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var wt=function(e){var n=e.visuals,t=e.setVisuals;return(0,re.jsxs)(u.VStack,{spacing:2,justifyContent:"flex-start",divider:(0,re.jsx)(u.StackDivider,{borderColor:"gray.400"}),align:"stretch",color:"gray.800",children:[(0,re.jsxs)(u.Flex,{alignItems:"center",justifyContent:"space-between",children:[(0,re.jsx)(u.Text,{children:"Show labels"}),(0,re.jsxs)(A.v2,{isLazy:!0,placement:"right",children:[(0,re.jsx)(A.j2,{as:h.Button,colorScheme:"",color:"black",rightIcon:(0,re.jsx)(V.ChevronDownIcon,{}),children:n.labels?n.labels<2?"On Highlight":"Always":"Never"}),(0,re.jsxs)(en.h_,{children:[" ",(0,re.jsxs)(A.qy,{zIndex:"popover",bgColor:"gray.200",children:[(0,re.jsx)(A.sN,{onClick:function(){return t(Ot(Ot({},n),{},{labels:0}))},children:"Never"}),(0,re.jsx)(A.sN,{onClick:function(){return t(Ot(Ot({},n),{},{labels:1}))},children:"On Highlight"}),(0,re.jsx)(A.sN,{onClick:function(){return t(Ot(Ot({},n),{},{labels:2}))},children:"Always"}),(0,re.jsx)(A.sN,{onClick:function(){return t(Ot(Ot({},n),{},{labels:3}))},children:"Always (even in 3D)"})]})]})]})]}),(0,re.jsxs)(nt.UO,{in:n.labels>1,animateOpacity:!0,children:[(0,re.jsx)(u.Box,{paddingTop:2,children:(0,re.jsx)(Qn,{label:"Label Appearance Scale",value:2*n.labelScale,onChange:function(e){return t(Ot(Ot({},n),{},{labelScale:e/2}))}})}),(0,re.jsxs)(u.Box,{paddingTop:2,children:[(0,re.jsx)(Qn,{label:"Label dynamicity",infoText:"By default, labels of nodes with more links will appear earlier than those with fewer. This slider changes the strength of this effect, put it at zero to disable it.",value:n.labelDynamicStrength,min:0,max:1,step:.05,onChange:function(e){return t((function(n){return Ot(Ot({},n),{},{labelDynamicStrength:e})}))}}),(0,re.jsx)(nt.UO,{in:n.labelDynamicStrength>0,children:(0,re.jsx)(Qn,{label:"Dynamic zoom degree cap",infoText:"The maximum number of links that is considered for the 'dynamic zoom effect'. Past this number all number of links are treated the same.",value:n.labelDynamicDegree,min:1,max:15,step:1,onChange:function(e){return t((function(n){return Ot(Ot({},n),{},{labelDynamicDegree:e})}))}})})]})]}),(0,re.jsx)(pt,{colorList:W,label:"Text",setVisuals:t,value:"labelTextColor",visValue:n.labelTextColor}),(0,re.jsxs)(u.Box,{children:[(0,re.jsx)(pt,{colorList:W,label:"Background",setVisuals:t,value:"labelBackgroundColor",visValue:n.labelBackgroundColor}),(0,re.jsx)(nt.UO,{in:!!n.labelBackgroundColor,animateOpacity:!0,children:(0,re.jsx)(u.Box,{paddingTop:2,children:(0,re.jsx)(Qn,{label:"Background opacity",value:n.labelBackgroundOpacity,onChange:function(e){console.log(n.labelBackgroundOpacity),t(Ot(Ot({},n),{},{labelBackgroundOpacity:e}))},min:0,max:1,step:.01})})})]}),(0,re.jsx)(Qn,{label:"Label font size",value:n.labelFontSize,min:5,max:20,step:.5,onChange:function(e){return t(Ot(Ot({},n),{},{labelFontSize:e}))}}),(0,re.jsx)(Qn,{label:"Max. label characters",value:n.labelLength,min:10,max:100,step:1,onChange:function(e){return t(Ot(Ot({},n),{},{labelLength:e}))}}),(0,re.jsx)(Qn,{label:"Max. label line length",value:n.labelWordWrap,min:10,max:100,step:1,onChange:function(e){return t(Ot(Ot({},n),{},{labelWordWrap:e}))}}),(0,re.jsx)(Qn,{label:"Space between label lines",value:n.labelLineSpace,min:.2,max:3,step:.1,onChange:function(e){return t(Ot(Ot({},n),{},{labelLineSpace:e}))}})]})},kt=t(67690),St=function(){var e=(0,b.useContext)(nn.N),n=e.emacsTheme,t=e.setEmacsTheme;e.highlightColor;return(0,re.jsxs)(u.Flex,{alignItems:"center",justifyContent:"space-between",pl:7,pr:2,children:[(0,re.jsx)(u.Text,{children:"Theme"}),(0,re.jsxs)(A.v2,{isLazy:!0,placement:"bottom",closeOnSelect:!1,children:[(0,re.jsx)(A.j2,{as:h.Button,size:"sm",colorScheme:"",color:"black",rightIcon:(0,re.jsx)(V.ChevronDownIcon,{}),children:n[0]}),(0,re.jsxs)(A.qy,{minW:10,zIndex:"popover",bgColor:"gray.200",children:[(0,re.jsx)(A.sN,{onClick:function(){return""},justifyContent:"space-between",alignItems:"center",display:"flex",children:(0,re.jsx)(u.Box,{height:6,width:6})}),Object.keys(kt.n).map((function(e,n){return(0,re.jsxs)(A.sN,{onClick:function(){return t([e,kt.n[e]])},justifyContent:"space-between",alignItems:"center",display:"flex",children:[(0,re.jsx)(u.Text,{children:e}),(0,re.jsx)(u.Flex,{height:6,width:20,flexDirection:"column",flexWrap:"wrap",children:Object.values(kt.n[e]).map((function(e){return(0,re.jsx)(u.Box,{bgColor:e,flex:"1 1 8px"},e)}))})]},e)}))]})]})]})};function It(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function Nt(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?It(Object(t),!0).forEach((function(n){(0,i.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):It(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var Pt=function(e){var n=e.visuals,t=e.setVisuals;return(0,re.jsx)(u.VStack,{spacing:2,justifyContent:"flex-start",divider:(0,re.jsx)(u.StackDivider,{borderColor:"gray.500"}),align:"stretch",color:"gray.800",children:(0,re.jsxs)(u.Box,{children:[(0,re.jsxs)(tt,{label:"Dash cite links",infoText:"Add dashes to citation links made with org-roam-bibtex",value:n.citeDashes,onChange:function(){return t(Nt(Nt({},n),{},{citeDashes:!n.citeDashes}))},children:[(0,re.jsx)(Qn,{label:"Dash length",value:n.citeDashLength/10,onChange:function(e){return t(Nt(Nt({},n),{},{citeDashLength:10*e}))}}),(0,re.jsx)(Qn,{label:"Gap length",value:n.citeGapLength/5,onChange:function(e){return t(Nt(Nt({},n),{},{citeGapLength:5*e}))}})]}),(0,re.jsx)(pt,{colorList:W,label:"Citation node color",setVisuals:t,value:"citeNodeColor",visValue:n.citeNodeColor}),(0,re.jsx)(pt,{colorList:W,label:"Citation link color",setVisuals:t,value:"citeLinkColor",visValue:n.citeLinkColor}),(0,re.jsx)(pt,{colorList:W,label:"Reference link highlight",setVisuals:t,value:"citeLinkHighlightColor",visValue:n.citeLinkHighlightColor}),(0,re.jsxs)(tt,{label:"Dash ref links",infoText:"Add dashes to citation links, whose target has a note, made with org-roam-bibtex",value:n.refDashes,onChange:function(){return t(Nt(Nt({},n),{},{refDashes:!n.refDashes}))},children:[(0,re.jsx)(Qn,{label:"Dash length",value:n.refDashLength/10,onChange:function(e){return t(Nt(Nt({},n),{},{refDashLength:10*e}))}}),(0,re.jsx)(Qn,{label:"Gap length",value:n.refGapLength/5,onChange:function(e){return t(Nt(Nt({},n),{},{refGapLength:5*e}))}})]}),(0,re.jsx)(pt,{colorList:W,label:"Reference node color",setVisuals:t,value:"refNodeColor",visValue:n.refNodeColor}),(0,re.jsx)(pt,{colorList:W,label:"Reference link color",setVisuals:t,value:"refLinkColor",visValue:n.refLinkColor}),(0,re.jsx)(pt,{colorList:W,label:"Reference link highlight",setVisuals:t,value:"refLinkHighlightColor",visValue:n.refLinkHighlightColor})]})})};function Dt(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function Bt(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?Dt(Object(t),!0).forEach((function(n){(0,i.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Dt(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var Lt=function(e){var n=e.coloring,t=e.setColoring;return(0,re.jsxs)(u.Flex,{alignItems:"center",justifyContent:"space-between",pl:7,pr:2,children:[(0,re.jsx)(u.Text,{children:"Graph coloring"}),(0,re.jsxs)(A.v2,{isLazy:!0,placement:"right",children:[(0,re.jsx)(A.j2,{as:h.Button,size:"sm",colorScheme:"",color:"black",rightIcon:(0,re.jsx)(V.ChevronDownIcon,{}),children:"degree"===n.method?"Links":"Communities"}),(0,re.jsx)(en.h_,{children:(0,re.jsxs)(A.qy,{minW:10,zIndex:"popover",bgColor:"gray.200",children:[(0,re.jsx)(A.sN,{onClick:function(){return t((function(e){return Bt(Bt({},e),{},{method:"degree"})}))},justifyContent:"space-between",alignItems:"center",display:"flex",children:"Number of links"}),(0,re.jsx)(A.sN,{onClick:function(){return t((function(e){return Bt(Bt({},e),{},{method:"community"})}))},justifyContent:"space-between",alignItems:"center",display:"flex",children:"Communities"})]})})]})]})},Tt=function(e){var n=e.coloring,t=e.setColoring,r=e.visuals,o=e.setVisuals,i=e.highlightColor,l=e.setHighlightColor,s=e.threeDim,c=(0,b.useCallback)((function(e){return o(e)}),[]);return(0,re.jsxs)(u.VStack,{justifyContent:"flex-start",align:"stretch",children:[(0,re.jsx)(St,{}),(0,re.jsx)(Lt,{coloring:n,setColoring:t}),(0,re.jsxs)(Zn.UQ,{allowToggle:!0,defaultIndex:[0],paddingLeft:3,children:[(0,re.jsxs)(Zn.Qd,{children:[(0,re.jsx)(Zn.KF,{children:(0,re.jsxs)(u.Flex,{justifyContent:"space-between",w:"100%",children:[(0,re.jsx)(u.Text,{children:"Colors"}),(0,re.jsx)(Zn.XE,{marginRight:2})]})}),(0,re.jsx)(Zn.Hk,{children:(0,re.jsx)(bt,{visuals:r,setVisualsCallback:c,highlightColor:i,setHighlightColor:l})})]}),(0,re.jsxs)(Zn.Qd,{children:[(0,re.jsx)(Zn.KF,{children:(0,re.jsxs)(u.Flex,{justifyContent:"space-between",w:"100%",children:[(0,re.jsx)(u.Text,{children:"Nodes & Links"}),(0,re.jsx)(Zn.XE,{marginRight:2})]})}),(0,re.jsx)(Zn.Hk,{children:(0,re.jsx)(yt,{visuals:r,setVisuals:c,threeDim:s})})]}),(0,re.jsxs)(Zn.Qd,{children:[(0,re.jsx)(Zn.KF,{children:(0,re.jsxs)(u.Flex,{justifyContent:"space-between",w:"100%",children:[(0,re.jsx)(u.Text,{children:"Labels"}),(0,re.jsx)(Zn.XE,{marginRight:2})]})}),(0,re.jsx)(Zn.Hk,{children:(0,re.jsx)(wt,{visuals:r,setVisuals:c})})]}),(0,re.jsxs)(Zn.Qd,{children:[(0,re.jsx)(Zn.KF,{children:(0,re.jsxs)(u.Flex,{justifyContent:"space-between",w:"100%",children:[(0,re.jsx)(u.Text,{children:"Highlighting"}),(0,re.jsx)(Zn.XE,{marginRight:2})]})}),(0,re.jsx)(Zn.Hk,{children:(0,re.jsx)(ht,{visuals:r,setVisuals:c})})]}),(0,re.jsxs)(Zn.Qd,{children:[(0,re.jsx)(Zn.KF,{children:(0,re.jsxs)(u.Flex,{justifyContent:"space-between",w:"100%",children:[(0,re.jsx)(u.Text,{children:"Citations"}),(0,re.jsx)(Zn.XE,{marginRight:2})]})}),(0,re.jsx)(Zn.Hk,{children:(0,re.jsx)(Pt,{visuals:r,setVisuals:c})})]})]})]})},zt=["style"];function Ft(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function Et(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?Ft(Object(t),!0).forEach((function(n){(0,i.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Ft(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var Rt=function(e){var n=e.physics,t=e.setPhysics,r=e.threeDim,o=e.setThreeDim,i=e.filter,s=e.setFilter,c=e.visuals,a=e.setVisuals,g=e.mouse,f=e.setMouse,p=e.behavior,x=e.setBehavior,j=e.tags,v=e.tagColors,m=e.setTagColors,y=e.coloring,C=e.setColoring,O=e.local,w=e.setLocal,k=Ln("showTweaks",!1),S=(0,l.Z)(k,2),I=S[0],N=S[1],P=(0,b.useContext)(nn.N),D=P.highlightColor,B=P.setHighlightColor;return I?(0,re.jsxs)(u.Box,{position:"absolute",bg:"alt.100",w:"xs",marginTop:2,marginLeft:2,borderRadius:"lg",paddingBottom:5,zIndex:10,boxShadow:"xl",maxH:"95vh",fontSize:"sm",children:[(0,re.jsxs)(u.Box,{display:"flex",justifyContent:"space-between",alignItems:"center",paddingRight:2,paddingTop:1,children:[(0,re.jsx)(d.u,{label:"2D",children:(0,re.jsx)(h.Button,{onClick:function(){return o(!r)},variant:"subtle",zIndex:"overlay",children:r?"3D":"2D"})}),(0,re.jsxs)(u.Box,{display:"flex",alignItems:"center",children:[(0,re.jsx)(d.u,{label:"Reset settings to defaults",children:(0,re.jsx)(h.IconButton,{"aria-label":"Reset Defaults",icon:(0,re.jsx)(V.RepeatClockIcon,{}),onClick:function(){a(E),s(z),f(Z),t(T),x(R),C(F),B("purple.500"),w(H)},variant:"subtle",size:"sm"})}),(0,re.jsx)(h.IconButton,{size:"sm",icon:(0,re.jsx)(V.CloseIcon,{}),"aria-label":"Close Tweak Panel",variant:"subtle",onClick:function(){return N(!1)}})]})]}),(0,re.jsx)(ln.ZP,{autoHeight:!0,autoHeightMax:.85*globalThis.innerHeight,autoHide:!0,renderThumbVertical:function(e){var n=e.style,t=(0,q.Z)(e,zt);return(0,re.jsx)(u.Box,Et(Et({},t),{},{style:Et(Et({},n),{},{borderRadius:10}),bg:D}))},children:(0,re.jsxs)(Zn.UQ,{allowMultiple:!0,allowToggle:!0,color:"black",children:[(0,re.jsxs)(Zn.Qd,{children:[(0,re.jsxs)(Zn.KF,{children:[(0,re.jsx)(Zn.XE,{marginRight:2}),(0,re.jsx)(u.Heading,{size:"sm",children:"Filter"})]}),(0,re.jsx)(Zn.Hk,{children:(0,re.jsx)(et,{filter:i,setFilter:s,tagColors:v,setTagColors:m,highlightColor:D,colorList:W,tags:j,local:O,setLocal:w})})]}),(0,re.jsxs)(Zn.Qd,{children:[(0,re.jsx)(Zn.KF,{display:"flex",justifyContent:"space-between",children:(0,re.jsxs)(u.Box,{display:"flex",children:[(0,re.jsx)(Zn.XE,{marginRight:2}),(0,re.jsx)(u.Heading,{size:"sm",children:"Physics"})]})}),(0,re.jsx)(Zn.Hk,{children:(0,re.jsx)(it,{physics:n,setPhysics:t})})]}),(0,re.jsxs)(Zn.Qd,{children:[(0,re.jsxs)(Zn.KF,{children:[(0,re.jsx)(Zn.XE,{marginRight:2}),(0,re.jsx)(u.Heading,{size:"sm",children:"Visual"})]}),(0,re.jsx)(Zn.Hk,{children:(0,re.jsx)(Tt,{visuals:c,setVisuals:a,highlightColor:D,setHighlightColor:B,threeDim:r,coloring:y,setColoring:C})})]}),(0,re.jsxs)(Zn.Qd,{children:[(0,re.jsxs)(Zn.KF,{children:[(0,re.jsx)(Zn.XE,{marginRight:2}),(0,re.jsx)(u.Heading,{size:"sm",children:"Behavior"})]}),(0,re.jsx)(Zn.Hk,{children:(0,re.jsx)(ct,{behavior:p,setBehavior:x,mouse:g,setMouse:f})})]})]})})]}):(0,re.jsx)(u.Box,{position:"absolute",zIndex:"overlay",marginTop:1,marginLeft:0,display:I?"none":"block",children:(0,re.jsx)(h.IconButton,{variant:"subtle","aria-label":"Settings",icon:(0,re.jsx)(V.SettingsIcon,{}),onClick:function(){return N(!0)}})})},Zt=t(22663),Ht=t.n(Zt);function Wt(e){var n,t,r,i,l=e.labelBackgroundColor,s=e.labelTextColor,c=e.node,a=e.ctx,u=e.globalScale,d=e.highlightedNodes,h=e.previouslyHighlightedNodes,g=e.visuals,f=e.opacity,p=e.nodeSize,x=e.filteredLinksByNodeId,j=(e.nodeRel,e.hoverNode),b=e.lastHoverNode;if(c&&g.labels){var v=null!==(n=null===j||void 0===j?void 0:j.id)&&void 0!==n?n:"",m=null!==(t=null===b||void 0===b?void 0:b.id)&&void 0!==t?t:"",y=null!==(r=x[c.id])&&void 0!==r?r:[],C=!(!d[c.id]&&!h[c.id]),O=Math.min(5*(u-g.labelScale)+2*Math.pow(Math.min(y.length,g.labelDynamicDegree),g.labelDynamicStrength),1);if(!(O<.01)||C){var w=null!==(i=c.title)&&void 0!==i?i:"",k=w.substring(0,g.labelLength),S=Math.cbrt(g.nodeRel*p(c)/Math.pow(u,g.nodeZoomSize)),I=g.labelFontSize/Math.cbrt(Math.pow(u,g.nodeZoomSize)),N=[1.1*a.measureText(k).width,I].map((function(e){return e+.5*I})),P=function(e,n,t,r,o){return o?Math.max(e,r):1*e*(-1*(n.highlightFade*r-1))}(O,g,0,f,C);if(g.labelBackgroundColor&&g.labelBackgroundOpacity){var D=$t(l,P*g.labelBackgroundOpacity);a.fillStyle=D,a.fillRect.apply(a,[c.x-N[0]/2,c.y-N[1]/2+S].concat((0,o.Z)(N)))}a.textAlign="center",a.textBaseline="middle";var B=$t(s,P);a.fillStyle=B,a.font="".concat(I,"px Sans-Serif");var L=Ht()(k,{width:g.labelWordWrap}).split("\n"),T=w.length>g.labelLength?[].concat((0,o.Z)(L.slice(0,-1)),["".concat(L.slice(-1),"...")]):L,z=[v,m].includes(c.id)?1+.3*f:1;T.forEach((function(e,n){a.fillText(e,c.x,c.y+z*S*8+g.labelLineSpace*I*n)}))}}}function At(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function Mt(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?At(Object(t),!0).forEach((function(n){(0,i.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):At(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var Vt=t.e(907).then(t.bind(t,99907)),_t=t.g.window?t(24878).f$:null,Ut=t.g.window?t(24878).s6:null;function qt(){var e=(0,b.useState)(!1),n=e[0],t=e[1];return(0,b.useEffect)((function(){t(!0)}),[]),n?(0,re.jsxs)(re.Fragment,{children:[(0,re.jsx)(j.default,{children:(0,re.jsx)("title",{children:"ORUI"})}),(0,re.jsx)(Gt,{})]}):null}function Gt(){var e=Ln("3d",!1),n=(0,l.Z)(e,2),t=n[0],r=n[1],s=Ln("tagCols",{}),c=(0,l.Z)(s,2),g=c[0],f=c[1],x=(0,b.useState)({nodeIds:[],excludedNodeIds:[]}),j=x[0],v=x[1],m=Ln("physics",T),w=(0,l.Z)(m,2),S=w[0],I=w[1],N=Ln("filter",z),P=(0,l.Z)(N,2),D=P[0],B=P[1],L=Ln("visuals",E),W=(0,l.Z)(L,2),A=W[0],M=W[1],V=(0,b.useState)(null),_=V[0],U=V[1],q=(0,b.useState)(null),G=q[0],X=q[1],J=Ln("behavior",R),Q=(0,l.Z)(J,2),K=Q[0],$=Q[1],Y=Ln("mouse",Z),ee=(0,l.Z)(Y,2),ne=ee[0],te=ee[1],oe=Ln("coloring",F),ie=(0,l.Z)(oe,2),le=ie[0],se=ie[1],ce=Ln("local",H),ae=(0,l.Z)(ce,2),ue=ae[0],de=ae[1],he=(0,k.Z)({}),ge=(0,l.Z)(he,2),pe=ge[0],xe=ge[1],je=xe.set,be=xe.reset,ve=xe.undo,me=xe.redo,ye=xe.canUndo,Ce=xe.canRedo,Oe=(pe.past,pe.present),we=(pe.future,(0,b.useState)(null)),ke=we[0],Se=we[1],Ie=(0,a.qY)(),Ne=Ie.isOpen,Pe=Ie.onOpen,De=Ie.onClose,Be=(0,b.useRef)({}),Le=(0,b.useRef)({}),Te=(0,b.useRef)({}),ze=(0,b.useRef)([]),Fe=(0,b.useRef)(null),Ee=(0,b.useState)({}),Re=Ee[0],Ze=Ee[1],He=(0,b.useRef)({}),We=(0,b.useRef)({nodes:[],links:[]});(0,b.useEffect)((function(){_&&(We.current=_)}),[_]);var Ae=(0,b.useContext)(nn.N).setEmacsTheme,Me=(0,b.useRef)({nodeIds:[],excludedNodeIds:[]}),Ve=(0,b.useRef)(R);Ve.current=K;var _e=(0,b.useRef)(null);Me.current=j;var Ue=function(e,n){var t,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:2e3,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:200;if("color"!==e){var l=Fe.current,s=Me.current,c=Ve.current,a=null!==(t=Le.current[n])&&void 0!==t?t:[],u=Object.fromEntries([n].concat((0,o.Z)(a.flatMap((function(e){return[e.source,e.target]})))).map((function(e){return[e,{}]})));if("zoom"===e)return s.nodeIds.length&&v({nodeIds:[],excludedNodeIds:[]}),void setTimeout((function(){return l.zoomToFit(r,i,(function(e){return u[e.id]}))}),50);if(!s.nodeIds.length)return v((function(e){return Mt(Mt({},e),{},{nodeIds:[n]})})),void setTimeout((function(){l.centerAt(0,0,10),l.zoomToFit(1,i)}),50);if("add"!==c.localSame)return v((function(e){return Mt(Mt({},e),{},{nodeIds:[n]})})),void setTimeout((function(){l.centerAt(0,0,10),l.zoomToFit(1,i)}),50);if(!s.nodeIds.includes(n)||!s.nodeIds.some((function(e){return u[e]})))return v((function(e){return Mt(Mt({},e),{},{nodeIds:[n]})})),void setTimeout((function(){l.centerAt(0,0,10),l.zoomToFit(1,i)}),50);v((function(e){return Mt(Mt({},e),{},{nodeIds:[].concat((0,o.Z)(e.nodeIds),[n])})})),setTimeout((function(){l.centerAt(0,0,10),l.zoomToFit(1,i)}),50)}};(0,b.useEffect)((function(){_e.current=new O.Z("ws://localhost:35903"),_e.current.addEventListener("open",(function(){console.log("Connection with Emacs established")})),_e.current.addEventListener("message",(function(e){var n=Ve.current,t=JSON.parse(e.data);switch(t.type){case"graphdata":return function(e){var n,t,r,s=Be.current;ze.current=null!==(n=e.tags)&&void 0!==n?n:[];var c=null!==(t=e.nodes)&&void 0!==t?t:[],a=null!==(r=e.links)&&void 0!==r?r:[],u=c.reduce((function(e,n){var t;return Mt(Mt({},e),{},(0,i.Z)({},n.file,[].concat((0,o.Z)(null!==(t=e[n.file])&&void 0!==t?t:[]),[n])))}),{}),d=Object.keys(u).flatMap((function(e){var n,t=null!==(n=u[e])&&void 0!==n?n:[],r=t.find((function(e){return 0===e.level})),o=t.filter((function(e){return 0!==e.level}));return r?o.map((function(e){var n=t.filter((function(n){var t,r;return!(n.level>=e.level||n.pos>=e.pos||null===(t=e.olp)||void 0===t||!t.includes(null===(r=n.title)||void 0===r?void 0:r.replace(/ *\[\d*\/\d*\] */g,"")))})).reduce((function(e,n){return n.level>e.level&&(e=n),e}),r);return{source:e.id,target:(null===n||void 0===n?void 0:n.id)||r.id,type:"heading"}})):[]})),h=Object.keys(u).flatMap((function(e){var n,t=null!==(n=u[e])&&void 0!==n?n:[],r=t.find((function(e){return 0===e.level})),o=t.filter((function(e){return 0!==e.level}));return r?o.map((function(e){return{source:e.id,target:r.id,type:"parent"}})):[]}));Be.current=Object.fromEntries(c.map((function(e){return[e.id,e]})));var g=[].concat((0,o.Z)(a),(0,o.Z)(d),(0,o.Z)(h)),f=[],p=g.map((function(e){var n=e.source,t=e.target;return Be.current[n]?Be.current[t]?e:(f.push({id:t,tags:["bad"],properties:{FILELESS:"yes",bad:"yes"},file:"",title:t,level:0,pos:0,olp:null}),Mt(Mt({},e),{},{type:"bad"})):(f.push({id:n,tags:["bad"],properties:{FILELESS:"yes",bad:"yes"},file:"",title:n,level:0,pos:0,olp:null}),Mt(Mt({},e),{},{type:"bad"}))}));Be.current=Mt(Mt({},Be.current),Object.fromEntries(f.map((function(e){return[e.id,e]})))),Le.current=p.reduce((function(e,n){var t,r,l;return Mt(Mt({},e),{},(l={},(0,i.Z)(l,n.source,[].concat((0,o.Z)(null!==(t=e[n.source])&&void 0!==t?t:[]),[n])),(0,i.Z)(l,n.target,[].concat((0,o.Z)(null!==(r=e[n.target])&&void 0!==r?r:[]),[n])),l))}),{});var x=[].concat((0,o.Z)(c),f);Te.current=x.reduce((function(e,n){var t,r=null===(t=n.properties)||void 0===t?void 0:t.ROAM_REFS;if(null===r||void 0===r||!r.includes("cite"))return e;var o=r.replaceAll(/cite:(.*)/g,"$1");return o?Mt(Mt({},e),{},(0,i.Z)({},o,n)):e}),{});var j={nodes:x,links:p},b=We.current;if(0===b.nodes.length){var v=JSON.parse(JSON.stringify(j));return We.current=v,void U(v)}var m=[].concat((0,o.Z)(b.nodes.flatMap((function(e){var n,t=null!==(n=Be.current[null===e||void 0===e?void 0:e.id])&&void 0!==n&&n;return t?[Mt(Mt({},e),t)]:[]}))),(0,o.Z)(Object.keys(Be.current).filter((function(e){return!s[e]})).map((function(e){return Be.current[e]})))),y=m.reduce((function(e,n,t){var r=null===n||void 0===n?void 0:n.id;return Mt(Mt({},e),{},(0,i.Z)({},r,t))}),{}),C=p.map((function(e){var n=Qt(e),t=(0,l.Z)(n,2),r=t[0],o=t[1];return Mt(Mt({},e),{},{source:m[y[r]],target:m[y[o]]})}));U({nodes:m,links:C})}(t.data);case"variables":return Ze(t.data),void console.log(t);case"theme":return Ae(["custom",t.data]);case"command":switch(t.data.commandName){case"local":var r=K.zoomSpeed,s=K.zoomPadding;Ue("local",t.data.id,r,s),X(t.data.id);break;case"zoom":var c,a,u=(null===t||void 0===t||null===(c=t.data)||void 0===c?void 0:c.speed)||n.zoomSpeed,d=(null===t||void 0===t||null===(a=t.data)||void 0===a?void 0:a.padding)||n.zoomPadding;Ue("zoom",t.data.id,u,d),X(t.data.id);break;case"follow":Ue(n.follow,t.data.id,n.zoomSpeed,n.zoomPadding),X(t.data.id);break;default:return console.error("unknown message type",t.type)}}}))}),[]),(0,b.useEffect)((function(){var e=Fe.current;!e||j.nodeIds.length>1||(j.nodeIds.length||!S.gravityOn?setTimeout((function(){e.zoomToFit(5,200)}),50):e.zoomToFit())}),[j.nodeIds]);var qe=(0,p.iP)(),Ge=(0,l.Z)(qe,2),Xe=Ge[0],Je=Ge[1],Qe=(0,b.useRef)(),Ke=(0,b.useState)(null),$e=Ke[0],Ye=Ke[1],en=(0,b.useState)({left:0,top:0,right:void 0,bottom:void 0}),tn=en[0],rn=en[1],on=(0,a.qY)();(0,a.O3)({ref:Qe,handler:function(){on.onClose()}});var ln=function(e,n,t){rn(t||{left:n.pageX,top:n.pageY,right:void 0,bottom:void 0}),Ye(e),on.onOpen()},sn=function(e,n){"remove"!==n?"replace"!==n?j.nodeIds.includes(e.id)||v((function(n){return Mt(Mt({},n),{},{nodeIds:[].concat((0,o.Z)(n.nodeIds),[e.id])})})):v({nodeIds:[e.id],excludedNodeIds:[]}):v((function(n){return Mt(Mt({},n),{},{excludedNodeIds:[].concat((0,o.Z)(n.excludedNodeIds),[e.id])})}))},cn=(0,b.useState)({type:"Graph",title:"Graph",icon:(0,re.jsx)(y.DvO,{})}),an=(cn[0],cn[1],Ln("mainWindowWidth",Xe)),un=(0,l.Z)(an,2),dn=un[0],hn=un[1];return console.log(Re),(0,re.jsx)(Kn.Provider,{value:Mt({},Re),children:(0,re.jsxs)(u.Box,{display:"flex",alignItems:"flex-start",flexDirection:"row",height:"100vh",overflow:"clip",children:[(0,re.jsx)(Rt,{physics:S,setPhysics:I,threeDim:t,setThreeDim:r,filter:D,setFilter:B,visuals:A,setVisuals:M,mouse:ne,setMouse:te,behavior:K,setBehavior:$,tagColors:g,setTagColors:f,coloring:le,setColoring:se,local:ue,setLocal:de,tags:ze.current}),(0,re.jsx)(u.Box,{position:"absolute",children:_&&(0,re.jsx)(Xt,{nodeById:Be.current,linksByNodeId:Le.current,webSocket:_e.current,variables:Re,physics:S,graphData:_,threeDim:t,emacsNodeId:G,filter:D,visuals:A,behavior:K,mouse:ne,scope:j,setScope:v,tagColors:g,setPreviewNode:je,sidebarHighlightedNode:ke,windowWidth:Xe,windowHeight:Je,openContextMenu:ln,contextMenu:on,handleLocal:sn,mainWindowWidth:dn,setMainWindowWidth:hn,setContextMenuTarget:Ye,graphRef:Fe,clusterRef:He,coloring:le,local:ue})}),(0,re.jsx)(u.Box,{position:"relative",zIndex:4,width:"100%",children:(0,re.jsx)(u.Flex,{className:"headerBar",h:10,flexDir:"column",children:(0,re.jsx)(u.Flex,{alignItems:"center",h:10,justifyContent:"flex-end",children:(0,re.jsxs)(u.Flex,{height:"100%",flexDirection:"row",children:[j.nodeIds.length>0&&(0,re.jsx)(d.u,{label:"Return to main graph",children:(0,re.jsx)(h.IconButton,{m:1,icon:(0,re.jsx)(y.DvO,{}),"aria-label":"Exit local mode",onClick:function(){return v((function(e){return Mt(Mt({},e),{},{nodeIds:[]})}))},variant:"subtle"})}),(0,re.jsx)(d.u,{label:Ne?"Close sidebar":"Open sidebar",children:(0,re.jsx)(h.IconButton,{m:1,icon:(0,re.jsx)(C.iBV,{}),"aria-label":"Close file-viewer",variant:"subtle",onClick:Ne?De:Pe})})]})})})}),(0,re.jsx)(u.Box,{position:"relative",zIndex:4,children:(0,re.jsx)(Rn,{isOpen:Ne,onOpen:Pe,onClose:De,previewNode:Oe,setPreviewNode:je,canUndo:ye,canRedo:Ce,previousPreviewNode:ve,nextPreviewNode:me,resetPreviewNode:be,setSidebarHighlightedNode:Se,openContextMenu:ln,scope:j,setScope:v,windowWidth:Xe,tagColors:g,setTagColors:f,filter:D,setFilter:B,macros:Re.katexMacros,attachDir:Re.attachDir||"",useInheritance:Re.useInheritance||!1,nodeById:Be.current,linksByNodeId:Le.current,nodeByCite:Te.current})}),on.isOpen&&(0,re.jsx)("div",{ref:Qe,children:(0,re.jsx)(fe,{scope:j,target:$e,background:!1,coordinates:tn,handleLocal:sn,menuClose:on.onClose.bind(on),webSocket:_e.current,setPreviewNode:je,setFilter:B,filter:D,setTagColors:f,tagColors:g})})]})})}var Xt=function(e){var n=e.graphRef,t=e.physics,s=e.graphData,a=e.threeDim,d=e.linksByNodeId,h=e.filter,p=e.emacsNodeId,j=e.nodeById,v=e.visuals,y=e.behavior,C=e.mouse,O=e.scope,k=e.local,S=(e.setScope,e.webSocket),I=e.tagColors,N=e.setPreviewNode,P=e.sidebarHighlightedNode,D=e.windowWidth,B=e.windowHeight,T=(e.setContextMenuTarget,e.openContextMenu),z=e.contextMenu,F=e.handleLocal,E=e.variables,R=e.clusterRef,Z=e.coloring,H=E.dailyDir,A=(E.roamDir,(0,b.useState)(null)),M=A[0],V=A[1],_=(0,g.Fg)(),q=(0,b.useContext)(nn.N).emacsTheme,G=function(e,n,t){switch(e){case C.preview:N(n);break;case C.local:F(n,y.localSame);break;case C.follow:U(n,S);break;case C.context:T(n,t)}},X=(0,b.useRef)(null);(0,b.useEffect)((function(){p&&V(j[p])}),[p]);var J=(0,b.useRef)({}),Q=(0,b.useRef)({}),K=(0,b.useMemo)((function(){var e;Q.current={};var n=null===s||void 0===s||null===(e=s.nodes)||void 0===e?void 0:e.filter((function(e){var n,t,r,o,l=e;return h.dirsBlocklist.length&&h.dirsBlocklist.some((function(e){var n;return null===l||void 0===l||null===(n=l.file)||void 0===n?void 0:n.includes(e)}))||h.dirsAllowlist.length>0&&!h.dirsAllowlist.some((function(e){var n;return null===l||void 0===l||null===(n=l.file)||void 0===n?void 0:n.includes(e)}))||h.tagsBlacklist.length&&h.tagsBlacklist.some((function(e){var n;return(null===l||void 0===l||null===(n=l.tags)||void 0===n?void 0:n.indexOf(e))>-1}))||h.tagsWhitelist.length>0&&!h.tagsWhitelist.some((function(e){var n;return(null===l||void 0===l||null===(n=l.tags)||void 0===n?void 0:n.indexOf(e))>-1}))||h.filelessCites&&null!==l&&void 0!==l&&null!==(n=l.properties)&&void 0!==n&&n.FILELESS||null!==h&&void 0!==h&&h.bad&&null!==l&&void 0!==l&&null!==(t=l.properties)&&void 0!==t&&t.bad||h.dailies&&H&&null!==(r=l.file)&&void 0!==r&&r.includes(H)?(Q.current=Mt(Mt({},Q.current),{},(0,i.Z)({},l.id,l)),!1):!h.noter||null===(o=l.properties)||void 0===o||!o.NOTER_PAGE||(Q.current=Mt(Mt({},Q.current),{},(0,i.Z)({},l.id,l)),!1)})).filter((function(e){var n,t=(null!==(n=d[null===e||void 0===e?void 0:e.id])&&void 0!==n?n:[]).filter((function(e){return!Q.current[e.source]&&!Q.current[e.target]}));return!h.orphans||(h.parent?0!==t.length:0!==t.length&&t.some((function(e){return!["parent","heading"].includes(e.type)})))})),t=n.map((function(e){return e.id})),r=s.links.filter((function(e){var n=Qt(e),r=(0,l.Z)(n,2),o=r[0],i=r[1];if(!t.includes(o)||!t.includes(i))return!1;var s=e;return h.parent?"heading"===h.parent?"parent"!==s.type:"heading"!==s.type:!["parent","heading"].includes(s.type)}));J.current=r.reduce((function(e,n){var t,r,s,c=n,a=Qt(c),u=(0,l.Z)(a,2),d=u[0],h=u[1];return Mt(Mt({},e),{},(s={},(0,i.Z)(s,d,[].concat((0,o.Z)(null!==(t=e[d])&&void 0!==t?t:[]),[c])),(0,i.Z)(s,h,[].concat((0,o.Z)(null!==(r=e[h])&&void 0!==r?r:[]),[c])),s))}),{});var c=r.map((function(e){var n=Qt(e),t=(0,l.Z)(n,2);return{target:t[0],source:t[1],weight:"cite"===e.type?1:2}}));if("community"===Z.method){var a=m()().nodes(t).edges(c);R.current=a()}return{nodes:n,links:r}}),[h,s,Z.method]),$=(0,b.useState)({nodes:[],links:[]}),Y=$[0],ee=$[1];(0,b.useEffect)((function(){if(O.nodeIds.length){var e=O.nodeIds.length>1?Y.nodes.filter((function(e){return!O.excludedNodeIds.includes(e.id)})):[],n=e.map((function(e){return e.id})),t=function(e,n,t){var r=[e[0]],o=[],i=[e[0]];return Array.from({length:t},(function(){r.forEach((function(e){var t;(null!==(t=J.current[e])&&void 0!==t?t:[]).forEach((function(e){var t=Qt(e),r=(0,l.Z)(t,2),s=r[0],c=r[1];n.some((function(e){return[s,c].includes(e)}))||(i.includes(s)?i.includes(c)||o.push(c):o.push(s))}))})),r=o,o.forEach((function(e){return e&&i.push(e)})),o=[]})),i}(O.nodeIds,O.excludedNodeIds,k.neighbors),r=K.nodes.filter((function(r){var o;return e.length?!n.includes(r.id)&&(null!==(o=J.current[r.id])&&void 0!==o?o:[]).some((function(e){var n=Qt(e),t=(0,l.Z)(n,2),r=t[0],o=t[1];return O.nodeIds.includes(r)||O.nodeIds.includes(o)})):t.includes(r.id)})).map((function(e){return Mt(Mt({},e),{},{x:0,y:0,vy:0,vx:0})})),i=[].concat((0,o.Z)(e),(0,o.Z)(r)),s=i.map((function(e){return e.id})),c=(O.nodeIds.length>1?Y.links:[]).filter((function(e){O.excludedNodeIds.some((function(n){return Qt(e).includes(n)}))})),a=K.links.filter((function(e){var t=Qt(e),r=(0,l.Z)(t,2),o=r[0],i=r[1];return!(c.length&&n.includes(i)&&n.includes(o))&&(s.includes(o)&&s.includes(i))})).map((function(e){var n=Qt(e),t=(0,l.Z)(n,2);return{source:t[0],target:t[1]}})),u=[].concat((0,o.Z)(c),(0,o.Z)(a));ee({nodes:i,links:u})}}),[k.neighbors,h,JSON.stringify(O),JSON.stringify(s),K.links,K.nodes]),(0,b.useEffect)((function(){(0,r.Z)(c().mark((function e(){var r,o;return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=n.current,e.next=3,Vt;case 3:o=e.sent,!t.gravityOn||O.nodeIds.length&&!t.gravityLocal?(r.d3Force("x",null),r.d3Force("y",null),a&&r.d3Force("z",null)):(r.d3Force("x",o.forceX().strength(t.gravity)),r.d3Force("y",o.forceY().strength(t.gravity)),a&&r.d3Force("z",o.forceZ().strength(t.gravity))),t.centering?r.d3Force("center",o.forceCenter().strength(t.centeringStrength)):r.d3Force("center",null),t.linkStrength&&r.d3Force("link").strength(t.linkStrength),t.linkIts&&r.d3Force("link").iterations(t.linkIts),t.charge&&r.d3Force("charge").strength(t.charge),r.d3Force("collide",t.collision?o.forceCollide().radius(t.collisionStrength):null);case 10:case"end":return e.stop()}}),e)})))()}),[t,a,O]),(0,b.useEffect)((function(){var e;null===(e=n.current)||void 0===e||e.d3ReheatSimulation()}),[t,O.nodeIds.length]);var ne=(0,b.useRef)(0),te=(0,b.useState)(1),oe=te[0],ie=te[1],le=(0,f._7)((function(e){return ie(e)}),{duration:v.animationSpeed,algorithm:L[v.algorithmName]}),se=(0,l.Z)(le,2),ce=se[0],ae=se[1],ue=(0,f._7)((function(e){return ie(Math.min(oe,-1*(e-1)))}),{duration:v.animationSpeed,algorithm:L[v.algorithmName]}),de=(0,l.Z)(ue,2),he=de[0],ge=de[1],fe=(0,b.useMemo)((function(){var e;if(!X.current)return{};var n=J.current[X.current.id];return n?Object.fromEntries([null===(e=X.current)||void 0===e?void 0:e.id].concat((0,o.Z)(n.flatMap((function(e){return[e.source,e.target]})))).map((function(e){return[e,{}]}))):{}}),[JSON.stringify(X.current),JSON.stringify(J.current)]);(0,b.useEffect)((function(){null!==P&&void 0!==P&&P.id?V(P):V(null)}),[P]);var pe=(0,b.useRef)(null);(0,b.useEffect)((function(){if(X.current=M,M&&(pe.current=M),!v.highlightAnim)return ie(M?1:0);M?ce():(ae(),oe>.5?he():ie(0))}),[M]);var xe=(0,b.useMemo)((function(){return Object.fromEntries(W.map((function(e){var n=Kt(e,_),t=W.map((function(e){return[e,x.Z(n,Kt(e,_))]}));return[e,Object.fromEntries(t)]})))}),[q]),je=(0,b.useMemo)((function(){var e,n,t,r=null!==(e=J.current[null===(n=pe.current)||void 0===n?void 0:n.id])&&void 0!==e?e:[];return Object.fromEntries([null===(t=pe.current)||void 0===t?void 0:t.id].concat((0,o.Z)(r.flatMap((function(e){return Qt(e)})))).map((function(e){return[e,{}]})))}),[JSON.stringify(M),pe.current,J.current]),be=function(e){var n,t,r,o,i,l=null!==(n=null===(t=J.current[e])||void 0===t?void 0:t.length)&&void 0!==n?n:0;return"degree"===Z.method?v.nodeColorScheme[(r=l,o=0,i=v.nodeColorScheme.length-1,Math.min(Math.max(r,o),i))]:v.nodeColorScheme[l&&R.current[e]%v.nodeColorScheme.length]},ve=function(e,n){return J.current[e].length>J.current[n].length?be(e):be(n)},me=(0,b.useMemo)((function(){return Kt(v.labelTextColor,_)}),[v.labelTextColor,q]),ye=(0,b.useMemo)((function(){return Kt(v.labelBackgroundColor,_)}),[v.labelBackgroundColor,q]),Ce=function(e){var n,t=null!==(n=J.current[e.id])&&void 0!==n?n:[],r=t.length?t.filter((function(e){return"parent"===e.type})).length:0,o=3+t.length*v.nodeSizeLinks-(h.parent?0:r);return 1===v.highlightNodeSize?o:o*(fe[e.id]||je[e.id]?1+oe*(v.highlightNodeSize-1):1)},Oe=(0,b.useState)(!1),we=Oe[0],ke=Oe[1],Se=(0,b.useRef)(1),Ie={graphData:O.nodeIds.length?Y:K,width:D,height:B,backgroundColor:Kt(v.backgroundColor,_),warmupTicks:1===O.nodeIds.length?100:O.nodeIds.length>1?20:0,onZoom:function(e){var n=e.k;e.x,e.y;return Se.current=n},nodeColor:function(e){return function(e,n){var t,r,o=fe[e.id]||je[e.id];if(v.emacsNodeColor&&e.id===p)return Kt(v.emacsNodeColor,n);if(I&&null!==e&&void 0!==e&&e.tags.some((function(e){return I[e]}))){var i=I[null===e||void 0===e?void 0:e.tags.filter((function(e){return I[e]}))[0]];return o?xe[i][i](v.highlightFade*oe):xe[i][v.backgroundColor](v.highlightFade*oe)}return v.citeNodeColor&&null!==e&&void 0!==e&&null!==(t=e.properties)&&void 0!==t&&t.ROAM_REFS&&null!==e&&void 0!==e&&null!==(r=e.properties)&&void 0!==r&&r.FILELESS?o?Kt(v.citeNodeColor,n):xe[v.citeNodeColor][v.backgroundColor](v.highlightFade*oe):v.refNodeColor&&e.properties.ROAM_REFS?o?Kt(v.refNodeColor,n):xe[v.refNodeColor][v.backgroundColor](v.highlightFade*oe):o?v.nodeHighlight?xe[be(e.id)][v.nodeHighlight](oe):Kt(be(e.id),n):xe[be(e.id)][v.backgroundColor](v.highlightFade*oe)}(e,_)},nodeRelSize:v.nodeRel,nodeVal:function(e){return Ce(e)/Math.pow(Se.current,v.nodeZoomSize)},nodeCanvasObject:function(e,n,t){Wt(Mt({nodeRel:v.nodeRel,filteredLinksByNodeId:J.current,lastHoverNode:pe.current},{node:e,ctx:n,globalScale:t,highlightedNodes:fe,previouslyHighlightedNodes:je,visuals:v,opacity:oe,nodeSize:Ce,labelTextColor:me,labelBackgroundColor:ye,hoverNode:M}))},nodeCanvasObjectMode:function(){return"after"},linkDirectionalParticles:v.particles?v.particlesNumber:void 0,linkDirectionalArrowLength:v.arrows?v.arrowsLength:void 0,linkDirectionalArrowRelPos:v.arrowsPos,linkDirectionalArrowColor:v.arrowsColor?function(){return Kt(v.arrowsColor,_)}:void 0,linkColor:function(e){var n,t="object"===typeof e.source?e.source.id:e.source,r="object"===typeof e.target?e.target.id:e.target,o=Jt(e,X.current),i=Jt(e,pe.current),l=o||i,s=e;return v.refLinkColor&&"ref"===s.type?l&&(v.refLinkHighlightColor||v.linkHighlight)?xe[v.refLinkColor][v.refLinkHighlightColor||v.linkHighlight](oe):xe[v.refLinkColor][v.backgroundColor](v.highlightFade*oe):v.citeLinkColor&&null!==(n=s.type)&&void 0!==n&&n.includes("cite")?l&&(v.citeLinkHighlightColor||v.linkHighlight)?xe[v.citeLinkColor][v.citeLinkHighlightColor||v.linkHighlight](oe):xe[v.citeLinkColor][v.backgroundColor](v.highlightFade*oe):function(e,n,t,r){if(!v.linkHighlight&&!v.linkColorScheme&&!t)return Kt(ve(e,n),r);if(!t&&!v.linkColorScheme){var o=ve(e,n);return xe[o][v.backgroundColor](v.highlightFade*oe)}return t?v.linkHighlight||v.linkColorScheme?v.linkHighlight?v.linkColorScheme?xe[v.linkColorScheme][v.linkHighlight](oe):xe[ve(e,n)][v.linkHighlight](oe):Kt(v.linkColorScheme,r):Kt(ve(e,n),r):xe[v.linkColorScheme][v.backgroundColor](v.highlightFade*oe)}(t,r,l,_)},linkWidth:function(e){if(1===v.highlightLinkSize)return v.linkWidth;var n=Jt(e,X.current),t=Jt(e,pe.current);return n||t?v.linkWidth*(1+oe*(v.highlightLinkSize-1)):v.linkWidth},linkDirectionalParticleWidth:v.particlesWidth,d3AlphaDecay:t.alphaDecay,d3AlphaMin:t.alphaMin,d3VelocityDecay:t.velocityDecay,onNodeClick:function(e,n){var t=e,r=n.timeStamp-ne.current<200;if(ne.current=n.timeStamp,r)return G("double",t,n);var o=ne.current;return setTimeout((function(){if(ne.current===o)return G("click",t,n)}),200)},onNodeHover:function(e){v.highlight&&(we||(M||(ge(),ie(0)),V(e)))},onNodeRightClick:function(e,n){G("right",e,n)},onNodeDrag:function(e){V(e),ke(!0)},onNodeDragEnd:function(){V(null),ke(!1)}};return(0,re.jsx)(u.Box,{overflow:"hidden",onClick:z.onClose,children:a?(0,re.jsx)(Ut,Mt(Mt({ref:n},Ie),{},{nodeThreeObjectExtend:!0,nodeOpacity:v.nodeOpacity,nodeResolution:v.nodeResolution,linkOpacity:v.linkOpacity,nodeThreeObject:function(e){if(v.labels&&(!(v.labels<3)||fe[e.id])){var n=new w.Z(e.title.substring(0,40));return n.color=Kt(v.labelTextColor,_),n.backgroundColor=Kt(v.labelBackgroundColor,_),n.padding=2,n.textHeight=8,n}}})):(0,re.jsx)(_t,Mt(Mt({ref:n},Ie),{},{linkLineDash:function(e){var n,t=e;return v.citeDashes&&null!==(n=t.type)&&void 0!==n&&n.includes("cite")?[v.citeDashLength,v.citeGapLength]:v.refDashes&&"ref"==t.type?[v.refDashLength,v.refGapLength]:null}}))})};function Jt(e,n){var t,r;return(null===(t=e.source)||void 0===t?void 0:t.id)===(null===n||void 0===n?void 0:n.id)||(null===(r=e.target)||void 0===r?void 0:r.id)===(null===n||void 0===n?void 0:n.id)}function Qt(e){return["object"===typeof e.source?e.source.id:e.source,"object"===typeof e.target?e.target.id:e.target]}function Kt(e,n){return e.split(".").reduce((function(e,n){return e[n]}),n.colors)}function $t(e,n){return"rgba("+(e=e.replace("#","")).match(new RegExp("(.{"+e.length/3+"})","g")).map((function(n){return parseInt(e.length%2?n+n:n,16)})).concat(isFinite(n)?n:1).join(",")+")"}},45301:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/",function(){return t(20624)}])}},function(e){e.O(0,[774,737,876,228,866,13,874,573,446,879,888,179],(function(){return n=45301,e(e.s=n);var n}));var n=e.O();_N_E=n}]);
\ No newline at end of file diff --git a/out/_next/static/chunks/pages/index-f954a7866bfdd966749e.js b/out/_next/static/chunks/pages/index-f954a7866bfdd966749e.js new file mode 100644 index 0000000..6f757f9 --- /dev/null +++ b/out/_next/static/chunks/pages/index-f954a7866bfdd966749e.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[405],{46587:function(e,n,t){"use strict";t.r(n),t.d(n,{Graph:function(){return tr},GraphPage:function(){return nr},default:function(){return er}});var r=t(30266),o=t(83789),i=t(92809),l=t(80318),s=t(809),c=t.n(s),a=t(97375),d=t(68527),u=t(47398),h=t(68921),g=t(105),f=t(27549),p=t(74376),x=t(52596),j=t(9008),v=t(67294),b=t(32802),m=t.n(b),y=t(47516),C=t(63750),w=t(22003),O=t(31122),k=t(7520),S=t(36194),I=[],N={};for(var P in S.oY)for(var D in S.oY[P]){var B=P+D;"LinearNone"===B&&(B="Linear"),I.push(B),N[B]=S.oY[P][D]}var L=N,T={enabled:!0,charge:-700,collision:!0,collisionStrength:20,centering:!0,centeringStrength:.2,linkStrength:.3,linkIts:1,alphaDecay:.05,alphaTarget:0,alphaMin:0,velocityDecay:.25,gravity:.3,gravityOn:!0,gravityLocal:!1},z={orphans:!1,dailies:!1,parent:"heading",filelessCites:!1,tagsBlacklist:[],tagsWhitelist:[],dirsBlocklist:[],dirsAllowlist:[],bad:!0,nodes:[],links:[],date:[],noter:!0},F={method:"degree"},E={particles:!1,particlesNumber:0,particlesWidth:4,arrows:!1,arrowsLength:1,arrowsPos:.5,arrowsColor:"",linkOpacity:.8,linkWidth:1,nodeRel:3,nodeOpacity:1,nodeResolution:12,labels:2,labelScale:1.5,labelFontSize:10,labelLength:40,labelWordWrap:25,labelLineSpace:1,labelDynamicDegree:8,labelDynamicStrength:.5,highlight:!0,highlightNodeSize:1.1,highlightLinkSize:.7,highlightFade:.8,highlightAnim:!0,animationSpeed:360,algorithmOptions:I,algorithmName:"CircularOut",linkColorScheme:"gray.500",nodeColorScheme:["red.500","gray.600","yellow.500","green.500","cyan.500","blue.500","pink.500","purple.500","orange.500"],nodeHighlight:"purple.500",linkHighlight:"purple.500",backgroundColor:"white",emacsNodeColor:"gray.800",labelTextColor:"black",labelBackgroundColor:"",labelBackgroundOpacity:.7,citeDashes:!0,citeDashLength:35,citeGapLength:15,citeLinkColor:"gray.700",citeLinkHighlightColor:"",citeNodeColor:"black",refDashes:!0,refDashLength:35,refGapLength:15,refLinkColor:"gray.700",refLinkHighlightColor:"",refNodeColor:"black",nodeSizeLinks:.5,nodeZoomSize:1.2},R={follow:"zoom",localSame:"add",zoomPadding:200,zoomSpeed:2e3},Z={highlight:"hover",local:"double",follow:"never",context:"right",preview:"click",backgroundExitsLocal:!1},H={neighbors:1},W=["red.500","orange.500","yellow.500","green.500","cyan.500","blue.500","pink.500","purple.500","white","gray.100","gray.200","gray.300","gray.400","gray.500","gray.600","gray.700","gray.800","gray.900","black"],A=t(57324),M=t(90232),V=t(52072);function _(e,n,t){t.send(JSON.stringify({command:e,data:n}))}function U(e,n){_("open",{id:e.id},n)}var q=t(10219),X=t(44592),G=t(38554),Q=t.n(G),J=t(53869),K=t(99860);function $(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function Y(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?$(Object(t),!0).forEach((function(n){(0,i.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):$(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var ee={ease:[.25,.1,.25,1],easeIn:[.4,0,1,1],easeOut:[0,0,.2,1],easeInOut:[.4,0,.2,1]};var ne=function(e,n){return Y(Y({},e),{},{delay:(0,X.hj)(n)?n:null===n||void 0===n?void 0:n.enter})},te=function(e,n){return Y(Y({},e),{},{delay:(0,X.hj)(n)?n:null===n||void 0===n?void 0:n.exit})},re=t(85893),oe=["in","unmountOnExit","animateOpacity","startingSize","endingSize","dimension","style","className","transition","transitionEnd"];function ie(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function le(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?ie(Object(t),!0).forEach((function(n){(0,i.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ie(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var se=function(e){return null!=e&&parseInt(e.toString(),10)>0},ce={exit:{size:{duration:.2,ease:ee.ease},opacity:{duration:.3,ease:ee.ease}},enter:{size:{duration:.3,ease:ee.ease},opacity:{duration:.4,ease:ee.ease}}},ae={exit:function(e){var n,t,r=e.animateOpacity,o=e.startingSize,l=e.transition,s=e.transitionEnd,c=e.delay,a=e.dimension;return le(le({},r&&{opacity:se(o)?1:0}),{},(t={overflow:"hidden"},(0,i.Z)(t,a,o),(0,i.Z)(t,"transitionEnd",null===s||void 0===s?void 0:s.exit),(0,i.Z)(t,"transition",null!==(n=null===l||void 0===l?void 0:l.exit)&&void 0!==n?n:te(ce.exit,c)),t))},enter:function(e){var n,t,r=e.animateOpacity,o=e.endingSize,l=e.transition,s=e.transitionEnd,c=e.delay,a=e.dimension;return le(le({},r&&{opacity:1}),{},(t={},(0,i.Z)(t,a,o),(0,i.Z)(t,"transitionEnd",null===s||void 0===s?void 0:s.enter),(0,i.Z)(t,"transition",null!==(n=null===l||void 0===l?void 0:l.enter)&&void 0!==n?n:ne(ce.enter,c)),t))}},de=v.forwardRef((function(e,n){var t=e.in,r=e.unmountOnExit,o=e.animateOpacity,i=void 0===o||o,s=e.startingSize,c=void 0===s?0:s,a=e.endingSize,d=void 0===a?"auto":a,u=e.dimension,h=void 0===u?"height":u,g=e.style,f=e.className,p=e.transition,x=e.transitionEnd,j=(0,q.Z)(e,oe),b=v.useState(!1),m=(0,l.Z)(b,2),y=m[0],C=m[1];v.useEffect((function(){var e=setTimeout((function(){C(!0)}));return function(){return clearTimeout(e)}}),[]),(0,X.ZK)({condition:Boolean(c>0&&r),message:"startingSize and unmountOnExit are mutually exclusive. You can't use them together"});var w=parseFloat(c.toString())>0,O={startingSize:c,endingSize:d,animateOpacity:i,dimension:h,transition:y?p:{enter:{duration:0}},transitionEnd:Q()(x,{enter:{overflow:"initial"},exit:r?void 0:{display:w?"block":"none"}})},k=!r||t,S=t||r?"enter":"exit";return(0,re.jsx)(J.M,{initial:!1,custom:O,children:k&&(0,re.jsx)(K.E.div,le(le({ref:n},j),{},{className:(0,X.cx)("chakra-collapse",f),style:le({overflow:"hidden",display:"block"},g),custom:O,variants:ae,initial:!!r&&"exit",animate:S,exit:"exit"}))})}));function ue(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function he(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?ue(Object(t),!0).forEach((function(n){(0,i.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ue(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}X.Ts&&(de.displayName="Collapse");var ge=function(e){var n=e.setTagColors,t=e.setFilter,r=e.filter,l=e.tagColors,s=e.target,c=r.tagsBlacklist,u=r.tagsWhitelist,h=c.indexOf(s)>-1,g=u.indexOf(s)>-1,f=(0,a.qY)();return(0,re.jsxs)(re.Fragment,{children:[(0,re.jsx)(A.sN,{icon:(0,re.jsx)(d.Box,{bgColor:l[s],borderRadius:"sm",height:3,width:3,borderColor:l[s]||"gray.600",borderWidth:1}),closeOnSelect:!1,onClick:f.onToggle,children:(0,re.jsx)(d.Text,{children:"Change color"})}),(0,re.jsx)(de,{in:f.isOpen,children:(0,re.jsxs)(d.Flex,{ml:2,mt:2,flexWrap:"wrap",children:[(0,re.jsx)(d.Box,{children:(0,re.jsx)(d.Box,{tabIndex:0,cursor:"pointer",onClick:function(){return n((function(e){return Object.fromEntries(Object.keys(e).filter((function(e){return e!==s})).map((function(n){return[n,e[n]]})))}))},bgColor:"",m:1,borderRadius:"sm",borderColor:"gray.600",borderWidth:1,height:3,width:3})},"empty"),W.map((function(e){return(0,re.jsx)(d.Box,{children:(0,re.jsx)(d.Box,{tabIndex:0,cursor:"pointer",onClick:function(){return n(he(he({},l),{},(0,i.Z)({},s,e)))},bgColor:e,m:1,borderRadius:"sm",height:3,width:3})},e)}))]})}),!g&&(0,re.jsx)(A.sN,{onClick:function(){t(h?function(e){return he(he({},e),{},{tagsBlacklist:e.tagsBlacklist.filter((function(e){return e!==s}))})}:function(e){return he(he({},e),{},{tagsBlacklist:[].concat((0,o.Z)(e.tagsBlacklist),[s])})})},icon:h?(0,re.jsx)(V.MinusIcon,{}):(0,re.jsx)(V.ViewOffIcon,{}),children:h?"Remove from blocklist":"Add to blocklist"}),!h&&(0,re.jsx)(A.sN,{onClick:function(){t(g?function(e){return he(he({},e),{},{tagsWhitelist:e.tagsWhitelist.filter((function(e){return e!==s}))})}:function(e){return he(he({},e),{},{tagsWhitelist:[].concat((0,o.Z)(e.tagsWhitelist),[s])})})},icon:g?(0,re.jsx)(V.MinusIcon,{}):(0,re.jsx)(V.ViewIcon,{}),children:g?"Remove from allowlist":"Add to allowlist"})]})},fe=function(e){e.background;var n,t,r=e.target,o=(e.nodeType,e.coordinates),i=e.handleLocal,l=e.menuClose,s=e.scope,c=e.webSocket,u=e.setPreviewNode,g=e.setTagColors,f=e.tagColors,p=e.setFilter,x=e.filter,j=(0,a.qY)(),b=j.isOpen,m=j.onOpen,C=j.onClose;(0,v.useRef)();return(0,re.jsxs)(re.Fragment,{children:[(0,re.jsx)(A.v2,{defaultIsOpen:!0,closeOnBlur:!1,onClose:function(){return l()},children:(0,re.jsx)(A.qy,{zIndex:"overlay",bgColor:"white",color:"black",position:"absolute",left:o.left,top:o.top,right:o.right,bottom:o.bottom,fontSize:"xs",boxShadow:"xl",children:"string"!==typeof r?(0,re.jsxs)(re.Fragment,{children:[r&&(0,re.jsxs)(re.Fragment,{children:[(0,re.jsx)(d.Heading,{size:"xs",isTruncated:!0,px:3,py:1,children:r.title}),(0,re.jsx)(A.R,{borderColor:"gray.500"})]}),0!==s.nodeIds.length&&(0,re.jsxs)(re.Fragment,{children:[(0,re.jsx)(A.sN,{onClick:function(){return i(r,"add")},icon:(0,re.jsx)(V.PlusSquareIcon,{}),children:"Expand local graph at node"}),(0,re.jsx)(A.sN,{onClick:function(){return i(r,"replace")},icon:(0,re.jsx)(y.DvO,{}),children:"Open local graph for this node"}),(0,re.jsx)(A.sN,{onClick:function(){return i(r,"remove")},icon:(0,re.jsx)(V.MinusIcon,{}),children:"Exclude node from local graph"})]}),null!==r&&void 0!==r&&null!==(n=r.properties)&&void 0!==n&&n.FILELESS?(0,re.jsx)(A.sN,{icon:(0,re.jsx)(V.AddIcon,{}),onClick:function(){return function(e,n){_("create",{id:e.id,title:e.title,ref:e.properties.ROAM_REFS},n)}(r,c)},children:"Create node"}):(0,re.jsx)(A.sN,{icon:(0,re.jsx)(V.EditIcon,{}),onClick:function(){return U(r,c)},children:"Open in Emacs"}),(null===r||void 0===r||null===(t=r.properties)||void 0===t?void 0:t.ROAM_REFS)&&(0,re.jsx)(A.sN,{icon:(0,re.jsx)(V.ExternalLinkIcon,{}),children:"Open in Zotero"}),0===s.nodeIds.length&&(0,re.jsx)(A.sN,{icon:(0,re.jsx)(y.DvO,{}),onClick:function(){return i(r,"replace")},children:"Open local graph"}),(0,re.jsx)(A.sN,{icon:(0,re.jsx)(V.ViewIcon,{}),onClick:function(){u(r)},children:"Preview"}),0===(null===r||void 0===r?void 0:r.level)&&(0,re.jsx)(A.sN,{closeOnSelect:!1,icon:(0,re.jsx)(V.DeleteIcon,{color:"red.500"}),color:"red.500",onClick:m,children:"Permanently delete note"})]}):(0,re.jsx)(ge,{target:r,tagColors:f,filter:x,setTagColors:g,setFilter:p})})}),"string"!==typeof r&&(0,re.jsxs)(M.u_,{isCentered:!0,isOpen:b,onClose:C,children:[(0,re.jsx)(M.ZA,{}),(0,re.jsxs)(M.hz,{zIndex:"popover",children:[(0,re.jsx)(M.xB,{children:"Delete node?"}),(0,re.jsx)(M.ol,{}),(0,re.jsx)(M.fe,{children:(0,re.jsxs)(d.VStack,{spacing:4,display:"flex",alignItems:"flex-start",children:[(0,re.jsx)(d.Text,{children:"This will permanently delete your note:"}),(0,re.jsx)(d.Text,{fontWeight:"bold",children:null===r||void 0===r?void 0:r.title}),0!==(null===r||void 0===r?void 0:r.level)&&(0,re.jsx)(d.Text,{children:"This will only delete the from this heading until but not including the next node. Your parent file and all other nodes will not be deleted."}),(0,re.jsx)(d.Text,{children:"Are you sure you want to do continue?"})]})}),(0,re.jsxs)(M.mz,{children:[(0,re.jsx)(h.Button,{mr:3,onClick:function(){console.log("closing"),C(),l()},children:"Cancel"}),(0,re.jsx)(h.Button,{variant:"link",colorScheme:"red",ml:3,onClick:function(){console.log("aaaaa"),function(e,n){0===e.level&&_("delete",{id:e.id,file:e.file},n)}(r,c),C(),l()},children:"Delete node"})]})]})]})]})},pe=t(5434),xe=t(51649),je=function(e){var n=e.setJustification,t=(e.setIndent,e.setFont,e.justification),r=(e.setPreviewNode,e.canUndo),o=e.canRedo,i=(e.resetPreviewNode,e.previousPreviewNode),l=e.nextPreviewNode,s=e.outline,c=e.setOutline,a=e.collapse,g=e.setCollapse;return(0,re.jsxs)(d.Flex,{flex:"0 1 40px",pb:3,alignItems:"center",justifyContent:"space-between",pr:1,children:[(0,re.jsx)(d.Flex,{children:(0,re.jsxs)(h.ButtonGroup,{isAttached:!0,children:[(0,re.jsx)(u.u,{label:"Go backward",children:(0,re.jsx)(h.IconButton,{_focus:{},variant:"subtle",icon:(0,re.jsx)(V.ChevronLeftIcon,{}),"aria-label":"Previous node",disabled:!r,onClick:function(){return i()}})}),(0,re.jsx)(u.u,{label:"Go forward",children:(0,re.jsx)(h.IconButton,{_focus:{},variant:"subtle",icon:(0,re.jsx)(V.ChevronRightIcon,{}),"aria-label":"Next node",disabled:!o,onClick:function(){return l()}})})]})}),(0,re.jsxs)(d.Flex,{children:[(0,re.jsx)(u.u,{label:"Justify content",children:(0,re.jsx)(h.IconButton,{variant:"subtle","aria-label":"Justify content",icon:[(0,re.jsx)(y.v9V,{},"justify"),(0,re.jsx)(y.YSr,{},"left"),(0,re.jsx)(y.RXA,{},"right"),(0,re.jsx)(y.tr_,{},"center")][t],onClick:function(){return n((function(e){return(e+1)%4}))}})}),(0,re.jsx)(u.u,{label:"Toggle outline view",children:(0,re.jsx)(h.IconButton,{variant:"subtle","aria-label":"Justify content",icon:s?(0,re.jsx)(xe.XQM,{}):(0,re.jsx)(xe.JfF,{}),onClick:function(){return c((function(e){return!e}))}})}),(0,re.jsx)(u.u,{label:"Toggle headers",children:(0,re.jsx)(h.IconButton,{variant:"subtle","aria-label":"Toggle headers",icon:a?(0,re.jsx)(pe.omV,{}):(0,re.jsx)(pe.egf,{}),onClick:function(){return g((function(e){return!e}))}})})]})]})},ve=t(96356);function be(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function me(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?be(Object(t),!0).forEach((function(n){(0,i.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):be(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var ye=function(e){var n,t,r,i=e.filter,l=e.setFilter,s=e.tagColors,c=(e.setTagColors,e.openContextMenu),a=e.previewNode;return null!==a&&void 0!==a&&a.tags&&null!==(null===a||void 0===a||null===(n=a.tags)||void 0===n?void 0:n[0])?(0,re.jsx)(d.Flex,{mb:2,flexWrap:"wrap",children:null===a||void 0===a||null===(t=a.tags)||void 0===t||null===(r=t.map)||void 0===r?void 0:r.call(t,(function(e){var n,t,r,a=null!==(n=i.tagsBlacklist)&&void 0!==n?n:[],d=null!==(t=i.tagsWhitelist)&&void 0!==t?t:[],u=a.includes(e),h=d.includes(e);return(0,re.jsxs)(ve.Tag,{tabIndex:0,mr:2,mt:2,onContextMenu:function(n){n.preventDefault(),c(e,n)},cursor:"pointer",onClick:function(){l(u?function(n){return me(me({},n),{},{tagsBlacklist:n.tagsBlacklist.filter((function(n){return n!==e})),tagsWhitelist:[].concat((0,o.Z)(n.tagsWhitelist),[e])})}:h?function(n){return me(me({},n),{},{tagsWhitelist:n.tagsWhitelist.filter((function(n){return n!==e}))})}:function(n){return me(me({},n),{},{tagsBlacklist:[].concat((0,o.Z)(n.tagsBlacklist),[e])})})},size:"sm",variant:"outline",colorScheme:(null===(r=s[e])||void 0===r?void 0:r.replaceAll(/(.*?)\..*/g,"$1"))||void 0,children:[(0,re.jsx)(ve.TagLabel,{children:e}),u?(0,re.jsx)(ve.TagRightIcon,{as:V.ViewOffIcon}):h?(0,re.jsx)(ve.TagRightIcon,{as:V.ViewIcon}):null]},e)}))}):null},Ce=t(18835),we=t.n(Ce),Oe=t(13816),ke=t.n(Oe),Se=t(42728),Ie=t.n(Se),Ne=t(77890),Pe=t.n(Ne),De=t(94986),Be=t.n(De),Le=t(88541),Te=t.n(Le),ze=t(71167),Fe=t.n(ze),Ee=(t(85062),t(27431)),Re=t.n(Ee),Ze=t(12861),He=t.n(Ze),We=t(10043),Ae=t.n(We),Me=t(80816),Ve=t(93545),_e=t.n(Ve),Ue=t(15941),qe=t.n(Ue),Xe=t(67597),Ge=t.n(Xe),Qe=t(44549),Je=t.n(Qe),Ke=t(78818),$e=t.n(Ke),Ye=t(32095),en=t(46871),nn=t(29356),tn={".headingFlex":{flexDirection:"row-reverse",justifyContent:"flex-end"},".outlineHeadingButton":{display:"none"},h1:{color:"black",lineHeight:"1.2",fontSize:"16",fontWeight:"bold",paddingTop:2},h2:{fontSize:"14",color:"black",fontWeight:"bold",fontStyle:"bold italic",paddingTop:2},h3:{fontSize:"13",color:"black",paddingTop:2},h4:{fontSize:"12",fontStyle:"italic",color:"black",paddingTop:2},".sectionContent":{paddingTop:2}},rn={".headingFlex":{flexDirection:"row",justifyContent:"flex-start"},".viewerHeadingButton":{display:"none"},".sectionContent":{mt:3,paddingLeft:4,ml:"11px",borderLeftWidth:"1px",borderLeftColor:"gray.500"},".preHeadingContent":{},"h1,h2,h3,h4,h5,h6,h7,h8":{pl:1,lineHeight:"1.25",color:"black",fontSize:15,fontWeight:700},".sec":{pt:1},".wrapClass > div > p":{mb:2},p:{fontWeight:500,fontSize:14,pb:2}},on={".katex":{overflowX:"scroll"},ol:{paddingLeft:4,py:1},"li::marker":{fontSize:12,fontWeight:"bold"},li:{pt:1},ul:{paddingLeft:"5"},p:{fontSize:"14",fontWeight:"500 !important",pb:2},div:{hyphens:"auto !important"},".title":{textAlign:"center",marginBottom:".2em"},".subtitle":{textAlign:"center",fontSize:"medium",fontWeight:"bold",marginTop:0},".TODO":{color:"red.500"},".equationContainer":{display:"table",textAlign:"center",width:"100%"},".equation":{verticalAlign:"middle"},".equation-label":{display:"tableCell",textAlign:"right",verticalAlign:"middle"},".inlinetask":{padding:"10px",border:"2px solid gray",margin:"10px",background:"#ffffcc"},"#org-div-home-and-up":{textAlign:"right",fontSize:"70 % ",whiteSpace:"nowrap"},textarea:{overflowX:"auto"},".linenr":{fontSize:"smaller"},".org-info-js_info-navigation":{borderStyle:"none"},"#org-info-js_console-label":{fontSize:"10px",fontWeight:"bold",whiteSpace:"nowrap"},".org-info-js_search-highlight":{backgroundColor:"#ffff00",color:"#000000",fontWeight:"bold"},".org-svg":{width:"90%"},".DONE":{color:"green"},".priority":{fontFamily:"monospace",color:"orange"},".tag":{backgroundColor:"white",fontFamily:"monospace",padding:"2px",fontSize:"80%",fontWeight:"normal"},".timestamp":{color:"#bebebe"},".timestamp-kwd":{color:"#5f9ea0"},".org-right":{marginLeft:"auto",marginRight:"0px",textAlign:"right"},".org-left":{marginLeft:"0px",marginRight:"auto",textAlign:"left"},".org-center":{marginLeft:"auto",marginRight:"auto",textAlign:"center"},".underline":{textDecoration:"underline"},"#postamble p":{fontSize:"90%",margin:".2em"},"#preamble p":{fontSize:"90%",margin:".2em"},"p.verse":{marginLeft:"3%"},pre:{borderRadius:"3px",backgroundColor:"white",padding:"8pt",fontFamily:"monospace",overflow:"auto",margin:"1.2em"},"pre.src":{position:"relative",overflow:"auto"},"pre.src:before":{display:"none",position:"absolute",top:"-8px",right:"12px",padding:"3px",backgroundColor:"white"},"caption.t-above":{captionSide:"top"},"caption.t-bottom":{captionSide:"bottom"},"th.org-right":{textAlign:"center"},"th.org-left":{textAlign:"center"},"th.org-center":{textAlign:"center"},"td.org-right":{textAlign:"right"},"td.org-left":{textAlign:"left"},"td.org-center":{textAlign:"center"},".footpara":{display:"inline"},".footdef":{marginBottom:"1em"},".figure":{padding:"1em"},".figure p":{textAlign:"center"}},ln=t(86658),sn=function(e,n){return e.split(".").reduce((function(e,n){return e[n]}),n.colors)},cn=["style"];function an(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function dn(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?an(Object(t),!0).forEach((function(n){(0,i.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):an(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var un=function(e){var n=e.noUnderline,t=e.id,r=e.setSidebarHighlightedNode,o=e.setPreviewNode,i=e.nodeById,l=e.openContextMenu,s=e.href,c=e.children,a=e.isWiki,u=(0,v.useContext)(nn.N).highlightColor,h=(0,g.Fg)(),f=sn(u,h),p=(s.replaceAll(/(.*?)\:?.*/g,"$1"),s.replaceAll(/.*?\:(.*)/g,"$1")),x=null!==t&&void 0!==t?t:p,j=a?"[[".concat(c,"]]"):c;return(0,re.jsx)(d.Text,{as:"a",onMouseEnter:function(){return r(i[x])},onMouseLeave:function(){return r({})},tabIndex:0,display:"inline",overflow:"hidden",fontWeight:500,color:u,textDecoration:n?void 0:"underline",onContextMenu:function(e){e.preventDefault(),l(i[p],e)},onClick:function(){return o(i[p])},_hover:{textDecoration:"none",cursor:"pointer",bgColor:f+"22"},_focus:{outlineColor:u},children:j})},hn=function(e){var n=e.href,t=e.children,r=(0,v.useContext)(nn.N).highlightColor;return(0,re.jsxs)(d.Link,{color:r,isExternal:!0,href:n,children:[t,(0,re.jsx)(V.ExternalLinkIcon,{mx:"1px",pb:"2px"})]})},gn=function(e){var n,t=e.href,r=e.children,o=e.nodeById,i=e.setSidebarHighlightedNode,l=e.previewNode,s=e.setPreviewNode,c=e.nodeByCite,a=e.openContextMenu,u=e.outline,h=e.noUnderline,g=e.linksByNodeId,f=e.isWiki,p=e.macros,x=e.attachDir,j=e.useInheritance,b=(0,v.useState)(null),m=b[0],y=b[1],C=(0,v.useState)(!1),w=C[0],O=C[1],k=t.replaceAll(/(.*?)\:.*/g,"$1"),S=u?rn:tn;console.log(l);if((0,v.useEffect)((function(){k.replaceAll(/(http)?.*/g,"$1")||m||w&&fetch("http://localhost:35901/node/".concat(L)).then((function(e){return e.text()})).then((function(e){"error"===e||y(e)})).catch((function(e){return console.log(e),"Could not fetch the text for some reason, sorry!\n\n This can happen because you have an id with forward slashes (/) in it."}))}),[w,m]),!k)return(0,re.jsx)(d.Text,{color:"gray.700",children:r});if(k.replaceAll(/(http)?.*/g,"$1"))return(0,re.jsx)(hn,{href:t,children:r});var I,N,P,D,B=t.replaceAll(/.*?\:(.*)/g,"$1"),L=function(e,n){if("id"===e)return n;if(e.includes("cite")){var t,r=null!==(t=c[n])&&void 0!==t&&t;return r?null!==r&&void 0!==r&&r.properties.FILELESS?"":null===r||void 0===r?void 0:r.id:""}return""}(k,B);encodeURIComponent(encodeURIComponent(null===(n=o[L])||void 0===n?void 0:n.file));return L?(0,re.jsx)(re.Fragment,{children:(0,re.jsxs)(Ye.J2,{gutter:12,trigger:"hover",placement:"top-start",children:[(0,re.jsx)(Ye.xo,{children:(0,re.jsx)(d.Box,{display:"inline",onMouseEnter:function(){return O(!0)},onMouseLeave:function(){return O(!1)},children:(0,re.jsx)(un,{id:L,setSidebarHighlightedNode:i,setPreviewNode:s,nodeById:o,href:t,children:r,nodeByCite:c,openContextMenu:a,noUnderline:h,isWiki:f},null!==(I=null===(N=o[L])||void 0===N?void 0:N.title)&&void 0!==I?I:L)})}),(0,re.jsx)(en.h_,{children:(0,re.jsxs)(Ye.yk,{transform:"scale(1)",boxShadow:"xl",position:"relative",zIndex:"tooltip",onMouseEnter:function(){var e;i(null!==(e=o[L])&&void 0!==e?e:{})},onMouseLeave:function(){i({})},children:[(0,re.jsx)(Ye.QH,{}),(0,re.jsx)(Ye.b,{pb:5,fontSize:"xs",position:"relative",zIndex:"tooltip",transform:"scale(1)",width:"100%",children:(0,re.jsx)(ln.$B,{autoHeight:!0,autoHeightMax:300,autoHide:!0,renderThumbVertical:function(e){var n=e.style,t=(0,q.Z)(e,cn);return(0,re.jsx)(d.Box,dn({style:dn(dn({},n),{},{borderRadius:0})},t))},children:(0,re.jsx)(d.Box,{w:"100%",color:"black",px:3,sx:dn(dn({},on),S),children:(0,re.jsx)(On,{previewText:m,nodeById:o,setSidebarHighlightedNode:i,setPreviewNode:s,nodeByCite:c,openContextMenu:a,outline:u,linksByNodeId:g,macros:p,attachDir:x,useInheritance:j,previewNode:o[L],collapse:!1})})})})]},null!==(P=null===(D=o[L])||void 0===D?void 0:D.title)&&void 0!==P?P:L)})]})}):(0,re.jsx)(d.Text,{as:"span",display:"inline",className:t,color:"base.700",cursor:"not-allowed",children:r})},fn=t(25675),pn=t(62520),xn=t.n(pn),jn=function(e){var n=e.src,t=e.file;if(n.replaceAll(/(http)?.*/g,"$1"))return console.log(n.replaceAll(/(http)?.*/g,"$1")),(0,re.jsx)(fn.default,{layout:"responsive",loader:function(e){var n=e.src;return e.width,e.quality,"".concat(n)},src:n,alt:"",width:"auto",height:"auto"});var r=n.replaceAll(/file:/g,""),o=xn().dirname(t),i=xn().isAbsolute(r)||"~"===r.slice(0,1)?r:xn().join(o,r),l=encodeURIComponent(encodeURIComponent(i));return(0,re.jsx)(d.Container,{my:4,position:"relative",children:(0,re.jsx)("img",{alt:"Wow, an image.",src:"http://localhost:35901/img/".concat(l)})})},vn=t(14578),bn=(0,v.createContext)({outline:!1,collapse:!0}),mn=function(e){var n=e.children,t=e.className,r=(0,v.useState)(!0),o=r[0],i=r[1],l=(0,v.useContext)(bn).collapse;if((0,v.useEffect)((function(){i(!l)}),[l]),"h0Wrapper headingWrapper"===t)return(0,re.jsxs)(d.Box,{className:"preHeadingContent",children:[" ",n]});var s=n;return(0,re.jsxs)(d.Box,{className:"sec",children:[(0,re.jsx)(d.Box,{display:"block",children:(0,re.jsxs)(d.Flex,{className:"headingFlex",alignItems:"baseline",children:[o&&s.length>0?(0,re.jsxs)(re.Fragment,{children:[(0,re.jsx)(h.IconButton,{className:"viewerHeadingButton",_focus:{},_active:{},"aria-label":"Expand heading",size:"xs",variant:"subtle",icon:(0,re.jsx)(V.ChevronUpIcon,{}),onClick:function(){return i(!o)},height:2,width:2}),(0,re.jsx)(h.IconButton,{className:"outlineHeadingButton",_focus:{},_active:{},"aria-label":"Expand heading",size:"xs",variant:"subtle",icon:(0,re.jsx)(vn.zOz,{}),onClick:function(){return i(!o)},height:2,width:2})]}):(0,re.jsxs)(re.Fragment,{children:[(0,re.jsx)(h.IconButton,{className:"viewerHeadingButton",_active:{},_focus:{},"aria-label":"Collapse heading",height:2,width:2,size:"xs",variant:"subtle",icon:(0,re.jsx)(V.ChevronDownIcon,{}),onClick:function(){return i(!o)}}),(0,re.jsx)(h.IconButton,{className:"outlineHeadingButton",_active:{},_focus:{},"aria-label":"Collapse heading",height:2,width:2,size:"xs",variant:"subtle",icon:(0,re.jsx)(vn.O6Y,{}),onClick:function(){return i(!o)}})]}),s[0]]})}),o&&(0,re.jsx)(d.Box,{className:"sectionContent",children:s.slice(1)})]})};function yn(e){return["object"===typeof e.source?e.source.id:e.source,"object"===typeof e.target?e.target.id:e.target]}function Cn(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function wn(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?Cn(Object(t),!0).forEach((function(n){(0,i.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Cn(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var On=function(e){var n,t,r=e.nodeById,o=e.setSidebarHighlightedNode,l=e.setPreviewNode,s=e.previewText,c=e.nodeByCite,a=e.previewNode,u=e.openContextMenu,h=e.outline,f=e.collapse,p=e.linksByNodeId,x=e.macros,j=e.attachDir,b=e.useInheritance;if(!a||!p)return null;var m=we()().use(ke()).use(Be()).use(Te(),{idDir:j||void 0,useInheritance:b}).use(Pe()).use(Ie(),{useSections:!0}),y=(null===(n=p[null===a||void 0===a?void 0:a.id])||void 0===n?void 0:n.reduce((function(e,n){var t=yn(n).filter((function(e){return e!==a.id})).join("");return wn(wn({},e),{},(0,i.Z)({},t,r[t]))}),{}))||{},C=Object.entries(y),w=we()().use(He()).use(qe(),["yaml"]).use(Ge()).use(Me.Z,{permaLinks:Object.keys(y),pageResolver:function(e){var n,t=C.find((function(n){var t;return(null===n||void 0===n||null===(t=n[1])||void 0===t?void 0:t.title)===e}));return[null!==(n=null===t||void 0===t?void 0:t[0])&&void 0!==n?n:""]},hrefTemplate:function(e){return"id:".concat(e)}}).use(Je()).use(_e()).use(Ae()).use($e()),O=".md"===(null===a||void 0===a||null===(t=a.file)||void 0===t?void 0:t.slice(-3)),k=O?w:m,S=(0,v.useMemo)((function(){return k.use(Fe(),{trust:function(e){return["\\htmlId","\\href"].includes(e.command)},macros:wn({"\\eqref":"\\href{###1}{(\\text{#1})}","\\ref":"\\href{###1}{\\text{#1}}","\\label":"\\htmlId{#1}{}"},x)}).use(Re(),{createElement:v.createElement,components:{a:function(e){var n=e.children,t=e.href;return(0,re.jsx)(gn,{nodeByCite:c,setSidebarHighlightedNode:o,href:"".concat(t),nodeById:r,linksByNodeId:p,setPreviewNode:l,openContextMenu:u,outline:h,previewNode:a,isWiki:O,macros:x,attachDir:j,useInheritance:b,children:n})},img:function(e){var n=e.src;return(0,re.jsx)(jn,{src:n,file:null===a||void 0===a?void 0:a.file})},section:function(e){var n=e.children,t=e.className;return t&&t.slice(-1)==="".concat(a.level)?(0,re.jsx)(d.Box,{children:n.slice(1)}):(0,re.jsx)(mn,{outline:h,collapse:f,className:t,children:n})},blockquote:function(e){var n=e.children;return(0,re.jsx)(g.m$.blockquote,{color:"gray.800",bgColor:"gray.300",pt:4,pb:2,mb:4,mt:3,pl:4,borderLeftWidth:4,borderLeftColor:"gray.700",children:n})},p:function(e){var n=e.children;return(0,re.jsx)("p",{lang:"en",children:n})}}})}),[null===a||void 0===a?void 0:a.id]),I=(0,v.useMemo)((function(){return S.processSync(s).result}),[s]);return(0,re.jsx)(bn.Provider,{value:{collapse:f,outline:h},children:I})},kn=function(e){var n=e.openContextMenu,t=e.setSidebarHighlightedNode,r=e.nodeById,o=e.nodeByCite,i=e.previewNode,l=e.setPreviewNode,s=e.outline,c=e.collapse,a=e.linksByNodeId,d=e.macros,u=e.attachDir,h=e.useInheritance,g=(0,v.useState)(""),f=g[0],p=g[1],x=encodeURIComponent(encodeURIComponent(i.id));return(0,v.useEffect)((function(){fetch("http://localhost:35901/node/".concat(x)).then((function(e){return e.text()})).then((function(e){if(""===e)return"(empty node)";"error"!==e&&(console.log(e),p(e))})).catch((function(e){return p("(could not find node)"),console.log(e),"Could not fetch the text for some reason, sorry!\n\n This can happen because you have an id with forward slashes (/) in it."}))}),[i.id]),(0,re.jsx)(re.Fragment,{children:f&&i&&(0,re.jsx)(On,{nodeById:r,previewNode:i,setPreviewNode:l,previewText:f,nodeByCite:o,setSidebarHighlightedNode:t,openContextMenu:n,outline:s,collapse:c,linksByNodeId:a,attachDir:u,useInheritance:h,macros:d||{}})})},Sn=function(e){var n,t=e.previewNode,r=e.setPreviewNode,o=e.setSidebarHighlightedNode,i=e.nodeById,s=e.linksByNodeId,c=e.nodeByCite,a=e.openContextMenu,u=e.outline,h=e.macros,g=e.attachDir,f=e.useInheritance,p=(null!==(n=s[null===t||void 0===t?void 0:t.id])&&void 0!==n?n:[]).filter((function(e){var n=yn(e),r=(0,l.Z)(n,2),o=r[0];r[1];return o!==(null===t||void 0===t?void 0:t.id)})).map((function(e){return e.source}));return(0,re.jsxs)(d.Box,{className:"backlinks",borderRadius:"sm",mt:6,p:4,bg:"white",mb:10,children:[(0,re.jsx)("p",{style:{fontSize:16,fontWeight:600},children:"Linked references (".concat(p.length,")")}),(0,re.jsx)(d.VStack,{py:2,spacing:3,alignItems:"start",divider:(0,re.jsx)(d.StackDivider,{borderColor:"gray.500"}),align:"stretch",color:"gray.800",children:(null===t||void 0===t?void 0:t.id)&&p.map((function(e){var n,l,p;n=null===(l=i[e])||void 0===l?void 0:l.title;return(0,re.jsx)(d.Box,{overflow:"hidden",py:1,borderRadius:"sm",width:"100%",children:(0,re.jsx)(gn,{linksByNodeId:s,nodeByCite:c,setSidebarHighlightedNode:o,href:"id:".concat(e),nodeById:i,previewNode:t,setPreviewNode:r,openContextMenu:a,outline:u,noUnderline:!0,attachDir:g,useInheritance:f,macros:h,children:null===(p=i[e])||void 0===p?void 0:p.title})},e)}))})]})};function In(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function Nn(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?In(Object(t),!0).forEach((function(n){(0,i.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):In(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var Pn=function(e){var n=e.setPreviewNode,t=e.justificationList,r=e.justification,o=e.previewNode,i=e.nodeById,l=e.nodeByCite,s=e.setSidebarHighlightedNode,c=e.linksByNodeId,a=e.openContextMenu,u=e.outline,h=e.collapse,g=e.macros,f=e.attachDir,p=e.useInheritance,x=u?rn:tn;return(0,re.jsx)(d.Box,{pr:8,pt:2,height:"100%",className:"org",sx:Nn(Nn(Nn({},on),x),{},{textAlign:t[r]}),children:(null===o||void 0===o?void 0:o.id)&&(0,re.jsxs)(d.Flex,{className:"wrapClass",height:"100%",flexDirection:"column",justifyContent:"space-between",children:[(0,re.jsx)(kn,{setPreviewNode:n,previewNode:o,nodeByCite:l,setSidebarHighlightedNode:s,openContextMenu:a,outline:u,collapse:h,nodeById:i,linksByNodeId:c,macros:g,attachDir:f,useInheritance:p}),(0,re.jsx)(Sn,{setPreviewNode:n,previewNode:o,nodeById:i,linksByNodeId:c,nodeByCite:l,setSidebarHighlightedNode:s,openContextMenu:a,outline:u,attachDir:f,useInheritance:p,macros:g||{}})]})})},Dn=function(e){var n=e.previewNode;return(0,re.jsx)(d.Flex,{maxW:"90%",children:(0,re.jsx)(d.Heading,{lineHeight:1.2,size:"md",fontWeight:600,pt:4,children:null===n||void 0===n?void 0:n.title})})},Bn=t(29119);function Ln(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function Tn(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?Ln(Object(t),!0).forEach((function(n){(0,i.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Ln(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}function zn(e,n){var t,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=Fn(e,null!==(t=r.storage)&&void 0!==t?t:localStorage),i=o.get(),l=void 0!==i?i:n,s=null!=i&&"object"===typeof i&&!1===Array.isArray(i)?Tn(Tn({},n),i):l;s!==i&&o.update(s);var c=(0,v.useState)(s),a=c[0],d=c[1];(0,v.useEffect)((function(){a!==s&&d(s)}),[e]);var u=function(e){e instanceof Function?d((function(n){var t=e(n);return o.update(t),t})):(d(e),o.update(e))};return[a,u]}function Fn(e,n){return{get:function(){var t=n.getItem(e);if(t&&"undefined"!==t)return JSON.parse(t)},update:function(t){n.setItem(e,JSON.stringify(t))},remove:function(){n.removeItem(e)}}}var En=["style"];function Rn(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function Zn(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?Rn(Object(t),!0).forEach((function(n){(0,i.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Rn(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var Hn=function(e){var n=e.isOpen,t=e.onOpen,r=e.onClose,o=e.previewNode,i=e.setPreviewNode,s=e.nodeById,c=e.linksByNodeId,a=e.nodeByCite,u=e.setSidebarHighlightedNode,g=e.canUndo,f=e.canRedo,p=e.resetPreviewNode,x=e.previousPreviewNode,j=e.nextPreviewNode,b=e.openContextMenu,m=(e.scope,e.setScope,e.windowWidth),C=e.filter,w=e.setFilter,O=e.tagColors,k=e.setTagColors,S=e.macros,I=e.attachDir,N=e.useInheritance,P=((0,v.useContext)(nn.N).highlightColor,(0,v.useState)()),D=P[0],B=P[1],L=zn("sidebarWidth",400),T=(0,l.Z)(L,2),z=T[0],F=T[1];(0,v.useEffect)((function(){null!==o&&void 0!==o&&o.id?(t(),B(o)):r()}),[null===o||void 0===o?void 0:o.id]);var E=zn("justification",1),R=(0,l.Z)(E,2),Z=R[0],H=R[1],W=zn("outline",!1),A=(0,l.Z)(W,2),M=A[0],V=A[1],_=(0,v.useState)("sans serif"),U=(_[0],_[1]),X=(0,v.useState)(0),G=(X[0],X[1]),Q=(0,v.useState)(!1),J=Q[0],K=Q[1];return(0,re.jsx)(de,{animateOpacity:!1,dimension:"width",in:n,unmountOnExit:!0,startingSize:0,style:{height:"100vh"},children:(0,re.jsx)(Bn.e,{size:{height:"100vh",width:z},onResizeStop:function(e,n,t,r){F((function(e){return e+r.width}))},enable:{top:!1,right:!1,bottom:!1,left:!0,topRight:!1,bottomRight:!1,bottomLeft:!1,topLeft:!1},minWidth:"220px",maxWidth:m-200,children:(0,re.jsxs)(d.Flex,{flexDir:"column",h:"100vh",pl:2,color:"black",bg:"alt.100",width:"100%",children:[(0,re.jsxs)(d.Flex,{pl:2,alignItems:"center",color:"black",width:"100%",children:[(0,re.jsx)(d.Flex,{pt:1,flexShrink:0,children:(0,re.jsx)(je,{setJustification:H,setIndent:G,setFont:U,justification:Z,setPreviewNode:i,canUndo:g,canRedo:f,resetPreviewNode:p,previousPreviewNode:x,nextPreviewNode:j,outline:M,setOutline:V,collapse:J,setCollapse:K})}),(0,re.jsx)(d.Flex,{whiteSpace:"nowrap",textOverflow:"ellipsis",overflow:"hidden",onContextMenu:function(e){e.preventDefault(),b(o,e)}}),(0,re.jsx)(d.Flex,{flexDir:"row",ml:"auto",children:(0,re.jsx)(h.IconButton,{m:1,icon:(0,re.jsx)(y.T41,{}),"aria-label":"Options",variant:"subtle",onClick:function(e){b(o,e,{left:void 0,top:12,right:20-m,bottom:void 0})}})})]}),(0,re.jsx)(ln.$B,{autoHide:!0,renderThumbVertical:function(e){var n=e.style,t=(0,q.Z)(e,En);return(0,re.jsx)(d.Box,Zn({style:Zn(Zn({},n),{},{borderRadius:0})},t))},children:D&&(0,re.jsxs)(d.VStack,{flexGrow:1,alignItems:"left",bg:"alt.100",paddingLeft:4,children:[(0,re.jsx)(Dn,{previewNode:D}),(0,re.jsx)(ye,{filter:C,setFilter:w,tagColors:O,setTagColors:k,openContextMenu:b,previewNode:o}),(0,re.jsx)(Pn,{setPreviewNode:i,previewNode:o,nodeById:s,nodeByCite:a,setSidebarHighlightedNode:u,justification:Z,justificationList:["justify","start","end","center"],linksByNodeId:c,openContextMenu:b,outline:M,setOutline:V,collapse:J,macros:S,attachDir:I,useInheritance:N})]})})]})})})},Wn=t(94090),An=t(88696),Mn=t(47647);function Vn(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function _n(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?Vn(Object(t),!0).forEach((function(n){(0,i.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Vn(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var Un=function(e){var n,t=e.filter,r=e.listName,o=e.labelFilter,l=e.displayName,s=e.setFilter,c=e.options,a=void 0===c?[]:c,d=(0,v.useContext)(nn.N).highlightColor,u=(null===a||void 0===a?void 0:a.map((function(e){return{value:e,label:o?e.replace(o,""):e}})))||[],h=(0,v.useState)((null===(n=t[r])||void 0===n?void 0:n.map((function(e){return{value:e,label:o?null===e||void 0===e?void 0:e.replace(o,""):e}})))||[]),g=h[0],f=h[1];return(0,re.jsx)(Mn.CUIAutoComplete,{labelStyleProps:{fontWeight:300,fontSize:14},items:u,label:"Add tag to ".concat(l),placeholder:" ",onCreateItem:function(e){return null},disableCreateItem:!0,selectedItems:g,onSelectedItemsChange:function(e){e.selectedItems&&(f(e.selectedItems),s(_n(_n({},t),{},(0,i.Z)({},r,e.selectedItems.map((function(e){return e.value}))))))},listItemStyleProps:{overflow:"hidden"},highlightItemBg:"gray.400",toggleButtonStyleProps:{variant:"outline"},inputStyleProps:{mt:2,height:8,focusBorderColor:d,color:"gray.800",borderColor:"gray.500"},tagStyleProps:{justifyContent:"flex-start",fontSize:10,borderColor:d,borderWidth:1,borderRadius:"md",color:d,bg:"",height:4,mb:2},hideToggleButton:!0,itemRenderer:function(e){return e.label}})};function qn(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function Xn(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?qn(Object(t),!0).forEach((function(n){(0,i.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):qn(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var Gn=function(e){var n=e.colorList,t=e.tagColors,r=e.setTagColors,o=e.highlightColor,l=e.tags.map((function(e){return{value:e,label:e}})),s=(0,v.useState)(Object.keys(t).map((function(e){return{value:e,label:e}}))),c=s[0],a=s[1];return(0,re.jsxs)(d.Box,{children:[(0,re.jsx)(Mn.CUIAutoComplete,{items:l,labelStyleProps:{fontWeight:300,fontSize:14},label:"Add tag to color",placeholder:" ",disableCreateItem:!0,selectedItems:c,onSelectedItemsChange:function(e){e.selectedItems&&(a(Array.from(new Set(e.selectedItems))),r(Object.fromEntries(Array.from(new Set(e.selectedItems)).map((function(e){var n;return[e.label,null!==(n=t[e.label])&&void 0!==n?n:"gray.600"]})))))},listItemStyleProps:{overflow:"hidden"},highlightItemBg:"gray.400",toggleButtonStyleProps:{variant:"outline"},inputStyleProps:{height:8,focusBorderColor:o,color:"gray.800",borderColor:"gray.500"},tagStyleProps:{display:"none",rounded:"full",bg:o,height:8,paddingLeft:4,fontWeight:"bold"},hideToggleButton:!0,itemRenderer:function(e){return e.label}}),(0,re.jsx)(d.VStack,{spacing:2,justifyContent:"flex-start",divider:(0,re.jsx)(d.StackDivider,{borderColor:"gray.500"}),align:"stretch",color:"gray.800",children:Object.keys(t).map((function(e){return(0,re.jsxs)(d.Flex,{alignItems:"center",justifyContent:"space-between",width:"100%",pl:2,children:[(0,re.jsx)(d.Box,{width:"100%",children:(0,re.jsx)(d.Text,{children:e})}),(0,re.jsxs)(A.v2,{isLazy:!0,placement:"right",children:[(0,re.jsx)(A.j2,{as:h.Button,colorScheme:"",color:"black",children:(0,re.jsx)(d.Box,{bgColor:t[e],borderRadius:"sm",height:6,width:6})}),(0,re.jsx)(en.h_,{children:(0,re.jsx)(A.qy,{minW:10,zIndex:"popover",bgColor:"gray.200",children:n.map((function(n){return(0,re.jsx)(A.sN,{onClick:function(){return r(Xn(Xn({},t),{},(0,i.Z)({},e,n)))},justifyContent:"space-between",alignItems:"center",display:"flex",children:(0,re.jsx)(d.Box,{bgColor:n,borderRadius:"sm",height:6,width:6})},n)}))})})]}),(0,re.jsx)(h.IconButton,{"aria-label":"Delete tag color",variant:"ghost",icon:(0,re.jsx)(V.DeleteIcon,{}),onClick:function(){r(Object.fromEntries(Array.from(new Set(c)).map((function(e){var n;return[e.label,null!==(n=t[e.label])&&void 0!==n?n:"gray.600"]})))),a(c.filter((function(n){return n.value!==e})))}})]},e)}))})]})},Qn=t(80918),Jn=function(e){var n=e.infoText;return(0,re.jsx)(d.Box,{paddingLeft:"1",children:(0,re.jsx)(u.u,{label:n,placement:"top",color:"gray.100",bg:"gray.800",hasArrow:!0,children:(0,re.jsx)(V.InfoOutlineIcon,{})})})},Kn=["min","max","step","value"],$n=function(e){var n=e.min,t=void 0===n?0:n,r=e.max,o=void 0===r?10:r,i=e.step,l=void 0===i?.1:i,s=e.value,c=void 0===s?1:s,a=(0,q.Z)(e,Kn),h=a.onChange,g=a.label,f=a.infoText,p=(0,v.useContext)(nn.N).highlightColor;return(0,re.jsxs)(d.Box,{pt:1,pb:2,children:[(0,re.jsxs)(d.Box,{display:"flex",alignItems:"flex-end",mb:2,children:[(0,re.jsx)(d.Text,{children:g}),f&&(0,re.jsx)(Jn,{infoText:f})]}),(0,re.jsxs)(Qn.iR,{value:c,onChange:h,min:t,max:o,step:l,children:[(0,re.jsx)(Qn.Uj,{children:(0,re.jsx)(Qn.Ms,{})}),(0,re.jsx)(u.u,{bg:p,label:c.toFixed(1),children:(0,re.jsx)(Qn.gs,{bg:"white"})})]})]},g)},Yn=(0,v.createContext)({subDirs:["dailies",".attach"],attachDir:".attach",useInheritance:!1,roamDir:"~/org",dailyDir:"dailies"});function et(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function nt(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?et(Object(t),!0).forEach((function(n){(0,i.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):et(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var tt=function(e){var n=e.filter,t=e.setFilter,r=e.local,o=e.setLocal,i=e.tagColors,l=e.setTagColors,s=e.highlightColor,c=e.colorList,a=e.tags,u=(0,v.useContext)(Yn),g=u.roamDir,f=u.subDirs;return(0,re.jsxs)(d.Box,{children:[(0,re.jsxs)(d.VStack,{spacing:2,justifyContent:"flex-start",divider:(0,re.jsx)(d.StackDivider,{borderColor:"gray.500"}),align:"stretch",paddingLeft:7,color:"gray.800",children:[(0,re.jsxs)(d.Flex,{alignItems:"center",justifyContent:"space-between",children:[(0,re.jsx)(d.Text,{children:"Link children to"}),(0,re.jsxs)(A.v2,{isLazy:!0,placement:"right",children:[(0,re.jsx)(A.j2,{as:h.Button,rightIcon:(0,re.jsx)(V.ChevronDownIcon,{}),colorScheme:"",color:"black",size:"sm",children:function(){switch(n.parent){case"parent":return(0,re.jsx)(d.Text,{children:"File"});case"heading":return(0,re.jsx)(d.Text,{children:"Heading"});default:return(0,re.jsx)(d.Text,{children:"Nothing"})}}()}),(0,re.jsx)(en.h_,{children:(0,re.jsxs)(A.qy,{bgColor:"gray.200",zIndex:"popover",children:[(0,re.jsx)(A.sN,{onClick:function(){return t((function(e){return nt(nt({},e),{},{parent:""})}))},children:"Nothing"}),(0,re.jsx)(A.sN,{onClick:function(){return t((function(e){return nt(nt({},e),{},{parent:"parent"})}))},children:"Parent file node"}),(0,re.jsx)(A.sN,{onClick:function(){return t((function(e){return nt(nt({},e),{},{parent:"heading"})}))},children:"Next highest heading node"})]})})]})]}),(0,re.jsxs)(d.Flex,{justifyContent:"space-between",children:[(0,re.jsx)(d.Text,{children:"Orphans"}),(0,re.jsx)(An.r,{onChange:function(){t((function(e){return nt(nt({},e),{},{orphans:!e.orphans})}))},isChecked:n.orphans})]}),(0,re.jsxs)(d.Flex,{justifyContent:"space-between",children:[(0,re.jsx)(d.Text,{children:"Dailies"}),(0,re.jsx)(An.r,{onChange:function(){t((function(e){return nt(nt({},e),{},{dailies:!e.dailies})}))},isChecked:n.dailies})]}),(0,re.jsxs)(d.Flex,{justifyContent:"space-between",children:[(0,re.jsx)(d.Text,{children:"Org-noter pages"}),(0,re.jsx)(An.r,{onChange:function(){t((function(e){return nt(nt({},e),{},{noter:!e.noter})}))},isChecked:n.noter})]}),(0,re.jsxs)(d.Flex,{justifyContent:"space-between",children:[(0,re.jsx)(d.Text,{children:"Citations without note files"}),(0,re.jsx)(An.r,{onChange:function(){t(nt(nt({},n),{},{filelessCites:!n.filelessCites}))},isChecked:n.filelessCites})]}),(0,re.jsxs)(d.Flex,{justifyContent:"space-between",children:[(0,re.jsx)(d.Text,{children:"Non-existent nodes"}),(0,re.jsx)(An.r,{onChange:function(){l(nt(nt({},i),{},{bad:"white"})),t(nt(nt({},n),{},{bad:!n.bad}))},isChecked:n.bad})]}),(0,re.jsx)($n,{label:"Number of neighbors in local graph",value:r.neighbors,onChange:function(e){return o(nt(nt({},r),{},{neighbors:e}))},min:1,max:5,step:1})]}),(0,re.jsxs)(Wn.UQ,{padding:0,allowToggle:!0,allowMultiple:!0,paddingLeft:3,children:[(0,re.jsxs)(Wn.Qd,{children:[(0,re.jsxs)(Wn.KF,{children:["Directory filters",(0,re.jsx)(Wn.XE,{})]}),(0,re.jsxs)(Wn.Hk,{pr:0,mr:0,children:[(0,re.jsx)(Un,{filter:n,setFilter:t,options:f,displayName:"directory blocklist",listName:"dirsBlocklist",labelFilter:g}),(0,re.jsx)(Un,{filter:n,setFilter:t,options:f,displayName:"directory allowlist",listName:"dirsAllowlist",labelFilter:g})]})]}),(0,re.jsxs)(Wn.Qd,{children:[(0,re.jsxs)(Wn.KF,{children:["Tag filters",(0,re.jsx)(Wn.XE,{})]}),(0,re.jsxs)(Wn.Hk,{pr:0,mr:0,children:[(0,re.jsx)(Un,{filter:n,setFilter:t,options:a,displayName:"tag blocklist",listName:"tagsBlacklist"}),(0,re.jsx)(Un,{filter:n,setFilter:t,options:a,displayName:"tag allowlist",listName:"tagsWhitelist"})]})]}),(0,re.jsxs)(Wn.Qd,{children:[(0,re.jsxs)(Wn.KF,{children:["Tag colors",(0,re.jsx)(Wn.XE,{})]}),(0,re.jsx)(Wn.Hk,{pr:0,mr:0,children:(0,re.jsx)(Gn,{tags:a,colorList:c,tagColors:i,setTagColors:l,highlightColor:s})})]})]})]})},rt=t(37496),ot=function(e){var n=e.value,t=e.onChange,r=e.label,o=e.infoText,i=e.children;return(0,re.jsxs)(d.Box,{paddingTop:2,children:[(0,re.jsxs)(d.Box,{display:"flex",justifyContent:"space-between",paddingBottom:2,children:[(0,re.jsxs)(d.Box,{display:"flex",alignItems:"center",children:[(0,re.jsx)(d.Text,{children:r}),o&&(0,re.jsx)(Jn,{infoText:o})]}),(0,re.jsx)(An.r,{isChecked:!!n,onChange:t})]}),(0,re.jsx)(rt.UO,{in:!!n,animateOpacity:!0,children:(0,re.jsx)(d.Box,{paddingLeft:4,paddingTop:2,paddingBottom:2,children:i})})]},r)};function it(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function lt(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?it(Object(t),!0).forEach((function(n){(0,i.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):it(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var st=function(e){var n=e.physics,t=e.setPhysics,r=(0,v.useCallback)((function(e,n,r){t((function(t){return lt(lt({},t),{},(0,i.Z)({},n,e/r))}))}),[]);return(0,re.jsxs)(d.Box,{children:[(0,re.jsxs)(d.VStack,{spacing:2,justifyContent:"flex-start",divider:(0,re.jsx)(d.StackDivider,{borderColor:"gray.500"}),align:"stretch",paddingLeft:7,color:"gray.800",children:[(0,re.jsxs)(ot,{label:"Gravity",value:n.gravityOn,onChange:function(){return t(lt(lt({},n),{},{gravityOn:!n.gravityOn}))},children:[(0,re.jsxs)(d.Flex,{justifyContent:"space-between",children:[(0,re.jsx)(d.Text,{children:"Also in local"}),(0,re.jsx)(An.r,{onChange:function(){t((function(e){return lt(lt({},e),{},{gravityLocal:!e.gravityLocal})}))},isChecked:n.gravityLocal})]}),(0,re.jsx)($n,{label:"Strength",value:10*n.gravity,onChange:function(e){return r(e,"gravity",10)}})]}),(0,re.jsx)($n,{value:-n.charge/100,onChange:function(e){return r(e,"charge",-.01)},label:"Repulsive Force"}),(0,re.jsx)($n,{value:5*n.linkStrength,onChange:function(e){return r(e,"linkStrength",5)},label:"Link Force"}),(0,re.jsx)($n,{label:"Stabilization rate",value:50*n.alphaDecay,onChange:function(e){return r(e,"alphaDecay",50)}})]}),(0,re.jsx)(d.Box,{children:(0,re.jsx)(Wn.UQ,{paddingLeft:3,allowToggle:!0,children:(0,re.jsxs)(Wn.Qd,{children:[(0,re.jsxs)(Wn.KF,{children:[(0,re.jsx)(d.Text,{children:"Advanced"}),(0,re.jsx)(Wn.XE,{marginRight:2})]}),(0,re.jsx)(Wn.Hk,{children:(0,re.jsxs)(d.VStack,{spacing:2,justifyContent:"flex-start",divider:(0,re.jsx)(d.StackDivider,{borderColor:"gray.500"}),align:"stretch",paddingLeft:3,color:"gray.800",children:[(0,re.jsx)(ot,{label:"Collision",infoText:"Perfomance sap, disable if slow",value:n.collision,onChange:function(){return t(lt(lt({},n),{},{collision:!n.collision}))},children:(0,re.jsx)($n,{value:n.collisionStrength/5,onChange:function(e){return r(e,"collisionStrength",.2)},label:"Collision Radius",infoText:"Easy with this one, high values can lead to a real jiggly mess"})}),(0,re.jsx)($n,{label:"Link iterations",value:n.linkIts,onChange:function(e){return r(e,"linkIts",1)},min:0,max:6,step:1,infoText:"How many links down the line the physics of a single node affects (Slow)"}),(0,re.jsx)($n,{label:"Viscosity",value:10*n.velocityDecay,onChange:function(e){return r(e,"velocityDecay",10)}}),(0,re.jsx)(ot,{label:"Center nodes",value:n.centering,onChange:function(){return t(lt(lt({},n),{},{centering:!n.centering}))},infoText:"Keeps the nodes in the center of the viewport. If disabled you can drag the nodes anywhere you want.",children:(0,re.jsx)($n,{label:"Centering Strength",value:n.centeringStrength,max:2,step:.01,onChange:function(e){return r(e,"centeringStrength",1)}})})]})})]})})})]})};function ct(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function at(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?ct(Object(t),!0).forEach((function(n){(0,i.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ct(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var dt=function(e){var n=e.behavior,t=e.setBehavior,r=e.mouse,o=e.setMouse;return(0,re.jsxs)(d.VStack,{spacing:2,justifyContent:"flex-start",divider:(0,re.jsx)(d.StackDivider,{borderColor:"gray.500"}),align:"stretch",paddingLeft:7,color:"gray.800",children:[(0,re.jsxs)(d.Flex,{alignItems:"center",justifyContent:"space-between",children:[(0,re.jsx)(d.Text,{children:"Preview node"}),(0,re.jsxs)(A.v2,{isLazy:!0,placement:"right",children:[(0,re.jsx)(A.j2,{as:h.Button,rightIcon:(0,re.jsx)(V.ChevronDownIcon,{}),colorScheme:"",color:"black",children:(0,re.jsx)(d.Text,{children:r.preview?r.preview[0].toUpperCase()+r.preview.slice(1):"Never"})}),(0,re.jsxs)(en.h_,{children:[" ",(0,re.jsxs)(A.qy,{bgColor:"gray.200",zIndex:"popover",children:[(0,re.jsx)(A.sN,{onClick:function(){return o(at(at({},r),{},{preview:""}))},children:"Never"}),(0,re.jsx)(A.sN,{onClick:function(){return o(at(at({},r),{},{preview:"click"}))},children:"Click"}),(0,re.jsx)(A.sN,{onClick:function(){return o(at(at({},r),{},{preview:"double"}))},children:"Double Click"})]})]})]})]}),(0,re.jsxs)(d.Flex,{alignItems:"center",justifyContent:"space-between",children:[(0,re.jsxs)(d.Flex,{children:[(0,re.jsx)(d.Text,{children:"Expand Node"}),(0,re.jsx)(Jn,{infoText:"View only the node and its direct neighbors"})]}),(0,re.jsxs)(A.v2,{isLazy:!0,placement:"right",children:[(0,re.jsx)(A.j2,{as:h.Button,rightIcon:(0,re.jsx)(V.ChevronDownIcon,{}),colorScheme:"",color:"black",children:(0,re.jsx)(d.Text,{children:r.local?r.local[0].toUpperCase()+r.local.slice(1):"Never"})}),(0,re.jsxs)(en.h_,{children:[" ",(0,re.jsxs)(A.qy,{zIndex:"popover",bgColor:"gray.200",children:[(0,re.jsx)(A.sN,{onClick:function(){return o(at(at({},r),{},{local:""}))},children:"Never"}),(0,re.jsx)(A.sN,{onClick:function(){return o(at(at({},r),{},{local:"click"}))},children:"Click"}),(0,re.jsx)(A.sN,{onClick:function(){return o(at(at({},r),{},{local:"double"}))},children:"Double Click"}),(0,re.jsx)(A.sN,{onClick:function(){return o(at(at({},r),{},{local:"right"}))},children:"Right Click"})]})]})]})]}),(0,re.jsxs)(d.Flex,{alignItems:"center",justifyContent:"space-between",children:[(0,re.jsx)(d.Text,{children:"Open in Emacs"}),(0,re.jsxs)(A.v2,{isLazy:!0,placement:"right",children:[(0,re.jsx)(A.j2,{as:h.Button,rightIcon:(0,re.jsx)(V.ChevronDownIcon,{}),colorScheme:"",color:"black",children:(0,re.jsx)(d.Text,{children:r.follow?r.follow[0].toUpperCase()+r.follow.slice(1):"Never"})}),(0,re.jsxs)(en.h_,{children:[" ",(0,re.jsxs)(A.qy,{bgColor:"gray.200",zIndex:"popover",children:[(0,re.jsx)(A.sN,{onClick:function(){return o(at(at({},r),{},{follow:""}))},children:"Never"}),(0,re.jsx)(A.sN,{onClick:function(){return o(at(at({},r),{},{follow:"click"}))},children:"Click"}),(0,re.jsx)(A.sN,{onClick:function(){return o(at(at({},r),{},{follow:"double"}))},children:"Double Click"}),(0,re.jsx)(A.sN,{onClick:function(){return o(at(at({},r),{},{follow:"right"}))},children:"Right Click"})]})]})]})]}),(0,re.jsxs)(d.Flex,{alignItems:"center",justifyContent:"space-between",children:[(0,re.jsx)(d.Text,{children:"Follow Emacs by..."}),(0,re.jsxs)(A.v2,{isLazy:!0,placement:"right",children:[(0,re.jsx)(A.j2,{as:h.Button,rightIcon:(0,re.jsx)(V.ChevronDownIcon,{}),colorScheme:"",color:"black",children:(0,re.jsx)(d.Text,{children:n.follow[0].toUpperCase()+n.follow.slice(1)})}),(0,re.jsxs)(en.h_,{children:[" ",(0,re.jsxs)(A.qy,{bgColor:"gray.200",zIndex:"popover",children:[(0,re.jsx)(A.sN,{onClick:function(){return t(at(at({},n),{},{follow:"color"}))},children:"Just coloring the currently opened node"}),(0,re.jsx)(A.sN,{onClick:function(){return t(at(at({},n),{},{follow:"local"}))},children:"Opening the local graph"}),(0,re.jsx)(A.sN,{onClick:function(){return t(at(at({},n),{},{follow:"zoom"}))},children:"Zooming to the current node"})]})]})]})]}),(0,re.jsxs)(d.Flex,{alignItems:"center",justifyContent:"space-between",children:[(0,re.jsxs)(d.Flex,{children:[(0,re.jsx)(d.Text,{children:"Local graph"}),(0,re.jsx)(Jn,{infoText:"When in local mode and clicking a new node, should I add that node's local graph or open the new one?"})]}),(0,re.jsxs)(A.v2,{isLazy:!0,placement:"right",children:[(0,re.jsx)(A.j2,{as:h.Button,rightIcon:(0,re.jsx)(V.ChevronDownIcon,{}),colorScheme:"",color:"black",children:(0,re.jsx)(d.Text,{children:"add"===n.localSame?"Add":"Replace"})}),(0,re.jsxs)(en.h_,{children:[" ",(0,re.jsxs)(A.qy,{bgColor:"gray.200",zIndex:"popover",children:[(0,re.jsx)(A.sN,{onClick:function(){return t(at(at({},n),{},{localSame:"replace"}))},children:"Open that nodes graph"}),(0,re.jsx)(A.sN,{onClick:function(){return t(at(at({},n),{},{localSame:"add"}))},children:"Add node to local graph"})]})]})]})]}),(0,re.jsx)($n,{label:"Zoom speed",value:n.zoomSpeed,min:0,max:4e3,step:100,onChange:function(e){return t(at(at({},n),{},{zoomSpeed:e}))}}),(0,re.jsx)($n,{label:"Zoom padding",value:n.zoomPadding,min:0,max:400,step:1,onChange:function(e){return t(at(at({},n),{},{zoomPadding:e}))},infoText:"How much to zoom out to accomodate all nodes when changing the view."})]})},ut=t(11391);function ht(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function gt(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?ht(Object(t),!0).forEach((function(n){(0,i.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ht(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var ft=function(e){var n=e.visuals,t=e.setVisuals;return(0,re.jsx)(d.VStack,{spacing:2,justifyContent:"flex-start",divider:(0,re.jsx)(d.StackDivider,{borderColor:"gray.500"}),align:"stretch",color:"gray.800",children:(0,re.jsx)(d.Box,{children:(0,re.jsx)(ot,{label:"Highlight",onChange:function(){return t((function(e){return gt(gt({},e),{},{highlight:!e.highlight})}))},value:n.highlight,children:(0,re.jsxs)(d.VStack,{spacing:1,justifyContent:"flex-start",divider:(0,re.jsx)(d.StackDivider,{borderColor:"gray.400"}),align:"stretch",paddingLeft:0,children:[(0,re.jsx)($n,{label:"Highlight Link Thickness",value:n.highlightLinkSize,onChange:function(e){return t((function(n){return gt(gt({},n),{},{highlightLinkSize:e})}))}}),(0,re.jsx)($n,{label:"Highlight Node Size",value:n.highlightNodeSize,onChange:function(e){return t((function(n){return gt(gt({},n),{},{highlightNodeSize:e})}))}}),(0,re.jsx)($n,{min:0,max:1,label:"Highlight Fade",value:n.highlightFade,onChange:function(e){return t((function(n){return gt(gt({},n),{},{highlightFade:e})}))}}),(0,re.jsxs)(ot,{label:"Highlight Animation",onChange:function(){t((function(e){return gt(gt({},e),{},{highlightAnim:!e.highlightAnim})}))},value:n.highlightAnim,children:[(0,re.jsx)($n,{label:"Animation speed",onChange:function(e){return t((function(n){return gt(gt({},n),{},{animationSpeed:e})}))},value:n.animationSpeed,infoText:"Slower speed has a chance of being buggy",min:50,max:1e3,step:10}),(0,re.jsx)(ut.Ph,{placeholder:n.algorithmName,onChange:function(e){t((function(n){return gt(gt({},n),{},{algorithmName:e.target.value})}))},children:n.algorithmOptions.map((function(e){return(0,re.jsx)("option",{value:e,children:e},e)}))})]})]})})})})};function pt(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function xt(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?pt(Object(t),!0).forEach((function(n){(0,i.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):pt(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var jt=function(e){var n=e.label,t=e.colorList,r=e.value,o=e.visValue,l=e.setVisuals,s=e.noEmpty,c=(0,v.useCallback)((function(e){return l((function(n){return xt(xt({},n),{},(0,i.Z)({},r,e))}))}),[]);return(0,re.jsxs)(d.Flex,{alignItems:"center",justifyContent:"space-between",children:[(0,re.jsx)(d.Text,{children:n}),(0,re.jsxs)(Ye.J2,{isLazy:!0,placement:"right",children:[(0,re.jsx)(Ye.xo,{children:(0,re.jsx)(h.Button,{colorScheme:"",color:"black",rightIcon:(0,re.jsx)(V.ChevronDownIcon,{}),children:(0,re.jsx)(d.Box,{bgColor:o,borderRadius:"sm",height:6,width:6})})}),(0,re.jsx)(en.h_,{children:(0,re.jsx)(Ye.yk,{zIndex:"tooltip",maxW:36,position:"relative",children:(0,re.jsxs)(d.Flex,{flexWrap:"wrap",bgColor:"gray.200",children:[!s&&(0,re.jsx)(d.Box,{onClick:function(){return c("")},justifyContent:"space-between",alignItems:"center",display:"flex",m:1,children:(0,re.jsx)(d.Box,{height:6,width:6,borderColor:"gray.600",borderRadius:"xl",borderWidth:1})}),t.map((function(e){return(0,re.jsx)(d.Box,{m:1,onClick:function(){return c(e)},justifyContent:"space-between",alignItems:"center",display:"flex",children:(0,re.jsx)(d.Box,{bgColor:e,borderRadius:"xl",height:6,width:6})},e)}))]})})})]})]})};function vt(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function bt(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?vt(Object(t),!0).forEach((function(n){(0,i.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):vt(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var mt=function(e){var n=e.visuals,t=e.setVisualsCallback,r=e.highlightColor,i=e.setHighlightColor;return(0,re.jsx)(d.VStack,{spacing:2,justifyContent:"flex-start",divider:(0,re.jsx)(d.StackDivider,{borderColor:"gray.500"}),align:"stretch",color:"gray.800",children:(0,re.jsxs)(d.Box,{children:[(0,re.jsxs)(d.Flex,{alignItems:"center",justifyContent:"space-between",children:[(0,re.jsx)(d.Text,{children:"Nodes"}),(0,re.jsx)(u.u,{label:"Shuffle node colors",children:(0,re.jsx)(h.IconButton,{"aria-label":"Shuffle node colors",size:"sm",icon:(0,re.jsx)(V.RepeatIcon,{}),variant:"ghost",onClick:function(){var e,r=null!==(e=n.nodeColorScheme)&&void 0!==e?e:[];t(bt(bt({},n),{},{nodeColorScheme:r.map((function(e){return[Math.random(),e]})).sort((function(e,n){return(0,l.Z)(e,1)[0]-(0,l.Z)(n,1)[0]})).map((function(e){var n=(0,l.Z)(e,2);n[0];return n[1]}))}))}})}),(0,re.jsx)(u.u,{label:"Cycle node colors",children:(0,re.jsx)(h.IconButton,{"aria-label":"Shift node colors",icon:(0,re.jsx)(V.ArrowRightIcon,{}),size:"sm",variant:"ghost",onClick:function(){var e,r=null!==(e=n.nodeColorScheme)&&void 0!==e?e:[];t(bt(bt({},n),{},{nodeColorScheme:[].concat((0,o.Z)(r.slice(1,r.length)),[r[0]])}))}})}),(0,re.jsxs)(A.v2,{isLazy:!0,placement:"right",closeOnSelect:!1,matchWidth:!0,children:[(0,re.jsx)(A.j2,{width:20,as:h.Button,colorScheme:"",color:"black",rightIcon:(0,re.jsx)(V.ChevronDownIcon,{}),children:(0,re.jsx)(d.Flex,{height:6,width:6,flexDirection:"column",flexWrap:"wrap",children:n.nodeColorScheme.map((function(e){return(0,re.jsx)(d.Box,{bgColor:e,flex:"1 1 8px",borderRadius:"2xl"},e)}))})}),(0,re.jsxs)(en.h_,{children:[" ",(0,re.jsx)(A.qy,{minW:10,zIndex:"popover",bgColor:"gray.200",children:(0,re.jsx)(A.__,{width:500,type:"checkbox",defaultValue:n.nodeColorScheme,onChange:function(e){e.length&&t(bt(bt({},n),{},{nodeColorScheme:e}))},children:W.map((function(e){return(0,re.jsx)(A.ii,{isChecked:n.nodeColorScheme.some((function(n){return n===e})),value:e,isDisabled:1===n.nodeColorScheme.length&&n.nodeColorScheme[0]===e,children:(0,re.jsx)(d.Box,{justifyContent:"space-between",alignItems:"center",display:"flex",children:(0,re.jsx)(d.Box,{bgColor:e,borderRadius:"sm",height:6,width:6})})},e)}))})})]})]})]}),(0,re.jsxs)(d.Flex,{alignItems:"center",justifyContent:"space-between",children:[(0,re.jsx)(d.Text,{children:"Links"}),(0,re.jsxs)(A.v2,{isLazy:!0,placement:"right",children:[(0,re.jsx)(A.j2,{as:h.Button,colorScheme:"",color:"black",rightIcon:(0,re.jsx)(V.ChevronDownIcon,{}),children:(0,re.jsx)(d.Box,{children:n.linkColorScheme?(0,re.jsx)(d.Box,{bgColor:n.linkColorScheme,borderRadius:"sm",height:6,width:6}):(0,re.jsx)(d.Flex,{height:6,width:6,flexDirection:"column",flexWrap:"wrap",children:n.nodeColorScheme.map((function(e){return(0,re.jsx)(d.Box,{bgColor:e,flex:"1 1 8px",borderRadius:"2xl"},e)}))})})}),(0,re.jsxs)(en.h_,{children:[" ",(0,re.jsxs)(A.qy,{minW:10,zIndex:"popover",bgColor:"gray.200",children:[(0,re.jsx)(A.sN,{onClick:function(){return t(bt(bt({},n),{},{linkColorScheme:""}))},justifyContent:"space-between",alignItems:"center",display:"flex",children:(0,re.jsx)(d.Flex,{height:6,width:6,flexDirection:"column",flexWrap:"wrap",children:n.nodeColorScheme.map((function(e){return(0,re.jsx)(d.Box,{bgColor:e,flex:"1 1 8px",borderRadius:"2xl"},e)}))})}),W.map((function(e){return(0,re.jsx)(A.sN,{onClick:function(){return t(bt(bt({},n),{},{linkColorScheme:e}))},justifyContent:"space-between",alignItems:"center",display:"flex",children:(0,re.jsx)(d.Box,{bgColor:e,borderRadius:"sm",height:6,width:6})},e)}))]})]})]})]}),(0,re.jsxs)(d.Flex,{alignItems:"center",justifyContent:"space-between",children:[(0,re.jsx)(d.Text,{children:"Accent"}),(0,re.jsxs)(A.v2,{isLazy:!0,placement:"right",children:[(0,re.jsx)(A.j2,{as:h.Button,colorScheme:"",color:"black",rightIcon:(0,re.jsx)(V.ChevronDownIcon,{}),children:(0,re.jsx)(d.Box,{bgColor:r,borderRadius:"sm",height:6,width:6})}),(0,re.jsxs)(en.h_,{children:[" ",(0,re.jsx)(A.qy,{minW:10,zIndex:"popover",bgColor:"gray.200",children:W.map((function(e){return(0,re.jsx)(A.sN,{onClick:function(){return i(e)},justifyContent:"space-between",alignItems:"center",display:"flex",children:(0,re.jsx)(d.Box,{bgColor:e,borderRadius:"sm",height:6,width:6})},e)}))})]})]})]}),(0,re.jsx)(jt,{colorList:W,label:"Link highlight",setVisuals:t,value:"linkHighlight",visValue:n.linkHighlight}),(0,re.jsx)(jt,{colorList:W,label:"Node highlight",setVisuals:t,value:"nodeHighlight",visValue:n.nodeHighlight}),(0,re.jsx)(jt,{colorList:W,label:"Background",setVisuals:t,value:"backgroundColor",visValue:n.backgroundColor}),(0,re.jsx)(jt,{colorList:W,label:"Emacs node",setVisuals:t,value:"emacsNodeColor",visValue:n.emacsNodeColor})]})})};function yt(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function Ct(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?yt(Object(t),!0).forEach((function(n){(0,i.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):yt(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var wt=function(e){var n=e.visuals,t=e.setVisuals,r=e.threeDim;return(0,re.jsx)(d.VStack,{spacing:2,justifyContent:"flex-start",divider:(0,re.jsx)(d.StackDivider,{borderColor:"gray.500"}),align:"stretch",color:"gray.800",children:(0,re.jsxs)(d.Box,{children:[(0,re.jsx)($n,{label:"Node size",value:n.nodeRel,onChange:function(e){return t(Ct(Ct({},n),{},{nodeRel:e}))}}),(0,re.jsx)($n,{label:"Node degree size multiplier",value:n.nodeSizeLinks,min:0,max:2,onChange:function(e){return t(Ct(Ct({},n),{},{nodeSizeLinks:e}))}}),(0,re.jsx)($n,{label:"Node zoom invariance",value:n.nodeZoomSize,min:0,max:2,infoText:"How much the graph will try to keep the nodesize consistent across zoom scales. 0 is no consistency, node will always be their true size, 1 is linear, 2 is quadratic.",onChange:function(e){return t((function(n){return Ct(Ct({},n),{},{nodeZoomSize:e})}))}}),r&&(0,re.jsxs)(re.Fragment,{children:[(0,re.jsx)($n,{label:"Node opacity",value:n.nodeOpacity,min:0,max:1,onChange:function(e){return t(Ct(Ct({},n),{},{nodeOpacity:e}))}}),(0,re.jsx)($n,{label:"Node resolution",value:n.nodeResolution,min:5,max:32,step:1,onChange:function(e){return t(Ct(Ct({},n),{},{nodeResolution:e}))}})]}),(0,re.jsx)($n,{label:"Link width",value:n.linkWidth,onChange:function(e){return t(Ct(Ct({},n),{},{linkWidth:e}))}}),r&&(0,re.jsx)($n,{label:"Link opacity",min:0,max:1,value:n.linkOpacity,onChange:function(e){return t(Ct(Ct({},n),{},{linkOpacity:e}))}}),(0,re.jsxs)(ot,{label:"Link arrows",value:n.arrows,onChange:function(){return t(Ct(Ct({},n),{},{arrows:!n.arrows}))},children:[(0,re.jsx)($n,{label:"Arrow size",value:n.arrowsLength/10,onChange:function(e){return t(Ct(Ct({},n),{},{arrowsLength:10*e}))}}),(0,re.jsx)($n,{label:"Arrow Position",value:n.arrowsPos,min:0,max:1,step:.01,onChange:function(e){return t(Ct(Ct({},n),{},{arrowsPos:e}))}}),(0,re.jsx)(jt,{colorList:W,label:"Arrow Color",setVisuals:t,value:"arrowsColor",visValue:n.arrowsColor},"arrow")]}),(0,re.jsxs)(ot,{label:"Directional Particles",value:n.particles,onChange:function(){return t(Ct(Ct({},n),{},{particles:!n.particles}))},children:[(0,re.jsx)($n,{label:"Particle Number",value:n.particlesNumber,max:5,step:1,onChange:function(e){return t(Ct(Ct({},n),{},{particlesNumber:e}))}}),(0,re.jsx)($n,{label:"Particle Size",value:n.particlesWidth,onChange:function(e){return t(Ct(Ct({},n),{},{particlesWidth:e}))}})]})]})})};function Ot(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function kt(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?Ot(Object(t),!0).forEach((function(n){(0,i.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Ot(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var St=function(e){var n=e.visuals,t=e.setVisuals;return(0,re.jsxs)(d.VStack,{spacing:2,justifyContent:"flex-start",divider:(0,re.jsx)(d.StackDivider,{borderColor:"gray.400"}),align:"stretch",color:"gray.800",children:[(0,re.jsxs)(d.Flex,{alignItems:"center",justifyContent:"space-between",children:[(0,re.jsx)(d.Text,{children:"Show labels"}),(0,re.jsxs)(A.v2,{isLazy:!0,placement:"right",children:[(0,re.jsx)(A.j2,{as:h.Button,colorScheme:"",color:"black",rightIcon:(0,re.jsx)(V.ChevronDownIcon,{}),children:n.labels?n.labels<2?"On Highlight":"Always":"Never"}),(0,re.jsxs)(en.h_,{children:[" ",(0,re.jsxs)(A.qy,{zIndex:"popover",bgColor:"gray.200",children:[(0,re.jsx)(A.sN,{onClick:function(){return t(kt(kt({},n),{},{labels:0}))},children:"Never"}),(0,re.jsx)(A.sN,{onClick:function(){return t(kt(kt({},n),{},{labels:1}))},children:"On Highlight"}),(0,re.jsx)(A.sN,{onClick:function(){return t(kt(kt({},n),{},{labels:2}))},children:"Always"}),(0,re.jsx)(A.sN,{onClick:function(){return t(kt(kt({},n),{},{labels:3}))},children:"Always (even in 3D)"})]})]})]})]}),(0,re.jsxs)(rt.UO,{in:n.labels>1,animateOpacity:!0,children:[(0,re.jsx)(d.Box,{paddingTop:2,children:(0,re.jsx)($n,{label:"Label Appearance Scale",value:2*n.labelScale,onChange:function(e){return t(kt(kt({},n),{},{labelScale:e/2}))}})}),(0,re.jsxs)(d.Box,{paddingTop:2,children:[(0,re.jsx)($n,{label:"Label dynamicity",infoText:"By default, labels of nodes with more links will appear earlier than those with fewer. This slider changes the strength of this effect, put it at zero to disable it.",value:n.labelDynamicStrength,min:0,max:1,step:.05,onChange:function(e){return t((function(n){return kt(kt({},n),{},{labelDynamicStrength:e})}))}}),(0,re.jsx)(rt.UO,{in:n.labelDynamicStrength>0,children:(0,re.jsx)($n,{label:"Dynamic zoom degree cap",infoText:"The maximum number of links that is considered for the 'dynamic zoom effect'. Past this number all number of links are treated the same.",value:n.labelDynamicDegree,min:1,max:15,step:1,onChange:function(e){return t((function(n){return kt(kt({},n),{},{labelDynamicDegree:e})}))}})})]})]}),(0,re.jsx)(jt,{colorList:W,label:"Text",setVisuals:t,value:"labelTextColor",visValue:n.labelTextColor}),(0,re.jsxs)(d.Box,{children:[(0,re.jsx)(jt,{colorList:W,label:"Background",setVisuals:t,value:"labelBackgroundColor",visValue:n.labelBackgroundColor}),(0,re.jsx)(rt.UO,{in:!!n.labelBackgroundColor,animateOpacity:!0,children:(0,re.jsx)(d.Box,{paddingTop:2,children:(0,re.jsx)($n,{label:"Background opacity",value:n.labelBackgroundOpacity,onChange:function(e){console.log(n.labelBackgroundOpacity),t(kt(kt({},n),{},{labelBackgroundOpacity:e}))},min:0,max:1,step:.01})})})]}),(0,re.jsx)($n,{label:"Label font size",value:n.labelFontSize,min:5,max:20,step:.5,onChange:function(e){return t(kt(kt({},n),{},{labelFontSize:e}))}}),(0,re.jsx)($n,{label:"Max. label characters",value:n.labelLength,min:10,max:100,step:1,onChange:function(e){return t(kt(kt({},n),{},{labelLength:e}))}}),(0,re.jsx)($n,{label:"Max. label line length",value:n.labelWordWrap,min:10,max:100,step:1,onChange:function(e){return t(kt(kt({},n),{},{labelWordWrap:e}))}}),(0,re.jsx)($n,{label:"Space between label lines",value:n.labelLineSpace,min:.2,max:3,step:.1,onChange:function(e){return t(kt(kt({},n),{},{labelLineSpace:e}))}})]})},It=t(67690),Nt=function(){var e=(0,v.useContext)(nn.N),n=e.emacsTheme,t=e.setEmacsTheme;e.highlightColor;return(0,re.jsxs)(d.Flex,{alignItems:"center",justifyContent:"space-between",pl:7,pr:2,children:[(0,re.jsx)(d.Text,{children:"Theme"}),(0,re.jsxs)(A.v2,{isLazy:!0,placement:"bottom",closeOnSelect:!1,children:[(0,re.jsx)(A.j2,{as:h.Button,size:"sm",colorScheme:"",color:"black",rightIcon:(0,re.jsx)(V.ChevronDownIcon,{}),children:n[0]}),(0,re.jsxs)(A.qy,{minW:10,zIndex:"popover",bgColor:"gray.200",children:[(0,re.jsx)(A.sN,{onClick:function(){return""},justifyContent:"space-between",alignItems:"center",display:"flex",children:(0,re.jsx)(d.Box,{height:6,width:6})}),Object.keys(It.n).map((function(e,n){return(0,re.jsxs)(A.sN,{onClick:function(){return t([e,It.n[e]])},justifyContent:"space-between",alignItems:"center",display:"flex",children:[(0,re.jsx)(d.Text,{children:e}),(0,re.jsx)(d.Flex,{height:6,width:20,flexDirection:"column",flexWrap:"wrap",children:Object.values(It.n[e]).map((function(e){return(0,re.jsx)(d.Box,{bgColor:e,flex:"1 1 8px"},e)}))})]},e)}))]})]})]})};function Pt(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function Dt(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?Pt(Object(t),!0).forEach((function(n){(0,i.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Pt(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var Bt=function(e){var n=e.visuals,t=e.setVisuals;return(0,re.jsx)(d.VStack,{spacing:2,justifyContent:"flex-start",divider:(0,re.jsx)(d.StackDivider,{borderColor:"gray.500"}),align:"stretch",color:"gray.800",children:(0,re.jsxs)(d.Box,{children:[(0,re.jsxs)(ot,{label:"Dash cite links",infoText:"Add dashes to citation links made with org-roam-bibtex",value:n.citeDashes,onChange:function(){return t(Dt(Dt({},n),{},{citeDashes:!n.citeDashes}))},children:[(0,re.jsx)($n,{label:"Dash length",value:n.citeDashLength/10,onChange:function(e){return t(Dt(Dt({},n),{},{citeDashLength:10*e}))}}),(0,re.jsx)($n,{label:"Gap length",value:n.citeGapLength/5,onChange:function(e){return t(Dt(Dt({},n),{},{citeGapLength:5*e}))}})]}),(0,re.jsx)(jt,{colorList:W,label:"Citation node color",setVisuals:t,value:"citeNodeColor",visValue:n.citeNodeColor}),(0,re.jsx)(jt,{colorList:W,label:"Citation link color",setVisuals:t,value:"citeLinkColor",visValue:n.citeLinkColor}),(0,re.jsx)(jt,{colorList:W,label:"Reference link highlight",setVisuals:t,value:"citeLinkHighlightColor",visValue:n.citeLinkHighlightColor}),(0,re.jsxs)(ot,{label:"Dash ref links",infoText:"Add dashes to citation links, whose target has a note, made with org-roam-bibtex",value:n.refDashes,onChange:function(){return t(Dt(Dt({},n),{},{refDashes:!n.refDashes}))},children:[(0,re.jsx)($n,{label:"Dash length",value:n.refDashLength/10,onChange:function(e){return t(Dt(Dt({},n),{},{refDashLength:10*e}))}}),(0,re.jsx)($n,{label:"Gap length",value:n.refGapLength/5,onChange:function(e){return t(Dt(Dt({},n),{},{refGapLength:5*e}))}})]}),(0,re.jsx)(jt,{colorList:W,label:"Reference node color",setVisuals:t,value:"refNodeColor",visValue:n.refNodeColor}),(0,re.jsx)(jt,{colorList:W,label:"Reference link color",setVisuals:t,value:"refLinkColor",visValue:n.refLinkColor}),(0,re.jsx)(jt,{colorList:W,label:"Reference link highlight",setVisuals:t,value:"refLinkHighlightColor",visValue:n.refLinkHighlightColor})]})})};function Lt(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function Tt(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?Lt(Object(t),!0).forEach((function(n){(0,i.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Lt(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var zt=function(e){var n=e.coloring,t=e.setColoring;return(0,re.jsxs)(d.Flex,{alignItems:"center",justifyContent:"space-between",pl:7,pr:2,children:[(0,re.jsx)(d.Text,{children:"Graph coloring"}),(0,re.jsxs)(A.v2,{isLazy:!0,placement:"right",children:[(0,re.jsx)(A.j2,{as:h.Button,size:"sm",colorScheme:"",color:"black",rightIcon:(0,re.jsx)(V.ChevronDownIcon,{}),children:"degree"===n.method?"Links":"Communities"}),(0,re.jsx)(en.h_,{children:(0,re.jsxs)(A.qy,{minW:10,zIndex:"popover",bgColor:"gray.200",children:[(0,re.jsx)(A.sN,{onClick:function(){return t((function(e){return Tt(Tt({},e),{},{method:"degree"})}))},justifyContent:"space-between",alignItems:"center",display:"flex",children:"Number of links"}),(0,re.jsx)(A.sN,{onClick:function(){return t((function(e){return Tt(Tt({},e),{},{method:"community"})}))},justifyContent:"space-between",alignItems:"center",display:"flex",children:"Communities"})]})})]})]})},Ft=function(e){var n=e.coloring,t=e.setColoring,r=e.visuals,o=e.setVisuals,i=e.highlightColor,l=e.setHighlightColor,s=e.threeDim,c=(0,v.useCallback)((function(e){return o(e)}),[]);return(0,re.jsxs)(d.VStack,{justifyContent:"flex-start",align:"stretch",children:[(0,re.jsx)(Nt,{}),(0,re.jsx)(zt,{coloring:n,setColoring:t}),(0,re.jsxs)(Wn.UQ,{allowToggle:!0,defaultIndex:[0],paddingLeft:3,children:[(0,re.jsxs)(Wn.Qd,{children:[(0,re.jsx)(Wn.KF,{children:(0,re.jsxs)(d.Flex,{justifyContent:"space-between",w:"100%",children:[(0,re.jsx)(d.Text,{children:"Colors"}),(0,re.jsx)(Wn.XE,{marginRight:2})]})}),(0,re.jsx)(Wn.Hk,{children:(0,re.jsx)(mt,{visuals:r,setVisualsCallback:c,highlightColor:i,setHighlightColor:l})})]}),(0,re.jsxs)(Wn.Qd,{children:[(0,re.jsx)(Wn.KF,{children:(0,re.jsxs)(d.Flex,{justifyContent:"space-between",w:"100%",children:[(0,re.jsx)(d.Text,{children:"Nodes & Links"}),(0,re.jsx)(Wn.XE,{marginRight:2})]})}),(0,re.jsx)(Wn.Hk,{children:(0,re.jsx)(wt,{visuals:r,setVisuals:c,threeDim:s})})]}),(0,re.jsxs)(Wn.Qd,{children:[(0,re.jsx)(Wn.KF,{children:(0,re.jsxs)(d.Flex,{justifyContent:"space-between",w:"100%",children:[(0,re.jsx)(d.Text,{children:"Labels"}),(0,re.jsx)(Wn.XE,{marginRight:2})]})}),(0,re.jsx)(Wn.Hk,{children:(0,re.jsx)(St,{visuals:r,setVisuals:c})})]}),(0,re.jsxs)(Wn.Qd,{children:[(0,re.jsx)(Wn.KF,{children:(0,re.jsxs)(d.Flex,{justifyContent:"space-between",w:"100%",children:[(0,re.jsx)(d.Text,{children:"Highlighting"}),(0,re.jsx)(Wn.XE,{marginRight:2})]})}),(0,re.jsx)(Wn.Hk,{children:(0,re.jsx)(ft,{visuals:r,setVisuals:c})})]}),(0,re.jsxs)(Wn.Qd,{children:[(0,re.jsx)(Wn.KF,{children:(0,re.jsxs)(d.Flex,{justifyContent:"space-between",w:"100%",children:[(0,re.jsx)(d.Text,{children:"Citations"}),(0,re.jsx)(Wn.XE,{marginRight:2})]})}),(0,re.jsx)(Wn.Hk,{children:(0,re.jsx)(Bt,{visuals:r,setVisuals:c})})]})]})]})},Et=["style"];function Rt(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function Zt(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?Rt(Object(t),!0).forEach((function(n){(0,i.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Rt(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var Ht=function(e){var n=e.physics,t=e.setPhysics,r=e.threeDim,o=e.setThreeDim,i=e.filter,s=e.setFilter,c=e.visuals,a=e.setVisuals,g=e.mouse,f=e.setMouse,p=e.behavior,x=e.setBehavior,j=e.tags,b=e.tagColors,m=e.setTagColors,y=e.coloring,C=e.setColoring,w=e.local,O=e.setLocal,k=zn("showTweaks",!1),S=(0,l.Z)(k,2),I=S[0],N=S[1],P=(0,v.useContext)(nn.N),D=P.highlightColor,B=P.setHighlightColor;return I?(0,re.jsxs)(d.Box,{position:"absolute",bg:"alt.100",w:"xs",marginTop:2,marginLeft:2,borderRadius:"lg",paddingBottom:5,zIndex:10,boxShadow:"xl",maxH:"95vh",fontSize:"sm",children:[(0,re.jsxs)(d.Box,{display:"flex",justifyContent:"space-between",alignItems:"center",paddingRight:2,paddingTop:1,children:[(0,re.jsx)(u.u,{label:"2D",children:(0,re.jsx)(h.Button,{onClick:function(){return o(!r)},variant:"subtle",zIndex:"overlay",children:r?"3D":"2D"})}),(0,re.jsxs)(d.Box,{display:"flex",alignItems:"center",children:[(0,re.jsx)(u.u,{label:"Reset settings to defaults",children:(0,re.jsx)(h.IconButton,{"aria-label":"Reset Defaults",icon:(0,re.jsx)(V.RepeatClockIcon,{}),onClick:function(){a(E),s(z),f(Z),t(T),x(R),C(F),B("purple.500"),O(H)},variant:"subtle",size:"sm"})}),(0,re.jsx)(h.IconButton,{size:"sm",icon:(0,re.jsx)(V.CloseIcon,{}),"aria-label":"Close Tweak Panel",variant:"subtle",onClick:function(){return N(!1)}})]})]}),(0,re.jsx)(ln.ZP,{autoHeight:!0,autoHeightMax:.85*globalThis.innerHeight,autoHide:!0,renderThumbVertical:function(e){var n=e.style,t=(0,q.Z)(e,Et);return(0,re.jsx)(d.Box,Zt(Zt({},t),{},{style:Zt(Zt({},n),{},{borderRadius:10}),bg:D}))},children:(0,re.jsxs)(Wn.UQ,{allowMultiple:!0,allowToggle:!0,color:"black",children:[(0,re.jsxs)(Wn.Qd,{children:[(0,re.jsxs)(Wn.KF,{children:[(0,re.jsx)(Wn.XE,{marginRight:2}),(0,re.jsx)(d.Heading,{size:"sm",children:"Filter"})]}),(0,re.jsx)(Wn.Hk,{children:(0,re.jsx)(tt,{filter:i,setFilter:s,tagColors:b,setTagColors:m,highlightColor:D,colorList:W,tags:j,local:w,setLocal:O})})]}),(0,re.jsxs)(Wn.Qd,{children:[(0,re.jsx)(Wn.KF,{display:"flex",justifyContent:"space-between",children:(0,re.jsxs)(d.Box,{display:"flex",children:[(0,re.jsx)(Wn.XE,{marginRight:2}),(0,re.jsx)(d.Heading,{size:"sm",children:"Physics"})]})}),(0,re.jsx)(Wn.Hk,{children:(0,re.jsx)(st,{physics:n,setPhysics:t})})]}),(0,re.jsxs)(Wn.Qd,{children:[(0,re.jsxs)(Wn.KF,{children:[(0,re.jsx)(Wn.XE,{marginRight:2}),(0,re.jsx)(d.Heading,{size:"sm",children:"Visual"})]}),(0,re.jsx)(Wn.Hk,{children:(0,re.jsx)(Ft,{visuals:c,setVisuals:a,highlightColor:D,setHighlightColor:B,threeDim:r,coloring:y,setColoring:C})})]}),(0,re.jsxs)(Wn.Qd,{children:[(0,re.jsxs)(Wn.KF,{children:[(0,re.jsx)(Wn.XE,{marginRight:2}),(0,re.jsx)(d.Heading,{size:"sm",children:"Behavior"})]}),(0,re.jsx)(Wn.Hk,{children:(0,re.jsx)(dt,{behavior:p,setBehavior:x,mouse:g,setMouse:f})})]})]})})]}):(0,re.jsx)(d.Box,{position:"absolute",zIndex:"overlay",marginTop:1,marginLeft:0,display:I?"none":"block",children:(0,re.jsx)(h.IconButton,{variant:"subtle","aria-label":"Settings",icon:(0,re.jsx)(V.SettingsIcon,{}),onClick:function(){return N(!0)}})})},Wt=t(22663),At=t.n(Wt),Mt=t(94244),Vt=function(e){var n,t=e.linksByNodeId,r=e.visuals,o=e.highlightedNodes,i=e.previouslyHighlightedNodes,l=e.opacity,s=e.node,c=null!==(n=t[s.id])&&void 0!==n?n:[],a=c.length?c.filter((function(e){return"parent"===e.type})).length:0,d=3+c.length*r.nodeSizeLinks-(Mt.hX.parent?0:a);return 1===r.highlightNodeSize?d:d*(o[s.id]||i[s.id]?1+l*(r.highlightNodeSize-1):1)};function _t(e,n){return"rgba("+(e=e.replace("#","")).match(new RegExp("(.{"+e.length/3+"})","g")).map((function(n){return parseInt(e.length%2?n+n:n,16)})).concat(isFinite(n)?n:1).join(",")+")"}function Ut(e){var n,t,r,i,l=e.labelBackgroundColor,s=e.labelTextColor,c=e.node,a=e.ctx,d=e.globalScale,u=e.highlightedNodes,h=e.previouslyHighlightedNodes,g=e.visuals,f=e.opacity,p=e.filteredLinksByNodeId,x=(e.nodeRel,e.hoverNode),j=e.lastHoverNode;if(c&&g.labels){var v=null!==(n=null===x||void 0===x?void 0:x.id)&&void 0!==n?n:"",b=null!==(t=null===j||void 0===j?void 0:j.id)&&void 0!==t?t:"",m=null!==(r=p[c.id])&&void 0!==r?r:[],y=!(!u[c.id]&&!h[c.id]),C=Math.min(5*(d-g.labelScale)+2*Math.pow(Math.min(m.length,g.labelDynamicDegree),g.labelDynamicStrength),1);if(!(C<.01)||y){var w=null!==(i=c.title)&&void 0!==i?i:"",O=w.substring(0,g.labelLength),k=Math.cbrt(g.nodeRel*Vt({node:c,highlightedNodes:u,linksByNodeId:p,opacity:f,previouslyHighlightedNodes:h,visuals:g})/Math.pow(d,g.nodeZoomSize)),S=g.labelFontSize/Math.cbrt(Math.pow(d,g.nodeZoomSize)),I=[1.1*a.measureText(O).width,S].map((function(e){return e+.5*S})),N=function(e,n,t,r,o){return o?Math.max(e,r):1*e*(-1*(n.highlightFade*r-1))}(C,g,0,f,y);if(g.labelBackgroundColor&&g.labelBackgroundOpacity){var P=_t(l,N*g.labelBackgroundOpacity);a.fillStyle=P,a.fillRect.apply(a,[c.x-I[0]/2,c.y-I[1]/2+k].concat((0,o.Z)(I)))}a.textAlign="center",a.textBaseline="middle";var D=_t(s,N);a.fillStyle=D,a.font="".concat(S,"px Sans-Serif");var B=At()(O,{width:g.labelWordWrap}).split("\n"),L=w.length>g.labelLength?[].concat((0,o.Z)(B.slice(0,-1)),["".concat(B.slice(-1),"...")]):B,T=[v,b].includes(c.id)?1+.3*f:1;L.forEach((function(e,n){a.fillText(e,c.x,c.y+T*k*8+g.labelLineSpace*S*n)}))}}}var qt=function(e){var n,t,r,o,i,l=e.id,s=e.linksByNodeId,c=e.visuals,a=e.coloring,d=e.cluster,u=null!==(n=null===(t=s[l])||void 0===t?void 0:t.length)&&void 0!==n?n:0;return"degree"===a.method?c.nodeColorScheme[(r=u,o=0,i=c.nodeColorScheme.length-1,Math.min(Math.max(r,o),i))]:c.nodeColorScheme[u&&d[l]%c.nodeColorScheme.length]},Xt=function(e,n){var t,r;return(null===(t=e.source)||void 0===t?void 0:t.id)===(null===n||void 0===n?void 0:n.id)||(null===(r=e.target)||void 0===r?void 0:r.id)===(null===n||void 0===n?void 0:n.id)},Gt=function(e){var n=e.sourceId,t=e.targetId,r=e.linksByNodeId,o=e.visuals,i=e.coloring,l=e.cluster;return r[n].length>r[t].length?qt({id:n,linksByNodeId:r,visuals:o,cluster:l,coloring:i}):qt({id:t,visuals:o,linksByNodeId:r,cluster:l,coloring:i})};function Qt(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function Jt(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?Qt(Object(t),!0).forEach((function(n){(0,i.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Qt(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var Kt=t.e(907).then(t.bind(t,99907)),$t=t.g.window?t(24878).f$:null,Yt=t.g.window?t(24878).s6:null;function er(){var e=(0,v.useState)(!1),n=e[0],t=e[1];return(0,v.useEffect)((function(){t(!0)}),[]),n?(0,re.jsxs)(re.Fragment,{children:[(0,re.jsx)(j.default,{children:(0,re.jsx)("title",{children:"ORUI"})}),(0,re.jsx)(nr,{})]}):null}function nr(){var e=zn("3d",!1),n=(0,l.Z)(e,2),t=n[0],r=n[1],s=zn("tagCols",{}),c=(0,l.Z)(s,2),g=c[0],f=c[1],x=(0,v.useState)({nodeIds:[],excludedNodeIds:[]}),j=x[0],b=x[1],m=zn("physics",T),O=(0,l.Z)(m,2),S=O[0],I=O[1],N=zn("filter",z),P=(0,l.Z)(N,2),D=P[0],B=P[1],L=zn("visuals",E),W=(0,l.Z)(L,2),A=W[0],M=W[1],V=(0,v.useState)(null),_=V[0],U=V[1],q=(0,v.useState)(null),X=q[0],G=q[1],Q=zn("behavior",R),J=(0,l.Z)(Q,2),K=J[0],$=J[1],Y=zn("mouse",Z),ee=(0,l.Z)(Y,2),ne=ee[0],te=ee[1],oe=zn("coloring",F),ie=(0,l.Z)(oe,2),le=ie[0],se=ie[1],ce=zn("local",H),ae=(0,l.Z)(ce,2),de=ae[0],ue=ae[1],he=(0,k.Z)({}),ge=(0,l.Z)(he,2),pe=ge[0],xe=ge[1],je=xe.set,ve=xe.reset,be=xe.undo,me=xe.redo,ye=xe.canUndo,Ce=xe.canRedo,we=(pe.past,pe.present),Oe=(pe.future,(0,v.useState)(null)),ke=Oe[0],Se=Oe[1],Ie=(0,a.qY)(),Ne=Ie.isOpen,Pe=Ie.onOpen,De=Ie.onClose,Be=(0,v.useRef)({}),Le=(0,v.useRef)({}),Te=(0,v.useRef)({}),ze=(0,v.useRef)([]),Fe=(0,v.useRef)(null),Ee=(0,v.useState)({}),Re=Ee[0],Ze=Ee[1],He=(0,v.useRef)({}),We=(0,v.useRef)({nodes:[],links:[]});(0,v.useEffect)((function(){_&&(We.current=_)}),[_]);var Ae=(0,v.useContext)(nn.N).setEmacsTheme,Me=(0,v.useRef)({nodeIds:[],excludedNodeIds:[]}),Ve=(0,v.useRef)(R);Ve.current=K;var _e=(0,v.useRef)(null);Me.current=j;var Ue=function(e,n){var t,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:2e3,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:200;if("color"!==e){var l=Fe.current,s=Me.current,c=Ve.current,a=null!==(t=Le.current[n])&&void 0!==t?t:[],d=Object.fromEntries([n].concat((0,o.Z)(a.flatMap((function(e){return[e.source,e.target]})))).map((function(e){return[e,{}]})));if("zoom"===e)return s.nodeIds.length&&b({nodeIds:[],excludedNodeIds:[]}),void setTimeout((function(){return l.zoomToFit(r,i,(function(e){return d[e.id]}))}),50);if(!s.nodeIds.length)return b((function(e){return Jt(Jt({},e),{},{nodeIds:[n]})})),void setTimeout((function(){l.centerAt(0,0,10),l.zoomToFit(1,i)}),50);if("add"!==c.localSame)return b((function(e){return Jt(Jt({},e),{},{nodeIds:[n]})})),void setTimeout((function(){l.centerAt(0,0,10),l.zoomToFit(1,i)}),50);if(!s.nodeIds.includes(n)||!s.nodeIds.some((function(e){return d[e]})))return b((function(e){return Jt(Jt({},e),{},{nodeIds:[n]})})),void setTimeout((function(){l.centerAt(0,0,10),l.zoomToFit(1,i)}),50);b((function(e){return Jt(Jt({},e),{},{nodeIds:[].concat((0,o.Z)(e.nodeIds),[n])})})),setTimeout((function(){l.centerAt(0,0,10),l.zoomToFit(1,i)}),50)}};(0,v.useEffect)((function(){_e.current=new w.Z("ws://localhost:35903"),_e.current.addEventListener("open",(function(){console.log("Connection with Emacs established")})),_e.current.addEventListener("message",(function(e){var n=Ve.current,t=JSON.parse(e.data);switch(t.type){case"graphdata":return function(e){var n,t,r,s=Be.current;ze.current=null!==(n=e.tags)&&void 0!==n?n:[];var c=null!==(t=e.nodes)&&void 0!==t?t:[],a=null!==(r=e.links)&&void 0!==r?r:[],d=c.reduce((function(e,n){var t;return Jt(Jt({},e),{},(0,i.Z)({},n.file,[].concat((0,o.Z)(null!==(t=e[n.file])&&void 0!==t?t:[]),[n])))}),{}),u=Object.keys(d).flatMap((function(e){var n,t=null!==(n=d[e])&&void 0!==n?n:[],r=t.find((function(e){return 0===e.level})),o=t.filter((function(e){return 0!==e.level}));return r?o.map((function(e){var n=t.filter((function(n){var t,r;return!(n.level>=e.level||n.pos>=e.pos||null===(t=e.olp)||void 0===t||!t.includes(null===(r=n.title)||void 0===r?void 0:r.replace(/ *\[\d*\/\d*\] */g,"")))})).reduce((function(e,n){return n.level>e.level&&(e=n),e}),r);return{source:e.id,target:(null===n||void 0===n?void 0:n.id)||r.id,type:"heading"}})):[]})),h=Object.keys(d).flatMap((function(e){var n,t=null!==(n=d[e])&&void 0!==n?n:[],r=t.find((function(e){return 0===e.level})),o=t.filter((function(e){return 0!==e.level}));return r?o.map((function(e){return{source:e.id,target:r.id,type:"parent"}})):[]}));Be.current=Object.fromEntries(c.map((function(e){return[e.id,e]})));var g=[].concat((0,o.Z)(a),(0,o.Z)(u),(0,o.Z)(h)),f=[],p=g.map((function(e){var n=e.source,t=e.target;return Be.current[n]?Be.current[t]?e:(f.push({id:t,tags:["bad"],properties:{FILELESS:"yes",bad:"yes"},file:"",title:t,level:0,pos:0,olp:null}),Jt(Jt({},e),{},{type:"bad"})):(f.push({id:n,tags:["bad"],properties:{FILELESS:"yes",bad:"yes"},file:"",title:n,level:0,pos:0,olp:null}),Jt(Jt({},e),{},{type:"bad"}))}));Be.current=Jt(Jt({},Be.current),Object.fromEntries(f.map((function(e){return[e.id,e]})))),Le.current=p.reduce((function(e,n){var t,r,l;return Jt(Jt({},e),{},(l={},(0,i.Z)(l,n.source,[].concat((0,o.Z)(null!==(t=e[n.source])&&void 0!==t?t:[]),[n])),(0,i.Z)(l,n.target,[].concat((0,o.Z)(null!==(r=e[n.target])&&void 0!==r?r:[]),[n])),l))}),{});var x=[].concat((0,o.Z)(c),f);Te.current=x.reduce((function(e,n){var t,r=null===(t=n.properties)||void 0===t?void 0:t.ROAM_REFS;if(null===r||void 0===r||!r.includes("cite"))return e;var o=r.replaceAll(/cite:(.*)/g,"$1");return o?Jt(Jt({},e),{},(0,i.Z)({},o,n)):e}),{});var j={nodes:x,links:p},v=We.current;if(0===v.nodes.length){var b=JSON.parse(JSON.stringify(j));return We.current=b,void U(b)}var m=[].concat((0,o.Z)(v.nodes.flatMap((function(e){var n,t=null!==(n=Be.current[null===e||void 0===e?void 0:e.id])&&void 0!==n&&n;return t?[Jt(Jt({},e),t)]:[]}))),(0,o.Z)(Object.keys(Be.current).filter((function(e){return!s[e]})).map((function(e){return Be.current[e]})))),y=m.reduce((function(e,n,t){var r=null===n||void 0===n?void 0:n.id;return Jt(Jt({},e),{},(0,i.Z)({},r,t))}),{}),C=p.map((function(e){var n=yn(e),t=(0,l.Z)(n,2),r=t[0],o=t[1];return Jt(Jt({},e),{},{source:m[y[r]],target:m[y[o]]})}));U({nodes:m,links:C})}(t.data);case"variables":return Ze(t.data),void console.log(t);case"theme":return Ae(["custom",t.data]);case"command":switch(t.data.commandName){case"local":var r=K.zoomSpeed,s=K.zoomPadding;Ue("local",t.data.id,r,s),G(t.data.id);break;case"zoom":var c,a,d=(null===t||void 0===t||null===(c=t.data)||void 0===c?void 0:c.speed)||n.zoomSpeed,u=(null===t||void 0===t||null===(a=t.data)||void 0===a?void 0:a.padding)||n.zoomPadding;Ue("zoom",t.data.id,d,u),G(t.data.id);break;case"follow":Ue(n.follow,t.data.id,n.zoomSpeed,n.zoomPadding),G(t.data.id);break;case"change-local-graph":var h=Be.current[t.data.id];if(!h)break;console.log(t),sn(h,t.data.manipulation);break;default:return console.error("unknown message type",t.type)}}}))}),[]),(0,v.useEffect)((function(){var e=Fe.current;!e||j.nodeIds.length>1||(j.nodeIds.length||!S.gravityOn?setTimeout((function(){e.zoomToFit(5,200)}),50):e.zoomToFit())}),[j.nodeIds]);var qe=(0,p.iP)(),Xe=(0,l.Z)(qe,2),Ge=Xe[0],Qe=Xe[1],Je=(0,v.useRef)(),Ke=(0,v.useState)(null),$e=Ke[0],Ye=Ke[1],en=(0,v.useState)({left:0,top:0,right:void 0,bottom:void 0}),tn=en[0],rn=en[1],on=(0,a.qY)();(0,a.O3)({ref:Je,handler:function(){on.onClose()}});var ln=function(e,n,t){rn(t||{left:n.pageX,top:n.pageY,right:void 0,bottom:void 0}),Ye(e),on.onOpen()},sn=function(e,n){"remove"!==n?"replace"!==n?j.nodeIds.includes(e.id)||b((function(n){return{excludedNodeIds:n.excludedNodeIds.filter((function(n){return n!==e.id})),nodeIds:[].concat((0,o.Z)(n.nodeIds),[e.id])}})):b({nodeIds:[e.id],excludedNodeIds:[]}):b((function(n){return{nodeIds:n.nodeIds.filter((function(n){return n!==e.id})),excludedNodeIds:[].concat((0,o.Z)(n.excludedNodeIds),[e.id])}}))},cn=zn("mainWindowWidth",Ge),an=(0,l.Z)(cn,2),dn=an[0],un=an[1];return(0,re.jsx)(Yn.Provider,{value:Jt({},Re),children:(0,re.jsxs)(d.Box,{display:"flex",alignItems:"flex-start",flexDirection:"row",height:"100vh",overflow:"clip",children:[(0,re.jsx)(Ht,{physics:S,setPhysics:I,threeDim:t,setThreeDim:r,filter:D,setFilter:B,visuals:A,setVisuals:M,mouse:ne,setMouse:te,behavior:K,setBehavior:$,tagColors:g,setTagColors:f,coloring:le,setColoring:se,local:de,setLocal:ue,tags:ze.current}),(0,re.jsx)(d.Box,{position:"absolute",children:_&&(0,re.jsx)(tr,{nodeById:Be.current,linksByNodeId:Le.current,webSocket:_e.current,variables:Re,physics:S,graphData:_,threeDim:t,emacsNodeId:X,filter:D,visuals:A,behavior:K,mouse:ne,scope:j,setScope:b,tagColors:g,setPreviewNode:je,sidebarHighlightedNode:ke,windowWidth:Ge,windowHeight:Qe,openContextMenu:ln,contextMenu:on,handleLocal:sn,mainWindowWidth:dn,setMainWindowWidth:un,setContextMenuTarget:Ye,graphRef:Fe,clusterRef:He,coloring:le,local:de})}),(0,re.jsx)(d.Box,{position:"relative",zIndex:4,width:"100%",children:(0,re.jsx)(d.Flex,{className:"headerBar",h:10,flexDir:"column",children:(0,re.jsx)(d.Flex,{alignItems:"center",h:10,justifyContent:"flex-end",children:(0,re.jsxs)(d.Flex,{height:"100%",flexDirection:"row",children:[j.nodeIds.length>0&&(0,re.jsx)(u.u,{label:"Return to main graph",children:(0,re.jsx)(h.IconButton,{m:1,icon:(0,re.jsx)(y.DvO,{}),"aria-label":"Exit local mode",onClick:function(){return b((function(e){return Jt(Jt({},e),{},{nodeIds:[]})}))},variant:"subtle"})}),(0,re.jsx)(u.u,{label:Ne?"Close sidebar":"Open sidebar",children:(0,re.jsx)(h.IconButton,{m:1,icon:(0,re.jsx)(C.iBV,{}),"aria-label":"Close file-viewer",variant:"subtle",onClick:Ne?De:Pe})})]})})})}),(0,re.jsx)(d.Box,{position:"relative",zIndex:4,children:(0,re.jsx)(Hn,{isOpen:Ne,onOpen:Pe,onClose:De,previewNode:we,setPreviewNode:je,canUndo:ye,canRedo:Ce,previousPreviewNode:be,nextPreviewNode:me,resetPreviewNode:ve,setSidebarHighlightedNode:Se,openContextMenu:ln,scope:j,setScope:b,windowWidth:Ge,tagColors:g,setTagColors:f,filter:D,setFilter:B,macros:Re.katexMacros,attachDir:Re.attachDir||"",useInheritance:Re.useInheritance||!1,nodeById:Be.current,linksByNodeId:Le.current,nodeByCite:Te.current})}),on.isOpen&&(0,re.jsx)("div",{ref:Je,children:(0,re.jsx)(fe,{scope:j,target:$e,background:!1,coordinates:tn,handleLocal:sn,menuClose:on.onClose.bind(on),webSocket:_e.current,setPreviewNode:je,setFilter:B,filter:D,setTagColors:f,tagColors:g})})]})})}var tr=function(e){var n=e.graphRef,t=e.physics,s=e.graphData,a=e.threeDim,u=e.linksByNodeId,h=e.filter,p=e.emacsNodeId,j=e.nodeById,b=e.visuals,y=e.behavior,C=e.mouse,w=e.scope,k=e.local,S=(e.setScope,e.webSocket),I=e.tagColors,N=e.setPreviewNode,P=e.sidebarHighlightedNode,D=e.windowWidth,B=e.windowHeight,T=(e.setContextMenuTarget,e.openContextMenu),z=e.contextMenu,F=e.handleLocal,E=e.variables,R=e.clusterRef,Z=e.coloring,H=E.dailyDir,A=(E.roamDir,(0,v.useState)(null)),M=A[0],V=A[1],_=(0,g.Fg)(),q=(0,v.useContext)(nn.N).emacsTheme,X=function(e,n,t){switch(e){case C.preview:N(n);break;case C.local:F(n,y.localSame);break;case C.follow:U(n,S);break;case C.context:T(n,t)}},G=(0,v.useRef)(null);(0,v.useEffect)((function(){p&&V(j[p])}),[p]);var Q=(0,v.useRef)({}),J=(0,v.useRef)({}),K=(0,v.useMemo)((function(){var e;J.current={};var n=null===s||void 0===s||null===(e=s.nodes)||void 0===e?void 0:e.filter((function(e){var n,t,r,o,l=e;return h.dirsBlocklist.length&&h.dirsBlocklist.some((function(e){var n;return null===l||void 0===l||null===(n=l.file)||void 0===n?void 0:n.includes(e)}))||h.dirsAllowlist.length>0&&!h.dirsAllowlist.some((function(e){var n;return null===l||void 0===l||null===(n=l.file)||void 0===n?void 0:n.includes(e)}))||h.tagsBlacklist.length&&h.tagsBlacklist.some((function(e){var n;return(null===l||void 0===l||null===(n=l.tags)||void 0===n?void 0:n.indexOf(e))>-1}))||h.tagsWhitelist.length>0&&!h.tagsWhitelist.some((function(e){var n;return(null===l||void 0===l||null===(n=l.tags)||void 0===n?void 0:n.indexOf(e))>-1}))||h.filelessCites&&null!==l&&void 0!==l&&null!==(n=l.properties)&&void 0!==n&&n.FILELESS||null!==h&&void 0!==h&&h.bad&&null!==l&&void 0!==l&&null!==(t=l.properties)&&void 0!==t&&t.bad||h.dailies&&H&&null!==(r=l.file)&&void 0!==r&&r.includes(H)?(J.current=Jt(Jt({},J.current),{},(0,i.Z)({},l.id,l)),!1):!h.noter||null===(o=l.properties)||void 0===o||!o.NOTER_PAGE||(J.current=Jt(Jt({},J.current),{},(0,i.Z)({},l.id,l)),!1)})).filter((function(e){var n,t=(null!==(n=u[null===e||void 0===e?void 0:e.id])&&void 0!==n?n:[]).filter((function(e){return!J.current[e.source]&&!J.current[e.target]}));return!h.orphans||(h.parent?0!==t.length:0!==t.length&&t.some((function(e){return!["parent","heading"].includes(e.type)})))})),t=n.map((function(e){return e.id})),r=s.links.filter((function(e){var n=yn(e),r=(0,l.Z)(n,2),o=r[0],i=r[1];if(!t.includes(o)||!t.includes(i))return!1;var s=e;return h.parent?"heading"===h.parent?"parent"!==s.type:"heading"!==s.type:!["parent","heading"].includes(s.type)}));Q.current=r.reduce((function(e,n){var t,r,s,c=n,a=yn(c),d=(0,l.Z)(a,2),u=d[0],h=d[1];return Jt(Jt({},e),{},(s={},(0,i.Z)(s,u,[].concat((0,o.Z)(null!==(t=e[u])&&void 0!==t?t:[]),[c])),(0,i.Z)(s,h,[].concat((0,o.Z)(null!==(r=e[h])&&void 0!==r?r:[]),[c])),s))}),{});var c=r.map((function(e){var n=yn(e),t=(0,l.Z)(n,2);return{target:t[0],source:t[1],weight:"cite"===e.type?1:2}}));if("community"===Z.method){var a=m()().nodes(t).edges(c);R.current=a()}return{nodes:n,links:r}}),[h,s,Z.method]),$=(0,v.useState)({nodes:[],links:[]}),Y=$[0],ee=$[1];(0,v.useEffect)((function(){if(w.nodeIds.length){var e=w.nodeIds.length>1?Y.nodes.filter((function(e){return!w.excludedNodeIds.includes(e.id)})):[],n=e.map((function(e){return e.id})),t=function(e){var n=e.ids,t=e.excludedIds,r=e.n,o=e.linksByNodeId,i=[n[0]],s=[],c=[n[0]];return Array.from({length:r},(function(){i.forEach((function(e){var n;(null!==(n=o[e])&&void 0!==n?n:[]).forEach((function(e){var n=yn(e),r=(0,l.Z)(n,2),o=r[0],i=r[1];t.some((function(e){return[o,i].includes(e)}))||(c.includes(o)?c.includes(i)||s.push(i):s.push(o))}))})),i=s,s.forEach((function(e){return e&&c.push(e)})),s=[]})),c}({ids:w.nodeIds,excludedIds:w.excludedNodeIds,n:k.neighbors,linksByNodeId:Q.current}),r=K.nodes.filter((function(r){var o;return e.length?!n.includes(r.id)&&(null!==(o=Q.current[r.id])&&void 0!==o?o:[]).some((function(e){var n=yn(e),t=(0,l.Z)(n,2),r=t[0],o=t[1];return!w.excludedNodeIds.includes(r)&&!w.excludedNodeIds.includes(o)&&(w.nodeIds.includes(r)||w.nodeIds.includes(o))})):t.includes(r.id)})).map((function(e){return Jt(Jt({},e),{},{x:0,y:0,vy:0,vx:0})})),i=[].concat((0,o.Z)(e),(0,o.Z)(r)),s=i.map((function(e){return e.id})),c=(w.nodeIds.length>1?Y.links:[]).filter((function(e){w.excludedNodeIds.some((function(n){return yn(e).includes(n)}))})),a=K.links.filter((function(e){var t=yn(e),r=(0,l.Z)(t,2),o=r[0],i=r[1];return!(c.length&&n.includes(i)&&n.includes(o))&&(s.includes(o)&&s.includes(i))})).map((function(e){var n=yn(e),t=(0,l.Z)(n,2);return{source:t[0],target:t[1]}})),d=[].concat((0,o.Z)(c),(0,o.Z)(a));ee({nodes:i,links:d})}}),[k.neighbors,h,w,w.excludedNodeIds,w.nodeIds,s,K.links,K.nodes]),(0,v.useEffect)((function(){(0,r.Z)(c().mark((function e(){var r,o;return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=n.current,e.next=3,Kt;case 3:o=e.sent,!t.gravityOn||w.nodeIds.length&&!t.gravityLocal?(r.d3Force("x",null),r.d3Force("y",null),a&&r.d3Force("z",null)):(r.d3Force("x",o.forceX().strength(t.gravity)),r.d3Force("y",o.forceY().strength(t.gravity)),a&&r.d3Force("z",o.forceZ().strength(t.gravity))),t.centering?r.d3Force("center",o.forceCenter().strength(t.centeringStrength)):r.d3Force("center",null),t.linkStrength&&r.d3Force("link").strength(t.linkStrength),t.linkIts&&r.d3Force("link").iterations(t.linkIts),t.charge&&r.d3Force("charge").strength(t.charge),r.d3Force("collide",t.collision?o.forceCollide().radius(t.collisionStrength):null);case 10:case"end":return e.stop()}}),e)})))()}),[t,a,w]),(0,v.useEffect)((function(){var e;null===(e=n.current)||void 0===e||e.d3ReheatSimulation()}),[t,w.nodeIds.length]);var ne=(0,v.useRef)(0),te=(0,v.useState)(1),oe=te[0],ie=te[1],le=(0,f._7)((function(e){return ie(e)}),{duration:b.animationSpeed,algorithm:L[b.algorithmName]}),se=(0,l.Z)(le,2),ce=se[0],ae=se[1],de=(0,f._7)((function(e){return ie(Math.min(oe,-1*(e-1)))}),{duration:b.animationSpeed,algorithm:L[b.algorithmName]}),ue=(0,l.Z)(de,2),he=ue[0],ge=ue[1],fe=(0,v.useMemo)((function(){var e;if(!G.current)return{};var n=Q.current[G.current.id];return n?Object.fromEntries([null===(e=G.current)||void 0===e?void 0:e.id].concat((0,o.Z)(n.flatMap((function(e){return[e.source,e.target]})))).map((function(e){return[e,{}]}))):{}}),[G.current,Q.current]);(0,v.useEffect)((function(){null!==P&&void 0!==P&&P.id?V(P):V(null)}),[P]);var pe=(0,v.useRef)(null);(0,v.useEffect)((function(){if(G.current=M,M&&(pe.current=M),!b.highlightAnim)return ie(M?1:0);M?ce():(ae(),oe>.5?he():ie(0))}),[M]);var xe=(0,v.useMemo)((function(){return Object.fromEntries(W.map((function(e){var n=sn(e,_),t=W.map((function(e){return[e,x.Z(n,sn(e,_))]}));return[e,Object.fromEntries(t)]})))}),[q]),je=(0,v.useMemo)((function(){var e,n,t,r=null!==(e=Q.current[null===(n=pe.current)||void 0===n?void 0:n.id])&&void 0!==e?e:[];return Object.fromEntries([null===(t=pe.current)||void 0===t?void 0:t.id].concat((0,o.Z)(r.flatMap((function(e){return yn(e)})))).map((function(e){return[e,{}]})))}),[JSON.stringify(M),pe.current,Q.current]),ve=(0,v.useMemo)((function(){return sn(b.labelTextColor,_)}),[b.labelTextColor,q]),be=(0,v.useMemo)((function(){return sn(b.labelBackgroundColor,_)}),[b.labelBackgroundColor,q]),me=(0,v.useState)(!1),ye=me[0],Ce=me[1],we=(0,v.useRef)(1),Oe={graphData:w.nodeIds.length?Y:K,width:D,height:B,backgroundColor:sn(b.backgroundColor,_),warmupTicks:1===w.nodeIds.length?100:w.nodeIds.length>1?20:0,onZoom:function(e){var n=e.k;e.x,e.y;return we.current=n},nodeColor:function(e){return function(e){var n,t,r=e.node,o=e.theme,i=e.highlightedNodes,l=e.previouslyHighlightedNodes,s=e.visuals,c=e.tagColors,a=e.highlightColors,d=e.opacity,u=e.emacsNodeId,h=e.linksByNodeId,g=e.cluster,f=e.coloring,p=i[r.id]||l[r.id];if(s.emacsNodeColor&&r.id===u)return sn(s.emacsNodeColor,o);if(c&&null!==r&&void 0!==r&&r.tags.some((function(e){return c[e]}))){var x=c[null===r||void 0===r?void 0:r.tags.filter((function(e){return c[e]}))[0]];return p?a[x][x](s.highlightFade*d):a[x][s.backgroundColor](s.highlightFade*d)}return s.citeNodeColor&&null!==r&&void 0!==r&&null!==(n=r.properties)&&void 0!==n&&n.ROAM_REFS&&null!==r&&void 0!==r&&null!==(t=r.properties)&&void 0!==t&&t.FILELESS?p?sn(s.citeNodeColor,o):a[s.citeNodeColor][s.backgroundColor](s.highlightFade*d):s.refNodeColor&&r.properties.ROAM_REFS?p?sn(s.refNodeColor,o):a[s.refNodeColor][s.backgroundColor](s.highlightFade*d):p?s.nodeHighlight?a[qt({id:r.id,cluster:g,coloring:f,linksByNodeId:h,visuals:s})][s.nodeHighlight](d):sn(qt({id:r.id,cluster:g,coloring:f,linksByNodeId:h,visuals:s}),o):a[qt({id:r.id,cluster:g,coloring:f,linksByNodeId:h,visuals:s})][s.backgroundColor](s.highlightFade*d)}({node:e,theme:_,visuals:b,cluster:R.current,coloring:Z,emacsNodeId:p,highlightColors:xe,highlightedNodes:fe,previouslyHighlightedNodes:je,linksByNodeId:Q.current,opacity:oe,tagColors:I})},nodeRelSize:b.nodeRel,nodeVal:function(e){return Vt({node:e,highlightedNodes:fe,linksByNodeId:Q.current,opacity:oe,previouslyHighlightedNodes:je,visuals:b})/Math.pow(we.current,b.nodeZoomSize)},nodeCanvasObject:function(e,n,t){Ut(Jt({nodeRel:b.nodeRel,filteredLinksByNodeId:Q.current,lastHoverNode:pe.current},{node:e,ctx:n,globalScale:t,highlightedNodes:fe,previouslyHighlightedNodes:je,visuals:b,opacity:oe,labelTextColor:ve,labelBackgroundColor:be,hoverNode:M}))},nodeCanvasObjectMode:function(){return"after"},linkDirectionalParticles:b.particles?b.particlesNumber:void 0,linkDirectionalArrowLength:b.arrows?b.arrowsLength:void 0,linkDirectionalArrowRelPos:b.arrowsPos,linkDirectionalArrowColor:b.arrowsColor?function(){return sn(b.arrowsColor,_)}:void 0,linkColor:function(e){var n,t="object"===typeof e.source?e.source.id:e.source,r="object"===typeof e.target?e.target.id:e.target,o=Xt(e,G.current),i=Xt(e,pe.current),l=o||i,s=e;return b.refLinkColor&&"ref"===s.type?l&&(b.refLinkHighlightColor||b.linkHighlight)?xe[b.refLinkColor][b.refLinkHighlightColor||b.linkHighlight](oe):xe[b.refLinkColor][b.backgroundColor](b.highlightFade*oe):b.citeLinkColor&&null!==(n=s.type)&&void 0!==n&&n.includes("cite")?l&&(b.citeLinkHighlightColor||b.linkHighlight)?xe[b.citeLinkColor][b.citeLinkHighlightColor||b.linkHighlight](oe):xe[b.citeLinkColor][b.backgroundColor](b.highlightFade*oe):function(e){var n=e.sourceId,t=e.targetId,r=e.needsHighlighting,o=e.theme,i=e.visuals,l=e.highlightColors,s=e.opacity,c=e.linksByNodeId,a=e.coloring,d=e.cluster;if(!i.linkHighlight&&!i.linkColorScheme&&!r){var u=Gt({sourceId:n,targetId:t,linksByNodeId:c,visuals:i,coloring:a,cluster:d});return sn(u,o)}if(!r&&!i.linkColorScheme)return l[Gt({sourceId:n,targetId:t,linksByNodeId:c,visuals:i,coloring:a,cluster:d})][i.backgroundColor](i.highlightFade*s);if(!r)return l[i.linkColorScheme][i.backgroundColor](i.highlightFade*s);if(!i.linkHighlight&&!i.linkColorScheme){var h=Gt({sourceId:n,targetId:t,linksByNodeId:c,visuals:i,coloring:a,cluster:d});return sn(h,o)}return i.linkHighlight?i.linkColorScheme?l[i.linkColorScheme][i.linkHighlight](s):l[Gt({sourceId:n,targetId:t,linksByNodeId:c,visuals:i,coloring:a,cluster:d})][i.linkHighlight](s):sn(i.linkColorScheme,o)}({sourceId:t,targetId:r,needsHighlighting:l,theme:_,cluster:R.current,coloring:Z,highlightColors:xe,linksByNodeId:Q.current,opacity:oe,visuals:b})},linkWidth:function(e){if(1===b.highlightLinkSize)return b.linkWidth;var n=Xt(e,G.current),t=Xt(e,pe.current);return n||t?b.linkWidth*(1+oe*(b.highlightLinkSize-1)):b.linkWidth},linkDirectionalParticleWidth:b.particlesWidth,d3AlphaDecay:t.alphaDecay,d3AlphaMin:t.alphaMin,d3VelocityDecay:t.velocityDecay,onNodeClick:function(e,n){var t=e,r=n.timeStamp-ne.current<200;if(ne.current=n.timeStamp,r)return X("double",t,n);var o=ne.current;return setTimeout((function(){if(ne.current===o)return X("click",t,n)}),200)},onNodeHover:function(e){b.highlight&&(ye||(M||(ge(),ie(0)),V(e)))},onNodeRightClick:function(e,n){X("right",e,n)},onNodeDrag:function(e){V(e),Ce(!0)},onNodeDragEnd:function(){V(null),Ce(!1)}};return(0,re.jsx)(d.Box,{overflow:"hidden",onClick:z.onClose,children:a?(0,re.jsx)(Yt,Jt(Jt({ref:n},Oe),{},{nodeThreeObjectExtend:!0,nodeOpacity:b.nodeOpacity,nodeResolution:b.nodeResolution,linkOpacity:b.linkOpacity,nodeThreeObject:function(e){if(b.labels&&(!(b.labels<3)||fe[e.id])){var n=new O.Z(e.title.substring(0,40));return n.color=sn(b.labelTextColor,_),n.backgroundColor=sn(b.labelBackgroundColor,_),n.padding=2,n.textHeight=8,n}}})):(0,re.jsx)($t,Jt(Jt({ref:n},Oe),{},{linkLineDash:function(e){var n,t=e;return b.citeDashes&&null!==(n=t.type)&&void 0!==n&&n.includes("cite")?[b.citeDashLength,b.citeGapLength]:b.refDashes&&"ref"==t.type?[b.refDashLength,b.refGapLength]:null}}))})}},45301:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/",function(){return t(46587)}])}},function(e){e.O(0,[774,737,876,228,866,13,874,573,446,879,888,179],(function(){return n=45301,e(e.s=n);var n}));var n=e.O();_N_E=n}]);
\ No newline at end of file diff --git a/out/index.html b/out/index.html index 24c1024..5ca53eb 100644 --- a/out/index.html +++ b/out/index.html @@ -1 +1 @@ -<!DOCTYPE html><html><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><meta name="next-head-count" content="2"/><link rel="preload" href="/_next/static/css/a37ded5ec4cf14937ec5.css" as="style"/><link rel="stylesheet" href="/_next/static/css/a37ded5ec4cf14937ec5.css" data-n-g=""/><link rel="preload" href="/_next/static/css/bdf775d76e641698f02f.css" as="style"/><link rel="stylesheet" href="/_next/static/css/bdf775d76e641698f02f.css" data-n-p=""/><noscript data-n-css=""></noscript><script defer="" nomodule="" src="/_next/static/chunks/polyfills-a40ef1678bae11e696dba45124eadd70.js"></script><script src="/_next/static/chunks/webpack-97b7769aa68ab46953a1.js" defer=""></script><script src="/_next/static/chunks/framework-a62d654bd9699da79f2a.js" defer=""></script><script src="/_next/static/chunks/main-80dde85f3cea1551bba1.js" defer=""></script><script src="/_next/static/chunks/pages/_app-0446451a5624316e6d5d.js" defer=""></script><script src="/_next/static/chunks/fb7d5399-9c00dff9225b87a317ed.js" defer=""></script><script src="/_next/static/chunks/17007de1-7d8b9c17ee7cc8107af3.js" defer=""></script><script src="/_next/static/chunks/252f366e-54a484ebfe8fe95dfdbb.js" defer=""></script><script src="/_next/static/chunks/95b64a6e-860b8751a48619de0c76.js" defer=""></script><script src="/_next/static/chunks/0c428ae2-753f1ebbec24c403674c.js" defer=""></script><script src="/_next/static/chunks/1a48c3c1-648f6631a5e9a5f8e954.js" defer=""></script><script src="/_next/static/chunks/b5f2ed29-b8c45246e6f61610d91f.js" defer=""></script><script src="/_next/static/chunks/d25bd147-2c59edc357c0e2372258.js" defer=""></script><script src="/_next/static/chunks/879-09bfd8a9d59d1f41b6f4.js" defer=""></script><script src="/_next/static/chunks/pages/index-d0602a908c162f7c5496.js" defer=""></script><script src="/_next/static/jl9qrr_7bhMugoK5uUQaL/_buildManifest.js" defer=""></script><script src="/_next/static/jl9qrr_7bhMugoK5uUQaL/_ssgManifest.js" defer=""></script></head><body><div id="__next"><style data-emotion="css-global 8u9pn4">:host,:root{--chakra-ring-inset:var(--chakra-empty,/*!*/ /*!*/);--chakra-ring-offset-width:0px;--chakra-ring-offset-color:#fff;--chakra-ring-color:rgba(66, 153, 225, 0.6);--chakra-ring-offset-shadow:0 0 #0000;--chakra-ring-shadow:0 0 #0000;--chakra-space-x-reverse:0;--chakra-space-y-reverse:0;--chakra-colors-transparent:transparent;--chakra-colors-current:currentColor;--chakra-colors-black:#bbc2cf;--chakra-colors-white:#242730;--chakra-colors-whiteAlpha-50:rgba(255, 255, 255, 0.04);--chakra-colors-whiteAlpha-100:rgba(255, 255, 255, 0.06);--chakra-colors-whiteAlpha-200:rgba(255, 255, 255, 0.08);--chakra-colors-whiteAlpha-300:rgba(255, 255, 255, 0.16);--chakra-colors-whiteAlpha-400:rgba(255, 255, 255, 0.24);--chakra-colors-whiteAlpha-500:rgba(255, 255, 255, 0.36);--chakra-colors-whiteAlpha-600:rgba(255, 255, 255, 0.48);--chakra-colors-whiteAlpha-700:rgba(255, 255, 255, 0.64);--chakra-colors-whiteAlpha-800:rgba(255, 255, 255, 0.80);--chakra-colors-whiteAlpha-900:rgba(255, 255, 255, 0.92);--chakra-colors-blackAlpha-50:rgba(0, 0, 0, 0.04);--chakra-colors-blackAlpha-100:rgba(0, 0, 0, 0.06);--chakra-colors-blackAlpha-200:rgba(0, 0, 0, 0.08);--chakra-colors-blackAlpha-300:rgba(0, 0, 0, 0.16);--chakra-colors-blackAlpha-400:rgba(0, 0, 0, 0.24);--chakra-colors-blackAlpha-500:rgba(0, 0, 0, 0.36);--chakra-colors-blackAlpha-600:rgba(0, 0, 0, 0.48);--chakra-colors-blackAlpha-700:rgba(0, 0, 0, 0.64);--chakra-colors-blackAlpha-800:rgba(0, 0, 0, 0.80);--chakra-colors-blackAlpha-900:rgba(0, 0, 0, 0.92);--chakra-colors-gray-50:#F7FAFC;--chakra-colors-gray-100:#1c1f24;--chakra-colors-gray-200:rgb(29, 33, 38);--chakra-colors-gray-300:#21272d;--chakra-colors-gray-400:#23272e;--chakra-colors-gray-500:#484854;--chakra-colors-gray-600:#62686E;--chakra-colors-gray-700:#757B80;--chakra-colors-gray-800:#9ca0a4;--chakra-colors-gray-900:#DFDFDF;--chakra-colors-red-50:#FFF5F5;--chakra-colors-red-100:#FED7D7;--chakra-colors-red-200:#FEB2B2;--chakra-colors-red-300:#FC8181;--chakra-colors-red-400:#F56565;--chakra-colors-red-500:#ff665c;--chakra-colors-red-600:#C53030;--chakra-colors-red-700:#9B2C2C;--chakra-colors-red-800:#822727;--chakra-colors-red-900:#63171B;--chakra-colors-orange-50:#FFFAF0;--chakra-colors-orange-100:#FEEBC8;--chakra-colors-orange-200:#FBD38D;--chakra-colors-orange-300:#F6AD55;--chakra-colors-orange-400:#ED8936;--chakra-colors-orange-500:#e69055;--chakra-colors-orange-600:#C05621;--chakra-colors-orange-700:#9C4221;--chakra-colors-orange-800:#7B341E;--chakra-colors-orange-900:#652B19;--chakra-colors-yellow-50:#FFFFF0;--chakra-colors-yellow-100:#FEFCBF;--chakra-colors-yellow-200:#FAF089;--chakra-colors-yellow-300:#F6E05E;--chakra-colors-yellow-400:#ECC94B;--chakra-colors-yellow-500:#FCCE7B;--chakra-colors-yellow-600:#B7791F;--chakra-colors-yellow-700:#975A16;--chakra-colors-yellow-800:#744210;--chakra-colors-yellow-900:#5F370E;--chakra-colors-green-50:#F0FFF4;--chakra-colors-green-100:#C6F6D5;--chakra-colors-green-200:#9AE6B4;--chakra-colors-green-300:#68D391;--chakra-colors-green-400:#48BB78;--chakra-colors-green-500:#7bc275;--chakra-colors-green-600:#2F855A;--chakra-colors-green-700:#276749;--chakra-colors-green-800:#22543D;--chakra-colors-green-900:#1C4532;--chakra-colors-teal-50:#E6FFFA;--chakra-colors-teal-100:#B2F5EA;--chakra-colors-teal-200:#81E6D9;--chakra-colors-teal-300:#4FD1C5;--chakra-colors-teal-400:#38B2AC;--chakra-colors-teal-500:#51afef;--chakra-colors-teal-600:#2C7A7B;--chakra-colors-teal-700:#285E61;--chakra-colors-teal-800:#234E52;--chakra-colors-teal-900:#1D4044;--chakra-colors-blue-50:#ebf8ff;--chakra-colors-blue-100:#bee3f8;--chakra-colors-blue-200:#90cdf4;--chakra-colors-blue-300:#63b3ed;--chakra-colors-blue-400:#4299e1;--chakra-colors-blue-500:#51afef;--chakra-colors-blue-600:#2b6cb0;--chakra-colors-blue-700:#2c5282;--chakra-colors-blue-800:#2a4365;--chakra-colors-blue-900:#1A365D;--chakra-colors-cyan-50:#EDFDFD;--chakra-colors-cyan-100:#C4F1F9;--chakra-colors-cyan-200:#9DECF9;--chakra-colors-cyan-300:#76E4F7;--chakra-colors-cyan-400:#0BC5EA;--chakra-colors-cyan-500:#5cEfFF;--chakra-colors-cyan-600:#00A3C4;--chakra-colors-cyan-700:#0987A0;--chakra-colors-cyan-800:#086F83;--chakra-colors-cyan-900:#065666;--chakra-colors-purple-50:#FAF5FF;--chakra-colors-purple-100:#E9D8FD;--chakra-colors-purple-200:#D6BCFA;--chakra-colors-purple-300:#B794F4;--chakra-colors-purple-400:#9F7AEA;--chakra-colors-purple-500:#a991f1;--chakra-colors-purple-600:#6B46C1;--chakra-colors-purple-700:#553C9A;--chakra-colors-purple-800:#44337A;--chakra-colors-purple-900:#322659;--chakra-colors-pink-50:#FFF5F7;--chakra-colors-pink-100:#FED7E2;--chakra-colors-pink-200:#FBB6CE;--chakra-colors-pink-300:#F687B3;--chakra-colors-pink-400:#ED64A6;--chakra-colors-pink-500:#C57BDB;--chakra-colors-pink-600:#B83280;--chakra-colors-pink-700:#97266D;--chakra-colors-pink-800:#702459;--chakra-colors-pink-900:#521B41;--chakra-colors-linkedin-50:#E8F4F9;--chakra-colors-linkedin-100:#CFEDFB;--chakra-colors-linkedin-200:#9BDAF3;--chakra-colors-linkedin-300:#68C7EC;--chakra-colors-linkedin-400:#34B3E4;--chakra-colors-linkedin-500:#00A0DC;--chakra-colors-linkedin-600:#008CC9;--chakra-colors-linkedin-700:#0077B5;--chakra-colors-linkedin-800:#005E93;--chakra-colors-linkedin-900:#004471;--chakra-colors-facebook-50:#E8F4F9;--chakra-colors-facebook-100:#D9DEE9;--chakra-colors-facebook-200:#B7C2DA;--chakra-colors-facebook-300:#6482C0;--chakra-colors-facebook-400:#4267B2;--chakra-colors-facebook-500:#385898;--chakra-colors-facebook-600:#314E89;--chakra-colors-facebook-700:#29487D;--chakra-colors-facebook-800:#223B67;--chakra-colors-facebook-900:#1E355B;--chakra-colors-messenger-50:#D0E6FF;--chakra-colors-messenger-100:#B9DAFF;--chakra-colors-messenger-200:#A2CDFF;--chakra-colors-messenger-300:#7AB8FF;--chakra-colors-messenger-400:#2E90FF;--chakra-colors-messenger-500:#0078FF;--chakra-colors-messenger-600:#0063D1;--chakra-colors-messenger-700:#0052AC;--chakra-colors-messenger-800:#003C7E;--chakra-colors-messenger-900:#002C5C;--chakra-colors-whatsapp-50:#dffeec;--chakra-colors-whatsapp-100:#b9f5d0;--chakra-colors-whatsapp-200:#90edb3;--chakra-colors-whatsapp-300:#65e495;--chakra-colors-whatsapp-400:#3cdd78;--chakra-colors-whatsapp-500:#22c35e;--chakra-colors-whatsapp-600:#179848;--chakra-colors-whatsapp-700:#0c6c33;--chakra-colors-whatsapp-800:#01421c;--chakra-colors-whatsapp-900:#001803;--chakra-colors-twitter-50:#E5F4FD;--chakra-colors-twitter-100:#C8E9FB;--chakra-colors-twitter-200:#A8DCFA;--chakra-colors-twitter-300:#83CDF7;--chakra-colors-twitter-400:#57BBF5;--chakra-colors-twitter-500:#1DA1F2;--chakra-colors-twitter-600:#1A94DA;--chakra-colors-twitter-700:#1681BF;--chakra-colors-twitter-800:#136B9E;--chakra-colors-twitter-900:#0D4D71;--chakra-colors-telegram-50:#E3F2F9;--chakra-colors-telegram-100:#C5E4F3;--chakra-colors-telegram-200:#A2D4EC;--chakra-colors-telegram-300:#7AC1E4;--chakra-colors-telegram-400:#47A9DA;--chakra-colors-telegram-500:#0088CC;--chakra-colors-telegram-600:#007AB8;--chakra-colors-telegram-700:#006BA1;--chakra-colors-telegram-800:#005885;--chakra-colors-telegram-900:#003F5E;--chakra-colors-alt-100:#2a2e38;--chakra-colors-alt-900:#5D656B;--chakra-borders-none:0;--chakra-borders-1px:1px solid;--chakra-borders-2px:2px solid;--chakra-borders-4px:4px solid;--chakra-borders-8px:8px solid;--chakra-fonts-heading:-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";--chakra-fonts-body:-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";--chakra-fonts-mono:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--chakra-fontSizes-xs:0.75rem;--chakra-fontSizes-sm:0.875rem;--chakra-fontSizes-md:1rem;--chakra-fontSizes-lg:1.125rem;--chakra-fontSizes-xl:1.25rem;--chakra-fontSizes-2xl:1.5rem;--chakra-fontSizes-3xl:1.875rem;--chakra-fontSizes-4xl:2.25rem;--chakra-fontSizes-5xl:3rem;--chakra-fontSizes-6xl:3.75rem;--chakra-fontSizes-7xl:4.5rem;--chakra-fontSizes-8xl:6rem;--chakra-fontSizes-9xl:8rem;--chakra-fontWeights-hairline:100;--chakra-fontWeights-thin:200;--chakra-fontWeights-light:300;--chakra-fontWeights-normal:400;--chakra-fontWeights-medium:500;--chakra-fontWeights-semibold:600;--chakra-fontWeights-bold:700;--chakra-fontWeights-extrabold:800;--chakra-fontWeights-black:900;--chakra-letterSpacings-tighter:-0.05em;--chakra-letterSpacings-tight:-0.025em;--chakra-letterSpacings-normal:0;--chakra-letterSpacings-wide:0.025em;--chakra-letterSpacings-wider:0.05em;--chakra-letterSpacings-widest:0.1em;--chakra-lineHeights-3:.75rem;--chakra-lineHeights-4:1rem;--chakra-lineHeights-5:1.25rem;--chakra-lineHeights-6:1.5rem;--chakra-lineHeights-7:1.75rem;--chakra-lineHeights-8:2rem;--chakra-lineHeights-9:2.25rem;--chakra-lineHeights-10:2.5rem;--chakra-lineHeights-normal:normal;--chakra-lineHeights-none:1;--chakra-lineHeights-shorter:1.25;--chakra-lineHeights-short:1.375;--chakra-lineHeights-base:1.5;--chakra-lineHeights-tall:1.625;--chakra-lineHeights-taller:2;--chakra-radii-none:0;--chakra-radii-sm:0.125rem;--chakra-radii-base:0.25rem;--chakra-radii-md:0.375rem;--chakra-radii-lg:0.5rem;--chakra-radii-xl:0.75rem;--chakra-radii-2xl:1rem;--chakra-radii-3xl:1.5rem;--chakra-radii-full:9999px;--chakra-space-1:0.25rem;--chakra-space-2:0.5rem;--chakra-space-3:0.75rem;--chakra-space-4:1rem;--chakra-space-5:1.25rem;--chakra-space-6:1.5rem;--chakra-space-7:1.75rem;--chakra-space-8:2rem;--chakra-space-9:2.25rem;--chakra-space-10:2.5rem;--chakra-space-12:3rem;--chakra-space-14:3.5rem;--chakra-space-16:4rem;--chakra-space-20:5rem;--chakra-space-24:6rem;--chakra-space-28:7rem;--chakra-space-32:8rem;--chakra-space-36:9rem;--chakra-space-40:10rem;--chakra-space-44:11rem;--chakra-space-48:12rem;--chakra-space-52:13rem;--chakra-space-56:14rem;--chakra-space-60:15rem;--chakra-space-64:16rem;--chakra-space-72:18rem;--chakra-space-80:20rem;--chakra-space-96:24rem;--chakra-space-px:1px;--chakra-space-0-5:0.125rem;--chakra-space-1-5:0.375rem;--chakra-space-2-5:0.625rem;--chakra-space-3-5:0.875rem;--chakra-shadows-xs:0 0 0 1px rgba(0, 0, 0, 0.05);--chakra-shadows-sm:0 1px 2px 0 rgba(0, 0, 0, 0.05);--chakra-shadows-base:0 1px 3px 0 rgba(0, 0, 0, 0.1),0 1px 2px 0 rgba(0, 0, 0, 0.06);--chakra-shadows-md:0 4px 6px -1px rgba(0, 0, 0, 0.1),0 2px 4px -1px rgba(0, 0, 0, 0.06);--chakra-shadows-lg:0 10px 15px -3px rgba(0, 0, 0, 0.1),0 4px 6px -2px rgba(0, 0, 0, 0.05);--chakra-shadows-xl:0 20px 25px -5px rgba(0, 0, 0, 0.1),0 10px 10px -5px rgba(0, 0, 0, 0.04);--chakra-shadows-2xl:0 25px 50px -12px rgba(0, 0, 0, 0.25);--chakra-shadows-outline:0 0 0 3px #a991f1aa;--chakra-shadows-inner:inset 0 2px 4px 0 rgba(0,0,0,0.06);--chakra-shadows-none:none;--chakra-shadows-dark-lg:rgba(0, 0, 0, 0.1) 0px 0px 0px 1px,rgba(0, 0, 0, 0.2) 0px 5px 10px,rgba(0, 0, 0, 0.4) 0px 15px 40px;--chakra-sizes-1:0.25rem;--chakra-sizes-2:0.5rem;--chakra-sizes-3:0.75rem;--chakra-sizes-4:1rem;--chakra-sizes-5:1.25rem;--chakra-sizes-6:1.5rem;--chakra-sizes-7:1.75rem;--chakra-sizes-8:2rem;--chakra-sizes-9:2.25rem;--chakra-sizes-10:2.5rem;--chakra-sizes-12:3rem;--chakra-sizes-14:3.5rem;--chakra-sizes-16:4rem;--chakra-sizes-20:5rem;--chakra-sizes-24:6rem;--chakra-sizes-28:7rem;--chakra-sizes-32:8rem;--chakra-sizes-36:9rem;--chakra-sizes-40:10rem;--chakra-sizes-44:11rem;--chakra-sizes-48:12rem;--chakra-sizes-52:13rem;--chakra-sizes-56:14rem;--chakra-sizes-60:15rem;--chakra-sizes-64:16rem;--chakra-sizes-72:18rem;--chakra-sizes-80:20rem;--chakra-sizes-96:24rem;--chakra-sizes-px:1px;--chakra-sizes-0-5:0.125rem;--chakra-sizes-1-5:0.375rem;--chakra-sizes-2-5:0.625rem;--chakra-sizes-3-5:0.875rem;--chakra-sizes-max:max-content;--chakra-sizes-min:min-content;--chakra-sizes-full:100%;--chakra-sizes-3xs:14rem;--chakra-sizes-2xs:16rem;--chakra-sizes-xs:20rem;--chakra-sizes-sm:24rem;--chakra-sizes-md:28rem;--chakra-sizes-lg:32rem;--chakra-sizes-xl:36rem;--chakra-sizes-2xl:42rem;--chakra-sizes-3xl:48rem;--chakra-sizes-4xl:56rem;--chakra-sizes-5xl:64rem;--chakra-sizes-6xl:72rem;--chakra-sizes-7xl:80rem;--chakra-sizes-8xl:90rem;--chakra-sizes-container-sm:640px;--chakra-sizes-container-md:768px;--chakra-sizes-container-lg:1024px;--chakra-sizes-container-xl:1280px;--chakra-zIndices-hide:-1;--chakra-zIndices-auto:auto;--chakra-zIndices-base:0;--chakra-zIndices-docked:10;--chakra-zIndices-dropdown:1000;--chakra-zIndices-sticky:1100;--chakra-zIndices-banner:1200;--chakra-zIndices-overlay:1300;--chakra-zIndices-modal:1400;--chakra-zIndices-popover:1500;--chakra-zIndices-skipLink:1600;--chakra-zIndices-toast:1700;--chakra-zIndices-tooltip:1800;--chakra-transition-property-common:background-color,border-color,color,fill,stroke,opacity,box-shadow,transform;--chakra-transition-property-colors:background-color,border-color,color,fill,stroke;--chakra-transition-property-dimensions:width,height;--chakra-transition-property-position:left,right,top,bottom;--chakra-transition-property-background:background-color,background-image,background-position;--chakra-transition-easing-ease-in:cubic-bezier(0.4, 0, 1, 1);--chakra-transition-easing-ease-out:cubic-bezier(0, 0, 0.2, 1);--chakra-transition-easing-ease-in-out:cubic-bezier(0.4, 0, 0.2, 1);--chakra-transition-duration-ultra-fast:50ms;--chakra-transition-duration-faster:100ms;--chakra-transition-duration-fast:150ms;--chakra-transition-duration-normal:200ms;--chakra-transition-duration-slow:300ms;--chakra-transition-duration-slower:400ms;--chakra-transition-duration-ultra-slow:500ms;--chakra-blur-none:0;--chakra-blur-sm:4px;--chakra-blur-base:8px;--chakra-blur-md:12px;--chakra-blur-lg:16px;--chakra-blur-xl:24px;--chakra-blur-2xl:40px;--chakra-blur-3xl:64px;}</style><style data-emotion="css-global 1jqlf9g">html{line-height:1.5;-webkit-text-size-adjust:100%;font-family:system-ui,sans-serif;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale;touch-action:manipulation;}body{position:relative;min-height:100%;font-feature-settings:'kern';}*,*::before,*::after{border-width:0;border-style:solid;box-sizing:border-box;}main{display:block;}hr{border-top-width:1px;box-sizing:content-box;height:0;overflow:visible;}pre,code,kbd,samp{font-family:SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:1em;}a{background-color:transparent;color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit;}abbr[title]{border-bottom:none;-webkit-text-decoration:underline;text-decoration:underline;-webkit-text-decoration:underline dotted;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;}b,strong{font-weight:bold;}small{font-size:80%;}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline;}sub{bottom:-0.25em;}sup{top:-0.5em;}img{border-style:none;}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible;}button,select{text-transform:none;}button::-moz-focus-inner,[type="button"]::-moz-focus-inner,[type="reset"]::-moz-focus-inner,[type="submit"]::-moz-focus-inner{border-style:none;padding:0;}fieldset{padding:0.35em 0.75em 0.625em;}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline;}textarea{overflow:auto;}[type="checkbox"],[type="radio"]{box-sizing:border-box;padding:0;}[type="number"]::-webkit-inner-spin-button,[type="number"]::-webkit-outer-spin-button{-webkit-appearance:none!important;}input[type="number"]{-moz-appearance:textfield;}[type="search"]{-webkit-appearance:textfield;outline-offset:-2px;}[type="search"]::-webkit-search-decoration{-webkit-appearance:none!important;}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block;}summary{display:-webkit-box;display:-webkit-list-item;display:-ms-list-itembox;display:list-item;}template{display:none;}[hidden]{display:none!important;}body,blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0;}button{background:transparent;padding:0;}fieldset{margin:0;padding:0;}ol,ul{margin:0;padding:0;}textarea{resize:vertical;}button,[role="button"]{cursor:pointer;}button::-moz-focus-inner{border:0!important;}table{border-collapse:collapse;}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit;}button,input,optgroup,select,textarea{padding:0;line-height:inherit;color:inherit;}img,svg,video,canvas,audio,iframe,embed,object{display:block;}img,video{max-width:100%;height:auto;}[data-js-focus-visible] :focus:not([data-focus-visible-added]){outline:none;box-shadow:none;}select::-ms-expand{display:none;}</style><style data-emotion="css-global 1baqkrf">body{font-family:var(--chakra-fonts-body);color:var(--chakra-colors-gray-800);background:var(--chakra-colors-white);transition-property:background-color;transition-duration:var(--chakra-transition-duration-normal);line-height:var(--chakra-lineHeights-base);}*::-webkit-input-placeholder{color:var(--chakra-colors-gray-400);}*::-moz-placeholder{color:var(--chakra-colors-gray-400);}*:-ms-input-placeholder{color:var(--chakra-colors-gray-400);}*::placeholder{color:var(--chakra-colors-gray-400);}*,*::before,::after{border-color:var(--chakra-colors-gray-200);word-wrap:break-word;}</style><span></span></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{}},"page":"/","query":{},"buildId":"jl9qrr_7bhMugoK5uUQaL","nextExport":true,"autoExport":true,"isFallback":false,"scriptLoader":[]}</script></body></html>
\ No newline at end of file +<!DOCTYPE html><html><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><meta name="next-head-count" content="2"/><link rel="preload" href="/_next/static/css/a37ded5ec4cf14937ec5.css" as="style"/><link rel="stylesheet" href="/_next/static/css/a37ded5ec4cf14937ec5.css" data-n-g=""/><link rel="preload" href="/_next/static/css/bdf775d76e641698f02f.css" as="style"/><link rel="stylesheet" href="/_next/static/css/bdf775d76e641698f02f.css" data-n-p=""/><noscript data-n-css=""></noscript><script defer="" nomodule="" src="/_next/static/chunks/polyfills-a40ef1678bae11e696dba45124eadd70.js"></script><script src="/_next/static/chunks/webpack-97b7769aa68ab46953a1.js" defer=""></script><script src="/_next/static/chunks/framework-a62d654bd9699da79f2a.js" defer=""></script><script src="/_next/static/chunks/main-80dde85f3cea1551bba1.js" defer=""></script><script src="/_next/static/chunks/pages/_app-5686c15726fcbac980ca.js" defer=""></script><script src="/_next/static/chunks/fb7d5399-9c00dff9225b87a317ed.js" defer=""></script><script src="/_next/static/chunks/17007de1-7d8b9c17ee7cc8107af3.js" defer=""></script><script src="/_next/static/chunks/252f366e-54a484ebfe8fe95dfdbb.js" defer=""></script><script src="/_next/static/chunks/95b64a6e-860b8751a48619de0c76.js" defer=""></script><script src="/_next/static/chunks/0c428ae2-753f1ebbec24c403674c.js" defer=""></script><script src="/_next/static/chunks/1a48c3c1-648f6631a5e9a5f8e954.js" defer=""></script><script src="/_next/static/chunks/b5f2ed29-b8c45246e6f61610d91f.js" defer=""></script><script src="/_next/static/chunks/d25bd147-2c59edc357c0e2372258.js" defer=""></script><script src="/_next/static/chunks/879-09bfd8a9d59d1f41b6f4.js" defer=""></script><script src="/_next/static/chunks/pages/index-f954a7866bfdd966749e.js" defer=""></script><script src="/_next/static/OY7xgp5amTQ-MjS0RPi98/_buildManifest.js" defer=""></script><script src="/_next/static/OY7xgp5amTQ-MjS0RPi98/_ssgManifest.js" defer=""></script></head><body><div id="__next"><style data-emotion="css-global 8u9pn4">:host,:root{--chakra-ring-inset:var(--chakra-empty,/*!*/ /*!*/);--chakra-ring-offset-width:0px;--chakra-ring-offset-color:#fff;--chakra-ring-color:rgba(66, 153, 225, 0.6);--chakra-ring-offset-shadow:0 0 #0000;--chakra-ring-shadow:0 0 #0000;--chakra-space-x-reverse:0;--chakra-space-y-reverse:0;--chakra-colors-transparent:transparent;--chakra-colors-current:currentColor;--chakra-colors-black:#bbc2cf;--chakra-colors-white:#242730;--chakra-colors-whiteAlpha-50:rgba(255, 255, 255, 0.04);--chakra-colors-whiteAlpha-100:rgba(255, 255, 255, 0.06);--chakra-colors-whiteAlpha-200:rgba(255, 255, 255, 0.08);--chakra-colors-whiteAlpha-300:rgba(255, 255, 255, 0.16);--chakra-colors-whiteAlpha-400:rgba(255, 255, 255, 0.24);--chakra-colors-whiteAlpha-500:rgba(255, 255, 255, 0.36);--chakra-colors-whiteAlpha-600:rgba(255, 255, 255, 0.48);--chakra-colors-whiteAlpha-700:rgba(255, 255, 255, 0.64);--chakra-colors-whiteAlpha-800:rgba(255, 255, 255, 0.80);--chakra-colors-whiteAlpha-900:rgba(255, 255, 255, 0.92);--chakra-colors-blackAlpha-50:rgba(0, 0, 0, 0.04);--chakra-colors-blackAlpha-100:rgba(0, 0, 0, 0.06);--chakra-colors-blackAlpha-200:rgba(0, 0, 0, 0.08);--chakra-colors-blackAlpha-300:rgba(0, 0, 0, 0.16);--chakra-colors-blackAlpha-400:rgba(0, 0, 0, 0.24);--chakra-colors-blackAlpha-500:rgba(0, 0, 0, 0.36);--chakra-colors-blackAlpha-600:rgba(0, 0, 0, 0.48);--chakra-colors-blackAlpha-700:rgba(0, 0, 0, 0.64);--chakra-colors-blackAlpha-800:rgba(0, 0, 0, 0.80);--chakra-colors-blackAlpha-900:rgba(0, 0, 0, 0.92);--chakra-colors-gray-50:#F7FAFC;--chakra-colors-gray-100:#1c1f24;--chakra-colors-gray-200:rgb(29, 33, 38);--chakra-colors-gray-300:#21272d;--chakra-colors-gray-400:#23272e;--chakra-colors-gray-500:#484854;--chakra-colors-gray-600:#62686E;--chakra-colors-gray-700:#757B80;--chakra-colors-gray-800:#9ca0a4;--chakra-colors-gray-900:#DFDFDF;--chakra-colors-red-50:#FFF5F5;--chakra-colors-red-100:#FED7D7;--chakra-colors-red-200:#FEB2B2;--chakra-colors-red-300:#FC8181;--chakra-colors-red-400:#F56565;--chakra-colors-red-500:#ff665c;--chakra-colors-red-600:#C53030;--chakra-colors-red-700:#9B2C2C;--chakra-colors-red-800:#822727;--chakra-colors-red-900:#63171B;--chakra-colors-orange-50:#FFFAF0;--chakra-colors-orange-100:#FEEBC8;--chakra-colors-orange-200:#FBD38D;--chakra-colors-orange-300:#F6AD55;--chakra-colors-orange-400:#ED8936;--chakra-colors-orange-500:#e69055;--chakra-colors-orange-600:#C05621;--chakra-colors-orange-700:#9C4221;--chakra-colors-orange-800:#7B341E;--chakra-colors-orange-900:#652B19;--chakra-colors-yellow-50:#FFFFF0;--chakra-colors-yellow-100:#FEFCBF;--chakra-colors-yellow-200:#FAF089;--chakra-colors-yellow-300:#F6E05E;--chakra-colors-yellow-400:#ECC94B;--chakra-colors-yellow-500:#FCCE7B;--chakra-colors-yellow-600:#B7791F;--chakra-colors-yellow-700:#975A16;--chakra-colors-yellow-800:#744210;--chakra-colors-yellow-900:#5F370E;--chakra-colors-green-50:#F0FFF4;--chakra-colors-green-100:#C6F6D5;--chakra-colors-green-200:#9AE6B4;--chakra-colors-green-300:#68D391;--chakra-colors-green-400:#48BB78;--chakra-colors-green-500:#7bc275;--chakra-colors-green-600:#2F855A;--chakra-colors-green-700:#276749;--chakra-colors-green-800:#22543D;--chakra-colors-green-900:#1C4532;--chakra-colors-teal-50:#E6FFFA;--chakra-colors-teal-100:#B2F5EA;--chakra-colors-teal-200:#81E6D9;--chakra-colors-teal-300:#4FD1C5;--chakra-colors-teal-400:#38B2AC;--chakra-colors-teal-500:#51afef;--chakra-colors-teal-600:#2C7A7B;--chakra-colors-teal-700:#285E61;--chakra-colors-teal-800:#234E52;--chakra-colors-teal-900:#1D4044;--chakra-colors-blue-50:#ebf8ff;--chakra-colors-blue-100:#bee3f8;--chakra-colors-blue-200:#90cdf4;--chakra-colors-blue-300:#63b3ed;--chakra-colors-blue-400:#4299e1;--chakra-colors-blue-500:#51afef;--chakra-colors-blue-600:#2b6cb0;--chakra-colors-blue-700:#2c5282;--chakra-colors-blue-800:#2a4365;--chakra-colors-blue-900:#1A365D;--chakra-colors-cyan-50:#EDFDFD;--chakra-colors-cyan-100:#C4F1F9;--chakra-colors-cyan-200:#9DECF9;--chakra-colors-cyan-300:#76E4F7;--chakra-colors-cyan-400:#0BC5EA;--chakra-colors-cyan-500:#5cEfFF;--chakra-colors-cyan-600:#00A3C4;--chakra-colors-cyan-700:#0987A0;--chakra-colors-cyan-800:#086F83;--chakra-colors-cyan-900:#065666;--chakra-colors-purple-50:#FAF5FF;--chakra-colors-purple-100:#E9D8FD;--chakra-colors-purple-200:#D6BCFA;--chakra-colors-purple-300:#B794F4;--chakra-colors-purple-400:#9F7AEA;--chakra-colors-purple-500:#a991f1;--chakra-colors-purple-600:#6B46C1;--chakra-colors-purple-700:#553C9A;--chakra-colors-purple-800:#44337A;--chakra-colors-purple-900:#322659;--chakra-colors-pink-50:#FFF5F7;--chakra-colors-pink-100:#FED7E2;--chakra-colors-pink-200:#FBB6CE;--chakra-colors-pink-300:#F687B3;--chakra-colors-pink-400:#ED64A6;--chakra-colors-pink-500:#C57BDB;--chakra-colors-pink-600:#B83280;--chakra-colors-pink-700:#97266D;--chakra-colors-pink-800:#702459;--chakra-colors-pink-900:#521B41;--chakra-colors-linkedin-50:#E8F4F9;--chakra-colors-linkedin-100:#CFEDFB;--chakra-colors-linkedin-200:#9BDAF3;--chakra-colors-linkedin-300:#68C7EC;--chakra-colors-linkedin-400:#34B3E4;--chakra-colors-linkedin-500:#00A0DC;--chakra-colors-linkedin-600:#008CC9;--chakra-colors-linkedin-700:#0077B5;--chakra-colors-linkedin-800:#005E93;--chakra-colors-linkedin-900:#004471;--chakra-colors-facebook-50:#E8F4F9;--chakra-colors-facebook-100:#D9DEE9;--chakra-colors-facebook-200:#B7C2DA;--chakra-colors-facebook-300:#6482C0;--chakra-colors-facebook-400:#4267B2;--chakra-colors-facebook-500:#385898;--chakra-colors-facebook-600:#314E89;--chakra-colors-facebook-700:#29487D;--chakra-colors-facebook-800:#223B67;--chakra-colors-facebook-900:#1E355B;--chakra-colors-messenger-50:#D0E6FF;--chakra-colors-messenger-100:#B9DAFF;--chakra-colors-messenger-200:#A2CDFF;--chakra-colors-messenger-300:#7AB8FF;--chakra-colors-messenger-400:#2E90FF;--chakra-colors-messenger-500:#0078FF;--chakra-colors-messenger-600:#0063D1;--chakra-colors-messenger-700:#0052AC;--chakra-colors-messenger-800:#003C7E;--chakra-colors-messenger-900:#002C5C;--chakra-colors-whatsapp-50:#dffeec;--chakra-colors-whatsapp-100:#b9f5d0;--chakra-colors-whatsapp-200:#90edb3;--chakra-colors-whatsapp-300:#65e495;--chakra-colors-whatsapp-400:#3cdd78;--chakra-colors-whatsapp-500:#22c35e;--chakra-colors-whatsapp-600:#179848;--chakra-colors-whatsapp-700:#0c6c33;--chakra-colors-whatsapp-800:#01421c;--chakra-colors-whatsapp-900:#001803;--chakra-colors-twitter-50:#E5F4FD;--chakra-colors-twitter-100:#C8E9FB;--chakra-colors-twitter-200:#A8DCFA;--chakra-colors-twitter-300:#83CDF7;--chakra-colors-twitter-400:#57BBF5;--chakra-colors-twitter-500:#1DA1F2;--chakra-colors-twitter-600:#1A94DA;--chakra-colors-twitter-700:#1681BF;--chakra-colors-twitter-800:#136B9E;--chakra-colors-twitter-900:#0D4D71;--chakra-colors-telegram-50:#E3F2F9;--chakra-colors-telegram-100:#C5E4F3;--chakra-colors-telegram-200:#A2D4EC;--chakra-colors-telegram-300:#7AC1E4;--chakra-colors-telegram-400:#47A9DA;--chakra-colors-telegram-500:#0088CC;--chakra-colors-telegram-600:#007AB8;--chakra-colors-telegram-700:#006BA1;--chakra-colors-telegram-800:#005885;--chakra-colors-telegram-900:#003F5E;--chakra-colors-alt-100:#2a2e38;--chakra-colors-alt-900:#5D656B;--chakra-borders-none:0;--chakra-borders-1px:1px solid;--chakra-borders-2px:2px solid;--chakra-borders-4px:4px solid;--chakra-borders-8px:8px solid;--chakra-fonts-heading:-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";--chakra-fonts-body:-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";--chakra-fonts-mono:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--chakra-fontSizes-xs:0.75rem;--chakra-fontSizes-sm:0.875rem;--chakra-fontSizes-md:1rem;--chakra-fontSizes-lg:1.125rem;--chakra-fontSizes-xl:1.25rem;--chakra-fontSizes-2xl:1.5rem;--chakra-fontSizes-3xl:1.875rem;--chakra-fontSizes-4xl:2.25rem;--chakra-fontSizes-5xl:3rem;--chakra-fontSizes-6xl:3.75rem;--chakra-fontSizes-7xl:4.5rem;--chakra-fontSizes-8xl:6rem;--chakra-fontSizes-9xl:8rem;--chakra-fontWeights-hairline:100;--chakra-fontWeights-thin:200;--chakra-fontWeights-light:300;--chakra-fontWeights-normal:400;--chakra-fontWeights-medium:500;--chakra-fontWeights-semibold:600;--chakra-fontWeights-bold:700;--chakra-fontWeights-extrabold:800;--chakra-fontWeights-black:900;--chakra-letterSpacings-tighter:-0.05em;--chakra-letterSpacings-tight:-0.025em;--chakra-letterSpacings-normal:0;--chakra-letterSpacings-wide:0.025em;--chakra-letterSpacings-wider:0.05em;--chakra-letterSpacings-widest:0.1em;--chakra-lineHeights-3:.75rem;--chakra-lineHeights-4:1rem;--chakra-lineHeights-5:1.25rem;--chakra-lineHeights-6:1.5rem;--chakra-lineHeights-7:1.75rem;--chakra-lineHeights-8:2rem;--chakra-lineHeights-9:2.25rem;--chakra-lineHeights-10:2.5rem;--chakra-lineHeights-normal:normal;--chakra-lineHeights-none:1;--chakra-lineHeights-shorter:1.25;--chakra-lineHeights-short:1.375;--chakra-lineHeights-base:1.5;--chakra-lineHeights-tall:1.625;--chakra-lineHeights-taller:2;--chakra-radii-none:0;--chakra-radii-sm:0.125rem;--chakra-radii-base:0.25rem;--chakra-radii-md:0.375rem;--chakra-radii-lg:0.5rem;--chakra-radii-xl:0.75rem;--chakra-radii-2xl:1rem;--chakra-radii-3xl:1.5rem;--chakra-radii-full:9999px;--chakra-space-1:0.25rem;--chakra-space-2:0.5rem;--chakra-space-3:0.75rem;--chakra-space-4:1rem;--chakra-space-5:1.25rem;--chakra-space-6:1.5rem;--chakra-space-7:1.75rem;--chakra-space-8:2rem;--chakra-space-9:2.25rem;--chakra-space-10:2.5rem;--chakra-space-12:3rem;--chakra-space-14:3.5rem;--chakra-space-16:4rem;--chakra-space-20:5rem;--chakra-space-24:6rem;--chakra-space-28:7rem;--chakra-space-32:8rem;--chakra-space-36:9rem;--chakra-space-40:10rem;--chakra-space-44:11rem;--chakra-space-48:12rem;--chakra-space-52:13rem;--chakra-space-56:14rem;--chakra-space-60:15rem;--chakra-space-64:16rem;--chakra-space-72:18rem;--chakra-space-80:20rem;--chakra-space-96:24rem;--chakra-space-px:1px;--chakra-space-0-5:0.125rem;--chakra-space-1-5:0.375rem;--chakra-space-2-5:0.625rem;--chakra-space-3-5:0.875rem;--chakra-shadows-xs:0 0 0 1px rgba(0, 0, 0, 0.05);--chakra-shadows-sm:0 1px 2px 0 rgba(0, 0, 0, 0.05);--chakra-shadows-base:0 1px 3px 0 rgba(0, 0, 0, 0.1),0 1px 2px 0 rgba(0, 0, 0, 0.06);--chakra-shadows-md:0 4px 6px -1px rgba(0, 0, 0, 0.1),0 2px 4px -1px rgba(0, 0, 0, 0.06);--chakra-shadows-lg:0 10px 15px -3px rgba(0, 0, 0, 0.1),0 4px 6px -2px rgba(0, 0, 0, 0.05);--chakra-shadows-xl:0 20px 25px -5px rgba(0, 0, 0, 0.1),0 10px 10px -5px rgba(0, 0, 0, 0.04);--chakra-shadows-2xl:0 25px 50px -12px rgba(0, 0, 0, 0.25);--chakra-shadows-outline:0 0 0 3px #a991f1aa;--chakra-shadows-inner:inset 0 2px 4px 0 rgba(0,0,0,0.06);--chakra-shadows-none:none;--chakra-shadows-dark-lg:rgba(0, 0, 0, 0.1) 0px 0px 0px 1px,rgba(0, 0, 0, 0.2) 0px 5px 10px,rgba(0, 0, 0, 0.4) 0px 15px 40px;--chakra-sizes-1:0.25rem;--chakra-sizes-2:0.5rem;--chakra-sizes-3:0.75rem;--chakra-sizes-4:1rem;--chakra-sizes-5:1.25rem;--chakra-sizes-6:1.5rem;--chakra-sizes-7:1.75rem;--chakra-sizes-8:2rem;--chakra-sizes-9:2.25rem;--chakra-sizes-10:2.5rem;--chakra-sizes-12:3rem;--chakra-sizes-14:3.5rem;--chakra-sizes-16:4rem;--chakra-sizes-20:5rem;--chakra-sizes-24:6rem;--chakra-sizes-28:7rem;--chakra-sizes-32:8rem;--chakra-sizes-36:9rem;--chakra-sizes-40:10rem;--chakra-sizes-44:11rem;--chakra-sizes-48:12rem;--chakra-sizes-52:13rem;--chakra-sizes-56:14rem;--chakra-sizes-60:15rem;--chakra-sizes-64:16rem;--chakra-sizes-72:18rem;--chakra-sizes-80:20rem;--chakra-sizes-96:24rem;--chakra-sizes-px:1px;--chakra-sizes-0-5:0.125rem;--chakra-sizes-1-5:0.375rem;--chakra-sizes-2-5:0.625rem;--chakra-sizes-3-5:0.875rem;--chakra-sizes-max:max-content;--chakra-sizes-min:min-content;--chakra-sizes-full:100%;--chakra-sizes-3xs:14rem;--chakra-sizes-2xs:16rem;--chakra-sizes-xs:20rem;--chakra-sizes-sm:24rem;--chakra-sizes-md:28rem;--chakra-sizes-lg:32rem;--chakra-sizes-xl:36rem;--chakra-sizes-2xl:42rem;--chakra-sizes-3xl:48rem;--chakra-sizes-4xl:56rem;--chakra-sizes-5xl:64rem;--chakra-sizes-6xl:72rem;--chakra-sizes-7xl:80rem;--chakra-sizes-8xl:90rem;--chakra-sizes-container-sm:640px;--chakra-sizes-container-md:768px;--chakra-sizes-container-lg:1024px;--chakra-sizes-container-xl:1280px;--chakra-zIndices-hide:-1;--chakra-zIndices-auto:auto;--chakra-zIndices-base:0;--chakra-zIndices-docked:10;--chakra-zIndices-dropdown:1000;--chakra-zIndices-sticky:1100;--chakra-zIndices-banner:1200;--chakra-zIndices-overlay:1300;--chakra-zIndices-modal:1400;--chakra-zIndices-popover:1500;--chakra-zIndices-skipLink:1600;--chakra-zIndices-toast:1700;--chakra-zIndices-tooltip:1800;--chakra-transition-property-common:background-color,border-color,color,fill,stroke,opacity,box-shadow,transform;--chakra-transition-property-colors:background-color,border-color,color,fill,stroke;--chakra-transition-property-dimensions:width,height;--chakra-transition-property-position:left,right,top,bottom;--chakra-transition-property-background:background-color,background-image,background-position;--chakra-transition-easing-ease-in:cubic-bezier(0.4, 0, 1, 1);--chakra-transition-easing-ease-out:cubic-bezier(0, 0, 0.2, 1);--chakra-transition-easing-ease-in-out:cubic-bezier(0.4, 0, 0.2, 1);--chakra-transition-duration-ultra-fast:50ms;--chakra-transition-duration-faster:100ms;--chakra-transition-duration-fast:150ms;--chakra-transition-duration-normal:200ms;--chakra-transition-duration-slow:300ms;--chakra-transition-duration-slower:400ms;--chakra-transition-duration-ultra-slow:500ms;--chakra-blur-none:0;--chakra-blur-sm:4px;--chakra-blur-base:8px;--chakra-blur-md:12px;--chakra-blur-lg:16px;--chakra-blur-xl:24px;--chakra-blur-2xl:40px;--chakra-blur-3xl:64px;}</style><style data-emotion="css-global 1jqlf9g">html{line-height:1.5;-webkit-text-size-adjust:100%;font-family:system-ui,sans-serif;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale;touch-action:manipulation;}body{position:relative;min-height:100%;font-feature-settings:'kern';}*,*::before,*::after{border-width:0;border-style:solid;box-sizing:border-box;}main{display:block;}hr{border-top-width:1px;box-sizing:content-box;height:0;overflow:visible;}pre,code,kbd,samp{font-family:SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:1em;}a{background-color:transparent;color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit;}abbr[title]{border-bottom:none;-webkit-text-decoration:underline;text-decoration:underline;-webkit-text-decoration:underline dotted;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;}b,strong{font-weight:bold;}small{font-size:80%;}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline;}sub{bottom:-0.25em;}sup{top:-0.5em;}img{border-style:none;}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible;}button,select{text-transform:none;}button::-moz-focus-inner,[type="button"]::-moz-focus-inner,[type="reset"]::-moz-focus-inner,[type="submit"]::-moz-focus-inner{border-style:none;padding:0;}fieldset{padding:0.35em 0.75em 0.625em;}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline;}textarea{overflow:auto;}[type="checkbox"],[type="radio"]{box-sizing:border-box;padding:0;}[type="number"]::-webkit-inner-spin-button,[type="number"]::-webkit-outer-spin-button{-webkit-appearance:none!important;}input[type="number"]{-moz-appearance:textfield;}[type="search"]{-webkit-appearance:textfield;outline-offset:-2px;}[type="search"]::-webkit-search-decoration{-webkit-appearance:none!important;}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block;}summary{display:-webkit-box;display:-webkit-list-item;display:-ms-list-itembox;display:list-item;}template{display:none;}[hidden]{display:none!important;}body,blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0;}button{background:transparent;padding:0;}fieldset{margin:0;padding:0;}ol,ul{margin:0;padding:0;}textarea{resize:vertical;}button,[role="button"]{cursor:pointer;}button::-moz-focus-inner{border:0!important;}table{border-collapse:collapse;}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit;}button,input,optgroup,select,textarea{padding:0;line-height:inherit;color:inherit;}img,svg,video,canvas,audio,iframe,embed,object{display:block;}img,video{max-width:100%;height:auto;}[data-js-focus-visible] :focus:not([data-focus-visible-added]){outline:none;box-shadow:none;}select::-ms-expand{display:none;}</style><style data-emotion="css-global 1baqkrf">body{font-family:var(--chakra-fonts-body);color:var(--chakra-colors-gray-800);background:var(--chakra-colors-white);transition-property:background-color;transition-duration:var(--chakra-transition-duration-normal);line-height:var(--chakra-lineHeights-base);}*::-webkit-input-placeholder{color:var(--chakra-colors-gray-400);}*::-moz-placeholder{color:var(--chakra-colors-gray-400);}*:-ms-input-placeholder{color:var(--chakra-colors-gray-400);}*::placeholder{color:var(--chakra-colors-gray-400);}*,*::before,::after{border-color:var(--chakra-colors-gray-200);word-wrap:break-word;}</style><span></span></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{}},"page":"/","query":{},"buildId":"OY7xgp5amTQ-MjS0RPi98","nextExport":true,"autoExport":true,"isFallback":false,"scriptLoader":[]}</script></body></html>
\ No newline at end of file |