Skip to content

armgit / cindy

Public Imported from GitHub
0

Consider it done. The open-source AI agent that works out of the box · 想到,就能做到。开源、开箱即用的 AI Agent。

57.7 KB
Raw Blame
/**
 * Codex Micro keycap glyphs.
 *
 * The artwork is a 1:1 copy of the glyphs the Codex desktop client draws on its
 * own keycaps, so a key here looks exactly like the same key over there. Do not
 * swap these for lookalikes from a generic icon set: several of them (codex,
 * openai, worktree, confetti, brain) have no equivalent anywhere else.
 */
import type { ReactElement, SVGProps } from 'react';

import type { WorkLouderCodexKeycapId } from '../../../shared/workLouderCodex';

type GlyphProps = SVGProps<SVGSVGElement>;

function AllProductsGlyph(props: GlyphProps) {
  return (
    <svg viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg" {...props}>
      <path
        d="M7.94556 14.0276C7.9455 12.9376 7.06204 12.054 5.97192 12.054C4.88191 12.0541 3.99835 12.9376 3.99829 14.0276C3.99829 15.1177 4.88188 16.0012 5.97192 16.0013C7.06207 16.0013 7.94556 15.1178 7.94556 14.0276ZM16.0012 14.0276C16.0012 12.9376 15.1177 12.054 14.0276 12.054C12.9375 12.0541 12.054 12.9376 12.054 14.0276C12.054 15.1178 12.9375 16.0012 14.0276 16.0013C15.1177 16.0013 16.0012 15.1178 16.0012 14.0276ZM7.94556 5.97198C7.94544 4.88194 7.062 3.99835 5.97192 3.99835C4.88195 3.99847 3.99841 4.88201 3.99829 5.97198C3.99829 7.06206 4.88187 7.9455 5.97192 7.94562C7.06207 7.94562 7.94556 7.06213 7.94556 5.97198ZM16.0012 5.97198C16.0011 4.88194 15.1177 3.99835 14.0276 3.99835C12.9376 3.99841 12.0541 4.88197 12.054 5.97198C12.054 7.0621 12.9375 7.94556 14.0276 7.94562C15.1177 7.94562 16.0012 7.06213 16.0012 5.97198ZM9.27563 14.0276C9.27563 15.8523 7.79661 17.3314 5.97192 17.3314C4.14734 17.3312 2.66821 15.8523 2.66821 14.0276C2.66827 12.2031 4.14737 10.7241 5.97192 10.7239C7.79657 10.7239 9.27558 12.203 9.27563 14.0276ZM17.3313 14.0276C17.3313 15.8523 15.8523 17.3314 14.0276 17.3314C12.203 17.3313 10.7239 15.8523 10.7239 14.0276C10.7239 12.203 12.203 10.724 14.0276 10.7239C15.8522 10.7239 17.3312 12.203 17.3313 14.0276ZM9.27563 5.97198C9.27563 7.79667 7.79661 9.2757 5.97192 9.2757C4.14734 9.27558 2.66821 7.7966 2.66821 5.97198C2.66833 4.14747 4.14741 2.66839 5.97192 2.66827C7.79654 2.66827 9.27552 4.1474 9.27563 5.97198ZM17.3313 5.97198C17.3313 7.79667 15.8523 9.2757 14.0276 9.2757C12.203 9.27564 10.7239 7.79664 10.7239 5.97198C10.724 4.14743 12.203 2.66833 14.0276 2.66827C15.8522 2.66827 17.3312 4.1474 17.3313 5.97198Z"
        fill="currentColor"
      />
    </svg>
  );
}

function BrainMediumGlyph(props: GlyphProps) {
  return (
    <svg viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg" {...props}>
      <path
        d="M3.57746 9.14006L4.04387 9.61406C4.17091 9.48906 4.24246 9.31829 4.24246 9.14006C4.24246 8.96183 4.17091 8.79106 4.04387 8.66605L3.57746 9.14006ZM5.15265 5.1067L5.24716 5.76495C5.576 5.71774 5.81955 5.43508 5.81764 5.10288L5.15265 5.1067ZM5.15249 5.07797H4.48747L4.4875 5.08179L5.15249 5.07797ZM14.8475 5.07797L15.5125 5.08179V5.07797H14.8475ZM14.8473 5.1067L14.1824 5.10288C14.1805 5.43509 14.424 5.71774 14.7528 5.76495L14.8473 5.1067ZM16.4225 9.14006L15.9561 8.66605C15.8291 8.79106 15.7575 8.96183 15.7575 9.14006C15.7575 9.31829 15.8291 9.48906 15.9561 9.61406L16.4225 9.14006ZM15.4449 14.6301L15.2085 14.0085C14.9942 14.09 14.837 14.2762 14.7925 14.5011L15.4449 14.6301ZM4.5551 14.6301L5.20748 14.5011C5.16302 14.2762 5.00581 14.09 4.79149 14.0085L4.5551 14.6301ZM3.08743 8.71947C2.82511 8.97653 2.82084 9.39756 3.07789 9.65988C3.33494 9.9222 3.75597 9.92647 4.01829 9.66941L3.55286 9.19445L3.08743 8.71947ZM5.52606 9.05389C5.89333 9.05389 6.19106 8.75616 6.19106 8.38889C6.19106 8.02162 5.89333 7.72389 5.52606 7.72389V8.38889V9.05389ZM17.9123 12.0141C17.9123 11.6468 17.6146 11.3491 17.2473 11.3491C16.88 11.3491 16.5823 11.6468 16.5823 12.0141H17.2473H17.9123ZM14.4279 14.1686C14.0606 14.1686 13.7629 14.4663 13.7629 14.8336C13.7629 15.2008 14.0606 15.4986 14.4279 15.4986V14.8336V14.1686ZM7.86868 11.5445C7.53694 11.3869 7.14026 11.5281 6.98267 11.8598C6.82507 12.1915 6.96625 12.5882 7.29799 12.7458L7.58333 12.1452L7.86868 11.5445ZM10.2853 12.7458C10.6171 12.5882 10.7583 12.1915 10.6007 11.8598C10.4431 11.5281 10.0464 11.3869 9.71465 11.5445L10 12.1452L10.2853 12.7458ZM15.4994 5.16667C15.4994 4.7994 15.2017 4.50167 14.8344 4.50167C14.4671 4.50167 14.1694 4.7994 14.1694 5.16667H14.8344H15.4994ZM13.1888 6.7401C12.8592 6.90206 12.7232 7.30057 12.8852 7.6302C13.0472 7.95983 13.4457 8.09576 13.7753 7.9338L13.482 7.33695L13.1888 6.7401ZM11.3077 10.009C11.675 10.009 11.9727 9.71123 11.9727 9.34396C11.9727 8.97669 11.675 8.67896 11.3077 8.67896V9.34396V10.009ZM5.15249 5.07797L4.4875 5.08179L4.48766 5.11052L5.15265 5.1067L5.81764 5.10288L5.81747 5.07414L5.15249 5.07797ZM14.8473 5.1067L15.5123 5.11052L15.5125 5.08179L14.8475 5.07797L14.1825 5.07415L14.1824 5.10288L14.8473 5.1067ZM4.5551 14.6301L3.90272 14.759C4.25542 16.5436 5.64061 17.7324 7.12679 17.8958C7.8764 17.9783 8.6507 17.7972 9.29938 17.2972C9.94755 16.7975 10.4211 16.0184 10.6493 14.9879L10 14.8441L9.35073 14.7003C9.17613 15.4888 8.84234 15.9702 8.48741 16.2438C8.133 16.517 7.70844 16.6218 7.27219 16.5738C6.38665 16.4764 5.45217 15.7392 5.20748 14.5011L4.5551 14.6301ZM10 14.8441L9.35073 14.9879C9.57891 16.0184 10.0524 16.7976 10.7006 17.2972C11.3493 17.7972 12.1236 17.9783 12.8732 17.8958C14.3594 17.7324 15.7446 16.5436 16.0973 14.759L15.4449 14.6301L14.7925 14.5011C14.5478 15.7392 13.6134 16.4764 12.7278 16.5738C12.2916 16.6218 11.867 16.517 11.5126 16.2438C11.1577 15.9702 10.8239 15.4888 10.6493 14.7003L10 14.8441ZM3.57746 9.14006L3.11104 8.66605C2.18352 9.57872 1.94758 11.0213 2.15576 12.2556C2.36354 13.4874 3.06106 14.7733 4.31871 15.2516L4.5551 14.6301L4.79149 14.0085C4.14378 13.7622 3.63213 13.0119 3.46724 12.0343C3.30276 11.0592 3.53068 10.119 4.04387 9.61406L3.57746 9.14006ZM5.15265 5.1067L5.05814 4.44845C3.73273 4.63874 2.69968 5.36578 2.28207 6.39936C1.85523 7.45578 2.14106 8.65961 3.11104 9.61406L3.57746 9.14006L4.04387 8.66605C3.39282 8.02542 3.32155 7.37692 3.51522 6.89761C3.71811 6.39545 4.28317 5.90335 5.24716 5.76495L5.15265 5.1067ZM16.4225 9.14006L16.889 9.61406C17.8589 8.65961 18.1448 7.45578 17.7179 6.39936C17.3003 5.36578 16.2673 4.63874 14.9419 4.44845L14.8473 5.1067L14.7528 5.76495C15.7168 5.90335 16.2819 6.39545 16.4848 6.89761C16.6785 7.37692 16.6072 8.02543 15.9561 8.66605L16.4225 9.14006ZM15.4449 14.6301L15.6813 15.2516C16.9389 14.7733 17.6365 13.4874 17.8442 12.2556C18.0524 11.0213 17.8165 9.57872 16.889 8.66605L16.4225 9.14006L15.9561 9.61406C16.4693 10.119 16.6972 11.0592 16.5328 12.0343C16.3679 13.0119 15.8562 13.7622 15.2085 14.0085L15.4449 14.6301ZM14.8475 5.07797H15.5125C15.5125 4.10684 15.1294 3.33433 14.5217 2.81587C13.9281 2.30941 13.1595 2.07735 12.4167 2.08519C11.6737 2.09304 10.9081 2.34139 10.3186 2.85899C9.71615 3.38803 9.335 4.16711 9.335 5.14295H10H10.665C10.665 4.53836 10.8898 4.12744 11.1962 3.85839C11.5156 3.57791 11.962 3.42007 12.4308 3.41512C12.8999 3.41017 13.3432 3.55869 13.6585 3.82767C13.9597 4.08466 14.1825 4.48245 14.1825 5.07797H14.8475ZM10 5.14295H10.665C10.665 4.16711 10.2839 3.38803 9.68135 2.85899C9.09187 2.34138 8.32633 2.09304 7.58327 2.08519C6.84051 2.07735 6.07193 2.30941 5.4783 2.81587C4.87061 3.33433 4.48749 4.10684 4.48749 5.07797H5.15249H5.81749C5.81749 4.48245 6.0403 4.08466 6.34152 3.82767C6.6568 3.55869 7.1001 3.41016 7.56922 3.41512C8.03803 3.42007 8.48437 3.57791 8.8038 3.85839C9.11021 4.12744 9.335 4.53836 9.335 5.14295H10ZM3.55286 9.19445L4.01829 9.66941C4.40755 9.28797 4.93881 9.05389 5.52606 9.05389V8.38889V7.72389C4.57687 7.72389 3.71521 8.1043 3.08743 8.71947L3.55286 9.19445ZM17.2473 12.0141H16.5823C16.5823 13.204 15.6177 14.1686 14.4279 14.1686V14.8336V15.4986C16.3523 15.4986 17.9123 13.9385 17.9123 12.0141H17.2473ZM8.79167 12.4165V11.7515C8.46002 11.7515 8.14763 11.677 7.86868 11.5445L7.58333 12.1452L7.29799 12.7458C7.75149 12.9613 8.25847 13.0815 8.79167 13.0815V12.4165ZM10 12.1452L9.71465 11.5445C9.4357 11.677 9.12331 11.7515 8.79167 11.7515V12.4165V13.0815C9.32487 13.0815 9.83184 12.9613 10.2853 12.7458L10 12.1452ZM14.8344 5.16667H14.1694C14.1694 5.85626 13.771 6.45405 13.1888 6.7401L13.482 7.33695L13.7753 7.9338C14.7951 7.43272 15.4994 6.38256 15.4994 5.16667H14.8344ZM10 5.14295H9.335V9.99353H10H10.665V5.14295H10ZM10 9.99353H9.335V14.8441H10H10.665V9.99353H10ZM10 9.99353L10.5453 10.3741C10.566 10.3445 10.6529 10.245 10.7997 10.1558C10.9392 10.0709 11.1103 10.009 11.3077 10.009V9.34396V8.67896C10.3455 8.67896 9.69036 9.27525 9.45467 9.61295L10 9.99353Z"
        fill="currentColor"
      />
    </svg>
  );
}

