@yenio-pld/blocks 1.2.0-rc.31 → 1.2.0-rc.32

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.md CHANGED
@@ -111,6 +111,25 @@ import { BrandLockup, AnimatedBrand, GemLoader } from "@yenio-pld/blocks/brand";
111
111
 
112
112
  Favicons and `public/brand` site chrome stay in each frontend (see harness `browser-chrome.md`).
113
113
 
114
+ ## PDF entry (tree-shake)
115
+
116
+ Import the PDF viewer from `@yenio-pld/blocks/pdf` so `pdfjs-dist` stays out of the main barrel:
117
+
118
+ ```ts
119
+ import { PdfViewer, PdfViewerDialog } from "@yenio-pld/blocks/pdf";
120
+ ```
121
+
122
+ `pdfjs-dist` is an optional peer. Pass a bundler-resolved `workerSrc` from the app (do not hardcode a CDN URL inside blocks):
123
+
124
+ ```ts
125
+ const workerSrc = new URL(
126
+ "pdfjs-dist/build/pdf.worker.min.mjs",
127
+ import.meta.url,
128
+ ).toString();
129
+ ```
130
+
131
+ Pass user-visible copy through `labels`. In Next.js, load PDF dialogs with `next/dynamic` and `{ ssr: false }` so the pdfjs chunk stays separate.
132
+
114
133
  ## Quality gate
115
134
 
