@karmo-co/drift-kit-public 25.30.0 → 25.32.0

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/components.js CHANGED
@@ -1722,6 +1722,101 @@
1722
1722
  start();
1723
1723
  })();
1724
1724
  })(typeof window !== 'undefined' ? window : undefined);
1725
+ (function (w) {
1726
+ if (!w)
1727
+ return;
1728
+ var d = (w.dk = w.dk || {});
1729
+ d.__loaded = d.__loaded || {};
1730
+ if (d.__loaded['kit/press.js'])
1731
+ return;
1732
+ d.__loaded['kit/press.js'] = true;
1733
+ (function () {
1734
+ 'use strict';
1735
+ if (typeof window === 'undefined' || typeof document === 'undefined')
1736
+ return;
1737
+ var dk = (window.dk = window.dk || {});
1738
+ dk.interactive = dk.interactive || {};
1739
+ if (dk.interactive.press)
1740
+ return;
1741
+ var ROOT = document.documentElement;
1742
+ var GATE = 'data-dk-press', MARK = 'data-dk-pressed';
1743
+ var SLOP = 10;
1744
+ var mq = window.matchMedia ? window.matchMedia('(hover: none)') : null;
1745
+ function sync() {
1746
+ if (mq && mq.matches)
1747
+ ROOT.setAttribute(GATE, '');
1748
+ else
1749
+ ROOT.removeAttribute(GATE);
1750
+ }
1751
+ sync();
1752
+ if (mq) {
1753
+ if (mq.addEventListener)
1754
+ mq.addEventListener('change', sync);
1755
+ else if (mq.addListener)
1756
+ mq.addListener(sync);
1757
+ }
1758
+ function ms(name, fallback) {
1759
+ var v = getComputedStyle(ROOT).getPropertyValue(name).trim();
1760
+ var n = parseFloat(v);
1761
+ if (isNaN(n))
1762
+ return fallback;
1763
+ return /ms$/.test(v) ? n : /s$/.test(v) ? n * 1000 : n;
1764
+ }
1765
+ var cur = null;
1766
+ function mark(c, on) {
1767
+ for (var i = 0; i < c.chain.length; i++) {
1768
+ if (on)
1769
+ c.chain[i].setAttribute(MARK, '');
1770
+ else
1771
+ c.chain[i].removeAttribute(MARK);
1772
+ }
1773
+ }
1774
+ function drop(c) { clearTimeout(c.timer); clearTimeout(c.lift); mark(c, false); }
1775
+ function cancel() { if (cur) {
1776
+ drop(cur);
1777
+ cur = null;
1778
+ } }
1779
+ document.addEventListener('pointerdown', function (e) {
1780
+ if (e.pointerType !== 'touch' || !ROOT.hasAttribute(GATE))
1781
+ return;
1782
+ cancel();
1783
+ var t = e.target && e.target.nodeType === 1 ? e.target : e.target && e.target.parentElement;
1784
+ if (!t)
1785
+ return;
1786
+ var chain = [];
1787
+ for (var el = t; el && el !== ROOT && el.nodeType === 1; el = el.parentElement)
1788
+ chain.push(el);
1789
+ var c = cur = { id: e.pointerId, x: e.clientX, y: e.clientY, chain: chain, shown: false };
1790
+ c.timer = setTimeout(function () { if (cur === c) {
1791
+ c.shown = true;
1792
+ mark(c, true);
1793
+ } }, ms('--dk-interactive-press-delay-touch', 120));
1794
+ }, { capture: true, passive: true });
1795
+ document.addEventListener('pointermove', function (e) {
1796
+ if (!cur || e.pointerId !== cur.id)
1797
+ return;
1798
+ if (Math.abs(e.clientX - cur.x) > SLOP || Math.abs(e.clientY - cur.y) > SLOP)
1799
+ cancel();
1800
+ }, { capture: true, passive: true });
1801
+ document.addEventListener('pointercancel', function (e) { if (cur && e.pointerId === cur.id)
1802
+ cancel(); }, true);
1803
+ document.addEventListener('scroll', cancel, { capture: true, passive: true });
1804
+ document.addEventListener('pointerup', function (e) {
1805
+ if (!cur || e.pointerId !== cur.id)
1806
+ return;
1807
+ var c = cur;
1808
+ cur = null;
1809
+ clearTimeout(c.timer);
1810
+ if (c.shown) {
1811
+ mark(c, false);
1812
+ return;
1813
+ }
1814
+ mark(c, true);
1815
+ c.lift = setTimeout(function () { mark(c, false); }, ms('--dk-motion-press-duration', 100));
1816
+ }, true);
1817
+ dk.interactive.press = { cancel: cancel };
1818
+ })();
1819
+ })(typeof window !== 'undefined' ? window : undefined);
1725
1820
  (function (w) {
1726
1821
  if (!w)
1727
1822
  return;
@@ -36,6 +36,6 @@
36
36
  "term": { viewBox: "0 0 60 52", body: "<defs><linearGradient id=\"J-dk-object-term\" x1=\"0\" y1=\"0\" x2=\".7\" y2=\"1\"><stop offset=\"0\" style=\"stop-color:var(--dk-component-icon-object-j1)\"/><stop offset=\"1\" style=\"stop-color:var(--dk-component-icon-object-j2)\"/></linearGradient><linearGradient id=\"G-dk-object-term\" x1=\"0\" y1=\"0\" x2=\".7\" y2=\"1\"><stop offset=\"0\" style=\"stop-color:var(--dk-component-icon-object-g1)\"/><stop offset=\"1\" style=\"stop-color:var(--dk-component-icon-object-g2)\"/></linearGradient><linearGradient id=\"P-dk-object-term\" x1=\"0\" y1=\"0\" x2=\".7\" y2=\"1\"><stop offset=\"0\" style=\"stop-color:var(--dk-component-icon-object-p1)\"/><stop offset=\"1\" style=\"stop-color:var(--dk-component-icon-object-p2)\"/></linearGradient><linearGradient id=\"S-dk-object-term\" x1=\"0\" y1=\"0\" x2=\".7\" y2=\"1\"><stop offset=\"0\" style=\"stop-color:var(--dk-component-icon-object-s1)\"/><stop offset=\"1\" style=\"stop-color:var(--dk-component-icon-object-s2)\"/></linearGradient><linearGradient id=\"W-dk-object-term\" x1=\"0\" y1=\"0\" x2=\".7\" y2=\"1\"><stop offset=\"0\" style=\"stop-color:var(--dk-component-icon-object-w1)\"/><stop offset=\"1\" style=\"stop-color:var(--dk-component-icon-object-w2)\"/></linearGradient><linearGradient id=\"E-dk-object-term\" x1=\"0\" y1=\"0\" x2=\".7\" y2=\"1\"><stop offset=\"0\" style=\"stop-color:var(--dk-component-icon-object-e1)\"/><stop offset=\"1\" style=\"stop-color:var(--dk-component-icon-object-e2)\"/></linearGradient><linearGradient id=\"H-dk-object-term\" x1=\"0\" y1=\"0\" x2=\"0\" y2=\"1\"><stop offset=\"0\" style=\"stop-color:var(--dk-component-icon-object-hi);stop-opacity:.22\"/><stop offset=\".5\" style=\"stop-color:var(--dk-component-icon-object-hi);stop-opacity:0\"/></linearGradient><filter id=\"sh-dk-object-term\" x=\"-40%\" y=\"-40%\" width=\"180%\" height=\"190%\"><feDropShadow dx=\"1\" dy=\"2.4\" stdDeviation=\"2\" style=\"flood-color:var(--dk-component-icon-object-shadow);flood-opacity:var(--dk-component-icon-object-shade)\"/></filter></defs><g transform=\"translate(10 9) rotate(-5 16 16) translate(16 16) skewX(0) translate(-16 -16)\"><path d=\"M5 0H27A5 5 0 0 1 32 5V27A5 5 0 0 1 27 32H5A5 5 0 0 1 0 27V5A5 5 0 0 1 5 0Z\" transform=\"translate(2.2 1.8)\" style=\"fill:var(--dk-component-icon-object-pr)\" filter=\"url(#sh-dk-object-term)\"/><path d=\"M5 0H27A5 5 0 0 1 32 5V27A5 5 0 0 1 27 32H5A5 5 0 0 1 0 27V5A5 5 0 0 1 5 0Z\" fill=\"url(#P-dk-object-term)\"/><path d=\"M5 0H27A5 5 0 0 1 32 5V27A5 5 0 0 1 27 32H5A5 5 0 0 1 0 27V5A5 5 0 0 1 5 0Z\" fill=\"url(#H-dk-object-term)\"/><path d=\"M5 0h22a5 5 0 0 1 5 5v5H0V5a5 5 0 0 1 5-5Z\" fill=\"url(#J-dk-object-term)\"/><rect x=\"7\" y=\"-3\" width=\"3\" height=\"7\" rx=\"1.5\" fill=\"url(#S-dk-object-term)\"/><rect x=\"22\" y=\"-3\" width=\"3\" height=\"7\" rx=\"1.5\" fill=\"url(#S-dk-object-term)\"/><rect x=\"5\" y=\"14.5\" width=\"5\" height=\"4\" rx=\"1.1\" style=\"fill:var(--dk-component-icon-object-line)\"/><rect x=\"5\" y=\"21.5\" width=\"5\" height=\"4\" rx=\"1.1\" style=\"fill:var(--dk-component-icon-object-line)\"/><rect x=\"13.5\" y=\"14.5\" width=\"5\" height=\"4\" rx=\"1.1\" style=\"fill:var(--dk-component-icon-object-line)\"/><rect x=\"13.5\" y=\"21.5\" width=\"5\" height=\"4\" rx=\"1.1\" style=\"fill:var(--dk-component-icon-object-line)\"/><rect x=\"22\" y=\"14.5\" width=\"5\" height=\"4\" rx=\"1.1\" style=\"fill:var(--dk-component-icon-object-line)\"/><rect x=\"22\" y=\"21.5\" width=\"5\" height=\"4\" rx=\"1.1\" style=\"fill:var(--dk-component-icon-object-line)\"/></g><g transform=\"translate(43 38) scale(1.2) translate(-43 -38)\"><circle cx=\"44\" cy=\"39.8\" r=\"9\" style=\"fill:var(--dk-component-icon-object-jr)\" filter=\"url(#sh-dk-object-term)\"/><circle cx=\"43\" cy=\"38\" r=\"9\" fill=\"url(#J-dk-object-term)\"/><path d=\"M38.8 38.2 40.4 36.6l2 2 4.4-4.4 1.6 1.6-6 6Z\" style=\"fill:var(--dk-component-icon-object-hi)\"/></g>" },
37
37
  "statement": { viewBox: "0 0 60 52", body: "<defs><linearGradient id=\"J-dk-object-statement\" x1=\"0\" y1=\"0\" x2=\".7\" y2=\"1\"><stop offset=\"0\" style=\"stop-color:var(--dk-component-icon-object-j1)\"/><stop offset=\"1\" style=\"stop-color:var(--dk-component-icon-object-j2)\"/></linearGradient><linearGradient id=\"G-dk-object-statement\" x1=\"0\" y1=\"0\" x2=\".7\" y2=\"1\"><stop offset=\"0\" style=\"stop-color:var(--dk-component-icon-object-g1)\"/><stop offset=\"1\" style=\"stop-color:var(--dk-component-icon-object-g2)\"/></linearGradient><linearGradient id=\"P-dk-object-statement\" x1=\"0\" y1=\"0\" x2=\".7\" y2=\"1\"><stop offset=\"0\" style=\"stop-color:var(--dk-component-icon-object-p1)\"/><stop offset=\"1\" style=\"stop-color:var(--dk-component-icon-object-p2)\"/></linearGradient><linearGradient id=\"S-dk-object-statement\" x1=\"0\" y1=\"0\" x2=\".7\" y2=\"1\"><stop offset=\"0\" style=\"stop-color:var(--dk-component-icon-object-s1)\"/><stop offset=\"1\" style=\"stop-color:var(--dk-component-icon-object-s2)\"/></linearGradient><linearGradient id=\"W-dk-object-statement\" x1=\"0\" y1=\"0\" x2=\".7\" y2=\"1\"><stop offset=\"0\" style=\"stop-color:var(--dk-component-icon-object-w1)\"/><stop offset=\"1\" style=\"stop-color:var(--dk-component-icon-object-w2)\"/></linearGradient><linearGradient id=\"E-dk-object-statement\" x1=\"0\" y1=\"0\" x2=\".7\" y2=\"1\"><stop offset=\"0\" style=\"stop-color:var(--dk-component-icon-object-e1)\"/><stop offset=\"1\" style=\"stop-color:var(--dk-component-icon-object-e2)\"/></linearGradient><linearGradient id=\"H-dk-object-statement\" x1=\"0\" y1=\"0\" x2=\"0\" y2=\"1\"><stop offset=\"0\" style=\"stop-color:var(--dk-component-icon-object-hi);stop-opacity:.22\"/><stop offset=\".5\" style=\"stop-color:var(--dk-component-icon-object-hi);stop-opacity:0\"/></linearGradient><filter id=\"sh-dk-object-statement\" x=\"-40%\" y=\"-40%\" width=\"180%\" height=\"190%\"><feDropShadow dx=\"1\" dy=\"2.4\" stdDeviation=\"2\" style=\"flood-color:var(--dk-component-icon-object-shadow);flood-opacity:var(--dk-component-icon-object-shade)\"/></filter></defs><g transform=\"translate(12 5) rotate(-5 16 21) translate(16 21) skewX(0) translate(-16 -21)\"><path d=\"M4 0h18l10 10v28a4 4 0 0 1-4 4H4a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4Z\" transform=\"translate(2.2 1.8)\" style=\"fill:var(--dk-component-icon-object-pr)\" filter=\"url(#sh-dk-object-statement)\"/><path d=\"M4 0h18l10 10v28a4 4 0 0 1-4 4H4a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4Z\" fill=\"url(#P-dk-object-statement)\"/><path d=\"M4 0h18l10 10v28a4 4 0 0 1-4 4H4a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4Z\" fill=\"url(#H-dk-object-statement)\"/><path d=\"M22 0l10 10h-6a4 4 0 0 1-4-4Z\" fill=\"url(#J-dk-object-statement)\"/><rect x=\"6\" y=\"16\" width=\"20\" height=\"2.6\" rx=\"1.3\" style=\"fill:var(--dk-component-icon-object-line)\"/><rect x=\"6\" y=\"21.4\" width=\"20\" height=\"2.6\" rx=\"1.3\" style=\"fill:var(--dk-component-icon-object-line)\"/><rect x=\"6\" y=\"26.8\" width=\"20\" height=\"2.6\" rx=\"1.3\" style=\"fill:var(--dk-component-icon-object-line)\"/><rect x=\"6\" y=\"32.2\" width=\"13\" height=\"2.6\" rx=\"1.3\" style=\"fill:var(--dk-component-icon-object-line)\"/><rect x=\"6\" y=\"16\" width=\"6\" height=\"18.8\" rx=\"1.3\" style=\"fill:var(--dk-component-icon-object-j1)\" opacity=\".55\"/></g><g><circle cx=\"44\" cy=\"40.8\" r=\"9\" style=\"fill:var(--dk-component-icon-object-jr)\" filter=\"url(#sh-dk-object-statement)\"/><circle cx=\"43\" cy=\"39\" r=\"9\" fill=\"url(#J-dk-object-statement)\"/><path d=\"M42 33.6h2v6l2.3-2.3 1.4 1.4-4.7 4.7-4.7-4.7 1.4-1.4L42 39.6Z\" style=\"fill:var(--dk-component-icon-object-hi)\"/></g>" },
38
38
  "clipboard": { viewBox: "0 0 60 52", body: "<defs><linearGradient id=\"J-dk-object-clipboard\" x1=\"0\" y1=\"0\" x2=\".7\" y2=\"1\"><stop offset=\"0\" style=\"stop-color:var(--dk-component-icon-object-j1)\"/><stop offset=\"1\" style=\"stop-color:var(--dk-component-icon-object-j2)\"/></linearGradient><linearGradient id=\"G-dk-object-clipboard\" x1=\"0\" y1=\"0\" x2=\".7\" y2=\"1\"><stop offset=\"0\" style=\"stop-color:var(--dk-component-icon-object-g1)\"/><stop offset=\"1\" style=\"stop-color:var(--dk-component-icon-object-g2)\"/></linearGradient><linearGradient id=\"P-dk-object-clipboard\" x1=\"0\" y1=\"0\" x2=\".7\" y2=\"1\"><stop offset=\"0\" style=\"stop-color:var(--dk-component-icon-object-p1)\"/><stop offset=\"1\" style=\"stop-color:var(--dk-component-icon-object-p2)\"/></linearGradient><linearGradient id=\"S-dk-object-clipboard\" x1=\"0\" y1=\"0\" x2=\".7\" y2=\"1\"><stop offset=\"0\" style=\"stop-color:var(--dk-component-icon-object-s1)\"/><stop offset=\"1\" style=\"stop-color:var(--dk-component-icon-object-s2)\"/></linearGradient><linearGradient id=\"H-dk-object-clipboard\" x1=\"0\" y1=\"0\" x2=\"0\" y2=\"1\"><stop offset=\"0\" style=\"stop-color:var(--dk-component-icon-object-hi);stop-opacity:.22\"/><stop offset=\".5\" style=\"stop-color:var(--dk-component-icon-object-hi);stop-opacity:0\"/></linearGradient><filter id=\"sh-dk-object-clipboard\" x=\"-40%\" y=\"-40%\" width=\"180%\" height=\"190%\"><feDropShadow dx=\"1\" dy=\"2.4\" stdDeviation=\"2\" style=\"flood-color:var(--dk-component-icon-object-shadow);flood-opacity:var(--dk-component-icon-object-shade)\"/></filter></defs><g transform=\"translate(12 6) rotate(-4 17 21)\"><path d=\"M5 0h24a5 5 0 0 1 5 5v33a5 5 0 0 1-5 5H5a5 5 0 0 1-5-5V5a5 5 0 0 1 5-5Z\" transform=\"translate(0 2.4)\" style=\"fill:var(--dk-component-icon-object-pr)\" filter=\"url(#sh-dk-object-clipboard)\"/><path d=\"M5 0h24a5 5 0 0 1 5 5v33a5 5 0 0 1-5 5H5a5 5 0 0 1-5-5V5a5 5 0 0 1 5-5Z\" fill=\"url(#P-dk-object-clipboard)\"/><path d=\"M5 0h24a5 5 0 0 1 5 5v33a5 5 0 0 1-5 5H5a5 5 0 0 1-5-5V5a5 5 0 0 1 5-5Z\" fill=\"url(#H-dk-object-clipboard)\"/><rect x=\"9\" y=\"-3\" width=\"16\" height=\"8\" rx=\"3\" transform=\"translate(0 1.6)\" style=\"fill:var(--dk-component-icon-object-jr)\"/><rect x=\"9\" y=\"-3\" width=\"16\" height=\"8\" rx=\"3\" fill=\"url(#J-dk-object-clipboard)\"/><circle cx=\"17\" cy=\"0.6\" r=\"1.6\" style=\"fill:var(--dk-component-icon-object-jr)\"/><path d=\"M6 14.4 l1.8 1.8 3.4-3.6\" fill=\"none\" style=\"stroke:var(--dk-component-icon-object-tick)\" stroke-width=\"1.8\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/><rect x=\"13\" y=\"13.6\" width=\"15\" height=\"2.6\" rx=\"1.3\" style=\"fill:var(--dk-component-icon-object-line)\"/><path d=\"M6 22.4 l1.8 1.8 3.4-3.6\" fill=\"none\" style=\"stroke:var(--dk-component-icon-object-tick)\" stroke-width=\"1.8\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/><rect x=\"13\" y=\"21.6\" width=\"12\" height=\"2.6\" rx=\"1.3\" style=\"fill:var(--dk-component-icon-object-line)\"/><rect x=\"5.6\" y=\"28.6\" width=\"5.2\" height=\"5.2\" rx=\"1.4\" fill=\"none\" style=\"stroke:var(--dk-component-icon-object-line)\" stroke-width=\"1.4\"/><rect x=\"13\" y=\"29.6\" width=\"14\" height=\"2.6\" rx=\"1.3\" style=\"fill:var(--dk-component-icon-object-line)\"/></g><g><circle cx=\"44\" cy=\"39.8\" r=\"9\" style=\"fill:var(--dk-component-icon-object-gr)\" filter=\"url(#sh-dk-object-clipboard)\"/><circle cx=\"43\" cy=\"38\" r=\"9\" fill=\"url(#G-dk-object-clipboard)\"/><circle cx=\"43\" cy=\"38\" r=\"6.6\" fill=\"url(#P-dk-object-clipboard)\"/><path d=\"M42.2 34h1.8v4l2.6 1.6-.9 1.4-3.5-2.1Z\" style=\"fill:var(--dk-component-icon-object-needle)\"/></g>" },
39
- "car-top": { viewBox: "0 0 60 52", body: "<defs><linearGradient id=\"J-dk-object-car-top\" x1=\"0\" y1=\"0\" x2=\".7\" y2=\"1\"><stop offset=\"0\" style=\"stop-color:var(--dk-component-icon-object-j1)\"/><stop offset=\"1\" style=\"stop-color:var(--dk-component-icon-object-j2)\"/></linearGradient><linearGradient id=\"S-dk-object-car-top\" x1=\"0\" y1=\"0\" x2=\".7\" y2=\"1\"><stop offset=\"0\" style=\"stop-color:var(--dk-component-icon-object-s1)\"/><stop offset=\"1\" style=\"stop-color:var(--dk-component-icon-object-s2)\"/></linearGradient><linearGradient id=\"E-dk-object-car-top\" x1=\"0\" y1=\"0\" x2=\".7\" y2=\"1\"><stop offset=\"0\" style=\"stop-color:var(--dk-component-icon-object-e1)\"/><stop offset=\"1\" style=\"stop-color:var(--dk-component-icon-object-e2)\"/></linearGradient><linearGradient id=\"H-dk-object-car-top\" x1=\"0\" y1=\"0\" x2=\"0\" y2=\"1\"><stop offset=\"0\" style=\"stop-color:var(--dk-component-icon-object-hi);stop-opacity:.28\"/><stop offset=\".55\" style=\"stop-color:var(--dk-component-icon-object-hi);stop-opacity:0\"/></linearGradient><filter id=\"sh-dk-object-car-top\" x=\"-40%\" y=\"-40%\" width=\"180%\" height=\"190%\"><feDropShadow dx=\"1\" dy=\"2.4\" stdDeviation=\"2\" style=\"flood-color:var(--dk-component-icon-object-shadow);flood-opacity:var(--dk-component-icon-object-shade)\"/></filter></defs><rect x=\"10\" y=\"13.5\" width=\"7.5\" height=\"3.2\" rx=\"1.4\" style=\"fill:var(--dk-component-icon-object-tyre)\"/><rect x=\"40\" y=\"13.5\" width=\"7.5\" height=\"3.2\" rx=\"1.4\" style=\"fill:var(--dk-component-icon-object-tyre)\"/><rect x=\"10\" y=\"37.5\" width=\"7.5\" height=\"3.2\" rx=\"1.4\" style=\"fill:var(--dk-component-icon-object-tyre)\"/><rect x=\"40\" y=\"37.5\" width=\"7.5\" height=\"3.2\" rx=\"1.4\" style=\"fill:var(--dk-component-icon-object-tyre)\"/><path d=\"M11 15.5H46C52 15.5 55 19.5 55 26C55 32.5 52 36.5 46 36.5H11C7.5 36.5 5 33.8 5 30.2V21.8C5 18.2 7.5 15.5 11 15.5Z\" transform=\"translate(0 2.2)\" style=\"fill:var(--dk-component-icon-object-jr)\" filter=\"url(#sh-dk-object-car-top)\"/><path d=\"M11 15.5H46C52 15.5 55 19.5 55 26C55 32.5 52 36.5 46 36.5H11C7.5 36.5 5 33.8 5 30.2V21.8C5 18.2 7.5 15.5 11 15.5Z\" fill=\"url(#J-dk-object-car-top)\"/><path d=\"M11 15.5H46C52 15.5 55 19.5 55 26C55 32.5 52 36.5 46 36.5H11C7.5 36.5 5 33.8 5 30.2V21.8C5 18.2 7.5 15.5 11 15.5Z\" fill=\"url(#H-dk-object-car-top)\"/><path d=\"M38.8 20.4C44 20 48.6 20.8 52.2 22.4M38.8 31.6C44 32 48.6 31.2 52.2 29.6\" fill=\"none\" style=\"stroke:var(--dk-component-icon-object-hi)\" stroke-opacity=\".22\" stroke-width=\".9\" stroke-linecap=\"round\"/><ellipse cx=\"31.6\" cy=\"15.4\" rx=\"1.7\" ry=\"1\" fill=\"url(#J-dk-object-car-top)\"/><ellipse cx=\"31.6\" cy=\"36.6\" rx=\"1.7\" ry=\"1\" fill=\"url(#J-dk-object-car-top)\"/><path d=\"M13.2 17.6H31C35.2 18 37.8 19.7 38.4 21.1V30.9C37.8 32.3 35.2 34 31 34.4H13.2C12.1 32.2 11.6 29.2 11.6 26S12.1 19.8 13.2 17.6Z\" fill=\"url(#S-dk-object-car-top)\"/><path d=\"M30.6 18.6C31.3 21 31.6 23.5 31.6 26S31.3 31 30.6 33.4M16.4 18.4C16.9 20.8 17.1 23.4 17.1 26S16.9 31.2 16.4 33.6\" fill=\"none\" style=\"stroke:var(--dk-component-icon-object-hi)\" stroke-opacity=\".18\" stroke-width=\".7\" stroke-linecap=\"round\"/><path d=\"M19.6 31.2 26.8 20.8M23.4 31.6 28.6 24.2\" fill=\"none\" style=\"stroke:var(--dk-component-icon-object-hi)\" stroke-opacity=\".3\" stroke-width=\"1\" stroke-linecap=\"round\"/><path d=\"M13.2 17.6H31C35.2 18 37.8 19.7 38.4 21.1V30.9C37.8 32.3 35.2 34 31 34.4H13.2C12.1 32.2 11.6 29.2 11.6 26S12.1 19.8 13.2 17.6Z\" fill=\"none\" style=\"stroke:var(--dk-component-icon-object-hi)\" stroke-opacity=\".22\" stroke-width=\".6\"/><path d=\"M48.8 17.3C51 17.6 52.7 18.7 53.6 20.3M48.8 34.7C51 34.4 52.7 33.3 53.6 31.7\" fill=\"none\" style=\"stroke:var(--dk-component-icon-object-hi)\" stroke-opacity=\".95\" stroke-width=\"1.5\" stroke-linecap=\"round\"/><rect x=\"5.4\" y=\"18.8\" width=\"1.6\" height=\"3.6\" rx=\".8\" fill=\"url(#E-dk-object-car-top)\"/><rect x=\"5.4\" y=\"29.6\" width=\"1.6\" height=\"3.6\" rx=\".8\" fill=\"url(#E-dk-object-car-top)\"/><path d=\"M12 16.6H45.6\" style=\"stroke:var(--dk-component-icon-object-hi)\" stroke-opacity=\".45\" stroke-width=\"1\" stroke-linecap=\"round\"/>" }
39
+ "car-top": { viewBox: "3 2.6 54 46.8", body: "<defs><linearGradient id=\"J-dk-object-car-top\" x1=\"0\" y1=\"0\" x2=\".7\" y2=\"1\"><stop offset=\"0\" style=\"stop-color:var(--dk-component-icon-object-j1)\"/><stop offset=\"1\" style=\"stop-color:var(--dk-component-icon-object-j2)\"/></linearGradient><linearGradient id=\"S-dk-object-car-top\" x1=\"0\" y1=\"0\" x2=\".7\" y2=\"1\"><stop offset=\"0\" style=\"stop-color:var(--dk-component-icon-object-s1)\"/><stop offset=\"1\" style=\"stop-color:var(--dk-component-icon-object-s2)\"/></linearGradient><linearGradient id=\"E-dk-object-car-top\" x1=\"0\" y1=\"0\" x2=\".7\" y2=\"1\"><stop offset=\"0\" style=\"stop-color:var(--dk-component-icon-object-e1)\"/><stop offset=\"1\" style=\"stop-color:var(--dk-component-icon-object-e2)\"/></linearGradient><linearGradient id=\"H-dk-object-car-top\" x1=\"0\" y1=\"0\" x2=\"0\" y2=\"1\"><stop offset=\"0\" style=\"stop-color:var(--dk-component-icon-object-hi);stop-opacity:.28\"/><stop offset=\".55\" style=\"stop-color:var(--dk-component-icon-object-hi);stop-opacity:0\"/></linearGradient><filter id=\"sh-dk-object-car-top\" x=\"-40%\" y=\"-40%\" width=\"180%\" height=\"190%\"><feDropShadow dx=\"1\" dy=\"2.4\" stdDeviation=\"2\" style=\"flood-color:var(--dk-component-icon-object-shadow);flood-opacity:var(--dk-component-icon-object-shade)\"/></filter></defs><rect x=\"10\" y=\"14.5\" width=\"7.5\" height=\"3.2\" rx=\"1.4\" style=\"fill:var(--dk-component-icon-object-tyre)\"/><rect x=\"36.5\" y=\"14.5\" width=\"7.5\" height=\"3.2\" rx=\"1.4\" style=\"fill:var(--dk-component-icon-object-tyre)\"/><rect x=\"10\" y=\"36.5\" width=\"7.5\" height=\"3.2\" rx=\"1.4\" style=\"fill:var(--dk-component-icon-object-tyre)\"/><rect x=\"36.5\" y=\"36.5\" width=\"7.5\" height=\"3.2\" rx=\"1.4\" style=\"fill:var(--dk-component-icon-object-tyre)\"/><path d=\"M11 15.5H46C52 15.5 55 19.5 55 26C55 32.5 52 36.5 46 36.5H11C7.5 36.5 5 33.8 5 30.2V21.8C5 18.2 7.5 15.5 11 15.5Z\" transform=\"translate(0 2.2)\" style=\"fill:var(--dk-component-icon-object-jr)\" filter=\"url(#sh-dk-object-car-top)\"/><path d=\"M11 15.5H46C52 15.5 55 19.5 55 26C55 32.5 52 36.5 46 36.5H11C7.5 36.5 5 33.8 5 30.2V21.8C5 18.2 7.5 15.5 11 15.5Z\" fill=\"url(#J-dk-object-car-top)\"/><path d=\"M11 15.5H46C52 15.5 55 19.5 55 26C55 32.5 52 36.5 46 36.5H11C7.5 36.5 5 33.8 5 30.2V21.8C5 18.2 7.5 15.5 11 15.5Z\" fill=\"url(#H-dk-object-car-top)\"/><path d=\"M38.8 20.4C44 20 48.6 20.8 52.2 22.4M38.8 31.6C44 32 48.6 31.2 52.2 29.6\" fill=\"none\" style=\"stroke:var(--dk-component-icon-object-hi)\" stroke-opacity=\".22\" stroke-width=\".9\" stroke-linecap=\"round\"/><ellipse cx=\"31.6\" cy=\"15.4\" rx=\"1.7\" ry=\"1\" fill=\"url(#J-dk-object-car-top)\"/><ellipse cx=\"31.6\" cy=\"36.6\" rx=\"1.7\" ry=\"1\" fill=\"url(#J-dk-object-car-top)\"/><path d=\"M13.2 17.6H31C35.2 18 37.8 19.7 38.4 21.1V30.9C37.8 32.3 35.2 34 31 34.4H13.2C12.1 32.2 11.6 29.2 11.6 26S12.1 19.8 13.2 17.6Z\" fill=\"url(#S-dk-object-car-top)\"/><path d=\"M30.6 18.6C31.3 21 31.6 23.5 31.6 26S31.3 31 30.6 33.4M16.4 18.4C16.9 20.8 17.1 23.4 17.1 26S16.9 31.2 16.4 33.6\" fill=\"none\" style=\"stroke:var(--dk-component-icon-object-hi)\" stroke-opacity=\".18\" stroke-width=\".7\" stroke-linecap=\"round\"/><path d=\"M19.6 31.2 26.8 20.8M23.4 31.6 28.6 24.2\" fill=\"none\" style=\"stroke:var(--dk-component-icon-object-hi)\" stroke-opacity=\".3\" stroke-width=\"1\" stroke-linecap=\"round\"/><path d=\"M13.2 17.6H31C35.2 18 37.8 19.7 38.4 21.1V30.9C37.8 32.3 35.2 34 31 34.4H13.2C12.1 32.2 11.6 29.2 11.6 26S12.1 19.8 13.2 17.6Z\" fill=\"none\" style=\"stroke:var(--dk-component-icon-object-hi)\" stroke-opacity=\".22\" stroke-width=\".6\"/><path d=\"M48.8 17.3C51 17.6 52.7 18.7 53.6 20.3M48.8 34.7C51 34.4 52.7 33.3 53.6 31.7\" fill=\"none\" style=\"stroke:var(--dk-component-icon-object-hi)\" stroke-opacity=\".95\" stroke-width=\"1.5\" stroke-linecap=\"round\"/><rect x=\"5.4\" y=\"18.8\" width=\"1.6\" height=\"3.6\" rx=\".8\" fill=\"url(#E-dk-object-car-top)\"/><rect x=\"5.4\" y=\"29.6\" width=\"1.6\" height=\"3.6\" rx=\".8\" fill=\"url(#E-dk-object-car-top)\"/><path d=\"M12 16.6H45.6\" style=\"stroke:var(--dk-component-icon-object-hi)\" stroke-opacity=\".45\" stroke-width=\"1\" stroke-linecap=\"round\"/>" }
40
40
  };
41
41
  })();