function BrainOutlineGlyph(props: GlyphProps) {
  return (
    <svg viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg" {...props}>
      <path
        d="M10 5.14295V14.8441M10 5.14295C10 1.98209 14.8475 1.94468 14.8475 5.07797L14.8473 5.1067C17.1367 5.43539 18.0436 7.54498 16.4225 9.14006C17.8633 10.5577 17.3503 13.9054 15.4449 14.6301C14.8475 17.6527 10.8056 18.4821 10 14.8441M10 5.14295C10 1.98209 5.15249 1.94468 5.15249 5.07797L5.15265 5.1067C2.86325 5.43539 1.95642 7.54498 3.57746 9.14006C2.13674 10.5577 2.64974 13.9054 4.5551 14.6301C5.15249 17.6527 9.19444 18.4821 10 14.8441"
        stroke="currentColor"
        strokeWidth="1.33"
        strokeLinejoin="round"
      />
    </svg>
  );
}

function BranchGlyph(props: GlyphProps) {
  return (
    <svg viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg" {...props}>
      <circle cx="5.4165" cy="5" r="1.875" stroke="currentColor" strokeWidth="1.33" />
      <circle cx="5.4165" cy="15" r="1.875" stroke="currentColor" strokeWidth="1.33" />
      <circle cx="14.5833" cy="5" r="1.875" stroke="currentColor" strokeWidth="1.33" />
      <path
        d="M5.4165 6.66664V13.3333"
        stroke="currentColor"
        strokeWidth="1.33"
        strokeLinejoin="round"
      />
      <path
        d="M5.41658 12.5V11.6667C5.41658 10.7462 6.16278 10 7.08325 10H12.9166C13.8371 10 14.5833 9.25381 14.5833 8.33333V7.5"
        stroke="currentColor"
        strokeWidth="1.33"
        strokeLinejoin="round"
      />
    </svg>
  );
}

function BugGlyph(props: GlyphProps) {
  return (
    <svg viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg" {...props}>
      <path
        d="M10 12.083C10.6903 12.083 11.25 12.8295 11.25 13.75C11.25 14.6705 10.6904 15.417 10 15.417C9.30964 15.417 8.75 14.6705 8.75 13.75C8.75002 12.8295 9.30965 12.083 10 12.083Z"
        fill="currentColor"
      />
      <path
        d="M7.91699 9.16699C8.60707 9.16713 9.16677 9.63296 9.16699 10.208C9.16699 10.7832 8.60721 11.2499 7.91699 11.25C7.22664 11.25 6.66699 10.7833 6.66699 10.208C6.66722 9.63287 7.22677 9.16699 7.91699 9.16699Z"
        fill="currentColor"
      />
      <path
        d="M12.083 9.16699C12.7732 9.16699 13.3328 9.63287 13.333 10.208C13.333 10.7833 12.7734 11.25 12.083 11.25C11.3928 11.2499 10.833 10.7832 10.833 10.208C10.8332 9.63296 11.3929 9.16713 12.083 9.16699Z"
        fill="currentColor"
      />
      <path
        fillRule="evenodd"
        clipRule="evenodd"
        d="M14.9355 1.83496C15.8895 1.83496 16.5003 2.36544 16.8438 2.83887C17.0139 3.07346 17.1281 3.30439 17.1992 3.47461C17.235 3.56037 17.2605 3.6336 17.2783 3.6875C17.2872 3.71448 17.2948 3.73684 17.2998 3.75391C17.3023 3.76229 17.3041 3.76965 17.3057 3.77539C17.3064 3.7782 17.307 3.78106 17.3076 3.7832C17.3079 3.7842 17.3084 3.78528 17.3086 3.78613L17.3096 3.78809C17.3062 3.78919 17.261 3.8011 16.666 3.95801L16.417 4.02344L17.3096 3.78809C17.403 4.1431 17.1909 4.50793 16.8359 4.60156C16.4809 4.695 16.1171 4.48291 16.0234 4.12793V4.12988L16.0244 4.13086V4.13281C16.0243 4.13251 16.0239 4.13143 16.0234 4.12988C16.0222 4.12556 16.0198 4.11621 16.0156 4.10352C16.0071 4.07776 15.9927 4.03673 15.9717 3.98633C15.9286 3.88318 15.8617 3.74891 15.7676 3.61914C15.5822 3.36365 15.3274 3.16504 14.9355 3.16504C14.1975 3.16516 13.658 3.58082 13.2207 4.30273C13.1067 4.491 13.0038 4.69355 12.9111 4.9043C15.4971 5.96132 17.3311 8.38367 17.3311 11.25C17.3311 15.1087 14.0079 18.1649 10 18.165C5.99205 18.1649 2.66797 15.1087 2.66797 11.25C2.66797 8.38418 4.50167 5.96162 7.08691 4.9043C6.99433 4.69371 6.89228 4.49087 6.77832 4.30273C6.34094 3.58089 5.80158 3.16504 5.06348 3.16504C4.6718 3.16524 4.41678 3.36363 4.23145 3.61914C4.13731 3.74896 4.07043 3.88319 4.02734 3.98633C4.00627 4.0368 3.99189 4.07779 3.9834 4.10352C3.97945 4.11549 3.97693 4.12438 3.97559 4.12891C3.97559 4.12887 3.97591 4.12831 3.97461 4.12793C3.88076 4.48278 3.51806 4.69518 3.16309 4.60156C2.80838 4.5077 2.597 4.14392 2.69043 3.78906L3.54688 4.01465C3.48502 3.99833 3.41396 3.97936 3.33301 3.95801C2.73598 3.80055 2.69337 3.79012 2.69043 3.78906V3.78613C2.69066 3.78527 2.69112 3.78423 2.69141 3.7832C2.69199 3.78105 2.69257 3.77824 2.69336 3.77539C2.69496 3.76964 2.69771 3.76233 2.7002 3.75391C2.70521 3.73688 2.71184 3.71438 2.7207 3.6875C2.73849 3.63356 2.76492 3.56051 2.80078 3.47461C2.87184 3.30444 2.98518 3.07343 3.15527 2.83887C3.49861 2.36548 4.10973 1.83519 5.06348 1.83496C6.44053 1.83496 7.34381 2.66973 7.91602 3.61426C8.08809 3.89836 8.23399 4.20218 8.3623 4.50977C8.88978 4.39594 9.43839 4.33498 10 4.33496C10.5611 4.33498 11.1087 4.39615 11.6357 4.50977C11.7641 4.20208 11.9109 3.89845 12.083 3.61426C12.6552 2.66975 13.5586 1.83509 14.9355 1.83496ZM10 5.66504C9.58617 5.66506 9.18255 5.70388 8.79395 5.77734C8.79964 5.79796 8.80596 5.8184 8.81152 5.83887L8.98145 6.51758L8.99805 6.65039C9.00594 6.95974 8.79567 7.24216 8.48242 7.31445C8.16932 7.38653 7.85695 7.22473 7.72852 6.94336L7.68457 6.81641L7.52539 6.17871C7.52388 6.17318 7.52202 6.16765 7.52051 6.16211C5.42918 7.0461 3.99805 9.01126 3.99805 11.25C3.99805 14.2946 6.64444 16.8348 10 16.835C13.3556 16.8348 16.001 14.2946 16.001 11.25C16.001 9.01078 14.5696 7.04582 12.4775 6.16211C12.4166 6.38459 12.3633 6.60491 12.3145 6.81641L12.2715 6.94336C12.143 7.22493 11.8299 7.38675 11.5166 7.31445C11.1592 7.23167 10.9363 6.87512 11.0186 6.51758L11.1875 5.83887C11.193 5.81848 11.1984 5.79788 11.2041 5.77734C10.816 5.70407 10.4133 5.66506 10 5.66504Z"
        fill="currentColor"
      />
    </svg>
  );
}