116
135
  ```bash
package/dist/brand.cjs CHANGED
@@ -1,9 +1,11 @@
1
1
  'use strict';
2
2
 
3
3
  var jsxRuntime = require('react/jsx-runtime');
4
+ var clsx = require('clsx');
5
+ var tailwindMerge = require('tailwind-merge');
4
6
 
5
7
  // src/brand/inline-svg.ts
6
- var ANIMATED_LIGHT_SVG = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="-12 0 646 256" width="646" height="256" role="img"><title>Alhajero</title><style>
8
+ var ANIMATED_LIGHT_SVG = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="-16 -12 670 280" width="670" height="280" role="img"><title>Alhajero</title><style>
7
9
  .f polygon:first-child{transform-box:fill-box;transform-origin:center;animation:in .6s cubic-bezier(.2,.8,.2,1) both;animation-delay:calc(var(--i)*40ms)}@keyframes in{from{opacity:0;transform:scale(.2) rotate(-25deg)}to{opacity:1;transform:none}}
8
10
  .sh,.dk{pointer-events:none;opacity:0}.sh{fill:#FFF1B8;animation:flash 3.6s linear infinite;animation-delay:calc(1.3s + var(--d)*1.3s)}
9
11
  .dk{fill:#5b3a05;animation:shade 3.6s linear infinite;animation-delay:calc(1.3s + var(--d)*1.3s - .18s)}
@@ -16,8 +18,8 @@ var ANIMATED_LIGHT_SVG = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="-12 0
16
18
  @media (prefers-reduced-motion:reduce){.sh,.dk,.sp,.f polygon{animation:none!important}.sh,.dk,.sp{opacity:0}}
17
19
  .g{opacity:0;animation:gi .65s cubic-bezier(.2,.8,.2,1) forwards;animation-delay:calc(.9s + var(--k)*.09s)}
18
20
  @keyframes gi{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
19
- @media (prefers-reduced-motion:reduce){.g{opacity:1!important;animation:none!important}}</style><svg x="-8.86" y="57.14" width="141.71" height="141.71" viewBox="0 0 256 256" overflow="visible"><g id="gem"><g class="f" style="--i:0;--d:0.000"><polygon id="f-apex-l" fill="#C69E4C" stroke="#C69E4C" stroke-width=".6" stroke-linejoin="round" points="94.0,84.0 128.0,70.0 128.0,28.4 126.2,28.5 124.4,29.0 122.7,29.9 121.3,31.0 120.0,32.3 119.1,33.9"/><polygon class="dk" points="94.0,84.0 128.0,70.0 128.0,28.4 126.2,28.5 124.4,29.0 122.7,29.9 121.3,31.0 120.0,32.3 119.1,33.9"/><polygon class="sh" points="94.0,84.0 128.0,70.0 128.0,28.4 126.2,28.5 124.4,29.0 122.7,29.9 121.3,31.0 120.0,32.3 119.1,33.9"/></g><g class="f" style="--i:1;--d:0.045"><polygon id="f-apex-r" fill="#CCAD65" stroke="#CCAD65" stroke-width=".6" stroke-linejoin="round" points="128.0,70.0 162.0,84.0 136.9,33.9 136.0,32.3 134.7,31.0 133.3,29.9 131.6,29.0 129.8,28.5 128.0,28.4 128.0,28.4"/><polygon class="dk" points="128.0,70.0 162.0,84.0 136.9,33.9 136.0,32.3 134.7,31.0 133.3,29.9 131.6,29.0 129.8,28.5 128.0,28.4 128.0,28.4"/><polygon class="sh tw" points="128.0,70.0 162.0,84.0 136.9,33.9 136.0,32.3 134.7,31.0 133.3,29.9 131.6,29.0 129.8,28.5 128.0,28.4 128.0,28.4"/></g><g class="f" style="--i:2;--d:0.141"><polygon id="f-crown-l" fill="#BA8933" stroke="#BA8933" stroke-width=".6" stroke-linejoin="round" points="94.0,84.0 128.0,70.0 128.0,104.0"/><polygon class="dk" points="94.0,84.0 128.0,70.0 128.0,104.0"/><polygon class="sh" points="94.0,84.0 128.0,70.0 128.0,104.0"/></g><g class="f" style="--i:3;--d:0.218"><polygon id="f-crown-r" fill="#AE7726" stroke="#AE7726" stroke-width=".6" stroke-linejoin="round" points="162.0,84.0 128.0,70.0 128.0,104.0"/><polygon class="dk" points="162.0,84.0 128.0,70.0 128.0,104.0"/><polygon class="sh" points="162.0,84.0 128.0,70.0 128.0,104.0"/></g><g class="f" style="--i:4;--d:0.159"><polygon id="f-l1" fill="#C2943F" stroke="#C2943F" stroke-width=".6" stroke-linejoin="round" points="94.0,84.0 128.0,104.0 58.0,156.0"/><polygon class="dk" points="94.0,84.0 128.0,104.0 58.0,156.0"/><polygon class="sh" points="94.0,84.0 128.0,104.0 58.0,156.0"/></g><g class="f" style="--i:5;--d:0.250"><polygon id="f-l2" fill="#A16F20" stroke="#A16F20" stroke-width=".6" stroke-linejoin="round" points="128.0,104.0 102.0,156.0 58.0,156.0"/><polygon class="dk" points="128.0,104.0 102.0,156.0 58.0,156.0"/><polygon class="sh tw" points="128.0,104.0 102.0,156.0 58.0,156.0"/></g><g class="f" style="--i:6;--d:0.296"><polygon id="f-l3" fill="#C9A358" stroke="#C9A358" stroke-width=".6" stroke-linejoin="round" points="58.0,156.0 102.0,156.0 87.0,186.0"/><polygon class="dk" points="58.0,156.0 102.0,156.0 87.0,186.0"/><polygon class="sh" points="58.0,156.0 102.0,156.0 87.0,186.0"/></g><g class="f" style="--i:7;--d:0.263"><polygon id="f-l4" fill="#B17D2B" stroke="#B17D2B" stroke-width=".6" stroke-linejoin="round" points="58.0,156.0 87.0,186.0 43.0,186.0"/><polygon class="dk" points="58.0,156.0 87.0,186.0 43.0,186.0"/><polygon class="sh" points="58.0,156.0 87.0,186.0 43.0,186.0"/></g><g class="f" style="--i:8;--d:0.432"><polygon id="f-l5" fill="#946319" stroke="#946319" stroke-width=".6" stroke-linejoin="round" points="59.7,239.1 43.0,186.0 87.0,186.0 61.4,237.2 61.2,237.6 60.9,238.0 60.6,238.4 60.3,238.7 59.9,239.0"/><polygon class="dk" points="59.7,239.1 43.0,186.0 87.0,186.0 61.4,237.2 61.2,237.6 60.9,238.0 60.6,238.4 60.3,238.7 59.9,239.0"/><polygon class="sh" points="59.7,239.1 43.0,186.0 87.0,186.0 61.4,237.2 61.2,237.6 60.9,238.0 60.6,238.4 60.3,238.7 59.9,239.0"/></g><g class="f" style="--i:9;--d:0.374"><polygon id="f-l6" fill="#BB8C38" stroke="#BB8C38" stroke-width=".6" stroke-linejoin="round" points="58.3,239.8 57.8,239.9 57.4,240.0 56.9,240.0 25.7,240.0 24.7,239.9 23.7,239.7 22.8,239.2 21.9,238.7 21.2,238.0 20.6,237.2 20.1,236.2 19.8,235.3 19.7,234.3 19.8,233.3 20.0,232.3 20.3,231.3 43.0,186.0 59.7,239.1 59.5,239.3 59.1,239.5 58.7,239.7"/><polygon class="dk" points="58.3,239.8 57.8,239.9 57.4,240.0 56.9,240.0 25.7,240.0 24.7,239.9 23.7,239.7 22.8,239.2 21.9,238.7 21.2,238.0 20.6,237.2 20.1,236.2 19.8,235.3 19.7,234.3 19.8,233.3 20.0,232.3 20.3,231.3 43.0,186.0 59.7,239.1 59.5,239.3 59.1,239.5 58.7,239.7"/><polygon class="sh tw" points="58.3,239.8 57.8,239.9 57.4,240.0 56.9,240.0 25.7,240.0 24.7,239.9 23.7,239.7 22.8,239.2 21.9,238.7 21.2,238.0 20.6,237.2 20.1,236.2 19.8,235.3 19.7,234.3 19.8,233.3 20.0,232.3 20.3,231.3 43.0,186.0 59.7,239.1 59.5,239.3 59.1,239.5 58.7,239.7"/></g><g class="f" style="--i:10;--d:0.395"><polygon id="f-r1" fill="#AE7726" stroke="#AE7726" stroke-width=".6" stroke-linejoin="round" points="162.0,84.0 128.0,104.0 198.0,156.0"/><polygon class="dk" points="162.0,84.0 128.0,104.0 198.0,156.0"/><polygon class="sh" points="162.0,84.0 128.0,104.0 198.0,156.0"/></g><g class="f" style="--i:11;--d:0.467"><polygon id="f-r2" fill="#865814" stroke="#865814" stroke-width=".6" stroke-linejoin="round" points="128.0,104.0 154.0,156.0 198.0,156.0"/><polygon class="dk" points="128.0,104.0 154.0,156.0 198.0,156.0"/><polygon class="sh" points="128.0,104.0 154.0,156.0 198.0,156.0"/></g><g class="f" style="--i:12;--d:0.607"><polygon id="f-r3" fill="#B6822B" stroke="#B6822B" stroke-width=".6" stroke-linejoin="round" points="198.0,156.0 154.0,156.0 169.0,186.0"/><polygon class="dk" points="198.0,156.0 154.0,156.0 169.0,186.0"/><polygon class="sh" points="198.0,156.0 154.0,156.0 169.0,186.0"/></g><g class="f" style="--i:13;--d:0.707"><polygon id="f-r4" fill="#946319" stroke="#946319" stroke-width=".6" stroke-linejoin="round" points="198.0,156.0 169.0,186.0 213.0,186.0"/><polygon class="dk" points="198.0,156.0 169.0,186.0 213.0,186.0"/><polygon class="sh tw" points="198.0,156.0 169.0,186.0 213.0,186.0"/></g><g class="f" style="--i:14;--d:0.883"><polygon id="f-r5" fill="#764B10" stroke="#764B10" stroke-width=".6" stroke-linejoin="round" points="196.3,239.1 213.0,186.0 169.0,186.0 194.6,237.2 194.8,237.6 195.1,238.0 195.4,238.4 195.7,238.7 196.1,239.0"/><polygon class="dk" points="196.3,239.1 213.0,186.0 169.0,186.0 194.6,237.2 194.8,237.6 195.1,238.0 195.4,238.4 195.7,238.7 196.1,239.0"/><polygon class="sh" points="196.3,239.1 213.0,186.0 169.0,186.0 194.6,237.2 194.8,237.6 195.1,238.0 195.4,238.4 195.7,238.7 196.1,239.0"/></g><g class="f" style="--i:15;--d:1.000"><polygon id="f-r6" fill="#A67323" stroke="#A67323" stroke-width=".6" stroke-linejoin="round" points="197.7,239.8 198.2,239.9 198.6,240.0 199.1,240.0 230.3,240.0 231.3,239.9 232.3,239.7 233.2,239.2 234.1,238.7 234.8,238.0 235.4,237.2 235.9,236.2 236.2,235.3 236.3,234.3 236.2,233.3 236.0,232.3 235.7,231.3 213.0,186.0 196.3,239.1 196.5,239.3 196.9,239.5 197.3,239.7"/><polygon class="dk" points="197.7,239.8 198.2,239.9 198.6,240.0 199.1,240.0 230.3,240.0 231.3,239.9 232.3,239.7 233.2,239.2 234.1,238.7 234.8,238.0 235.4,237.2 235.9,236.2 236.2,235.3 236.3,234.3 236.2,233.3 236.0,232.3 235.7,231.3 213.0,186.0 196.3,239.1 196.5,239.3 196.9,239.5 197.3,239.7"/><polygon class="sh" points="197.7,239.8 198.2,239.9 198.6,240.0 199.1,240.0 230.3,240.0 231.3,239.9 232.3,239.7 233.2,239.2 234.1,238.7 234.8,238.0 235.4,237.2 235.9,236.2 236.2,235.3 236.3,234.3 236.2,233.3 236.0,232.3 235.7,231.3 213.0,186.0 196.3,239.1 196.5,239.3 196.9,239.5 197.3,239.7"/></g><g class="f" style="--i:16;--d:0.434"><polygon id="f-bar-top" fill="#BA8A32" stroke="#BA8A32" stroke-width=".6" stroke-linejoin="round" points="102.0,156.0 154.0,156.0 128.0,171.0"/><polygon class="dk" points="102.0,156.0 154.0,156.0 128.0,171.0"/><polygon class="sh" points="102.0,156.0 154.0,156.0 128.0,171.0"/></g><g class="f" style="--i:17;--d:0.392"><polygon id="f-bar-l" fill="#C6A152" stroke="#C6A152" stroke-width=".6" stroke-linejoin="round" points="102.0,156.0 128.0,171.0 87.0,186.0"/><polygon class="dk" points="102.0,156.0 128.0,171.0 87.0,186.0"/><polygon class="sh tw" points="102.0,156.0 128.0,171.0 87.0,186.0"/></g><g class="f" style="--i:18;--d:0.544"><polygon id="f-bar-r" fill="#9F6C1B" stroke="#9F6C1B" stroke-width=".6" stroke-linejoin="round" points="154.0,156.0 169.0,186.0 128.0,171.0"/><polygon class="dk" points="154.0,156.0 169.0,186.0 128.0,171.0"/><polygon class="sh" points="154.0,156.0 169.0,186.0 128.0,171.0"/></g><g class="f" style="--i:19;--d:0.502"><polygon id="f-bar-bot" fill="#CCAE68" stroke="#CCAE68" stroke-width=".6" stroke-linejoin="round" points="87.0,186.0 128.0,171.0 169.0,186.0"/><polygon class="dk" points="87.0,186.0 128.0,171.0 169.0,186.0"/><polygon class="sh" points="87.0,186.0 128.0,171.0 169.0,186.0"/></g></g><g id="sparkles"><polygon class="sp" style="--d:-0.038" points="128,-6 134.0,18.0 158,24 134.0,30.0 128,54 122.0,30.0 98,24 122.0,18.0" transform-origin="128 24"/><polygon class="sp" style="--d:0.553" points="196,108 200.0,124.0 216,128 200.0,132.0 196,148 192.0,132.0 176,128 192.0,124.0" transform-origin="196 128"/><polygon class="sp" style="--d:1.009" points="228,202 233.6,224.4 256,230 233.6,235.6 228,258 222.4,235.6 200,230 222.4,224.4" transform-origin="228 230"/><polygon class="sp" style="--d:0.064" points="62,102 65.2,114.8 78,118 65.2,121.2 62,134 58.8,121.2 46,118 58.8,114.8" transform-origin="62 118"/></g></svg><g id="wordmark" transform="translate(143.0 190)"><g fill="none" stroke="#15120F" stroke-width="18" stroke-linecap="butt" stroke-linejoin="miter"><g class="g" style="--k:0"><path transform="translate(0.0 0)" d="M0 -124 V0"/></g><g class="g" style="--k:1"><path transform="translate(28.0 0)" d="M0 -124 V0 M0 -48 A30 30 0 0 1 60 -48 V0"/></g><g class="g" style="--k:2"><path transform="translate(121.0 0)" d="M69 -78 V0 M69 -39 A39 39 0 1 0 -9 -39 A39 39 0 1 0 69 -39"/></g><g class="g" style="--k:3"><path transform="translate(218.0 0)" d="M0 -78 V10 A24 24 0 0 1 -24 34"/></g><g class="g" style="--k:4"><path transform="translate(248.0 0)" d="M-4 -39 H74 A39 39 0 1 0 62.6 -11.4"/></g><g class="g" style="--k:5"><path transform="translate(348.0 0)" d="M0 -78 V0 M0 -48 A30 30 0 0 1 30 -78"/></g><g class="g" style="--k:6"><path transform="translate(384.0 0)" d="M39 -78 A39 39 0 1 0 39 0 A39 39 0 1 0 39 -78"/></g></g><g class="g" style="--k:3"><path fill="#C99A3B" d="M218.0 -126 l13 13 l-13 13 l-13 -13 Z"/></g></g></svg>`;
20
- var ANIMATED_DARK_SVG = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="-12 0 646 256" width="646" height="256" role="img"><title>Alhajero</title><style>
21
+ @media (prefers-reduced-motion:reduce){.g{opacity:1!important;animation:none!important}}</style><svg x="-12" y="49.4" width="150" height="150" viewBox="0 0 256 256" overflow="visible"><g id="gem"><g class="f" style="--i:0;--d:0.000"><polygon id="f-apex-l" fill="#C69E4C" stroke="#C69E4C" stroke-width=".6" stroke-linejoin="round" points="94.0,84.0 128.0,70.0 128.0,28.4 126.2,28.5 124.4,29.0 122.7,29.9 121.3,31.0 120.0,32.3 119.1,33.9"/><polygon class="dk" points="94.0,84.0 128.0,70.0 128.0,28.4 126.2,28.5 124.4,29.0 122.7,29.9 121.3,31.0 120.0,32.3 119.1,33.9"/><polygon class="sh" points="94.0,84.0 128.0,70.0 128.0,28.4 126.2,28.5 124.4,29.0 122.7,29.9 121.3,31.0 120.0,32.3 119.1,33.9"/></g><g class="f" style="--i:1;--d:0.045"><polygon id="f-apex-r" fill="#CCAD65" stroke="#CCAD65" stroke-width=".6" stroke-linejoin="round" points="128.0,70.0 162.0,84.0 136.9,33.9 136.0,32.3 134.7,31.0 133.3,29.9 131.6,29.0 129.8,28.5 128.0,28.4 128.0,28.4"/><polygon class="dk" points="128.0,70.0 162.0,84.0 136.9,33.9 136.0,32.3 134.7,31.0 133.3,29.9 131.6,29.0 129.8,28.5 128.0,28.4 128.0,28.4"/><polygon class="sh tw" points="128.0,70.0 162.0,84.0 136.9,33.9 136.0,32.3 134.7,31.0 133.3,29.9 131.6,29.0 129.8,28.5 128.0,28.4 128.0,28.4"/></g><g class="f" style="--i:2;--d:0.141"><polygon id="f-crown-l" fill="#BA8933" stroke="#BA8933" stroke-width=".6" stroke-linejoin="round" points="94.0,84.0 128.0,70.0 128.0,104.0"/><polygon class="dk" points="94.0,84.0 128.0,70.0 128.0,104.0"/><polygon class="sh" points="94.0,84.0 128.0,70.0 128.0,104.0"/></g><g class="f" style="--i:3;--d:0.218"><polygon id="f-crown-r" fill="#AE7726" stroke="#AE7726" stroke-width=".6" stroke-linejoin="round" points="162.0,84.0 128.0,70.0 128.0,104.0"/><polygon class="dk" points="162.0,84.0 128.0,70.0 128.0,104.0"/><polygon class="sh" points="162.0,84.0 128.0,70.0 128.0,104.0"/></g><g class="f" style="--i:4;--d:0.159"><polygon id="f-l1" fill="#C2943F" stroke="#C2943F" stroke-width=".6" stroke-linejoin="round" points="94.0,84.0 128.0,104.0 58.0,156.0"/><polygon class="dk" points="94.0,84.0 128.0,104.0 58.0,156.0"/><polygon class="sh" points="94.0,84.0 128.0,104.0 58.0,156.0"/></g><g class="f" style="--i:5;--d:0.250"><polygon id="f-l2" fill="#A16F20" stroke="#A16F20" stroke-width=".6" stroke-linejoin="round" points="128.0,104.0 102.0,156.0 58.0,156.0"/><polygon class="dk" points="128.0,104.0 102.0,156.0 58.0,156.0"/><polygon class="sh tw" points="128.0,104.0 102.0,156.0 58.0,156.0"/></g><g class="f" style="--i:6;--d:0.296"><polygon id="f-l3" fill="#C9A358" stroke="#C9A358" stroke-width=".6" stroke-linejoin="round" points="58.0,156.0 102.0,156.0 87.0,186.0"/><polygon class="dk" points="58.0,156.0 102.0,156.0 87.0,186.0"/><polygon class="sh" points="58.0,156.0 102.0,156.0 87.0,186.0"/></g><g class="f" style="--i:7;--d:0.263"><polygon id="f-l4" fill="#B17D2B" stroke="#B17D2B" stroke-width=".6" stroke-linejoin="round" points="58.0,156.0 87.0,186.0 43.0,186.0"/><polygon class="dk" points="58.0,156.0 87.0,186.0 43.0,186.0"/><polygon class="sh" points="58.0,156.0 87.0,186.0 43.0,186.0"/></g><g class="f" style="--i:8;--d:0.432"><polygon id="f-l5" fill="#946319" stroke="#946319" stroke-width=".6" stroke-linejoin="round" points="59.7,239.1 43.0,186.0 87.0,186.0 61.4,237.2 61.2,237.6 60.9,238.0 60.6,238.4 60.3,238.7 59.9,239.0"/><polygon class="dk" points="59.7,239.1 43.0,186.0 87.0,186.0 61.4,237.2 61.2,237.6 60.9,238.0 60.6,238.4 60.3,238.7 59.9,239.0"/><polygon class="sh" points="59.7,239.1 43.0,186.0 87.0,186.0 61.4,237.2 61.2,237.6 60.9,238.0 60.6,238.4 60.3,238.7 59.9,239.0"/></g><g class="f" style="--i:9;--d:0.374"><polygon id="f-l6" fill="#BB8C38" stroke="#BB8C38" stroke-width=".6" stroke-linejoin="round" points="58.3,239.8 57.8,239.9 57.4,240.0 56.9,240.0 25.7,240.0 24.7,239.9 23.7,239.7 22.8,239.2 21.9,238.7 21.2,238.0 20.6,237.2 20.1,236.2 19.8,235.3 19.7,234.3 19.8,233.3 20.0,232.3 20.3,231.3 43.0,186.0 59.7,239.1 59.5,239.3 59.1,239.5 58.7,239.7"/><polygon class="dk" points="58.3,239.8 57.8,239.9 57.4,240.0 56.9,240.0 25.7,240.0 24.7,239.9 23.7,239.7 22.8,239.2 21.9,238.7 21.2,238.0 20.6,237.2 20.1,236.2 19.8,235.3 19.7,234.3 19.8,233.3 20.0,232.3 20.3,231.3 43.0,186.0 59.7,239.1 59.5,239.3 59.1,239.5 58.7,239.7"/><polygon class="sh tw" points="58.3,239.8 57.8,239.9 57.4,240.0 56.9,240.0 25.7,240.0 24.7,239.9 23.7,239.7 22.8,239.2 21.9,238.7 21.2,238.0 20.6,237.2 20.1,236.2 19.8,235.3 19.7,234.3 19.8,233.3 20.0,232.3 20.3,231.3 43.0,186.0 59.7,239.1 59.5,239.3 59.1,239.5 58.7,239.7"/></g><g class="f" style="--i:10;--d:0.395"><polygon id="f-r1" fill="#AE7726" stroke="#AE7726" stroke-width=".6" stroke-linejoin="round" points="162.0,84.0 128.0,104.0 198.0,156.0"/><polygon class="dk" points="162.0,84.0 128.0,104.0 198.0,156.0"/><polygon class="sh" points="162.0,84.0 128.0,104.0 198.0,156.0"/></g><g class="f" style="--i:11;--d:0.467"><polygon id="f-r2" fill="#865814" stroke="#865814" stroke-width=".6" stroke-linejoin="round" points="128.0,104.0 154.0,156.0 198.0,156.0"/><polygon class="dk" points="128.0,104.0 154.0,156.0 198.0,156.0"/><polygon class="sh" points="128.0,104.0 154.0,156.0 198.0,156.0"/></g><g class="f" style="--i:12;--d:0.607"><polygon id="f-r3" fill="#B6822B" stroke="#B6822B" stroke-width=".6" stroke-linejoin="round" points="198.0,156.0 154.0,156.0 169.0,186.0"/><polygon class="dk" points="198.0,156.0 154.0,156.0 169.0,186.0"/><polygon class="sh" points="198.0,156.0 154.0,156.0 169.0,186.0"/></g><g class="f" style="--i:13;--d:0.707"><polygon id="f-r4" fill="#946319" stroke="#946319" stroke-width=".6" stroke-linejoin="round" points="198.0,156.0 169.0,186.0 213.0,186.0"/><polygon class="dk" points="198.0,156.0 169.0,186.0 213.0,186.0"/><polygon class="sh tw" points="198.0,156.0 169.0,186.0 213.0,186.0"/></g><g class="f" style="--i:14;--d:0.883"><polygon id="f-r5" fill="#764B10" stroke="#764B10" stroke-width=".6" stroke-linejoin="round" points="196.3,239.1 213.0,186.0 169.0,186.0 194.6,237.2 194.8,237.6 195.1,238.0 195.4,238.4 195.7,238.7 196.1,239.0"/><polygon class="dk" points="196.3,239.1 213.0,186.0 169.0,186.0 194.6,237.2 194.8,237.6 195.1,238.0 195.4,238.4 195.7,238.7 196.1,239.0"/><polygon class="sh" points="196.3,239.1 213.0,186.0 169.0,186.0 194.6,237.2 194.8,237.6 195.1,238.0 195.4,238.4 195.7,238.7 196.1,239.0"/></g><g class="f" style="--i:15;--d:1.000"><polygon id="f-r6" fill="#A67323" stroke="#A67323" stroke-width=".6" stroke-linejoin="round" points="197.7,239.8 198.2,239.9 198.6,240.0 199.1,240.0 230.3,240.0 231.3,239.9 232.3,239.7 233.2,239.2 234.1,238.7 234.8,238.0 235.4,237.2 235.9,236.2 236.2,235.3 236.3,234.3 236.2,233.3 236.0,232.3 235.7,231.3 213.0,186.0 196.3,239.1 196.5,239.3 196.9,239.5 197.3,239.7"/><polygon class="dk" points="197.7,239.8 198.2,239.9 198.6,240.0 199.1,240.0 230.3,240.0 231.3,239.9 232.3,239.7 233.2,239.2 234.1,238.7 234.8,238.0 235.4,237.2 235.9,236.2 236.2,235.3 236.3,234.3 236.2,233.3 236.0,232.3 235.7,231.3 213.0,186.0 196.3,239.1 196.5,239.3 196.9,239.5 197.3,239.7"/><polygon class="sh" points="197.7,239.8 198.2,239.9 198.6,240.0 199.1,240.0 230.3,240.0 231.3,239.9 232.3,239.7 233.2,239.2 234.1,238.7 234.8,238.0 235.4,237.2 235.9,236.2 236.2,235.3 236.3,234.3 236.2,233.3 236.0,232.3 235.7,231.3 213.0,186.0 196.3,239.1 196.5,239.3 196.9,239.5 197.3,239.7"/></g><g class="f" style="--i:16;--d:0.434"><polygon id="f-bar-top" fill="#BA8A32" stroke="#BA8A32" stroke-width=".6" stroke-linejoin="round" points="102.0,156.0 154.0,156.0 128.0,171.0"/><polygon class="dk" points="102.0,156.0 154.0,156.0 128.0,171.0"/><polygon class="sh" points="102.0,156.0 154.0,156.0 128.0,171.0"/></g><g class="f" style="--i:17;--d:0.392"><polygon id="f-bar-l" fill="#C6A152" stroke="#C6A152" stroke-width=".6" stroke-linejoin="round" points="102.0,156.0 128.0,171.0 87.0,186.0"/><polygon class="dk" points="102.0,156.0 128.0,171.0 87.0,186.0"/><polygon class="sh tw" points="102.0,156.0 128.0,171.0 87.0,186.0"/></g><g class="f" style="--i:18;--d:0.544"><polygon id="f-bar-r" fill="#9F6C1B" stroke="#9F6C1B" stroke-width=".6" stroke-linejoin="round" points="154.0,156.0 169.0,186.0 128.0,171.0"/><polygon class="dk" points="154.0,156.0 169.0,186.0 128.0,171.0"/><polygon class="sh" points="154.0,156.0 169.0,186.0 128.0,171.0"/></g><g class="f" style="--i:19;--d:0.502"><polygon id="f-bar-bot" fill="#CCAE68" stroke="#CCAE68" stroke-width=".6" stroke-linejoin="round" points="87.0,186.0 128.0,171.0 169.0,186.0"/><polygon class="dk" points="87.0,186.0 128.0,171.0 169.0,186.0"/><polygon class="sh" points="87.0,186.0 128.0,171.0 169.0,186.0"/></g></g><g id="sparkles"><polygon class="sp" style="--d:-0.038" points="128,-6 134.0,18.0 158,24 134.0,30.0 128,54 122.0,30.0 98,24 122.0,18.0" transform-origin="128 24"/><polygon class="sp" style="--d:0.553" points="196,108 200.0,124.0 216,128 200.0,132.0 196,148 192.0,132.0 176,128 192.0,124.0" transform-origin="196 128"/><polygon class="sp" style="--d:1.009" points="228,202 233.6,224.4 256,230 233.6,235.6 228,258 222.4,235.6 200,230 222.4,224.4" transform-origin="228 230"/><polygon class="sp" style="--d:0.064" points="62,102 65.2,114.8 78,118 65.2,121.2 62,134 58.8,121.2 46,118 58.8,114.8" transform-origin="62 118"/></g></svg><g id="wordmark" transform="translate(143.0 190)"><g fill="none" stroke="#15120F" stroke-width="18" stroke-linecap="butt" stroke-linejoin="miter"><g class="g" style="--k:0"><path transform="translate(0.0 0)" d="M0 -124 V0"/></g><g class="g" style="--k:1"><path transform="translate(28.0 0)" d="M0 -124 V0 M0 -48 A30 30 0 0 1 60 -48 V0"/></g><g class="g" style="--k:2"><path transform="translate(121.0 0)" d="M69 -78 V0 M69 -39 A39 39 0 1 0 -9 -39 A39 39 0 1 0 69 -39"/></g><g class="g" style="--k:3"><path transform="translate(218.0 0)" d="M0 -78 V10 A24 24 0 0 1 -24 34"/></g><g class="g" style="--k:4"><path transform="translate(248.0 0)" d="M-4 -39 H74 A39 39 0 1 0 62.6 -11.4"/></g><g class="g" style="--k:5"><path transform="translate(348.0 0)" d="M0 -78 V0 M0 -48 A30 30 0 0 1 30 -78"/></g><g class="g" style="--k:6"><path transform="translate(384.0 0)" d="M39 -78 A39 39 0 1 0 39 0 A39 39 0 1 0 39 -78"/></g></g><g class="g" style="--k:3"><path fill="#C99A3B" d="M218.0 -126 l13 13 l-13 13 l-13 -13 Z"/></g></g></svg>`;
22
+ var ANIMATED_DARK_SVG = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="-16 -12 670 280" width="670" height="280" role="img"><title>Alhajero</title><style>
21
23
  .f polygon:first-child{transform-box:fill-box;transform-origin:center;animation:in .6s cubic-bezier(.2,.8,.2,1) both;animation-delay:calc(var(--i)*40ms)}@keyframes in{from{opacity:0;transform:scale(.2) rotate(-25deg)}to{opacity:1;transform:none}}
22
24
  .sh,.dk{pointer-events:none;opacity:0}.sh{fill:#FFF1B8;animation:flash 3.6s linear infinite;animation-delay:calc(1.3s + var(--d)*1.3s)}
23
25
  .dk{fill:#5b3a05;animation:shade 3.6s linear infinite;animation-delay:calc(1.3s + var(--d)*1.3s - .18s)}
@@ -30,8 +32,8 @@ var ANIMATED_DARK_SVG = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="-12 0
30
32
  @media (prefers-reduced-motion:reduce){.sh,.dk,.sp,.f polygon{animation:none!important}.sh,.dk,.sp{opacity:0}}
31
33
  .g{opacity:0;animation:gi .65s cubic-bezier(.2,.8,.2,1) forwards;animation-delay:calc(.9s + var(--k)*.09s)}
32
34
  @keyframes gi{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
33
- @media (prefers-reduced-motion:reduce){.g{opacity:1!important;animation:none!important}}</style><svg x="-8.86" y="57.14" width="141.71" height="141.71" viewBox="0 0 256 256" overflow="visible"><g id="gem"><g class="f" style="--i:0;--d:0.000"><polygon id="f-apex-l" fill="#F7DC8B" stroke="#F7DC8B" stroke-width=".6" stroke-linejoin="round" points="94.0,84.0 128.0,70.0 128.0,28.4 126.2,28.5 124.4,29.0 122.7,29.9 121.3,31.0 120.0,32.3 119.1,33.9"/><polygon class="dk" points="94.0,84.0 128.0,70.0 128.0,28.4 126.2,28.5 124.4,29.0 122.7,29.9 121.3,31.0 120.0,32.3 119.1,33.9"/><polygon class="sh" points="94.0,84.0 128.0,70.0 128.0,28.4 126.2,28.5 124.4,29.0 122.7,29.9 121.3,31.0 120.0,32.3 119.1,33.9"/></g><g class="f" style="--i:1;--d:0.045"><polygon id="f-apex-r" fill="#FFF0B8" stroke="#FFF0B8" stroke-width=".6" stroke-linejoin="round" points="128.0,70.0 162.0,84.0 136.9,33.9 136.0,32.3 134.7,31.0 133.3,29.9 131.6,29.0 129.8,28.5 128.0,28.4 128.0,28.4"/><polygon class="dk" points="128.0,70.0 162.0,84.0 136.9,33.9 136.0,32.3 134.7,31.0 133.3,29.9 131.6,29.0 129.8,28.5 128.0,28.4 128.0,28.4"/><polygon class="sh tw" points="128.0,70.0 162.0,84.0 136.9,33.9 136.0,32.3 134.7,31.0 133.3,29.9 131.6,29.0 129.8,28.5 128.0,28.4 128.0,28.4"/></g><g class="f" style="--i:2;--d:0.141"><polygon id="f-crown-l" fill="#E9BE5C" stroke="#E9BE5C" stroke-width=".6" stroke-linejoin="round" points="94.0,84.0 128.0,70.0 128.0,104.0"/><polygon class="dk" points="94.0,84.0 128.0,70.0 128.0,104.0"/><polygon class="sh" points="94.0,84.0 128.0,70.0 128.0,104.0"/></g><g class="f" style="--i:3;--d:0.218"><polygon id="f-crown-r" fill="#D9A545" stroke="#D9A545" stroke-width=".6" stroke-linejoin="round" points="162.0,84.0 128.0,70.0 128.0,104.0"/><polygon class="dk" points="162.0,84.0 128.0,70.0 128.0,104.0"/><polygon class="sh" points="162.0,84.0 128.0,70.0 128.0,104.0"/></g><g class="f" style="--i:4;--d:0.159"><polygon id="f-l1" fill="#F2CE72" stroke="#F2CE72" stroke-width=".6" stroke-linejoin="round" points="94.0,84.0 128.0,104.0 58.0,156.0"/><polygon class="dk" points="94.0,84.0 128.0,104.0 58.0,156.0"/><polygon class="sh" points="94.0,84.0 128.0,104.0 58.0,156.0"/></g><g class="f" style="--i:5;--d:0.250"><polygon id="f-l2" fill="#C99A3B" stroke="#C99A3B" stroke-width=".6" stroke-linejoin="round" points="128.0,104.0 102.0,156.0 58.0,156.0"/><polygon class="dk" points="128.0,104.0 102.0,156.0 58.0,156.0"/><polygon class="sh tw" points="128.0,104.0 102.0,156.0 58.0,156.0"/></g><g class="f" style="--i:6;--d:0.296"><polygon id="f-l3" fill="#FBE3A0" stroke="#FBE3A0" stroke-width=".6" stroke-linejoin="round" points="58.0,156.0 102.0,156.0 87.0,186.0"/><polygon class="dk" points="58.0,156.0 102.0,156.0 87.0,186.0"/><polygon class="sh" points="58.0,156.0 102.0,156.0 87.0,186.0"/></g><g class="f" style="--i:7;--d:0.263"><polygon id="f-l4" fill="#DDAE4E" stroke="#DDAE4E" stroke-width=".6" stroke-linejoin="round" points="58.0,156.0 87.0,186.0 43.0,186.0"/><polygon class="dk" points="58.0,156.0 87.0,186.0 43.0,186.0"/><polygon class="sh" points="58.0,156.0 87.0,186.0 43.0,186.0"/></g><g class="f" style="--i:8;--d:0.432"><polygon id="f-l5" fill="#B98A2E" stroke="#B98A2E" stroke-width=".6" stroke-linejoin="round" points="59.7,239.1 43.0,186.0 87.0,186.0 61.4,237.2 61.2,237.6 60.9,238.0 60.6,238.4 60.3,238.7 59.9,239.0"/><polygon class="dk" points="59.7,239.1 43.0,186.0 87.0,186.0 61.4,237.2 61.2,237.6 60.9,238.0 60.6,238.4 60.3,238.7 59.9,239.0"/><polygon class="sh" points="59.7,239.1 43.0,186.0 87.0,186.0 61.4,237.2 61.2,237.6 60.9,238.0 60.6,238.4 60.3,238.7 59.9,239.0"/></g><g class="f" style="--i:9;--d:0.374"><polygon id="f-l6" fill="#EAC266" stroke="#EAC266" stroke-width=".6" stroke-linejoin="round" points="58.3,239.8 57.8,239.9 57.4,240.0 56.9,240.0 25.7,240.0 24.7,239.9 23.7,239.7 22.8,239.2 21.9,238.7 21.2,238.0 20.6,237.2 20.1,236.2 19.8,235.3 19.7,234.3 19.8,233.3 20.0,232.3 20.3,231.3 43.0,186.0 59.7,239.1 59.5,239.3 59.1,239.5 58.7,239.7"/><polygon class="dk" points="58.3,239.8 57.8,239.9 57.4,240.0 56.9,240.0 25.7,240.0 24.7,239.9 23.7,239.7 22.8,239.2 21.9,238.7 21.2,238.0 20.6,237.2 20.1,236.2 19.8,235.3 19.7,234.3 19.8,233.3 20.0,232.3 20.3,231.3 43.0,186.0 59.7,239.1 59.5,239.3 59.1,239.5 58.7,239.7"/><polygon class="sh tw" points="58.3,239.8 57.8,239.9 57.4,240.0 56.9,240.0 25.7,240.0 24.7,239.9 23.7,239.7 22.8,239.2 21.9,238.7 21.2,238.0 20.6,237.2 20.1,236.2 19.8,235.3 19.7,234.3 19.8,233.3 20.0,232.3 20.3,231.3 43.0,186.0 59.7,239.1 59.5,239.3 59.1,239.5 58.7,239.7"/></g><g class="f" style="--i:10;--d:0.395"><polygon id="f-r1" fill="#D9A545" stroke="#D9A545" stroke-width=".6" stroke-linejoin="round" points="162.0,84.0 128.0,104.0 198.0,156.0"/><polygon class="dk" points="162.0,84.0 128.0,104.0 198.0,156.0"/><polygon class="sh" points="162.0,84.0 128.0,104.0 198.0,156.0"/></g><g class="f" style="--i:11;--d:0.467"><polygon id="f-r2" fill="#A87A25" stroke="#A87A25" stroke-width=".6" stroke-linejoin="round" points="128.0,104.0 154.0,156.0 198.0,156.0"/><polygon class="dk" points="128.0,104.0 154.0,156.0 198.0,156.0"/><polygon class="sh" points="128.0,104.0 154.0,156.0 198.0,156.0"/></g><g class="f" style="--i:12;--d:0.607"><polygon id="f-r3" fill="#E3B54F" stroke="#E3B54F" stroke-width=".6" stroke-linejoin="round" points="198.0,156.0 154.0,156.0 169.0,186.0"/><polygon class="dk" points="198.0,156.0 154.0,156.0 169.0,186.0"/><polygon class="sh" points="198.0,156.0 154.0,156.0 169.0,186.0"/></g><g class="f" style="--i:13;--d:0.707"><polygon id="f-r4" fill="#B98A2E" stroke="#B98A2E" stroke-width=".6" stroke-linejoin="round" points="198.0,156.0 169.0,186.0 213.0,186.0"/><polygon class="dk" points="198.0,156.0 169.0,186.0 213.0,186.0"/><polygon class="sh tw" points="198.0,156.0 169.0,186.0 213.0,186.0"/></g><g class="f" style="--i:14;--d:0.883"><polygon id="f-r5" fill="#94681D" stroke="#94681D" stroke-width=".6" stroke-linejoin="round" points="196.3,239.1 213.0,186.0 169.0,186.0 194.6,237.2 194.8,237.6 195.1,238.0 195.4,238.4 195.7,238.7 196.1,239.0"/><polygon class="dk" points="196.3,239.1 213.0,186.0 169.0,186.0 194.6,237.2 194.8,237.6 195.1,238.0 195.4,238.4 195.7,238.7 196.1,239.0"/><polygon class="sh" points="196.3,239.1 213.0,186.0 169.0,186.0 194.6,237.2 194.8,237.6 195.1,238.0 195.4,238.4 195.7,238.7 196.1,239.0"/></g><g class="f" style="--i:15;--d:1.000"><polygon id="f-r6" fill="#CFA040" stroke="#CFA040" stroke-width=".6" stroke-linejoin="round" points="197.7,239.8 198.2,239.9 198.6,240.0 199.1,240.0 230.3,240.0 231.3,239.9 232.3,239.7 233.2,239.2 234.1,238.7 234.8,238.0 235.4,237.2 235.9,236.2 236.2,235.3 236.3,234.3 236.2,233.3 236.0,232.3 235.7,231.3 213.0,186.0 196.3,239.1 196.5,239.3 196.9,239.5 197.3,239.7"/><polygon class="dk" points="197.7,239.8 198.2,239.9 198.6,240.0 199.1,240.0 230.3,240.0 231.3,239.9 232.3,239.7 233.2,239.2 234.1,238.7 234.8,238.0 235.4,237.2 235.9,236.2 236.2,235.3 236.3,234.3 236.2,233.3 236.0,232.3 235.7,231.3 213.0,186.0 196.3,239.1 196.5,239.3 196.9,239.5 197.3,239.7"/><polygon class="sh" points="197.7,239.8 198.2,239.9 198.6,240.0 199.1,240.0 230.3,240.0 231.3,239.9 232.3,239.7 233.2,239.2 234.1,238.7 234.8,238.0 235.4,237.2 235.9,236.2 236.2,235.3 236.3,234.3 236.2,233.3 236.0,232.3 235.7,231.3 213.0,186.0 196.3,239.1 196.5,239.3 196.9,239.5 197.3,239.7"/></g><g class="f" style="--i:16;--d:0.434"><polygon id="f-bar-top" fill="#E8BF5B" stroke="#E8BF5B" stroke-width=".6" stroke-linejoin="round" points="102.0,156.0 154.0,156.0 128.0,171.0"/><polygon class="dk" points="102.0,156.0 154.0,156.0 128.0,171.0"/><polygon class="sh" points="102.0,156.0 154.0,156.0 128.0,171.0"/></g><g class="f" style="--i:17;--d:0.392"><polygon id="f-bar-l" fill="#F8DF95" stroke="#F8DF95" stroke-width=".6" stroke-linejoin="round" points="102.0,156.0 128.0,171.0 87.0,186.0"/><polygon class="dk" points="102.0,156.0 128.0,171.0 87.0,186.0"/><polygon class="sh tw" points="102.0,156.0 128.0,171.0 87.0,186.0"/></g><g class="f" style="--i:18;--d:0.544"><polygon id="f-bar-r" fill="#C79631" stroke="#C79631" stroke-width=".6" stroke-linejoin="round" points="154.0,156.0 169.0,186.0 128.0,171.0"/><polygon class="dk" points="154.0,156.0 169.0,186.0 128.0,171.0"/><polygon class="sh" points="154.0,156.0 169.0,186.0 128.0,171.0"/></g><g class="f" style="--i:19;--d:0.502"><polygon id="f-bar-bot" fill="#FFF1BD" stroke="#FFF1BD" stroke-width=".6" stroke-linejoin="round" points="87.0,186.0 128.0,171.0 169.0,186.0"/><polygon class="dk" points="87.0,186.0 128.0,171.0 169.0,186.0"/><polygon class="sh" points="87.0,186.0 128.0,171.0 169.0,186.0"/></g></g><g id="sparkles"><polygon class="sp" style="--d:-0.038" points="128,-6 134.0,18.0 158,24 134.0,30.0 128,54 122.0,30.0 98,24 122.0,18.0" transform-origin="128 24"/><polygon class="sp" style="--d:0.553" points="196,108 200.0,124.0 216,128 200.0,132.0 196,148 192.0,132.0 176,128 192.0,124.0" transform-origin="196 128"/><polygon class="sp" style="--d:1.009" points="228,202 233.6,224.4 256,230 233.6,235.6 228,258 222.4,235.6 200,230 222.4,224.4" transform-origin="228 230"/><polygon class="sp" style="--d:0.064" points="62,102 65.2,114.8 78,118 65.2,121.2 62,134 58.8,121.2 46,118 58.8,114.8" transform-origin="62 118"/></g></svg><g id="wordmark" transform="translate(143.0 190)"><g fill="none" stroke="#FFFFFF" stroke-width="18" stroke-linecap="butt" stroke-linejoin="miter"><g class="g" style="--k:0"><path transform="translate(0.0 0)" d="M0 -124 V0"/></g><g class="g" style="--k:1"><path transform="translate(28.0 0)" d="M0 -124 V0 M0 -48 A30 30 0 0 1 60 -48 V0"/></g><g class="g" style="--k:2"><path transform="translate(121.0 0)" d="M69 -78 V0 M69 -39 A39 39 0 1 0 -9 -39 A39 39 0 1 0 69 -39"/></g><g class="g" style="--k:3"><path transform="translate(218.0 0)" d="M0 -78 V10 A24 24 0 0 1 -24 34"/></g><g class="g" style="--k:4"><path transform="translate(248.0 0)" d="M-4 -39 H74 A39 39 0 1 0 62.6 -11.4"/></g><g class="g" style="--k:5"><path transform="translate(348.0 0)" d="M0 -78 V0 M0 -48 A30 30 0 0 1 30 -78"/></g><g class="g" style="--k:6"><path transform="translate(384.0 0)" d="M39 -78 A39 39 0 1 0 39 0 A39 39 0 1 0 39 -78"/></g></g><g class="g" style="--k:3"><path fill="#C99A3B" d="M218.0 -126 l13 13 l-13 13 l-13 -13 Z"/></g></g></svg>`;
34
- var GEM_ANIMATED_LIGHT_SVG = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" width="256" height="256" role="img" aria-labelledby="t"><title id="t">Alhajero gem A</title><style>
35
+ @media (prefers-reduced-motion:reduce){.g{opacity:1!important;animation:none!important}}</style><svg x="-12" y="49.4" width="150" height="150" viewBox="0 0 256 256" overflow="visible"><g id="gem"><g class="f" style="--i:0;--d:0.000"><polygon id="f-apex-l" fill="#F7DC8B" stroke="#F7DC8B" stroke-width=".6" stroke-linejoin="round" points="94.0,84.0 128.0,70.0 128.0,28.4 126.2,28.5 124.4,29.0 122.7,29.9 121.3,31.0 120.0,32.3 119.1,33.9"/><polygon class="dk" points="94.0,84.0 128.0,70.0 128.0,28.4 126.2,28.5 124.4,29.0 122.7,29.9 121.3,31.0 120.0,32.3 119.1,33.9"/><polygon class="sh" points="94.0,84.0 128.0,70.0 128.0,28.4 126.2,28.5 124.4,29.0 122.7,29.9 121.3,31.0 120.0,32.3 119.1,33.9"/></g><g class="f" style="--i:1;--d:0.045"><polygon id="f-apex-r" fill="#FFF0B8" stroke="#FFF0B8" stroke-width=".6" stroke-linejoin="round" points="128.0,70.0 162.0,84.0 136.9,33.9 136.0,32.3 134.7,31.0 133.3,29.9 131.6,29.0 129.8,28.5 128.0,28.4 128.0,28.4"/><polygon class="dk" points="128.0,70.0 162.0,84.0 136.9,33.9 136.0,32.3 134.7,31.0 133.3,29.9 131.6,29.0 129.8,28.5 128.0,28.4 128.0,28.4"/><polygon class="sh tw" points="128.0,70.0 162.0,84.0 136.9,33.9 136.0,32.3 134.7,31.0 133.3,29.9 131.6,29.0 129.8,28.5 128.0,28.4 128.0,28.4"/></g><g class="f" style="--i:2;--d:0.141"><polygon id="f-crown-l" fill="#E9BE5C" stroke="#E9BE5C" stroke-width=".6" stroke-linejoin="round" points="94.0,84.0 128.0,70.0 128.0,104.0"/><polygon class="dk" points="94.0,84.0 128.0,70.0 128.0,104.0"/><polygon class="sh" points="94.0,84.0 128.0,70.0 128.0,104.0"/></g><g class="f" style="--i:3;--d:0.218"><polygon id="f-crown-r" fill="#D9A545" stroke="#D9A545" stroke-width=".6" stroke-linejoin="round" points="162.0,84.0 128.0,70.0 128.0,104.0"/><polygon class="dk" points="162.0,84.0 128.0,70.0 128.0,104.0"/><polygon class="sh" points="162.0,84.0 128.0,70.0 128.0,104.0"/></g><g class="f" style="--i:4;--d:0.159"><polygon id="f-l1" fill="#F2CE72" stroke="#F2CE72" stroke-width=".6" stroke-linejoin="round" points="94.0,84.0 128.0,104.0 58.0,156.0"/><polygon class="dk" points="94.0,84.0 128.0,104.0 58.0,156.0"/><polygon class="sh" points="94.0,84.0 128.0,104.0 58.0,156.0"/></g><g class="f" style="--i:5;--d:0.250"><polygon id="f-l2" fill="#C99A3B" stroke="#C99A3B" stroke-width=".6" stroke-linejoin="round" points="128.0,104.0 102.0,156.0 58.0,156.0"/><polygon class="dk" points="128.0,104.0 102.0,156.0 58.0,156.0"/><polygon class="sh tw" points="128.0,104.0 102.0,156.0 58.0,156.0"/></g><g class="f" style="--i:6;--d:0.296"><polygon id="f-l3" fill="#FBE3A0" stroke="#FBE3A0" stroke-width=".6" stroke-linejoin="round" points="58.0,156.0 102.0,156.0 87.0,186.0"/><polygon class="dk" points="58.0,156.0 102.0,156.0 87.0,186.0"/><polygon class="sh" points="58.0,156.0 102.0,156.0 87.0,186.0"/></g><g class="f" style="--i:7;--d:0.263"><polygon id="f-l4" fill="#DDAE4E" stroke="#DDAE4E" stroke-width=".6" stroke-linejoin="round" points="58.0,156.0 87.0,186.0 43.0,186.0"/><polygon class="dk" points="58.0,156.0 87.0,186.0 43.0,186.0"/><polygon class="sh" points="58.0,156.0 87.0,186.0 43.0,186.0"/></g><g class="f" style="--i:8;--d:0.432"><polygon id="f-l5" fill="#B98A2E" stroke="#B98A2E" stroke-width=".6" stroke-linejoin="round" points="59.7,239.1 43.0,186.0 87.0,186.0 61.4,237.2 61.2,237.6 60.9,238.0 60.6,238.4 60.3,238.7 59.9,239.0"/><polygon class="dk" points="59.7,239.1 43.0,186.0 87.0,186.0 61.4,237.2 61.2,237.6 60.9,238.0 60.6,238.4 60.3,238.7 59.9,239.0"/><polygon class="sh" points="59.7,239.1 43.0,186.0 87.0,186.0 61.4,237.2 61.2,237.6 60.9,238.0 60.6,238.4 60.3,238.7 59.9,239.0"/></g><g class="f" style="--i:9;--d:0.374"><polygon id="f-l6" fill="#EAC266" stroke="#EAC266" stroke-width=".6" stroke-linejoin="round" points="58.3,239.8 57.8,239.9 57.4,240.0 56.9,240.0 25.7,240.0 24.7,239.9 23.7,239.7 22.8,239.2 21.9,238.7 21.2,238.0 20.6,237.2 20.1,236.2 19.8,235.3 19.7,234.3 19.8,233.3 20.0,232.3 20.3,231.3 43.0,186.0 59.7,239.1 59.5,239.3 59.1,239.5 58.7,239.7"/><polygon class="dk" points="58.3,239.8 57.8,239.9 57.4,240.0 56.9,240.0 25.7,240.0 24.7,239.9 23.7,239.7 22.8,239.2 21.9,238.7 21.2,238.0 20.6,237.2 20.1,236.2 19.8,235.3 19.7,234.3 19.8,233.3 20.0,232.3 20.3,231.3 43.0,186.0 59.7,239.1 59.5,239.3 59.1,239.5 58.7,239.7"/><polygon class="sh tw" points="58.3,239.8 57.8,239.9 57.4,240.0 56.9,240.0 25.7,240.0 24.7,239.9 23.7,239.7 22.8,239.2 21.9,238.7 21.2,238.0 20.6,237.2 20.1,236.2 19.8,235.3 19.7,234.3 19.8,233.3 20.0,232.3 20.3,231.3 43.0,186.0 59.7,239.1 59.5,239.3 59.1,239.5 58.7,239.7"/></g><g class="f" style="--i:10;--d:0.395"><polygon id="f-r1" fill="#D9A545" stroke="#D9A545" stroke-width=".6" stroke-linejoin="round" points="162.0,84.0 128.0,104.0 198.0,156.0"/><polygon class="dk" points="162.0,84.0 128.0,104.0 198.0,156.0"/><polygon class="sh" points="162.0,84.0 128.0,104.0 198.0,156.0"/></g><g class="f" style="--i:11;--d:0.467"><polygon id="f-r2" fill="#A87A25" stroke="#A87A25" stroke-width=".6" stroke-linejoin="round" points="128.0,104.0 154.0,156.0 198.0,156.0"/><polygon class="dk" points="128.0,104.0 154.0,156.0 198.0,156.0"/><polygon class="sh" points="128.0,104.0 154.0,156.0 198.0,156.0"/></g><g class="f" style="--i:12;--d:0.607"><polygon id="f-r3" fill="#E3B54F" stroke="#E3B54F" stroke-width=".6" stroke-linejoin="round" points="198.0,156.0 154.0,156.0 169.0,186.0"/><polygon class="dk" points="198.0,156.0 154.0,156.0 169.0,186.0"/><polygon class="sh" points="198.0,156.0 154.0,156.0 169.0,186.0"/></g><g class="f" style="--i:13;--d:0.707"><polygon id="f-r4" fill="#B98A2E" stroke="#B98A2E" stroke-width=".6" stroke-linejoin="round" points="198.0,156.0 169.0,186.0 213.0,186.0"/><polygon class="dk" points="198.0,156.0 169.0,186.0 213.0,186.0"/><polygon class="sh tw" points="198.0,156.0 169.0,186.0 213.0,186.0"/></g><g class="f" style="--i:14;--d:0.883"><polygon id="f-r5" fill="#94681D" stroke="#94681D" stroke-width=".6" stroke-linejoin="round" points="196.3,239.1 213.0,186.0 169.0,186.0 194.6,237.2 194.8,237.6 195.1,238.0 195.4,238.4 195.7,238.7 196.1,239.0"/><polygon class="dk" points="196.3,239.1 213.0,186.0 169.0,186.0 194.6,237.2 194.8,237.6 195.1,238.0 195.4,238.4 195.7,238.7 196.1,239.0"/><polygon class="sh" points="196.3,239.1 213.0,186.0 169.0,186.0 194.6,237.2 194.8,237.6 195.1,238.0 195.4,238.4 195.7,238.7 196.1,239.0"/></g><g class="f" style="--i:15;--d:1.000"><polygon id="f-r6" fill="#CFA040" stroke="#CFA040" stroke-width=".6" stroke-linejoin="round" points="197.7,239.8 198.2,239.9 198.6,240.0 199.1,240.0 230.3,240.0 231.3,239.9 232.3,239.7 233.2,239.2 234.1,238.7 234.8,238.0 235.4,237.2 235.9,236.2 236.2,235.3 236.3,234.3 236.2,233.3 236.0,232.3 235.7,231.3 213.0,186.0 196.3,239.1 196.5,239.3 196.9,239.5 197.3,239.7"/><polygon class="dk" points="197.7,239.8 198.2,239.9 198.6,240.0 199.1,240.0 230.3,240.0 231.3,239.9 232.3,239.7 233.2,239.2 234.1,238.7 234.8,238.0 235.4,237.2 235.9,236.2 236.2,235.3 236.3,234.3 236.2,233.3 236.0,232.3 235.7,231.3 213.0,186.0 196.3,239.1 196.5,239.3 196.9,239.5 197.3,239.7"/><polygon class="sh" points="197.7,239.8 198.2,239.9 198.6,240.0 199.1,240.0 230.3,240.0 231.3,239.9 232.3,239.7 233.2,239.2 234.1,238.7 234.8,238.0 235.4,237.2 235.9,236.2 236.2,235.3 236.3,234.3 236.2,233.3 236.0,232.3 235.7,231.3 213.0,186.0 196.3,239.1 196.5,239.3 196.9,239.5 197.3,239.7"/></g><g class="f" style="--i:16;--d:0.434"><polygon id="f-bar-top" fill="#E8BF5B" stroke="#E8BF5B" stroke-width=".6" stroke-linejoin="round" points="102.0,156.0 154.0,156.0 128.0,171.0"/><polygon class="dk" points="102.0,156.0 154.0,156.0 128.0,171.0"/><polygon class="sh" points="102.0,156.0 154.0,156.0 128.0,171.0"/></g><g class="f" style="--i:17;--d:0.392"><polygon id="f-bar-l" fill="#F8DF95" stroke="#F8DF95" stroke-width=".6" stroke-linejoin="round" points="102.0,156.0 128.0,171.0 87.0,186.0"/><polygon class="dk" points="102.0,156.0 128.0,171.0 87.0,186.0"/><polygon class="sh tw" points="102.0,156.0 128.0,171.0 87.0,186.0"/></g><g class="f" style="--i:18;--d:0.544"><polygon id="f-bar-r" fill="#C79631" stroke="#C79631" stroke-width=".6" stroke-linejoin="round" points="154.0,156.0 169.0,186.0 128.0,171.0"/><polygon class="dk" points="154.0,156.0 169.0,186.0 128.0,171.0"/><polygon class="sh" points="154.0,156.0 169.0,186.0 128.0,171.0"/></g><g class="f" style="--i:19;--d:0.502"><polygon id="f-bar-bot" fill="#FFF1BD" stroke="#FFF1BD" stroke-width=".6" stroke-linejoin="round" points="87.0,186.0 128.0,171.0 169.0,186.0"/><polygon class="dk" points="87.0,186.0 128.0,171.0 169.0,186.0"/><polygon class="sh" points="87.0,186.0 128.0,171.0 169.0,186.0"/></g></g><g id="sparkles"><polygon class="sp" style="--d:-0.038" points="128,-6 134.0,18.0 158,24 134.0,30.0 128,54 122.0,30.0 98,24 122.0,18.0" transform-origin="128 24"/><polygon class="sp" style="--d:0.553" points="196,108 200.0,124.0 216,128 200.0,132.0 196,148 192.0,132.0 176,128 192.0,124.0" transform-origin="196 128"/><polygon class="sp" style="--d:1.009" points="228,202 233.6,224.4 256,230 233.6,235.6 228,258 222.4,235.6 200,230 222.4,224.4" transform-origin="228 230"/><polygon class="sp" style="--d:0.064" points="62,102 65.2,114.8 78,118 65.2,121.2 62,134 58.8,121.2 46,118 58.8,114.8" transform-origin="62 118"/></g></svg><g id="wordmark" transform="translate(143.0 190)"><g fill="none" stroke="#FFFFFF" stroke-width="18" stroke-linecap="butt" stroke-linejoin="miter"><g class="g" style="--k:0"><path transform="translate(0.0 0)" d="M0 -124 V0"/></g><g class="g" style="--k:1"><path transform="translate(28.0 0)" d="M0 -124 V0 M0 -48 A30 30 0 0 1 60 -48 V0"/></g><g class="g" style="--k:2"><path transform="translate(121.0 0)" d="M69 -78 V0 M69 -39 A39 39 0 1 0 -9 -39 A39 39 0 1 0 69 -39"/></g><g class="g" style="--k:3"><path transform="translate(218.0 0)" d="M0 -78 V10 A24 24 0 0 1 -24 34"/></g><g class="g" style="--k:4"><path transform="translate(248.0 0)" d="M-4 -39 H74 A39 39 0 1 0 62.6 -11.4"/></g><g class="g" style="--k:5"><path transform="translate(348.0 0)" d="M0 -78 V0 M0 -48 A30 30 0 0 1 30 -78"/></g><g class="g" style="--k:6"><path transform="translate(384.0 0)" d="M39 -78 A39 39 0 1 0 39 0 A39 39 0 1 0 39 -78"/></g></g><g class="g" style="--k:3"><path fill="#C99A3B" d="M218.0 -126 l13 13 l-13 13 l-13 -13 Z"/></g></g></svg>`;
36
+ var GEM_ANIMATED_LIGHT_SVG = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="16 16 224 224" width="256" height="256" role="img" aria-labelledby="t" overflow="visible"><title id="t">Alhajero gem A</title><style>
35
37
  .f polygon:first-child{transform-box:fill-box;transform-origin:center;animation:in .6s cubic-bezier(.2,.8,.2,1) both;animation-delay:calc(var(--i)*40ms)}@keyframes in{from{opacity:0;transform:scale(.2) rotate(-25deg)}to{opacity:1;transform:none}}
36
38
  .sh,.dk{pointer-events:none;opacity:0}.sh{fill:#FFF1B8;animation:flash 3.6s linear infinite;animation-delay:calc(1.3s + var(--d)*1.3s)}
37
39
  .dk{fill:#5b3a05;animation:shade 3.6s linear infinite;animation-delay:calc(1.3s + var(--d)*1.3s - .18s)}
@@ -43,7 +45,7 @@ var GEM_ANIMATED_LIGHT_SVG = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0
43
45
  @keyframes spark{0%{opacity:0;transform:scale(.1) rotate(0)}6%{opacity:1;transform:scale(1) rotate(25deg)}16%,100%{opacity:0;transform:scale(.1) rotate(60deg)}}
44
46
  @media (prefers-reduced-motion:reduce){.sh,.dk,.sp,.f polygon{animation:none!important}.sh,.dk,.sp{opacity:0}}
45
47
  </style><g id="gem"><g class="f" style="--i:0;--d:0.000"><polygon id="f-apex-l" fill="#C69E4C" stroke="#C69E4C" stroke-width=".6" stroke-linejoin="round" points="94.0,84.0 128.0,70.0 128.0,28.4 126.2,28.5 124.4,29.0 122.7,29.9 121.3,31.0 120.0,32.3 119.1,33.9"/><polygon class="dk" points="94.0,84.0 128.0,70.0 128.0,28.4 126.2,28.5 124.4,29.0 122.7,29.9 121.3,31.0 120.0,32.3 119.1,33.9"/><polygon class="sh" points="94.0,84.0 128.0,70.0 128.0,28.4 126.2,28.5 124.4,29.0 122.7,29.9 121.3,31.0 120.0,32.3 119.1,33.9"/></g><g class="f" style="--i:1;--d:0.045"><polygon id="f-apex-r" fill="#CCAD65" stroke="#CCAD65" stroke-width=".6" stroke-linejoin="round" points="128.0,70.0 162.0,84.0 136.9,33.9 136.0,32.3 134.7,31.0 133.3,29.9 131.6,29.0 129.8,28.5 128.0,28.4 128.0,28.4"/><polygon class="dk" points="128.0,70.0 162.0,84.0 136.9,33.9 136.0,32.3 134.7,31.0 133.3,29.9 131.6,29.0 129.8,28.5 128.0,28.4 128.0,28.4"/><polygon class="sh tw" points="128.0,70.0 162.0,84.0 136.9,33.9 136.0,32.3 134.7,31.0 133.3,29.9 131.6,29.0 129.8,28.5 128.0,28.4 128.0,28.4"/></g><g class="f" style="--i:2;--d:0.141"><polygon id="f-crown-l" fill="#BA8933" stroke="#BA8933" stroke-width=".6" stroke-linejoin="round" points="94.0,84.0 128.0,70.0 128.0,104.0"/><polygon class="dk" points="94.0,84.0 128.0,70.0 128.0,104.0"/><polygon class="sh" points="94.0,84.0 128.0,70.0 128.0,104.0"/></g><g class="f" style="--i:3;--d:0.218"><polygon id="f-crown-r" fill="#AE7726" stroke="#AE7726" stroke-width=".6" stroke-linejoin="round" points="162.0,84.0 128.0,70.0 128.0,104.0"/><polygon class="dk" points="162.0,84.0 128.0,70.0 128.0,104.0"/><polygon class="sh" points="162.0,84.0 128.0,70.0 128.0,104.0"/></g><g class="f" style="--i:4;--d:0.159"><polygon id="f-l1" fill="#C2943F" stroke="#C2943F" stroke-width=".6" stroke-linejoin="round" points="94.0,84.0 128.0,104.0 58.0,156.0"/><polygon class="dk" points="94.0,84.0 128.0,104.0 58.0,156.0"/><polygon class="sh" points="94.0,84.0 128.0,104.0 58.0,156.0"/></g><g class="f" style="--i:5;--d:0.250"><polygon id="f-l2" fill="#A16F20" stroke="#A16F20" stroke-width=".6" stroke-linejoin="round" points="128.0,104.0 102.0,156.0 58.0,156.0"/><polygon class="dk" points="128.0,104.0 102.0,156.0 58.0,156.0"/><polygon class="sh tw" points="128.0,104.0 102.0,156.0 58.0,156.0"/></g><g class="f" style="--i:6;--d:0.296"><polygon id="f-l3" fill="#C9A358" stroke="#C9A358" stroke-width=".6" stroke-linejoin="round" points="58.0,156.0 102.0,156.0 87.0,186.0"/><polygon class="dk" points="58.0,156.0 102.0,156.0 87.0,186.0"/><polygon class="sh" points="58.0,156.0 102.0,156.0 87.0,186.0"/></g><g class="f" style="--i:7;--d:0.263"><polygon id="f-l4" fill="#B17D2B" stroke="#B17D2B" stroke-width=".6" stroke-linejoin="round" points="58.0,156.0 87.0,186.0 43.0,186.0"/><polygon class="dk" points="58.0,156.0 87.0,186.0 43.0,186.0"/><polygon class="sh" points="58.0,156.0 87.0,186.0 43.0,186.0"/></g><g class="f" style="--i:8;--d:0.432"><polygon id="f-l5" fill="#946319" stroke="#946319" stroke-width=".6" stroke-linejoin="round" points="59.7,239.1 43.0,186.0 87.0,186.0 61.4,237.2 61.2,237.6 60.9,238.0 60.6,238.4 60.3,238.7 59.9,239.0"/><polygon class="dk" points="59.7,239.1 43.0,186.0 87.0,186.0 61.4,237.2 61.2,237.6 60.9,238.0 60.6,238.4 60.3,238.7 59.9,239.0"/><polygon class="sh" points="59.7,239.1 43.0,186.0 87.0,186.0 61.4,237.2 61.2,237.6 60.9,238.0 60.6,238.4 60.3,238.7 59.9,239.0"/></g><g class="f" style="--i:9;--d:0.374"><polygon id="f-l6" fill="#BB8C38" stroke="#BB8C38" stroke-width=".6" stroke-linejoin="round" points="58.3,239.8 57.8,239.9 57.4,240.0 56.9,240.0 25.7,240.0 24.7,239.9 23.7,239.7 22.8,239.2 21.9,238.7 21.2,238.0 20.6,237.2 20.1,236.2 19.8,235.3 19.7,234.3 19.8,233.3 20.0,232.3 20.3,231.3 43.0,186.0 59.7,239.1 59.5,239.3 59.1,239.5 58.7,239.7"/><polygon class="dk" points="58.3,239.8 57.8,239.9 57.4,240.0 56.9,240.0 25.7,240.0 24.7,239.9 23.7,239.7 22.8,239.2 21.9,238.7 21.2,238.0 20.6,237.2 20.1,236.2 19.8,235.3 19.7,234.3 19.8,233.3 20.0,232.3 20.3,231.3 43.0,186.0 59.7,239.1 59.5,239.3 59.1,239.5 58.7,239.7"/><polygon class="sh tw" points="58.3,239.8 57.8,239.9 57.4,240.0 56.9,240.0 25.7,240.0 24.7,239.9 23.7,239.7 22.8,239.2 21.9,238.7 21.2,238.0 20.6,237.2 20.1,236.2 19.8,235.3 19.7,234.3 19.8,233.3 20.0,232.3 20.3,231.3 43.0,186.0 59.7,239.1 59.5,239.3 59.1,239.5 58.7,239.7"/></g><g class="f" style="--i:10;--d:0.395"><polygon id="f-r1" fill="#AE7726" stroke="#AE7726" stroke-width=".6" stroke-linejoin="round" points="162.0,84.0 128.0,104.0 198.0,156.0"/><polygon class="dk" points="162.0,84.0 128.0,104.0 198.0,156.0"/><polygon class="sh" points="162.0,84.0 128.0,104.0 198.0,156.0"/></g><g class="f" style="--i:11;--d:0.467"><polygon id="f-r2" fill="#865814" stroke="#865814" stroke-width=".6" stroke-linejoin="round" points="128.0,104.0 154.0,156.0 198.0,156.0"/><polygon class="dk" points="128.0,104.0 154.0,156.0 198.0,156.0"/><polygon class="sh" points="128.0,104.0 154.0,156.0 198.0,156.0"/></g><g class="f" style="--i:12;--d:0.607"><polygon id="f-r3" fill="#B6822B" stroke="#B6822B" stroke-width=".6" stroke-linejoin="round" points="198.0,156.0 154.0,156.0 169.0,186.0"/><polygon class="dk" points="198.0,156.0 154.0,156.0 169.0,186.0"/><polygon class="sh" points="198.0,156.0 154.0,156.0 169.0,186.0"/></g><g class="f" style="--i:13;--d:0.707"><polygon id="f-r4" fill="#946319" stroke="#946319" stroke-width=".6" stroke-linejoin="round" points="198.0,156.0 169.0,186.0 213.0,186.0"/><polygon class="dk" points="198.0,156.0 169.0,186.0 213.0,186.0"/><polygon class="sh tw" points="198.0,156.0 169.0,186.0 213.0,186.0"/></g><g class="f" style="--i:14;--d:0.883"><polygon id="f-r5" fill="#764B10" stroke="#764B10" stroke-width=".6" stroke-linejoin="round" points="196.3,239.1 213.0,186.0 169.0,186.0 194.6,237.2 194.8,237.6 195.1,238.0 195.4,238.4 195.7,238.7 196.1,239.0"/><polygon class="dk" points="196.3,239.1 213.0,186.0 169.0,186.0 194.6,237.2 194.8,237.6 195.1,238.0 195.4,238.4 195.7,238.7 196.1,239.0"/><polygon class="sh" points="196.3,239.1 213.0,186.0 169.0,186.0 194.6,237.2 194.8,237.6 195.1,238.0 195.4,238.4 195.7,238.7 196.1,239.0"/></g><g class="f" style="--i:15;--d:1.000"><polygon id="f-r6" fill="#A67323" stroke="#A67323" stroke-width=".6" stroke-linejoin="round" points="197.7,239.8 198.2,239.9 198.6,240.0 199.1,240.0 230.3,240.0 231.3,239.9 232.3,239.7 233.2,239.2 234.1,238.7 234.8,238.0 235.4,237.2 235.9,236.2 236.2,235.3 236.3,234.3 236.2,233.3 236.0,232.3 235.7,231.3 213.0,186.0 196.3,239.1 196.5,239.3 196.9,239.5 197.3,239.7"/><polygon class="dk" points="197.7,239.8 198.2,239.9 198.6,240.0 199.1,240.0 230.3,240.0 231.3,239.9 232.3,239.7 233.2,239.2 234.1,238.7 234.8,238.0 235.4,237.2 235.9,236.2 236.2,235.3 236.3,234.3 236.2,233.3 236.0,232.3 235.7,231.3 213.0,186.0 196.3,239.1 196.5,239.3 196.9,239.5 197.3,239.7"/><polygon class="sh" points="197.7,239.8 198.2,239.9 198.6,240.0 199.1,240.0 230.3,240.0 231.3,239.9 232.3,239.7 233.2,239.2 234.1,238.7 234.8,238.0 235.4,237.2 235.9,236.2 236.2,235.3 236.3,234.3 236.2,233.3 236.0,232.3 235.7,231.3 213.0,186.0 196.3,239.1 196.5,239.3 196.9,239.5 197.3,239.7"/></g><g class="f" style="--i:16;--d:0.434"><polygon id="f-bar-top" fill="#BA8A32" stroke="#BA8A32" stroke-width=".6" stroke-linejoin="round" points="102.0,156.0 154.0,156.0 128.0,171.0"/><polygon class="dk" points="102.0,156.0 154.0,156.0 128.0,171.0"/><polygon class="sh" points="102.0,156.0 154.0,156.0 128.0,171.0"/></g><g class="f" style="--i:17;--d:0.392"><polygon id="f-bar-l" fill="#C6A152" stroke="#C6A152" stroke-width=".6" stroke-linejoin="round" points="102.0,156.0 128.0,171.0 87.0,186.0"/><polygon class="dk" points="102.0,156.0 128.0,171.0 87.0,186.0"/><polygon class="sh tw" points="102.0,156.0 128.0,171.0 87.0,186.0"/></g><g class="f" style="--i:18;--d:0.544"><polygon id="f-bar-r" fill="#9F6C1B" stroke="#9F6C1B" stroke-width=".6" stroke-linejoin="round" points="154.0,156.0 169.0,186.0 128.0,171.0"/><polygon class="dk" points="154.0,156.0 169.0,186.0 128.0,171.0"/><polygon class="sh" points="154.0,156.0 169.0,186.0 128.0,171.0"/></g><g class="f" style="--i:19;--d:0.502"><polygon id="f-bar-bot" fill="#CCAE68" stroke="#CCAE68" stroke-width=".6" stroke-linejoin="round" points="87.0,186.0 128.0,171.0 169.0,186.0"/><polygon class="dk" points="87.0,186.0 128.0,171.0 169.0,186.0"/><polygon class="sh" points="87.0,186.0 128.0,171.0 169.0,186.0"/></g></g><g id="sparkles"><polygon class="sp" style="--d:-0.038" points="128,-6 134.0,18.0 158,24 134.0,30.0 128,54 122.0,30.0 98,24 122.0,18.0" transform-origin="128 24"/><polygon class="sp" style="--d:0.553" points="196,108 200.0,124.0 216,128 200.0,132.0 196,148 192.0,132.0 176,128 192.0,124.0" transform-origin="196 128"/><polygon class="sp" style="--d:1.009" points="228,202 233.6,224.4 256,230 233.6,235.6 228,258 222.4,235.6 200,230 222.4,224.4" transform-origin="228 230"/><polygon class="sp" style="--d:0.064" points="62,102 65.2,114.8 78,118 65.2,121.2 62,134 58.8,121.2 46,118 58.8,114.8" transform-origin="62 118"/></g></svg>`;
