@yenio-pld/blocks 1.2.0-rc.30 → 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/dist/brand.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/brand/inline-svg.ts","../src/brand/animated-brand.tsx","../src/brand/static-svg.ts","../src/brand/brand-lockup.tsx","../src/brand/gem-loader.tsx"],"names":["jsx","jsxs"],"mappings":"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","file":"brand.js","sourcesContent":["/** Inlined Alhajero SVGs so CSS animations run (img tags would freeze them). */\nexport const 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>\n.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}}\n.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)}\n.dk{fill:#5b3a05;animation:shade 3.6s linear infinite;animation-delay:calc(1.3s + var(--d)*1.3s - .18s)}\n.sh.tw{animation:flash 3.6s linear infinite, twink 5.3s ease-in-out infinite;animation-delay:calc(1.3s + var(--d)*1.3s), calc(2.2s + var(--i)*.37s)}\n@keyframes flash{0%{opacity:0}5%{opacity:.95}13%{opacity:.2}20%,100%{opacity:0}}\n@keyframes shade{0%{opacity:0}6%{opacity:.28}14%,100%{opacity:0}}\n@keyframes twink{0%,88%,100%{opacity:0}93%{opacity:.7}}\n.sp{fill:#FFFDF2;stroke:#E2B24F;stroke-width:1.2;stroke-linejoin:round;opacity:0;transform-box:view-box;animation:spark 3.6s ease-in-out infinite;animation-delay:calc(1.3s + var(--d)*1.3s - .05s)}\n@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)}}\n@media (prefers-reduced-motion:reduce){.sh,.dk,.sp,.f polygon{animation:none!important}.sh,.dk,.sp{opacity:0}}\n.g{opacity:0;animation:gi .65s cubic-bezier(.2,.8,.2,1) forwards;animation-delay:calc(.9s + var(--k)*.09s)}\n@keyframes gi{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}\n@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>`;\nexport const 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>\n.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}}\n.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)}\n.dk{fill:#5b3a05;animation:shade 3.6s linear infinite;animation-delay:calc(1.3s + var(--d)*1.3s - .18s)}\n.sh.tw{animation:flash 3.6s linear infinite, twink 5.3s ease-in-out infinite;animation-delay:calc(1.3s + var(--d)*1.3s), calc(2.2s + var(--i)*.37s)}\n@keyframes flash{0%{opacity:0}5%{opacity:.95}13%{opacity:.2}20%,100%{opacity:0}}\n@keyframes shade{0%{opacity:0}6%{opacity:.28}14%,100%{opacity:0}}\n@keyframes twink{0%,88%,100%{opacity:0}93%{opacity:.7}}\n.sp{fill:#FFFDF2;stroke:#E2B24F;stroke-width:1.2;stroke-linejoin:round;opacity:0;transform-box:view-box;animation:spark 3.6s ease-in-out infinite;animation-delay:calc(1.3s + var(--d)*1.3s - .05s)}\n@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)}}\n@media (prefers-reduced-motion:reduce){.sh,.dk,.sp,.f polygon{animation:none!important}.sh,.dk,.sp{opacity:0}}\n.g{opacity:0;animation:gi .65s cubic-bezier(.2,.8,.2,1) forwards;animation-delay:calc(.9s + var(--k)*.09s)}\n@keyframes gi{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}\n@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>`;\nexport const 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>\n.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}}\n.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)}\n.dk{fill:#5b3a05;animation:shade 3.6s linear infinite;animation-delay:calc(1.3s + var(--d)*1.3s - .18s)}\n.sh.tw{animation:flash 3.6s linear infinite, twink 5.3s ease-in-out infinite;animation-delay:calc(1.3s + var(--d)*1.3s), calc(2.2s + var(--i)*.37s)}\n@keyframes flash{0%{opacity:0}5%{opacity:.95}13%{opacity:.2}20%,100%{opacity:0}}\n@keyframes shade{0%{opacity:0}6%{opacity:.28}14%,100%{opacity:0}}\n@keyframes twink{0%,88%,100%{opacity:0}93%{opacity:.7}}\n.sp{fill:#FFFDF2;stroke:#E2B24F;stroke-width:1.2;stroke-linejoin:round;opacity:0;transform-box:view-box;animation:spark 3.6s ease-in-out infinite;animation-delay:calc(1.3s + var(--d)*1.3s - .05s)}\n@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)}}\n@media (prefers-reduced-motion:reduce){.sh,.dk,.sp,.f polygon{animation:none!important}.sh,.dk,.sp{opacity:0}}\n</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>`;\nexport const 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>\n.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}}\n.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)}\n.dk{fill:#5b3a05;animation:shade 3.6s linear infinite;animation-delay:calc(1.3s + var(--d)*1.3s - .18s)}\n.sh.tw{animation:flash 3.6s linear infinite, twink 5.3s ease-in-out infinite;animation-delay:calc(1.3s + var(--d)*1.3s), calc(2.2s + var(--i)*.37s)}\n@keyframes flash{0%{opacity:0}5%{opacity:.95}13%{opacity:.2}20%,100%{opacity:0}}\n@keyframes shade{0%{opacity:0}6%{opacity:.28}14%,100%{opacity:0}}\n@keyframes twink{0%,88%,100%{opacity:0}93%{opacity:.7}}\n.sp{fill:#FFFDF2;stroke:#E2B24F;stroke-width:1.2;stroke-linejoin:round;opacity:0;transform-box:view-box;animation:spark 3.6s ease-in-out infinite;animation-delay:calc(1.3s + var(--d)*1.3s - .05s)}\n@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)}}\n@media (prefers-reduced-motion:reduce){.sh,.dk,.sp,.f polygon{animation:none!important}.sh,.dk,.sp{opacity:0}}\n</style><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>`;\n","import { ANIMATED_DARK_SVG, ANIMATED_LIGHT_SVG } from \"./inline-svg\";\n\nexport type AnimatedBrandProps = {\n\tclassName?: string;\n\t/**\n\t * Prefer light-surface (deepened gem + onyx wordmark) or dark-surface\n\t * (original gold + cream wordmark). Defaults follow the document theme class.\n\t */\n\tvariant?: \"auto\" | \"light\" | \"dark\";\n};\n\n/**\n * Inline C-negro-onix animated lockup. Both facet palettes stay in the DOM for\n * `auto` so theme switches never flash the wrong gold. SVG CSS honors\n * prefers-reduced-motion.\n */\nexport function AnimatedBrand({\n\tclassName = \"h-12 w-auto\",\n\tvariant = \"auto\",\n}: AnimatedBrandProps) {\n\tconst shell =\n\t\t`inline-block [&_svg]:h-full [&_svg]:w-auto ${className}`.trim();\n\n\tif (variant === \"light\") {\n\t\treturn (\n\t\t\t<span\n\t\t\t\taria-label=\"Alhajero\"\n\t\t\t\tclassName={shell}\n\t\t\t\tdangerouslySetInnerHTML={{ __html: ANIMATED_LIGHT_SVG }}\n\t\t\t\trole=\"img\"\n\t\t\t/>\n\t\t);\n\t}\n\n\tif (variant === \"dark\") {\n\t\treturn (\n\t\t\t<span\n\t\t\t\taria-label=\"Alhajero\"\n\t\t\t\tclassName={shell}\n\t\t\t\tdangerouslySetInnerHTML={{ __html: ANIMATED_DARK_SVG }}\n\t\t\t\trole=\"img\"\n\t\t\t/>\n\t\t);\n\t}\n\n\treturn (\n\t\t<span aria-label=\"Alhajero\" className={shell} role=\"img\">\n\t\t\t<span\n\t\t\t\tclassName=\"dark:hidden\"\n\t\t\t\tdangerouslySetInnerHTML={{ __html: ANIMATED_LIGHT_SVG }}\n\t\t\t/>\n\t\t\t<span\n\t\t\t\tclassName=\"hidden dark:inline\"\n\t\t\t\tdangerouslySetInnerHTML={{ __html: ANIMATED_DARK_SVG }}\n\t\t\t/>\n\t\t</span>\n\t);\n}\n","/** Static Alhajero lockups/symbols for inline BrandLockup (theme via CSS). */\n\nexport const 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>`;\n\nexport const 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>`;\n\nexport const 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>`;\n\nexport const 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>`;\n","import type { HTMLAttributes } from \"react\";\n\nimport {\n\tANIMATED_DARK_SVG,\n\tANIMATED_LIGHT_SVG,\n\tGEM_ANIMATED_LIGHT_SVG,\n\tGEM_ANIMATED_SVG,\n} from \"./inline-svg\";\nimport { LOCKUP_COLOR_SVG, LOCKUP_REVERSED_SVG } from \"./static-svg\";\n\nexport type BrandLockupProps = HTMLAttributes<HTMLSpanElement> & {\n\t/** Height class for the expanded lockup (default h-7). */\n\theightClassName?: string;\n\t/**\n\t * AppShell icon-rail mode: expanded uses the glitter lockup; collapsed\n\t * (`group-data-[collapsible=icon]`) swaps to the animated gem / A.\n\t */\n\tcollapsible?: boolean;\n};\n\nfunction InlineMark({\n\tclassName,\n\thtml,\n\tsquare = false,\n}: {\n\tclassName: string;\n\thtml: string;\n\tsquare?: boolean;\n}) {\n\tconst svgFit = square\n\t\t? \"[&_svg]:h-full [&_svg]:w-full\"\n\t\t: \"[&_svg]:h-full [&_svg]:w-auto\";\n\treturn (\n\t\t<span\n\t\t\taria-hidden\n\t\t\tclassName={`inline-flex items-center ${svgFit} ${className}`.trim()}\n\t\t\tdangerouslySetInnerHTML={{ __html: html }}\n\t\t/>\n\t);\n}\n\n/**\n * Horizontal Alhajero lockup: deepened gem on light, original gold on dark.\n * Collapsible mode uses AnimatedBrand / GemLoader SVG sources (glitter lockup\n * expanded, animated gem collapsed). Both theme variants stay in the DOM so\n * switches do not flash the wrong gold. SVG CSS honors prefers-reduced-motion.\n */\nexport function BrandLockup({\n\tclassName = \"\",\n\theightClassName = \"h-7\",\n\tcollapsible = false,\n\t...rest\n}: BrandLockupProps) {\n\tconst expandedHide = collapsible\n\t\t? \"group-data-[collapsible=icon]:hidden\"\n\t\t: \"\";\n\tconst expandedLight = collapsible ? ANIMATED_LIGHT_SVG : LOCKUP_COLOR_SVG;\n\tconst expandedDark = collapsible ? ANIMATED_DARK_SVG : LOCKUP_REVERSED_SVG;\n\n\treturn (\n\t\t<span\n\t\t\taria-label=\"Alhajero\"\n\t\t\tclassName={`inline-flex items-center ${className}`.trim()}\n\t\t\trole=\"img\"\n\t\t\t{...rest}\n\t\t>\n\t\t\t<InlineMark\n\t\t\t\tclassName={`${heightClassName} dark:hidden ${expandedHide}`.trim()}\n\t\t\t\thtml={expandedLight}\n\t\t\t/>\n\t\t\t<InlineMark\n\t\t\t\tclassName={`hidden ${heightClassName} dark:inline-flex ${expandedHide}`.trim()}\n\t\t\t\thtml={expandedDark}\n\t\t\t/>\n\t\t\t{collapsible ? (\n\t\t\t\t<>\n\t\t\t\t\t<InlineMark\n\t\t\t\t\t\tclassName=\"hidden size-8 group-data-[collapsible=icon]:block dark:hidden\"\n\t\t\t\t\t\thtml={GEM_ANIMATED_LIGHT_SVG}\n\t\t\t\t\t\tsquare\n\t\t\t\t\t/>\n\t\t\t\t\t<InlineMark\n\t\t\t\t\t\tclassName=\"hidden size-8 dark:group-data-[collapsible=icon]:block\"\n\t\t\t\t\t\thtml={GEM_ANIMATED_SVG}\n\t\t\t\t\t\tsquare\n\t\t\t\t\t/>\n\t\t\t\t</>\n\t\t\t) : null}\n\t\t</span>\n\t);\n}\n","import { GEM_ANIMATED_LIGHT_SVG, GEM_ANIMATED_SVG } from \"./inline-svg\";\n\nexport type GemLoaderProps = {\n\tclassName?: string;\n\tlabel?: string;\n};\n\n/** Compact animated gem for route/login loaders. SVG CSS honors prefers-reduced-motion. */\nexport function GemLoader({\n\tclassName = \"size-10\",\n\tlabel = \"Loading\",\n}: GemLoaderProps) {\n\tconst shell =\n\t\t`inline-block [&_svg]:h-full [&_svg]:w-full ${className}`.trim();\n\treturn (\n\t\t<span aria-busy=\"true\" aria-label={label} className={shell} role=\"status\">\n\t\t\t<span\n\t\t\t\tclassName=\"dark:hidden\"\n\t\t\t\tdangerouslySetInnerHTML={{ __html: GEM_ANIMATED_LIGHT_SVG }}\n\t\t\t/>\n\t\t\t<span\n\t\t\t\tclassName=\"hidden dark:inline\"\n\t\t\t\tdangerouslySetInnerHTML={{ __html: GEM_ANIMATED_SVG }}\n\t\t\t/>\n\t\t</span>\n\t);\n}\n"]}
1
+ {"version":3,"sources":["../src/brand/inline-svg.ts","../src/brand/animated-brand.tsx","../src/lib/utils.ts","../src/brand/sidebar-svg.ts","../src/brand/static-svg.ts","../src/brand/brand-lockup.tsx","../src/brand/gem-loader.tsx"],"names":["jsx","jsxs"],"mappings":"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","file":"brand.js","sourcesContent":["/** Inlined Alhajero SVGs so CSS animations run (img tags would freeze them). */\nexport const 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>\n.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}}\n.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)}\n.dk{fill:#5b3a05;animation:shade 3.6s linear infinite;animation-delay:calc(1.3s + var(--d)*1.3s - .18s)}\n.sh.tw{animation:flash 3.6s linear infinite, twink 5.3s ease-in-out infinite;animation-delay:calc(1.3s + var(--d)*1.3s), calc(2.2s + var(--i)*.37s)}\n@keyframes flash{0%{opacity:0}5%{opacity:.95}13%{opacity:.2}20%,100%{opacity:0}}\n@keyframes shade{0%{opacity:0}6%{opacity:.28}14%,100%{opacity:0}}\n@keyframes twink{0%,88%,100%{opacity:0}93%{opacity:.7}}\n.sp{fill:#FFFDF2;stroke:#E2B24F;stroke-width:1.2;stroke-linejoin:round;opacity:0;transform-box:view-box;animation:spark 3.6s ease-in-out infinite;animation-delay:calc(1.3s + var(--d)*1.3s - .05s)}\n@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)}}\n@media (prefers-reduced-motion:reduce){.sh,.dk,.sp,.f polygon{animation:none!important}.sh,.dk,.sp{opacity:0}}\n.g{opacity:0;animation:gi .65s cubic-bezier(.2,.8,.2,1) forwards;animation-delay:calc(.9s + var(--k)*.09s)}\n@keyframes gi{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}\n@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>`;\nexport const 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>\n.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}}\n.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)}\n.dk{fill:#5b3a05;animation:shade 3.6s linear infinite;animation-delay:calc(1.3s + var(--d)*1.3s - .18s)}\n.sh.tw{animation:flash 3.6s linear infinite, twink 5.3s ease-in-out infinite;animation-delay:calc(1.3s + var(--d)*1.3s), calc(2.2s + var(--i)*.37s)}\n@keyframes flash{0%{opacity:0}5%{opacity:.95}13%{opacity:.2}20%,100%{opacity:0}}\n@keyframes shade{0%{opacity:0}6%{opacity:.28}14%,100%{opacity:0}}\n@keyframes twink{0%,88%,100%{opacity:0}93%{opacity:.7}}\n.sp{fill:#FFFDF2;stroke:#E2B24F;stroke-width:1.2;stroke-linejoin:round;opacity:0;transform-box:view-box;animation:spark 3.6s ease-in-out infinite;animation-delay:calc(1.3s + var(--d)*1.3s - .05s)}\n@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)}}\n@media (prefers-reduced-motion:reduce){.sh,.dk,.sp,.f polygon{animation:none!important}.sh,.dk,.sp{opacity:0}}\n.g{opacity:0;animation:gi .65s cubic-bezier(.2,.8,.2,1) forwards;animation-delay:calc(.9s + var(--k)*.09s)}\n@keyframes gi{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}\n@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>`;\nexport const 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>\n.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}}\n.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)}\n.dk{fill:#5b3a05;animation:shade 3.6s linear infinite;animation-delay:calc(1.3s + var(--d)*1.3s - .18s)}\n.sh.tw{animation:flash 3.6s linear infinite, twink 5.3s ease-in-out infinite;animation-delay:calc(1.3s + var(--d)*1.3s), calc(2.2s + var(--i)*.37s)}\n@keyframes flash{0%{opacity:0}5%{opacity:.95}13%{opacity:.2}20%,100%{opacity:0}}\n@keyframes shade{0%{opacity:0}6%{opacity:.28}14%,100%{opacity:0}}\n@keyframes twink{0%,88%,100%{opacity:0}93%{opacity:.7}}\n.sp{fill:#FFFDF2;stroke:#E2B24F;stroke-width:1.2;stroke-linejoin:round;opacity:0;transform-box:view-box;animation:spark 3.6s ease-in-out infinite;animation-delay:calc(1.3s + var(--d)*1.3s - .05s)}\n@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)}}\n@media (prefers-reduced-motion:reduce){.sh,.dk,.sp,.f polygon{animation:none!important}.sh,.dk,.sp{opacity:0}}\n</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>`;\nexport const 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>\n.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}}\n.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)}\n.dk{fill:#5b3a05;animation:shade 3.6s linear infinite;animation-delay:calc(1.3s + var(--d)*1.3s - .18s)}\n.sh.tw{animation:flash 3.6s linear infinite, twink 5.3s ease-in-out infinite;animation-delay:calc(1.3s + var(--d)*1.3s), calc(2.2s + var(--i)*.37s)}\n@keyframes flash{0%{opacity:0}5%{opacity:.95}13%{opacity:.2}20%,100%{opacity:0}}\n@keyframes shade{0%{opacity:0}6%{opacity:.28}14%,100%{opacity:0}}\n@keyframes twink{0%,88%,100%{opacity:0}93%{opacity:.7}}\n.sp{fill:#FFFDF2;stroke:#E2B24F;stroke-width:1.2;stroke-linejoin:round;opacity:0;transform-box:view-box;animation:spark 3.6s ease-in-out infinite;animation-delay:calc(1.3s + var(--d)*1.3s - .05s)}\n@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)}}\n@media (prefers-reduced-motion:reduce){.sh,.dk,.sp,.f polygon{animation:none!important}.sh,.dk,.sp{opacity:0}}\n</style><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>`;\n","import { ANIMATED_DARK_SVG, ANIMATED_LIGHT_SVG } from \"./inline-svg\";\n\nexport type AnimatedBrandProps = {\n\tclassName?: string;\n\t/**\n\t * Prefer light-surface (deepened gem + onyx wordmark) or dark-surface\n\t * (original gold + cream wordmark). Defaults follow the document theme class.\n\t */\n\tvariant?: \"auto\" | \"light\" | \"dark\";\n};\n\n/**\n * Inline C-negro-onix animated lockup. Both facet palettes stay in the DOM for\n * `auto` so theme switches never flash the wrong gold. SVG CSS honors\n * prefers-reduced-motion.\n */\nexport function AnimatedBrand({\n\tclassName = \"h-12 w-auto\",\n\tvariant = \"auto\",\n}: AnimatedBrandProps) {\n\tconst shell =\n\t\t`inline-block [&_svg]:h-full [&_svg]:w-auto ${className}`.trim();\n\n\tif (variant === \"light\") {\n\t\treturn (\n\t\t\t<span\n\t\t\t\taria-label=\"Alhajero\"\n\t\t\t\tclassName={shell}\n\t\t\t\tdangerouslySetInnerHTML={{ __html: ANIMATED_LIGHT_SVG }}\n\t\t\t\trole=\"img\"\n\t\t\t/>\n\t\t);\n\t}\n\n\tif (variant === \"dark\") {\n\t\treturn (\n\t\t\t<span\n\t\t\t\taria-label=\"Alhajero\"\n\t\t\t\tclassName={shell}\n\t\t\t\tdangerouslySetInnerHTML={{ __html: ANIMATED_DARK_SVG }}\n\t\t\t\trole=\"img\"\n\t\t\t/>\n\t\t);\n\t}\n\n\treturn (\n\t\t<span aria-label=\"Alhajero\" className={shell} role=\"img\">\n\t\t\t<span\n\t\t\t\tclassName=\"dark:hidden\"\n\t\t\t\tdangerouslySetInnerHTML={{ __html: ANIMATED_LIGHT_SVG }}\n\t\t\t/>\n\t\t\t<span\n\t\t\t\tclassName=\"hidden dark:inline\"\n\t\t\t\tdangerouslySetInnerHTML={{ __html: ANIMATED_DARK_SVG }}\n\t\t\t/>\n\t\t</span>\n\t);\n}\n","import { clsx, type ClassValue } from \"clsx\";\nimport { twMerge } from \"tailwind-merge\";\n\nexport function cn(...inputs: ClassValue[]) {\n\treturn twMerge(clsx(inputs));\n}\n","import { ANIMATED_DARK_SVG, ANIMATED_LIGHT_SVG } from \"./inline-svg\";\n\n/**\n * Sidebar rail lockup: same geometry as the glitter animated mark, but the gem A\n * stays assembled and wordmark letters slide horizontally (not the vertical\n * login/splash reveal). Parent CSS (`.shell-brand`) can reverse the cascade.\n */\nconst FACET_ASSEMBLE =\n\t\".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)}\";\nconst FACET_STATIC = \".f polygon:first-child{opacity:1;transform:none}\";\n\nconst KEYFRAMES_IN =\n\t\"@keyframes in{from{opacity:0;transform:scale(.2) rotate(-25deg)}to{opacity:1;transform:none}}\";\n\nconst LETTER_VERTICAL =\n\t\".g{opacity:0;animation:gi .65s cubic-bezier(.2,.8,.2,1) forwards;animation-delay:calc(.9s + var(--k)*.09s)}\";\nconst LETTER_HORIZONTAL =\n\t\".g{opacity:0;animation:sgi .45s cubic-bezier(.2,.8,.2,1) forwards;animation-delay:calc(var(--k)*.05s)}\";\n\nconst KEYFRAMES_GI =\n\t\"@keyframes gi{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}\";\nconst KEYFRAMES_SGI =\n\t\"@keyframes sgi{from{opacity:0;transform:translateX(-16px)}to{opacity:1;transform:none}}\";\n\nfunction toSidebarLockup(svg: string): string {\n\tlet out = svg;\n\tout = out.replace(FACET_ASSEMBLE, FACET_STATIC);\n\tout = out.replace(KEYFRAMES_IN, \"\");\n\tout = out.replace(LETTER_VERTICAL, LETTER_HORIZONTAL);\n\tout = out.replace(KEYFRAMES_GI, KEYFRAMES_SGI);\n\tif (!out.includes(\"keyframes sgi\") || out.includes(\"translateY(14px)\")) {\n\t\tthrow new Error(\n\t\t\t\"sidebar lockup transform failed — animated SVG style shape changed\",\n\t\t);\n\t}\n\treturn out;\n}\n\nexport const SIDEBAR_ANIMATED_LIGHT_SVG = toSidebarLockup(ANIMATED_LIGHT_SVG);\nexport const SIDEBAR_ANIMATED_DARK_SVG = toSidebarLockup(ANIMATED_DARK_SVG);\n","/** Static Alhajero lockups/symbols for inline BrandLockup (theme via CSS). */\n\nexport const 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>`;\n\nexport const 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>`;\n\nexport const 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>`;\n\nexport const 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>`;\n","import type { HTMLAttributes } from \"react\";\n\nimport { cn } from \"../lib/utils\";\nimport {\n\tSIDEBAR_ANIMATED_DARK_SVG,\n\tSIDEBAR_ANIMATED_LIGHT_SVG,\n} from \"./sidebar-svg\";\nimport { LOCKUP_COLOR_SVG, LOCKUP_REVERSED_SVG } from \"./static-svg\";\n\nexport type BrandLockupProps = HTMLAttributes<HTMLSpanElement> & {\n\t/** Height class for the lockup (default h-8). */\n\theightClassName?: string;\n\t/**\n\t * AppShell icon-rail mode: sidebar lockup (gem A always on, letters slide\n\t * horizontally). Parent CSS reverses the cascade on collapse.\n\t */\n\tcollapsible?: boolean;\n};\n\nfunction InlineMark({ className, html }: { className: string; html: string }) {\n\treturn (\n\t\t<span\n\t\t\taria-hidden\n\t\t\tclassName={cn(\n\t\t\t\t\"inline-flex items-center overflow-visible [&_svg]:h-full [&_svg]:w-auto [&_svg]:overflow-visible\",\n\t\t\t\tclassName,\n\t\t\t)}\n\t\t\tdangerouslySetInnerHTML={{ __html: html }}\n\t\t/>\n\t);\n}\n\n/**\n * Horizontal Alhajero lockup: deepened gem on light, original gold on dark.\n * Collapsible mode embeds the sidebar lockup (static gem + horizontal letters)\n * so expand/collapse can reverse on the same mark without the vertical splash\n * animation. Both theme variants stay in the DOM so switches do not flash the\n * wrong gold. SVG CSS honors prefers-reduced-motion.\n */\nexport function BrandLockup({\n\tclassName = \"\",\n\theightClassName = \"h-8\",\n\tcollapsible = false,\n\t...rest\n}: BrandLockupProps) {\n\tconst light = collapsible ? SIDEBAR_ANIMATED_LIGHT_SVG : LOCKUP_COLOR_SVG;\n\tconst dark = collapsible ? SIDEBAR_ANIMATED_DARK_SVG : LOCKUP_REVERSED_SVG;\n\n\treturn (\n\t\t<span\n\t\t\taria-label=\"Alhajero\"\n\t\t\tclassName={cn(\"inline-flex items-center overflow-visible\", className)}\n\t\t\trole=\"img\"\n\t\t\t{...rest}\n\t\t>\n\t\t\t<InlineMark className={cn(heightClassName, \"dark:hidden\")} html={light} />\n\t\t\t<InlineMark\n\t\t\t\tclassName={cn(\"hidden\", heightClassName, \"dark:inline-flex\")}\n\t\t\t\thtml={dark}\n\t\t\t/>\n\t\t</span>\n\t);\n}\n","import { GEM_ANIMATED_LIGHT_SVG, GEM_ANIMATED_SVG } from \"./inline-svg\";\n\nexport type GemLoaderProps = {\n\tclassName?: string;\n\tlabel?: string;\n};\n\n/** Compact animated gem for route/login loaders. SVG CSS honors prefers-reduced-motion. */\nexport function GemLoader({\n\tclassName = \"size-10\",\n\tlabel = \"Loading\",\n}: GemLoaderProps) {\n\tconst shell =\n\t\t`inline-block [&_svg]:h-full [&_svg]:w-full ${className}`.trim();\n\treturn (\n\t\t<span aria-busy=\"true\" aria-label={label} className={shell} role=\"status\">\n\t\t\t<span\n\t\t\t\tclassName=\"dark:hidden\"\n\t\t\t\tdangerouslySetInnerHTML={{ __html: GEM_ANIMATED_LIGHT_SVG }}\n\t\t\t/>\n\t\t\t<span\n\t\t\t\tclassName=\"hidden dark:inline\"\n\t\t\t\tdangerouslySetInnerHTML={{ __html: GEM_ANIMATED_SVG }}\n\t\t\t/>\n\t\t</span>\n\t);\n}\n"]}
package/dist/consent.cjs CHANGED
@@ -12,10 +12,23 @@ function cookieConsentAllowsReplay(value) {
12
12
  }
13
13
  function cookieDomainFromHostname(hostname) {
14
14
  const host = hostname.toLowerCase();
15
- if (host === "localhost" || host === "127.0.0.1") return void 0;
16
- if (host.endsWith(".yenio.mx") || host === "yenio.mx") return ".yenio.mx";
17
- if (host.endsWith(".yenio.workers.dev") || host === "yenio.workers.dev") {
18
- return ".yenio.workers.dev";
15
+ if (host === "localhost" || host === "127.0.0.1" || host === "[::1]" || host === "::1") {
16
+ return void 0;
17
+ }
18
+ if (host.endsWith(".workers.dev")) {
19
+ const parts = host.split(".");
20
+ if (parts.length >= 3 && parts[parts.length - 2] === "workers" && parts[parts.length - 1] === "dev") {
21
+ const account = parts[parts.length - 3];
22
+ if (account) return `.${account}.workers.dev`;
23
+ }
24
+ return void 0;
25
+ }
26
+ if (host.endsWith(".mx")) {
27
+ const parts = host.split(".");
28
+ if (parts.length >= 2 && parts[parts.length - 1] === "mx") {
29
+ const apex = parts[parts.length - 2];
30
+ if (apex) return `.${apex}.mx`;
31
+ }
19
32
  }
20
33
  return void 0;
21
34
  }
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/lib/cookie-consent.ts"],"names":[],"mappings":"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","file":"consent.cjs","sourcesContent":["export const COOKIE_CONSENT_NAME = \"yenio-cookie-consent\";\n\nexport const COOKIE_CONSENT_VALUES = [\"necessary\", \"all\"] as const;\n\nexport type CookieConsentValue = (typeof COOKIE_CONSENT_VALUES)[number];\n\n/** ~180 days, matching contracts §1.2. */\nexport const COOKIE_CONSENT_MAX_AGE = 180 * 24 * 60 * 60;\n\nexport type WriteCookieConsentOptions = {\n\tdomain?: string;\n\tsecure?: boolean;\n\tmaxAge?: number;\n};\n\nexport function isCookieConsentValue(\n\tvalue: unknown,\n): value is CookieConsentValue {\n\treturn (\n\t\ttypeof value === \"string\" &&\n\t\t(COOKIE_CONSENT_VALUES as readonly string[]).includes(value)\n\t);\n}\n\nexport function cookieConsentAllowsReplay(\n\tvalue: CookieConsentValue | null | undefined,\n): boolean {\n\treturn value === \"all\";\n}\n\nexport function cookieDomainFromHostname(hostname: string): string | undefined {\n\tconst host = hostname.toLowerCase();\n\tif (host === \"localhost\" || host === \"127.0.0.1\") return undefined;\n\tif (host.endsWith(\".yenio.mx\") || host === \"yenio.mx\") return \".yenio.mx\";\n\tif (host.endsWith(\".yenio.workers.dev\") || host === \"yenio.workers.dev\") {\n\t\treturn \".yenio.workers.dev\";\n\t}\n\treturn undefined;\n}\n\nfunction readCookieMap(cookieSource: string): Map<string, string> {\n\tconst map = new Map<string, string>();\n\tfor (const part of cookieSource.split(\";\")) {\n\t\tconst trimmed = part.trim();\n\t\tif (!trimmed) continue;\n\t\tconst eq = trimmed.indexOf(\"=\");\n\t\tif (eq < 0) continue;\n\t\tconst name = trimmed.slice(0, eq).trim();\n\t\tconst raw = trimmed.slice(eq + 1).trim();\n\t\tmap.set(name, decodeURIComponent(raw));\n\t}\n\treturn map;\n}\n\nexport function parseCookieConsent(\n\tcookieSource: string,\n): CookieConsentValue | null {\n\tconst raw = readCookieMap(cookieSource).get(COOKIE_CONSENT_NAME);\n\treturn isCookieConsentValue(raw) ? raw : null;\n}\n\nexport function readCookieConsent(): CookieConsentValue | null {\n\tif (typeof document === \"undefined\") return null;\n\treturn parseCookieConsent(document.cookie);\n}\n\nexport function serializeCookieConsent(\n\tvalue: CookieConsentValue,\n\toptions: WriteCookieConsentOptions = {},\n): string {\n\tconst maxAge = options.maxAge ?? COOKIE_CONSENT_MAX_AGE;\n\tconst secure =\n\t\toptions.secure ??\n\t\t(typeof window !== \"undefined\" && window.location.protocol === \"https:\");\n\tconst parts = [\n\t\t`${COOKIE_CONSENT_NAME}=${encodeURIComponent(value)}`,\n\t\t\"Path=/\",\n\t\t`Max-Age=${maxAge}`,\n\t\t\"SameSite=Lax\",\n\t];\n\tif (options.domain) {\n\t\tparts.push(`Domain=${options.domain}`);\n\t}\n\tif (secure) {\n\t\tparts.push(\"Secure\");\n\t}\n\treturn parts.join(\"; \");\n}\n\nexport function writeCookieConsent(\n\tvalue: CookieConsentValue,\n\toptions: WriteCookieConsentOptions = {},\n): void {\n\tif (typeof document === \"undefined\") return;\n\tdocument.cookie = serializeCookieConsent(value, options);\n}\n\nexport function isEmbeddedWindow(): boolean {\n\tif (typeof window === \"undefined\") return false;\n\ttry {\n\t\treturn window.self !== window.top;\n\t} catch {\n\t\treturn true;\n\t}\n}\n"]}
1
+ {"version":3,"sources":["../src/lib/cookie-consent.ts"],"names":[],"mappings":"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","file":"consent.cjs","sourcesContent":["export const COOKIE_CONSENT_NAME = \"yenio-cookie-consent\";\n\nexport const COOKIE_CONSENT_VALUES = [\"necessary\", \"all\"] as const;\n\nexport type CookieConsentValue = (typeof COOKIE_CONSENT_VALUES)[number];\n\n/** ~180 days, matching contracts §1.2. */\nexport const COOKIE_CONSENT_MAX_AGE = 180 * 24 * 60 * 60;\n\nexport type WriteCookieConsentOptions = {\n\tdomain?: string;\n\tsecure?: boolean;\n\tmaxAge?: number;\n};\n\nexport function isCookieConsentValue(\n\tvalue: unknown,\n): value is CookieConsentValue {\n\treturn (\n\t\ttypeof value === \"string\" &&\n\t\t(COOKIE_CONSENT_VALUES as readonly string[]).includes(value)\n\t);\n}\n\nexport function cookieConsentAllowsReplay(\n\tvalue: CookieConsentValue | null | undefined,\n): boolean {\n\treturn value === \"all\";\n}\n\n/**\n * Parent cookie Domain for shared consent across stable, local, and preview hosts.\n * loopback → omit; `*.{account}.workers.dev` → `.{account}.workers.dev`;\n * `*.{apex}.mx` → `.{apex}.mx`.\n */\nexport function cookieDomainFromHostname(hostname: string): string | undefined {\n\tconst host = hostname.toLowerCase();\n\tif (\n\t\thost === \"localhost\" ||\n\t\thost === \"127.0.0.1\" ||\n\t\thost === \"[::1]\" ||\n\t\thost === \"::1\"\n\t) {\n\t\treturn undefined;\n\t}\n\tif (host.endsWith(\".workers.dev\")) {\n\t\tconst parts = host.split(\".\");\n\t\tif (\n\t\t\tparts.length >= 3 &&\n\t\t\tparts[parts.length - 2] === \"workers\" &&\n\t\t\tparts[parts.length - 1] === \"dev\"\n\t\t) {\n\t\t\tconst account = parts[parts.length - 3];\n\t\t\tif (account) return `.${account}.workers.dev`;\n\t\t}\n\t\treturn undefined;\n\t}\n\tif (host.endsWith(\".mx\")) {\n\t\tconst parts = host.split(\".\");\n\t\tif (parts.length >= 2 && parts[parts.length - 1] === \"mx\") {\n\t\t\tconst apex = parts[parts.length - 2];\n\t\t\tif (apex) return `.${apex}.mx`;\n\t\t}\n\t}\n\treturn undefined;\n}\n\nfunction readCookieMap(cookieSource: string): Map<string, string> {\n\tconst map = new Map<string, string>();\n\tfor (const part of cookieSource.split(\";\")) {\n\t\tconst trimmed = part.trim();\n\t\tif (!trimmed) continue;\n\t\tconst eq = trimmed.indexOf(\"=\");\n\t\tif (eq < 0) continue;\n\t\tconst name = trimmed.slice(0, eq).trim();\n\t\tconst raw = trimmed.slice(eq + 1).trim();\n\t\tmap.set(name, decodeURIComponent(raw));\n\t}\n\treturn map;\n}\n\nexport function parseCookieConsent(\n\tcookieSource: string,\n): CookieConsentValue | null {\n\tconst raw = readCookieMap(cookieSource).get(COOKIE_CONSENT_NAME);\n\treturn isCookieConsentValue(raw) ? raw : null;\n}\n\nexport function readCookieConsent(): CookieConsentValue | null {\n\tif (typeof document === \"undefined\") return null;\n\treturn parseCookieConsent(document.cookie);\n}\n\nexport function serializeCookieConsent(\n\tvalue: CookieConsentValue,\n\toptions: WriteCookieConsentOptions = {},\n): string {\n\tconst maxAge = options.maxAge ?? COOKIE_CONSENT_MAX_AGE;\n\tconst secure =\n\t\toptions.secure ??\n\t\t(typeof window !== \"undefined\" && window.location.protocol === \"https:\");\n\tconst parts = [\n\t\t`${COOKIE_CONSENT_NAME}=${encodeURIComponent(value)}`,\n\t\t\"Path=/\",\n\t\t`Max-Age=${maxAge}`,\n\t\t\"SameSite=Lax\",\n\t];\n\tif (options.domain) {\n\t\tparts.push(`Domain=${options.domain}`);\n\t}\n\tif (secure) {\n\t\tparts.push(\"Secure\");\n\t}\n\treturn parts.join(\"; \");\n}\n\nexport function writeCookieConsent(\n\tvalue: CookieConsentValue,\n\toptions: WriteCookieConsentOptions = {},\n): void {\n\tif (typeof document === \"undefined\") return;\n\tdocument.cookie = serializeCookieConsent(value, options);\n}\n\nexport function isEmbeddedWindow(): boolean {\n\tif (typeof window === \"undefined\") return false;\n\ttry {\n\t\treturn window.self !== window.top;\n\t} catch {\n\t\treturn true;\n\t}\n}\n"]}
@@ -10,6 +10,11 @@ type WriteCookieConsentOptions = {
10
10
  };