function CheckCircleGlyph(props: GlyphProps) {
  return (
    <svg viewBox="0 0 20 21" fill="none" xmlns="http://www.w3.org/2000/svg" {...props}>
      <path
        d="M12.1599 7.63617C12.3713 7.33596 12.7863 7.26372 13.0866 7.47504C13.3867 7.68642 13.4589 8.10153 13.2477 8.40179L9.28876 14.0268C9.17264 14.1917 8.98808 14.2954 8.7868 14.308C8.61044 14.319 8.43764 14.2592 8.30634 14.144L8.25262 14.0912L6.16962 11.7993L6.08954 11.6918C5.93136 11.4259 5.97666 11.0761 6.21454 10.8598C6.45225 10.6439 6.80379 10.6326 7.05341 10.8149L7.15399 10.9047L8.67841 12.5815L12.1599 7.63617Z"
        fill="currentColor"
      />
      <path
        fillRule="evenodd"
        clipRule="evenodd"
        d="M9.99506 2.81226C14.3664 2.81226 17.9101 6.35596 17.9101 10.7273C17.9101 15.0986 14.3664 18.6423 9.99506 18.6423C5.62372 18.6423 2.08002 15.0986 2.08002 10.7273C2.08002 6.35596 5.62372 2.81226 9.99506 2.81226ZM9.99506 4.14233C6.35826 4.14233 3.4101 7.0905 3.4101 10.7273C3.4101 14.3641 6.35826 17.3123 9.99506 17.3123C13.6319 17.3123 16.58 14.3641 16.58 10.7273C16.58 7.0905 13.6319 4.14233 9.99506 4.14233Z"
        fill="currentColor"
      />
    </svg>
  );
}

function ClockGlyph(props: GlyphProps) {
  return (
    <svg viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg" {...props}>
      <path
        d="M8 4.2168C8.24838 4.21697 8.44922 4.41857 8.44922 4.66699V7.8623C8.44911 8.06977 8.36732 8.26924 8.2207 8.41602L6.65137 9.98535C6.4756 10.1607 6.19025 10.161 6.01465 9.98535C5.83909 9.80975 5.83934 9.52439 6.01465 9.34863L7.5498 7.81348V4.66699C7.5498 4.41862 7.75168 4.21704 8 4.2168Z"
        fill="currentColor"
      />
      <path
        fillRule="evenodd"
        clipRule="evenodd"
        d="M8 1.5498C11.5622 1.5498 14.4502 4.43776 14.4502 8C14.4502 11.5622 11.5622 14.4502 8 14.4502C4.43776 14.4502 1.5498 11.5622 1.5498 8C1.5498 4.43776 4.43776 1.5498 8 1.5498ZM8 2.4502C4.93482 2.4502 2.4502 4.93482 2.4502 8C2.4502 11.0652 4.93482 13.5498 8 13.5498C11.0652 13.5498 13.5498 11.0652 13.5498 8C13.5498 4.93482 11.0652 2.4502 8 2.4502Z"
        fill="currentColor"
      />
    </svg>
  );
}

function CloudUploadGlyph(props: GlyphProps) {
  return (
    <svg viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg" {...props}>
      <path
        d="M15.0001 14.9967C16.841 14.9967 18.3334 13.5044 18.3334 11.6634C18.3334 9.82246 16.841 8.33008 15.0001 8.33008C15.0001 5.56865 12.7615 3.33008 10.0001 3.33008C7.80904 3.33008 5.94715 4.73939 5.27148 6.70098C3.23605 6.97537 1.66675 8.71946 1.66675 10.8301C1.66675 12.8458 3.09817 14.5273 5 14.9134"
        stroke="currentColor"
        strokeWidth="1.33"
        strokeLinecap="round"
        strokeLinejoin="round"
      />
      <path
        d="M7.5 12.5L10 10L12.5 12.5"
        stroke="currentColor"
        strokeWidth="1.33"
        strokeLinecap="round"
        strokeLinejoin="round"
      />
      <path
        d="M10 10.5V17"
        stroke="currentColor"
        strokeWidth="1.33"
        strokeLinecap="round"
        strokeLinejoin="round"
      />
    </svg>
  );
}

function CodexGlyph(props: GlyphProps) {
  return (
    <svg viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg" {...props}>
      <path
        d="M13.333 11.418C13.7002 11.418 13.9978 11.7159 13.998 12.083C13.998 12.4503 13.7003 12.748 13.333 12.748H10.833C10.4657 12.748 10.168 12.4503 10.168 12.083C10.1682 11.7159 10.4659 11.418 10.833 11.418H13.333Z"
        fill="currentColor"
      />
      <path
        d="M6.74121 7.34668C7.0561 7.15796 7.46442 7.26036 7.65332 7.5752L8.90332 9.6582C9.02949 9.86874 9.02961 10.1323 8.90332 10.3428L7.65332 12.4258C7.46441 12.7403 7.05597 12.8427 6.74121 12.6543C6.42637 12.4654 6.32396 12.0561 6.5127 11.7412L7.55664 10L6.5127 8.25879C6.324 7.94395 6.4265 7.53562 6.74121 7.34668Z"
        fill="currentColor"
      />
      <path
        fillRule="evenodd"
        clipRule="evenodd"
        d="M9.00195 1.75C10.1157 1.75021 11.1362 2.15467 11.9238 2.82227C12.1849 2.77516 12.455 2.74903 12.7295 2.74902C15.2262 2.74978 17.2507 4.77449 17.251 7.27148C17.2509 7.54581 17.2238 7.81473 17.1768 8.0752C17.8448 8.86317 18.2499 9.88479 18.25 10.999C18.2496 12.9609 16.9996 14.6284 15.2549 15.2549C14.6285 16.9998 12.9608 18.2497 10.999 18.25C9.88486 18.25 8.86411 17.8448 8.07617 17.1768C7.8155 17.2239 7.54592 17.2509 7.27148 17.251C4.77445 17.2507 2.7504 15.2257 2.75 12.7285C2.75003 12.4539 2.77608 12.1848 2.82324 11.9238C2.20237 11.1913 1.80895 10.2574 1.75684 9.23438L1.75 9.00098C1.75022 7.03932 2.99952 5.36992 4.74414 4.74316C5.37104 2.99851 7.04034 1.75002 9.00195 1.75ZM9.00195 3.07812C7.52474 3.07814 6.27967 4.08156 5.91504 5.44531C5.85362 5.67419 5.67418 5.85363 5.44531 5.91504C4.08208 6.27984 3.07836 7.52408 3.07812 9.00098C3.07826 9.88321 3.43594 10.682 4.01465 11.2607C4.1816 11.4283 4.24663 11.6728 4.18555 11.9014C4.11505 12.1653 4.07719 12.4429 4.07715 12.7285C4.07755 14.4925 5.50753 15.9225 7.27148 15.9229C7.55712 15.9228 7.83548 15.886 8.09961 15.8154L8.18652 15.7979C8.38833 15.7722 8.59297 15.8403 8.73926 15.9863C9.31801 16.5649 10.1168 16.9218 10.999 16.9219C12.4759 16.9216 13.7203 15.9183 14.085 14.5547L14.1133 14.4707C14.1918 14.2821 14.3542 14.1386 14.5547 14.085C15.9181 13.7203 16.9225 12.4758 16.9229 10.999C16.9228 10.1168 16.5648 9.31802 15.9863 8.73926C15.819 8.57175 15.7544 8.3274 15.8154 8.09863C15.886 7.83454 15.9238 7.5568 15.9238 7.27148C15.9235 5.50751 14.4924 4.07762 12.7285 4.07715C12.4424 4.0772 12.164 4.11412 11.9004 4.18457C11.672 4.24541 11.4282 4.18048 11.2607 4.01367C10.7183 3.47141 9.98306 3.12271 9.16699 3.08105L9.00195 3.07812Z"
        fill="currentColor"
      />
    </svg>
  );
}

function ComposeGlyph(props: GlyphProps) {
  return (
    <svg viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg" {...props}>
      <path
        d="M6.33325 1.88379C6.58178 1.88379 6.78345 2.08546 6.78345 2.33398C6.78328 2.58237 6.58168 2.78418 6.33325 2.78418H4.66626C3.62638 2.78435 2.78362 3.62711 2.78345 4.66699V11.334C2.78361 12.3739 3.62637 13.2176 4.66626 13.2178H11.3333C12.3733 13.2178 13.2169 12.374 13.217 11.334V9.66699C13.2172 9.41872 13.418 9.21795 13.6663 9.21777C13.9147 9.21777 14.1163 9.41861 14.1165 9.66699V11.334C14.1163 12.871 12.8703 14.1172 11.3333 14.1172H4.66626C3.12932 14.117 1.88322 12.8709 1.88306 11.334V4.66699C1.88323 3.13006 3.12933 1.88396 4.66626 1.88379H6.33325Z"
        fill="currentColor"
      />
      <path
        fillRule="evenodd"
        clipRule="evenodd"
        d="M10.8948 2.375C11.6494 1.63227 12.8628 1.63698 13.6116 2.38574C14.362 3.13643 14.3637 4.35266 13.6165 5.10644L9.36353 9.39355C9.01402 9.74579 8.56977 9.98985 8.08521 10.0967L6.17603 10.5166C5.74813 10.6107 5.36686 10.2296 5.46118 9.80176L5.88208 7.89746C5.98978 7.4105 6.23578 6.96428 6.59106 6.61426L10.8948 2.375ZM12.9749 3.02148C12.5756 2.62258 11.9289 2.62086 11.5266 3.0166L7.2229 7.25586C6.99148 7.4839 6.83116 7.77457 6.76099 8.0918L6.44165 9.53711L7.89185 9.21777C8.20744 9.14811 8.49721 8.98919 8.72485 8.75976L12.9778 4.47266C13.3759 4.07066 13.375 3.42164 12.9749 3.02148Z"
        fill="currentColor"
      />
    </svg>
  );
}

function ConfettiGlyph(props: GlyphProps) {
  return (
    <svg viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg" {...props}>
      <path
        fillRule="evenodd"
        clipRule="evenodd"
        d="M5.27916 5.50684C5.70791 4.58738 6.94757 4.34064 7.6942 5.08691L14.9129 12.3057L15.0487 12.4609C15.6235 13.2137 15.3513 14.3204 14.493 14.7207L14.3006 14.7949L3.79967 18.0771C2.64613 18.4371 1.56223 17.3528 1.92272 16.1992L5.20397 5.69922L5.27916 5.50684ZM3.19225 16.5967C3.15211 16.726 3.27383 16.8477 3.40318 16.8076L9.08873 15.0293L4.96861 10.9092L3.19225 16.5967ZM6.75377 6.02734C6.6755 5.9494 6.54869 5.96802 6.49303 6.05469L6.4735 6.0957L5.41393 9.4834C5.43241 9.49826 5.4524 9.5122 5.46959 9.5293L10.4696 14.5293L10.5145 14.584L13.9032 13.5254L13.9452 13.5068C14.0195 13.459 14.0437 13.359 13.9999 13.2822L13.9725 13.2461L6.75377 6.02734Z"
        fill="currentColor"
      />
      <path
        d="M17.0829 8.75C17.7732 8.75 18.3329 9.30964 18.3329 10C18.3329 10.6904 17.7732 11.25 17.0829 11.25C16.3927 11.2498 15.8329 10.6902 15.8329 10C15.8329 9.30976 16.3927 8.75019 17.0829 8.75Z"
        fill="currentColor"
      />
      <path
        d="M17.4999 2.66797C17.8669 2.66814 18.1647 2.96599 18.1649 3.33301C18.1649 6.00146 16.0013 8.16504 13.3329 8.16504C12.9659 8.16485 12.668 7.867 12.6678 7.5C12.668 7.13299 12.9659 6.83515 13.3329 6.83496C15.2668 6.83496 16.8348 5.26692 16.8348 3.33301C16.835 2.966 17.1329 2.66816 17.4999 2.66797Z"
        fill="currentColor"
      />
      <path
        fillRule="evenodd"
        clipRule="evenodd"
        d="M11.6669 1.00195C12.9545 1.00213 13.9979 2.04635 13.9979 3.33398C13.9976 4.62133 12.9542 5.66486 11.6669 5.66504C10.3794 5.66498 9.33517 4.6214 9.33482 3.33398C9.33482 2.04628 10.3792 1.00201 11.6669 1.00195ZM11.6669 2.33203C11.1137 2.33209 10.6649 2.78082 10.6649 3.33398C10.6652 3.88686 11.1139 4.3349 11.6669 4.33496C12.2197 4.33478 12.6675 3.88679 12.6678 3.33398C12.6678 2.78089 12.2199 2.33221 11.6669 2.33203Z"
        fill="currentColor"
      />
    </svg>
  );
}