46
- var GEM_ANIMATED_SVG = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" width="256" height="256" role="img" aria-labelledby="t"><title id="t">Alhajero gem A</title><style>
48
+ var GEM_ANIMATED_SVG = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="16 16 224 224" width="256" height="256" role="img" aria-labelledby="t" overflow="visible"><title id="t">Alhajero gem A</title><style>
47
49
  .f polygon:first-child{transform-box:fill-box;transform-origin:center;animation:in .6s cubic-bezier(.2,.8,.2,1) both;animation-delay:calc(var(--i)*40ms)}@keyframes in{from{opacity:0;transform:scale(.2) rotate(-25deg)}to{opacity:1;transform:none}}
48
50
  .sh,.dk{pointer-events:none;opacity:0}.sh{fill:#FFF1B8;animation:flash 3.6s linear infinite;animation-delay:calc(1.3s + var(--d)*1.3s)}
49
51
  .dk{fill:#5b3a05;animation:shade 3.6s linear infinite;animation-delay:calc(1.3s + var(--d)*1.3s - .18s)}
@@ -99,76 +101,76 @@ function AnimatedBrand({
99
101
  )
100
102
  ] });
101
103
  }
104
+ function cn(...inputs) {
105
+ return tailwindMerge.twMerge(clsx.clsx(inputs));
106
+ }
107
+
108
+ // src/brand/sidebar-svg.ts
109
+ var FACET_ASSEMBLE = ".f polygon:first-child{transform-box:fill-box;transform-origin:center;animation:in .6s cubic-bezier(.2,.8,.2,1) both;animation-delay:calc(var(--i)*40ms)}";
110
+ var FACET_STATIC = ".f polygon:first-child{opacity:1;transform:none}";
111
+ var KEYFRAMES_IN = "@keyframes in{from{opacity:0;transform:scale(.2) rotate(-25deg)}to{opacity:1;transform:none}}";
112
+ var LETTER_VERTICAL = ".g{opacity:0;animation:gi .65s cubic-bezier(.2,.8,.2,1) forwards;animation-delay:calc(.9s + var(--k)*.09s)}";
113
+ var LETTER_HORIZONTAL = ".g{opacity:0;animation:sgi .45s cubic-bezier(.2,.8,.2,1) forwards;animation-delay:calc(var(--k)*.05s)}";
114
+ var KEYFRAMES_GI = "@keyframes gi{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}";
115
+ var KEYFRAMES_SGI = "@keyframes sgi{from{opacity:0;transform:translateX(-16px)}to{opacity:1;transform:none}}";
116
+ function toSidebarLockup(svg) {
117
+ let out = svg;
118
+ out = out.replace(FACET_ASSEMBLE, FACET_STATIC);
119
+ out = out.replace(KEYFRAMES_IN, "");
120
+ out = out.replace(LETTER_VERTICAL, LETTER_HORIZONTAL);
121
+ out = out.replace(KEYFRAMES_GI, KEYFRAMES_SGI);
122
+ if (!out.includes("keyframes sgi") || out.includes("translateY(14px)")) {
123
+ throw new Error(
124
+ "sidebar lockup transform failed \u2014 animated SVG style shape changed"
125
+ );
126
+ }
127
+ return out;
128
+ }
129
+ var SIDEBAR_ANIMATED_LIGHT_SVG = toSidebarLockup(ANIMATED_LIGHT_SVG);
130
+ var SIDEBAR_ANIMATED_DARK_SVG = toSidebarLockup(ANIMATED_DARK_SVG);
102
131
 
