@deepseek-ai/dsh-client-ui-primitives 0.1.5-alpha.2 → 0.1.5-rc.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.i18n.yaml +2 -2
- package/README.md +4 -2
- package/README.zh.md +4 -2
- package/lib/index.js +64 -1109
- package/lib/markdown/CodeBlock.module.css +6 -0
- package/lib/types/code-file-icon-artwork.d.ts +54 -0
- package/lib/types/markdown/CodeBlock.d.ts +4 -1
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -2728,32 +2728,69 @@ function ReferenceIcon({ kind, size = 16, className }) {
|
|
|
2728
2728
|
}
|
|
2729
2729
|
}
|
|
2730
2730
|
//#endregion
|
|
2731
|
+
//#region lib/types/code-file-icon-artwork.js
|
|
2732
|
+
/** Placeholder replaced with one React-instance id before SVG insertion. */
|
|
2733
|
+
const CODE_FILE_ICON_ID_TOKEN = "__DSH_CODE_ICON_INSTANCE__";
|
|
2734
|
+
/** Validated inner SVG markup for the established detailed code categories. */
|
|
2735
|
+
const CODE_FILE_ARTWORK = Object.freeze({
|
|
2736
|
+
"angular": "<rect x=\"1\" y=\"1\" width=\"18\" height=\"18\" rx=\"4\" fill=\"#F8ECEF\" stroke=\"#DDE2E8\" stroke-width=\".5\"/><g transform=\"translate(3 3) scale(.5833333333)\"><path fill=\"#DD0031\" d=\"M16.712 17.711H7.288l-1.204 2.916L12 24l5.916-3.373-1.204-2.916ZM14.692 0l7.832 16.855.814-12.856L14.692 0ZM9.308 0 .662 3.999l.814 12.856L9.308 0Zm-.405 13.93h6.198L12 6.396 8.903 13.93Z\"/></g>",
|
|
2737
|
+
"c": "<rect x=\"1\" y=\"1\" width=\"18\" height=\"18\" rx=\"4\" fill=\"#EEF4F8\" stroke=\"#DDE2E8\" stroke-width=\".5\"/><g transform=\"translate(3 3) scale(.5833333333)\"><path fill=\"#659AD2\" d=\"M16.5921 9.1962s-.354-3.298-3.627-3.39c-3.2741-.09-4.9552 2.474-4.9552 6.14 0 3.6651 1.858 6.5972 5.0451 6.5972 3.184 0 3.5381-3.665 3.5381-3.665l6.1041.365s.36 3.31-2.196 5.836c-2.552 2.5241-5.6901 2.9371-7.8762 2.9201-2.19-.017-5.2261.034-8.1602-2.97-2.938-3.0101-3.436-5.9302-3.436-8.8002 0-2.8701.556-6.6702 4.047-9.5502C7.444.72 9.849 0 12.254 0c10.0422 0 10.7172 9.2602 10.7172 9.2602z\"/></g>",
|
|
2738
|
+
"clojure": "<rect x=\"1\" y=\"1\" width=\"18\" height=\"18\" rx=\"4\" fill=\"#F1F7EC\" stroke=\"#DCEAD2\" stroke-width=\".5\"/><svg x=\"2.75\" y=\"2.75\" width=\"14.5\" height=\"14.5\" viewBox=\"0 0 128 128\" preserveAspectRatio=\"xMidYMid meet\"><g fill=\"none\"><path d=\"M64 0C28.712 0 0 28.6 0 63.751c0 35.155 28.712 63.753 64 63.753s64-28.598 64-63.753C128 28.6 99.288 0 64 0\" fill=\"#FFF\"/><path d=\"M61.659 64.898a265.825 265.825 0 00-1.867 4.12c-2.322 5.241-4.894 11.62-5.834 15.706-.337 1.455-.546 3.258-.542 5.258 0 .79.043 1.622.11 2.469a30.74 30.74 0 0010.533 1.87 30.796 30.796 0 009.642-1.566 18.09 18.09 0 01-2.011-2.12c-4.11-5.221-6.403-12.872-10.031-25.737M46.485 38.96c-7.85 5.51-12.986 14.6-13.005 24.9.019 10.145 5.001 19.116 12.653 24.65 1.877-7.789 6.582-14.92 13.637-29.214a114.691 114.691 0 00-1.43-3.72c-1.955-4.884-4.776-10.556-7.294-13.124-1.283-1.342-2.84-2.502-4.561-3.492\" fill=\"#91DC47\"/><path d=\"M90.697 98.798c-4.05-.506-7.392-1.116-10.317-2.144a36.708 36.708 0 01-16.32 3.807c-20.293 0-36.742-16.383-36.745-36.602 0-10.97 4.852-20.805 12.528-27.512-2.053-.495-4.194-.783-6.38-.779-10.782.101-22.162 6.044-26.9 22.095-.443 2.337-.337 4.103-.337 6.197 0 31.818 25.895 57.613 57.835 57.613 19.561 0 36.841-9.682 47.305-24.489-5.66 1.405-11.103 2.077-15.763 2.091-1.747 0-3.387-.093-4.906-.277\" fill=\"#63B132\"/><path d=\"M79.829 87.634c.357.176 1.167.464 2.293.783 7.579-5.542 12.504-14.469 12.523-24.558h-.003c-.028-16.82-13.693-30.43-30.582-30.462a30.765 30.765 0 00-9.602 1.554c6.21 7.05 9.196 17.127 12.084 28.148l.005.013c.005.009.924 3.06 2.501 7.11 1.566 4.042 3.797 9.048 6.23 12.696 1.597 2.444 3.354 4.2 4.551 4.716\" fill=\"#90B4FE\"/><path d=\"M17.057 30.311c5.463-3.408 11.04-4.637 15.908-4.593 6.722.02 12.008 2.096 14.544 3.516.612.352 1.194.73 1.764 1.12a36.714 36.714 0 0114.786-3.096c20.295.003 36.747 16.386 36.75 36.601-.003 10.192-4.188 19.408-10.934 26.044a45.3 45.3 0 005.225.29c6.406.004 13.329-1.404 18.52-5.753 3.384-2.84 6.22-6.998 7.792-13.233.307-2.408.484-4.856.484-7.347 0-31.817-25.892-57.614-57.835-57.614-19.372 0-36.508 9.5-47.004 24.065z\" fill=\"#5881D8\"/></g></svg>",
|
|
2739
|
+
"cmake": "<rect x=\"1\" y=\"1\" width=\"18\" height=\"18\" rx=\"4\" fill=\"#F2F5F7\" stroke=\"#D9E1E7\" stroke-width=\".5\"/><svg x=\"2.75\" y=\"2.75\" width=\"14.5\" height=\"14.5\" viewBox=\"0 0 128 128\" preserveAspectRatio=\"xMidYMid meet\"><path fill=\"#064F8C\" d=\"M62.8.4L.3 123.8l68.1-57.9z\"/><path fill=\"#249847\" d=\"M123.8 127.7l-84-33.9L0 127.7z\"/><path fill=\"#BE2128\" d=\"M128 126.6L65.6 2.5l9.2 102.6z\"/><path fill=\"#CDCDCE\" d=\"M71.9 104l-3.1-34.9L42 92z\"/></svg>",
|
|
2740
|
+
"cpp": "<rect x=\"1\" y=\"1\" width=\"18\" height=\"18\" rx=\"4\" fill=\"#E8F2F8\" stroke=\"#DDE2E8\" stroke-width=\".5\"/><g transform=\"translate(3 3) scale(.5833333333)\"><path fill=\"#00599C\" d=\"M22.394 6c-.167-.29-.398-.543-.652-.69L12.926.22c-.509-.294-1.34-.294-1.848 0L2.26 5.31c-.508.293-.923 1.013-.923 1.6v10.18c0 .294.104.62.271.91.167.29.398.543.652.69l8.816 5.09c.508.293 1.34.293 1.848 0l8.816-5.09c.254-.147.485-.4.652-.69.167-.29.27-.616.27-.91V6.91c.003-.294-.1-.62-.268-.91zM12 19.11c-3.92 0-7.109-3.19-7.109-7.11 0-3.92 3.19-7.11 7.11-7.11a7.133 7.133 0 016.156 3.553l-3.076 1.78a3.567 3.567 0 00-3.08-1.78A3.56 3.56 0 008.444 12 3.56 3.56 0 0012 15.555a3.57 3.57 0 003.08-1.778l3.078 1.78A7.135 7.135 0 0112 19.11zm7.11-6.715h-.79v.79h-.79v-.79h-.79v-.79h.79v-.79h.79v.79h.79zm2.962 0h-.79v.79h-.79v-.79h-.79v-.79h.79v-.79h.79v.79h.79z\"/></g>",
|
|
2741
|
+
"csharp": "<rect x=\"1\" y=\"1\" width=\"18\" height=\"18\" rx=\"4\" fill=\"#F3EEF7\" stroke=\"#E2D7EA\" stroke-width=\".5\"/><svg x=\"2.75\" y=\"2.75\" width=\"14.5\" height=\"14.5\" viewBox=\"0 0 128 128\" preserveAspectRatio=\"xMidYMid meet\"><path fill=\"#9B4F96\" d=\"M115.4 30.7L67.1 2.9c-.8-.5-1.9-.7-3.1-.7-1.2 0-2.3.3-3.1.7l-48 27.9c-1.7 1-2.9 3.5-2.9 5.4v55.7c0 1.1.2 2.4 1 3.5l106.8-62c-.6-1.2-1.5-2.1-2.4-2.7z\"/><path fill=\"#68217A\" d=\"M10.7 95.3c.5.8 1.2 1.5 1.9 1.9l48.2 27.9c.8.5 1.9.7 3.1.7 1.2 0 2.3-.3 3.1-.7l48-27.9c1.7-1 2.9-3.5 2.9-5.4V36.1c0-.9-.1-1.9-.6-2.8l-106.6 62z\"/><path fill=\"#fff\" d=\"M85.3 76.1C81.1 83.5 73.1 88.5 64 88.5c-13.5 0-24.5-11-24.5-24.5s11-24.5 24.5-24.5c9.1 0 17.1 5 21.3 12.5l13-7.5c-6.8-11.9-19.6-20-34.3-20-21.8 0-39.5 17.7-39.5 39.5s17.7 39.5 39.5 39.5c14.6 0 27.4-8 34.2-19.8l-12.9-7.6zM97 66.2l.9-4.3h-4.2v-4.7h5.1L100 51h4.9l-1.2 6.1h3.8l1.2-6.1h4.8l-1.2 6.1h2.4v4.7h-3.3l-.9 4.3h4.2v4.7h-5.1l-1.2 6h-4.9l1.2-6h-3.8l-1.2 6h-4.8l1.2-6h-2.4v-4.7H97zm4.8 0h3.8l.9-4.3h-3.8l-.9 4.3z\"/></svg>",
|
|
2742
|
+
"css": "<rect x=\"1\" y=\"1\" width=\"18\" height=\"18\" rx=\"4\" fill=\"#1572B6\"/><text x=\"10\" y=\"12.8\" text-anchor=\"middle\" font-family=\"Arial,sans-serif\" font-size=\"6.2\" font-weight=\"900\" fill=\"#fff\">CSS</text>",
|
|
2743
|
+
"dart": "<rect x=\"1\" y=\"1\" width=\"18\" height=\"18\" rx=\"4\" fill=\"#ECF7FA\" stroke=\"#D5EAF0\" stroke-width=\".5\"/><svg x=\"2.75\" y=\"2.75\" width=\"14.5\" height=\"14.5\" viewBox=\"0 0 128 128\" preserveAspectRatio=\"xMidYMid meet\"><path fill=\"#00c4b3\" d=\"M35.2 34.9l-8.3-8.3v59.7l.1 2.8c0 1.3.2 2.8.7 4.3l65.6 23.1 16.3-7.2-74.4-74.4z\"/><path d=\"M27.7 93.4zm81.9 15.9l-16.3 7.2-65.4-23.1c1.3 4.8 4 10.1 7 13.2l21.3 21.2 47.6.1 5.8-18.6z\" fill=\"#22d3c5\"/><path fill=\"#0075c9\" d=\"M1.7 65.1C-.4 67.3.7 72 4 75.5l14.7 14.8 9.2 3.3c-.3-1.5-.7-3-.7-4.3l-.1-2.8-.2-59.8m82.7 82.6l7.2-16.4-23-65.6c-1.5-.3-3-.6-4.3-.7l-2.9-.1-59.6.1\"/><path d=\"M93.6 27.3c.2 0 .2 0 0 0 .2 0 .2 0 0 0zm16 82l17.7-5.8V54.8l-20.4-20.5c-3-3-8.3-5.8-13.2-7l23.1 65.6\" fill=\"#00a8e1\"/><path fill=\"#00c4b3\" d=\"M90.5 18.2L75.7 3.5c-3.4-3.4-8-4.4-10.4-2.3L26.9 26.6h59.5l2.9.1c1.3 0 2.8.2 4.3.7l-3.1-9.2z\"/></svg>",
|
|
2744
|
+
"docker": "<rect x=\"1\" y=\"1\" width=\"18\" height=\"18\" rx=\"4\" fill=\"#E8F4FC\" stroke=\"#DDE2E8\" stroke-width=\".5\"/><g transform=\"translate(3 3) scale(.5833333333)\"><path fill=\"#2496ED\" d=\"M13.983 11.078h2.119a.186.186 0 00.186-.185V9.006a.186.186 0 00-.186-.186h-2.119a.185.185 0 00-.185.185v1.888c0 .102.083.185.185.185m-2.954-5.43h2.118a.186.186 0 00.186-.186V3.574a.186.186 0 00-.186-.185h-2.118a.185.185 0 00-.185.185v1.888c0 .102.082.185.185.185m0 2.716h2.118a.187.187 0 00.186-.186V6.29a.186.186 0 00-.186-.185h-2.118a.185.185 0 00-.185.185v1.887c0 .102.082.185.185.186m-2.93 0h2.12a.186.186 0 00.184-.186V6.29a.185.185 0 00-.185-.185H8.1a.185.185 0 00-.185.185v1.887c0 .102.083.185.185.186m-2.964 0h2.119a.186.186 0 00.185-.186V6.29a.185.185 0 00-.185-.185H5.136a.186.186 0 00-.186.185v1.887c0 .102.084.185.186.186m5.893 2.715h2.118a.186.186 0 00.186-.185V9.006a.186.186 0 00-.186-.186h-2.118a.185.185 0 00-.185.185v1.888c0 .102.082.185.185.185m-2.93 0h2.12a.185.185 0 00.184-.185V9.006a.185.185 0 00-.184-.186h-2.12a.185.185 0 00-.184.185v1.888c0 .102.083.185.185.185m-2.964 0h2.119a.185.185 0 00.185-.185V9.006a.185.185 0 00-.184-.186h-2.12a.186.186 0 00-.186.186v1.887c0 .102.084.185.186.185m-2.92 0h2.12a.185.185 0 00.184-.185V9.006a.185.185 0 00-.184-.186h-2.12a.185.185 0 00-.184.185v1.888c0 .102.082.185.185.185M23.763 9.89c-.065-.051-.672-.51-1.954-.51-.338.001-.676.03-1.01.087-.248-1.7-1.653-2.53-1.716-2.566l-.344-.199-.226.327c-.284.438-.49.922-.612 1.43-.23.97-.09 1.882.403 2.661-.595.332-1.55.413-1.744.42H.751a.751.751 0 00-.75.748 11.376 11.376 0 00.692 4.062c.545 1.428 1.355 2.48 2.41 3.124 1.18.723 3.1 1.137 5.275 1.137.983.003 1.963-.086 2.93-.266a12.248 12.248 0 003.823-1.389c.98-.567 1.86-1.288 2.61-2.136 1.252-1.418 1.998-2.997 2.553-4.4h.221c1.372 0 2.215-.549 2.68-1.009.309-.293.55-.65.707-1.046l.098-.288Z\"/></g>",
|
|
2745
|
+
"elixir": "<rect x=\"1\" y=\"1\" width=\"18\" height=\"18\" rx=\"4\" fill=\"#F3EEF6\" stroke=\"#E3D9E8\" stroke-width=\".5\"/><svg x=\"2.75\" y=\"2.75\" width=\"14.5\" height=\"14.5\" viewBox=\"0 0 128 128\" preserveAspectRatio=\"xMidYMid meet\"><linearGradient id=\"__DSH_CODE_ICON_INSTANCE__elixir-original-a\" gradientUnits=\"userSpaceOnUse\" x1=\"835.592\" y1=\"-36.546\" x2=\"821.211\" y2=\"553.414\" gradientTransform=\"matrix(.1297 0 0 .2 -46.03 17.198)\"><stop offset=\"0\" stop-color=\"#d9d8dc\"/><stop offset=\"1\" stop-color=\"#fff\" stop-opacity=\".385\"/></linearGradient><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" fill=\"url(#__DSH_CODE_ICON_INSTANCE__elixir-original-a)\" d=\"M64.4.5C36.7 13.9 1.9 83.4 30.9 113.9c26.8 33.5 85.4 1.3 68.4-40.5-21.5-36-35-37.9-34.9-72.9z\"/><linearGradient id=\"__DSH_CODE_ICON_INSTANCE__elixir-original-b\" gradientUnits=\"userSpaceOnUse\" x1=\"942.357\" y1=\"-40.593\" x2=\"824.692\" y2=\"472.243\" gradientTransform=\"matrix(.1142 0 0 .2271 -47.053 17.229)\"><stop offset=\"0\" stop-color=\"#8d67af\" stop-opacity=\".672\"/><stop offset=\"1\" stop-color=\"#9f8daf\"/></linearGradient><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" fill=\"url(#__DSH_CODE_ICON_INSTANCE__elixir-original-b)\" d=\"M64.4.2C36.8 13.6 1.9 82.9 31 113.5c10.7 12.4 28 16.5 37.7 9.1 26.4-18.8 7.4-53.1 10.4-78.5C68.1 33.9 64.2 11.3 64.4.2z\"/><linearGradient id=\"__DSH_CODE_ICON_INSTANCE__elixir-original-c\" gradientUnits=\"userSpaceOnUse\" x1=\"924.646\" y1=\"120.513\" x2=\"924.646\" y2=\"505.851\" gradientTransform=\"matrix(.1227 0 0 .2115 -46.493 17.206)\"><stop offset=\"0\" stop-color=\"#26053d\" stop-opacity=\".762\"/><stop offset=\"1\" stop-color=\"#b7b4b4\" stop-opacity=\".278\"/></linearGradient><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" fill=\"url(#__DSH_CODE_ICON_INSTANCE__elixir-original-c)\" d=\"M56.7 4.3c-22.3 15.9-28.2 75-24.1 94.2 8.2 48.1 75.2 28.3 69.6-16.5-6-29.2-48.8-39.2-45.5-77.7z\"/><linearGradient id=\"__DSH_CODE_ICON_INSTANCE__elixir-original-d\" gradientUnits=\"userSpaceOnUse\" x1=\"428.034\" y1=\"198.448\" x2=\"607.325\" y2=\"559.255\" gradientTransform=\"matrix(.1848 0 0 .1404 -42.394 17.138)\"><stop offset=\"0\" stop-color=\"#91739f\" stop-opacity=\".46\"/><stop offset=\"1\" stop-color=\"#32054f\" stop-opacity=\".54\"/></linearGradient><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" fill=\"url(#__DSH_CODE_ICON_INSTANCE__elixir-original-d)\" d=\"M78.8 49.8c10.4 13.4 12.7 22.6 6.8 27.9-27.7 19.4-61.3 7.4-54-37.3C22.1 63 4.5 96.8 43.3 101.6c20.8 3.6 54 2 58.9-16.1-.2-15.9-10.8-22.9-23.4-35.7z\"/><linearGradient id=\"__DSH_CODE_ICON_INSTANCE__elixir-original-e\" gradientUnits=\"userSpaceOnUse\" x1=\"907.895\" y1=\"540.636\" x2=\"590.242\" y2=\"201.281\" gradientTransform=\"matrix(.1418 0 0 .1829 -45.23 17.18)\"><stop offset=\"0\" stop-color=\"#463d49\" stop-opacity=\".331\"/><stop offset=\"1\" stop-color=\"#340a50\" stop-opacity=\".821\"/></linearGradient><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" fill=\"url(#__DSH_CODE_ICON_INSTANCE__elixir-original-e)\" d=\"M38.1 36.4c-2.9 21.2 35.1 77.9 58.3 71-17.7 35.6-56.9-21.2-64-41.7 1.5-11 2.2-16.4 5.7-29.3z\"/><linearGradient id=\"__DSH_CODE_ICON_INSTANCE__elixir-original-f\" gradientUnits=\"userSpaceOnUse\" x1=\"1102.297\" y1=\"100.542\" x2=\"1008.071\" y2=\"431.648\" gradientTransform=\"matrix(.106 0 0 .2448 -47.595 17.242)\"><stop offset=\"0\" stop-color=\"#715383\" stop-opacity=\".145\"/><stop offset=\"1\" stop-color=\"#f4f4f4\" stop-opacity=\".234\"/></linearGradient><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" fill=\"url(#__DSH_CODE_ICON_INSTANCE__elixir-original-f)\" d=\"M60.4 49.7c.8 7.9 3.9 20.5 0 28.8S38.7 102 43.6 115.3c11.4 24.8 37.1-4.4 36.9-19 1.1-11.8-6.6-38.7-1.8-52.5L76.5 41l-13.6-4c-2.2 3.2-3 7.5-2.5 12.7z\"/><linearGradient id=\"__DSH_CODE_ICON_INSTANCE__elixir-original-g\" gradientUnits=\"userSpaceOnUse\" x1=\"1354.664\" y1=\"140.06\" x2=\"1059.233\" y2=\"84.466\" gradientTransform=\"matrix(.09173 0 0 .2828 -48.536 17.28)\"><stop offset=\"0\" stop-color=\"#a5a1a8\" stop-opacity=\".356\"/><stop offset=\"1\" stop-color=\"#370c50\" stop-opacity=\".582\"/></linearGradient><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" fill=\"url(#__DSH_CODE_ICON_INSTANCE__elixir-original-g)\" d=\"M65.3 10.8C36 27.4 48 53.4 49.3 81.6l19.1-55.4c-1.4-5.7-2.3-9.5-3.1-15.4z\"/><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" fill=\"#330A4C\" fill-opacity=\".316\" d=\"M68.3 26.1c-14.8 11.7-14.1 31.3-18.6 54 8.1-21.3 4.1-38.2 18.6-54z\"/><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" fill=\"#FFF\" d=\"M45.8 119.7c8 1.1 12.1 2.2 12.5 3 .3 4.2-11.1 1.2-12.5-3z\"/><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" fill=\"#EDEDED\" fill-opacity=\".603\" d=\"M49.8 10.8c-6.9 7.7-14.4 21.8-18.2 29.7-1 6.5-.5 15.7.6 23.5.9-18.2 7.5-39.2 17.6-53.2z\"/></svg>",
|
|
2746
|
+
"env": "<rect x=\"1\" y=\"1\" width=\"18\" height=\"18\" rx=\"4\" fill=\"#ECD53F\"/><text x=\"10\" y=\"12.9\" text-anchor=\"middle\" font-family=\"Arial,sans-serif\" font-size=\"5.7\" font-weight=\"900\" fill=\"#24292F\">.ENV</text>",
|
|
2747
|
+
"erlang": "<rect x=\"1\" y=\"1\" width=\"18\" height=\"18\" rx=\"4\" fill=\"#FAEDF1\" stroke=\"#EED6DE\" stroke-width=\".5\"/><svg x=\"2.75\" y=\"2.75\" width=\"14.5\" height=\"14.5\" viewBox=\"0 0 128 128\" preserveAspectRatio=\"xMidYMid meet\"><path d=\"M20.7 103.9C11 93.5 5.2 79.2 5.3 62.1 5.2 47 10 34 18.2 24.1H1v79.7l19.7.1zm90.4 0c4.2-4.5 8-9.8 11.4-15.9l-19-9.5c-6.7 10.8-16.4 20.8-29.9 20.9-19.6-.1-27.3-16.9-27.3-38.5h73.3c.1-2.4.1-3.6 0-4.7.5-12.9-2.9-23.7-9.1-32.1H127v79.7l-15.9.1zM47.5 42.4c.8-9.8 8.5-16.3 17.6-16.4 9.1 0 15.7 6.6 15.9 16.4H47.5z\" fill=\"#A90533\"/></svg>",
|
|
2748
|
+
"flutter": "<rect x=\"1\" y=\"1\" width=\"18\" height=\"18\" rx=\"4\" fill=\"#EEF7FD\" stroke=\"#D7EAF6\" stroke-width=\".5\"/><svg x=\"2.75\" y=\"2.75\" width=\"14.5\" height=\"14.5\" viewBox=\"0 0 128 128\" preserveAspectRatio=\"xMidYMid meet\"><g fill=\"#3FB6D3\"><path d=\"M12.3 64.2L76.3 0h39.4L32.1 83.6zM76.3 128h39.4L81.6 93.9l34.1-34.8H76.3L42.2 93.5z\"/></g><path fill=\"#27AACD\" d=\"M81.6 93.9l-20-20-19.4 19.6 19.4 19.6z\"/><path fill=\"#19599A\" d=\"M115.7 128L81.6 93.9l-20 19.2L76.3 128z\"/><linearGradient id=\"__DSH_CODE_ICON_INSTANCE__flutter-original-a\" gradientUnits=\"userSpaceOnUse\" x1=\"59.365\" y1=\"116.36\" x2=\"86.825\" y2=\"99.399\"><stop offset=\"0\" stop-color=\"#1b4e94\"/><stop offset=\".63\" stop-color=\"#1a5497\"/><stop offset=\"1\" stop-color=\"#195a9b\"/></linearGradient><path fill=\"url(#__DSH_CODE_ICON_INSTANCE__flutter-original-a)\" d=\"M61.6 113.1l30.8-8.4-10.8-10.8z\"/></svg>",
|
|
2749
|
+
"git": "<rect x=\"1\" y=\"1\" width=\"18\" height=\"18\" rx=\"4\" fill=\"#FFF0EC\" stroke=\"#DDE2E8\" stroke-width=\".5\"/><g transform=\"translate(3 3) scale(.5833333333)\"><path fill=\"#F05032\" d=\"M13.09 23.549a1.54 1.54 0 0 1-2.18 0L.451 13.089a1.54 1.54 0 0 1 0-2.179l7.191-7.19 2.733 2.733a1.85 1.85 0 0 0 .964 2.326v6.66a1.849 1.849 0 1 0 1.54 0V8.957l2.508 2.508a1.85 1.85 0 1 0 1.09-1.09l-2.634-2.634a1.85 1.85 0 0 0-2.378-2.377L8.73 2.63 10.91.451a1.54 1.54 0 0 1 2.179 0l10.459 10.46a1.54 1.54 0 0 1 0 2.179z\"/></g>",
|
|
2750
|
+
"go": "<rect x=\"1\" y=\"1\" width=\"18\" height=\"18\" rx=\"4\" fill=\"#E7F9FC\" stroke=\"#DDE2E8\" stroke-width=\".5\"/><g transform=\"translate(3 3) scale(.5833333333)\"><path fill=\"#00ADD8\" d=\"M1.811 10.231c-.047 0-.058-.023-.035-.059l.246-.315c.023-.035.081-.058.128-.058h4.172c.046 0 .058.035.035.07l-.199.303c-.023.036-.082.07-.117.07zM.047 11.306c-.047 0-.059-.023-.035-.058l.245-.316c.023-.035.082-.058.129-.058h5.328c.047 0 .07.035.058.07l-.093.28c-.012.047-.058.07-.105.07zm2.828 1.075c-.047 0-.059-.035-.035-.07l.163-.292c.023-.035.07-.07.117-.07h2.337c.047 0 .07.035.07.082l-.023.28c0 .047-.047.082-.082.082zm12.129-2.36c-.736.187-1.239.327-1.963.514-.176.046-.187.058-.34-.117-.174-.199-.303-.327-.548-.444-.737-.362-1.45-.257-2.115.175-.795.514-1.204 1.274-1.192 2.22.011.935.654 1.706 1.577 1.835.795.105 1.46-.175 1.987-.77.105-.13.198-.27.315-.434H10.47c-.245 0-.304-.152-.222-.35.152-.362.432-.97.596-1.274a.315.315 0 01.292-.187h4.253c-.023.316-.023.631-.07.947a4.983 4.983 0 01-.958 2.29c-.841 1.11-1.94 1.8-3.33 1.986-1.145.152-2.209-.07-3.143-.77-.865-.655-1.356-1.52-1.484-2.595-.152-1.274.222-2.419.993-3.424.83-1.086 1.928-1.776 3.272-2.02 1.098-.2 2.15-.07 3.096.571.62.41 1.063.97 1.356 1.648.07.105.023.164-.117.2m3.868 6.461c-1.064-.024-2.034-.328-2.852-1.029a3.665 3.665 0 01-1.262-2.255c-.21-1.32.152-2.489.947-3.529.853-1.122 1.881-1.706 3.272-1.95 1.192-.21 2.314-.095 3.33.595.923.63 1.496 1.484 1.648 2.605.198 1.578-.257 2.863-1.344 3.962-.771.783-1.718 1.273-2.805 1.495-.315.06-.63.07-.934.106zm2.78-4.72c-.011-.153-.011-.27-.034-.387-.21-1.157-1.274-1.81-2.384-1.554-1.087.245-1.788.935-2.045 2.033-.21.912.234 1.835 1.075 2.21.643.28 1.285.244 1.905-.07.923-.48 1.425-1.228 1.484-2.233z\"/></g>",
|
|
2751
|
+
"graphql": "<rect x=\"1\" y=\"1\" width=\"18\" height=\"18\" rx=\"4\" fill=\"#FCEAF6\" stroke=\"#DDE2E8\" stroke-width=\".5\"/><g transform=\"translate(3 3) scale(.5833333333)\"><path fill=\"#E10098\" d=\"M12.002 0a2.138 2.138 0 1 0 0 4.277 2.138 2.138 0 1 0 0-4.277zm8.54 4.931a2.138 2.138 0 1 0 0 4.277 2.138 2.138 0 1 0 0-4.277zm0 9.862a2.138 2.138 0 1 0 0 4.277 2.138 2.138 0 1 0 0-4.277zm-8.54 4.931a2.138 2.138 0 1 0 0 4.276 2.138 2.138 0 1 0 0-4.276zm-8.542-4.93a2.138 2.138 0 1 0 0 4.276 2.138 2.138 0 1 0 0-4.277zm0-9.863a2.138 2.138 0 1 0 0 4.277 2.138 2.138 0 1 0 0-4.277zm8.542-3.378L2.953 6.777v10.448l9.049 5.224 9.047-5.224V6.777zm0 1.601 7.66 13.27H4.34zm-1.387.371L3.97 15.037V7.363zm2.774 0 6.646 3.838v7.674zM5.355 17.44h13.293l-6.646 3.836z\"/></g>",
|
|
2752
|
+
"haskell": "<rect x=\"1\" y=\"1\" width=\"18\" height=\"18\" rx=\"4\" fill=\"#F3F0F7\" stroke=\"#E1D9EA\" stroke-width=\".5\"/><svg x=\"2.75\" y=\"2.75\" width=\"14.5\" height=\"14.5\" viewBox=\"0 0 128 128\" preserveAspectRatio=\"xMidYMid meet\"><path fill=\"#463B63\" d=\"M0 110.2L30.1 65 0 19.9h22.6L52.7 65l-30.1 45.1H0z\"/><path fill=\"#5E5187\" d=\"M30.1 110.2L60.2 65 30.1 19.9h22.6l60.2 90.3H90.4L71.5 81.9l-18.8 28.2H30.1z\"/><path fill=\"#904F8C\" d=\"M102.9 83.8l-10-15.1H128v15.1h-25.1zM87.8 61.3l-10-15.1H128v15.1H87.8z\"/></svg>",
|
|
2753
|
+
"ini": "<rect x=\"1\" y=\"1\" width=\"18\" height=\"18\" rx=\"4\" fill=\"#6E7781\"/><text x=\"10\" y=\"13.2\" text-anchor=\"middle\" font-family=\"Arial,sans-serif\" font-size=\"7.2\" font-weight=\"800\" fill=\"#fff\">INI</text>",
|
|
2754
|
+
"java": "<rect x=\"1\" y=\"1\" width=\"18\" height=\"18\" rx=\"4\" fill=\"#F4F7FA\" stroke=\"#D9E2E8\" stroke-width=\".5\"/><svg x=\"2.5\" y=\"2.5\" width=\"15\" height=\"15\" viewBox=\"0 0 128 128\" preserveAspectRatio=\"xMidYMid meet\"><path fill=\"#0074BD\" d=\"M47.617 98.12s-4.767 2.774 3.397 3.71c9.892 1.13 14.947.968 25.845-1.092 0 0 2.871 1.795 6.873 3.351-24.439 10.47-55.308-.607-36.115-5.969zm-2.988-13.665s-5.348 3.959 2.823 4.805c10.567 1.091 18.91 1.18 33.354-1.6 0 0 1.993 2.025 5.132 3.131-29.542 8.64-62.446.68-41.309-6.336z\"/><path fill=\"#EA2D2E\" d=\"M69.802 61.271c6.025 6.935-1.58 13.17-1.58 13.17s15.289-7.891 8.269-17.777c-6.559-9.215-11.587-13.792 15.635-29.58 0 .001-42.731 10.67-22.324 34.187z\"/><path fill=\"#0074BD\" d=\"M102.123 108.229s3.529 2.91-3.888 5.159c-14.102 4.272-58.706 5.56-71.094.171-4.451-1.938 3.899-4.625 6.526-5.192 2.739-.593 4.303-.485 4.303-.485-4.953-3.487-32.013 6.85-13.743 9.815 49.821 8.076 90.817-3.637 77.896-9.468zM49.912 70.294s-22.686 5.389-8.033 7.348c6.188.828 18.518.638 30.011-.326 9.39-.789 18.813-2.474 18.813-2.474s-3.308 1.419-5.704 3.053c-23.042 6.061-67.544 3.238-54.731-2.958 10.832-5.239 19.644-4.643 19.644-4.643zm40.697 22.747c23.421-12.167 12.591-23.86 5.032-22.285-1.848.385-2.677.72-2.677.72s.688-1.079 2-1.543c14.953-5.255 26.451 15.503-4.823 23.725 0-.002.359-.327.468-.617z\"/><path fill=\"#EA2D2E\" d=\"M76.491 1.587S89.459 14.563 64.188 34.51c-20.266 16.006-4.621 25.13-.007 35.559-11.831-10.673-20.509-20.07-14.688-28.815C58.041 28.42 81.722 22.195 76.491 1.587z\"/><path fill=\"#0074BD\" d=\"M52.214 126.021c22.476 1.437 57-.8 57.817-11.436 0 0-1.571 4.032-18.577 7.231-19.186 3.612-42.854 3.191-56.887.874 0 .001 2.875 2.381 17.647 3.331z\"/></svg>",
|
|
2755
|
+
"javascript": "<defs><clipPath id=\"__DSH_CODE_ICON_INSTANCE__a\"><rect x=\"1\" y=\"1\" width=\"18\" height=\"18\" rx=\"4\"/></clipPath></defs><g clip-path=\"url(#__DSH_CODE_ICON_INSTANCE__a)\"><svg x=\"1\" y=\"1\" width=\"18\" height=\"18\" viewBox=\"0 0 128 128\" preserveAspectRatio=\"xMidYMid meet\"><path fill=\"#F0DB4F\" d=\"M1.408 1.408h125.184v125.185H1.408z\"/><path fill=\"#323330\" d=\"M116.347 96.736c-.917-5.711-4.641-10.508-15.672-14.981-3.832-1.761-8.104-3.022-9.377-5.926-.452-1.69-.512-2.642-.226-3.665.821-3.32 4.784-4.355 7.925-3.403 2.023.678 3.938 2.237 5.093 4.724 5.402-3.498 5.391-3.475 9.163-5.879-1.381-2.141-2.118-3.129-3.022-4.045-3.249-3.629-7.676-5.498-14.756-5.355l-3.688.477c-3.534.893-6.902 2.748-8.877 5.235-5.926 6.724-4.236 18.492 2.975 23.335 7.104 5.332 17.54 6.545 18.873 11.531 1.297 6.104-4.486 8.08-10.234 7.378-4.236-.881-6.592-3.034-9.139-6.949-4.688 2.713-4.688 2.713-9.508 5.485 1.143 2.499 2.344 3.63 4.26 5.795 9.068 9.198 31.76 8.746 35.83-5.176.165-.478 1.261-3.666.38-8.581zM69.462 58.943H57.753l-.048 30.272c0 6.438.333 12.34-.714 14.149-1.713 3.558-6.152 3.117-8.175 2.427-2.059-1.012-3.106-2.451-4.319-4.485-.333-.584-.583-1.036-.667-1.071l-9.52 5.83c1.583 3.249 3.915 6.069 6.902 7.901 4.462 2.678 10.459 3.499 16.731 2.059 4.082-1.189 7.604-3.652 9.448-7.401 2.666-4.915 2.094-10.864 2.07-17.444.06-10.735.001-21.468.001-32.237z\"/></svg></g>",
|
|
2756
|
+
"json": "<rect x=\"1\" y=\"1\" width=\"18\" height=\"18\" rx=\"4\" fill=\"#F4F4F4\" stroke=\"#DDDDDD\" stroke-width=\".5\"/><svg x=\"2.75\" y=\"2.75\" width=\"14.5\" height=\"14.5\" viewBox=\"0 0 128 128\" preserveAspectRatio=\"xMidYMid meet\"><linearGradient id=\"__DSH_CODE_ICON_INSTANCE__a\" x1=\"-670.564\" x2=\"-583.105\" y1=\"-280.831\" y2=\"-368.306\" gradientTransform=\"matrix(.9988 0 0 -.9987 689.011 -259.008)\" gradientUnits=\"userSpaceOnUse\"><stop offset=\"0\"/><stop offset=\"1\" stop-color=\"#fff\"/></linearGradient><path fill=\"url(#__DSH_CODE_ICON_INSTANCE__a)\" fill-rule=\"evenodd\" d=\"M63.895 94.303c27.433 37.398 54.281-10.438 54.241-39.205-.046-34.012-34.518-53.021-54.263-53.021C32.182 2.077 2 28.269 2 64.105 2 103.937 36.596 126 63.873 126c-6.172-.889-26.742-5.296-27.019-52.674-.186-32.044 10.453-44.846 26.974-39.214.37.137 18.223 7.18 18.223 30.187 0 22.908-18.156 30.004-18.156 30.004z\" clip-rule=\"evenodd\"/><linearGradient id=\"__DSH_CODE_ICON_INSTANCE__b\" x1=\"-579.148\" x2=\"-666.607\" y1=\"-364.34\" y2=\"-276.873\" gradientTransform=\"matrix(.9988 0 0 -.9987 689.011 -259.008)\" gradientUnits=\"userSpaceOnUse\"><stop offset=\"0\"/><stop offset=\"1\" stop-color=\"#fff\"/></linearGradient><path fill=\"url(#__DSH_CODE_ICON_INSTANCE__b)\" fill-rule=\"evenodd\" d=\"M63.863 34.086C45.736 27.838 23.53 42.778 23.53 72.703 23.53 121.565 59.739 126 64.128 126 95.818 126 126 99.808 126 63.972 126 24.14 91.404 2.077 64.127 2.077c7.555-1.046 40.719 8.176 40.719 53.504 0 29.559-24.764 45.651-40.87 38.776-.37-.137-18.223-7.18-18.223-30.187 0-22.91 18.11-30.085 18.11-30.084z\" clip-rule=\"evenodd\"/></svg>",
|
|
2757
|
+
"kotlin": "<defs><linearGradient id=\"__DSH_CODE_ICON_INSTANCE__k\" x1=\"1\" y1=\"19\" x2=\"19\" y2=\"1\"><stop stop-color=\"#0095D5\"/><stop offset=\".5\" stop-color=\"#7F52FF\"/><stop offset=\"1\" stop-color=\"#F88909\"/></linearGradient></defs><rect x=\"1\" y=\"1\" width=\"18\" height=\"18\" rx=\"4\" fill=\"url(#__DSH_CODE_ICON_INSTANCE__k)\"/><g transform=\"translate(3 3) scale(.5833333333)\"><path fill=\"#FFFFFF\" d=\"M24 24H0V0h24L12 12Z\"/></g>",
|
|
2758
|
+
"lua": "<rect x=\"1\" y=\"1\" width=\"18\" height=\"18\" rx=\"4\" fill=\"#ECECF7\" stroke=\"#DDE2E8\" stroke-width=\".5\"/><g transform=\"translate(3 3) scale(.5833333333)\"><path fill=\"#000080\" d=\"M.38 10.377l-.272-.037c-.048.344-.082.695-.101 1.041l.275.016c.018-.34.051-.682.098-1.02zM4.136 3.289l-.184-.205c-.258.232-.509.48-.746.734l.202.188c.231-.248.476-.49.728-.717zM5.769 2.059l-.146-.235c-.296.186-.586.385-.863.594l.166.219c.27-.203.554-.399.843-.578zM1.824 18.369c.185.297.384.586.593.863l.22-.164c-.205-.271-.399-.555-.58-.844l-.233.145zM1.127 16.402l-.255.104c.129.318.274.635.431.943l.005.01.245-.125-.005-.01c-.153-.301-.295-.611-.421-.922zM.298 9.309l.269.063c.076-.332.168-.664.272-.986l-.261-.087c-.108.332-.202.672-.28 1.01zM.274 12.42l-.275.01c.012.348.04.699.083 1.043l.273-.033c-.042-.336-.069-.68-.081-1.02zM.256 14.506c.073.34.162.682.264 1.014l.263-.08c-.1-.326-.187-.658-.258-.99l-.269.056zM11.573.275L11.563 0c-.348.012-.699.039-1.044.082l.034.273c.338-.041.68-.068 1.02-.08zM23.221 8.566c.1.326.186.66.256.992l.27-.059c-.072-.34-.16-.682-.262-1.014l-.264.081zM17.621 1.389c-.309-.164-.627-.314-.947-.449l-.107.252c.314.133.625.281.926.439l.128-.242zM15.693.572c-.332-.105-.67-.199-1.01-.277l-.063.268c.332.076.664.168.988.273l.085-.264zM6.674 1.545c.298-.15.606-.291.916-.418L7.486.873c-.317.127-.632.272-.937.428l-.015.008.125.244.015-.008zM23.727 11.588l.275-.01a11.797 11.797 0 0 0-.082-1.045l-.273.033c.041.338.068.682.08 1.022zM13.654.105c-.346-.047-.696-.08-1.043-.098l-.014.273c.339.018.683.051 1.019.098l.038-.273zM9.544.527l-.058-.27c-.34.072-.681.16-1.014.264l.081.262c.325-.099.659-.185.991-.256zM1.921 5.469l.231.15c.185-.285.384-.566.592-.834l-.217-.17c-.213.276-.417.563-.606.854zM.943 7.318l.253.107c.132-.313.28-.625.439-.924l-.243-.128c-.163.307-.314.625-.449.945zM18.223 21.943l.145.234c.295-.186.586-.385.863-.594l-.164-.219c-.272.204-.557.4-.844.579zM21.248 19.219l.217.17c.215-.273.418-.561.607-.854l-.23-.148c-.186.285-.385.564-.594.832zM19.855 20.715l.184.203c.258-.23.51-.479.746-.732l-.201-.188c-.23.248-.477.488-.729.717zM22.359 17.504l.244.129c.162-.307.314-.625.449-.945l-.254-.107a11.27 11.27 0 0 1-.439.923zM23.617 13.629l.273.039c.049-.346.082-.695.102-1.043l-.275-.014c-.018.338-.051.682-.1 1.018zM23.156 15.621l.264.086c.107-.332.201-.67.279-1.01l-.268-.063c-.077.333-.169.665-.275.987zM22.453 6.672c.154.303.297.617.424.932l.256-.104c-.131-.322-.277-.643-.436-.953l-.244.125zM8.296 23.418c.331.107.67.201 1.009.279l.062-.268c-.331-.076-.663-.168-.986-.273l-.085.262zM10.335 23.889c.345.049.696.082 1.043.102l.014-.275c-.339-.018-.682-.051-1.019-.098l-.038.271zM17.326 22.449c-.303.154-.613.297-.926.424l.104.256c.318-.131.639-.275.947-.434l.004-.002-.123-.246-.006.002zM4.613 21.467c.274.213.562.418.854.605l.149-.23c-.285-.184-.565-.385-.833-.592l-.17.217zM12.417 23.725l.009.275c.348-.014.699-.041 1.045-.084l-.035-.271c-.336.041-.68.068-1.019.08zM6.37 22.604c.307.162.625.314.946.449l.107-.254c-.313-.133-.624-.279-.924-.439l-.129.244zM3.083 20.041c.233.258.48.51.734.746l.188-.201c-.249-.23-.49-.477-.717-.729l-.205.184zM14.445 23.475l.059.27c.34-.074.68-.162 1.014-.266l-.082-.262c-.325.099-.659.185-.991.258zM21.18.129A2.689 2.689 0 1 0 21.18 5.507 2.689 2.689 0 1 0 21.18.129zM15.324 15.447c0 .471.314.66.852.66.67 0 1.297-.396 1.297-1.016v-.645c-.23.107-.379.141-1.107.24-.735.109-1.042.306-1.042.761zM12 2.818c-5.07 0-9.18 4.109-9.18 9.18 0 5.068 4.11 9.18 9.18 9.18 5.07 0 9.18-4.111 9.18-9.18 0-5.07-4.11-9.18-9.18-9.18zm-2.487 13.77H5.771v-6.023h.769v5.346h2.974v.677zm4.13 0h-.619v-.67c-.405.57-.811.793-1.446.793-.843 0-1.38-.463-1.38-1.182v-3.271h.686v3c0 .52.347.85.893.85.719 0 1.181-.578 1.181-1.461v-2.389h.686v4.33zm-.53-8.393c0-1.484 1.205-2.689 2.689-2.689s2.688 1.205 2.688 2.689-1.203 2.688-2.688 2.688-2.689-1.203-2.689-2.688zm5.567 7.856v.52c-.223.059-.33.074-.471.074-.34 0-.637-.238-.711-.57-.381.406-.918.637-1.471.637-.877 0-1.422-.463-1.422-1.248 0-.527.256-.916.76-1.123.266-.107.414-.141 1.389-.264.545-.066.719-.191.719-.48v-.182c0-.412-.348-.645-.967-.645-.645 0-.957.24-1.016.77h-.693c.041-1 .686-1.404 1.734-1.404 1.066 0 1.627.412 1.627 1.182v2.412c0 .215.133.338.373.338.041-.002.074-.002.149-.017z\"/></g>",
|
|
2759
|
+
"makefile": "<rect x=\"1\" y=\"1\" width=\"18\" height=\"18\" rx=\"4\" fill=\"#427819\"/><path fill=\"#fff\" d=\"m5 4.5 2.3 2.3 2.3-2.3L11 5.9 8.7 8.2l2.4 2.4L9.7 12l-2.4-2.4L5 11.9 3.6 10.5l2.3-2.3-2.3-2.3zm7 6.5h4v1.5h-4zm0 2.8h4v1.5h-4z\"/>",
|
|
2760
|
+
"node": "<rect x=\"1\" y=\"1\" width=\"18\" height=\"18\" rx=\"4\" fill=\"#EDF7EA\" stroke=\"#DDE2E8\" stroke-width=\".5\"/><g transform=\"translate(3 3) scale(.5833333333)\"><path fill=\"#539E43\" d=\"M11.998,24c-0.321,0-0.641-0.084-0.922-0.247l-2.936-1.737c-0.438-0.245-0.224-0.332-0.08-0.383 c0.585-0.203,0.703-0.25,1.328-0.604c0.065-0.037,0.151-0.023,0.218,0.017l2.256,1.339c0.082,0.045,0.197,0.045,0.272,0l8.795-5.076 c0.082-0.047,0.134-0.141,0.134-0.238V6.921c0-0.099-0.053-0.192-0.137-0.242l-8.791-5.072c-0.081-0.047-0.189-0.047-0.271,0 L3.075,6.68C2.99,6.729,2.936,6.825,2.936,6.921v10.15c0,0.097,0.054,0.189,0.139,0.235l2.409,1.392 c1.307,0.654,2.108-0.116,2.108-0.89V7.787c0-0.142,0.114-0.253,0.256-0.253h1.115c0.139,0,0.255,0.112,0.255,0.253v10.021 c0,1.745-0.95,2.745-2.604,2.745c-0.508,0-0.909,0-2.026-0.551L2.28,18.675c-0.57-0.329-0.922-0.945-0.922-1.604V6.921 c0-0.659,0.353-1.275,0.922-1.603l8.795-5.082c0.557-0.315,1.296-0.315,1.848,0l8.794,5.082c0.57,0.329,0.924,0.944,0.924,1.603 v10.15c0,0.659-0.354,1.273-0.924,1.604l-8.794,5.078C12.643,23.916,12.324,24,11.998,24z M19.099,13.993 c0-1.9-1.284-2.406-3.987-2.763c-2.731-0.361-3.009-0.548-3.009-1.187c0-0.528,0.235-1.233,2.258-1.233 c1.807,0,2.473,0.389,2.747,1.607c0.024,0.115,0.129,0.199,0.247,0.199h1.141c0.071,0,0.138-0.031,0.186-0.081 c0.048-0.054,0.074-0.123,0.067-0.196c-0.177-2.098-1.571-3.076-4.388-3.076c-2.508,0-4.004,1.058-4.004,2.833 c0,1.925,1.488,2.457,3.895,2.695c2.88,0.282,3.103,0.703,3.103,1.269c0,0.983-0.789,1.402-2.642,1.402 c-2.327,0-2.839-0.584-3.011-1.742c-0.02-0.124-0.126-0.215-0.253-0.215h-1.137c-0.141,0-0.254,0.112-0.254,0.253 c0,1.482,0.806,3.248,4.655,3.248C17.501,17.007,19.099,15.91,19.099,13.993z\"/></g>",
|
|
2761
|
+
"objective-c": "<rect x=\"1\" y=\"1\" width=\"18\" height=\"18\" rx=\"4\" fill=\"#438EFF\"/><text x=\"10\" y=\"13.2\" text-anchor=\"middle\" font-family=\"Arial,sans-serif\" font-size=\"7.2\" font-weight=\"800\" fill=\"#fff\">OC</text>",
|
|
2762
|
+
"perl": "<rect x=\"1\" y=\"1\" width=\"18\" height=\"18\" rx=\"4\" fill=\"#EAF2F7\" stroke=\"#DDE2E8\" stroke-width=\".5\"/><g transform=\"translate(3 3) scale(.5833333333)\"><path fill=\"#0073A1\" d=\"M12 0A12 12 0 0 0 0 12a12 12 0 0 0 12 12 12 12 0 0 0 12-12A12 12 0 0 0 12 0m.157 1.103a10.91 10.91 0 0 1 9.214 5.404c-1.962.152-3.156 1.698-5.132 3.553-2.81 2.637-4.562.582-5.288-.898-.447-1.004-.847-2.117-1.544-2.769A.4.4 0 0 1 9.3 6.02l.08-.37a.083.083 0 0 0-.074-.1c-.33-.022-.601.093-.84.368a2.5 2.5 0 0 0-.375-.064c-.863-.093-1.036.345-1.873.345H5.81c-.758 0-1.391.361-1.7.892-.248.424-.257.884.15.93-.126.445.292.62 1.224.192 0 0 .733.421 1.749.421.549 0 .712.087.914.967.486 2.138 2.404 5.655 6.282 5.655l.118.166c.659.934.86 2.113.48 3.184-.307.867-.697 1.531-.697 1.531q.01.178.01.349c0 .81-.175 1.553-.387 2.23a10.91 10.91 0 0 1-11.989-6.342A10.91 10.91 0 0 1 7.608 2.01a10.9 10.9 0 0 1 4.55-.907M7.524 6.47c.288 0 .575.231.477.272a.4.4 0 0 1-.1.02.38.38 0 0 1-.375.327.384.384 0 0 1-.378-.326.4.4 0 0 1-.101-.02c-.098-.042.19-.273.477-.273m10.193 10.49q.05 0 .101.007.326.054.694.096.135.01.269.026a13.4 13.4 0 0 0 2.846-.007 10.9 10.9 0 0 1-2.007 2.705c-.11-.23-.547-1.19-.573-2.196q-.156-.01-.313-.026-.13-.014-.256-.022a18 18 0 0 1-.735-.102h-.003c-.032 0-.06.01-.074.035l-.003.012q-.081.265-.182.544c.428 1.084.652 2.078.652 2.078.14.22.258.432.363.64a11 11 0 0 1-2.168 1.264 11 11 0 0 1-1.205.426 13.3 13.3 0 0 1 1.055-2.531s.678-1.445 1.027-2.564v-.004a.55.55 0 0 1 .512-.38\"/></g>",
|
|
2763
|
+
"php": "<rect x=\"1\" y=\"1\" width=\"18\" height=\"18\" rx=\"4\" fill=\"#F0EFF8\" stroke=\"#DDDCEB\" stroke-width=\".5\"/><g transform=\"translate(3 3) scale(.5833333333)\"><path fill=\"#777BB4\" d=\"M7.01 10.207h-.944l-.515 2.648h.838c.556 0 .97-.105 1.242-.314.272-.21.455-.559.55-1.049.092-.47.05-.802-.124-.995-.175-.193-.523-.29-1.047-.29zM12 5.688C5.373 5.688 0 8.514 0 12s5.373 6.313 12 6.313S24 15.486 24 12c0-3.486-5.373-6.312-12-6.312zm-3.26 7.451c-.261.25-.575.438-.917.551-.336.108-.765.164-1.285.164H5.357l-.327 1.681H3.652l1.23-6.326h2.65c.797 0 1.378.209 1.744.628.366.418.476 1.002.33 1.752a2.836 2.836 0 0 1-.305.847c-.143.255-.33.49-.561.703zm4.024.715l.543-2.799c.063-.318.039-.536-.068-.651-.107-.116-.336-.174-.687-.174H11.46l-.704 3.625H9.388l1.23-6.327h1.367l-.327 1.682h1.218c.767 0 1.295.134 1.586.401s.378.7.263 1.299l-.572 2.944h-1.389zm7.597-2.265a2.782 2.782 0 0 1-.305.847c-.143.255-.33.49-.561.703a2.44 2.44 0 0 1-.917.551c-.336.108-.765.164-1.286.164h-1.18l-.327 1.682h-1.378l1.23-6.326h2.649c.797 0 1.378.209 1.744.628.366.417.477 1.001.331 1.751zM17.766 10.207h-.943l-.516 2.648h.838c.557 0 .971-.105 1.242-.314.272-.21.455-.559.551-1.049.092-.47.049-.802-.125-.995s-.524-.29-1.047-.29z\"/></g>",
|
|
2764
|
+
"powershell": "<rect x=\"1\" y=\"1\" width=\"18\" height=\"18\" rx=\"4\" fill=\"#2671BE\"/><path fill=\"#fff\" fill-opacity=\".16\" d=\"M5.5 4h11l-3.5 12H2z\"/><path d=\"m6.5 6.5 3 3-4.2 3.2m4 1h4\" fill=\"none\" stroke=\"#fff\" stroke-width=\"1.4\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>",
|
|
2765
|
+
"protobuf": "<rect x=\"1\" y=\"1\" width=\"18\" height=\"18\" rx=\"4\" fill=\"#4285F4\"/><path fill=\"none\" stroke=\"#fff\" stroke-width=\"1.2\" stroke-linejoin=\"round\" d=\"m10 3.5 6 3.3v6.4l-6 3.3-6-3.3V6.8z\"/><path fill=\"#fff\" d=\"M6.5 6.5h4.4c2.3 0 3.6 1.2 3.6 3.1s-1.3 3.1-3.6 3.1H9v2H6.5zM9 8.4v2.4h1.6c.8 0 1.2-.4 1.2-1.2s-.4-1.2-1.2-1.2z\"/>",
|
|
2766
|
+
"python": "<rect x=\"1\" y=\"1\" width=\"18\" height=\"18\" rx=\"4\" fill=\"#F2F4F7\" stroke=\"#D5DBE5\" stroke-width=\".5\"/><g transform=\"matrix(.126 0 0 .126 2.30 2.24)\"><path fill=\"#3776AB\" d=\"M 60.510156,6.3979729 C 55.926503,6.4192712 51.549217,6.8101906 47.697656,7.4917229 C 36.35144,9.4962267 34.291407,13.691825 34.291406,21.429223 L 34.291406,31.647973 L 61.103906,31.647973 L 61.103906,35.054223 L 34.291406,35.054223 L 24.228906,35.054223 C 16.436447,35.054223 9.6131468,39.73794 7.4789058,48.647973 C 5.0170858,58.860939 4.9078907,65.233996 7.4789058,75.897973 C 9.3848341,83.835825 13.936449,89.491721 21.728906,89.491723 L 30.947656,89.491723 L 30.947656,77.241723 C 30.947656,68.391821 38.6048,60.585475 47.697656,60.585473 L 74.478906,60.585473 C 81.933857,60.585473 87.885159,54.447309 87.885156,46.960473 L 87.885156,21.429223 C 87.885156,14.162884 81.755176,8.7044455 74.478906,7.4917229 C 69.872919,6.7249976 65.093809,6.3766746 60.510156,6.3979729 z M 46.010156,14.616723 C 48.779703,14.616723 51.041406,16.915369 51.041406,19.741723 C 51.041404,22.558059 48.779703,24.835473 46.010156,24.835473 C 43.23068,24.835472 40.978906,22.558058 40.978906,19.741723 C 40.978905,16.91537 43.23068,14.616723 46.010156,14.616723 z \"/><path fill=\"#FFD43B\" d=\"M 91.228906,35.054223 L 91.228906,46.960473 C 91.228906,56.191228 83.403011,63.960472 74.478906,63.960473 L 47.697656,63.960473 C 40.361823,63.960473 34.291407,70.238956 34.291406,77.585473 L 34.291406,103.11672 C 34.291406,110.38306 40.609994,114.65704 47.697656,116.74172 C 56.184987,119.23733 64.323893,119.68835 74.478906,116.74172 C 81.229061,114.78733 87.885159,110.85411 87.885156,103.11672 L 87.885156,92.897973 L 61.103906,92.897973 L 61.103906,89.491723 L 87.885156,89.491723 L 101.29141,89.491723 C 109.08387,89.491723 111.98766,84.056315 114.69765,75.897973 C 117.49698,67.499087 117.37787,59.422197 114.69765,48.647973 C 112.77187,40.890532 109.09378,35.054223 101.29141,35.054223 L 91.228906,35.054223 z M 76.166406,99.710473 C 78.945884,99.710476 81.197656,101.98789 81.197656,104.80422 C 81.197654,107.63057 78.945881,109.92922 76.166406,109.92922 C 73.396856,109.92922 71.135156,107.63057 71.135156,104.80422 C 71.135158,101.98789 73.396853,99.710473 76.166406,99.710473 z \"/></g>",
|
|
2767
|
+
"r": "<rect x=\"1\" y=\"1\" width=\"18\" height=\"18\" rx=\"4\" fill=\"#EEF2F6\" stroke=\"#DDE2E8\" stroke-width=\".5\"/><g transform=\"translate(3 3) scale(.5833333333)\"><path fill=\"#276DC3\" d=\"M12 2.746c-6.627 0-12 3.599-12 8.037 0 3.897 4.144 7.144 9.64 7.88V16.26c-2.924-.915-4.925-2.755-4.925-4.877 0-3.035 4.084-5.494 9.12-5.494 5.038 0 8.757 1.683 8.757 5.494 0 1.976-.999 3.379-2.662 4.272.09.066.174.128.258.216.169.149.25.363.372.544 2.128-1.45 3.44-3.437 3.44-5.631 0-4.44-5.373-8.038-12-8.038zm-2.111 4.99v13.516l4.093-.002-.002-5.291h1.1c.225 0 .321.066.549.25.272.22.715.982.715.982l2.164 4.063 4.627-.002-2.864-4.826s-.086-.193-.265-.383a2.22 2.22 0 00-.582-.416c-.422-.214-1.149-.434-1.149-.434s3.578-.264 3.578-3.826c0-3.562-3.744-3.63-3.744-3.63zm4.127 2.93l2.478.002s1.149-.062 1.149 1.127c0 1.165-1.149 1.17-1.149 1.17h-2.478zm1.754 6.119c-.494.049-1.012.079-1.54.088v1.807a16.622 16.622 0 002.37-.473l-.471-.891s-.108-.183-.248-.394c-.039-.054-.08-.098-.111-.137z\"/></g>",
|
|
2768
|
+
"react": "<rect x=\"1\" y=\"1\" width=\"18\" height=\"18\" rx=\"4\" fill=\"#20232A\"/><g transform=\"translate(3 3) scale(.5833333333)\"><path fill=\"#61DAFB\" d=\"M14.23 12.004a2.236 2.236 0 0 1-2.235 2.236 2.236 2.236 0 0 1-2.236-2.236 2.236 2.236 0 0 1 2.235-2.236 2.236 2.236 0 0 1 2.236 2.236zm2.648-10.69c-1.346 0-3.107.96-4.888 2.622-1.78-1.653-3.542-2.602-4.887-2.602-.41 0-.783.093-1.106.278-1.375.793-1.683 3.264-.973 6.365C1.98 8.917 0 10.42 0 12.004c0 1.59 1.99 3.097 5.043 4.03-.704 3.113-.39 5.588.988 6.38.32.187.69.275 1.102.275 1.345 0 3.107-.96 4.888-2.624 1.78 1.654 3.542 2.603 4.887 2.603.41 0 .783-.09 1.106-.275 1.374-.792 1.683-3.263.973-6.365C22.02 15.096 24 13.59 24 12.004c0-1.59-1.99-3.097-5.043-4.032.704-3.11.39-5.587-.988-6.38-.318-.184-.688-.277-1.092-.278zm-.005 1.09v.006c.225 0 .406.044.558.127.666.382.955 1.835.73 3.704-.054.46-.142.945-.25 1.44-.96-.236-2.006-.417-3.107-.534-.66-.905-1.345-1.727-2.035-2.447 1.592-1.48 3.087-2.292 4.105-2.295zm-9.77.02c1.012 0 2.514.808 4.11 2.28-.686.72-1.37 1.537-2.02 2.442-1.107.117-2.154.298-3.113.538-.112-.49-.195-.964-.254-1.42-.23-1.868.054-3.32.714-3.707.19-.09.4-.127.563-.132zm4.882 3.05c.455.468.91.992 1.36 1.564-.44-.02-.89-.034-1.345-.034-.46 0-.915.01-1.36.034.44-.572.895-1.096 1.345-1.565zM12 8.1c.74 0 1.477.034 2.202.093.406.582.802 1.203 1.183 1.86.372.64.71 1.29 1.018 1.946-.308.655-.646 1.31-1.013 1.95-.38.66-.773 1.288-1.18 1.87-.728.063-1.466.098-2.21.098-.74 0-1.477-.035-2.202-.093-.406-.582-.802-1.204-1.183-1.86-.372-.64-.71-1.29-1.018-1.946.303-.657.646-1.313 1.013-1.954.38-.66.773-1.286 1.18-1.868.728-.064 1.466-.098 2.21-.098zm-3.635.254c-.24.377-.48.763-.704 1.16-.225.39-.435.782-.635 1.174-.265-.656-.49-1.31-.676-1.947.64-.15 1.315-.283 2.015-.386zm7.26 0c.695.103 1.365.23 2.006.387-.18.632-.405 1.282-.66 1.933-.2-.39-.41-.783-.64-1.174-.225-.392-.465-.774-.705-1.146zm3.063.675c.484.15.944.317 1.375.498 1.732.74 2.852 1.708 2.852 2.476-.005.768-1.125 1.74-2.857 2.475-.42.18-.88.342-1.355.493-.28-.958-.646-1.956-1.1-2.98.45-1.017.81-2.01 1.085-2.964zm-13.395.004c.278.96.645 1.957 1.1 2.98-.45 1.017-.812 2.01-1.086 2.964-.484-.15-.944-.318-1.37-.5-1.732-.737-2.852-1.706-2.852-2.474 0-.768 1.12-1.742 2.852-2.476.42-.18.88-.342 1.356-.494zm11.678 4.28c.265.657.49 1.312.676 1.948-.64.157-1.316.29-2.016.39.24-.375.48-.762.705-1.158.225-.39.435-.788.636-1.18zm-9.945.02c.2.392.41.783.64 1.175.23.39.465.772.705 1.143-.695-.102-1.365-.23-2.006-.386.18-.63.406-1.282.66-1.933zM17.92 16.32c.112.493.2.968.254 1.423.23 1.868-.054 3.32-.714 3.708-.147.09-.338.128-.563.128-1.012 0-2.514-.807-4.11-2.28.686-.72 1.37-1.536 2.02-2.44 1.107-.118 2.154-.3 3.113-.54zm-11.83.01c.96.234 2.006.415 3.107.532.66.905 1.345 1.727 2.035 2.446-1.595 1.483-3.092 2.295-4.11 2.295-.22-.005-.406-.05-.553-.132-.666-.38-.955-1.834-.73-3.703.054-.46.142-.944.25-1.438zm4.56.64c.44.02.89.034 1.345.034.46 0 .915-.01 1.36-.034-.44.572-.895 1.095-1.345 1.565-.455-.47-.91-.993-1.36-1.565z\"/></g>",
|
|
2769
|
+
"ruby": "<rect x=\"1\" y=\"1\" width=\"18\" height=\"18\" rx=\"4\" fill=\"#FCEDEC\" stroke=\"#DDE2E8\" stroke-width=\".5\"/><g transform=\"translate(3 3) scale(.5833333333)\"><path fill=\"#CC342D\" d=\"M20.156.083c3.033.525 3.893 2.598 3.829 4.77L24 4.822 22.635 22.71 4.89 23.926h.016C3.433 23.864.15 23.729 0 19.139l1.645-3 2.819 6.586.503 1.172 2.805-9.144-.03.007.016-.03 9.255 2.956-1.396-5.431-.99-3.9 8.82-.569-.615-.51L16.5 2.114 20.159.073l-.003.01zM0 19.089zM5.13 5.073c3.561-3.533 8.157-5.621 9.922-3.84 1.762 1.777-.105 6.105-3.673 9.636-3.563 3.532-8.103 5.734-9.864 3.957-1.766-1.777.045-6.217 3.612-9.75l.003-.003z\"/></g>",
|
|
2770
|
+
"rust": "<rect x=\"1\" y=\"1\" width=\"18\" height=\"18\" rx=\"4\" fill=\"#F3E6DD\" stroke=\"#DDE2E8\" stroke-width=\".5\"/><g transform=\"translate(3 3) scale(.5833333333)\"><path fill=\"#2B2B2B\" d=\"M23.8346 11.7033l-1.0073-.6236a13.7268 13.7268 0 00-.0283-.2936l.8656-.8069a.3483.3483 0 00-.1154-.578l-1.1066-.414a8.4958 8.4958 0 00-.087-.2856l.6904-.9587a.3462.3462 0 00-.2257-.5446l-1.1663-.1894a9.3574 9.3574 0 00-.1407-.2622l.49-1.0761a.3437.3437 0 00-.0274-.3361.3486.3486 0 00-.3006-.154l-1.1845.0416a6.7444 6.7444 0 00-.1873-.2268l.2723-1.153a.3472.3472 0 00-.417-.4172l-1.1532.2724a14.0183 14.0183 0 00-.2278-.1873l.0415-1.1845a.3442.3442 0 00-.49-.328l-1.076.491c-.0872-.0476-.1742-.0952-.2623-.1407l-.1903-1.1673A.3483.3483 0 0016.256.955l-.9597.6905a8.4867 8.4867 0 00-.2855-.086l-.414-1.1066a.3483.3483 0 00-.5781-.1154l-.8069.8666a9.2936 9.2936 0 00-.2936-.0284L12.2946.1683a.3462.3462 0 00-.5892 0l-.6236 1.0073a13.7383 13.7383 0 00-.2936.0284L9.9803.3374a.3462.3462 0 00-.578.1154l-.4141 1.1065c-.0962.0274-.1903.0567-.2855.086L7.744.955a.3483.3483 0 00-.5447.2258L7.009 2.348a9.3574 9.3574 0 00-.2622.1407l-1.0762-.491a.3462.3462 0 00-.49.328l.0416 1.1845a7.9826 7.9826 0 00-.2278.1873L3.8413 3.425a.3472.3472 0 00-.4171.4171l.2713 1.1531c-.0628.075-.1255.1509-.1863.2268l-1.1845-.0415a.3462.3462 0 00-.328.49l.491 1.0761a9.167 9.167 0 00-.1407.2622l-1.1662.1894a.3483.3483 0 00-.2258.5446l.6904.9587a13.303 13.303 0 00-.087.2855l-1.1065.414a.3483.3483 0 00-.1155.5781l.8656.807a9.2936 9.2936 0 00-.0283.2935l-1.0073.6236a.3442.3442 0 000 .5892l1.0073.6236c.008.0982.0182.1964.0283.2936l-.8656.8079a.3462.3462 0 00.1155.578l1.1065.4141c.0273.0962.0567.1914.087.2855l-.6904.9587a.3452.3452 0 00.2268.5447l1.1662.1893c.0456.088.0922.1751.1408.2622l-.491 1.0762a.3462.3462 0 00.328.49l1.1834-.0415c.0618.0769.1235.1528.1873.2277l-.2713 1.1541a.3462.3462 0 00.4171.4161l1.153-.2713c.075.0638.151.1255.2279.1863l-.0415 1.1845a.3442.3442 0 00.49.327l1.0761-.49c.087.0486.1741.0951.2622.1407l.1903 1.1662a.3483.3483 0 00.5447.2268l.9587-.6904a9.299 9.299 0 00.2855.087l.414 1.1066a.3452.3452 0 00.5781.1154l.8079-.8656c.0972.0111.1954.0203.2936.0294l.6236 1.0073a.3472.3472 0 00.5892 0l.6236-1.0073c.0982-.0091.1964-.0183.2936-.0294l.8069.8656a.3483.3483 0 00.578-.1154l.4141-1.1066a8.4626 8.4626 0 00.2855-.087l.9587.6904a.3452.3452 0 00.5447-.2268l.1903-1.1662c.088-.0456.1751-.0931.2622-.1407l1.0762.49a.3472.3472 0 00.49-.327l-.0415-1.1845a6.7267 6.7267 0 00.2267-.1863l1.1531.2713a.3472.3472 0 00.4171-.416l-.2713-1.1542c.0628-.0749.1255-.1508.1863-.2278l1.1845.0415a.3442.3442 0 00.328-.49l-.49-1.076c.0475-.0872.0951-.1742.1407-.2623l1.1662-.1893a.3483.3483 0 00.2258-.5447l-.6904-.9587.087-.2855 1.1066-.414a.3462.3462 0 00.1154-.5781l-.8656-.8079c.0101-.0972.0202-.1954.0283-.2936l1.0073-.6236a.3442.3442 0 000-.5892zm-6.7413 8.3551a.7138.7138 0 01.2986-1.396.714.714 0 11-.2997 1.396zm-.3422-2.3142a.649.649 0 00-.7715.5l-.3573 1.6685c-1.1035.501-2.3285.7795-3.6193.7795a8.7368 8.7368 0 01-3.6951-.814l-.3574-1.6684a.648.648 0 00-.7714-.499l-1.473.3158a8.7216 8.7216 0 01-.7613-.898h7.1676c.081 0 .1356-.0141.1356-.088v-2.536c0-.074-.0536-.0881-.1356-.0881h-2.0966v-1.6077h2.2677c.2065 0 1.1065.0587 1.394 1.2088.0901.3533.2875 1.5044.4232 1.8729.1346.413.6833 1.2381 1.2685 1.2381h3.5716a.7492.7492 0 00.1296-.0131 8.7874 8.7874 0 01-.8119.9526zM6.8369 20.024a.714.714 0 11-.2997-1.396.714.714 0 01.2997 1.396zM4.1177 8.9972a.7137.7137 0 11-1.304.5791.7137.7137 0 011.304-.579zm-.8352 1.9813l1.5347-.6824a.65.65 0 00.33-.8585l-.3158-.7147h1.2432v5.6025H3.5669a8.7753 8.7753 0 01-.2834-3.348zm6.7343-.5437V8.7836h2.9601c.153 0 1.0792.1772 1.0792.8697 0 .575-.7107.7815-1.2948.7815zm10.7574 1.4862c0 .2187-.008.4363-.0243.651h-.9c-.09 0-.1265.0586-.1265.1477v.413c0 .973-.5487 1.1846-1.0296 1.2382-.4576.0517-.9648-.1913-1.0275-.4717-.2704-1.5186-.7198-1.8436-1.4305-2.4034.8817-.5599 1.799-1.386 1.799-2.4915 0-1.1936-.819-1.9458-1.3769-2.3153-.7825-.5163-1.6491-.6195-1.883-.6195H5.4682a8.7651 8.7651 0 014.907-2.7699l1.0974 1.151a.648.648 0 00.9182.0213l1.227-1.1743a8.7753 8.7753 0 016.0044 4.2762l-.8403 1.8982a.652.652 0 00.33.8585l1.6178.7188c.0283.2875.0425.577.0425.8717zm-9.3006-9.5993a.7128.7128 0 11.984 1.0316.7137.7137 0 01-.984-1.0316zm8.3389 6.71a.7107.7107 0 01.9395-.3625.7137.7137 0 11-.9405.3635z\"/></g>",
|
|
2771
|
+
"scala": "<rect x=\"1\" y=\"1\" width=\"18\" height=\"18\" rx=\"4\" fill=\"#FCECEB\" stroke=\"#DDE2E8\" stroke-width=\".5\"/><g transform=\"translate(3 3) scale(.5833333333)\"><path fill=\"#DC322F\" d=\"M4.589 24c4.537 0 13.81-1.516 14.821-3v-5.729c-.957 1.408-10.284 2.912-14.821 2.912V24zM4.589 16.365c4.537 0 13.81-1.516 14.821-3V7.636c-.957 1.408-10.284 2.912-14.821 2.912v5.817zM4.589 8.729c4.537 0 13.81-1.516 14.821-3V0C18.453 1.408 9.126 2.912 4.589 2.912v5.817z\"/></g>",
|
|
2772
|
+
"shell": "<rect x=\"1\" y=\"1\" width=\"18\" height=\"18\" rx=\"4\" fill=\"#303642\"/><g transform=\"translate(3 3) scale(.5833333333)\"><path fill=\"#7EE787\" d=\"M21.038,4.9l-7.577-4.498C13.009,0.134,12.505,0,12,0c-0.505,0-1.009,0.134-1.462,0.403L2.961,4.9 C2.057,5.437,1.5,6.429,1.5,7.503v8.995c0,1.073,0.557,2.066,1.462,2.603l7.577,4.497C10.991,23.866,11.495,24,12,24 c0.505,0,1.009-0.134,1.461-0.402l7.577-4.497c0.904-0.537,1.462-1.529,1.462-2.603V7.503C22.5,6.429,21.943,5.437,21.038,4.9z M15.17,18.946l0.013,0.646c0.001,0.078-0.05,0.167-0.111,0.198l-0.383,0.22c-0.061,0.031-0.111-0.007-0.112-0.085L14.57,19.29 c-0.328,0.136-0.66,0.169-0.872,0.084c-0.04-0.016-0.057-0.075-0.041-0.142l0.139-0.584c0.011-0.046,0.036-0.092,0.069-0.121 c0.012-0.011,0.024-0.02,0.036-0.026c0.022-0.011,0.043-0.014,0.062-0.006c0.229,0.077,0.521,0.041,0.802-0.101 c0.357-0.181,0.596-0.545,0.592-0.907c-0.003-0.328-0.181-0.465-0.613-0.468c-0.55,0.001-1.064-0.107-1.072-0.917 c-0.007-0.667,0.34-1.361,0.889-1.8l-0.007-0.652c-0.001-0.08,0.048-0.168,0.111-0.2l0.37-0.236 c0.061-0.031,0.111,0.007,0.112,0.087l0.006,0.653c0.273-0.109,0.511-0.138,0.726-0.088c0.047,0.012,0.067,0.076,0.048,0.151 l-0.144,0.578c-0.011,0.044-0.036,0.088-0.065,0.116c-0.012,0.012-0.025,0.021-0.038,0.028c-0.019,0.01-0.038,0.013-0.057,0.009 c-0.098-0.022-0.332-0.073-0.699,0.113c-0.385,0.195-0.52,0.53-0.517,0.778c0.003,0.297,0.155,0.387,0.681,0.396 c0.7,0.012,1.003,0.318,1.01,1.023C16.105,17.747,15.736,18.491,15.17,18.946z M19.143,17.859c0,0.06-0.008,0.116-0.058,0.145 l-1.916,1.164c-0.05,0.029-0.09,0.004-0.09-0.056v-0.494c0-0.06,0.037-0.093,0.087-0.122l1.887-1.129 c0.05-0.029,0.09-0.004,0.09,0.056V17.859z M20.459,6.797l-7.168,4.427c-0.894,0.523-1.553,1.109-1.553,2.187v8.833 c0,0.645,0.26,1.063,0.66,1.184c-0.131,0.023-0.264,0.039-0.398,0.039c-0.42,0-0.833-0.114-1.197-0.33L3.226,18.64 c-0.741-0.44-1.201-1.261-1.201-2.142V7.503c0-0.881,0.46-1.702,1.201-2.142l7.577-4.498c0.363-0.216,0.777-0.33,1.197-0.33 c0.419,0,0.833,0.114,1.197,0.33l7.577,4.498c0.624,0.371,1.046,1.013,1.164,1.732C21.686,6.557,21.12,6.411,20.459,6.797z\"/></g>",
|
|
2773
|
+
"solidity": "<rect x=\"1\" y=\"1\" width=\"18\" height=\"18\" rx=\"4\" fill=\"#F0F0F0\" stroke=\"#DDE2E8\" stroke-width=\".5\"/><g transform=\"translate(3 3) scale(.5833333333)\"><path fill=\"#363636\" d=\"M4.409 6.608L7.981.255l3.572 6.353H4.409zM8.411 0l3.569 6.348L15.552 0H8.411zm4.036 17.392l3.572 6.354 3.575-6.354h-7.147zm-.608-10.284h-7.43l3.715 6.605 3.715-6.605zm.428-.25h7.428L15.982.255l-3.715 6.603zM15.589 24l-3.569-6.349L8.448 24h7.141zm-3.856-6.858H4.306l3.712 6.603 3.715-6.603zm.428-.25h7.433l-3.718-6.605-3.715 6.605z\"/></g>",
|
|
2774
|
+
"sql": "<rect x=\"1\" y=\"1\" width=\"18\" height=\"18\" rx=\"4\" fill=\"#336791\"/><ellipse cx=\"10\" cy=\"5.5\" rx=\"5.8\" ry=\"2.1\" fill=\"#fff\"/><path fill=\"#fff\" fill-opacity=\".88\" d=\"M4.2 5.5v8.9c0 1.2 2.6 2.1 5.8 2.1s5.8-.9 5.8-2.1V5.5c0 1.2-2.6 2.1-5.8 2.1s-5.8-.9-5.8-2.1z\"/><path d=\"M4.2 9.2c0 1.2 2.6 2.1 5.8 2.1s5.8-.9 5.8-2.1M4.2 12.9c0 1.2 2.6 2.1 5.8 2.1s5.8-.9 5.8-2.1\" fill=\"none\" stroke=\"#336791\" stroke-opacity=\".7\" stroke-width=\".7\"/>",
|
|
2775
|
+
"svelte": "<rect x=\"1\" y=\"1\" width=\"18\" height=\"18\" rx=\"4\" fill=\"#FFF0EB\" stroke=\"#DDE2E8\" stroke-width=\".5\"/><g transform=\"translate(3 3) scale(.5833333333)\"><path fill=\"#FF3E00\" d=\"M10.354 21.125a4.44 4.44 0 0 1-4.765-1.767 4.109 4.109 0 0 1-.703-3.107 3.898 3.898 0 0 1 .134-.522l.105-.321.287.21a7.21 7.21 0 0 0 2.186 1.092l.208.063-.02.208a1.253 1.253 0 0 0 .226.83 1.337 1.337 0 0 0 1.435.533 1.231 1.231 0 0 0 .343-.15l5.59-3.562a1.164 1.164 0 0 0 .524-.778 1.242 1.242 0 0 0-.211-.937 1.338 1.338 0 0 0-1.435-.533 1.23 1.23 0 0 0-.343.15l-2.133 1.36a4.078 4.078 0 0 1-1.135.499 4.44 4.44 0 0 1-4.765-1.766 4.108 4.108 0 0 1-.702-3.108 3.855 3.855 0 0 1 1.742-2.582l5.589-3.563a4.072 4.072 0 0 1 1.135-.499 4.44 4.44 0 0 1 4.765 1.767 4.109 4.109 0 0 1 .703 3.107 3.943 3.943 0 0 1-.134.522l-.105.321-.286-.21a7.204 7.204 0 0 0-2.187-1.093l-.208-.063.02-.207a1.255 1.255 0 0 0-.226-.831 1.337 1.337 0 0 0-1.435-.532 1.231 1.231 0 0 0-.343.15L8.62 9.368a1.162 1.162 0 0 0-.524.778 1.24 1.24 0 0 0 .211.937 1.338 1.338 0 0 0 1.435.533 1.235 1.235 0 0 0 .344-.151l2.132-1.36a4.067 4.067 0 0 1 1.135-.498 4.44 4.44 0 0 1 4.765 1.766 4.108 4.108 0 0 1 .702 3.108 3.857 3.857 0 0 1-1.742 2.583l-5.589 3.562a4.072 4.072 0 0 1-1.135.499m10.358-17.95C18.484-.015 14.082-.96 10.9 1.068L5.31 4.63a6.412 6.412 0 0 0-2.896 4.295 6.753 6.753 0 0 0 .666 4.336 6.43 6.43 0 0 0-.96 2.396 6.833 6.833 0 0 0 1.168 5.167c2.229 3.19 6.63 4.135 9.812 2.108l5.59-3.562a6.41 6.41 0 0 0 2.896-4.295 6.756 6.756 0 0 0-.665-4.336 6.429 6.429 0 0 0 .958-2.396 6.831 6.831 0 0 0-1.167-5.168Z\"/></g>",
|
|
2776
|
+
"swift": "<defs><clipPath id=\"__DSH_CODE_ICON_INSTANCE__a\"><rect x=\"1\" y=\"1\" width=\"18\" height=\"18\" rx=\"4\"/></clipPath></defs><g clip-path=\"url(#__DSH_CODE_ICON_INSTANCE__a)\"><svg x=\"1\" y=\"1\" width=\"18\" height=\"18\" viewBox=\"0 0 128 128\" preserveAspectRatio=\"xMidYMid meet\"><path fill=\"#f05138\" d=\"M126.33 34.06a39.32 39.32 0 00-.79-7.83 28.78 28.78 0 00-2.65-7.58 28.84 28.84 0 00-4.76-6.32 23.42 23.42 0 00-6.62-4.55 27.27 27.27 0 00-7.68-2.53c-2.65-.51-5.56-.51-8.21-.76H30.25a45.46 45.46 0 00-6.09.51 21.82 21.82 0 00-5.82 1.52c-.53.25-1.32.51-1.85.76a33.82 33.82 0 00-5 3.28c-.53.51-1.06.76-1.59 1.26a22.41 22.41 0 00-4.76 6.32 23.61 23.61 0 00-2.65 7.58 78.5 78.5 0 00-.79 7.83v60.39a39.32 39.32 0 00.79 7.83 28.78 28.78 0 002.65 7.58 28.84 28.84 0 004.76 6.32 23.42 23.42 0 006.62 4.55 27.27 27.27 0 007.68 2.53c2.65.51 5.56.51 8.21.76h63.22a45.08 45.08 0 008.21-.76 27.27 27.27 0 007.68-2.53 30.13 30.13 0 006.62-4.55 22.41 22.41 0 004.76-6.32 23.61 23.61 0 002.65-7.58 78.49 78.49 0 00.79-7.83V34.06z\"/><path fill=\"#fefefe\" d=\"M85 96.5c-11.11 6.13-26.38 6.76-41.75.47A64.53 64.53 0 0113.84 73a50 50 0 0010.85 6.32c15.87 7.1 31.73 6.61 42.9 0-15.9-11.66-29.4-26.82-39.46-39.2a43.47 43.47 0 01-5.29-6.82c12.16 10.61 31.5 24 38.38 27.79a271.77 271.77 0 01-27-32.34 266.8 266.8 0 0044.47 34.87c.71.38 1.26.7 1.7 1a32.7 32.7 0 001.21-3.51c3.71-12.89-.53-27.54-9.79-39.67C93.25 33.81 106 57.05 100.66 76.51c-.14.53-.29 1-.45 1.55l.19.22c10.59 12.63 7.68 26 6.35 23.5C101 91 90.37 94.33 85 96.5z\"/></svg></g>",
|
|
2777
|
+
"toml": "<rect x=\"1\" y=\"1\" width=\"18\" height=\"18\" rx=\"4\" fill=\"#F6EEEA\" stroke=\"#DDE2E8\" stroke-width=\".5\"/><g transform=\"translate(3 3) scale(.5833333333)\"><path fill=\"#9C4121\" d=\"M.014 0h5.34v2.652H2.888v18.681h2.468V24H.015V0Zm17.622 5.049v2.78h-4.274v12.935h-3.008V7.83H6.059V5.05h11.577ZM23.986 24h-5.34v-2.652h2.467V2.667h-2.468V0h5.34v24Z\"/></g>",
|
|
2778
|
+
"typescript": "<defs><clipPath id=\"__DSH_CODE_ICON_INSTANCE__a\"><rect x=\"1\" y=\"1\" width=\"18\" height=\"18\" rx=\"4\"/></clipPath></defs><g clip-path=\"url(#__DSH_CODE_ICON_INSTANCE__a)\"><svg x=\"1\" y=\"1\" width=\"18\" height=\"18\" viewBox=\"0 0 128 128\" preserveAspectRatio=\"xMidYMid meet\"><path fill=\"#fff\" d=\"M22.67 47h99.67v73.67H22.67z\"/><path data-name=\"original\" fill=\"#007acc\" d=\"M1.5 63.91v62.5h125v-125H1.5zm100.73-5a15.56 15.56 0 017.82 4.5 20.58 20.58 0 013 4c0 .16-5.4 3.81-8.69 5.85-.12.08-.6-.44-1.13-1.23a7.09 7.09 0 00-5.87-3.53c-3.79-.26-6.23 1.73-6.21 5a4.58 4.58 0 00.54 2.34c.83 1.73 2.38 2.76 7.24 4.86 8.95 3.85 12.78 6.39 15.16 10 2.66 4 3.25 10.46 1.45 15.24-2 5.2-6.9 8.73-13.83 9.9a38.32 38.32 0 01-9.52-.1 23 23 0 01-12.72-6.63c-1.15-1.27-3.39-4.58-3.25-4.82a9.34 9.34 0 011.15-.73L82 101l3.59-2.08.75 1.11a16.78 16.78 0 004.74 4.54c4 2.1 9.46 1.81 12.16-.62a5.43 5.43 0 00.69-6.92c-1-1.39-3-2.56-8.59-5-6.45-2.78-9.23-4.5-11.77-7.24a16.48 16.48 0 01-3.43-6.25 25 25 0 01-.22-8c1.33-6.23 6-10.58 12.82-11.87a31.66 31.66 0 019.49.26zm-29.34 5.24v5.12H56.66v46.23H45.15V69.26H28.88v-5a49.19 49.19 0 01.12-5.17C29.08 59 39 59 51 59h21.83z\"/></svg></g>",
|
|
2779
|
+
"vue": "<rect x=\"1\" y=\"1\" width=\"18\" height=\"18\" rx=\"4\" fill=\"#ECF8F3\" stroke=\"#D5EAE0\" stroke-width=\".5\"/><path fill=\"#41B883\" d=\"M3.5 5h3.2l3.3 5.7L13.3 5h3.2L10 16z\"/><path fill=\"#35495E\" d=\"M6.7 5H9l1 1.8L11 5h2.3L10 10.7z\"/>",
|
|
2780
|
+
"wasm": "<defs><clipPath id=\"__DSH_CODE_ICON_INSTANCE__a\"><rect x=\"1\" y=\"1\" width=\"18\" height=\"18\" rx=\"4\"/></clipPath></defs><g clip-path=\"url(#__DSH_CODE_ICON_INSTANCE__a)\"><svg x=\"1\" y=\"1\" width=\"18\" height=\"18\" viewBox=\"0 0 128 128\" preserveAspectRatio=\"xMidYMid meet\"><path fill=\"#654ff0\" d=\"M.223.222v127.555h127.555V.222H78.594c.014.227.036.455.036.686 0 8.08-6.55 14.626-14.63 14.626-8.078 0-14.625-6.546-14.625-14.626 0-.231.022-.459.031-.686zm29.595 68.746h8.445l5.782 30.738h.107l6.968-30.738h7.908l6.265 31.119h.106l6.597-31.119h8.284l-10.765 45.156H61.12l-6.213-30.738H54.8l-6.7 30.738h-8.557zm59.994 0h13.334l13.284 45.156h-8.77l-2.879-10.051H89.59l-2.212 10.05h-8.5ZM94.895 80.1l-3.684 16.57h11.473L98.448 80.1Z\"/></svg></g>",
|
|
2781
|
+
"xml": "<rect x=\"1\" y=\"1\" width=\"18\" height=\"18\" rx=\"4\" fill=\"#EAF3FA\" stroke=\"#DDE2E8\" stroke-width=\".5\"/><g transform=\"translate(3 3) scale(.5833333333)\"><path fill=\"#005FAD\" d=\"M4.345 7.053c-.495.02-.44.725-.536 1.081-.157.583-.3 1.325-.347 1.926-.046.585-.008 1.127.066 1.719.058.46.191.767.07.89-.108.11-3.216 2.962-3.466 3.123-.26.169-.08.584.069.817.157.246.23.373.557.33.306-.042.405-.409.583-.606.228-.252 2.421-2.401 2.616-2.401.077.544.367 1.064.67 1.513.15.222.314.439.505.629.175.175.4.317.587.45.44.024.795-.301.35-.67-.17-.14-.735-.971-.927-1.43-.18-.43-.574-1.076-.146-1.428 1.494-1.23 3.72-2.262 4.247-2.313-.257 1.024-1.356 3.048-1.757 4.012-.14.333-.231.732-.185 1.094.055.434.383.774.587.806.417-.023.7-.387.946-.645.343-.357.634-.685.974-1.043.339-.356.672-.731.971-1.07.184-.207.674-.713.963-.713-.11.693-.716 1.552-.839 2.254-.125.716.531 1.596 1.217.956.623-.58 1.255-1.129 1.867-1.72.217-.208.175.037.224.242.05.208.176.91.275 1.1.18.346.496.592.897.598.362.006.727-.161.982-.414.19-.187.513-.699.154-.832-.23-.086-.217-.176-.495-.129-.172.029-.362.074-.507.179-.367-.003-.381-.89-.324-1.161.068-.327.207-.659.185-.998-.026-.418-.478-.69-.582-.72-.156-.076-.253.023-.458.212-.173.161-.363.332-.535.495-.34.322-.768.813-.942.813.305-.705.708-2.652-.643-2.48-.563.071-.95.377-1.394.71-.29.28-.683.641-.936.87-.236.216-.371.404-.496.404.132-.747 1.685-3.167.885-3.853-.158-.136-.313-.325-.515-.349a4.637 4.637 0 0 0-.833.19c-.565.18-2.78 1.28-4.19 2.289-.131.094-.214-.085-.231-.29-.087-1.058.199-2.19.496-3.188.208-.696-.557-1.225-.659-1.249zm18.177.874c-.166.364-.2.894-.248 1.319a24.307 24.307 0 0 0-1.246-.115c.238.296.691.588 1.056.724-.048.366-.434.67-.599 1.021.458-.127.676-.47.989-.821.362.22.791.627 1.26.636-.177-.376-.334-.695-.658-.966.269-.175.717-.362.924-.633-.345-.074-.718-.093-1.052-.015-.258-.284-.3-.772-.426-1.15zm-2.92.079c-.23.02-.613.49-.832.773-.807 1.039-1.542 3.15-1.661 3.542-.363 1.195-.502 2.672.28 3.722.456.612 1.258.66 2.041.434.405-.116.812-.406.95-.723.114-.263.174-.753-.404-.38-.224.145-.634.304-1.37.291-.247-.004-.651-.357-.76-.722-.192-.595-.11-1.393-.11-1.393.167-1.028.642-2.146 1.061-3.076.163-.36.658-1.259.842-1.546 0 0 .239-.373.131-.77-.031-.116-.091-.16-.168-.152zm3.072 2.976c-.12.264-.144.648-.18.956-.274-.031-.63-.066-.904-.083.172.215.501.426.766.525-.034.265-.314.486-.434.741.332-.092.49-.34.717-.596.263.16.575.456.914.462-.127-.273-.242-.504-.477-.701.195-.127.52-.262.67-.46a1.77 1.77 0 0 0-.763-.01c-.187-.206-.217-.56-.309-.834zm-1.123 2.422c-.083.183-.1.449-.125.662a12.6 12.6 0 0 0-.624-.058c.119.148.346.295.53.363-.025.184-.219.336-.301.513.23-.064.339-.236.496-.413.181.11.397.316.632.32-.088-.19-.168-.349-.33-.485.135-.087.36-.181.463-.317a1.22 1.22 0 0 0-.527-.008c-.13-.142-.151-.387-.214-.576z\"/></g>",
|
|
2782
|
+
"yaml": "<rect x=\"1\" y=\"1\" width=\"18\" height=\"18\" rx=\"4\" fill=\"#FCEEEF\" stroke=\"#F0D8DB\" stroke-width=\".5\"/><svg x=\"2.75\" y=\"2.75\" width=\"14.5\" height=\"14.5\" viewBox=\"0 0 128 128\" preserveAspectRatio=\"xMidYMid meet\">\n<polygon transform=\"matrix(.24805 0 0 .24805 .5 5.6287)\" points=\"87.702 137.67 0 0 63.25 0 119.02 88.646 175.24 0 235.79 0 143.98 137.67 143.98 224.95 87.702 224.95\"/>\n<path d=\"m82.428 49.149h-25.266l-5.1388 12.408h-11.188l23.659-55.798h11.444l22.699 55.798h-11.956l-4.2525-12.408zm-4.197-11.14-7.7455-20.476-8.6412 20.476z\" fill=\"#cb171e\"/>\n<polygon transform=\"matrix(.24805 0 0 .24805 .5 5.6287)\" points=\"87.701 250.18 87.701 470.65 135 470.65 135 318.57 184.51 420.79 221.74 420.79 272.94 314.98 272.94 470.6 318.32 470.6 318.32 250.18 256.36 250.18 201.38 349.88 149.02 250.18\"/>\n<polygon transform=\"matrix(.24805 0 0 .24805 .5 5.6287)\" points=\"512 422.74 512 422.74 395.64 422.74 395.64 250.12 347.44 250.12 347.44 469.65 512 469.65\"/>\n</svg>",
|
|
2783
|
+
"zig": "<rect x=\"1\" y=\"1\" width=\"18\" height=\"18\" rx=\"4\" fill=\"#FFF4DF\" stroke=\"#DDE2E8\" stroke-width=\".5\"/><g transform=\"translate(3 3) scale(.5833333333)\"><path fill=\"#E18A00\" d=\"m23.53 1.02-7.686 3.45h-7.06l-2.98 3.452h7.173L.47 22.98l7.681-3.607h7.065v-.002l2.978-3.45-7.148-.001 12.482-14.9zM0 4.47v14.901h1.883l2.98-3.45H3.451v-8h.942l2.824-3.45H0zm22.117 0-2.98 3.608h1.412v7.844h-.942l-2.98 3.45H24V4.47h-1.883z\"/></g>"
|
|
2784
|
+
});
|
|
2785
|
+
//#endregion
|
|
2731
2786
|
//#region lib/types/CodeFileIcon.js
|
|
2732
|
-
/** Non-localizable letterforms that are part of the source-format artwork. */
|
|
2733
|
-
const CODE_MARKS = {
|
|
2734
|
-
c: "C",
|
|
2735
|
-
cpp: "C",
|
|
2736
|
-
csharp: "C",
|
|
2737
|
-
css: "CSS",
|
|
2738
|
-
env: "ENV",
|
|
2739
|
-
erlang: "E",
|
|
2740
|
-
ini: "INI",
|
|
2741
|
-
javascript: "JS",
|
|
2742
|
-
objectiveC: "OC",
|
|
2743
|
-
perl: "PL",
|
|
2744
|
-
php: "PHP",
|
|
2745
|
-
r: "R",
|
|
2746
|
-
toml: "TOML",
|
|
2747
|
-
typescript: "TS",
|
|
2748
|
-
yaml: "YAML",
|
|
2749
|
-
zig: "ZIG"
|
|
2750
|
-
};
|
|
2751
2787
|
/**
|
|
2752
2788
|
* Render one full-color square code-file glyph from the embedded icon set.
|
|
2753
2789
|
* @param props - Detailed code type, optional size, and optional CSS class.
|
|
2754
2790
|
* @returns The selected decorative SVG with its identifying palette intact.
|
|
2755
2791
|
*/
|
|
2756
2792
|
function CodeFileIcon({ type, size = 20, className }) {
|
|
2793
|
+
const instanceId = `dsh-code-icon-${useId().replaceAll(":", "")}`;
|
|
2757
2794
|
return jsx("svg", {
|
|
2758
2795
|
width: size,
|
|
2759
2796
|
height: size,
|
|
@@ -2761,1096 +2798,9 @@ function CodeFileIcon({ type, size = 20, className }) {
|
|
|
2761
2798
|
viewBox: "0 0 20 20",
|
|
2762
2799
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2763
2800
|
"aria-hidden": true,
|
|
2764
|
-
|
|
2801
|
+
dangerouslySetInnerHTML: { __html: CODE_FILE_ARTWORK[type].replaceAll(CODE_FILE_ICON_ID_TOKEN, instanceId) }
|
|
2765
2802
|
});
|
|
2766
2803
|
}
|
|
2767
|
-
function codeFileArtwork(type, gradientId) {
|
|
2768
|
-
switch (type) {
|
|
2769
|
-
case "angular": return jsxs(Fragment, { children: [
|
|
2770
|
-
jsx("rect", {
|
|
2771
|
-
x: "1",
|
|
2772
|
-
y: "1",
|
|
2773
|
-
width: "18",
|
|
2774
|
-
height: "18",
|
|
2775
|
-
rx: "4",
|
|
2776
|
-
fill: "#DD0031"
|
|
2777
|
-
}),
|
|
2778
|
-
jsx("path", {
|
|
2779
|
-
fill: "none",
|
|
2780
|
-
stroke: "#fff",
|
|
2781
|
-
strokeWidth: "1.4",
|
|
2782
|
-
strokeLinejoin: "round",
|
|
2783
|
-
d: "m10 3.4 6 2-1 8-5 3-5-3-1-8z"
|
|
2784
|
-
}),
|
|
2785
|
-
jsx("path", {
|
|
2786
|
-
fill: "#fff",
|
|
2787
|
-
d: "m10 5.3-3.7 8.2h1.9l.7-1.8h2.2l.7 1.8h1.9zm0 3.4.5 1.4h-1z"
|
|
2788
|
-
})
|
|
2789
|
-
] });
|
|
2790
|
-
case "c": return jsxs(Fragment, { children: [
|
|
2791
|
-
jsx("rect", {
|
|
2792
|
-
x: "1",
|
|
2793
|
-
y: "1",
|
|
2794
|
-
width: "18",
|
|
2795
|
-
height: "18",
|
|
2796
|
-
rx: "4",
|
|
2797
|
-
fill: "#659AD2"
|
|
2798
|
-
}),
|
|
2799
|
-
jsx("path", {
|
|
2800
|
-
fill: "none",
|
|
2801
|
-
stroke: "#fff",
|
|
2802
|
-
strokeWidth: "1.3",
|
|
2803
|
-
strokeLinejoin: "round",
|
|
2804
|
-
d: "m10 3.4 6 3.3v6.6l-6 3.3-6-3.3V6.7z"
|
|
2805
|
-
}),
|
|
2806
|
-
jsx("text", {
|
|
2807
|
-
x: "10",
|
|
2808
|
-
y: "13.5",
|
|
2809
|
-
textAnchor: "middle",
|
|
2810
|
-
fontFamily: "Arial,sans-serif",
|
|
2811
|
-
fontSize: "9.5",
|
|
2812
|
-
fontWeight: "800",
|
|
2813
|
-
fill: "#fff",
|
|
2814
|
-
children: CODE_MARKS.c
|
|
2815
|
-
})
|
|
2816
|
-
] });
|
|
2817
|
-
case "clojure": return jsxs(Fragment, { children: [
|
|
2818
|
-
jsx("rect", {
|
|
2819
|
-
x: "1",
|
|
2820
|
-
y: "1",
|
|
2821
|
-
width: "18",
|
|
2822
|
-
height: "18",
|
|
2823
|
-
rx: "4",
|
|
2824
|
-
fill: "#344D70"
|
|
2825
|
-
}),
|
|
2826
|
-
jsx("circle", {
|
|
2827
|
-
cx: "10",
|
|
2828
|
-
cy: "10",
|
|
2829
|
-
r: "6.6",
|
|
2830
|
-
fill: "#fff"
|
|
2831
|
-
}),
|
|
2832
|
-
jsx("path", {
|
|
2833
|
-
fill: "#63B132",
|
|
2834
|
-
d: "M9.5 3.5a6.5 6.5 0 0 0-4.7 10.8c1-2.6 2.5-4.3 4.3-5.3-1-1.5-.8-3.4.4-5.5z"
|
|
2835
|
-
}),
|
|
2836
|
-
jsx("path", {
|
|
2837
|
-
fill: "#5881D8",
|
|
2838
|
-
d: "M10.7 3.5c1.8 1.6 2.5 3.3 2 5.1 1.5 1.1 2.4 2.8 2.7 5.2a6.5 6.5 0 0 0-4.7-10.3z"
|
|
2839
|
-
}),
|
|
2840
|
-
jsx("path", {
|
|
2841
|
-
fill: "#90B4FE",
|
|
2842
|
-
d: "M12 9.8c-1.6.3-2.8 2.1-3.8 5.4a6.4 6.4 0 0 0 6.3-.7c-.2-2.1-1-3.7-2.5-4.7z"
|
|
2843
|
-
})
|
|
2844
|
-
] });
|
|
2845
|
-
case "cmake": return jsxs(Fragment, { children: [
|
|
2846
|
-
jsx("rect", {
|
|
2847
|
-
x: "1",
|
|
2848
|
-
y: "1",
|
|
2849
|
-
width: "18",
|
|
2850
|
-
height: "18",
|
|
2851
|
-
rx: "4",
|
|
2852
|
-
fill: "#263A55"
|
|
2853
|
-
}),
|
|
2854
|
-
jsx("path", {
|
|
2855
|
-
fill: "#4D9DCC",
|
|
2856
|
-
d: "M10 3 4 16h4.6z"
|
|
2857
|
-
}),
|
|
2858
|
-
jsx("path", {
|
|
2859
|
-
fill: "#43A047",
|
|
2860
|
-
d: "M10 3 8.6 16H16z"
|
|
2861
|
-
}),
|
|
2862
|
-
jsx("path", {
|
|
2863
|
-
fill: "#E53935",
|
|
2864
|
-
d: "m10 3 6 13-6-5z"
|
|
2865
|
-
}),
|
|
2866
|
-
jsx("path", {
|
|
2867
|
-
fill: "#fff",
|
|
2868
|
-
d: "m10 6 2.3 5.1-2.3-1.8-.8 2.9z"
|
|
2869
|
-
})
|
|
2870
|
-
] });
|
|
2871
|
-
case "cpp": return jsxs(Fragment, { children: [
|
|
2872
|
-
jsx("rect", {
|
|
2873
|
-
x: "1",
|
|
2874
|
-
y: "1",
|
|
2875
|
-
width: "18",
|
|
2876
|
-
height: "18",
|
|
2877
|
-
rx: "4",
|
|
2878
|
-
fill: "#00599C"
|
|
2879
|
-
}),
|
|
2880
|
-
jsx("path", {
|
|
2881
|
-
fill: "none",
|
|
2882
|
-
stroke: "#fff",
|
|
2883
|
-
strokeWidth: "1.15",
|
|
2884
|
-
strokeLinejoin: "round",
|
|
2885
|
-
d: "m10 3.4 6 3.3v6.6l-6 3.3-6-3.3V6.7z"
|
|
2886
|
-
}),
|
|
2887
|
-
jsx("text", {
|
|
2888
|
-
x: "7.8",
|
|
2889
|
-
y: "13",
|
|
2890
|
-
textAnchor: "middle",
|
|
2891
|
-
fontFamily: "Arial,sans-serif",
|
|
2892
|
-
fontSize: "8.2",
|
|
2893
|
-
fontWeight: "800",
|
|
2894
|
-
fill: "#fff",
|
|
2895
|
-
children: CODE_MARKS.cpp
|
|
2896
|
-
}),
|
|
2897
|
-
jsx("path", {
|
|
2898
|
-
stroke: "#fff",
|
|
2899
|
-
strokeWidth: "1.1",
|
|
2900
|
-
d: "M12 8.8v3.8m-1.9-1.9h3.8m2-1.9v3.8M14 10.7h3.8"
|
|
2901
|
-
})
|
|
2902
|
-
] });
|
|
2903
|
-
case "csharp": return jsxs(Fragment, { children: [
|
|
2904
|
-
jsx("rect", {
|
|
2905
|
-
x: "1",
|
|
2906
|
-
y: "1",
|
|
2907
|
-
width: "18",
|
|
2908
|
-
height: "18",
|
|
2909
|
-
rx: "4",
|
|
2910
|
-
fill: "#68217A"
|
|
2911
|
-
}),
|
|
2912
|
-
jsx("path", {
|
|
2913
|
-
fill: "none",
|
|
2914
|
-
stroke: "#fff",
|
|
2915
|
-
strokeWidth: "1.15",
|
|
2916
|
-
strokeLinejoin: "round",
|
|
2917
|
-
d: "m10 3.4 6 3.3v6.6l-6 3.3-6-3.3V6.7z"
|
|
2918
|
-
}),
|
|
2919
|
-
jsx("text", {
|
|
2920
|
-
x: "7.6",
|
|
2921
|
-
y: "13",
|
|
2922
|
-
textAnchor: "middle",
|
|
2923
|
-
fontFamily: "Arial,sans-serif",
|
|
2924
|
-
fontSize: "8.2",
|
|
2925
|
-
fontWeight: "800",
|
|
2926
|
-
fill: "#fff",
|
|
2927
|
-
children: CODE_MARKS.csharp
|
|
2928
|
-
}),
|
|
2929
|
-
jsx("path", {
|
|
2930
|
-
stroke: "#fff",
|
|
2931
|
-
strokeWidth: ".95",
|
|
2932
|
-
d: "M11.6 8.6h5m-5 3h5m-3.3-5v7m1.8-7v7"
|
|
2933
|
-
})
|
|
2934
|
-
] });
|
|
2935
|
-
case "css": return jsxs(Fragment, { children: [jsx("rect", {
|
|
2936
|
-
x: "1",
|
|
2937
|
-
y: "1",
|
|
2938
|
-
width: "18",
|
|
2939
|
-
height: "18",
|
|
2940
|
-
rx: "4",
|
|
2941
|
-
fill: "#1572B6"
|
|
2942
|
-
}), jsx("text", {
|
|
2943
|
-
x: "10",
|
|
2944
|
-
y: "12.8",
|
|
2945
|
-
textAnchor: "middle",
|
|
2946
|
-
fontFamily: "Arial,sans-serif",
|
|
2947
|
-
fontSize: "6.2",
|
|
2948
|
-
fontWeight: "900",
|
|
2949
|
-
fill: "#fff",
|
|
2950
|
-
children: CODE_MARKS.css
|
|
2951
|
-
})] });
|
|
2952
|
-
case "dart": return jsxs(Fragment, { children: [
|
|
2953
|
-
jsx("rect", {
|
|
2954
|
-
x: "1",
|
|
2955
|
-
y: "1",
|
|
2956
|
-
width: "18",
|
|
2957
|
-
height: "18",
|
|
2958
|
-
rx: "4",
|
|
2959
|
-
fill: "#0175C2"
|
|
2960
|
-
}),
|
|
2961
|
-
jsx("path", {
|
|
2962
|
-
fill: "#fff",
|
|
2963
|
-
d: "M5 4h6.5l4.5 4.5-3.2 7.5H8.5L4 11.5z"
|
|
2964
|
-
}),
|
|
2965
|
-
jsx("path", {
|
|
2966
|
-
fill: "#13B9FD",
|
|
2967
|
-
d: "m5 4 4 5.5h7L11.5 4zm4 5.5 3.8 6.5H8.5z"
|
|
2968
|
-
})
|
|
2969
|
-
] });
|
|
2970
|
-
case "docker": return jsxs(Fragment, { children: [
|
|
2971
|
-
jsx("rect", {
|
|
2972
|
-
x: "1",
|
|
2973
|
-
y: "1",
|
|
2974
|
-
width: "18",
|
|
2975
|
-
height: "18",
|
|
2976
|
-
rx: "4",
|
|
2977
|
-
fill: "#2496ED"
|
|
2978
|
-
}),
|
|
2979
|
-
jsx("path", {
|
|
2980
|
-
fill: "#fff",
|
|
2981
|
-
d: "M3 10h11.7c.2-1.2.9-2 2-2.5.5 1 .4 2-.3 2.7.5.1 1 .1 1.5-.1-.7 3.9-3.6 5.9-8.2 5.9C6 16 3.4 14 3 10z"
|
|
2982
|
-
}),
|
|
2983
|
-
jsx("g", {
|
|
2984
|
-
fill: "#2496ED",
|
|
2985
|
-
children: jsx("path", { d: "M4.5 7h2v2h-2zm2.6 0h2v2h-2zm2.6 0h2v2h-2zM7.1 4.5h2v2h-2zm2.6 0h2v2h-2zm2.6 2.5h2v2h-2z" })
|
|
2986
|
-
})
|
|
2987
|
-
] });
|
|
2988
|
-
case "elixir": return jsxs(Fragment, { children: [
|
|
2989
|
-
jsx("defs", { children: jsxs("linearGradient", {
|
|
2990
|
-
id: gradientId,
|
|
2991
|
-
x1: "1",
|
|
2992
|
-
y1: "19",
|
|
2993
|
-
x2: "19",
|
|
2994
|
-
y2: "1",
|
|
2995
|
-
children: [jsx("stop", { stopColor: "#4B275F" }), jsx("stop", {
|
|
2996
|
-
offset: "1",
|
|
2997
|
-
stopColor: "#8E6AAF"
|
|
2998
|
-
})]
|
|
2999
|
-
}) }),
|
|
3000
|
-
jsx("rect", {
|
|
3001
|
-
x: "1",
|
|
3002
|
-
y: "1",
|
|
3003
|
-
width: "18",
|
|
3004
|
-
height: "18",
|
|
3005
|
-
rx: "4",
|
|
3006
|
-
fill: `url(#${gradientId})`
|
|
3007
|
-
}),
|
|
3008
|
-
jsx("path", {
|
|
3009
|
-
fill: "#fff",
|
|
3010
|
-
d: "M10.7 3c.2 3.5-4.3 5.8-4.3 9.4 0 2.9 1.8 4.9 4.4 4.9 2.8 0 4.7-1.9 4.7-4.6 0-4.3-3.4-7-4.8-9.7z"
|
|
3011
|
-
}),
|
|
3012
|
-
jsx("path", {
|
|
3013
|
-
fill: "#8E6AAF",
|
|
3014
|
-
d: "M10.7 4.8c-.4 3.1-3 5.4-3 7.8 0 1.5.7 2.6 1.9 3-1-3.6 2.8-5.8 1.1-10.8z"
|
|
3015
|
-
})
|
|
3016
|
-
] });
|
|
3017
|
-
case "env": return jsxs(Fragment, { children: [jsx("rect", {
|
|
3018
|
-
x: "1",
|
|
3019
|
-
y: "1",
|
|
3020
|
-
width: "18",
|
|
3021
|
-
height: "18",
|
|
3022
|
-
rx: "4",
|
|
3023
|
-
fill: "#ECD53F"
|
|
3024
|
-
}), jsx("text", {
|
|
3025
|
-
x: "10",
|
|
3026
|
-
y: "13.2",
|
|
3027
|
-
textAnchor: "middle",
|
|
3028
|
-
fontFamily: "Arial,sans-serif",
|
|
3029
|
-
fontSize: "6.8",
|
|
3030
|
-
fontWeight: "900",
|
|
3031
|
-
fill: "#24292F",
|
|
3032
|
-
children: CODE_MARKS.env
|
|
3033
|
-
})] });
|
|
3034
|
-
case "erlang": return jsxs(Fragment, { children: [
|
|
3035
|
-
jsx("rect", {
|
|
3036
|
-
x: "1",
|
|
3037
|
-
y: "1",
|
|
3038
|
-
width: "18",
|
|
3039
|
-
height: "18",
|
|
3040
|
-
rx: "4",
|
|
3041
|
-
fill: "#A90533"
|
|
3042
|
-
}),
|
|
3043
|
-
jsx("circle", {
|
|
3044
|
-
cx: "10",
|
|
3045
|
-
cy: "10",
|
|
3046
|
-
r: "6.4",
|
|
3047
|
-
fill: "none",
|
|
3048
|
-
stroke: "#fff",
|
|
3049
|
-
strokeWidth: "1"
|
|
3050
|
-
}),
|
|
3051
|
-
jsx("text", {
|
|
3052
|
-
x: "10",
|
|
3053
|
-
y: "13.8",
|
|
3054
|
-
textAnchor: "middle",
|
|
3055
|
-
fontFamily: "Georgia,serif",
|
|
3056
|
-
fontSize: "10.5",
|
|
3057
|
-
fontWeight: "700",
|
|
3058
|
-
fill: "#fff",
|
|
3059
|
-
children: CODE_MARKS.erlang
|
|
3060
|
-
})
|
|
3061
|
-
] });
|
|
3062
|
-
case "flutter": return jsxs(Fragment, { children: [
|
|
3063
|
-
jsx("rect", {
|
|
3064
|
-
x: "1",
|
|
3065
|
-
y: "1",
|
|
3066
|
-
width: "18",
|
|
3067
|
-
height: "18",
|
|
3068
|
-
rx: "4",
|
|
3069
|
-
fill: "#027DFD"
|
|
3070
|
-
}),
|
|
3071
|
-
jsx("path", {
|
|
3072
|
-
fill: "#fff",
|
|
3073
|
-
d: "m4 10 6-6h4L8 10zm4 0 2.5-2.5H14L11.5 10l2.5 2.5h-3.5z"
|
|
3074
|
-
}),
|
|
3075
|
-
jsx("path", {
|
|
3076
|
-
fill: "#B9E6FF",
|
|
3077
|
-
d: "m8 10 4.5 4.5-2 2L4 10z"
|
|
3078
|
-
})
|
|
3079
|
-
] });
|
|
3080
|
-
case "git": return jsxs(Fragment, { children: [
|
|
3081
|
-
jsx("rect", {
|
|
3082
|
-
x: "1",
|
|
3083
|
-
y: "1",
|
|
3084
|
-
width: "18",
|
|
3085
|
-
height: "18",
|
|
3086
|
-
rx: "4",
|
|
3087
|
-
fill: "#F05032"
|
|
3088
|
-
}),
|
|
3089
|
-
jsx("rect", {
|
|
3090
|
-
x: "5",
|
|
3091
|
-
y: "5",
|
|
3092
|
-
width: "10",
|
|
3093
|
-
height: "10",
|
|
3094
|
-
rx: "1.4",
|
|
3095
|
-
transform: "rotate(45 10 10)",
|
|
3096
|
-
fill: "#fff"
|
|
3097
|
-
}),
|
|
3098
|
-
jsx("path", {
|
|
3099
|
-
d: "m7.7 7.4 4.9 4.9M9.9 9.6v3.6",
|
|
3100
|
-
fill: "none",
|
|
3101
|
-
stroke: "#F05032",
|
|
3102
|
-
strokeWidth: "1.15"
|
|
3103
|
-
}),
|
|
3104
|
-
jsx("circle", {
|
|
3105
|
-
cx: "7.7",
|
|
3106
|
-
cy: "7.4",
|
|
3107
|
-
r: "1.1",
|
|
3108
|
-
fill: "#F05032"
|
|
3109
|
-
}),
|
|
3110
|
-
jsx("circle", {
|
|
3111
|
-
cx: "12.6",
|
|
3112
|
-
cy: "12.3",
|
|
3113
|
-
r: "1.1",
|
|
3114
|
-
fill: "#F05032"
|
|
3115
|
-
}),
|
|
3116
|
-
jsx("circle", {
|
|
3117
|
-
cx: "9.9",
|
|
3118
|
-
cy: "13.2",
|
|
3119
|
-
r: "1.1",
|
|
3120
|
-
fill: "#F05032"
|
|
3121
|
-
})
|
|
3122
|
-
] });
|
|
3123
|
-
case "go": return jsxs(Fragment, { children: [jsx("rect", {
|
|
3124
|
-
x: "1",
|
|
3125
|
-
y: "1",
|
|
3126
|
-
width: "18",
|
|
3127
|
-
height: "18",
|
|
3128
|
-
rx: "4",
|
|
3129
|
-
fill: "#00ADD8"
|
|
3130
|
-
}), jsx("path", {
|
|
3131
|
-
fill: "#fff",
|
|
3132
|
-
d: "M3.5 8h6v1.6H5.2a2 2 0 0 0 0 .8h2.4v-.5H6.8V8.7h3.7c.3 3-1 4.4-3.6 4.4S3 11.7 3 9.7c0-.6.2-1.2.5-1.7Zm9.3 0h1.7c1.6 0 2.5 1 2.5 2.5s-.9 2.6-2.5 2.6h-1.7c-1.6 0-2.5-1-2.5-2.6S11.2 8 12.8 8Zm.3 1.6c-.7 0-1 .3-1 .9s.3 1 1 1h1.1c.7 0 1-.4 1-1s-.3-.9-1-.9z"
|
|
3133
|
-
})] });
|
|
3134
|
-
case "graphql": return jsxs(Fragment, { children: [
|
|
3135
|
-
jsx("rect", {
|
|
3136
|
-
x: "1",
|
|
3137
|
-
y: "1",
|
|
3138
|
-
width: "18",
|
|
3139
|
-
height: "18",
|
|
3140
|
-
rx: "4",
|
|
3141
|
-
fill: "#E10098"
|
|
3142
|
-
}),
|
|
3143
|
-
jsx("path", {
|
|
3144
|
-
d: "m10 4 5.2 3v6L10 16l-5.2-3V7zm-5 3.2h10M5 12.8h10M10 4l5 8.8M10 4l-5 8.8M10 16 5 7.2m5 8.8 5-8.8",
|
|
3145
|
-
stroke: "#fff",
|
|
3146
|
-
strokeWidth: ".8"
|
|
3147
|
-
}),
|
|
3148
|
-
jsxs("g", {
|
|
3149
|
-
fill: "#fff",
|
|
3150
|
-
children: [
|
|
3151
|
-
jsx("circle", {
|
|
3152
|
-
cx: "10",
|
|
3153
|
-
cy: "4",
|
|
3154
|
-
r: "1"
|
|
3155
|
-
}),
|
|
3156
|
-
jsx("circle", {
|
|
3157
|
-
cx: "15.2",
|
|
3158
|
-
cy: "7",
|
|
3159
|
-
r: "1"
|
|
3160
|
-
}),
|
|
3161
|
-
jsx("circle", {
|
|
3162
|
-
cx: "15.2",
|
|
3163
|
-
cy: "13",
|
|
3164
|
-
r: "1"
|
|
3165
|
-
}),
|
|
3166
|
-
jsx("circle", {
|
|
3167
|
-
cx: "10",
|
|
3168
|
-
cy: "16",
|
|
3169
|
-
r: "1"
|
|
3170
|
-
}),
|
|
3171
|
-
jsx("circle", {
|
|
3172
|
-
cx: "4.8",
|
|
3173
|
-
cy: "13",
|
|
3174
|
-
r: "1"
|
|
3175
|
-
}),
|
|
3176
|
-
jsx("circle", {
|
|
3177
|
-
cx: "4.8",
|
|
3178
|
-
cy: "7",
|
|
3179
|
-
r: "1"
|
|
3180
|
-
})
|
|
3181
|
-
]
|
|
3182
|
-
})
|
|
3183
|
-
] });
|
|
3184
|
-
case "haskell": return jsxs(Fragment, { children: [jsx("rect", {
|
|
3185
|
-
x: "1",
|
|
3186
|
-
y: "1",
|
|
3187
|
-
width: "18",
|
|
3188
|
-
height: "18",
|
|
3189
|
-
rx: "4",
|
|
3190
|
-
fill: "#5D4F85"
|
|
3191
|
-
}), jsx("path", {
|
|
3192
|
-
fill: "#fff",
|
|
3193
|
-
d: "m3.5 4.5 3.5 5.5-3.5 5.5h2.7L9.8 10 6.2 4.5zm4 0L11 10l-3.5 5.5h2.7l3.5-5.5-3.5-5.5zm5 3.1 1 1.6H17V7.6zm1.4 3 1 1.7H17v-1.7z"
|
|
3194
|
-
})] });
|
|
3195
|
-
case "ini": return jsxs(Fragment, { children: [jsx("rect", {
|
|
3196
|
-
x: "1",
|
|
3197
|
-
y: "1",
|
|
3198
|
-
width: "18",
|
|
3199
|
-
height: "18",
|
|
3200
|
-
rx: "4",
|
|
3201
|
-
fill: "#6E7781"
|
|
3202
|
-
}), jsx("text", {
|
|
3203
|
-
x: "10",
|
|
3204
|
-
y: "13.2",
|
|
3205
|
-
textAnchor: "middle",
|
|
3206
|
-
fontFamily: "Arial,sans-serif",
|
|
3207
|
-
fontSize: "7.2",
|
|
3208
|
-
fontWeight: "800",
|
|
3209
|
-
fill: "#fff",
|
|
3210
|
-
children: CODE_MARKS.ini
|
|
3211
|
-
})] });
|
|
3212
|
-
case "java": return jsxs(Fragment, { children: [
|
|
3213
|
-
jsx("rect", {
|
|
3214
|
-
x: "1",
|
|
3215
|
-
y: "1",
|
|
3216
|
-
width: "18",
|
|
3217
|
-
height: "18",
|
|
3218
|
-
rx: "4",
|
|
3219
|
-
fill: "#427A9B"
|
|
3220
|
-
}),
|
|
3221
|
-
jsx("path", {
|
|
3222
|
-
d: "M9 3.1c2.3 1.7-2.4 2.5.5 4.5m2-4.9c2.3 1.9-3.2 2.9-.2 5",
|
|
3223
|
-
stroke: "#FF6B57",
|
|
3224
|
-
strokeWidth: "1.15",
|
|
3225
|
-
strokeLinecap: "round"
|
|
3226
|
-
}),
|
|
3227
|
-
jsx("path", {
|
|
3228
|
-
d: "M5.4 8.6h8c-.2 3.7-1.3 4.8-4 4.8-2.6 0-3.8-1.2-4-4.8Zm7.8 1h1c1.6 0 1.6 2.5-.5 2.5M4.7 14.8c2.5.8 7.5.8 10.1 0M5.7 16.5c2 .5 6.3.6 8.3 0",
|
|
3229
|
-
stroke: "#fff",
|
|
3230
|
-
strokeWidth: "1.05",
|
|
3231
|
-
strokeLinecap: "round"
|
|
3232
|
-
})
|
|
3233
|
-
] });
|
|
3234
|
-
case "javascript": return jsxs(Fragment, { children: [jsx("rect", {
|
|
3235
|
-
x: "1",
|
|
3236
|
-
y: "1",
|
|
3237
|
-
width: "18",
|
|
3238
|
-
height: "18",
|
|
3239
|
-
rx: "4",
|
|
3240
|
-
fill: "#F7DF1E"
|
|
3241
|
-
}), jsx("text", {
|
|
3242
|
-
x: "10",
|
|
3243
|
-
y: "14",
|
|
3244
|
-
textAnchor: "middle",
|
|
3245
|
-
fontFamily: "Arial,sans-serif",
|
|
3246
|
-
fontSize: "8.4",
|
|
3247
|
-
fontWeight: "800",
|
|
3248
|
-
fill: "#191919",
|
|
3249
|
-
children: CODE_MARKS.javascript
|
|
3250
|
-
})] });
|
|
3251
|
-
case "json": return jsxs(Fragment, { children: [jsx("rect", {
|
|
3252
|
-
x: "1",
|
|
3253
|
-
y: "1",
|
|
3254
|
-
width: "18",
|
|
3255
|
-
height: "18",
|
|
3256
|
-
rx: "4",
|
|
3257
|
-
fill: "#4A4A4A"
|
|
3258
|
-
}), jsx("text", {
|
|
3259
|
-
x: "10",
|
|
3260
|
-
y: "13.6",
|
|
3261
|
-
textAnchor: "middle",
|
|
3262
|
-
fontFamily: "Arial,sans-serif",
|
|
3263
|
-
fontSize: "9.4",
|
|
3264
|
-
fontWeight: "700",
|
|
3265
|
-
fill: "#F7DF1E",
|
|
3266
|
-
children: "{ }"
|
|
3267
|
-
})] });
|
|
3268
|
-
case "kotlin": return jsxs(Fragment, { children: [
|
|
3269
|
-
jsx("defs", { children: jsxs("linearGradient", {
|
|
3270
|
-
id: gradientId,
|
|
3271
|
-
x1: "1",
|
|
3272
|
-
y1: "19",
|
|
3273
|
-
x2: "19",
|
|
3274
|
-
y2: "1",
|
|
3275
|
-
children: [
|
|
3276
|
-
jsx("stop", { stopColor: "#0095D5" }),
|
|
3277
|
-
jsx("stop", {
|
|
3278
|
-
offset: ".5",
|
|
3279
|
-
stopColor: "#7F52FF"
|
|
3280
|
-
}),
|
|
3281
|
-
jsx("stop", {
|
|
3282
|
-
offset: "1",
|
|
3283
|
-
stopColor: "#F88909"
|
|
3284
|
-
})
|
|
3285
|
-
]
|
|
3286
|
-
}) }),
|
|
3287
|
-
jsx("rect", {
|
|
3288
|
-
x: "1",
|
|
3289
|
-
y: "1",
|
|
3290
|
-
width: "18",
|
|
3291
|
-
height: "18",
|
|
3292
|
-
rx: "4",
|
|
3293
|
-
fill: `url(#${gradientId})`
|
|
3294
|
-
}),
|
|
3295
|
-
jsx("path", {
|
|
3296
|
-
fill: "#fff",
|
|
3297
|
-
d: "M5 5h2.2v4.1L11.1 5h3l-4.6 4.6 5 5.4h-3l-3.6-4-.7.7V15H5z"
|
|
3298
|
-
})
|
|
3299
|
-
] });
|
|
3300
|
-
case "lua": return jsxs(Fragment, { children: [
|
|
3301
|
-
jsx("rect", {
|
|
3302
|
-
x: "1",
|
|
3303
|
-
y: "1",
|
|
3304
|
-
width: "18",
|
|
3305
|
-
height: "18",
|
|
3306
|
-
rx: "4",
|
|
3307
|
-
fill: "#000080"
|
|
3308
|
-
}),
|
|
3309
|
-
jsx("circle", {
|
|
3310
|
-
cx: "9",
|
|
3311
|
-
cy: "11",
|
|
3312
|
-
r: "5.7",
|
|
3313
|
-
fill: "none",
|
|
3314
|
-
stroke: "#fff",
|
|
3315
|
-
strokeWidth: "1"
|
|
3316
|
-
}),
|
|
3317
|
-
jsx("circle", {
|
|
3318
|
-
cx: "13.1",
|
|
3319
|
-
cy: "6.6",
|
|
3320
|
-
r: "2.3",
|
|
3321
|
-
fill: "#000080",
|
|
3322
|
-
stroke: "#fff",
|
|
3323
|
-
strokeWidth: "1"
|
|
3324
|
-
}),
|
|
3325
|
-
jsx("circle", {
|
|
3326
|
-
cx: "13.8",
|
|
3327
|
-
cy: "5.9",
|
|
3328
|
-
r: ".65",
|
|
3329
|
-
fill: "#fff"
|
|
3330
|
-
}),
|
|
3331
|
-
jsx("circle", {
|
|
3332
|
-
cx: "10.7",
|
|
3333
|
-
cy: "9",
|
|
3334
|
-
r: ".9",
|
|
3335
|
-
fill: "#fff"
|
|
3336
|
-
})
|
|
3337
|
-
] });
|
|
3338
|
-
case "makefile": return jsxs(Fragment, { children: [jsx("rect", {
|
|
3339
|
-
x: "1",
|
|
3340
|
-
y: "1",
|
|
3341
|
-
width: "18",
|
|
3342
|
-
height: "18",
|
|
3343
|
-
rx: "4",
|
|
3344
|
-
fill: "#427819"
|
|
3345
|
-
}), jsx("path", {
|
|
3346
|
-
fill: "#fff",
|
|
3347
|
-
d: "m5 4.5 2.3 2.3 2.3-2.3L11 5.9 8.7 8.2l2.4 2.4L9.7 12l-2.4-2.4L5 11.9 3.6 10.5l2.3-2.3-2.3-2.3zm7 6.5h4v1.5h-4zm0 2.8h4v1.5h-4z"
|
|
3348
|
-
})] });
|
|
3349
|
-
case "node": return jsxs(Fragment, { children: [
|
|
3350
|
-
jsx("rect", {
|
|
3351
|
-
x: "1",
|
|
3352
|
-
y: "1",
|
|
3353
|
-
width: "18",
|
|
3354
|
-
height: "18",
|
|
3355
|
-
rx: "4",
|
|
3356
|
-
fill: "#539E43"
|
|
3357
|
-
}),
|
|
3358
|
-
jsx("path", {
|
|
3359
|
-
fill: "none",
|
|
3360
|
-
stroke: "#fff",
|
|
3361
|
-
strokeWidth: "1.35",
|
|
3362
|
-
strokeLinejoin: "round",
|
|
3363
|
-
d: "m10 3.5 6 3.3v6.4l-6 3.3-6-3.3V6.8z"
|
|
3364
|
-
}),
|
|
3365
|
-
jsx("path", {
|
|
3366
|
-
fill: "#fff",
|
|
3367
|
-
d: "M6.8 7h1.8l2.8 4.2V7h1.8v6h-1.8L8.6 8.8V13H6.8z"
|
|
3368
|
-
})
|
|
3369
|
-
] });
|
|
3370
|
-
case "objective-c": return jsxs(Fragment, { children: [jsx("rect", {
|
|
3371
|
-
x: "1",
|
|
3372
|
-
y: "1",
|
|
3373
|
-
width: "18",
|
|
3374
|
-
height: "18",
|
|
3375
|
-
rx: "4",
|
|
3376
|
-
fill: "#438EFF"
|
|
3377
|
-
}), jsx("text", {
|
|
3378
|
-
x: "10",
|
|
3379
|
-
y: "13.2",
|
|
3380
|
-
textAnchor: "middle",
|
|
3381
|
-
fontFamily: "Arial,sans-serif",
|
|
3382
|
-
fontSize: "7.2",
|
|
3383
|
-
fontWeight: "800",
|
|
3384
|
-
fill: "#fff",
|
|
3385
|
-
children: CODE_MARKS.objectiveC
|
|
3386
|
-
})] });
|
|
3387
|
-
case "perl": return jsxs(Fragment, { children: [jsx("rect", {
|
|
3388
|
-
x: "1",
|
|
3389
|
-
y: "1",
|
|
3390
|
-
width: "18",
|
|
3391
|
-
height: "18",
|
|
3392
|
-
rx: "4",
|
|
3393
|
-
fill: "#39457E"
|
|
3394
|
-
}), jsx("text", {
|
|
3395
|
-
x: "10",
|
|
3396
|
-
y: "13.3",
|
|
3397
|
-
textAnchor: "middle",
|
|
3398
|
-
fontFamily: "Arial,sans-serif",
|
|
3399
|
-
fontSize: "7.8",
|
|
3400
|
-
fontWeight: "800",
|
|
3401
|
-
fill: "#fff",
|
|
3402
|
-
children: CODE_MARKS.perl
|
|
3403
|
-
})] });
|
|
3404
|
-
case "php": return jsxs(Fragment, { children: [
|
|
3405
|
-
jsx("rect", {
|
|
3406
|
-
x: "1",
|
|
3407
|
-
y: "1",
|
|
3408
|
-
width: "18",
|
|
3409
|
-
height: "18",
|
|
3410
|
-
rx: "4",
|
|
3411
|
-
fill: "#777BB4"
|
|
3412
|
-
}),
|
|
3413
|
-
jsx("ellipse", {
|
|
3414
|
-
cx: "10",
|
|
3415
|
-
cy: "10",
|
|
3416
|
-
rx: "7",
|
|
3417
|
-
ry: "4.5",
|
|
3418
|
-
fill: "none",
|
|
3419
|
-
stroke: "#fff",
|
|
3420
|
-
strokeWidth: "1"
|
|
3421
|
-
}),
|
|
3422
|
-
jsx("text", {
|
|
3423
|
-
x: "10",
|
|
3424
|
-
y: "12.1",
|
|
3425
|
-
textAnchor: "middle",
|
|
3426
|
-
fontFamily: "Arial,sans-serif",
|
|
3427
|
-
fontSize: "5.8",
|
|
3428
|
-
fontStyle: "italic",
|
|
3429
|
-
fontWeight: "800",
|
|
3430
|
-
fill: "#fff",
|
|
3431
|
-
children: CODE_MARKS.php
|
|
3432
|
-
})
|
|
3433
|
-
] });
|
|
3434
|
-
case "powershell": return jsxs(Fragment, { children: [
|
|
3435
|
-
jsx("rect", {
|
|
3436
|
-
x: "1",
|
|
3437
|
-
y: "1",
|
|
3438
|
-
width: "18",
|
|
3439
|
-
height: "18",
|
|
3440
|
-
rx: "4",
|
|
3441
|
-
fill: "#2671BE"
|
|
3442
|
-
}),
|
|
3443
|
-
jsx("path", {
|
|
3444
|
-
fill: "#fff",
|
|
3445
|
-
fillOpacity: ".16",
|
|
3446
|
-
d: "M5.5 4h11l-3.5 12H2z"
|
|
3447
|
-
}),
|
|
3448
|
-
jsx("path", {
|
|
3449
|
-
d: "m6.5 6.5 3 3-4.2 3.2m4 1h4",
|
|
3450
|
-
fill: "none",
|
|
3451
|
-
stroke: "#fff",
|
|
3452
|
-
strokeWidth: "1.4",
|
|
3453
|
-
strokeLinecap: "round",
|
|
3454
|
-
strokeLinejoin: "round"
|
|
3455
|
-
})
|
|
3456
|
-
] });
|
|
3457
|
-
case "protobuf": return jsxs(Fragment, { children: [
|
|
3458
|
-
jsx("rect", {
|
|
3459
|
-
x: "1",
|
|
3460
|
-
y: "1",
|
|
3461
|
-
width: "18",
|
|
3462
|
-
height: "18",
|
|
3463
|
-
rx: "4",
|
|
3464
|
-
fill: "#4285F4"
|
|
3465
|
-
}),
|
|
3466
|
-
jsx("path", {
|
|
3467
|
-
fill: "none",
|
|
3468
|
-
stroke: "#fff",
|
|
3469
|
-
strokeWidth: "1.2",
|
|
3470
|
-
strokeLinejoin: "round",
|
|
3471
|
-
d: "m10 3.5 6 3.3v6.4l-6 3.3-6-3.3V6.8z"
|
|
3472
|
-
}),
|
|
3473
|
-
jsx("path", {
|
|
3474
|
-
fill: "#fff",
|
|
3475
|
-
d: "M6.5 6.5h4.4c2.3 0 3.6 1.2 3.6 3.1s-1.3 3.1-3.6 3.1H9v2H6.5zM9 8.4v2.4h1.6c.8 0 1.2-.4 1.2-1.2s-.4-1.2-1.2-1.2z"
|
|
3476
|
-
})
|
|
3477
|
-
] });
|
|
3478
|
-
case "python": return jsxs(Fragment, { children: [
|
|
3479
|
-
jsx("rect", {
|
|
3480
|
-
x: "1",
|
|
3481
|
-
y: "1",
|
|
3482
|
-
width: "18",
|
|
3483
|
-
height: "18",
|
|
3484
|
-
rx: "4",
|
|
3485
|
-
fill: "#306998"
|
|
3486
|
-
}),
|
|
3487
|
-
jsx("path", {
|
|
3488
|
-
fill: "#fff",
|
|
3489
|
-
d: "M9.8 3.2c-3.5 0-3.6 1.5-3.6 1.5v2.5H10V8H5s-2.2-.2-2.2 3.3 2 3.4 2 3.4h1.8v-2.6c0-2 1.8-2.4 3.2-2.4H13c1.8 0 2.4-1.4 2.4-3.2S13.8 3.2 12 3.2z"
|
|
3490
|
-
}),
|
|
3491
|
-
jsx("circle", {
|
|
3492
|
-
cx: "8.1",
|
|
3493
|
-
cy: "5.1",
|
|
3494
|
-
r: ".65",
|
|
3495
|
-
fill: "#306998"
|
|
3496
|
-
}),
|
|
3497
|
-
jsx("path", {
|
|
3498
|
-
fill: "#FFD43B",
|
|
3499
|
-
d: "M10.2 16.8c3.5 0 3.6-1.5 3.6-1.5v-2.5H10V12h5s2.2.2 2.2-3.3-2-3.4-2-3.4h-1.8v2.6c0 2-1.8 2.4-3.2 2.4H7c-1.8 0-2.4 1.4-2.4 3.2s1.6 3.3 3.4 3.3z"
|
|
3500
|
-
}),
|
|
3501
|
-
jsx("circle", {
|
|
3502
|
-
cx: "11.9",
|
|
3503
|
-
cy: "14.9",
|
|
3504
|
-
r: ".65",
|
|
3505
|
-
fill: "#306998"
|
|
3506
|
-
})
|
|
3507
|
-
] });
|
|
3508
|
-
case "r": return jsxs(Fragment, { children: [
|
|
3509
|
-
jsx("rect", {
|
|
3510
|
-
x: "1",
|
|
3511
|
-
y: "1",
|
|
3512
|
-
width: "18",
|
|
3513
|
-
height: "18",
|
|
3514
|
-
rx: "4",
|
|
3515
|
-
fill: "#276DC3"
|
|
3516
|
-
}),
|
|
3517
|
-
jsx("ellipse", {
|
|
3518
|
-
cx: "9",
|
|
3519
|
-
cy: "9.4",
|
|
3520
|
-
rx: "6.4",
|
|
3521
|
-
ry: "4.5",
|
|
3522
|
-
fill: "#fff",
|
|
3523
|
-
fillOpacity: ".9"
|
|
3524
|
-
}),
|
|
3525
|
-
jsx("ellipse", {
|
|
3526
|
-
cx: "8.3",
|
|
3527
|
-
cy: "8.9",
|
|
3528
|
-
rx: "4.5",
|
|
3529
|
-
ry: "2.8",
|
|
3530
|
-
fill: "#276DC3"
|
|
3531
|
-
}),
|
|
3532
|
-
jsx("path", {
|
|
3533
|
-
fill: "#fff",
|
|
3534
|
-
d: "M8 7h4c2.2 0 3.4.9 3.4 2.5 0 1-.6 1.7-1.7 2.1l2.5 4.1h-2.7l-2-3.7h-.9v3.7H8zm2.6 1.9v1.4h1c.7 0 1.1-.2 1.1-.7s-.4-.7-1.1-.7z"
|
|
3535
|
-
})
|
|
3536
|
-
] });
|
|
3537
|
-
case "react": return jsxs(Fragment, { children: [
|
|
3538
|
-
jsx("rect", {
|
|
3539
|
-
x: "1",
|
|
3540
|
-
y: "1",
|
|
3541
|
-
width: "18",
|
|
3542
|
-
height: "18",
|
|
3543
|
-
rx: "4",
|
|
3544
|
-
fill: "#20232A"
|
|
3545
|
-
}),
|
|
3546
|
-
jsx("circle", {
|
|
3547
|
-
cx: "10",
|
|
3548
|
-
cy: "10",
|
|
3549
|
-
r: "1.4",
|
|
3550
|
-
fill: "#61DAFB"
|
|
3551
|
-
}),
|
|
3552
|
-
jsxs("g", {
|
|
3553
|
-
stroke: "#61DAFB",
|
|
3554
|
-
strokeWidth: "1",
|
|
3555
|
-
children: [
|
|
3556
|
-
jsx("ellipse", {
|
|
3557
|
-
cx: "10",
|
|
3558
|
-
cy: "10",
|
|
3559
|
-
rx: "6.8",
|
|
3560
|
-
ry: "2.7"
|
|
3561
|
-
}),
|
|
3562
|
-
jsx("ellipse", {
|
|
3563
|
-
cx: "10",
|
|
3564
|
-
cy: "10",
|
|
3565
|
-
rx: "6.8",
|
|
3566
|
-
ry: "2.7",
|
|
3567
|
-
transform: "rotate(60 10 10)"
|
|
3568
|
-
}),
|
|
3569
|
-
jsx("ellipse", {
|
|
3570
|
-
cx: "10",
|
|
3571
|
-
cy: "10",
|
|
3572
|
-
rx: "6.8",
|
|
3573
|
-
ry: "2.7",
|
|
3574
|
-
transform: "rotate(120 10 10)"
|
|
3575
|
-
})
|
|
3576
|
-
]
|
|
3577
|
-
})
|
|
3578
|
-
] });
|
|
3579
|
-
case "ruby": return jsxs(Fragment, { children: [
|
|
3580
|
-
jsx("rect", {
|
|
3581
|
-
x: "1",
|
|
3582
|
-
y: "1",
|
|
3583
|
-
width: "18",
|
|
3584
|
-
height: "18",
|
|
3585
|
-
rx: "4",
|
|
3586
|
-
fill: "#B51F27"
|
|
3587
|
-
}),
|
|
3588
|
-
jsx("path", {
|
|
3589
|
-
fill: "#fff",
|
|
3590
|
-
d: "m4 7 3-3h6l3 3-6 9-6-6z"
|
|
3591
|
-
}),
|
|
3592
|
-
jsx("path", {
|
|
3593
|
-
fill: "#F15A4A",
|
|
3594
|
-
d: "m7 4 1.8 3H4zm1.8 3L13 4l3 3zm0 0L10 16 4 10zm0 0H16l-6 9z"
|
|
3595
|
-
})
|
|
3596
|
-
] });
|
|
3597
|
-
case "rust": return jsxs(Fragment, { children: [
|
|
3598
|
-
jsx("rect", {
|
|
3599
|
-
x: "1",
|
|
3600
|
-
y: "1",
|
|
3601
|
-
width: "18",
|
|
3602
|
-
height: "18",
|
|
3603
|
-
rx: "4",
|
|
3604
|
-
fill: "#2B2B2B"
|
|
3605
|
-
}),
|
|
3606
|
-
jsx("path", {
|
|
3607
|
-
fill: "#DEA584",
|
|
3608
|
-
d: "m10 2.8.7 1.3 1.4-.4.1 1.5 1.5.2-.6 1.4 1.3.8-.1.1 1.4.7-.9 1.2 1 1.1-1.2.8.6 1.3-1.4.4.3 1.5-1.5.1-.4 1.4-1.3-.5-.9 1.2-.9-1.2-1.3.5-.4-1.4-1.5-.1.3-1.5-1.4-.4.6-1.3-1.2-.8 1-1.1-.9-1.2 1.4-.7-.1-.1 1.3-.8-.6-1.4 1.5-.2.1-1.5 1.4.4z"
|
|
3609
|
-
}),
|
|
3610
|
-
jsx("circle", {
|
|
3611
|
-
cx: "10",
|
|
3612
|
-
cy: "10",
|
|
3613
|
-
r: "4.6",
|
|
3614
|
-
fill: "#2B2B2B"
|
|
3615
|
-
}),
|
|
3616
|
-
jsx("text", {
|
|
3617
|
-
x: "10",
|
|
3618
|
-
y: "13.1",
|
|
3619
|
-
textAnchor: "middle",
|
|
3620
|
-
fontFamily: "Georgia,serif",
|
|
3621
|
-
fontSize: "8.2",
|
|
3622
|
-
fontWeight: "700",
|
|
3623
|
-
fill: "#DEA584",
|
|
3624
|
-
children: CODE_MARKS.r
|
|
3625
|
-
})
|
|
3626
|
-
] });
|
|
3627
|
-
case "scala": return jsxs(Fragment, { children: [jsx("rect", {
|
|
3628
|
-
x: "1",
|
|
3629
|
-
y: "1",
|
|
3630
|
-
width: "18",
|
|
3631
|
-
height: "18",
|
|
3632
|
-
rx: "4",
|
|
3633
|
-
fill: "#DE3423"
|
|
3634
|
-
}), jsx("path", {
|
|
3635
|
-
fill: "#fff",
|
|
3636
|
-
d: "M5 4.2c3.3 1.1 6.7-.3 10-.9v3.3c-3.3.5-6.7 2-10 .8zm0 4.7c3.3 1.2 6.7-.3 10-.8v3.3c-3.3.5-6.7 1.9-10 .8zm0 4.7c3.3 1.2 6.7-.3 10-.8v3.3c-3.3.5-6.7 1.9-10 .8z"
|
|
3637
|
-
})] });
|
|
3638
|
-
case "shell": return jsxs(Fragment, { children: [jsx("rect", {
|
|
3639
|
-
x: "1",
|
|
3640
|
-
y: "1",
|
|
3641
|
-
width: "18",
|
|
3642
|
-
height: "18",
|
|
3643
|
-
rx: "4",
|
|
3644
|
-
fill: "#303642"
|
|
3645
|
-
}), jsx("path", {
|
|
3646
|
-
d: "m5 6.5 3.5 3.5L5 13.5m5 0h5",
|
|
3647
|
-
fill: "none",
|
|
3648
|
-
stroke: "#7EE787",
|
|
3649
|
-
strokeWidth: "1.5",
|
|
3650
|
-
strokeLinecap: "round",
|
|
3651
|
-
strokeLinejoin: "round"
|
|
3652
|
-
})] });
|
|
3653
|
-
case "solidity": return jsxs(Fragment, { children: [jsx("rect", {
|
|
3654
|
-
x: "1",
|
|
3655
|
-
y: "1",
|
|
3656
|
-
width: "18",
|
|
3657
|
-
height: "18",
|
|
3658
|
-
rx: "4",
|
|
3659
|
-
fill: "#555"
|
|
3660
|
-
}), jsx("path", {
|
|
3661
|
-
fill: "#fff",
|
|
3662
|
-
d: "M7.2 3.2h5.6L10 8zm-.5.8 2.8 4.8H4zm6.6 0L16 8.8h-5.5zM4 10.3h5.5l-2.8 4.8zm6.5 0H16l-2.7 4.8zM10 11.2l2.8 4.8H7.2z"
|
|
3663
|
-
})] });
|
|
3664
|
-
case "sql": return jsxs(Fragment, { children: [
|
|
3665
|
-
jsx("rect", {
|
|
3666
|
-
x: "1",
|
|
3667
|
-
y: "1",
|
|
3668
|
-
width: "18",
|
|
3669
|
-
height: "18",
|
|
3670
|
-
rx: "4",
|
|
3671
|
-
fill: "#336791"
|
|
3672
|
-
}),
|
|
3673
|
-
jsx("ellipse", {
|
|
3674
|
-
cx: "10",
|
|
3675
|
-
cy: "5.5",
|
|
3676
|
-
rx: "5.8",
|
|
3677
|
-
ry: "2.1",
|
|
3678
|
-
fill: "#fff"
|
|
3679
|
-
}),
|
|
3680
|
-
jsx("path", {
|
|
3681
|
-
fill: "#fff",
|
|
3682
|
-
fillOpacity: ".88",
|
|
3683
|
-
d: "M4.2 5.5v8.9c0 1.2 2.6 2.1 5.8 2.1s5.8-.9 5.8-2.1V5.5c0 1.2-2.6 2.1-5.8 2.1s-5.8-.9-5.8-2.1z"
|
|
3684
|
-
}),
|
|
3685
|
-
jsx("path", {
|
|
3686
|
-
d: "M4.2 9.2c0 1.2 2.6 2.1 5.8 2.1s5.8-.9 5.8-2.1M4.2 12.9c0 1.2 2.6 2.1 5.8 2.1s5.8-.9 5.8-2.1",
|
|
3687
|
-
fill: "none",
|
|
3688
|
-
stroke: "#336791",
|
|
3689
|
-
strokeOpacity: ".7",
|
|
3690
|
-
strokeWidth: ".7"
|
|
3691
|
-
})
|
|
3692
|
-
] });
|
|
3693
|
-
case "svelte": return jsxs(Fragment, { children: [
|
|
3694
|
-
jsx("rect", {
|
|
3695
|
-
x: "1",
|
|
3696
|
-
y: "1",
|
|
3697
|
-
width: "18",
|
|
3698
|
-
height: "18",
|
|
3699
|
-
rx: "4",
|
|
3700
|
-
fill: "#FF3E00"
|
|
3701
|
-
}),
|
|
3702
|
-
jsx("path", {
|
|
3703
|
-
d: "M13.9 6.1c-.9-1.1-2.6-1.4-3.8-.7L7 7.4c-1.2.8-1.5 2.4-.7 3.6.7 1 2 1.4 3.1 1l3-1.2c.5-.2 1 .1 1.2.5.2.4 0 .9-.4 1.2l-3.1 2c-.5.3-1.1.2-1.5-.2",
|
|
3704
|
-
stroke: "#fff",
|
|
3705
|
-
strokeWidth: "1.6",
|
|
3706
|
-
strokeLinecap: "round"
|
|
3707
|
-
}),
|
|
3708
|
-
jsx("path", {
|
|
3709
|
-
d: "M6.1 13.9c.9 1.1 2.6 1.4 3.8.7l3.1-2c1.2-.8 1.5-2.4.7-3.6-.7-1-2-1.4-3.1-1l-3 1.2c-.5.2-1-.1-1.2-.5-.2-.4 0-.9.4-1.2l3.1-2c.5-.3 1.1-.2 1.5.2",
|
|
3710
|
-
stroke: "#fff",
|
|
3711
|
-
strokeWidth: "1.6",
|
|
3712
|
-
strokeLinecap: "round"
|
|
3713
|
-
})
|
|
3714
|
-
] });
|
|
3715
|
-
case "swift": return jsxs(Fragment, { children: [jsx("rect", {
|
|
3716
|
-
x: "1",
|
|
3717
|
-
y: "1",
|
|
3718
|
-
width: "18",
|
|
3719
|
-
height: "18",
|
|
3720
|
-
rx: "4",
|
|
3721
|
-
fill: "#F05138"
|
|
3722
|
-
}), jsx("path", {
|
|
3723
|
-
fill: "#fff",
|
|
3724
|
-
d: "M15.9 14.9c.3-3.6-1.2-6.2-3.8-8.4 1.1 1.5 1.7 2.9 1.9 4.1C10.9 8.4 8 6 5.4 3.7c1.6 2.3 3.4 4.4 5.4 6.2-1.7-1-3.5-2.2-5.6-3.7 2.3 3 4.7 5.1 7.3 6.1-2 .9-4.5.7-7.2-.8 2.2 3.2 5.6 4.1 8.3 2.4.8.4 1.6.8 2.3 1z"
|
|
3725
|
-
})] });
|
|
3726
|
-
case "toml": return jsxs(Fragment, { children: [jsx("rect", {
|
|
3727
|
-
x: "1",
|
|
3728
|
-
y: "1",
|
|
3729
|
-
width: "18",
|
|
3730
|
-
height: "18",
|
|
3731
|
-
rx: "4",
|
|
3732
|
-
fill: "#9C4121"
|
|
3733
|
-
}), jsx("text", {
|
|
3734
|
-
x: "10",
|
|
3735
|
-
y: "12.9",
|
|
3736
|
-
textAnchor: "middle",
|
|
3737
|
-
fontFamily: "Arial,sans-serif",
|
|
3738
|
-
fontSize: "5.6",
|
|
3739
|
-
fontWeight: "800",
|
|
3740
|
-
fill: "#fff",
|
|
3741
|
-
children: CODE_MARKS.toml
|
|
3742
|
-
})] });
|
|
3743
|
-
case "typescript": return jsxs(Fragment, { children: [jsx("rect", {
|
|
3744
|
-
x: "1",
|
|
3745
|
-
y: "1",
|
|
3746
|
-
width: "18",
|
|
3747
|
-
height: "18",
|
|
3748
|
-
rx: "4",
|
|
3749
|
-
fill: "#3178C6"
|
|
3750
|
-
}), jsx("text", {
|
|
3751
|
-
x: "10",
|
|
3752
|
-
y: "14",
|
|
3753
|
-
textAnchor: "middle",
|
|
3754
|
-
fontFamily: "Arial,sans-serif",
|
|
3755
|
-
fontSize: "8.4",
|
|
3756
|
-
fontWeight: "800",
|
|
3757
|
-
fill: "#fff",
|
|
3758
|
-
children: CODE_MARKS.typescript
|
|
3759
|
-
})] });
|
|
3760
|
-
case "vue": return jsxs(Fragment, { children: [
|
|
3761
|
-
jsx("rect", {
|
|
3762
|
-
x: "1",
|
|
3763
|
-
y: "1",
|
|
3764
|
-
width: "18",
|
|
3765
|
-
height: "18",
|
|
3766
|
-
rx: "4",
|
|
3767
|
-
fill: "#41B883"
|
|
3768
|
-
}),
|
|
3769
|
-
jsx("path", {
|
|
3770
|
-
fill: "#fff",
|
|
3771
|
-
d: "M3.5 5h3.2l3.3 5.7L13.3 5h3.2L10 16z"
|
|
3772
|
-
}),
|
|
3773
|
-
jsx("path", {
|
|
3774
|
-
fill: "#35495E",
|
|
3775
|
-
d: "M6.7 5H9l1 1.8L11 5h2.3L10 10.7z"
|
|
3776
|
-
})
|
|
3777
|
-
] });
|
|
3778
|
-
case "wasm": return jsxs(Fragment, { children: [jsx("rect", {
|
|
3779
|
-
x: "1",
|
|
3780
|
-
y: "1",
|
|
3781
|
-
width: "18",
|
|
3782
|
-
height: "18",
|
|
3783
|
-
rx: "4",
|
|
3784
|
-
fill: "#654FF0"
|
|
3785
|
-
}), jsx("path", {
|
|
3786
|
-
fill: "#fff",
|
|
3787
|
-
d: "M4 6h2l.8 5.1L8 7h2l1.2 4.1L12 6h2l-1.7 8h-2l-1.3-4-1.3 4h-2zm10.5 0H17v8h-2V8h-.5z"
|
|
3788
|
-
})] });
|
|
3789
|
-
case "xml": return jsxs(Fragment, { children: [jsx("rect", {
|
|
3790
|
-
x: "1",
|
|
3791
|
-
y: "1",
|
|
3792
|
-
width: "18",
|
|
3793
|
-
height: "18",
|
|
3794
|
-
rx: "4",
|
|
3795
|
-
fill: "#F28C28"
|
|
3796
|
-
}), jsx("path", {
|
|
3797
|
-
d: "m7.5 6-4 4 4 4m5-8 4 4-4 4M11 5 9 15",
|
|
3798
|
-
fill: "none",
|
|
3799
|
-
stroke: "#fff",
|
|
3800
|
-
strokeWidth: "1.5",
|
|
3801
|
-
strokeLinecap: "round",
|
|
3802
|
-
strokeLinejoin: "round"
|
|
3803
|
-
})] });
|
|
3804
|
-
case "yaml": return jsxs(Fragment, { children: [jsx("rect", {
|
|
3805
|
-
x: "1",
|
|
3806
|
-
y: "1",
|
|
3807
|
-
width: "18",
|
|
3808
|
-
height: "18",
|
|
3809
|
-
rx: "4",
|
|
3810
|
-
fill: "#CB171E"
|
|
3811
|
-
}), jsx("text", {
|
|
3812
|
-
x: "10",
|
|
3813
|
-
y: "12.9",
|
|
3814
|
-
textAnchor: "middle",
|
|
3815
|
-
fontFamily: "Arial,sans-serif",
|
|
3816
|
-
fontSize: "5.6",
|
|
3817
|
-
fontWeight: "800",
|
|
3818
|
-
fill: "#fff",
|
|
3819
|
-
children: CODE_MARKS.yaml
|
|
3820
|
-
})] });
|
|
3821
|
-
case "zig": return jsxs(Fragment, { children: [
|
|
3822
|
-
jsx("rect", {
|
|
3823
|
-
x: "1",
|
|
3824
|
-
y: "1",
|
|
3825
|
-
width: "18",
|
|
3826
|
-
height: "18",
|
|
3827
|
-
rx: "4",
|
|
3828
|
-
fill: "#F7A41D"
|
|
3829
|
-
}),
|
|
3830
|
-
jsx("path", {
|
|
3831
|
-
fill: "#fff",
|
|
3832
|
-
d: "M3.5 6h4L6 7.5h5L7.5 12h5L11 14h5.5l-.8-3 1-5h-4.4L14 7.5h-3.7L13 4.2H6L7.3 6z"
|
|
3833
|
-
}),
|
|
3834
|
-
jsx("text", {
|
|
3835
|
-
x: "10",
|
|
3836
|
-
y: "12.2",
|
|
3837
|
-
textAnchor: "middle",
|
|
3838
|
-
fontFamily: "Arial,sans-serif",
|
|
3839
|
-
fontSize: "4.6",
|
|
3840
|
-
fontWeight: "900",
|
|
3841
|
-
fill: "#F7A41D",
|
|
3842
|
-
children: CODE_MARKS.zig
|
|
3843
|
-
})
|
|
3844
|
-
] });
|
|
3845
|
-
/* v8 ignore next -- closed-union backstop; only reached if a type is forged */
|
|
3846
|
-
default: return assertNever$3(type);
|
|
3847
|
-
}
|
|
3848
|
-
}
|
|
3849
|
-
/** Closed-union exhaustiveness guard for the embedded artwork table. */
|
|
3850
|
-
/* v8 ignore next 3 -- only reachable when an untyped caller forges a code file type */
|
|
3851
|
-
function assertNever$3(value) {
|
|
3852
|
-
throw new Error(`unreachable code file type: ${String(value)}`);
|
|
3853
|
-
}
|
|
3854
2804
|
const CODE_FILE_TYPE_SET = new Set([
|
|
3855
2805
|
"angular",
|
|
3856
2806
|
"c",
|
|
@@ -7883,7 +6833,7 @@ function renderLine(line, index) {
|
|
|
7883
6833
|
}, spanIndex))
|
|
7884
6834
|
})] }, index);
|
|
7885
6835
|
}
|
|
7886
|
-
function CodeBlock({ code, lang, streaming, className, lineNumbers = false, copyLabel, copiedLabel }) {
|
|
6836
|
+
function CodeBlock({ code, lang, streaming, className, contentRef, lineNumbers = false, copyLabel, copiedLabel }) {
|
|
7887
6837
|
const trimmed = code.endsWith("\n") ? code.slice(0, -1) : code;
|
|
7888
6838
|
const sourceLines = lineNumbers ? trimmed.split("\n") : void 0;
|
|
7889
6839
|
const rootRef = useRef(null);
|
|
@@ -8008,7 +6958,12 @@ function CodeBlock({ code, lang, streaming, className, lineNumbers = false, copy
|
|
|
8008
6958
|
})
|
|
8009
6959
|
})]
|
|
8010
6960
|
})
|
|
8011
|
-
}),
|
|
6961
|
+
}), jsx("div", {
|
|
6962
|
+
ref: contentRef,
|
|
6963
|
+
className: css$22.content,
|
|
6964
|
+
"data-code-block-content": true,
|
|
6965
|
+
children: body
|
|
6966
|
+
})]
|
|
8012
6967
|
});
|
|
8013
6968
|
}
|
|
8014
6969
|
//#endregion
|