function DiffGlyph(props: GlyphProps) {
  return (
    <svg viewBox="0 0 20 20" fill="currentColor" xmlns="http://www.w3.org/2000/svg" {...props}>
      <path d="M12.084 12.668a.666.666 0 0 1 0 1.33H7.917a.665.665 0 1 1 0-1.33h4.167ZM10 5.585c.367 0 .665.298.665.665v1.418h1.419a.666.666 0 0 1 0 1.33h-1.419v1.419a.666.666 0 0 1-1.33 0V8.998H7.917a.665.665 0 0 1 0-1.33h1.418V6.25c0-.367.298-.665.665-.665Z" />
      <path
        fillRule="evenodd"
        d="M12.667 2.668c.689 0 1.246 0 1.696.036.458.038.865.117 1.242.309a3.163 3.163 0 0 1 1.382 1.383c.192.377.272.783.309 1.24.037.45.036 1.008.036 1.697v5.333c0 .689 0 1.246-.036 1.696-.037.458-.117.865-.309 1.242a3.166 3.166 0 0 1-1.382 1.382c-.377.192-.784.271-1.242.309-.45.037-1.007.036-1.696.036H7.334c-.689 0-1.246 0-1.696-.036-.458-.038-.864-.117-1.24-.309a3.166 3.166 0 0 1-1.384-1.383c-.192-.376-.271-.783-.309-1.24-.037-.45-.036-1.008-.036-1.697V7.333c0-.689 0-1.246.036-1.696.038-.458.117-.864.309-1.24a3.17 3.17 0 0 1 1.383-1.384c.377-.192.783-.272 1.24-.309.45-.037 1.008-.036 1.697-.036h5.333Zm-5.333 1.33c-.71 0-1.204.001-1.588.032-.375.03-.587.088-.745.168A1.836 1.836 0 0 0 4.199 5c-.08.158-.137.37-.168.745C4 6.13 4 6.622 4 7.333v5.333c0 .71.001 1.204.032 1.588.03.375.088.587.168.745.176.345.457.627.802.803.158.08.37.137.745.168.384.031.877.031 1.588.031h5.333c.71 0 1.204 0 1.588-.031.375-.031.587-.088.745-.168a1.84 1.84 0 0 0 .803-.803c.08-.158.137-.37.168-.745.031-.383.031-.877.031-1.588V7.333c0-.71 0-1.204-.031-1.588-.031-.375-.088-.587-.168-.745A1.838 1.838 0 0 0 15 4.198c-.158-.08-.37-.137-.745-.168-.384-.031-.877-.032-1.588-.032H7.334Z"
        clipRule="evenodd"
      />
    </svg>
  );
}

function DownloadGlyph(props: GlyphProps) {
  return (
    <svg viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg" {...props}>
      <path
        d="M2.66831 12.6664V12.5004C2.66831 12.1331 2.96607 11.8353 3.33334 11.8353C3.70061 11.8353 3.99838 12.1331 3.99838 12.5004V12.6664C3.99838 13.3773 3.99929 13.8708 4.03061 14.2543C4.0613 14.6299 4.11812 14.8414 4.19858 14.9994L4.26889 15.1263C4.4452 15.4138 4.69823 15.6482 5.00034 15.8021L5.13022 15.8578C5.27399 15.9092 5.4635 15.9471 5.74545 15.9701C6.12897 16.0014 6.62231 16.0013 7.33334 16.0013H12.6664C13.3772 16.0013 13.8708 16.0014 14.2542 15.9701C14.6296 15.9394 14.8414 15.8825 14.9994 15.8021L15.1263 15.7308C15.4137 15.5545 15.6482 15.3014 15.8021 14.9994L15.8578 14.8695C15.9092 14.7258 15.947 14.5361 15.9701 14.2543C16.0014 13.8708 16.0013 13.3772 16.0013 12.6664V12.5004C16.0013 12.1332 16.2992 11.8355 16.6664 11.8353C17.0336 11.8353 17.3314 12.1331 17.3314 12.5004V12.6664C17.3314 13.3554 17.332 13.9125 17.2953 14.3627C17.2625 14.7636 17.1975 15.1248 17.0531 15.4613L16.9867 15.6039C16.7212 16.1248 16.3173 16.5606 15.8216 16.8646L15.6039 16.9867C15.2271 17.1787 14.8206 17.2579 14.3626 17.2953C13.9124 17.3321 13.3554 17.3314 12.6664 17.3314H7.33334C6.64425 17.3314 6.0873 17.3321 5.63706 17.2953C5.23651 17.2626 4.87562 17.1982 4.5394 17.0541L4.39682 16.9867C3.8757 16.7212 3.4392 16.3175 3.1351 15.8217L3.01303 15.6039C2.82106 15.2271 2.74186 14.8207 2.70444 14.3627C2.66767 13.9125 2.66831 13.3554 2.66831 12.6664ZM9.3353 3.33337C9.3353 2.9661 9.63307 2.66833 10.0003 2.66833C10.3675 2.66851 10.6654 2.96621 10.6654 3.33337V10.8939L12.8626 8.69666L12.9671 8.61169C13.2253 8.44097 13.5767 8.4693 13.804 8.69666C14.0634 8.95633 14.0635 9.37748 13.804 9.63708L10.4701 12.9701C10.3454 13.0947 10.1766 13.1653 10.0003 13.1654C9.82397 13.1654 9.65434 13.0948 9.52963 12.9701L6.19663 9.63708L6.11166 9.53259C5.9411 9.27445 5.96934 8.92394 6.19663 8.69666C6.42392 8.46937 6.77442 8.44113 7.03256 8.61169L7.13705 8.69666L9.3353 10.8949V3.33337Z"
        fill="currentColor"
      />
    </svg>
  );
}

function FlaskGlyph(props: GlyphProps) {
  return (
    <svg viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg" {...props}>
      <path
        d="M16.0013 14.4404C16.0012 13.9504 15.8514 13.4739 15.5736 13.0742L15.4467 12.9082L15.0121 12.3877C13.8615 12.8911 12.9154 13.1121 12.0619 13.1562C11.1476 13.2035 10.3805 13.0475 9.66541 12.8857C8.9421 12.7221 8.28162 12.5562 7.47302 12.5146C6.70041 12.475 5.77589 12.5504 4.56873 12.8887L4.5531 12.9082C4.19469 13.3383 3.99852 13.8806 3.99841 14.4404C3.99841 15.7627 5.07071 16.835 6.39294 16.835H13.6078C14.9299 16.8349 16.0013 15.7626 16.0013 14.4404ZM11.8353 3.16504H8.16541V7.72949C8.16541 8.20671 8.01889 8.6713 7.74841 9.06055L7.62439 9.22266L5.93396 11.25C6.52127 11.1756 7.05057 11.1614 7.54041 11.1865C8.48678 11.2351 9.2693 11.432 9.95837 11.5879C10.6557 11.7456 11.272 11.8653 11.9926 11.8281C12.5792 11.7978 13.2617 11.6591 14.1215 11.3184L12.3754 9.22266C12.0262 8.80363 11.8353 8.27494 11.8353 7.72949V3.16504ZM13.1654 7.72949C13.1654 7.96372 13.247 8.19111 13.3969 8.37109L16.4681 12.0566L16.6654 12.3154C17.0976 12.9371 17.3313 13.6782 17.3314 14.4404C17.3314 16.4971 15.6645 18.1649 13.6078 18.165H6.39294C4.33617 18.165 2.66833 16.4972 2.66833 14.4404C2.66844 13.5694 2.97398 12.7258 3.53162 12.0566L6.60291 8.37109L6.65564 8.30176C6.77198 8.13447 6.83533 7.93464 6.83533 7.72949V3.16504H6.66638C6.29926 3.16486 6.00134 2.86716 6.00134 2.5C6.00134 2.13284 6.29926 1.83514 6.66638 1.83496H13.3334L13.4672 1.84863C13.7703 1.91057 13.9984 2.17857 13.9984 2.5C13.9984 2.82143 13.7703 3.08943 13.4672 3.15137L13.3334 3.16504H13.1654V7.72949Z"
        fill="currentColor"
      />
    </svg>
  );
}