103
132
  // src/brand/static-svg.ts
104
- var LOCKUP_COLOR_SVG = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="-12 0 646 256" width="646" height="256" role="img"><title>Alhajero logo</title><g id="symbol" transform="translate(0 190)"><g transform="scale(0.5536) translate(-16 -240)"><polygon class="facet" id="f-apex-l" fill="#C69E4C" stroke="#C69E4C" stroke-width=".6" stroke-linejoin="round" points="94.0,84.0 128.0,70.0 128.0,28.4 126.2,28.5 124.4,29.0 122.7,29.9 121.3,31.0 120.0,32.3 119.1,33.9"/><polygon class="facet" id="f-apex-r" fill="#CCAD65" stroke="#CCAD65" stroke-width=".6" stroke-linejoin="round" points="128.0,70.0 162.0,84.0 136.9,33.9 136.0,32.3 134.7,31.0 133.3,29.9 131.6,29.0 129.8,28.5 128.0,28.4 128.0,28.4"/><polygon class="facet" id="f-crown-l" fill="#BA8933" stroke="#BA8933" stroke-width=".6" stroke-linejoin="round" points="94.0,84.0 128.0,70.0 128.0,104.0"/><polygon class="facet" id="f-crown-r" fill="#AE7726" stroke="#AE7726" stroke-width=".6" stroke-linejoin="round" points="162.0,84.0 128.0,70.0 128.0,104.0"/><polygon class="facet" id="f-l1" fill="#C2943F" stroke="#C2943F" stroke-width=".6" stroke-linejoin="round" points="94.0,84.0 128.0,104.0 58.0,156.0"/><polygon class="facet" id="f-l2" fill="#A16F20" stroke="#A16F20" stroke-width=".6" stroke-linejoin="round" points="128.0,104.0 102.0,156.0 58.0,156.0"/><polygon class="facet" id="f-l3" fill="#C9A358" stroke="#C9A358" stroke-width=".6" stroke-linejoin="round" points="58.0,156.0 102.0,156.0 87.0,186.0"/><polygon class="facet" id="f-l4" fill="#B17D2B" stroke="#B17D2B" stroke-width=".6" stroke-linejoin="round" points="58.0,156.0 87.0,186.0 43.0,186.0"/><polygon class="facet" id="f-l5" fill="#946319" stroke="#946319" stroke-width=".6" stroke-linejoin="round" points="59.7,239.1 43.0,186.0 87.0,186.0 61.4,237.2 61.2,237.6 60.9,238.0 60.6,238.4 60.3,238.7 59.9,239.0"/><polygon class="facet" id="f-l6" fill="#BB8C38" stroke="#BB8C38" stroke-width=".6" stroke-linejoin="round" points="58.3,239.8 57.8,239.9 57.4,240.0 56.9,240.0 25.7,240.0 24.7,239.9 23.7,239.7 22.8,239.2 21.9,238.7 21.2,238.0 20.6,237.2 20.1,236.2 19.8,235.3 19.7,234.3 19.8,233.3 20.0,232.3 20.3,231.3 43.0,186.0 59.7,239.1 59.5,239.3 59.1,239.5 58.7,239.7"/><polygon class="facet" id="f-r1" fill="#AE7726" stroke="#AE7726" stroke-width=".6" stroke-linejoin="round" points="162.0,84.0 128.0,104.0 198.0,156.0"/><polygon class="facet" id="f-r2" fill="#865814" stroke="#865814" stroke-width=".6" stroke-linejoin="round" points="128.0,104.0 154.0,156.0 198.0,156.0"/><polygon class="facet" id="f-r3" fill="#B6822B" stroke="#B6822B" stroke-width=".6" stroke-linejoin="round" points="198.0,156.0 154.0,156.0 169.0,186.0"/><polygon class="facet" id="f-r4" fill="#946319" stroke="#946319" stroke-width=".6" stroke-linejoin="round" points="198.0,156.0 169.0,186.0 213.0,186.0"/><polygon class="facet" id="f-r5" fill="#764B10" stroke="#764B10" stroke-width=".6" stroke-linejoin="round" points="196.3,239.1 213.0,186.0 169.0,186.0 194.6,237.2 194.8,237.6 195.1,238.0 195.4,238.4 195.7,238.7 196.1,239.0"/><polygon class="facet" id="f-r6" fill="#A67323" stroke="#A67323" stroke-width=".6" stroke-linejoin="round" points="197.7,239.8 198.2,239.9 198.6,240.0 199.1,240.0 230.3,240.0 231.3,239.9 232.3,239.7 233.2,239.2 234.1,238.7 234.8,238.0 235.4,237.2 235.9,236.2 236.2,235.3 236.3,234.3 236.2,233.3 236.0,232.3 235.7,231.3 213.0,186.0 196.3,239.1 196.5,239.3 196.9,239.5 197.3,239.7"/><polygon class="facet" id="f-bar-top" fill="#BA8A32" stroke="#BA8A32" stroke-width=".6" stroke-linejoin="round" points="102.0,156.0 154.0,156.0 128.0,171.0"/><polygon class="facet" id="f-bar-l" fill="#C6A152" stroke="#C6A152" stroke-width=".6" stroke-linejoin="round" points="102.0,156.0 128.0,171.0 87.0,186.0"/><polygon class="facet" id="f-bar-r" fill="#9F6C1B" stroke="#9F6C1B" stroke-width=".6" stroke-linejoin="round" points="154.0,156.0 169.0,186.0 128.0,171.0"/><polygon class="facet" id="f-bar-bot" fill="#CCAE68" stroke="#CCAE68" stroke-width=".6" stroke-linejoin="round" points="87.0,186.0 128.0,171.0 169.0,186.0"/></g></g><g id="wordmark" transform="translate(143.0 190)"><g fill="none" stroke="#15120F" stroke-width="18" stroke-linecap="butt" stroke-linejoin="miter"><path transform="translate(0.0 0)" d="M0 -124 V0"/><path transform="translate(28.0 0)" d="M0 -124 V0 M0 -48 A30 30 0 0 1 60 -48 V0"/><path transform="translate(121.0 0)" d="M69 -78 V0 M69 -39 A39 39 0 1 0 -9 -39 A39 39 0 1 0 69 -39"/><path transform="translate(218.0 0)" d="M0 -78 V10 A24 24 0 0 1 -24 34"/><path transform="translate(248.0 0)" d="M-4 -39 H74 A39 39 0 1 0 62.6 -11.4"/><path transform="translate(348.0 0)" d="M0 -78 V0 M0 -48 A30 30 0 0 1 30 -78"/><path transform="translate(384.0 0)" d="M39 -78 A39 39 0 1 0 39 0 A39 39 0 1 0 39 -78"/></g><path fill="#C99A3B" d="M218.0 -126 l13 13 l-13 13 l-13 -13 Z"/></g></svg>`;
105
- var LOCKUP_REVERSED_SVG = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="-12 0 646 256" width="646" height="256" role="img"><title>Alhajero logo reversed</title><g id="symbol" transform="translate(0 190)"><g transform="scale(0.5536) translate(-16 -240)"><polygon class="facet" id="f-apex-l" fill="#F7DC8B" stroke="#F7DC8B" stroke-width=".6" stroke-linejoin="round" points="94.0,84.0 128.0,70.0 128.0,28.4 126.2,28.5 124.4,29.0 122.7,29.9 121.3,31.0 120.0,32.3 119.1,33.9"/><polygon class="facet" id="f-apex-r" fill="#FFF0B8" stroke="#FFF0B8" stroke-width=".6" stroke-linejoin="round" points="128.0,70.0 162.0,84.0 136.9,33.9 136.0,32.3 134.7,31.0 133.3,29.9 131.6,29.0 129.8,28.5 128.0,28.4 128.0,28.4"/><polygon class="facet" id="f-crown-l" fill="#E9BE5C" stroke="#E9BE5C" stroke-width=".6" stroke-linejoin="round" points="94.0,84.0 128.0,70.0 128.0,104.0"/><polygon class="facet" id="f-crown-r" fill="#D9A545" stroke="#D9A545" stroke-width=".6" stroke-linejoin="round" points="162.0,84.0 128.0,70.0 128.0,104.0"/><polygon class="facet" id="f-l1" fill="#F2CE72" stroke="#F2CE72" stroke-width=".6" stroke-linejoin="round" points="94.0,84.0 128.0,104.0 58.0,156.0"/><polygon class="facet" id="f-l2" fill="#C99A3B" stroke="#C99A3B" stroke-width=".6" stroke-linejoin="round" points="128.0,104.0 102.0,156.0 58.0,156.0"/><polygon class="facet" id="f-l3" fill="#FBE3A0" stroke="#FBE3A0" stroke-width=".6" stroke-linejoin="round" points="58.0,156.0 102.0,156.0 87.0,186.0"/><polygon class="facet" id="f-l4" fill="#DDAE4E" stroke="#DDAE4E" stroke-width=".6" stroke-linejoin="round" points="58.0,156.0 87.0,186.0 43.0,186.0"/><polygon class="facet" id="f-l5" fill="#B98A2E" stroke="#B98A2E" stroke-width=".6" stroke-linejoin="round" points="59.7,239.1 43.0,186.0 87.0,186.0 61.4,237.2 61.2,237.6 60.9,238.0 60.6,238.4 60.3,238.7 59.9,239.0"/><polygon class="facet" id="f-l6" fill="#EAC266" stroke="#EAC266" stroke-width=".6" stroke-linejoin="round" points="58.3,239.8 57.8,239.9 57.4,240.0 56.9,240.0 25.7,240.0 24.7,239.9 23.7,239.7 22.8,239.2 21.9,238.7 21.2,238.0 20.6,237.2 20.1,236.2 19.8,235.3 19.7,234.3 19.8,233.3 20.0,232.3 20.3,231.3 43.0,186.0 59.7,239.1 59.5,239.3 59.1,239.5 58.7,239.7"/><polygon class="facet" id="f-r1" fill="#D9A545" stroke="#D9A545" stroke-width=".6" stroke-linejoin="round" points="162.0,84.0 128.0,104.0 198.0,156.0"/><polygon class="facet" id="f-r2" fill="#A87A25" stroke="#A87A25" stroke-width=".6" stroke-linejoin="round" points="128.0,104.0 154.0,156.0 198.0,156.0"/><polygon class="facet" id="f-r3" fill="#E3B54F" stroke="#E3B54F" stroke-width=".6" stroke-linejoin="round" points="198.0,156.0 154.0,156.0 169.0,186.0"/><polygon class="facet" id="f-r4" fill="#B98A2E" stroke="#B98A2E" stroke-width=".6" stroke-linejoin="round" points="198.0,156.0 169.0,186.0 213.0,186.0"/><polygon class="facet" id="f-r5" fill="#94681D" stroke="#94681D" stroke-width=".6" stroke-linejoin="round" points="196.3,239.1 213.0,186.0 169.0,186.0 194.6,237.2 194.8,237.6 195.1,238.0 195.4,238.4 195.7,238.7 196.1,239.0"/><polygon class="facet" id="f-r6" fill="#CFA040" stroke="#CFA040" stroke-width=".6" stroke-linejoin="round" points="197.7,239.8 198.2,239.9 198.6,240.0 199.1,240.0 230.3,240.0 231.3,239.9 232.3,239.7 233.2,239.2 234.1,238.7 234.8,238.0 235.4,237.2 235.9,236.2 236.2,235.3 236.3,234.3 236.2,233.3 236.0,232.3 235.7,231.3 213.0,186.0 196.3,239.1 196.5,239.3 196.9,239.5 197.3,239.7"/><polygon class="facet" id="f-bar-top" fill="#E8BF5B" stroke="#E8BF5B" stroke-width=".6" stroke-linejoin="round" points="102.0,156.0 154.0,156.0 128.0,171.0"/><polygon class="facet" id="f-bar-l" fill="#F8DF95" stroke="#F8DF95" stroke-width=".6" stroke-linejoin="round" points="102.0,156.0 128.0,171.0 87.0,186.0"/><polygon class="facet" id="f-bar-r" fill="#C79631" stroke="#C79631" stroke-width=".6" stroke-linejoin="round" points="154.0,156.0 169.0,186.0 128.0,171.0"/><polygon class="facet" id="f-bar-bot" fill="#FFF1BD" stroke="#FFF1BD" stroke-width=".6" stroke-linejoin="round" points="87.0,186.0 128.0,171.0 169.0,186.0"/></g></g><g id="wordmark" transform="translate(143.0 190)"><g fill="none" stroke="#FFFFFF" stroke-width="18" stroke-linecap="butt" stroke-linejoin="miter"><path transform="translate(0.0 0)" d="M0 -124 V0"/><path transform="translate(28.0 0)" d="M0 -124 V0 M0 -48 A30 30 0 0 1 60 -48 V0"/><path transform="translate(121.0 0)" d="M69 -78 V0 M69 -39 A39 39 0 1 0 -9 -39 A39 39 0 1 0 69 -39"/><path transform="translate(218.0 0)" d="M0 -78 V10 A24 24 0 0 1 -24 34"/><path transform="translate(248.0 0)" d="M-4 -39 H74 A39 39 0 1 0 62.6 -11.4"/><path transform="translate(348.0 0)" d="M0 -78 V0 M0 -48 A30 30 0 0 1 30 -78"/><path transform="translate(384.0 0)" d="M39 -78 A39 39 0 1 0 39 0 A39 39 0 1 0 39 -78"/></g><path fill="#C99A3B" d="M218.0 -126 l13 13 l-13 13 l-13 -13 Z"/></g></svg>`;
133
+ var LOCKUP_COLOR_SVG = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="-16 -12 670 280" width="670" height="280" role="img"><title>Alhajero logo</title><g id="symbol" transform="translate(0 190)"><g transform="scale(0.5859375) translate(-16 -240)"><polygon class="facet" id="f-apex-l" fill="#C69E4C" stroke="#C69E4C" stroke-width=".6" stroke-linejoin="round" points="94.0,84.0 128.0,70.0 128.0,28.4 126.2,28.5 124.4,29.0 122.7,29.9 121.3,31.0 120.0,32.3 119.1,33.9"/><polygon class="facet" id="f-apex-r" fill="#CCAD65" stroke="#CCAD65" stroke-width=".6" stroke-linejoin="round" points="128.0,70.0 162.0,84.0 136.9,33.9 136.0,32.3 134.7,31.0 133.3,29.9 131.6,29.0 129.8,28.5 128.0,28.4 128.0,28.4"/><polygon class="facet" id="f-crown-l" fill="#BA8933" stroke="#BA8933" stroke-width=".6" stroke-linejoin="round" points="94.0,84.0 128.0,70.0 128.0,104.0"/><polygon class="facet" id="f-crown-r" fill="#AE7726" stroke="#AE7726" stroke-width=".6" stroke-linejoin="round" points="162.0,84.0 128.0,70.0 128.0,104.0"/><polygon class="facet" id="f-l1" fill="#C2943F" stroke="#C2943F" stroke-width=".6" stroke-linejoin="round" points="94.0,84.0 128.0,104.0 58.0,156.0"/><polygon class="facet" id="f-l2" fill="#A16F20" stroke="#A16F20" stroke-width=".6" stroke-linejoin="round" points="128.0,104.0 102.0,156.0 58.0,156.0"/><polygon class="facet" id="f-l3" fill="#C9A358" stroke="#C9A358" stroke-width=".6" stroke-linejoin="round" points="58.0,156.0 102.0,156.0 87.0,186.0"/><polygon class="facet" id="f-l4" fill="#B17D2B" stroke="#B17D2B" stroke-width=".6" stroke-linejoin="round" points="58.0,156.0 87.0,186.0 43.0,186.0"/><polygon class="facet" id="f-l5" fill="#946319" stroke="#946319" stroke-width=".6" stroke-linejoin="round" points="59.7,239.1 43.0,186.0 87.0,186.0 61.4,237.2 61.2,237.6 60.9,238.0 60.6,238.4 60.3,238.7 59.9,239.0"/><polygon class="facet" id="f-l6" fill="#BB8C38" stroke="#BB8C38" stroke-width=".6" stroke-linejoin="round" points="58.3,239.8 57.8,239.9 57.4,240.0 56.9,240.0 25.7,240.0 24.7,239.9 23.7,239.7 22.8,239.2 21.9,238.7 21.2,238.0 20.6,237.2 20.1,236.2 19.8,235.3 19.7,234.3 19.8,233.3 20.0,232.3 20.3,231.3 43.0,186.0 59.7,239.1 59.5,239.3 59.1,239.5 58.7,239.7"/><polygon class="facet" id="f-r1" fill="#AE7726" stroke="#AE7726" stroke-width=".6" stroke-linejoin="round" points="162.0,84.0 128.0,104.0 198.0,156.0"/><polygon class="facet" id="f-r2" fill="#865814" stroke="#865814" stroke-width=".6" stroke-linejoin="round" points="128.0,104.0 154.0,156.0 198.0,156.0"/><polygon class="facet" id="f-r3" fill="#B6822B" stroke="#B6822B" stroke-width=".6" stroke-linejoin="round" points="198.0,156.0 154.0,156.0 169.0,186.0"/><polygon class="facet" id="f-r4" fill="#946319" stroke="#946319" stroke-width=".6" stroke-linejoin="round" points="198.0,156.0 169.0,186.0 213.0,186.0"/><polygon class="facet" id="f-r5" fill="#764B10" stroke="#764B10" stroke-width=".6" stroke-linejoin="round" points="196.3,239.1 213.0,186.0 169.0,186.0 194.6,237.2 194.8,237.6 195.1,238.0 195.4,238.4 195.7,238.7 196.1,239.0"/><polygon class="facet" id="f-r6" fill="#A67323" stroke="#A67323" stroke-width=".6" stroke-linejoin="round" points="197.7,239.8 198.2,239.9 198.6,240.0 199.1,240.0 230.3,240.0 231.3,239.9 232.3,239.7 233.2,239.2 234.1,238.7 234.8,238.0 235.4,237.2 235.9,236.2 236.2,235.3 236.3,234.3 236.2,233.3 236.0,232.3 235.7,231.3 213.0,186.0 196.3,239.1 196.5,239.3 196.9,239.5 197.3,239.7"/><polygon class="facet" id="f-bar-top" fill="#BA8A32" stroke="#BA8A32" stroke-width=".6" stroke-linejoin="round" points="102.0,156.0 154.0,156.0 128.0,171.0"/><polygon class="facet" id="f-bar-l" fill="#C6A152" stroke="#C6A152" stroke-width=".6" stroke-linejoin="round" points="102.0,156.0 128.0,171.0 87.0,186.0"/><polygon class="facet" id="f-bar-r" fill="#9F6C1B" stroke="#9F6C1B" stroke-width=".6" stroke-linejoin="round" points="154.0,156.0 169.0,186.0 128.0,171.0"/><polygon class="facet" id="f-bar-bot" fill="#CCAE68" stroke="#CCAE68" stroke-width=".6" stroke-linejoin="round" points="87.0,186.0 128.0,171.0 169.0,186.0"/></g></g><g id="wordmark" transform="translate(143.0 190)"><g fill="none" stroke="#15120F" stroke-width="18" stroke-linecap="butt" stroke-linejoin="miter"><path transform="translate(0.0 0)" d="M0 -124 V0"/><path transform="translate(28.0 0)" d="M0 -124 V0 M0 -48 A30 30 0 0 1 60 -48 V0"/><path transform="translate(121.0 0)" d="M69 -78 V0 M69 -39 A39 39 0 1 0 -9 -39 A39 39 0 1 0 69 -39"/><path transform="translate(218.0 0)" d="M0 -78 V10 A24 24 0 0 1 -24 34"/><path transform="translate(248.0 0)" d="M-4 -39 H74 A39 39 0 1 0 62.6 -11.4"/><path transform="translate(348.0 0)" d="M0 -78 V0 M0 -48 A30 30 0 0 1 30 -78"/><path transform="translate(384.0 0)" d="M39 -78 A39 39 0 1 0 39 0 A39 39 0 1 0 39 -78"/></g><path fill="#C99A3B" d="M218.0 -126 l13 13 l-13 13 l-13 -13 Z"/></g></svg>`;
134
+ var LOCKUP_REVERSED_SVG = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="-16 -12 670 280" width="670" height="280" role="img"><title>Alhajero logo reversed</title><g id="symbol" transform="translate(0 190)"><g transform="scale(0.5859375) translate(-16 -240)"><polygon class="facet" id="f-apex-l" fill="#F7DC8B" stroke="#F7DC8B" stroke-width=".6" stroke-linejoin="round" points="94.0,84.0 128.0,70.0 128.0,28.4 126.2,28.5 124.4,29.0 122.7,29.9 121.3,31.0 120.0,32.3 119.1,33.9"/><polygon class="facet" id="f-apex-r" fill="#FFF0B8" stroke="#FFF0B8" stroke-width=".6" stroke-linejoin="round" points="128.0,70.0 162.0,84.0 136.9,33.9 136.0,32.3 134.7,31.0 133.3,29.9 131.6,29.0 129.8,28.5 128.0,28.4 128.0,28.4"/><polygon class="facet" id="f-crown-l" fill="#E9BE5C" stroke="#E9BE5C" stroke-width=".6" stroke-linejoin="round" points="94.0,84.0 128.0,70.0 128.0,104.0"/><polygon class="facet" id="f-crown-r" fill="#D9A545" stroke="#D9A545" stroke-width=".6" stroke-linejoin="round" points="162.0,84.0 128.0,70.0 128.0,104.0"/><polygon class="facet" id="f-l1" fill="#F2CE72" stroke="#F2CE72" stroke-width=".6" stroke-linejoin="round" points="94.0,84.0 128.0,104.0 58.0,156.0"/><polygon class="facet" id="f-l2" fill="#C99A3B" stroke="#C99A3B" stroke-width=".6" stroke-linejoin="round" points="128.0,104.0 102.0,156.0 58.0,156.0"/><polygon class="facet" id="f-l3" fill="#FBE3A0" stroke="#FBE3A0" stroke-width=".6" stroke-linejoin="round" points="58.0,156.0 102.0,156.0 87.0,186.0"/><polygon class="facet" id="f-l4" fill="#DDAE4E" stroke="#DDAE4E" stroke-width=".6" stroke-linejoin="round" points="58.0,156.0 87.0,186.0 43.0,186.0"/><polygon class="facet" id="f-l5" fill="#B98A2E" stroke="#B98A2E" stroke-width=".6" stroke-linejoin="round" points="59.7,239.1 43.0,186.0 87.0,186.0 61.4,237.2 61.2,237.6 60.9,238.0 60.6,238.4 60.3,238.7 59.9,239.0"/><polygon class="facet" id="f-l6" fill="#EAC266" stroke="#EAC266" stroke-width=".6" stroke-linejoin="round" points="58.3,239.8 57.8,239.9 57.4,240.0 56.9,240.0 25.7,240.0 24.7,239.9 23.7,239.7 22.8,239.2 21.9,238.7 21.2,238.0 20.6,237.2 20.1,236.2 19.8,235.3 19.7,234.3 19.8,233.3 20.0,232.3 20.3,231.3 43.0,186.0 59.7,239.1 59.5,239.3 59.1,239.5 58.7,239.7"/><polygon class="facet" id="f-r1" fill="#D9A545" stroke="#D9A545" stroke-width=".6" stroke-linejoin="round" points="162.0,84.0 128.0,104.0 198.0,156.0"/><polygon class="facet" id="f-r2" fill="#A87A25" stroke="#A87A25" stroke-width=".6" stroke-linejoin="round" points="128.0,104.0 154.0,156.0 198.0,156.0"/><polygon class="facet" id="f-r3" fill="#E3B54F" stroke="#E3B54F" stroke-width=".6" stroke-linejoin="round" points="198.0,156.0 154.0,156.0 169.0,186.0"/><polygon class="facet" id="f-r4" fill="#B98A2E" stroke="#B98A2E" stroke-width=".6" stroke-linejoin="round" points="198.0,156.0 169.0,186.0 213.0,186.0"/><polygon class="facet" id="f-r5" fill="#94681D" stroke="#94681D" stroke-width=".6" stroke-linejoin="round" points="196.3,239.1 213.0,186.0 169.0,186.0 194.6,237.2 194.8,237.6 195.1,238.0 195.4,238.4 195.7,238.7 196.1,239.0"/><polygon class="facet" id="f-r6" fill="#CFA040" stroke="#CFA040" stroke-width=".6" stroke-linejoin="round" points="197.7,239.8 198.2,239.9 198.6,240.0 199.1,240.0 230.3,240.0 231.3,239.9 232.3,239.7 233.2,239.2 234.1,238.7 234.8,238.0 235.4,237.2 235.9,236.2 236.2,235.3 236.3,234.3 236.2,233.3 236.0,232.3 235.7,231.3 213.0,186.0 196.3,239.1 196.5,239.3 196.9,239.5 197.3,239.7"/><polygon class="facet" id="f-bar-top" fill="#E8BF5B" stroke="#E8BF5B" stroke-width=".6" stroke-linejoin="round" points="102.0,156.0 154.0,156.0 128.0,171.0"/><polygon class="facet" id="f-bar-l" fill="#F8DF95" stroke="#F8DF95" stroke-width=".6" stroke-linejoin="round" points="102.0,156.0 128.0,171.0 87.0,186.0"/><polygon class="facet" id="f-bar-r" fill="#C79631" stroke="#C79631" stroke-width=".6" stroke-linejoin="round" points="154.0,156.0 169.0,186.0 128.0,171.0"/><polygon class="facet" id="f-bar-bot" fill="#FFF1BD" stroke="#FFF1BD" stroke-width=".6" stroke-linejoin="round" points="87.0,186.0 128.0,171.0 169.0,186.0"/></g></g><g id="wordmark" transform="translate(143.0 190)"><g fill="none" stroke="#FFFFFF" stroke-width="18" stroke-linecap="butt" stroke-linejoin="miter"><path transform="translate(0.0 0)" d="M0 -124 V0"/><path transform="translate(28.0 0)" d="M0 -124 V0 M0 -48 A30 30 0 0 1 60 -48 V0"/><path transform="translate(121.0 0)" d="M69 -78 V0 M69 -39 A39 39 0 1 0 -9 -39 A39 39 0 1 0 69 -39"/><path transform="translate(218.0 0)" d="M0 -78 V10 A24 24 0 0 1 -24 34"/><path transform="translate(248.0 0)" d="M-4 -39 H74 A39 39 0 1 0 62.6 -11.4"/><path transform="translate(348.0 0)" d="M0 -78 V0 M0 -48 A30 30 0 0 1 30 -78"/><path transform="translate(384.0 0)" d="M39 -78 A39 39 0 1 0 39 0 A39 39 0 1 0 39 -78"/></g><path fill="#C99A3B" d="M218.0 -126 l13 13 l-13 13 l-13 -13 Z"/></g></svg>`;
106
135
  var SYMBOL_LIGHT_SVG = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" width="256" height="256" role="img"><title>Alhajero symbol</title><g id="gem"><polygon class="facet" id="f-apex-l" fill="#C69E4C" stroke="#C69E4C" stroke-width=".6" stroke-linejoin="round" points="94.0,84.0 128.0,70.0 128.0,28.4 126.2,28.5 124.4,29.0 122.7,29.9 121.3,31.0 120.0,32.3 119.1,33.9"/><polygon class="facet" id="f-apex-r" fill="#CCAD65" stroke="#CCAD65" stroke-width=".6" stroke-linejoin="round" points="128.0,70.0 162.0,84.0 136.9,33.9 136.0,32.3 134.7,31.0 133.3,29.9 131.6,29.0 129.8,28.5 128.0,28.4 128.0,28.4"/><polygon class="facet" id="f-crown-l" fill="#BA8933" stroke="#BA8933" stroke-width=".6" stroke-linejoin="round" points="94.0,84.0 128.0,70.0 128.0,104.0"/><polygon class="facet" id="f-crown-r" fill="#AE7726" stroke="#AE7726" stroke-width=".6" stroke-linejoin="round" points="162.0,84.0 128.0,70.0 128.0,104.0"/><polygon class="facet" id="f-l1" fill="#C2943F" stroke="#C2943F" stroke-width=".6" stroke-linejoin="round" points="94.0,84.0 128.0,104.0 58.0,156.0"/><polygon class="facet" id="f-l2" fill="#A16F20" stroke="#A16F20" stroke-width=".6" stroke-linejoin="round" points="128.0,104.0 102.0,156.0 58.0,156.0"/><polygon class="facet" id="f-l3" fill="#C9A358" stroke="#C9A358" stroke-width=".6" stroke-linejoin="round" points="58.0,156.0 102.0,156.0 87.0,186.0"/><polygon class="facet" id="f-l4" fill="#B17D2B" stroke="#B17D2B" stroke-width=".6" stroke-linejoin="round" points="58.0,156.0 87.0,186.0 43.0,186.0"/><polygon class="facet" id="f-l5" fill="#946319" stroke="#946319" stroke-width=".6" stroke-linejoin="round" points="59.7,239.1 43.0,186.0 87.0,186.0 61.4,237.2 61.2,237.6 60.9,238.0 60.6,238.4 60.3,238.7 59.9,239.0"/><polygon class="facet" id="f-l6" fill="#BB8C38" stroke="#BB8C38" stroke-width=".6" stroke-linejoin="round" points="58.3,239.8 57.8,239.9 57.4,240.0 56.9,240.0 25.7,240.0 24.7,239.9 23.7,239.7 22.8,239.2 21.9,238.7 21.2,238.0 20.6,237.2 20.1,236.2 19.8,235.3 19.7,234.3 19.8,233.3 20.0,232.3 20.3,231.3 43.0,186.0 59.7,239.1 59.5,239.3 59.1,239.5 58.7,239.7"/><polygon class="facet" id="f-r1" fill="#AE7726" stroke="#AE7726" stroke-width=".6" stroke-linejoin="round" points="162.0,84.0 128.0,104.0 198.0,156.0"/><polygon class="facet" id="f-r2" fill="#865814" stroke="#865814" stroke-width=".6" stroke-linejoin="round" points="128.0,104.0 154.0,156.0 198.0,156.0"/><polygon class="facet" id="f-r3" fill="#B6822B" stroke="#B6822B" stroke-width=".6" stroke-linejoin="round" points="198.0,156.0 154.0,156.0 169.0,186.0"/><polygon class="facet" id="f-r4" fill="#946319" stroke="#946319" stroke-width=".6" stroke-linejoin="round" points="198.0,156.0 169.0,186.0 213.0,186.0"/><polygon class="facet" id="f-r5" fill="#764B10" stroke="#764B10" stroke-width=".6" stroke-linejoin="round" points="196.3,239.1 213.0,186.0 169.0,186.0 194.6,237.2 194.8,237.6 195.1,238.0 195.4,238.4 195.7,238.7 196.1,239.0"/><polygon class="facet" id="f-r6" fill="#A67323" stroke="#A67323" stroke-width=".6" stroke-linejoin="round" points="197.7,239.8 198.2,239.9 198.6,240.0 199.1,240.0 230.3,240.0 231.3,239.9 232.3,239.7 233.2,239.2 234.1,238.7 234.8,238.0 235.4,237.2 235.9,236.2 236.2,235.3 236.3,234.3 236.2,233.3 236.0,232.3 235.7,231.3 213.0,186.0 196.3,239.1 196.5,239.3 196.9,239.5 197.3,239.7"/><polygon class="facet" id="f-bar-top" fill="#BA8A32" stroke="#BA8A32" stroke-width=".6" stroke-linejoin="round" points="102.0,156.0 154.0,156.0 128.0,171.0"/><polygon class="facet" id="f-bar-l" fill="#C6A152" stroke="#C6A152" stroke-width=".6" stroke-linejoin="round" points="102.0,156.0 128.0,171.0 87.0,186.0"/><polygon class="facet" id="f-bar-r" fill="#9F6C1B" stroke="#9F6C1B" stroke-width=".6" stroke-linejoin="round" points="154.0,156.0 169.0,186.0 128.0,171.0"/><polygon class="facet" id="f-bar-bot" fill="#CCAE68" stroke="#CCAE68" stroke-width=".6" stroke-linejoin="round" points="87.0,186.0 128.0,171.0 169.0,186.0"/></g></svg>`;