11
11
  declare function isCookieConsentValue(value: unknown): value is CookieConsentValue;
12
12
  declare function cookieConsentAllowsReplay(value: CookieConsentValue | null | undefined): boolean;
13
+ /**
14
+ * Parent cookie Domain for shared consent across stable, local, and preview hosts.
15
+ * loopback → omit; `*.{account}.workers.dev` → `.{account}.workers.dev`;
16
+ * `*.{apex}.mx` → `.{apex}.mx`.
17
+ */
13
18
  declare function cookieDomainFromHostname(hostname: string): string | undefined;
14
19
  declare function parseCookieConsent(cookieSource: string): CookieConsentValue | null;
15
20
  declare function readCookieConsent(): CookieConsentValue | null;
package/dist/consent.d.ts CHANGED
@@ -10,6 +10,11 @@ type WriteCookieConsentOptions = {
10
10
  };
11
11
  declare function isCookieConsentValue(value: unknown): value is CookieConsentValue;
12
12
  declare function cookieConsentAllowsReplay(value: CookieConsentValue | null | undefined): boolean;
13
+ /**
14
+ * Parent cookie Domain for shared consent across stable, local, and preview hosts.
15
+ * loopback → omit; `*.{account}.workers.dev` → `.{account}.workers.dev`;
16
+ * `*.{apex}.mx` → `.{apex}.mx`.
17
+ */
13
18
  declare function cookieDomainFromHostname(hostname: string): string | undefined;