function FolderPlusGlyph(props: GlyphProps) {
  return (
    <svg viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg" {...props}>
      <path
        d="M15.2041 17.5V15.665H13.3691C13.0019 15.665 12.7041 15.3673 12.7041 15C12.7041 14.6327 13.0019 14.335 13.3691 14.335H15.2041V12.5C15.2041 12.1327 15.5019 11.835 15.8691 11.835C16.2362 11.8352 16.5332 12.1329 16.5332 12.5V14.335H18.3691C18.7362 14.3352 19.0332 14.6329 19.0332 15C19.0332 15.3671 18.7362 15.6648 18.3691 15.665H16.5332V17.5C16.5332 17.8671 16.2362 18.1648 15.8691 18.165C15.5019 18.165 15.2041 17.8673 15.2041 17.5ZM2.12012 12.7002V7.29981C2.12012 6.64581 2.11922 6.1149 2.1543 5.68555C2.19002 5.24867 2.26619 4.85832 2.45117 4.49512L2.56836 4.28516C2.86045 3.80898 3.27979 3.42103 3.78028 3.16602L3.91797 3.10156C4.24192 2.96268 4.5885 2.90039 4.97071 2.86914C5.40006 2.83406 5.93096 2.83496 6.58496 2.83496H7.28028C7.42346 2.83496 7.52305 2.83479 7.6211 2.84082L7.875 2.86719C8.46133 2.95309 9.01189 3.20874 9.45703 3.60547L9.70215 3.84473C9.81425 3.95779 9.85105 3.99455 9.88672 4.02637L9.99805 4.11719C10.2646 4.31741 10.5851 4.43638 10.9199 4.45703L11.1797 4.45996H13.6914C14.2499 4.45996 14.703 4.45958 15.0713 4.48535C15.4458 4.51157 15.7828 4.56683 16.1025 4.70313L16.3662 4.83106C16.9638 5.15706 17.4378 5.67623 17.707 6.30762L17.7939 6.54981C17.868 6.79538 17.904 7.05317 17.9238 7.33203C17.9498 7.69789 17.9502 8.14747 17.9502 8.7002C17.9501 8.87631 17.8803 9.0453 17.7559 9.16992C17.6311 9.29464 17.4615 9.36524 17.2852 9.36524H3.4502V12.7002C3.4502 13.3761 3.45084 13.8434 3.48047 14.2061C3.50947 14.5608 3.56304 14.7568 3.63672 14.9014L3.70215 15.0195C3.86642 15.2873 4.10236 15.505 4.38379 15.6484L4.50391 15.7002C4.63661 15.7476 4.81329 15.783 5.0791 15.8047C5.44174 15.8343 5.90903 15.835 6.58496 15.835H9.40918L9.54395 15.8486C9.84681 15.9108 10.0742 16.1788 10.0742 16.5C10.0742 16.8212 9.84681 17.0892 9.54395 17.1514L9.40918 17.165H6.58496C5.93096 17.165 5.40006 17.1659 4.97071 17.1309C4.5885 17.0996 4.24192 17.0373 3.91797 16.8984L3.78028 16.834C3.27979 16.579 2.86045 16.191 2.56836 15.7148L2.45117 15.5049C2.26619 15.1417 2.19002 14.7513 2.1543 14.3145C2.11922 13.8851 2.12012 13.3542 2.12012 12.7002ZM3.4502 8.03516H16.6172C16.6146 7.79548 16.6098 7.59777 16.5977 7.42676C16.5816 7.20054 16.5552 7.04845 16.5205 6.9336L16.4834 6.8291C16.332 6.47411 16.0655 6.1824 15.7295 5.99903L15.5811 5.92676C15.4545 5.8728 15.2835 5.83385 14.9785 5.8125C14.6674 5.79073 14.2686 5.79004 13.6914 5.79004H11.1797L10.8379 5.78418C10.2426 5.74746 9.67313 5.53663 9.19922 5.18067L9.00196 5.01953C8.92848 4.95403 8.85889 4.88222 8.75781 4.78028L8.57227 4.59863C8.32169 4.37525 8.01175 4.23086 7.68164 4.18262L7.54004 4.16797C7.49225 4.16502 7.43987 4.16504 7.28028 4.16504H6.58496C5.90903 4.16504 5.44174 4.16569 5.0791 4.19531C4.81329 4.21705 4.63661 4.25237 4.50391 4.29981L4.38379 4.35156C4.10236 4.49499 3.86642 4.71271 3.70215 4.98047L3.63672 5.09863C3.56304 5.24324 3.50947 5.43924 3.48047 5.79395C3.45084 6.15659 3.4502 6.62388 3.4502 7.29981V8.03516Z"
        fill="currentColor"
      />
    </svg>
  );
}

function LightningOutlineGlyph(props: GlyphProps) {
  return (
    <svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" {...props}>
      <path
        d="M11.912 21.413c-.383.45-.883.683-1.5.7-.616.016-1.116-.192-1.5-.625-.375-.434-.454-1.034-.237-1.8L9.687 16H4.575c-.567 0-1.008-.162-1.325-.488a1.68 1.68 0 0 1-.475-1.2c0-.474.154-.9.462-1.274l8.9-10.563c.384-.45.884-.683 1.5-.7.617-.017 1.113.192 1.488.625.383.433.467 1.033.25 1.8L14.312 8h5.113c.567 0 1.008.167 1.325.5.325.333.488.737.488 1.212 0 .467-.159.884-.476 1.25l-8.85 10.45Z"
        stroke="currentColor"
        strokeWidth="1.875"
        strokeLinejoin="round"
      />
    </svg>
  );
}

function MicGlyph(props: GlyphProps) {
  return (
    <svg viewBox="0 0 20 20" fill="currentColor" xmlns="http://www.w3.org/2000/svg" {...props}>
      <g transform="scale(0.8333333333333334)">
        <path d="M18.5848 13.4121C18.7715 12.9516 19.2961 12.7296 19.7567 12.916C20.217 13.1027 20.4391 13.6274 20.2528 14.0879C19.0405 17.0826 16.2438 19.2675 12.9003 19.6035V22C12.9003 22.4971 12.4969 22.9004 11.9999 22.9004C11.5029 22.9003 11.0995 22.497 11.0995 22V19.6035C7.75618 19.2673 4.96018 17.0823 3.74791 14.0879C3.56144 13.6272 3.78344 13.1026 4.244 12.916C4.70458 12.7298 5.22933 12.9517 5.41588 13.4121C6.46985 16.0157 9.02264 17.8496 12.0008 17.8496C14.9787 17.8493 17.531 16.0155 18.5848 13.4121Z" />
        <path
          fillRule="evenodd"
          clipRule="evenodd"
          d="M11.9999 1.34961C14.7061 1.34961 16.9003 3.5438 16.9003 6.25V10.7334C16.9003 13.4396 14.7061 15.6338 11.9999 15.6338C9.29371 15.6337 7.09947 13.4396 7.09947 10.7334V6.25C7.09947 3.54384 9.29372 1.34967 11.9999 1.34961ZM11.9999 3.15039C10.2878 3.15045 8.90025 4.53795 8.90025 6.25V10.7334C8.90025 12.4454 10.2878 13.8339 11.9999 13.834C13.7119 13.834 15.0995 12.4455 15.0995 10.7334V6.25C15.0995 4.53792 13.7119 3.15039 11.9999 3.15039Z"
        />
      </g>
    </svg>
  );
}

function OpenaiGlyph(props: GlyphProps) {
  return (
    <svg viewBox="0 0 21 21" fill="none" xmlns="http://www.w3.org/2000/svg" {...props}>
      <path
        d="M11.6475 18.3409C11.0975 18.3409 10.575 18.2364 10.08 18.0274C9.58502 17.8184 9.14502 17.5269 8.76002 17.1529C8.34202 17.2959 7.90751 17.3674 7.45651 17.3674C6.71951 17.3674 6.03751 17.1859 5.41051 16.8229C4.78351 16.4599 4.27751 15.9649 3.89251 15.3379C3.51851 14.7109 3.33151 14.0124 3.33151 13.2424C3.33151 12.9234 3.37551 12.5769 3.46351 12.2029C3.02351 11.7959 2.68251 11.3284 2.44051 10.8004C2.19851 10.2614 2.07751 9.70044 2.07751 9.11744C2.07751 8.52344 2.20401 7.95144 2.45701 7.40144C2.71001 6.85144 3.06201 6.37844 3.51301 5.98244C3.97501 5.57544 4.50851 5.29494 5.11351 5.14094C5.23451 4.51394 5.48751 3.95294 5.87251 3.45794C6.26851 2.95194 6.75252 2.55594 7.32452 2.26994C7.89652 1.98394 8.50702 1.84094 9.15602 1.84094C9.70602 1.84094 10.2285 1.94544 10.7235 2.15444C11.2185 2.36344 11.6585 2.65494 12.0435 3.02894C12.4615 2.88594 12.896 2.81444 13.347 2.81444C14.084 2.81444 14.766 2.99594 15.393 3.35894C16.02 3.72194 16.5205 4.21694 16.8945 4.84394C17.2795 5.47094 17.472 6.16944 17.472 6.93944C17.472 7.25844 17.428 7.60494 17.34 7.97894C17.78 8.38594 18.121 8.85894 18.363 9.39794C18.605 9.92594 18.726 10.4814 18.726 11.0644C18.726 11.6584 18.5995 12.2304 18.3465 12.7804C18.0935 13.3304 17.736 13.8089 17.274 14.2159C16.823 14.6119 16.295 14.8869 15.69 15.0409C15.569 15.6679 15.3105 16.2289 14.9145 16.7239C14.5295 17.2299 14.051 17.6259 13.479 17.9119C12.907 18.1979 12.2965 18.3409 11.6475 18.3409ZM7.57201 16.2784C8.12201 16.2784 8.60051 16.1629 9.00751 15.9319L12.1095 14.1499C12.2195 14.0729 12.2745 13.9684 12.2745 13.8364V12.4174L8.28152 14.7109C8.03952 14.8539 7.79751 14.8539 7.55552 14.7109L4.43701 12.9124C4.43701 12.9454 4.43151 12.9839 4.42051 13.0279C4.42051 13.0719 4.42051 13.1379 4.42051 13.2259C4.42051 13.7869 4.55252 14.3039 4.81651 14.7769C5.09152 15.2389 5.47101 15.6019 5.95501 15.8659C6.43901 16.1409 6.97801 16.2784 7.57201 16.2784ZM7.73701 13.5889C7.80301 13.6219 7.86351 13.6384 7.91851 13.6384C7.97351 13.6384 8.02852 13.6219 8.08352 13.5889L9.32101 12.8794L5.34451 10.5694C5.10251 10.4264 4.98151 10.2119 4.98151 9.92594V6.34544C4.43151 6.58744 3.99151 6.96144 3.66151 7.46744C3.33151 7.96244 3.16651 8.51244 3.16651 9.11744C3.16651 9.65644 3.30401 10.1734 3.57901 10.6684C3.85401 11.1634 4.21151 11.5374 4.65151 11.7904L7.73701 13.5889ZM11.6475 17.2519C12.2305 17.2519 12.7585 17.1199 13.2315 16.8559C13.7045 16.5919 14.0785 16.2289 14.3535 15.7669C14.6285 15.3049 14.766 14.7879 14.766 14.2159V10.6519C14.766 10.5199 14.711 10.4209 14.601 10.3549L13.347 9.62894V14.2324C13.347 14.5184 13.226 14.7329 12.984 14.8759L9.86551 16.6744C10.4045 17.0594 10.9985 17.2519 11.6475 17.2519ZM12.2745 11.2129V8.96894L10.41 7.91294L8.52902 8.96894V11.2129L10.41 12.2689L12.2745 11.2129ZM7.45651 5.94944C7.45651 5.66344 7.57752 5.44894 7.81952 5.30594L10.938 3.50744C10.399 3.12244 9.80502 2.92994 9.15602 2.92994C8.57302 2.92994 8.04501 3.06194 7.57201 3.32594C7.09902 3.58994 6.72502 3.95294 6.45002 4.41494C6.18602 4.87694 6.05401 5.39394 6.05401 5.96594V9.51344C6.05401 9.64544 6.10901 9.74994 6.21902 9.82694L7.45651 10.5529V5.94944ZM15.8385 13.8364C16.3885 13.5944 16.823 13.2204 17.142 12.7144C17.472 12.2084 17.637 11.6584 17.637 11.0644C17.637 10.5254 17.4995 10.0084 17.2245 9.51344C16.9495 9.01844 16.592 8.64444 16.152 8.39144L13.0665 6.60944C13.0005 6.56544 12.94 6.54894 12.885 6.55994C12.83 6.55994 12.775 6.57644 12.72 6.60944L11.4825 7.30244L15.4755 9.62894C15.5965 9.69494 15.6845 9.78294 15.7395 9.89294C15.8055 9.99194 15.8385 10.1129 15.8385 10.2559V13.8364ZM12.522 5.45444C12.764 5.30044 13.006 5.30044 13.248 5.45444L16.383 7.28594C16.383 7.20894 16.383 7.10994 16.383 6.98894C16.383 6.46094 16.251 5.96044 15.987 5.48744C15.734 5.00344 15.3655 4.61844 14.8815 4.33244C14.4085 4.04644 13.8585 3.90344 13.2315 3.90344C12.6815 3.90344 12.203 4.01894 11.796 4.24994L8.69402 6.03194C8.58402 6.10894 8.52902 6.21344 8.52902 6.34544V7.76444L12.522 5.45444Z"
        fill="currentColor"
      />
    </svg>
  );
}