107
136
  var SYMBOL_DARK_SVG = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" width="256" height="256" role="img"><title>Alhajero symbol</title><g id="gem"><polygon class="facet" id="f-apex-l" fill="#F7DC8B" stroke="#F7DC8B" stroke-width=".6" stroke-linejoin="round" points="94.0,84.0 128.0,70.0 128.0,28.4 126.2,28.5 124.4,29.0 122.7,29.9 121.3,31.0 120.0,32.3 119.1,33.9"/><polygon class="facet" id="f-apex-r" fill="#FFF0B8" stroke="#FFF0B8" stroke-width=".6" stroke-linejoin="round" points="128.0,70.0 162.0,84.0 136.9,33.9 136.0,32.3 134.7,31.0 133.3,29.9 131.6,29.0 129.8,28.5 128.0,28.4 128.0,28.4"/><polygon class="facet" id="f-crown-l" fill="#E9BE5C" stroke="#E9BE5C" stroke-width=".6" stroke-linejoin="round" points="94.0,84.0 128.0,70.0 128.0,104.0"/><polygon class="facet" id="f-crown-r" fill="#D9A545" stroke="#D9A545" stroke-width=".6" stroke-linejoin="round" points="162.0,84.0 128.0,70.0 128.0,104.0"/><polygon class="facet" id="f-l1" fill="#F2CE72" stroke="#F2CE72" stroke-width=".6" stroke-linejoin="round" points="94.0,84.0 128.0,104.0 58.0,156.0"/><polygon class="facet" id="f-l2" fill="#C99A3B" stroke="#C99A3B" stroke-width=".6" stroke-linejoin="round" points="128.0,104.0 102.0,156.0 58.0,156.0"/><polygon class="facet" id="f-l3" fill="#FBE3A0" stroke="#FBE3A0" stroke-width=".6" stroke-linejoin="round" points="58.0,156.0 102.0,156.0 87.0,186.0"/><polygon class="facet" id="f-l4" fill="#DDAE4E" stroke="#DDAE4E" stroke-width=".6" stroke-linejoin="round" points="58.0,156.0 87.0,186.0 43.0,186.0"/><polygon class="facet" id="f-l5" fill="#B98A2E" stroke="#B98A2E" stroke-width=".6" stroke-linejoin="round" points="59.7,239.1 43.0,186.0 87.0,186.0 61.4,237.2 61.2,237.6 60.9,238.0 60.6,238.4 60.3,238.7 59.9,239.0"/><polygon class="facet" id="f-l6" fill="#EAC266" stroke="#EAC266" stroke-width=".6" stroke-linejoin="round" points="58.3,239.8 57.8,239.9 57.4,240.0 56.9,240.0 25.7,240.0 24.7,239.9 23.7,239.7 22.8,239.2 21.9,238.7 21.2,238.0 20.6,237.2 20.1,236.2 19.8,235.3 19.7,234.3 19.8,233.3 20.0,232.3 20.3,231.3 43.0,186.0 59.7,239.1 59.5,239.3 59.1,239.5 58.7,239.7"/><polygon class="facet" id="f-r1" fill="#D9A545" stroke="#D9A545" stroke-width=".6" stroke-linejoin="round" points="162.0,84.0 128.0,104.0 198.0,156.0"/><polygon class="facet" id="f-r2" fill="#A87A25" stroke="#A87A25" stroke-width=".6" stroke-linejoin="round" points="128.0,104.0 154.0,156.0 198.0,156.0"/><polygon class="facet" id="f-r3" fill="#E3B54F" stroke="#E3B54F" stroke-width=".6" stroke-linejoin="round" points="198.0,156.0 154.0,156.0 169.0,186.0"/><polygon class="facet" id="f-r4" fill="#B98A2E" stroke="#B98A2E" stroke-width=".6" stroke-linejoin="round" points="198.0,156.0 169.0,186.0 213.0,186.0"/><polygon class="facet" id="f-r5" fill="#94681D" stroke="#94681D" stroke-width=".6" stroke-linejoin="round" points="196.3,239.1 213.0,186.0 169.0,186.0 194.6,237.2 194.8,237.6 195.1,238.0 195.4,238.4 195.7,238.7 196.1,239.0"/><polygon class="facet" id="f-r6" fill="#CFA040" stroke="#CFA040" stroke-width=".6" stroke-linejoin="round" points="197.7,239.8 198.2,239.9 198.6,240.0 199.1,240.0 230.3,240.0 231.3,239.9 232.3,239.7 233.2,239.2 234.1,238.7 234.8,238.0 235.4,237.2 235.9,236.2 236.2,235.3 236.3,234.3 236.2,233.3 236.0,232.3 235.7,231.3 213.0,186.0 196.3,239.1 196.5,239.3 196.9,239.5 197.3,239.7"/><polygon class="facet" id="f-bar-top" fill="#E8BF5B" stroke="#E8BF5B" stroke-width=".6" stroke-linejoin="round" points="102.0,156.0 154.0,156.0 128.0,171.0"/><polygon class="facet" id="f-bar-l" fill="#F8DF95" stroke="#F8DF95" stroke-width=".6" stroke-linejoin="round" points="102.0,156.0 128.0,171.0 87.0,186.0"/><polygon class="facet" id="f-bar-r" fill="#C79631" stroke="#C79631" stroke-width=".6" stroke-linejoin="round" points="154.0,156.0 169.0,186.0 128.0,171.0"/><polygon class="facet" id="f-bar-bot" fill="#FFF1BD" stroke="#FFF1BD" stroke-width=".6" stroke-linejoin="round" points="87.0,186.0 128.0,171.0 169.0,186.0"/></g></svg>`;
