From cab6dae73e524e3917500583b169fd81bf3f9487 Mon Sep 17 00:00:00 2001
From: "Thomas F. K. Jorna" <hello@tefkah.com>
Date: Fri, 15 Oct 2021 13:37:53 +0200
Subject: feat(neighbs): add ability to show nth neighbor

---
 pages/index.tsx | 18 ++++++++++++++++--
 1 file changed, 16 insertions(+), 2 deletions(-)

(limited to 'pages/index.tsx')

diff --git a/pages/index.tsx b/pages/index.tsx
index a998c82..9eb1874 100644
--- a/pages/index.tsx
+++ b/pages/index.tsx
@@ -40,6 +40,7 @@ import {
   colorList,
   initialBehavior,
   initialFilter,
+  initialLocal,
   initialMouse,
   initialPhysics,
   initialVisuals,
@@ -105,6 +106,7 @@ export function GraphPage() {
   const [emacsNodeId, setEmacsNodeId] = useState<string | null>(null)
   const [behavior, setBehavior] = usePersistantState('behavior', initialBehavior)
   const [mouse, setMouse] = usePersistantState('mouse', initialMouse)
+  const [local, setLocal] = usePersistantState('local', initialLocal)
   const [
     previewNodeState,
     {
@@ -539,6 +541,8 @@ export function GraphPage() {
           setBehavior,
           tagColors,
           setTagColors,
+          local,
+          setLocal,
         }}
         tags={tagsRef.current}
       />
@@ -573,6 +577,7 @@ export function GraphPage() {
               setMainWindowWidth,
               setContextMenuTarget,
               graphRef,
+              local,
             }}
           />
         )}
@@ -680,6 +685,7 @@ export interface GraphProps {
   visuals: typeof initialVisuals
   behavior: typeof initialBehavior
   mouse: typeof initialMouse
+  local: typeof initialLocal
   scope: Scope
   setScope: any
   webSocket: any
@@ -712,6 +718,7 @@ export const Graph = function (props: GraphProps) {
     behavior,
     mouse,
     scope,
+    local,
     setScope,
     webSocket,
     tagColors,
@@ -895,7 +902,7 @@ export const Graph = function (props: GraphProps) {
     }
     const oldScopedNodes = scope.nodeIds.length > 1 ? scopedGraphData.nodes : []
     const oldScopedNodeIds = oldScopedNodes.map((node) => node.id as string)
-    const neighbs = findNthNeighbors(scope.nodeIds, 1)
+    const neighbs = findNthNeighbors(scope.nodeIds, local.neighbors)
     const newScopedNodes = filteredGraphData.nodes
       .filter((node) => {
         if (oldScopedNodes.length) {
@@ -943,7 +950,14 @@ export const Graph = function (props: GraphProps) {
     const scopedLinks = [...oldScopedLinks, ...newScopedLinks]
 
     setScopedGraphData({ nodes: scopedNodes, links: scopedLinks })
-  }, [filter, scope, JSON.stringify(graphData), filteredGraphData.links, filteredGraphData.nodes])
+  }, [
+    local.neighbors,
+    filter,
+    scope,
+    JSON.stringify(graphData),
+    filteredGraphData.links,
+    filteredGraphData.nodes,
+  ])
 
   useEffect(() => {
     ;(async () => {
-- 
cgit v1.2.3


From ad692d23912a82778a15974e11f578422037b0c1 Mon Sep 17 00:00:00 2001
From: "Thomas F. K. Jorna" <hello@tefkah.com>
Date: Fri, 15 Oct 2021 20:18:08 +0200
Subject: fix: smoother transition to dragging

---
 pages/index.tsx | 3 +++
 1 file changed, 3 insertions(+)

(limited to 'pages/index.tsx')

diff --git a/pages/index.tsx b/pages/index.tsx
index 9eb1874..2b8b6c7 100644
--- a/pages/index.tsx
+++ b/pages/index.tsx
@@ -1378,6 +1378,9 @@ export const Graph = function (props: GraphProps) {
       if (!visuals.highlight) {
         return
       }
+      if (dragging) {
+        return
+      }
 
       if (!hoverNode) {
         fadeOutCancel()
-- 
cgit v1.2.3


From 35dd8336b5a56ee95e54700df322d53df2f56e85 Mon Sep 17 00:00:00 2001
From: "Thomas F. K. Jorna" <hello@tefkah.com>
Date: Fri, 15 Oct 2021 20:46:04 +0200
Subject: feat(labels): separate labeldrawing

---
 components/Graph/drawLabels.ts | 104 +++++++++++++++++++++++++++++++++++++++++
 pages/index.tsx                |  84 ++++++---------------------------
 2 files changed, 118 insertions(+), 70 deletions(-)
 create mode 100644 components/Graph/drawLabels.ts

(limited to 'pages/index.tsx')

diff --git a/components/Graph/drawLabels.ts b/components/Graph/drawLabels.ts
new file mode 100644
index 0000000..d2d84f8
--- /dev/null
+++ b/components/Graph/drawLabels.ts
@@ -0,0 +1,104 @@
+import { OrgRoamNode } from '../../api'
+import { NodeObject } from 'force-graph'
+import { initialVisuals } from '../config'
+import { hexToRGBA } from '../../pages'
+import wrap from 'word-wrap'
+
+export interface drawLabelsProps {
+  labelBackgroundColor: string
+  labelTextColor: string
+  node: NodeObject
+  ctx: any
+  globalScale: number
+  highlightedNodes: { [id: string]: {} }
+  previouslyHighlightedNodes: { [id: string]: {} }
+  visuals: typeof initialVisuals
+  opacity: number
+  nodeSize: (node: NodeObject) => number
+}
+export function drawLabels(props: drawLabelsProps) {
+  const {
+    labelBackgroundColor,
+    labelTextColor,
+    node,
+    ctx,
+    globalScale,
+    highlightedNodes,
+    previouslyHighlightedNodes,
+    visuals,
+    opacity,
+    nodeSize,
+  } = props
+
+  if (!node) {
+    return
+  }
+  //if (dragging) {
+  //   return
+  //}
+
+  if (!visuals.labels) {
+    return
+  }
+  const wasHighlightedNode = previouslyHighlightedNodes[node.id!]
+
+  if (
+    (globalScale <= visuals.labelScale || visuals.labels === 1) &&
+    !highlightedNodes[node.id!] &&
+    !wasHighlightedNode
+  ) {
+    return
+  }
+
+  const nodeTitle = (node as OrgRoamNode).title!
+  const label = nodeTitle.substring(0, visuals.labelLength)
+  const fontSize = visuals.labelFontSize / (0.75 * Math.min(Math.max(0.5, globalScale), 3))
+  const textWidth = ctx.measureText(label).width
+  const bckgDimensions = [textWidth * 1.1, fontSize].map((n) => n + fontSize * 0.5) as [
+    number,
+    number,
+  ] // some padding
+
+  const fadeFactor = Math.min((3 * (globalScale - visuals.labelScale)) / visuals.labelScale, 1)
+
+  // draw label background
+  const getLabelOpacity = () => {
+    if (visuals.labels === 1) {
+      return opacity
+    }
+    if (globalScale <= visuals.labelScale) {
+      return opacity
+    }
+    return highlightedNodes[node.id!] || previouslyHighlightedNodes[node.id!]
+      ? Math.max(fadeFactor, opacity)
+      : 1 * fadeFactor * (-1 * (visuals.highlightFade * opacity - 1))
+  }
+  const nodeS = 8 * Math.cbrt(nodeSize(node) * visuals.nodeRel)
+  if (visuals.labelBackgroundColor && visuals.labelBackgroundOpacity) {
+    const backgroundOpacity = getLabelOpacity() * visuals.labelBackgroundOpacity
+    const labelBackground = hexToRGBA(labelBackgroundColor, backgroundOpacity)
+    ctx.fillStyle = labelBackground
+    ctx.fillRect(
+      node.x! - bckgDimensions[0] / 2,
+      node.y! - bckgDimensions[1] / 2 + nodeS,
+      ...bckgDimensions,
+    )
+  }
+
+  // draw label text
+  const textOpacity = getLabelOpacity()
+  ctx.textAlign = 'center'
+  ctx.textBaseline = 'middle'
+  const labelText = hexToRGBA(labelTextColor, textOpacity)
+  ctx.fillStyle = labelText
+  ctx.font = `${fontSize}px Sans-Serif`
+  const wordsArray = wrap(label, { width: visuals.labelWordWrap }).split('\n')
+
+  const truncatedWords =
+    nodeTitle.length > visuals.labelLength
+      ? [...wordsArray.slice(0, -1), `${wordsArray.slice(-1)}...`]
+      : wordsArray
+  truncatedWords.forEach((word, index) => {
+    ctx.fillText(word, node.x!, node.y! + nodeS + visuals.labelLineSpace * fontSize * index)
+  })
+}
diff --git a/pages/index.tsx b/pages/index.tsx
index 2b8b6c7..ab4a96d 100644
--- a/pages/index.tsx
+++ b/pages/index.tsx
@@ -52,6 +52,7 @@ import { Tweaks } from '../components/Tweaks'
 import { usePersistantState } from '../util/persistant-state'
 import { ThemeContext, ThemeContextProps } from '../util/themecontext'
 import { openNodeInEmacs } from '../util/webSocketFunctions'
+import { drawLabels } from '../components/Graph/drawLabels'
 
 const d3promise = import('d3-force-3d')
 
@@ -1217,76 +1218,19 @@ export const Graph = function (props: GraphProps) {
       return nodeSize(node) / Math.pow(scaleRef.current, visuals.nodeZoomSize)
     },
     nodeCanvasObject: (node, ctx, globalScale) => {
-      if (!node) {
-        return
-      }
-      if (dragging) {
-        return
-      }
-
-      if (!visuals.labels) {
-        return
-      }
-      const wasHighlightedNode = previouslyHighlightedNodes[node.id!]
-
-      if (
-        (globalScale <= visuals.labelScale || visuals.labels === 1) &&
-        !highlightedNodes[node.id!] &&
-        !wasHighlightedNode
-      ) {
-        return
-      }
-
-      const nodeTitle = (node as OrgRoamNode).title!
-      const label = nodeTitle.substring(0, visuals.labelLength)
-      const fontSize = visuals.labelFontSize / (0.75 * Math.min(Math.max(0.5, globalScale), 3))
-      const textWidth = ctx.measureText(label).width
-      const bckgDimensions = [textWidth * 1.1, fontSize].map((n) => n + fontSize * 0.5) as [
-        number,
-        number,
-      ] // some padding
-
-      const fadeFactor = Math.min((3 * (globalScale - visuals.labelScale)) / visuals.labelScale, 1)
-
-      // draw label background
-      const getLabelOpacity = () => {
-        if (visuals.labels === 1) {
-          return opacity
-        }
-        if (globalScale <= visuals.labelScale) {
-          return opacity
-        }
-        return highlightedNodes[node.id!] || previouslyHighlightedNodes[node.id!]
-          ? Math.max(fadeFactor, opacity)
-          : 1 * fadeFactor * (-1 * (visuals.highlightFade * opacity - 1))
-      }
-      const nodeS = 8 * Math.cbrt(nodeSize(node) * visuals.nodeRel)
-      if (visuals.labelBackgroundColor && visuals.labelBackgroundOpacity) {
-        const backgroundOpacity = getLabelOpacity() * visuals.labelBackgroundOpacity
-        const labelBackground = hexToRGBA(labelBackgroundColor, backgroundOpacity)
-        ctx.fillStyle = labelBackground
-        ctx.fillRect(
-          node.x! - bckgDimensions[0] / 2,
-          node.y! - bckgDimensions[1] / 2 + nodeS,
-          ...bckgDimensions,
-        )
-      }
-
-      // draw label text
-      const textOpacity = getLabelOpacity()
-      ctx.textAlign = 'center'
-      ctx.textBaseline = 'middle'
-      const labelText = hexToRGBA(labelTextColor, textOpacity)
-      ctx.fillStyle = labelText
-      ctx.font = `${fontSize}px Sans-Serif`
-      const wordsArray = wrap(label, { width: visuals.labelWordWrap }).split('\n')
-
-      const truncatedWords =
-        nodeTitle.length > visuals.labelLength
-          ? [...wordsArray.slice(0, -1), `${wordsArray.slice(-1)}...`]
-          : wordsArray
-      truncatedWords.forEach((word, index) => {
-        ctx.fillText(word, node.x!, node.y! + nodeS + visuals.labelLineSpace * fontSize * index)
+      drawLabels({
+        ...{
+          node,
+          ctx,
+          globalScale,
+          highlightedNodes,
+          previouslyHighlightedNodes,
+          visuals,
+          opacity,
+          nodeSize,
+          labelTextColor,
+          labelBackgroundColor,
+        },
       })
     },
     nodeCanvasObjectMode: () => 'after',
-- 
cgit v1.2.3


From 10b8fd40921b9e315edc19f8f2a07ce575930d18 Mon Sep 17 00:00:00 2001
From: "Thomas F. K. Jorna" <hello@tefkah.com>
Date: Fri, 15 Oct 2021 23:23:08 +0200
Subject: feat(labels): maps style label appearanc

---
 components/Graph/drawLabels.ts | 56 +++++++++++++++++++++---------------------
 pages/index.tsx                |  1 +
 2 files changed, 29 insertions(+), 28 deletions(-)

(limited to 'pages/index.tsx')

diff --git a/components/Graph/drawLabels.ts b/components/Graph/drawLabels.ts
index d2d84f8..9314008 100644
--- a/components/Graph/drawLabels.ts
+++ b/components/Graph/drawLabels.ts
@@ -1,7 +1,7 @@
 import { OrgRoamNode } from '../../api'
 import { NodeObject } from 'force-graph'
 import { initialVisuals } from '../config'
-import { hexToRGBA } from '../../pages'
+import { hexToRGBA, LinksByNodeId } from '../../pages'
 import wrap from 'word-wrap'
 
 export interface drawLabelsProps {
@@ -15,7 +15,21 @@ export interface drawLabelsProps {
   visuals: typeof initialVisuals
   opacity: number
   nodeSize: (node: NodeObject) => number
+  filteredLinksByNodeId: LinksByNodeId
 }
+
+export const getLabelOpacity = (
+  fadeFactor: number,
+  visuals: typeof initialVisuals,
+  globalScale: number,
+  opacity: number,
+  isHighlighty: boolean,
+) => {
+  return isHighlighty
+    ? Math.max(fadeFactor, opacity)
+    : 1 * fadeFactor * (-1 * (visuals.highlightFade * opacity - 1))
+}
+
 export function drawLabels(props: drawLabelsProps) {
   const {
     labelBackgroundColor,
@@ -28,54 +42,41 @@ export function drawLabels(props: drawLabelsProps) {
     visuals,
     opacity,
     nodeSize,
+    filteredLinksByNodeId,
   } = props
 
   if (!node) {
     return
   }
-  //if (dragging) {
-  //   return
-  //}
 
   if (!visuals.labels) {
     return
   }
-  const wasHighlightedNode = previouslyHighlightedNodes[node.id!]
+  const links = filteredLinksByNodeId[(node as OrgRoamNode).id] ?? []
 
-  if (
-    (globalScale <= visuals.labelScale || visuals.labels === 1) &&
-    !highlightedNodes[node.id!] &&
-    !wasHighlightedNode
-  ) {
-    return
-  }
+  const isHighlighty = !!(highlightedNodes[node.id!] || previouslyHighlightedNodes[node.id!])
+
+  const fadeFactor = Math.min(
+    3 * (globalScale - visuals.labelScale) + Math.pow(Math.min(links.length, 10), 1 / 2),
+    1,
+  )
+  const nodeTitle = (node as OrgRoamNode).title ?? ''
 
-  const nodeTitle = (node as OrgRoamNode).title!
   const label = nodeTitle.substring(0, visuals.labelLength)
+
   const fontSize = visuals.labelFontSize / (0.75 * Math.min(Math.max(0.5, globalScale), 3))
+
   const textWidth = ctx.measureText(label).width
   const bckgDimensions = [textWidth * 1.1, fontSize].map((n) => n + fontSize * 0.5) as [
     number,
     number,
   ] // some padding
 
-  const fadeFactor = Math.min((3 * (globalScale - visuals.labelScale)) / visuals.labelScale, 1)
-
   // draw label background
-  const getLabelOpacity = () => {
-    if (visuals.labels === 1) {
-      return opacity
-    }
-    if (globalScale <= visuals.labelScale) {
-      return opacity
-    }
-    return highlightedNodes[node.id!] || previouslyHighlightedNodes[node.id!]
-      ? Math.max(fadeFactor, opacity)
-      : 1 * fadeFactor * (-1 * (visuals.highlightFade * opacity - 1))
-  }
+  const textOpacity = getLabelOpacity(fadeFactor, visuals, globalScale, opacity, isHighlighty)
   const nodeS = 8 * Math.cbrt(nodeSize(node) * visuals.nodeRel)
   if (visuals.labelBackgroundColor && visuals.labelBackgroundOpacity) {
-    const backgroundOpacity = getLabelOpacity() * visuals.labelBackgroundOpacity
+    const backgroundOpacity = textOpacity * visuals.labelBackgroundOpacity
     const labelBackground = hexToRGBA(labelBackgroundColor, backgroundOpacity)
     ctx.fillStyle = labelBackground
     ctx.fillRect(
@@ -86,7 +87,6 @@ export function drawLabels(props: drawLabelsProps) {
   }
 
   // draw label text
-  const textOpacity = getLabelOpacity()
   ctx.textAlign = 'center'
   ctx.textBaseline = 'middle'
   const labelText = hexToRGBA(labelTextColor, textOpacity)
diff --git a/pages/index.tsx b/pages/index.tsx
index ab4a96d..e53ba03 100644
--- a/pages/index.tsx
+++ b/pages/index.tsx
@@ -1219,6 +1219,7 @@ export const Graph = function (props: GraphProps) {
     },
     nodeCanvasObject: (node, ctx, globalScale) => {
       drawLabels({
+        filteredLinksByNodeId: filteredLinksByNodeIdRef.current,
         ...{
           node,
           ctx,
-- 
cgit v1.2.3


From 0ae9d628fabab8664c38d15bd6b5084a32c8eca2 Mon Sep 17 00:00:00 2001
From: "Thomas F. K. Jorna" <hello@tefkah.com>
Date: Sat, 16 Oct 2021 00:37:11 +0200
Subject: feat(labels): more sensible label positions

---
 components/Graph/drawLabels.ts | 27 ++++++++++++++++++++++++---
 pages/index.tsx                |  3 +++
 2 files changed, 27 insertions(+), 3 deletions(-)

(limited to 'pages/index.tsx')

diff --git a/components/Graph/drawLabels.ts b/components/Graph/drawLabels.ts
index 9314008..f559d3c 100644
--- a/components/Graph/drawLabels.ts
+++ b/components/Graph/drawLabels.ts
@@ -16,6 +16,9 @@ export interface drawLabelsProps {
   opacity: number
   nodeSize: (node: NodeObject) => number
   filteredLinksByNodeId: LinksByNodeId
+  nodeRel: number
+  hoverNode: NodeObject
+  lastHoverNode: OrgRoamNode
 }
 
 export const getLabelOpacity = (
@@ -43,6 +46,9 @@ export function drawLabels(props: drawLabelsProps) {
     opacity,
     nodeSize,
     filteredLinksByNodeId,
+    nodeRel,
+    hoverNode,
+    lastHoverNode,
   } = props
 
   if (!node) {
@@ -52,6 +58,8 @@ export function drawLabels(props: drawLabelsProps) {
   if (!visuals.labels) {
     return
   }
+  const hoverId = hoverNode?.id ?? ''
+  const lastHoverId = lastHoverNode?.id ?? ''
   const links = filteredLinksByNodeId[(node as OrgRoamNode).id] ?? []
 
   const isHighlighty = !!(highlightedNodes[node.id!] || previouslyHighlightedNodes[node.id!])
@@ -64,7 +72,13 @@ export function drawLabels(props: drawLabelsProps) {
 
   const label = nodeTitle.substring(0, visuals.labelLength)
 
-  const fontSize = visuals.labelFontSize / (0.75 * Math.min(Math.max(0.5, globalScale), 3))
+  const nodeS = Math.cbrt(
+    (visuals.nodeRel * nodeSize(node)) / Math.pow(globalScale, visuals.nodeZoomSize),
+  )
+  const fontSize =
+    hoverId == (node as OrgRoamNode).id
+      ? Math.max((visuals.labelFontSize * nodeS) / 2, (visuals.labelFontSize * nodeS) / 3)
+      : (visuals.labelFontSize * nodeS) / 3
 
   const textWidth = ctx.measureText(label).width
   const bckgDimensions = [textWidth * 1.1, fontSize].map((n) => n + fontSize * 0.5) as [
@@ -74,7 +88,6 @@ export function drawLabels(props: drawLabelsProps) {
 
   // draw label background
   const textOpacity = getLabelOpacity(fadeFactor, visuals, globalScale, opacity, isHighlighty)
-  const nodeS = 8 * Math.cbrt(nodeSize(node) * visuals.nodeRel)
   if (visuals.labelBackgroundColor && visuals.labelBackgroundOpacity) {
     const backgroundOpacity = textOpacity * visuals.labelBackgroundOpacity
     const labelBackground = hexToRGBA(labelBackgroundColor, backgroundOpacity)
@@ -98,7 +111,15 @@ export function drawLabels(props: drawLabelsProps) {
     nodeTitle.length > visuals.labelLength
       ? [...wordsArray.slice(0, -1), `${wordsArray.slice(-1)}...`]
       : wordsArray
+
+  const highlightedNodeOffset = [hoverId, lastHoverId].includes((node as OrgRoamNode).id)
+    ? 1 + 0.3 * opacity
+    : 1
   truncatedWords.forEach((word, index) => {
-    ctx.fillText(word, node.x!, node.y! + nodeS + visuals.labelLineSpace * fontSize * index)
+    ctx.fillText(
+      word,
+      node.x! - 2,
+      node.y! + highlightedNodeOffset * nodeS * 8 + visuals.labelLineSpace * fontSize * index,
+    )
   })
 }
diff --git a/pages/index.tsx b/pages/index.tsx
index e53ba03..4878b0c 100644
--- a/pages/index.tsx
+++ b/pages/index.tsx
@@ -1219,7 +1219,9 @@ export const Graph = function (props: GraphProps) {
     },
     nodeCanvasObject: (node, ctx, globalScale) => {
       drawLabels({
+        nodeRel: visuals.nodeRel,
         filteredLinksByNodeId: filteredLinksByNodeIdRef.current,
+        lastHoverNode: lastHoverNode.current,
         ...{
           node,
           ctx,
@@ -1231,6 +1233,7 @@ export const Graph = function (props: GraphProps) {
           nodeSize,
           labelTextColor,
           labelBackgroundColor,
+          hoverNode,
         },
       })
     },
-- 
cgit v1.2.3


From 15fdbd4e9e36c858709651e035fe1339dba3a1e9 Mon Sep 17 00:00:00 2001
From: "Thomas F. K. Jorna" <hello@tefkah.com>
Date: Sat, 16 Oct 2021 22:21:24 +0200
Subject: feat(labels): better ui for labels

---
 components/Graph/drawLabels.ts                     |  21 +-
 components/Tweaks/LabelsPanel.tsx                  | 217 ++++++++++++---------
 components/Tweaks/SliderWithInfo.tsx               |   2 +-
 components/Tweaks/TagColorPanel.tsx                |   8 +-
 components/Tweaks/TagPanel.tsx                     |  22 ++-
 components/Tweaks/VisualsPanel.tsx                 |   3 -
 components/config.ts                               |  10 +-
 out/404.html                                       |   2 +-
 .../static/Ydx3xl3sZeYptBHO1AStM/_buildManifest.js |   1 +
 .../static/Ydx3xl3sZeYptBHO1AStM/_ssgManifest.js   |   1 +
 .../chunks/pages/_app-26fcb6c181a21bbc205c.js      |   1 -
 .../chunks/pages/_app-8bd0d6de2a60ac35d501.js      |   1 +
 .../chunks/pages/index-4b29b25ad1173eae2757.js     |   1 -
 .../chunks/pages/index-c3655ec8db181f6ae1ab.js     |   1 +
 .../static/eqddl_ODt53D8xUxW-4AP/_buildManifest.js |   1 -
 .../static/eqddl_ODt53D8xUxW-4AP/_ssgManifest.js   |   1 -
 out/index.html                                     |   2 +-
 pages/_app.tsx                                     |   5 +-
 pages/index.tsx                                    |   3 +-
 19 files changed, 173 insertions(+), 130 deletions(-)
 create mode 100644 out/_next/static/Ydx3xl3sZeYptBHO1AStM/_buildManifest.js
 create mode 100644 out/_next/static/Ydx3xl3sZeYptBHO1AStM/_ssgManifest.js
 delete mode 100644 out/_next/static/chunks/pages/_app-26fcb6c181a21bbc205c.js
 create mode 100644 out/_next/static/chunks/pages/_app-8bd0d6de2a60ac35d501.js
 delete mode 100644 out/_next/static/chunks/pages/index-4b29b25ad1173eae2757.js
 create mode 100644 out/_next/static/chunks/pages/index-c3655ec8db181f6ae1ab.js
 delete mode 100644 out/_next/static/eqddl_ODt53D8xUxW-4AP/_buildManifest.js
 delete mode 100644 out/_next/static/eqddl_ODt53D8xUxW-4AP/_ssgManifest.js

(limited to 'pages/index.tsx')

diff --git a/components/Graph/drawLabels.ts b/components/Graph/drawLabels.ts
index f559d3c..fa19270 100644
--- a/components/Graph/drawLabels.ts
+++ b/components/Graph/drawLabels.ts
@@ -17,8 +17,8 @@ export interface drawLabelsProps {
   nodeSize: (node: NodeObject) => number
   filteredLinksByNodeId: LinksByNodeId
   nodeRel: number
-  hoverNode: NodeObject
-  lastHoverNode: OrgRoamNode
+  hoverNode: NodeObject | null
+  lastHoverNode: OrgRoamNode | null
 }
 
 export const getLabelOpacity = (
@@ -65,9 +65,14 @@ export function drawLabels(props: drawLabelsProps) {
   const isHighlighty = !!(highlightedNodes[node.id!] || previouslyHighlightedNodes[node.id!])
 
   const fadeFactor = Math.min(
-    3 * (globalScale - visuals.labelScale) + Math.pow(Math.min(links.length, 10), 1 / 2),
+    5 * (globalScale - visuals.labelScale) +
+      2 *
+        Math.pow(Math.min(links.length, visuals.labelDynamicDegree), visuals.labelDynamicStrength),
     1,
   )
+  if (fadeFactor < 0.01 && !isHighlighty) {
+    return
+  }
   const nodeTitle = (node as OrgRoamNode).title ?? ''
 
   const label = nodeTitle.substring(0, visuals.labelLength)
@@ -75,11 +80,11 @@ export function drawLabels(props: drawLabelsProps) {
   const nodeS = Math.cbrt(
     (visuals.nodeRel * nodeSize(node)) / Math.pow(globalScale, visuals.nodeZoomSize),
   )
-  const fontSize =
-    hoverId == (node as OrgRoamNode).id
-      ? Math.max((visuals.labelFontSize * nodeS) / 2, (visuals.labelFontSize * nodeS) / 3)
-      : (visuals.labelFontSize * nodeS) / 3
+  const fontSize = visuals.labelFontSize / Math.cbrt(Math.pow(globalScale, visuals.nodeZoomSize))
+  //   ? Math.max((visuals.labelFontSize * nodeS) / 2, (visuals.labelFontSize * nodeS) / 3)
+  //    : (visuals.labelFontSize * nodeS) / 3
 
+  //  * nodeS) / 3
   const textWidth = ctx.measureText(label).width
   const bckgDimensions = [textWidth * 1.1, fontSize].map((n) => n + fontSize * 0.5) as [
     number,
@@ -118,7 +123,7 @@ export function drawLabels(props: drawLabelsProps) {
   truncatedWords.forEach((word, index) => {
     ctx.fillText(
       word,
-      node.x! - 2,
+      node.x!,
       node.y! + highlightedNodeOffset * nodeS * 8 + visuals.labelLineSpace * fontSize * index,
     )
   })
diff --git a/components/Tweaks/LabelsPanel.tsx b/components/Tweaks/LabelsPanel.tsx
index 013409e..c40b689 100644
--- a/components/Tweaks/LabelsPanel.tsx
+++ b/components/Tweaks/LabelsPanel.tsx
@@ -28,112 +28,135 @@ export const LabelsPanel = (props: LabelsPanelProps) => {
     <VStack
       spacing={2}
       justifyContent="flex-start"
-      divider={<StackDivider borderColor="gray.500" />}
+      divider={<StackDivider borderColor="gray.400" />}
       align="stretch"
       color="gray.800"
     >
-      <Box>
-        <Flex alignItems="center" justifyContent="space-between">
-          <Text>Show labels</Text>
-          <Menu isLazy placement="right">
-            <MenuButton as={Button} colorScheme="" color="black" rightIcon={<ChevronDownIcon />}>
-              {!visuals.labels ? 'Never' : visuals.labels < 2 ? 'On Highlight' : 'Always'}
-            </MenuButton>
-            <Portal>
-              {' '}
-              <MenuList zIndex="popover" bgColor="gray.200">
-                <MenuItem onClick={() => setVisuals({ ...visuals, labels: 0 })}>Never</MenuItem>
-                <MenuItem onClick={() => setVisuals({ ...visuals, labels: 1 })}>
-                  On Highlight
-                </MenuItem>
-                <MenuItem onClick={() => setVisuals({ ...visuals, labels: 2 })}>Always</MenuItem>
-                <MenuItem onClick={() => setVisuals({ ...visuals, labels: 3 })}>
-                  Always (even in 3D)
-                </MenuItem>
-              </MenuList>
-            </Portal>
-          </Menu>
-        </Flex>
-        <VStack
-          spacing={1}
-          justifyContent="flex-start"
-          divider={<StackDivider borderColor="gray.400" />}
-          align="stretch"
-          paddingLeft={2}
-          color="gray.800"
-        >
-          <SliderWithInfo
-            label="Label font size"
-            value={visuals.labelFontSize}
-            min={5}
-            max={20}
-            step={0.5}
-            onChange={(value) => setVisuals({ ...visuals, labelFontSize: value })}
-          />
-          <SliderWithInfo
-            label="Max. label characters"
-            value={visuals.labelLength}
-            min={10}
-            max={100}
-            step={1}
-            onChange={(value) => setVisuals({ ...visuals, labelLength: value })}
-          />
+      <Flex alignItems="center" justifyContent="space-between">
+        <Text>Show labels</Text>
+        <Menu isLazy placement="right">
+          <MenuButton as={Button} colorScheme="" color="black" rightIcon={<ChevronDownIcon />}>
+            {!visuals.labels ? 'Never' : visuals.labels < 2 ? 'On Highlight' : 'Always'}
+          </MenuButton>
+          <Portal>
+            {' '}
+            <MenuList zIndex="popover" bgColor="gray.200">
+              <MenuItem onClick={() => setVisuals({ ...visuals, labels: 0 })}>Never</MenuItem>
+              <MenuItem onClick={() => setVisuals({ ...visuals, labels: 1 })}>
+                On Highlight
+              </MenuItem>
+              <MenuItem onClick={() => setVisuals({ ...visuals, labels: 2 })}>Always</MenuItem>
+              <MenuItem onClick={() => setVisuals({ ...visuals, labels: 3 })}>
+                Always (even in 3D)
+              </MenuItem>
+            </MenuList>
+          </Portal>
+        </Menu>
+      </Flex>
+      <Collapse in={visuals.labels > 1} animateOpacity>
+        <Box paddingTop={2}>
           <SliderWithInfo
-            label="Max. label line length"
-            value={visuals.labelWordWrap}
-            min={10}
-            max={100}
-            step={1}
-            onChange={(value) => setVisuals({ ...visuals, labelWordWrap: value })}
+            label="Label Appearance Scale"
+            value={visuals.labelScale * 2}
+            onChange={(value) => setVisuals({ ...visuals, labelScale: value / 2 })}
           />
+        </Box>
+        <Box paddingTop={2}>
           <SliderWithInfo
-            label="Space between label lines"
-            value={visuals.labelLineSpace}
-            min={0.2}
-            max={3}
-            step={0.1}
-            onChange={(value) => setVisuals({ ...visuals, labelLineSpace: value })}
+            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={visuals.labelDynamicStrength}
+            min={0}
+            max={1}
+            step={0.05}
+            onChange={(value) =>
+              setVisuals((curr: typeof initialVisuals) => ({
+                ...curr,
+                labelDynamicStrength: value,
+              }))
+            }
           />
-          <ColorMenu
-            colorList={colorList}
-            label="Text"
-            setVisuals={setVisuals}
-            value="labelTextColor"
-            visValue={visuals.labelTextColor}
-          />
-          <ColorMenu
-            colorList={colorList}
-            label="Background"
-            setVisuals={setVisuals}
-            value="labelBackgroundColor"
-            visValue={visuals.labelBackgroundColor}
-          />
-          <Collapse in={!!visuals.labelBackgroundColor} animateOpacity>
-            <Box paddingTop={2}>
-              <SliderWithInfo
-                label="Background opacity"
-                value={visuals.labelBackgroundOpacity}
-                onChange={(value) => {
-                  console.log(visuals.labelBackgroundOpacity)
-                  setVisuals({ ...visuals, labelBackgroundOpacity: value })
-                }}
-                min={0}
-                max={1}
-                step={0.01}
-              />
-            </Box>
+          <Collapse in={visuals.labelDynamicStrength > 0}>
+            <SliderWithInfo
+              label="Dynamic zoom degree cap"
+              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={visuals.labelDynamicDegree}
+              min={1}
+              max={15}
+              step={1}
+              onChange={(value) =>
+                setVisuals((curr: typeof initialVisuals) => ({
+                  ...curr,
+                  labelDynamicDegree: value,
+                }))
+              }
+            />
           </Collapse>
-          <Collapse in={visuals.labels > 1} animateOpacity>
-            <Box paddingTop={2}>
-              <SliderWithInfo
-                label="Label Appearance Scale"
-                value={visuals.labelScale * 5}
-                onChange={(value) => setVisuals({ ...visuals, labelScale: value / 5 })}
-              />
-            </Box>
-          </Collapse>
-        </VStack>
+        </Box>
+      </Collapse>
+      <ColorMenu
+        colorList={colorList}
+        label="Text"
+        setVisuals={setVisuals}
+        value="labelTextColor"
+        visValue={visuals.labelTextColor}
+      />
+      <Box>
+        <ColorMenu
+          colorList={colorList}
+          label="Background"
+          setVisuals={setVisuals}
+          value="labelBackgroundColor"
+          visValue={visuals.labelBackgroundColor}
+        />
+        <Collapse in={!!visuals.labelBackgroundColor} animateOpacity>
+          <Box paddingTop={2}>
+            <SliderWithInfo
+              label="Background opacity"
+              value={visuals.labelBackgroundOpacity}
+              onChange={(value) => {
+                console.log(visuals.labelBackgroundOpacity)
+                setVisuals({ ...visuals, labelBackgroundOpacity: value })
+              }}
+              min={0}
+              max={1}
+              step={0.01}
+            />
+          </Box>
+        </Collapse>
       </Box>
+      <SliderWithInfo
+        label="Label font size"
+        value={visuals.labelFontSize}
+        min={5}
+        max={20}
+        step={0.5}
+        onChange={(value) => setVisuals({ ...visuals, labelFontSize: value })}
+      />
+      <SliderWithInfo
+        label="Max. label characters"
+        value={visuals.labelLength}
+        min={10}
+        max={100}
+        step={1}
+        onChange={(value) => setVisuals({ ...visuals, labelLength: value })}
+      />
+      <SliderWithInfo
+        label="Max. label line length"
+        value={visuals.labelWordWrap}
+        min={10}
+        max={100}
+        step={1}
+        onChange={(value) => setVisuals({ ...visuals, labelWordWrap: value })}
+      />
+      <SliderWithInfo
+        label="Space between label lines"
+        value={visuals.labelLineSpace}
+        min={0.2}
+        max={3}
+        step={0.1}
+        onChange={(value) => setVisuals({ ...visuals, labelLineSpace: value })}
+      />
     </VStack>
   )
 }
diff --git a/components/Tweaks/SliderWithInfo.tsx b/components/Tweaks/SliderWithInfo.tsx
index 9d6903a..7984711 100644
--- a/components/Tweaks/SliderWithInfo.tsx
+++ b/components/Tweaks/SliderWithInfo.tsx
@@ -31,7 +31,7 @@ export const SliderWithInfo = ({
   const { highlightColor } = useContext(ThemeContext)
   return (
     <Box key={label} pt={1} pb={2}>
-      <Box display="flex" alignItems="flex-end">
+      <Box display="flex" alignItems="flex-end" mb={2}>
         <Text>{label}</Text>
         {infoText && <InfoTooltip infoText={infoText} />}
       </Box>
diff --git a/components/Tweaks/TagColorPanel.tsx b/components/Tweaks/TagColorPanel.tsx
index 0a595e8..d20b540 100644
--- a/components/Tweaks/TagColorPanel.tsx
+++ b/components/Tweaks/TagColorPanel.tsx
@@ -40,7 +40,8 @@ export const TagColorPanel = (props: TagColorPanelProps) => {
     <Box>
       <CUIAutoComplete
         items={tagArray}
-        label="Add tag to filter"
+        labelStyleProps={{ fontWeight: 300, fontSize: 14 }}
+        label="Add tag to color"
         placeholder=" "
         disableCreateItem={true}
         selectedItems={selectedItems}
@@ -60,9 +61,10 @@ export const TagColorPanel = (props: TagColorPanelProps) => {
         highlightItemBg="gray.400"
         toggleButtonStyleProps={{ variant: 'outline' }}
         inputStyleProps={{
+          height: 8,
           focusBorderColor: highlightColor,
           color: 'gray.800',
-          borderColor: 'gray.600',
+          borderColor: 'gray.500',
         }}
         tagStyleProps={{
           display: 'none',
@@ -86,7 +88,7 @@ export const TagColorPanel = (props: TagColorPanelProps) => {
           return (
             <Flex key={tag} alignItems="center" justifyContent="space-between" width="100%" pl={2}>
               <Box width="100%">
-                <Text fontWeight="bold">{tag}</Text>
+                <Text>{tag}</Text>
               </Box>
               <Menu isLazy placement="right">
                 <MenuButton as={Button} colorScheme="" color="black">
diff --git a/components/Tweaks/TagPanel.tsx b/components/Tweaks/TagPanel.tsx
index 4d2e355..8d63c6f 100644
--- a/components/Tweaks/TagPanel.tsx
+++ b/components/Tweaks/TagPanel.tsx
@@ -25,6 +25,7 @@ export const TagPanel = (props: TagPanelProps) => {
 
   return (
     <CUIAutoComplete
+      labelStyleProps={{ fontWeight: 300, fontSize: 14 }}
       items={tagArray}
       label={'Add tag to ' + mode}
       placeholder=" "
@@ -41,16 +42,25 @@ export const TagPanel = (props: TagPanelProps) => {
       highlightItemBg="gray.400"
       toggleButtonStyleProps={{ variant: 'outline' }}
       inputStyleProps={{
+        mt: 2,
+        height: 8,
         focusBorderColor: highlightColor,
         color: 'gray.800',
-        borderColor: 'gray.600',
+        borderColor: 'gray.500',
       }}
       tagStyleProps={{
-        rounded: 'full',
-        bg: highlightColor,
-        height: 8,
-        paddingLeft: 4,
-        fontWeight: 'bold',
+        justifyContent: 'flex-start',
+        //variant: 'subtle',
+        fontSize: 10,
+        borderColor: highlightColor,
+        borderWidth: 1,
+        borderRadius: 'md',
+        color: highlightColor,
+        bg: '',
+        height: 4,
+        mb: 2,
+        //paddingLeft: 4,
+        //fontWeight: 'bold',
       }}
       hideToggleButton
       itemRenderer={(selected) => selected.label}
diff --git a/components/Tweaks/VisualsPanel.tsx b/components/Tweaks/VisualsPanel.tsx
index d3c8415..23ba41f 100644
--- a/components/Tweaks/VisualsPanel.tsx
+++ b/components/Tweaks/VisualsPanel.tsx
@@ -108,6 +108,3 @@ export const VisualsPanel = (props: VisualsPanelProps) => {
     </VStack>
   )
 }
-function clickCallback(color: string): void {
-  throw new Error('Function not implemented.')
-}
diff --git a/components/config.ts b/components/config.ts
index 60e68f3..a5d859e 100644
--- a/components/config.ts
+++ b/components/config.ts
@@ -65,12 +65,14 @@ export const initialVisuals = {
   labelLength: 40,
   labelWordWrap: 25,
   labelLineSpace: 1,
+  labelDynamicDegree: 8,
+  labelDynamicStrength: 0.5,
   highlight: true,
-  highlightNodeSize: 1.2,
-  highlightLinkSize: 2,
+  highlightNodeSize: 1.1,
+  highlightLinkSize: 1,
   highlightFade: 0.8,
   highlightAnim: true,
-  animationSpeed: 420,
+  animationSpeed: 360,
   algorithmOptions: options,
   algorithmName: 'SinusoidalOut',
   linkColorScheme: 'gray.500',
@@ -105,7 +107,7 @@ export const initialVisuals = {
   refLinkHighlightColor: '',
   refNodeColor: 'black',
   nodeSizeLinks: 0.5,
-  nodeZoomSize: 1.3,
+  nodeZoomSize: 1.2,
 }
 
 export interface TagColors {
diff --git a/out/404.html b/out/404.html
index 9846a52..4699571 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-06f739dee1b1cddd24d8.js" defer=""></script><script src="/_next/static/chunks/framework-2f612445bd50b211f15a.js" defer=""></script><script src="/_next/static/chunks/main-965b0767a8d0eaf0c110.js" defer=""></script><script src="/_next/static/chunks/pages/_app-26fcb6c181a21bbc205c.js" defer=""></script><script src="/_next/static/chunks/pages/_error-ea939aab753d9e9db3bd.js" defer=""></script><script src="/_next/static/eqddl_ODt53D8xUxW-4AP/_buildManifest.js" defer=""></script><script src="/_next/static/eqddl_ODt53D8xUxW-4AP/_ssgManifest.js" defer=""></script></head><body><div id="__next"><style data-emotion="css-global 1n4e8ad">: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 1syi0wy">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;vertical-align:middle;}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, &quot;Segoe UI&quot;, &quot;Fira Sans&quot;, Avenir, &quot;Helvetica Neue&quot;, &quot;Lucida Grande&quot;, 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":"eqddl_ODt53D8xUxW-4AP","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-06f739dee1b1cddd24d8.js" defer=""></script><script src="/_next/static/chunks/framework-2f612445bd50b211f15a.js" defer=""></script><script src="/_next/static/chunks/main-965b0767a8d0eaf0c110.js" defer=""></script><script src="/_next/static/chunks/pages/_app-8bd0d6de2a60ac35d501.js" defer=""></script><script src="/_next/static/chunks/pages/_error-ea939aab753d9e9db3bd.js" defer=""></script><script src="/_next/static/Ydx3xl3sZeYptBHO1AStM/_buildManifest.js" defer=""></script><script src="/_next/static/Ydx3xl3sZeYptBHO1AStM/_ssgManifest.js" defer=""></script></head><body><div id="__next"><style data-emotion="css-global 1n4e8ad">: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 1syi0wy">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;vertical-align:middle;}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, &quot;Segoe UI&quot;, &quot;Fira Sans&quot;, Avenir, &quot;Helvetica Neue&quot;, &quot;Lucida Grande&quot;, 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":"Ydx3xl3sZeYptBHO1AStM","nextExport":true,"isFallback":false,"gip":true,"scriptLoader":[]}</script></body></html>
\ No newline at end of file
diff --git a/out/_next/static/Ydx3xl3sZeYptBHO1AStM/_buildManifest.js b/out/_next/static/Ydx3xl3sZeYptBHO1AStM/_buildManifest.js
new file mode 100644
index 0000000..6aa9ea1
--- /dev/null
+++ b/out/_next/static/Ydx3xl3sZeYptBHO1AStM/_buildManifest.js
@@ -0,0 +1 @@
+self.__BUILD_MANIFEST={__rewrites:{beforeFiles:[],afterFiles:[],fallback:[]},"/":["static/chunks/fb7d5399-b53d39280eb7028fd5fb.js","static/chunks/0c428ae2-753f1ebbec24c403674c.js","static/chunks/1a48c3c1-8e9d488ce132c4739e94.js","static/chunks/b5f2ed29-c14b12daa385c4cc7854.js","static/chunks/d25bd147-2c59edc357c0e2372258.js","static/css/9aeb688eb5e47ce218d8.css","static/chunks/816-0c5ca424da57aea390ea.js","static/chunks/pages/index-c3655ec8db181f6ae1ab.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/Ydx3xl3sZeYptBHO1AStM/_ssgManifest.js b/out/_next/static/Ydx3xl3sZeYptBHO1AStM/_ssgManifest.js
new file mode 100644
index 0000000..0511aa8
--- /dev/null
+++ b/out/_next/static/Ydx3xl3sZeYptBHO1AStM/_ssgManifest.js
@@ -0,0 +1 @@
+self.__SSG_MANIFEST=new Set,self.__SSG_MANIFEST_CB&&self.__SSG_MANIFEST_CB();
\ No newline at end of file
diff --git a/out/_next/static/chunks/pages/_app-26fcb6c181a21bbc205c.js b/out/_next/static/chunks/pages/_app-26fcb6c181a21bbc205c.js
deleted file mode 100644
index f994126..0000000
--- a/out/_next/static/chunks/pages/_app-26fcb6c181a21bbc205c.js
+++ /dev/null
@@ -1 +0,0 @@
-(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[888],{24738:function(e,r,t){"use strict";t.d(r,{SG:function(){return x},If:function(){return v}});var n=t(73808),a=t(84461),o=t(80658),i=t(67294),s="chakra-ui-light",l="chakra-ui-dark",c={classList:{add:o.ZT,remove:o.ZT}};function u(e){var r=a.jU?document.body:c;r.classList.add(e?l:s),r.classList.remove(e?s:l)}var d="(prefers-color-scheme: dark)";function f(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}(d))?r:"dark"===e)?"dark":"light"}var b=()=>document.documentElement.style.getPropertyValue("--chakra-ui-color-mode"),g=e=>{a.jU&&document.documentElement.style.setProperty("--chakra-ui-color-mode",e)},p=()=>"undefined"!==typeof Storage,h="chakra-ui-color-mode",m={get(e){if(!p())return e;try{var r=localStorage.getItem(h);return null!=r?r:e}catch(t){return n.Ts&&console.log(t),e}},set(e){if(p())try{localStorage.setItem(h,e)}catch(r){n.Ts&&console.log(r)}},type:"localStorage"};var y=i.createContext({});n.Ts&&(y.displayName="ColorModeContext");var v=()=>{var e=i.useContext(y);if(void 0===e)throw new Error("useColorMode must be used within a ColorModeProvider");return e};function x(e){var{value:r,children:t,options:{useSystemColorMode:n,initialColorMode:s},colorModeManager:l=m}=e,[c,p]=i.useState("cookie"===l.type?l.get(s):s);i.useEffect((()=>{if(a.jU&&"localStorage"===l.type){var e=n?f(s):b()||l.get();e&&p(e)}}),[l,n,s]),i.useEffect((()=>{var e="dark"===c;u(e),g(e?"dark":"light")}),[c]);var h=i.useCallback((e=>{l.set(e),p(e)}),[l]),v=i.useCallback((()=>{h("light"===c?"dark":"light")}),[c,h]);i.useEffect((()=>{var e;return n&&(e=function(e){if(!("matchMedia"in window))return o.ZT;var r=window.matchMedia(d),t=()=>{e(r.matches?"dark":"light")};return t(),r.addListener(t),()=>{r.removeListener(t)}}(h)),()=>{e&&n&&e()}}),[h,n]);var x=i.useMemo((()=>({colorMode:null!=r?r:c,toggleColorMode:r?o.ZT:v,setColorMode:r?o.ZT:h})),[c,h,v,r]);return i.createElement(y.Provider,{value:x},t)}n.Ts&&(x.displayName="ColorModeProvider");n.Ts;n.Ts},94577:function(e,r,t){"use strict";t.d(r,{vc:function(){return i},Me:function(){return s},ZS:function(){return l}});var n=t(67294),a={prefix:Math.round(1e10*Math.random()),current:0},o=n.createContext(a),i=n.memo((e=>{var{children:r}=e,t=n.useContext(o),i=t===a,s=n.useMemo((()=>({prefix:i?0:++t.prefix,current:0})),[i,t]);return n.createElement(o.Provider,{value:s},r)}));function s(e,r){var t=n.useContext(o);return n.useMemo((()=>e||[r,t.prefix,++t.current].filter(Boolean).join("-")),[e,r])}function l(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=s(e);return n.useMemo((()=>t.map((e=>e+"-"+o))),[o,t])}},34288:function(e,r,t){"use strict";t.d(r,{L:function(){return s},h:function(){return l}});var n=t(73808),a=t(28500),o=t(67294),[i,s]=(0,a.k)({strict:!1,name:"PortalManagerContext"});function l(e){var{children:r,zIndex:t}=e;return o.createElement(i,{value:{zIndex:t}},r)}n.Ts&&(l.displayName="PortalManager")},28500:function(e,r,t){"use strict";t.d(r,{k:function(){return a}});var n=t(67294);function a(e){void 0===e&&(e={});var{strict:r=!0,errorMessage:t="useContext: `context` is undefined. Seems you forgot to wrap component within the Provider",name:a}=e,o=n.createContext(void 0);return o.displayName=a,[o.Provider,function e(){var a=n.useContext(o);if(!a&&r){var i=new Error(t);throw i.name="ContextError",null==Error.captureStackTrace||Error.captureStackTrace(i,e),i}return a},o]}},13205:function(e,r,t){"use strict";t.d(r,{Oq:function(){return D},Cg:function(){return z},$_:function(){return R},cE:function(){return j},hX:function(){return O},GQ:function(){return T},eC:function(){return P},Mw:function(){return I},bK:function(){return M},pb:function(){return W},o_:function(){return $},FK:function(){return Z},v_:function(){return V},Dh:function(){return q},QX:function(){return G},vs:function(){return Y},eR:function(){return X},cp:function(){return U}});var n=t(73808);function a(e){var{scale:r,transform:t,compose:a}=e;return(e,o)=>{var i,s=((e,r)=>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})(r,e)(o),l=null!=(i=null==t?void 0:t(s,o))?i:s;return a&&(l=a(l,o)),l}}function o(e,r){return t=>{var n={property:t,scale:e};return n.transform=a({scale:e,transform:r}),n}}var i=e=>{var{rtl:r,ltr:t}=e;return e=>"rtl"===e.direction?r:t};var s=["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 l={"--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(" ")},c={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 u={"row-reverse":{space:"--chakra-space-x-reverse",divide:"--chakra-divide-x-reverse"},"column-reverse":{space:"--chakra-space-y-reverse",divide:"--chakra-divide-y-reverse"}},d="& > :not(style) ~ :not(style)",f={[d]:{marginInlineStart:"calc(var(--chakra-space-x) * calc(1 - var(--chakra-space-x-reverse)))",marginInlineEnd:"calc(var(--chakra-space-x) * var(--chakra-space-x-reverse))"}},b={[d]:{marginTop:"calc(var(--chakra-space-y) * calc(1 - var(--chakra-space-y-reverse)))",marginBottom:"calc(var(--chakra-space-y) * var(--chakra-space-y-reverse))"}};function g(e,r){g=function(e,r){return new o(e,void 0,r)};var t=h(RegExp),n=RegExp.prototype,a=new WeakMap;function o(e,r,n){var o=t.call(this,e,r);return a.set(o,n||a.get(e)),o}function i(e,r){var t=a.get(r);return Object.keys(t).reduce((function(r,n){return r[n]=e[t[n]],r}),Object.create(null))}return p(o,t),o.prototype.exec=function(e){var r=n.exec.call(this,e);return r&&(r.groups=i(r,this)),r},o.prototype[Symbol.replace]=function(e,r){if("string"===typeof r){var t=a.get(this);return n[Symbol.replace].call(this,e,r.replace(/\$<([^>]+)>/g,(function(e,r){return"$"+t[r]})))}if("function"===typeof r){var o=this;return n[Symbol.replace].call(this,e,(function(){var e=[];return e.push.apply(e,arguments),"object"!==typeof e[e.length-1]&&e.push(i(e,o)),r.apply(this,e)}))}return n[Symbol.replace].call(this,e,r)},g.apply(this,arguments)}function p(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&&v(e,r)}function h(e){var r="function"===typeof Map?new Map:void 0;return(h=function(e){if(null===e||(t=e,-1===Function.toString.call(t).indexOf("[native code]")))return e;var t;if("function"!==typeof e)throw new TypeError("Super expression must either be null or a function");if("undefined"!==typeof r){if(r.has(e))return r.get(e);r.set(e,n)}function n(){return m(e,arguments,x(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),v(n,e)})(e)}function m(e,r,t){return(m=y()?Reflect.construct:function(e,r,t){var n=[null];n.push.apply(n,r);var a=new(Function.bind.apply(e,n));return t&&v(a,t.prototype),a}).apply(null,arguments)}function y(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function v(e,r){return(v=Object.setPrototypeOf||function(e,r){return e.__proto__=r,e})(e,r)}function x(e){return(x=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var k={"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"},w=new Set(Object.values(k)),S=new Set(["none","-moz-initial","inherit","initial","revert","unset"]),C=e=>e.trim();var F=e=>r=>e+"("+r+")",A={filter:e=>"auto"!==e?e:l,backdropFilter:e=>"auto"!==e?e:c,ring:e=>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(", ")}}(A.px(e)),bgClip:e=>"text"===e?{color:"transparent",backgroundClip:"text"}:{backgroundClip:e},transform:e=>"auto"===e?["translateX(var(--chakra-translate-x, 0))","translateY(var(--chakra-translate-y, 0))",...s].join(" "):"auto-gpu"===e?["translate3d(var(--chakra-translate-x, 0), var(--chakra-translate-y, 0), 0)",...s].join(" "):e,px(e){if(null==e)return e;var{unitless:r}=(e=>{var r=parseFloat(e.toString()),t=e.toString().replace(String(r),"");return{unitless:!t,value:r,unit:t}})(e);return r||(0,n.hj)(e)?e+"px":e},fraction:e=>!(0,n.hj)(e)||e>1?e:100*e+"%",float:(e,r)=>"rtl"===r.direction?{left:"right",right:"left"}[e]:e,degree(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:(e,r)=>function(e,r){var t,n;if(null==e||S.has(e))return e;var a=g(/(^[\x2DA-Za-z]+)\(((.*))\)/g,{type:1,values:2}),{type:o,values:i}=null!=(t=null==(n=a.exec(e))?void 0:n.groups)?t:{};if(!o||!i)return e;var s=o.includes("-gradient")?o:o+"-gradient",[l,...c]=i.split(",").map(C).filter(Boolean);if(0===(null==c?void 0:c.length))return e;var u=l in k?k[l]:l;return c.unshift(u),s+"("+c.map((e=>{if(w.has(e))return e;var[t,n]=e.split(" "),a="colors."+t,o=a in r.__cssMap?r.__cssMap[a].varRef:t;return n?[o,n].join(" "):o})).join(", ")+")"}(e,null!=r?r:{}),blur:F("blur"),opacity:F("opacity"),brightness:F("brightness"),contrast:F("contrast"),dropShadow:F("drop-shadow"),grayscale:F("grayscale"),hueRotate:F("hue-rotate"),invert:F("invert"),saturate:F("saturate"),sepia:F("sepia"),bgImage:e=>null==e||E(e)||S.has(e)?e:"url("+e+")",outline(e){var r="0"===String(e)||"none"===String(e);return null!==e&&r?{outline:"2px solid transparent",outlineOffset:"2px"}:{outline:e}},flexDirection(e){var r,{space:t,divide:n}=null!=(r=u[e])?r:{},a={flexDirection:e};return t&&(a[t]=1),n&&(a[n]=1),a}},E=e=>(0,n.HD)(e)&&e.includes("(")&&e.includes(")");function _(){return(_=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={borderWidths:o("borderWidths"),borderStyles:o("borderStyles"),colors:o("colors"),borders:o("borders"),radii:o("radii",A.px),space:o("space",A.px),spaceT:o("space",A.px),degreeT:e=>({property:e,transform:A.degree}),prop:(e,r,t)=>_({property:e,scale:r},r&&{transform:a({scale:r,transform:t})}),propT:(e,r)=>({property:e,transform:r}),sizes:o("sizes",A.px),sizesT:o("sizes",A.fraction),shadows:o("shadows"),logical:function(e){var{property:r,scale:t,transform:n}=e;return{scale:t,property:i(r),transform:t?a({scale:t,compose:n}):n}},blur:o("blur",A.blur)},D={background:B.colors("background"),backgroundColor:B.colors("backgroundColor"),backgroundImage:B.propT("backgroundImage",A.bgImage),backgroundSize:!0,backgroundPosition:!0,backgroundRepeat:!0,backgroundAttachment:!0,backgroundClip:{transform:A.bgClip},bgSize:B.prop("backgroundSize"),bgPosition:B.prop("backgroundPosition"),bg:B.colors("background"),bgColor:B.colors("backgroundColor"),bgPos:B.prop("backgroundPosition"),bgRepeat:B.prop("backgroundRepeat"),bgAttachment:B.prop("backgroundAttachment"),bgGradient:B.propT("backgroundImage",A.gradient),bgClip:{transform:A.bgClip}};Object.assign(D,{bgImage:D.backgroundImage,bgImg:D.backgroundImage});var z={border:B.borders("border"),borderWidth:B.borderWidths("borderWidth"),borderStyle:B.borderStyles("borderStyle"),borderColor:B.colors("borderColor"),borderRadius:B.radii("borderRadius"),borderTop:B.borders("borderTop"),borderBlockStart:B.borders("borderBlockStart"),borderTopLeftRadius:B.radii("borderTopLeftRadius"),borderStartStartRadius:B.logical({scale:"radii",property:{ltr:"borderTopLeftRadius",rtl:"borderTopRightRadius"}}),borderEndStartRadius:B.logical({scale:"radii",property:{ltr:"borderBottomLeftRadius",rtl:"borderBottomRightRadius"}}),borderTopRightRadius:B.radii("borderTopRightRadius"),borderStartEndRadius:B.logical({scale:"radii",property:{ltr:"borderTopRightRadius",rtl:"borderTopLeftRadius"}}),borderEndEndRadius:B.logical({scale:"radii",property:{ltr:"borderBottomRightRadius",rtl:"borderBottomLeftRadius"}}),borderRight:B.borders("borderRight"),borderInlineEnd:B.borders("borderInlineEnd"),borderBottom:B.borders("borderBottom"),borderBlockEnd:B.borders("borderBlockEnd"),borderBottomLeftRadius:B.radii("borderBottomLeftRadius"),borderBottomRightRadius:B.radii("borderBottomRightRadius"),borderLeft:B.borders("borderLeft"),borderInlineStart:{property:"borderInlineStart",scale:"borders"},borderInlineStartRadius:B.logical({scale:"radii",property:{ltr:["borderTopLeftRadius","borderBottomLeftRadius"],rtl:["borderTopRightRadius","borderBottomRightRadius"]}}),borderInlineEndRadius:B.logical({scale:"radii",property:{ltr:["borderTopRightRadius","borderBottomRightRadius"],rtl:["borderTopLeftRadius","borderBottomLeftRadius"]}}),borderX:B.borders(["borderLeft","borderRight"]),borderInline:B.borders("borderInline"),borderY:B.borders(["borderTop","borderBottom"]),borderBlock:B.borders("borderBlock"),borderTopWidth:B.borderWidths("borderTopWidth"),borderBlockStartWidth:B.borderWidths("borderBlockStartWidth"),borderTopColor:B.colors("borderTopColor"),borderBlockStartColor:B.colors("borderBlockStartColor"),borderTopStyle:B.borderStyles("borderTopStyle"),borderBlockStartStyle:B.borderStyles("borderBlockStartStyle"),borderBottomWidth:B.borderWidths("borderBottomWidth"),borderBlockEndWidth:B.borderWidths("borderBlockEndWidth"),borderBottomColor:B.colors("borderBottomColor"),borderBlockEndColor:B.colors("borderBlockEndColor"),borderBottomStyle:B.borderStyles("borderBottomStyle"),borderBlockEndStyle:B.borderStyles("borderBlockEndStyle"),borderLeftWidth:B.borderWidths("borderLeftWidth"),borderInlineStartWidth:B.borderWidths("borderInlineStartWidth"),borderLeftColor:B.colors("borderLeftColor"),borderInlineStartColor:B.colors("borderInlineStartColor"),borderLeftStyle:B.borderStyles("borderLeftStyle"),borderInlineStartStyle:B.borderStyles("borderInlineStartStyle"),borderRightWidth:B.borderWidths("borderRightWidth"),borderInlineEndWidth:B.borderWidths("borderInlineEndWidth"),borderRightColor:B.colors("borderRightColor"),borderInlineEndColor:B.colors("borderInlineEndColor"),borderRightStyle:B.borderStyles("borderRightStyle"),borderInlineEndStyle:B.borderStyles("borderInlineEndStyle"),borderTopRadius:B.radii(["borderTopLeftRadius","borderTopRightRadius"]),borderBottomRadius:B.radii(["borderBottomLeftRadius","borderBottomRightRadius"]),borderLeftRadius:B.radii(["borderTopLeftRadius","borderBottomLeftRadius"]),borderRightRadius:B.radii(["borderTopRightRadius","borderBottomRightRadius"])};Object.assign(z,{rounded:z.borderRadius,roundedTop:z.borderTopRadius,roundedTopLeft:z.borderTopLeftRadius,roundedTopRight:z.borderTopRightRadius,roundedTopStart:z.borderStartStartRadius,roundedTopEnd:z.borderStartEndRadius,roundedBottom:z.borderBottomRadius,roundedBottomLeft:z.borderBottomLeftRadius,roundedBottomRight:z.borderBottomRightRadius,roundedBottomStart:z.borderEndStartRadius,roundedBottomEnd:z.borderEndEndRadius,roundedLeft:z.borderLeftRadius,roundedRight:z.borderRightRadius,roundedStart:z.borderInlineStartRadius,roundedEnd:z.borderInlineEndRadius,borderStart:z.borderInlineStart,borderEnd:z.borderInlineEnd,borderTopStartRadius:z.borderStartStartRadius,borderTopEndRadius:z.borderStartEndRadius,borderBottomStartRadius:z.borderEndStartRadius,borderBottomEndRadius:z.borderEndEndRadius,borderStartRadius:z.borderInlineStartRadius,borderEndRadius:z.borderInlineEndRadius,borderStartWidth:z.borderInlineStartWidth,borderEndWidth:z.borderInlineEndWidth,borderStartColor:z.borderInlineStartColor,borderEndColor:z.borderInlineEndColor,borderStartStyle:z.borderInlineStartStyle,borderEndStyle:z.borderInlineEndStyle});var R={color:B.colors("color"),textColor:B.colors("color"),fill:B.colors("fill"),stroke:B.colors("stroke")},j={boxShadow:B.shadows("boxShadow"),mixBlendMode:!0,blendMode:B.prop("mixBlendMode"),backgroundBlendMode:!0,bgBlendMode:B.prop("backgroundBlendMode"),opacity:!0};Object.assign(j,{shadow:j.boxShadow});var O={filter:{transform:A.filter},blur:B.blur("--chakra-blur"),brightness:B.propT("--chakra-brightness",A.brightness),contrast:B.propT("--chakra-contrast",A.contrast),hueRotate:B.degreeT("--chakra-hue-rotate"),invert:B.propT("--chakra-invert",A.invert),saturate:B.propT("--chakra-saturate",A.saturate),dropShadow:B.propT("--chakra-drop-shadow",A.dropShadow),backdropFilter:{transform:A.backdropFilter},backdropBlur:B.blur("--chakra-backdrop-blur"),backdropBrightness:B.propT("--chakra-backdrop-brightness",A.brightness),backdropContrast:B.propT("--chakra-backdrop-contrast",A.contrast),backdropHueRotate:B.degreeT("--chakra-backdrop-hue-rotate"),backdropInvert:B.propT("--chakra-backdrop-invert",A.invert),backdropSaturate:B.propT("--chakra-backdrop-saturate",A.saturate)},T={alignItems:!0,alignContent:!0,justifyItems:!0,justifyContent:!0,flexWrap:!0,flexDirection:{transform:A.flexDirection},experimental_spaceX:{static:f,transform:a({scale:"space",transform:e=>null!==e?{"--chakra-space-x":e}:null})},experimental_spaceY:{static:b,transform:a({scale:"space",transform:e=>null!=e?{"--chakra-space-y":e}:null})},flex:!0,flexFlow:!0,flexGrow:!0,flexShrink:!0,flexBasis:B.sizes("flexBasis"),justifySelf:!0,alignSelf:!0,order:!0,placeItems:!0,placeContent:!0,placeSelf:!0};Object.assign(T,{flexDir:T.flexDirection});var P={gridGap:B.space("gridGap"),gridColumnGap:B.space("gridColumnGap"),gridRowGap:B.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:A.outline},outlineOffset:!0,outlineColor:B.colors("outlineColor")},M={width:B.sizesT("width"),inlineSize:B.sizesT("inlineSize"),height:B.sizes("height"),blockSize:B.sizes("blockSize"),boxSize:B.sizes(["width","height"]),minWidth:B.sizes("minWidth"),minInlineSize:B.sizes("minInlineSize"),minHeight:B.sizes("minHeight"),minBlockSize:B.sizes("minBlockSize"),maxWidth:B.sizes("maxWidth"),maxInlineSize:B.sizes("maxInlineSize"),maxHeight:B.sizes("maxHeight"),maxBlockSize:B.sizes("maxBlockSize"),d:B.prop("display"),overflow:!0,overflowX:!0,overflowY:!0,overscrollBehavior:!0,overscrollBehaviorX:!0,overscrollBehaviorY:!0,display:!0,verticalAlign:!0,boxSizing:!0,boxDecorationBreak:!0,float:B.propT("float",A.float),objectFit:!0,objectPosition:!0,visibility:!0,isolation:!0};Object.assign(M,{w:M.width,h:M.height,minW:M.minWidth,maxW:M.maxWidth,minH:M.minHeight,maxH:M.maxHeight,overscroll:M.overscrollBehavior,overscrollX:M.overscrollBehaviorX,overscrollY:M.overscrollBehaviorY});var W={listStyleType:!0,listStylePosition:!0,listStylePos:B.prop("listStylePosition"),listStyleImage:!0,listStyleImg:B.prop("listStyleImage")},J=t(4651),N={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"},L=(e,r,t)=>{var n={},a=(0,J.Wf)(e,r,{});for(var o in a){o in t&&null!=t[o]||(n[o]=a[o])}return n},$={srOnly:{transform:e=>!0===e?N:"focusable"===e?H:{}},layerStyle:{processResult:!0,transform:(e,r,t)=>L(r,"layerStyles."+e,t)},textStyle:{processResult:!0,transform:(e,r,t)=>L(r,"textStyles."+e,t)},apply:{processResult:!0,transform:(e,r,t)=>L(r,e,t)}},Z={position:!0,pos:B.prop("position"),zIndex:B.prop("zIndex","zIndices"),inset:B.spaceT(["top","right","bottom","left"]),insetX:B.spaceT(["left","right"]),insetInline:B.spaceT("insetInline"),insetY:B.spaceT(["top","bottom"]),insetBlock:B.spaceT("insetBlock"),top:B.spaceT("top"),insetBlockStart:B.spaceT("insetBlockStart"),bottom:B.spaceT("bottom"),insetBlockEnd:B.spaceT("insetBlockEnd"),left:B.spaceT("left"),insetInlineStart:B.logical({scale:"space",property:{ltr:"left",rtl:"right"}}),right:B.spaceT("right"),insetInlineEnd:B.logical({scale:"space",property:{ltr:"right",rtl:"left"}})};Object.assign(Z,{insetStart:Z.insetInlineStart,insetEnd:Z.insetInlineEnd});var V={ring:{transform:A.ring},ringColor:B.colors("--chakra-ring-color"),ringOffset:B.prop("--chakra-ring-offset-width"),ringOffsetColor:B.colors("--chakra-ring-offset-color"),ringInset:B.prop("--chakra-ring-inset")},q={margin:B.spaceT("margin"),marginTop:B.spaceT("marginTop"),marginBlockStart:B.spaceT("marginBlockStart"),marginRight:B.spaceT("marginRight"),marginInlineEnd:B.spaceT("marginInlineEnd"),marginBottom:B.spaceT("marginBottom"),marginBlockEnd:B.spaceT("marginBlockEnd"),marginLeft:B.spaceT("marginLeft"),marginInlineStart:B.spaceT("marginInlineStart"),marginX:B.spaceT(["marginInlineStart","marginInlineEnd"]),marginInline:B.spaceT("marginInline"),marginY:B.spaceT(["marginTop","marginBottom"]),marginBlock:B.spaceT("marginBlock"),padding:B.space("padding"),paddingTop:B.space("paddingTop"),paddingBlockStart:B.space("paddingBlockStart"),paddingRight:B.space("paddingRight"),paddingBottom:B.space("paddingBottom"),paddingBlockEnd:B.space("paddingBlockEnd"),paddingLeft:B.space("paddingLeft"),paddingInlineStart:B.space("paddingInlineStart"),paddingInlineEnd:B.space("paddingInlineEnd"),paddingX:B.space(["paddingInlineStart","paddingInlineEnd"]),paddingInline:B.space("paddingInline"),paddingY:B.space(["paddingTop","paddingBottom"]),paddingBlock:B.space("paddingBlock")};Object.assign(q,{m:q.margin,mt:q.marginTop,mr:q.marginRight,me:q.marginInlineEnd,marginEnd:q.marginInlineEnd,mb:q.marginBottom,ml:q.marginLeft,ms:q.marginInlineStart,marginStart:q.marginInlineStart,mx:q.marginX,my:q.marginY,p:q.padding,pt:q.paddingTop,py:q.paddingY,px:q.paddingX,pb:q.paddingBottom,pl:q.paddingLeft,ps:q.paddingInlineStart,paddingStart:q.paddingInlineStart,pr:q.paddingRight,pe:q.paddingInlineEnd,paddingEnd:q.paddingInlineEnd});var G={textDecorationColor:B.colors("textDecorationColor"),textDecoration:!0,textDecor:{property:"textDecoration"},textDecorationLine:!0,textDecorationStyle:!0,textDecorationThickness:!0,textUnderlineOffset:!0,textShadow:B.shadows("textShadow")},Y={clipPath:!0,transform:B.propT("transform",A.transform),transformOrigin:!0,translateX:B.spaceT("--chakra-translate-x"),translateY:B.spaceT("--chakra-translate-y"),skewX:B.degreeT("--chakra-skew-x"),skewY:B.degreeT("--chakra-skew-y"),scaleX:B.prop("--chakra-scale-x"),scaleY:B.prop("--chakra-scale-y"),scale:B.prop(["--chakra-scale-x","--chakra-scale-y"]),rotate:B.degreeT("--chakra-rotate")},X={transition:!0,transitionDelay:!0,animation:!0,willChange:!0,transitionDuration:B.prop("transitionDuration","transition.duration"),transitionProperty:B.prop("transitionProperty","transition.property"),transitionTimingFunction:B.prop("transitionTimingFunction","transition.easing")},U={fontFamily:B.prop("fontFamily","fonts"),fontSize:B.prop("fontSize","fontSizes",A.px),fontWeight:B.prop("fontWeight","fontWeights"),lineHeight:B.prop("lineHeight","lineHeights"),letterSpacing:B.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(e){if(!0===e)return{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}}}}},55608:function(e,r,t){"use strict";t.d(r,{c0:function(){return F}});var n=t(73808);function a(e){return(0,n.Kn)(e)&&e.reference?e.reference:String(e)}var o=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(a).join(" "+e+" ").replace(/calc/g,"")},i=function(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return"calc("+o("+",...r)+")"},s=function(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return"calc("+o("-",...r)+")"},l=function(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return"calc("+o("*",...r)+")"},c=function(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return"calc("+o("/",...r)+")"},u=e=>{var r=a(e);return null==r||Number.isNaN(parseFloat(r))?l(r,-1):String(r).startsWith("-")?String(r).slice(1):"-"+r},d=Object.assign((e=>({add:function(){for(var r=arguments.length,t=new Array(r),n=0;n<r;n++)t[n]=arguments[n];return d(i(e,...t))},subtract:function(){for(var r=arguments.length,t=new Array(r),n=0;n<r;n++)t[n]=arguments[n];return d(s(e,...t))},multiply:function(){for(var r=arguments.length,t=new Array(r),n=0;n<r;n++)t[n]=arguments[n];return d(l(e,...t))},divide:function(){for(var r=arguments.length,t=new Array(r),n=0;n<r;n++)t[n]=arguments[n];return d(c(e,...t))},negate:()=>d(u(e)),toString:()=>e.toString()})),{add:i,subtract:s,multiply:l,divide:c,negate:u}),f=t(88456);function b(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 g(e,r){return"var("+b(e)+(r?", "+r:"")+")"}function p(e,r){return void 0===r&&(r=""),"--"+function(e,r){return void 0===r&&(r=""),[r,b(e)].filter(Boolean).join("-")}(e,r)}function h(e,r,t){var n=p(e,t);return{variable:n,reference:g(n,r)}}function m(){return(m=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 y(e,r){var t={cssMap:{},cssVars:{}};return function(e,r){(function e(t,a){return void 0===a&&(a=[]),(0,n.kJ)(t)?t.map(((r,t)=>e(r,[...a,String(t)]))):(0,n.Kn)(t)?Object.fromEntries(Object.entries(t).map((r=>{var[t,n]=r;return[t,e(n,[...a,t])]}))):r(t,a)})(e)}(e,((e,n)=>{var a,[o]=n,i=null!=(a=v[o])?a:v.defaultHandler,{cssVars:s,cssMap:l}=i(n,e,r);Object.assign(t.cssVars,s),Object.assign(t.cssMap,l)})),t}var v={space:(e,r,t)=>{var n=v.defaultHandler(e,r,t),[a,...o]=e,i=a+".-"+o.join("."),s=e.join("-"),{variable:l,reference:c}=h(s,void 0,t.cssVarPrefix),u=d.negate(r),f=d.negate(c);return{cssVars:n.cssVars,cssMap:m({},n.cssMap,{[i]:{value:""+u,var:""+l,varRef:f}})}},defaultHandler:(e,r,t)=>{var n=e.join("."),a=e.join("-"),{variable:o,reference:i}=h(a,void 0,t.cssVarPrefix);return{cssVars:{[o]:r},cssMap:{[n]:{value:r,var:o,varRef:i}}}}},x=t(4651);var k=["colors","borders","borderWidths","borderStyles","fonts","fontSizes","fontWeights","letterSpacings","lineHeights","radii","space","shadows","sizes","zIndices","transition","blur"];function w(e){var r=k;return(0,x.ei)(e,r)}function S(e){return 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,["__cssMap","__cssVars","__breakpoints"])}function C(){return(C=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 F(e){var r,t=S(e),n=w(t),a=null==(r=t.config)?void 0:r.cssVarPrefix,{cssMap:o,cssVars:i}=y(n,{cssVarPrefix:a});return Object.assign(t,{__cssVars:C({},{"--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"},i),__cssMap:o,__breakpoints:(0,f.y)(t.breakpoints)}),t}},33565:function(e,r,t){"use strict";t.d(r,{i:function(){return f}});var n=t(73808),a=t(80658),o=t(38554),i=t.n(o),s=t(28680),l=t(25503),c=(e,r)=>e.startsWith("--")&&(0,n.HD)(r)&&!(0,n.FS)(r),u=(e,r)=>{var t,n;if(null==r)return r;var a=r=>{var t,n;return null==(t=e.__cssMap)||null==(n=t[r])?void 0:n.varRef},o=e=>{var r;return null!=(r=a(e))?r:e},i=r.split(",").map((e=>e.trim())),[s,l]=i;return r=null!=(t=null!=(n=a(s))?n:o(l))?t:o(r)};function d(e){var{configs:r={},pseudos:t={},theme:o}=e;return function e(s,l){void 0===l&&(l=!1);var d=(0,a.Pu)(s,o),f=(e=>r=>{if(!r.__breakpoints)return e;var{isResponsive:t,toArrayValue:o,media:i}=r.__breakpoints,s={};for(var l in e){var c=(0,a.Pu)(e[l],r);if(null!=c)if(c=(0,n.Kn)(c)&&t(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?(s[f]=s[f]||{},null!=c[d]&&(s[f][l]=c[d])):s[l]=c[d]}else s[l]=c}return s})(d)(o),b={};for(var g in f){var p,h,m,y,v,x=f[g],k=(0,a.Pu)(x,o);g in t&&(g=t[g]),c(g,k)&&(k=u(o,k));var w=r[g];if(!0===w&&(w={property:g}),(0,n.Kn)(k)){var S;b[g]=null!=(S=b[g])?S:{},b[g]=i()({},b[g],e(k,!0))}else{var C=null!=(p=null==(h=w)||null==h.transform?void 0:h.transform(k,o,d))?p:k;C=null!=(m=w)&&m.processResult?e(C,!0):C;var F=(0,a.Pu)(null==(y=w)?void 0:y.property,o);if(!l&&null!=(v=w)&&v.static){var A=(0,a.Pu)(w.static,o);b=i()({},b,A)}if(F&&Array.isArray(F))for(var E of F)b[E]=C;else F?"&"===F&&(0,n.Kn)(C)?b=i()({},b,C):b[F]=C:(0,n.Kn)(C)?b=i()({},b,C):b[g]=C}}return b}}var f=e=>r=>d({theme:r,pseudos:s.v,configs:l.Ul})(e)},9421:function(e,r,t){"use strict";t.d(r,{iv:function(){return n.i},isStyleProp:function(){return i.ZR},layoutPropNames:function(){return i.oE},propNames:function(){return i.cC},toCSSVar:function(){return s.c0}});t(13205);var n=t(33565),a=t(41664);t.o(a,"isStyleProp")&&t.d(r,{isStyleProp:function(){return a.isStyleProp}}),t.o(a,"layoutPropNames")&&t.d(r,{layoutPropNames:function(){return a.layoutPropNames}}),t.o(a,"propNames")&&t.d(r,{propNames:function(){return a.propNames}}),t.o(a,"toCSSVar")&&t.d(r,{toCSSVar:function(){return a.toCSSVar}}),t.o(a,"useTheme")&&t.d(r,{useTheme:function(){return a.useTheme}});var o=t(87759);t.o(o,"isStyleProp")&&t.d(r,{isStyleProp:function(){return o.isStyleProp}}),t.o(o,"layoutPropNames")&&t.d(r,{layoutPropNames:function(){return o.layoutPropNames}}),t.o(o,"propNames")&&t.d(r,{propNames:function(){return o.propNames}}),t.o(o,"toCSSVar")&&t.d(r,{toCSSVar:function(){return o.toCSSVar}}),t.o(o,"useTheme")&&t.d(r,{useTheme:function(){return o.useTheme}});var i=t(25503),s=t(55608)},28680:function(e,r,t){"use strict";t.d(r,{v:function(){return d},_:function(){return f}});var n=t(4651),a=e=>e+":focus &, "+e+"[data-focus] &",o=e=>e+":active &, "+e+"[data-active] &",i=e=>e+":disabled &, "+e+"[data-disabled] &",s=e=>e+":invalid &, "+e+"[data-invalid] &",l=e=>e+":checked &, "+e+"[data-checked] &",c=e=>u(e,"[role=group]","[data-group]",".group"),u=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(", ")},d={_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:c((e=>e+":hover &, "+e+"[data-hover] &")),_groupFocus:c(a),_groupActive:c(o),_groupDisabled:c(i),_groupInvalid:c(s),_groupChecked:c(l),_placeholder:"&::placeholder",_fullScreen:"&:fullscreen",_selection:"&::selection",_rtl:"[dir=rtl] &",_mediaDark:"@media (prefers-color-scheme: dark)",_dark:".chakra-ui-dark &, [data-theme=dark] &, &[data-theme=dark]",_light:".chakra-ui-light &, [data-theme=light] &, &[data-theme=light]"},f=(0,n.Yd)(d)},25503:function(e,r,t){"use strict";t.d(r,{Ul:function(){return c},oE:function(){return d},cC:function(){return f},ZR:function(){return g}});var n=t(38554),a=t.n(n),o=t(4651),i=t(13205),s=t(28680);function l(){return(l=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 c=a()({},i.Oq,i.Cg,i.$_,i.GQ,i.bK,i.hX,i.v_,i.Mw,i.eC,i.o_,i.FK,i.cE,i.Dh,i.cp,i.QX,i.vs,i.pb,i.eR),u=Object.assign({},i.Dh,i.bK,i.GQ,i.eC,i.FK),d=(0,o.Yd)(u),f=[...(0,o.Yd)(c),...s._],b=l({},c,s.v),g=e=>e in b},41664:function(){},87759:function(){},29676:function(e,r,t){"use strict";t.d(r,{f6:function(){return d},Fg:function(){return f},Fo:function(){return b},yK:function(){return g},ZL:function(){return p}});var n=t(24738),a=t(9421),o=t(4651),i=t(80658),s=t(28500),l=t(30495),c=t(70917),u=t(67294),d=e=>{var{cssVarsRoot:r=":host, :root",theme:t,children:n}=e,o=u.useMemo((()=>(0,a.toCSSVar)(t)),[t]);return u.createElement(l.a,{theme:o},u.createElement(c.Global,{styles:e=>({[r]:e.__cssVars})}),n)};function f(){var e=u.useContext(l.T);if(!e)throw Error("useTheme: `theme` is undefined. Seems you forgot to wrap your app in `<ChakraProvider />` or `<ThemeProvider />`");return e}var[b,g]=(0,s.k)({name:"StylesContext",errorMessage:"useStyles: `styles` is undefined. Seems you forgot to wrap the components in `<StylesProvider />` "}),p=()=>{var{colorMode:e}=(0,n.If)();return u.createElement(c.Global,{styles:r=>{var t=(0,o.Wf)(r,"styles.global"),n=(0,i.Pu)(t,{theme:r,colorMode:e});if(n)return(0,a.iv)(n)(r)}})}},63108:function(e,r,t){"use strict";function n(e,r){return t=>"dark"===t.colorMode?r:e}function a(e){var{orientation:r,vertical:t,horizontal:n}=e;return r?"vertical"===r?t:n:{}}t.d(r,{xJ:function(){return n},fL:function(){return a}})},83035:function(e,r,t){"use strict";t.d(r,{Z:function(){return Dr}});var n={parts:["container","button","panel","icon"],baseStyle:{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"}}},a=t(17621),o=t.n(a),i=t(4651),s=t(73808),l=(e,r,t)=>{var n=(0,i.Wf)(e,"colors."+r,r);return o()(n).isValid()?n:t},c=e=>r=>{var t=l(r,e);return o()(t).isDark()?"dark":"light"},u=(e,r)=>t=>{var n=l(t,e);return o()(n).setAlpha(r).toRgbString()};function d(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 f(e){var r=o().random().toHexString();return!e||(0,s.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}var b=t(63108);function g(e){var{theme:r,colorScheme:t}=e,n=l(r,t+".100",t),a=u(t+".200",.16)(r);return(0,b.xJ)(n,a)(e)}var p={parts:["container","title","description","icon"],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:{subtle:function(e){var{colorScheme:r}=e;return{container:{bg:g(e)},icon:{color:(0,b.xJ)(r+".500",r+".200")(e)}}},"left-accent":function(e){var{colorScheme:r}=e;return{container:{paddingStart:3,borderStartWidth:"4px",borderStartColor:(0,b.xJ)(r+".500",r+".200")(e),bg:g(e)},icon:{color:(0,b.xJ)(r+".500",r+".200")(e)}}},"top-accent":function(e){var{colorScheme:r}=e;return{container:{pt:2,borderTopWidth:"4px",borderTopColor:(0,b.xJ)(r+".500",r+".200")(e),bg:g(e)},icon:{color:(0,b.xJ)(r+".500",r+".200")(e)}}},solid:function(e){var{colorScheme:r}=e;return{container:{bg:(0,b.xJ)(r+".500",r+".200")(e),color:(0,b.xJ)("white","gray.900")(e)}}}},defaultProps:{variant:"subtle",colorScheme:"blue"}},h=t(54681);function m(e){return{transform:"translate(25%, 25%)",borderRadius:"full",border:"0.2em solid",borderColor:(0,b.xJ)("white","gray.800")(e)}}function y(e){return{bg:(0,b.xJ)("gray.200","whiteAlpha.400")(e)}}function v(e){var{name:r,theme:t}=e,n=r?f({string:r}):"gray.400",a=(e=>r=>"dark"===c(e)(r))(n)(t),o="white";return a||(o="gray.800"),{bg:n,color:o,borderColor:(0,b.xJ)("white","gray.800")(e),verticalAlign:"top"}}function x(e){var r=h.Z[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 k={parts:["container","excessLabel","badge","label"],baseStyle:e=>({badge:m(e),excessLabel:y(e),container:v(e)}),sizes:{"2xs":x("4"),xs:x("6"),sm:x("8"),md:x("12"),lg:x("16"),xl:x("24"),"2xl":x("32"),full:x("100%")},defaultProps:{size:"md"}};var w={baseStyle:{px:1,textTransform:"uppercase",fontSize:"xs",borderRadius:"sm",fontWeight:"bold"},variants:{solid:function(e){var{colorScheme:r,theme:t}=e,n=u(r+".500",.6)(t);return{bg:(0,b.xJ)(r+".500",n)(e),color:(0,b.xJ)("white","whiteAlpha.800")(e)}},subtle:function(e){var{colorScheme:r,theme:t}=e,n=u(r+".200",.16)(t);return{bg:(0,b.xJ)(r+".100",n)(e),color:(0,b.xJ)(r+".800",r+".200")(e)}},outline:function(e){var{colorScheme:r,theme:t}=e,n=u(r+".200",.8)(t),a=l(t,r+".500"),o=(0,b.xJ)(a,n)(e);return{color:o,boxShadow:"inset 0 0 0px 1px "+o}}},defaultProps:{variant:"subtle",colorScheme:"gray"}},S={parts:["container","item","link","separator"],baseStyle:{link:{transitionProperty:"common",transitionDuration:"fast",transitionTimingFunction:"ease-out",cursor:"pointer",textDecoration:"none",outline:"none",color:"inherit",_hover:{textDecoration:"underline"},_focus:{boxShadow:"outline"}}}};function C(){return(C=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 F(e){var{colorScheme:r,theme:t}=e;if("gray"===r)return{color:(0,b.xJ)("inherit","whiteAlpha.900")(e),_hover:{bg:(0,b.xJ)("gray.100","whiteAlpha.200")(e)},_active:{bg:(0,b.xJ)("gray.200","whiteAlpha.300")(e)}};var n=u(r+".200",.12)(t),a=u(r+".200",.24)(t);return{color:(0,b.xJ)(r+".600",r+".200")(e),bg:"transparent",_hover:{bg:(0,b.xJ)(r+".50",n)(e)},_active:{bg:(0,b.xJ)(r+".100",a)(e)}}}var A={yellow:{bg:"yellow.400",color:"black",hoverBg:"yellow.500",activeBg:"yellow.600"},cyan:{bg:"cyan.400",color:"black",hoverBg:"cyan.500",activeBg:"cyan.600"}};var E={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:F,outline:function(e){var{colorScheme:r}=e,t=(0,b.xJ)("gray.200","whiteAlpha.300")(e);return C({border:"1px solid",borderColor:"gray"===r?t:"currentColor"},F(e))},solid:function(e){var{colorScheme:r}=e;if("gray"===r){var t=(0,b.xJ)("gray.100","whiteAlpha.200")(e);return{bg:t,_hover:{bg:(0,b.xJ)("gray.200","whiteAlpha.300")(e),_disabled:{bg:t}},_active:{bg:(0,b.xJ)("gray.300","whiteAlpha.400")(e)}}}var{bg:n=r+".500",color:a="white",hoverBg:o=r+".600",activeBg:i=r+".700"}=A[r]||{},s=(0,b.xJ)(n,r+".200")(e);return{bg:s,color:(0,b.xJ)(a,"gray.800")(e),_hover:{bg:(0,b.xJ)(o,r+".300")(e),_disabled:{bg:s}},_active:{bg:(0,b.xJ)(i,r+".400")(e)}}},link:function(e){var{colorScheme:r}=e;return{padding:0,height:"auto",lineHeight:"normal",verticalAlign:"baseline",color:(0,b.xJ)(r+".500",r+".200")(e),_hover:{textDecoration:"underline",_disabled:{textDecoration:"none"}},_active:{color:(0,b.xJ)(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"}};function _(e){var{colorScheme:r}=e;return{w:"100%",transitionProperty:"box-shadow",transitionDuration:"normal",border:"2px solid",borderRadius:"sm",borderColor:"inherit",color:"white",_checked:{bg:(0,b.xJ)(r+".500",r+".200")(e),borderColor:(0,b.xJ)(r+".500",r+".200")(e),color:(0,b.xJ)("white","gray.900")(e),_hover:{bg:(0,b.xJ)(r+".600",r+".300")(e),borderColor:(0,b.xJ)(r+".600",r+".300")(e)},_disabled:{borderColor:(0,b.xJ)("gray.200","transparent")(e),bg:(0,b.xJ)("gray.200","whiteAlpha.300")(e),color:(0,b.xJ)("gray.500","whiteAlpha.500")(e)}},_indeterminate:{bg:(0,b.xJ)(r+".500",r+".200")(e),borderColor:(0,b.xJ)(r+".500",r+".200")(e),color:(0,b.xJ)("white","gray.900")(e)},_disabled:{bg:(0,b.xJ)("gray.100","whiteAlpha.100")(e),borderColor:(0,b.xJ)("gray.100","transparent")(e)},_focus:{boxShadow:"outline"},_invalid:{borderColor:(0,b.xJ)("red.500","red.300")(e)}}}var B={userSelect:"none",_disabled:{opacity:.4}},D={transitionProperty:"transform",transitionDuration:"normal"},z={parts:["container","control","label","icon"],baseStyle:e=>({icon:D,control:_(e),label:B}),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"}};var R={baseStyle:function(e){return{borderRadius:"md",transitionProperty:"common",transitionDuration:"normal",_disabled:{opacity:.4,cursor:"not-allowed",boxShadow:"none"},_hover:{bg:(0,b.xJ)("blackAlpha.100","whiteAlpha.100")(e)},_active:{bg:(0,b.xJ)("blackAlpha.200","whiteAlpha.200")(e)},_focus:{boxShadow:"outline"}}},sizes:{lg:{w:"40px",h:"40px",fontSize:"16px"},md:{w:"32px",h:"32px",fontSize:"12px"},sm:{w:"24px",h:"24px",fontSize:"10px"}},defaultProps:{size:"md"}},{variants:j,defaultProps:O}=w,T={baseStyle:{fontFamily:"mono",fontSize:"sm",px:"0.2em",borderRadius:"sm"},variants:j,defaultProps:O},P={baseStyle:{w:"100%",mx:"auto",maxW:"60ch",px:"1rem"}},I={baseStyle:{opacity:.6,borderColor:"inherit"},variants:{solid:{borderStyle:"solid"},dashed:{borderStyle:"dashed"}},defaultProps:{variant:"solid"}},M={bg:"blackAlpha.600",zIndex:"modal"};function W(e){var{isCentered:r,scrollBehavior:t}=e;return{display:"flex",zIndex:"modal",justifyContent:"center",alignItems:r?"center":"flex-start",overflow:"inside"===t?"hidden":"auto"}}function J(e){var{scrollBehavior:r}=e;return{borderRadius:"md",bg:(0,b.xJ)("white","gray.700")(e),color:"inherit",my:"3.75rem",zIndex:"modal",maxH:"inside"===r?"calc(100% - 7.5rem)":void 0,boxShadow:(0,b.xJ)("lg","dark-lg")(e)}}var N={px:6,py:4,fontSize:"xl",fontWeight:"semibold"},H={position:"absolute",top:2,insetEnd:3};function L(e){var{scrollBehavior:r}=e;return{px:6,py:2,flex:1,overflow:"inside"===r?"auto":void 0}}var $={px:6,py:4};function Z(e){return"full"===e?{dialog:{maxW:"100vw",minH:"100vh"}}:{dialog:{maxW:e}}}var V={parts:["overlay","dialogContainer","dialog","header","closeButton","body","footer"],baseStyle:e=>({overlay:M,dialogContainer:W(e),dialog:J(e),header:N,closeButton:H,body:L(e),footer:$}),sizes:{xs:Z("xs"),sm:Z("sm"),md:Z("md"),lg:Z("lg"),xl:Z("xl"),"2xl":Z("2xl"),"3xl":Z("3xl"),"4xl":Z("4xl"),"5xl":Z("5xl"),"6xl":Z("6xl"),full:Z("full")},defaultProps:{size:"md"}};function q(){return(q=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 G(e){return"full"===e?{dialog:{maxW:"100vw",h:"100vh"}}:{dialog:{maxW:e}}}var Y={bg:"blackAlpha.600",zIndex:"overlay"},X={display:"flex",zIndex:"modal",justifyContent:"center"};function U(e){var{isFullHeight:r}=e;return q({},r&&{height:"100vh"},{zIndex:"modal",maxH:"100vh",bg:(0,b.xJ)("white","gray.700")(e),color:"inherit",boxShadow:(0,b.xJ)("lg","dark-lg")(e)})}var K={px:6,py:4,fontSize:"xl",fontWeight:"semibold"},Q={position:"absolute",top:2,insetEnd:3},ee={px:6,py:2,flex:1,overflow:"auto"},re={px:6,py:4},te={parts:V.parts,baseStyle:e=>({overlay:Y,dialogContainer:X,dialog:U(e),header:K,closeButton:Q,body:ee,footer:re}),sizes:{xs:G("xs"),sm:G("md"),md:G("lg"),lg:G("2xl"),xl:G("4xl"),full:G("full")},defaultProps:{size:"xs"}},ne={parts:["preview","input"],baseStyle:{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}}}};function ae(e){return{marginStart:1,color:(0,b.xJ)("red.500","red.300")(e)}}function oe(e){return{mt:2,color:(0,b.xJ)("gray.500","whiteAlpha.600")(e),lineHeight:"normal",fontSize:"sm"}}var ie={parts:["requiredIndicator","helperText"],baseStyle:e=>({requiredIndicator:ae(e),helperText:oe(e)})},se={baseStyle:{fontSize:"md",marginEnd:3,mb:2,fontWeight:"medium",transitionProperty:"common",transitionDuration:"normal",opacity:1,_disabled:{opacity:.4}}},le={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"}},ce={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"}};function ue(e){var{focusBorderColor:r,errorBorderColor:t}=e;return{focusBorderColor:r||(0,b.xJ)("blue.500","blue.300")(e),errorBorderColor:t||(0,b.xJ)("red.500","red.300")(e)}}var de={parts:["field","addon"],baseStyle:{field:{width:"100%",minWidth:0,outline:0,position:"relative",appearance:"none",transitionProperty:"common",transitionDuration:"normal"}},sizes:{lg:{field:ce.lg,addon:ce.lg},md:{field:ce.md,addon:ce.md},sm:{field:ce.sm,addon:ce.sm},xs:{field:ce.xs,addon:ce.xs}},variants:{outline:function(e){var{theme:r}=e,{focusBorderColor:t,errorBorderColor:n}=ue(e);return{field:{border:"1px solid",borderColor:"inherit",bg:"inherit",_hover:{borderColor:(0,b.xJ)("gray.300","whiteAlpha.400")(e)},_readOnly:{boxShadow:"none !important",userSelect:"all"},_disabled:{opacity:.4,cursor:"not-allowed"},_invalid:{borderColor:l(r,n),boxShadow:"0 0 0 1px "+l(r,n)},_focus:{zIndex:1,borderColor:l(r,t),boxShadow:"0 0 0 1px "+l(r,t)}},addon:{border:"1px solid",borderColor:(0,b.xJ)("inherit","whiteAlpha.50")(e),bg:(0,b.xJ)("gray.100","whiteAlpha.300")(e)}}},filled:function(e){var{theme:r}=e,{focusBorderColor:t,errorBorderColor:n}=ue(e);return{field:{border:"2px solid",borderColor:"transparent",bg:(0,b.xJ)("gray.100","whiteAlpha.50")(e),_hover:{bg:(0,b.xJ)("gray.200","whiteAlpha.100")(e)},_readOnly:{boxShadow:"none !important",userSelect:"all"},_disabled:{opacity:.4,cursor:"not-allowed"},_invalid:{borderColor:l(r,n)},_focus:{bg:"transparent",borderColor:l(r,t)}},addon:{border:"2px solid",borderColor:"transparent",bg:(0,b.xJ)("gray.100","whiteAlpha.50")(e)}}},flushed:function(e){var{theme:r}=e,{focusBorderColor:t,errorBorderColor:n}=ue(e);return{field:{borderBottom:"1px solid",borderColor:"inherit",borderRadius:0,px:0,bg:"transparent",_readOnly:{boxShadow:"none !important",userSelect:"all"},_invalid:{borderColor:l(r,n),boxShadow:"0px 1px 0px 0px "+l(r,n)},_focus:{borderColor:l(r,t),boxShadow:"0px 1px 0px 0px "+l(r,t)}},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"}}},defaultProps:{size:"md",variant:"outline"}};var fe={baseStyle:function(e){return{bg:(0,b.xJ)("gray.100","whiteAlpha")(e),borderRadius:"md",borderWidth:"1px",borderBottomWidth:"3px",fontSize:"0.8em",fontWeight:"bold",lineHeight:"normal",px:"0.4em",whiteSpace:"nowrap"}}},be={baseStyle:{transitionProperty:"common",transitionDuration:"fast",transitionTimingFunction:"ease-out",cursor:"pointer",textDecoration:"none",outline:"none",color:"inherit",_hover:{textDecoration:"underline"},_focus:{boxShadow:"outline"}}},ge={parts:["container","item","icon"],baseStyle:{container:{},item:{},icon:{marginEnd:"0.5rem",display:"inline",verticalAlign:"text-bottom"}}};function pe(e){return{bg:(0,b.xJ)("#fff","gray.700")(e),boxShadow:(0,b.xJ)("sm","dark-lg")(e),color:"inherit",minW:"3xs",py:"2",zIndex:1,borderRadius:"md",borderWidth:"1px"}}function he(e){return{py:"0.4rem",px:"0.8rem",transitionProperty:"background",transitionDuration:"ultra-fast",transitionTimingFunction:"ease-in",_focus:{bg:(0,b.xJ)("gray.100","whiteAlpha.100")(e)},_active:{bg:(0,b.xJ)("gray.200","whiteAlpha.200")(e)},_expanded:{bg:(0,b.xJ)("gray.100","whiteAlpha.100")(e)},_disabled:{opacity:.4,cursor:"not-allowed"}}}var me,ye={mx:4,my:2,fontWeight:"semibold",fontSize:"sm"},ve={opacity:.6},xe={border:0,borderBottom:"1px solid",borderColor:"inherit",my:"0.5rem",opacity:.6},ke={transitionProperty:"common",transitionDuration:"normal"},we={parts:["item","command","list","button","groupTitle","divider"],baseStyle:e=>({button:ke,list:pe(e),item:he(e),groupTitle:ye,command:ve,divider:xe})},Se=t(35268);function Ce(){return(Ce=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{variants:Fe,defaultProps:Ae}=de,Ee={"--number-input-stepper-width":"24px","--number-input-field-padding":"calc(var(--number-input-stepper-width) + 0.5rem)"},_e=null==(me=de.baseStyle)?void 0:me.field,Be={width:"var(--number-input-stepper-width)"};function De(e){return{borderStart:"1px solid",borderStartColor:(0,b.xJ)("inherit","whiteAlpha.300")(e),color:(0,b.xJ)("inherit","whiteAlpha.800")(e),_active:{bg:(0,b.xJ)("gray.200","whiteAlpha.300")(e)},_disabled:{opacity:.4,cursor:"not-allowed"}}}function ze(e){var r=de.sizes[e],t={lg:"md",md:"md",sm:"sm",xs:"sm"},n=Se.Z.fontSizes[r.field.fontSize];return{field:Ce({},r.field,{paddingInlineEnd:"var(--number-input-field-padding)",verticalAlign:"top"}),stepper:{fontSize:"calc("+n+" * 0.75)",_first:{borderTopEndRadius:t[e]},_last:{borderBottomEndRadius:t[e],mt:"-1px",borderTopWidth:1}}}}var Re={parts:["root","field","stepper","stepperGroup"],baseStyle:e=>({root:Ee,field:_e,stepperGroup:Be,stepper:De(e)}),sizes:{xs:ze("xs"),sm:ze("sm"),md:ze("md"),lg:ze("lg")},variants:Fe,defaultProps:Ae};function je(){return(je=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 Oe={baseStyle:je({},de.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:e=>de.variants.outline(e).field,flushed:e=>de.variants.flushed(e).field,filled:e=>de.variants.filled(e).field,unstyled:de.variants.unstyled.field},defaultProps:de.defaultProps},Te={zIndex:10};function Pe(e){return{"--popover-bg":"colors."+(0,b.xJ)("white","gray.700")(e),bg:"var(--popover-bg)","--popper-arrow-bg":"var(--popover-bg)","--popper-arrow-shadow-color":"colors."+(0,b.xJ)("gray.200","whiteAlpha.300")(e),width:"xs",border:"1px solid",borderColor:"inherit",borderRadius:"md",boxShadow:"sm",zIndex:"inherit",_focus:{outline:0,boxShadow:"outline"}}}var Ie={px:3,py:2,borderBottomWidth:"1px"},Me={px:3,py:2},We={px:3,py:2,borderTopWidth:"1px"},Je={parts:["popper","content","header","body","footer","arrow"],baseStyle:e=>({popper:Te,content:Pe(e),header:Ie,body:Me,footer:We,arrow:{}})};function Ne(){return(Ne=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 He={lineHeight:"1",fontSize:"0.25em",fontWeight:"bold",color:"white"};function Le(e){return{bg:(0,b.xJ)("gray.100","whiteAlpha.300")(e)}}function $e(e){return Ne({transitionProperty:"common",transitionDuration:"slow"},function(e){var{colorScheme:r,theme:t,isIndeterminate:n,hasStripe:a}=e,o=(0,b.xJ)(d(),d("1rem","rgba(0,0,0,0.1)"))(e),i=(0,b.xJ)(r+".500",r+".200")(e),s="linear-gradient(\n    to right,\n    transparent 0%,\n    "+l(t,i)+" 50%,\n    transparent 100%\n  )";return Ne({},!n&&a&&o,n?{bgImage:s}:{bgColor:i})}(e))}var Ze={parts:["track","filledTrack","label"],sizes:{xs:{track:{h:"0.25rem"}},sm:{track:{h:"0.5rem"}},md:{track:{h:"0.75rem"}},lg:{track:{h:"1rem"}}},baseStyle:e=>({label:He,filledTrack:$e(e),track:Le(e)}),defaultProps:{size:"md",colorScheme:"blue"}};function Ve(){return(Ve=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 qe(e){var{control:r}=z.baseStyle(e);return Ve({},r,{borderRadius:"full",_checked:Ve({},r._checked,{_before:{content:'""',display:"inline-block",pos:"relative",w:"50%",h:"50%",borderRadius:"50%",bg:"currentColor"}})})}var Ge={parts:["container","control","label"],baseStyle:e=>({label:z.baseStyle(e).label,control:qe(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"}},Ye=t(38554);function Xe(){return(Xe=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 Ue(e){return Xe({},de.baseStyle.field,{appearance:"none",paddingBottom:"1px",lineHeight:"normal","> option, > optgroup":{bg:(0,b.xJ)("white","gray.700")(e)}})}var Ke={width:"1.5rem",height:"100%",insetEnd:"0.5rem",position:"relative",color:"currentColor",fontSize:"1.25rem",_disabled:{opacity:.5}},Qe={parts:["field","icon"],baseStyle:e=>({field:Ue(e),icon:Ke}),sizes:t.n(Ye)()({},de.sizes,{xs:{icon:{insetEnd:"0.25rem"}}}),variants:de.variants,defaultProps:de.defaultProps},er=t(70917),rr=(e,r)=>(0,er.keyframes)({from:{borderColor:e,background:e},to:{borderColor:r,background:r}}),tr={baseStyle:e=>{var r=(0,b.xJ)("gray.100","gray.800")(e),t=(0,b.xJ)("gray.400","gray.600")(e),{startColor:n=r,endColor:a=t,speed:o,theme:i}=e,s=l(i,n),c=l(i,a);return{opacity:.7,borderRadius:"2px",borderColor:s,background:c,animation:o+"s linear infinite alternate "+rr(s,c)}}},nr={baseStyle:e=>({borderRadius:"md",fontWeight:"semibold",_focus:{boxShadow:"outline",padding:"1rem",position:"fixed",top:"1.5rem",insetStart:"1.5rem",bg:(0,b.xJ)("white","gray.700")(e)}})};function ar(){return(ar=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 or=e=>{var{orientation:r}=e;return ar({_disabled:{opacity:.6,cursor:"default",pointerEvents:"none"}},(0,b.fL)({orientation:r,vertical:{h:"100%"},horizontal:{w:"100%"}}))};function ir(e){return{borderRadius:"sm",bg:(0,b.xJ)("gray.200","whiteAlpha.200")(e),_disabled:{bg:(0,b.xJ)("gray.300","whiteAlpha.300")(e)}}}function sr(e){return ar({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(0,b.fL)({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))}function lr(e){var{colorScheme:r}=e;return{bg:(0,b.xJ)(r+".500",r+".200")(e)}}var cr={parts:["container","thumb","track","filledTrack"],sizes:{lg:function(e){return{thumb:{w:"16px",h:"16px"},track:(0,b.fL)({orientation:e.orientation,horizontal:{h:"4px"},vertical:{w:"4px"}})}},md:function(e){return{thumb:{w:"14px",h:"14px"},track:(0,b.fL)({orientation:e.orientation,horizontal:{h:"4px"},vertical:{w:"4px"}})}},sm:function(e){return{thumb:{w:"10px",h:"10px"},track:(0,b.fL)({orientation:e.orientation,horizontal:{h:"2px"},vertical:{w:"2px"}})}}},baseStyle:e=>({container:or(e),track:ir(e),thumb:sr(e),filledTrack:lr(e)}),defaultProps:{size:"md",colorScheme:"blue"}},ur={baseStyle:{width:"var(--spinner-size)",height:"var(--spinner-size)"},sizes:{xs:{"--spinner-size":"0.75rem"},sm:{"--spinner-size":"1rem"},md:{"--spinner-size":"1.5rem"},lg:{"--spinner-size":"2rem"},xl:{"--spinner-size":"3rem"}},defaultProps:{size:"md"}},dr={parts:["label","number","icon","helpText"],baseStyle:{label:{fontWeight:"medium"},helpText:{opacity:.8,marginBottom:2},number:{verticalAlign:"baseline",fontWeight:"semibold"},icon:{marginEnd:1,w:"14px",h:"14px",verticalAlign:"middle"}},sizes:{md:{label:{fontSize:"sm"},helpText:{fontSize:"sm"},number:{fontSize:"2xl"}}},defaultProps:{size:"md"}};function fr(e){var{colorScheme:r}=e;return{borderRadius:"full",p:"2px",width:"var(--slider-track-width)",height:"var(--slider-track-height)",transitionProperty:"common",transitionDuration:"fast",bg:(0,b.xJ)("gray.300","whiteAlpha.400")(e),_focus:{boxShadow:"outline"},_disabled:{opacity:.4,cursor:"not-allowed"},_checked:{bg:(0,b.xJ)(r+".500",r+".200")(e)}}}var br={bg:"white",transitionProperty:"transform",transitionDuration:"normal",borderRadius:"inherit",width:"var(--slider-track-height)",height:"var(--slider-track-height)",_checked:{transform:"translateX(var(--slider-thumb-x))"}},gr={parts:["container","track","thumb"],baseStyle:e=>({container:{"--slider-track-diff":"calc(var(--slider-track-width) - var(--slider-track-height))","--slider-thumb-x":"var(--slider-track-diff)",_rtl:{"--slider-thumb-x":"calc(-1 * var(--slider-track-diff))"}},track:fr(e),thumb:br}),sizes:{sm:{container:{"--slider-track-width":"1.375rem","--slider-track-height":"0.75rem"}},md:{container:{"--slider-track-width":"1.875rem","--slider-track-height":"1rem"}},lg:{container:{"--slider-track-width":"2.875rem","--slider-track-height":"1.5rem"}}},defaultProps:{size:"md",colorScheme:"blue"}};function pr(){return(pr=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 hr={"&[data-is-numeric=true]":{textAlign:"end"}},mr={parts:["table","thead","tbody","tr","th","td","caption"],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:{simple:e=>{var{colorScheme:r}=e;return{th:pr({color:(0,b.xJ)("gray.600","gray.400")(e),borderBottom:"1px",borderColor:(0,b.xJ)(r+".100",r+".700")(e)},hr),td:pr({borderBottom:"1px",borderColor:(0,b.xJ)(r+".100",r+".700")(e)},hr),caption:{color:(0,b.xJ)("gray.600","gray.100")(e)},tfoot:{tr:{"&:last-of-type":{th:{borderBottomWidth:0}}}}}},striped:e=>{var{colorScheme:r}=e;return{th:pr({color:(0,b.xJ)("gray.600","gray.400")(e),borderBottom:"1px",borderColor:(0,b.xJ)(r+".100",r+".700")(e)},hr),td:pr({borderBottom:"1px",borderColor:(0,b.xJ)(r+".100",r+".700")(e)},hr),caption:{color:(0,b.xJ)("gray.600","gray.100")(e)},tbody:{tr:{"&:nth-of-type(odd)":{"th, td":{borderBottomWidth:"1px",borderColor:(0,b.xJ)(r+".100",r+".700")(e)},td:{background:(0,b.xJ)(r+".100",r+".700")(e)}}}},tfoot:{tr:{"&:last-of-type":{th:{borderBottomWidth:0}}}}}},unstyled:{}},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"}};function yr(e){var{orientation:r}=e;return{display:"vertical"===r?"flex":"block"}}function vr(e){var{isFitted:r}=e;return{flex:r?1:void 0,transitionProperty:"common",transitionDuration:"normal",_focus:{zIndex:1,boxShadow:"outline"}}}function xr(e){var{align:r="start",orientation:t}=e;return{justifyContent:{end:"flex-end",center:"center",start:"flex-start"}[r],flexDirection:"vertical"===t?"column":"row"}}var kr={p:4};var wr={parts:["root","tablist","tab","tabpanels","tabpanel","indicator"],baseStyle:e=>({root:yr(e),tab:vr(e),tablist:xr(e),tabpanel:kr}),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:{line:function(e){var{colorScheme:r,orientation:t}=e,n="vertical"===t?"borderStart":"borderBottom";return{tablist:{[n]:"2px solid",borderColor:"inherit"},tab:{[n]:"2px solid",borderColor:"transparent",["vertical"===t?"marginStart":"marginBottom"]:"-2px",_selected:{color:(0,b.xJ)(r+".600",r+".300")(e),borderColor:"currentColor"},_active:{bg:(0,b.xJ)("gray.200","whiteAlpha.300")(e)},_disabled:{opacity:.4,cursor:"not-allowed"}}}},enclosed:function(e){var{colorScheme:r}=e;return{tab:{borderTopRadius:"md",border:"1px solid",borderColor:"transparent",mb:"-1px",_selected:{color:(0,b.xJ)(r+".600",r+".300")(e),borderColor:"inherit",borderBottomColor:(0,b.xJ)("white","gray.800")(e)}},tablist:{mb:"-1px",borderBottom:"1px solid",borderColor:"inherit"}}},"enclosed-colored":function(e){var{colorScheme:r}=e;return{tab:{border:"1px solid",borderColor:"inherit",bg:(0,b.xJ)("gray.50","whiteAlpha.50")(e),mb:"-1px",_notLast:{marginEnd:"-1px"},_selected:{bg:(0,b.xJ)("#fff","gray.800")(e),color:(0,b.xJ)(r+".600",r+".300")(e),borderColor:"inherit",borderTopColor:"currentColor",borderBottomColor:"transparent"}},tablist:{mb:"-1px",borderBottom:"1px solid",borderColor:"inherit"}}},"soft-rounded":function(e){var{colorScheme:r,theme:t}=e;return{tab:{borderRadius:"full",fontWeight:"semibold",color:"gray.600",_selected:{color:l(t,r+".700"),bg:l(t,r+".100")}}}},"solid-rounded":function(e){var{colorScheme:r}=e;return{tab:{borderRadius:"full",fontWeight:"semibold",color:(0,b.xJ)("gray.600","inherit")(e),_selected:{color:(0,b.xJ)("#fff","gray.800")(e),bg:(0,b.xJ)(r+".600",r+".300")(e)}}}},unstyled:{}},defaultProps:{size:"md",variant:"line",colorScheme:"blue"}},Sr={parts:["container","label","closeButton"],variants:{subtle:e=>({container:w.variants.subtle(e)}),solid:e=>({container:w.variants.solid(e)}),outline:e=>({container:w.variants.outline(e)})},baseStyle:{container:{fontWeight:"medium",lineHeight:1.2,outline:0,_focus:{boxShadow:"outline"}},label:{lineHeight:1.2},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}}},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"}};function Cr(){return(Cr=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 Fr=Cr({},de.baseStyle.field,{paddingY:"8px",minHeight:"80px",lineHeight:"short",verticalAlign:"top"}),Ar={outline:e=>de.variants.outline(e).field,flushed:e=>de.variants.flushed(e).field,filled:e=>de.variants.filled(e).field,unstyled:de.variants.unstyled.field},Er={xs:de.sizes.xs.field,sm:de.sizes.sm.field,md:de.sizes.md.field,lg:de.sizes.lg.field};function _r(e){return{color:(0,b.xJ)("red.500","red.300")(e),mt:2,fontSize:"sm"}}function Br(e){return{marginEnd:"0.5em",color:(0,b.xJ)("red.500","red.300")(e)}}var Dr={Accordion:n,Alert:p,Avatar:k,Badge:w,Breadcrumb:S,Button:E,Checkbox:z,CloseButton:R,Code:T,Container:P,Divider:I,Drawer:te,Editable:ne,Form:ie,FormLabel:se,Heading:le,Input:de,Kbd:fe,Link:be,List:ge,Menu:we,Modal:V,NumberInput:Re,PinInput:Oe,Popover:Je,Progress:Ze,Radio:Ge,Select:Qe,Skeleton:tr,SkipLink:nr,Slider:cr,Spinner:ur,Stat:dr,Switch:gr,Table:mr,Tabs:wr,Tag:Sr,Textarea:{baseStyle:Fr,sizes:Er,variants:Ar,defaultProps:{size:"md",variant:"outline"}},Tooltip:{baseStyle:function(e){return{"--tooltip-bg":"colors."+(0,b.xJ)("gray.700","gray.300")(e),px:"8px",py:"2px",bg:"var(--tooltip-bg)","--popper-arrow-bg":"var(--tooltip-bg)",color:(0,b.xJ)("whiteAlpha.900","gray.900")(e),borderRadius:"sm",fontWeight:"medium",fontSize:"sm",boxShadow:"md",maxW:"320px",zIndex:"tooltip"}}},FormError:{parts:["text","icon"],baseStyle:e=>({text:_r(e),icon:Br(e)})}}},42009:function(e,r,t){"use strict";t.d(r,{Z:function(){return p}});var n={none:0,"1px":"1px solid","2px":"2px solid","4px":"4px solid","8px":"8px solid"},a=t(80658);function o(){return(o=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 i,s=(i={sm:"30em",md:"48em",lg:"62em",xl:"80em","2xl":"96em"},(0,a.ZK)({condition:!0,message:["[chakra-ui]: createBreakpoints(...) will be deprecated pretty soon","simply pass the breakpoints as an object. Remove the createBreakpoint(..) call"].join("")}),o({base:"0em"},i)),l={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"}},c={none:"0",sm:"0.125rem",base:"0.25rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"},u={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"},d=t(54681),f=t(54514),b={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"}};function g(){return(g=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=g({breakpoints:s,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:c,blur:{none:0,sm:"4px",base:"8px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},colors:l},t(35268).Z,{sizes:d.Z,shadows:u,space:f.W,borders:n,transition:b})},54681: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)}var a=n({},t(54514).W,{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"}});r.Z=a},54514:function(e,r,t){"use strict";t.d(r,{W:function(){return n}});var n={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"}},35268:function(e,r){"use strict";r.Z={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"}}},84806:function(e,r,t){"use strict";var n=t(83035),a=t(42009),o=t(41926),i=t(93025);function s(){return(s=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.o(i,"useTheme")&&t.d(r,{useTheme:function(){return i.useTheme}});var l=s({direction:"ltr"},a.Z,{components:n.Z,styles:o.Z,config:{useSystemColorMode:!1,initialColorMode:"light",cssVarPrefix:"chakra"}});r.Z=l},41926:function(e,r,t){"use strict";var n=t(63108),a={global:e=>({body:{fontFamily:"body",color:(0,n.xJ)("gray.800","whiteAlpha.900")(e),bg:(0,n.xJ)("white","gray.800")(e),transitionProperty:"background-color",transitionDuration:"normal",lineHeight:"base"},"*::placeholder":{color:(0,n.xJ)("gray.400","whiteAlpha.400")(e)},"*, *::before, &::after":{borderColor:(0,n.xJ)("gray.200","whiteAlpha.300")(e),wordWrap:"break-word"}})};r.Z=a},93025:function(){},27277:function(e,r,t){"use strict";function n(e){var r=null==e?0:e.length;return r?e[r-1]:void 0}function a(e,r){return[...e,r]}function o(e,r){return e.filter((e=>e!==r))}function i(e,r,t,n){if(null==r)return n;if(!n)return e.find((e=>t(e).toLowerCase().startsWith(r.toLowerCase())));var a,o=e.filter((e=>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}t.d(r,{s:function(){return n},jX:function(){return a},cl:function(){return o},LP:function(){return i}})},73808:function(e,r,t){"use strict";function n(e){return"number"===typeof e}function a(e){return"number"!==typeof e||Number.isNaN(e)||!Number.isFinite(e)}function o(e){return Array.isArray(e)}function i(e){return"function"===typeof e}function s(e){return"undefined"===typeof e||void 0===e}function l(e){var r=typeof e;return null!=e&&("object"===r||"function"===r)&&!o(e)}function c(e){return l(e)&&0===Object.keys(e).length}function u(e){return"[object String]"===Object.prototype.toString.call(e)}function d(e){return/^var\(--.+\)$/.test(e)}t.d(r,{hj:function(){return n},iy:function(){return a},kJ:function(){return o},mf:function(){return i},o8:function(){return s},Kn:function(){return l},Qr:function(){return c},HD:function(){return u},FS:function(){return d},Ts:function(){return f},Ys:function(){return b},Ik:function(){return g}});var f=!1,b=!1;function g(e){return"current"in e}},88456:function(e,r,t){"use strict";t.d(r,{px:function(){return i},y:function(){return d}});var n=t(27277),a=t(73808),o=t(4651);function i(e){if(null==e)return e;var{unitless:r}=function(e){var r=parseFloat(e.toString()),t=e.toString().replace(String(r),"");return{unitless:!t,value:r,unit:t}}(e);return r||(0,a.hj)(e)?e+"px":e}var s=(e,r)=>parseInt(e[1],10)>parseInt(r[1],10)?1:-1,l=e=>(0,o.sq)(Object.entries(e).sort(s));function c(e){var r=l(e);return Object.assign(Object.values(r),r)}function u(e,r){var t=[];return e&&t.push("@media screen and (min-width: "+i(e)+")"),t.length>0&&r&&t.push("and"),r&&t.push("@media screen and (max-width: "+i(r)+")"),t.join(" ")}function d(e){var r;if(!e)return null;e.base=null!=(r=e.base)?r:"0px";var t=c(e),o=Object.entries(e).sort(s).map(((e,r,t)=>{var n,[o,s]=e,[,l]=null!=(n=t[r+1])?n:[];return{breakpoint:o,minW:s,maxW:l=parseFloat(l)>0?function(e){var r;if(!e)return e;var t=(e=null!=(r=i(e))?r:e).endsWith("px")?-1:-.0635;return(0,a.hj)(e)?""+(e+t):e.replace(/([0-9]+\.?[0-9]*)/,(e=>""+(parseFloat(e)+t)))}(l):void 0,maxWQuery:u(null,l),minWQuery:u(s),minMaxQuery:u(s,l)}})),d=function(e){var r=Object.keys(l(e));return new Set(r)}(e),f=Array.from(d.values());return{keys:d,normalized:t,isResponsive(e){var r=Object.keys(e);return r.length>0&&r.every((e=>d.has(e)))},asObject:l(e),asArray:c(e),details:o,media:[null,...t.map((e=>u(e))).slice(1)],toArrayValue(e){if(!(0,a.Kn)(e))throw new Error("toArrayValue: value must be an object");for(var r=f.map((r=>{var t;return null!=(t=e[r])?t:null}));null===(0,n.s)(r);)r.pop();return r},toObjectValue(e){if(!Array.isArray(e))throw new Error("toObjectValue: value must be an array");return e.reduce(((e,r,t)=>{var n=f[t];return null!=n&&null!=r&&(e[n]=r),e}),{})}}}},84461:function(e,r,t){"use strict";function n(e){var r;return e instanceof Element&&null!=(r=e.ownerDocument)?r:document}t.d(r,{lZ:function(){return n},jU:function(){return a},PB:function(){return o},Qm:function(){return i},cx:function(){return s},vY:function(){return l},r3:function(){return c},EV:function(){return u},uh:function(){return d},wN:function(){return f},dO:function(){return b}});var a=!("undefined"===typeof window||!window.document||!window.document.createElement),o=e=>e?"":void 0,i=e=>!!e||void 0,s=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 l(e){var r=n(e);return null==r?void 0:r.activeElement}function c(e,r){return!!e&&(e===r||e.contains(r))}function u(e,r,t,n){return e.addEventListener(r,t,n),()=>{e.removeEventListener(r,t,n)}}function d(e){var{key:r,keyCode:t}=e;return t>=37&&t<=40&&0!==r.indexOf("Arrow")?"Arrow"+r:r}function f(e){var r,t,n,a=l(null!=(r=e.target)?r:e.currentTarget),o=e.nativeEvent.explicitOriginalTarget;return null!=(t=null!=(n=e.relatedTarget)?n:o)?t:a}function b(e){return 0!==e.button}},80658:function(e,r,t){"use strict";t.d(r,{Pu:function(){return a},v0:function(){return o},ZT:function(){return s},ZK:function(){return l},A4:function(){return c},zG:function(){return u},TE:function(){return b}});var n=t(73808);function a(e){for(var r=arguments.length,t=new Array(r>1?r-1:0),a=1;a<r;a++)t[a-1]=arguments[a];return(0,n.mf)(e)?e(...t):e}function o(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return function(e){r.some((r=>(null==r||r(e),null==e?void 0:e.defaultPrevented)))}}function i(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 s=()=>{},l=i((e=>()=>{var{condition:r,message:t}=e;r&&n.Ts&&console.warn(t)})),c=(i((e=>()=>{var{condition:r,message:t}=e;r&&n.Ts&&console.error(t)})),n.Ys?e=>e():"function"===typeof queueMicrotask?queueMicrotask:e=>{Promise.resolve().then(e)}),u=function(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return e=>r.reduce(((e,r)=>r(e)),e)},d=(e,r)=>Math.abs(e-r),f=e=>"x"in e&&"y"in e;function b(e,r){if((0,n.hj)(e)&&(0,n.hj)(r))return d(e,r);if(f(e)&&f(r)){var t=d(e.x,r.x),a=d(e.y,r.y);return Math.sqrt(t**2+a**2)}return 0}},4651:function(e,r,t){"use strict";t.d(r,{CE:function(){return n},ei:function(){return a},Vl:function(){return o},Wf:function(){return i},lw:function(){return s},YU:function(){return l},Yd:function(){return c},sq:function(){return u},K1:function(){return d}});t(38554);function n(e,r){var t={};return Object.keys(e).forEach((n=>{r.includes(n)||(t[n]=e[n])})),t}function a(e,r){var t={};return r.forEach((r=>{r in e&&(t[r]=e[r])})),t}function o(e,r){var t={},n={};return Object.keys(e).forEach((a=>{r.includes(a)?t[a]=e[a]:n[a]=e[a]})),[t,n]}var i=(e=>{var r=new WeakMap;return(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 s=e(t,n,a,o);return i.set(n,s),s}})((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 s(e,r){var t={};return Object.keys(e).forEach((n=>{var a=e[n];r(a,n,e)&&(t[n]=a)})),t}var l=e=>s(e,(e=>null!==e&&void 0!==e)),c=e=>Object.keys(e),u=e=>e.reduce(((e,r)=>{var[t,n]=r;return e[t]=n,e}),{}),d=(e,r,t)=>{var n,a;return null!=(n=null==(a=e.__cssMap[r+"."+t])?void 0:a.varRef)?n:t}},17861:function(e,r,t){"use strict";t.d(r,{Z:function(){return re}});var n=t(11526),a=Math.abs,o=String.fromCharCode;function i(e){return e.trim()}function s(e,r,t){return e.replace(r,t)}function l(e,r){return e.indexOf(r)}function c(e,r){return 0|e.charCodeAt(r)}function u(e,r,t){return e.slice(r,t)}function d(e){return e.length}function f(e){return e.length}function b(e,r){return r.push(e),e}var g=1,p=1,h=0,m=0,y=0,v="";function x(e,r,t,n,a,o,i){return{value:e,root:r,parent:t,type:n,props:a,children:o,line:g,column:p,length:i,return:""}}function k(e,r,t){return x(e,r.root,r.parent,t,r.props,r.children,0)}function w(){return y=m>0?c(v,--m):0,p--,10===y&&(p=1,g--),y}function S(){return y=m<h?c(v,m++):0,p++,10===y&&(p=1,g++),y}function C(){return c(v,m)}function F(){return m}function A(e,r){return u(v,e,r)}function E(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=p=1,h=d(v=e),m=0,[]}function B(e){return v="",e}function D(e){return i(A(m-1,j(91===e?e+2:40===e?e+1:e)))}function z(e){for(;(y=C())&&y<33;)S();return E(e)>2||E(y)>3?"":" "}function R(e,r){for(;--r&&S()&&!(y<48||y>102||y>57&&y<65||y>70&&y<97););return A(e,F()+(r<6&&32==C()&&32==S()))}function j(e){for(;S();)switch(y){case e:return m;case 34:case 39:return j(34===e||39===e?e:y);case 40:41===e&&j(e);break;case 92:S()}return m}function O(e,r){for(;S()&&e+y!==57&&(e+y!==84||47!==C()););return"/*"+A(r,m-1)+"*"+o(47===e?e:S())}function T(e){for(;!E(C());)S();return A(e,m)}var P="-ms-",I="-moz-",M="-webkit-",W="comm",J="rule",N="decl";function H(e,r){for(var t="",n=f(e),a=0;a<n;a++)t+=r(e[a],a,e,r)||"";return t}function L(e,r,t,n){switch(e.type){case"@import":case N:return e.return=e.return||e.value;case W:return"";case J:e.value=e.props.join(",")}return d(t=H(e.children,n))?e.return=e.value+"{"+t+"}":""}function $(e,r){switch(function(e,r){return(((r<<2^c(e,0))<<2^c(e,1))<<2^c(e,2))<<2^c(e,3)}(e,r)){case 5103:return M+"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 M+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return M+e+I+e+P+e+e;case 6828:case 4268:return M+e+P+e+e;case 6165:return M+e+P+"flex-"+e+e;case 5187:return M+e+s(e,/(\w+).+(:[^]+)/,"-webkit-box-$1$2-ms-flex-$1$2")+e;case 5443:return M+e+P+"flex-item-"+s(e,/flex-|-self/,"")+e;case 4675:return M+e+P+"flex-line-pack"+s(e,/align-content|flex-|-self/,"")+e;case 5548:return M+e+P+s(e,"shrink","negative")+e;case 5292:return M+e+P+s(e,"basis","preferred-size")+e;case 6060:return M+"box-"+s(e,"-grow","")+M+e+P+s(e,"grow","positive")+e;case 4554:return M+s(e,/([^-])(transform)/g,"$1-webkit-$2")+e;case 6187:return s(s(s(e,/(zoom-|grab)/,M+"$1"),/(image-set)/,M+"$1"),e,"")+e;case 5495:case 3959:return s(e,/(image-set\([^]*)/,M+"$1$`$1");case 4968:return s(s(e,/(.+:)(flex-)?(.*)/,"-webkit-box-pack:$3-ms-flex-pack:$3"),/s.+-b[^;]+/,"justify")+M+e+e;case 4095:case 3583:case 4068:case 2532:return s(e,/(.+)-inline(.+)/,M+"$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(d(e)-1-r>6)switch(c(e,r+1)){case 109:if(45!==c(e,r+4))break;case 102:return s(e,/(.+:)(.+)-([^]+)/,"$1-webkit-$2-$3$1"+I+(108==c(e,r+3)?"$3":"$2-$3"))+e;case 115:return~l(e,"stretch")?$(s(e,"stretch","fill-available"),r)+e:e}break;case 4949:if(115!==c(e,r+1))break;case 6444:switch(c(e,d(e)-3-(~l(e,"!important")&&10))){case 107:return s(e,":",":"+M)+e;case 101:return s(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+M+(45===c(e,14)?"inline-":"")+"box$3$1"+M+"$2$3$1"+P+"$2box$3")+e}break;case 5936:switch(c(e,r+11)){case 114:return M+e+P+s(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return M+e+P+s(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return M+e+P+s(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return M+e+P+e+e}return e}function Z(e){return B(V("",null,null,null,[""],e=_(e),0,[0],e))}function V(e,r,t,n,a,i,l,c,u){for(var f=0,g=0,p=l,h=0,m=0,y=0,v=1,x=1,k=1,A=0,E="",_=a,B=i,j=n,P=E;x;)switch(y=A,A=S()){case 34:case 39:case 91:case 40:P+=D(A);break;case 9:case 10:case 13:case 32:P+=z(y);break;case 92:P+=R(F()-1,7);continue;case 47:switch(C()){case 42:case 47:b(G(O(S(),F()),r,t),u);break;default:P+="/"}break;case 123*v:c[f++]=d(P)*k;case 125*v:case 59:case 0:switch(A){case 0:case 125:x=0;case 59+g:m>0&&d(P)-p&&b(m>32?Y(P+";",n,t,p-1):Y(s(P," ","")+";",n,t,p-2),u);break;case 59:P+=";";default:if(b(j=q(P,r,t,f,g,a,c,E,_=[],B=[],p),i),123===A)if(0===g)V(P,r,j,j,_,i,p,c,B);else switch(h){case 100:case 109:case 115:V(e,j,j,n&&b(q(e,j,j,0,0,a,c,E,a,_=[],p),B),a,B,p,c,n?_:B);break;default:V(P,j,j,j,[""],B,p,c,B)}}f=g=m=0,v=k=1,E=P="",p=l;break;case 58:p=1+d(P),m=y;default:if(v<1)if(123==A)--v;else if(125==A&&0==v++&&125==w())continue;switch(P+=o(A),A*v){case 38:k=g>0?1:(P+="\f",-1);break;case 44:c[f++]=(d(P)-1)*k,k=1;break;case 64:45===C()&&(P+=D(S())),h=C(),g=d(E=P+=T(F())),A++;break;case 45:45===y&&2==d(P)&&(v=0)}}return i}function q(e,r,t,n,o,l,c,d,b,g,p){for(var h=o-1,m=0===o?l:[""],y=f(m),v=0,k=0,w=0;v<n;++v)for(var S=0,C=u(e,h+1,h=a(k=c[v])),F=e;S<y;++S)(F=i(k>0?m[S]+" "+C:s(C,/&\f/g,m[S])))&&(b[w++]=F);return x(e,r,t,0===o?J:d,b,g,p)}function G(e,r,t){return x(e,r,t,W,o(y),u(e,2,-2),0)}function Y(e,r,t,n){return x(e,r,t,N,u(e,0,n),u(e,n+1,-1),n)}var X=function(e,r){return B(function(e,r){var t=-1,n=44;do{switch(E(n)){case 0:38===n&&12===C()&&(r[t]=1),e[t]+=T(m-1);break;case 2:e[t]+=D(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=S());return e}(_(e),r))},U=new WeakMap,K=function(e){if("rule"===e.type&&e.parent&&e.length){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)||U.get(t))&&!n){U.set(e,!0);for(var a=[],o=X(r,a),i=t.props,s=0,l=0;s<o.length;s++)for(var c=0;c<i.length;c++,l++)e.props[l]=a[s]?o[s].replace(/&\f/g,i[c]):i[c]+" "+o[s]}}},Q=function(e){if("decl"===e.type){var r=e.value;108===r.charCodeAt(0)&&98===r.charCodeAt(2)&&(e.return="",e.value="")}},ee=[function(e,r,t,n){if(!e.return)switch(e.type){case N:e.return=$(e.value,e.length);break;case"@keyframes":return H([k(s(e.value,"@","@"+M),e,"")],n);case J: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 H([k(s(r,/:(read-\w+)/,":-moz-$1"),e,"")],n);case"::placeholder":return H([k(s(r,/:(plac\w+)/,":-webkit-input-$1"),e,""),k(s(r,/:(plac\w+)/,":-moz-$1"),e,""),k(s(r,/:(plac\w+)/,P+"input-$1"),e,"")],n)}return""}))}}],re=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||ee;var o,i,s={},l=[];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++)s[r[t]]=!0;l.push(e)}));var c,u,d=[L,(u=function(e){c.insert(e)},function(e){e.root||(e=e.return)&&u(e)})],b=function(e){var r=f(e);return function(t,n,a,o){for(var i="",s=0;s<r;s++)i+=e[s](t,n,a,o)||"";return i}}([K,Q].concat(a,d));i=function(e,r,t,n){c=t,H(Z(e?e+"{"+r.styles+"}":r.styles),b),n&&(g.inserted[r.name]=!0)};var g={key:r,sheet:new n.m({key:r,container:o,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend}),nonce:e.nonce,inserted:s,registered:{},insert:i};return g.sheet.hydrate(l),g}},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]}}},30495:function(e,r,t){"use strict";t.d(r,{C:function(){return g},E:function(){return S},T:function(){return h},a:function(){return v},b:function(){return x},c:function(){return w},h:function(){return f},u:function(){return m},w:function(){return p}});var n=t(67294),a=t(17861),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}},s=t(8679),l=t.n(s),c=function(e,r){return l()(e,r)},u=t(70444),d=t(94199),f=Object.prototype.hasOwnProperty,b=(0,n.createContext)("undefined"!==typeof HTMLElement?(0,a.Z)({key:"css"}):null),g=b.Provider,p=function(e){return(0,n.forwardRef)((function(r,t){var a=(0,n.useContext)(b);return e(r,a,t)}))},h=(0,n.createContext)({}),m=function(){return(0,n.useContext)(h)},y=i((function(e){return i((function(r){return function(e,r){return"function"===typeof r?r(e):(0,o.Z)({},e,r)}(e,r)}))})),v=function(e){var r=(0,n.useContext)(h);return e.theme!==r&&(r=y(r)(e.theme)),(0,n.createElement)(h.Provider,{value:r},e.children)};function x(e){var r=e.displayName||e.name||"Component",t=function(r,t){var a=(0,n.useContext)(h);return(0,n.createElement)(e,(0,o.Z)({theme:a,ref:t},r))},a=(0,n.forwardRef)(t);return a.displayName="WithTheme("+r+")",c(a,e)}var k="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",w=function(e,r){var t={};for(var n in r)f.call(r,n)&&(t[n]=r[n]);return t[k]=e,t},S=p((function(e,r,t){var a=e.css;"string"===typeof a&&void 0!==r.registered[a]&&(a=r.registered[a]);var o=e[k],i=[a],s="";"string"===typeof e.className?s=(0,u.f)(r.registered,i,e.className):null!=e.className&&(s=e.className+" ");var l=(0,d.O)(i,void 0,"function"===typeof a||Array.isArray(a)?(0,n.useContext)(h):void 0);(0,u.M)(r,l,"string"===typeof o);s+=r.key+"-"+l.name;var c={};for(var b in e)f.call(e,b)&&"css"!==b&&b!==k&&(c[b]=e[b]);return c.ref=t,c.className=s,(0,n.createElement)(o,c)}))},70917:function(e,r,t){"use strict";t.r(r),t.d(r,{CacheProvider:function(){return a.C},ThemeContext:function(){return a.T},ThemeProvider:function(){return a.a},useTheme:function(){return a.u},withEmotionCache:function(){return a.w},withTheme:function(){return a.b},ClassNames:function(){return g},Global:function(){return c},createElement:function(){return l},css:function(){return u},jsx:function(){return l},keyframes:function(){return d}});var n=t(67294),a=(t(17861),t(30495)),o=(t(8679),t(70444)),i=t(94199),s=t(11526),l=function(e,r){var t=arguments;if(null==r||!a.h.call(r,"css"))return n.createElement.apply(void 0,t);var o=t.length,i=new Array(o);i[0]=a.E,i[1]=(0,a.c)(e,r);for(var s=2;s<o;s++)i[s]=t[s];return n.createElement.apply(null,i)},c=(0,a.w)((function(e,r){var t=e.styles,l=(0,i.O)([t],void 0,"function"===typeof t||Array.isArray(t)?(0,n.useContext)(a.T):void 0),c=(0,n.useRef)();return(0,n.useLayoutEffect)((function(){var e=r.key+"-global",t=new s.m({key:e,nonce:r.sheet.nonce,container:r.sheet.container,speedy:r.sheet.isSpeedy}),n=!1,a=document.querySelector('style[data-emotion="'+e+" "+l.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!==l.next&&(0,o.M)(r,l.next,!0),t.tags.length){var n=t.tags[t.tags.length-1].nextElementSibling;t.before=n,t.flush()}r.insert("",l,t,!1)}}),[r,l.name]),null}));function u(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return(0,i.O)(r)}var d=function(){var e=u.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_"}}},f=function e(r){for(var t=r.length,n=0,a="";n<t;n++){var o=r[n];if(null!=o){var i=void 0;switch(typeof o){case"boolean":break;case"object":if(Array.isArray(o))i=e(o);else for(var s in i="",o)o[s]&&s&&(i&&(i+=" "),i+=s);break;default:i=o}i&&(a&&(a+=" "),a+=i)}}return a};function b(e,r,t){var n=[],a=(0,o.f)(e,n,t);return n.length<2?t:a+r(n)}var g=(0,a.w)((function(e,r){var t=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var a=(0,i.O)(t,r.registered);return(0,o.M)(r,a,!1),r.key+"-"+a.name},s={css:t,cx:function(){for(var e=arguments.length,n=new Array(e),a=0;a<e;a++)n[a]=arguments[a];return b(r.registered,t,f(n))},theme:(0,n.useContext)(a.T)},l=e.children(s);return!0,l}))},94199:function(e,r,t){"use strict";t.d(r,{O:function(){return p}});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,s=/_EMO_([^_]+?)_([^]*?)_EMO_/g,l=function(e){return 45===e.charCodeAt(1)},c=function(e){return null!=e&&"boolean"!==typeof e},u=(0,o.Z)((function(e){return l(e)?e:e.replace(i,"-$&").toLowerCase()})),d=function(e,r){switch(e){case"animation":case"animationName":if("string"===typeof r)return r.replace(s,(function(e,r,t){return b={name:r,styles:t,next:b},r}))}return 1===a[e]||l(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 s=f(e,r,i);switch(o){case"animation":case"animationName":n+=u(o)+":"+s+";";break;default:n+=o+"{"+s+"}"}}else for(var l=0;l<i.length;l++)c(i[l])&&(n+=u(o)+":"+d(o,i[l])+";")}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,g=/label:\s*([^\s;\n{]+)\s*(;|$)/g;var p=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 s=1;s<e.length;s++)o+=f(t,r,e[s]),a&&(o+=i[s]);g.lastIndex=0;for(var l,c="";null!==(l=g.exec(o));)c+="-"+l[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.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.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.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)}}},8679:function(e,r,t){"use strict";var n=t(21296),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},s={};function l(e){return n.isMemo(e)?i:s[e.$$typeof]||a}s[n.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[n.Memo]=i;var c=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,b=Object.getPrototypeOf,g=Object.prototype;e.exports=function e(r,t,n){if("string"!==typeof t){if(g){var a=b(t);a&&a!==g&&e(r,a,n)}var i=u(t);d&&(i=i.concat(d(t)));for(var s=l(r),p=l(t),h=0;h<i.length;++h){var m=i[h];if(!o[m]&&(!n||!n[m])&&(!p||!p[m])&&(!s||!s[m])){var y=f(t,m);try{c(r,m,y)}catch(v){}}}}return r}},96103: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,s=t?Symbol.for("react.profiler"):60114,l=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,g=t?Symbol.for("react.suspense_list"):60120,p=t?Symbol.for("react.memo"):60115,h=t?Symbol.for("react.lazy"):60116,m=t?Symbol.for("react.block"):60121,y=t?Symbol.for("react.fundamental"):60117,v=t?Symbol.for("react.responder"):60118,x=t?Symbol.for("react.scope"):60119;function k(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 s:case i:case b:return e;default:switch(e=e&&e.$$typeof){case c:case f:case h:case p:case l:return e;default:return r}}case a:return r}}}function w(e){return k(e)===d}r.AsyncMode=u,r.ConcurrentMode=d,r.ContextConsumer=c,r.ContextProvider=l,r.Element=n,r.ForwardRef=f,r.Fragment=o,r.Lazy=h,r.Memo=p,r.Portal=a,r.Profiler=s,r.StrictMode=i,r.Suspense=b,r.isAsyncMode=function(e){return w(e)||k(e)===u},r.isConcurrentMode=w,r.isContextConsumer=function(e){return k(e)===c},r.isContextProvider=function(e){return k(e)===l},r.isElement=function(e){return"object"===typeof e&&null!==e&&e.$$typeof===n},r.isForwardRef=function(e){return k(e)===f},r.isFragment=function(e){return k(e)===o},r.isLazy=function(e){return k(e)===h},r.isMemo=function(e){return k(e)===p},r.isPortal=function(e){return k(e)===a},r.isProfiler=function(e){return k(e)===s},r.isStrictMode=function(e){return k(e)===i},r.isSuspense=function(e){return k(e)===b},r.isValidElementType=function(e){return"string"===typeof e||"function"===typeof e||e===o||e===d||e===s||e===i||e===b||e===g||"object"===typeof e&&null!==e&&(e.$$typeof===h||e.$$typeof===p||e.$$typeof===l||e.$$typeof===c||e.$$typeof===f||e.$$typeof===y||e.$$typeof===v||e.$$typeof===x||e.$$typeof===m)},r.typeOf=k},21296:function(e,r,t){"use strict";e.exports=t(96103)},38554:function(e,r,t){e=t.nmd(e);var n="__lodash_hash_undefined__",a=9007199254740991,o="[object Arguments]",i="[object Function]",s="[object Object]",l=/^\[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[s]=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")(),g=r&&!r.nodeType&&r,p=g&&e&&!e.nodeType&&e,h=p&&p.exports===g,m=h&&d.process,y=function(){try{var e=p&&p.require&&p.require("util").types;return e||m&&m.binding&&m.binding("util")}catch(r){}}(),v=y&&y.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 k,w,S=Array.prototype,C=Function.prototype,F=Object.prototype,A=b["__core-js_shared__"],E=C.toString,_=F.hasOwnProperty,B=function(){var e=/[^.]+$/.exec(A&&A.keys&&A.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),D=F.toString,z=E.call(Object),R=RegExp("^"+E.call(_).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),j=h?b.Buffer:void 0,O=b.Symbol,T=b.Uint8Array,P=j?j.allocUnsafe:void 0,I=(k=Object.getPrototypeOf,w=Object,function(e){return k(w(e))}),M=Object.create,W=F.propertyIsEnumerable,J=S.splice,N=O?O.toStringTag:void 0,H=function(){try{var e=be(Object,"defineProperty");return e({},"",{}),e}catch(r){}}(),L=j?j.isBuffer:void 0,$=Math.max,Z=Date.now,V=be(b,"Map"),q=be(Object,"create"),G=function(){function e(){}return function(r){if(!Fe(r))return{};if(M)return M(r);e.prototype=r;var t=new e;return e.prototype=void 0,t}}();function Y(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 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 U(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=this.__data__=new X(e);this.size=r.size}function Q(e,r){var t=xe(e),n=!t&&ve(e),a=!t&&!n&&we(e),o=!t&&!n&&!a&&Ee(e),i=t||n||a||o,s=i?function(e,r){for(var t=-1,n=Array(e);++t<e;)n[t]=r(t);return n}(e.length,String):[],l=s.length;for(var c in e)!r&&!_.call(e,c)||i&&("length"==c||a&&("offset"==c||"parent"==c)||o&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||ge(c,l))||s.push(c);return s}function ee(e,r,t){(void 0!==t&&!ye(e[r],t)||void 0===t&&!(r in e))&&ne(e,r,t)}function re(e,r,t){var n=e[r];_.call(e,r)&&ye(n,t)&&(void 0!==t||r in e)||ne(e,r,t)}function te(e,r){for(var t=e.length;t--;)if(ye(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}Y.prototype.clear=function(){this.__data__=q?q(null):{},this.size=0},Y.prototype.delete=function(e){var r=this.has(e)&&delete this.__data__[e];return this.size-=r?1:0,r},Y.prototype.get=function(e){var r=this.__data__;if(q){var t=r[e];return t===n?void 0:t}return _.call(r,e)?r[e]:void 0},Y.prototype.has=function(e){var r=this.__data__;return q?void 0!==r[e]:_.call(r,e)},Y.prototype.set=function(e,r){var t=this.__data__;return this.size+=this.has(e)?0:1,t[e]=q&&void 0===r?n:r,this},X.prototype.clear=function(){this.__data__=[],this.size=0},X.prototype.delete=function(e){var r=this.__data__,t=te(r,e);return!(t<0)&&(t==r.length-1?r.pop():J.call(r,t,1),--this.size,!0)},X.prototype.get=function(e){var r=this.__data__,t=te(r,e);return t<0?void 0:r[t][1]},X.prototype.has=function(e){return te(this.__data__,e)>-1},X.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},U.prototype.clear=function(){this.size=0,this.__data__={hash:new Y,map:new(V||X),string:new Y}},U.prototype.delete=function(e){var r=fe(this,e).delete(e);return this.size-=r?1:0,r},U.prototype.get=function(e){return fe(this,e).get(e)},U.prototype.has=function(e){return fe(this,e).has(e)},U.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},K.prototype.clear=function(){this.__data__=new X,this.size=0},K.prototype.delete=function(e){var r=this.__data__,t=r.delete(e);return this.size=r.size,t},K.prototype.get=function(e){return this.__data__.get(e)},K.prototype.has=function(e){return this.__data__.has(e)},K.prototype.set=function(e,r){var t=this.__data__;if(t instanceof X){var n=t.__data__;if(!V||n.length<199)return n.push([e,r]),this.size=++t.size,this;t=this.__data__=new U(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 s=o[ae?i:++n];if(!1===r(a[s],s,a))break}return e};function ie(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":N&&N in Object(e)?function(e){var r=_.call(e,N),t=e[N];try{e[N]=void 0;var n=!0}catch(o){}var a=D.call(e);n&&(r?e[N]=t:delete e[N]);return a}(e):function(e){return D.call(e)}(e)}function se(e){return Ae(e)&&ie(e)==o}function le(e){return!(!Fe(e)||function(e){return!!B&&B in e}(e))&&(Se(e)?R:l).test(function(e){if(null!=e){try{return E.call(e)}catch(r){}try{return e+""}catch(r){}}return""}(e))}function ce(e){if(!Fe(e))return function(e){var r=[];if(null!=e)for(var t in Object(e))r.push(t);return r}(e);var r=pe(e),t=[];for(var n in e)("constructor"!=n||!r&&_.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 K),Fe(o))!function(e,r,t,n,a,o,i){var l=he(e,t),c=he(r,t),u=i.get(c);if(u)return void ee(e,t,u);var d=o?o(l,c,t+"",e,r,i):void 0,f=void 0===d;if(f){var b=xe(c),g=!b&&we(c),p=!b&&!g&&Ee(c);d=c,b||g||p?xe(l)?d=l:Ae(h=l)&&ke(h)?d=function(e,r){var t=-1,n=e.length;r||(r=Array(n));for(;++t<n;)r[t]=e[t];return r}(l):g?(f=!1,d=function(e,r){if(r)return e.slice();var t=e.length,n=P?P(t):new e.constructor(t);return e.copy(n),n}(c,!0)):p?(f=!1,d=function(e,r){var t=r?function(e){var r=new e.constructor(e.byteLength);return new T(r).set(new T(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)!=s)return!1;var r=I(e);if(null===r)return!0;var t=_.call(r,"constructor")&&r.constructor;return"function"==typeof t&&t instanceof t&&E.call(t)==z}(c)||ve(c)?(d=l,ve(l)?d=function(e){return function(e,r,t,n){var a=!t;t||(t={});var o=-1,i=r.length;for(;++o<i;){var s=r[o],l=n?n(t[s],e[s],s,t,e):void 0;void 0===l&&(l=e[s]),a?ne(t,s,l):re(t,s,l)}return t}(e,_e(e))}(l):Fe(l)&&!Se(l)||(d=function(e){return"function"!=typeof e.constructor||pe(e)?{}:G(I(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 l=n?n(he(e,i),o,i+"",e,r,a):void 0;void 0===l&&(l=o),ee(e,i,l)}}),_e)}function de(e,r){return me(function(e,r,t){return r=$(void 0===r?e.length-1:r,0),function(){for(var n=arguments,a=-1,o=$(n.length-r,0),i=Array(o);++a<o;)i[a]=n[r+a];a=-1;for(var s=Array(r+1);++a<r;)s[a]=n[a];return s[r]=t(i),x(e,this,s)}}(e,r,ze),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 le(t)?t:void 0}function ge(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 pe(e){var r=e&&e.constructor;return e===("function"==typeof r&&r.prototype||F)}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}:ze);function ye(e,r){return e===r||e!==e&&r!==r}var ve=se(function(){return arguments}())?se:function(e){return Ae(e)&&_.call(e,"callee")&&!W.call(e,"callee")},xe=Array.isArray;function ke(e){return null!=e&&Ce(e.length)&&!Se(e)}var we=L||function(){return!1};function Se(e){if(!Fe(e))return!1;var r=ie(e);return r==i||"[object GeneratorFunction]"==r||"[object AsyncFunction]"==r||"[object Proxy]"==r}function Ce(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=a}function Fe(e){var r=typeof e;return null!=e&&("object"==r||"function"==r)}function Ae(e){return null!=e&&"object"==typeof e}var Ee=v?function(e){return function(r){return e(r)}}(v):function(e){return Ae(e)&&Ce(e.length)&&!!u[ie(e)]};function _e(e){return ke(e)?Q(e,!0):ce(e)}var Be,De=(Be=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=Be.length>3&&"function"==typeof a?(n--,a):void 0,o&&function(e,r,t){if(!Fe(t))return!1;var n=typeof r;return!!("number"==n?ke(t)&&ge(r,t.length):"string"==n&&r in t)&&ye(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&&Be(e,i,t,a)}return e})));function ze(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"}}},29200:function(e,r,t){"use strict";t.r(r),t.d(r,{default:function(){return T}});var n=t(4942),a=(t(43146),t(84806)),o=t(73808),i=["borders","breakpoints","colors","components","config","direction","fonts","fontSizes","fontWeights","letterSpacings","lineHeights","radii","shadows","sizes","space","styles","transition","zIndices"];function s(e){return!!(0,o.Kn)(e)&&i.every((r=>Object.prototype.hasOwnProperty.call(e,r)))}var l=t(80658),c=t(38554),u=t.n(c);function d(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return u()({},...r,f)}function f(e,r,t,n){if(((0,o.mf)(e)||(0,o.mf)(r))&&Object.prototype.hasOwnProperty.call(n,t))return function(){var t=(0,o.mf)(e)?e(...arguments):e,n=(0,o.mf)(r)?r(...arguments):r;return u()({},t,n,f)}}var b=t(70917),g=t(67294),p=()=>g.createElement(b.Global,{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        vertical-align: middle;\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    '}),h=t(34288),m=t(29676),y=t(24738),v=t(84461),x={body:{classList:{add(){},remove(){}}},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector:()=>null,querySelectorAll:()=>[],getElementById:()=>null,createEvent:()=>({initEvent(){}}),createElement:()=>({children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName:()=>[]})},k=()=>{},w={window:{document:x,navigator:{userAgent:""},CustomEvent:function(){return this},addEventListener:k,removeEventListener:k,getComputedStyle:()=>({getPropertyValue:()=>""}),matchMedia:()=>({matches:!1,addListener:k,removeListener:k}),requestAnimationFrame:e=>"undefined"===typeof setTimeout?(e(),null):setTimeout(e,0),cancelAnimationFrame(e){"undefined"!==typeof setTimeout&&clearTimeout(e)},setTimeout:()=>0,clearTimeout:k,setInterval:()=>0,clearInterval:k},document:x},S=v.jU?{window:window,document:document}:w,C=(0,g.createContext)(S);function F(e){var{children:r,environment:t}=e,[n,a]=(0,g.useState)(null),o=(0,g.useMemo)((()=>{var e,r=null==n?void 0:n.ownerDocument,a=null==n?void 0:n.ownerDocument.defaultView;return null!=(e=null!=t?t:r?{document:r,window:a}:void 0)?e:S}),[n,t]),i=!n&&!t;return g.createElement(C.Provider,{value:o},r,i&&g.createElement("span",{ref:e=>{e&&a(e)}}))}o.Ts&&(C.displayName="EnvironmentContext"),o.Ts&&(F.displayName="EnvironmentProvider");var A=t(94577),E=e=>{var{children:r,colorModeManager:t,portalZIndex:n,resetCSS:o=!0,theme:i=a.Z,environment:s,cssVarsRoot:l}=e,c=g.createElement(F,{environment:s},r);return g.createElement(A.vc,null,g.createElement(m.f6,{theme:i,cssVarsRoot:l},g.createElement(y.SG,{colorModeManager:t,options:i.config},o&&g.createElement(p,null),g.createElement(m.ZL,null),n?g.createElement(h.h,{zIndex:n},c):c)))},_=t(52596),B=t(29356),D=t(67690),z=t(85893);function R(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 j(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?R(Object(t),!0).forEach((function(r){(0,n.Z)(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):R(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}function O(e){var r=e.children,t=(0,g.useContext)(B.N),n=t.highlightColor,i=t.emacsTheme,c=i[1],u=_.Z(c.base1,c.base2)(.2),f="purple.500"===n?"".concat(c.violet,"aa"):"pink.500"===n?"".concat(c.magenta,"aa"):"blue.500"===n?"".concat(c.blue,"aa"):"cyan.500"===n?"".concat(c.cyan,"aa"):"green.500"===n?"".concat(c.green,"aa"):"yellow.500"===n?"".concat(c.yellow,"aa"):"orange.500"===n?"".concat(c.orange,"aa"):"red.500"===n?"".concat(c.red,"aa"):void 0,b=function(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];var n=[...r],i=r[r.length-1];return s(i)&&n.length>1?n=n.slice(0,n.length-1):i=a.Z,(0,l.zG)(...n.map((e=>r=>(0,o.mf)(e)?e(r):d(r,e))))(i)}((0,g.useMemo)((function(){return{colors:{white:c.bg,black:c.fg,gray:{100:c.base1,200:u,300:c.base2,400:c.base3,500:c.base4,600:c.base5,700:c.base6,800:c.base7,900:c.base8},blue:{500:c.blue},teal:{500:c.blue},yellow:{500:c.yellow},orange:{500:c.orange},red:{500:c.red},green:{500:c.green},purple:{500:c.violet},pink:{500:c.magenta},cyan:{500:c.cyan},alt:{100:c["bg-alt"],900:c["fg-alt"]}},shadows:{outline:"0 0 0 3px "+f},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:f}}}},Accordion:{baseStyle:{container:{marginTop:"10px",borderWidth:"0px",_last:{borderWidth:"0px"}},panel:{marginRight:"10px"}}},Slider:{baseStyle:function(e){return{thumb:{backgroundColor:n},filledTrack:{backgroundColor:"gray.200"}}}}}}}),[n,JSON.stringify(i)]),function(e){var{colorScheme:r,components:t}=e;return e=>{var n=Object.keys(e.components||{});return Array.isArray(t)?n=t:(0,o.Kn)(t)&&(n=Object.keys(t)),d(e,{components:Object.fromEntries(n.map((e=>[e,{defaultProps:{colorScheme:r}}])))})}}({colorScheme:n.split(".")[0]}));return(0,z.jsx)(E,{theme:b,children:r})}var T=function(e){var r=e.Component,t=e.pageProps,n=["one-vibrant",D.n["one-vibrant"]],a=(0,g.useState)(!1),o=a[0],i=a[1],s=(0,g.useState)(n),l=s[0],c=s[1],u=(0,g.useState)("purple.500"),d=u[0],f=u[1];(0,g.useEffect)((function(){o&&localStorage.setItem("colorTheme",JSON.stringify(l))}),[l]),(0,g.useEffect)((function(){o&&localStorage.setItem("highlightColor",JSON.stringify(d))}),[d]),(0,g.useEffect)((function(){var e,r,t,a;c(null!==(e=JSON.parse(null!==(r=localStorage.getItem("colorTheme"))&&void 0!==r?r:JSON.stringify(n)))&&void 0!==e?e:n),f(null!==(t=JSON.parse(null!==(a=localStorage.getItem("highlightColor"))&&void 0!==a?a:JSON.stringify(d)))&&void 0!==t?t:d),i(!0)}),[]);var b={emacsTheme:l,setEmacsTheme:c,highlightColor:d,setHighlightColor:f};return(0,z.jsx)(B.N.Provider,{value:b,children:(0,z.jsx)(O,{children:(0,z.jsx)(r,j({},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 k},B8:function(){return F}});var i=.7,s=1/i,l="\\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\\("+[l,l,l]+"\\)$"),b=new RegExp("^rgb\\("+[u,u,u]+"\\)$"),g=new RegExp("^rgba\\("+[l,l,l,c]+"\\)$"),p=new RegExp("^rgba\\("+[u,u,u,c]+"\\)$"),h=new RegExp("^hsl\\("+[c,u,u]+"\\)$"),m=new RegExp("^hsla\\("+[c,u,u,c]+"\\)$"),y={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 v(){return this.rgb().formatHex()}function x(){return this.rgb().formatRgb()}function k(e){var r,t;return e=(e+"").trim().toLowerCase(),(r=d.exec(e))?(t=r[1].length,r=parseInt(r[1],16),6===t?w(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=g.exec(e))?S(r[1],r[2],r[3],r[4]):(r=p.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]):y.hasOwnProperty(e)?w(y[e]):"transparent"===e?new A(NaN,NaN,NaN,0):null}function w(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 C(e){return e instanceof o||(e=k(e)),e?new A((e=e.rgb()).r,e.g,e.b,e.opacity):new A}function F(e,r,t,n){return 1===arguments.length?C(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 E(){return"#"+B(this.r)+B(this.g)+B(this.b)}function _(){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 B(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 R(e,r,t,n)}function z(e){if(e instanceof R)return new R(e.h,e.s,e.l,e.opacity);if(e instanceof o||(e=k(e)),!e)return new R;if(e instanceof R)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),s=NaN,l=i-a,c=(i+a)/2;return l?(s=r===i?(t-n)/l+6*(t<n):t===i?(n-r)/l+2:(r-t)/l+4,l/=c<.5?i+a:2-i-a,s*=60):l=c>0&&c<1?0:s,new R(s,l,c,e.opacity)}function R(e,r,t,n){this.h=+e,this.s=+r,this.l=+t,this.opacity=+n}function j(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,k,{copy:function(e){return Object.assign(new this.constructor,this,e)},displayable:function(){return this.rgb().displayable()},hex:v,formatHex:v,formatHsl:function(){return z(this).formatHsl()},formatRgb:x,toString:x}),n(A,F,a(o,{brighter:function(e){return e=null==e?s:Math.pow(s,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:E,formatHex:E,formatRgb:_,toString:_})),n(R,(function(e,r,t,n){return 1===arguments.length?z(e):new R(e,r,t,null==n?1:n)}),a(o,{brighter:function(e){return e=null==e?s:Math.pow(s,e),new R(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?i:Math.pow(i,e),new R(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(j(e>=240?e-240:e+120,a,n),j(e,a,n),j(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 s(e){return 1===(e=+e)?l: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 l(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=s(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),s=l(e.opacity,r.opacity);return function(r){return e.r=a(r),e.g=o(r),e.b=i(r),e.opacity=s(r),e+""}}return a.gamma=e,a}(1);function u(e){return function(r){var t,a,o=r.length,i=new Array(o),s=new Array(o),l=new Array(o);for(t=0;t<o;++t)a=(0,n.B8)(r[t]),i[t]=a.r||0,s[t]=a.g||0,l[t]=a.b||0;return i=e(i),s=e(s),l=e(l),a.opacity=1,function(e){return a.r=i(e),a.g=s(e),a.b=l(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],s=n>0?e[n-1]:2*o-i,l=n<r-1?e[n+2]:2*i-o;return a((t-n/r)*r,s,o,i,l)}})),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],s=e[(n+1)%r],l=e[(n+2)%r];return a((t-n/r)*r,o,i,s,l)}}))},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,s,l=a.lastIndex=o.lastIndex=0,c=-1,u=[],d=[];for(e+="",r+="";(t=a.exec(e))&&(i=o.exec(r));)(s=i.index)>l&&(s=r.slice(l,s),u[c]?u[c]+=s:u[++c]=s),(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)})),l=o.lastIndex;return l<r.length&&(s=r.slice(l),u[c]?u[c]+=s:u[++c]=s),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 s=t(13311);function l(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?s.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)?l:s.Z:d))(e,r)}},76363:function(e,r,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/_app",function(){return t(29200)}])},43146:function(){},17621:function(e,r,t){var n;!function(a){var o=/^\s+/,i=/\s+$/,s=0,l=a.round,c=a.min,u=a.max,d=a.random;function f(e,r){if(r=r||{},(e=e||"")instanceof f)return e;if(!(this instanceof f))return new f(e,r);var t=function(e){var r={r:0,g:0,b:0},t=1,n=null,s=null,l=null,d=!1,f=!1;"string"==typeof e&&(e=function(e){e=e.replace(o,"").replace(i,"").toLowerCase();var r,t=!1;if(D[e])e=D[e],t=!0;else if("transparent"==e)return{r:0,g:0,b:0,a:0,format:"name"};if(r=J.rgb.exec(e))return{r:r[1],g:r[2],b:r[3]};if(r=J.rgba.exec(e))return{r:r[1],g:r[2],b:r[3],a:r[4]};if(r=J.hsl.exec(e))return{h:r[1],s:r[2],l:r[3]};if(r=J.hsla.exec(e))return{h:r[1],s:r[2],l:r[3],a:r[4]};if(r=J.hsv.exec(e))return{h:r[1],s:r[2],v:r[3]};if(r=J.hsva.exec(e))return{h:r[1],s:r[2],v:r[3],a:r[4]};if(r=J.hex8.exec(e))return{r:T(r[1]),g:T(r[2]),b:T(r[3]),a:W(r[4]),format:t?"name":"hex8"};if(r=J.hex6.exec(e))return{r:T(r[1]),g:T(r[2]),b:T(r[3]),format:t?"name":"hex"};if(r=J.hex4.exec(e))return{r:T(r[1]+""+r[1]),g:T(r[2]+""+r[2]),b:T(r[3]+""+r[3]),a:W(r[4]+""+r[4]),format:t?"name":"hex8"};if(r=J.hex3.exec(e))return{r:T(r[1]+""+r[1]),g:T(r[2]+""+r[2]),b:T(r[3]+""+r[3]),format:t?"name":"hex"};return!1}(e));"object"==typeof e&&(N(e.r)&&N(e.g)&&N(e.b)?(b=e.r,g=e.g,p=e.b,r={r:255*j(b,255),g:255*j(g,255),b:255*j(p,255)},d=!0,f="%"===String(e.r).substr(-1)?"prgb":"rgb"):N(e.h)&&N(e.s)&&N(e.v)?(n=I(e.s),s=I(e.v),r=function(e,r,t){e=6*j(e,360),r=j(r,100),t=j(t,100);var n=a.floor(e),o=e-n,i=t*(1-r),s=t*(1-o*r),l=t*(1-(1-o)*r),c=n%6;return{r:255*[t,s,i,i,l,t][c],g:255*[l,t,t,s,i,i][c],b:255*[i,i,l,t,t,s][c]}}(e.h,n,s),d=!0,f="hsv"):N(e.h)&&N(e.s)&&N(e.l)&&(n=I(e.s),l=I(e.l),r=function(e,r,t){var n,a,o;function i(e,r,t){return t<0&&(t+=1),t>1&&(t-=1),t<1/6?e+6*(r-e)*t:t<.5?r:t<2/3?e+(r-e)*(2/3-t)*6:e}if(e=j(e,360),r=j(r,100),t=j(t,100),0===r)n=a=o=t;else{var s=t<.5?t*(1+r):t+r-t*r,l=2*t-s;n=i(l,s,e+1/3),a=i(l,s,e),o=i(l,s,e-1/3)}return{r:255*n,g:255*a,b:255*o}}(e.h,n,l),d=!0,f="hsl"),e.hasOwnProperty("a")&&(t=e.a));var b,g,p;return t=R(t),{ok:d,format:e.format||f,r:c(255,u(r.r,0)),g:c(255,u(r.g,0)),b:c(255,u(r.b,0)),a:t}}(e);this._originalInput=e,this._r=t.r,this._g=t.g,this._b=t.b,this._a=t.a,this._roundA=l(100*this._a)/100,this._format=r.format||t.format,this._gradientType=r.gradientType,this._r<1&&(this._r=l(this._r)),this._g<1&&(this._g=l(this._g)),this._b<1&&(this._b=l(this._b)),this._ok=t.ok,this._tc_id=s++}function b(e,r,t){e=j(e,255),r=j(r,255),t=j(t,255);var n,a,o=u(e,r,t),i=c(e,r,t),s=(o+i)/2;if(o==i)n=a=0;else{var l=o-i;switch(a=s>.5?l/(2-o-i):l/(o+i),o){case e:n=(r-t)/l+(r<t?6:0);break;case r:n=(t-e)/l+2;break;case t:n=(e-r)/l+4}n/=6}return{h:n,s:a,l:s}}function g(e,r,t){e=j(e,255),r=j(r,255),t=j(t,255);var n,a,o=u(e,r,t),i=c(e,r,t),s=o,l=o-i;if(a=0===o?0:l/o,o==i)n=0;else{switch(o){case e:n=(r-t)/l+(r<t?6:0);break;case r:n=(t-e)/l+2;break;case t:n=(e-r)/l+4}n/=6}return{h:n,s:a,v:s}}function p(e,r,t,n){var a=[P(l(e).toString(16)),P(l(r).toString(16)),P(l(t).toString(16))];return n&&a[0].charAt(0)==a[0].charAt(1)&&a[1].charAt(0)==a[1].charAt(1)&&a[2].charAt(0)==a[2].charAt(1)?a[0].charAt(0)+a[1].charAt(0)+a[2].charAt(0):a.join("")}function h(e,r,t,n){return[P(M(n)),P(l(e).toString(16)),P(l(r).toString(16)),P(l(t).toString(16))].join("")}function m(e,r){r=0===r?0:r||10;var t=f(e).toHsl();return t.s-=r/100,t.s=O(t.s),f(t)}function y(e,r){r=0===r?0:r||10;var t=f(e).toHsl();return t.s+=r/100,t.s=O(t.s),f(t)}function v(e){return f(e).desaturate(100)}function x(e,r){r=0===r?0:r||10;var t=f(e).toHsl();return t.l+=r/100,t.l=O(t.l),f(t)}function k(e,r){r=0===r?0:r||10;var t=f(e).toRgb();return t.r=u(0,c(255,t.r-l(-r/100*255))),t.g=u(0,c(255,t.g-l(-r/100*255))),t.b=u(0,c(255,t.b-l(-r/100*255))),f(t)}function w(e,r){r=0===r?0:r||10;var t=f(e).toHsl();return t.l-=r/100,t.l=O(t.l),f(t)}function S(e,r){var t=f(e).toHsl(),n=(t.h+r)%360;return t.h=n<0?360+n:n,f(t)}function C(e){var r=f(e).toHsl();return r.h=(r.h+180)%360,f(r)}function F(e){var r=f(e).toHsl(),t=r.h;return[f(e),f({h:(t+120)%360,s:r.s,l:r.l}),f({h:(t+240)%360,s:r.s,l:r.l})]}function A(e){var r=f(e).toHsl(),t=r.h;return[f(e),f({h:(t+90)%360,s:r.s,l:r.l}),f({h:(t+180)%360,s:r.s,l:r.l}),f({h:(t+270)%360,s:r.s,l:r.l})]}function E(e){var r=f(e).toHsl(),t=r.h;return[f(e),f({h:(t+72)%360,s:r.s,l:r.l}),f({h:(t+216)%360,s:r.s,l:r.l})]}function _(e,r,t){r=r||6,t=t||30;var n=f(e).toHsl(),a=360/t,o=[f(e)];for(n.h=(n.h-(a*r>>1)+720)%360;--r;)n.h=(n.h+a)%360,o.push(f(n));return o}function B(e,r){r=r||6;for(var t=f(e).toHsv(),n=t.h,a=t.s,o=t.v,i=[],s=1/r;r--;)i.push(f({h:n,s:a,v:o})),o=(o+s)%1;return i}f.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},getLuminance:function(){var e,r,t,n=this.toRgb();return e=n.r/255,r=n.g/255,t=n.b/255,.2126*(e<=.03928?e/12.92:a.pow((e+.055)/1.055,2.4))+.7152*(r<=.03928?r/12.92:a.pow((r+.055)/1.055,2.4))+.0722*(t<=.03928?t/12.92:a.pow((t+.055)/1.055,2.4))},setAlpha:function(e){return this._a=R(e),this._roundA=l(100*this._a)/100,this},toHsv:function(){var e=g(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=g(this._r,this._g,this._b),r=l(360*e.h),t=l(100*e.s),n=l(100*e.v);return 1==this._a?"hsv("+r+", "+t+"%, "+n+"%)":"hsva("+r+", "+t+"%, "+n+"%, "+this._roundA+")"},toHsl:function(){var e=b(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=b(this._r,this._g,this._b),r=l(360*e.h),t=l(100*e.s),n=l(100*e.l);return 1==this._a?"hsl("+r+", "+t+"%, "+n+"%)":"hsla("+r+", "+t+"%, "+n+"%, "+this._roundA+")"},toHex:function(e){return p(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(e){return function(e,r,t,n,a){var o=[P(l(e).toString(16)),P(l(r).toString(16)),P(l(t).toString(16)),P(M(n))];if(a&&o[0].charAt(0)==o[0].charAt(1)&&o[1].charAt(0)==o[1].charAt(1)&&o[2].charAt(0)==o[2].charAt(1)&&o[3].charAt(0)==o[3].charAt(1))return o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0)+o[3].charAt(0);return o.join("")}(this._r,this._g,this._b,this._a,e)},toHex8String:function(e){return"#"+this.toHex8(e)},toRgb:function(){return{r:l(this._r),g:l(this._g),b:l(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+l(this._r)+", "+l(this._g)+", "+l(this._b)+")":"rgba("+l(this._r)+", "+l(this._g)+", "+l(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:l(100*j(this._r,255))+"%",g:l(100*j(this._g,255))+"%",b:l(100*j(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+l(100*j(this._r,255))+"%, "+l(100*j(this._g,255))+"%, "+l(100*j(this._b,255))+"%)":"rgba("+l(100*j(this._r,255))+"%, "+l(100*j(this._g,255))+"%, "+l(100*j(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(z[p(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var r="#"+h(this._r,this._g,this._b,this._a),t=r,n=this._gradientType?"GradientType = 1, ":"";if(e){var a=f(e);t="#"+h(a._r,a._g,a._b,a._a)}return"progid:DXImageTransform.Microsoft.gradient("+n+"startColorstr="+r+",endColorstr="+t+")"},toString:function(e){var r=!!e;e=e||this._format;var t=!1,n=this._a<1&&this._a>=0;return r||!n||"hex"!==e&&"hex6"!==e&&"hex3"!==e&&"hex4"!==e&&"hex8"!==e&&"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()},clone:function(){return f(this.toString())},_applyModification:function(e,r){var t=e.apply(null,[this].concat([].slice.call(r)));return this._r=t._r,this._g=t._g,this._b=t._b,this.setAlpha(t._a),this},lighten:function(){return this._applyModification(x,arguments)},brighten:function(){return this._applyModification(k,arguments)},darken:function(){return this._applyModification(w,arguments)},desaturate:function(){return this._applyModification(m,arguments)},saturate:function(){return this._applyModification(y,arguments)},greyscale:function(){return this._applyModification(v,arguments)},spin:function(){return this._applyModification(S,arguments)},_applyCombination:function(e,r){return e.apply(null,[this].concat([].slice.call(r)))},analogous:function(){return this._applyCombination(_,arguments)},complement:function(){return this._applyCombination(C,arguments)},monochromatic:function(){return this._applyCombination(B,arguments)},splitcomplement:function(){return this._applyCombination(E,arguments)},triad:function(){return this._applyCombination(F,arguments)},tetrad:function(){return this._applyCombination(A,arguments)}},f.fromRatio=function(e,r){if("object"==typeof e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[n]="a"===n?e[n]:I(e[n]));e=t}return f(e,r)},f.equals=function(e,r){return!(!e||!r)&&f(e).toRgbString()==f(r).toRgbString()},f.random=function(){return f.fromRatio({r:d(),g:d(),b:d()})},f.mix=function(e,r,t){t=0===t?0:t||50;var n=f(e).toRgb(),a=f(r).toRgb(),o=t/100;return f({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})},f.readability=function(e,r){var t=f(e),n=f(r);return(a.max(t.getLuminance(),n.getLuminance())+.05)/(a.min(t.getLuminance(),n.getLuminance())+.05)},f.isReadable=function(e,r,t){var n,a,o=f.readability(e,r);switch(a=!1,(n=function(e){var r,t;r=((e=e||{level:"AA",size:"small"}).level||"AA").toUpperCase(),t=(e.size||"small").toLowerCase(),"AA"!==r&&"AAA"!==r&&(r="AA");"small"!==t&&"large"!==t&&(t="small");return{level:r,size:t}}(t)).level+n.size){case"AAsmall":case"AAAlarge":a=o>=4.5;break;case"AAlarge":a=o>=3;break;case"AAAsmall":a=o>=7}return a},f.mostReadable=function(e,r,t){var n,a,o,i,s=null,l=0;a=(t=t||{}).includeFallbackColors,o=t.level,i=t.size;for(var c=0;c<r.length;c++)(n=f.readability(e,r[c]))>l&&(l=n,s=f(r[c]));return f.isReadable(e,s,{level:o,size:i})||!a?s:(t.includeFallbackColors=!1,f.mostReadable(e,["#fff","#000"],t))};var D=f.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",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:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",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:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",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:"f00",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:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},z=f.hexNames=function(e){var r={};for(var t in e)e.hasOwnProperty(t)&&(r[e[t]]=t);return r}(D);function R(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function j(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=c(r,u(0,parseFloat(e))),t&&(e=parseInt(e*r,10)/100),a.abs(e-r)<1e-6?1:e%r/parseFloat(r)}function O(e){return c(1,u(0,e))}function T(e){return parseInt(e,16)}function P(e){return 1==e.length?"0"+e:""+e}function I(e){return e<=1&&(e=100*e+"%"),e}function M(e){return a.round(255*parseFloat(e)).toString(16)}function W(e){return T(e)/255}var J=function(){var e="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)",r="[\\s|\\(]+("+e+")[,|\\s]+("+e+")[,|\\s]+("+e+")\\s*\\)?",t="[\\s|\\(]+("+e+")[,|\\s]+("+e+")[,|\\s]+("+e+")[,|\\s]+("+e+")\\s*\\)?";return{CSS_UNIT:new RegExp(e),rgb:new RegExp("rgb"+r),rgba:new RegExp("rgba"+t),hsl:new RegExp("hsl"+r),hsla:new RegExp("hsla"+t),hsv:new RegExp("hsv"+r),hsva:new RegExp("hsva"+t),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 N(e){return!!J.CSS_UNIT.exec(e)}e.exports?e.exports=f:void 0===(n=function(){return f}.call(r,t,r,e))||(e.exports=n)}(Math)},4942: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}})},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}})}},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-8bd0d6de2a60ac35d501.js b/out/_next/static/chunks/pages/_app-8bd0d6de2a60ac35d501.js
new file mode 100644
index 0000000..1746ca8
--- /dev/null
+++ b/out/_next/static/chunks/pages/_app-8bd0d6de2a60ac35d501.js
@@ -0,0 +1 @@
+(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[888],{24738:function(e,r,t){"use strict";t.d(r,{SG:function(){return x},If:function(){return v}});var n=t(73808),a=t(84461),o=t(80658),i=t(67294),s="chakra-ui-light",l="chakra-ui-dark",c={classList:{add:o.ZT,remove:o.ZT}};function u(e){var r=a.jU?document.body:c;r.classList.add(e?l:s),r.classList.remove(e?s:l)}var d="(prefers-color-scheme: dark)";function f(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}(d))?r:"dark"===e)?"dark":"light"}var b=()=>document.documentElement.style.getPropertyValue("--chakra-ui-color-mode"),g=e=>{a.jU&&document.documentElement.style.setProperty("--chakra-ui-color-mode",e)},p=()=>"undefined"!==typeof Storage,h="chakra-ui-color-mode",m={get(e){if(!p())return e;try{var r=localStorage.getItem(h);return null!=r?r:e}catch(t){return n.Ts&&console.log(t),e}},set(e){if(p())try{localStorage.setItem(h,e)}catch(r){n.Ts&&console.log(r)}},type:"localStorage"};var y=i.createContext({});n.Ts&&(y.displayName="ColorModeContext");var v=()=>{var e=i.useContext(y);if(void 0===e)throw new Error("useColorMode must be used within a ColorModeProvider");return e};function x(e){var{value:r,children:t,options:{useSystemColorMode:n,initialColorMode:s},colorModeManager:l=m}=e,[c,p]=i.useState("cookie"===l.type?l.get(s):s);i.useEffect((()=>{if(a.jU&&"localStorage"===l.type){var e=n?f(s):b()||l.get();e&&p(e)}}),[l,n,s]),i.useEffect((()=>{var e="dark"===c;u(e),g(e?"dark":"light")}),[c]);var h=i.useCallback((e=>{l.set(e),p(e)}),[l]),v=i.useCallback((()=>{h("light"===c?"dark":"light")}),[c,h]);i.useEffect((()=>{var e;return n&&(e=function(e){if(!("matchMedia"in window))return o.ZT;var r=window.matchMedia(d),t=()=>{e(r.matches?"dark":"light")};return t(),r.addListener(t),()=>{r.removeListener(t)}}(h)),()=>{e&&n&&e()}}),[h,n]);var x=i.useMemo((()=>({colorMode:null!=r?r:c,toggleColorMode:r?o.ZT:v,setColorMode:r?o.ZT:h})),[c,h,v,r]);return i.createElement(y.Provider,{value:x},t)}n.Ts&&(x.displayName="ColorModeProvider");n.Ts;n.Ts},94577:function(e,r,t){"use strict";t.d(r,{vc:function(){return i},Me:function(){return s},ZS:function(){return l}});var n=t(67294),a={prefix:Math.round(1e10*Math.random()),current:0},o=n.createContext(a),i=n.memo((e=>{var{children:r}=e,t=n.useContext(o),i=t===a,s=n.useMemo((()=>({prefix:i?0:++t.prefix,current:0})),[i,t]);return n.createElement(o.Provider,{value:s},r)}));function s(e,r){var t=n.useContext(o);return n.useMemo((()=>e||[r,t.prefix,++t.current].filter(Boolean).join("-")),[e,r])}function l(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=s(e);return n.useMemo((()=>t.map((e=>e+"-"+o))),[o,t])}},34288:function(e,r,t){"use strict";t.d(r,{L:function(){return s},h:function(){return l}});var n=t(73808),a=t(28500),o=t(67294),[i,s]=(0,a.k)({strict:!1,name:"PortalManagerContext"});function l(e){var{children:r,zIndex:t}=e;return o.createElement(i,{value:{zIndex:t}},r)}n.Ts&&(l.displayName="PortalManager")},28500:function(e,r,t){"use strict";t.d(r,{k:function(){return a}});var n=t(67294);function a(e){void 0===e&&(e={});var{strict:r=!0,errorMessage:t="useContext: `context` is undefined. Seems you forgot to wrap component within the Provider",name:a}=e,o=n.createContext(void 0);return o.displayName=a,[o.Provider,function e(){var a=n.useContext(o);if(!a&&r){var i=new Error(t);throw i.name="ContextError",null==Error.captureStackTrace||Error.captureStackTrace(i,e),i}return a},o]}},13205:function(e,r,t){"use strict";t.d(r,{Oq:function(){return D},Cg:function(){return z},$_:function(){return R},cE:function(){return j},hX:function(){return O},GQ:function(){return T},eC:function(){return P},Mw:function(){return I},bK:function(){return M},pb:function(){return W},o_:function(){return $},FK:function(){return Z},v_:function(){return V},Dh:function(){return q},QX:function(){return G},vs:function(){return Y},eR:function(){return X},cp:function(){return U}});var n=t(73808);function a(e){var{scale:r,transform:t,compose:a}=e;return(e,o)=>{var i,s=((e,r)=>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})(r,e)(o),l=null!=(i=null==t?void 0:t(s,o))?i:s;return a&&(l=a(l,o)),l}}function o(e,r){return t=>{var n={property:t,scale:e};return n.transform=a({scale:e,transform:r}),n}}var i=e=>{var{rtl:r,ltr:t}=e;return e=>"rtl"===e.direction?r:t};var s=["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 l={"--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(" ")},c={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 u={"row-reverse":{space:"--chakra-space-x-reverse",divide:"--chakra-divide-x-reverse"},"column-reverse":{space:"--chakra-space-y-reverse",divide:"--chakra-divide-y-reverse"}},d="& > :not(style) ~ :not(style)",f={[d]:{marginInlineStart:"calc(var(--chakra-space-x) * calc(1 - var(--chakra-space-x-reverse)))",marginInlineEnd:"calc(var(--chakra-space-x) * var(--chakra-space-x-reverse))"}},b={[d]:{marginTop:"calc(var(--chakra-space-y) * calc(1 - var(--chakra-space-y-reverse)))",marginBottom:"calc(var(--chakra-space-y) * var(--chakra-space-y-reverse))"}};function g(e,r){g=function(e,r){return new o(e,void 0,r)};var t=h(RegExp),n=RegExp.prototype,a=new WeakMap;function o(e,r,n){var o=t.call(this,e,r);return a.set(o,n||a.get(e)),o}function i(e,r){var t=a.get(r);return Object.keys(t).reduce((function(r,n){return r[n]=e[t[n]],r}),Object.create(null))}return p(o,t),o.prototype.exec=function(e){var r=n.exec.call(this,e);return r&&(r.groups=i(r,this)),r},o.prototype[Symbol.replace]=function(e,r){if("string"===typeof r){var t=a.get(this);return n[Symbol.replace].call(this,e,r.replace(/\$<([^>]+)>/g,(function(e,r){return"$"+t[r]})))}if("function"===typeof r){var o=this;return n[Symbol.replace].call(this,e,(function(){var e=[];return e.push.apply(e,arguments),"object"!==typeof e[e.length-1]&&e.push(i(e,o)),r.apply(this,e)}))}return n[Symbol.replace].call(this,e,r)},g.apply(this,arguments)}function p(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&&v(e,r)}function h(e){var r="function"===typeof Map?new Map:void 0;return(h=function(e){if(null===e||(t=e,-1===Function.toString.call(t).indexOf("[native code]")))return e;var t;if("function"!==typeof e)throw new TypeError("Super expression must either be null or a function");if("undefined"!==typeof r){if(r.has(e))return r.get(e);r.set(e,n)}function n(){return m(e,arguments,x(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),v(n,e)})(e)}function m(e,r,t){return(m=y()?Reflect.construct:function(e,r,t){var n=[null];n.push.apply(n,r);var a=new(Function.bind.apply(e,n));return t&&v(a,t.prototype),a}).apply(null,arguments)}function y(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function v(e,r){return(v=Object.setPrototypeOf||function(e,r){return e.__proto__=r,e})(e,r)}function x(e){return(x=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var k={"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"},w=new Set(Object.values(k)),S=new Set(["none","-moz-initial","inherit","initial","revert","unset"]),C=e=>e.trim();var F=e=>r=>e+"("+r+")",A={filter:e=>"auto"!==e?e:l,backdropFilter:e=>"auto"!==e?e:c,ring:e=>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(", ")}}(A.px(e)),bgClip:e=>"text"===e?{color:"transparent",backgroundClip:"text"}:{backgroundClip:e},transform:e=>"auto"===e?["translateX(var(--chakra-translate-x, 0))","translateY(var(--chakra-translate-y, 0))",...s].join(" "):"auto-gpu"===e?["translate3d(var(--chakra-translate-x, 0), var(--chakra-translate-y, 0), 0)",...s].join(" "):e,px(e){if(null==e)return e;var{unitless:r}=(e=>{var r=parseFloat(e.toString()),t=e.toString().replace(String(r),"");return{unitless:!t,value:r,unit:t}})(e);return r||(0,n.hj)(e)?e+"px":e},fraction:e=>!(0,n.hj)(e)||e>1?e:100*e+"%",float:(e,r)=>"rtl"===r.direction?{left:"right",right:"left"}[e]:e,degree(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:(e,r)=>function(e,r){var t,n;if(null==e||S.has(e))return e;var a=g(/(^[\x2DA-Za-z]+)\(((.*))\)/g,{type:1,values:2}),{type:o,values:i}=null!=(t=null==(n=a.exec(e))?void 0:n.groups)?t:{};if(!o||!i)return e;var s=o.includes("-gradient")?o:o+"-gradient",[l,...c]=i.split(",").map(C).filter(Boolean);if(0===(null==c?void 0:c.length))return e;var u=l in k?k[l]:l;return c.unshift(u),s+"("+c.map((e=>{if(w.has(e))return e;var[t,n]=e.split(" "),a="colors."+t,o=a in r.__cssMap?r.__cssMap[a].varRef:t;return n?[o,n].join(" "):o})).join(", ")+")"}(e,null!=r?r:{}),blur:F("blur"),opacity:F("opacity"),brightness:F("brightness"),contrast:F("contrast"),dropShadow:F("drop-shadow"),grayscale:F("grayscale"),hueRotate:F("hue-rotate"),invert:F("invert"),saturate:F("saturate"),sepia:F("sepia"),bgImage:e=>null==e||E(e)||S.has(e)?e:"url("+e+")",outline(e){var r="0"===String(e)||"none"===String(e);return null!==e&&r?{outline:"2px solid transparent",outlineOffset:"2px"}:{outline:e}},flexDirection(e){var r,{space:t,divide:n}=null!=(r=u[e])?r:{},a={flexDirection:e};return t&&(a[t]=1),n&&(a[n]=1),a}},E=e=>(0,n.HD)(e)&&e.includes("(")&&e.includes(")");function _(){return(_=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={borderWidths:o("borderWidths"),borderStyles:o("borderStyles"),colors:o("colors"),borders:o("borders"),radii:o("radii",A.px),space:o("space",A.px),spaceT:o("space",A.px),degreeT:e=>({property:e,transform:A.degree}),prop:(e,r,t)=>_({property:e,scale:r},r&&{transform:a({scale:r,transform:t})}),propT:(e,r)=>({property:e,transform:r}),sizes:o("sizes",A.px),sizesT:o("sizes",A.fraction),shadows:o("shadows"),logical:function(e){var{property:r,scale:t,transform:n}=e;return{scale:t,property:i(r),transform:t?a({scale:t,compose:n}):n}},blur:o("blur",A.blur)},D={background:B.colors("background"),backgroundColor:B.colors("backgroundColor"),backgroundImage:B.propT("backgroundImage",A.bgImage),backgroundSize:!0,backgroundPosition:!0,backgroundRepeat:!0,backgroundAttachment:!0,backgroundClip:{transform:A.bgClip},bgSize:B.prop("backgroundSize"),bgPosition:B.prop("backgroundPosition"),bg:B.colors("background"),bgColor:B.colors("backgroundColor"),bgPos:B.prop("backgroundPosition"),bgRepeat:B.prop("backgroundRepeat"),bgAttachment:B.prop("backgroundAttachment"),bgGradient:B.propT("backgroundImage",A.gradient),bgClip:{transform:A.bgClip}};Object.assign(D,{bgImage:D.backgroundImage,bgImg:D.backgroundImage});var z={border:B.borders("border"),borderWidth:B.borderWidths("borderWidth"),borderStyle:B.borderStyles("borderStyle"),borderColor:B.colors("borderColor"),borderRadius:B.radii("borderRadius"),borderTop:B.borders("borderTop"),borderBlockStart:B.borders("borderBlockStart"),borderTopLeftRadius:B.radii("borderTopLeftRadius"),borderStartStartRadius:B.logical({scale:"radii",property:{ltr:"borderTopLeftRadius",rtl:"borderTopRightRadius"}}),borderEndStartRadius:B.logical({scale:"radii",property:{ltr:"borderBottomLeftRadius",rtl:"borderBottomRightRadius"}}),borderTopRightRadius:B.radii("borderTopRightRadius"),borderStartEndRadius:B.logical({scale:"radii",property:{ltr:"borderTopRightRadius",rtl:"borderTopLeftRadius"}}),borderEndEndRadius:B.logical({scale:"radii",property:{ltr:"borderBottomRightRadius",rtl:"borderBottomLeftRadius"}}),borderRight:B.borders("borderRight"),borderInlineEnd:B.borders("borderInlineEnd"),borderBottom:B.borders("borderBottom"),borderBlockEnd:B.borders("borderBlockEnd"),borderBottomLeftRadius:B.radii("borderBottomLeftRadius"),borderBottomRightRadius:B.radii("borderBottomRightRadius"),borderLeft:B.borders("borderLeft"),borderInlineStart:{property:"borderInlineStart",scale:"borders"},borderInlineStartRadius:B.logical({scale:"radii",property:{ltr:["borderTopLeftRadius","borderBottomLeftRadius"],rtl:["borderTopRightRadius","borderBottomRightRadius"]}}),borderInlineEndRadius:B.logical({scale:"radii",property:{ltr:["borderTopRightRadius","borderBottomRightRadius"],rtl:["borderTopLeftRadius","borderBottomLeftRadius"]}}),borderX:B.borders(["borderLeft","borderRight"]),borderInline:B.borders("borderInline"),borderY:B.borders(["borderTop","borderBottom"]),borderBlock:B.borders("borderBlock"),borderTopWidth:B.borderWidths("borderTopWidth"),borderBlockStartWidth:B.borderWidths("borderBlockStartWidth"),borderTopColor:B.colors("borderTopColor"),borderBlockStartColor:B.colors("borderBlockStartColor"),borderTopStyle:B.borderStyles("borderTopStyle"),borderBlockStartStyle:B.borderStyles("borderBlockStartStyle"),borderBottomWidth:B.borderWidths("borderBottomWidth"),borderBlockEndWidth:B.borderWidths("borderBlockEndWidth"),borderBottomColor:B.colors("borderBottomColor"),borderBlockEndColor:B.colors("borderBlockEndColor"),borderBottomStyle:B.borderStyles("borderBottomStyle"),borderBlockEndStyle:B.borderStyles("borderBlockEndStyle"),borderLeftWidth:B.borderWidths("borderLeftWidth"),borderInlineStartWidth:B.borderWidths("borderInlineStartWidth"),borderLeftColor:B.colors("borderLeftColor"),borderInlineStartColor:B.colors("borderInlineStartColor"),borderLeftStyle:B.borderStyles("borderLeftStyle"),borderInlineStartStyle:B.borderStyles("borderInlineStartStyle"),borderRightWidth:B.borderWidths("borderRightWidth"),borderInlineEndWidth:B.borderWidths("borderInlineEndWidth"),borderRightColor:B.colors("borderRightColor"),borderInlineEndColor:B.colors("borderInlineEndColor"),borderRightStyle:B.borderStyles("borderRightStyle"),borderInlineEndStyle:B.borderStyles("borderInlineEndStyle"),borderTopRadius:B.radii(["borderTopLeftRadius","borderTopRightRadius"]),borderBottomRadius:B.radii(["borderBottomLeftRadius","borderBottomRightRadius"]),borderLeftRadius:B.radii(["borderTopLeftRadius","borderBottomLeftRadius"]),borderRightRadius:B.radii(["borderTopRightRadius","borderBottomRightRadius"])};Object.assign(z,{rounded:z.borderRadius,roundedTop:z.borderTopRadius,roundedTopLeft:z.borderTopLeftRadius,roundedTopRight:z.borderTopRightRadius,roundedTopStart:z.borderStartStartRadius,roundedTopEnd:z.borderStartEndRadius,roundedBottom:z.borderBottomRadius,roundedBottomLeft:z.borderBottomLeftRadius,roundedBottomRight:z.borderBottomRightRadius,roundedBottomStart:z.borderEndStartRadius,roundedBottomEnd:z.borderEndEndRadius,roundedLeft:z.borderLeftRadius,roundedRight:z.borderRightRadius,roundedStart:z.borderInlineStartRadius,roundedEnd:z.borderInlineEndRadius,borderStart:z.borderInlineStart,borderEnd:z.borderInlineEnd,borderTopStartRadius:z.borderStartStartRadius,borderTopEndRadius:z.borderStartEndRadius,borderBottomStartRadius:z.borderEndStartRadius,borderBottomEndRadius:z.borderEndEndRadius,borderStartRadius:z.borderInlineStartRadius,borderEndRadius:z.borderInlineEndRadius,borderStartWidth:z.borderInlineStartWidth,borderEndWidth:z.borderInlineEndWidth,borderStartColor:z.borderInlineStartColor,borderEndColor:z.borderInlineEndColor,borderStartStyle:z.borderInlineStartStyle,borderEndStyle:z.borderInlineEndStyle});var R={color:B.colors("color"),textColor:B.colors("color"),fill:B.colors("fill"),stroke:B.colors("stroke")},j={boxShadow:B.shadows("boxShadow"),mixBlendMode:!0,blendMode:B.prop("mixBlendMode"),backgroundBlendMode:!0,bgBlendMode:B.prop("backgroundBlendMode"),opacity:!0};Object.assign(j,{shadow:j.boxShadow});var O={filter:{transform:A.filter},blur:B.blur("--chakra-blur"),brightness:B.propT("--chakra-brightness",A.brightness),contrast:B.propT("--chakra-contrast",A.contrast),hueRotate:B.degreeT("--chakra-hue-rotate"),invert:B.propT("--chakra-invert",A.invert),saturate:B.propT("--chakra-saturate",A.saturate),dropShadow:B.propT("--chakra-drop-shadow",A.dropShadow),backdropFilter:{transform:A.backdropFilter},backdropBlur:B.blur("--chakra-backdrop-blur"),backdropBrightness:B.propT("--chakra-backdrop-brightness",A.brightness),backdropContrast:B.propT("--chakra-backdrop-contrast",A.contrast),backdropHueRotate:B.degreeT("--chakra-backdrop-hue-rotate"),backdropInvert:B.propT("--chakra-backdrop-invert",A.invert),backdropSaturate:B.propT("--chakra-backdrop-saturate",A.saturate)},T={alignItems:!0,alignContent:!0,justifyItems:!0,justifyContent:!0,flexWrap:!0,flexDirection:{transform:A.flexDirection},experimental_spaceX:{static:f,transform:a({scale:"space",transform:e=>null!==e?{"--chakra-space-x":e}:null})},experimental_spaceY:{static:b,transform:a({scale:"space",transform:e=>null!=e?{"--chakra-space-y":e}:null})},flex:!0,flexFlow:!0,flexGrow:!0,flexShrink:!0,flexBasis:B.sizes("flexBasis"),justifySelf:!0,alignSelf:!0,order:!0,placeItems:!0,placeContent:!0,placeSelf:!0};Object.assign(T,{flexDir:T.flexDirection});var P={gridGap:B.space("gridGap"),gridColumnGap:B.space("gridColumnGap"),gridRowGap:B.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:A.outline},outlineOffset:!0,outlineColor:B.colors("outlineColor")},M={width:B.sizesT("width"),inlineSize:B.sizesT("inlineSize"),height:B.sizes("height"),blockSize:B.sizes("blockSize"),boxSize:B.sizes(["width","height"]),minWidth:B.sizes("minWidth"),minInlineSize:B.sizes("minInlineSize"),minHeight:B.sizes("minHeight"),minBlockSize:B.sizes("minBlockSize"),maxWidth:B.sizes("maxWidth"),maxInlineSize:B.sizes("maxInlineSize"),maxHeight:B.sizes("maxHeight"),maxBlockSize:B.sizes("maxBlockSize"),d:B.prop("display"),overflow:!0,overflowX:!0,overflowY:!0,overscrollBehavior:!0,overscrollBehaviorX:!0,overscrollBehaviorY:!0,display:!0,verticalAlign:!0,boxSizing:!0,boxDecorationBreak:!0,float:B.propT("float",A.float),objectFit:!0,objectPosition:!0,visibility:!0,isolation:!0};Object.assign(M,{w:M.width,h:M.height,minW:M.minWidth,maxW:M.maxWidth,minH:M.minHeight,maxH:M.maxHeight,overscroll:M.overscrollBehavior,overscrollX:M.overscrollBehaviorX,overscrollY:M.overscrollBehaviorY});var W={listStyleType:!0,listStylePosition:!0,listStylePos:B.prop("listStylePosition"),listStyleImage:!0,listStyleImg:B.prop("listStyleImage")},J=t(4651),N={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"},L=(e,r,t)=>{var n={},a=(0,J.Wf)(e,r,{});for(var o in a){o in t&&null!=t[o]||(n[o]=a[o])}return n},$={srOnly:{transform:e=>!0===e?N:"focusable"===e?H:{}},layerStyle:{processResult:!0,transform:(e,r,t)=>L(r,"layerStyles."+e,t)},textStyle:{processResult:!0,transform:(e,r,t)=>L(r,"textStyles."+e,t)},apply:{processResult:!0,transform:(e,r,t)=>L(r,e,t)}},Z={position:!0,pos:B.prop("position"),zIndex:B.prop("zIndex","zIndices"),inset:B.spaceT(["top","right","bottom","left"]),insetX:B.spaceT(["left","right"]),insetInline:B.spaceT("insetInline"),insetY:B.spaceT(["top","bottom"]),insetBlock:B.spaceT("insetBlock"),top:B.spaceT("top"),insetBlockStart:B.spaceT("insetBlockStart"),bottom:B.spaceT("bottom"),insetBlockEnd:B.spaceT("insetBlockEnd"),left:B.spaceT("left"),insetInlineStart:B.logical({scale:"space",property:{ltr:"left",rtl:"right"}}),right:B.spaceT("right"),insetInlineEnd:B.logical({scale:"space",property:{ltr:"right",rtl:"left"}})};Object.assign(Z,{insetStart:Z.insetInlineStart,insetEnd:Z.insetInlineEnd});var V={ring:{transform:A.ring},ringColor:B.colors("--chakra-ring-color"),ringOffset:B.prop("--chakra-ring-offset-width"),ringOffsetColor:B.colors("--chakra-ring-offset-color"),ringInset:B.prop("--chakra-ring-inset")},q={margin:B.spaceT("margin"),marginTop:B.spaceT("marginTop"),marginBlockStart:B.spaceT("marginBlockStart"),marginRight:B.spaceT("marginRight"),marginInlineEnd:B.spaceT("marginInlineEnd"),marginBottom:B.spaceT("marginBottom"),marginBlockEnd:B.spaceT("marginBlockEnd"),marginLeft:B.spaceT("marginLeft"),marginInlineStart:B.spaceT("marginInlineStart"),marginX:B.spaceT(["marginInlineStart","marginInlineEnd"]),marginInline:B.spaceT("marginInline"),marginY:B.spaceT(["marginTop","marginBottom"]),marginBlock:B.spaceT("marginBlock"),padding:B.space("padding"),paddingTop:B.space("paddingTop"),paddingBlockStart:B.space("paddingBlockStart"),paddingRight:B.space("paddingRight"),paddingBottom:B.space("paddingBottom"),paddingBlockEnd:B.space("paddingBlockEnd"),paddingLeft:B.space("paddingLeft"),paddingInlineStart:B.space("paddingInlineStart"),paddingInlineEnd:B.space("paddingInlineEnd"),paddingX:B.space(["paddingInlineStart","paddingInlineEnd"]),paddingInline:B.space("paddingInline"),paddingY:B.space(["paddingTop","paddingBottom"]),paddingBlock:B.space("paddingBlock")};Object.assign(q,{m:q.margin,mt:q.marginTop,mr:q.marginRight,me:q.marginInlineEnd,marginEnd:q.marginInlineEnd,mb:q.marginBottom,ml:q.marginLeft,ms:q.marginInlineStart,marginStart:q.marginInlineStart,mx:q.marginX,my:q.marginY,p:q.padding,pt:q.paddingTop,py:q.paddingY,px:q.paddingX,pb:q.paddingBottom,pl:q.paddingLeft,ps:q.paddingInlineStart,paddingStart:q.paddingInlineStart,pr:q.paddingRight,pe:q.paddingInlineEnd,paddingEnd:q.paddingInlineEnd});var G={textDecorationColor:B.colors("textDecorationColor"),textDecoration:!0,textDecor:{property:"textDecoration"},textDecorationLine:!0,textDecorationStyle:!0,textDecorationThickness:!0,textUnderlineOffset:!0,textShadow:B.shadows("textShadow")},Y={clipPath:!0,transform:B.propT("transform",A.transform),transformOrigin:!0,translateX:B.spaceT("--chakra-translate-x"),translateY:B.spaceT("--chakra-translate-y"),skewX:B.degreeT("--chakra-skew-x"),skewY:B.degreeT("--chakra-skew-y"),scaleX:B.prop("--chakra-scale-x"),scaleY:B.prop("--chakra-scale-y"),scale:B.prop(["--chakra-scale-x","--chakra-scale-y"]),rotate:B.degreeT("--chakra-rotate")},X={transition:!0,transitionDelay:!0,animation:!0,willChange:!0,transitionDuration:B.prop("transitionDuration","transition.duration"),transitionProperty:B.prop("transitionProperty","transition.property"),transitionTimingFunction:B.prop("transitionTimingFunction","transition.easing")},U={fontFamily:B.prop("fontFamily","fonts"),fontSize:B.prop("fontSize","fontSizes",A.px),fontWeight:B.prop("fontWeight","fontWeights"),lineHeight:B.prop("lineHeight","lineHeights"),letterSpacing:B.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(e){if(!0===e)return{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}}}}},55608:function(e,r,t){"use strict";t.d(r,{c0:function(){return F}});var n=t(73808);function a(e){return(0,n.Kn)(e)&&e.reference?e.reference:String(e)}var o=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(a).join(" "+e+" ").replace(/calc/g,"")},i=function(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return"calc("+o("+",...r)+")"},s=function(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return"calc("+o("-",...r)+")"},l=function(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return"calc("+o("*",...r)+")"},c=function(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return"calc("+o("/",...r)+")"},u=e=>{var r=a(e);return null==r||Number.isNaN(parseFloat(r))?l(r,-1):String(r).startsWith("-")?String(r).slice(1):"-"+r},d=Object.assign((e=>({add:function(){for(var r=arguments.length,t=new Array(r),n=0;n<r;n++)t[n]=arguments[n];return d(i(e,...t))},subtract:function(){for(var r=arguments.length,t=new Array(r),n=0;n<r;n++)t[n]=arguments[n];return d(s(e,...t))},multiply:function(){for(var r=arguments.length,t=new Array(r),n=0;n<r;n++)t[n]=arguments[n];return d(l(e,...t))},divide:function(){for(var r=arguments.length,t=new Array(r),n=0;n<r;n++)t[n]=arguments[n];return d(c(e,...t))},negate:()=>d(u(e)),toString:()=>e.toString()})),{add:i,subtract:s,multiply:l,divide:c,negate:u}),f=t(88456);function b(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 g(e,r){return"var("+b(e)+(r?", "+r:"")+")"}function p(e,r){return void 0===r&&(r=""),"--"+function(e,r){return void 0===r&&(r=""),[r,b(e)].filter(Boolean).join("-")}(e,r)}function h(e,r,t){var n=p(e,t);return{variable:n,reference:g(n,r)}}function m(){return(m=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 y(e,r){var t={cssMap:{},cssVars:{}};return function(e,r){(function e(t,a){return void 0===a&&(a=[]),(0,n.kJ)(t)?t.map(((r,t)=>e(r,[...a,String(t)]))):(0,n.Kn)(t)?Object.fromEntries(Object.entries(t).map((r=>{var[t,n]=r;return[t,e(n,[...a,t])]}))):r(t,a)})(e)}(e,((e,n)=>{var a,[o]=n,i=null!=(a=v[o])?a:v.defaultHandler,{cssVars:s,cssMap:l}=i(n,e,r);Object.assign(t.cssVars,s),Object.assign(t.cssMap,l)})),t}var v={space:(e,r,t)=>{var n=v.defaultHandler(e,r,t),[a,...o]=e,i=a+".-"+o.join("."),s=e.join("-"),{variable:l,reference:c}=h(s,void 0,t.cssVarPrefix),u=d.negate(r),f=d.negate(c);return{cssVars:n.cssVars,cssMap:m({},n.cssMap,{[i]:{value:""+u,var:""+l,varRef:f}})}},defaultHandler:(e,r,t)=>{var n=e.join("."),a=e.join("-"),{variable:o,reference:i}=h(a,void 0,t.cssVarPrefix);return{cssVars:{[o]:r},cssMap:{[n]:{value:r,var:o,varRef:i}}}}},x=t(4651);var k=["colors","borders","borderWidths","borderStyles","fonts","fontSizes","fontWeights","letterSpacings","lineHeights","radii","space","shadows","sizes","zIndices","transition","blur"];function w(e){var r=k;return(0,x.ei)(e,r)}function S(e){return 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,["__cssMap","__cssVars","__breakpoints"])}function C(){return(C=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 F(e){var r,t=S(e),n=w(t),a=null==(r=t.config)?void 0:r.cssVarPrefix,{cssMap:o,cssVars:i}=y(n,{cssVarPrefix:a});return Object.assign(t,{__cssVars:C({},{"--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"},i),__cssMap:o,__breakpoints:(0,f.y)(t.breakpoints)}),t}},33565:function(e,r,t){"use strict";t.d(r,{i:function(){return f}});var n=t(73808),a=t(80658),o=t(38554),i=t.n(o),s=t(28680),l=t(25503),c=(e,r)=>e.startsWith("--")&&(0,n.HD)(r)&&!(0,n.FS)(r),u=(e,r)=>{var t,n;if(null==r)return r;var a=r=>{var t,n;return null==(t=e.__cssMap)||null==(n=t[r])?void 0:n.varRef},o=e=>{var r;return null!=(r=a(e))?r:e},i=r.split(",").map((e=>e.trim())),[s,l]=i;return r=null!=(t=null!=(n=a(s))?n:o(l))?t:o(r)};function d(e){var{configs:r={},pseudos:t={},theme:o}=e;return function e(s,l){void 0===l&&(l=!1);var d=(0,a.Pu)(s,o),f=(e=>r=>{if(!r.__breakpoints)return e;var{isResponsive:t,toArrayValue:o,media:i}=r.__breakpoints,s={};for(var l in e){var c=(0,a.Pu)(e[l],r);if(null!=c)if(c=(0,n.Kn)(c)&&t(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?(s[f]=s[f]||{},null!=c[d]&&(s[f][l]=c[d])):s[l]=c[d]}else s[l]=c}return s})(d)(o),b={};for(var g in f){var p,h,m,y,v,x=f[g],k=(0,a.Pu)(x,o);g in t&&(g=t[g]),c(g,k)&&(k=u(o,k));var w=r[g];if(!0===w&&(w={property:g}),(0,n.Kn)(k)){var S;b[g]=null!=(S=b[g])?S:{},b[g]=i()({},b[g],e(k,!0))}else{var C=null!=(p=null==(h=w)||null==h.transform?void 0:h.transform(k,o,d))?p:k;C=null!=(m=w)&&m.processResult?e(C,!0):C;var F=(0,a.Pu)(null==(y=w)?void 0:y.property,o);if(!l&&null!=(v=w)&&v.static){var A=(0,a.Pu)(w.static,o);b=i()({},b,A)}if(F&&Array.isArray(F))for(var E of F)b[E]=C;else F?"&"===F&&(0,n.Kn)(C)?b=i()({},b,C):b[F]=C:(0,n.Kn)(C)?b=i()({},b,C):b[g]=C}}return b}}var f=e=>r=>d({theme:r,pseudos:s.v,configs:l.Ul})(e)},9421:function(e,r,t){"use strict";t.d(r,{iv:function(){return n.i},isStyleProp:function(){return i.ZR},layoutPropNames:function(){return i.oE},propNames:function(){return i.cC},toCSSVar:function(){return s.c0}});t(13205);var n=t(33565),a=t(41664);t.o(a,"isStyleProp")&&t.d(r,{isStyleProp:function(){return a.isStyleProp}}),t.o(a,"layoutPropNames")&&t.d(r,{layoutPropNames:function(){return a.layoutPropNames}}),t.o(a,"propNames")&&t.d(r,{propNames:function(){return a.propNames}}),t.o(a,"toCSSVar")&&t.d(r,{toCSSVar:function(){return a.toCSSVar}}),t.o(a,"useTheme")&&t.d(r,{useTheme:function(){return a.useTheme}});var o=t(87759);t.o(o,"isStyleProp")&&t.d(r,{isStyleProp:function(){return o.isStyleProp}}),t.o(o,"layoutPropNames")&&t.d(r,{layoutPropNames:function(){return o.layoutPropNames}}),t.o(o,"propNames")&&t.d(r,{propNames:function(){return o.propNames}}),t.o(o,"toCSSVar")&&t.d(r,{toCSSVar:function(){return o.toCSSVar}}),t.o(o,"useTheme")&&t.d(r,{useTheme:function(){return o.useTheme}});var i=t(25503),s=t(55608)},28680:function(e,r,t){"use strict";t.d(r,{v:function(){return d},_:function(){return f}});var n=t(4651),a=e=>e+":focus &, "+e+"[data-focus] &",o=e=>e+":active &, "+e+"[data-active] &",i=e=>e+":disabled &, "+e+"[data-disabled] &",s=e=>e+":invalid &, "+e+"[data-invalid] &",l=e=>e+":checked &, "+e+"[data-checked] &",c=e=>u(e,"[role=group]","[data-group]",".group"),u=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(", ")},d={_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:c((e=>e+":hover &, "+e+"[data-hover] &")),_groupFocus:c(a),_groupActive:c(o),_groupDisabled:c(i),_groupInvalid:c(s),_groupChecked:c(l),_placeholder:"&::placeholder",_fullScreen:"&:fullscreen",_selection:"&::selection",_rtl:"[dir=rtl] &",_mediaDark:"@media (prefers-color-scheme: dark)",_dark:".chakra-ui-dark &, [data-theme=dark] &, &[data-theme=dark]",_light:".chakra-ui-light &, [data-theme=light] &, &[data-theme=light]"},f=(0,n.Yd)(d)},25503:function(e,r,t){"use strict";t.d(r,{Ul:function(){return c},oE:function(){return d},cC:function(){return f},ZR:function(){return g}});var n=t(38554),a=t.n(n),o=t(4651),i=t(13205),s=t(28680);function l(){return(l=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 c=a()({},i.Oq,i.Cg,i.$_,i.GQ,i.bK,i.hX,i.v_,i.Mw,i.eC,i.o_,i.FK,i.cE,i.Dh,i.cp,i.QX,i.vs,i.pb,i.eR),u=Object.assign({},i.Dh,i.bK,i.GQ,i.eC,i.FK),d=(0,o.Yd)(u),f=[...(0,o.Yd)(c),...s._],b=l({},c,s.v),g=e=>e in b},41664:function(){},87759:function(){},29676:function(e,r,t){"use strict";t.d(r,{f6:function(){return d},Fg:function(){return f},Fo:function(){return b},yK:function(){return g},ZL:function(){return p}});var n=t(24738),a=t(9421),o=t(4651),i=t(80658),s=t(28500),l=t(30495),c=t(70917),u=t(67294),d=e=>{var{cssVarsRoot:r=":host, :root",theme:t,children:n}=e,o=u.useMemo((()=>(0,a.toCSSVar)(t)),[t]);return u.createElement(l.a,{theme:o},u.createElement(c.Global,{styles:e=>({[r]:e.__cssVars})}),n)};function f(){var e=u.useContext(l.T);if(!e)throw Error("useTheme: `theme` is undefined. Seems you forgot to wrap your app in `<ChakraProvider />` or `<ThemeProvider />`");return e}var[b,g]=(0,s.k)({name:"StylesContext",errorMessage:"useStyles: `styles` is undefined. Seems you forgot to wrap the components in `<StylesProvider />` "}),p=()=>{var{colorMode:e}=(0,n.If)();return u.createElement(c.Global,{styles:r=>{var t=(0,o.Wf)(r,"styles.global"),n=(0,i.Pu)(t,{theme:r,colorMode:e});if(n)return(0,a.iv)(n)(r)}})}},63108:function(e,r,t){"use strict";function n(e,r){return t=>"dark"===t.colorMode?r:e}function a(e){var{orientation:r,vertical:t,horizontal:n}=e;return r?"vertical"===r?t:n:{}}t.d(r,{xJ:function(){return n},fL:function(){return a}})},83035:function(e,r,t){"use strict";t.d(r,{Z:function(){return Dr}});var n={parts:["container","button","panel","icon"],baseStyle:{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"}}},a=t(17621),o=t.n(a),i=t(4651),s=t(73808),l=(e,r,t)=>{var n=(0,i.Wf)(e,"colors."+r,r);return o()(n).isValid()?n:t},c=e=>r=>{var t=l(r,e);return o()(t).isDark()?"dark":"light"},u=(e,r)=>t=>{var n=l(t,e);return o()(n).setAlpha(r).toRgbString()};function d(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 f(e){var r=o().random().toHexString();return!e||(0,s.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}var b=t(63108);function g(e){var{theme:r,colorScheme:t}=e,n=l(r,t+".100",t),a=u(t+".200",.16)(r);return(0,b.xJ)(n,a)(e)}var p={parts:["container","title","description","icon"],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:{subtle:function(e){var{colorScheme:r}=e;return{container:{bg:g(e)},icon:{color:(0,b.xJ)(r+".500",r+".200")(e)}}},"left-accent":function(e){var{colorScheme:r}=e;return{container:{paddingStart:3,borderStartWidth:"4px",borderStartColor:(0,b.xJ)(r+".500",r+".200")(e),bg:g(e)},icon:{color:(0,b.xJ)(r+".500",r+".200")(e)}}},"top-accent":function(e){var{colorScheme:r}=e;return{container:{pt:2,borderTopWidth:"4px",borderTopColor:(0,b.xJ)(r+".500",r+".200")(e),bg:g(e)},icon:{color:(0,b.xJ)(r+".500",r+".200")(e)}}},solid:function(e){var{colorScheme:r}=e;return{container:{bg:(0,b.xJ)(r+".500",r+".200")(e),color:(0,b.xJ)("white","gray.900")(e)}}}},defaultProps:{variant:"subtle",colorScheme:"blue"}},h=t(54681);function m(e){return{transform:"translate(25%, 25%)",borderRadius:"full",border:"0.2em solid",borderColor:(0,b.xJ)("white","gray.800")(e)}}function y(e){return{bg:(0,b.xJ)("gray.200","whiteAlpha.400")(e)}}function v(e){var{name:r,theme:t}=e,n=r?f({string:r}):"gray.400",a=(e=>r=>"dark"===c(e)(r))(n)(t),o="white";return a||(o="gray.800"),{bg:n,color:o,borderColor:(0,b.xJ)("white","gray.800")(e),verticalAlign:"top"}}function x(e){var r=h.Z[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 k={parts:["container","excessLabel","badge","label"],baseStyle:e=>({badge:m(e),excessLabel:y(e),container:v(e)}),sizes:{"2xs":x("4"),xs:x("6"),sm:x("8"),md:x("12"),lg:x("16"),xl:x("24"),"2xl":x("32"),full:x("100%")},defaultProps:{size:"md"}};var w={baseStyle:{px:1,textTransform:"uppercase",fontSize:"xs",borderRadius:"sm",fontWeight:"bold"},variants:{solid:function(e){var{colorScheme:r,theme:t}=e,n=u(r+".500",.6)(t);return{bg:(0,b.xJ)(r+".500",n)(e),color:(0,b.xJ)("white","whiteAlpha.800")(e)}},subtle:function(e){var{colorScheme:r,theme:t}=e,n=u(r+".200",.16)(t);return{bg:(0,b.xJ)(r+".100",n)(e),color:(0,b.xJ)(r+".800",r+".200")(e)}},outline:function(e){var{colorScheme:r,theme:t}=e,n=u(r+".200",.8)(t),a=l(t,r+".500"),o=(0,b.xJ)(a,n)(e);return{color:o,boxShadow:"inset 0 0 0px 1px "+o}}},defaultProps:{variant:"subtle",colorScheme:"gray"}},S={parts:["container","item","link","separator"],baseStyle:{link:{transitionProperty:"common",transitionDuration:"fast",transitionTimingFunction:"ease-out",cursor:"pointer",textDecoration:"none",outline:"none",color:"inherit",_hover:{textDecoration:"underline"},_focus:{boxShadow:"outline"}}}};function C(){return(C=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 F(e){var{colorScheme:r,theme:t}=e;if("gray"===r)return{color:(0,b.xJ)("inherit","whiteAlpha.900")(e),_hover:{bg:(0,b.xJ)("gray.100","whiteAlpha.200")(e)},_active:{bg:(0,b.xJ)("gray.200","whiteAlpha.300")(e)}};var n=u(r+".200",.12)(t),a=u(r+".200",.24)(t);return{color:(0,b.xJ)(r+".600",r+".200")(e),bg:"transparent",_hover:{bg:(0,b.xJ)(r+".50",n)(e)},_active:{bg:(0,b.xJ)(r+".100",a)(e)}}}var A={yellow:{bg:"yellow.400",color:"black",hoverBg:"yellow.500",activeBg:"yellow.600"},cyan:{bg:"cyan.400",color:"black",hoverBg:"cyan.500",activeBg:"cyan.600"}};var E={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:F,outline:function(e){var{colorScheme:r}=e,t=(0,b.xJ)("gray.200","whiteAlpha.300")(e);return C({border:"1px solid",borderColor:"gray"===r?t:"currentColor"},F(e))},solid:function(e){var{colorScheme:r}=e;if("gray"===r){var t=(0,b.xJ)("gray.100","whiteAlpha.200")(e);return{bg:t,_hover:{bg:(0,b.xJ)("gray.200","whiteAlpha.300")(e),_disabled:{bg:t}},_active:{bg:(0,b.xJ)("gray.300","whiteAlpha.400")(e)}}}var{bg:n=r+".500",color:a="white",hoverBg:o=r+".600",activeBg:i=r+".700"}=A[r]||{},s=(0,b.xJ)(n,r+".200")(e);return{bg:s,color:(0,b.xJ)(a,"gray.800")(e),_hover:{bg:(0,b.xJ)(o,r+".300")(e),_disabled:{bg:s}},_active:{bg:(0,b.xJ)(i,r+".400")(e)}}},link:function(e){var{colorScheme:r}=e;return{padding:0,height:"auto",lineHeight:"normal",verticalAlign:"baseline",color:(0,b.xJ)(r+".500",r+".200")(e),_hover:{textDecoration:"underline",_disabled:{textDecoration:"none"}},_active:{color:(0,b.xJ)(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"}};function _(e){var{colorScheme:r}=e;return{w:"100%",transitionProperty:"box-shadow",transitionDuration:"normal",border:"2px solid",borderRadius:"sm",borderColor:"inherit",color:"white",_checked:{bg:(0,b.xJ)(r+".500",r+".200")(e),borderColor:(0,b.xJ)(r+".500",r+".200")(e),color:(0,b.xJ)("white","gray.900")(e),_hover:{bg:(0,b.xJ)(r+".600",r+".300")(e),borderColor:(0,b.xJ)(r+".600",r+".300")(e)},_disabled:{borderColor:(0,b.xJ)("gray.200","transparent")(e),bg:(0,b.xJ)("gray.200","whiteAlpha.300")(e),color:(0,b.xJ)("gray.500","whiteAlpha.500")(e)}},_indeterminate:{bg:(0,b.xJ)(r+".500",r+".200")(e),borderColor:(0,b.xJ)(r+".500",r+".200")(e),color:(0,b.xJ)("white","gray.900")(e)},_disabled:{bg:(0,b.xJ)("gray.100","whiteAlpha.100")(e),borderColor:(0,b.xJ)("gray.100","transparent")(e)},_focus:{boxShadow:"outline"},_invalid:{borderColor:(0,b.xJ)("red.500","red.300")(e)}}}var B={userSelect:"none",_disabled:{opacity:.4}},D={transitionProperty:"transform",transitionDuration:"normal"},z={parts:["container","control","label","icon"],baseStyle:e=>({icon:D,control:_(e),label:B}),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"}};var R={baseStyle:function(e){return{borderRadius:"md",transitionProperty:"common",transitionDuration:"normal",_disabled:{opacity:.4,cursor:"not-allowed",boxShadow:"none"},_hover:{bg:(0,b.xJ)("blackAlpha.100","whiteAlpha.100")(e)},_active:{bg:(0,b.xJ)("blackAlpha.200","whiteAlpha.200")(e)},_focus:{boxShadow:"outline"}}},sizes:{lg:{w:"40px",h:"40px",fontSize:"16px"},md:{w:"32px",h:"32px",fontSize:"12px"},sm:{w:"24px",h:"24px",fontSize:"10px"}},defaultProps:{size:"md"}},{variants:j,defaultProps:O}=w,T={baseStyle:{fontFamily:"mono",fontSize:"sm",px:"0.2em",borderRadius:"sm"},variants:j,defaultProps:O},P={baseStyle:{w:"100%",mx:"auto",maxW:"60ch",px:"1rem"}},I={baseStyle:{opacity:.6,borderColor:"inherit"},variants:{solid:{borderStyle:"solid"},dashed:{borderStyle:"dashed"}},defaultProps:{variant:"solid"}},M={bg:"blackAlpha.600",zIndex:"modal"};function W(e){var{isCentered:r,scrollBehavior:t}=e;return{display:"flex",zIndex:"modal",justifyContent:"center",alignItems:r?"center":"flex-start",overflow:"inside"===t?"hidden":"auto"}}function J(e){var{scrollBehavior:r}=e;return{borderRadius:"md",bg:(0,b.xJ)("white","gray.700")(e),color:"inherit",my:"3.75rem",zIndex:"modal",maxH:"inside"===r?"calc(100% - 7.5rem)":void 0,boxShadow:(0,b.xJ)("lg","dark-lg")(e)}}var N={px:6,py:4,fontSize:"xl",fontWeight:"semibold"},H={position:"absolute",top:2,insetEnd:3};function L(e){var{scrollBehavior:r}=e;return{px:6,py:2,flex:1,overflow:"inside"===r?"auto":void 0}}var $={px:6,py:4};function Z(e){return"full"===e?{dialog:{maxW:"100vw",minH:"100vh"}}:{dialog:{maxW:e}}}var V={parts:["overlay","dialogContainer","dialog","header","closeButton","body","footer"],baseStyle:e=>({overlay:M,dialogContainer:W(e),dialog:J(e),header:N,closeButton:H,body:L(e),footer:$}),sizes:{xs:Z("xs"),sm:Z("sm"),md:Z("md"),lg:Z("lg"),xl:Z("xl"),"2xl":Z("2xl"),"3xl":Z("3xl"),"4xl":Z("4xl"),"5xl":Z("5xl"),"6xl":Z("6xl"),full:Z("full")},defaultProps:{size:"md"}};function q(){return(q=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 G(e){return"full"===e?{dialog:{maxW:"100vw",h:"100vh"}}:{dialog:{maxW:e}}}var Y={bg:"blackAlpha.600",zIndex:"overlay"},X={display:"flex",zIndex:"modal",justifyContent:"center"};function U(e){var{isFullHeight:r}=e;return q({},r&&{height:"100vh"},{zIndex:"modal",maxH:"100vh",bg:(0,b.xJ)("white","gray.700")(e),color:"inherit",boxShadow:(0,b.xJ)("lg","dark-lg")(e)})}var K={px:6,py:4,fontSize:"xl",fontWeight:"semibold"},Q={position:"absolute",top:2,insetEnd:3},ee={px:6,py:2,flex:1,overflow:"auto"},re={px:6,py:4},te={parts:V.parts,baseStyle:e=>({overlay:Y,dialogContainer:X,dialog:U(e),header:K,closeButton:Q,body:ee,footer:re}),sizes:{xs:G("xs"),sm:G("md"),md:G("lg"),lg:G("2xl"),xl:G("4xl"),full:G("full")},defaultProps:{size:"xs"}},ne={parts:["preview","input"],baseStyle:{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}}}};function ae(e){return{marginStart:1,color:(0,b.xJ)("red.500","red.300")(e)}}function oe(e){return{mt:2,color:(0,b.xJ)("gray.500","whiteAlpha.600")(e),lineHeight:"normal",fontSize:"sm"}}var ie={parts:["requiredIndicator","helperText"],baseStyle:e=>({requiredIndicator:ae(e),helperText:oe(e)})},se={baseStyle:{fontSize:"md",marginEnd:3,mb:2,fontWeight:"medium",transitionProperty:"common",transitionDuration:"normal",opacity:1,_disabled:{opacity:.4}}},le={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"}},ce={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"}};function ue(e){var{focusBorderColor:r,errorBorderColor:t}=e;return{focusBorderColor:r||(0,b.xJ)("blue.500","blue.300")(e),errorBorderColor:t||(0,b.xJ)("red.500","red.300")(e)}}var de={parts:["field","addon"],baseStyle:{field:{width:"100%",minWidth:0,outline:0,position:"relative",appearance:"none",transitionProperty:"common",transitionDuration:"normal"}},sizes:{lg:{field:ce.lg,addon:ce.lg},md:{field:ce.md,addon:ce.md},sm:{field:ce.sm,addon:ce.sm},xs:{field:ce.xs,addon:ce.xs}},variants:{outline:function(e){var{theme:r}=e,{focusBorderColor:t,errorBorderColor:n}=ue(e);return{field:{border:"1px solid",borderColor:"inherit",bg:"inherit",_hover:{borderColor:(0,b.xJ)("gray.300","whiteAlpha.400")(e)},_readOnly:{boxShadow:"none !important",userSelect:"all"},_disabled:{opacity:.4,cursor:"not-allowed"},_invalid:{borderColor:l(r,n),boxShadow:"0 0 0 1px "+l(r,n)},_focus:{zIndex:1,borderColor:l(r,t),boxShadow:"0 0 0 1px "+l(r,t)}},addon:{border:"1px solid",borderColor:(0,b.xJ)("inherit","whiteAlpha.50")(e),bg:(0,b.xJ)("gray.100","whiteAlpha.300")(e)}}},filled:function(e){var{theme:r}=e,{focusBorderColor:t,errorBorderColor:n}=ue(e);return{field:{border:"2px solid",borderColor:"transparent",bg:(0,b.xJ)("gray.100","whiteAlpha.50")(e),_hover:{bg:(0,b.xJ)("gray.200","whiteAlpha.100")(e)},_readOnly:{boxShadow:"none !important",userSelect:"all"},_disabled:{opacity:.4,cursor:"not-allowed"},_invalid:{borderColor:l(r,n)},_focus:{bg:"transparent",borderColor:l(r,t)}},addon:{border:"2px solid",borderColor:"transparent",bg:(0,b.xJ)("gray.100","whiteAlpha.50")(e)}}},flushed:function(e){var{theme:r}=e,{focusBorderColor:t,errorBorderColor:n}=ue(e);return{field:{borderBottom:"1px solid",borderColor:"inherit",borderRadius:0,px:0,bg:"transparent",_readOnly:{boxShadow:"none !important",userSelect:"all"},_invalid:{borderColor:l(r,n),boxShadow:"0px 1px 0px 0px "+l(r,n)},_focus:{borderColor:l(r,t),boxShadow:"0px 1px 0px 0px "+l(r,t)}},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"}}},defaultProps:{size:"md",variant:"outline"}};var fe={baseStyle:function(e){return{bg:(0,b.xJ)("gray.100","whiteAlpha")(e),borderRadius:"md",borderWidth:"1px",borderBottomWidth:"3px",fontSize:"0.8em",fontWeight:"bold",lineHeight:"normal",px:"0.4em",whiteSpace:"nowrap"}}},be={baseStyle:{transitionProperty:"common",transitionDuration:"fast",transitionTimingFunction:"ease-out",cursor:"pointer",textDecoration:"none",outline:"none",color:"inherit",_hover:{textDecoration:"underline"},_focus:{boxShadow:"outline"}}},ge={parts:["container","item","icon"],baseStyle:{container:{},item:{},icon:{marginEnd:"0.5rem",display:"inline",verticalAlign:"text-bottom"}}};function pe(e){return{bg:(0,b.xJ)("#fff","gray.700")(e),boxShadow:(0,b.xJ)("sm","dark-lg")(e),color:"inherit",minW:"3xs",py:"2",zIndex:1,borderRadius:"md",borderWidth:"1px"}}function he(e){return{py:"0.4rem",px:"0.8rem",transitionProperty:"background",transitionDuration:"ultra-fast",transitionTimingFunction:"ease-in",_focus:{bg:(0,b.xJ)("gray.100","whiteAlpha.100")(e)},_active:{bg:(0,b.xJ)("gray.200","whiteAlpha.200")(e)},_expanded:{bg:(0,b.xJ)("gray.100","whiteAlpha.100")(e)},_disabled:{opacity:.4,cursor:"not-allowed"}}}var me,ye={mx:4,my:2,fontWeight:"semibold",fontSize:"sm"},ve={opacity:.6},xe={border:0,borderBottom:"1px solid",borderColor:"inherit",my:"0.5rem",opacity:.6},ke={transitionProperty:"common",transitionDuration:"normal"},we={parts:["item","command","list","button","groupTitle","divider"],baseStyle:e=>({button:ke,list:pe(e),item:he(e),groupTitle:ye,command:ve,divider:xe})},Se=t(35268);function Ce(){return(Ce=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{variants:Fe,defaultProps:Ae}=de,Ee={"--number-input-stepper-width":"24px","--number-input-field-padding":"calc(var(--number-input-stepper-width) + 0.5rem)"},_e=null==(me=de.baseStyle)?void 0:me.field,Be={width:"var(--number-input-stepper-width)"};function De(e){return{borderStart:"1px solid",borderStartColor:(0,b.xJ)("inherit","whiteAlpha.300")(e),color:(0,b.xJ)("inherit","whiteAlpha.800")(e),_active:{bg:(0,b.xJ)("gray.200","whiteAlpha.300")(e)},_disabled:{opacity:.4,cursor:"not-allowed"}}}function ze(e){var r=de.sizes[e],t={lg:"md",md:"md",sm:"sm",xs:"sm"},n=Se.Z.fontSizes[r.field.fontSize];return{field:Ce({},r.field,{paddingInlineEnd:"var(--number-input-field-padding)",verticalAlign:"top"}),stepper:{fontSize:"calc("+n+" * 0.75)",_first:{borderTopEndRadius:t[e]},_last:{borderBottomEndRadius:t[e],mt:"-1px",borderTopWidth:1}}}}var Re={parts:["root","field","stepper","stepperGroup"],baseStyle:e=>({root:Ee,field:_e,stepperGroup:Be,stepper:De(e)}),sizes:{xs:ze("xs"),sm:ze("sm"),md:ze("md"),lg:ze("lg")},variants:Fe,defaultProps:Ae};function je(){return(je=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 Oe={baseStyle:je({},de.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:e=>de.variants.outline(e).field,flushed:e=>de.variants.flushed(e).field,filled:e=>de.variants.filled(e).field,unstyled:de.variants.unstyled.field},defaultProps:de.defaultProps},Te={zIndex:10};function Pe(e){return{"--popover-bg":"colors."+(0,b.xJ)("white","gray.700")(e),bg:"var(--popover-bg)","--popper-arrow-bg":"var(--popover-bg)","--popper-arrow-shadow-color":"colors."+(0,b.xJ)("gray.200","whiteAlpha.300")(e),width:"xs",border:"1px solid",borderColor:"inherit",borderRadius:"md",boxShadow:"sm",zIndex:"inherit",_focus:{outline:0,boxShadow:"outline"}}}var Ie={px:3,py:2,borderBottomWidth:"1px"},Me={px:3,py:2},We={px:3,py:2,borderTopWidth:"1px"},Je={parts:["popper","content","header","body","footer","arrow"],baseStyle:e=>({popper:Te,content:Pe(e),header:Ie,body:Me,footer:We,arrow:{}})};function Ne(){return(Ne=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 He={lineHeight:"1",fontSize:"0.25em",fontWeight:"bold",color:"white"};function Le(e){return{bg:(0,b.xJ)("gray.100","whiteAlpha.300")(e)}}function $e(e){return Ne({transitionProperty:"common",transitionDuration:"slow"},function(e){var{colorScheme:r,theme:t,isIndeterminate:n,hasStripe:a}=e,o=(0,b.xJ)(d(),d("1rem","rgba(0,0,0,0.1)"))(e),i=(0,b.xJ)(r+".500",r+".200")(e),s="linear-gradient(\n    to right,\n    transparent 0%,\n    "+l(t,i)+" 50%,\n    transparent 100%\n  )";return Ne({},!n&&a&&o,n?{bgImage:s}:{bgColor:i})}(e))}var Ze={parts:["track","filledTrack","label"],sizes:{xs:{track:{h:"0.25rem"}},sm:{track:{h:"0.5rem"}},md:{track:{h:"0.75rem"}},lg:{track:{h:"1rem"}}},baseStyle:e=>({label:He,filledTrack:$e(e),track:Le(e)}),defaultProps:{size:"md",colorScheme:"blue"}};function Ve(){return(Ve=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 qe(e){var{control:r}=z.baseStyle(e);return Ve({},r,{borderRadius:"full",_checked:Ve({},r._checked,{_before:{content:'""',display:"inline-block",pos:"relative",w:"50%",h:"50%",borderRadius:"50%",bg:"currentColor"}})})}var Ge={parts:["container","control","label"],baseStyle:e=>({label:z.baseStyle(e).label,control:qe(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"}},Ye=t(38554);function Xe(){return(Xe=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 Ue(e){return Xe({},de.baseStyle.field,{appearance:"none",paddingBottom:"1px",lineHeight:"normal","> option, > optgroup":{bg:(0,b.xJ)("white","gray.700")(e)}})}var Ke={width:"1.5rem",height:"100%",insetEnd:"0.5rem",position:"relative",color:"currentColor",fontSize:"1.25rem",_disabled:{opacity:.5}},Qe={parts:["field","icon"],baseStyle:e=>({field:Ue(e),icon:Ke}),sizes:t.n(Ye)()({},de.sizes,{xs:{icon:{insetEnd:"0.25rem"}}}),variants:de.variants,defaultProps:de.defaultProps},er=t(70917),rr=(e,r)=>(0,er.keyframes)({from:{borderColor:e,background:e},to:{borderColor:r,background:r}}),tr={baseStyle:e=>{var r=(0,b.xJ)("gray.100","gray.800")(e),t=(0,b.xJ)("gray.400","gray.600")(e),{startColor:n=r,endColor:a=t,speed:o,theme:i}=e,s=l(i,n),c=l(i,a);return{opacity:.7,borderRadius:"2px",borderColor:s,background:c,animation:o+"s linear infinite alternate "+rr(s,c)}}},nr={baseStyle:e=>({borderRadius:"md",fontWeight:"semibold",_focus:{boxShadow:"outline",padding:"1rem",position:"fixed",top:"1.5rem",insetStart:"1.5rem",bg:(0,b.xJ)("white","gray.700")(e)}})};function ar(){return(ar=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 or=e=>{var{orientation:r}=e;return ar({_disabled:{opacity:.6,cursor:"default",pointerEvents:"none"}},(0,b.fL)({orientation:r,vertical:{h:"100%"},horizontal:{w:"100%"}}))};function ir(e){return{borderRadius:"sm",bg:(0,b.xJ)("gray.200","whiteAlpha.200")(e),_disabled:{bg:(0,b.xJ)("gray.300","whiteAlpha.300")(e)}}}function sr(e){return ar({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(0,b.fL)({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))}function lr(e){var{colorScheme:r}=e;return{bg:(0,b.xJ)(r+".500",r+".200")(e)}}var cr={parts:["container","thumb","track","filledTrack"],sizes:{lg:function(e){return{thumb:{w:"16px",h:"16px"},track:(0,b.fL)({orientation:e.orientation,horizontal:{h:"4px"},vertical:{w:"4px"}})}},md:function(e){return{thumb:{w:"14px",h:"14px"},track:(0,b.fL)({orientation:e.orientation,horizontal:{h:"4px"},vertical:{w:"4px"}})}},sm:function(e){return{thumb:{w:"10px",h:"10px"},track:(0,b.fL)({orientation:e.orientation,horizontal:{h:"2px"},vertical:{w:"2px"}})}}},baseStyle:e=>({container:or(e),track:ir(e),thumb:sr(e),filledTrack:lr(e)}),defaultProps:{size:"md",colorScheme:"blue"}},ur={baseStyle:{width:"var(--spinner-size)",height:"var(--spinner-size)"},sizes:{xs:{"--spinner-size":"0.75rem"},sm:{"--spinner-size":"1rem"},md:{"--spinner-size":"1.5rem"},lg:{"--spinner-size":"2rem"},xl:{"--spinner-size":"3rem"}},defaultProps:{size:"md"}},dr={parts:["label","number","icon","helpText"],baseStyle:{label:{fontWeight:"medium"},helpText:{opacity:.8,marginBottom:2},number:{verticalAlign:"baseline",fontWeight:"semibold"},icon:{marginEnd:1,w:"14px",h:"14px",verticalAlign:"middle"}},sizes:{md:{label:{fontSize:"sm"},helpText:{fontSize:"sm"},number:{fontSize:"2xl"}}},defaultProps:{size:"md"}};function fr(e){var{colorScheme:r}=e;return{borderRadius:"full",p:"2px",width:"var(--slider-track-width)",height:"var(--slider-track-height)",transitionProperty:"common",transitionDuration:"fast",bg:(0,b.xJ)("gray.300","whiteAlpha.400")(e),_focus:{boxShadow:"outline"},_disabled:{opacity:.4,cursor:"not-allowed"},_checked:{bg:(0,b.xJ)(r+".500",r+".200")(e)}}}var br={bg:"white",transitionProperty:"transform",transitionDuration:"normal",borderRadius:"inherit",width:"var(--slider-track-height)",height:"var(--slider-track-height)",_checked:{transform:"translateX(var(--slider-thumb-x))"}},gr={parts:["container","track","thumb"],baseStyle:e=>({container:{"--slider-track-diff":"calc(var(--slider-track-width) - var(--slider-track-height))","--slider-thumb-x":"var(--slider-track-diff)",_rtl:{"--slider-thumb-x":"calc(-1 * var(--slider-track-diff))"}},track:fr(e),thumb:br}),sizes:{sm:{container:{"--slider-track-width":"1.375rem","--slider-track-height":"0.75rem"}},md:{container:{"--slider-track-width":"1.875rem","--slider-track-height":"1rem"}},lg:{container:{"--slider-track-width":"2.875rem","--slider-track-height":"1.5rem"}}},defaultProps:{size:"md",colorScheme:"blue"}};function pr(){return(pr=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 hr={"&[data-is-numeric=true]":{textAlign:"end"}},mr={parts:["table","thead","tbody","tr","th","td","caption"],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:{simple:e=>{var{colorScheme:r}=e;return{th:pr({color:(0,b.xJ)("gray.600","gray.400")(e),borderBottom:"1px",borderColor:(0,b.xJ)(r+".100",r+".700")(e)},hr),td:pr({borderBottom:"1px",borderColor:(0,b.xJ)(r+".100",r+".700")(e)},hr),caption:{color:(0,b.xJ)("gray.600","gray.100")(e)},tfoot:{tr:{"&:last-of-type":{th:{borderBottomWidth:0}}}}}},striped:e=>{var{colorScheme:r}=e;return{th:pr({color:(0,b.xJ)("gray.600","gray.400")(e),borderBottom:"1px",borderColor:(0,b.xJ)(r+".100",r+".700")(e)},hr),td:pr({borderBottom:"1px",borderColor:(0,b.xJ)(r+".100",r+".700")(e)},hr),caption:{color:(0,b.xJ)("gray.600","gray.100")(e)},tbody:{tr:{"&:nth-of-type(odd)":{"th, td":{borderBottomWidth:"1px",borderColor:(0,b.xJ)(r+".100",r+".700")(e)},td:{background:(0,b.xJ)(r+".100",r+".700")(e)}}}},tfoot:{tr:{"&:last-of-type":{th:{borderBottomWidth:0}}}}}},unstyled:{}},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"}};function yr(e){var{orientation:r}=e;return{display:"vertical"===r?"flex":"block"}}function vr(e){var{isFitted:r}=e;return{flex:r?1:void 0,transitionProperty:"common",transitionDuration:"normal",_focus:{zIndex:1,boxShadow:"outline"}}}function xr(e){var{align:r="start",orientation:t}=e;return{justifyContent:{end:"flex-end",center:"center",start:"flex-start"}[r],flexDirection:"vertical"===t?"column":"row"}}var kr={p:4};var wr={parts:["root","tablist","tab","tabpanels","tabpanel","indicator"],baseStyle:e=>({root:yr(e),tab:vr(e),tablist:xr(e),tabpanel:kr}),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:{line:function(e){var{colorScheme:r,orientation:t}=e,n="vertical"===t?"borderStart":"borderBottom";return{tablist:{[n]:"2px solid",borderColor:"inherit"},tab:{[n]:"2px solid",borderColor:"transparent",["vertical"===t?"marginStart":"marginBottom"]:"-2px",_selected:{color:(0,b.xJ)(r+".600",r+".300")(e),borderColor:"currentColor"},_active:{bg:(0,b.xJ)("gray.200","whiteAlpha.300")(e)},_disabled:{opacity:.4,cursor:"not-allowed"}}}},enclosed:function(e){var{colorScheme:r}=e;return{tab:{borderTopRadius:"md",border:"1px solid",borderColor:"transparent",mb:"-1px",_selected:{color:(0,b.xJ)(r+".600",r+".300")(e),borderColor:"inherit",borderBottomColor:(0,b.xJ)("white","gray.800")(e)}},tablist:{mb:"-1px",borderBottom:"1px solid",borderColor:"inherit"}}},"enclosed-colored":function(e){var{colorScheme:r}=e;return{tab:{border:"1px solid",borderColor:"inherit",bg:(0,b.xJ)("gray.50","whiteAlpha.50")(e),mb:"-1px",_notLast:{marginEnd:"-1px"},_selected:{bg:(0,b.xJ)("#fff","gray.800")(e),color:(0,b.xJ)(r+".600",r+".300")(e),borderColor:"inherit",borderTopColor:"currentColor",borderBottomColor:"transparent"}},tablist:{mb:"-1px",borderBottom:"1px solid",borderColor:"inherit"}}},"soft-rounded":function(e){var{colorScheme:r,theme:t}=e;return{tab:{borderRadius:"full",fontWeight:"semibold",color:"gray.600",_selected:{color:l(t,r+".700"),bg:l(t,r+".100")}}}},"solid-rounded":function(e){var{colorScheme:r}=e;return{tab:{borderRadius:"full",fontWeight:"semibold",color:(0,b.xJ)("gray.600","inherit")(e),_selected:{color:(0,b.xJ)("#fff","gray.800")(e),bg:(0,b.xJ)(r+".600",r+".300")(e)}}}},unstyled:{}},defaultProps:{size:"md",variant:"line",colorScheme:"blue"}},Sr={parts:["container","label","closeButton"],variants:{subtle:e=>({container:w.variants.subtle(e)}),solid:e=>({container:w.variants.solid(e)}),outline:e=>({container:w.variants.outline(e)})},baseStyle:{container:{fontWeight:"medium",lineHeight:1.2,outline:0,_focus:{boxShadow:"outline"}},label:{lineHeight:1.2},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}}},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"}};function Cr(){return(Cr=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 Fr=Cr({},de.baseStyle.field,{paddingY:"8px",minHeight:"80px",lineHeight:"short",verticalAlign:"top"}),Ar={outline:e=>de.variants.outline(e).field,flushed:e=>de.variants.flushed(e).field,filled:e=>de.variants.filled(e).field,unstyled:de.variants.unstyled.field},Er={xs:de.sizes.xs.field,sm:de.sizes.sm.field,md:de.sizes.md.field,lg:de.sizes.lg.field};function _r(e){return{color:(0,b.xJ)("red.500","red.300")(e),mt:2,fontSize:"sm"}}function Br(e){return{marginEnd:"0.5em",color:(0,b.xJ)("red.500","red.300")(e)}}var Dr={Accordion:n,Alert:p,Avatar:k,Badge:w,Breadcrumb:S,Button:E,Checkbox:z,CloseButton:R,Code:T,Container:P,Divider:I,Drawer:te,Editable:ne,Form:ie,FormLabel:se,Heading:le,Input:de,Kbd:fe,Link:be,List:ge,Menu:we,Modal:V,NumberInput:Re,PinInput:Oe,Popover:Je,Progress:Ze,Radio:Ge,Select:Qe,Skeleton:tr,SkipLink:nr,Slider:cr,Spinner:ur,Stat:dr,Switch:gr,Table:mr,Tabs:wr,Tag:Sr,Textarea:{baseStyle:Fr,sizes:Er,variants:Ar,defaultProps:{size:"md",variant:"outline"}},Tooltip:{baseStyle:function(e){return{"--tooltip-bg":"colors."+(0,b.xJ)("gray.700","gray.300")(e),px:"8px",py:"2px",bg:"var(--tooltip-bg)","--popper-arrow-bg":"var(--tooltip-bg)",color:(0,b.xJ)("whiteAlpha.900","gray.900")(e),borderRadius:"sm",fontWeight:"medium",fontSize:"sm",boxShadow:"md",maxW:"320px",zIndex:"tooltip"}}},FormError:{parts:["text","icon"],baseStyle:e=>({text:_r(e),icon:Br(e)})}}},42009:function(e,r,t){"use strict";t.d(r,{Z:function(){return p}});var n={none:0,"1px":"1px solid","2px":"2px solid","4px":"4px solid","8px":"8px solid"},a=t(80658);function o(){return(o=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 i,s=(i={sm:"30em",md:"48em",lg:"62em",xl:"80em","2xl":"96em"},(0,a.ZK)({condition:!0,message:["[chakra-ui]: createBreakpoints(...) will be deprecated pretty soon","simply pass the breakpoints as an object. Remove the createBreakpoint(..) call"].join("")}),o({base:"0em"},i)),l={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"}},c={none:"0",sm:"0.125rem",base:"0.25rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"},u={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"},d=t(54681),f=t(54514),b={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"}};function g(){return(g=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=g({breakpoints:s,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:c,blur:{none:0,sm:"4px",base:"8px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},colors:l},t(35268).Z,{sizes:d.Z,shadows:u,space:f.W,borders:n,transition:b})},54681: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)}var a=n({},t(54514).W,{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"}});r.Z=a},54514:function(e,r,t){"use strict";t.d(r,{W:function(){return n}});var n={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"}},35268:function(e,r){"use strict";r.Z={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"}}},84806:function(e,r,t){"use strict";var n=t(83035),a=t(42009),o=t(41926),i=t(93025);function s(){return(s=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.o(i,"useTheme")&&t.d(r,{useTheme:function(){return i.useTheme}});var l=s({direction:"ltr"},a.Z,{components:n.Z,styles:o.Z,config:{useSystemColorMode:!1,initialColorMode:"light",cssVarPrefix:"chakra"}});r.Z=l},41926:function(e,r,t){"use strict";var n=t(63108),a={global:e=>({body:{fontFamily:"body",color:(0,n.xJ)("gray.800","whiteAlpha.900")(e),bg:(0,n.xJ)("white","gray.800")(e),transitionProperty:"background-color",transitionDuration:"normal",lineHeight:"base"},"*::placeholder":{color:(0,n.xJ)("gray.400","whiteAlpha.400")(e)},"*, *::before, &::after":{borderColor:(0,n.xJ)("gray.200","whiteAlpha.300")(e),wordWrap:"break-word"}})};r.Z=a},93025:function(){},27277:function(e,r,t){"use strict";function n(e){var r=null==e?0:e.length;return r?e[r-1]:void 0}function a(e,r){return[...e,r]}function o(e,r){return e.filter((e=>e!==r))}function i(e,r,t,n){if(null==r)return n;if(!n)return e.find((e=>t(e).toLowerCase().startsWith(r.toLowerCase())));var a,o=e.filter((e=>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}t.d(r,{s:function(){return n},jX:function(){return a},cl:function(){return o},LP:function(){return i}})},73808:function(e,r,t){"use strict";function n(e){return"number"===typeof e}function a(e){return"number"!==typeof e||Number.isNaN(e)||!Number.isFinite(e)}function o(e){return Array.isArray(e)}function i(e){return"function"===typeof e}function s(e){return"undefined"===typeof e||void 0===e}function l(e){var r=typeof e;return null!=e&&("object"===r||"function"===r)&&!o(e)}function c(e){return l(e)&&0===Object.keys(e).length}function u(e){return"[object String]"===Object.prototype.toString.call(e)}function d(e){return/^var\(--.+\)$/.test(e)}t.d(r,{hj:function(){return n},iy:function(){return a},kJ:function(){return o},mf:function(){return i},o8:function(){return s},Kn:function(){return l},Qr:function(){return c},HD:function(){return u},FS:function(){return d},Ts:function(){return f},Ys:function(){return b},Ik:function(){return g}});var f=!1,b=!1;function g(e){return"current"in e}},88456:function(e,r,t){"use strict";t.d(r,{px:function(){return i},y:function(){return d}});var n=t(27277),a=t(73808),o=t(4651);function i(e){if(null==e)return e;var{unitless:r}=function(e){var r=parseFloat(e.toString()),t=e.toString().replace(String(r),"");return{unitless:!t,value:r,unit:t}}(e);return r||(0,a.hj)(e)?e+"px":e}var s=(e,r)=>parseInt(e[1],10)>parseInt(r[1],10)?1:-1,l=e=>(0,o.sq)(Object.entries(e).sort(s));function c(e){var r=l(e);return Object.assign(Object.values(r),r)}function u(e,r){var t=[];return e&&t.push("@media screen and (min-width: "+i(e)+")"),t.length>0&&r&&t.push("and"),r&&t.push("@media screen and (max-width: "+i(r)+")"),t.join(" ")}function d(e){var r;if(!e)return null;e.base=null!=(r=e.base)?r:"0px";var t=c(e),o=Object.entries(e).sort(s).map(((e,r,t)=>{var n,[o,s]=e,[,l]=null!=(n=t[r+1])?n:[];return{breakpoint:o,minW:s,maxW:l=parseFloat(l)>0?function(e){var r;if(!e)return e;var t=(e=null!=(r=i(e))?r:e).endsWith("px")?-1:-.0635;return(0,a.hj)(e)?""+(e+t):e.replace(/([0-9]+\.?[0-9]*)/,(e=>""+(parseFloat(e)+t)))}(l):void 0,maxWQuery:u(null,l),minWQuery:u(s),minMaxQuery:u(s,l)}})),d=function(e){var r=Object.keys(l(e));return new Set(r)}(e),f=Array.from(d.values());return{keys:d,normalized:t,isResponsive(e){var r=Object.keys(e);return r.length>0&&r.every((e=>d.has(e)))},asObject:l(e),asArray:c(e),details:o,media:[null,...t.map((e=>u(e))).slice(1)],toArrayValue(e){if(!(0,a.Kn)(e))throw new Error("toArrayValue: value must be an object");for(var r=f.map((r=>{var t;return null!=(t=e[r])?t:null}));null===(0,n.s)(r);)r.pop();return r},toObjectValue(e){if(!Array.isArray(e))throw new Error("toObjectValue: value must be an array");return e.reduce(((e,r,t)=>{var n=f[t];return null!=n&&null!=r&&(e[n]=r),e}),{})}}}},84461:function(e,r,t){"use strict";function n(e){var r;return e instanceof Element&&null!=(r=e.ownerDocument)?r:document}t.d(r,{lZ:function(){return n},jU:function(){return a},PB:function(){return o},Qm:function(){return i},cx:function(){return s},vY:function(){return l},r3:function(){return c},EV:function(){return u},uh:function(){return d},wN:function(){return f},dO:function(){return b}});var a=!("undefined"===typeof window||!window.document||!window.document.createElement),o=e=>e?"":void 0,i=e=>!!e||void 0,s=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 l(e){var r=n(e);return null==r?void 0:r.activeElement}function c(e,r){return!!e&&(e===r||e.contains(r))}function u(e,r,t,n){return e.addEventListener(r,t,n),()=>{e.removeEventListener(r,t,n)}}function d(e){var{key:r,keyCode:t}=e;return t>=37&&t<=40&&0!==r.indexOf("Arrow")?"Arrow"+r:r}function f(e){var r,t,n,a=l(null!=(r=e.target)?r:e.currentTarget),o=e.nativeEvent.explicitOriginalTarget;return null!=(t=null!=(n=e.relatedTarget)?n:o)?t:a}function b(e){return 0!==e.button}},80658:function(e,r,t){"use strict";t.d(r,{Pu:function(){return a},v0:function(){return o},ZT:function(){return s},ZK:function(){return l},A4:function(){return c},zG:function(){return u},TE:function(){return b}});var n=t(73808);function a(e){for(var r=arguments.length,t=new Array(r>1?r-1:0),a=1;a<r;a++)t[a-1]=arguments[a];return(0,n.mf)(e)?e(...t):e}function o(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return function(e){r.some((r=>(null==r||r(e),null==e?void 0:e.defaultPrevented)))}}function i(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 s=()=>{},l=i((e=>()=>{var{condition:r,message:t}=e;r&&n.Ts&&console.warn(t)})),c=(i((e=>()=>{var{condition:r,message:t}=e;r&&n.Ts&&console.error(t)})),n.Ys?e=>e():"function"===typeof queueMicrotask?queueMicrotask:e=>{Promise.resolve().then(e)}),u=function(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return e=>r.reduce(((e,r)=>r(e)),e)},d=(e,r)=>Math.abs(e-r),f=e=>"x"in e&&"y"in e;function b(e,r){if((0,n.hj)(e)&&(0,n.hj)(r))return d(e,r);if(f(e)&&f(r)){var t=d(e.x,r.x),a=d(e.y,r.y);return Math.sqrt(t**2+a**2)}return 0}},4651:function(e,r,t){"use strict";t.d(r,{CE:function(){return n},ei:function(){return a},Vl:function(){return o},Wf:function(){return i},lw:function(){return s},YU:function(){return l},Yd:function(){return c},sq:function(){return u},K1:function(){return d}});t(38554);function n(e,r){var t={};return Object.keys(e).forEach((n=>{r.includes(n)||(t[n]=e[n])})),t}function a(e,r){var t={};return r.forEach((r=>{r in e&&(t[r]=e[r])})),t}function o(e,r){var t={},n={};return Object.keys(e).forEach((a=>{r.includes(a)?t[a]=e[a]:n[a]=e[a]})),[t,n]}var i=(e=>{var r=new WeakMap;return(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 s=e(t,n,a,o);return i.set(n,s),s}})((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 s(e,r){var t={};return Object.keys(e).forEach((n=>{var a=e[n];r(a,n,e)&&(t[n]=a)})),t}var l=e=>s(e,(e=>null!==e&&void 0!==e)),c=e=>Object.keys(e),u=e=>e.reduce(((e,r)=>{var[t,n]=r;return e[t]=n,e}),{}),d=(e,r,t)=>{var n,a;return null!=(n=null==(a=e.__cssMap[r+"."+t])?void 0:a.varRef)?n:t}},17861:function(e,r,t){"use strict";t.d(r,{Z:function(){return re}});var n=t(11526),a=Math.abs,o=String.fromCharCode;function i(e){return e.trim()}function s(e,r,t){return e.replace(r,t)}function l(e,r){return e.indexOf(r)}function c(e,r){return 0|e.charCodeAt(r)}function u(e,r,t){return e.slice(r,t)}function d(e){return e.length}function f(e){return e.length}function b(e,r){return r.push(e),e}var g=1,p=1,h=0,m=0,y=0,v="";function x(e,r,t,n,a,o,i){return{value:e,root:r,parent:t,type:n,props:a,children:o,line:g,column:p,length:i,return:""}}function k(e,r,t){return x(e,r.root,r.parent,t,r.props,r.children,0)}function w(){return y=m>0?c(v,--m):0,p--,10===y&&(p=1,g--),y}function S(){return y=m<h?c(v,m++):0,p++,10===y&&(p=1,g++),y}function C(){return c(v,m)}function F(){return m}function A(e,r){return u(v,e,r)}function E(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=p=1,h=d(v=e),m=0,[]}function B(e){return v="",e}function D(e){return i(A(m-1,j(91===e?e+2:40===e?e+1:e)))}function z(e){for(;(y=C())&&y<33;)S();return E(e)>2||E(y)>3?"":" "}function R(e,r){for(;--r&&S()&&!(y<48||y>102||y>57&&y<65||y>70&&y<97););return A(e,F()+(r<6&&32==C()&&32==S()))}function j(e){for(;S();)switch(y){case e:return m;case 34:case 39:return j(34===e||39===e?e:y);case 40:41===e&&j(e);break;case 92:S()}return m}function O(e,r){for(;S()&&e+y!==57&&(e+y!==84||47!==C()););return"/*"+A(r,m-1)+"*"+o(47===e?e:S())}function T(e){for(;!E(C());)S();return A(e,m)}var P="-ms-",I="-moz-",M="-webkit-",W="comm",J="rule",N="decl";function H(e,r){for(var t="",n=f(e),a=0;a<n;a++)t+=r(e[a],a,e,r)||"";return t}function L(e,r,t,n){switch(e.type){case"@import":case N:return e.return=e.return||e.value;case W:return"";case J:e.value=e.props.join(",")}return d(t=H(e.children,n))?e.return=e.value+"{"+t+"}":""}function $(e,r){switch(function(e,r){return(((r<<2^c(e,0))<<2^c(e,1))<<2^c(e,2))<<2^c(e,3)}(e,r)){case 5103:return M+"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 M+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return M+e+I+e+P+e+e;case 6828:case 4268:return M+e+P+e+e;case 6165:return M+e+P+"flex-"+e+e;case 5187:return M+e+s(e,/(\w+).+(:[^]+)/,"-webkit-box-$1$2-ms-flex-$1$2")+e;case 5443:return M+e+P+"flex-item-"+s(e,/flex-|-self/,"")+e;case 4675:return M+e+P+"flex-line-pack"+s(e,/align-content|flex-|-self/,"")+e;case 5548:return M+e+P+s(e,"shrink","negative")+e;case 5292:return M+e+P+s(e,"basis","preferred-size")+e;case 6060:return M+"box-"+s(e,"-grow","")+M+e+P+s(e,"grow","positive")+e;case 4554:return M+s(e,/([^-])(transform)/g,"$1-webkit-$2")+e;case 6187:return s(s(s(e,/(zoom-|grab)/,M+"$1"),/(image-set)/,M+"$1"),e,"")+e;case 5495:case 3959:return s(e,/(image-set\([^]*)/,M+"$1$`$1");case 4968:return s(s(e,/(.+:)(flex-)?(.*)/,"-webkit-box-pack:$3-ms-flex-pack:$3"),/s.+-b[^;]+/,"justify")+M+e+e;case 4095:case 3583:case 4068:case 2532:return s(e,/(.+)-inline(.+)/,M+"$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(d(e)-1-r>6)switch(c(e,r+1)){case 109:if(45!==c(e,r+4))break;case 102:return s(e,/(.+:)(.+)-([^]+)/,"$1-webkit-$2-$3$1"+I+(108==c(e,r+3)?"$3":"$2-$3"))+e;case 115:return~l(e,"stretch")?$(s(e,"stretch","fill-available"),r)+e:e}break;case 4949:if(115!==c(e,r+1))break;case 6444:switch(c(e,d(e)-3-(~l(e,"!important")&&10))){case 107:return s(e,":",":"+M)+e;case 101:return s(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+M+(45===c(e,14)?"inline-":"")+"box$3$1"+M+"$2$3$1"+P+"$2box$3")+e}break;case 5936:switch(c(e,r+11)){case 114:return M+e+P+s(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return M+e+P+s(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return M+e+P+s(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return M+e+P+e+e}return e}function Z(e){return B(V("",null,null,null,[""],e=_(e),0,[0],e))}function V(e,r,t,n,a,i,l,c,u){for(var f=0,g=0,p=l,h=0,m=0,y=0,v=1,x=1,k=1,A=0,E="",_=a,B=i,j=n,P=E;x;)switch(y=A,A=S()){case 34:case 39:case 91:case 40:P+=D(A);break;case 9:case 10:case 13:case 32:P+=z(y);break;case 92:P+=R(F()-1,7);continue;case 47:switch(C()){case 42:case 47:b(G(O(S(),F()),r,t),u);break;default:P+="/"}break;case 123*v:c[f++]=d(P)*k;case 125*v:case 59:case 0:switch(A){case 0:case 125:x=0;case 59+g:m>0&&d(P)-p&&b(m>32?Y(P+";",n,t,p-1):Y(s(P," ","")+";",n,t,p-2),u);break;case 59:P+=";";default:if(b(j=q(P,r,t,f,g,a,c,E,_=[],B=[],p),i),123===A)if(0===g)V(P,r,j,j,_,i,p,c,B);else switch(h){case 100:case 109:case 115:V(e,j,j,n&&b(q(e,j,j,0,0,a,c,E,a,_=[],p),B),a,B,p,c,n?_:B);break;default:V(P,j,j,j,[""],B,p,c,B)}}f=g=m=0,v=k=1,E=P="",p=l;break;case 58:p=1+d(P),m=y;default:if(v<1)if(123==A)--v;else if(125==A&&0==v++&&125==w())continue;switch(P+=o(A),A*v){case 38:k=g>0?1:(P+="\f",-1);break;case 44:c[f++]=(d(P)-1)*k,k=1;break;case 64:45===C()&&(P+=D(S())),h=C(),g=d(E=P+=T(F())),A++;break;case 45:45===y&&2==d(P)&&(v=0)}}return i}function q(e,r,t,n,o,l,c,d,b,g,p){for(var h=o-1,m=0===o?l:[""],y=f(m),v=0,k=0,w=0;v<n;++v)for(var S=0,C=u(e,h+1,h=a(k=c[v])),F=e;S<y;++S)(F=i(k>0?m[S]+" "+C:s(C,/&\f/g,m[S])))&&(b[w++]=F);return x(e,r,t,0===o?J:d,b,g,p)}function G(e,r,t){return x(e,r,t,W,o(y),u(e,2,-2),0)}function Y(e,r,t,n){return x(e,r,t,N,u(e,0,n),u(e,n+1,-1),n)}var X=function(e,r){return B(function(e,r){var t=-1,n=44;do{switch(E(n)){case 0:38===n&&12===C()&&(r[t]=1),e[t]+=T(m-1);break;case 2:e[t]+=D(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=S());return e}(_(e),r))},U=new WeakMap,K=function(e){if("rule"===e.type&&e.parent&&e.length){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)||U.get(t))&&!n){U.set(e,!0);for(var a=[],o=X(r,a),i=t.props,s=0,l=0;s<o.length;s++)for(var c=0;c<i.length;c++,l++)e.props[l]=a[s]?o[s].replace(/&\f/g,i[c]):i[c]+" "+o[s]}}},Q=function(e){if("decl"===e.type){var r=e.value;108===r.charCodeAt(0)&&98===r.charCodeAt(2)&&(e.return="",e.value="")}},ee=[function(e,r,t,n){if(!e.return)switch(e.type){case N:e.return=$(e.value,e.length);break;case"@keyframes":return H([k(s(e.value,"@","@"+M),e,"")],n);case J: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 H([k(s(r,/:(read-\w+)/,":-moz-$1"),e,"")],n);case"::placeholder":return H([k(s(r,/:(plac\w+)/,":-webkit-input-$1"),e,""),k(s(r,/:(plac\w+)/,":-moz-$1"),e,""),k(s(r,/:(plac\w+)/,P+"input-$1"),e,"")],n)}return""}))}}],re=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||ee;var o,i,s={},l=[];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++)s[r[t]]=!0;l.push(e)}));var c,u,d=[L,(u=function(e){c.insert(e)},function(e){e.root||(e=e.return)&&u(e)})],b=function(e){var r=f(e);return function(t,n,a,o){for(var i="",s=0;s<r;s++)i+=e[s](t,n,a,o)||"";return i}}([K,Q].concat(a,d));i=function(e,r,t,n){c=t,H(Z(e?e+"{"+r.styles+"}":r.styles),b),n&&(g.inserted[r.name]=!0)};var g={key:r,sheet:new n.m({key:r,container:o,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend}),nonce:e.nonce,inserted:s,registered:{},insert:i};return g.sheet.hydrate(l),g}},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]}}},30495:function(e,r,t){"use strict";t.d(r,{C:function(){return g},E:function(){return S},T:function(){return h},a:function(){return v},b:function(){return x},c:function(){return w},h:function(){return f},u:function(){return m},w:function(){return p}});var n=t(67294),a=t(17861),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}},s=t(8679),l=t.n(s),c=function(e,r){return l()(e,r)},u=t(70444),d=t(94199),f=Object.prototype.hasOwnProperty,b=(0,n.createContext)("undefined"!==typeof HTMLElement?(0,a.Z)({key:"css"}):null),g=b.Provider,p=function(e){return(0,n.forwardRef)((function(r,t){var a=(0,n.useContext)(b);return e(r,a,t)}))},h=(0,n.createContext)({}),m=function(){return(0,n.useContext)(h)},y=i((function(e){return i((function(r){return function(e,r){return"function"===typeof r?r(e):(0,o.Z)({},e,r)}(e,r)}))})),v=function(e){var r=(0,n.useContext)(h);return e.theme!==r&&(r=y(r)(e.theme)),(0,n.createElement)(h.Provider,{value:r},e.children)};function x(e){var r=e.displayName||e.name||"Component",t=function(r,t){var a=(0,n.useContext)(h);return(0,n.createElement)(e,(0,o.Z)({theme:a,ref:t},r))},a=(0,n.forwardRef)(t);return a.displayName="WithTheme("+r+")",c(a,e)}var k="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",w=function(e,r){var t={};for(var n in r)f.call(r,n)&&(t[n]=r[n]);return t[k]=e,t},S=p((function(e,r,t){var a=e.css;"string"===typeof a&&void 0!==r.registered[a]&&(a=r.registered[a]);var o=e[k],i=[a],s="";"string"===typeof e.className?s=(0,u.f)(r.registered,i,e.className):null!=e.className&&(s=e.className+" ");var l=(0,d.O)(i,void 0,"function"===typeof a||Array.isArray(a)?(0,n.useContext)(h):void 0);(0,u.M)(r,l,"string"===typeof o);s+=r.key+"-"+l.name;var c={};for(var b in e)f.call(e,b)&&"css"!==b&&b!==k&&(c[b]=e[b]);return c.ref=t,c.className=s,(0,n.createElement)(o,c)}))},70917:function(e,r,t){"use strict";t.r(r),t.d(r,{CacheProvider:function(){return a.C},ThemeContext:function(){return a.T},ThemeProvider:function(){return a.a},useTheme:function(){return a.u},withEmotionCache:function(){return a.w},withTheme:function(){return a.b},ClassNames:function(){return g},Global:function(){return c},createElement:function(){return l},css:function(){return u},jsx:function(){return l},keyframes:function(){return d}});var n=t(67294),a=(t(17861),t(30495)),o=(t(8679),t(70444)),i=t(94199),s=t(11526),l=function(e,r){var t=arguments;if(null==r||!a.h.call(r,"css"))return n.createElement.apply(void 0,t);var o=t.length,i=new Array(o);i[0]=a.E,i[1]=(0,a.c)(e,r);for(var s=2;s<o;s++)i[s]=t[s];return n.createElement.apply(null,i)},c=(0,a.w)((function(e,r){var t=e.styles,l=(0,i.O)([t],void 0,"function"===typeof t||Array.isArray(t)?(0,n.useContext)(a.T):void 0),c=(0,n.useRef)();return(0,n.useLayoutEffect)((function(){var e=r.key+"-global",t=new s.m({key:e,nonce:r.sheet.nonce,container:r.sheet.container,speedy:r.sheet.isSpeedy}),n=!1,a=document.querySelector('style[data-emotion="'+e+" "+l.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!==l.next&&(0,o.M)(r,l.next,!0),t.tags.length){var n=t.tags[t.tags.length-1].nextElementSibling;t.before=n,t.flush()}r.insert("",l,t,!1)}}),[r,l.name]),null}));function u(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return(0,i.O)(r)}var d=function(){var e=u.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_"}}},f=function e(r){for(var t=r.length,n=0,a="";n<t;n++){var o=r[n];if(null!=o){var i=void 0;switch(typeof o){case"boolean":break;case"object":if(Array.isArray(o))i=e(o);else for(var s in i="",o)o[s]&&s&&(i&&(i+=" "),i+=s);break;default:i=o}i&&(a&&(a+=" "),a+=i)}}return a};function b(e,r,t){var n=[],a=(0,o.f)(e,n,t);return n.length<2?t:a+r(n)}var g=(0,a.w)((function(e,r){var t=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var a=(0,i.O)(t,r.registered);return(0,o.M)(r,a,!1),r.key+"-"+a.name},s={css:t,cx:function(){for(var e=arguments.length,n=new Array(e),a=0;a<e;a++)n[a]=arguments[a];return b(r.registered,t,f(n))},theme:(0,n.useContext)(a.T)},l=e.children(s);return!0,l}))},94199:function(e,r,t){"use strict";t.d(r,{O:function(){return p}});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,s=/_EMO_([^_]+?)_([^]*?)_EMO_/g,l=function(e){return 45===e.charCodeAt(1)},c=function(e){return null!=e&&"boolean"!==typeof e},u=(0,o.Z)((function(e){return l(e)?e:e.replace(i,"-$&").toLowerCase()})),d=function(e,r){switch(e){case"animation":case"animationName":if("string"===typeof r)return r.replace(s,(function(e,r,t){return b={name:r,styles:t,next:b},r}))}return 1===a[e]||l(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 s=f(e,r,i);switch(o){case"animation":case"animationName":n+=u(o)+":"+s+";";break;default:n+=o+"{"+s+"}"}}else for(var l=0;l<i.length;l++)c(i[l])&&(n+=u(o)+":"+d(o,i[l])+";")}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,g=/label:\s*([^\s;\n{]+)\s*(;|$)/g;var p=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 s=1;s<e.length;s++)o+=f(t,r,e[s]),a&&(o+=i[s]);g.lastIndex=0;for(var l,c="";null!==(l=g.exec(o));)c+="-"+l[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.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.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.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)}}},8679:function(e,r,t){"use strict";var n=t(21296),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},s={};function l(e){return n.isMemo(e)?i:s[e.$$typeof]||a}s[n.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[n.Memo]=i;var c=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,b=Object.getPrototypeOf,g=Object.prototype;e.exports=function e(r,t,n){if("string"!==typeof t){if(g){var a=b(t);a&&a!==g&&e(r,a,n)}var i=u(t);d&&(i=i.concat(d(t)));for(var s=l(r),p=l(t),h=0;h<i.length;++h){var m=i[h];if(!o[m]&&(!n||!n[m])&&(!p||!p[m])&&(!s||!s[m])){var y=f(t,m);try{c(r,m,y)}catch(v){}}}}return r}},96103: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,s=t?Symbol.for("react.profiler"):60114,l=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,g=t?Symbol.for("react.suspense_list"):60120,p=t?Symbol.for("react.memo"):60115,h=t?Symbol.for("react.lazy"):60116,m=t?Symbol.for("react.block"):60121,y=t?Symbol.for("react.fundamental"):60117,v=t?Symbol.for("react.responder"):60118,x=t?Symbol.for("react.scope"):60119;function k(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 s:case i:case b:return e;default:switch(e=e&&e.$$typeof){case c:case f:case h:case p:case l:return e;default:return r}}case a:return r}}}function w(e){return k(e)===d}r.AsyncMode=u,r.ConcurrentMode=d,r.ContextConsumer=c,r.ContextProvider=l,r.Element=n,r.ForwardRef=f,r.Fragment=o,r.Lazy=h,r.Memo=p,r.Portal=a,r.Profiler=s,r.StrictMode=i,r.Suspense=b,r.isAsyncMode=function(e){return w(e)||k(e)===u},r.isConcurrentMode=w,r.isContextConsumer=function(e){return k(e)===c},r.isContextProvider=function(e){return k(e)===l},r.isElement=function(e){return"object"===typeof e&&null!==e&&e.$$typeof===n},r.isForwardRef=function(e){return k(e)===f},r.isFragment=function(e){return k(e)===o},r.isLazy=function(e){return k(e)===h},r.isMemo=function(e){return k(e)===p},r.isPortal=function(e){return k(e)===a},r.isProfiler=function(e){return k(e)===s},r.isStrictMode=function(e){return k(e)===i},r.isSuspense=function(e){return k(e)===b},r.isValidElementType=function(e){return"string"===typeof e||"function"===typeof e||e===o||e===d||e===s||e===i||e===b||e===g||"object"===typeof e&&null!==e&&(e.$$typeof===h||e.$$typeof===p||e.$$typeof===l||e.$$typeof===c||e.$$typeof===f||e.$$typeof===y||e.$$typeof===v||e.$$typeof===x||e.$$typeof===m)},r.typeOf=k},21296:function(e,r,t){"use strict";e.exports=t(96103)},38554:function(e,r,t){e=t.nmd(e);var n="__lodash_hash_undefined__",a=9007199254740991,o="[object Arguments]",i="[object Function]",s="[object Object]",l=/^\[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[s]=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")(),g=r&&!r.nodeType&&r,p=g&&e&&!e.nodeType&&e,h=p&&p.exports===g,m=h&&d.process,y=function(){try{var e=p&&p.require&&p.require("util").types;return e||m&&m.binding&&m.binding("util")}catch(r){}}(),v=y&&y.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 k,w,S=Array.prototype,C=Function.prototype,F=Object.prototype,A=b["__core-js_shared__"],E=C.toString,_=F.hasOwnProperty,B=function(){var e=/[^.]+$/.exec(A&&A.keys&&A.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),D=F.toString,z=E.call(Object),R=RegExp("^"+E.call(_).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),j=h?b.Buffer:void 0,O=b.Symbol,T=b.Uint8Array,P=j?j.allocUnsafe:void 0,I=(k=Object.getPrototypeOf,w=Object,function(e){return k(w(e))}),M=Object.create,W=F.propertyIsEnumerable,J=S.splice,N=O?O.toStringTag:void 0,H=function(){try{var e=be(Object,"defineProperty");return e({},"",{}),e}catch(r){}}(),L=j?j.isBuffer:void 0,$=Math.max,Z=Date.now,V=be(b,"Map"),q=be(Object,"create"),G=function(){function e(){}return function(r){if(!Fe(r))return{};if(M)return M(r);e.prototype=r;var t=new e;return e.prototype=void 0,t}}();function Y(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 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 U(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=this.__data__=new X(e);this.size=r.size}function Q(e,r){var t=xe(e),n=!t&&ve(e),a=!t&&!n&&we(e),o=!t&&!n&&!a&&Ee(e),i=t||n||a||o,s=i?function(e,r){for(var t=-1,n=Array(e);++t<e;)n[t]=r(t);return n}(e.length,String):[],l=s.length;for(var c in e)!r&&!_.call(e,c)||i&&("length"==c||a&&("offset"==c||"parent"==c)||o&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||ge(c,l))||s.push(c);return s}function ee(e,r,t){(void 0!==t&&!ye(e[r],t)||void 0===t&&!(r in e))&&ne(e,r,t)}function re(e,r,t){var n=e[r];_.call(e,r)&&ye(n,t)&&(void 0!==t||r in e)||ne(e,r,t)}function te(e,r){for(var t=e.length;t--;)if(ye(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}Y.prototype.clear=function(){this.__data__=q?q(null):{},this.size=0},Y.prototype.delete=function(e){var r=this.has(e)&&delete this.__data__[e];return this.size-=r?1:0,r},Y.prototype.get=function(e){var r=this.__data__;if(q){var t=r[e];return t===n?void 0:t}return _.call(r,e)?r[e]:void 0},Y.prototype.has=function(e){var r=this.__data__;return q?void 0!==r[e]:_.call(r,e)},Y.prototype.set=function(e,r){var t=this.__data__;return this.size+=this.has(e)?0:1,t[e]=q&&void 0===r?n:r,this},X.prototype.clear=function(){this.__data__=[],this.size=0},X.prototype.delete=function(e){var r=this.__data__,t=te(r,e);return!(t<0)&&(t==r.length-1?r.pop():J.call(r,t,1),--this.size,!0)},X.prototype.get=function(e){var r=this.__data__,t=te(r,e);return t<0?void 0:r[t][1]},X.prototype.has=function(e){return te(this.__data__,e)>-1},X.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},U.prototype.clear=function(){this.size=0,this.__data__={hash:new Y,map:new(V||X),string:new Y}},U.prototype.delete=function(e){var r=fe(this,e).delete(e);return this.size-=r?1:0,r},U.prototype.get=function(e){return fe(this,e).get(e)},U.prototype.has=function(e){return fe(this,e).has(e)},U.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},K.prototype.clear=function(){this.__data__=new X,this.size=0},K.prototype.delete=function(e){var r=this.__data__,t=r.delete(e);return this.size=r.size,t},K.prototype.get=function(e){return this.__data__.get(e)},K.prototype.has=function(e){return this.__data__.has(e)},K.prototype.set=function(e,r){var t=this.__data__;if(t instanceof X){var n=t.__data__;if(!V||n.length<199)return n.push([e,r]),this.size=++t.size,this;t=this.__data__=new U(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 s=o[ae?i:++n];if(!1===r(a[s],s,a))break}return e};function ie(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":N&&N in Object(e)?function(e){var r=_.call(e,N),t=e[N];try{e[N]=void 0;var n=!0}catch(o){}var a=D.call(e);n&&(r?e[N]=t:delete e[N]);return a}(e):function(e){return D.call(e)}(e)}function se(e){return Ae(e)&&ie(e)==o}function le(e){return!(!Fe(e)||function(e){return!!B&&B in e}(e))&&(Se(e)?R:l).test(function(e){if(null!=e){try{return E.call(e)}catch(r){}try{return e+""}catch(r){}}return""}(e))}function ce(e){if(!Fe(e))return function(e){var r=[];if(null!=e)for(var t in Object(e))r.push(t);return r}(e);var r=pe(e),t=[];for(var n in e)("constructor"!=n||!r&&_.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 K),Fe(o))!function(e,r,t,n,a,o,i){var l=he(e,t),c=he(r,t),u=i.get(c);if(u)return void ee(e,t,u);var d=o?o(l,c,t+"",e,r,i):void 0,f=void 0===d;if(f){var b=xe(c),g=!b&&we(c),p=!b&&!g&&Ee(c);d=c,b||g||p?xe(l)?d=l:Ae(h=l)&&ke(h)?d=function(e,r){var t=-1,n=e.length;r||(r=Array(n));for(;++t<n;)r[t]=e[t];return r}(l):g?(f=!1,d=function(e,r){if(r)return e.slice();var t=e.length,n=P?P(t):new e.constructor(t);return e.copy(n),n}(c,!0)):p?(f=!1,d=function(e,r){var t=r?function(e){var r=new e.constructor(e.byteLength);return new T(r).set(new T(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)!=s)return!1;var r=I(e);if(null===r)return!0;var t=_.call(r,"constructor")&&r.constructor;return"function"==typeof t&&t instanceof t&&E.call(t)==z}(c)||ve(c)?(d=l,ve(l)?d=function(e){return function(e,r,t,n){var a=!t;t||(t={});var o=-1,i=r.length;for(;++o<i;){var s=r[o],l=n?n(t[s],e[s],s,t,e):void 0;void 0===l&&(l=e[s]),a?ne(t,s,l):re(t,s,l)}return t}(e,_e(e))}(l):Fe(l)&&!Se(l)||(d=function(e){return"function"!=typeof e.constructor||pe(e)?{}:G(I(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 l=n?n(he(e,i),o,i+"",e,r,a):void 0;void 0===l&&(l=o),ee(e,i,l)}}),_e)}function de(e,r){return me(function(e,r,t){return r=$(void 0===r?e.length-1:r,0),function(){for(var n=arguments,a=-1,o=$(n.length-r,0),i=Array(o);++a<o;)i[a]=n[r+a];a=-1;for(var s=Array(r+1);++a<r;)s[a]=n[a];return s[r]=t(i),x(e,this,s)}}(e,r,ze),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 le(t)?t:void 0}function ge(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 pe(e){var r=e&&e.constructor;return e===("function"==typeof r&&r.prototype||F)}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}:ze);function ye(e,r){return e===r||e!==e&&r!==r}var ve=se(function(){return arguments}())?se:function(e){return Ae(e)&&_.call(e,"callee")&&!W.call(e,"callee")},xe=Array.isArray;function ke(e){return null!=e&&Ce(e.length)&&!Se(e)}var we=L||function(){return!1};function Se(e){if(!Fe(e))return!1;var r=ie(e);return r==i||"[object GeneratorFunction]"==r||"[object AsyncFunction]"==r||"[object Proxy]"==r}function Ce(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=a}function Fe(e){var r=typeof e;return null!=e&&("object"==r||"function"==r)}function Ae(e){return null!=e&&"object"==typeof e}var Ee=v?function(e){return function(r){return e(r)}}(v):function(e){return Ae(e)&&Ce(e.length)&&!!u[ie(e)]};function _e(e){return ke(e)?Q(e,!0):ce(e)}var Be,De=(Be=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=Be.length>3&&"function"==typeof a?(n--,a):void 0,o&&function(e,r,t){if(!Fe(t))return!1;var n=typeof r;return!!("number"==n?ke(t)&&ge(r,t.length):"string"==n&&r in t)&&ye(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&&Be(e,i,t,a)}return e})));function ze(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"}}},29200:function(e,r,t){"use strict";t.r(r),t.d(r,{default:function(){return T}});var n=t(4942),a=(t(43146),t(84806)),o=t(73808),i=["borders","breakpoints","colors","components","config","direction","fonts","fontSizes","fontWeights","letterSpacings","lineHeights","radii","shadows","sizes","space","styles","transition","zIndices"];function s(e){return!!(0,o.Kn)(e)&&i.every((r=>Object.prototype.hasOwnProperty.call(e,r)))}var l=t(80658),c=t(38554),u=t.n(c);function d(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return u()({},...r,f)}function f(e,r,t,n){if(((0,o.mf)(e)||(0,o.mf)(r))&&Object.prototype.hasOwnProperty.call(n,t))return function(){var t=(0,o.mf)(e)?e(...arguments):e,n=(0,o.mf)(r)?r(...arguments):r;return u()({},t,n,f)}}var b=t(70917),g=t(67294),p=()=>g.createElement(b.Global,{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        vertical-align: middle;\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    '}),h=t(34288),m=t(29676),y=t(24738),v=t(84461),x={body:{classList:{add(){},remove(){}}},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector:()=>null,querySelectorAll:()=>[],getElementById:()=>null,createEvent:()=>({initEvent(){}}),createElement:()=>({children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName:()=>[]})},k=()=>{},w={window:{document:x,navigator:{userAgent:""},CustomEvent:function(){return this},addEventListener:k,removeEventListener:k,getComputedStyle:()=>({getPropertyValue:()=>""}),matchMedia:()=>({matches:!1,addListener:k,removeListener:k}),requestAnimationFrame:e=>"undefined"===typeof setTimeout?(e(),null):setTimeout(e,0),cancelAnimationFrame(e){"undefined"!==typeof setTimeout&&clearTimeout(e)},setTimeout:()=>0,clearTimeout:k,setInterval:()=>0,clearInterval:k},document:x},S=v.jU?{window:window,document:document}:w,C=(0,g.createContext)(S);function F(e){var{children:r,environment:t}=e,[n,a]=(0,g.useState)(null),o=(0,g.useMemo)((()=>{var e,r=null==n?void 0:n.ownerDocument,a=null==n?void 0:n.ownerDocument.defaultView;return null!=(e=null!=t?t:r?{document:r,window:a}:void 0)?e:S}),[n,t]),i=!n&&!t;return g.createElement(C.Provider,{value:o},r,i&&g.createElement("span",{ref:e=>{e&&a(e)}}))}o.Ts&&(C.displayName="EnvironmentContext"),o.Ts&&(F.displayName="EnvironmentProvider");var A=t(94577),E=e=>{var{children:r,colorModeManager:t,portalZIndex:n,resetCSS:o=!0,theme:i=a.Z,environment:s,cssVarsRoot:l}=e,c=g.createElement(F,{environment:s},r);return g.createElement(A.vc,null,g.createElement(m.f6,{theme:i,cssVarsRoot:l},g.createElement(y.SG,{colorModeManager:t,options:i.config},o&&g.createElement(p,null),g.createElement(m.ZL,null),n?g.createElement(h.h,{zIndex:n},c):c)))},_=t(52596),B=t(29356),D=t(67690),z=t(85893);function R(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 j(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?R(Object(t),!0).forEach((function(r){(0,n.Z)(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):R(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}function O(e){var r=e.children,t=(0,g.useContext)(B.N),n=t.highlightColor,i=t.emacsTheme,c=i[1],u=_.Z(c.base1,c.base2)(.2),f="purple.500"===n?"".concat(c.violet,"aa"):"pink.500"===n?"".concat(c.magenta,"aa"):"blue.500"===n?"".concat(c.blue,"aa"):"cyan.500"===n?"".concat(c.cyan,"aa"):"green.500"===n?"".concat(c.green,"aa"):"yellow.500"===n?"".concat(c.yellow,"aa"):"orange.500"===n?"".concat(c.orange,"aa"):"red.500"===n?"".concat(c.red,"aa"):void 0,b=function(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];var n=[...r],i=r[r.length-1];return s(i)&&n.length>1?n=n.slice(0,n.length-1):i=a.Z,(0,l.zG)(...n.map((e=>r=>(0,o.mf)(e)?e(r):d(r,e))))(i)}((0,g.useMemo)((function(){return{colors:{white:c.bg,black:c.fg,gray:{100:c.base1,200:u,300:c.base2,400:c.base3,500:c.base4,600:c.base5,700:c.base6,800:c.base7,900:c.base8},blue:{500:c.blue},teal:{500:c.blue},yellow:{500:c.yellow},orange:{500:c.orange},red:{500:c.red},green:{500:c.green},purple:{500:c.violet},pink:{500:c.magenta},cyan:{500:c.cyan},alt:{100:c["bg-alt"],900:c["fg-alt"]}},shadows:{outline:"0 0 0 3px "+f},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:f}}}},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"}}}}}}}),[n,JSON.stringify(i)]),function(e){var{colorScheme:r,components:t}=e;return e=>{var n=Object.keys(e.components||{});return Array.isArray(t)?n=t:(0,o.Kn)(t)&&(n=Object.keys(t)),d(e,{components:Object.fromEntries(n.map((e=>[e,{defaultProps:{colorScheme:r}}])))})}}({colorScheme:n.split(".")[0]}));return(0,z.jsx)(E,{theme:b,children:r})}var T=function(e){var r=e.Component,t=e.pageProps,n=["one-vibrant",D.n["one-vibrant"]],a=(0,g.useState)(!1),o=a[0],i=a[1],s=(0,g.useState)(n),l=s[0],c=s[1],u=(0,g.useState)("purple.500"),d=u[0],f=u[1];(0,g.useEffect)((function(){o&&localStorage.setItem("colorTheme",JSON.stringify(l))}),[l]),(0,g.useEffect)((function(){o&&localStorage.setItem("highlightColor",JSON.stringify(d))}),[d]),(0,g.useEffect)((function(){var e,r,t,a;c(null!==(e=JSON.parse(null!==(r=localStorage.getItem("colorTheme"))&&void 0!==r?r:JSON.stringify(n)))&&void 0!==e?e:n),f(null!==(t=JSON.parse(null!==(a=localStorage.getItem("highlightColor"))&&void 0!==a?a:JSON.stringify(d)))&&void 0!==t?t:d),i(!0)}),[]);var b={emacsTheme:l,setEmacsTheme:c,highlightColor:d,setHighlightColor:f};return(0,z.jsx)(B.N.Provider,{value:b,children:(0,z.jsx)(O,{children:(0,z.jsx)(r,j({},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 k},B8:function(){return F}});var i=.7,s=1/i,l="\\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\\("+[l,l,l]+"\\)$"),b=new RegExp("^rgb\\("+[u,u,u]+"\\)$"),g=new RegExp("^rgba\\("+[l,l,l,c]+"\\)$"),p=new RegExp("^rgba\\("+[u,u,u,c]+"\\)$"),h=new RegExp("^hsl\\("+[c,u,u]+"\\)$"),m=new RegExp("^hsla\\("+[c,u,u,c]+"\\)$"),y={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 v(){return this.rgb().formatHex()}function x(){return this.rgb().formatRgb()}function k(e){var r,t;return e=(e+"").trim().toLowerCase(),(r=d.exec(e))?(t=r[1].length,r=parseInt(r[1],16),6===t?w(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=g.exec(e))?S(r[1],r[2],r[3],r[4]):(r=p.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]):y.hasOwnProperty(e)?w(y[e]):"transparent"===e?new A(NaN,NaN,NaN,0):null}function w(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 C(e){return e instanceof o||(e=k(e)),e?new A((e=e.rgb()).r,e.g,e.b,e.opacity):new A}function F(e,r,t,n){return 1===arguments.length?C(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 E(){return"#"+B(this.r)+B(this.g)+B(this.b)}function _(){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 B(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 R(e,r,t,n)}function z(e){if(e instanceof R)return new R(e.h,e.s,e.l,e.opacity);if(e instanceof o||(e=k(e)),!e)return new R;if(e instanceof R)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),s=NaN,l=i-a,c=(i+a)/2;return l?(s=r===i?(t-n)/l+6*(t<n):t===i?(n-r)/l+2:(r-t)/l+4,l/=c<.5?i+a:2-i-a,s*=60):l=c>0&&c<1?0:s,new R(s,l,c,e.opacity)}function R(e,r,t,n){this.h=+e,this.s=+r,this.l=+t,this.opacity=+n}function j(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,k,{copy:function(e){return Object.assign(new this.constructor,this,e)},displayable:function(){return this.rgb().displayable()},hex:v,formatHex:v,formatHsl:function(){return z(this).formatHsl()},formatRgb:x,toString:x}),n(A,F,a(o,{brighter:function(e){return e=null==e?s:Math.pow(s,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:E,formatHex:E,formatRgb:_,toString:_})),n(R,(function(e,r,t,n){return 1===arguments.length?z(e):new R(e,r,t,null==n?1:n)}),a(o,{brighter:function(e){return e=null==e?s:Math.pow(s,e),new R(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?i:Math.pow(i,e),new R(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(j(e>=240?e-240:e+120,a,n),j(e,a,n),j(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 s(e){return 1===(e=+e)?l: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 l(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=s(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),s=l(e.opacity,r.opacity);return function(r){return e.r=a(r),e.g=o(r),e.b=i(r),e.opacity=s(r),e+""}}return a.gamma=e,a}(1);function u(e){return function(r){var t,a,o=r.length,i=new Array(o),s=new Array(o),l=new Array(o);for(t=0;t<o;++t)a=(0,n.B8)(r[t]),i[t]=a.r||0,s[t]=a.g||0,l[t]=a.b||0;return i=e(i),s=e(s),l=e(l),a.opacity=1,function(e){return a.r=i(e),a.g=s(e),a.b=l(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],s=n>0?e[n-1]:2*o-i,l=n<r-1?e[n+2]:2*i-o;return a((t-n/r)*r,s,o,i,l)}})),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],s=e[(n+1)%r],l=e[(n+2)%r];return a((t-n/r)*r,o,i,s,l)}}))},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,s,l=a.lastIndex=o.lastIndex=0,c=-1,u=[],d=[];for(e+="",r+="";(t=a.exec(e))&&(i=o.exec(r));)(s=i.index)>l&&(s=r.slice(l,s),u[c]?u[c]+=s:u[++c]=s),(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)})),l=o.lastIndex;return l<r.length&&(s=r.slice(l),u[c]?u[c]+=s:u[++c]=s),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 s=t(13311);function l(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?s.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)?l:s.Z:d))(e,r)}},76363:function(e,r,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/_app",function(){return t(29200)}])},43146:function(){},17621:function(e,r,t){var n;!function(a){var o=/^\s+/,i=/\s+$/,s=0,l=a.round,c=a.min,u=a.max,d=a.random;function f(e,r){if(r=r||{},(e=e||"")instanceof f)return e;if(!(this instanceof f))return new f(e,r);var t=function(e){var r={r:0,g:0,b:0},t=1,n=null,s=null,l=null,d=!1,f=!1;"string"==typeof e&&(e=function(e){e=e.replace(o,"").replace(i,"").toLowerCase();var r,t=!1;if(D[e])e=D[e],t=!0;else if("transparent"==e)return{r:0,g:0,b:0,a:0,format:"name"};if(r=J.rgb.exec(e))return{r:r[1],g:r[2],b:r[3]};if(r=J.rgba.exec(e))return{r:r[1],g:r[2],b:r[3],a:r[4]};if(r=J.hsl.exec(e))return{h:r[1],s:r[2],l:r[3]};if(r=J.hsla.exec(e))return{h:r[1],s:r[2],l:r[3],a:r[4]};if(r=J.hsv.exec(e))return{h:r[1],s:r[2],v:r[3]};if(r=J.hsva.exec(e))return{h:r[1],s:r[2],v:r[3],a:r[4]};if(r=J.hex8.exec(e))return{r:T(r[1]),g:T(r[2]),b:T(r[3]),a:W(r[4]),format:t?"name":"hex8"};if(r=J.hex6.exec(e))return{r:T(r[1]),g:T(r[2]),b:T(r[3]),format:t?"name":"hex"};if(r=J.hex4.exec(e))return{r:T(r[1]+""+r[1]),g:T(r[2]+""+r[2]),b:T(r[3]+""+r[3]),a:W(r[4]+""+r[4]),format:t?"name":"hex8"};if(r=J.hex3.exec(e))return{r:T(r[1]+""+r[1]),g:T(r[2]+""+r[2]),b:T(r[3]+""+r[3]),format:t?"name":"hex"};return!1}(e));"object"==typeof e&&(N(e.r)&&N(e.g)&&N(e.b)?(b=e.r,g=e.g,p=e.b,r={r:255*j(b,255),g:255*j(g,255),b:255*j(p,255)},d=!0,f="%"===String(e.r).substr(-1)?"prgb":"rgb"):N(e.h)&&N(e.s)&&N(e.v)?(n=I(e.s),s=I(e.v),r=function(e,r,t){e=6*j(e,360),r=j(r,100),t=j(t,100);var n=a.floor(e),o=e-n,i=t*(1-r),s=t*(1-o*r),l=t*(1-(1-o)*r),c=n%6;return{r:255*[t,s,i,i,l,t][c],g:255*[l,t,t,s,i,i][c],b:255*[i,i,l,t,t,s][c]}}(e.h,n,s),d=!0,f="hsv"):N(e.h)&&N(e.s)&&N(e.l)&&(n=I(e.s),l=I(e.l),r=function(e,r,t){var n,a,o;function i(e,r,t){return t<0&&(t+=1),t>1&&(t-=1),t<1/6?e+6*(r-e)*t:t<.5?r:t<2/3?e+(r-e)*(2/3-t)*6:e}if(e=j(e,360),r=j(r,100),t=j(t,100),0===r)n=a=o=t;else{var s=t<.5?t*(1+r):t+r-t*r,l=2*t-s;n=i(l,s,e+1/3),a=i(l,s,e),o=i(l,s,e-1/3)}return{r:255*n,g:255*a,b:255*o}}(e.h,n,l),d=!0,f="hsl"),e.hasOwnProperty("a")&&(t=e.a));var b,g,p;return t=R(t),{ok:d,format:e.format||f,r:c(255,u(r.r,0)),g:c(255,u(r.g,0)),b:c(255,u(r.b,0)),a:t}}(e);this._originalInput=e,this._r=t.r,this._g=t.g,this._b=t.b,this._a=t.a,this._roundA=l(100*this._a)/100,this._format=r.format||t.format,this._gradientType=r.gradientType,this._r<1&&(this._r=l(this._r)),this._g<1&&(this._g=l(this._g)),this._b<1&&(this._b=l(this._b)),this._ok=t.ok,this._tc_id=s++}function b(e,r,t){e=j(e,255),r=j(r,255),t=j(t,255);var n,a,o=u(e,r,t),i=c(e,r,t),s=(o+i)/2;if(o==i)n=a=0;else{var l=o-i;switch(a=s>.5?l/(2-o-i):l/(o+i),o){case e:n=(r-t)/l+(r<t?6:0);break;case r:n=(t-e)/l+2;break;case t:n=(e-r)/l+4}n/=6}return{h:n,s:a,l:s}}function g(e,r,t){e=j(e,255),r=j(r,255),t=j(t,255);var n,a,o=u(e,r,t),i=c(e,r,t),s=o,l=o-i;if(a=0===o?0:l/o,o==i)n=0;else{switch(o){case e:n=(r-t)/l+(r<t?6:0);break;case r:n=(t-e)/l+2;break;case t:n=(e-r)/l+4}n/=6}return{h:n,s:a,v:s}}function p(e,r,t,n){var a=[P(l(e).toString(16)),P(l(r).toString(16)),P(l(t).toString(16))];return n&&a[0].charAt(0)==a[0].charAt(1)&&a[1].charAt(0)==a[1].charAt(1)&&a[2].charAt(0)==a[2].charAt(1)?a[0].charAt(0)+a[1].charAt(0)+a[2].charAt(0):a.join("")}function h(e,r,t,n){return[P(M(n)),P(l(e).toString(16)),P(l(r).toString(16)),P(l(t).toString(16))].join("")}function m(e,r){r=0===r?0:r||10;var t=f(e).toHsl();return t.s-=r/100,t.s=O(t.s),f(t)}function y(e,r){r=0===r?0:r||10;var t=f(e).toHsl();return t.s+=r/100,t.s=O(t.s),f(t)}function v(e){return f(e).desaturate(100)}function x(e,r){r=0===r?0:r||10;var t=f(e).toHsl();return t.l+=r/100,t.l=O(t.l),f(t)}function k(e,r){r=0===r?0:r||10;var t=f(e).toRgb();return t.r=u(0,c(255,t.r-l(-r/100*255))),t.g=u(0,c(255,t.g-l(-r/100*255))),t.b=u(0,c(255,t.b-l(-r/100*255))),f(t)}function w(e,r){r=0===r?0:r||10;var t=f(e).toHsl();return t.l-=r/100,t.l=O(t.l),f(t)}function S(e,r){var t=f(e).toHsl(),n=(t.h+r)%360;return t.h=n<0?360+n:n,f(t)}function C(e){var r=f(e).toHsl();return r.h=(r.h+180)%360,f(r)}function F(e){var r=f(e).toHsl(),t=r.h;return[f(e),f({h:(t+120)%360,s:r.s,l:r.l}),f({h:(t+240)%360,s:r.s,l:r.l})]}function A(e){var r=f(e).toHsl(),t=r.h;return[f(e),f({h:(t+90)%360,s:r.s,l:r.l}),f({h:(t+180)%360,s:r.s,l:r.l}),f({h:(t+270)%360,s:r.s,l:r.l})]}function E(e){var r=f(e).toHsl(),t=r.h;return[f(e),f({h:(t+72)%360,s:r.s,l:r.l}),f({h:(t+216)%360,s:r.s,l:r.l})]}function _(e,r,t){r=r||6,t=t||30;var n=f(e).toHsl(),a=360/t,o=[f(e)];for(n.h=(n.h-(a*r>>1)+720)%360;--r;)n.h=(n.h+a)%360,o.push(f(n));return o}function B(e,r){r=r||6;for(var t=f(e).toHsv(),n=t.h,a=t.s,o=t.v,i=[],s=1/r;r--;)i.push(f({h:n,s:a,v:o})),o=(o+s)%1;return i}f.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},getLuminance:function(){var e,r,t,n=this.toRgb();return e=n.r/255,r=n.g/255,t=n.b/255,.2126*(e<=.03928?e/12.92:a.pow((e+.055)/1.055,2.4))+.7152*(r<=.03928?r/12.92:a.pow((r+.055)/1.055,2.4))+.0722*(t<=.03928?t/12.92:a.pow((t+.055)/1.055,2.4))},setAlpha:function(e){return this._a=R(e),this._roundA=l(100*this._a)/100,this},toHsv:function(){var e=g(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=g(this._r,this._g,this._b),r=l(360*e.h),t=l(100*e.s),n=l(100*e.v);return 1==this._a?"hsv("+r+", "+t+"%, "+n+"%)":"hsva("+r+", "+t+"%, "+n+"%, "+this._roundA+")"},toHsl:function(){var e=b(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=b(this._r,this._g,this._b),r=l(360*e.h),t=l(100*e.s),n=l(100*e.l);return 1==this._a?"hsl("+r+", "+t+"%, "+n+"%)":"hsla("+r+", "+t+"%, "+n+"%, "+this._roundA+")"},toHex:function(e){return p(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(e){return function(e,r,t,n,a){var o=[P(l(e).toString(16)),P(l(r).toString(16)),P(l(t).toString(16)),P(M(n))];if(a&&o[0].charAt(0)==o[0].charAt(1)&&o[1].charAt(0)==o[1].charAt(1)&&o[2].charAt(0)==o[2].charAt(1)&&o[3].charAt(0)==o[3].charAt(1))return o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0)+o[3].charAt(0);return o.join("")}(this._r,this._g,this._b,this._a,e)},toHex8String:function(e){return"#"+this.toHex8(e)},toRgb:function(){return{r:l(this._r),g:l(this._g),b:l(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+l(this._r)+", "+l(this._g)+", "+l(this._b)+")":"rgba("+l(this._r)+", "+l(this._g)+", "+l(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:l(100*j(this._r,255))+"%",g:l(100*j(this._g,255))+"%",b:l(100*j(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+l(100*j(this._r,255))+"%, "+l(100*j(this._g,255))+"%, "+l(100*j(this._b,255))+"%)":"rgba("+l(100*j(this._r,255))+"%, "+l(100*j(this._g,255))+"%, "+l(100*j(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(z[p(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var r="#"+h(this._r,this._g,this._b,this._a),t=r,n=this._gradientType?"GradientType = 1, ":"";if(e){var a=f(e);t="#"+h(a._r,a._g,a._b,a._a)}return"progid:DXImageTransform.Microsoft.gradient("+n+"startColorstr="+r+",endColorstr="+t+")"},toString:function(e){var r=!!e;e=e||this._format;var t=!1,n=this._a<1&&this._a>=0;return r||!n||"hex"!==e&&"hex6"!==e&&"hex3"!==e&&"hex4"!==e&&"hex8"!==e&&"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()},clone:function(){return f(this.toString())},_applyModification:function(e,r){var t=e.apply(null,[this].concat([].slice.call(r)));return this._r=t._r,this._g=t._g,this._b=t._b,this.setAlpha(t._a),this},lighten:function(){return this._applyModification(x,arguments)},brighten:function(){return this._applyModification(k,arguments)},darken:function(){return this._applyModification(w,arguments)},desaturate:function(){return this._applyModification(m,arguments)},saturate:function(){return this._applyModification(y,arguments)},greyscale:function(){return this._applyModification(v,arguments)},spin:function(){return this._applyModification(S,arguments)},_applyCombination:function(e,r){return e.apply(null,[this].concat([].slice.call(r)))},analogous:function(){return this._applyCombination(_,arguments)},complement:function(){return this._applyCombination(C,arguments)},monochromatic:function(){return this._applyCombination(B,arguments)},splitcomplement:function(){return this._applyCombination(E,arguments)},triad:function(){return this._applyCombination(F,arguments)},tetrad:function(){return this._applyCombination(A,arguments)}},f.fromRatio=function(e,r){if("object"==typeof e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[n]="a"===n?e[n]:I(e[n]));e=t}return f(e,r)},f.equals=function(e,r){return!(!e||!r)&&f(e).toRgbString()==f(r).toRgbString()},f.random=function(){return f.fromRatio({r:d(),g:d(),b:d()})},f.mix=function(e,r,t){t=0===t?0:t||50;var n=f(e).toRgb(),a=f(r).toRgb(),o=t/100;return f({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})},f.readability=function(e,r){var t=f(e),n=f(r);return(a.max(t.getLuminance(),n.getLuminance())+.05)/(a.min(t.getLuminance(),n.getLuminance())+.05)},f.isReadable=function(e,r,t){var n,a,o=f.readability(e,r);switch(a=!1,(n=function(e){var r,t;r=((e=e||{level:"AA",size:"small"}).level||"AA").toUpperCase(),t=(e.size||"small").toLowerCase(),"AA"!==r&&"AAA"!==r&&(r="AA");"small"!==t&&"large"!==t&&(t="small");return{level:r,size:t}}(t)).level+n.size){case"AAsmall":case"AAAlarge":a=o>=4.5;break;case"AAlarge":a=o>=3;break;case"AAAsmall":a=o>=7}return a},f.mostReadable=function(e,r,t){var n,a,o,i,s=null,l=0;a=(t=t||{}).includeFallbackColors,o=t.level,i=t.size;for(var c=0;c<r.length;c++)(n=f.readability(e,r[c]))>l&&(l=n,s=f(r[c]));return f.isReadable(e,s,{level:o,size:i})||!a?s:(t.includeFallbackColors=!1,f.mostReadable(e,["#fff","#000"],t))};var D=f.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",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:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",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:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",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:"f00",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:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},z=f.hexNames=function(e){var r={};for(var t in e)e.hasOwnProperty(t)&&(r[e[t]]=t);return r}(D);function R(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function j(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=c(r,u(0,parseFloat(e))),t&&(e=parseInt(e*r,10)/100),a.abs(e-r)<1e-6?1:e%r/parseFloat(r)}function O(e){return c(1,u(0,e))}function T(e){return parseInt(e,16)}function P(e){return 1==e.length?"0"+e:""+e}function I(e){return e<=1&&(e=100*e+"%"),e}function M(e){return a.round(255*parseFloat(e)).toString(16)}function W(e){return T(e)/255}var J=function(){var e="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)",r="[\\s|\\(]+("+e+")[,|\\s]+("+e+")[,|\\s]+("+e+")\\s*\\)?",t="[\\s|\\(]+("+e+")[,|\\s]+("+e+")[,|\\s]+("+e+")[,|\\s]+("+e+")\\s*\\)?";return{CSS_UNIT:new RegExp(e),rgb:new RegExp("rgb"+r),rgba:new RegExp("rgba"+t),hsl:new RegExp("hsl"+r),hsla:new RegExp("hsla"+t),hsv:new RegExp("hsv"+r),hsva:new RegExp("hsva"+t),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 N(e){return!!J.CSS_UNIT.exec(e)}e.exports?e.exports=f:void 0===(n=function(){return f}.call(r,t,r,e))||(e.exports=n)}(Math)},4942: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}})},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}})}},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-4b29b25ad1173eae2757.js b/out/_next/static/chunks/pages/index-4b29b25ad1173eae2757.js
deleted file mode 100644
index 7ba82a3..0000000
--- a/out/_next/static/chunks/pages/index-4b29b25ad1173eae2757.js
+++ /dev/null
@@ -1 +0,0 @@
-(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[405],{64685:function(e,n,t){"use strict";t.r(n),t.d(n,{Graph:function(){return Wt},GraphPage:function(){return Mt},default:function(){return At},getThemeColor:function(){return _t},hexToRGBA:function(){return Ut},normalizeLinkEnds:function(){return Xt}});var r=t(15861),i=t(42982),o=t(4942),l=t(70885),s=t(87757),c=t.n(s),a=t(40980),u=t(74860),d=t(95869),h=t(48017),g=t(94096),f=t(96699),p=t(48420),x=t(57775),j=t(54309),b=t(52596),v=t(9008),m=t(67294),y=t(47516),C=t(63750),O=t(22003),w=t(31122),k=t(7520),S=t(22663),P=t.n(S),N=t(36194),I=[],D={};for(var L in N.oY)for(var z in N.oY[L]){var E=L+z;"LinearNone"===E&&(E="Linear"),I.push(E),D[E]=N.oY[L][z]}var Z=D,R={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},T={orphans:!1,dailies:!1,parent:"heading",filelessCites:!1,tagsBlacklist:[],tagsWhitelist:[],bad:!0,nodes:[],links:[],date:[],noter:!0},B={particles:!1,particlesNumber:0,particlesWidth:4,arrows:!1,arrowsLength:1,arrowsPos:.5,arrowsColor:"",linkOpacity:.8,linkWidth:1,nodeRel:4,nodeOpacity:1,nodeResolution:12,labels:2,labelScale:1,labelFontSize:10,labelLength:40,labelWordWrap:25,labelLineSpace:1,highlight:!0,highlightNodeSize:1.2,highlightLinkSize:2,highlightFade:.8,highlightAnim:!0,animationSpeed:420,algorithmOptions:I,algorithmName:"SinusoidalOut",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.3},F={follow:"zoom",localSame:"add",zoomPadding:200,zoomSpeed:2e3},H={highlight:"hover",local:"double",follow:"never",context:"right",preview:"click",backgroundExitsLocal:!1},A={neighbors:1},M=["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"],W=t(11252),V=t(336),X=t(85675),_=t(72026),U=t(64115),q=t(49364),G=t(94030),J=t(46617),Q=t(50862),K=t(68928),Y=t(55830),$=t(2827);function ee(e,n,t){t.send(JSON.stringify({command:e,data:n}))}function ne(e,n){ee("open",{id:e.id},n)}var te=t(85305),re=t(77787),ie=t(45987),oe=t(80658),le=t(38554),se=t.n(le),ce=t(84461),ae=t(73808),ue=t(53869),de=t(39629);function he(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 ge(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?he(Object(t),!0).forEach((function(n){(0,o.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):he(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var fe={ease:[.25,.1,.25,1],easeIn:[.4,0,1,1],easeOut:[0,0,.2,1],easeInOut:[.4,0,.2,1]};var pe=function(e,n){return ge(ge({},e),{},{delay:(0,ae.hj)(n)?n:null===n||void 0===n?void 0:n.enter})},xe=function(e,n){return ge(ge({},e),{},{delay:(0,ae.hj)(n)?n:null===n||void 0===n?void 0:n.exit})},je=t(85893),be=["in","unmountOnExit","animateOpacity","startingSize","endingSize","dimension","style","className","transition","transitionEnd"];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,o.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){return null!=e&&parseInt(e.toString(),10)>0},Ce={exit:{size:{duration:.2,ease:fe.ease},opacity:{duration:.3,ease:fe.ease}},enter:{size:{duration:.3,ease:fe.ease},opacity:{duration:.4,ease:fe.ease}}},Oe={exit:function(e){var n,t,r=e.animateOpacity,i=e.startingSize,l=e.transition,s=e.transitionEnd,c=e.delay,a=e.dimension;return me(me({},r&&{opacity:ye(i)?1:0}),{},(t={overflow:"hidden"},(0,o.Z)(t,a,i),(0,o.Z)(t,"transitionEnd",null===s||void 0===s?void 0:s.exit),(0,o.Z)(t,"transition",null!==(n=null===l||void 0===l?void 0:l.exit)&&void 0!==n?n:xe(Ce.exit,c)),t))},enter:function(e){var n,t,r=e.animateOpacity,i=e.endingSize,l=e.transition,s=e.transitionEnd,c=e.delay,a=e.dimension;return me(me({},r&&{opacity:1}),{},(t={},(0,o.Z)(t,a,i),(0,o.Z)(t,"transitionEnd",null===s||void 0===s?void 0:s.enter),(0,o.Z)(t,"transition",null!==(n=null===l||void 0===l?void 0:l.enter)&&void 0!==n?n:pe(Ce.enter,c)),t))}},we=m.forwardRef((function(e,n){var t=e.in,r=e.unmountOnExit,i=e.animateOpacity,o=void 0===i||i,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,ie.Z)(e,be),b=m.useState(!1),v=(0,l.Z)(b,2),y=v[0],C=v[1];m.useEffect((function(){var e=setTimeout((function(){C(!0)}));return function(){return clearTimeout(e)}}),[]),(0,oe.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:o,dimension:h,transition:y?p:{enter:{duration:0}},transitionEnd:se()(x,{enter:{overflow:"initial"},exit:r?void 0:{display:O?"block":"none"}})},k=!r||t,S=t||r?"enter":"exit";return(0,je.jsx)(ue.M,{initial:!1,custom:w,children:k&&(0,je.jsx)(de.E.div,me(me({ref:n},j),{},{className:(0,ce.cx)("chakra-collapse",f),style:me({overflow:"hidden",display:"block"},g),custom:w,variants:Oe,initial:!!r&&"exit",animate:S,exit:"exit"}))})}));function ke(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 Se(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?ke(Object(t),!0).forEach((function(n){(0,o.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ke(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}ae.Ts&&(we.displayName="Collapse");var Pe=function(e){var n=e.setTagColors,t=e.setFilter,r=e.filter,l=e.tagColors,s=e.target,c=r.tagsBlacklist,a=r.tagsWhitelist,d=c.indexOf(s)>-1,f=a.indexOf(s)>-1,p=(0,u.q)();return(0,je.jsxs)(je.Fragment,{children:[(0,je.jsx)(W.sN,{icon:(0,je.jsx)(h.xu,{bgColor:l[s],borderRadius:"sm",height:3,width:3,borderColor:l[s]||"gray.600",borderWidth:1}),closeOnSelect:!1,onClick:p.onToggle,children:(0,je.jsx)(U.x,{children:"Change color"})}),(0,je.jsx)(we,{in:p.isOpen,children:(0,je.jsx)(g.k,{ml:2,mt:2,flexWrap:"wrap",children:M.map((function(e){return(0,je.jsx)(h.xu,{children:(0,je.jsx)(h.xu,{tabIndex:0,cursor:"pointer",onClick:function(){return n(Se(Se({},l),{},(0,o.Z)({},s,e)))},bgColor:e,m:1,borderRadius:"sm",height:3,width:3})},e)}))})}),!f&&(0,je.jsx)(W.sN,{onClick:function(){t(d?function(e){return Se(Se({},e),{},{tagsBlacklist:e.tagsBlacklist.filter((function(e){return e!==s}))})}:function(e){return Se(Se({},e),{},{tagsBlacklist:[].concat((0,i.Z)(e.tagsBlacklist),[s])})})},icon:d?(0,je.jsx)(te.V,{}):(0,je.jsx)(re.t,{}),children:d?"Remove from blacklist":"Add to blacklist"}),!d&&(0,je.jsx)(W.sN,{onClick:function(){t(f?function(e){return Se(Se({},e),{},{tagsWhitelist:e.tagsWhitelist.filter((function(e){return e!==s}))})}:function(e){return Se(Se({},e),{},{tagsWhitelist:[].concat((0,i.Z)(e.tagsWhitelist),[s])})})},icon:f?(0,je.jsx)(te.V,{}):(0,je.jsx)(Y.O,{}),children:f?"Remove from whitelist":"Add to whitelist"})]})},Ne=function(e){e.background;var n,t,r=e.target,i=(e.nodeType,e.coordinates),o=e.handleLocal,l=e.menuClose,s=e.scope,c=e.webSocket,a=e.setPreviewNode,d=e.setTagColors,h=e.tagColors,g=e.setFilter,f=e.filter,p=(0,u.q)(),x=p.isOpen,j=p.onOpen,b=p.onClose;(0,m.useRef)();return(0,je.jsxs)(je.Fragment,{children:[(0,je.jsx)(W.v2,{defaultIsOpen:!0,closeOnBlur:!1,onClose:function(){return l()},children:(0,je.jsx)(W.qy,{zIndex:"overlay",bgColor:"white",color:"black",position:"absolute",left:i.left,top:i.top,right:i.right,bottom:i.bottom,fontSize:"xs",boxShadow:"xl",children:"string"!==typeof r?(0,je.jsxs)(je.Fragment,{children:[r&&(0,je.jsxs)(je.Fragment,{children:[(0,je.jsx)(V.X,{size:"xs",isTruncated:!0,px:3,py:1,children:r.title}),(0,je.jsx)(W.R,{borderColor:"gray.500"})]}),0!==s.nodeIds.length&&(0,je.jsxs)(je.Fragment,{children:[(0,je.jsx)(W.sN,{onClick:function(){return o(r,"add")},icon:(0,je.jsx)(G.I,{}),children:"Expand local graph at node"}),(0,je.jsx)(W.sN,{onClick:function(){return o(r,"replace")},icon:(0,je.jsx)(y.DvO,{}),children:"Open local graph for this node"})]}),null!==r&&void 0!==r&&null!==(n=r.properties)&&void 0!==n&&n.FILELESS?(0,je.jsx)(W.sN,{icon:(0,je.jsx)(Q.d,{}),onClick:function(){return function(e,n){ee("create",{id:e.id,title:e.title,ref:e.properties.ROAM_REFS},n)}(r,c)},children:"Create node"}):(0,je.jsx)(W.sN,{icon:(0,je.jsx)(J.d,{}),onClick:function(){return ne(r,c)},children:"Open in Emacs"}),(null===r||void 0===r||null===(t=r.properties)||void 0===t?void 0:t.ROAM_REFS)&&(0,je.jsx)(W.sN,{icon:(0,je.jsx)(K.h,{}),children:"Open in Zotero"}),0===s.nodeIds.length&&(0,je.jsx)(W.sN,{icon:(0,je.jsx)(y.DvO,{}),onClick:function(){return o(r,"replace")},children:"Open local graph"}),(0,je.jsx)(W.sN,{icon:(0,je.jsx)(Y.O,{}),onClick:function(){a(r)},children:"Preview"}),0===(null===r||void 0===r?void 0:r.level)&&(0,je.jsx)(W.sN,{closeOnSelect:!1,icon:(0,je.jsx)($.p,{color:"red.500"}),color:"red.500",onClick:j,children:"Permenantly delete note"})]}):(0,je.jsx)(Pe,{target:r,tagColors:h,filter:f,setTagColors:d,setFilter:g})})}),"string"!==typeof r&&(0,je.jsxs)(X.u_,{isCentered:!0,isOpen:x,onClose:b,children:[(0,je.jsx)(X.ZA,{}),(0,je.jsxs)(X.hz,{zIndex:"popover",children:[(0,je.jsx)(X.xB,{children:"Delete node?"}),(0,je.jsx)(X.ol,{}),(0,je.jsx)(X.fe,{children:(0,je.jsxs)(_.gC,{spacing:4,display:"flex",alignItems:"flex-start",children:[(0,je.jsx)(U.x,{children:"This will permanently delete your note:"}),(0,je.jsx)(U.x,{fontWeight:"bold",children:null===r||void 0===r?void 0:r.title}),0!==(null===r||void 0===r?void 0:r.level)&&(0,je.jsx)(U.x,{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,je.jsx)(U.x,{children:"Are you sure you want to do continue?"})]})}),(0,je.jsxs)(X.mz,{children:[(0,je.jsx)(q.z,{mr:3,onClick:function(){console.log("closing"),b(),l()},children:"Cancel"}),(0,je.jsx)(q.z,{variant:"link",colorScheme:"red",ml:3,onClick:function(){console.log("aaaaa"),function(e,n){0===e.level&&ee("delete",{id:e.id,file:e.file},n)}(r,c),b(),l()},children:"Delete node"})]})]})]})]})},Ie=t(67101),De=t(35255),Le=t(56884),ze=function(e){var n=e.setJustification,t=(e.setIndent,e.setFont,e.justification),r=(e.setPreviewNode,e.canUndo),i=e.canRedo,o=(e.resetPreviewNode,e.previousPreviewNode),l=e.nextPreviewNode;return(0,je.jsxs)(g.k,{flex:"0 1 40px",pb:3,alignItems:"center",justifyContent:"space-between",pl:1,pr:1,children:[(0,je.jsx)(g.k,{children:(0,je.jsxs)(Ie.h,{isAttached:!0,children:[(0,je.jsx)(f.u,{label:"Go backward",children:(0,je.jsx)(p.h,{variant:"subtle",icon:(0,je.jsx)(De.w,{}),"aria-label":"Previous node",disabled:!r,onClick:function(){return o()}})}),(0,je.jsx)(f.u,{label:"Go forward",children:(0,je.jsx)(p.h,{variant:"subtle",icon:(0,je.jsx)(Le.X,{}),"aria-label":"Next node",disabled:!i,onClick:function(){return l()}})})]})}),(0,je.jsx)(g.k,{children:(0,je.jsx)(f.u,{label:"Justify content",children:(0,je.jsx)(p.h,{variant:"subtle","aria-label":"Justify content",icon:[(0,je.jsx)(y.v9V,{},"justify"),(0,je.jsx)(y.YSr,{},"left"),(0,je.jsx)(y.RXA,{},"right"),(0,je.jsx)(y.tr_,{},"center")][t],onClick:function(){return n((function(e){return(e+1)%4}))}})})})]})},Ee=t(35528);function Ze(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 Re(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?Ze(Object(t),!0).forEach((function(n){(0,o.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Ze(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var Te=function(e){var n,t=e.filter,r=e.setFilter,o=e.tagColors,l=(e.setTagColors,e.openContextMenu),s=e.previewNode;return s.tags&&null!==(null===s||void 0===s?void 0:s.tags[0])?(0,je.jsx)(g.k,{mb:2,flexWrap:"wrap",children:null===s||void 0===s||null===(n=s.tags)||void 0===n?void 0:n.map((function(e){var n,s,c,a=null!==(n=t.tagsBlacklist)&&void 0!==n?n:[],u=null!==(s=t.tagsWhitelist)&&void 0!==s?s:[],d=a.includes(e),h=u.includes(e);return(0,je.jsxs)(Ee.Vp,{tabIndex:0,mr:2,mt:2,onContextMenu:function(n){n.preventDefault(),l(e,n)},cursor:"pointer",onClick:function(){r(d?function(n){return Re(Re({},n),{},{tagsBlacklist:n.tagsBlacklist.filter((function(n){return n!==e})),tagsWhitelist:[].concat((0,i.Z)(n.tagsWhitelist),[e])})}:h?function(n){return Re(Re({},n),{},{tagsWhitelist:n.tagsWhitelist.filter((function(n){return n!==e}))})}:function(n){return Re(Re({},n),{},{tagsBlacklist:[].concat((0,i.Z)(n.tagsBlacklist),[e])})})},size:"sm",variant:"outline",colorScheme:(null===(c=o[e])||void 0===c?void 0:c.replaceAll(/(.*?)\..*/g,"$1"))||void 0,children:[(0,je.jsx)(Ee.Sn,{children:e}),d?(0,je.jsx)(Ee.bq,{as:re.t}):h?(0,je.jsx)(Ee.bq,{as:Y.O}):null]},e)}))}):null},Be=t(18835),Fe=t.n(Be),He=t(13816),Ae=t.n(He),Me=t(42728),We=t.n(Me),Ve=t(77890),Xe=t.n(Ve),_e=t(94986),Ue=t.n(_e),qe=t(88541),Ge=t.n(qe),Je=t(71167),Qe=t.n(Je),Ke=(t(85062),t(27431)),Ye=t.n(Ke),$e=t(49444),en=t(45170),nn=t(67273),tn=t(29356),rn={".katex":{overflowX:"scroll"},h1:{color:"black",lineHeight:"1.2",fontSize:"20",fontWeight:"bold",marginBottom:3},h2:{fontSize:"18",marginBottom:2,color:"black"},h3:{fontSize:"16",fontWeight:"600 !important",marginBottom:".5em",color:"black"},h4:{fontSize:"14",fontWeight:"500 !important",marginBottom:".25em",fontStyle:"italic",color:"black"},ol:{paddingLeft:"5"},ul:{paddingLeft:"5"},p:{fontSize:"14",fontWeight:"500 !important",paddingBottom:".5em"},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"}},on=rn,ln=t(25675),sn=t(62520),cn=t.n(sn),an=function(e){var n=e.src,t=e.file,r=(0,m.useState)(null);r[0],r[1];if(n.replaceAll(/(http)?.*/g,"$1"))return console.log(n.replaceAll(/(http)?.*/g,"$1")),(0,je.jsx)(ln.default,{layout:"responsive",loader:function(e){var n=e.src;return e.width,e.quality,"".concat(n)},src:n,alt:"",width:"100%",height:"100%"});var i=n.replaceAll(/file:/g,""),o=cn().dirname(t),l=cn().isAbsolute(i)||"~"===i.slice(0,1)?i:cn().join(o,i),s=encodeURIComponent(encodeURIComponent(l));return(0,je.jsx)(ln.default,{layout:"responsive",loader:function(e){var n=e.src;e.width,e.quality;return"http://localhost:35901/img/".concat(n)},src:s,alt:"",width:"100%",height:"100%"})},un=t(86658),dn=["style"];function hn(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 gn(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?hn(Object(t),!0).forEach((function(n){(0,o.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):hn(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var fn=function(e){var n=e.setSidebarHighlightedNode,t=e.setPreviewNode,r=e.nodeById,o=e.openContextMenu,s=e.href,c=e.children,u=(0,m.useContext)(tn.N).highlightColor,d=_t(u,(0,a.useTheme)()),h=(0,l.Z)((0,i.Z)(s.matchAll(/(.*?)\:(.*)/g))[0],3),g=(h[0],h[1],h[2]);return(0,je.jsx)(U.x,{onMouseEnter:function(){return n(r[g])},onMouseLeave:function(){return n({})},tabIndex:0,display:"inline",overflow:"hidden",fontWeight:500,color:u,textDecoration:"underline",onContextMenu:function(e){e.preventDefault(),o(r[g],e)},onClick:function(){return t(r[g])},_hover:{textDecoration:"none",cursor:"pointer",bgColor:d+"22"},_focus:{outlineColor:u},children:c})},pn=function(e){var n=e.href,t=e.children,r=(0,m.useContext)(tn.N).highlightColor;return(0,je.jsxs)($e.r,{color:r,isExternal:!0,href:n,children:[t,(0,je.jsx)(K.h,{mx:"1px",pb:"2px"})]})},xn=function e(n){var t,r=n.href,o=n.children,s=n.nodeById,c=n.setSidebarHighlightedNode,a=(n.previewNode,n.setPreviewNode),u=n.nodeByCite,d=n.openContextMenu,g=(0,m.useState)(null),f=g[0],p=g[1],x=(0,l.Z)((0,i.Z)(r.matchAll(/(.*?)\:(.*)/g))[0],3),j=(x[0],x[1]),b=x[2],v=(0,m.useState)(!1),y=v[0],C=v[1];if((0,m.useEffect)((function(){j.replaceAll(/(http)?.*/g,"$1")||f||y&&fetch("http://localhost:35901/file/".concat(N)).then((function(e){return e.text()})).then((function(e){if("error"===e);else{var n=I.processSync(e).result;p(n)}})).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."}))}),[y,f]),j.replaceAll(/(http)?.*/g,"$1"))return(0,je.jsx)(pn,{href:r,children:o});var O,w,k,S,P=function(e,n){if("id"===e)return n;if(e.includes("cite")){var t,r=null!==(t=u[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""}(j,b),N=encodeURIComponent(encodeURIComponent(null===(t=s[P])||void 0===t?void 0:t.file)),I=Fe()().use(Ae()).use(We()).use(Qe()).use(Ye(),{createElement:m.createElement,components:{a:function(n){var t=n.children,r=n.href;return(0,je.jsx)(e,{nodeByCite:u,setSidebarHighlightedNode:c,href:r,nodeById:s,setPreviewNode:a,openContextMenu:d,children:t})},img:function(e){var n,t=e.src;return(0,je.jsx)(an,{src:t,file:null===(n=s[P])||void 0===n?void 0:n.file})}}});return P?(0,je.jsx)(je.Fragment,{children:(0,je.jsxs)(en.J2,{gutter:12,trigger:"hover",placement:"top-start",children:[(0,je.jsx)(en.xo,{children:(0,je.jsx)(h.xu,{display:"inline",onMouseEnter:function(){return C(!0)},onMouseLeave:function(){return C(!1)},children:(0,je.jsx)(fn,{setSidebarHighlightedNode:c,setPreviewNode:a,nodeById:s,href:r,children:o,nodeByCite:u,openContextMenu:d},null!==(O=null===(w=s[P])||void 0===w?void 0:w.title)&&void 0!==O?O:P)})}),(0,je.jsx)(nn.h,{children:(0,je.jsxs)(en.yk,{transform:"scale(1)",boxShadow:"xl",position:"relative",zIndex:"tooltip",onMouseEnter:function(){var e;c(null!==(e=s[P])&&void 0!==e?e:{})},onMouseLeave:function(){c({})},children:[(0,je.jsx)(en.QH,{}),(0,je.jsx)(en.b,{pb:5,fontSize:"xs",position:"relative",zIndex:"tooltip",transform:"scale(1)",width:"100%",children:(0,je.jsx)(un.$B,{autoHeight:!0,autoHeightMax:300,autoHide:!0,renderThumbVertical:function(e){var n=e.style,t=(0,ie.Z)(e,dn);return(0,je.jsx)(h.xu,gn({style:gn(gn({},n),{},{borderRadius:0})},t))},children:(0,je.jsx)(h.xu,{w:"100%",color:"black",px:3,sx:on,children:f})})})]},null!==(k=null===(S=s[P])||void 0===S?void 0:S.title)&&void 0!==k?k:P)})]})}):(0,je.jsx)(U.x,{display:"inline",color:"base.700",cursor:"not-allowed",children:o})},jn=function(e){var n=e.nodeById,t=e.setSidebarHighlightedNode,r=e.setPreviewNode,i=e.previewText,o=e.nodeByCite,l=e.previewNode,s=e.openContextMenu,c=Fe()().use(Ae()).use(Ue()).use(Ge()).use(Xe()).use(We()).use(Qe()).use(Ye(),{createElement:m.createElement,components:{a:function(e){var i=e.children,l=e.href;return(0,je.jsx)(xn,{nodeByCite:o,setSidebarHighlightedNode:t,href:"".concat(l),nodeById:n,setPreviewNode:r,openContextMenu:s,children:i})},img:function(e){var n=e.src;return(0,je.jsx)(an,{src:n,file:l.file})}}}),a=(0,m.useMemo)((function(){return c.processSync(i).result}),[i]);return(0,je.jsx)(je.Fragment,{children:a})},bn=function(e){var n=e.openContextMenu,t=e.setSidebarHighlightedNode,r=e.nodeById,i=e.nodeByCite,o=e.previewNode,l=e.setPreviewNode,s=(0,m.useState)(""),c=s[0],a=s[1],u=encodeURIComponent(encodeURIComponent(o.file));return(0,m.useEffect)((function(){fetch("http://localhost:35901/file/".concat(u)).then((function(e){return e.text()})).then((function(e){"error"!==e&&a(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.id]),(0,je.jsx)(je.Fragment,{children:(null===o||void 0===o?void 0:o.id)&&(0,je.jsx)(jn,{nodeById:r,previewNode:o,setPreviewNode:l,previewText:c,nodeByCite:i,setSidebarHighlightedNode:t,openContextMenu:n})})},vn=function(e){var n,t=e.previewNode,r=e.setPreviewNode,i=e.setSidebarHighlightedNode,o=e.nodeById,s=e.linksByNodeId,c=e.nodeByCite,a=e.openContextMenu,u=(null!==(n=s[null===t||void 0===t?void 0:t.id])&&void 0!==n?n:[]).filter((function(e){var n=Xt(e),r=(0,l.Z)(n,2),i=r[0];r[1];return i!==(null===t||void 0===t?void 0:t.id)})).map((function(e){return e.source}));return(0,je.jsxs)(h.xu,{children:[(0,je.jsx)(V.X,{pt:4,children:"Backlinks (".concat(u.length,")")}),(0,je.jsx)(_.gC,{py:2,spacing:3,alignItems:"start",divider:(0,je.jsx)(_.cX,{borderColor:"gray.500"}),align:"stretch",color:"gray.800",children:(null===t||void 0===t?void 0:t.id)&&u.map((function(e){var n,t,l;n=null===(t=o[e])||void 0===t?void 0:t.title;return(0,je.jsx)(h.xu,{overflow:"hidden",p:3,bg:"gray.300",width:"100%",children:(0,je.jsx)(xn,{nodeByCite:c,setSidebarHighlightedNode:i,href:"id:".concat(e),nodeById:o,setPreviewNode:r,openContextMenu:a,children:null===(l=o[e])||void 0===l?void 0:l.title})},e)}))})]})};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,o.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=e.setPreviewNode,t=e.justificationList,r=e.justification,i=e.previewNode,o=e.nodeById,l=e.nodeByCite,s=e.setSidebarHighlightedNode,c=e.linksByNodeId,a=e.openContextMenu;return(0,je.jsx)(h.xu,{pr:8,height:"100%",className:"org",sx:yn(yn({},rn),{},{textAlign:t[r]}),children:(null===i||void 0===i?void 0:i.id)&&(0,je.jsxs)(g.k,{height:"100%",flexDirection:"column",justifyContent:"space-between",children:[(0,je.jsx)(bn,{setPreviewNode:n,previewNode:i,nodeById:o,nodeByCite:l,setSidebarHighlightedNode:s,openContextMenu:a}),(0,je.jsx)(vn,{setPreviewNode:n,previewNode:i,nodeById:o,linksByNodeId:c,nodeByCite:l,setSidebarHighlightedNode:s,openContextMenu:a})]})})},On=t(29119);function wn(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 kn(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?wn(Object(t),!0).forEach((function(n){(0,o.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):wn(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}function Sn(e,n){var t,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=Pn(e,null!==(t=r.storage)&&void 0!==t?t:localStorage),o=i.get(),l=void 0!==o?o:n,s=null!=o&&"object"===typeof o&&!1===Array.isArray(o)?kn(kn({},n),o):l;s!==o&&i.update(s);var c=(0,m.useState)(s),a=c[0],u=c[1];(0,m.useEffect)((function(){a!==s&&u(s)}),[e]);var d=function(e){e instanceof Function?u((function(n){var t=e(n);return i.update(t),t})):(u(e),i.update(e))};return[a,d]}function Pn(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 Nn=["style"];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 Dn(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,o.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 Ln=function(e){var n=e.isOpen,t=e.onOpen,r=e.onClose,i=e.previewNode,o=e.setPreviewNode,s=e.nodeById,c=e.linksByNodeId,a=e.nodeByCite,u=e.setSidebarHighlightedNode,d=e.canUndo,f=e.canRedo,x=e.resetPreviewNode,j=e.previousPreviewNode,b=e.nextPreviewNode,v=e.openContextMenu,C=(e.scope,e.setScope,e.windowWidth),O=e.filter,w=e.setFilter,k=e.tagColors,S=e.setTagColors,P=((0,m.useContext)(tn.N).highlightColor,(0,m.useState)()),N=P[0],I=P[1],D=Sn("sidebarWidth",400),L=(0,l.Z)(D,2),z=L[0],E=L[1];(0,m.useEffect)((function(){null!==i&&void 0!==i&&i.id?(t(),I(i)):r()}),[null===i||void 0===i?void 0:i.id]);var Z=(0,m.useState)(1),R=Z[0],T=Z[1],B=(0,m.useState)("sans serif"),F=(B[0],B[1]),H=(0,m.useState)(0),A=(H[0],H[1]);return(0,je.jsx)(we,{animateOpacity:!1,dimension:"width",in:n,unmountOnExit:!0,startingSize:0,style:{height:"100vh"},children:(0,je.jsx)(On.e,{size:{height:"100vh",width:z},onResizeStop:function(e,n,t,r){E((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:C-200,children:(0,je.jsxs)(g.k,{flexDir:"column",h:"100vh",pl:2,color:"black",bg:"alt.100",width:"100%",children:[(0,je.jsxs)(g.k,{pl:4,alignItems:"center",color:"black",width:"100%",children:[(0,je.jsx)(g.k,{flexShrink:0,children:(0,je.jsx)(y.UY3,{onContextMenu:function(e){e.preventDefault(),v(i,e)}})}),(0,je.jsx)(g.k,{whiteSpace:"nowrap",textOverflow:"ellipsis",overflow:"hidden",onContextMenu:function(e){e.preventDefault(),v(i,e)},children:(0,je.jsx)(V.X,{pl:2,whiteSpace:"nowrap",textOverflow:"ellipsis",overflow:"hidden",lineHeight:1,size:"sm",fontWeight:600,color:"gray.800",children:null===N||void 0===N?void 0:N.title})}),(0,je.jsx)(g.k,{flexDir:"row",ml:"auto",children:(0,je.jsx)(p.h,{m:1,icon:(0,je.jsx)(y.T41,{}),"aria-label":"Options",variant:"subtle",onClick:function(e){v(i,e,{left:void 0,top:12,right:20-C,bottom:void 0})}})})]}),(0,je.jsx)(ze,{setJustification:T,setIndent:A,setFont:F,justification:R,setPreviewNode:o,canUndo:d,canRedo:f,resetPreviewNode:x,previousPreviewNode:j,nextPreviewNode:b}),(0,je.jsx)(un.$B,{autoHide:!0,renderThumbVertical:function(e){var n=e.style,t=(0,ie.Z)(e,Nn);return(0,je.jsx)(h.xu,Dn({style:Dn(Dn({},n),{},{borderRadius:0})},t))},children:(0,je.jsxs)(_.gC,{flexGrow:1,alignItems:"left",bg:"alt.100",paddingLeft:4,children:[(0,je.jsx)(Te,{filter:O,setFilter:w,tagColors:k,setTagColors:S,openContextMenu:v,previewNode:i}),(0,je.jsx)(Cn,{setPreviewNode:o,previewNode:i,nodeById:s,nodeByCite:a,setSidebarHighlightedNode:u,justification:R,justificationList:["justify","start","end","center"],linksByNodeId:c,openContextMenu:v})]})})]})})})},zn=t(93924),En=t(83986),Zn=t(48931),Rn=t(56769),Tn=t(6569),Bn=t(88134),Fn=t(47647);function Hn(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?Hn(Object(t),!0).forEach((function(n){(0,o.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Hn(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var Mn=function(e){var n=e.filter,t=e.setFilter,r=e.tags,i=e.highlightColor,l=e.mode,s=r.map((function(e){return{value:e,label:e}})),c="blacklist"===l?"tagsBlacklist":"tagsWhitelist",a=(0,m.useState)(n[c].map((function(e){return{value:e,label:e}}))),u=a[0],d=a[1];return(0,je.jsx)(Fn.CUIAutoComplete,{items:s,label:"Add tag to "+l,placeholder:" ",onCreateItem:function(e){return null},disableCreateItem:!0,selectedItems:u,onSelectedItemsChange:function(e){e.selectedItems&&(d(e.selectedItems),t(An(An({},n),{},(0,o.Z)({},c,e.selectedItems.map((function(e){return e.value}))))))},listItemStyleProps:{overflow:"hidden"},highlightItemBg:"gray.400",toggleButtonStyleProps:{variant:"outline"},inputStyleProps:{focusBorderColor:i,color:"gray.800",borderColor:"gray.600"},tagStyleProps:{rounded:"full",bg:i,height:8,paddingLeft:4,fontWeight:"bold"},hideToggleButton:!0,itemRenderer:function(e){return e.label}})};function Wn(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 Vn(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?Wn(Object(t),!0).forEach((function(n){(0,o.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Wn(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var Xn=function(e){var n=e.colorList,t=e.tagColors,r=e.setTagColors,i=e.highlightColor,l=e.tags.map((function(e){return{value:e,label:e}})),s=(0,m.useState)(Object.keys(t).map((function(e){return{value:e,label:e}}))),c=s[0],a=s[1];return(0,je.jsxs)(h.xu,{children:[(0,je.jsx)(Fn.CUIAutoComplete,{items:l,label:"Add tag to filter",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:{focusBorderColor:i,color:"gray.800",borderColor:"gray.600"},tagStyleProps:{display:"none",rounded:"full",bg:i,height:8,paddingLeft:4,fontWeight:"bold"},hideToggleButton:!0,itemRenderer:function(e){return e.label}}),(0,je.jsx)(_.gC,{spacing:2,justifyContent:"flex-start",divider:(0,je.jsx)(_.cX,{borderColor:"gray.500"}),align:"stretch",color:"gray.800",children:Object.keys(t).map((function(e){return(0,je.jsxs)(g.k,{alignItems:"center",justifyContent:"space-between",width:"100%",pl:2,children:[(0,je.jsx)(h.xu,{width:"100%",children:(0,je.jsx)(U.x,{fontWeight:"bold",children:e})}),(0,je.jsxs)(W.v2,{isLazy:!0,placement:"right",children:[(0,je.jsx)(W.j2,{as:q.z,colorScheme:"",color:"black",children:(0,je.jsx)(h.xu,{bgColor:t[e],borderRadius:"sm",height:6,width:6})}),(0,je.jsxs)(nn.h,{children:[" ",(0,je.jsx)(W.qy,{minW:10,zIndex:"popover",bgColor:"gray.200",children:n.map((function(n){return(0,je.jsx)(W.sN,{onClick:function(){return r(Vn(Vn({},t),{},(0,o.Z)({},e,n)))},justifyContent:"space-between",alignItems:"center",display:"flex",children:(0,je.jsx)(h.xu,{bgColor:n,borderRadius:"sm",height:6,width:6})},n)}))})]})]}),(0,je.jsx)(p.h,{"aria-label":"Delete tag color",variant:"ghost",icon:(0,je.jsx)($.p,{}),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)}))})]})},_n=t(24682),Un=t(24189),qn=function(e){var n=e.infoText;return(0,je.jsx)(h.xu,{paddingLeft:"1",children:(0,je.jsx)(f.u,{label:n,placement:"top",color:"gray.100",bg:"gray.800",hasArrow:!0,children:(0,je.jsx)(Un.h,{})})})},Gn=["min","max","step","value"],Jn=function(e){var n=e.min,t=void 0===n?0:n,r=e.max,i=void 0===r?10:r,o=e.step,l=void 0===o?.1:o,s=e.value,c=void 0===s?1:s,a=(0,ie.Z)(e,Gn),u=a.onChange,d=a.label,g=a.infoText,p=(0,m.useContext)(tn.N).highlightColor;return(0,je.jsxs)(h.xu,{pt:1,pb:2,children:[(0,je.jsxs)(h.xu,{display:"flex",alignItems:"flex-end",children:[(0,je.jsx)(U.x,{children:d}),g&&(0,je.jsx)(qn,{infoText:g})]}),(0,je.jsxs)(_n.iR,{value:c,onChange:u,min:t,max:i,step:l,children:[(0,je.jsx)(_n.Uj,{children:(0,je.jsx)(_n.Ms,{})}),(0,je.jsx)(f.u,{bg:p,label:c.toFixed(1),children:(0,je.jsx)(_n.gs,{bg:"white"})})]})]},d)};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 Kn(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,o.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 Yn=function(e){var n=e.filter,t=e.setFilter,r=e.local,i=e.setLocal,o=e.tagColors,l=e.setTagColors,s=e.highlightColor,c=e.colorList,a=e.tags;return(0,je.jsxs)(h.xu,{children:[(0,je.jsxs)(_.gC,{spacing:2,justifyContent:"flex-start",divider:(0,je.jsx)(_.cX,{borderColor:"gray.500"}),align:"stretch",paddingLeft:7,color:"gray.800",children:[(0,je.jsxs)(g.k,{alignItems:"center",justifyContent:"space-between",children:[(0,je.jsx)(U.x,{children:"Link children to"}),(0,je.jsxs)(W.v2,{isLazy:!0,placement:"right",children:[(0,je.jsx)(W.j2,{as:q.z,rightIcon:(0,je.jsx)(Tn.v,{}),colorScheme:"",color:"black",size:"sm",children:function(){switch(n.parent){case"parent":return(0,je.jsx)(U.x,{children:"File"});case"heading":return(0,je.jsx)(U.x,{children:"Heading"});default:return(0,je.jsx)(U.x,{children:"Nothing"})}}()}),(0,je.jsxs)(nn.h,{children:[" ",(0,je.jsxs)(W.qy,{bgColor:"gray.200",zIndex:"popover",children:[(0,je.jsx)(W.sN,{onClick:function(){return t((function(e){return Kn(Kn({},e),{},{parent:""})}))},children:"Nothing"}),(0,je.jsx)(W.sN,{onClick:function(){return t((function(e){return Kn(Kn({},e),{},{parent:"parent"})}))},children:"Parent file node"}),(0,je.jsx)(W.sN,{onClick:function(){return t((function(e){return Kn(Kn({},e),{},{parent:"heading"})}))},children:"Next highest heading node"})]})]})]})]}),(0,je.jsxs)(g.k,{justifyContent:"space-between",children:[(0,je.jsx)(U.x,{children:"Orphans"}),(0,je.jsx)(Bn.r,{onChange:function(){t((function(e){return Kn(Kn({},e),{},{orphans:!e.orphans})}))},isChecked:n.orphans})]}),(0,je.jsxs)(g.k,{justifyContent:"space-between",children:[(0,je.jsx)(U.x,{children:"Dailies"}),(0,je.jsx)(Bn.r,{onChange:function(){t((function(e){return Kn(Kn({},e),{},{dailies:!e.dailies})}))},isChecked:n.dailies})]}),(0,je.jsxs)(g.k,{justifyContent:"space-between",children:[(0,je.jsx)(U.x,{children:"Org-noter pages"}),(0,je.jsx)(Bn.r,{onChange:function(){t((function(e){return Kn(Kn({},e),{},{noter:!e.noter})}))},isChecked:n.noter})]}),(0,je.jsxs)(g.k,{justifyContent:"space-between",children:[(0,je.jsx)(U.x,{children:"Citations without note files"}),(0,je.jsx)(Bn.r,{onChange:function(){t(Kn(Kn({},n),{},{filelessCites:!n.filelessCites}))},isChecked:n.filelessCites})]}),(0,je.jsxs)(g.k,{justifyContent:"space-between",children:[(0,je.jsx)(U.x,{children:"Non-existent nodes"}),(0,je.jsx)(Bn.r,{onChange:function(){l(Kn(Kn({},o),{},{bad:"white"})),t(Kn(Kn({},n),{},{bad:!n.bad}))},isChecked:n.bad})]}),(0,je.jsx)(Jn,{label:"Number of neighbors in local graph",value:r.neighbors,onChange:function(e){return i(Kn(Kn({},r),{},{neighbors:e}))},min:1,max:5,step:1})]}),(0,je.jsxs)(Rn.UQ,{padding:0,allowToggle:!0,allowMultiple:!0,paddingLeft:3,children:[(0,je.jsxs)(Rn.Qd,{children:[(0,je.jsxs)(Rn.KF,{children:["Tag filters",(0,je.jsx)(Rn.XE,{})]}),(0,je.jsxs)(Rn.Hk,{pr:0,mr:0,children:[(0,je.jsx)(Mn,{highlightColor:s,filter:n,setFilter:t,tags:a,mode:"blacklist"}),(0,je.jsx)(Mn,{highlightColor:s,filter:n,setFilter:t,tags:a,mode:"whitelist"})]})]}),(0,je.jsxs)(Rn.Qd,{children:[(0,je.jsxs)(Rn.KF,{children:["Tag colors",(0,je.jsx)(Rn.XE,{})]}),(0,je.jsx)(Rn.Hk,{pr:0,mr:0,children:(0,je.jsx)(Xn,{tags:a,colorList:c,tagColors:o,setTagColors:l,highlightColor:s})})]})]})]})},$n=t(15267),et=function(e){var n=e.value,t=e.onChange,r=e.label,i=e.infoText,o=e.children;return(0,je.jsxs)(h.xu,{paddingTop:2,children:[(0,je.jsxs)(h.xu,{display:"flex",justifyContent:"space-between",paddingBottom:2,children:[(0,je.jsxs)(h.xu,{display:"flex",alignItems:"center",children:[(0,je.jsx)(U.x,{children:r}),i&&(0,je.jsx)(qn,{infoText:i})]}),(0,je.jsx)(Bn.r,{isChecked:!!n,onChange:t})]}),(0,je.jsx)($n.U,{in:!!n,animateOpacity:!0,children:(0,je.jsx)(h.xu,{paddingLeft:4,paddingTop:2,paddingBottom:2,children:o})})]},r)};function nt(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?nt(Object(t),!0).forEach((function(n){(0,o.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):nt(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=(0,m.useCallback)((function(e,n,r){t((function(t){return tt(tt({},t),{},(0,o.Z)({},n,e/r))}))}),[]);return(0,je.jsxs)(h.xu,{children:[(0,je.jsxs)(_.gC,{spacing:2,justifyContent:"flex-start",divider:(0,je.jsx)(_.cX,{borderColor:"gray.500"}),align:"stretch",paddingLeft:7,color:"gray.800",children:[(0,je.jsxs)(et,{label:"Gravity",value:n.gravityOn,onChange:function(){return t(tt(tt({},n),{},{gravityOn:!n.gravityOn}))},children:[(0,je.jsxs)(g.k,{justifyContent:"space-between",children:[(0,je.jsx)(U.x,{children:"Also in local"}),(0,je.jsx)(Bn.r,{onChange:function(){t((function(e){return tt(tt({},e),{},{gravityLocal:!e.gravityLocal})}))},isChecked:n.gravityLocal})]}),(0,je.jsx)(Jn,{label:"Strength",value:10*n.gravity,onChange:function(e){return r(e,"gravity",10)}})]}),(0,je.jsx)(Jn,{value:-n.charge/100,onChange:function(e){return r(e,"charge",-.01)},label:"Repulsive Force"}),(0,je.jsx)(et,{label:"Collision",infoText:"Perfomance sap, disable if slow",value:n.collision,onChange:function(){return t(tt(tt({},n),{},{collision:!n.collision}))},children:(0,je.jsx)(Jn,{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,je.jsx)(Jn,{value:5*n.linkStrength,onChange:function(e){return r(e,"linkStrength",5)},label:"Link Force"}),(0,je.jsx)(Jn,{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,je.jsx)(Jn,{label:"Viscosity",value:10*n.velocityDecay,onChange:function(e){return r(e,"velocityDecay",10)}})]}),(0,je.jsx)(h.xu,{children:(0,je.jsx)(Rn.UQ,{paddingLeft:3,allowToggle:!0,children:(0,je.jsxs)(Rn.Qd,{children:[(0,je.jsxs)(Rn.KF,{children:[(0,je.jsx)(U.x,{children:"Advanced"}),(0,je.jsx)(Rn.XE,{marginRight:2})]}),(0,je.jsx)(Rn.Hk,{children:(0,je.jsxs)(_.gC,{spacing:2,justifyContent:"flex-start",divider:(0,je.jsx)(_.cX,{borderColor:"gray.500"}),align:"stretch",paddingLeft:3,color:"gray.800",children:[(0,je.jsx)(Jn,{label:"Stabilization rate",value:50*n.alphaDecay,onChange:function(e){return r(e,"alphaDecay",50)}}),(0,je.jsx)(et,{label:"Center nodes",value:n.centering,onChange:function(){return t(tt(tt({},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,je.jsx)(Jn,{label:"Centering Strength",value:n.centeringStrength,max:2,step:.01,onChange:function(e){return r(e,"centeringStrength",1)}})})]})})]})})})]})},it=t(46049);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 lt(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,o.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,je.jsx)(_.gC,{spacing:2,justifyContent:"flex-start",divider:(0,je.jsx)(_.cX,{borderColor:"gray.500"}),align:"stretch",color:"gray.800",children:(0,je.jsx)(h.xu,{children:(0,je.jsx)(et,{label:"Highlight",onChange:function(){return t((function(e){return lt(lt({},e),{},{highlight:!e.highlight})}))},value:n.highlight,children:(0,je.jsxs)(_.gC,{spacing:1,justifyContent:"flex-start",divider:(0,je.jsx)(_.cX,{borderColor:"gray.400"}),align:"stretch",paddingLeft:0,children:[(0,je.jsx)(Jn,{label:"Highlight Link Thickness",value:n.highlightLinkSize,onChange:function(e){return t((function(n){return lt(lt({},n),{},{highlightLinkSize:e})}))}}),(0,je.jsx)(Jn,{label:"Highlight Node Size",value:n.highlightNodeSize,onChange:function(e){return t((function(n){return lt(lt({},n),{},{highlightNodeSize:e})}))}}),(0,je.jsx)(Jn,{min:0,max:1,label:"Highlight Fade",value:n.highlightFade,onChange:function(e){return t((function(n){return lt(lt({},n),{},{highlightFade:e})}))}}),(0,je.jsxs)(et,{label:"Highlight Animation",onChange:function(){t((function(e){return lt(lt({},e),{},{highlightAnim:!e.highlightAnim})}))},value:n.highlightAnim,children:[(0,je.jsx)(Jn,{label:"Animation speed",onChange:function(e){return t((function(n){return lt(lt({},n),{},{animationSpeed:e})}))},value:n.animationSpeed,infoText:"Slower speed has a chance of being buggy",min:50,max:1e3,step:10}),(0,je.jsx)(it.Ph,{placeholder:n.algorithmName,onChange:function(e){t((function(n){return lt(lt({},n),{},{algorithmName:e.target.value})}))},children:n.algorithmOptions.map((function(e){return(0,je.jsx)("option",{value:e,children:e},e)}))})]})]})})})})},ct=t(67546),at=t(93441);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,o.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.label,t=e.colorList,r=e.value,i=e.visValue,l=e.setVisuals,s=e.noEmpty,c=(0,m.useCallback)((function(e){return l((function(n){return dt(dt({},n),{},(0,o.Z)({},r,e))}))}),[]);return(0,je.jsxs)(g.k,{alignItems:"center",justifyContent:"space-between",children:[(0,je.jsx)(U.x,{children:n}),(0,je.jsxs)(en.J2,{isLazy:!0,placement:"right",children:[(0,je.jsx)(en.xo,{children:(0,je.jsx)(q.z,{colorScheme:"",color:"black",rightIcon:(0,je.jsx)(Tn.v,{}),children:(0,je.jsx)(h.xu,{bgColor:i,borderRadius:"sm",height:6,width:6})})}),(0,je.jsx)(nn.h,{children:(0,je.jsx)(en.yk,{zIndex:"tooltip",maxW:36,position:"relative",children:(0,je.jsxs)(g.k,{flexWrap:"wrap",bgColor:"gray.200",children:[!s&&(0,je.jsx)(h.xu,{onClick:function(){return c("")},justifyContent:"space-between",alignItems:"center",display:"flex",m:1,children:(0,je.jsx)(h.xu,{height:6,width:6,borderColor:"gray.600",borderRadius:"xl",borderWidth:1})}),t.map((function(e){return(0,je.jsx)(h.xu,{m:1,onClick:function(){return c(e)},justifyContent:"space-between",alignItems:"center",display:"flex",children:(0,je.jsx)(h.xu,{bgColor:e,borderRadius:"xl",height:6,width:6})},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,o.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.visuals,t=e.setVisualsCallback,r=e.highlightColor,o=e.setHighlightColor;return(0,je.jsx)(_.gC,{spacing:2,justifyContent:"flex-start",divider:(0,je.jsx)(_.cX,{borderColor:"gray.500"}),align:"stretch",color:"gray.800",children:(0,je.jsxs)(h.xu,{children:[(0,je.jsxs)(g.k,{alignItems:"center",justifyContent:"space-between",children:[(0,je.jsx)(U.x,{children:"Nodes"}),(0,je.jsx)(f.u,{label:"Shuffle node colors",children:(0,je.jsx)(p.h,{"aria-label":"Shuffle node colors",size:"sm",icon:(0,je.jsx)(ct.n,{}),variant:"ghost",onClick:function(){var e,r=null!==(e=n.nodeColorScheme)&&void 0!==e?e:[];t(ft(ft({},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,je.jsx)(f.u,{label:"Cycle node colors",children:(0,je.jsx)(p.h,{"aria-label":"Shift node colors",icon:(0,je.jsx)(at.L,{}),size:"sm",variant:"ghost",onClick:function(){var e,r=null!==(e=n.nodeColorScheme)&&void 0!==e?e:[];t(ft(ft({},n),{},{nodeColorScheme:[].concat((0,i.Z)(r.slice(1,r.length)),[r[0]])}))}})}),(0,je.jsxs)(W.v2,{isLazy:!0,placement:"right",closeOnSelect:!1,matchWidth:!0,children:[(0,je.jsx)(W.j2,{width:20,as:q.z,colorScheme:"",color:"black",rightIcon:(0,je.jsx)(Tn.v,{}),children:(0,je.jsx)(g.k,{height:6,width:6,flexDirection:"column",flexWrap:"wrap",children:n.nodeColorScheme.map((function(e){return(0,je.jsx)(h.xu,{bgColor:e,flex:"1 1 8px",borderRadius:"2xl"},e)}))})}),(0,je.jsxs)(nn.h,{children:[" ",(0,je.jsx)(W.qy,{minW:10,zIndex:"popover",bgColor:"gray.200",children:(0,je.jsx)(W.__,{width:500,type:"checkbox",defaultValue:n.nodeColorScheme,onChange:function(e){e.length&&t(ft(ft({},n),{},{nodeColorScheme:e}))},children:M.map((function(e){return(0,je.jsx)(W.ii,{isChecked:n.nodeColorScheme.some((function(n){return n===e})),value:e,isDisabled:1===n.nodeColorScheme.length&&n.nodeColorScheme[0]===e,children:(0,je.jsx)(h.xu,{justifyContent:"space-between",alignItems:"center",display:"flex",children:(0,je.jsx)(h.xu,{bgColor:e,borderRadius:"sm",height:6,width:6})})},e)}))})})]})]})]}),(0,je.jsxs)(g.k,{alignItems:"center",justifyContent:"space-between",children:[(0,je.jsx)(U.x,{children:"Links"}),(0,je.jsxs)(W.v2,{isLazy:!0,placement:"right",children:[(0,je.jsx)(W.j2,{as:q.z,colorScheme:"",color:"black",rightIcon:(0,je.jsx)(Tn.v,{}),children:(0,je.jsx)(h.xu,{children:n.linkColorScheme?(0,je.jsx)(h.xu,{bgColor:n.linkColorScheme,borderRadius:"sm",height:6,width:6}):(0,je.jsx)(g.k,{height:6,width:6,flexDirection:"column",flexWrap:"wrap",children:n.nodeColorScheme.map((function(e){return(0,je.jsx)(h.xu,{bgColor:e,flex:"1 1 8px",borderRadius:"2xl"},e)}))})})}),(0,je.jsxs)(nn.h,{children:[" ",(0,je.jsxs)(W.qy,{minW:10,zIndex:"popover",bgColor:"gray.200",children:[(0,je.jsx)(W.sN,{onClick:function(){return t(ft(ft({},n),{},{linkColorScheme:""}))},justifyContent:"space-between",alignItems:"center",display:"flex",children:(0,je.jsx)(g.k,{height:6,width:6,flexDirection:"column",flexWrap:"wrap",children:n.nodeColorScheme.map((function(e){return(0,je.jsx)(h.xu,{bgColor:e,flex:"1 1 8px",borderRadius:"2xl"},e)}))})}),M.map((function(e){return(0,je.jsx)(W.sN,{onClick:function(){return t(ft(ft({},n),{},{linkColorScheme:e}))},justifyContent:"space-between",alignItems:"center",display:"flex",children:(0,je.jsx)(h.xu,{bgColor:e,borderRadius:"sm",height:6,width:6})},e)}))]})]})]})]}),(0,je.jsxs)(g.k,{alignItems:"center",justifyContent:"space-between",children:[(0,je.jsx)(U.x,{children:"Accent"}),(0,je.jsxs)(W.v2,{isLazy:!0,placement:"right",children:[(0,je.jsx)(W.j2,{as:q.z,colorScheme:"",color:"black",rightIcon:(0,je.jsx)(Tn.v,{}),children:(0,je.jsx)(h.xu,{bgColor:r,borderRadius:"sm",height:6,width:6})}),(0,je.jsxs)(nn.h,{children:[" ",(0,je.jsx)(W.qy,{minW:10,zIndex:"popover",bgColor:"gray.200",children:M.map((function(e){return(0,je.jsx)(W.sN,{onClick:function(){return o(e)},justifyContent:"space-between",alignItems:"center",display:"flex",children:(0,je.jsx)(h.xu,{bgColor:e,borderRadius:"sm",height:6,width:6})},e)}))})]})]})]}),(0,je.jsx)(ht,{colorList:M,label:"Link highlight",setVisuals:t,value:"linkHighlight",visValue:n.linkHighlight}),(0,je.jsx)(ht,{colorList:M,label:"Node highlight",setVisuals:t,value:"nodeHighlight",visValue:n.nodeHighlight}),(0,je.jsx)(ht,{colorList:M,label:"Background",setVisuals:t,value:"backgroundColor",visValue:n.backgroundColor}),(0,je.jsx)(ht,{colorList:M,label:"Emacs node",setVisuals:t,value:"emacsNodeColor",visValue:n.emacsNodeColor})]})})};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,o.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.setVisuals,r=e.threeDim;return(0,je.jsx)(_.gC,{spacing:2,justifyContent:"flex-start",divider:(0,je.jsx)(_.cX,{borderColor:"gray.500"}),align:"stretch",color:"gray.800",children:(0,je.jsxs)(h.xu,{children:[(0,je.jsx)(Jn,{label:"Node size",value:n.nodeRel,onChange:function(e){return t(jt(jt({},n),{},{nodeRel:e}))}}),(0,je.jsx)(Jn,{label:"Node connections size scale",value:n.nodeSizeLinks,min:0,max:2,onChange:function(e){return t(jt(jt({},n),{},{nodeSizeLinks:e}))}}),(0,je.jsx)(Jn,{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 jt(jt({},n),{},{nodeZoomSize:e})}))}}),r&&(0,je.jsxs)(je.Fragment,{children:[(0,je.jsx)(Jn,{label:"Node opacity",value:n.nodeOpacity,min:0,max:1,onChange:function(e){return t(jt(jt({},n),{},{nodeOpacity:e}))}}),(0,je.jsx)(Jn,{label:"Node resolution",value:n.nodeResolution,min:5,max:32,step:1,onChange:function(e){return t(jt(jt({},n),{},{nodeResolution:e}))}})]}),(0,je.jsx)(Jn,{label:"Link width",value:n.linkWidth,onChange:function(e){return t(jt(jt({},n),{},{linkWidth:e}))}}),r&&(0,je.jsx)(Jn,{label:"Link opacity",min:0,max:1,value:n.linkOpacity,onChange:function(e){return t(jt(jt({},n),{},{linkOpacity:e}))}}),(0,je.jsxs)(et,{label:"Link arrows",value:n.arrows,onChange:function(){return t(jt(jt({},n),{},{arrows:!n.arrows}))},children:[(0,je.jsx)(Jn,{label:"Arrow size",value:n.arrowsLength/10,onChange:function(e){return t(jt(jt({},n),{},{arrowsLength:10*e}))}}),(0,je.jsx)(Jn,{label:"Arrow Position",value:n.arrowsPos,min:0,max:1,step:.01,onChange:function(e){return t(jt(jt({},n),{},{arrowsPos:e}))}}),(0,je.jsx)(ht,{colorList:M,label:"Arrow Color",setVisuals:t,value:"arrowsColor",visValue:n.arrowsColor},"arrow")]}),(0,je.jsxs)(et,{label:"Directional Particles",value:n.particles,onChange:function(){return t(jt(jt({},n),{},{particles:!n.particles}))},children:[(0,je.jsx)(Jn,{label:"Particle Number",value:n.particlesNumber,max:5,step:1,onChange:function(e){return t(jt(jt({},n),{},{particlesNumber:e}))}}),(0,je.jsx)(Jn,{label:"Particle Size",value:n.particlesWidth,onChange:function(e){return t(jt(jt({},n),{},{particlesWidth: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 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,o.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;return(0,je.jsx)(_.gC,{spacing:2,justifyContent:"flex-start",divider:(0,je.jsx)(_.cX,{borderColor:"gray.500"}),align:"stretch",color:"gray.800",children:(0,je.jsxs)(h.xu,{children:[(0,je.jsxs)(g.k,{alignItems:"center",justifyContent:"space-between",children:[(0,je.jsx)(U.x,{children:"Show labels"}),(0,je.jsxs)(W.v2,{isLazy:!0,placement:"right",children:[(0,je.jsx)(W.j2,{as:q.z,colorScheme:"",color:"black",rightIcon:(0,je.jsx)(Tn.v,{}),children:n.labels?n.labels<2?"On Highlight":"Always":"Never"}),(0,je.jsxs)(nn.h,{children:[" ",(0,je.jsxs)(W.qy,{zIndex:"popover",bgColor:"gray.200",children:[(0,je.jsx)(W.sN,{onClick:function(){return t(mt(mt({},n),{},{labels:0}))},children:"Never"}),(0,je.jsx)(W.sN,{onClick:function(){return t(mt(mt({},n),{},{labels:1}))},children:"On Highlight"}),(0,je.jsx)(W.sN,{onClick:function(){return t(mt(mt({},n),{},{labels:2}))},children:"Always"}),(0,je.jsx)(W.sN,{onClick:function(){return t(mt(mt({},n),{},{labels:3}))},children:"Always (even in 3D)"})]})]})]})]}),(0,je.jsxs)(_.gC,{spacing:1,justifyContent:"flex-start",divider:(0,je.jsx)(_.cX,{borderColor:"gray.400"}),align:"stretch",paddingLeft:2,color:"gray.800",children:[(0,je.jsx)(Jn,{label:"Label font size",value:n.labelFontSize,min:5,max:20,step:.5,onChange:function(e){return t(mt(mt({},n),{},{labelFontSize:e}))}}),(0,je.jsx)(Jn,{label:"Max. label characters",value:n.labelLength,min:10,max:100,step:1,onChange:function(e){return t(mt(mt({},n),{},{labelLength:e}))}}),(0,je.jsx)(Jn,{label:"Max. label line length",value:n.labelWordWrap,min:10,max:100,step:1,onChange:function(e){return t(mt(mt({},n),{},{labelWordWrap:e}))}}),(0,je.jsx)(Jn,{label:"Space between label lines",value:n.labelLineSpace,min:.2,max:3,step:.1,onChange:function(e){return t(mt(mt({},n),{},{labelLineSpace:e}))}}),(0,je.jsx)(ht,{colorList:M,label:"Text",setVisuals:t,value:"labelTextColor",visValue:n.labelTextColor}),(0,je.jsx)(ht,{colorList:M,label:"Background",setVisuals:t,value:"labelBackgroundColor",visValue:n.labelBackgroundColor}),(0,je.jsx)($n.U,{in:!!n.labelBackgroundColor,animateOpacity:!0,children:(0,je.jsx)(h.xu,{paddingTop:2,children:(0,je.jsx)(Jn,{label:"Background opacity",value:n.labelBackgroundOpacity,onChange:function(e){console.log(n.labelBackgroundOpacity),t(mt(mt({},n),{},{labelBackgroundOpacity:e}))},min:0,max:1,step:.01})})}),(0,je.jsx)($n.U,{in:n.labels>1,animateOpacity:!0,children:(0,je.jsx)(h.xu,{paddingTop:2,children:(0,je.jsx)(Jn,{label:"Label Appearance Scale",value:5*n.labelScale,onChange:function(e){return t(mt(mt({},n),{},{labelScale:e/5}))}})})})]})]})})};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,o.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,je.jsx)(_.gC,{spacing:2,justifyContent:"flex-start",divider:(0,je.jsx)(_.cX,{borderColor:"gray.500"}),align:"stretch",color:"gray.800",children:(0,je.jsxs)(h.xu,{children:[(0,je.jsxs)(et,{label:"Dash cite links",infoText:"Add dashes to citation links made with org-roam-bibtex",value:n.citeDashes,onChange:function(){return t(Ot(Ot({},n),{},{citeDashes:!n.citeDashes}))},children:[(0,je.jsx)(Jn,{label:"Dash length",value:n.citeDashLength/10,onChange:function(e){return t(Ot(Ot({},n),{},{citeDashLength:10*e}))}}),(0,je.jsx)(Jn,{label:"Gap length",value:n.citeGapLength/5,onChange:function(e){return t(Ot(Ot({},n),{},{citeGapLength:5*e}))}})]}),(0,je.jsx)(ht,{colorList:M,label:"Citation node color",setVisuals:t,value:"citeNodeColor",visValue:n.citeNodeColor}),(0,je.jsx)(ht,{colorList:M,label:"Citation link color",setVisuals:t,value:"citeLinkColor",visValue:n.citeLinkColor}),(0,je.jsx)(ht,{colorList:M,label:"Reference link highlight",setVisuals:t,value:"citeLinkHighlightColor",visValue:n.citeLinkHighlightColor}),(0,je.jsxs)(et,{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(Ot(Ot({},n),{},{refDashes:!n.refDashes}))},children:[(0,je.jsx)(Jn,{label:"Dash length",value:n.refDashLength/10,onChange:function(e){return t(Ot(Ot({},n),{},{refDashLength:10*e}))}}),(0,je.jsx)(Jn,{label:"Gap length",value:n.refGapLength/5,onChange:function(e){return t(Ot(Ot({},n),{},{refGapLength:5*e}))}})]}),(0,je.jsx)(ht,{colorList:M,label:"Reference node color",setVisuals:t,value:"refNodeColor",visValue:n.refNodeColor}),(0,je.jsx)(ht,{colorList:M,label:"Reference link color",setVisuals:t,value:"refLinkColor",visValue:n.refLinkColor}),(0,je.jsx)(ht,{colorList:M,label:"Reference link highlight",setVisuals:t,value:"refLinkHighlightColor",visValue:n.refLinkHighlightColor})]})})},kt=t(67690),St=function(){var e=(0,m.useContext)(tn.N),n=e.emacsTheme,t=e.setEmacsTheme;e.highlightColor;return(0,je.jsxs)(g.k,{alignItems:"center",justifyContent:"space-between",pl:7,pr:2,children:[(0,je.jsx)(U.x,{children:"Theme"}),(0,je.jsxs)(W.v2,{isLazy:!0,placement:"bottom",closeOnSelect:!1,children:[(0,je.jsx)(W.j2,{as:q.z,colorScheme:"",color:"black",rightIcon:(0,je.jsx)(Tn.v,{}),children:n[0]}),(0,je.jsxs)(W.qy,{minW:10,zIndex:"popover",bgColor:"gray.200",children:[(0,je.jsx)(W.sN,{onClick:function(){return""},justifyContent:"space-between",alignItems:"center",display:"flex",children:(0,je.jsx)(h.xu,{height:6,width:6})}),Object.keys(kt.n).map((function(e,n){return(0,je.jsxs)(W.sN,{onClick:function(){return t([e,kt.n[e]])},justifyContent:"space-between",alignItems:"center",display:"flex",children:[(0,je.jsx)(U.x,{children:e}),(0,je.jsx)(g.k,{height:6,width:20,flexDirection:"column",flexWrap:"wrap",children:Object.values(kt.n[e]).map((function(e){return(0,je.jsx)(h.xu,{bgColor:e,flex:"1 1 8px"},e)}))})]},e)}))]})]})]})},Pt=function(e){var n=e.visuals,t=e.setVisuals,r=e.highlightColor,i=e.setHighlightColor,o=e.threeDim,l=(0,m.useCallback)((function(e){return t(e)}),[]);return(0,je.jsxs)(_.gC,{justifyContent:"flex-start",align:"stretch",children:[(0,je.jsx)(St,{}),(0,je.jsxs)(Rn.UQ,{allowToggle:!0,defaultIndex:[0],paddingLeft:3,children:[(0,je.jsxs)(Rn.Qd,{children:[(0,je.jsx)(Rn.KF,{children:(0,je.jsxs)(g.k,{justifyContent:"space-between",w:"100%",children:[(0,je.jsx)(U.x,{children:"Colors"}),(0,je.jsx)(Rn.XE,{marginRight:2})]})}),(0,je.jsx)(Rn.Hk,{children:(0,je.jsx)(pt,{visuals:n,setVisualsCallback:l,highlightColor:r,setHighlightColor:i})})]}),(0,je.jsxs)(Rn.Qd,{children:[(0,je.jsx)(Rn.KF,{children:(0,je.jsxs)(g.k,{justifyContent:"space-between",w:"100%",children:[(0,je.jsx)(U.x,{children:"Nodes & Links"}),(0,je.jsx)(Rn.XE,{marginRight:2})]})}),(0,je.jsx)(Rn.Hk,{children:(0,je.jsx)(bt,{visuals:n,setVisuals:l,threeDim:o})})]}),(0,je.jsxs)(Rn.Qd,{children:[(0,je.jsx)(Rn.KF,{children:(0,je.jsxs)(g.k,{justifyContent:"space-between",w:"100%",children:[(0,je.jsx)(U.x,{children:"Labels"}),(0,je.jsx)(Rn.XE,{marginRight:2})]})}),(0,je.jsx)(Rn.Hk,{children:(0,je.jsx)(yt,{visuals:n,setVisuals:l})})]}),(0,je.jsxs)(Rn.Qd,{children:[(0,je.jsx)(Rn.KF,{children:(0,je.jsxs)(g.k,{justifyContent:"space-between",w:"100%",children:[(0,je.jsx)(U.x,{children:"Highlighting"}),(0,je.jsx)(Rn.XE,{marginRight:2})]})}),(0,je.jsx)(Rn.Hk,{children:(0,je.jsx)(st,{visuals:n,setVisuals:l})})]}),(0,je.jsxs)(Rn.Qd,{children:[(0,je.jsx)(Rn.KF,{children:(0,je.jsxs)(g.k,{justifyContent:"space-between",w:"100%",children:[(0,je.jsx)(U.x,{children:"Citations"}),(0,je.jsx)(Rn.XE,{marginRight:2})]})}),(0,je.jsx)(Rn.Hk,{children:(0,je.jsx)(wt,{visuals:n,setVisuals:l})})]})]})]})};function Nt(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 It(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?Nt(Object(t),!0).forEach((function(n){(0,o.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Nt(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,i=e.setMouse;return(0,je.jsxs)(_.gC,{spacing:2,justifyContent:"flex-start",divider:(0,je.jsx)(_.cX,{borderColor:"gray.500"}),align:"stretch",paddingLeft:7,color:"gray.800",children:[(0,je.jsxs)(g.k,{alignItems:"center",justifyContent:"space-between",children:[(0,je.jsx)(U.x,{children:"Preview node"}),(0,je.jsxs)(W.v2,{isLazy:!0,placement:"right",children:[(0,je.jsx)(W.j2,{as:q.z,rightIcon:(0,je.jsx)(Tn.v,{}),colorScheme:"",color:"black",children:(0,je.jsx)(U.x,{children:r.preview?r.preview[0].toUpperCase()+r.preview.slice(1):"Never"})}),(0,je.jsxs)(nn.h,{children:[" ",(0,je.jsxs)(W.qy,{bgColor:"gray.200",zIndex:"popover",children:[(0,je.jsx)(W.sN,{onClick:function(){return i(It(It({},r),{},{preview:""}))},children:"Never"}),(0,je.jsx)(W.sN,{onClick:function(){return i(It(It({},r),{},{preview:"click"}))},children:"Click"}),(0,je.jsx)(W.sN,{onClick:function(){return i(It(It({},r),{},{preview:"double"}))},children:"Double Click"})]})]})]})]}),(0,je.jsxs)(g.k,{alignItems:"center",justifyContent:"space-between",children:[(0,je.jsxs)(g.k,{children:[(0,je.jsx)(U.x,{children:"Expand Node"}),(0,je.jsx)(qn,{infoText:"View only the node and its direct neighbors"})]}),(0,je.jsxs)(W.v2,{isLazy:!0,placement:"right",children:[(0,je.jsx)(W.j2,{as:q.z,rightIcon:(0,je.jsx)(Tn.v,{}),colorScheme:"",color:"black",children:(0,je.jsx)(U.x,{children:r.local?r.local[0].toUpperCase()+r.local.slice(1):"Never"})}),(0,je.jsxs)(nn.h,{children:[" ",(0,je.jsxs)(W.qy,{zIndex:"popover",bgColor:"gray.200",children:[(0,je.jsx)(W.sN,{onClick:function(){return i(It(It({},r),{},{local:""}))},children:"Never"}),(0,je.jsx)(W.sN,{onClick:function(){return i(It(It({},r),{},{local:"click"}))},children:"Click"}),(0,je.jsx)(W.sN,{onClick:function(){return i(It(It({},r),{},{local:"double"}))},children:"Double Click"}),(0,je.jsx)(W.sN,{onClick:function(){return i(It(It({},r),{},{local:"right"}))},children:"Right Click"})]})]})]})]}),(0,je.jsxs)(g.k,{alignItems:"center",justifyContent:"space-between",children:[(0,je.jsx)(U.x,{children:"Open in Emacs"}),(0,je.jsxs)(W.v2,{isLazy:!0,placement:"right",children:[(0,je.jsx)(W.j2,{as:q.z,rightIcon:(0,je.jsx)(Tn.v,{}),colorScheme:"",color:"black",children:(0,je.jsx)(U.x,{children:r.follow?r.follow[0].toUpperCase()+r.follow.slice(1):"Never"})}),(0,je.jsxs)(nn.h,{children:[" ",(0,je.jsxs)(W.qy,{bgColor:"gray.200",zIndex:"popover",children:[(0,je.jsx)(W.sN,{onClick:function(){return i(It(It({},r),{},{follow:""}))},children:"Never"}),(0,je.jsx)(W.sN,{onClick:function(){return i(It(It({},r),{},{follow:"click"}))},children:"Click"}),(0,je.jsx)(W.sN,{onClick:function(){return i(It(It({},r),{},{follow:"double"}))},children:"Double Click"}),(0,je.jsx)(W.sN,{onClick:function(){return i(It(It({},r),{},{follow:"right"}))},children:"Right Click"})]})]})]})]}),(0,je.jsxs)(g.k,{alignItems:"center",justifyContent:"space-between",children:[(0,je.jsx)(U.x,{children:"Follow Emacs by..."}),(0,je.jsxs)(W.v2,{isLazy:!0,placement:"right",children:[(0,je.jsx)(W.j2,{as:q.z,rightIcon:(0,je.jsx)(Tn.v,{}),colorScheme:"",color:"black",children:(0,je.jsx)(U.x,{children:n.follow[0].toUpperCase()+n.follow.slice(1)})}),(0,je.jsxs)(nn.h,{children:[" ",(0,je.jsxs)(W.qy,{bgColor:"gray.200",zIndex:"popover",children:[(0,je.jsx)(W.sN,{onClick:function(){return t(It(It({},n),{},{follow:"color"}))},children:"Just coloring the currently opened node"}),(0,je.jsx)(W.sN,{onClick:function(){return t(It(It({},n),{},{follow:"local"}))},children:"Opening the local graph"}),(0,je.jsx)(W.sN,{onClick:function(){return t(It(It({},n),{},{follow:"zoom"}))},children:"Zooming to the current node"})]})]})]})]}),(0,je.jsxs)(g.k,{alignItems:"center",justifyContent:"space-between",children:[(0,je.jsxs)(g.k,{children:[(0,je.jsx)(U.x,{children:"Local graph"}),(0,je.jsx)(qn,{infoText:"When in local mode and clicking a new node, should I add that node's local graph or open the new one?"})]}),(0,je.jsxs)(W.v2,{isLazy:!0,placement:"right",children:[(0,je.jsx)(W.j2,{as:q.z,rightIcon:(0,je.jsx)(Tn.v,{}),colorScheme:"",color:"black",children:(0,je.jsx)(U.x,{children:"add"===n.localSame?"Add":"Replace"})}),(0,je.jsxs)(nn.h,{children:[" ",(0,je.jsxs)(W.qy,{bgColor:"gray.200",zIndex:"popover",children:[(0,je.jsx)(W.sN,{onClick:function(){return t(It(It({},n),{},{localSame:"replace"}))},children:"Open that nodes graph"}),(0,je.jsx)(W.sN,{onClick:function(){return t(It(It({},n),{},{localSame:"add"}))},children:"Add node to local graph"})]})]})]})]}),(0,je.jsx)(Jn,{label:"Zoom speed",value:n.zoomSpeed,min:0,max:4e3,step:100,onChange:function(e){return t(It(It({},n),{},{zoomSpeed:e}))}}),(0,je.jsx)(Jn,{label:"Zoom padding",value:n.zoomPadding,min:0,max:400,step:1,onChange:function(e){return t(It(It({},n),{},{zoomPadding:e}))},infoText:"How much to zoom out to accomodate all nodes when changing the view."})]})},Lt=["style"];function zt(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?zt(Object(t),!0).forEach((function(n){(0,o.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):zt(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var Zt=function(e){var n=e.physics,t=e.setPhysics,r=e.threeDim,i=e.setThreeDim,o=e.filter,s=e.setFilter,c=e.visuals,a=e.setVisuals,u=e.mouse,d=e.setMouse,g=e.behavior,x=e.setBehavior,j=e.tags,b=e.tagColors,v=e.setTagColors,y=e.local,C=e.setLocal,O=Sn("showTweaks",!1),w=(0,l.Z)(O,2),k=w[0],S=w[1],P=(0,m.useContext)(tn.N),N=P.highlightColor,I=P.setHighlightColor;return k?(0,je.jsxs)(h.xu,{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,je.jsxs)(h.xu,{display:"flex",justifyContent:"space-between",alignItems:"center",paddingRight:2,paddingTop:1,children:[(0,je.jsx)(f.u,{label:"2D",children:(0,je.jsx)(q.z,{onClick:function(){return i(!r)},variant:"subtle",zIndex:"overlay",children:r?"3D":"2D"})}),(0,je.jsxs)(h.xu,{display:"flex",alignItems:"center",children:[(0,je.jsx)(f.u,{label:"Reset settings to defaults",children:(0,je.jsx)(p.h,{"aria-label":"Reset Defaults",icon:(0,je.jsx)(En.A,{}),onClick:function(){a(B),s(T),d(H),t(R),x(F)},variant:"subtle",size:"sm"})}),(0,je.jsx)(p.h,{size:"sm",icon:(0,je.jsx)(Zn.T,{}),"aria-label":"Close Tweak Panel",variant:"subtle",onClick:function(){return S(!1)}})]})]}),(0,je.jsx)(un.ZP,{autoHeight:!0,autoHeightMax:.85*globalThis.innerHeight,autoHide:!0,renderThumbVertical:function(e){var n=e.style,t=(0,ie.Z)(e,Lt);return(0,je.jsx)(h.xu,Et(Et({},t),{},{style:Et(Et({},n),{},{borderRadius:10}),bg:N}))},children:(0,je.jsxs)(Rn.UQ,{allowMultiple:!0,allowToggle:!0,color:"black",children:[(0,je.jsxs)(Rn.Qd,{children:[(0,je.jsxs)(Rn.KF,{children:[(0,je.jsx)(Rn.XE,{marginRight:2}),(0,je.jsx)(V.X,{size:"sm",children:"Filter"})]}),(0,je.jsx)(Rn.Hk,{children:(0,je.jsx)(Yn,{filter:o,setFilter:s,tagColors:b,setTagColors:v,highlightColor:N,colorList:M,tags:j,local:y,setLocal:C})})]}),(0,je.jsxs)(Rn.Qd,{children:[(0,je.jsx)(Rn.KF,{display:"flex",justifyContent:"space-between",children:(0,je.jsxs)(h.xu,{display:"flex",children:[(0,je.jsx)(Rn.XE,{marginRight:2}),(0,je.jsx)(V.X,{size:"sm",children:"Physics"})]})}),(0,je.jsx)(Rn.Hk,{children:(0,je.jsx)(rt,{physics:n,setPhysics:t})})]}),(0,je.jsxs)(Rn.Qd,{children:[(0,je.jsxs)(Rn.KF,{children:[(0,je.jsx)(Rn.XE,{marginRight:2}),(0,je.jsx)(V.X,{size:"sm",children:"Visual"})]}),(0,je.jsx)(Rn.Hk,{children:(0,je.jsx)(Pt,{visuals:c,setVisuals:a,highlightColor:N,setHighlightColor:I,threeDim:r})})]}),(0,je.jsxs)(Rn.Qd,{children:[(0,je.jsxs)(Rn.KF,{children:[(0,je.jsx)(Rn.XE,{marginRight:2}),(0,je.jsx)(V.X,{size:"sm",children:"Behavior"})]}),(0,je.jsx)(Rn.Hk,{children:(0,je.jsx)(Dt,{behavior:g,setBehavior:x,mouse:u,setMouse:d})})]})]})})]}):(0,je.jsx)(h.xu,{position:"absolute",zIndex:"overlay",marginTop:1,marginLeft:0,display:k?"none":"block",children:(0,je.jsx)(p.h,{variant:"subtle","aria-label":"Settings",icon:(0,je.jsx)(zn.e,{}),onClick:function(){return S(!0)}})})};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 Tt(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,o.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 Bt=t.e(907).then(t.bind(t,99907)),Ft=t.g.window?t(24878).f$:null,Ht=t.g.window?t(24878).s6:null;function At(){var e=(0,m.useState)(!1),n=e[0],t=e[1];return(0,m.useEffect)((function(){t(!0)}),[]),n?(0,je.jsxs)(je.Fragment,{children:[(0,je.jsx)(v.default,{children:(0,je.jsx)("title",{children:"ORUI"})}),(0,je.jsx)(Mt,{})]}):null}function Mt(){var e=Sn("3d",!1),n=(0,l.Z)(e,2),t=n[0],r=n[1],s=Sn("tagCols",{}),c=(0,l.Z)(s,2),a=c[0],x=c[1],b=(0,m.useState)({nodeIds:[]}),v=b[0],w=b[1],S=Sn("physics",R),P=(0,l.Z)(S,2),N=P[0],I=P[1],D=Sn("filter",T),L=(0,l.Z)(D,2),z=L[0],E=L[1],Z=Sn("visuals",B),M=(0,l.Z)(Z,2),W=M[0],V=M[1],X=(0,m.useState)(null),_=X[0],U=X[1],q=(0,m.useState)(null),G=q[0],J=q[1],Q=Sn("behavior",F),K=(0,l.Z)(Q,2),Y=K[0],$=K[1],ee=Sn("mouse",H),ne=(0,l.Z)(ee,2),te=ne[0],re=ne[1],ie=Sn("local",A),oe=(0,l.Z)(ie,2),le=oe[0],se=oe[1],ce=(0,k.Z)({}),ae=(0,l.Z)(ce,2),ue=ae[0],de=ae[1],he=de.set,ge=de.reset,fe=de.undo,pe=de.redo,xe=de.canUndo,be=de.canRedo,ve=(ue.past,ue.present),me=(ue.future,(0,m.useState)(null)),ye=me[0],Ce=me[1],Oe=(0,u.q)(),we=Oe.isOpen,ke=Oe.onOpen,Se=Oe.onClose,Pe=(0,m.useRef)({}),Ie=(0,m.useRef)({}),De=(0,m.useRef)({}),Le=(0,m.useRef)([]),ze=(0,m.useRef)(null),Ee=(0,m.useRef)({}),Ze=(0,m.useRef)({nodes:[],links:[]});(0,m.useEffect)((function(){_&&(Ze.current=_)}),[_]);var Re=(0,m.useContext)(tn.N).setEmacsTheme,Te=(0,m.useRef)({nodeIds:[]}),Be=(0,m.useRef)(F);Be.current=Y;var Fe=(0,m.useRef)(null);Te.current=v;var He=function(e,n){var t,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:2e3,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:200;if("color"!==e){var l=ze.current,s=Te.current,c=Be.current,a=null!==(t=Ie.current[n])&&void 0!==t?t:[],u=Object.fromEntries([n].concat((0,i.Z)(a.flatMap((function(e){return[e.source,e.target]})))).map((function(e){return[e,{}]})));if("zoom"===e)return s.nodeIds.length&&w({nodeIds:[]}),void setTimeout((function(){return l.zoomToFit(r,o,(function(e){return u[e.id]}))}),50);if(!s.nodeIds.length)return w({nodeIds:[n]}),void setTimeout((function(){l.centerAt(0,0,10),l.zoomToFit(1,o)}),50);if("add"!==c.localSame)return w({nodeIds:[n]}),void setTimeout((function(){l.centerAt(0,0,10),l.zoomToFit(1,o)}),50);if(!s.nodeIds.includes(n)||!s.nodeIds.some((function(e){return u[e]})))return w({nodeIds:[n]}),void setTimeout((function(){l.centerAt(0,0,10),l.zoomToFit(1,o)}),50);w((function(e){return Tt(Tt({},e),{},{nodeIds:[].concat((0,i.Z)(e.nodeIds),[n])})})),setTimeout((function(){l.centerAt(0,0,10),l.zoomToFit(1,o)}),50)}};(0,m.useEffect)((function(){Fe.current=new O.Z("ws://localhost:35903"),Fe.current.addEventListener("open",(function(){console.log("Connection with Emacs established")})),Fe.current.addEventListener("message",(function(e){var n=Be.current,t=JSON.parse(e.data);switch(t.type){case"graphdata":return function(e){var n,t,r,s=Pe.current;Le.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 Tt(Tt({},e),{},(0,o.Z)({},n.file,[].concat((0,i.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})),i=t.filter((function(e){return 0!==e.level}));return r?i.map((function(e){var n=t.filter((function(n){var t;return!(n.level>=e.level||n.pos>=e.pos||null===(t=e.olp)||void 0===t||!t.includes(n.title))})).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})),i=t.filter((function(e){return 0!==e.level}));return r?i.map((function(e){return{source:e.id,target:r.id,type:"parent"}})):[]}));Pe.current=Object.fromEntries(c.map((function(e){return[e.id,e]})));var g=[].concat((0,i.Z)(a),(0,i.Z)(d),(0,i.Z)(h)),f=[],p=g.map((function(e){var n=e.source,t=e.target;return Pe.current[n]?Pe.current[t]?e:(f.push({id:t,tags:["bad"],properties:{FILELESS:"yes",bad:"yes"},file:"",title:t,level:0,pos:0,olp:null}),Tt(Tt({},e),{},{type:"bad"})):(f.push({id:n,tags:["bad"],properties:{FILELESS:"yes",bad:"yes"},file:"",title:n,level:0,pos:0,olp:null}),Tt(Tt({},e),{},{type:"bad"}))}));Pe.current=Tt(Tt({},Pe.current),Object.fromEntries(f.map((function(e){return[e.id,e]})))),Ie.current=p.reduce((function(e,n){var t,r,l;return Tt(Tt({},e),{},(l={},(0,o.Z)(l,n.source,[].concat((0,i.Z)(null!==(t=e[n.source])&&void 0!==t?t:[]),[n])),(0,o.Z)(l,n.target,[].concat((0,i.Z)(null!==(r=e[n.target])&&void 0!==r?r:[]),[n])),l))}),{});var x=[].concat((0,i.Z)(c),f);De.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 i=r.replaceAll(/cite:(.*)/g,"$1");return i?Tt(Tt({},e),{},(0,o.Z)({},i,n)):e}),{});var j={nodes:x,links:p},b=Ze.current;if(0===b.nodes.length){var v=JSON.parse(JSON.stringify(j));return Ze.current=v,void U(v)}var m=[].concat((0,i.Z)(b.nodes.flatMap((function(e){var n,t=null!==(n=Pe.current[null===e||void 0===e?void 0:e.id])&&void 0!==n&&n;return t?[Tt(Tt({},e),t)]:[]}))),(0,i.Z)(Object.keys(Pe.current).filter((function(e){return!s[e]})).map((function(e){return Pe.current[e]})))),y=m.reduce((function(e,n,t){var r=null===n||void 0===n?void 0:n.id;return Tt(Tt({},e),{},(0,o.Z)({},r,t))}),{}),C=p.map((function(e){var n=Xt(e),t=(0,l.Z)(n,2),r=t[0],i=t[1];return Tt(Tt({},e),{},{source:m[y[r]],target:m[y[i]]})}));U({nodes:m,links:C})}(t.data);case"variables":return console.log(t.data),void(Ee.current=t.data);case"theme":return Re(["custom",t.data]);case"command":switch(t.data.commandName){case"local":var r=Y.zoomSpeed,s=Y.zoomPadding;He("local",t.data.id,r,s),J(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;He("zoom",t.data.id,u,d),J(t.data.id);break;case"follow":He(n.follow,t.data.id,n.zoomSpeed,n.zoomPadding),J(t.data.id);break;default:return console.error("unknown message type",t.type)}}}))}),[]),(0,m.useEffect)((function(){var e=ze.current;!e||v.nodeIds.length>1||(v.nodeIds.length||!N.gravityOn?setTimeout((function(){e.zoomToFit(5,200)}),50):e.zoomToFit())}),[v.nodeIds]);var Ae=(0,j.iP)(),Me=(0,l.Z)(Ae,2),We=Me[0],Ve=Me[1],Xe=(0,m.useRef)(),_e=(0,m.useState)(null),Ue=_e[0],qe=_e[1],Ge=(0,m.useState)({left:0,top:0,right:void 0,bottom:void 0}),Je=Ge[0],Qe=Ge[1],Ke=(0,u.q)();(0,d.O)({ref:Xe,handler:function(){Ke.onClose()}});var Ye=function(e,n,t){Qe(t||{left:n.pageX,top:n.pageY,right:void 0,bottom:void 0}),qe(e),Ke.onOpen()},$e=function(e,n){"replace"!==n?v.nodeIds.includes(e.id)||w((function(n){return Tt(Tt({},n),{},{nodeIds:[].concat((0,i.Z)(n.nodeIds),[e.id])})})):w({nodeIds:[e.id]})},en=(0,m.useState)({type:"Graph",title:"Graph",icon:(0,je.jsx)(y.DvO,{})}),nn=(en[0],en[1],Sn("mainWindowWidth",We)),rn=(0,l.Z)(nn,2),on=rn[0],ln=rn[1];return(0,je.jsxs)(h.xu,{display:"flex",alignItems:"flex-start",flexDirection:"row",height:"100vh",overflow:"clip",children:[(0,je.jsx)(Zt,{physics:N,setPhysics:I,threeDim:t,setThreeDim:r,filter:z,setFilter:E,visuals:W,setVisuals:V,mouse:te,setMouse:re,behavior:Y,setBehavior:$,tagColors:a,setTagColors:x,local:le,setLocal:se,tags:Le.current}),(0,je.jsx)(h.xu,{position:"absolute",children:_&&(0,je.jsx)(Wt,{nodeById:Pe.current,linksByNodeId:Ie.current,webSocket:Fe.current,variables:Ee.current,physics:N,graphData:_,threeDim:t,emacsNodeId:G,filter:z,visuals:W,behavior:Y,mouse:te,scope:v,setScope:w,tagColors:a,setPreviewNode:he,sidebarHighlightedNode:ye,windowWidth:We,windowHeight:Ve,openContextMenu:Ye,contextMenu:Ke,handleLocal:$e,mainWindowWidth:on,setMainWindowWidth:ln,setContextMenuTarget:qe,graphRef:ze,local:le})}),(0,je.jsx)(h.xu,{position:"relative",zIndex:4,width:"100%",children:(0,je.jsx)(g.k,{className:"headerBar",h:10,flexDir:"column",children:(0,je.jsx)(g.k,{alignItems:"center",h:10,justifyContent:"flex-end",children:(0,je.jsxs)(g.k,{height:"100%",flexDirection:"row",children:[v.nodeIds.length>0&&(0,je.jsx)(f.u,{label:"Return to main graph",children:(0,je.jsx)(p.h,{m:1,icon:(0,je.jsx)(y.DvO,{}),"aria-label":"Exit local mode",onClick:function(){return w((function(e){return Tt(Tt({},e),{},{nodeIds:[]})}))},variant:"subtle"})}),(0,je.jsx)(f.u,{label:we?"Close sidebar":"Open sidebar",children:(0,je.jsx)(p.h,{m:1,icon:(0,je.jsx)(C.iBV,{}),"aria-label":"Close file-viewer",variant:"subtle",onClick:we?Se:ke})})]})})})}),(0,je.jsx)(h.xu,{position:"relative",zIndex:4,children:(0,je.jsx)(Ln,{isOpen:we,onOpen:ke,onClose:Se,previewNode:ve,setPreviewNode:he,canUndo:xe,canRedo:be,previousPreviewNode:fe,nextPreviewNode:pe,resetPreviewNode:ge,setSidebarHighlightedNode:Ce,openContextMenu:Ye,scope:v,setScope:w,windowWidth:We,tagColors:a,setTagColors:x,filter:z,setFilter:E,nodeById:Pe.current,linksByNodeId:Ie.current,nodeByCite:De.current})}),Ke.isOpen&&(0,je.jsx)("div",{ref:Xe,children:(0,je.jsx)(Ne,{scope:v,target:Ue,background:!1,coordinates:Je,handleLocal:$e,menuClose:Ke.onClose.bind(Ke),webSocket:Fe.current,setPreviewNode:he,setFilter:E,filter:z,setTagColors:x,tagColors:a})})]})}var Wt=function(e){var n=e.graphRef,t=e.physics,s=e.graphData,u=e.threeDim,d=e.linksByNodeId,g=e.filter,f=e.emacsNodeId,p=e.nodeById,j=e.visuals,v=e.behavior,y=e.mouse,C=e.scope,O=e.local,k=(e.setScope,e.webSocket),S=e.tagColors,N=e.setPreviewNode,I=e.sidebarHighlightedNode,D=e.windowWidth,L=e.windowHeight,z=(e.setContextMenuTarget,e.openContextMenu),E=e.contextMenu,R=e.handleLocal,T=e.variables,B=T.dailyDir,F=(T.roamDir,(0,m.useState)(null)),H=F[0],A=F[1],W=(0,a.useTheme)(),V=(0,m.useContext)(tn.N).emacsTheme,X=function(e,n,t){switch(e){case y.preview:N(n);break;case y.local:R(n,v.localSame);break;case y.follow:ne(n,k);break;case y.context:z(n,t)}},_=(0,m.useRef)(null);(0,m.useEffect)((function(){f&&A(p[f])}),[f]);var U=(0,m.useRef)({}),q=(0,m.useRef)({}),G=(0,m.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,i,l=e;return g.tagsBlacklist.length&&g.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}))||g.tagsWhitelist.length>0&&!g.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}))||g.filelessCites&&null!==l&&void 0!==l&&null!==(n=l.properties)&&void 0!==n&&n.FILELESS||null!==g&&void 0!==g&&g.bad&&null!==l&&void 0!==l&&null!==(t=l.properties)&&void 0!==t&&t.bad||g.dailies&&B&&null!==(r=l.file)&&void 0!==r&&r.includes(B)?(q.current=Tt(Tt({},q.current),{},(0,o.Z)({},l.id,l)),!1):!g.noter||null===(i=l.properties)||void 0===i||!i.NOTER_PAGE||(q.current=Tt(Tt({},q.current),{},(0,o.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!g.orphans||(g.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=Xt(e),r=(0,l.Z)(n,2),i=r[0],o=r[1];if(!t.includes(i)||!t.includes(o))return!1;var s=e;return g.parent?"heading"===g.parent?"parent"!==s.type:"heading"!==s.type:!["parent","heading"].includes(s.type)}));return U.current=r.reduce((function(e,n){var t,r,s,c=n,a=Xt(c),u=(0,l.Z)(a,2),d=u[0],h=u[1];return Tt(Tt({},e),{},(s={},(0,o.Z)(s,d,[].concat((0,i.Z)(null!==(t=e[d])&&void 0!==t?t:[]),[c])),(0,o.Z)(s,h,[].concat((0,i.Z)(null!==(r=e[h])&&void 0!==r?r:[]),[c])),s))}),{}),{nodes:n,links:r}}),[g,s]),J=(0,m.useState)({nodes:[],links:[]}),Q=J[0],K=J[1];(0,m.useEffect)((function(){if(C.nodeIds.length){var e=C.nodeIds.length>1?Q.nodes:[],n=e.map((function(e){return e.id})),t=function(e,n){var t=[e[0]],r=[],i=[e[0]];return Array.from({length:n},(function(){t.forEach((function(e){var n;(null!==(n=U.current[e])&&void 0!==n?n:[]).forEach((function(e){var n=Xt(e),t=(0,l.Z)(n,2),o=t[0],s=t[1];i.includes(o)?i.includes(s)||r.push(s):r.push(o)}))})),t=r,r.forEach((function(e){return e&&i.push(e)})),r=[]})),i}(C.nodeIds,O.neighbors),r=G.nodes.filter((function(r){var i;return e.length?!n.includes(r.id)&&(null!==(i=U.current[r.id])&&void 0!==i?i:[]).some((function(e){var n=Xt(e),t=(0,l.Z)(n,2),r=t[0],i=t[1];return C.nodeIds.includes(r)||C.nodeIds.includes(i)})):t.includes(r.id)})).map((function(e){return Tt(Tt({},e),{},{x:0,y:0,vy:0,vx:0})})),o=[].concat((0,i.Z)(e),(0,i.Z)(r)),s=o.map((function(e){return e.id})),c=C.nodeIds.length>1?Q.links:[],a=G.links.filter((function(e){var t=Xt(e),r=(0,l.Z)(t,2),i=r[0],o=r[1];return!(c.length&&n.includes(o)&&n.includes(i))&&(s.includes(i)&&s.includes(o))})).map((function(e){var n=Xt(e),t=(0,l.Z)(n,2);return{source:t[0],target:t[1]}})),u=[].concat((0,i.Z)(c),(0,i.Z)(a));K({nodes:o,links:u})}}),[O.neighbors,g,C,JSON.stringify(s),G.links,G.nodes]),(0,m.useEffect)((function(){(0,r.Z)(c().mark((function e(){var r,i;return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=n.current,e.next=3,Bt;case 3:i=e.sent,!t.gravityOn||C.nodeIds.length&&!t.gravityLocal?(r.d3Force("x",null),r.d3Force("y",null),u&&r.d3Force("z",null)):(r.d3Force("x",i.forceX().strength(t.gravity)),r.d3Force("y",i.forceY().strength(t.gravity)),u&&r.d3Force("z",i.forceZ().strength(t.gravity))),t.centering?r.d3Force("center",i.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?i.forceCollide().radius(t.collisionStrength):null);case 10:case"end":return e.stop()}}),e)})))()}),[t,u,C]),(0,m.useEffect)((function(){var e;null===(e=n.current)||void 0===e||e.d3ReheatSimulation()}),[t,C.nodeIds.length]);var Y=(0,m.useRef)(0),$=(0,m.useState)(1),ee=$[0],te=$[1],re=(0,x._7)((function(e){return te(e)}),{duration:j.animationSpeed,algorithm:Z[j.algorithmName]}),ie=(0,l.Z)(re,2),oe=ie[0],le=ie[1],se=(0,x._7)((function(e){return te(Math.min(ee,-1*(e-1)))}),{duration:j.animationSpeed,algorithm:Z[j.algorithmName]}),ce=(0,l.Z)(se,2),ae=ce[0],ue=ce[1],de=(0,m.useMemo)((function(){var e;if(!_.current)return{};var n=U.current[_.current.id];return n?Object.fromEntries([null===(e=_.current)||void 0===e?void 0:e.id].concat((0,i.Z)(n.flatMap((function(e){return[e.source,e.target]})))).map((function(e){return[e,{}]}))):{}}),[JSON.stringify(_.current),JSON.stringify(U.current)]);(0,m.useEffect)((function(){null!==I&&void 0!==I&&I.id?A(I):A(null)}),[I]);var he=(0,m.useRef)(null);(0,m.useEffect)((function(){if(_.current=H,H&&(he.current=H),!j.highlightAnim)return te(H?1:0);H?oe():(le(),ee>.5?ae():te(0))}),[H]);var ge=(0,m.useMemo)((function(){return Object.fromEntries(M.map((function(e){var n=_t(e,W),t=M.map((function(e){return[e,b.Z(n,_t(e,W))]}));return[e,Object.fromEntries(t)]})))}),[V]),fe=(0,m.useMemo)((function(){var e,n,t,r=null!==(e=U.current[null===(n=he.current)||void 0===n?void 0:n.id])&&void 0!==e?e:[];return Object.fromEntries([null===(t=he.current)||void 0===t?void 0:t.id].concat((0,i.Z)(r.flatMap((function(e){return Xt(e)})))).map((function(e){return[e,{}]})))}),[JSON.stringify(H),he.current,U.current]),pe=function(e){var n,t,r,i,o,l=null!==(n=null===(t=U.current[e])||void 0===t?void 0:t.length)&&void 0!==n?n:0;return j.nodeColorScheme[(r=l,i=0,o=j.nodeColorScheme.length-1,Math.min(Math.max(r,i),o))]},xe=function(e,n){return U.current[e].length>U.current[n].length?pe(e):pe(n)},be=(0,m.useMemo)((function(){return _t(j.labelTextColor,W)}),[j.labelTextColor,V]),ve=(0,m.useMemo)((function(){return _t(j.labelBackgroundColor,W)}),[j.labelBackgroundColor,V]),me=function(e){var n,t=null!==(n=U.current[e.id])&&void 0!==n?n:[],r=t.length?t.filter((function(e){return"parent"===e.type})).length:0,i=3+t.length*j.nodeSizeLinks-(g.parent?0:r);return 1===j.highlightNodeSize?i:i*(de[e.id]||fe[e.id]?1+ee*(j.highlightNodeSize-1):1)},ye=(0,m.useState)(!1),Ce=ye[0],Oe=ye[1],we=(0,m.useRef)(1),ke={graphData:C.nodeIds.length?Q:G,width:D,height:L,backgroundColor:_t(j.backgroundColor,W),warmupTicks:1===C.nodeIds.length?100:C.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,n){var t,r,i=de[e.id]||fe[e.id];if(j.emacsNodeColor&&e.id===f)return _t(j.emacsNodeColor,n);if(S&&null!==e&&void 0!==e&&e.tags.some((function(e){return S[e]}))){var o=S[null===e||void 0===e?void 0:e.tags.filter((function(e){return S[e]}))[0]];return i?ge[o][o](j.highlightFade*ee):ge[o][j.backgroundColor](j.highlightFade*ee)}return j.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?i?_t(j.citeNodeColor,n):ge[j.citeNodeColor][j.backgroundColor](j.highlightFade*ee):j.refNodeColor&&e.properties.ROAM_REFS?i?_t(j.refNodeColor,n):ge[j.refNodeColor][j.backgroundColor](j.highlightFade*ee):i?j.nodeHighlight?ge[pe(e.id)][j.nodeHighlight](ee):_t(pe(e.id),n):ge[pe(e.id)][j.backgroundColor](j.highlightFade*ee)}(e,W)},nodeRelSize:j.nodeRel,nodeVal:function(e){return me(e)/Math.pow(we.current,j.nodeZoomSize)},nodeCanvasObject:function(e,n,t){if(e&&!Ce&&j.labels){var r=fe[e.id];if(!(t<=j.labelScale||1===j.labels)||de[e.id]||r){var o=e.title,l=o.substring(0,j.labelLength),s=j.labelFontSize/(.75*Math.min(Math.max(.5,t),3)),c=[1.1*n.measureText(l).width,s].map((function(e){return e+.5*s})),a=Math.min(3*(t-j.labelScale)/j.labelScale,1),u=function(){return 1===j.labels||t<=j.labelScale?ee:de[e.id]||fe[e.id]?Math.max(a,ee):1*a*(-1*(j.highlightFade*ee-1))},d=8*Math.cbrt(me(e)*j.nodeRel);if(j.labelBackgroundColor&&j.labelBackgroundOpacity){var h=u()*j.labelBackgroundOpacity,g=Ut(ve,h);n.fillStyle=g,n.fillRect.apply(n,[e.x-c[0]/2,e.y-c[1]/2+d].concat((0,i.Z)(c)))}var f=u();n.textAlign="center",n.textBaseline="middle";var p=Ut(be,f);n.fillStyle=p,n.font="".concat(s,"px Sans-Serif");var x=P()(l,{width:j.labelWordWrap}).split("\n");(o.length>j.labelLength?[].concat((0,i.Z)(x.slice(0,-1)),["".concat(x.slice(-1),"...")]):x).forEach((function(t,r){n.fillText(t,e.x,e.y+d+j.labelLineSpace*s*r)}))}}},nodeCanvasObjectMode:function(){return"after"},linkDirectionalParticles:j.particles?j.particlesNumber:void 0,linkDirectionalArrowLength:j.arrows?j.arrowsLength:void 0,linkDirectionalArrowRelPos:j.arrowsPos,linkDirectionalArrowColor:j.arrowsColor?function(){return _t(j.arrowsColor,W)}: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,i=Vt(e,_.current),o=Vt(e,he.current),l=i||o,s=e;return j.refLinkColor&&"ref"===s.type?l&&(j.refLinkHighlightColor||j.linkHighlight)?ge[j.refLinkColor][j.refLinkHighlightColor||j.linkHighlight](ee):ge[j.refLinkColor][j.backgroundColor](j.highlightFade*ee):j.citeLinkColor&&null!==(n=s.type)&&void 0!==n&&n.includes("cite")?l&&(j.citeLinkHighlightColor||j.linkHighlight)?ge[j.citeLinkColor][j.citeLinkHighlightColor||j.linkHighlight](ee):ge[j.citeLinkColor][j.backgroundColor](j.highlightFade*ee):function(e,n,t,r){if(!j.linkHighlight&&!j.linkColorScheme&&!t)return _t(xe(e,n),r);if(!t&&!j.linkColorScheme){var i=xe(e,n);return ge[i][j.backgroundColor](j.highlightFade*ee)}return t?j.linkHighlight||j.linkColorScheme?j.linkHighlight?j.linkColorScheme?ge[j.linkColorScheme][j.linkHighlight](ee):ge[xe(e,n)][j.linkHighlight](ee):_t(j.linkColorScheme,r):_t(xe(e,n),r):ge[j.linkColorScheme][j.backgroundColor](j.highlightFade*ee)}(t,r,l,W)},linkWidth:function(e){if(1===j.highlightLinkSize)return j.linkWidth;var n=Vt(e,_.current),t=Vt(e,he.current);return n||t?j.linkWidth*(1+ee*(j.highlightLinkSize-1)):j.linkWidth},linkDirectionalParticleWidth:j.particlesWidth,d3AlphaDecay:t.alphaDecay,d3AlphaMin:t.alphaMin,d3VelocityDecay:t.velocityDecay,onNodeClick:function(e,n){var t=e,r=n.timeStamp-Y.current<200;if(Y.current=n.timeStamp,r)return X("double",t,n);var i=Y.current;return setTimeout((function(){if(Y.current===i)return X("click",t,n)}),200)},onNodeHover:function(e){j.highlight&&(H||(ue(),te(0)),A(e))},onNodeRightClick:function(e,n){X("right",e,n)},onNodeDrag:function(e){A(e),Oe(!0)},onNodeDragEnd:function(){A(null),Oe(!1)}};return(0,je.jsx)(h.xu,{overflow:"hidden",onClick:E.onClose,children:u?(0,je.jsx)(Ht,Tt(Tt({ref:n},ke),{},{nodeThreeObjectExtend:!0,nodeOpacity:j.nodeOpacity,nodeResolution:j.nodeResolution,linkOpacity:j.linkOpacity,nodeThreeObject:function(e){if(j.labels&&(!(j.labels<3)||de[e.id])){var n=new w.Z(e.title.substring(0,40));return n.color=_t(j.labelTextColor,W),n.backgroundColor=_t(j.labelBackgroundColor,W),n.padding=2,n.textHeight=8,n}}})):(0,je.jsx)(Ft,Tt(Tt({ref:n},ke),{},{linkLineDash:function(e){var n,t=e;return j.citeDashes&&null!==(n=t.type)&&void 0!==n&&n.includes("cite")?[j.citeDashLength,j.citeGapLength]:j.refDashes&&"ref"==t.type?[j.refDashLength,j.refGapLength]:null}}))})};function Vt(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 Xt(e){return["object"===typeof e.source?e.source.id:e.source,"object"===typeof e.target?e.target.id:e.target]}function _t(e,n){return e.split(".").reduce((function(e,n){return e[n]}),n.colors)}function Ut(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(64685)}])}},function(e){e.O(0,[774,737,13,874,573,446,816,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-c3655ec8db181f6ae1ab.js b/out/_next/static/chunks/pages/index-c3655ec8db181f6ae1ab.js
new file mode 100644
index 0000000..6f09db5
--- /dev/null
+++ b/out/_next/static/chunks/pages/index-c3655ec8db181f6ae1ab.js
@@ -0,0 +1 @@
+(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[405],{54530:function(e,n,t){"use strict";t.r(n),t.d(n,{Graph:function(){return Vt},GraphPage:function(){return Wt},default:function(){return Mt},getThemeColor:function(){return Ut},hexToRGBA:function(){return qt},normalizeLinkEnds:function(){return _t}});var r=t(15861),i=t(42982),o=t(4942),l=t(70885),s=t(87757),c=t.n(s),a=t(40980),u=t(74860),d=t(95869),h=t(48017),g=t(94096),f=t(96699),p=t(48420),x=t(57775),j=t(54309),b=t(52596),v=t(9008),m=t(67294),y=t(47516),C=t(63750),O=t(22003),w=t(31122),k=t(7520),S=t(36194),P=[],N={};for(var D in S.oY)for(var I in S.oY[D]){var L=D+I;"LinearNone"===L&&(L="Linear"),P.push(L),N[L]=S.oY[D][I]}var z=N,E={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:[],bad:!0,nodes:[],links:[],date:[],noter:!0},R={particles:!1,particlesNumber:0,particlesWidth:4,arrows:!1,arrowsLength:1,arrowsPos:.5,arrowsColor:"",linkOpacity:.8,linkWidth:1,nodeRel:4,nodeOpacity:1,nodeResolution:12,labels:2,labelScale:1,labelFontSize:10,labelLength:40,labelWordWrap:25,labelLineSpace:1,labelDynamicDegree:8,labelDynamicStrength:.5,highlight:!0,highlightNodeSize:1.1,highlightLinkSize:1,highlightFade:.8,highlightAnim:!0,animationSpeed:360,algorithmOptions:P,algorithmName:"SinusoidalOut",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},T={follow:"zoom",localSame:"add",zoomPadding:200,zoomSpeed:2e3},B={highlight:"hover",local:"double",follow:"never",context:"right",preview:"click",backgroundExitsLocal:!1},F={neighbors:1},H=["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(11252),M=t(336),W=t(85675),V=t(72026),X=t(64115),_=t(49364),U=t(94030),q=t(46617),G=t(50862),J=t(68928),Q=t(55830),K=t(2827);function Y(e,n,t){t.send(JSON.stringify({command:e,data:n}))}function $(e,n){Y("open",{id:e.id},n)}var ee=t(85305),ne=t(77787),te=t(45987),re=t(80658),ie=t(38554),oe=t.n(ie),le=t(84461),se=t(73808),ce=t(53869),ae=t(39629);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 de(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,o.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}var he={ease:[.25,.1,.25,1],easeIn:[.4,0,1,1],easeOut:[0,0,.2,1],easeInOut:[.4,0,.2,1]};var ge=function(e,n){return de(de({},e),{},{delay:(0,se.hj)(n)?n:null===n||void 0===n?void 0:n.enter})},fe=function(e,n){return de(de({},e),{},{delay:(0,se.hj)(n)?n:null===n||void 0===n?void 0:n.exit})},pe=t(85893),xe=["in","unmountOnExit","animateOpacity","startingSize","endingSize","dimension","style","className","transition","transitionEnd"];function je(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 be(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?je(Object(t),!0).forEach((function(n){(0,o.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):je(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var ve=function(e){return null!=e&&parseInt(e.toString(),10)>0},me={exit:{size:{duration:.2,ease:he.ease},opacity:{duration:.3,ease:he.ease}},enter:{size:{duration:.3,ease:he.ease},opacity:{duration:.4,ease:he.ease}}},ye={exit:function(e){var n,t,r=e.animateOpacity,i=e.startingSize,l=e.transition,s=e.transitionEnd,c=e.delay,a=e.dimension;return be(be({},r&&{opacity:ve(i)?1:0}),{},(t={overflow:"hidden"},(0,o.Z)(t,a,i),(0,o.Z)(t,"transitionEnd",null===s||void 0===s?void 0:s.exit),(0,o.Z)(t,"transition",null!==(n=null===l||void 0===l?void 0:l.exit)&&void 0!==n?n:fe(me.exit,c)),t))},enter:function(e){var n,t,r=e.animateOpacity,i=e.endingSize,l=e.transition,s=e.transitionEnd,c=e.delay,a=e.dimension;return be(be({},r&&{opacity:1}),{},(t={},(0,o.Z)(t,a,i),(0,o.Z)(t,"transitionEnd",null===s||void 0===s?void 0:s.enter),(0,o.Z)(t,"transition",null!==(n=null===l||void 0===l?void 0:l.enter)&&void 0!==n?n:ge(me.enter,c)),t))}},Ce=m.forwardRef((function(e,n){var t=e.in,r=e.unmountOnExit,i=e.animateOpacity,o=void 0===i||i,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,te.Z)(e,xe),b=m.useState(!1),v=(0,l.Z)(b,2),y=v[0],C=v[1];m.useEffect((function(){var e=setTimeout((function(){C(!0)}));return function(){return clearTimeout(e)}}),[]),(0,re.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:o,dimension:h,transition:y?p:{enter:{duration:0}},transitionEnd:oe()(x,{enter:{overflow:"initial"},exit:r?void 0:{display:O?"block":"none"}})},k=!r||t,S=t||r?"enter":"exit";return(0,pe.jsx)(ce.M,{initial:!1,custom:w,children:k&&(0,pe.jsx)(ae.E.div,be(be({ref:n},j),{},{className:(0,le.cx)("chakra-collapse",f),style:be({overflow:"hidden",display:"block"},g),custom:w,variants:ye,initial:!!r&&"exit",animate:S,exit:"exit"}))})}));function Oe(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 we(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?Oe(Object(t),!0).forEach((function(n){(0,o.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Oe(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}se.Ts&&(Ce.displayName="Collapse");var ke=function(e){var n=e.setTagColors,t=e.setFilter,r=e.filter,l=e.tagColors,s=e.target,c=r.tagsBlacklist,a=r.tagsWhitelist,d=c.indexOf(s)>-1,f=a.indexOf(s)>-1,p=(0,u.q)();return(0,pe.jsxs)(pe.Fragment,{children:[(0,pe.jsx)(A.sN,{icon:(0,pe.jsx)(h.xu,{bgColor:l[s],borderRadius:"sm",height:3,width:3,borderColor:l[s]||"gray.600",borderWidth:1}),closeOnSelect:!1,onClick:p.onToggle,children:(0,pe.jsx)(X.x,{children:"Change color"})}),(0,pe.jsx)(Ce,{in:p.isOpen,children:(0,pe.jsx)(g.k,{ml:2,mt:2,flexWrap:"wrap",children:H.map((function(e){return(0,pe.jsx)(h.xu,{children:(0,pe.jsx)(h.xu,{tabIndex:0,cursor:"pointer",onClick:function(){return n(we(we({},l),{},(0,o.Z)({},s,e)))},bgColor:e,m:1,borderRadius:"sm",height:3,width:3})},e)}))})}),!f&&(0,pe.jsx)(A.sN,{onClick:function(){t(d?function(e){return we(we({},e),{},{tagsBlacklist:e.tagsBlacklist.filter((function(e){return e!==s}))})}:function(e){return we(we({},e),{},{tagsBlacklist:[].concat((0,i.Z)(e.tagsBlacklist),[s])})})},icon:d?(0,pe.jsx)(ee.V,{}):(0,pe.jsx)(ne.t,{}),children:d?"Remove from blacklist":"Add to blacklist"}),!d&&(0,pe.jsx)(A.sN,{onClick:function(){t(f?function(e){return we(we({},e),{},{tagsWhitelist:e.tagsWhitelist.filter((function(e){return e!==s}))})}:function(e){return we(we({},e),{},{tagsWhitelist:[].concat((0,i.Z)(e.tagsWhitelist),[s])})})},icon:f?(0,pe.jsx)(ee.V,{}):(0,pe.jsx)(Q.O,{}),children:f?"Remove from whitelist":"Add to whitelist"})]})},Se=function(e){e.background;var n,t,r=e.target,i=(e.nodeType,e.coordinates),o=e.handleLocal,l=e.menuClose,s=e.scope,c=e.webSocket,a=e.setPreviewNode,d=e.setTagColors,h=e.tagColors,g=e.setFilter,f=e.filter,p=(0,u.q)(),x=p.isOpen,j=p.onOpen,b=p.onClose;(0,m.useRef)();return(0,pe.jsxs)(pe.Fragment,{children:[(0,pe.jsx)(A.v2,{defaultIsOpen:!0,closeOnBlur:!1,onClose:function(){return l()},children:(0,pe.jsx)(A.qy,{zIndex:"overlay",bgColor:"white",color:"black",position:"absolute",left:i.left,top:i.top,right:i.right,bottom:i.bottom,fontSize:"xs",boxShadow:"xl",children:"string"!==typeof r?(0,pe.jsxs)(pe.Fragment,{children:[r&&(0,pe.jsxs)(pe.Fragment,{children:[(0,pe.jsx)(M.X,{size:"xs",isTruncated:!0,px:3,py:1,children:r.title}),(0,pe.jsx)(A.R,{borderColor:"gray.500"})]}),0!==s.nodeIds.length&&(0,pe.jsxs)(pe.Fragment,{children:[(0,pe.jsx)(A.sN,{onClick:function(){return o(r,"add")},icon:(0,pe.jsx)(U.I,{}),children:"Expand local graph at node"}),(0,pe.jsx)(A.sN,{onClick:function(){return o(r,"replace")},icon:(0,pe.jsx)(y.DvO,{}),children:"Open local graph for this node"})]}),null!==r&&void 0!==r&&null!==(n=r.properties)&&void 0!==n&&n.FILELESS?(0,pe.jsx)(A.sN,{icon:(0,pe.jsx)(G.d,{}),onClick:function(){return function(e,n){Y("create",{id:e.id,title:e.title,ref:e.properties.ROAM_REFS},n)}(r,c)},children:"Create node"}):(0,pe.jsx)(A.sN,{icon:(0,pe.jsx)(q.d,{}),onClick:function(){return $(r,c)},children:"Open in Emacs"}),(null===r||void 0===r||null===(t=r.properties)||void 0===t?void 0:t.ROAM_REFS)&&(0,pe.jsx)(A.sN,{icon:(0,pe.jsx)(J.h,{}),children:"Open in Zotero"}),0===s.nodeIds.length&&(0,pe.jsx)(A.sN,{icon:(0,pe.jsx)(y.DvO,{}),onClick:function(){return o(r,"replace")},children:"Open local graph"}),(0,pe.jsx)(A.sN,{icon:(0,pe.jsx)(Q.O,{}),onClick:function(){a(r)},children:"Preview"}),0===(null===r||void 0===r?void 0:r.level)&&(0,pe.jsx)(A.sN,{closeOnSelect:!1,icon:(0,pe.jsx)(K.p,{color:"red.500"}),color:"red.500",onClick:j,children:"Permenantly delete note"})]}):(0,pe.jsx)(ke,{target:r,tagColors:h,filter:f,setTagColors:d,setFilter:g})})}),"string"!==typeof r&&(0,pe.jsxs)(W.u_,{isCentered:!0,isOpen:x,onClose:b,children:[(0,pe.jsx)(W.ZA,{}),(0,pe.jsxs)(W.hz,{zIndex:"popover",children:[(0,pe.jsx)(W.xB,{children:"Delete node?"}),(0,pe.jsx)(W.ol,{}),(0,pe.jsx)(W.fe,{children:(0,pe.jsxs)(V.gC,{spacing:4,display:"flex",alignItems:"flex-start",children:[(0,pe.jsx)(X.x,{children:"This will permanently delete your note:"}),(0,pe.jsx)(X.x,{fontWeight:"bold",children:null===r||void 0===r?void 0:r.title}),0!==(null===r||void 0===r?void 0:r.level)&&(0,pe.jsx)(X.x,{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,pe.jsx)(X.x,{children:"Are you sure you want to do continue?"})]})}),(0,pe.jsxs)(W.mz,{children:[(0,pe.jsx)(_.z,{mr:3,onClick:function(){console.log("closing"),b(),l()},children:"Cancel"}),(0,pe.jsx)(_.z,{variant:"link",colorScheme:"red",ml:3,onClick:function(){console.log("aaaaa"),function(e,n){0===e.level&&Y("delete",{id:e.id,file:e.file},n)}(r,c),b(),l()},children:"Delete node"})]})]})]})]})},Pe=t(67101),Ne=t(35255),De=t(56884),Ie=function(e){var n=e.setJustification,t=(e.setIndent,e.setFont,e.justification),r=(e.setPreviewNode,e.canUndo),i=e.canRedo,o=(e.resetPreviewNode,e.previousPreviewNode),l=e.nextPreviewNode;return(0,pe.jsxs)(g.k,{flex:"0 1 40px",pb:3,alignItems:"center",justifyContent:"space-between",pl:1,pr:1,children:[(0,pe.jsx)(g.k,{children:(0,pe.jsxs)(Pe.h,{isAttached:!0,children:[(0,pe.jsx)(f.u,{label:"Go backward",children:(0,pe.jsx)(p.h,{variant:"subtle",icon:(0,pe.jsx)(Ne.w,{}),"aria-label":"Previous node",disabled:!r,onClick:function(){return o()}})}),(0,pe.jsx)(f.u,{label:"Go forward",children:(0,pe.jsx)(p.h,{variant:"subtle",icon:(0,pe.jsx)(De.X,{}),"aria-label":"Next node",disabled:!i,onClick:function(){return l()}})})]})}),(0,pe.jsx)(g.k,{children:(0,pe.jsx)(f.u,{label:"Justify content",children:(0,pe.jsx)(p.h,{variant:"subtle","aria-label":"Justify content",icon:[(0,pe.jsx)(y.v9V,{},"justify"),(0,pe.jsx)(y.YSr,{},"left"),(0,pe.jsx)(y.RXA,{},"right"),(0,pe.jsx)(y.tr_,{},"center")][t],onClick:function(){return n((function(e){return(e+1)%4}))}})})})]})},Le=t(35528);function ze(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 Ee(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?ze(Object(t),!0).forEach((function(n){(0,o.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ze(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var Ze=function(e){var n,t=e.filter,r=e.setFilter,o=e.tagColors,l=(e.setTagColors,e.openContextMenu),s=e.previewNode;return s.tags&&null!==(null===s||void 0===s?void 0:s.tags[0])?(0,pe.jsx)(g.k,{mb:2,flexWrap:"wrap",children:null===s||void 0===s||null===(n=s.tags)||void 0===n?void 0:n.map((function(e){var n,s,c,a=null!==(n=t.tagsBlacklist)&&void 0!==n?n:[],u=null!==(s=t.tagsWhitelist)&&void 0!==s?s:[],d=a.includes(e),h=u.includes(e);return(0,pe.jsxs)(Le.Vp,{tabIndex:0,mr:2,mt:2,onContextMenu:function(n){n.preventDefault(),l(e,n)},cursor:"pointer",onClick:function(){r(d?function(n){return Ee(Ee({},n),{},{tagsBlacklist:n.tagsBlacklist.filter((function(n){return n!==e})),tagsWhitelist:[].concat((0,i.Z)(n.tagsWhitelist),[e])})}:h?function(n){return Ee(Ee({},n),{},{tagsWhitelist:n.tagsWhitelist.filter((function(n){return n!==e}))})}:function(n){return Ee(Ee({},n),{},{tagsBlacklist:[].concat((0,i.Z)(n.tagsBlacklist),[e])})})},size:"sm",variant:"outline",colorScheme:(null===(c=o[e])||void 0===c?void 0:c.replaceAll(/(.*?)\..*/g,"$1"))||void 0,children:[(0,pe.jsx)(Le.Sn,{children:e}),d?(0,pe.jsx)(Le.bq,{as:ne.t}):h?(0,pe.jsx)(Le.bq,{as:Q.O}):null]},e)}))}):null},Re=t(18835),Te=t.n(Re),Be=t(13816),Fe=t.n(Be),He=t(42728),Ae=t.n(He),Me=t(77890),We=t.n(Me),Ve=t(94986),Xe=t.n(Ve),_e=t(88541),Ue=t.n(_e),qe=t(71167),Ge=t.n(qe),Je=(t(85062),t(27431)),Qe=t.n(Je),Ke=t(49444),Ye=t(45170),$e=t(67273),en=t(29356),nn={".katex":{overflowX:"scroll"},h1:{color:"black",lineHeight:"1.2",fontSize:"20",fontWeight:"bold",marginBottom:3},h2:{fontSize:"18",marginBottom:2,color:"black"},h3:{fontSize:"16",fontWeight:"600 !important",marginBottom:".5em",color:"black"},h4:{fontSize:"14",fontWeight:"500 !important",marginBottom:".25em",fontStyle:"italic",color:"black"},ol:{paddingLeft:"5"},ul:{paddingLeft:"5"},p:{fontSize:"14",fontWeight:"500 !important",paddingBottom:".5em"},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"}},tn=nn,rn=t(25675),on=t(62520),ln=t.n(on),sn=function(e){var n=e.src,t=e.file,r=(0,m.useState)(null);r[0],r[1];if(n.replaceAll(/(http)?.*/g,"$1"))return console.log(n.replaceAll(/(http)?.*/g,"$1")),(0,pe.jsx)(rn.default,{layout:"responsive",loader:function(e){var n=e.src;return e.width,e.quality,"".concat(n)},src:n,alt:"",width:"100%",height:"100%"});var i=n.replaceAll(/file:/g,""),o=ln().dirname(t),l=ln().isAbsolute(i)||"~"===i.slice(0,1)?i:ln().join(o,i),s=encodeURIComponent(encodeURIComponent(l));return(0,pe.jsx)(rn.default,{layout:"responsive",loader:function(e){var n=e.src;e.width,e.quality;return"http://localhost:35901/img/".concat(n)},src:s,alt:"",width:"100%",height:"100%"})},cn=t(86658),an=["style"];function un(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?un(Object(t),!0).forEach((function(n){(0,o.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):un(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var hn=function(e){var n=e.setSidebarHighlightedNode,t=e.setPreviewNode,r=e.nodeById,o=e.openContextMenu,s=e.href,c=e.children,u=(0,m.useContext)(en.N).highlightColor,d=Ut(u,(0,a.useTheme)()),h=(0,l.Z)((0,i.Z)(s.matchAll(/(.*?)\:(.*)/g))[0],3),g=(h[0],h[1],h[2]);return(0,pe.jsx)(X.x,{onMouseEnter:function(){return n(r[g])},onMouseLeave:function(){return n({})},tabIndex:0,display:"inline",overflow:"hidden",fontWeight:500,color:u,textDecoration:"underline",onContextMenu:function(e){e.preventDefault(),o(r[g],e)},onClick:function(){return t(r[g])},_hover:{textDecoration:"none",cursor:"pointer",bgColor:d+"22"},_focus:{outlineColor:u},children:c})},gn=function(e){var n=e.href,t=e.children,r=(0,m.useContext)(en.N).highlightColor;return(0,pe.jsxs)(Ke.r,{color:r,isExternal:!0,href:n,children:[t,(0,pe.jsx)(J.h,{mx:"1px",pb:"2px"})]})},fn=function e(n){var t,r=n.href,o=n.children,s=n.nodeById,c=n.setSidebarHighlightedNode,a=(n.previewNode,n.setPreviewNode),u=n.nodeByCite,d=n.openContextMenu,g=(0,m.useState)(null),f=g[0],p=g[1],x=(0,l.Z)((0,i.Z)(r.matchAll(/(.*?)\:(.*)/g))[0],3),j=(x[0],x[1]),b=x[2],v=(0,m.useState)(!1),y=v[0],C=v[1];if((0,m.useEffect)((function(){j.replaceAll(/(http)?.*/g,"$1")||f||y&&fetch("http://localhost:35901/file/".concat(N)).then((function(e){return e.text()})).then((function(e){if("error"===e);else{var n=D.processSync(e).result;p(n)}})).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."}))}),[y,f]),j.replaceAll(/(http)?.*/g,"$1"))return(0,pe.jsx)(gn,{href:r,children:o});var O,w,k,S,P=function(e,n){if("id"===e)return n;if(e.includes("cite")){var t,r=null!==(t=u[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""}(j,b),N=encodeURIComponent(encodeURIComponent(null===(t=s[P])||void 0===t?void 0:t.file)),D=Te()().use(Fe()).use(Ae()).use(Ge()).use(Qe(),{createElement:m.createElement,components:{a:function(n){var t=n.children,r=n.href;return(0,pe.jsx)(e,{nodeByCite:u,setSidebarHighlightedNode:c,href:r,nodeById:s,setPreviewNode:a,openContextMenu:d,children:t})},img:function(e){var n,t=e.src;return(0,pe.jsx)(sn,{src:t,file:null===(n=s[P])||void 0===n?void 0:n.file})}}});return P?(0,pe.jsx)(pe.Fragment,{children:(0,pe.jsxs)(Ye.J2,{gutter:12,trigger:"hover",placement:"top-start",children:[(0,pe.jsx)(Ye.xo,{children:(0,pe.jsx)(h.xu,{display:"inline",onMouseEnter:function(){return C(!0)},onMouseLeave:function(){return C(!1)},children:(0,pe.jsx)(hn,{setSidebarHighlightedNode:c,setPreviewNode:a,nodeById:s,href:r,children:o,nodeByCite:u,openContextMenu:d},null!==(O=null===(w=s[P])||void 0===w?void 0:w.title)&&void 0!==O?O:P)})}),(0,pe.jsx)($e.h,{children:(0,pe.jsxs)(Ye.yk,{transform:"scale(1)",boxShadow:"xl",position:"relative",zIndex:"tooltip",onMouseEnter:function(){var e;c(null!==(e=s[P])&&void 0!==e?e:{})},onMouseLeave:function(){c({})},children:[(0,pe.jsx)(Ye.QH,{}),(0,pe.jsx)(Ye.b,{pb:5,fontSize:"xs",position:"relative",zIndex:"tooltip",transform:"scale(1)",width:"100%",children:(0,pe.jsx)(cn.$B,{autoHeight:!0,autoHeightMax:300,autoHide:!0,renderThumbVertical:function(e){var n=e.style,t=(0,te.Z)(e,an);return(0,pe.jsx)(h.xu,dn({style:dn(dn({},n),{},{borderRadius:0})},t))},children:(0,pe.jsx)(h.xu,{w:"100%",color:"black",px:3,sx:tn,children:f})})})]},null!==(k=null===(S=s[P])||void 0===S?void 0:S.title)&&void 0!==k?k:P)})]})}):(0,pe.jsx)(X.x,{display:"inline",color:"base.700",cursor:"not-allowed",children:o})},pn=function(e){var n=e.nodeById,t=e.setSidebarHighlightedNode,r=e.setPreviewNode,i=e.previewText,o=e.nodeByCite,l=e.previewNode,s=e.openContextMenu,c=Te()().use(Fe()).use(Xe()).use(Ue()).use(We()).use(Ae()).use(Ge()).use(Qe(),{createElement:m.createElement,components:{a:function(e){var i=e.children,l=e.href;return(0,pe.jsx)(fn,{nodeByCite:o,setSidebarHighlightedNode:t,href:"".concat(l),nodeById:n,setPreviewNode:r,openContextMenu:s,children:i})},img:function(e){var n=e.src;return(0,pe.jsx)(sn,{src:n,file:l.file})}}}),a=(0,m.useMemo)((function(){return c.processSync(i).result}),[i]);return(0,pe.jsx)(pe.Fragment,{children:a})},xn=function(e){var n=e.openContextMenu,t=e.setSidebarHighlightedNode,r=e.nodeById,i=e.nodeByCite,o=e.previewNode,l=e.setPreviewNode,s=(0,m.useState)(""),c=s[0],a=s[1],u=encodeURIComponent(encodeURIComponent(o.file));return(0,m.useEffect)((function(){fetch("http://localhost:35901/file/".concat(u)).then((function(e){return e.text()})).then((function(e){"error"!==e&&a(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.id]),(0,pe.jsx)(pe.Fragment,{children:(null===o||void 0===o?void 0:o.id)&&(0,pe.jsx)(pn,{nodeById:r,previewNode:o,setPreviewNode:l,previewText:c,nodeByCite:i,setSidebarHighlightedNode:t,openContextMenu:n})})},jn=function(e){var n,t=e.previewNode,r=e.setPreviewNode,i=e.setSidebarHighlightedNode,o=e.nodeById,s=e.linksByNodeId,c=e.nodeByCite,a=e.openContextMenu,u=(null!==(n=s[null===t||void 0===t?void 0:t.id])&&void 0!==n?n:[]).filter((function(e){var n=_t(e),r=(0,l.Z)(n,2),i=r[0];r[1];return i!==(null===t||void 0===t?void 0:t.id)})).map((function(e){return e.source}));return(0,pe.jsxs)(h.xu,{children:[(0,pe.jsx)(M.X,{pt:4,children:"Backlinks (".concat(u.length,")")}),(0,pe.jsx)(V.gC,{py:2,spacing:3,alignItems:"start",divider:(0,pe.jsx)(V.cX,{borderColor:"gray.500"}),align:"stretch",color:"gray.800",children:(null===t||void 0===t?void 0:t.id)&&u.map((function(e){var n,t,l;n=null===(t=o[e])||void 0===t?void 0:t.title;return(0,pe.jsx)(h.xu,{overflow:"hidden",p:3,bg:"gray.300",width:"100%",children:(0,pe.jsx)(fn,{nodeByCite:c,setSidebarHighlightedNode:i,href:"id:".concat(e),nodeById:o,setPreviewNode:r,openContextMenu:a,children:null===(l=o[e])||void 0===l?void 0:l.title})},e)}))})]})};function bn(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 vn(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?bn(Object(t),!0).forEach((function(n){(0,o.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):bn(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var mn=function(e){var n=e.setPreviewNode,t=e.justificationList,r=e.justification,i=e.previewNode,o=e.nodeById,l=e.nodeByCite,s=e.setSidebarHighlightedNode,c=e.linksByNodeId,a=e.openContextMenu;return(0,pe.jsx)(h.xu,{pr:8,height:"100%",className:"org",sx:vn(vn({},nn),{},{textAlign:t[r]}),children:(null===i||void 0===i?void 0:i.id)&&(0,pe.jsxs)(g.k,{height:"100%",flexDirection:"column",justifyContent:"space-between",children:[(0,pe.jsx)(xn,{setPreviewNode:n,previewNode:i,nodeById:o,nodeByCite:l,setSidebarHighlightedNode:s,openContextMenu:a}),(0,pe.jsx)(jn,{setPreviewNode:n,previewNode:i,nodeById:o,linksByNodeId:c,nodeByCite:l,setSidebarHighlightedNode:s,openContextMenu:a})]})})},yn=t(29119);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 On(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,o.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}function wn(e,n){var t,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=kn(e,null!==(t=r.storage)&&void 0!==t?t:localStorage),o=i.get(),l=void 0!==o?o:n,s=null!=o&&"object"===typeof o&&!1===Array.isArray(o)?On(On({},n),o):l;s!==o&&i.update(s);var c=(0,m.useState)(s),a=c[0],u=c[1];(0,m.useEffect)((function(){a!==s&&u(s)}),[e]);var d=function(e){e instanceof Function?u((function(n){var t=e(n);return i.update(t),t})):(u(e),i.update(e))};return[a,d]}function kn(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 Sn=["style"];function Pn(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?Pn(Object(t),!0).forEach((function(n){(0,o.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Pn(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var Dn=function(e){var n=e.isOpen,t=e.onOpen,r=e.onClose,i=e.previewNode,o=e.setPreviewNode,s=e.nodeById,c=e.linksByNodeId,a=e.nodeByCite,u=e.setSidebarHighlightedNode,d=e.canUndo,f=e.canRedo,x=e.resetPreviewNode,j=e.previousPreviewNode,b=e.nextPreviewNode,v=e.openContextMenu,C=(e.scope,e.setScope,e.windowWidth),O=e.filter,w=e.setFilter,k=e.tagColors,S=e.setTagColors,P=((0,m.useContext)(en.N).highlightColor,(0,m.useState)()),N=P[0],D=P[1],I=wn("sidebarWidth",400),L=(0,l.Z)(I,2),z=L[0],E=L[1];(0,m.useEffect)((function(){null!==i&&void 0!==i&&i.id?(t(),D(i)):r()}),[null===i||void 0===i?void 0:i.id]);var Z=(0,m.useState)(1),R=Z[0],T=Z[1],B=(0,m.useState)("sans serif"),F=(B[0],B[1]),H=(0,m.useState)(0),A=(H[0],H[1]);return(0,pe.jsx)(Ce,{animateOpacity:!1,dimension:"width",in:n,unmountOnExit:!0,startingSize:0,style:{height:"100vh"},children:(0,pe.jsx)(yn.e,{size:{height:"100vh",width:z},onResizeStop:function(e,n,t,r){E((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:C-200,children:(0,pe.jsxs)(g.k,{flexDir:"column",h:"100vh",pl:2,color:"black",bg:"alt.100",width:"100%",children:[(0,pe.jsxs)(g.k,{pl:4,alignItems:"center",color:"black",width:"100%",children:[(0,pe.jsx)(g.k,{flexShrink:0,children:(0,pe.jsx)(y.UY3,{onContextMenu:function(e){e.preventDefault(),v(i,e)}})}),(0,pe.jsx)(g.k,{whiteSpace:"nowrap",textOverflow:"ellipsis",overflow:"hidden",onContextMenu:function(e){e.preventDefault(),v(i,e)},children:(0,pe.jsx)(M.X,{pl:2,whiteSpace:"nowrap",textOverflow:"ellipsis",overflow:"hidden",lineHeight:1,size:"sm",fontWeight:600,color:"gray.800",children:null===N||void 0===N?void 0:N.title})}),(0,pe.jsx)(g.k,{flexDir:"row",ml:"auto",children:(0,pe.jsx)(p.h,{m:1,icon:(0,pe.jsx)(y.T41,{}),"aria-label":"Options",variant:"subtle",onClick:function(e){v(i,e,{left:void 0,top:12,right:20-C,bottom:void 0})}})})]}),(0,pe.jsx)(Ie,{setJustification:T,setIndent:A,setFont:F,justification:R,setPreviewNode:o,canUndo:d,canRedo:f,resetPreviewNode:x,previousPreviewNode:j,nextPreviewNode:b}),(0,pe.jsx)(cn.$B,{autoHide:!0,renderThumbVertical:function(e){var n=e.style,t=(0,te.Z)(e,Sn);return(0,pe.jsx)(h.xu,Nn({style:Nn(Nn({},n),{},{borderRadius:0})},t))},children:(0,pe.jsxs)(V.gC,{flexGrow:1,alignItems:"left",bg:"alt.100",paddingLeft:4,children:[(0,pe.jsx)(Ze,{filter:O,setFilter:w,tagColors:k,setTagColors:S,openContextMenu:v,previewNode:i}),(0,pe.jsx)(mn,{setPreviewNode:o,previewNode:i,nodeById:s,nodeByCite:a,setSidebarHighlightedNode:u,justification:R,justificationList:["justify","start","end","center"],linksByNodeId:c,openContextMenu:v})]})})]})})})},In=t(93924),Ln=t(83986),zn=t(48931),En=t(56769),Zn=t(6569),Rn=t(88134),Tn=t(47647);function Bn(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 Fn(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?Bn(Object(t),!0).forEach((function(n){(0,o.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Bn(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var Hn=function(e){var n=e.filter,t=e.setFilter,r=e.tags,i=e.highlightColor,l=e.mode,s=r.map((function(e){return{value:e,label:e}})),c="blacklist"===l?"tagsBlacklist":"tagsWhitelist",a=(0,m.useState)(n[c].map((function(e){return{value:e,label:e}}))),u=a[0],d=a[1];return(0,pe.jsx)(Tn.CUIAutoComplete,{labelStyleProps:{fontWeight:300,fontSize:14},items:s,label:"Add tag to "+l,placeholder:" ",onCreateItem:function(e){return null},disableCreateItem:!0,selectedItems:u,onSelectedItemsChange:function(e){e.selectedItems&&(d(e.selectedItems),t(Fn(Fn({},n),{},(0,o.Z)({},c,e.selectedItems.map((function(e){return e.value}))))))},listItemStyleProps:{overflow:"hidden"},highlightItemBg:"gray.400",toggleButtonStyleProps:{variant:"outline"},inputStyleProps:{mt:2,height:8,focusBorderColor:i,color:"gray.800",borderColor:"gray.500"},tagStyleProps:{justifyContent:"flex-start",fontSize:10,borderColor:i,borderWidth:1,borderRadius:"md",color:i,bg:"",height:4,mb:2},hideToggleButton:!0,itemRenderer:function(e){return e.label}})};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,o.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 Wn=function(e){var n=e.colorList,t=e.tagColors,r=e.setTagColors,i=e.highlightColor,l=e.tags.map((function(e){return{value:e,label:e}})),s=(0,m.useState)(Object.keys(t).map((function(e){return{value:e,label:e}}))),c=s[0],a=s[1];return(0,pe.jsxs)(h.xu,{children:[(0,pe.jsx)(Tn.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:i,color:"gray.800",borderColor:"gray.500"},tagStyleProps:{display:"none",rounded:"full",bg:i,height:8,paddingLeft:4,fontWeight:"bold"},hideToggleButton:!0,itemRenderer:function(e){return e.label}}),(0,pe.jsx)(V.gC,{spacing:2,justifyContent:"flex-start",divider:(0,pe.jsx)(V.cX,{borderColor:"gray.500"}),align:"stretch",color:"gray.800",children:Object.keys(t).map((function(e){return(0,pe.jsxs)(g.k,{alignItems:"center",justifyContent:"space-between",width:"100%",pl:2,children:[(0,pe.jsx)(h.xu,{width:"100%",children:(0,pe.jsx)(X.x,{children:e})}),(0,pe.jsxs)(A.v2,{isLazy:!0,placement:"right",children:[(0,pe.jsx)(A.j2,{as:_.z,colorScheme:"",color:"black",children:(0,pe.jsx)(h.xu,{bgColor:t[e],borderRadius:"sm",height:6,width:6})}),(0,pe.jsxs)($e.h,{children:[" ",(0,pe.jsx)(A.qy,{minW:10,zIndex:"popover",bgColor:"gray.200",children:n.map((function(n){return(0,pe.jsx)(A.sN,{onClick:function(){return r(Mn(Mn({},t),{},(0,o.Z)({},e,n)))},justifyContent:"space-between",alignItems:"center",display:"flex",children:(0,pe.jsx)(h.xu,{bgColor:n,borderRadius:"sm",height:6,width:6})},n)}))})]})]}),(0,pe.jsx)(p.h,{"aria-label":"Delete tag color",variant:"ghost",icon:(0,pe.jsx)(K.p,{}),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)}))})]})},Vn=t(24682),Xn=t(24189),_n=function(e){var n=e.infoText;return(0,pe.jsx)(h.xu,{paddingLeft:"1",children:(0,pe.jsx)(f.u,{label:n,placement:"top",color:"gray.100",bg:"gray.800",hasArrow:!0,children:(0,pe.jsx)(Xn.h,{})})})},Un=["min","max","step","value"],qn=function(e){var n=e.min,t=void 0===n?0:n,r=e.max,i=void 0===r?10:r,o=e.step,l=void 0===o?.1:o,s=e.value,c=void 0===s?1:s,a=(0,te.Z)(e,Un),u=a.onChange,d=a.label,g=a.infoText,p=(0,m.useContext)(en.N).highlightColor;return(0,pe.jsxs)(h.xu,{pt:1,pb:2,children:[(0,pe.jsxs)(h.xu,{display:"flex",alignItems:"flex-end",mb:2,children:[(0,pe.jsx)(X.x,{children:d}),g&&(0,pe.jsx)(_n,{infoText:g})]}),(0,pe.jsxs)(Vn.iR,{value:c,onChange:u,min:t,max:i,step:l,children:[(0,pe.jsx)(Vn.Uj,{children:(0,pe.jsx)(Vn.Ms,{})}),(0,pe.jsx)(f.u,{bg:p,label:c.toFixed(1),children:(0,pe.jsx)(Vn.gs,{bg:"white"})})]})]},d)};function Gn(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 Jn(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?Gn(Object(t),!0).forEach((function(n){(0,o.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Gn(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var Qn=function(e){var n=e.filter,t=e.setFilter,r=e.local,i=e.setLocal,o=e.tagColors,l=e.setTagColors,s=e.highlightColor,c=e.colorList,a=e.tags;return(0,pe.jsxs)(h.xu,{children:[(0,pe.jsxs)(V.gC,{spacing:2,justifyContent:"flex-start",divider:(0,pe.jsx)(V.cX,{borderColor:"gray.500"}),align:"stretch",paddingLeft:7,color:"gray.800",children:[(0,pe.jsxs)(g.k,{alignItems:"center",justifyContent:"space-between",children:[(0,pe.jsx)(X.x,{children:"Link children to"}),(0,pe.jsxs)(A.v2,{isLazy:!0,placement:"right",children:[(0,pe.jsx)(A.j2,{as:_.z,rightIcon:(0,pe.jsx)(Zn.v,{}),colorScheme:"",color:"black",size:"sm",children:function(){switch(n.parent){case"parent":return(0,pe.jsx)(X.x,{children:"File"});case"heading":return(0,pe.jsx)(X.x,{children:"Heading"});default:return(0,pe.jsx)(X.x,{children:"Nothing"})}}()}),(0,pe.jsxs)($e.h,{children:[" ",(0,pe.jsxs)(A.qy,{bgColor:"gray.200",zIndex:"popover",children:[(0,pe.jsx)(A.sN,{onClick:function(){return t((function(e){return Jn(Jn({},e),{},{parent:""})}))},children:"Nothing"}),(0,pe.jsx)(A.sN,{onClick:function(){return t((function(e){return Jn(Jn({},e),{},{parent:"parent"})}))},children:"Parent file node"}),(0,pe.jsx)(A.sN,{onClick:function(){return t((function(e){return Jn(Jn({},e),{},{parent:"heading"})}))},children:"Next highest heading node"})]})]})]})]}),(0,pe.jsxs)(g.k,{justifyContent:"space-between",children:[(0,pe.jsx)(X.x,{children:"Orphans"}),(0,pe.jsx)(Rn.r,{onChange:function(){t((function(e){return Jn(Jn({},e),{},{orphans:!e.orphans})}))},isChecked:n.orphans})]}),(0,pe.jsxs)(g.k,{justifyContent:"space-between",children:[(0,pe.jsx)(X.x,{children:"Dailies"}),(0,pe.jsx)(Rn.r,{onChange:function(){t((function(e){return Jn(Jn({},e),{},{dailies:!e.dailies})}))},isChecked:n.dailies})]}),(0,pe.jsxs)(g.k,{justifyContent:"space-between",children:[(0,pe.jsx)(X.x,{children:"Org-noter pages"}),(0,pe.jsx)(Rn.r,{onChange:function(){t((function(e){return Jn(Jn({},e),{},{noter:!e.noter})}))},isChecked:n.noter})]}),(0,pe.jsxs)(g.k,{justifyContent:"space-between",children:[(0,pe.jsx)(X.x,{children:"Citations without note files"}),(0,pe.jsx)(Rn.r,{onChange:function(){t(Jn(Jn({},n),{},{filelessCites:!n.filelessCites}))},isChecked:n.filelessCites})]}),(0,pe.jsxs)(g.k,{justifyContent:"space-between",children:[(0,pe.jsx)(X.x,{children:"Non-existent nodes"}),(0,pe.jsx)(Rn.r,{onChange:function(){l(Jn(Jn({},o),{},{bad:"white"})),t(Jn(Jn({},n),{},{bad:!n.bad}))},isChecked:n.bad})]}),(0,pe.jsx)(qn,{label:"Number of neighbors in local graph",value:r.neighbors,onChange:function(e){return i(Jn(Jn({},r),{},{neighbors:e}))},min:1,max:5,step:1})]}),(0,pe.jsxs)(En.UQ,{padding:0,allowToggle:!0,allowMultiple:!0,paddingLeft:3,children:[(0,pe.jsxs)(En.Qd,{children:[(0,pe.jsxs)(En.KF,{children:["Tag filters",(0,pe.jsx)(En.XE,{})]}),(0,pe.jsxs)(En.Hk,{pr:0,mr:0,children:[(0,pe.jsx)(Hn,{highlightColor:s,filter:n,setFilter:t,tags:a,mode:"blacklist"}),(0,pe.jsx)(Hn,{highlightColor:s,filter:n,setFilter:t,tags:a,mode:"whitelist"})]})]}),(0,pe.jsxs)(En.Qd,{children:[(0,pe.jsxs)(En.KF,{children:["Tag colors",(0,pe.jsx)(En.XE,{})]}),(0,pe.jsx)(En.Hk,{pr:0,mr:0,children:(0,pe.jsx)(Wn,{tags:a,colorList:c,tagColors:o,setTagColors:l,highlightColor:s})})]})]})]})},Kn=t(15267),Yn=function(e){var n=e.value,t=e.onChange,r=e.label,i=e.infoText,o=e.children;return(0,pe.jsxs)(h.xu,{paddingTop:2,children:[(0,pe.jsxs)(h.xu,{display:"flex",justifyContent:"space-between",paddingBottom:2,children:[(0,pe.jsxs)(h.xu,{display:"flex",alignItems:"center",children:[(0,pe.jsx)(X.x,{children:r}),i&&(0,pe.jsx)(_n,{infoText:i})]}),(0,pe.jsx)(Rn.r,{isChecked:!!n,onChange:t})]}),(0,pe.jsx)(Kn.U,{in:!!n,animateOpacity:!0,children:(0,pe.jsx)(h.xu,{paddingLeft:4,paddingTop:2,paddingBottom:2,children:o})})]},r)};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 et(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,o.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 nt=function(e){var n=e.physics,t=e.setPhysics,r=(0,m.useCallback)((function(e,n,r){t((function(t){return et(et({},t),{},(0,o.Z)({},n,e/r))}))}),[]);return(0,pe.jsxs)(h.xu,{children:[(0,pe.jsxs)(V.gC,{spacing:2,justifyContent:"flex-start",divider:(0,pe.jsx)(V.cX,{borderColor:"gray.500"}),align:"stretch",paddingLeft:7,color:"gray.800",children:[(0,pe.jsxs)(Yn,{label:"Gravity",value:n.gravityOn,onChange:function(){return t(et(et({},n),{},{gravityOn:!n.gravityOn}))},children:[(0,pe.jsxs)(g.k,{justifyContent:"space-between",children:[(0,pe.jsx)(X.x,{children:"Also in local"}),(0,pe.jsx)(Rn.r,{onChange:function(){t((function(e){return et(et({},e),{},{gravityLocal:!e.gravityLocal})}))},isChecked:n.gravityLocal})]}),(0,pe.jsx)(qn,{label:"Strength",value:10*n.gravity,onChange:function(e){return r(e,"gravity",10)}})]}),(0,pe.jsx)(qn,{value:-n.charge/100,onChange:function(e){return r(e,"charge",-.01)},label:"Repulsive Force"}),(0,pe.jsx)(Yn,{label:"Collision",infoText:"Perfomance sap, disable if slow",value:n.collision,onChange:function(){return t(et(et({},n),{},{collision:!n.collision}))},children:(0,pe.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,pe.jsx)(qn,{value:5*n.linkStrength,onChange:function(e){return r(e,"linkStrength",5)},label:"Link Force"}),(0,pe.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,pe.jsx)(qn,{label:"Viscosity",value:10*n.velocityDecay,onChange:function(e){return r(e,"velocityDecay",10)}})]}),(0,pe.jsx)(h.xu,{children:(0,pe.jsx)(En.UQ,{paddingLeft:3,allowToggle:!0,children:(0,pe.jsxs)(En.Qd,{children:[(0,pe.jsxs)(En.KF,{children:[(0,pe.jsx)(X.x,{children:"Advanced"}),(0,pe.jsx)(En.XE,{marginRight:2})]}),(0,pe.jsx)(En.Hk,{children:(0,pe.jsxs)(V.gC,{spacing:2,justifyContent:"flex-start",divider:(0,pe.jsx)(V.cX,{borderColor:"gray.500"}),align:"stretch",paddingLeft:3,color:"gray.800",children:[(0,pe.jsx)(qn,{label:"Stabilization rate",value:50*n.alphaDecay,onChange:function(e){return r(e,"alphaDecay",50)}}),(0,pe.jsx)(Yn,{label:"Center nodes",value:n.centering,onChange:function(){return t(et(et({},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,pe.jsx)(qn,{label:"Centering Strength",value:n.centeringStrength,max:2,step:.01,onChange:function(e){return r(e,"centeringStrength",1)}})})]})})]})})})]})},tt=t(46049);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 it(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,o.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 ot=function(e){var n=e.visuals,t=e.setVisuals;return(0,pe.jsx)(V.gC,{spacing:2,justifyContent:"flex-start",divider:(0,pe.jsx)(V.cX,{borderColor:"gray.500"}),align:"stretch",color:"gray.800",children:(0,pe.jsx)(h.xu,{children:(0,pe.jsx)(Yn,{label:"Highlight",onChange:function(){return t((function(e){return it(it({},e),{},{highlight:!e.highlight})}))},value:n.highlight,children:(0,pe.jsxs)(V.gC,{spacing:1,justifyContent:"flex-start",divider:(0,pe.jsx)(V.cX,{borderColor:"gray.400"}),align:"stretch",paddingLeft:0,children:[(0,pe.jsx)(qn,{label:"Highlight Link Thickness",value:n.highlightLinkSize,onChange:function(e){return t((function(n){return it(it({},n),{},{highlightLinkSize:e})}))}}),(0,pe.jsx)(qn,{label:"Highlight Node Size",value:n.highlightNodeSize,onChange:function(e){return t((function(n){return it(it({},n),{},{highlightNodeSize:e})}))}}),(0,pe.jsx)(qn,{min:0,max:1,label:"Highlight Fade",value:n.highlightFade,onChange:function(e){return t((function(n){return it(it({},n),{},{highlightFade:e})}))}}),(0,pe.jsxs)(Yn,{label:"Highlight Animation",onChange:function(){t((function(e){return it(it({},e),{},{highlightAnim:!e.highlightAnim})}))},value:n.highlightAnim,children:[(0,pe.jsx)(qn,{label:"Animation speed",onChange:function(e){return t((function(n){return it(it({},n),{},{animationSpeed:e})}))},value:n.animationSpeed,infoText:"Slower speed has a chance of being buggy",min:50,max:1e3,step:10}),(0,pe.jsx)(tt.Ph,{placeholder:n.algorithmName,onChange:function(e){t((function(n){return it(it({},n),{},{algorithmName:e.target.value})}))},children:n.algorithmOptions.map((function(e){return(0,pe.jsx)("option",{value:e,children:e},e)}))})]})]})})})})},lt=t(67546),st=t(93441);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,o.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 ut=function(e){var n=e.label,t=e.colorList,r=e.value,i=e.visValue,l=e.setVisuals,s=e.noEmpty,c=(0,m.useCallback)((function(e){return l((function(n){return at(at({},n),{},(0,o.Z)({},r,e))}))}),[]);return(0,pe.jsxs)(g.k,{alignItems:"center",justifyContent:"space-between",children:[(0,pe.jsx)(X.x,{children:n}),(0,pe.jsxs)(Ye.J2,{isLazy:!0,placement:"right",children:[(0,pe.jsx)(Ye.xo,{children:(0,pe.jsx)(_.z,{colorScheme:"",color:"black",rightIcon:(0,pe.jsx)(Zn.v,{}),children:(0,pe.jsx)(h.xu,{bgColor:i,borderRadius:"sm",height:6,width:6})})}),(0,pe.jsx)($e.h,{children:(0,pe.jsx)(Ye.yk,{zIndex:"tooltip",maxW:36,position:"relative",children:(0,pe.jsxs)(g.k,{flexWrap:"wrap",bgColor:"gray.200",children:[!s&&(0,pe.jsx)(h.xu,{onClick:function(){return c("")},justifyContent:"space-between",alignItems:"center",display:"flex",m:1,children:(0,pe.jsx)(h.xu,{height:6,width:6,borderColor:"gray.600",borderRadius:"xl",borderWidth:1})}),t.map((function(e){return(0,pe.jsx)(h.xu,{m:1,onClick:function(){return c(e)},justifyContent:"space-between",alignItems:"center",display:"flex",children:(0,pe.jsx)(h.xu,{bgColor:e,borderRadius:"xl",height:6,width:6})},e)}))]})})})]})]})};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 ht(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,o.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 gt=function(e){var n=e.visuals,t=e.setVisualsCallback,r=e.highlightColor,o=e.setHighlightColor;return(0,pe.jsx)(V.gC,{spacing:2,justifyContent:"flex-start",divider:(0,pe.jsx)(V.cX,{borderColor:"gray.500"}),align:"stretch",color:"gray.800",children:(0,pe.jsxs)(h.xu,{children:[(0,pe.jsxs)(g.k,{alignItems:"center",justifyContent:"space-between",children:[(0,pe.jsx)(X.x,{children:"Nodes"}),(0,pe.jsx)(f.u,{label:"Shuffle node colors",children:(0,pe.jsx)(p.h,{"aria-label":"Shuffle node colors",size:"sm",icon:(0,pe.jsx)(lt.n,{}),variant:"ghost",onClick:function(){var e,r=null!==(e=n.nodeColorScheme)&&void 0!==e?e:[];t(ht(ht({},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,pe.jsx)(f.u,{label:"Cycle node colors",children:(0,pe.jsx)(p.h,{"aria-label":"Shift node colors",icon:(0,pe.jsx)(st.L,{}),size:"sm",variant:"ghost",onClick:function(){var e,r=null!==(e=n.nodeColorScheme)&&void 0!==e?e:[];t(ht(ht({},n),{},{nodeColorScheme:[].concat((0,i.Z)(r.slice(1,r.length)),[r[0]])}))}})}),(0,pe.jsxs)(A.v2,{isLazy:!0,placement:"right",closeOnSelect:!1,matchWidth:!0,children:[(0,pe.jsx)(A.j2,{width:20,as:_.z,colorScheme:"",color:"black",rightIcon:(0,pe.jsx)(Zn.v,{}),children:(0,pe.jsx)(g.k,{height:6,width:6,flexDirection:"column",flexWrap:"wrap",children:n.nodeColorScheme.map((function(e){return(0,pe.jsx)(h.xu,{bgColor:e,flex:"1 1 8px",borderRadius:"2xl"},e)}))})}),(0,pe.jsxs)($e.h,{children:[" ",(0,pe.jsx)(A.qy,{minW:10,zIndex:"popover",bgColor:"gray.200",children:(0,pe.jsx)(A.__,{width:500,type:"checkbox",defaultValue:n.nodeColorScheme,onChange:function(e){e.length&&t(ht(ht({},n),{},{nodeColorScheme:e}))},children:H.map((function(e){return(0,pe.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,pe.jsx)(h.xu,{justifyContent:"space-between",alignItems:"center",display:"flex",children:(0,pe.jsx)(h.xu,{bgColor:e,borderRadius:"sm",height:6,width:6})})},e)}))})})]})]})]}),(0,pe.jsxs)(g.k,{alignItems:"center",justifyContent:"space-between",children:[(0,pe.jsx)(X.x,{children:"Links"}),(0,pe.jsxs)(A.v2,{isLazy:!0,placement:"right",children:[(0,pe.jsx)(A.j2,{as:_.z,colorScheme:"",color:"black",rightIcon:(0,pe.jsx)(Zn.v,{}),children:(0,pe.jsx)(h.xu,{children:n.linkColorScheme?(0,pe.jsx)(h.xu,{bgColor:n.linkColorScheme,borderRadius:"sm",height:6,width:6}):(0,pe.jsx)(g.k,{height:6,width:6,flexDirection:"column",flexWrap:"wrap",children:n.nodeColorScheme.map((function(e){return(0,pe.jsx)(h.xu,{bgColor:e,flex:"1 1 8px",borderRadius:"2xl"},e)}))})})}),(0,pe.jsxs)($e.h,{children:[" ",(0,pe.jsxs)(A.qy,{minW:10,zIndex:"popover",bgColor:"gray.200",children:[(0,pe.jsx)(A.sN,{onClick:function(){return t(ht(ht({},n),{},{linkColorScheme:""}))},justifyContent:"space-between",alignItems:"center",display:"flex",children:(0,pe.jsx)(g.k,{height:6,width:6,flexDirection:"column",flexWrap:"wrap",children:n.nodeColorScheme.map((function(e){return(0,pe.jsx)(h.xu,{bgColor:e,flex:"1 1 8px",borderRadius:"2xl"},e)}))})}),H.map((function(e){return(0,pe.jsx)(A.sN,{onClick:function(){return t(ht(ht({},n),{},{linkColorScheme:e}))},justifyContent:"space-between",alignItems:"center",display:"flex",children:(0,pe.jsx)(h.xu,{bgColor:e,borderRadius:"sm",height:6,width:6})},e)}))]})]})]})]}),(0,pe.jsxs)(g.k,{alignItems:"center",justifyContent:"space-between",children:[(0,pe.jsx)(X.x,{children:"Accent"}),(0,pe.jsxs)(A.v2,{isLazy:!0,placement:"right",children:[(0,pe.jsx)(A.j2,{as:_.z,colorScheme:"",color:"black",rightIcon:(0,pe.jsx)(Zn.v,{}),children:(0,pe.jsx)(h.xu,{bgColor:r,borderRadius:"sm",height:6,width:6})}),(0,pe.jsxs)($e.h,{children:[" ",(0,pe.jsx)(A.qy,{minW:10,zIndex:"popover",bgColor:"gray.200",children:H.map((function(e){return(0,pe.jsx)(A.sN,{onClick:function(){return o(e)},justifyContent:"space-between",alignItems:"center",display:"flex",children:(0,pe.jsx)(h.xu,{bgColor:e,borderRadius:"sm",height:6,width:6})},e)}))})]})]})]}),(0,pe.jsx)(ut,{colorList:H,label:"Link highlight",setVisuals:t,value:"linkHighlight",visValue:n.linkHighlight}),(0,pe.jsx)(ut,{colorList:H,label:"Node highlight",setVisuals:t,value:"nodeHighlight",visValue:n.nodeHighlight}),(0,pe.jsx)(ut,{colorList:H,label:"Background",setVisuals:t,value:"backgroundColor",visValue:n.backgroundColor}),(0,pe.jsx)(ut,{colorList:H,label:"Emacs node",setVisuals:t,value:"emacsNodeColor",visValue:n.emacsNodeColor})]})})};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 pt(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,o.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 xt=function(e){var n=e.visuals,t=e.setVisuals,r=e.threeDim;return(0,pe.jsx)(V.gC,{spacing:2,justifyContent:"flex-start",divider:(0,pe.jsx)(V.cX,{borderColor:"gray.500"}),align:"stretch",color:"gray.800",children:(0,pe.jsxs)(h.xu,{children:[(0,pe.jsx)(qn,{label:"Node size",value:n.nodeRel,onChange:function(e){return t(pt(pt({},n),{},{nodeRel:e}))}}),(0,pe.jsx)(qn,{label:"Node connections size scale",value:n.nodeSizeLinks,min:0,max:2,onChange:function(e){return t(pt(pt({},n),{},{nodeSizeLinks:e}))}}),(0,pe.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 pt(pt({},n),{},{nodeZoomSize:e})}))}}),r&&(0,pe.jsxs)(pe.Fragment,{children:[(0,pe.jsx)(qn,{label:"Node opacity",value:n.nodeOpacity,min:0,max:1,onChange:function(e){return t(pt(pt({},n),{},{nodeOpacity:e}))}}),(0,pe.jsx)(qn,{label:"Node resolution",value:n.nodeResolution,min:5,max:32,step:1,onChange:function(e){return t(pt(pt({},n),{},{nodeResolution:e}))}})]}),(0,pe.jsx)(qn,{label:"Link width",value:n.linkWidth,onChange:function(e){return t(pt(pt({},n),{},{linkWidth:e}))}}),r&&(0,pe.jsx)(qn,{label:"Link opacity",min:0,max:1,value:n.linkOpacity,onChange:function(e){return t(pt(pt({},n),{},{linkOpacity:e}))}}),(0,pe.jsxs)(Yn,{label:"Link arrows",value:n.arrows,onChange:function(){return t(pt(pt({},n),{},{arrows:!n.arrows}))},children:[(0,pe.jsx)(qn,{label:"Arrow size",value:n.arrowsLength/10,onChange:function(e){return t(pt(pt({},n),{},{arrowsLength:10*e}))}}),(0,pe.jsx)(qn,{label:"Arrow Position",value:n.arrowsPos,min:0,max:1,step:.01,onChange:function(e){return t(pt(pt({},n),{},{arrowsPos:e}))}}),(0,pe.jsx)(ut,{colorList:H,label:"Arrow Color",setVisuals:t,value:"arrowsColor",visValue:n.arrowsColor},"arrow")]}),(0,pe.jsxs)(Yn,{label:"Directional Particles",value:n.particles,onChange:function(){return t(pt(pt({},n),{},{particles:!n.particles}))},children:[(0,pe.jsx)(qn,{label:"Particle Number",value:n.particlesNumber,max:5,step:1,onChange:function(e){return t(pt(pt({},n),{},{particlesNumber:e}))}}),(0,pe.jsx)(qn,{label:"Particle Size",value:n.particlesWidth,onChange:function(e){return t(pt(pt({},n),{},{particlesWidth:e}))}})]})]})})};function jt(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?jt(Object(t),!0).forEach((function(n){(0,o.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):jt(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var vt=function(e){var n=e.visuals,t=e.setVisuals;return(0,pe.jsxs)(V.gC,{spacing:2,justifyContent:"flex-start",divider:(0,pe.jsx)(V.cX,{borderColor:"gray.400"}),align:"stretch",color:"gray.800",children:[(0,pe.jsxs)(g.k,{alignItems:"center",justifyContent:"space-between",children:[(0,pe.jsx)(X.x,{children:"Show labels"}),(0,pe.jsxs)(A.v2,{isLazy:!0,placement:"right",children:[(0,pe.jsx)(A.j2,{as:_.z,colorScheme:"",color:"black",rightIcon:(0,pe.jsx)(Zn.v,{}),children:n.labels?n.labels<2?"On Highlight":"Always":"Never"}),(0,pe.jsxs)($e.h,{children:[" ",(0,pe.jsxs)(A.qy,{zIndex:"popover",bgColor:"gray.200",children:[(0,pe.jsx)(A.sN,{onClick:function(){return t(bt(bt({},n),{},{labels:0}))},children:"Never"}),(0,pe.jsx)(A.sN,{onClick:function(){return t(bt(bt({},n),{},{labels:1}))},children:"On Highlight"}),(0,pe.jsx)(A.sN,{onClick:function(){return t(bt(bt({},n),{},{labels:2}))},children:"Always"}),(0,pe.jsx)(A.sN,{onClick:function(){return t(bt(bt({},n),{},{labels:3}))},children:"Always (even in 3D)"})]})]})]})]}),(0,pe.jsxs)(Kn.U,{in:n.labels>1,animateOpacity:!0,children:[(0,pe.jsx)(h.xu,{paddingTop:2,children:(0,pe.jsx)(qn,{label:"Label Appearance Scale",value:2*n.labelScale,onChange:function(e){return t(bt(bt({},n),{},{labelScale:e/2}))}})}),(0,pe.jsxs)(h.xu,{paddingTop:2,children:[(0,pe.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 bt(bt({},n),{},{labelDynamicStrength:e})}))}}),(0,pe.jsx)(Kn.U,{in:n.labelDynamicStrength>0,children:(0,pe.jsx)(qn,{label:"Dynamic zoom degree cap",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.labelDynamicDegree,min:1,max:15,step:1,onChange:function(e){return t((function(n){return bt(bt({},n),{},{labelDynamicDegree:e})}))}})})]})]}),(0,pe.jsx)(ut,{colorList:H,label:"Text",setVisuals:t,value:"labelTextColor",visValue:n.labelTextColor}),(0,pe.jsxs)(h.xu,{children:[(0,pe.jsx)(ut,{colorList:H,label:"Background",setVisuals:t,value:"labelBackgroundColor",visValue:n.labelBackgroundColor}),(0,pe.jsx)(Kn.U,{in:!!n.labelBackgroundColor,animateOpacity:!0,children:(0,pe.jsx)(h.xu,{paddingTop:2,children:(0,pe.jsx)(qn,{label:"Background opacity",value:n.labelBackgroundOpacity,onChange:function(e){console.log(n.labelBackgroundOpacity),t(bt(bt({},n),{},{labelBackgroundOpacity:e}))},min:0,max:1,step:.01})})})]}),(0,pe.jsx)(qn,{label:"Label font size",value:n.labelFontSize,min:5,max:20,step:.5,onChange:function(e){return t(bt(bt({},n),{},{labelFontSize:e}))}}),(0,pe.jsx)(qn,{label:"Max. label characters",value:n.labelLength,min:10,max:100,step:1,onChange:function(e){return t(bt(bt({},n),{},{labelLength:e}))}}),(0,pe.jsx)(qn,{label:"Max. label line length",value:n.labelWordWrap,min:10,max:100,step:1,onChange:function(e){return t(bt(bt({},n),{},{labelWordWrap:e}))}}),(0,pe.jsx)(qn,{label:"Space between label lines",value:n.labelLineSpace,min:.2,max:3,step:.1,onChange:function(e){return t(bt(bt({},n),{},{labelLineSpace:e}))}})]})};function mt(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 yt(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?mt(Object(t),!0).forEach((function(n){(0,o.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):mt(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var Ct=function(e){var n=e.visuals,t=e.setVisuals;return(0,pe.jsx)(V.gC,{spacing:2,justifyContent:"flex-start",divider:(0,pe.jsx)(V.cX,{borderColor:"gray.500"}),align:"stretch",color:"gray.800",children:(0,pe.jsxs)(h.xu,{children:[(0,pe.jsxs)(Yn,{label:"Dash cite links",infoText:"Add dashes to citation links made with org-roam-bibtex",value:n.citeDashes,onChange:function(){return t(yt(yt({},n),{},{citeDashes:!n.citeDashes}))},children:[(0,pe.jsx)(qn,{label:"Dash length",value:n.citeDashLength/10,onChange:function(e){return t(yt(yt({},n),{},{citeDashLength:10*e}))}}),(0,pe.jsx)(qn,{label:"Gap length",value:n.citeGapLength/5,onChange:function(e){return t(yt(yt({},n),{},{citeGapLength:5*e}))}})]}),(0,pe.jsx)(ut,{colorList:H,label:"Citation node color",setVisuals:t,value:"citeNodeColor",visValue:n.citeNodeColor}),(0,pe.jsx)(ut,{colorList:H,label:"Citation link color",setVisuals:t,value:"citeLinkColor",visValue:n.citeLinkColor}),(0,pe.jsx)(ut,{colorList:H,label:"Reference link highlight",setVisuals:t,value:"citeLinkHighlightColor",visValue:n.citeLinkHighlightColor}),(0,pe.jsxs)(Yn,{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(yt(yt({},n),{},{refDashes:!n.refDashes}))},children:[(0,pe.jsx)(qn,{label:"Dash length",value:n.refDashLength/10,onChange:function(e){return t(yt(yt({},n),{},{refDashLength:10*e}))}}),(0,pe.jsx)(qn,{label:"Gap length",value:n.refGapLength/5,onChange:function(e){return t(yt(yt({},n),{},{refGapLength:5*e}))}})]}),(0,pe.jsx)(ut,{colorList:H,label:"Reference node color",setVisuals:t,value:"refNodeColor",visValue:n.refNodeColor}),(0,pe.jsx)(ut,{colorList:H,label:"Reference link color",setVisuals:t,value:"refLinkColor",visValue:n.refLinkColor}),(0,pe.jsx)(ut,{colorList:H,label:"Reference link highlight",setVisuals:t,value:"refLinkHighlightColor",visValue:n.refLinkHighlightColor})]})})},Ot=t(67690),wt=function(){var e=(0,m.useContext)(en.N),n=e.emacsTheme,t=e.setEmacsTheme;e.highlightColor;return(0,pe.jsxs)(g.k,{alignItems:"center",justifyContent:"space-between",pl:7,pr:2,children:[(0,pe.jsx)(X.x,{children:"Theme"}),(0,pe.jsxs)(A.v2,{isLazy:!0,placement:"bottom",closeOnSelect:!1,children:[(0,pe.jsx)(A.j2,{as:_.z,colorScheme:"",color:"black",rightIcon:(0,pe.jsx)(Zn.v,{}),children:n[0]}),(0,pe.jsxs)(A.qy,{minW:10,zIndex:"popover",bgColor:"gray.200",children:[(0,pe.jsx)(A.sN,{onClick:function(){return""},justifyContent:"space-between",alignItems:"center",display:"flex",children:(0,pe.jsx)(h.xu,{height:6,width:6})}),Object.keys(Ot.n).map((function(e,n){return(0,pe.jsxs)(A.sN,{onClick:function(){return t([e,Ot.n[e]])},justifyContent:"space-between",alignItems:"center",display:"flex",children:[(0,pe.jsx)(X.x,{children:e}),(0,pe.jsx)(g.k,{height:6,width:20,flexDirection:"column",flexWrap:"wrap",children:Object.values(Ot.n[e]).map((function(e){return(0,pe.jsx)(h.xu,{bgColor:e,flex:"1 1 8px"},e)}))})]},e)}))]})]})]})},kt=function(e){var n=e.visuals,t=e.setVisuals,r=e.highlightColor,i=e.setHighlightColor,o=e.threeDim,l=(0,m.useCallback)((function(e){return t(e)}),[]);return(0,pe.jsxs)(V.gC,{justifyContent:"flex-start",align:"stretch",children:[(0,pe.jsx)(wt,{}),(0,pe.jsxs)(En.UQ,{allowToggle:!0,defaultIndex:[0],paddingLeft:3,children:[(0,pe.jsxs)(En.Qd,{children:[(0,pe.jsx)(En.KF,{children:(0,pe.jsxs)(g.k,{justifyContent:"space-between",w:"100%",children:[(0,pe.jsx)(X.x,{children:"Colors"}),(0,pe.jsx)(En.XE,{marginRight:2})]})}),(0,pe.jsx)(En.Hk,{children:(0,pe.jsx)(gt,{visuals:n,setVisualsCallback:l,highlightColor:r,setHighlightColor:i})})]}),(0,pe.jsxs)(En.Qd,{children:[(0,pe.jsx)(En.KF,{children:(0,pe.jsxs)(g.k,{justifyContent:"space-between",w:"100%",children:[(0,pe.jsx)(X.x,{children:"Nodes & Links"}),(0,pe.jsx)(En.XE,{marginRight:2})]})}),(0,pe.jsx)(En.Hk,{children:(0,pe.jsx)(xt,{visuals:n,setVisuals:l,threeDim:o})})]}),(0,pe.jsxs)(En.Qd,{children:[(0,pe.jsx)(En.KF,{children:(0,pe.jsxs)(g.k,{justifyContent:"space-between",w:"100%",children:[(0,pe.jsx)(X.x,{children:"Labels"}),(0,pe.jsx)(En.XE,{marginRight:2})]})}),(0,pe.jsx)(En.Hk,{children:(0,pe.jsx)(vt,{visuals:n,setVisuals:l})})]}),(0,pe.jsxs)(En.Qd,{children:[(0,pe.jsx)(En.KF,{children:(0,pe.jsxs)(g.k,{justifyContent:"space-between",w:"100%",children:[(0,pe.jsx)(X.x,{children:"Highlighting"}),(0,pe.jsx)(En.XE,{marginRight:2})]})}),(0,pe.jsx)(En.Hk,{children:(0,pe.jsx)(ot,{visuals:n,setVisuals:l})})]}),(0,pe.jsxs)(En.Qd,{children:[(0,pe.jsx)(En.KF,{children:(0,pe.jsxs)(g.k,{justifyContent:"space-between",w:"100%",children:[(0,pe.jsx)(X.x,{children:"Citations"}),(0,pe.jsx)(En.XE,{marginRight:2})]})}),(0,pe.jsx)(En.Hk,{children:(0,pe.jsx)(Ct,{visuals:n,setVisuals:l})})]})]})]})};function St(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 Pt(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?St(Object(t),!0).forEach((function(n){(0,o.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):St(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var Nt=function(e){var n=e.behavior,t=e.setBehavior,r=e.mouse,i=e.setMouse;return(0,pe.jsxs)(V.gC,{spacing:2,justifyContent:"flex-start",divider:(0,pe.jsx)(V.cX,{borderColor:"gray.500"}),align:"stretch",paddingLeft:7,color:"gray.800",children:[(0,pe.jsxs)(g.k,{alignItems:"center",justifyContent:"space-between",children:[(0,pe.jsx)(X.x,{children:"Preview node"}),(0,pe.jsxs)(A.v2,{isLazy:!0,placement:"right",children:[(0,pe.jsx)(A.j2,{as:_.z,rightIcon:(0,pe.jsx)(Zn.v,{}),colorScheme:"",color:"black",children:(0,pe.jsx)(X.x,{children:r.preview?r.preview[0].toUpperCase()+r.preview.slice(1):"Never"})}),(0,pe.jsxs)($e.h,{children:[" ",(0,pe.jsxs)(A.qy,{bgColor:"gray.200",zIndex:"popover",children:[(0,pe.jsx)(A.sN,{onClick:function(){return i(Pt(Pt({},r),{},{preview:""}))},children:"Never"}),(0,pe.jsx)(A.sN,{onClick:function(){return i(Pt(Pt({},r),{},{preview:"click"}))},children:"Click"}),(0,pe.jsx)(A.sN,{onClick:function(){return i(Pt(Pt({},r),{},{preview:"double"}))},children:"Double Click"})]})]})]})]}),(0,pe.jsxs)(g.k,{alignItems:"center",justifyContent:"space-between",children:[(0,pe.jsxs)(g.k,{children:[(0,pe.jsx)(X.x,{children:"Expand Node"}),(0,pe.jsx)(_n,{infoText:"View only the node and its direct neighbors"})]}),(0,pe.jsxs)(A.v2,{isLazy:!0,placement:"right",children:[(0,pe.jsx)(A.j2,{as:_.z,rightIcon:(0,pe.jsx)(Zn.v,{}),colorScheme:"",color:"black",children:(0,pe.jsx)(X.x,{children:r.local?r.local[0].toUpperCase()+r.local.slice(1):"Never"})}),(0,pe.jsxs)($e.h,{children:[" ",(0,pe.jsxs)(A.qy,{zIndex:"popover",bgColor:"gray.200",children:[(0,pe.jsx)(A.sN,{onClick:function(){return i(Pt(Pt({},r),{},{local:""}))},children:"Never"}),(0,pe.jsx)(A.sN,{onClick:function(){return i(Pt(Pt({},r),{},{local:"click"}))},children:"Click"}),(0,pe.jsx)(A.sN,{onClick:function(){return i(Pt(Pt({},r),{},{local:"double"}))},children:"Double Click"}),(0,pe.jsx)(A.sN,{onClick:function(){return i(Pt(Pt({},r),{},{local:"right"}))},children:"Right Click"})]})]})]})]}),(0,pe.jsxs)(g.k,{alignItems:"center",justifyContent:"space-between",children:[(0,pe.jsx)(X.x,{children:"Open in Emacs"}),(0,pe.jsxs)(A.v2,{isLazy:!0,placement:"right",children:[(0,pe.jsx)(A.j2,{as:_.z,rightIcon:(0,pe.jsx)(Zn.v,{}),colorScheme:"",color:"black",children:(0,pe.jsx)(X.x,{children:r.follow?r.follow[0].toUpperCase()+r.follow.slice(1):"Never"})}),(0,pe.jsxs)($e.h,{children:[" ",(0,pe.jsxs)(A.qy,{bgColor:"gray.200",zIndex:"popover",children:[(0,pe.jsx)(A.sN,{onClick:function(){return i(Pt(Pt({},r),{},{follow:""}))},children:"Never"}),(0,pe.jsx)(A.sN,{onClick:function(){return i(Pt(Pt({},r),{},{follow:"click"}))},children:"Click"}),(0,pe.jsx)(A.sN,{onClick:function(){return i(Pt(Pt({},r),{},{follow:"double"}))},children:"Double Click"}),(0,pe.jsx)(A.sN,{onClick:function(){return i(Pt(Pt({},r),{},{follow:"right"}))},children:"Right Click"})]})]})]})]}),(0,pe.jsxs)(g.k,{alignItems:"center",justifyContent:"space-between",children:[(0,pe.jsx)(X.x,{children:"Follow Emacs by..."}),(0,pe.jsxs)(A.v2,{isLazy:!0,placement:"right",children:[(0,pe.jsx)(A.j2,{as:_.z,rightIcon:(0,pe.jsx)(Zn.v,{}),colorScheme:"",color:"black",children:(0,pe.jsx)(X.x,{children:n.follow[0].toUpperCase()+n.follow.slice(1)})}),(0,pe.jsxs)($e.h,{children:[" ",(0,pe.jsxs)(A.qy,{bgColor:"gray.200",zIndex:"popover",children:[(0,pe.jsx)(A.sN,{onClick:function(){return t(Pt(Pt({},n),{},{follow:"color"}))},children:"Just coloring the currently opened node"}),(0,pe.jsx)(A.sN,{onClick:function(){return t(Pt(Pt({},n),{},{follow:"local"}))},children:"Opening the local graph"}),(0,pe.jsx)(A.sN,{onClick:function(){return t(Pt(Pt({},n),{},{follow:"zoom"}))},children:"Zooming to the current node"})]})]})]})]}),(0,pe.jsxs)(g.k,{alignItems:"center",justifyContent:"space-between",children:[(0,pe.jsxs)(g.k,{children:[(0,pe.jsx)(X.x,{children:"Local graph"}),(0,pe.jsx)(_n,{infoText:"When in local mode and clicking a new node, should I add that node's local graph or open the new one?"})]}),(0,pe.jsxs)(A.v2,{isLazy:!0,placement:"right",children:[(0,pe.jsx)(A.j2,{as:_.z,rightIcon:(0,pe.jsx)(Zn.v,{}),colorScheme:"",color:"black",children:(0,pe.jsx)(X.x,{children:"add"===n.localSame?"Add":"Replace"})}),(0,pe.jsxs)($e.h,{children:[" ",(0,pe.jsxs)(A.qy,{bgColor:"gray.200",zIndex:"popover",children:[(0,pe.jsx)(A.sN,{onClick:function(){return t(Pt(Pt({},n),{},{localSame:"replace"}))},children:"Open that nodes graph"}),(0,pe.jsx)(A.sN,{onClick:function(){return t(Pt(Pt({},n),{},{localSame:"add"}))},children:"Add node to local graph"})]})]})]})]}),(0,pe.jsx)(qn,{label:"Zoom speed",value:n.zoomSpeed,min:0,max:4e3,step:100,onChange:function(e){return t(Pt(Pt({},n),{},{zoomSpeed:e}))}}),(0,pe.jsx)(qn,{label:"Zoom padding",value:n.zoomPadding,min:0,max:400,step:1,onChange:function(e){return t(Pt(Pt({},n),{},{zoomPadding:e}))},infoText:"How much to zoom out to accomodate all nodes when changing the view."})]})},Dt=["style"];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,o.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 zt=function(e){var n=e.physics,t=e.setPhysics,r=e.threeDim,i=e.setThreeDim,o=e.filter,s=e.setFilter,c=e.visuals,a=e.setVisuals,u=e.mouse,d=e.setMouse,g=e.behavior,x=e.setBehavior,j=e.tags,b=e.tagColors,v=e.setTagColors,y=e.local,C=e.setLocal,O=wn("showTweaks",!1),w=(0,l.Z)(O,2),k=w[0],S=w[1],P=(0,m.useContext)(en.N),N=P.highlightColor,D=P.setHighlightColor;return k?(0,pe.jsxs)(h.xu,{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,pe.jsxs)(h.xu,{display:"flex",justifyContent:"space-between",alignItems:"center",paddingRight:2,paddingTop:1,children:[(0,pe.jsx)(f.u,{label:"2D",children:(0,pe.jsx)(_.z,{onClick:function(){return i(!r)},variant:"subtle",zIndex:"overlay",children:r?"3D":"2D"})}),(0,pe.jsxs)(h.xu,{display:"flex",alignItems:"center",children:[(0,pe.jsx)(f.u,{label:"Reset settings to defaults",children:(0,pe.jsx)(p.h,{"aria-label":"Reset Defaults",icon:(0,pe.jsx)(Ln.A,{}),onClick:function(){a(R),s(Z),d(B),t(E),x(T)},variant:"subtle",size:"sm"})}),(0,pe.jsx)(p.h,{size:"sm",icon:(0,pe.jsx)(zn.T,{}),"aria-label":"Close Tweak Panel",variant:"subtle",onClick:function(){return S(!1)}})]})]}),(0,pe.jsx)(cn.ZP,{autoHeight:!0,autoHeightMax:.85*globalThis.innerHeight,autoHide:!0,renderThumbVertical:function(e){var n=e.style,t=(0,te.Z)(e,Dt);return(0,pe.jsx)(h.xu,Lt(Lt({},t),{},{style:Lt(Lt({},n),{},{borderRadius:10}),bg:N}))},children:(0,pe.jsxs)(En.UQ,{allowMultiple:!0,allowToggle:!0,color:"black",children:[(0,pe.jsxs)(En.Qd,{children:[(0,pe.jsxs)(En.KF,{children:[(0,pe.jsx)(En.XE,{marginRight:2}),(0,pe.jsx)(M.X,{size:"sm",children:"Filter"})]}),(0,pe.jsx)(En.Hk,{children:(0,pe.jsx)(Qn,{filter:o,setFilter:s,tagColors:b,setTagColors:v,highlightColor:N,colorList:H,tags:j,local:y,setLocal:C})})]}),(0,pe.jsxs)(En.Qd,{children:[(0,pe.jsx)(En.KF,{display:"flex",justifyContent:"space-between",children:(0,pe.jsxs)(h.xu,{display:"flex",children:[(0,pe.jsx)(En.XE,{marginRight:2}),(0,pe.jsx)(M.X,{size:"sm",children:"Physics"})]})}),(0,pe.jsx)(En.Hk,{children:(0,pe.jsx)(nt,{physics:n,setPhysics:t})})]}),(0,pe.jsxs)(En.Qd,{children:[(0,pe.jsxs)(En.KF,{children:[(0,pe.jsx)(En.XE,{marginRight:2}),(0,pe.jsx)(M.X,{size:"sm",children:"Visual"})]}),(0,pe.jsx)(En.Hk,{children:(0,pe.jsx)(kt,{visuals:c,setVisuals:a,highlightColor:N,setHighlightColor:D,threeDim:r})})]}),(0,pe.jsxs)(En.Qd,{children:[(0,pe.jsxs)(En.KF,{children:[(0,pe.jsx)(En.XE,{marginRight:2}),(0,pe.jsx)(M.X,{size:"sm",children:"Behavior"})]}),(0,pe.jsx)(En.Hk,{children:(0,pe.jsx)(Nt,{behavior:g,setBehavior:x,mouse:u,setMouse:d})})]})]})})]}):(0,pe.jsx)(h.xu,{position:"absolute",zIndex:"overlay",marginTop:1,marginLeft:0,display:k?"none":"block",children:(0,pe.jsx)(p.h,{variant:"subtle","aria-label":"Settings",icon:(0,pe.jsx)(In.e,{}),onClick:function(){return S(!0)}})})},Et=t(22663),Zt=t.n(Et);function Rt(e){var n,t,r,o,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!==(o=c.title)&&void 0!==o?o:"",k=w.substring(0,g.labelLength),S=Math.cbrt(g.nodeRel*p(c)/Math.pow(u,g.nodeZoomSize)),P=g.labelFontSize/Math.cbrt(Math.pow(u,g.nodeZoomSize)),N=[1.1*a.measureText(k).width,P].map((function(e){return e+.5*P})),D=function(e,n,t,r,i){return i?Math.max(e,r):1*e*(-1*(n.highlightFade*r-1))}(O,g,0,f,C);if(g.labelBackgroundColor&&g.labelBackgroundOpacity){var I=qt(l,D*g.labelBackgroundOpacity);a.fillStyle=I,a.fillRect.apply(a,[c.x-N[0]/2,c.y-N[1]/2+S].concat((0,i.Z)(N)))}a.textAlign="center",a.textBaseline="middle";var L=qt(s,D);a.fillStyle=L,a.font="".concat(P,"px Sans-Serif");var z=Zt()(k,{width:g.labelWordWrap}).split("\n"),E=w.length>g.labelLength?[].concat((0,i.Z)(z.slice(0,-1)),["".concat(z.slice(-1),"...")]):z,Z=[v,m].includes(c.id)?1+.3*f:1;E.forEach((function(e,n){a.fillText(e,c.x,c.y+Z*S*8+g.labelLineSpace*P*n)}))}}}function Tt(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?Tt(Object(t),!0).forEach((function(n){(0,o.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Tt(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var Ft=t.e(907).then(t.bind(t,99907)),Ht=t.g.window?t(24878).f$:null,At=t.g.window?t(24878).s6:null;function Mt(){var e=(0,m.useState)(!1),n=e[0],t=e[1];return(0,m.useEffect)((function(){t(!0)}),[]),n?(0,pe.jsxs)(pe.Fragment,{children:[(0,pe.jsx)(v.default,{children:(0,pe.jsx)("title",{children:"ORUI"})}),(0,pe.jsx)(Wt,{})]}):null}function Wt(){var e=wn("3d",!1),n=(0,l.Z)(e,2),t=n[0],r=n[1],s=wn("tagCols",{}),c=(0,l.Z)(s,2),a=c[0],x=c[1],b=(0,m.useState)({nodeIds:[]}),v=b[0],w=b[1],S=wn("physics",E),P=(0,l.Z)(S,2),N=P[0],D=P[1],I=wn("filter",Z),L=(0,l.Z)(I,2),z=L[0],H=L[1],A=wn("visuals",R),M=(0,l.Z)(A,2),W=M[0],V=M[1],X=(0,m.useState)(null),_=X[0],U=X[1],q=(0,m.useState)(null),G=q[0],J=q[1],Q=wn("behavior",T),K=(0,l.Z)(Q,2),Y=K[0],$=K[1],ee=wn("mouse",B),ne=(0,l.Z)(ee,2),te=ne[0],re=ne[1],ie=wn("local",F),oe=(0,l.Z)(ie,2),le=oe[0],se=oe[1],ce=(0,k.Z)({}),ae=(0,l.Z)(ce,2),ue=ae[0],de=ae[1],he=de.set,ge=de.reset,fe=de.undo,xe=de.redo,je=de.canUndo,be=de.canRedo,ve=(ue.past,ue.present),me=(ue.future,(0,m.useState)(null)),ye=me[0],Ce=me[1],Oe=(0,u.q)(),we=Oe.isOpen,ke=Oe.onOpen,Pe=Oe.onClose,Ne=(0,m.useRef)({}),De=(0,m.useRef)({}),Ie=(0,m.useRef)({}),Le=(0,m.useRef)([]),ze=(0,m.useRef)(null),Ee=(0,m.useRef)({}),Ze=(0,m.useRef)({nodes:[],links:[]});(0,m.useEffect)((function(){_&&(Ze.current=_)}),[_]);var Re=(0,m.useContext)(en.N).setEmacsTheme,Te=(0,m.useRef)({nodeIds:[]}),Be=(0,m.useRef)(T);Be.current=Y;var Fe=(0,m.useRef)(null);Te.current=v;var He=function(e,n){var t,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:2e3,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:200;if("color"!==e){var l=ze.current,s=Te.current,c=Be.current,a=null!==(t=De.current[n])&&void 0!==t?t:[],u=Object.fromEntries([n].concat((0,i.Z)(a.flatMap((function(e){return[e.source,e.target]})))).map((function(e){return[e,{}]})));if("zoom"===e)return s.nodeIds.length&&w({nodeIds:[]}),void setTimeout((function(){return l.zoomToFit(r,o,(function(e){return u[e.id]}))}),50);if(!s.nodeIds.length)return w({nodeIds:[n]}),void setTimeout((function(){l.centerAt(0,0,10),l.zoomToFit(1,o)}),50);if("add"!==c.localSame)return w({nodeIds:[n]}),void setTimeout((function(){l.centerAt(0,0,10),l.zoomToFit(1,o)}),50);if(!s.nodeIds.includes(n)||!s.nodeIds.some((function(e){return u[e]})))return w({nodeIds:[n]}),void setTimeout((function(){l.centerAt(0,0,10),l.zoomToFit(1,o)}),50);w((function(e){return Bt(Bt({},e),{},{nodeIds:[].concat((0,i.Z)(e.nodeIds),[n])})})),setTimeout((function(){l.centerAt(0,0,10),l.zoomToFit(1,o)}),50)}};(0,m.useEffect)((function(){Fe.current=new O.Z("ws://localhost:35903"),Fe.current.addEventListener("open",(function(){console.log("Connection with Emacs established")})),Fe.current.addEventListener("message",(function(e){var n=Be.current,t=JSON.parse(e.data);switch(t.type){case"graphdata":return function(e){var n,t,r,s=Ne.current;Le.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 Bt(Bt({},e),{},(0,o.Z)({},n.file,[].concat((0,i.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})),i=t.filter((function(e){return 0!==e.level}));return r?i.map((function(e){var n=t.filter((function(n){var t;return!(n.level>=e.level||n.pos>=e.pos||null===(t=e.olp)||void 0===t||!t.includes(n.title))})).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})),i=t.filter((function(e){return 0!==e.level}));return r?i.map((function(e){return{source:e.id,target:r.id,type:"parent"}})):[]}));Ne.current=Object.fromEntries(c.map((function(e){return[e.id,e]})));var g=[].concat((0,i.Z)(a),(0,i.Z)(d),(0,i.Z)(h)),f=[],p=g.map((function(e){var n=e.source,t=e.target;return Ne.current[n]?Ne.current[t]?e:(f.push({id:t,tags:["bad"],properties:{FILELESS:"yes",bad:"yes"},file:"",title:t,level:0,pos:0,olp:null}),Bt(Bt({},e),{},{type:"bad"})):(f.push({id:n,tags:["bad"],properties:{FILELESS:"yes",bad:"yes"},file:"",title:n,level:0,pos:0,olp:null}),Bt(Bt({},e),{},{type:"bad"}))}));Ne.current=Bt(Bt({},Ne.current),Object.fromEntries(f.map((function(e){return[e.id,e]})))),De.current=p.reduce((function(e,n){var t,r,l;return Bt(Bt({},e),{},(l={},(0,o.Z)(l,n.source,[].concat((0,i.Z)(null!==(t=e[n.source])&&void 0!==t?t:[]),[n])),(0,o.Z)(l,n.target,[].concat((0,i.Z)(null!==(r=e[n.target])&&void 0!==r?r:[]),[n])),l))}),{});var x=[].concat((0,i.Z)(c),f);Ie.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 i=r.replaceAll(/cite:(.*)/g,"$1");return i?Bt(Bt({},e),{},(0,o.Z)({},i,n)):e}),{});var j={nodes:x,links:p},b=Ze.current;if(0===b.nodes.length){var v=JSON.parse(JSON.stringify(j));return Ze.current=v,void U(v)}var m=[].concat((0,i.Z)(b.nodes.flatMap((function(e){var n,t=null!==(n=Ne.current[null===e||void 0===e?void 0:e.id])&&void 0!==n&&n;return t?[Bt(Bt({},e),t)]:[]}))),(0,i.Z)(Object.keys(Ne.current).filter((function(e){return!s[e]})).map((function(e){return Ne.current[e]})))),y=m.reduce((function(e,n,t){var r=null===n||void 0===n?void 0:n.id;return Bt(Bt({},e),{},(0,o.Z)({},r,t))}),{}),C=p.map((function(e){var n=_t(e),t=(0,l.Z)(n,2),r=t[0],i=t[1];return Bt(Bt({},e),{},{source:m[y[r]],target:m[y[i]]})}));U({nodes:m,links:C})}(t.data);case"variables":return console.log(t.data),void(Ee.current=t.data);case"theme":return Re(["custom",t.data]);case"command":switch(t.data.commandName){case"local":var r=Y.zoomSpeed,s=Y.zoomPadding;He("local",t.data.id,r,s),J(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;He("zoom",t.data.id,u,d),J(t.data.id);break;case"follow":He(n.follow,t.data.id,n.zoomSpeed,n.zoomPadding),J(t.data.id);break;default:return console.error("unknown message type",t.type)}}}))}),[]),(0,m.useEffect)((function(){var e=ze.current;!e||v.nodeIds.length>1||(v.nodeIds.length||!N.gravityOn?setTimeout((function(){e.zoomToFit(5,200)}),50):e.zoomToFit())}),[v.nodeIds]);var Ae=(0,j.iP)(),Me=(0,l.Z)(Ae,2),We=Me[0],Ve=Me[1],Xe=(0,m.useRef)(),_e=(0,m.useState)(null),Ue=_e[0],qe=_e[1],Ge=(0,m.useState)({left:0,top:0,right:void 0,bottom:void 0}),Je=Ge[0],Qe=Ge[1],Ke=(0,u.q)();(0,d.O)({ref:Xe,handler:function(){Ke.onClose()}});var Ye=function(e,n,t){Qe(t||{left:n.pageX,top:n.pageY,right:void 0,bottom:void 0}),qe(e),Ke.onOpen()},$e=function(e,n){"replace"!==n?v.nodeIds.includes(e.id)||w((function(n){return Bt(Bt({},n),{},{nodeIds:[].concat((0,i.Z)(n.nodeIds),[e.id])})})):w({nodeIds:[e.id]})},nn=(0,m.useState)({type:"Graph",title:"Graph",icon:(0,pe.jsx)(y.DvO,{})}),tn=(nn[0],nn[1],wn("mainWindowWidth",We)),rn=(0,l.Z)(tn,2),on=rn[0],ln=rn[1];return(0,pe.jsxs)(h.xu,{display:"flex",alignItems:"flex-start",flexDirection:"row",height:"100vh",overflow:"clip",children:[(0,pe.jsx)(zt,{physics:N,setPhysics:D,threeDim:t,setThreeDim:r,filter:z,setFilter:H,visuals:W,setVisuals:V,mouse:te,setMouse:re,behavior:Y,setBehavior:$,tagColors:a,setTagColors:x,local:le,setLocal:se,tags:Le.current}),(0,pe.jsx)(h.xu,{position:"absolute",children:_&&(0,pe.jsx)(Vt,{nodeById:Ne.current,linksByNodeId:De.current,webSocket:Fe.current,variables:Ee.current,physics:N,graphData:_,threeDim:t,emacsNodeId:G,filter:z,visuals:W,behavior:Y,mouse:te,scope:v,setScope:w,tagColors:a,setPreviewNode:he,sidebarHighlightedNode:ye,windowWidth:We,windowHeight:Ve,openContextMenu:Ye,contextMenu:Ke,handleLocal:$e,mainWindowWidth:on,setMainWindowWidth:ln,setContextMenuTarget:qe,graphRef:ze,local:le})}),(0,pe.jsx)(h.xu,{position:"relative",zIndex:4,width:"100%",children:(0,pe.jsx)(g.k,{className:"headerBar",h:10,flexDir:"column",children:(0,pe.jsx)(g.k,{alignItems:"center",h:10,justifyContent:"flex-end",children:(0,pe.jsxs)(g.k,{height:"100%",flexDirection:"row",children:[v.nodeIds.length>0&&(0,pe.jsx)(f.u,{label:"Return to main graph",children:(0,pe.jsx)(p.h,{m:1,icon:(0,pe.jsx)(y.DvO,{}),"aria-label":"Exit local mode",onClick:function(){return w((function(e){return Bt(Bt({},e),{},{nodeIds:[]})}))},variant:"subtle"})}),(0,pe.jsx)(f.u,{label:we?"Close sidebar":"Open sidebar",children:(0,pe.jsx)(p.h,{m:1,icon:(0,pe.jsx)(C.iBV,{}),"aria-label":"Close file-viewer",variant:"subtle",onClick:we?Pe:ke})})]})})})}),(0,pe.jsx)(h.xu,{position:"relative",zIndex:4,children:(0,pe.jsx)(Dn,{isOpen:we,onOpen:ke,onClose:Pe,previewNode:ve,setPreviewNode:he,canUndo:je,canRedo:be,previousPreviewNode:fe,nextPreviewNode:xe,resetPreviewNode:ge,setSidebarHighlightedNode:Ce,openContextMenu:Ye,scope:v,setScope:w,windowWidth:We,tagColors:a,setTagColors:x,filter:z,setFilter:H,nodeById:Ne.current,linksByNodeId:De.current,nodeByCite:Ie.current})}),Ke.isOpen&&(0,pe.jsx)("div",{ref:Xe,children:(0,pe.jsx)(Se,{scope:v,target:Ue,background:!1,coordinates:Je,handleLocal:$e,menuClose:Ke.onClose.bind(Ke),webSocket:Fe.current,setPreviewNode:he,setFilter:H,filter:z,setTagColors:x,tagColors:a})})]})}var Vt=function(e){var n=e.graphRef,t=e.physics,s=e.graphData,u=e.threeDim,d=e.linksByNodeId,g=e.filter,f=e.emacsNodeId,p=e.nodeById,j=e.visuals,v=e.behavior,y=e.mouse,C=e.scope,O=e.local,k=(e.setScope,e.webSocket),S=e.tagColors,P=e.setPreviewNode,N=e.sidebarHighlightedNode,D=e.windowWidth,I=e.windowHeight,L=(e.setContextMenuTarget,e.openContextMenu),E=e.contextMenu,Z=e.handleLocal,R=e.variables,T=R.dailyDir,B=(R.roamDir,(0,m.useState)(null)),F=B[0],A=B[1],M=(0,a.useTheme)(),W=(0,m.useContext)(en.N).emacsTheme,V=function(e,n,t){switch(e){case y.preview:P(n);break;case y.local:Z(n,v.localSame);break;case y.follow:$(n,k);break;case y.context:L(n,t)}},X=(0,m.useRef)(null);(0,m.useEffect)((function(){f&&A(p[f])}),[f]);var _=(0,m.useRef)({}),U=(0,m.useRef)({}),q=(0,m.useMemo)((function(){var e;U.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,i,l=e;return g.tagsBlacklist.length&&g.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}))||g.tagsWhitelist.length>0&&!g.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}))||g.filelessCites&&null!==l&&void 0!==l&&null!==(n=l.properties)&&void 0!==n&&n.FILELESS||null!==g&&void 0!==g&&g.bad&&null!==l&&void 0!==l&&null!==(t=l.properties)&&void 0!==t&&t.bad||g.dailies&&T&&null!==(r=l.file)&&void 0!==r&&r.includes(T)?(U.current=Bt(Bt({},U.current),{},(0,o.Z)({},l.id,l)),!1):!g.noter||null===(i=l.properties)||void 0===i||!i.NOTER_PAGE||(U.current=Bt(Bt({},U.current),{},(0,o.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!U.current[e.source]&&!U.current[e.target]}));return!g.orphans||(g.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=_t(e),r=(0,l.Z)(n,2),i=r[0],o=r[1];if(!t.includes(i)||!t.includes(o))return!1;var s=e;return g.parent?"heading"===g.parent?"parent"!==s.type:"heading"!==s.type:!["parent","heading"].includes(s.type)}));return _.current=r.reduce((function(e,n){var t,r,s,c=n,a=_t(c),u=(0,l.Z)(a,2),d=u[0],h=u[1];return Bt(Bt({},e),{},(s={},(0,o.Z)(s,d,[].concat((0,i.Z)(null!==(t=e[d])&&void 0!==t?t:[]),[c])),(0,o.Z)(s,h,[].concat((0,i.Z)(null!==(r=e[h])&&void 0!==r?r:[]),[c])),s))}),{}),{nodes:n,links:r}}),[g,s]),G=(0,m.useState)({nodes:[],links:[]}),J=G[0],Q=G[1];(0,m.useEffect)((function(){if(C.nodeIds.length){var e=C.nodeIds.length>1?J.nodes:[],n=e.map((function(e){return e.id})),t=function(e,n){var t=[e[0]],r=[],i=[e[0]];return Array.from({length:n},(function(){t.forEach((function(e){var n;(null!==(n=_.current[e])&&void 0!==n?n:[]).forEach((function(e){var n=_t(e),t=(0,l.Z)(n,2),o=t[0],s=t[1];i.includes(o)?i.includes(s)||r.push(s):r.push(o)}))})),t=r,r.forEach((function(e){return e&&i.push(e)})),r=[]})),i}(C.nodeIds,O.neighbors),r=q.nodes.filter((function(r){var i;return e.length?!n.includes(r.id)&&(null!==(i=_.current[r.id])&&void 0!==i?i:[]).some((function(e){var n=_t(e),t=(0,l.Z)(n,2),r=t[0],i=t[1];return C.nodeIds.includes(r)||C.nodeIds.includes(i)})):t.includes(r.id)})).map((function(e){return Bt(Bt({},e),{},{x:0,y:0,vy:0,vx:0})})),o=[].concat((0,i.Z)(e),(0,i.Z)(r)),s=o.map((function(e){return e.id})),c=C.nodeIds.length>1?J.links:[],a=q.links.filter((function(e){var t=_t(e),r=(0,l.Z)(t,2),i=r[0],o=r[1];return!(c.length&&n.includes(o)&&n.includes(i))&&(s.includes(i)&&s.includes(o))})).map((function(e){var n=_t(e),t=(0,l.Z)(n,2);return{source:t[0],target:t[1]}})),u=[].concat((0,i.Z)(c),(0,i.Z)(a));Q({nodes:o,links:u})}}),[O.neighbors,g,C,JSON.stringify(s),q.links,q.nodes]),(0,m.useEffect)((function(){(0,r.Z)(c().mark((function e(){var r,i;return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=n.current,e.next=3,Ft;case 3:i=e.sent,!t.gravityOn||C.nodeIds.length&&!t.gravityLocal?(r.d3Force("x",null),r.d3Force("y",null),u&&r.d3Force("z",null)):(r.d3Force("x",i.forceX().strength(t.gravity)),r.d3Force("y",i.forceY().strength(t.gravity)),u&&r.d3Force("z",i.forceZ().strength(t.gravity))),t.centering?r.d3Force("center",i.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?i.forceCollide().radius(t.collisionStrength):null);case 10:case"end":return e.stop()}}),e)})))()}),[t,u,C]),(0,m.useEffect)((function(){var e;null===(e=n.current)||void 0===e||e.d3ReheatSimulation()}),[t,C.nodeIds.length]);var K=(0,m.useRef)(0),Y=(0,m.useState)(1),ee=Y[0],ne=Y[1],te=(0,x._7)((function(e){return ne(e)}),{duration:j.animationSpeed,algorithm:z[j.algorithmName]}),re=(0,l.Z)(te,2),ie=re[0],oe=re[1],le=(0,x._7)((function(e){return ne(Math.min(ee,-1*(e-1)))}),{duration:j.animationSpeed,algorithm:z[j.algorithmName]}),se=(0,l.Z)(le,2),ce=se[0],ae=se[1],ue=(0,m.useMemo)((function(){var e;if(!X.current)return{};var n=_.current[X.current.id];return n?Object.fromEntries([null===(e=X.current)||void 0===e?void 0:e.id].concat((0,i.Z)(n.flatMap((function(e){return[e.source,e.target]})))).map((function(e){return[e,{}]}))):{}}),[JSON.stringify(X.current),JSON.stringify(_.current)]);(0,m.useEffect)((function(){null!==N&&void 0!==N&&N.id?A(N):A(null)}),[N]);var de=(0,m.useRef)(null);(0,m.useEffect)((function(){if(X.current=F,F&&(de.current=F),!j.highlightAnim)return ne(F?1:0);F?ie():(oe(),ee>.5?ce():ne(0))}),[F]);var he=(0,m.useMemo)((function(){return Object.fromEntries(H.map((function(e){var n=Ut(e,M),t=H.map((function(e){return[e,b.Z(n,Ut(e,M))]}));return[e,Object.fromEntries(t)]})))}),[W]),ge=(0,m.useMemo)((function(){var e,n,t,r=null!==(e=_.current[null===(n=de.current)||void 0===n?void 0:n.id])&&void 0!==e?e:[];return Object.fromEntries([null===(t=de.current)||void 0===t?void 0:t.id].concat((0,i.Z)(r.flatMap((function(e){return _t(e)})))).map((function(e){return[e,{}]})))}),[JSON.stringify(F),de.current,_.current]),fe=function(e){var n,t,r,i,o,l=null!==(n=null===(t=_.current[e])||void 0===t?void 0:t.length)&&void 0!==n?n:0;return j.nodeColorScheme[(r=l,i=0,o=j.nodeColorScheme.length-1,Math.min(Math.max(r,i),o))]},xe=function(e,n){return _.current[e].length>_.current[n].length?fe(e):fe(n)},je=(0,m.useMemo)((function(){return Ut(j.labelTextColor,M)}),[j.labelTextColor,W]),be=(0,m.useMemo)((function(){return Ut(j.labelBackgroundColor,M)}),[j.labelBackgroundColor,W]),ve=function(e){var n,t=null!==(n=_.current[e.id])&&void 0!==n?n:[],r=t.length?t.filter((function(e){return"parent"===e.type})).length:0,i=3+t.length*j.nodeSizeLinks-(g.parent?0:r);return 1===j.highlightNodeSize?i:i*(ue[e.id]||ge[e.id]?1+ee*(j.highlightNodeSize-1):1)},me=(0,m.useState)(!1),ye=me[0],Ce=me[1],Oe=(0,m.useRef)(1),we={graphData:C.nodeIds.length?J:q,width:D,height:I,backgroundColor:Ut(j.backgroundColor,M),warmupTicks:1===C.nodeIds.length?100:C.nodeIds.length>1?20:0,onZoom:function(e){var n=e.k;e.x,e.y;return Oe.current=n},nodeColor:function(e){return function(e,n){var t,r,i=ue[e.id]||ge[e.id];if(j.emacsNodeColor&&e.id===f)return Ut(j.emacsNodeColor,n);if(S&&null!==e&&void 0!==e&&e.tags.some((function(e){return S[e]}))){var o=S[null===e||void 0===e?void 0:e.tags.filter((function(e){return S[e]}))[0]];return i?he[o][o](j.highlightFade*ee):he[o][j.backgroundColor](j.highlightFade*ee)}return j.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?i?Ut(j.citeNodeColor,n):he[j.citeNodeColor][j.backgroundColor](j.highlightFade*ee):j.refNodeColor&&e.properties.ROAM_REFS?i?Ut(j.refNodeColor,n):he[j.refNodeColor][j.backgroundColor](j.highlightFade*ee):i?j.nodeHighlight?he[fe(e.id)][j.nodeHighlight](ee):Ut(fe(e.id),n):he[fe(e.id)][j.backgroundColor](j.highlightFade*ee)}(e,M)},nodeRelSize:j.nodeRel,nodeVal:function(e){return ve(e)/Math.pow(Oe.current,j.nodeZoomSize)},nodeCanvasObject:function(e,n,t){Rt(Bt({nodeRel:j.nodeRel,filteredLinksByNodeId:_.current,lastHoverNode:de.current},{node:e,ctx:n,globalScale:t,highlightedNodes:ue,previouslyHighlightedNodes:ge,visuals:j,opacity:ee,nodeSize:ve,labelTextColor:je,labelBackgroundColor:be,hoverNode:F}))},nodeCanvasObjectMode:function(){return"after"},linkDirectionalParticles:j.particles?j.particlesNumber:void 0,linkDirectionalArrowLength:j.arrows?j.arrowsLength:void 0,linkDirectionalArrowRelPos:j.arrowsPos,linkDirectionalArrowColor:j.arrowsColor?function(){return Ut(j.arrowsColor,M)}: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,i=Xt(e,X.current),o=Xt(e,de.current),l=i||o,s=e;return j.refLinkColor&&"ref"===s.type?l&&(j.refLinkHighlightColor||j.linkHighlight)?he[j.refLinkColor][j.refLinkHighlightColor||j.linkHighlight](ee):he[j.refLinkColor][j.backgroundColor](j.highlightFade*ee):j.citeLinkColor&&null!==(n=s.type)&&void 0!==n&&n.includes("cite")?l&&(j.citeLinkHighlightColor||j.linkHighlight)?he[j.citeLinkColor][j.citeLinkHighlightColor||j.linkHighlight](ee):he[j.citeLinkColor][j.backgroundColor](j.highlightFade*ee):function(e,n,t,r){if(!j.linkHighlight&&!j.linkColorScheme&&!t)return Ut(xe(e,n),r);if(!t&&!j.linkColorScheme){var i=xe(e,n);return he[i][j.backgroundColor](j.highlightFade*ee)}return t?j.linkHighlight||j.linkColorScheme?j.linkHighlight?j.linkColorScheme?he[j.linkColorScheme][j.linkHighlight](ee):he[xe(e,n)][j.linkHighlight](ee):Ut(j.linkColorScheme,r):Ut(xe(e,n),r):he[j.linkColorScheme][j.backgroundColor](j.highlightFade*ee)}(t,r,l,M)},linkWidth:function(e){if(1===j.highlightLinkSize)return j.linkWidth;var n=Xt(e,X.current),t=Xt(e,de.current);return n||t?j.linkWidth*(1+ee*(j.highlightLinkSize-1)):j.linkWidth},linkDirectionalParticleWidth:j.particlesWidth,d3AlphaDecay:t.alphaDecay,d3AlphaMin:t.alphaMin,d3VelocityDecay:t.velocityDecay,onNodeClick:function(e,n){var t=e,r=n.timeStamp-K.current<200;if(K.current=n.timeStamp,r)return V("double",t,n);var i=K.current;return setTimeout((function(){if(K.current===i)return V("click",t,n)}),200)},onNodeHover:function(e){j.highlight&&(ye||(F||(ae(),ne(0)),A(e)))},onNodeRightClick:function(e,n){V("right",e,n)},onNodeDrag:function(e){A(e),Ce(!0)},onNodeDragEnd:function(){A(null),Ce(!1)}};return(0,pe.jsx)(h.xu,{overflow:"hidden",onClick:E.onClose,children:u?(0,pe.jsx)(At,Bt(Bt({ref:n},we),{},{nodeThreeObjectExtend:!0,nodeOpacity:j.nodeOpacity,nodeResolution:j.nodeResolution,linkOpacity:j.linkOpacity,nodeThreeObject:function(e){if(j.labels&&(!(j.labels<3)||ue[e.id])){var n=new w.Z(e.title.substring(0,40));return n.color=Ut(j.labelTextColor,M),n.backgroundColor=Ut(j.labelBackgroundColor,M),n.padding=2,n.textHeight=8,n}}})):(0,pe.jsx)(Ht,Bt(Bt({ref:n},we),{},{linkLineDash:function(e){var n,t=e;return j.citeDashes&&null!==(n=t.type)&&void 0!==n&&n.includes("cite")?[j.citeDashLength,j.citeGapLength]:j.refDashes&&"ref"==t.type?[j.refDashLength,j.refGapLength]:null}}))})};function Xt(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 _t(e){return["object"===typeof e.source?e.source.id:e.source,"object"===typeof e.target?e.target.id:e.target]}function Ut(e,n){return e.split(".").reduce((function(e,n){return e[n]}),n.colors)}function qt(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(54530)}])}},function(e){e.O(0,[774,737,13,874,573,446,816,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/eqddl_ODt53D8xUxW-4AP/_buildManifest.js b/out/_next/static/eqddl_ODt53D8xUxW-4AP/_buildManifest.js
deleted file mode 100644
index ecaf1ea..0000000
--- a/out/_next/static/eqddl_ODt53D8xUxW-4AP/_buildManifest.js
+++ /dev/null
@@ -1 +0,0 @@
-self.__BUILD_MANIFEST={__rewrites:{beforeFiles:[],afterFiles:[],fallback:[]},"/":["static/chunks/fb7d5399-b53d39280eb7028fd5fb.js","static/chunks/0c428ae2-753f1ebbec24c403674c.js","static/chunks/1a48c3c1-8e9d488ce132c4739e94.js","static/chunks/b5f2ed29-c14b12daa385c4cc7854.js","static/chunks/d25bd147-2c59edc357c0e2372258.js","static/css/9aeb688eb5e47ce218d8.css","static/chunks/816-0c5ca424da57aea390ea.js","static/chunks/pages/index-4b29b25ad1173eae2757.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/eqddl_ODt53D8xUxW-4AP/_ssgManifest.js b/out/_next/static/eqddl_ODt53D8xUxW-4AP/_ssgManifest.js
deleted file mode 100644
index 0511aa8..0000000
--- a/out/_next/static/eqddl_ODt53D8xUxW-4AP/_ssgManifest.js
+++ /dev/null
@@ -1 +0,0 @@
-self.__SSG_MANIFEST=new Set,self.__SSG_MANIFEST_CB&&self.__SSG_MANIFEST_CB();
\ No newline at end of file
diff --git a/out/index.html b/out/index.html
index 2687d43..2c4694a 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/9aeb688eb5e47ce218d8.css" as="style"/><link rel="stylesheet" href="/_next/static/css/9aeb688eb5e47ce218d8.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-06f739dee1b1cddd24d8.js" defer=""></script><script src="/_next/static/chunks/framework-2f612445bd50b211f15a.js" defer=""></script><script src="/_next/static/chunks/main-965b0767a8d0eaf0c110.js" defer=""></script><script src="/_next/static/chunks/pages/_app-26fcb6c181a21bbc205c.js" defer=""></script><script src="/_next/static/chunks/fb7d5399-b53d39280eb7028fd5fb.js" defer=""></script><script src="/_next/static/chunks/0c428ae2-753f1ebbec24c403674c.js" defer=""></script><script src="/_next/static/chunks/1a48c3c1-8e9d488ce132c4739e94.js" defer=""></script><script src="/_next/static/chunks/b5f2ed29-c14b12daa385c4cc7854.js" defer=""></script><script src="/_next/static/chunks/d25bd147-2c59edc357c0e2372258.js" defer=""></script><script src="/_next/static/chunks/816-0c5ca424da57aea390ea.js" defer=""></script><script src="/_next/static/chunks/pages/index-4b29b25ad1173eae2757.js" defer=""></script><script src="/_next/static/eqddl_ODt53D8xUxW-4AP/_buildManifest.js" defer=""></script><script src="/_next/static/eqddl_ODt53D8xUxW-4AP/_ssgManifest.js" defer=""></script></head><body><div id="__next"><style data-emotion="css-global 1n4e8ad">: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 1syi0wy">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;vertical-align:middle;}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":"eqddl_ODt53D8xUxW-4AP","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/9aeb688eb5e47ce218d8.css" as="style"/><link rel="stylesheet" href="/_next/static/css/9aeb688eb5e47ce218d8.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-06f739dee1b1cddd24d8.js" defer=""></script><script src="/_next/static/chunks/framework-2f612445bd50b211f15a.js" defer=""></script><script src="/_next/static/chunks/main-965b0767a8d0eaf0c110.js" defer=""></script><script src="/_next/static/chunks/pages/_app-8bd0d6de2a60ac35d501.js" defer=""></script><script src="/_next/static/chunks/fb7d5399-b53d39280eb7028fd5fb.js" defer=""></script><script src="/_next/static/chunks/0c428ae2-753f1ebbec24c403674c.js" defer=""></script><script src="/_next/static/chunks/1a48c3c1-8e9d488ce132c4739e94.js" defer=""></script><script src="/_next/static/chunks/b5f2ed29-c14b12daa385c4cc7854.js" defer=""></script><script src="/_next/static/chunks/d25bd147-2c59edc357c0e2372258.js" defer=""></script><script src="/_next/static/chunks/816-0c5ca424da57aea390ea.js" defer=""></script><script src="/_next/static/chunks/pages/index-c3655ec8db181f6ae1ab.js" defer=""></script><script src="/_next/static/Ydx3xl3sZeYptBHO1AStM/_buildManifest.js" defer=""></script><script src="/_next/static/Ydx3xl3sZeYptBHO1AStM/_ssgManifest.js" defer=""></script></head><body><div id="__next"><style data-emotion="css-global 1n4e8ad">: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 1syi0wy">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;vertical-align:middle;}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":"Ydx3xl3sZeYptBHO1AStM","nextExport":true,"autoExport":true,"isFallback":false,"scriptLoader":[]}</script></body></html>
\ No newline at end of file
diff --git a/pages/_app.tsx b/pages/_app.tsx
index 9833717..3a0ffa0 100644
--- a/pages/_app.tsx
+++ b/pages/_app.tsx
@@ -180,7 +180,10 @@ function SubApp(props: any) {
               backgroundColor: highlightColor,
             },
             filledTrack: {
-              backgroundColor: 'gray.200',
+              backgroundColor: 'gray.400',
+            },
+            track: {
+              backgroundColor: 'gray.400',
             },
           }),
         },
diff --git a/pages/index.tsx b/pages/index.tsx
index 4878b0c..aa376d1 100644
--- a/pages/index.tsx
+++ b/pages/index.tsx
@@ -1137,6 +1137,7 @@ export const Graph = function (props: GraphProps) {
 
   const getNodeColor = (node: OrgRoamNode, theme: any) => {
     const needsHighlighting = highlightedNodes[node.id!] || previouslyHighlightedNodes[node.id!]
+    //const needsHighlighting = hoverNode?.id === node.id! || lastHoverNode?.current?.id === node.id
     // if we are matching the node color and don't have a highlight color
     // or we don't have our own scheme and we're not being highlighted
     if (visuals.emacsNodeColor && node.id === emacsNodeId) {
@@ -1209,7 +1210,7 @@ export const Graph = function (props: GraphProps) {
     warmupTicks: scope.nodeIds.length === 1 ? 100 : scope.nodeIds.length > 1 ? 20 : 0,
     //onZoom: ({ k, x, y }) => setZoom(k),
     onZoom: ({ k, x, y }) => (scaleRef.current = k),
-    //nodeLabel: (node) => (node as OrgRoamNode).title,
+    //nodeLabel: (node) => ,
     nodeColor: (node) => {
       return getNodeColor(node as OrgRoamNode, theme)
     },
-- 
cgit v1.2.3