14
19
  declare function parseCookieConsent(cookieSource: string): CookieConsentValue | null;
15
20
  declare function readCookieConsent(): CookieConsentValue | null;
package/dist/consent.js CHANGED
@@ -10,10 +10,23 @@ function cookieConsentAllowsReplay(value) {
10
10
  }
11
11
  function cookieDomainFromHostname(hostname) {
12
12
  const host = hostname.toLowerCase();
13
- if (host === "localhost" || host === "127.0.0.1") return void 0;
14
- if (host.endsWith(".yenio.mx") || host === "yenio.mx") return ".yenio.mx";
15
- if (host.endsWith(".yenio.workers.dev") || host === "yenio.workers.dev") {
16
- return ".yenio.workers.dev";
13
+ if (host === "localhost" || host === "127.0.0.1" || host === "[::1]" || host === "::1") {
14
+ return void 0;
15
+ }
16
+ if (host.endsWith(".workers.dev")) {
17
+ const parts = host.split(".");
18
+ if (parts.length >= 3 && parts[parts.length - 2] === "workers" && parts[parts.length - 1] === "dev") {
19
+ const account = parts[parts.length - 3];
20
+ if (account) return `.${account}.workers.dev`;
21
+ }
22
+ return void 0;
23
+ }
24
+ if (host.endsWith(".mx")) {
25
+ const parts = host.split(".");
26
+ if (parts.length >= 2 && parts[parts.length - 1] === "mx") {
27
+ const apex = parts[parts.length - 2];
28
+ if (apex) return `.${apex}.mx`;
29
+ }
17
30
  }
18
31
  return void 0;
19
32
  }