108
- function InlineMark({
109
- className,
110
- html,
111
- square = false
112
- }) {
113
- const svgFit = square ? "[&_svg]:h-full [&_svg]:w-full" : "[&_svg]:h-full [&_svg]:w-auto";
137
+ function InlineMark({ className, html }) {
114
138
  return /* @__PURE__ */ jsxRuntime.jsx(
115
139
  "span",
116
140
  {
117
141
  "aria-hidden": true,
118
- className: `inline-flex items-center ${svgFit} ${className}`.trim(),
142
+ className: cn(
143
+ "inline-flex items-center overflow-visible [&_svg]:h-full [&_svg]:w-auto [&_svg]:overflow-visible",
144
+ className
145
+ ),
119
146
  dangerouslySetInnerHTML: { __html: html }
120
147
  }
121
148
  );
122
149
  }
123
150
  function BrandLockup({
124
151
  className = "",
125
- heightClassName = "h-7",
152
+ heightClassName = "h-8",
126
153
  collapsible = false,
127
154
  ...rest
128
155
  }) {
129
- const expandedHide = collapsible ? "group-data-[collapsible=icon]:hidden" : "";
130
- const expandedLight = collapsible ? ANIMATED_LIGHT_SVG : LOCKUP_COLOR_SVG;
131
- const expandedDark = collapsible ? ANIMATED_DARK_SVG : LOCKUP_REVERSED_SVG;
156
+ const light = collapsible ? SIDEBAR_ANIMATED_LIGHT_SVG : LOCKUP_COLOR_SVG;
157
+ const dark = collapsible ? SIDEBAR_ANIMATED_DARK_SVG : LOCKUP_REVERSED_SVG;
132
158
  return /* @__PURE__ */ jsxRuntime.jsxs(
133
159
  "span",
134
160
  {
135
161
  "aria-label": "Alhajero",
136
- className: `inline-flex items-center ${className}`.trim(),
162
+ className: cn("inline-flex items-center overflow-visible", className),
137
163
  role: "img",
138
164
  ...rest,
139
165
  children: [
166
+ /* @__PURE__ */ jsxRuntime.jsx(InlineMark, { className: cn(heightClassName, "dark:hidden"), html: light }),
140
167
  /* @__PURE__ */ jsxRuntime.jsx(
141
168
  InlineMark,
142
169
  {
143
- className: `${heightClassName} dark:hidden ${expandedHide}`.trim(),
144
- html: expandedLight
145
- }
146
- ),
147
- /* @__PURE__ */ jsxRuntime.jsx(
148
- InlineMark,
149
- {
150
- className: `hidden ${heightClassName} dark:inline-flex ${expandedHide}`.trim(),
151
- html: expandedDark
170
+ className: cn("hidden", heightClassName, "dark:inline-flex"),
171
+ html: dark
152
172
  }
153
- ),
154
- collapsible ? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
155
- /* @__PURE__ */ jsxRuntime.jsx(
156
- InlineMark,
157
- {
158
- className: "hidden size-8 group-data-[collapsible=icon]:block dark:hidden",
159
- html: GEM_ANIMATED_LIGHT_SVG,
160
- square: true
161
- }
162
- ),
163
- /* @__PURE__ */ jsxRuntime.jsx(
164
- InlineMark,
165
- {
166
- className: "hidden size-8 dark:group-data-[collapsible=icon]:block",
167
- html: GEM_ANIMATED_SVG,
168
- square: true
169
- }
170
- )
171
- ] }) : null
173
+ )
172
174
  ]
173
175
  }
174
176
  );
@@ -205,6 +207,8 @@ exports.GEM_ANIMATED_SVG = GEM_ANIMATED_SVG;
205
207
  exports.GemLoader = GemLoader;
206
208
  exports.LOCKUP_COLOR_SVG = LOCKUP_COLOR_SVG;
207
209
  exports.LOCKUP_REVERSED_SVG = LOCKUP_REVERSED_SVG;
210
+ exports.SIDEBAR_ANIMATED_DARK_SVG = SIDEBAR_ANIMATED_DARK_SVG;
211
+ exports.SIDEBAR_ANIMATED_LIGHT_SVG = SIDEBAR_ANIMATED_LIGHT_SVG;
208
212
  exports.SYMBOL_DARK_SVG = SYMBOL_DARK_SVG;
209
213
  exports.SYMBOL_LIGHT_SVG = SYMBOL_LIGHT_SVG;
210
214
  //# sourceMappingURL=brand.cjs.map