function PaintGlyph(props: GlyphProps) {
  return (
    <svg viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg" {...props}>
      <path
        d="M13.8858 2.71322C14.8344 1.92447 16.2473 1.9732 17.1387 2.86459L17.3057 3.04916C18.0315 3.94013 18.0264 5.22711 17.294 6.11263L17.126 6.29623L14.711 8.67513L14.8653 8.82943L15.043 9.02865C15.8122 9.9856 15.6958 11.3368 14.9453 12.2337L14.7754 12.4183C13.6883 13.4902 12.839 14.6622 12.1797 16.0052L11.9082 16.5912C11.3763 17.8145 9.89965 18.5876 8.58791 17.9271L8.46193 17.8587C7.40515 17.2458 6.64661 16.801 5.98147 16.2884C5.38839 15.8314 4.88053 15.3299 4.28713 14.6253L4.02736 14.3109C3.85244 14.0953 3.82982 13.7933 3.97072 13.554L4.35256 12.9046L3.73342 13.1204C3.48311 13.2076 3.20868 13.1373 3.03127 12.9495L2.96193 12.8626C2.82198 12.6535 2.68343 12.4395 2.5469 12.2201L2.14162 11.5453C1.36174 10.2032 2.14731 8.64808 3.41018 8.09994L3.99709 7.82943C5.34168 7.17073 6.51495 6.32179 7.58791 5.23568L7.77248 5.06576C8.7342 4.26289 10.2181 4.1871 11.1787 5.14681L11.3321 5.30013L13.7031 2.88217L13.8858 2.71322ZM6.89748 7.60385C6.08367 8.21683 5.21271 8.73808 4.26565 9.17513L3.94045 9.32064C3.24138 9.62398 2.99796 10.3713 3.29201 10.8773L3.67678 11.5169C3.71355 11.576 3.75214 11.6336 3.78908 11.6917L5.62697 11.0521L5.72658 11.0257C5.96153 10.9829 6.20558 11.0704 6.36037 11.2591C6.53689 11.4747 6.56033 11.7777 6.41897 12.0179L5.35451 13.8226C5.88263 14.4443 6.30957 14.8614 6.79397 15.2347C7.37731 15.6842 8.05546 16.0858 9.12893 16.7083L9.22658 16.7572C9.72862 16.9707 10.4042 16.7146 10.6885 16.0609L10.835 15.7357C11.2724 14.7898 11.7919 13.9186 12.4053 13.1058L6.89748 7.60385ZM16.1983 3.80502C15.7974 3.40419 15.1621 3.38226 14.7354 3.73666L14.6524 3.81283L11.8115 6.71029C11.6874 6.83692 11.5181 6.90945 11.3408 6.91049C11.1634 6.91141 10.9928 6.84059 10.8672 6.71517L10.2383 6.08724C9.83264 5.68229 9.12993 5.66436 8.63088 6.08138L8.5342 6.17123C8.33545 6.37241 8.13156 6.56445 7.9258 6.75131L13.2578 12.0785C13.4452 11.8726 13.6401 11.6709 13.8418 11.472L13.9307 11.3744C14.3203 10.9092 14.3309 10.2674 14.001 9.85482L13.9248 9.77084L13.2959 9.14291C13.1705 9.01761 13.101 8.84656 13.1016 8.66928C13.1023 8.49215 13.1736 8.32289 13.2998 8.19857L16.1924 5.34896L16.2676 5.26595C16.5971 4.86764 16.5999 4.28883 16.2735 3.88803L16.1983 3.80502Z"
        fill="currentColor"
      />
    </svg>
  );
}

function PlayOutlineGlyph(props: GlyphProps) {
  return (
    <svg viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg" {...props}>
      <path
        d="M3.82422 4.74933C3.82427 3.32901 5.39273 2.46804 6.59102 3.23058L13.2698 7.48185C14.3813 8.18917 14.3813 9.81116 13.2698 10.5185L6.59102 14.7689C5.39281 15.5314 3.82448 14.6711 3.82422 13.251V4.74933ZM5.17422 13.251C5.17448 13.6058 5.56646 13.8211 5.86592 13.6307L12.5456 9.37941C12.8232 9.20249 12.8234 8.79681 12.5456 8.62004L5.86592 4.36964C5.56636 4.17902 5.17427 4.39428 5.17422 4.74933V13.251Z"
        fill="currentColor"
      />
    </svg>
  );
}

function PointerOutlineGlyph(props: GlyphProps) {
  return (
    <svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" {...props}>
      <path
        d="M12.725 20.288c-.367.716-.842 1.166-1.425 1.35-.583.191-1.15.12-1.7-.213-.55-.325-.954-.846-1.213-1.563L3.787 6.95c-.175-.492-.216-.958-.124-1.4.091-.45.291-.83.6-1.137a2.187 2.187 0 0 1 1.137-.6c.45-.092.92-.05 1.412.125l12.913 4.6c.717.258 1.237.662 1.563 1.212.333.542.404 1.104.212 1.688-.183.583-.633 1.058-1.35 1.425l-4.925 2.512-2.5 4.913Z"
        stroke="currentColor"
        strokeWidth="1.5"
        strokeLinejoin="round"
      />
    </svg>
  );
}

function PullRequestGlyph(props: GlyphProps) {
  return (
    <svg viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg" {...props}>
      <g transform="translate(2.87695 2.45996)">
        <path
          d="M2.54004 0C3.94284 0 5.08008 1.13724 5.08008 2.54004C5.08008 3.71238 4.28484 4.69567 3.20508 4.98828V10.0908C4.28496 10.3833 5.08008 11.3676 5.08008 12.54C5.08008 13.9428 3.94284 15.0801 2.54004 15.0801C1.13724 15.0801 0 13.9428 0 12.54C0 11.3676 0.795113 10.3833 1.875 10.0908V4.98828C0.795239 4.69567 0 3.71238 0 2.54004C0 1.13724 1.13724 0 2.54004 0ZM2.54004 11.3301C1.87177 11.3301 1.33008 11.8718 1.33008 12.54C1.33008 13.2083 1.87177 13.75 2.54004 13.75C3.2083 13.75 3.75 13.2083 3.75 12.54C3.75 11.8718 3.2083 11.3301 2.54004 11.3301ZM2.54004 1.33008C1.87177 1.33008 1.33008 1.87177 1.33008 2.54004C1.33008 3.2083 1.87177 3.75 2.54004 3.75C3.2083 3.75 3.75 3.2083 3.75 2.54004C3.75 1.87177 3.2083 1.33008 2.54004 1.33008Z"
          fill="currentColor"
        />
        <path
          d="M12.123 9.375C12.4903 9.375 12.7881 9.67277 12.7881 10.04V11.458H14.207L14.3408 11.4717C14.6437 11.5337 14.8719 11.8018 14.8721 12.123C14.8721 12.4443 14.6438 12.7123 14.3408 12.7744L14.207 12.7881H12.7881V14.207C12.7879 14.5742 12.4902 14.8721 12.123 14.8721C11.756 14.8719 11.4582 14.574 11.458 14.207V12.7881H10.04C9.67277 12.7881 9.375 12.4903 9.375 12.123C9.37518 11.7559 9.67288 11.458 10.04 11.458H11.458V10.04C11.458 9.67288 11.7559 9.37518 12.123 9.375Z"
          fill="currentColor"
        />
        <path
          d="M8.42383 0.317383C8.68176 0.147236 9.03258 0.175585 9.25977 0.402344C9.51942 0.662002 9.51934 1.08404 9.25977 1.34375L8.72852 1.875H10.457C11.7446 1.87526 12.7891 2.91945 12.7891 4.20703V6.70703C12.7889 7.07387 12.4908 7.37163 12.124 7.37207C11.7569 7.37207 11.4592 7.07414 11.459 6.70703V4.20703C11.459 3.65399 11.01 3.20534 10.457 3.20508H8.72852L9.25977 3.73633L9.34473 3.84082C9.51509 4.09889 9.48688 4.44953 9.25977 4.67676C9.03252 4.90385 8.68189 4.93213 8.42383 4.76172L8.31934 4.67676L6.65234 3.00977C6.39315 2.75009 6.39296 2.3289 6.65234 2.06934L8.31934 0.402344L8.42383 0.317383Z"
          fill="currentColor"
        />
      </g>
    </svg>
  );
}

