@mattilsynet/design 2.1.9 → 2.1.11

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.
@@ -1,6 +1,6 @@
1
1
  import S from "../styles.module.css.js";
2
2
  import { onLoaded as _, onMutation as P, on as r, QUICK_EVENT as p, debounce as E } from "../utils.js";
3
- import "./app-toggle2.js";
3
+ import "./app-toggle.js";
4
4
  const g = S.app.split(" ")[0], h = S.sticky.split(" ")[0], I = '[data-command="toggle-app-expanded"]', y = `.${g} > dialog,.${g} dialog ~ main`, C = (t) => {
5
5
  document.startViewTransition ? document.startViewTransition(t) : t();
6
6
  }, x = (t) => (
@@ -1,27 +1,11 @@
1
- const t = `if (
2
- typeof window !== "undefined" &&
3
- window.CSSStyleSheet &&
4
- document.adoptedStyleSheets
5
- )
6
- (() => {
7
- const key = "--mtds-app-expanded";
8
- const sheet = new CSSStyleSheet();
9
- const prev = () => !window.localStorage.getItem(key)?.includes("false");
10
-
11
- document.adoptedStyleSheets.push(sheet);
12
- window.mtdsToggleAppExpanded = (force) => {
13
- try {
14
- const next = force ?? !prev();
15
- sheet.replaceSync?.(\`:root { \${key}: var(\${key}--\${next})}\`);
16
- window.localStorage.setItem(key, next);
17
- } catch (_err) {} // localStorage is full or replaceSync is not supported
18
- };
19
-
20
- // Set and store initial state
21
- window.mtdsToggleAppExpanded(prev());
22
- })();
23
- `;
24
- export {
25
- t as default
26
- };
1
+ typeof window < "u" && window.CSSStyleSheet && document.adoptedStyleSheets && (() => {
2
+ const e = "--mtds-app-expanded", d = new CSSStyleSheet(), o = () => !window.localStorage.getItem(e)?.includes("false");
3
+ document.adoptedStyleSheets.push(d), window.mtdsToggleAppExpanded = (n) => {
4
+ try {
5
+ const t = n ?? !o();
6
+ d.replaceSync?.(`:root { ${e}: var(${e}--${t})}`), window.localStorage.setItem(e, t);
7
+ } catch {
8
+ }
9
+ }, window.mtdsToggleAppExpanded(o());
10
+ })();
27
11
  //# sourceMappingURL=app-toggle.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"app-toggle.js","sources":["../../designsystem/app/app-toggle.js?raw"],"sourcesContent":["export default \"if (\\n\\ttypeof window !== \\\"undefined\\\" &&\\n\\twindow.CSSStyleSheet &&\\n\\tdocument.adoptedStyleSheets\\n)\\n\\t(() => {\\n\\t\\tconst key = \\\"--mtds-app-expanded\\\";\\n\\t\\tconst sheet = new CSSStyleSheet();\\n\\t\\tconst prev = () => !window.localStorage.getItem(key)?.includes(\\\"false\\\");\\n\\n\\t\\tdocument.adoptedStyleSheets.push(sheet);\\n\\t\\twindow.mtdsToggleAppExpanded = (force) => {\\n\\t\\t\\ttry {\\n\\t\\t\\t\\tconst next = force ?? !prev();\\n\\t\\t\\t\\tsheet.replaceSync?.(`:root { ${key}: var(${key}--${next})}`);\\n\\t\\t\\t\\twindow.localStorage.setItem(key, next);\\n\\t\\t\\t} catch (_err) {} // localStorage is full or replaceSync is not supported\\n\\t\\t};\\n\\n\\t\\t// Set and store initial state\\n\\t\\twindow.mtdsToggleAppExpanded(prev());\\n\\t})();\\n\""],"names":["script"],"mappings":"AAAA,MAAAA,IAAe;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;"}
1
+ {"version":3,"file":"app-toggle.js","sources":["../../designsystem/app/app-toggle.js"],"sourcesContent":["if (\n\ttypeof window !== \"undefined\" &&\n\twindow.CSSStyleSheet &&\n\tdocument.adoptedStyleSheets\n)\n\t(() => {\n\t\tconst key = \"--mtds-app-expanded\";\n\t\tconst sheet = new CSSStyleSheet();\n\t\tconst prev = () => !window.localStorage.getItem(key)?.includes(\"false\");\n\n\t\tdocument.adoptedStyleSheets.push(sheet);\n\t\twindow.mtdsToggleAppExpanded = (force) => {\n\t\t\ttry {\n\t\t\t\tconst next = force ?? !prev();\n\t\t\t\tsheet.replaceSync?.(`:root { ${key}: var(${key}--${next})}`);\n\t\t\t\twindow.localStorage.setItem(key, next);\n\t\t\t} catch (_err) {} // localStorage is full or replaceSync is not supported\n\t\t};\n\n\t\t// Set and store initial state\n\t\twindow.mtdsToggleAppExpanded(prev());\n\t})();\n"],"names":["key","sheet","prev","force","next"],"mappings":"AACC,OAAO,SAAW,OAClB,OAAO,iBACP,SAAS,uBAER,MAAM;AACN,QAAMA,IAAM,uBACNC,IAAQ,IAAI,cAAa,GACzBC,IAAO,MAAM,CAAC,OAAO,aAAa,QAAQF,CAAG,GAAG,SAAS,OAAO;AAEtE,WAAS,mBAAmB,KAAKC,CAAK,GACtC,OAAO,wBAAwB,CAACE,MAAU;AACzC,QAAI;AACH,YAAMC,IAAOD,KAAS,CAACD,EAAI;AAC3B,MAAAD,EAAM,cAAc,WAAWD,CAAG,SAASA,CAAG,KAAKI,CAAI,IAAI,GAC3D,OAAO,aAAa,QAAQJ,GAAKI,CAAI;AAAA,IACtC,QAAe;AAAA,IAAC;AAAA,EACjB,GAGA,OAAO,sBAAsBF,GAAM;AACpC,GAAC;"}
@@ -1,11 +1,27 @@
1
- typeof window < "u" && window.CSSStyleSheet && document.adoptedStyleSheets && (() => {
2
- const e = "--mtds-app-expanded", d = new CSSStyleSheet(), o = () => !window.localStorage.getItem(e)?.includes("false");
3
- document.adoptedStyleSheets.push(d), window.mtdsToggleAppExpanded = (n) => {
4
- try {
5
- const t = n ?? !o();
6
- d.replaceSync?.(`:root { ${e}: var(${e}--${t})}`), window.localStorage.setItem(e, t);
7
- } catch {
8
- }
9
- }, window.mtdsToggleAppExpanded(o());
10
- })();
1
+ const t = `if (
2
+ typeof window !== "undefined" &&
3
+ window.CSSStyleSheet &&
4
+ document.adoptedStyleSheets
5
+ )
6
+ (() => {
7
+ const key = "--mtds-app-expanded";
8
+ const sheet = new CSSStyleSheet();
9
+ const prev = () => !window.localStorage.getItem(key)?.includes("false");
10
+
11
+ document.adoptedStyleSheets.push(sheet);
12
+ window.mtdsToggleAppExpanded = (force) => {
13
+ try {
14
+ const next = force ?? !prev();
15
+ sheet.replaceSync?.(\`:root { \${key}: var(\${key}--\${next})}\`);
16
+ window.localStorage.setItem(key, next);
17
+ } catch (_err) {} // localStorage is full or replaceSync is not supported
18
+ };
19
+
20
+ // Set and store initial state
21
+ window.mtdsToggleAppExpanded(prev());
22
+ })();
23
+ `;
24
+ export {
25
+ t as default
26
+ };
11
27
  //# sourceMappingURL=app-toggle2.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"app-toggle2.js","sources":["../../designsystem/app/app-toggle.js"],"sourcesContent":["if (\n\ttypeof window !== \"undefined\" &&\n\twindow.CSSStyleSheet &&\n\tdocument.adoptedStyleSheets\n)\n\t(() => {\n\t\tconst key = \"--mtds-app-expanded\";\n\t\tconst sheet = new CSSStyleSheet();\n\t\tconst prev = () => !window.localStorage.getItem(key)?.includes(\"false\");\n\n\t\tdocument.adoptedStyleSheets.push(sheet);\n\t\twindow.mtdsToggleAppExpanded = (force) => {\n\t\t\ttry {\n\t\t\t\tconst next = force ?? !prev();\n\t\t\t\tsheet.replaceSync?.(`:root { ${key}: var(${key}--${next})}`);\n\t\t\t\twindow.localStorage.setItem(key, next);\n\t\t\t} catch (_err) {} // localStorage is full or replaceSync is not supported\n\t\t};\n\n\t\t// Set and store initial state\n\t\twindow.mtdsToggleAppExpanded(prev());\n\t})();\n"],"names":["key","sheet","prev","force","next"],"mappings":"AACC,OAAO,SAAW,OAClB,OAAO,iBACP,SAAS,uBAER,MAAM;AACN,QAAMA,IAAM,uBACNC,IAAQ,IAAI,cAAa,GACzBC,IAAO,MAAM,CAAC,OAAO,aAAa,QAAQF,CAAG,GAAG,SAAS,OAAO;AAEtE,WAAS,mBAAmB,KAAKC,CAAK,GACtC,OAAO,wBAAwB,CAACE,MAAU;AACzC,QAAI;AACH,YAAMC,IAAOD,KAAS,CAACD,EAAI;AAC3B,MAAAD,EAAM,cAAc,WAAWD,CAAG,SAASA,CAAG,KAAKI,CAAI,IAAI,GAC3D,OAAO,aAAa,QAAQJ,GAAKI,CAAI;AAAA,IACtC,QAAe;AAAA,IAAC;AAAA,EACjB,GAGA,OAAO,sBAAsBF,GAAM;AACpC,GAAC;"}
1
+ {"version":3,"file":"app-toggle2.js","sources":["../../designsystem/app/app-toggle.js?raw"],"sourcesContent":["export default \"if (\\n\\ttypeof window !== \\\"undefined\\\" &&\\n\\twindow.CSSStyleSheet &&\\n\\tdocument.adoptedStyleSheets\\n)\\n\\t(() => {\\n\\t\\tconst key = \\\"--mtds-app-expanded\\\";\\n\\t\\tconst sheet = new CSSStyleSheet();\\n\\t\\tconst prev = () => !window.localStorage.getItem(key)?.includes(\\\"false\\\");\\n\\n\\t\\tdocument.adoptedStyleSheets.push(sheet);\\n\\t\\twindow.mtdsToggleAppExpanded = (force) => {\\n\\t\\t\\ttry {\\n\\t\\t\\t\\tconst next = force ?? !prev();\\n\\t\\t\\t\\tsheet.replaceSync?.(`:root { ${key}: var(${key}--${next})}`);\\n\\t\\t\\t\\twindow.localStorage.setItem(key, next);\\n\\t\\t\\t} catch (_err) {} // localStorage is full or replaceSync is not supported\\n\\t\\t};\\n\\n\\t\\t// Set and store initial state\\n\\t\\twindow.mtdsToggleAppExpanded(prev());\\n\\t})();\\n\""],"names":["script"],"mappings":"AAAA,MAAAA,IAAe;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;"}
package/mtds/app/app.js CHANGED
@@ -32,7 +32,7 @@ import "../togglegroup/togglegroup.js";
32
32
  import "../typography/typography.js";
33
33
  import "../validation/validation.js";
34
34
  import a from "../styles.module.css.js";
35
- import d from "./app-toggle.js";
35
+ import d from "./app-toggle2.js";
36
36
  const f = p(function({ as: t, className: r, ...m }, n) {
37
37
  return /* @__PURE__ */ o(t || "div", { className: e(a.app, r), ref: n, ...m });
38
38
  }), u = p(function({ as: t, className: r, ...m }, n) {
@@ -15,3 +15,4 @@ export declare const React: Story;
15
15
  export declare const WithFooter: Story;
16
16
  export declare const WithComplexContent: Story;
17
17
  export declare const WithCustomToggle: Story;
18
+ export declare const WithMobileBar: Story;
@@ -1,7 +1,7 @@
1
- var l = typeof window < "u" && typeof window.document < "u" && typeof window.navigator < "u", y = l && /android/i.test(navigator.userAgent), c;
2
- l && // @ts-expect-error Typescript has not implemented userAgentData yet https://stackoverflow.com/a/71392474
1
+ var h = typeof window < "u" && typeof window.document < "u" && typeof window.navigator < "u", c;
2
+ h && // @ts-expect-error Typescript has not implemented userAgentData yet https://stackoverflow.com/a/71392474
3
3
  /^Mac/i.test(((c = navigator.userAgentData) == null ? void 0 : c.platform) || navigator.platform);
4
- var b = `${y ? "data" : "aria"}-labelledby`, v = ":host(:not([hidden])) { display: block }", m = typeof HTMLElement > "u" ? class {
4
+ var y = ":host(:not([hidden])) { display: block }", m = typeof HTMLElement > "u" ? class {
5
5
  } : HTMLElement;
6
6
  function o(t, e, n) {
7
7
  return n === void 0 ? t.getAttribute(e) : (n === null ? t.removeAttribute(e) : t.getAttribute(e) !== n && t.setAttribute(e, n), null);
@@ -9,29 +9,29 @@ function o(t, e, n) {
9
9
  var f = (t, e, n) => {
10
10
  for (const i of n[0].split(","))
11
11
  n[0] = i, Element.prototype[`${t}EventListener`].apply(e, n);
12
- }, u = (t, ...e) => f("add", t, e), h = (t, ...e) => f("remove", t, e), g = (t) => {
12
+ }, d = (t, ...e) => f("add", t, e), u = (t, ...e) => f("remove", t, e), b = (t) => {
13
13
  const e = "key" in t && (t.key === " " || t.key === "Enter");
14
14
  return e && t.preventDefault(), e && t.target instanceof HTMLElement && t.target.click(), e;
15
- }, k = (t) => {
15
+ }, g = (t) => {
16
16
  var e;
17
17
  const n = ((e = t.getRootNode) == null ? void 0 : e.call(t)) || t.ownerDocument;
18
18
  return n instanceof Document || n instanceof ShadowRoot ? n : document;
19
- }, E = 0, w = (t) => t ? (t.id || (t.id = `:${t.nodeName.toLowerCase()}${(++E).toString(32)}`), t.id) : "", r = (t, e, n) => {
19
+ }, r = (t, e, n) => {
20
20
  const i = document.createElement(t);
21
21
  if (e && (i.textContent = e), n) for (const [s, a] of Object.entries(n)) o(i, s, a);
22
22
  return i;
23
23
  }, p = {
24
- define: (t, e) => !l || window.customElements.get(t) || window.customElements.define(t, e)
25
- }, _ = `${v}
24
+ define: (t, e) => !h || window.customElements.get(t) || window.customElements.define(t, e)
25
+ }, v = `${y}
26
26
  ::slotted(u-summary) { cursor: pointer; display: block }
27
27
  ::slotted(u-summary)::before { content: ''; display: inline-block; vertical-align: middle; margin-inline: .05em .3125em; border-block: .3125em solid transparent; border-inline-start: .5em solid }
28
28
  ::slotted(u-summary[aria-expanded="true"])::before { rotate: 90deg }
29
- :host > [part="details-content"]:not([hidden=""]) { display: block }`, L = class extends m {
29
+ :host > [part="details-content"]:not([hidden=""]) { display: block }`, k = class extends m {
30
30
  constructor() {
31
31
  super(), this._content = null, this.shadowRoot || this.attachShadow({ mode: "open" }).append(
32
32
  r("slot", null, { name: "summary" }),
33
33
  r("slot", null, { part: "details-content" }),
34
- r("style", _)
34
+ r("style", v)
35
35
  );
36
36
  }
37
37
  // Using ES2015 syntax for backwards compatibility
@@ -40,27 +40,27 @@ var f = (t, e, n) => {
40
40
  }
41
41
  connectedCallback() {
42
42
  var t;
43
- this._content = (t = this.shadowRoot) == null ? void 0 : t.children[1], o(this, "role", "group"), u(this._content, "beforematch", this), u(this, "click,keydown", this), this.attributeChangedCallback();
43
+ this._content = (t = this.shadowRoot) == null ? void 0 : t.children[1], o(this, "role", "group"), d(this._content, "beforematch", this), d(this, "click,keydown", this), this.attributeChangedCallback();
44
44
  }
45
45
  disconnectedCallback() {
46
- this._content && h(this._content, "beforematch", this), h(this, "click,keydown", this), this._content = null;
46
+ this._content && u(this._content, "beforematch", this), u(this, "click,keydown", this), this._content = null;
47
47
  }
48
48
  attributeChangedCallback(t, e, n) {
49
49
  const i = "onbeforematch" in this ? "until-found" : !0, s = this.open;
50
50
  for (const a of this.children)
51
- a.nodeName === "U-SUMMARY" && (o(this, b, w(a)), o(a, "aria-expanded", `${s}`));
51
+ a.nodeName === "U-SUMMARY" && o(a, "aria-expanded", `${s}`);
52
52
  if (this._content && (o(this._content, "aria-hidden", `${!s}`), this._content.hidden = s ? !1 : i), s && this.name) {
53
- const a = k(this).querySelectorAll(
53
+ const a = g(this).querySelectorAll(
54
54
  `${this.nodeName}[name="${this.name}"]`
55
55
  );
56
- for (const d of a)
57
- d !== this && (d.open = !1);
56
+ for (const l of a)
57
+ l !== this && (l.open = !1);
58
58
  }
59
59
  t === "open" && e === null != (n === null) && this.dispatchEvent(new Event("toggle"));
60
60
  }
61
61
  handleEvent(t) {
62
62
  const e = this.querySelector(":scope > u-summary"), n = e?.contains(t.target);
63
- t.defaultPrevented || (t.type === "beforematch" && (this.open = !0), n && t.type === "keydown" && g(t), n && t.type === "click" && (this.open = !this.open));
63
+ t.defaultPrevented || (t.type === "beforematch" && (this.open = !0), n && t.type === "keydown" && b(t), n && t.type === "click" && (this.open = !this.open));
64
64
  }
65
65
  get open() {
66
66
  return this.hasAttribute("open");
@@ -74,16 +74,16 @@ var f = (t, e, n) => {
74
74
  set name(t) {
75
75
  o(this, "name", t);
76
76
  }
77
- }, A = class extends m {
77
+ }, w = class extends m {
78
78
  connectedCallback() {
79
79
  o(this, "role", "button"), this.slot = "summary", this.tabIndex = 0;
80
80
  }
81
81
  };
82
- p.define("u-details", L);
83
- p.define("u-summary", A);
82
+ p.define("u-details", k);
83
+ p.define("u-summary", w);
84
84
  export {
85
- L as UHTMLDetailsElement,
86
- _ as UHTMLDetailsStyle,
87
- A as UHTMLSummaryElement
85
+ k as UHTMLDetailsElement,
86
+ v as UHTMLDetailsStyle,
87
+ w as UHTMLSummaryElement
88
88
  };
89
89
  //# sourceMappingURL=u-details.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"u-details.js","sources":["../../../../../node_modules/@u-elements/u-details/dist/u-details.js"],"sourcesContent":["// ../utils.ts\nvar IS_BROWSER = typeof window !== \"undefined\" && typeof window.document !== \"undefined\" && typeof window.navigator !== \"undefined\";\nvar IS_ANDROID = IS_BROWSER && /android/i.test(navigator.userAgent);\nvar _a;\nIS_BROWSER && // @ts-expect-error Typescript has not implemented userAgentData yet https://stackoverflow.com/a/71392474\n/^Mac/i.test(((_a = navigator.userAgentData) == null ? void 0 : _a.platform) || navigator.platform);\nvar SAFE_LABELLEDBY = `${IS_ANDROID ? \"data\" : \"aria\"}-labelledby`;\nvar DISPLAY_BLOCK = \":host(:not([hidden])) { display: block }\";\nvar UHTMLElement = typeof HTMLElement === \"undefined\" ? class {\n} : HTMLElement;\nfunction attr(el, name, value) {\n if (value === void 0) return el.getAttribute(name);\n if (value === null) el.removeAttribute(name);\n else if (el.getAttribute(name) !== value) el.setAttribute(name, value);\n return null;\n}\nvar events = (action, element, rest) => {\n for (const type of rest[0].split(\",\")) {\n rest[0] = type;\n Element.prototype[`${action}EventListener`].apply(element, rest);\n }\n};\nvar on = (element, ...rest) => events(\"add\", element, rest);\nvar off = (element, ...rest) => events(\"remove\", element, rest);\nvar asButton = (event) => {\n const isClick = \"key\" in event && (event.key === \" \" || event.key === \"Enter\");\n if (isClick) event.preventDefault();\n if (isClick && event.target instanceof HTMLElement) event.target.click();\n return isClick;\n};\nvar getRoot = (node) => {\n var _a2;\n const root = ((_a2 = node.getRootNode) == null ? void 0 : _a2.call(node)) || node.ownerDocument;\n return root instanceof Document || root instanceof ShadowRoot ? root : document;\n};\nvar id = 0;\nvar useId = (el) => {\n if (!el) return \"\";\n if (!el.id) el.id = `:${el.nodeName.toLowerCase()}${(++id).toString(32)}`;\n return el.id;\n};\nvar createElement = (tagName, text, attrs) => {\n const el = document.createElement(tagName);\n if (text) el.textContent = text;\n if (attrs) for (const [key, val] of Object.entries(attrs)) attr(el, key, val);\n return el;\n};\nvar customElements = {\n define: (name, instance) => !IS_BROWSER || window.customElements.get(name) || window.customElements.define(name, instance)\n};\nvar declarativeShadowRoot = (style, slot = \"<slot></slot>\") => `<template shadowrootmode=\"open\">${slot}<style>${style}</style></template>`;\n\n// u-details.ts\nvar UHTMLDetailsStyle = `${DISPLAY_BLOCK}\n::slotted(u-summary) { cursor: pointer; display: block }\n::slotted(u-summary)::before { content: ''; display: inline-block; vertical-align: middle; margin-inline: .05em .3125em; border-block: .3125em solid transparent; border-inline-start: .5em solid }\n::slotted(u-summary[aria-expanded=\"true\"])::before { rotate: 90deg }\n:host > [part=\"details-content\"]:not([hidden=\"\"]) { display: block }`;\nvar UHTMLDetailsShadowRoot = declarativeShadowRoot(\n UHTMLDetailsStyle,\n '<slot name=\"summary\"></slot><slot part=\"details-content\" hidden=\"until-found\"></slot>'\n);\nvar UHTMLDetailsElement = class extends UHTMLElement {\n constructor() {\n super();\n // Using underscore instead of private fields for backwards compatibility\n this._content = null;\n if (!this.shadowRoot)\n this.attachShadow({ mode: \"open\" }).append(\n createElement(\"slot\", null, { name: \"summary\" }),\n createElement(\"slot\", null, { part: \"details-content\" }),\n createElement(\"style\", UHTMLDetailsStyle)\n );\n }\n // Using ES2015 syntax for backwards compatibility\n static get observedAttributes() {\n return [\"open\"];\n }\n connectedCallback() {\n var _a2;\n this._content = (_a2 = this.shadowRoot) == null ? void 0 : _a2.children[1];\n attr(this, \"role\", \"group\");\n on(this._content, \"beforematch\", this);\n on(this, \"click,keydown\", this);\n this.attributeChangedCallback();\n }\n disconnectedCallback() {\n if (this._content) off(this._content, \"beforematch\", this);\n off(this, \"click,keydown\", this);\n this._content = null;\n }\n attributeChangedCallback(prop, prev, next) {\n const hide = \"onbeforematch\" in this ? \"until-found\" : true;\n const open = this.open;\n for (const el of this.children)\n if (el.nodeName === \"U-SUMMARY\") {\n attr(this, SAFE_LABELLEDBY, useId(el));\n attr(el, \"aria-expanded\", `${open}`);\n }\n if (this._content) {\n attr(this._content, \"aria-hidden\", `${!open}`);\n this._content.hidden = open ? false : hide;\n }\n if (open && this.name) {\n const uDetailsList = getRoot(this).querySelectorAll(\n `${this.nodeName}[name=\"${this.name}\"]`\n );\n for (const uDetails of uDetailsList)\n if (uDetails !== this) uDetails.open = false;\n }\n if (prop === \"open\" && prev === null !== (next === null))\n this.dispatchEvent(new Event(\"toggle\"));\n }\n handleEvent(event) {\n const summary = this.querySelector(\":scope > u-summary\");\n const isSummary = summary == null ? void 0 : summary.contains(event.target);\n if (event.defaultPrevented) return;\n if (event.type === \"beforematch\") this.open = true;\n if (isSummary && event.type === \"keydown\") asButton(event);\n if (isSummary && event.type === \"click\") this.open = !this.open;\n }\n get open() {\n return this.hasAttribute(\"open\");\n }\n set open(value) {\n attr(this, \"open\", value ? \"\" : null);\n }\n get name() {\n return attr(this, \"name\") || \"\";\n }\n set name(value) {\n attr(this, \"name\", value);\n }\n};\nvar UHTMLSummaryElement = class extends UHTMLElement {\n connectedCallback() {\n attr(this, \"role\", \"button\");\n this.slot = \"summary\";\n this.tabIndex = 0;\n }\n};\ncustomElements.define(\"u-details\", UHTMLDetailsElement);\ncustomElements.define(\"u-summary\", UHTMLSummaryElement);\n\nexport { UHTMLDetailsElement, UHTMLDetailsShadowRoot, UHTMLDetailsStyle, UHTMLSummaryElement };\n"],"names":["IS_BROWSER","IS_ANDROID","_a","SAFE_LABELLEDBY","DISPLAY_BLOCK","UHTMLElement","attr","el","name","value","events","action","element","rest","type","on","off","asButton","event","isClick","getRoot","node","_a2","root","id","useId","createElement","tagName","text","attrs","key","val","customElements","instance","UHTMLDetailsStyle","UHTMLDetailsElement","prop","prev","next","hide","open","uDetailsList","uDetails","summary","isSummary","UHTMLSummaryElement"],"mappings":"AACA,IAAIA,IAAa,OAAO,SAAW,OAAe,OAAO,OAAO,WAAa,OAAe,OAAO,OAAO,YAAc,KACpHC,IAAaD,KAAc,WAAW,KAAK,UAAU,SAAS,GAC9DE;AACJF;AACA,QAAQ,OAAOE,IAAK,UAAU,kBAAkB,OAAO,SAASA,EAAG,aAAa,UAAU,QAAQ;AAClG,IAAIC,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EAAK,MAAM,QAAQ,QAAQ,GAC3B,KAAK,OAAO,WACZ,KAAK,WAAW;AAAA,EAClB;AACF;AACA0B,EAAe,OAAO,aAAaG,CAAmB;AACtDH,EAAe,OAAO,aAAaa,CAAmB;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"u-details.js","sources":["../../../../../node_modules/@u-elements/u-details/dist/u-details.js"],"sourcesContent":["// ../utils.ts\nvar IS_BROWSER = typeof window !== \"undefined\" && typeof window.document !== \"undefined\" && typeof window.navigator !== \"undefined\";\nvar _a;\nIS_BROWSER && // @ts-expect-error Typescript has not implemented userAgentData yet https://stackoverflow.com/a/71392474\n/^Mac/i.test(((_a = navigator.userAgentData) == null ? void 0 : _a.platform) || navigator.platform);\nvar DISPLAY_BLOCK = \":host(:not([hidden])) { display: block }\";\nvar UHTMLElement = typeof HTMLElement === \"undefined\" ? class {\n} : HTMLElement;\nfunction attr(el, name, value) {\n if (value === void 0) return el.getAttribute(name);\n if (value === null) el.removeAttribute(name);\n else if (el.getAttribute(name) !== value) el.setAttribute(name, value);\n return null;\n}\nvar events = (action, element, rest) => {\n for (const type of rest[0].split(\",\")) {\n rest[0] = type;\n Element.prototype[`${action}EventListener`].apply(element, rest);\n }\n};\nvar on = (element, ...rest) => events(\"add\", element, rest);\nvar off = (element, ...rest) => events(\"remove\", element, rest);\nvar asButton = (event) => {\n const isClick = \"key\" in event && (event.key === \" \" || event.key === \"Enter\");\n if (isClick) event.preventDefault();\n if (isClick && event.target instanceof HTMLElement) event.target.click();\n return isClick;\n};\nvar getRoot = (node) => {\n var _a2;\n const root = ((_a2 = node.getRootNode) == null ? void 0 : _a2.call(node)) || node.ownerDocument;\n return root instanceof Document || root instanceof ShadowRoot ? root : document;\n};\nvar createElement = (tagName, text, attrs) => {\n const el = document.createElement(tagName);\n if (text) el.textContent = text;\n if (attrs) for (const [key, val] of Object.entries(attrs)) attr(el, key, val);\n return el;\n};\nvar customElements = {\n define: (name, instance) => !IS_BROWSER || window.customElements.get(name) || window.customElements.define(name, instance)\n};\nvar declarativeShadowRoot = (style, slot = \"<slot></slot>\") => `<template shadowrootmode=\"open\">${slot}<style>${style}</style></template>`;\n\n// u-details.ts\nvar UHTMLDetailsStyle = `${DISPLAY_BLOCK}\n::slotted(u-summary) { cursor: pointer; display: block }\n::slotted(u-summary)::before { content: ''; display: inline-block; vertical-align: middle; margin-inline: .05em .3125em; border-block: .3125em solid transparent; border-inline-start: .5em solid }\n::slotted(u-summary[aria-expanded=\"true\"])::before { rotate: 90deg }\n:host > [part=\"details-content\"]:not([hidden=\"\"]) { display: block }`;\nvar UHTMLDetailsShadowRoot = declarativeShadowRoot(\n UHTMLDetailsStyle,\n '<slot name=\"summary\"></slot><slot part=\"details-content\" hidden=\"until-found\"></slot>'\n);\nvar UHTMLDetailsElement = class extends UHTMLElement {\n constructor() {\n super();\n // Using underscore instead of private fields for backwards compatibility\n this._content = null;\n if (!this.shadowRoot)\n this.attachShadow({ mode: \"open\" }).append(\n createElement(\"slot\", null, { name: \"summary\" }),\n createElement(\"slot\", null, { part: \"details-content\" }),\n createElement(\"style\", UHTMLDetailsStyle)\n );\n }\n // Using ES2015 syntax for backwards compatibility\n static get observedAttributes() {\n return [\"open\"];\n }\n connectedCallback() {\n var _a2;\n this._content = (_a2 = this.shadowRoot) == null ? void 0 : _a2.children[1];\n attr(this, \"role\", \"group\");\n on(this._content, \"beforematch\", this);\n on(this, \"click,keydown\", this);\n this.attributeChangedCallback();\n }\n disconnectedCallback() {\n if (this._content) off(this._content, \"beforematch\", this);\n off(this, \"click,keydown\", this);\n this._content = null;\n }\n attributeChangedCallback(prop, prev, next) {\n const hide = \"onbeforematch\" in this ? \"until-found\" : true;\n const open = this.open;\n for (const el of this.children)\n if (el.nodeName === \"U-SUMMARY\") attr(el, \"aria-expanded\", `${open}`);\n if (this._content) {\n attr(this._content, \"aria-hidden\", `${!open}`);\n this._content.hidden = open ? false : hide;\n }\n if (open && this.name) {\n const uDetailsList = getRoot(this).querySelectorAll(\n `${this.nodeName}[name=\"${this.name}\"]`\n );\n for (const uDetails of uDetailsList)\n if (uDetails !== this) uDetails.open = false;\n }\n if (prop === \"open\" && prev === null !== (next === null))\n this.dispatchEvent(new Event(\"toggle\"));\n }\n handleEvent(event) {\n const summary = this.querySelector(\":scope > u-summary\");\n const isSummary = summary == null ? void 0 : summary.contains(event.target);\n if (event.defaultPrevented) return;\n if (event.type === \"beforematch\") this.open = true;\n if (isSummary && event.type === \"keydown\") asButton(event);\n if (isSummary && event.type === \"click\") this.open = !this.open;\n }\n get open() {\n return this.hasAttribute(\"open\");\n }\n set open(value) {\n attr(this, \"open\", value ? \"\" : null);\n }\n get name() {\n return attr(this, \"name\") || \"\";\n }\n set name(value) {\n attr(this, \"name\", value);\n }\n};\nvar UHTMLSummaryElement = class extends UHTMLElement {\n connectedCallback() {\n attr(this, \"role\", \"button\");\n this.slot = \"summary\";\n this.tabIndex = 0;\n }\n};\ncustomElements.define(\"u-details\", UHTMLDetailsElement);\ncustomElements.define(\"u-summary\", UHTMLSummaryElement);\n\nexport { UHTMLDetailsElement, UHTMLDetailsShadowRoot, UHTMLDetailsStyle, UHTMLSummaryElement };\n"],"names":["IS_BROWSER","_a","DISPLAY_BLOCK","UHTMLElement","attr","el","name","value","events","action","element","rest","type","on","off","asButton","event","isClick","getRoot","node","_a2","root","createElement","tagName","text","attrs","key","val","customElements","instance","UHTMLDetailsStyle","UHTMLDetailsElement","prop","prev","next","hide","open","uDetailsList","uDetails","summary","isSummary","UHTMLSummaryElement"],"mappings":"AACA,IAAIA,IAAa,OAAO,SAAW,OAAe,OAAO,OAAO,WAAa,OAAe,OAAO,OAAO,YAAc,KACpHC;AACJD;AACA,QAAQ,OAAOC,IAAK,UAAU,kBAAkB,OAAO,SAASA,EAAG,aAAa,UAAU,QAAQ;AAClG,IAAIC,IAAgB,4CAChBC,IAAe,OAAO,cAAgB,MAAc,MAAM;AAC9D,IAAI;AACJ,SAASC,EAAKC,GAAIC,GAAMC,GAAO;AAC7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AAU,KAAK,IAAI;AAAA,MAC3C;AACM,iBAAWoB,KAAYD;AACrB,QAAIC,MAAa,SAAMA,EAAS,OAAO;AAAA,IAC3C;AACA,IAAIN,MAAS,UAAUC,MAAS,SAAUC,MAAS,SACjD,KAAK,cAAc,IAAI,MAAM,QAAQ,CAAC;AAAA,EAC1C;AAAA,EACA,YAAYlB,GAAO;AACjB,UAAMuB,IAAU,KAAK,cAAc,oBAAoB,GACjDC,IAAuCD,GAAQ,SAASvB,EAAM,MAAM;AAC1E,IAAIA,EAAM,qBACNA,EAAM,SAAS,kBAAe,KAAK,OAAO,KAC1CwB,KAAaxB,EAAM,SAAS,aAAWD,EAASC,CAAK,GACrDwB,KAAaxB,EAAM,SAAS,YAAS,KAAK,OAAO,CAAC,KAAK;AAAA,EAC7D;AAAA,EACA,IAAI,OAAO;AACT,WAAO,KAAK,aAAa,MAAM;AAAA,EACjC;AAAA,EACA,IAAI,KAAKT,GAAO;AACd,IAAAH,EAAK,MAAM,QAAQG,IAAQ,KAAK,IAAI;AAAA,EACtC;AAAA,EACA,IAAI,OAAO;AACT,WAAOH,EAAK,MAAM,MAAM,KAAK;AAAA,EAC/B;AAAA,EACA,IAAI,KAAKG,GAAO;AACd,IAAAH,EAAK,MAAM,QAAQG,CAAK;AAAA,EAC1B;AACF,GACIkC,IAAsB,cAActC,EAAa;AAAA,EACnD,oBAAoB;AAClB,IAAAC,EAAK,MAAM,QAAQ,QAAQ,GAC3B,KAAK,OAAO,WACZ,KAAK,WAAW;AAAA,EAClB;AACF;AACAwB,EAAe,OAAO,aAAaG,CAAmB;AACtDH,EAAe,OAAO,aAAaa,CAAmB;","x_google_ignoreList":[0]}
@@ -1,17 +1,17 @@
1
- import l from "../styles.module.css.js";
1
+ import c from "../styles.module.css.js";
2
2
  import { onLoaded as r, onMutation as f, attr as e, useId as u, isInputLike as m } from "../utils.js";
3
- const I = l.fieldset.split(" ")[0], p = l.validation.split(" ")[0], a = "aria-describedby", A = "aria-invalid";
4
- function L(c) {
5
- requestAnimationFrame(() => {
6
- for (const n of c)
7
- if (n.isConnected) {
8
- const o = [];
9
- let i = null, s = !0;
10
- for (const t of n.getElementsByTagName("*"))
11
- t.classList.contains(p) ? (s = e(t, "data-color") === "success" || !t.clientHeight, i = u(t)) : m(t) && o.push(t);
12
- for (const t of o) {
13
- const d = e(t, a)?.replace(i || "#", "");
14
- e(t, a, `${i || ""} ${d || ""}`.trim()), e(t, A, `${!s}`);
3
+ const I = c.fieldset.split(" ")[0], p = c.validation.split(" ")[0], l = "aria-describedby", A = "aria-invalid";
4
+ function L(a) {
5
+ setTimeout(() => {
6
+ for (const o of a)
7
+ if (o.isConnected) {
8
+ const s = [];
9
+ let i = null, n = !0;
10
+ for (const t of o.getElementsByTagName("*"))
11
+ t.classList.contains(p) ? (n = e(t, "data-color") === "success" || !t.clientHeight, i = u(t)) : m(t) && s.push(t);
12
+ for (const t of s) {
13
+ const d = e(t, l)?.replace(i || "#", "");
14
+ e(t, l, `${i || ""} ${d || ""}`.trim()), e(t, A, `${!n}`);
15
15
  }
16
16
  }
17
17
  });
@@ -1 +1 @@
1
- {"version":3,"file":"fieldset-observer.js","sources":["../../designsystem/fieldset/fieldset-observer.ts"],"sourcesContent":["import styles from \"../styles.module.css\";\nimport { attr, isInputLike, onLoaded, onMutation, useId } from \"../utils\";\n\nconst CSS_FIELDSET = styles.fieldset.split(\" \")[0];\nconst CSS_VALIDATION = styles.validation.split(\" \")[0];\nconst ARIA_DESC = \"aria-describedby\";\nconst ARIA_INVALID = \"aria-invalid\";\n\n// Using requestAnimationFrame to ensure it runs after field-observer\nfunction handleFieldsetMutation(fieldsets: HTMLCollectionOf<Element>) {\n\trequestAnimationFrame(() => {\n\t\tfor (const fieldset of fieldsets)\n\t\t\tif (fieldset.isConnected) {\n\t\t\t\tconst inputs: HTMLInputElement[] = [];\n\t\t\t\tlet validId: string | null = null;\n\t\t\t\tlet valid = true;\n\n\t\t\t\tfor (const el of fieldset.getElementsByTagName(\"*\")) {\n\t\t\t\t\tif (el.classList.contains(CSS_VALIDATION)) {\n\t\t\t\t\t\tvalid = attr(el, \"data-color\") === \"success\" || !el.clientHeight; // Only set invalid if Validation is visible\n\t\t\t\t\t\tvalidId = useId(el);\n\t\t\t\t\t} else if (isInputLike(el)) inputs.push(el);\n\t\t\t\t}\n\n\t\t\t\tfor (const input of inputs) {\n\t\t\t\t\tconst desc = attr(input, ARIA_DESC)?.replace(validId || \"#\", \"\");\n\n\t\t\t\t\tattr(input, ARIA_DESC, `${validId || \"\"} ${desc || \"\"}`.trim());\n\t\t\t\t\tattr(input, ARIA_INVALID, `${!valid}`);\n\t\t\t\t}\n\t\t\t}\n\t});\n}\n\nonLoaded(() =>\n\tonMutation(document.documentElement, CSS_FIELDSET, handleFieldsetMutation),\n);\n"],"names":["CSS_FIELDSET","styles","CSS_VALIDATION","ARIA_DESC","ARIA_INVALID","handleFieldsetMutation","fieldsets","fieldset","inputs","validId","valid","el","attr","useId","isInputLike","input","desc","onLoaded","onMutation"],"mappings":";;AAGA,MAAMA,IAAeC,EAAO,SAAS,MAAM,GAAG,EAAE,CAAC,GAC3CC,IAAiBD,EAAO,WAAW,MAAM,GAAG,EAAE,CAAC,GAC/CE,IAAY,oBACZC,IAAe;AAGrB,SAASC,EAAuBC,GAAsC;AACrE,wBAAsB,MAAM;AAC3B,eAAWC,KAAYD;AACtB,UAAIC,EAAS,aAAa;AACzB,cAAMC,IAA6B,CAAA;AACnC,YAAIC,IAAyB,MACzBC,IAAQ;AAEZ,mBAAWC,KAAMJ,EAAS,qBAAqB,GAAG;AACjD,UAAII,EAAG,UAAU,SAAST,CAAc,KACvCQ,IAAQE,EAAKD,GAAI,YAAY,MAAM,aAAa,CAACA,EAAG,cACpDF,IAAUI,EAAMF,CAAE,KACRG,EAAYH,CAAE,KAAGH,EAAO,KAAKG,CAAE;AAG3C,mBAAWI,KAASP,GAAQ;AAC3B,gBAAMQ,IAAOJ,EAAKG,GAAOZ,CAAS,GAAG,QAAQM,KAAW,KAAK,EAAE;AAE/D,UAAAG,EAAKG,GAAOZ,GAAW,GAAGM,KAAW,EAAE,IAAIO,KAAQ,EAAE,GAAG,KAAA,CAAM,GAC9DJ,EAAKG,GAAOX,GAAc,GAAG,CAACM,CAAK,EAAE;AAAA,QACtC;AAAA,MACD;AAAA,EACF,CAAC;AACF;AAEAO;AAAA,EAAS,MACRC,EAAW,SAAS,iBAAiBlB,GAAcK,CAAsB;AAC1E;"}
1
+ {"version":3,"file":"fieldset-observer.js","sources":["../../designsystem/fieldset/fieldset-observer.ts"],"sourcesContent":["import styles from \"../styles.module.css\";\nimport { attr, isInputLike, onLoaded, onMutation, useId } from \"../utils\";\n\nconst CSS_FIELDSET = styles.fieldset.split(\" \")[0];\nconst CSS_VALIDATION = styles.validation.split(\" \")[0];\nconst ARIA_DESC = \"aria-describedby\";\nconst ARIA_INVALID = \"aria-invalid\";\n\n// Using setTimeout to ensure it runs after field-observer\nfunction handleFieldsetMutation(fieldsets: HTMLCollectionOf<Element>) {\n\tsetTimeout(() => {\n\t\tfor (const fieldset of fieldsets)\n\t\t\tif (fieldset.isConnected) {\n\t\t\t\tconst inputs: HTMLInputElement[] = [];\n\t\t\t\tlet validId: string | null = null;\n\t\t\t\tlet valid = true;\n\n\t\t\t\tfor (const el of fieldset.getElementsByTagName(\"*\")) {\n\t\t\t\t\tif (el.classList.contains(CSS_VALIDATION)) {\n\t\t\t\t\t\tvalid = attr(el, \"data-color\") === \"success\" || !el.clientHeight; // Only set invalid if Validation is visible\n\t\t\t\t\t\tvalidId = useId(el);\n\t\t\t\t\t} else if (isInputLike(el)) inputs.push(el);\n\t\t\t\t}\n\n\t\t\t\tfor (const input of inputs) {\n\t\t\t\t\tconst desc = attr(input, ARIA_DESC)?.replace(validId || \"#\", \"\");\n\n\t\t\t\t\tattr(input, ARIA_DESC, `${validId || \"\"} ${desc || \"\"}`.trim());\n\t\t\t\t\tattr(input, ARIA_INVALID, `${!valid}`);\n\t\t\t\t}\n\t\t\t}\n\t});\n}\n\nonLoaded(() =>\n\tonMutation(document.documentElement, CSS_FIELDSET, handleFieldsetMutation),\n);\n"],"names":["CSS_FIELDSET","styles","CSS_VALIDATION","ARIA_DESC","ARIA_INVALID","handleFieldsetMutation","fieldsets","fieldset","inputs","validId","valid","el","attr","useId","isInputLike","input","desc","onLoaded","onMutation"],"mappings":";;AAGA,MAAMA,IAAeC,EAAO,SAAS,MAAM,GAAG,EAAE,CAAC,GAC3CC,IAAiBD,EAAO,WAAW,MAAM,GAAG,EAAE,CAAC,GAC/CE,IAAY,oBACZC,IAAe;AAGrB,SAASC,EAAuBC,GAAsC;AACrE,aAAW,MAAM;AAChB,eAAWC,KAAYD;AACtB,UAAIC,EAAS,aAAa;AACzB,cAAMC,IAA6B,CAAA;AACnC,YAAIC,IAAyB,MACzBC,IAAQ;AAEZ,mBAAWC,KAAMJ,EAAS,qBAAqB,GAAG;AACjD,UAAII,EAAG,UAAU,SAAST,CAAc,KACvCQ,IAAQE,EAAKD,GAAI,YAAY,MAAM,aAAa,CAACA,EAAG,cACpDF,IAAUI,EAAMF,CAAE,KACRG,EAAYH,CAAE,KAAGH,EAAO,KAAKG,CAAE;AAG3C,mBAAWI,KAASP,GAAQ;AAC3B,gBAAMQ,IAAOJ,EAAKG,GAAOZ,CAAS,GAAG,QAAQM,KAAW,KAAK,EAAE;AAE/D,UAAAG,EAAKG,GAAOZ,GAAW,GAAGM,KAAW,EAAE,IAAIO,KAAQ,EAAE,GAAG,KAAA,CAAM,GAC9DJ,EAAKG,GAAOX,GAAc,GAAG,CAACM,CAAK,EAAE;AAAA,QACtC;AAAA,MACD;AAAA,EACF,CAAC;AACF;AAEAO;AAAA,EAAS,MACRC,EAAW,SAAS,iBAAiBlB,GAAcK,CAAsB;AAC1E;"}
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="227" height="386" fill="none" viewBox="0 0 227 386"><path fill="#054449" d="M13.2 168.68c0-16.86.83-57.32 12.75-90.24 10.82-29.9 32.93-50.9 48.4-58.65 15.45-7.7 63.2-14.96 91.28 5.23s38.75 50.96 41.21 62.2c2.47 11.26 9.13 50.23 6.67 81.46l9.85 2.82s0-30.54-1.41-48.45c-1.41-17.91-8.08-55.83-21.08-75.84-13-20.01-32.34-44.58-78.37-47.04C76.47-2.3 49.4 22.97 34.98 39.83 20.57 56.69 8.46 81.62 5.56 112.52c-2.9 30.9-2.02 44.24-.69 61.8l8.34-5.61v-.03Z"/><path fill="#054449" d="M227 158.79c0 13.84-50.83 25.08-113.5 25.08S0 172.62 0 158.8c0 0 3.77 33.38 4.87 56.5.98 20.7 8.34 99 8.67 102.86.72 8.05 3.33 30.96 3.33 30.96 0 20.36 43.11 36.89 96.27 36.89s95.45-16.86 96.27-36.9c0 0 3.13-31.54 5.18-51.88 1.74-17.32 3.8-62.9 6.2-85.3 1.42-13.14 6.21-53.13 6.21-53.13Z"/><path fill="#68B096" d="M113.5 133.7c-28.16 0-57.06 3.98-73.78 6.03C17.6 142.42 0 151.15 0 158.79c0 13.84 50.54 25.08 107.8 25.08 38.86 0 54.09-2.69 74.14-4.22 28.96-2.2 45.06-11.56 45.06-20.86 0-6.3-10.33-13.02-27.95-16.47-21.29-4.2-51.42-8.59-85.55-8.59v-.02Z"/></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="453" height="425" fill="none" viewBox="0 0 453 425"><path fill="#C58F79" d="M451.78 347.28c-2.57-5.25-10.56-14.96-14.62-23.24-5.08-10.45-11.02-35.87-10.4-47.46 1.95-34.55 1.15-49.12-11.13-74.08-2.17-4.62-1.88-3.88-1.94-9.65-.12-5.77 5.54-11.08 9.94-23.24 4.4-12.17 10.1-41.53 14.1-68.31 5.03-33.58 1.2-45.58-8-68.88-8.9-22.5-25.7-27.13-32.89-29.58-7.2-2.52-25.7-6.06-25.47 3.02.28 9.14 6.34 8.86 14.68 12.45 8.28 3.6 14.9 16.11 19.64 31.82 6 20.04 3.03 33.75 2.23 51.45-.86 17.7-9.42 46.2-12.45 54.77-3.03 8.57-6.91 11.09-15.76 12.11-65.11 2.57-144.96 7.03-210.46 5.89l.28-.12c-16.85-.63-43.12-23.19-47.34-27.07-4.23-3.88-23.82-26.84-25.93-29.3-2.12-2.4-6.06-5.71-10.28-16.62-4.23-10.9-11.88-26.56-14.17-25.07-6.97 4.51-8.45 19.02-8.45 19.02-3.6-10.85-11.02-13.31-12.17-12.68-.74.4-1.31 11.48 0 16.9-1.31 2.4-23.76 10.28-27.35 12.97-3.6 2.74-4.86 9.37-6.63 12.68-1.83 3.31-13.6 7.25-15.99 10.1-2.4 2.86-.63 8.92 0 12.23.63 3.31 3.6 6.62 8.45 14.16 4.86 7.54 17.2 4.23 20.85 4.23 3.65 0 12.96 14.16 17.3 19.42 9.26 20.73 34.21 82.18 48.04 116.56-.52 14.23-8.51 81.33-10 85.1-1.6 4-9.7 16.05-12.05 18.5-1.14 1.2-5.94 4.3-5.43 10.06.52 5.77 2.57 8.74 4.4 8.74h13.77c4.28 0 5.65-3.37 8.33-6.51 2.69-3.14 12.51-14.97 15.31-20.05 2.11-3.77 25.59-51.23 38.38-76.93 6.85 18.5 16.4 45.35 18.33 50.6 3.09 8.23 24 33.64 26.28 40.44 2.4 4 1.82 11.25 7.82 12.45h8.05c1.83 0 7.48-4.4 8.11-7.54 5.49-12.68-12.33-27.76-17.42-39.01-4.85-8.4-6.34-10.97-6.45-13.25-.28-3.88 2.28-38.55 3.6-56.88 26.21-.63 57.68-1.6 83.61-2.52a941 941 0 0 1 10.85 32.61c2.46 7.83 7.48 22.74 8.63 28.56 1.42 7.43 2 10.45-1.66 14.17-3.43 3.54-22.9 22.5-25.13 23.58-5.48 2.8-8.74 6.34-8.8 11.2 0 5.48 2.63 9.02 5.89 9.02h13.7c3.09 0 8.34-5.31 17.65-12.74 8.23-6.56 36.38-30.2 39.01-37 2.46-6.35 0-14.97.97-21.42.69-4.69 5.71-22.96 10.28-38.95 6 8 10.91 14.56 12.4 16.5 10.56 13.88 35.98 23.59 45 28.56 9.42 5.2 13.88 11.08 12.17 17.82-1.38 5.3-5.49 25.01-6.51 26.95-.98 1.95-4.35 3.03-5.77 7.77-1.43 4.74-.18 10.91 4.62 12.23 0 0 14.17.28 18.16.28 4 0 7.49-10.62 9.26-15.76 2.11-6.06 15.82-50.5 10.62-61.06h-.06Z"/></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="283" height="310" fill="none" viewBox="0 0 283 310"><path fill="#F9CC76" d="M279.4 98.2c-1.08-2.16-2.9-6.98-5.84-5.95l-65.81 26.8c-8.39 1.2-16.95 1.14-25.73-1.01-19.28-4.77-38.77-8.62-58.22-12.53-8.9-1.76-14.4-6.18-17.45-15.02-6.8-18.76-15.08-38.32-30.05-52.1C72.62 35.8 56.12 22.82 52 21.52 62.08 9.04 46.77-1 30.45.08 20.58 1.44 13.05 5.24 9.8 10.74c-3 5.5-1.24 10.2-.22 17.28.34 1.87-.17 2.67-1.53 4.03-3 2.83-5.5 4.7-8 7.08-.05.06-.1.17 0 .29l.52 1.36c0 .11.17.17.22.17 3.97.28 7.77.34 11.74.56 2.66.17 3.4 1.02 2.83 3.97-2.21 9.13 1.19 21.37 12.98 19.56-13.26 40.58-12.98 70.62 5.1 113.42 16.6 28.74 37.75 67.96 76.3 84 3.8 1.2 5.04 2.5 5.32 5.16 0 0-11.73 29.3-14.28 31-2.55 1.7-6.63 1.93-12.02 2.73-6.23.9-3.9.45-9.58 1.75-3.28.8-4.42 3.4-4.36 4.37.06.96 0 1.81 1.36 1.81h51.36c2.38-.11 2.77-1.02 2.89-3.06.05-1.25.4-3.57-2.9-3.8l-11-1.41 13.61-34.07c4.08-.9 22.84-2.83 23.58-2.78 7.65.51 10.66 18.94 11.34 22.45.8 4.3 1.98 10.83 1.42 11.56-.86 1.14-3.24 2.27-6.47 2.78 0 0-8.16 1.36-11.73 2.1-3 .62-5.1 2.89-5.1 4.53 0 1.2.28 1.76 2.72 1.76h48.86c1.64 0 2.21-1.76 2.21-3.17 0-1.6-.23-2.9-1.53-3.35-3.97-1.47-10.43-1.53-15.64-2.32l-5.79-46.94c4.54-4.59 15.99-11.56 26.59-19.21 26.98-18.82 48.69-48.63 62.63-72.95 9.07-17.23 25.85-41.72 16.21-63.15l-.05-.05Z"/></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="240" height="154" fill="none" viewBox="0 0 240 154"><path fill="#B4CEA0" d="M208.74 22.18c-12.6 0-22.49 6.85-27.7 16.8V0C124.24 3.14 0 .05 0 .05s1.47 61.72 5.5 90.28c5.22 53.46 69.1 62.33 69.1 62.33s56.77 8.88 79.82-24.86c18.73-27.4 24.6-52.45 26.15-60.89a31.24 31.24 0 0 0 30.03 17.76 31.37 31.37 0 0 0 29.36-29.73c.83-17.93-11.44-32.76-31.22-32.76Zm15.17 34.1a15.6 15.6 0 0 1-18.17 12.58 15.6 15.6 0 0 1-12.56-18.19 15.62 15.62 0 1 1 30.73 5.6Z"/></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="880" height="636" fill="none" viewBox="0 0 880 636"><path fill="#7F433B" d="M879.33 300.01c-20.63 7.37-63.14 14.8-80.37 9.7-23.92-7.09-37.47-28.34-55.78-49.66-9.8-11.39-35.65-29.87-49.93-40.98-11.97-9.3-58.78-25.79-75.9-28.11-20.8-2.84-67.8-4.76-117.68-1.76-39.9 2.44-84.4 5.27-100.27 3-15.92-2.26-82.3-19.9-94.6-26.24-9.07-4.65-22.16-11.45-32.76-21.54-10.72-10.83-24.66-25.96-27.72-30.5-4.37-6.34-24.66-41.94-31.8-48.51-1.02-.97-3.12-2.84-5.84-5.28a83.27 83.27 0 0 0 5.27-4.02c2.84-2.6 4.77-8.79 1.59-14.9-3.17-6.13-12.7-16.56-17.4-19.79-6.18-4.25-31.52-19.56-42.34-21.26-6.86-1.07-8.85 3.35-9.41 7.77-.4-.06-.51 0-.74 0-5.9-.17-44.67 5.38-50.1 8.05-5.45 2.66-30.39 32.82-33.73 33.9C56.47 50.88 9.42 59.73 5 61.48.58 63.25-.72 66.31.36 74.3c1.07 8 4.2 30.61 7.14 34.98 2.95 4.36 11.79 13.66 22.67 16.78 10.89 3.17 51.7 12.07 60.82 19.55 9.19 7.48 20.64 27.38 24.15 40.3 3.34 12.25 10.71 35.66 17.4 60.7.8 4.2 1.65 9.2 2.72 15.48 3.74 21.77 16.5 56.97 26.25 73.46 7.93 13.38 22.27 45.86 28.56 62.8h-.4c3.3 9.25 7.1 19.45 9.42 47.8 3.28 40.4 8.38 105.93 8.44 115.4 0 11.1-3.85 24.6-8.56 40.64-1.13 3.91-4.98 4.87-6.69 8-2.89 5.2-2.89 13.48-2.26 18.02.62 4.7 4.25 7.42 6.97 7.42h26.36c.68 0 3.85-.68 4.98-2.89 5.79-11.34 21.2-50.39 22.17-59.57 2.15-20.01 11.4-117.56 14.8-153.67 1.3.12 2.66.17 3.96.29 3.23 21.2 7.43 48.97 8.1 54.18 1.02 8.28 9.7 73.3 10.83 86.95.96 11.51-3.34 42.63-5.72 45.46-1.87 2.21-2.84 3.18-4.14 5.27-3.06 4.82-2.78 10.55-1.98 17.46.4 3.12 3.23 6.4 5.72 6.4h28.68c2.44 0 5.95-3.17 7.2-5.72 4.7-9.4 15.81-62.69 16.15-69.2.34-6.92 3.57-100.56 5.56-140.3 43.13-2.15 130.77-6.34 182.18-9.18 19.67 45.3 46.76 108.2 48.97 115.63 1.81 6.13 2.04 23.13 1.93 34.86-.06 8.73-10.88 40.59-11.57 42.91-.68 2.33-4.81 4.6-7.14 9.07a16.53 16.53 0 0 0-1.58 12.08c1.13 4.93 2.66 9.86 6.12 9.86h28.5c6.53 0 9.08-10.72 9.08-10.72s28.23-102.2 28.23-109.84c0-7.2-9.64-55.9-10.89-64.45 18.54 33.27 35.77 64.78 37.92 70.57 2.21 6 3.97 25.33 3.97 34.91 0 8.4-7.93 46.48-9.18 48.52-1.2 2.1-3.91 4.14-5.9 7.88-1.87 3.4-2.72 9.75-2.2 16.1.28 3.57 3.45 7.03 6.11 7.03h29.14c7.54 0 8.67-9.58 8.67-9.58s22.96-108.04 22.96-116.6c0-8.56-10.88-64.73-11.06-71.3-.1-5.79 10.2-51.02 11.97-62.41 1.58-8.56 2.38-32.31 2.38-32.31.62-17-2.84-52.83-2.84-53.17 9.41 11.8 22.33 26.81 33.33 34.64 15.08 10.7 33.16 24.37 54.98 26.07 21.83 1.7 55.21-7.65 63.88-10.66 27.1-9.35 21.77-40.13 21.77-40.13l-.06-.06Z"/></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="1370" height="1118" fill="none" viewBox="0 0 1370 1118"><path fill="#1E1A28" d="M1369.63 998.8c0-53.16-10.94-243.56-13.54-275.98-12.65-156.45-17.46-226.11-33.05-259.95-4.71-10.2-13.09-42.74-49.09-84.85-35.99-42.12-49.26-45.18-74.76-57.76-43.82-29.42-134.62-56.12-205.25-48.64-58.21 6.18-137.46 14.91-195.78 21.94-73.35 8.79-136.55 10.03-188.41-26.53-7.83-5.5-73.75-59.06-80.6-64-47.56-34.63-100.96-58.89-152.37-87.06C329 89.73 246.41 69.32 226.12 65.24c-4.65-6.4-7.65-15.19-10.88-22.56a98.66 98.66 0 0 0-15.48-23.86c-.74-.9-1.53-1.76-2.32-2.5-6.35-6.68-13.5-12.3-21.15-16.32-7.48 17.91-7.08 40.81.23 61.84-3.29.28-8.16.96-13.77 2.44-8.5-23.24-26.36-42.34-46.43-48.86-1.92 7.76-2.55 16.1-1.92 24.54 0 1.02.11 2.04.28 3.12a88.94 88.94 0 0 0 6.52 25c2.44 5.55 5.61 11.56 7.48 17.51-16.27 18.2-29.42 39.68-42.06 60.7-22.33 37.42-39.9 77.5-63.03 114.17C4.72 290.2-6.5 310.5 4.1 345.3c4.93 16.15 13.5 21.6 24.77 26.24 21.03 8.68 50.45 7.54 57.2-7.14 4.13-9.07 9.69-19.16 17.57-24.66a677.88 677.88 0 0 1 68.36-41.54c13.77-7.14 29.41-11.62 44.72-14.34 5.16-.97 13.94 6 17.46 11.62 12.8 20.18 23.58 41.71 36.05 62.12 33.5 55.04 69.72 107.98 71.2 176.96 2.14 18.65 6.11 30.04 12.8 42.4 17.18 31.29 17.63 31.23 34.97 59.3 5.62 9.06 10.38 20.74 14.63 33.43 8.56 30.05 38.2 134.85 39.79 145.22 3.97 26.48-2.6 182.13-4.42 192.16a7890.95 7890.95 0 0 0-16.9 104.29c-.79 5.5.97 6.18 2.73 6.18h64.9c4.42 0 4.3-1.53 4.25-4.42l-8.33-39.17s0-15.64 1.19-18.47c1.13-2.84 20.74-13.55 23.58-20.81 1.92-4.87-1.99-154.57-1.36-163.41.62-8.85 15.64-51.92 17.34-61.5.74-4.14 1.7-38.6 2.67-81.74 14.05 39.45 28.9 81.96 29.64 86.84 1.42 9.3-4.14 182.63-5.78 192.15-1.7 9.52-15.7 95.46-17.06 104.3-.63 4.19.96 6.18 2.72 6.18h64.33c4.42 0 4.31-1.53 4.25-4.42l-7.65-39.17s.29-15.19 1.2-18.48c.9-3.23 20.85-13.55 24.08-20.8 2.44-5.44-3.11-154.58-2.15-163.42.96-8.84 15.59-47.44 17.63-61.5.9-6.18 2.1-55.66 3.23-110.81 26.19.05 62.24-.51 106.56-.97 106.17-1.64 165.86-9.86 216.36-14.56 21.03 43.02 55.83 121.18 57.87 131.38 2.38 12.2-3.17 177.42-5.78 192.16-2.61 14.79-15.81 95.4-17.06 104.29-.57 4.26.96 6.18 2.72 6.18h65.01c4.43 0 4.31-1.53 4.26-4.42l-8.34-39.17s-.56-13.88 1.19-18.47c1.76-4.54 22.73-15.54 23.75-20.81.97-5.04.57-85.13 1.02-100.72.4-15.53 19.28-113.08 20.52-124.2.8-7.3-5.38-83.09-8.27-128.27 17.8 42.74 57.02 125.27 59.06 133.38 2.38 9.58-4.53 185.01-5.78 192.15-1.25 7.14-15.48 95.46-17.06 104.3-.57 3.4.96 6.18 2.72 6.18h64.96c4.42 0 4.3-1.53 4.25-4.42l-8.28-39.17s-.9-13.04 1.19-18.48c2.1-5.44 21.03-13.43 23.58-20.8 2.55-7.37-1.24-87.86 1.14-100.73 2.38-12.87 19.5-113.08 20.52-124.19.9-10.37-9.98-137.96-9.81-158.88 3.06-24.71 5.72-41.2 8.44-55.1 4.37-14.11 8.85-26.98 12.99-46.25 7.76-29.76 9.06-74.88 6.57-107.47 9.52 40.53 12.3 101.46 11.96 168.57-.23 46.14 7.77 95.4 8.39 192.61.28 47.05-3.86 154.07-3.86 154.07l85.26 41.43-.12.28Z"/></svg>