function PullRequestDraftGlyph(props: GlyphProps) {
  return (
    <svg viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg" {...props}>
      <g transform="translate(2.87695 2.45996)">
        <path
          d="M2.54004 0C3.94284 0 5.08008 1.13724 5.08008 2.54004C5.08008 3.71238 4.28484 4.69567 3.20508 4.98828V10.0908C4.28496 10.3833 5.08008 11.3676 5.08008 12.54C5.08008 13.9428 3.94284 15.0801 2.54004 15.0801C1.13724 15.0801 0 13.9428 0 12.54C0 11.3676 0.795113 10.3833 1.875 10.0908V4.98828C0.795239 4.69567 0 3.71238 0 2.54004C0 1.13724 1.13724 0 2.54004 0ZM2.54004 11.3301C1.87177 11.3301 1.33008 11.8718 1.33008 12.54C1.33008 13.2083 1.87177 13.75 2.54004 13.75C3.2083 13.75 3.75 13.2083 3.75 12.54C3.75 11.8718 3.2083 11.3301 2.54004 11.3301ZM2.54004 1.33008C1.87177 1.33008 1.33008 1.87177 1.33008 2.54004C1.33008 3.2083 1.87177 3.75 2.54004 3.75C3.2083 3.75 3.75 3.2083 3.75 2.54004C3.75 1.87177 3.2083 1.33008 2.54004 1.33008Z"
          fill="currentColor"
        />
        <path
          d="M11.707 10C13.1096 10.0003 14.2471 11.1374 14.2471 12.54C14.2471 13.9427 13.1096 15.0798 11.707 15.0801C10.3042 15.0801 9.16699 13.9428 9.16699 12.54C9.16699 11.1372 10.3042 10 11.707 10ZM11.707 11.3301C11.0388 11.3301 10.4971 11.8718 10.4971 12.54C10.4971 13.2083 11.0388 13.75 11.707 13.75C12.3751 13.7497 12.917 13.2081 12.917 12.54C12.917 11.8719 12.3751 11.3303 11.707 11.3301Z"
          fill="currentColor"
        />
        <path
          d="M11.7031 5.79004C12.2554 5.79004 12.7031 6.23775 12.7031 6.79004C12.7031 7.34232 12.2554 7.79004 11.7031 7.79004C11.1508 7.79004 10.7031 7.34232 10.7031 6.79004C10.7031 6.23775 11.1508 5.79004 11.7031 5.79004Z"
          fill="currentColor"
        />
        <path
          d="M11.7031 1.54004C12.2554 1.54004 12.7031 1.98775 12.7031 2.54004C12.7031 3.09232 12.2554 3.54004 11.7031 3.54004C11.1508 3.54004 10.7031 3.09232 10.7031 2.54004C10.7031 1.98775 11.1508 1.54004 11.7031 1.54004Z"
          fill="currentColor"
        />
      </g>
    </svg>
  );
}

function PullRequestMergedGlyph(props: GlyphProps) {
  return (
    <svg viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg" {...props}>
      <g transform="translate(2.87695 2.45996)">
        <path
          d="M3.75 12.54C3.75 11.8718 3.2083 11.3301 2.54004 11.3301C1.87177 11.3301 1.33008 11.8718 1.33008 12.54C1.33008 13.2083 1.87177 13.75 2.54004 13.75C3.2083 13.75 3.75 13.2083 3.75 12.54ZM12.917 10.04C12.917 9.37188 12.3751 8.83025 11.707 8.83008C11.0388 8.83008 10.4971 9.37177 10.4971 10.04C10.4971 10.7083 11.0388 11.25 11.707 11.25C12.3751 11.2498 12.917 10.7082 12.917 10.04ZM3.75 2.54004C3.75 1.87177 3.2083 1.33008 2.54004 1.33008C1.87177 1.33008 1.33008 1.87177 1.33008 2.54004C1.33008 3.2083 1.87177 3.75 2.54004 3.75C3.2083 3.75 3.75 3.2083 3.75 2.54004ZM5.08008 2.54004C5.08008 3.47934 4.56861 4.29686 3.81055 4.73633C4.22936 5.91905 4.89909 6.81802 5.75879 7.48242C6.72602 8.22983 7.9664 8.70627 9.42676 8.9248C9.83996 8.08166 10.7048 7.5 11.707 7.5C13.1097 7.50018 14.2471 8.63734 14.2471 10.04C14.2471 11.4427 13.1097 12.5799 11.707 12.5801C10.3687 12.5801 9.2737 11.5448 9.17578 10.2314C7.57006 9.98395 6.12118 9.44292 4.94629 8.53516C4.25331 7.99967 3.66805 7.34453 3.20508 6.56836V10.0908C4.28496 10.3833 5.08008 11.3676 5.08008 12.54C5.08008 13.9428 3.94284 15.0801 2.54004 15.0801C1.13724 15.0801 0 13.9428 0 12.54C0 11.3676 0.795119 10.3833 1.875 10.0908V4.98828C0.795245 4.69568 0 3.71239 0 2.54004C0 1.13724 1.13724 0 2.54004 0C3.94284 0 5.08008 1.13724 5.08008 2.54004Z"
          fill="currentColor"
        />
      </g>
    </svg>
  );
}

function SettingsGlyph(props: GlyphProps) {
  return (
    <svg viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg" {...props}>
      <path
        fillRule="evenodd"
        clipRule="evenodd"
        d="M9.99944 7.24939C11.5169 7.2495 12.7473 8.47995 12.7475 9.99744C12.7475 11.5151 11.517 12.7454 9.99944 12.7455C8.48176 12.7455 7.2514 11.5151 7.2514 9.99744C7.25155 8.47988 8.48186 7.24939 9.99944 7.24939ZM9.99944 8.57947C9.2164 8.57947 8.58163 9.21442 8.58148 9.99744C8.58148 10.7806 9.2163 11.4154 9.99944 11.4154C10.7825 11.4153 11.4174 10.7805 11.4174 9.99744C11.4173 9.21449 10.7824 8.57958 9.99944 8.57947Z"
        fill="currentColor"
      />
      <path
        fillRule="evenodd"
        clipRule="evenodd"
        d="M10.6391 1.67517C11.2939 1.67532 11.8991 2.02577 12.226 2.59314L13.2485 4.36755H15.2963C15.9505 4.36758 16.555 4.71709 16.8823 5.28357L17.5219 6.39001C17.8489 6.95668 17.8481 7.65542 17.5209 8.22205L16.4975 9.99451L17.5239 11.7689C17.8519 12.3357 17.8521 13.0347 17.5248 13.6019L16.8862 14.7084C16.559 15.2747 15.9543 15.6243 15.3002 15.6244H13.2514L12.2299 17.3988C11.9029 17.9663 11.297 18.3168 10.642 18.3168L9.3637 18.3158C8.71064 18.3155 8.10718 17.9678 7.77972 17.4027L6.74847 15.6234L4.69964 15.6244C4.04558 15.6242 3.44087 15.2747 3.1137 14.7084L2.47503 13.6019C2.14791 13.0349 2.14836 12.3366 2.47601 11.7699L3.50237 9.99548L2.47894 8.22205C2.15175 7.65533 2.15174 6.95673 2.47894 6.39001L3.11761 5.28259C3.44458 4.71663 4.04894 4.36813 4.70257 4.36755L6.75042 4.36658L7.77581 2.59119C8.10301 2.02476 8.7076 1.67527 9.36175 1.67517H10.6391ZM9.36273 3.00623C9.1835 3.00623 9.01679 3.10199 8.92718 3.2572L7.82659 5.16345C7.63652 5.49253 7.28473 5.69529 6.90472 5.69568L4.70355 5.69763C4.52451 5.69782 4.3585 5.79355 4.26898 5.94861L3.6303 7.05505C3.54091 7.2102 3.54077 7.40192 3.6303 7.55701L4.73089 9.46326C4.92108 9.7929 4.92135 10.1992 4.73089 10.5287L3.62737 12.4359C3.5378 12.591 3.53792 12.7817 3.62737 12.9369L4.26605 14.0433C4.35567 14.1982 4.52067 14.2932 4.69964 14.2933L6.90276 14.2943C7.28242 14.2946 7.63335 14.497 7.82366 14.8256L8.93011 16.7357C9.01984 16.8905 9.18578 16.9857 9.36468 16.9857H10.642C10.8213 16.9857 10.987 16.89 11.0766 16.7347L12.1752 14.8275C12.3653 14.4975 12.7182 14.2943 13.0991 14.2943H15.3002C15.4794 14.2942 15.6452 14.1985 15.7348 14.0433L16.3725 12.9379C16.4621 12.7826 16.4621 12.5911 16.3725 12.4359L15.27 10.5287C15.1032 10.2404 15.0808 9.89331 15.2055 9.59021L15.269 9.46326L16.3696 7.55701C16.4591 7.40189 16.459 7.21022 16.3696 7.05505L15.7309 5.94861C15.6412 5.79363 15.4754 5.69863 15.2963 5.69861L13.0951 5.69763L12.9535 5.68884C12.6751 5.65158 12.4217 5.50519 12.2504 5.28259L12.1723 5.16443L11.0737 3.2572C10.9841 3.10175 10.8175 3.00525 10.6381 3.00525L9.36273 3.00623Z"
        fill="currentColor"
      />
    </svg>
  );
}

function StarGlyph(props: GlyphProps) {
  return (
    <svg viewBox="0 0 15 14" fill="none" xmlns="http://www.w3.org/2000/svg" {...props}>
      <path
        fill="currentColor"
        d="M5.914.678a1.332 1.332 0 0 1 2.321 0L9.792 3.44a.268.268 0 0 0 .18.13l3.108.628a1.332 1.332 0 0 1 .717 2.207L11.652 8.74a.268.268 0 0 0-.07.211l.364 3.15a1.332 1.332 0 0 1-1.877 1.364l-2.883-1.32a.268.268 0 0 0-.222 0l-2.883 1.32a1.333 1.333 0 0 1-1.878-1.364l.364-3.15a.268.268 0 0 0-.069-.211L.353 6.405a1.332 1.332 0 0 1 .716-2.207l3.108-.627a.268.268 0 0 0 .18-.13L5.914.677Zm1.394.523a.268.268 0 0 0-.467 0L5.285 3.962c-.19.337-.518.575-.897.652L1.28 5.24a.268.268 0 0 0-.145.444l2.147 2.334c.261.285.386.67.342 1.055l-.364 3.15a.268.268 0 0 0 .378.273l2.883-1.32a1.332 1.332 0 0 1 1.108 0l2.883 1.32a.268.268 0 0 0 .377-.274l-.363-3.15c-.044-.384.08-.769.342-1.054l2.146-2.334a.268.268 0 0 0-.144-.444l-3.108-.627a1.332 1.332 0 0 1-.897-.652l-1.557-2.76Z"
      />
    </svg>
  );
}

function TerminalGlyph(props: GlyphProps) {
  return (
    <svg viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg" {...props}>
      <path
        d="M6.19629 7.86231C6.42357 7.63534 6.7752 7.60692 7.0332 7.77734L7.1377 7.86231L8.80371 9.5293C9.06329 9.78889 9.06307 10.21 8.80371 10.4697L7.1377 12.1367C6.878 12.3964 6.45599 12.3964 6.19629 12.1367C5.93686 11.8771 5.93697 11.456 6.19629 11.1963L7.39258 9.99902L6.19629 8.80371L6.11133 8.69922C5.94087 8.4411 5.96904 8.08955 6.19629 7.86231Z"
        fill="currentColor"
      />
      <path
        d="M13.4668 11.0156C13.7699 11.0776 13.998 11.3456 13.998 11.667C13.9979 11.9883 13.7698 12.2564 13.4668 12.3184L13.333 12.332H10.833C10.466 12.3319 10.1682 12.034 10.168 11.667C10.168 11.2998 10.4659 11.0021 10.833 11.002H13.333L13.4668 11.0156Z"
        fill="currentColor"
      />
      <path
        fillRule="evenodd"
        clipRule="evenodd"
        d="M12.6602 2.66504C13.3492 2.66504 13.9062 2.66439 14.3564 2.70117C14.8142 2.73859 15.2201 2.81796 15.5967 3.00977C16.1922 3.31321 16.677 3.79805 16.9805 4.39356C17.1722 4.77014 17.2517 5.17604 17.2891 5.63379C17.3258 6.08402 17.3252 6.64102 17.3252 7.33008V12.6602C17.3252 13.3492 17.3258 13.9062 17.2891 14.3564C17.2516 14.8142 17.1723 15.2201 16.9805 15.5967C16.677 16.1922 16.1922 16.677 15.5967 16.9805C15.2201 17.1723 14.8142 17.2516 14.3564 17.2891C13.9062 17.3258 13.3492 17.3252 12.6602 17.3252H7.33008C6.64102 17.3252 6.08402 17.3258 5.63379 17.2891C5.17604 17.2517 4.77014 17.1722 4.39356 16.9805C3.79805 16.677 3.31321 16.1922 3.00977 15.5967C2.81796 15.2201 2.73859 14.8142 2.70117 14.3564C2.66439 13.9062 2.66504 13.3492 2.66504 12.6602V7.33008C2.66504 6.64101 2.66439 6.08402 2.70117 5.63379C2.73858 5.17601 2.81797 4.77016 3.00977 4.39356C3.31321 3.79802 3.79802 3.31321 4.39356 3.00977C4.77016 2.81797 5.17601 2.73858 5.63379 2.70117C6.08402 2.66439 6.64101 2.66504 7.33008 2.66504H12.6602ZM7.33008 3.99512C6.61907 3.99512 6.1257 3.99601 5.74219 4.02734C5.3665 4.05804 5.15508 4.11481 4.99707 4.19531C4.65183 4.37124 4.37124 4.65183 4.19531 4.99707C4.11481 5.15508 4.05805 5.3665 4.02734 5.74219C3.99601 6.1257 3.99512 6.61908 3.99512 7.33008V12.6602C3.99512 13.3711 3.99601 13.8646 4.02734 14.248C4.05805 14.6237 4.11481 14.8352 4.19531 14.9932C4.37124 15.3384 4.65186 15.619 4.99707 15.7949C5.15507 15.8754 5.36654 15.9322 5.74219 15.9629C6.1257 15.9942 6.61908 15.9951 7.33008 15.9951H12.6602C13.3711 15.9951 13.8646 15.9942 14.248 15.9629C14.6237 15.9322 14.8352 15.8754 14.9932 15.7949C15.3384 15.619 15.619 15.3384 15.7949 14.9932C15.8754 14.8352 15.9322 14.6237 15.9629 14.248C15.9942 13.8646 15.9951 13.3711 15.9951 12.6602V7.33008C15.9951 6.61908 15.9942 6.1257 15.9629 5.74219C15.9322 5.36654 15.8754 5.15507 15.7949 4.99707C15.619 4.65186 15.3384 4.37124 14.9932 4.19531C14.8352 4.11481 14.6237 4.05805 14.248 4.02734C13.8646 3.99601 13.3711 3.99512 12.6602 3.99512H7.33008Z"
        fill="currentColor"
      />
    </svg>
  );
}

function TrashGlyph(props: GlyphProps) {
  return (
    <svg viewBox="0 0 20 20" fill="currentColor" xmlns="http://www.w3.org/2000/svg" {...props}>
      <path d="M10.6299 1.33496C12.0335 1.33496 13.2695 2.25996 13.666 3.60645L13.8809 4.33496H17L17.1338 4.34863C17.4369 4.41057 17.665 4.67858 17.665 5C17.665 5.32142 17.4369 5.58943 17.1338 5.65137L17 5.66504H16.6543L15.8574 14.9912C15.7177 16.629 14.3478 17.8877 12.7041 17.8877H7.2959C5.75502 17.8877 4.45439 16.7815 4.18262 15.2939L4.14258 14.9912L3.34668 5.66504H3C2.63273 5.66504 2.33496 5.36727 2.33496 5C2.33496 4.63273 2.63273 4.33496 3 4.33496H6.11914L6.33398 3.60645L6.41797 3.3584C6.88565 2.14747 8.05427 1.33496 9.37012 1.33496H10.6299ZM5.46777 14.8779L5.49121 15.0537C5.64881 15.9161 6.40256 16.5576 7.2959 16.5576H12.7041C13.6571 16.5576 14.4512 15.8275 14.5322 14.8779L15.3193 5.66504H4.68164L5.46777 14.8779ZM7.66797 12.8271V8.66016C7.66797 8.29299 7.96588 7.99528 8.33301 7.99512C8.70028 7.99512 8.99805 8.29289 8.99805 8.66016V12.8271C8.99779 13.1942 8.70012 13.4912 8.33301 13.4912C7.96604 13.491 7.66823 13.1941 7.66797 12.8271ZM11.002 12.8271V8.66016C11.002 8.29289 11.2997 7.99512 11.667 7.99512C12.0341 7.9953 12.332 8.293 12.332 8.66016V12.8271C12.3318 13.1941 12.0339 13.491 11.667 13.4912C11.2999 13.4912 11.0022 13.1942 11.002 12.8271ZM9.37012 2.66504C8.60726 2.66504 7.92938 3.13589 7.6582 3.83789L7.60938 3.98145L7.50586 4.33496H12.4941L12.3906 3.98145C12.1607 3.20084 11.4437 2.66504 10.6299 2.66504H9.37012Z" />
    </svg>
  );
}

function WorktreeGlyph(props: GlyphProps) {
  return (
    <svg viewBox="0 0 20 20" fill="currentColor" xmlns="http://www.w3.org/2000/svg" {...props}>
      <path d="M15.8 11.535c.367 0 .665.298.665.665v5a.665.665 0 0 1-.665.665h-5a.665.665 0 1 1 0-1.33h3.394l-3.565-3.564a.666.666 0 0 1 .942-.942l3.564 3.565V12.2c0-.367.298-.665.665-.665Zm0-9.4c.367 0 .665.298.665.665v5a.665.665 0 0 1-1.33 0V4.405l-5.128 5.128c-.323.324-.558.565-.842.74a2.668 2.668 0 0 1-.771.319c-.324.078-.662.073-1.12.073H1.93a.665.665 0 1 1 0-1.33h5.345c.52 0 .673-.005.809-.037.136-.033.266-.086.385-.16.12-.072.23-.177.598-.545l5.128-5.128H10.8a.665.665 0 0 1 0-1.33h5Z" />
    </svg>
  );
}

function XCircleGlyph(props: GlyphProps) {
  return (
    <svg viewBox="0 0 20 20" fill="currentColor" xmlns="http://www.w3.org/2000/svg" {...props}>
      <path d="M7.231 7.231a.665.665 0 0 1 .94 0L10 9.06l1.828-1.829.104-.085a.666.666 0 0 1 .921.922l-.084.104L10.94 10l1.829 1.828a.665.665 0 0 1-.94.94L10 10.94l-1.828 1.83a.665.665 0 0 1-.94-.94L9.06 10 7.23 8.172a.665.665 0 0 1 0-.94Z" />
      <path
        fillRule="evenodd"
        d="M10 2.085a7.915 7.915 0 1 1 0 15.83 7.915 7.915 0 0 1 0-15.83Zm0 1.33a6.585 6.585 0 1 0 0 13.17 6.585 6.585 0 0 0 0-13.17Z"
        clipRule="evenodd"
      />
    </svg>
  );
}

/**
 * Which glyph each keycap wears, mirroring Codex's own keycap catalogue.
 * `null` marks the blank keycaps, which Codex draws as a small empty square.
 */
const KEYCAP_GLYPHS: Record<WorkLouderCodexKeycapId, ((props: GlyphProps) => ReactElement) | null> =
  {
    FAST: LightningOutlineGlyph,
    APPR: CheckCircleGlyph,
    REJ: XCircleGlyph,
    SPLIT: WorktreeGlyph,
    MIC: MicGlyph,
    MIC1: MicGlyph,
    CODEX: CodexGlyph,
    BUG: BugGlyph,
    OAI: OpenaiGlyph,
    TERM: TerminalGlyph,
    DWN: DownloadGlyph,
    DEL: TrashGlyph,
    NEW: ComposeGlyph,
    NAV: PointerOutlineGlyph,
    MAGIC: StarGlyph,
    DIFF: DiffGlyph,
    PLAY: PlayOutlineGlyph,
    GIT: DiffGlyph,
    BRCH: PullRequestDraftGlyph,
    BRANCH: BranchGlyph,
    MRG: PullRequestMergedGlyph,
    PR: PullRequestGlyph,
    PAINT: PaintGlyph,
    LAB: FlaskGlyph,
    PARTY: ConfettiGlyph,
    TIME: ClockGlyph,
    'MIND+': BrainMediumGlyph,
    'MIND-': BrainOutlineGlyph,
    EMPT1: null,
    EMPT2: null,
    EMPT3: null,
    EMPT4: null,
    EMPT5: null,
    SETUP: SettingsGlyph,
    FOLD: FolderPlusGlyph,
    UPL: CloudUploadGlyph,
    APPS: AllProductsGlyph,
    YOLO: null,
    YEET: null,
  };

/** Literal legends Codex silk-screens onto keycaps instead of a glyph. */
const KEYCAP_LEGENDS: Partial<Record<WorkLouderCodexKeycapId, string>> = {
  YOLO: ':yolo:',
  YEET: ':yeet:',
};

export function WorkLouderCodexKeycapGlyph({
  keycapId,
  className,
}: {
  keycapId: WorkLouderCodexKeycapId;
  className?: string;
}) {
  const legend = KEYCAP_LEGENDS[keycapId];
  if (legend) {
    // Codex silk-screens this legend at 0.68rem; text-10 is the nearest step on our ladder.
    return (
      <span className="font-mono text-10 font-medium tracking-[0]" aria-hidden="true">
        {legend}
      </span>
    );
  }

  const Glyph = KEYCAP_GLYPHS[keycapId];
  if (!Glyph) {
    return (
      <span
        aria-hidden="true"
        className="size-3 rounded-sm border border-[var(--border-default)]"
      />
    );
  }

  return <Glyph aria-hidden="true" className={className ?? 'size-5'} />;
}