diff --git a/bun.lockb b/bun.lockb index 2eb1b16..3122652 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/package.json b/package.json index 6c9286e..77e5024 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "scripts": { "build": "tsc", "dev": "bun run --watch src/index.ts", - "format": "bun run prettier . --write", + "format": "cd src && bun run prettier . --write && cd .. && cd test && bun run prettier . --write", "setup-run-test": "bun run setup_and_run_tests.ts", "test": "source .env.test && bun test", "test-run-server": "source .env.test && bun run --watch src/index.ts" @@ -28,12 +28,14 @@ "zod": "^3.22.4" }, "devDependencies": { + "@babel/eslint-parser": "^7.23.10", "@types/bun": "^1.0.3", "autoprefixer": "^10.4.17", "bun-types": "latest", + "eslint": "^8.57.0", "prettier": "^3.2.5", "typescript": "^5.4.2", - "vite": "^5.1.4" + "typescript-eslint": "^7.3.0" }, "module": "src/index.ts" } diff --git a/public/custom.css b/public/custom.css index 32a0c7f..423630a 100644 --- a/public/custom.css +++ b/public/custom.css @@ -1,43 +1,43 @@ .center { - display: flex; - justify-content: center; - align-items: center; + display: flex; + justify-content: center; + align-items: center; } /* Teal Light scheme (Default) */ /* Can be forced with data-theme="light" */ [data-theme="light"], :root:not([data-theme="dark"]) { - --primary: #00897b; - --primary-hover: #00796b; - --primary-focus: rgba(0, 137, 123, 0.125); - --primary-inverse: #fff; + --primary: #00897b; + --primary-hover: #00796b; + --primary-focus: rgba(0, 137, 123, 0.125); + --primary-inverse: #FFF; } /* Teal Dark scheme (Auto) */ /* Automatically enabled if user has Dark mode enabled */ @media only screen and (prefers-color-scheme: dark) { - :root:not([data-theme]) { - --primary: #00897b; - --primary-hover: #009688; - --primary-focus: rgba(0, 137, 123, 0.25); - --primary-inverse: #fff; - } + :root:not([data-theme]) { + --primary: #00897b; + --primary-hover: #009688; + --primary-focus: rgba(0, 137, 123, 0.25); + --primary-inverse: #FFF; + } } /* Teal Dark scheme (Forced) */ /* Enabled if forced with data-theme="dark" */ [data-theme="dark"] { - --primary: #00897b; - --primary-hover: #009688; - --primary-focus: rgba(0, 137, 123, 0.25); - --primary-inverse: #fff; + --primary: #00897b; + --primary-hover: #009688; + --primary-focus: rgba(0, 137, 123, 0.25); + --primary-inverse: #FFF; } /* Teal (Common styles) */ :root { - --form-element-active-border-color: var(--primary); - --form-element-focus-color: var(--primary-focus); - --switch-color: var(--primary-inverse); - --switch-checked-background-color: var(--primary); + --form-element-active-border-color: var(--primary); + --form-element-focus-color: var(--primary-focus); + --switch-color: var(--primary-inverse); + --switch-checked-background-color: var(--primary); } diff --git a/public/htmx.min.js b/public/htmx.min.js index c9e9359..1463bc3 100644 --- a/public/htmx.min.js +++ b/public/htmx.min.js @@ -1,3487 +1 @@ -(function (e, t) { - if (typeof define === "function" && define.amd) { - define([], t); - } else if (typeof module === "object" && module.exports) { - module.exports = t(); - } else { - e.htmx = e.htmx || t(); - } -})(typeof self !== "undefined" ? self : this, function () { - return (function () { - "use strict"; - var Q = { - onLoad: F, - process: zt, - on: de, - off: ge, - trigger: ce, - ajax: Nr, - find: C, - findAll: f, - closest: v, - values: function (e, t) { - var r = dr(e, t || "post"); - return r.values; - }, - remove: _, - addClass: z, - removeClass: n, - toggleClass: $, - takeClass: W, - defineExtension: Ur, - removeExtension: Br, - logAll: V, - logNone: j, - logger: null, - config: { - historyEnabled: true, - historyCacheSize: 10, - refreshOnHistoryMiss: false, - defaultSwapStyle: "innerHTML", - defaultSwapDelay: 0, - defaultSettleDelay: 20, - includeIndicatorStyles: true, - indicatorClass: "htmx-indicator", - requestClass: "htmx-request", - addedClass: "htmx-added", - settlingClass: "htmx-settling", - swappingClass: "htmx-swapping", - allowEval: true, - allowScriptTags: true, - inlineScriptNonce: "", - attributesToSettle: ["class", "style", "width", "height"], - withCredentials: false, - timeout: 0, - wsReconnectDelay: "full-jitter", - wsBinaryType: "blob", - disableSelector: "[hx-disable], [data-hx-disable]", - useTemplateFragments: false, - scrollBehavior: "smooth", - defaultFocusScroll: false, - getCacheBusterParam: false, - globalViewTransitions: false, - methodsThatUseUrlParams: ["get"], - selfRequestsOnly: false, - ignoreTitle: false, - scrollIntoViewOnBoost: true, - triggerSpecsCache: null, - }, - parseInterval: d, - _: t, - createEventSource: function (e) { - return new EventSource(e, { withCredentials: true }); - }, - createWebSocket: function (e) { - var t = new WebSocket(e, []); - t.binaryType = Q.config.wsBinaryType; - return t; - }, - version: "1.9.10", - }; - var r = { - addTriggerHandler: Lt, - bodyContains: se, - canAccessLocalStorage: U, - findThisElement: xe, - filterValues: yr, - hasAttribute: o, - getAttributeValue: te, - getClosestAttributeValue: ne, - getClosestMatch: c, - getExpressionVars: Hr, - getHeaders: xr, - getInputValues: dr, - getInternalData: ae, - getSwapSpecification: wr, - getTriggerSpecs: it, - getTarget: ye, - makeFragment: l, - mergeObjects: le, - makeSettleInfo: T, - oobSwap: Ee, - querySelectorExt: ue, - selectAndSwap: je, - settleImmediately: nr, - shouldCancel: ut, - triggerEvent: ce, - triggerErrorEvent: fe, - withExtensions: R, - }; - var w = ["get", "post", "put", "delete", "patch"]; - var i = w - .map(function (e) { - return "[hx-" + e + "], [data-hx-" + e + "]"; - }) - .join(", "); - var S = e("head"), - q = e("title"), - H = e("svg", true); - function e(e, t = false) { - return new RegExp( - `<${e}(\\s[^>]*>|>)([\\s\\S]*?)<\\/${e}>`, - t ? "gim" : "im" - ); - } - function d(e) { - if (e == undefined) { - return undefined; - } - let t = NaN; - if (e.slice(-2) == "ms") { - t = parseFloat(e.slice(0, -2)); - } else if (e.slice(-1) == "s") { - t = parseFloat(e.slice(0, -1)) * 1e3; - } else if (e.slice(-1) == "m") { - t = parseFloat(e.slice(0, -1)) * 1e3 * 60; - } else { - t = parseFloat(e); - } - return isNaN(t) ? undefined : t; - } - function ee(e, t) { - return e.getAttribute && e.getAttribute(t); - } - function o(e, t) { - return ( - e.hasAttribute && - (e.hasAttribute(t) || e.hasAttribute("data-" + t)) - ); - } - function te(e, t) { - return ee(e, t) || ee(e, "data-" + t); - } - function u(e) { - return e.parentElement; - } - function re() { - return document; - } - function c(e, t) { - while (e && !t(e)) { - e = u(e); - } - return e ? e : null; - } - function L(e, t, r) { - var n = te(t, r); - var i = te(t, "hx-disinherit"); - if (e !== t && i && (i === "*" || i.split(" ").indexOf(r) >= 0)) { - return "unset"; - } else { - return n; - } - } - function ne(t, r) { - var n = null; - c(t, function (e) { - return (n = L(t, e, r)); - }); - if (n !== "unset") { - return n; - } - } - function h(e, t) { - var r = - e.matches || - e.matchesSelector || - e.msMatchesSelector || - e.mozMatchesSelector || - e.webkitMatchesSelector || - e.oMatchesSelector; - return r && r.call(e, t); - } - function A(e) { - var t = /<([a-z][^\/\0>\x20\t\r\n\f]*)/i; - var r = t.exec(e); - if (r) { - return r[1].toLowerCase(); - } else { - return ""; - } - } - function a(e, t) { - var r = new DOMParser(); - var n = r.parseFromString(e, "text/html"); - var i = n.body; - while (t > 0) { - t--; - i = i.firstChild; - } - if (i == null) { - i = re().createDocumentFragment(); - } - return i; - } - function N(e) { - return /", 0); - return i.querySelector("template").content; - } - switch (r) { - case "thead": - case "tbody": - case "tfoot": - case "colgroup": - case "caption": - return a("" + n + "
", 1); - case "col": - return a( - "" + n + "
", - 2 - ); - case "tr": - return a("" + n + "
", 2); - case "td": - case "th": - return a( - "" + n + "
", - 3 - ); - case "script": - case "style": - return a("
" + n + "
", 1); - default: - return a(n, 0); - } - } - function ie(e) { - if (e) { - e(); - } - } - function I(e, t) { - return Object.prototype.toString.call(e) === "[object " + t + "]"; - } - function k(e) { - return I(e, "Function"); - } - function P(e) { - return I(e, "Object"); - } - function ae(e) { - var t = "htmx-internal-data"; - var r = e[t]; - if (!r) { - r = e[t] = {}; - } - return r; - } - function M(e) { - var t = []; - if (e) { - for (var r = 0; r < e.length; r++) { - t.push(e[r]); - } - } - return t; - } - function oe(e, t) { - if (e) { - for (var r = 0; r < e.length; r++) { - t(e[r]); - } - } - } - function X(e) { - var t = e.getBoundingClientRect(); - var r = t.top; - var n = t.bottom; - return r < window.innerHeight && n >= 0; - } - function se(e) { - if (e.getRootNode && e.getRootNode() instanceof window.ShadowRoot) { - return re().body.contains(e.getRootNode().host); - } else { - return re().body.contains(e); - } - } - function D(e) { - return e.trim().split(/\s+/); - } - function le(e, t) { - for (var r in t) { - if (t.hasOwnProperty(r)) { - e[r] = t[r]; - } - } - return e; - } - function E(e) { - try { - return JSON.parse(e); - } catch (e) { - b(e); - return null; - } - } - function U() { - var e = "htmx:localStorageTest"; - try { - localStorage.setItem(e, e); - localStorage.removeItem(e); - return true; - } catch (e) { - return false; - } - } - function B(t) { - try { - var e = new URL(t); - if (e) { - t = e.pathname + e.search; - } - if (!/^\/$/.test(t)) { - t = t.replace(/\/+$/, ""); - } - return t; - } catch (e) { - return t; - } - } - function t(e) { - return Tr(re().body, function () { - return eval(e); - }); - } - function F(t) { - var e = Q.on("htmx:load", function (e) { - t(e.detail.elt); - }); - return e; - } - function V() { - Q.logger = function (e, t, r) { - if (console) { - console.log(t, e, r); - } - }; - } - function j() { - Q.logger = null; - } - function C(e, t) { - if (t) { - return e.querySelector(t); - } else { - return C(re(), e); - } - } - function f(e, t) { - if (t) { - return e.querySelectorAll(t); - } else { - return f(re(), e); - } - } - function _(e, t) { - e = g(e); - if (t) { - setTimeout(function () { - _(e); - e = null; - }, t); - } else { - e.parentElement.removeChild(e); - } - } - function z(e, t, r) { - e = g(e); - if (r) { - setTimeout(function () { - z(e, t); - e = null; - }, r); - } else { - e.classList && e.classList.add(t); - } - } - function n(e, t, r) { - e = g(e); - if (r) { - setTimeout(function () { - n(e, t); - e = null; - }, r); - } else { - if (e.classList) { - e.classList.remove(t); - if (e.classList.length === 0) { - e.removeAttribute("class"); - } - } - } - } - function $(e, t) { - e = g(e); - e.classList.toggle(t); - } - function W(e, t) { - e = g(e); - oe(e.parentElement.children, function (e) { - n(e, t); - }); - z(e, t); - } - function v(e, t) { - e = g(e); - if (e.closest) { - return e.closest(t); - } else { - do { - if (e == null || h(e, t)) { - return e; - } - } while ((e = e && u(e))); - return null; - } - } - function s(e, t) { - return e.substring(0, t.length) === t; - } - function G(e, t) { - return e.substring(e.length - t.length) === t; - } - function J(e) { - var t = e.trim(); - if (s(t, "<") && G(t, "/>")) { - return t.substring(1, t.length - 2); - } else { - return t; - } - } - function Z(e, t) { - if (t.indexOf("closest ") === 0) { - return [v(e, J(t.substr(8)))]; - } else if (t.indexOf("find ") === 0) { - return [C(e, J(t.substr(5)))]; - } else if (t === "next") { - return [e.nextElementSibling]; - } else if (t.indexOf("next ") === 0) { - return [K(e, J(t.substr(5)))]; - } else if (t === "previous") { - return [e.previousElementSibling]; - } else if (t.indexOf("previous ") === 0) { - return [Y(e, J(t.substr(9)))]; - } else if (t === "document") { - return [document]; - } else if (t === "window") { - return [window]; - } else if (t === "body") { - return [document.body]; - } else { - return re().querySelectorAll(J(t)); - } - } - var K = function (e, t) { - var r = re().querySelectorAll(t); - for (var n = 0; n < r.length; n++) { - var i = r[n]; - if ( - i.compareDocumentPosition(e) === - Node.DOCUMENT_POSITION_PRECEDING - ) { - return i; - } - } - }; - var Y = function (e, t) { - var r = re().querySelectorAll(t); - for (var n = r.length - 1; n >= 0; n--) { - var i = r[n]; - if ( - i.compareDocumentPosition(e) === - Node.DOCUMENT_POSITION_FOLLOWING - ) { - return i; - } - } - }; - function ue(e, t) { - if (t) { - return Z(e, t)[0]; - } else { - return Z(re().body, e)[0]; - } - } - function g(e) { - if (I(e, "String")) { - return C(e); - } else { - return e; - } - } - function ve(e, t, r) { - if (k(t)) { - return { target: re().body, event: e, listener: t }; - } else { - return { target: g(e), event: t, listener: r }; - } - } - function de(t, r, n) { - jr(function () { - var e = ve(t, r, n); - e.target.addEventListener(e.event, e.listener); - }); - var e = k(r); - return e ? r : n; - } - function ge(t, r, n) { - jr(function () { - var e = ve(t, r, n); - e.target.removeEventListener(e.event, e.listener); - }); - return k(r) ? r : n; - } - var me = re().createElement("output"); - function pe(e, t) { - var r = ne(e, t); - if (r) { - if (r === "this") { - return [xe(e, t)]; - } else { - var n = Z(e, r); - if (n.length === 0) { - b( - 'The selector "' + - r + - '" on ' + - t + - " returned no matches!" - ); - return [me]; - } else { - return n; - } - } - } - } - function xe(e, t) { - return c(e, function (e) { - return te(e, t) != null; - }); - } - function ye(e) { - var t = ne(e, "hx-target"); - if (t) { - if (t === "this") { - return xe(e, "hx-target"); - } else { - return ue(e, t); - } - } else { - var r = ae(e); - if (r.boosted) { - return re().body; - } else { - return e; - } - } - } - function be(e) { - var t = Q.config.attributesToSettle; - for (var r = 0; r < t.length; r++) { - if (e === t[r]) { - return true; - } - } - return false; - } - function we(t, r) { - oe(t.attributes, function (e) { - if (!r.hasAttribute(e.name) && be(e.name)) { - t.removeAttribute(e.name); - } - }); - oe(r.attributes, function (e) { - if (be(e.name)) { - t.setAttribute(e.name, e.value); - } - }); - } - function Se(e, t) { - var r = Fr(t); - for (var n = 0; n < r.length; n++) { - var i = r[n]; - try { - if (i.isInlineSwap(e)) { - return true; - } - } catch (e) { - b(e); - } - } - return e === "outerHTML"; - } - function Ee(e, i, a) { - var t = "#" + ee(i, "id"); - var o = "outerHTML"; - if (e === "true") { - } else if (e.indexOf(":") > 0) { - o = e.substr(0, e.indexOf(":")); - t = e.substr(e.indexOf(":") + 1, e.length); - } else { - o = e; - } - var r = re().querySelectorAll(t); - if (r) { - oe(r, function (e) { - var t; - var r = i.cloneNode(true); - t = re().createDocumentFragment(); - t.appendChild(r); - if (!Se(o, e)) { - t = r; - } - var n = { shouldSwap: true, target: e, fragment: t }; - if (!ce(e, "htmx:oobBeforeSwap", n)) return; - e = n.target; - if (n["shouldSwap"]) { - Fe(o, e, e, t, a); - } - oe(a.elts, function (e) { - ce(e, "htmx:oobAfterSwap", n); - }); - }); - i.parentNode.removeChild(i); - } else { - i.parentNode.removeChild(i); - fe(re().body, "htmx:oobErrorNoTarget", { content: i }); - } - return e; - } - function Ce(e, t, r) { - var n = ne(e, "hx-select-oob"); - if (n) { - var i = n.split(","); - for (var a = 0; a < i.length; a++) { - var o = i[a].split(":", 2); - var s = o[0].trim(); - if (s.indexOf("#") === 0) { - s = s.substring(1); - } - var l = o[1] || "true"; - var u = t.querySelector("#" + s); - if (u) { - Ee(l, u, r); - } - } - } - oe(f(t, "[hx-swap-oob], [data-hx-swap-oob]"), function (e) { - var t = te(e, "hx-swap-oob"); - if (t != null) { - Ee(t, e, r); - } - }); - } - function Re(e) { - oe(f(e, "[hx-preserve], [data-hx-preserve]"), function (e) { - var t = te(e, "id"); - var r = re().getElementById(t); - if (r != null) { - e.parentNode.replaceChild(r, e); - } - }); - } - function Te(o, e, s) { - oe(e.querySelectorAll("[id]"), function (e) { - var t = ee(e, "id"); - if (t && t.length > 0) { - var r = t.replace("'", "\\'"); - var n = e.tagName.replace(":", "\\:"); - var i = o.querySelector(n + "[id='" + r + "']"); - if (i && i !== o) { - var a = e.cloneNode(); - we(e, i); - s.tasks.push(function () { - we(e, a); - }); - } - } - }); - } - function Oe(e) { - return function () { - n(e, Q.config.addedClass); - zt(e); - Nt(e); - qe(e); - ce(e, "htmx:load"); - }; - } - function qe(e) { - var t = "[autofocus]"; - var r = h(e, t) ? e : e.querySelector(t); - if (r != null) { - r.focus(); - } - } - function m(e, t, r, n) { - Te(e, r, n); - while (r.childNodes.length > 0) { - var i = r.firstChild; - z(i, Q.config.addedClass); - e.insertBefore(i, t); - if ( - i.nodeType !== Node.TEXT_NODE && - i.nodeType !== Node.COMMENT_NODE - ) { - n.tasks.push(Oe(i)); - } - } - } - function He(e, t) { - var r = 0; - while (r < e.length) { - t = ((t << 5) - t + e.charCodeAt(r++)) | 0; - } - return t; - } - function Le(e) { - var t = 0; - if (e.attributes) { - for (var r = 0; r < e.attributes.length; r++) { - var n = e.attributes[r]; - if (n.value) { - t = He(n.name, t); - t = He(n.value, t); - } - } - } - return t; - } - function Ae(e) { - var t = ae(e); - if (t.onHandlers) { - for (var r = 0; r < t.onHandlers.length; r++) { - const n = t.onHandlers[r]; - e.removeEventListener(n.event, n.listener); - } - delete t.onHandlers; - } - } - function Ne(e) { - var t = ae(e); - if (t.timeout) { - clearTimeout(t.timeout); - } - if (t.webSocket) { - t.webSocket.close(); - } - if (t.sseEventSource) { - t.sseEventSource.close(); - } - if (t.listenerInfos) { - oe(t.listenerInfos, function (e) { - if (e.on) { - e.on.removeEventListener(e.trigger, e.listener); - } - }); - } - Ae(e); - oe(Object.keys(t), function (e) { - delete t[e]; - }); - } - function p(e) { - ce(e, "htmx:beforeCleanupElement"); - Ne(e); - if (e.children) { - oe(e.children, function (e) { - p(e); - }); - } - } - function Ie(t, e, r) { - if (t.tagName === "BODY") { - return Ue(t, e, r); - } else { - var n; - var i = t.previousSibling; - m(u(t), t, e, r); - if (i == null) { - n = u(t).firstChild; - } else { - n = i.nextSibling; - } - r.elts = r.elts.filter(function (e) { - return e != t; - }); - while (n && n !== t) { - if (n.nodeType === Node.ELEMENT_NODE) { - r.elts.push(n); - } - n = n.nextElementSibling; - } - p(t); - u(t).removeChild(t); - } - } - function ke(e, t, r) { - return m(e, e.firstChild, t, r); - } - function Pe(e, t, r) { - return m(u(e), e, t, r); - } - function Me(e, t, r) { - return m(e, null, t, r); - } - function Xe(e, t, r) { - return m(u(e), e.nextSibling, t, r); - } - function De(e, t, r) { - p(e); - return u(e).removeChild(e); - } - function Ue(e, t, r) { - var n = e.firstChild; - m(e, n, t, r); - if (n) { - while (n.nextSibling) { - p(n.nextSibling); - e.removeChild(n.nextSibling); - } - p(n); - e.removeChild(n); - } - } - function Be(e, t, r) { - var n = r || ne(e, "hx-select"); - if (n) { - var i = re().createDocumentFragment(); - oe(t.querySelectorAll(n), function (e) { - i.appendChild(e); - }); - t = i; - } - return t; - } - function Fe(e, t, r, n, i) { - switch (e) { - case "none": - return; - case "outerHTML": - Ie(r, n, i); - return; - case "afterbegin": - ke(r, n, i); - return; - case "beforebegin": - Pe(r, n, i); - return; - case "beforeend": - Me(r, n, i); - return; - case "afterend": - Xe(r, n, i); - return; - case "delete": - De(r, n, i); - return; - default: - var a = Fr(t); - for (var o = 0; o < a.length; o++) { - var s = a[o]; - try { - var l = s.handleSwap(e, r, n, i); - if (l) { - if (typeof l.length !== "undefined") { - for (var u = 0; u < l.length; u++) { - var f = l[u]; - if ( - f.nodeType !== Node.TEXT_NODE && - f.nodeType !== Node.COMMENT_NODE - ) { - i.tasks.push(Oe(f)); - } - } - } - return; - } - } catch (e) { - b(e); - } - } - if (e === "innerHTML") { - Ue(r, n, i); - } else { - Fe(Q.config.defaultSwapStyle, t, r, n, i); - } - } - } - function Ve(e) { - if (e.indexOf(" -1) { - var t = e.replace(H, ""); - var r = t.match(q); - if (r) { - return r[2]; - } - } - } - function je(e, t, r, n, i, a) { - i.title = Ve(n); - var o = l(n); - if (o) { - Ce(r, o, i); - o = Be(r, o, a); - Re(o); - return Fe(e, r, t, o, i); - } - } - function _e(e, t, r) { - var n = e.getResponseHeader(t); - if (n.indexOf("{") === 0) { - var i = E(n); - for (var a in i) { - if (i.hasOwnProperty(a)) { - var o = i[a]; - if (!P(o)) { - o = { value: o }; - } - ce(r, a, o); - } - } - } else { - var s = n.split(","); - for (var l = 0; l < s.length; l++) { - ce(r, s[l].trim(), []); - } - } - } - var ze = /\s/; - var x = /[\s,]/; - var $e = /[_$a-zA-Z]/; - var We = /[_$a-zA-Z0-9]/; - var Ge = ['"', "'", "/"]; - var Je = /[^\s]/; - var Ze = /[{(]/; - var Ke = /[})]/; - function Ye(e) { - var t = []; - var r = 0; - while (r < e.length) { - if ($e.exec(e.charAt(r))) { - var n = r; - while (We.exec(e.charAt(r + 1))) { - r++; - } - t.push(e.substr(n, r - n + 1)); - } else if (Ge.indexOf(e.charAt(r)) !== -1) { - var i = e.charAt(r); - var n = r; - r++; - while (r < e.length && e.charAt(r) !== i) { - if (e.charAt(r) === "\\") { - r++; - } - r++; - } - t.push(e.substr(n, r - n + 1)); - } else { - var a = e.charAt(r); - t.push(a); - } - r++; - } - return t; - } - function Qe(e, t, r) { - return ( - $e.exec(e.charAt(0)) && - e !== "true" && - e !== "false" && - e !== "this" && - e !== r && - t !== "." - ); - } - function et(e, t, r) { - if (t[0] === "[") { - t.shift(); - var n = 1; - var i = " return (function(" + r + "){ return ("; - var a = null; - while (t.length > 0) { - var o = t[0]; - if (o === "]") { - n--; - if (n === 0) { - if (a === null) { - i = i + "true"; - } - t.shift(); - i += ")})"; - try { - var s = Tr( - e, - function () { - return Function(i)(); - }, - function () { - return true; - } - ); - s.source = i; - return s; - } catch (e) { - fe(re().body, "htmx:syntax:error", { - error: e, - source: i, - }); - return null; - } - } - } else if (o === "[") { - n++; - } - if (Qe(o, a, r)) { - i += - "((" + - r + - "." + - o + - ") ? (" + - r + - "." + - o + - ") : (window." + - o + - "))"; - } else { - i = i + o; - } - a = t.shift(); - } - } - } - function y(e, t) { - var r = ""; - while (e.length > 0 && !t.test(e[0])) { - r += e.shift(); - } - return r; - } - function tt(e) { - var t; - if (e.length > 0 && Ze.test(e[0])) { - e.shift(); - t = y(e, Ke).trim(); - e.shift(); - } else { - t = y(e, x); - } - return t; - } - var rt = "input, textarea, select"; - function nt(e, t, r) { - var n = []; - var i = Ye(t); - do { - y(i, Je); - var a = i.length; - var o = y(i, /[,\[\s]/); - if (o !== "") { - if (o === "every") { - var s = { trigger: "every" }; - y(i, Je); - s.pollInterval = d(y(i, /[,\[\s]/)); - y(i, Je); - var l = et(e, i, "event"); - if (l) { - s.eventFilter = l; - } - n.push(s); - } else if (o.indexOf("sse:") === 0) { - n.push({ trigger: "sse", sseEvent: o.substr(4) }); - } else { - var u = { trigger: o }; - var l = et(e, i, "event"); - if (l) { - u.eventFilter = l; - } - while (i.length > 0 && i[0] !== ",") { - y(i, Je); - var f = i.shift(); - if (f === "changed") { - u.changed = true; - } else if (f === "once") { - u.once = true; - } else if (f === "consume") { - u.consume = true; - } else if (f === "delay" && i[0] === ":") { - i.shift(); - u.delay = d(y(i, x)); - } else if (f === "from" && i[0] === ":") { - i.shift(); - if (Ze.test(i[0])) { - var c = tt(i); - } else { - var c = y(i, x); - if ( - c === "closest" || - c === "find" || - c === "next" || - c === "previous" - ) { - i.shift(); - var h = tt(i); - if (h.length > 0) { - c += " " + h; - } - } - } - u.from = c; - } else if (f === "target" && i[0] === ":") { - i.shift(); - u.target = tt(i); - } else if (f === "throttle" && i[0] === ":") { - i.shift(); - u.throttle = d(y(i, x)); - } else if (f === "queue" && i[0] === ":") { - i.shift(); - u.queue = y(i, x); - } else if (f === "root" && i[0] === ":") { - i.shift(); - u[f] = tt(i); - } else if (f === "threshold" && i[0] === ":") { - i.shift(); - u[f] = y(i, x); - } else { - fe(e, "htmx:syntax:error", { - token: i.shift(), - }); - } - } - n.push(u); - } - } - if (i.length === a) { - fe(e, "htmx:syntax:error", { token: i.shift() }); - } - y(i, Je); - } while (i[0] === "," && i.shift()); - if (r) { - r[t] = n; - } - return n; - } - function it(e) { - var t = te(e, "hx-trigger"); - var r = []; - if (t) { - var n = Q.config.triggerSpecsCache; - r = (n && n[t]) || nt(e, t, n); - } - if (r.length > 0) { - return r; - } else if (h(e, "form")) { - return [{ trigger: "submit" }]; - } else if (h(e, 'input[type="button"], input[type="submit"]')) { - return [{ trigger: "click" }]; - } else if (h(e, rt)) { - return [{ trigger: "change" }]; - } else { - return [{ trigger: "click" }]; - } - } - function at(e) { - ae(e).cancelled = true; - } - function ot(e, t, r) { - var n = ae(e); - n.timeout = setTimeout(function () { - if (se(e) && n.cancelled !== true) { - if ( - !ct( - r, - e, - Wt("hx:poll:trigger", { triggerSpec: r, target: e }) - ) - ) { - t(e); - } - ot(e, t, r); - } - }, r.pollInterval); - } - function st(e) { - return ( - location.hostname === e.hostname && - ee(e, "href") && - ee(e, "href").indexOf("#") !== 0 - ); - } - function lt(t, r, e) { - if ( - (t.tagName === "A" && - st(t) && - (t.target === "" || t.target === "_self")) || - t.tagName === "FORM" - ) { - r.boosted = true; - var n, i; - if (t.tagName === "A") { - n = "get"; - i = ee(t, "href"); - } else { - var a = ee(t, "method"); - n = a ? a.toLowerCase() : "get"; - if (n === "get") { - } - i = ee(t, "action"); - } - e.forEach(function (e) { - ht( - t, - function (e, t) { - if (v(e, Q.config.disableSelector)) { - p(e); - return; - } - he(n, i, e, t); - }, - r, - e, - true - ); - }); - } - } - function ut(e, t) { - if (e.type === "submit" || e.type === "click") { - if (t.tagName === "FORM") { - return true; - } - if ( - h(t, 'input[type="submit"], button') && - v(t, "form") !== null - ) { - return true; - } - if ( - t.tagName === "A" && - t.href && - (t.getAttribute("href") === "#" || - t.getAttribute("href").indexOf("#") !== 0) - ) { - return true; - } - } - return false; - } - function ft(e, t) { - return ( - ae(e).boosted && - e.tagName === "A" && - t.type === "click" && - (t.ctrlKey || t.metaKey) - ); - } - function ct(e, t, r) { - var n = e.eventFilter; - if (n) { - try { - return n.call(t, r) !== true; - } catch (e) { - fe(re().body, "htmx:eventFilter:error", { - error: e, - source: n.source, - }); - return true; - } - } - return false; - } - function ht(a, o, e, s, l) { - var u = ae(a); - var t; - if (s.from) { - t = Z(a, s.from); - } else { - t = [a]; - } - if (s.changed) { - t.forEach(function (e) { - var t = ae(e); - t.lastValue = e.value; - }); - } - oe(t, function (n) { - var i = function (e) { - if (!se(a)) { - n.removeEventListener(s.trigger, i); - return; - } - if (ft(a, e)) { - return; - } - if (l || ut(e, a)) { - e.preventDefault(); - } - if (ct(s, a, e)) { - return; - } - var t = ae(e); - t.triggerSpec = s; - if (t.handledFor == null) { - t.handledFor = []; - } - if (t.handledFor.indexOf(a) < 0) { - t.handledFor.push(a); - if (s.consume) { - e.stopPropagation(); - } - if (s.target && e.target) { - if (!h(e.target, s.target)) { - return; - } - } - if (s.once) { - if (u.triggeredOnce) { - return; - } else { - u.triggeredOnce = true; - } - } - if (s.changed) { - var r = ae(n); - if (r.lastValue === n.value) { - return; - } - r.lastValue = n.value; - } - if (u.delayed) { - clearTimeout(u.delayed); - } - if (u.throttle) { - return; - } - if (s.throttle > 0) { - if (!u.throttle) { - o(a, e); - u.throttle = setTimeout(function () { - u.throttle = null; - }, s.throttle); - } - } else if (s.delay > 0) { - u.delayed = setTimeout(function () { - o(a, e); - }, s.delay); - } else { - ce(a, "htmx:trigger"); - o(a, e); - } - } - }; - if (e.listenerInfos == null) { - e.listenerInfos = []; - } - e.listenerInfos.push({ - trigger: s.trigger, - listener: i, - on: n, - }); - n.addEventListener(s.trigger, i); - }); - } - var vt = false; - var dt = null; - function gt() { - if (!dt) { - dt = function () { - vt = true; - }; - window.addEventListener("scroll", dt); - setInterval(function () { - if (vt) { - vt = false; - oe( - re().querySelectorAll( - "[hx-trigger='revealed'],[data-hx-trigger='revealed']" - ), - function (e) { - mt(e); - } - ); - } - }, 200); - } - } - function mt(t) { - if (!o(t, "data-hx-revealed") && X(t)) { - t.setAttribute("data-hx-revealed", "true"); - var e = ae(t); - if (e.initHash) { - ce(t, "revealed"); - } else { - t.addEventListener( - "htmx:afterProcessNode", - function (e) { - ce(t, "revealed"); - }, - { once: true } - ); - } - } - } - function pt(e, t, r) { - var n = D(r); - for (var i = 0; i < n.length; i++) { - var a = n[i].split(/:(.+)/); - if (a[0] === "connect") { - xt(e, a[1], 0); - } - if (a[0] === "send") { - bt(e); - } - } - } - function xt(s, r, n) { - if (!se(s)) { - return; - } - if (r.indexOf("/") == 0) { - var e = - location.hostname + - (location.port ? ":" + location.port : ""); - if (location.protocol == "https:") { - r = "wss://" + e + r; - } else if (location.protocol == "http:") { - r = "ws://" + e + r; - } - } - var t = Q.createWebSocket(r); - t.onerror = function (e) { - fe(s, "htmx:wsError", { error: e, socket: t }); - yt(s); - }; - t.onclose = function (e) { - if ([1006, 1012, 1013].indexOf(e.code) >= 0) { - var t = wt(n); - setTimeout(function () { - xt(s, r, n + 1); - }, t); - } - }; - t.onopen = function (e) { - n = 0; - }; - ae(s).webSocket = t; - t.addEventListener("message", function (e) { - if (yt(s)) { - return; - } - var t = e.data; - R(s, function (e) { - t = e.transformResponse(t, null, s); - }); - var r = T(s); - var n = l(t); - var i = M(n.children); - for (var a = 0; a < i.length; a++) { - var o = i[a]; - Ee(te(o, "hx-swap-oob") || "true", o, r); - } - nr(r.tasks); - }); - } - function yt(e) { - if (!se(e)) { - ae(e).webSocket.close(); - return true; - } - } - function bt(u) { - var f = c(u, function (e) { - return ae(e).webSocket != null; - }); - if (f) { - u.addEventListener(it(u)[0].trigger, function (e) { - var t = ae(f).webSocket; - var r = xr(u, f); - var n = dr(u, "post"); - var i = n.errors; - var a = n.values; - var o = Hr(u); - var s = le(a, o); - var l = yr(s, u); - l["HEADERS"] = r; - if (i && i.length > 0) { - ce(u, "htmx:validation:halted", i); - return; - } - t.send(JSON.stringify(l)); - if (ut(e, u)) { - e.preventDefault(); - } - }); - } else { - fe(u, "htmx:noWebSocketSourceError"); - } - } - function wt(e) { - var t = Q.config.wsReconnectDelay; - if (typeof t === "function") { - return t(e); - } - if (t === "full-jitter") { - var r = Math.min(e, 6); - var n = 1e3 * Math.pow(2, r); - return n * Math.random(); - } - b( - 'htmx.config.wsReconnectDelay must either be a function or the string "full-jitter"' - ); - } - function St(e, t, r) { - var n = D(r); - for (var i = 0; i < n.length; i++) { - var a = n[i].split(/:(.+)/); - if (a[0] === "connect") { - Et(e, a[1]); - } - if (a[0] === "swap") { - Ct(e, a[1]); - } - } - } - function Et(t, e) { - var r = Q.createEventSource(e); - r.onerror = function (e) { - fe(t, "htmx:sseError", { error: e, source: r }); - Tt(t); - }; - ae(t).sseEventSource = r; - } - function Ct(a, o) { - var s = c(a, Ot); - if (s) { - var l = ae(s).sseEventSource; - var u = function (e) { - if (Tt(s)) { - return; - } - if (!se(a)) { - l.removeEventListener(o, u); - return; - } - var t = e.data; - R(a, function (e) { - t = e.transformResponse(t, null, a); - }); - var r = wr(a); - var n = ye(a); - var i = T(a); - je(r.swapStyle, n, a, t, i); - nr(i.tasks); - ce(a, "htmx:sseMessage", e); - }; - ae(a).sseListener = u; - l.addEventListener(o, u); - } else { - fe(a, "htmx:noSSESourceError"); - } - } - function Rt(e, t, r) { - var n = c(e, Ot); - if (n) { - var i = ae(n).sseEventSource; - var a = function () { - if (!Tt(n)) { - if (se(e)) { - t(e); - } else { - i.removeEventListener(r, a); - } - } - }; - ae(e).sseListener = a; - i.addEventListener(r, a); - } else { - fe(e, "htmx:noSSESourceError"); - } - } - function Tt(e) { - if (!se(e)) { - ae(e).sseEventSource.close(); - return true; - } - } - function Ot(e) { - return ae(e).sseEventSource != null; - } - function qt(e, t, r, n) { - var i = function () { - if (!r.loaded) { - r.loaded = true; - t(e); - } - }; - if (n > 0) { - setTimeout(i, n); - } else { - i(); - } - } - function Ht(t, i, e) { - var a = false; - oe(w, function (r) { - if (o(t, "hx-" + r)) { - var n = te(t, "hx-" + r); - a = true; - i.path = n; - i.verb = r; - e.forEach(function (e) { - Lt(t, e, i, function (e, t) { - if (v(e, Q.config.disableSelector)) { - p(e); - return; - } - he(r, n, e, t); - }); - }); - } - }); - return a; - } - function Lt(n, e, t, r) { - if (e.sseEvent) { - Rt(n, r, e.sseEvent); - } else if (e.trigger === "revealed") { - gt(); - ht(n, r, t, e); - mt(n); - } else if (e.trigger === "intersect") { - var i = {}; - if (e.root) { - i.root = ue(n, e.root); - } - if (e.threshold) { - i.threshold = parseFloat(e.threshold); - } - var a = new IntersectionObserver(function (e) { - for (var t = 0; t < e.length; t++) { - var r = e[t]; - if (r.isIntersecting) { - ce(n, "intersect"); - break; - } - } - }, i); - a.observe(n); - ht(n, r, t, e); - } else if (e.trigger === "load") { - if (!ct(e, n, Wt("load", { elt: n }))) { - qt(n, r, t, e.delay); - } - } else if (e.pollInterval > 0) { - t.polling = true; - ot(n, r, e); - } else { - ht(n, r, t, e); - } - } - function At(e) { - if ( - Q.config.allowScriptTags && - (e.type === "text/javascript" || - e.type === "module" || - e.type === "") - ) { - var t = re().createElement("script"); - oe(e.attributes, function (e) { - t.setAttribute(e.name, e.value); - }); - t.textContent = e.textContent; - t.async = false; - if (Q.config.inlineScriptNonce) { - t.nonce = Q.config.inlineScriptNonce; - } - var r = e.parentElement; - try { - r.insertBefore(t, e); - } catch (e) { - b(e); - } finally { - if (e.parentElement) { - e.parentElement.removeChild(e); - } - } - } - } - function Nt(e) { - if (h(e, "script")) { - At(e); - } - oe(f(e, "script"), function (e) { - At(e); - }); - } - function It(e) { - var t = e.attributes; - for (var r = 0; r < t.length; r++) { - var n = t[r].name; - if ( - s(n, "hx-on:") || - s(n, "data-hx-on:") || - s(n, "hx-on-") || - s(n, "data-hx-on-") - ) { - return true; - } - } - return false; - } - function kt(e) { - var t = null; - var r = []; - if (It(e)) { - r.push(e); - } - if (document.evaluate) { - var n = document.evaluate( - './/*[@*[ starts-with(name(), "hx-on:") or starts-with(name(), "data-hx-on:") or' + - ' starts-with(name(), "hx-on-") or starts-with(name(), "data-hx-on-") ]]', - e - ); - while ((t = n.iterateNext())) r.push(t); - } else { - var i = e.getElementsByTagName("*"); - for (var a = 0; a < i.length; a++) { - if (It(i[a])) { - r.push(i[a]); - } - } - } - return r; - } - function Pt(e) { - if (e.querySelectorAll) { - var t = - ", [hx-boost] a, [data-hx-boost] a, a[hx-boost], a[data-hx-boost]"; - var r = e.querySelectorAll( - i + - t + - ", form, [type='submit'], [hx-sse], [data-hx-sse], [hx-ws]," + - " [data-hx-ws], [hx-ext], [data-hx-ext], [hx-trigger], [data-hx-trigger], [hx-on], [data-hx-on]" - ); - return r; - } else { - return []; - } - } - function Mt(e) { - var t = v(e.target, "button, input[type='submit']"); - var r = Dt(e); - if (r) { - r.lastButtonClicked = t; - } - } - function Xt(e) { - var t = Dt(e); - if (t) { - t.lastButtonClicked = null; - } - } - function Dt(e) { - var t = v(e.target, "button, input[type='submit']"); - if (!t) { - return; - } - var r = g("#" + ee(t, "form")) || v(t, "form"); - if (!r) { - return; - } - return ae(r); - } - function Ut(e) { - e.addEventListener("click", Mt); - e.addEventListener("focusin", Mt); - e.addEventListener("focusout", Xt); - } - function Bt(e) { - var t = Ye(e); - var r = 0; - for (var n = 0; n < t.length; n++) { - const i = t[n]; - if (i === "{") { - r++; - } else if (i === "}") { - r--; - } - } - return r; - } - function Ft(t, e, r) { - var n = ae(t); - if (!Array.isArray(n.onHandlers)) { - n.onHandlers = []; - } - var i; - var a = function (e) { - return Tr(t, function () { - if (!i) { - i = new Function("event", r); - } - i.call(t, e); - }); - }; - t.addEventListener(e, a); - n.onHandlers.push({ event: e, listener: a }); - } - function Vt(e) { - var t = te(e, "hx-on"); - if (t) { - var r = {}; - var n = t.split("\n"); - var i = null; - var a = 0; - while (n.length > 0) { - var o = n.shift(); - var s = o.match(/^\s*([a-zA-Z:\-\.]+:)(.*)/); - if (a === 0 && s) { - o.split(":"); - i = s[1].slice(0, -1); - r[i] = s[2]; - } else { - r[i] += o; - } - a += Bt(o); - } - for (var l in r) { - Ft(e, l, r[l]); - } - } - } - function jt(e) { - Ae(e); - for (var t = 0; t < e.attributes.length; t++) { - var r = e.attributes[t].name; - var n = e.attributes[t].value; - if (s(r, "hx-on") || s(r, "data-hx-on")) { - var i = r.indexOf("-on") + 3; - var a = r.slice(i, i + 1); - if (a === "-" || a === ":") { - var o = r.slice(i + 1); - if (s(o, ":")) { - o = "htmx" + o; - } else if (s(o, "-")) { - o = "htmx:" + o.slice(1); - } else if (s(o, "htmx-")) { - o = "htmx:" + o.slice(5); - } - Ft(e, o, n); - } - } - } - } - function _t(t) { - if (v(t, Q.config.disableSelector)) { - p(t); - return; - } - var r = ae(t); - if (r.initHash !== Le(t)) { - Ne(t); - r.initHash = Le(t); - Vt(t); - ce(t, "htmx:beforeProcessNode"); - if (t.value) { - r.lastValue = t.value; - } - var e = it(t); - var n = Ht(t, r, e); - if (!n) { - if (ne(t, "hx-boost") === "true") { - lt(t, r, e); - } else if (o(t, "hx-trigger")) { - e.forEach(function (e) { - Lt(t, e, r, function () {}); - }); - } - } - if ( - t.tagName === "FORM" || - (ee(t, "type") === "submit" && o(t, "form")) - ) { - Ut(t); - } - var i = te(t, "hx-sse"); - if (i) { - St(t, r, i); - } - var a = te(t, "hx-ws"); - if (a) { - pt(t, r, a); - } - ce(t, "htmx:afterProcessNode"); - } - } - function zt(e) { - e = g(e); - if (v(e, Q.config.disableSelector)) { - p(e); - return; - } - _t(e); - oe(Pt(e), function (e) { - _t(e); - }); - oe(kt(e), jt); - } - function $t(e) { - return e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(); - } - function Wt(e, t) { - var r; - if ( - window.CustomEvent && - typeof window.CustomEvent === "function" - ) { - r = new CustomEvent(e, { - bubbles: true, - cancelable: true, - detail: t, - }); - } else { - r = re().createEvent("CustomEvent"); - r.initCustomEvent(e, true, true, t); - } - return r; - } - function fe(e, t, r) { - ce(e, t, le({ error: t }, r)); - } - function Gt(e) { - return e === "htmx:afterProcessNode"; - } - function R(e, t) { - oe(Fr(e), function (e) { - try { - t(e); - } catch (e) { - b(e); - } - }); - } - function b(e) { - if (console.error) { - console.error(e); - } else if (console.log) { - console.log("ERROR: ", e); - } - } - function ce(e, t, r) { - e = g(e); - if (r == null) { - r = {}; - } - r["elt"] = e; - var n = Wt(t, r); - if (Q.logger && !Gt(t)) { - Q.logger(e, t, r); - } - if (r.error) { - b(r.error); - ce(e, "htmx:error", { errorInfo: r }); - } - var i = e.dispatchEvent(n); - var a = $t(t); - if (i && a !== t) { - var o = Wt(a, n.detail); - i = i && e.dispatchEvent(o); - } - R(e, function (e) { - i = i && e.onEvent(t, n) !== false && !n.defaultPrevented; - }); - return i; - } - var Jt = location.pathname + location.search; - function Zt() { - var e = re().querySelector( - "[hx-history-elt],[data-hx-history-elt]" - ); - return e || re().body; - } - function Kt(e, t, r, n) { - if (!U()) { - return; - } - if (Q.config.historyCacheSize <= 0) { - localStorage.removeItem("htmx-history-cache"); - return; - } - e = B(e); - var i = E(localStorage.getItem("htmx-history-cache")) || []; - for (var a = 0; a < i.length; a++) { - if (i[a].url === e) { - i.splice(a, 1); - break; - } - } - var o = { url: e, content: t, title: r, scroll: n }; - ce(re().body, "htmx:historyItemCreated", { item: o, cache: i }); - i.push(o); - while (i.length > Q.config.historyCacheSize) { - i.shift(); - } - while (i.length > 0) { - try { - localStorage.setItem( - "htmx-history-cache", - JSON.stringify(i) - ); - break; - } catch (e) { - fe(re().body, "htmx:historyCacheError", { - cause: e, - cache: i, - }); - i.shift(); - } - } - } - function Yt(e) { - if (!U()) { - return null; - } - e = B(e); - var t = E(localStorage.getItem("htmx-history-cache")) || []; - for (var r = 0; r < t.length; r++) { - if (t[r].url === e) { - return t[r]; - } - } - return null; - } - function Qt(e) { - var t = Q.config.requestClass; - var r = e.cloneNode(true); - oe(f(r, "." + t), function (e) { - n(e, t); - }); - return r.innerHTML; - } - function er() { - var e = Zt(); - var t = Jt || location.pathname + location.search; - var r; - try { - r = re().querySelector( - '[hx-history="false" i],[data-hx-history="false" i]' - ); - } catch (e) { - r = re().querySelector( - '[hx-history="false"],[data-hx-history="false"]' - ); - } - if (!r) { - ce(re().body, "htmx:beforeHistorySave", { - path: t, - historyElt: e, - }); - Kt(t, Qt(e), re().title, window.scrollY); - } - if (Q.config.historyEnabled) - history.replaceState( - { htmx: true }, - re().title, - window.location.href - ); - } - function tr(e) { - if (Q.config.getCacheBusterParam) { - e = e.replace(/org\.htmx\.cache-buster=[^&]*&?/, ""); - if (G(e, "&") || G(e, "?")) { - e = e.slice(0, -1); - } - } - if (Q.config.historyEnabled) { - history.pushState({ htmx: true }, "", e); - } - Jt = e; - } - function rr(e) { - if (Q.config.historyEnabled) - history.replaceState({ htmx: true }, "", e); - Jt = e; - } - function nr(e) { - oe(e, function (e) { - e.call(); - }); - } - function ir(a) { - var e = new XMLHttpRequest(); - var o = { path: a, xhr: e }; - ce(re().body, "htmx:historyCacheMiss", o); - e.open("GET", a, true); - e.setRequestHeader("HX-Request", "true"); - e.setRequestHeader("HX-History-Restore-Request", "true"); - e.setRequestHeader("HX-Current-URL", re().location.href); - e.onload = function () { - if (this.status >= 200 && this.status < 400) { - ce(re().body, "htmx:historyCacheMissLoad", o); - var e = l(this.response); - e = - e.querySelector( - "[hx-history-elt],[data-hx-history-elt]" - ) || e; - var t = Zt(); - var r = T(t); - var n = Ve(this.response); - if (n) { - var i = C("title"); - if (i) { - i.innerHTML = n; - } else { - window.document.title = n; - } - } - Ue(t, e, r); - nr(r.tasks); - Jt = a; - ce(re().body, "htmx:historyRestore", { - path: a, - cacheMiss: true, - serverResponse: this.response, - }); - } else { - fe(re().body, "htmx:historyCacheMissLoadError", o); - } - }; - e.send(); - } - function ar(e) { - er(); - e = e || location.pathname + location.search; - var t = Yt(e); - if (t) { - var r = l(t.content); - var n = Zt(); - var i = T(n); - Ue(n, r, i); - nr(i.tasks); - document.title = t.title; - setTimeout(function () { - window.scrollTo(0, t.scroll); - }, 0); - Jt = e; - ce(re().body, "htmx:historyRestore", { path: e, item: t }); - } else { - if (Q.config.refreshOnHistoryMiss) { - window.location.reload(true); - } else { - ir(e); - } - } - } - function or(e) { - var t = pe(e, "hx-indicator"); - if (t == null) { - t = [e]; - } - oe(t, function (e) { - var t = ae(e); - t.requestCount = (t.requestCount || 0) + 1; - e.classList["add"].call(e.classList, Q.config.requestClass); - }); - return t; - } - function sr(e) { - var t = pe(e, "hx-disabled-elt"); - if (t == null) { - t = []; - } - oe(t, function (e) { - var t = ae(e); - t.requestCount = (t.requestCount || 0) + 1; - e.setAttribute("disabled", ""); - }); - return t; - } - function lr(e, t) { - oe(e, function (e) { - var t = ae(e); - t.requestCount = (t.requestCount || 0) - 1; - if (t.requestCount === 0) { - e.classList["remove"].call( - e.classList, - Q.config.requestClass - ); - } - }); - oe(t, function (e) { - var t = ae(e); - t.requestCount = (t.requestCount || 0) - 1; - if (t.requestCount === 0) { - e.removeAttribute("disabled"); - } - }); - } - function ur(e, t) { - for (var r = 0; r < e.length; r++) { - var n = e[r]; - if (n.isSameNode(t)) { - return true; - } - } - return false; - } - function fr(e) { - if ( - e.name === "" || - e.name == null || - e.disabled || - v(e, "fieldset[disabled]") - ) { - return false; - } - if ( - e.type === "button" || - e.type === "submit" || - e.tagName === "image" || - e.tagName === "reset" || - e.tagName === "file" - ) { - return false; - } - if (e.type === "checkbox" || e.type === "radio") { - return e.checked; - } - return true; - } - function cr(e, t, r) { - if (e != null && t != null) { - var n = r[e]; - if (n === undefined) { - r[e] = t; - } else if (Array.isArray(n)) { - if (Array.isArray(t)) { - r[e] = n.concat(t); - } else { - n.push(t); - } - } else { - if (Array.isArray(t)) { - r[e] = [n].concat(t); - } else { - r[e] = [n, t]; - } - } - } - } - function hr(t, r, n, e, i) { - if (e == null || ur(t, e)) { - return; - } else { - t.push(e); - } - if (fr(e)) { - var a = ee(e, "name"); - var o = e.value; - if (e.multiple && e.tagName === "SELECT") { - o = M(e.querySelectorAll("option:checked")).map( - function (e) { - return e.value; - } - ); - } - if (e.files) { - o = M(e.files); - } - cr(a, o, r); - if (i) { - vr(e, n); - } - } - if (h(e, "form")) { - var s = e.elements; - oe(s, function (e) { - hr(t, r, n, e, i); - }); - } - } - function vr(e, t) { - if (e.willValidate) { - ce(e, "htmx:validation:validate"); - if (!e.checkValidity()) { - t.push({ - elt: e, - message: e.validationMessage, - validity: e.validity, - }); - ce(e, "htmx:validation:failed", { - message: e.validationMessage, - validity: e.validity, - }); - } - } - } - function dr(e, t) { - var r = []; - var n = {}; - var i = {}; - var a = []; - var o = ae(e); - if (o.lastButtonClicked && !se(o.lastButtonClicked)) { - o.lastButtonClicked = null; - } - var s = - (h(e, "form") && e.noValidate !== true) || - te(e, "hx-validate") === "true"; - if (o.lastButtonClicked) { - s = s && o.lastButtonClicked.formNoValidate !== true; - } - if (t !== "get") { - hr(r, i, a, v(e, "form"), s); - } - hr(r, n, a, e, s); - if ( - o.lastButtonClicked || - e.tagName === "BUTTON" || - (e.tagName === "INPUT" && ee(e, "type") === "submit") - ) { - var l = o.lastButtonClicked || e; - var u = ee(l, "name"); - cr(u, l.value, i); - } - var f = pe(e, "hx-include"); - oe(f, function (e) { - hr(r, n, a, e, s); - if (!h(e, "form")) { - oe(e.querySelectorAll(rt), function (e) { - hr(r, n, a, e, s); - }); - } - }); - n = le(n, i); - return { errors: a, values: n }; - } - function gr(e, t, r) { - if (e !== "") { - e += "&"; - } - if (String(r) === "[object Object]") { - r = JSON.stringify(r); - } - var n = encodeURIComponent(r); - e += encodeURIComponent(t) + "=" + n; - return e; - } - function mr(e) { - var t = ""; - for (var r in e) { - if (e.hasOwnProperty(r)) { - var n = e[r]; - if (Array.isArray(n)) { - oe(n, function (e) { - t = gr(t, r, e); - }); - } else { - t = gr(t, r, n); - } - } - } - return t; - } - function pr(e) { - var t = new FormData(); - for (var r in e) { - if (e.hasOwnProperty(r)) { - var n = e[r]; - if (Array.isArray(n)) { - oe(n, function (e) { - t.append(r, e); - }); - } else { - t.append(r, n); - } - } - } - return t; - } - function xr(e, t, r) { - var n = { - "HX-Request": "true", - "HX-Trigger": ee(e, "id"), - "HX-Trigger-Name": ee(e, "name"), - "HX-Target": te(t, "id"), - "HX-Current-URL": re().location.href, - }; - Rr(e, "hx-headers", false, n); - if (r !== undefined) { - n["HX-Prompt"] = r; - } - if (ae(e).boosted) { - n["HX-Boosted"] = "true"; - } - return n; - } - function yr(t, e) { - var r = ne(e, "hx-params"); - if (r) { - if (r === "none") { - return {}; - } else if (r === "*") { - return t; - } else if (r.indexOf("not ") === 0) { - oe(r.substr(4).split(","), function (e) { - e = e.trim(); - delete t[e]; - }); - return t; - } else { - var n = {}; - oe(r.split(","), function (e) { - e = e.trim(); - n[e] = t[e]; - }); - return n; - } - } else { - return t; - } - } - function br(e) { - return ee(e, "href") && ee(e, "href").indexOf("#") >= 0; - } - function wr(e, t) { - var r = t ? t : ne(e, "hx-swap"); - var n = { - swapStyle: ae(e).boosted - ? "innerHTML" - : Q.config.defaultSwapStyle, - swapDelay: Q.config.defaultSwapDelay, - settleDelay: Q.config.defaultSettleDelay, - }; - if (Q.config.scrollIntoViewOnBoost && ae(e).boosted && !br(e)) { - n["show"] = "top"; - } - if (r) { - var i = D(r); - if (i.length > 0) { - for (var a = 0; a < i.length; a++) { - var o = i[a]; - if (o.indexOf("swap:") === 0) { - n["swapDelay"] = d(o.substr(5)); - } else if (o.indexOf("settle:") === 0) { - n["settleDelay"] = d(o.substr(7)); - } else if (o.indexOf("transition:") === 0) { - n["transition"] = o.substr(11) === "true"; - } else if (o.indexOf("ignoreTitle:") === 0) { - n["ignoreTitle"] = o.substr(12) === "true"; - } else if (o.indexOf("scroll:") === 0) { - var s = o.substr(7); - var l = s.split(":"); - var u = l.pop(); - var f = l.length > 0 ? l.join(":") : null; - n["scroll"] = u; - n["scrollTarget"] = f; - } else if (o.indexOf("show:") === 0) { - var c = o.substr(5); - var l = c.split(":"); - var h = l.pop(); - var f = l.length > 0 ? l.join(":") : null; - n["show"] = h; - n["showTarget"] = f; - } else if (o.indexOf("focus-scroll:") === 0) { - var v = o.substr("focus-scroll:".length); - n["focusScroll"] = v == "true"; - } else if (a == 0) { - n["swapStyle"] = o; - } else { - b("Unknown modifier in hx-swap: " + o); - } - } - } - } - return n; - } - function Sr(e) { - return ( - ne(e, "hx-encoding") === "multipart/form-data" || - (h(e, "form") && ee(e, "enctype") === "multipart/form-data") - ); - } - function Er(t, r, n) { - var i = null; - R(r, function (e) { - if (i == null) { - i = e.encodeParameters(t, n, r); - } - }); - if (i != null) { - return i; - } else { - if (Sr(r)) { - return pr(n); - } else { - return mr(n); - } - } - } - function T(e) { - return { tasks: [], elts: [e] }; - } - function Cr(e, t) { - var r = e[0]; - var n = e[e.length - 1]; - if (t.scroll) { - var i = null; - if (t.scrollTarget) { - i = ue(r, t.scrollTarget); - } - if (t.scroll === "top" && (r || i)) { - i = i || r; - i.scrollTop = 0; - } - if (t.scroll === "bottom" && (n || i)) { - i = i || n; - i.scrollTop = i.scrollHeight; - } - } - if (t.show) { - var i = null; - if (t.showTarget) { - var a = t.showTarget; - if (t.showTarget === "window") { - a = "body"; - } - i = ue(r, a); - } - if (t.show === "top" && (r || i)) { - i = i || r; - i.scrollIntoView({ - block: "start", - behavior: Q.config.scrollBehavior, - }); - } - if (t.show === "bottom" && (n || i)) { - i = i || n; - i.scrollIntoView({ - block: "end", - behavior: Q.config.scrollBehavior, - }); - } - } - } - function Rr(e, t, r, n) { - if (n == null) { - n = {}; - } - if (e == null) { - return n; - } - var i = te(e, t); - if (i) { - var a = i.trim(); - var o = r; - if (a === "unset") { - return null; - } - if (a.indexOf("javascript:") === 0) { - a = a.substr(11); - o = true; - } else if (a.indexOf("js:") === 0) { - a = a.substr(3); - o = true; - } - if (a.indexOf("{") !== 0) { - a = "{" + a + "}"; - } - var s; - if (o) { - s = Tr( - e, - function () { - return Function("return (" + a + ")")(); - }, - {} - ); - } else { - s = E(a); - } - for (var l in s) { - if (s.hasOwnProperty(l)) { - if (n[l] == null) { - n[l] = s[l]; - } - } - } - } - return Rr(u(e), t, r, n); - } - function Tr(e, t, r) { - if (Q.config.allowEval) { - return t(); - } else { - fe(e, "htmx:evalDisallowedError"); - return r; - } - } - function Or(e, t) { - return Rr(e, "hx-vars", true, t); - } - function qr(e, t) { - return Rr(e, "hx-vals", false, t); - } - function Hr(e) { - return le(Or(e), qr(e)); - } - function Lr(t, r, n) { - if (n !== null) { - try { - t.setRequestHeader(r, n); - } catch (e) { - t.setRequestHeader(r, encodeURIComponent(n)); - t.setRequestHeader(r + "-URI-AutoEncoded", "true"); - } - } - } - function Ar(t) { - if (t.responseURL && typeof URL !== "undefined") { - try { - var e = new URL(t.responseURL); - return e.pathname + e.search; - } catch (e) { - fe(re().body, "htmx:badResponseUrl", { - url: t.responseURL, - }); - } - } - } - function O(e, t) { - return t.test(e.getAllResponseHeaders()); - } - function Nr(e, t, r) { - e = e.toLowerCase(); - if (r) { - if (r instanceof Element || I(r, "String")) { - return he(e, t, null, null, { - targetOverride: g(r), - returnPromise: true, - }); - } else { - return he(e, t, g(r.source), r.event, { - handler: r.handler, - headers: r.headers, - values: r.values, - targetOverride: g(r.target), - swapOverride: r.swap, - select: r.select, - returnPromise: true, - }); - } - } else { - return he(e, t, null, null, { returnPromise: true }); - } - } - function Ir(e) { - var t = []; - while (e) { - t.push(e); - e = e.parentElement; - } - return t; - } - function kr(e, t, r) { - var n; - var i; - if (typeof URL === "function") { - i = new URL(t, document.location.href); - var a = document.location.origin; - n = a === i.origin; - } else { - i = t; - n = s(t, document.location.origin); - } - if (Q.config.selfRequestsOnly) { - if (!n) { - return false; - } - } - return ce(e, "htmx:validateUrl", le({ url: i, sameHost: n }, r)); - } - function he(t, r, n, i, a, e) { - var o = null; - var s = null; - a = a != null ? a : {}; - if (a.returnPromise && typeof Promise !== "undefined") { - var l = new Promise(function (e, t) { - o = e; - s = t; - }); - } - if (n == null) { - n = re().body; - } - var M = a.handler || Mr; - var X = a.select || null; - if (!se(n)) { - ie(o); - return l; - } - var u = a.targetOverride || ye(n); - if (u == null || u == me) { - fe(n, "htmx:targetError", { target: te(n, "hx-target") }); - ie(s); - return l; - } - var f = ae(n); - var c = f.lastButtonClicked; - if (c) { - var h = ee(c, "formaction"); - if (h != null) { - r = h; - } - var v = ee(c, "formmethod"); - if (v != null) { - if (v.toLowerCase() !== "dialog") { - t = v; - } - } - } - var d = ne(n, "hx-confirm"); - if (e === undefined) { - var D = function (e) { - return he(t, r, n, i, a, !!e); - }; - var U = { - target: u, - elt: n, - path: r, - verb: t, - triggeringEvent: i, - etc: a, - issueRequest: D, - question: d, - }; - if (ce(n, "htmx:confirm", U) === false) { - ie(o); - return l; - } - } - var g = n; - var m = ne(n, "hx-sync"); - var p = null; - var x = false; - if (m) { - var B = m.split(":"); - var F = B[0].trim(); - if (F === "this") { - g = xe(n, "hx-sync"); - } else { - g = ue(n, F); - } - m = (B[1] || "drop").trim(); - f = ae(g); - if (m === "drop" && f.xhr && f.abortable !== true) { - ie(o); - return l; - } else if (m === "abort") { - if (f.xhr) { - ie(o); - return l; - } else { - x = true; - } - } else if (m === "replace") { - ce(g, "htmx:abort"); - } else if (m.indexOf("queue") === 0) { - var V = m.split(" "); - p = (V[1] || "last").trim(); - } - } - if (f.xhr) { - if (f.abortable) { - ce(g, "htmx:abort"); - } else { - if (p == null) { - if (i) { - var y = ae(i); - if (y && y.triggerSpec && y.triggerSpec.queue) { - p = y.triggerSpec.queue; - } - } - if (p == null) { - p = "last"; - } - } - if (f.queuedRequests == null) { - f.queuedRequests = []; - } - if (p === "first" && f.queuedRequests.length === 0) { - f.queuedRequests.push(function () { - he(t, r, n, i, a); - }); - } else if (p === "all") { - f.queuedRequests.push(function () { - he(t, r, n, i, a); - }); - } else if (p === "last") { - f.queuedRequests = []; - f.queuedRequests.push(function () { - he(t, r, n, i, a); - }); - } - ie(o); - return l; - } - } - var b = new XMLHttpRequest(); - f.xhr = b; - f.abortable = x; - var w = function () { - f.xhr = null; - f.abortable = false; - if (f.queuedRequests != null && f.queuedRequests.length > 0) { - var e = f.queuedRequests.shift(); - e(); - } - }; - var j = ne(n, "hx-prompt"); - if (j) { - var S = prompt(j); - if ( - S === null || - !ce(n, "htmx:prompt", { prompt: S, target: u }) - ) { - ie(o); - w(); - return l; - } - } - if (d && !e) { - if (!confirm(d)) { - ie(o); - w(); - return l; - } - } - var E = xr(n, u, S); - if (t !== "get" && !Sr(n)) { - E["Content-Type"] = "application/x-www-form-urlencoded"; - } - if (a.headers) { - E = le(E, a.headers); - } - var _ = dr(n, t); - var C = _.errors; - var R = _.values; - if (a.values) { - R = le(R, a.values); - } - var z = Hr(n); - var $ = le(R, z); - var T = yr($, n); - if (Q.config.getCacheBusterParam && t === "get") { - T["org.htmx.cache-buster"] = ee(u, "id") || "true"; - } - if (r == null || r === "") { - r = re().location.href; - } - var O = Rr(n, "hx-request"); - var W = ae(n).boosted; - var q = Q.config.methodsThatUseUrlParams.indexOf(t) >= 0; - var H = { - boosted: W, - useUrlParams: q, - parameters: T, - unfilteredParameters: $, - headers: E, - target: u, - verb: t, - errors: C, - withCredentials: - a.credentials || O.credentials || Q.config.withCredentials, - timeout: a.timeout || O.timeout || Q.config.timeout, - path: r, - triggeringEvent: i, - }; - if (!ce(n, "htmx:configRequest", H)) { - ie(o); - w(); - return l; - } - r = H.path; - t = H.verb; - E = H.headers; - T = H.parameters; - C = H.errors; - q = H.useUrlParams; - if (C && C.length > 0) { - ce(n, "htmx:validation:halted", H); - ie(o); - w(); - return l; - } - var G = r.split("#"); - var J = G[0]; - var L = G[1]; - var A = r; - if (q) { - A = J; - var Z = Object.keys(T).length !== 0; - if (Z) { - if (A.indexOf("?") < 0) { - A += "?"; - } else { - A += "&"; - } - A += mr(T); - if (L) { - A += "#" + L; - } - } - } - if (!kr(n, A, H)) { - fe(n, "htmx:invalidPath", H); - ie(s); - return l; - } - b.open(t.toUpperCase(), A, true); - b.overrideMimeType("text/html"); - b.withCredentials = H.withCredentials; - b.timeout = H.timeout; - if (O.noHeaders) { - } else { - for (var N in E) { - if (E.hasOwnProperty(N)) { - var K = E[N]; - Lr(b, N, K); - } - } - } - var I = { - xhr: b, - target: u, - requestConfig: H, - etc: a, - boosted: W, - select: X, - pathInfo: { requestPath: r, finalRequestPath: A, anchor: L }, - }; - b.onload = function () { - try { - var e = Ir(n); - I.pathInfo.responsePath = Ar(b); - M(n, I); - lr(k, P); - ce(n, "htmx:afterRequest", I); - ce(n, "htmx:afterOnLoad", I); - if (!se(n)) { - var t = null; - while (e.length > 0 && t == null) { - var r = e.shift(); - if (se(r)) { - t = r; - } - } - if (t) { - ce(t, "htmx:afterRequest", I); - ce(t, "htmx:afterOnLoad", I); - } - } - ie(o); - w(); - } catch (e) { - fe(n, "htmx:onLoadError", le({ error: e }, I)); - throw e; - } - }; - b.onerror = function () { - lr(k, P); - fe(n, "htmx:afterRequest", I); - fe(n, "htmx:sendError", I); - ie(s); - w(); - }; - b.onabort = function () { - lr(k, P); - fe(n, "htmx:afterRequest", I); - fe(n, "htmx:sendAbort", I); - ie(s); - w(); - }; - b.ontimeout = function () { - lr(k, P); - fe(n, "htmx:afterRequest", I); - fe(n, "htmx:timeout", I); - ie(s); - w(); - }; - if (!ce(n, "htmx:beforeRequest", I)) { - ie(o); - w(); - return l; - } - var k = or(n); - var P = sr(n); - oe(["loadstart", "loadend", "progress", "abort"], function (t) { - oe([b, b.upload], function (e) { - e.addEventListener(t, function (e) { - ce(n, "htmx:xhr:" + t, { - lengthComputable: e.lengthComputable, - loaded: e.loaded, - total: e.total, - }); - }); - }); - }); - ce(n, "htmx:beforeSend", I); - var Y = q ? null : Er(b, n, T); - b.send(Y); - return l; - } - function Pr(e, t) { - var r = t.xhr; - var n = null; - var i = null; - if (O(r, /HX-Push:/i)) { - n = r.getResponseHeader("HX-Push"); - i = "push"; - } else if (O(r, /HX-Push-Url:/i)) { - n = r.getResponseHeader("HX-Push-Url"); - i = "push"; - } else if (O(r, /HX-Replace-Url:/i)) { - n = r.getResponseHeader("HX-Replace-Url"); - i = "replace"; - } - if (n) { - if (n === "false") { - return {}; - } else { - return { type: i, path: n }; - } - } - var a = t.pathInfo.finalRequestPath; - var o = t.pathInfo.responsePath; - var s = ne(e, "hx-push-url"); - var l = ne(e, "hx-replace-url"); - var u = ae(e).boosted; - var f = null; - var c = null; - if (s) { - f = "push"; - c = s; - } else if (l) { - f = "replace"; - c = l; - } else if (u) { - f = "push"; - c = o || a; - } - if (c) { - if (c === "false") { - return {}; - } - if (c === "true") { - c = o || a; - } - if (t.pathInfo.anchor && c.indexOf("#") === -1) { - c = c + "#" + t.pathInfo.anchor; - } - return { type: f, path: c }; - } else { - return {}; - } - } - function Mr(l, u) { - var f = u.xhr; - var c = u.target; - var e = u.etc; - var t = u.requestConfig; - var h = u.select; - if (!ce(l, "htmx:beforeOnLoad", u)) return; - if (O(f, /HX-Trigger:/i)) { - _e(f, "HX-Trigger", l); - } - if (O(f, /HX-Location:/i)) { - er(); - var r = f.getResponseHeader("HX-Location"); - var v; - if (r.indexOf("{") === 0) { - v = E(r); - r = v["path"]; - delete v["path"]; - } - Nr("GET", r, v).then(function () { - tr(r); - }); - return; - } - var n = - O(f, /HX-Refresh:/i) && - "true" === f.getResponseHeader("HX-Refresh"); - if (O(f, /HX-Redirect:/i)) { - location.href = f.getResponseHeader("HX-Redirect"); - n && location.reload(); - return; - } - if (n) { - location.reload(); - return; - } - if (O(f, /HX-Retarget:/i)) { - if (f.getResponseHeader("HX-Retarget") === "this") { - u.target = l; - } else { - u.target = ue(l, f.getResponseHeader("HX-Retarget")); - } - } - var d = Pr(l, u); - var i = f.status >= 200 && f.status < 400 && f.status !== 204; - var g = f.response; - var a = f.status >= 400; - var m = Q.config.ignoreTitle; - var o = le( - { - shouldSwap: i, - serverResponse: g, - isError: a, - ignoreTitle: m, - }, - u - ); - if (!ce(c, "htmx:beforeSwap", o)) return; - c = o.target; - g = o.serverResponse; - a = o.isError; - m = o.ignoreTitle; - u.target = c; - u.failed = a; - u.successful = !a; - if (o.shouldSwap) { - if (f.status === 286) { - at(l); - } - R(l, function (e) { - g = e.transformResponse(g, f, l); - }); - if (d.type) { - er(); - } - var s = e.swapOverride; - if (O(f, /HX-Reswap:/i)) { - s = f.getResponseHeader("HX-Reswap"); - } - var v = wr(l, s); - if (v.hasOwnProperty("ignoreTitle")) { - m = v.ignoreTitle; - } - c.classList.add(Q.config.swappingClass); - var p = null; - var x = null; - var y = function () { - try { - var e = document.activeElement; - var t = {}; - try { - t = { - elt: e, - start: e ? e.selectionStart : null, - end: e ? e.selectionEnd : null, - }; - } catch (e) {} - var r; - if (h) { - r = h; - } - if (O(f, /HX-Reselect:/i)) { - r = f.getResponseHeader("HX-Reselect"); - } - if (d.type) { - ce( - re().body, - "htmx:beforeHistoryUpdate", - le({ history: d }, u) - ); - if (d.type === "push") { - tr(d.path); - ce(re().body, "htmx:pushedIntoHistory", { - path: d.path, - }); - } else { - rr(d.path); - ce(re().body, "htmx:replacedInHistory", { - path: d.path, - }); - } - } - var n = T(c); - je(v.swapStyle, c, l, g, n, r); - if (t.elt && !se(t.elt) && ee(t.elt, "id")) { - var i = document.getElementById(ee(t.elt, "id")); - var a = { - preventScroll: - v.focusScroll !== undefined - ? !v.focusScroll - : !Q.config.defaultFocusScroll, - }; - if (i) { - if (t.start && i.setSelectionRange) { - try { - i.setSelectionRange(t.start, t.end); - } catch (e) {} - } - i.focus(a); - } - } - c.classList.remove(Q.config.swappingClass); - oe(n.elts, function (e) { - if (e.classList) { - e.classList.add(Q.config.settlingClass); - } - ce(e, "htmx:afterSwap", u); - }); - if (O(f, /HX-Trigger-After-Swap:/i)) { - var o = l; - if (!se(l)) { - o = re().body; - } - _e(f, "HX-Trigger-After-Swap", o); - } - var s = function () { - oe(n.tasks, function (e) { - e.call(); - }); - oe(n.elts, function (e) { - if (e.classList) { - e.classList.remove(Q.config.settlingClass); - } - ce(e, "htmx:afterSettle", u); - }); - if (u.pathInfo.anchor) { - var e = re().getElementById(u.pathInfo.anchor); - if (e) { - e.scrollIntoView({ - block: "start", - behavior: "auto", - }); - } - } - if (n.title && !m) { - var t = C("title"); - if (t) { - t.innerHTML = n.title; - } else { - window.document.title = n.title; - } - } - Cr(n.elts, v); - if (O(f, /HX-Trigger-After-Settle:/i)) { - var r = l; - if (!se(l)) { - r = re().body; - } - _e(f, "HX-Trigger-After-Settle", r); - } - ie(p); - }; - if (v.settleDelay > 0) { - setTimeout(s, v.settleDelay); - } else { - s(); - } - } catch (e) { - fe(l, "htmx:swapError", u); - ie(x); - throw e; - } - }; - var b = Q.config.globalViewTransitions; - if (v.hasOwnProperty("transition")) { - b = v.transition; - } - if ( - b && - ce(l, "htmx:beforeTransition", u) && - typeof Promise !== "undefined" && - document.startViewTransition - ) { - var w = new Promise(function (e, t) { - p = e; - x = t; - }); - var S = y; - y = function () { - document.startViewTransition(function () { - S(); - return w; - }); - }; - } - if (v.swapDelay > 0) { - setTimeout(y, v.swapDelay); - } else { - y(); - } - } - if (a) { - fe( - l, - "htmx:responseError", - le( - { - error: - "Response Status Error Code " + - f.status + - " from " + - u.pathInfo.requestPath, - }, - u - ) - ); - } - } - var Xr = {}; - function Dr() { - return { - init: function (e) { - return null; - }, - onEvent: function (e, t) { - return true; - }, - transformResponse: function (e, t, r) { - return e; - }, - isInlineSwap: function (e) { - return false; - }, - handleSwap: function (e, t, r, n) { - return false; - }, - encodeParameters: function (e, t, r) { - return null; - }, - }; - } - function Ur(e, t) { - if (t.init) { - t.init(r); - } - Xr[e] = le(Dr(), t); - } - function Br(e) { - delete Xr[e]; - } - function Fr(e, r, n) { - if (e == undefined) { - return r; - } - if (r == undefined) { - r = []; - } - if (n == undefined) { - n = []; - } - var t = te(e, "hx-ext"); - if (t) { - oe(t.split(","), function (e) { - e = e.replace(/ /g, ""); - if (e.slice(0, 7) == "ignore:") { - n.push(e.slice(7)); - return; - } - if (n.indexOf(e) < 0) { - var t = Xr[e]; - if (t && r.indexOf(t) < 0) { - r.push(t); - } - } - }); - } - return Fr(u(e), r, n); - } - var Vr = false; - re().addEventListener("DOMContentLoaded", function () { - Vr = true; - }); - function jr(e) { - if (Vr || re().readyState === "complete") { - e(); - } else { - re().addEventListener("DOMContentLoaded", e); - } - } - function _r() { - if (Q.config.includeIndicatorStyles !== false) { - re().head.insertAdjacentHTML( - "beforeend", - "" - ); - } - } - function zr() { - var e = re().querySelector('meta[name="htmx-config"]'); - if (e) { - return E(e.content); - } else { - return null; - } - } - function $r() { - var e = zr(); - if (e) { - Q.config = le(Q.config, e); - } - } - jr(function () { - $r(); - _r(); - var e = re().body; - zt(e); - var t = re().querySelectorAll( - "[hx-trigger='restored'],[data-hx-trigger='restored']" - ); - e.addEventListener("htmx:abort", function (e) { - var t = e.target; - var r = ae(t); - if (r && r.xhr) { - r.xhr.abort(); - } - }); - const r = window.onpopstate ? window.onpopstate.bind(window) : null; - window.onpopstate = function (e) { - if (e.state && e.state.htmx) { - ar(); - oe(t, function (e) { - ce(e, "htmx:restored", { - document: re(), - triggerEvent: ce, - }); - }); - } else { - if (r) { - r(e); - } - } - }; - setTimeout(function () { - ce(e, "htmx:load", {}); - e = null; - }, 0); - }); - return Q; - })(); -}); +(function(e,t){if(typeof define==="function"&&define.amd){define([],t)}else if(typeof module==="object"&&module.exports){module.exports=t()}else{e.htmx=e.htmx||t()}})(typeof self!=="undefined"?self:this,function(){return function(){"use strict";var Q={onLoad:F,process:zt,on:de,off:ge,trigger:ce,ajax:Nr,find:C,findAll:f,closest:v,values:function(e,t){var r=dr(e,t||"post");return r.values},remove:_,addClass:z,removeClass:n,toggleClass:$,takeClass:W,defineExtension:Ur,removeExtension:Br,logAll:V,logNone:j,logger:null,config:{historyEnabled:true,historyCacheSize:10,refreshOnHistoryMiss:false,defaultSwapStyle:"innerHTML",defaultSwapDelay:0,defaultSettleDelay:20,includeIndicatorStyles:true,indicatorClass:"htmx-indicator",requestClass:"htmx-request",addedClass:"htmx-added",settlingClass:"htmx-settling",swappingClass:"htmx-swapping",allowEval:true,allowScriptTags:true,inlineScriptNonce:"",attributesToSettle:["class","style","width","height"],withCredentials:false,timeout:0,wsReconnectDelay:"full-jitter",wsBinaryType:"blob",disableSelector:"[hx-disable], [data-hx-disable]",useTemplateFragments:false,scrollBehavior:"smooth",defaultFocusScroll:false,getCacheBusterParam:false,globalViewTransitions:false,methodsThatUseUrlParams:["get"],selfRequestsOnly:false,ignoreTitle:false,scrollIntoViewOnBoost:true,triggerSpecsCache:null},parseInterval:d,_:t,createEventSource:function(e){return new EventSource(e,{withCredentials:true})},createWebSocket:function(e){var t=new WebSocket(e,[]);t.binaryType=Q.config.wsBinaryType;return t},version:"1.9.10"};var r={addTriggerHandler:Lt,bodyContains:se,canAccessLocalStorage:U,findThisElement:xe,filterValues:yr,hasAttribute:o,getAttributeValue:te,getClosestAttributeValue:ne,getClosestMatch:c,getExpressionVars:Hr,getHeaders:xr,getInputValues:dr,getInternalData:ae,getSwapSpecification:wr,getTriggerSpecs:it,getTarget:ye,makeFragment:l,mergeObjects:le,makeSettleInfo:T,oobSwap:Ee,querySelectorExt:ue,selectAndSwap:je,settleImmediately:nr,shouldCancel:ut,triggerEvent:ce,triggerErrorEvent:fe,withExtensions:R};var w=["get","post","put","delete","patch"];var i=w.map(function(e){return"[hx-"+e+"], [data-hx-"+e+"]"}).join(", ");var S=e("head"),q=e("title"),H=e("svg",true);function e(e,t=false){return new RegExp(`<${e}(\\s[^>]*>|>)([\\s\\S]*?)<\\/${e}>`,t?"gim":"im")}function d(e){if(e==undefined){return undefined}let t=NaN;if(e.slice(-2)=="ms"){t=parseFloat(e.slice(0,-2))}else if(e.slice(-1)=="s"){t=parseFloat(e.slice(0,-1))*1e3}else if(e.slice(-1)=="m"){t=parseFloat(e.slice(0,-1))*1e3*60}else{t=parseFloat(e)}return isNaN(t)?undefined:t}function ee(e,t){return e.getAttribute&&e.getAttribute(t)}function o(e,t){return e.hasAttribute&&(e.hasAttribute(t)||e.hasAttribute("data-"+t))}function te(e,t){return ee(e,t)||ee(e,"data-"+t)}function u(e){return e.parentElement}function re(){return document}function c(e,t){while(e&&!t(e)){e=u(e)}return e?e:null}function L(e,t,r){var n=te(t,r);var i=te(t,"hx-disinherit");if(e!==t&&i&&(i==="*"||i.split(" ").indexOf(r)>=0)){return"unset"}else{return n}}function ne(t,r){var n=null;c(t,function(e){return n=L(t,e,r)});if(n!=="unset"){return n}}function h(e,t){var r=e.matches||e.matchesSelector||e.msMatchesSelector||e.mozMatchesSelector||e.webkitMatchesSelector||e.oMatchesSelector;return r&&r.call(e,t)}function A(e){var t=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i;var r=t.exec(e);if(r){return r[1].toLowerCase()}else{return""}}function a(e,t){var r=new DOMParser;var n=r.parseFromString(e,"text/html");var i=n.body;while(t>0){t--;i=i.firstChild}if(i==null){i=re().createDocumentFragment()}return i}function N(e){return/",0);return i.querySelector("template").content}switch(r){case"thead":case"tbody":case"tfoot":case"colgroup":case"caption":return a(""+n+"
",1);case"col":return a(""+n+"
",2);case"tr":return a(""+n+"
",2);case"td":case"th":return a(""+n+"
",3);case"script":case"style":return a("
"+n+"
",1);default:return a(n,0)}}function ie(e){if(e){e()}}function I(e,t){return Object.prototype.toString.call(e)==="[object "+t+"]"}function k(e){return I(e,"Function")}function P(e){return I(e,"Object")}function ae(e){var t="htmx-internal-data";var r=e[t];if(!r){r=e[t]={}}return r}function M(e){var t=[];if(e){for(var r=0;r=0}function se(e){if(e.getRootNode&&e.getRootNode()instanceof window.ShadowRoot){return re().body.contains(e.getRootNode().host)}else{return re().body.contains(e)}}function D(e){return e.trim().split(/\s+/)}function le(e,t){for(var r in t){if(t.hasOwnProperty(r)){e[r]=t[r]}}return e}function E(e){try{return JSON.parse(e)}catch(e){b(e);return null}}function U(){var e="htmx:localStorageTest";try{localStorage.setItem(e,e);localStorage.removeItem(e);return true}catch(e){return false}}function B(t){try{var e=new URL(t);if(e){t=e.pathname+e.search}if(!/^\/$/.test(t)){t=t.replace(/\/+$/,"")}return t}catch(e){return t}}function t(e){return Tr(re().body,function(){return eval(e)})}function F(t){var e=Q.on("htmx:load",function(e){t(e.detail.elt)});return e}function V(){Q.logger=function(e,t,r){if(console){console.log(t,e,r)}}}function j(){Q.logger=null}function C(e,t){if(t){return e.querySelector(t)}else{return C(re(),e)}}function f(e,t){if(t){return e.querySelectorAll(t)}else{return f(re(),e)}}function _(e,t){e=g(e);if(t){setTimeout(function(){_(e);e=null},t)}else{e.parentElement.removeChild(e)}}function z(e,t,r){e=g(e);if(r){setTimeout(function(){z(e,t);e=null},r)}else{e.classList&&e.classList.add(t)}}function n(e,t,r){e=g(e);if(r){setTimeout(function(){n(e,t);e=null},r)}else{if(e.classList){e.classList.remove(t);if(e.classList.length===0){e.removeAttribute("class")}}}}function $(e,t){e=g(e);e.classList.toggle(t)}function W(e,t){e=g(e);oe(e.parentElement.children,function(e){n(e,t)});z(e,t)}function v(e,t){e=g(e);if(e.closest){return e.closest(t)}else{do{if(e==null||h(e,t)){return e}}while(e=e&&u(e));return null}}function s(e,t){return e.substring(0,t.length)===t}function G(e,t){return e.substring(e.length-t.length)===t}function J(e){var t=e.trim();if(s(t,"<")&&G(t,"/>")){return t.substring(1,t.length-2)}else{return t}}function Z(e,t){if(t.indexOf("closest ")===0){return[v(e,J(t.substr(8)))]}else if(t.indexOf("find ")===0){return[C(e,J(t.substr(5)))]}else if(t==="next"){return[e.nextElementSibling]}else if(t.indexOf("next ")===0){return[K(e,J(t.substr(5)))]}else if(t==="previous"){return[e.previousElementSibling]}else if(t.indexOf("previous ")===0){return[Y(e,J(t.substr(9)))]}else if(t==="document"){return[document]}else if(t==="window"){return[window]}else if(t==="body"){return[document.body]}else{return re().querySelectorAll(J(t))}}var K=function(e,t){var r=re().querySelectorAll(t);for(var n=0;n=0;n--){var i=r[n];if(i.compareDocumentPosition(e)===Node.DOCUMENT_POSITION_FOLLOWING){return i}}};function ue(e,t){if(t){return Z(e,t)[0]}else{return Z(re().body,e)[0]}}function g(e){if(I(e,"String")){return C(e)}else{return e}}function ve(e,t,r){if(k(t)){return{target:re().body,event:e,listener:t}}else{return{target:g(e),event:t,listener:r}}}function de(t,r,n){jr(function(){var e=ve(t,r,n);e.target.addEventListener(e.event,e.listener)});var e=k(r);return e?r:n}function ge(t,r,n){jr(function(){var e=ve(t,r,n);e.target.removeEventListener(e.event,e.listener)});return k(r)?r:n}var me=re().createElement("output");function pe(e,t){var r=ne(e,t);if(r){if(r==="this"){return[xe(e,t)]}else{var n=Z(e,r);if(n.length===0){b('The selector "'+r+'" on '+t+" returned no matches!");return[me]}else{return n}}}}function xe(e,t){return c(e,function(e){return te(e,t)!=null})}function ye(e){var t=ne(e,"hx-target");if(t){if(t==="this"){return xe(e,"hx-target")}else{return ue(e,t)}}else{var r=ae(e);if(r.boosted){return re().body}else{return e}}}function be(e){var t=Q.config.attributesToSettle;for(var r=0;r0){o=e.substr(0,e.indexOf(":"));t=e.substr(e.indexOf(":")+1,e.length)}else{o=e}var r=re().querySelectorAll(t);if(r){oe(r,function(e){var t;var r=i.cloneNode(true);t=re().createDocumentFragment();t.appendChild(r);if(!Se(o,e)){t=r}var n={shouldSwap:true,target:e,fragment:t};if(!ce(e,"htmx:oobBeforeSwap",n))return;e=n.target;if(n["shouldSwap"]){Fe(o,e,e,t,a)}oe(a.elts,function(e){ce(e,"htmx:oobAfterSwap",n)})});i.parentNode.removeChild(i)}else{i.parentNode.removeChild(i);fe(re().body,"htmx:oobErrorNoTarget",{content:i})}return e}function Ce(e,t,r){var n=ne(e,"hx-select-oob");if(n){var i=n.split(",");for(var a=0;a0){var r=t.replace("'","\\'");var n=e.tagName.replace(":","\\:");var i=o.querySelector(n+"[id='"+r+"']");if(i&&i!==o){var a=e.cloneNode();we(e,i);s.tasks.push(function(){we(e,a)})}}})}function Oe(e){return function(){n(e,Q.config.addedClass);zt(e);Nt(e);qe(e);ce(e,"htmx:load")}}function qe(e){var t="[autofocus]";var r=h(e,t)?e:e.querySelector(t);if(r!=null){r.focus()}}function m(e,t,r,n){Te(e,r,n);while(r.childNodes.length>0){var i=r.firstChild;z(i,Q.config.addedClass);e.insertBefore(i,t);if(i.nodeType!==Node.TEXT_NODE&&i.nodeType!==Node.COMMENT_NODE){n.tasks.push(Oe(i))}}}function He(e,t){var r=0;while(r-1){var t=e.replace(H,"");var r=t.match(q);if(r){return r[2]}}}function je(e,t,r,n,i,a){i.title=Ve(n);var o=l(n);if(o){Ce(r,o,i);o=Be(r,o,a);Re(o);return Fe(e,r,t,o,i)}}function _e(e,t,r){var n=e.getResponseHeader(t);if(n.indexOf("{")===0){var i=E(n);for(var a in i){if(i.hasOwnProperty(a)){var o=i[a];if(!P(o)){o={value:o}}ce(r,a,o)}}}else{var s=n.split(",");for(var l=0;l0){var o=t[0];if(o==="]"){n--;if(n===0){if(a===null){i=i+"true"}t.shift();i+=")})";try{var s=Tr(e,function(){return Function(i)()},function(){return true});s.source=i;return s}catch(e){fe(re().body,"htmx:syntax:error",{error:e,source:i});return null}}}else if(o==="["){n++}if(Qe(o,a,r)){i+="(("+r+"."+o+") ? ("+r+"."+o+") : (window."+o+"))"}else{i=i+o}a=t.shift()}}}function y(e,t){var r="";while(e.length>0&&!t.test(e[0])){r+=e.shift()}return r}function tt(e){var t;if(e.length>0&&Ze.test(e[0])){e.shift();t=y(e,Ke).trim();e.shift()}else{t=y(e,x)}return t}var rt="input, textarea, select";function nt(e,t,r){var n=[];var i=Ye(t);do{y(i,Je);var a=i.length;var o=y(i,/[,\[\s]/);if(o!==""){if(o==="every"){var s={trigger:"every"};y(i,Je);s.pollInterval=d(y(i,/[,\[\s]/));y(i,Je);var l=et(e,i,"event");if(l){s.eventFilter=l}n.push(s)}else if(o.indexOf("sse:")===0){n.push({trigger:"sse",sseEvent:o.substr(4)})}else{var u={trigger:o};var l=et(e,i,"event");if(l){u.eventFilter=l}while(i.length>0&&i[0]!==","){y(i,Je);var f=i.shift();if(f==="changed"){u.changed=true}else if(f==="once"){u.once=true}else if(f==="consume"){u.consume=true}else if(f==="delay"&&i[0]===":"){i.shift();u.delay=d(y(i,x))}else if(f==="from"&&i[0]===":"){i.shift();if(Ze.test(i[0])){var c=tt(i)}else{var c=y(i,x);if(c==="closest"||c==="find"||c==="next"||c==="previous"){i.shift();var h=tt(i);if(h.length>0){c+=" "+h}}}u.from=c}else if(f==="target"&&i[0]===":"){i.shift();u.target=tt(i)}else if(f==="throttle"&&i[0]===":"){i.shift();u.throttle=d(y(i,x))}else if(f==="queue"&&i[0]===":"){i.shift();u.queue=y(i,x)}else if(f==="root"&&i[0]===":"){i.shift();u[f]=tt(i)}else if(f==="threshold"&&i[0]===":"){i.shift();u[f]=y(i,x)}else{fe(e,"htmx:syntax:error",{token:i.shift()})}}n.push(u)}}if(i.length===a){fe(e,"htmx:syntax:error",{token:i.shift()})}y(i,Je)}while(i[0]===","&&i.shift());if(r){r[t]=n}return n}function it(e){var t=te(e,"hx-trigger");var r=[];if(t){var n=Q.config.triggerSpecsCache;r=n&&n[t]||nt(e,t,n)}if(r.length>0){return r}else if(h(e,"form")){return[{trigger:"submit"}]}else if(h(e,'input[type="button"], input[type="submit"]')){return[{trigger:"click"}]}else if(h(e,rt)){return[{trigger:"change"}]}else{return[{trigger:"click"}]}}function at(e){ae(e).cancelled=true}function ot(e,t,r){var n=ae(e);n.timeout=setTimeout(function(){if(se(e)&&n.cancelled!==true){if(!ct(r,e,Wt("hx:poll:trigger",{triggerSpec:r,target:e}))){t(e)}ot(e,t,r)}},r.pollInterval)}function st(e){return location.hostname===e.hostname&&ee(e,"href")&&ee(e,"href").indexOf("#")!==0}function lt(t,r,e){if(t.tagName==="A"&&st(t)&&(t.target===""||t.target==="_self")||t.tagName==="FORM"){r.boosted=true;var n,i;if(t.tagName==="A"){n="get";i=ee(t,"href")}else{var a=ee(t,"method");n=a?a.toLowerCase():"get";if(n==="get"){}i=ee(t,"action")}e.forEach(function(e){ht(t,function(e,t){if(v(e,Q.config.disableSelector)){p(e);return}he(n,i,e,t)},r,e,true)})}}function ut(e,t){if(e.type==="submit"||e.type==="click"){if(t.tagName==="FORM"){return true}if(h(t,'input[type="submit"], button')&&v(t,"form")!==null){return true}if(t.tagName==="A"&&t.href&&(t.getAttribute("href")==="#"||t.getAttribute("href").indexOf("#")!==0)){return true}}return false}function ft(e,t){return ae(e).boosted&&e.tagName==="A"&&t.type==="click"&&(t.ctrlKey||t.metaKey)}function ct(e,t,r){var n=e.eventFilter;if(n){try{return n.call(t,r)!==true}catch(e){fe(re().body,"htmx:eventFilter:error",{error:e,source:n.source});return true}}return false}function ht(a,o,e,s,l){var u=ae(a);var t;if(s.from){t=Z(a,s.from)}else{t=[a]}if(s.changed){t.forEach(function(e){var t=ae(e);t.lastValue=e.value})}oe(t,function(n){var i=function(e){if(!se(a)){n.removeEventListener(s.trigger,i);return}if(ft(a,e)){return}if(l||ut(e,a)){e.preventDefault()}if(ct(s,a,e)){return}var t=ae(e);t.triggerSpec=s;if(t.handledFor==null){t.handledFor=[]}if(t.handledFor.indexOf(a)<0){t.handledFor.push(a);if(s.consume){e.stopPropagation()}if(s.target&&e.target){if(!h(e.target,s.target)){return}}if(s.once){if(u.triggeredOnce){return}else{u.triggeredOnce=true}}if(s.changed){var r=ae(n);if(r.lastValue===n.value){return}r.lastValue=n.value}if(u.delayed){clearTimeout(u.delayed)}if(u.throttle){return}if(s.throttle>0){if(!u.throttle){o(a,e);u.throttle=setTimeout(function(){u.throttle=null},s.throttle)}}else if(s.delay>0){u.delayed=setTimeout(function(){o(a,e)},s.delay)}else{ce(a,"htmx:trigger");o(a,e)}}};if(e.listenerInfos==null){e.listenerInfos=[]}e.listenerInfos.push({trigger:s.trigger,listener:i,on:n});n.addEventListener(s.trigger,i)})}var vt=false;var dt=null;function gt(){if(!dt){dt=function(){vt=true};window.addEventListener("scroll",dt);setInterval(function(){if(vt){vt=false;oe(re().querySelectorAll("[hx-trigger='revealed'],[data-hx-trigger='revealed']"),function(e){mt(e)})}},200)}}function mt(t){if(!o(t,"data-hx-revealed")&&X(t)){t.setAttribute("data-hx-revealed","true");var e=ae(t);if(e.initHash){ce(t,"revealed")}else{t.addEventListener("htmx:afterProcessNode",function(e){ce(t,"revealed")},{once:true})}}}function pt(e,t,r){var n=D(r);for(var i=0;i=0){var t=wt(n);setTimeout(function(){xt(s,r,n+1)},t)}};t.onopen=function(e){n=0};ae(s).webSocket=t;t.addEventListener("message",function(e){if(yt(s)){return}var t=e.data;R(s,function(e){t=e.transformResponse(t,null,s)});var r=T(s);var n=l(t);var i=M(n.children);for(var a=0;a0){ce(u,"htmx:validation:halted",i);return}t.send(JSON.stringify(l));if(ut(e,u)){e.preventDefault()}})}else{fe(u,"htmx:noWebSocketSourceError")}}function wt(e){var t=Q.config.wsReconnectDelay;if(typeof t==="function"){return t(e)}if(t==="full-jitter"){var r=Math.min(e,6);var n=1e3*Math.pow(2,r);return n*Math.random()}b('htmx.config.wsReconnectDelay must either be a function or the string "full-jitter"')}function St(e,t,r){var n=D(r);for(var i=0;i0){setTimeout(i,n)}else{i()}}function Ht(t,i,e){var a=false;oe(w,function(r){if(o(t,"hx-"+r)){var n=te(t,"hx-"+r);a=true;i.path=n;i.verb=r;e.forEach(function(e){Lt(t,e,i,function(e,t){if(v(e,Q.config.disableSelector)){p(e);return}he(r,n,e,t)})})}});return a}function Lt(n,e,t,r){if(e.sseEvent){Rt(n,r,e.sseEvent)}else if(e.trigger==="revealed"){gt();ht(n,r,t,e);mt(n)}else if(e.trigger==="intersect"){var i={};if(e.root){i.root=ue(n,e.root)}if(e.threshold){i.threshold=parseFloat(e.threshold)}var a=new IntersectionObserver(function(e){for(var t=0;t0){t.polling=true;ot(n,r,e)}else{ht(n,r,t,e)}}function At(e){if(Q.config.allowScriptTags&&(e.type==="text/javascript"||e.type==="module"||e.type==="")){var t=re().createElement("script");oe(e.attributes,function(e){t.setAttribute(e.name,e.value)});t.textContent=e.textContent;t.async=false;if(Q.config.inlineScriptNonce){t.nonce=Q.config.inlineScriptNonce}var r=e.parentElement;try{r.insertBefore(t,e)}catch(e){b(e)}finally{if(e.parentElement){e.parentElement.removeChild(e)}}}}function Nt(e){if(h(e,"script")){At(e)}oe(f(e,"script"),function(e){At(e)})}function It(e){var t=e.attributes;for(var r=0;r0){var o=n.shift();var s=o.match(/^\s*([a-zA-Z:\-\.]+:)(.*)/);if(a===0&&s){o.split(":");i=s[1].slice(0,-1);r[i]=s[2]}else{r[i]+=o}a+=Bt(o)}for(var l in r){Ft(e,l,r[l])}}}function jt(e){Ae(e);for(var t=0;tQ.config.historyCacheSize){i.shift()}while(i.length>0){try{localStorage.setItem("htmx-history-cache",JSON.stringify(i));break}catch(e){fe(re().body,"htmx:historyCacheError",{cause:e,cache:i});i.shift()}}}function Yt(e){if(!U()){return null}e=B(e);var t=E(localStorage.getItem("htmx-history-cache"))||[];for(var r=0;r=200&&this.status<400){ce(re().body,"htmx:historyCacheMissLoad",o);var e=l(this.response);e=e.querySelector("[hx-history-elt],[data-hx-history-elt]")||e;var t=Zt();var r=T(t);var n=Ve(this.response);if(n){var i=C("title");if(i){i.innerHTML=n}else{window.document.title=n}}Ue(t,e,r);nr(r.tasks);Jt=a;ce(re().body,"htmx:historyRestore",{path:a,cacheMiss:true,serverResponse:this.response})}else{fe(re().body,"htmx:historyCacheMissLoadError",o)}};e.send()}function ar(e){er();e=e||location.pathname+location.search;var t=Yt(e);if(t){var r=l(t.content);var n=Zt();var i=T(n);Ue(n,r,i);nr(i.tasks);document.title=t.title;setTimeout(function(){window.scrollTo(0,t.scroll)},0);Jt=e;ce(re().body,"htmx:historyRestore",{path:e,item:t})}else{if(Q.config.refreshOnHistoryMiss){window.location.reload(true)}else{ir(e)}}}function or(e){var t=pe(e,"hx-indicator");if(t==null){t=[e]}oe(t,function(e){var t=ae(e);t.requestCount=(t.requestCount||0)+1;e.classList["add"].call(e.classList,Q.config.requestClass)});return t}function sr(e){var t=pe(e,"hx-disabled-elt");if(t==null){t=[]}oe(t,function(e){var t=ae(e);t.requestCount=(t.requestCount||0)+1;e.setAttribute("disabled","")});return t}function lr(e,t){oe(e,function(e){var t=ae(e);t.requestCount=(t.requestCount||0)-1;if(t.requestCount===0){e.classList["remove"].call(e.classList,Q.config.requestClass)}});oe(t,function(e){var t=ae(e);t.requestCount=(t.requestCount||0)-1;if(t.requestCount===0){e.removeAttribute("disabled")}})}function ur(e,t){for(var r=0;r=0}function wr(e,t){var r=t?t:ne(e,"hx-swap");var n={swapStyle:ae(e).boosted?"innerHTML":Q.config.defaultSwapStyle,swapDelay:Q.config.defaultSwapDelay,settleDelay:Q.config.defaultSettleDelay};if(Q.config.scrollIntoViewOnBoost&&ae(e).boosted&&!br(e)){n["show"]="top"}if(r){var i=D(r);if(i.length>0){for(var a=0;a0?l.join(":"):null;n["scroll"]=u;n["scrollTarget"]=f}else if(o.indexOf("show:")===0){var c=o.substr(5);var l=c.split(":");var h=l.pop();var f=l.length>0?l.join(":"):null;n["show"]=h;n["showTarget"]=f}else if(o.indexOf("focus-scroll:")===0){var v=o.substr("focus-scroll:".length);n["focusScroll"]=v=="true"}else if(a==0){n["swapStyle"]=o}else{b("Unknown modifier in hx-swap: "+o)}}}}return n}function Sr(e){return ne(e,"hx-encoding")==="multipart/form-data"||h(e,"form")&&ee(e,"enctype")==="multipart/form-data"}function Er(t,r,n){var i=null;R(r,function(e){if(i==null){i=e.encodeParameters(t,n,r)}});if(i!=null){return i}else{if(Sr(r)){return pr(n)}else{return mr(n)}}}function T(e){return{tasks:[],elts:[e]}}function Cr(e,t){var r=e[0];var n=e[e.length-1];if(t.scroll){var i=null;if(t.scrollTarget){i=ue(r,t.scrollTarget)}if(t.scroll==="top"&&(r||i)){i=i||r;i.scrollTop=0}if(t.scroll==="bottom"&&(n||i)){i=i||n;i.scrollTop=i.scrollHeight}}if(t.show){var i=null;if(t.showTarget){var a=t.showTarget;if(t.showTarget==="window"){a="body"}i=ue(r,a)}if(t.show==="top"&&(r||i)){i=i||r;i.scrollIntoView({block:"start",behavior:Q.config.scrollBehavior})}if(t.show==="bottom"&&(n||i)){i=i||n;i.scrollIntoView({block:"end",behavior:Q.config.scrollBehavior})}}}function Rr(e,t,r,n){if(n==null){n={}}if(e==null){return n}var i=te(e,t);if(i){var a=i.trim();var o=r;if(a==="unset"){return null}if(a.indexOf("javascript:")===0){a=a.substr(11);o=true}else if(a.indexOf("js:")===0){a=a.substr(3);o=true}if(a.indexOf("{")!==0){a="{"+a+"}"}var s;if(o){s=Tr(e,function(){return Function("return ("+a+")")()},{})}else{s=E(a)}for(var l in s){if(s.hasOwnProperty(l)){if(n[l]==null){n[l]=s[l]}}}}return Rr(u(e),t,r,n)}function Tr(e,t,r){if(Q.config.allowEval){return t()}else{fe(e,"htmx:evalDisallowedError");return r}}function Or(e,t){return Rr(e,"hx-vars",true,t)}function qr(e,t){return Rr(e,"hx-vals",false,t)}function Hr(e){return le(Or(e),qr(e))}function Lr(t,r,n){if(n!==null){try{t.setRequestHeader(r,n)}catch(e){t.setRequestHeader(r,encodeURIComponent(n));t.setRequestHeader(r+"-URI-AutoEncoded","true")}}}function Ar(t){if(t.responseURL&&typeof URL!=="undefined"){try{var e=new URL(t.responseURL);return e.pathname+e.search}catch(e){fe(re().body,"htmx:badResponseUrl",{url:t.responseURL})}}}function O(e,t){return t.test(e.getAllResponseHeaders())}function Nr(e,t,r){e=e.toLowerCase();if(r){if(r instanceof Element||I(r,"String")){return he(e,t,null,null,{targetOverride:g(r),returnPromise:true})}else{return he(e,t,g(r.source),r.event,{handler:r.handler,headers:r.headers,values:r.values,targetOverride:g(r.target),swapOverride:r.swap,select:r.select,returnPromise:true})}}else{return he(e,t,null,null,{returnPromise:true})}}function Ir(e){var t=[];while(e){t.push(e);e=e.parentElement}return t}function kr(e,t,r){var n;var i;if(typeof URL==="function"){i=new URL(t,document.location.href);var a=document.location.origin;n=a===i.origin}else{i=t;n=s(t,document.location.origin)}if(Q.config.selfRequestsOnly){if(!n){return false}}return ce(e,"htmx:validateUrl",le({url:i,sameHost:n},r))}function he(t,r,n,i,a,e){var o=null;var s=null;a=a!=null?a:{};if(a.returnPromise&&typeof Promise!=="undefined"){var l=new Promise(function(e,t){o=e;s=t})}if(n==null){n=re().body}var M=a.handler||Mr;var X=a.select||null;if(!se(n)){ie(o);return l}var u=a.targetOverride||ye(n);if(u==null||u==me){fe(n,"htmx:targetError",{target:te(n,"hx-target")});ie(s);return l}var f=ae(n);var c=f.lastButtonClicked;if(c){var h=ee(c,"formaction");if(h!=null){r=h}var v=ee(c,"formmethod");if(v!=null){if(v.toLowerCase()!=="dialog"){t=v}}}var d=ne(n,"hx-confirm");if(e===undefined){var D=function(e){return he(t,r,n,i,a,!!e)};var U={target:u,elt:n,path:r,verb:t,triggeringEvent:i,etc:a,issueRequest:D,question:d};if(ce(n,"htmx:confirm",U)===false){ie(o);return l}}var g=n;var m=ne(n,"hx-sync");var p=null;var x=false;if(m){var B=m.split(":");var F=B[0].trim();if(F==="this"){g=xe(n,"hx-sync")}else{g=ue(n,F)}m=(B[1]||"drop").trim();f=ae(g);if(m==="drop"&&f.xhr&&f.abortable!==true){ie(o);return l}else if(m==="abort"){if(f.xhr){ie(o);return l}else{x=true}}else if(m==="replace"){ce(g,"htmx:abort")}else if(m.indexOf("queue")===0){var V=m.split(" ");p=(V[1]||"last").trim()}}if(f.xhr){if(f.abortable){ce(g,"htmx:abort")}else{if(p==null){if(i){var y=ae(i);if(y&&y.triggerSpec&&y.triggerSpec.queue){p=y.triggerSpec.queue}}if(p==null){p="last"}}if(f.queuedRequests==null){f.queuedRequests=[]}if(p==="first"&&f.queuedRequests.length===0){f.queuedRequests.push(function(){he(t,r,n,i,a)})}else if(p==="all"){f.queuedRequests.push(function(){he(t,r,n,i,a)})}else if(p==="last"){f.queuedRequests=[];f.queuedRequests.push(function(){he(t,r,n,i,a)})}ie(o);return l}}var b=new XMLHttpRequest;f.xhr=b;f.abortable=x;var w=function(){f.xhr=null;f.abortable=false;if(f.queuedRequests!=null&&f.queuedRequests.length>0){var e=f.queuedRequests.shift();e()}};var j=ne(n,"hx-prompt");if(j){var S=prompt(j);if(S===null||!ce(n,"htmx:prompt",{prompt:S,target:u})){ie(o);w();return l}}if(d&&!e){if(!confirm(d)){ie(o);w();return l}}var E=xr(n,u,S);if(t!=="get"&&!Sr(n)){E["Content-Type"]="application/x-www-form-urlencoded"}if(a.headers){E=le(E,a.headers)}var _=dr(n,t);var C=_.errors;var R=_.values;if(a.values){R=le(R,a.values)}var z=Hr(n);var $=le(R,z);var T=yr($,n);if(Q.config.getCacheBusterParam&&t==="get"){T["org.htmx.cache-buster"]=ee(u,"id")||"true"}if(r==null||r===""){r=re().location.href}var O=Rr(n,"hx-request");var W=ae(n).boosted;var q=Q.config.methodsThatUseUrlParams.indexOf(t)>=0;var H={boosted:W,useUrlParams:q,parameters:T,unfilteredParameters:$,headers:E,target:u,verb:t,errors:C,withCredentials:a.credentials||O.credentials||Q.config.withCredentials,timeout:a.timeout||O.timeout||Q.config.timeout,path:r,triggeringEvent:i};if(!ce(n,"htmx:configRequest",H)){ie(o);w();return l}r=H.path;t=H.verb;E=H.headers;T=H.parameters;C=H.errors;q=H.useUrlParams;if(C&&C.length>0){ce(n,"htmx:validation:halted",H);ie(o);w();return l}var G=r.split("#");var J=G[0];var L=G[1];var A=r;if(q){A=J;var Z=Object.keys(T).length!==0;if(Z){if(A.indexOf("?")<0){A+="?"}else{A+="&"}A+=mr(T);if(L){A+="#"+L}}}if(!kr(n,A,H)){fe(n,"htmx:invalidPath",H);ie(s);return l}b.open(t.toUpperCase(),A,true);b.overrideMimeType("text/html");b.withCredentials=H.withCredentials;b.timeout=H.timeout;if(O.noHeaders){}else{for(var N in E){if(E.hasOwnProperty(N)){var K=E[N];Lr(b,N,K)}}}var I={xhr:b,target:u,requestConfig:H,etc:a,boosted:W,select:X,pathInfo:{requestPath:r,finalRequestPath:A,anchor:L}};b.onload=function(){try{var e=Ir(n);I.pathInfo.responsePath=Ar(b);M(n,I);lr(k,P);ce(n,"htmx:afterRequest",I);ce(n,"htmx:afterOnLoad",I);if(!se(n)){var t=null;while(e.length>0&&t==null){var r=e.shift();if(se(r)){t=r}}if(t){ce(t,"htmx:afterRequest",I);ce(t,"htmx:afterOnLoad",I)}}ie(o);w()}catch(e){fe(n,"htmx:onLoadError",le({error:e},I));throw e}};b.onerror=function(){lr(k,P);fe(n,"htmx:afterRequest",I);fe(n,"htmx:sendError",I);ie(s);w()};b.onabort=function(){lr(k,P);fe(n,"htmx:afterRequest",I);fe(n,"htmx:sendAbort",I);ie(s);w()};b.ontimeout=function(){lr(k,P);fe(n,"htmx:afterRequest",I);fe(n,"htmx:timeout",I);ie(s);w()};if(!ce(n,"htmx:beforeRequest",I)){ie(o);w();return l}var k=or(n);var P=sr(n);oe(["loadstart","loadend","progress","abort"],function(t){oe([b,b.upload],function(e){e.addEventListener(t,function(e){ce(n,"htmx:xhr:"+t,{lengthComputable:e.lengthComputable,loaded:e.loaded,total:e.total})})})});ce(n,"htmx:beforeSend",I);var Y=q?null:Er(b,n,T);b.send(Y);return l}function Pr(e,t){var r=t.xhr;var n=null;var i=null;if(O(r,/HX-Push:/i)){n=r.getResponseHeader("HX-Push");i="push"}else if(O(r,/HX-Push-Url:/i)){n=r.getResponseHeader("HX-Push-Url");i="push"}else if(O(r,/HX-Replace-Url:/i)){n=r.getResponseHeader("HX-Replace-Url");i="replace"}if(n){if(n==="false"){return{}}else{return{type:i,path:n}}}var a=t.pathInfo.finalRequestPath;var o=t.pathInfo.responsePath;var s=ne(e,"hx-push-url");var l=ne(e,"hx-replace-url");var u=ae(e).boosted;var f=null;var c=null;if(s){f="push";c=s}else if(l){f="replace";c=l}else if(u){f="push";c=o||a}if(c){if(c==="false"){return{}}if(c==="true"){c=o||a}if(t.pathInfo.anchor&&c.indexOf("#")===-1){c=c+"#"+t.pathInfo.anchor}return{type:f,path:c}}else{return{}}}function Mr(l,u){var f=u.xhr;var c=u.target;var e=u.etc;var t=u.requestConfig;var h=u.select;if(!ce(l,"htmx:beforeOnLoad",u))return;if(O(f,/HX-Trigger:/i)){_e(f,"HX-Trigger",l)}if(O(f,/HX-Location:/i)){er();var r=f.getResponseHeader("HX-Location");var v;if(r.indexOf("{")===0){v=E(r);r=v["path"];delete v["path"]}Nr("GET",r,v).then(function(){tr(r)});return}var n=O(f,/HX-Refresh:/i)&&"true"===f.getResponseHeader("HX-Refresh");if(O(f,/HX-Redirect:/i)){location.href=f.getResponseHeader("HX-Redirect");n&&location.reload();return}if(n){location.reload();return}if(O(f,/HX-Retarget:/i)){if(f.getResponseHeader("HX-Retarget")==="this"){u.target=l}else{u.target=ue(l,f.getResponseHeader("HX-Retarget"))}}var d=Pr(l,u);var i=f.status>=200&&f.status<400&&f.status!==204;var g=f.response;var a=f.status>=400;var m=Q.config.ignoreTitle;var o=le({shouldSwap:i,serverResponse:g,isError:a,ignoreTitle:m},u);if(!ce(c,"htmx:beforeSwap",o))return;c=o.target;g=o.serverResponse;a=o.isError;m=o.ignoreTitle;u.target=c;u.failed=a;u.successful=!a;if(o.shouldSwap){if(f.status===286){at(l)}R(l,function(e){g=e.transformResponse(g,f,l)});if(d.type){er()}var s=e.swapOverride;if(O(f,/HX-Reswap:/i)){s=f.getResponseHeader("HX-Reswap")}var v=wr(l,s);if(v.hasOwnProperty("ignoreTitle")){m=v.ignoreTitle}c.classList.add(Q.config.swappingClass);var p=null;var x=null;var y=function(){try{var e=document.activeElement;var t={};try{t={elt:e,start:e?e.selectionStart:null,end:e?e.selectionEnd:null}}catch(e){}var r;if(h){r=h}if(O(f,/HX-Reselect:/i)){r=f.getResponseHeader("HX-Reselect")}if(d.type){ce(re().body,"htmx:beforeHistoryUpdate",le({history:d},u));if(d.type==="push"){tr(d.path);ce(re().body,"htmx:pushedIntoHistory",{path:d.path})}else{rr(d.path);ce(re().body,"htmx:replacedInHistory",{path:d.path})}}var n=T(c);je(v.swapStyle,c,l,g,n,r);if(t.elt&&!se(t.elt)&&ee(t.elt,"id")){var i=document.getElementById(ee(t.elt,"id"));var a={preventScroll:v.focusScroll!==undefined?!v.focusScroll:!Q.config.defaultFocusScroll};if(i){if(t.start&&i.setSelectionRange){try{i.setSelectionRange(t.start,t.end)}catch(e){}}i.focus(a)}}c.classList.remove(Q.config.swappingClass);oe(n.elts,function(e){if(e.classList){e.classList.add(Q.config.settlingClass)}ce(e,"htmx:afterSwap",u)});if(O(f,/HX-Trigger-After-Swap:/i)){var o=l;if(!se(l)){o=re().body}_e(f,"HX-Trigger-After-Swap",o)}var s=function(){oe(n.tasks,function(e){e.call()});oe(n.elts,function(e){if(e.classList){e.classList.remove(Q.config.settlingClass)}ce(e,"htmx:afterSettle",u)});if(u.pathInfo.anchor){var e=re().getElementById(u.pathInfo.anchor);if(e){e.scrollIntoView({block:"start",behavior:"auto"})}}if(n.title&&!m){var t=C("title");if(t){t.innerHTML=n.title}else{window.document.title=n.title}}Cr(n.elts,v);if(O(f,/HX-Trigger-After-Settle:/i)){var r=l;if(!se(l)){r=re().body}_e(f,"HX-Trigger-After-Settle",r)}ie(p)};if(v.settleDelay>0){setTimeout(s,v.settleDelay)}else{s()}}catch(e){fe(l,"htmx:swapError",u);ie(x);throw e}};var b=Q.config.globalViewTransitions;if(v.hasOwnProperty("transition")){b=v.transition}if(b&&ce(l,"htmx:beforeTransition",u)&&typeof Promise!=="undefined"&&document.startViewTransition){var w=new Promise(function(e,t){p=e;x=t});var S=y;y=function(){document.startViewTransition(function(){S();return w})}}if(v.swapDelay>0){setTimeout(y,v.swapDelay)}else{y()}}if(a){fe(l,"htmx:responseError",le({error:"Response Status Error Code "+f.status+" from "+u.pathInfo.requestPath},u))}}var Xr={};function Dr(){return{init:function(e){return null},onEvent:function(e,t){return true},transformResponse:function(e,t,r){return e},isInlineSwap:function(e){return false},handleSwap:function(e,t,r,n){return false},encodeParameters:function(e,t,r){return null}}}function Ur(e,t){if(t.init){t.init(r)}Xr[e]=le(Dr(),t)}function Br(e){delete Xr[e]}function Fr(e,r,n){if(e==undefined){return r}if(r==undefined){r=[]}if(n==undefined){n=[]}var t=te(e,"hx-ext");if(t){oe(t.split(","),function(e){e=e.replace(/ /g,"");if(e.slice(0,7)=="ignore:"){n.push(e.slice(7));return}if(n.indexOf(e)<0){var t=Xr[e];if(t&&r.indexOf(t)<0){r.push(t)}}})}return Fr(u(e),r,n)}var Vr=false;re().addEventListener("DOMContentLoaded",function(){Vr=true});function jr(e){if(Vr||re().readyState==="complete"){e()}else{re().addEventListener("DOMContentLoaded",e)}}function _r(){if(Q.config.includeIndicatorStyles!==false){re().head.insertAdjacentHTML("beforeend","")}}function zr(){var e=re().querySelector('meta[name="htmx-config"]');if(e){return E(e.content)}else{return null}}function $r(){var e=zr();if(e){Q.config=le(Q.config,e)}}jr(function(){$r();_r();var e=re().body;zt(e);var t=re().querySelectorAll("[hx-trigger='restored'],[data-hx-trigger='restored']");e.addEventListener("htmx:abort",function(e){var t=e.target;var r=ae(t);if(r&&r.xhr){r.xhr.abort()}});const r=window.onpopstate?window.onpopstate.bind(window):null;window.onpopstate=function(e){if(e.state&&e.state.htmx){ar();oe(t,function(e){ce(e,"htmx:restored",{document:re(),triggerEvent:ce})})}else{if(r){r(e)}}};setTimeout(function(){ce(e,"htmx:load",{});e=null},0)});return Q}()}); diff --git a/public/pico.min.css b/public/pico.min.css index 3908e04..e4fb6c8 100644 --- a/public/pico.min.css +++ b/public/pico.min.css @@ -1,2721 +1,5 @@ -@charset "UTF-8"; /*! +@charset "UTF-8";/*! * Pico CSS v1.5.11 (https://picocss.com) * Copyright 2019-2023 - Licensed under MIT - */ -:root { - --font-family: system-ui, -apple-system, "Segoe UI", "Roboto", "Ubuntu", - "Cantarell", "Noto Sans", sans-serif, "Apple Color Emoji", - "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; - --line-height: 1.5; - --font-weight: 400; - --font-size: 16px; - --border-radius: 0.25rem; - --border-width: 1px; - --outline-width: 3px; - --spacing: 1rem; - --typography-spacing-vertical: 1.5rem; - --block-spacing-vertical: calc(var(--spacing) * 2); - --block-spacing-horizontal: var(--spacing); - --grid-spacing-vertical: 0; - --grid-spacing-horizontal: var(--spacing); - --form-element-spacing-vertical: 0.75rem; - --form-element-spacing-horizontal: 1rem; - --nav-element-spacing-vertical: 1rem; - --nav-element-spacing-horizontal: 0.5rem; - --nav-link-spacing-vertical: 0.5rem; - --nav-link-spacing-horizontal: 0.5rem; - --form-label-font-weight: var(--font-weight); - --transition: 0.2s ease-in-out; - --modal-overlay-backdrop-filter: blur(0.25rem); -} -@media (min-width: 576px) { - :root { - --font-size: 17px; - } -} -@media (min-width: 768px) { - :root { - --font-size: 18px; - } -} -@media (min-width: 992px) { - :root { - --font-size: 19px; - } -} -@media (min-width: 1200px) { - :root { - --font-size: 20px; - } -} -@media (min-width: 576px) { - body > footer, - body > header, - body > main, - section { - --block-spacing-vertical: calc(var(--spacing) * 2.5); - } -} -@media (min-width: 768px) { - body > footer, - body > header, - body > main, - section { - --block-spacing-vertical: calc(var(--spacing) * 3); - } -} -@media (min-width: 992px) { - body > footer, - body > header, - body > main, - section { - --block-spacing-vertical: calc(var(--spacing) * 3.5); - } -} -@media (min-width: 1200px) { - body > footer, - body > header, - body > main, - section { - --block-spacing-vertical: calc(var(--spacing) * 4); - } -} -@media (min-width: 576px) { - article { - --block-spacing-horizontal: calc(var(--spacing) * 1.25); - } -} -@media (min-width: 768px) { - article { - --block-spacing-horizontal: calc(var(--spacing) * 1.5); - } -} -@media (min-width: 992px) { - article { - --block-spacing-horizontal: calc(var(--spacing) * 1.75); - } -} -@media (min-width: 1200px) { - article { - --block-spacing-horizontal: calc(var(--spacing) * 2); - } -} -dialog > article { - --block-spacing-vertical: calc(var(--spacing) * 2); - --block-spacing-horizontal: var(--spacing); -} -@media (min-width: 576px) { - dialog > article { - --block-spacing-vertical: calc(var(--spacing) * 2.5); - --block-spacing-horizontal: calc(var(--spacing) * 1.25); - } -} -@media (min-width: 768px) { - dialog > article { - --block-spacing-vertical: calc(var(--spacing) * 3); - --block-spacing-horizontal: calc(var(--spacing) * 1.5); - } -} -a { - --text-decoration: none; -} -a.contrast, -a.secondary { - --text-decoration: underline; -} -small { - --font-size: 0.875em; -} -h1, -h2, -h3, -h4, -h5, -h6 { - --font-weight: 700; -} -h1 { - --font-size: 2rem; - --typography-spacing-vertical: 3rem; -} -h2 { - --font-size: 1.75rem; - --typography-spacing-vertical: 2.625rem; -} -h3 { - --font-size: 1.5rem; - --typography-spacing-vertical: 2.25rem; -} -h4 { - --font-size: 1.25rem; - --typography-spacing-vertical: 1.874rem; -} -h5 { - --font-size: 1.125rem; - --typography-spacing-vertical: 1.6875rem; -} -[type="checkbox"], -[type="radio"] { - --border-width: 2px; -} -[type="checkbox"][role="switch"] { - --border-width: 3px; -} -tfoot td, -tfoot th, -thead td, -thead th { - --border-width: 3px; -} -:not(thead, tfoot) > * > td { - --font-size: 0.875em; -} -code, -kbd, -pre, -samp { - --font-family: "Menlo", "Consolas", "Roboto Mono", "Ubuntu Monospace", - "Noto Mono", "Oxygen Mono", "Liberation Mono", monospace, - "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", - "Noto Color Emoji"; -} -kbd { - --font-weight: bolder; -} -:root:not([data-theme="dark"]), -[data-theme="light"] { - --background-color: #fff; - --color: hsl(205, 20%, 32%); - --h1-color: hsl(205, 30%, 15%); - --h2-color: #24333e; - --h3-color: hsl(205, 25%, 23%); - --h4-color: #374956; - --h5-color: hsl(205, 20%, 32%); - --h6-color: #4d606d; - --muted-color: hsl(205, 10%, 50%); - --muted-border-color: hsl(205, 20%, 94%); - --primary: hsl(195, 85%, 41%); - --primary-hover: hsl(195, 90%, 32%); - --primary-focus: rgba(16, 149, 193, 0.125); - --primary-inverse: #fff; - --secondary: hsl(205, 15%, 41%); - --secondary-hover: hsl(205, 20%, 32%); - --secondary-focus: rgba(89, 107, 120, 0.125); - --secondary-inverse: #fff; - --contrast: hsl(205, 30%, 15%); - --contrast-hover: #000; - --contrast-focus: rgba(89, 107, 120, 0.125); - --contrast-inverse: #fff; - --mark-background-color: #fff2ca; - --mark-color: #543a26; - --ins-color: #388e3c; - --del-color: #c62828; - --blockquote-border-color: var(--muted-border-color); - --blockquote-footer-color: var(--muted-color); - --button-box-shadow: 0 0 0 rgba(0, 0, 0, 0); - --button-hover-box-shadow: 0 0 0 rgba(0, 0, 0, 0); - --form-element-background-color: transparent; - --form-element-border-color: hsl(205, 14%, 68%); - --form-element-color: var(--color); - --form-element-placeholder-color: var(--muted-color); - --form-element-active-background-color: transparent; - --form-element-active-border-color: var(--primary); - --form-element-focus-color: var(--primary-focus); - --form-element-disabled-background-color: hsl(205, 18%, 86%); - --form-element-disabled-border-color: hsl(205, 14%, 68%); - --form-element-disabled-opacity: 0.5; - --form-element-invalid-border-color: #c62828; - --form-element-invalid-active-border-color: #d32f2f; - --form-element-invalid-focus-color: rgba(211, 47, 47, 0.125); - --form-element-valid-border-color: #388e3c; - --form-element-valid-active-border-color: #43a047; - --form-element-valid-focus-color: rgba(67, 160, 71, 0.125); - --switch-background-color: hsl(205, 16%, 77%); - --switch-color: var(--primary-inverse); - --switch-checked-background-color: var(--primary); - --range-border-color: hsl(205, 18%, 86%); - --range-active-border-color: hsl(205, 16%, 77%); - --range-thumb-border-color: var(--background-color); - --range-thumb-color: var(--secondary); - --range-thumb-hover-color: var(--secondary-hover); - --range-thumb-active-color: var(--primary); - --table-border-color: var(--muted-border-color); - --table-row-stripped-background-color: #f6f8f9; - --code-background-color: hsl(205, 20%, 94%); - --code-color: var(--muted-color); - --code-kbd-background-color: var(--contrast); - --code-kbd-color: var(--contrast-inverse); - --code-tag-color: hsl(330, 40%, 50%); - --code-property-color: hsl(185, 40%, 40%); - --code-value-color: hsl(40, 20%, 50%); - --code-comment-color: hsl(205, 14%, 68%); - --accordion-border-color: var(--muted-border-color); - --accordion-close-summary-color: var(--color); - --accordion-open-summary-color: var(--muted-color); - --card-background-color: var(--background-color); - --card-border-color: var(--muted-border-color); - --card-box-shadow: 0.0145rem 0.029rem 0.174rem rgba(27, 40, 50, 0.01698), - 0.0335rem 0.067rem 0.402rem rgba(27, 40, 50, 0.024), - 0.0625rem 0.125rem 0.75rem rgba(27, 40, 50, 0.03), - 0.1125rem 0.225rem 1.35rem rgba(27, 40, 50, 0.036), - 0.2085rem 0.417rem 2.502rem rgba(27, 40, 50, 0.04302), - 0.5rem 1rem 6rem rgba(27, 40, 50, 0.06), - 0 0 0 0.0625rem rgba(27, 40, 50, 0.015); - --card-sectionning-background-color: #fbfbfc; - --dropdown-background-color: #fbfbfc; - --dropdown-border-color: #e1e6eb; - --dropdown-box-shadow: var(--card-box-shadow); - --dropdown-color: var(--color); - --dropdown-hover-background-color: hsl(205, 20%, 94%); - --modal-overlay-background-color: rgba(213, 220, 226, 0.7); - --progress-background-color: hsl(205, 18%, 86%); - --progress-color: var(--primary); - --loading-spinner-opacity: 0.5; - --tooltip-background-color: var(--contrast); - --tooltip-color: var(--contrast-inverse); - --icon-checkbox: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(255, 255, 255)' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E"); - --icon-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(65, 84, 98)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E"); - --icon-chevron-button: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(255, 255, 255)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E"); - --icon-chevron-button-inverse: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(255, 255, 255)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E"); - --icon-close: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(115, 130, 140)' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'%3E%3C/line%3E%3Cline x1='6' y1='6' x2='18' y2='18'%3E%3C/line%3E%3C/svg%3E"); - --icon-date: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(65, 84, 98)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'%3E%3C/rect%3E%3Cline x1='16' y1='2' x2='16' y2='6'%3E%3C/line%3E%3Cline x1='8' y1='2' x2='8' y2='6'%3E%3C/line%3E%3Cline x1='3' y1='10' x2='21' y2='10'%3E%3C/line%3E%3C/svg%3E"); - --icon-invalid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(198, 40, 40)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cline x1='12' y1='8' x2='12' y2='12'%3E%3C/line%3E%3Cline x1='12' y1='16' x2='12.01' y2='16'%3E%3C/line%3E%3C/svg%3E"); - --icon-minus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(255, 255, 255)' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='5' y1='12' x2='19' y2='12'%3E%3C/line%3E%3C/svg%3E"); - --icon-search: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(65, 84, 98)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'%3E%3C/line%3E%3C/svg%3E"); - --icon-time: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(65, 84, 98)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cpolyline points='12 6 12 12 16 14'%3E%3C/polyline%3E%3C/svg%3E"); - --icon-valid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(56, 142, 60)' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E"); - color-scheme: light; -} -@media only screen and (prefers-color-scheme: dark) { - :root:not([data-theme]) { - --background-color: #11191f; - --color: hsl(205, 16%, 77%); - --h1-color: hsl(205, 20%, 94%); - --h2-color: #e1e6eb; - --h3-color: hsl(205, 18%, 86%); - --h4-color: #c8d1d8; - --h5-color: hsl(205, 16%, 77%); - --h6-color: #afbbc4; - --muted-color: hsl(205, 10%, 50%); - --muted-border-color: #1f2d38; - --primary: hsl(195, 85%, 41%); - --primary-hover: hsl(195, 80%, 50%); - --primary-focus: rgba(16, 149, 193, 0.25); - --primary-inverse: #fff; - --secondary: hsl(205, 15%, 41%); - --secondary-hover: hsl(205, 10%, 50%); - --secondary-focus: rgba(115, 130, 140, 0.25); - --secondary-inverse: #fff; - --contrast: hsl(205, 20%, 94%); - --contrast-hover: #fff; - --contrast-focus: rgba(115, 130, 140, 0.25); - --contrast-inverse: #000; - --mark-background-color: #d1c284; - --mark-color: #11191f; - --ins-color: #388e3c; - --del-color: #c62828; - --blockquote-border-color: var(--muted-border-color); - --blockquote-footer-color: var(--muted-color); - --button-box-shadow: 0 0 0 rgba(0, 0, 0, 0); - --button-hover-box-shadow: 0 0 0 rgba(0, 0, 0, 0); - --form-element-background-color: #11191f; - --form-element-border-color: #374956; - --form-element-color: var(--color); - --form-element-placeholder-color: var(--muted-color); - --form-element-active-background-color: var( - --form-element-background-color - ); - --form-element-active-border-color: var(--primary); - --form-element-focus-color: var(--primary-focus); - --form-element-disabled-background-color: hsl(205, 25%, 23%); - --form-element-disabled-border-color: hsl(205, 20%, 32%); - --form-element-disabled-opacity: 0.5; - --form-element-invalid-border-color: #b71c1c; - --form-element-invalid-active-border-color: #c62828; - --form-element-invalid-focus-color: rgba(198, 40, 40, 0.25); - --form-element-valid-border-color: #2e7d32; - --form-element-valid-active-border-color: #388e3c; - --form-element-valid-focus-color: rgba(56, 142, 60, 0.25); - --switch-background-color: #374956; - --switch-color: var(--primary-inverse); - --switch-checked-background-color: var(--primary); - --range-border-color: #24333e; - --range-active-border-color: hsl(205, 25%, 23%); - --range-thumb-border-color: var(--background-color); - --range-thumb-color: var(--secondary); - --range-thumb-hover-color: var(--secondary-hover); - --range-thumb-active-color: var(--primary); - --table-border-color: var(--muted-border-color); - --table-row-stripped-background-color: rgba(115, 130, 140, 0.05); - --code-background-color: #18232c; - --code-color: var(--muted-color); - --code-kbd-background-color: var(--contrast); - --code-kbd-color: var(--contrast-inverse); - --code-tag-color: hsl(330, 30%, 50%); - --code-property-color: hsl(185, 30%, 50%); - --code-value-color: hsl(40, 10%, 50%); - --code-comment-color: #4d606d; - --accordion-border-color: var(--muted-border-color); - --accordion-active-summary-color: var(--primary); - --accordion-close-summary-color: var(--color); - --accordion-open-summary-color: var(--muted-color); - --card-background-color: #141e26; - --card-border-color: var(--card-background-color); - --card-box-shadow: 0.0145rem 0.029rem 0.174rem rgba(0, 0, 0, 0.01698), - 0.0335rem 0.067rem 0.402rem rgba(0, 0, 0, 0.024), - 0.0625rem 0.125rem 0.75rem rgba(0, 0, 0, 0.03), - 0.1125rem 0.225rem 1.35rem rgba(0, 0, 0, 0.036), - 0.2085rem 0.417rem 2.502rem rgba(0, 0, 0, 0.04302), - 0.5rem 1rem 6rem rgba(0, 0, 0, 0.06), - 0 0 0 0.0625rem rgba(0, 0, 0, 0.015); - --card-sectionning-background-color: #18232c; - --dropdown-background-color: hsl(205, 30%, 15%); - --dropdown-border-color: #24333e; - --dropdown-box-shadow: var(--card-box-shadow); - --dropdown-color: var(--color); - --dropdown-hover-background-color: rgba(36, 51, 62, 0.75); - --modal-overlay-background-color: rgba(36, 51, 62, 0.8); - --progress-background-color: #24333e; - --progress-color: var(--primary); - --loading-spinner-opacity: 0.5; - --tooltip-background-color: var(--contrast); - --tooltip-color: var(--contrast-inverse); - --icon-checkbox: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(255, 255, 255)' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E"); - --icon-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(162, 175, 185)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E"); - --icon-chevron-button: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(255, 255, 255)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E"); - --icon-chevron-button-inverse: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(0, 0, 0)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E"); - --icon-close: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(115, 130, 140)' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'%3E%3C/line%3E%3Cline x1='6' y1='6' x2='18' y2='18'%3E%3C/line%3E%3C/svg%3E"); - --icon-date: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(162, 175, 185)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'%3E%3C/rect%3E%3Cline x1='16' y1='2' x2='16' y2='6'%3E%3C/line%3E%3Cline x1='8' y1='2' x2='8' y2='6'%3E%3C/line%3E%3Cline x1='3' y1='10' x2='21' y2='10'%3E%3C/line%3E%3C/svg%3E"); - --icon-invalid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(183, 28, 28)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cline x1='12' y1='8' x2='12' y2='12'%3E%3C/line%3E%3Cline x1='12' y1='16' x2='12.01' y2='16'%3E%3C/line%3E%3C/svg%3E"); - --icon-minus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(255, 255, 255)' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='5' y1='12' x2='19' y2='12'%3E%3C/line%3E%3C/svg%3E"); - --icon-search: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(162, 175, 185)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'%3E%3C/line%3E%3C/svg%3E"); - --icon-time: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(162, 175, 185)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cpolyline points='12 6 12 12 16 14'%3E%3C/polyline%3E%3C/svg%3E"); - --icon-valid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(46, 125, 50)' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E"); - color-scheme: dark; - } -} -[data-theme="dark"] { - --background-color: #11191f; - --color: hsl(205, 16%, 77%); - --h1-color: hsl(205, 20%, 94%); - --h2-color: #e1e6eb; - --h3-color: hsl(205, 18%, 86%); - --h4-color: #c8d1d8; - --h5-color: hsl(205, 16%, 77%); - --h6-color: #afbbc4; - --muted-color: hsl(205, 10%, 50%); - --muted-border-color: #1f2d38; - --primary: hsl(195, 85%, 41%); - --primary-hover: hsl(195, 80%, 50%); - --primary-focus: rgba(16, 149, 193, 0.25); - --primary-inverse: #fff; - --secondary: hsl(205, 15%, 41%); - --secondary-hover: hsl(205, 10%, 50%); - --secondary-focus: rgba(115, 130, 140, 0.25); - --secondary-inverse: #fff; - --contrast: hsl(205, 20%, 94%); - --contrast-hover: #fff; - --contrast-focus: rgba(115, 130, 140, 0.25); - --contrast-inverse: #000; - --mark-background-color: #d1c284; - --mark-color: #11191f; - --ins-color: #388e3c; - --del-color: #c62828; - --blockquote-border-color: var(--muted-border-color); - --blockquote-footer-color: var(--muted-color); - --button-box-shadow: 0 0 0 rgba(0, 0, 0, 0); - --button-hover-box-shadow: 0 0 0 rgba(0, 0, 0, 0); - --form-element-background-color: #11191f; - --form-element-border-color: #374956; - --form-element-color: var(--color); - --form-element-placeholder-color: var(--muted-color); - --form-element-active-background-color: var( - --form-element-background-color - ); - --form-element-active-border-color: var(--primary); - --form-element-focus-color: var(--primary-focus); - --form-element-disabled-background-color: hsl(205, 25%, 23%); - --form-element-disabled-border-color: hsl(205, 20%, 32%); - --form-element-disabled-opacity: 0.5; - --form-element-invalid-border-color: #b71c1c; - --form-element-invalid-active-border-color: #c62828; - --form-element-invalid-focus-color: rgba(198, 40, 40, 0.25); - --form-element-valid-border-color: #2e7d32; - --form-element-valid-active-border-color: #388e3c; - --form-element-valid-focus-color: rgba(56, 142, 60, 0.25); - --switch-background-color: #374956; - --switch-color: var(--primary-inverse); - --switch-checked-background-color: var(--primary); - --range-border-color: #24333e; - --range-active-border-color: hsl(205, 25%, 23%); - --range-thumb-border-color: var(--background-color); - --range-thumb-color: var(--secondary); - --range-thumb-hover-color: var(--secondary-hover); - --range-thumb-active-color: var(--primary); - --table-border-color: var(--muted-border-color); - --table-row-stripped-background-color: rgba(115, 130, 140, 0.05); - --code-background-color: #18232c; - --code-color: var(--muted-color); - --code-kbd-background-color: var(--contrast); - --code-kbd-color: var(--contrast-inverse); - --code-tag-color: hsl(330, 30%, 50%); - --code-property-color: hsl(185, 30%, 50%); - --code-value-color: hsl(40, 10%, 50%); - --code-comment-color: #4d606d; - --accordion-border-color: var(--muted-border-color); - --accordion-active-summary-color: var(--primary); - --accordion-close-summary-color: var(--color); - --accordion-open-summary-color: var(--muted-color); - --card-background-color: #141e26; - --card-border-color: var(--card-background-color); - --card-box-shadow: 0.0145rem 0.029rem 0.174rem rgba(0, 0, 0, 0.01698), - 0.0335rem 0.067rem 0.402rem rgba(0, 0, 0, 0.024), - 0.0625rem 0.125rem 0.75rem rgba(0, 0, 0, 0.03), - 0.1125rem 0.225rem 1.35rem rgba(0, 0, 0, 0.036), - 0.2085rem 0.417rem 2.502rem rgba(0, 0, 0, 0.04302), - 0.5rem 1rem 6rem rgba(0, 0, 0, 0.06), - 0 0 0 0.0625rem rgba(0, 0, 0, 0.015); - --card-sectionning-background-color: #18232c; - --dropdown-background-color: hsl(205, 30%, 15%); - --dropdown-border-color: #24333e; - --dropdown-box-shadow: var(--card-box-shadow); - --dropdown-color: var(--color); - --dropdown-hover-background-color: rgba(36, 51, 62, 0.75); - --modal-overlay-background-color: rgba(36, 51, 62, 0.8); - --progress-background-color: #24333e; - --progress-color: var(--primary); - --loading-spinner-opacity: 0.5; - --tooltip-background-color: var(--contrast); - --tooltip-color: var(--contrast-inverse); - --icon-checkbox: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(255, 255, 255)' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E"); - --icon-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(162, 175, 185)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E"); - --icon-chevron-button: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(255, 255, 255)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E"); - --icon-chevron-button-inverse: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(0, 0, 0)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E"); - --icon-close: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(115, 130, 140)' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'%3E%3C/line%3E%3Cline x1='6' y1='6' x2='18' y2='18'%3E%3C/line%3E%3C/svg%3E"); - --icon-date: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(162, 175, 185)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'%3E%3C/rect%3E%3Cline x1='16' y1='2' x2='16' y2='6'%3E%3C/line%3E%3Cline x1='8' y1='2' x2='8' y2='6'%3E%3C/line%3E%3Cline x1='3' y1='10' x2='21' y2='10'%3E%3C/line%3E%3C/svg%3E"); - --icon-invalid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(183, 28, 28)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cline x1='12' y1='8' x2='12' y2='12'%3E%3C/line%3E%3Cline x1='12' y1='16' x2='12.01' y2='16'%3E%3C/line%3E%3C/svg%3E"); - --icon-minus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(255, 255, 255)' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='5' y1='12' x2='19' y2='12'%3E%3C/line%3E%3C/svg%3E"); - --icon-search: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(162, 175, 185)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'%3E%3C/line%3E%3C/svg%3E"); - --icon-time: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(162, 175, 185)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cpolyline points='12 6 12 12 16 14'%3E%3C/polyline%3E%3C/svg%3E"); - --icon-valid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(46, 125, 50)' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E"); - color-scheme: dark; -} -[type="checkbox"], -[type="radio"], -[type="range"], -progress { - accent-color: var(--primary); -} -*, -::after, -::before { - box-sizing: border-box; - background-repeat: no-repeat; -} -::after, -::before { - text-decoration: inherit; - vertical-align: inherit; -} -:where(:root) { - -webkit-tap-highlight-color: transparent; - -webkit-text-size-adjust: 100%; - -moz-text-size-adjust: 100%; - text-size-adjust: 100%; - background-color: var(--background-color); - color: var(--color); - font-weight: var(--font-weight); - font-size: var(--font-size); - line-height: var(--line-height); - font-family: var(--font-family); - text-rendering: optimizeLegibility; - overflow-wrap: break-word; - cursor: default; - -moz-tab-size: 4; - -o-tab-size: 4; - tab-size: 4; -} -main { - display: block; -} -body { - width: 100%; - margin: 0; -} -body > footer, -body > header, -body > main { - width: 100%; - margin-right: auto; - margin-left: auto; - padding: var(--block-spacing-vertical) 0; -} -.container, -.container-fluid { - width: 100%; - margin-right: auto; - margin-left: auto; - padding-right: var(--spacing); - padding-left: var(--spacing); -} -@media (min-width: 576px) { - .container { - max-width: 510px; - padding-right: 0; - padding-left: 0; - } -} -@media (min-width: 768px) { - .container { - max-width: 700px; - } -} -@media (min-width: 992px) { - .container { - max-width: 920px; - } -} -@media (min-width: 1200px) { - .container { - max-width: 1130px; - } -} -section { - margin-bottom: var(--block-spacing-vertical); -} -.grid { - grid-column-gap: var(--grid-spacing-horizontal); - grid-row-gap: var(--grid-spacing-vertical); - display: grid; - grid-template-columns: 1fr; - margin: 0; -} -@media (min-width: 992px) { - .grid { - grid-template-columns: repeat(auto-fit, minmax(0%, 1fr)); - } -} -.grid > * { - min-width: 0; -} -figure { - display: block; - margin: 0; - padding: 0; - overflow-x: auto; -} -figure figcaption { - padding: calc(var(--spacing) * 0.5) 0; - color: var(--muted-color); -} -b, -strong { - font-weight: bolder; -} -sub, -sup { - position: relative; - font-size: 0.75em; - line-height: 0; - vertical-align: baseline; -} -sub { - bottom: -0.25em; -} -sup { - top: -0.5em; -} -address, -blockquote, -dl, -figure, -form, -ol, -p, -pre, -table, -ul { - margin-top: 0; - margin-bottom: var(--typography-spacing-vertical); - color: var(--color); - font-style: normal; - font-weight: var(--font-weight); - font-size: var(--font-size); -} -[role="link"], -a { - --color: var(--primary); - --background-color: transparent; - outline: 0; - background-color: var(--background-color); - color: var(--color); - -webkit-text-decoration: var(--text-decoration); - text-decoration: var(--text-decoration); - transition: - background-color var(--transition), - color var(--transition), - box-shadow var(--transition), - -webkit-text-decoration var(--transition); - transition: - background-color var(--transition), - color var(--transition), - text-decoration var(--transition), - box-shadow var(--transition); - transition: - background-color var(--transition), - color var(--transition), - text-decoration var(--transition), - box-shadow var(--transition), - -webkit-text-decoration var(--transition); -} -[role="link"]:is([aria-current], :hover, :active, :focus), -a:is([aria-current], :hover, :active, :focus) { - --color: var(--primary-hover); - --text-decoration: underline; -} -[role="link"]:focus, -a:focus { - --background-color: var(--primary-focus); -} -[role="link"].secondary, -a.secondary { - --color: var(--secondary); -} -[role="link"].secondary:is([aria-current], :hover, :active, :focus), -a.secondary:is([aria-current], :hover, :active, :focus) { - --color: var(--secondary-hover); -} -[role="link"].secondary:focus, -a.secondary:focus { - --background-color: var(--secondary-focus); -} -[role="link"].contrast, -a.contrast { - --color: var(--contrast); -} -[role="link"].contrast:is([aria-current], :hover, :active, :focus), -a.contrast:is([aria-current], :hover, :active, :focus) { - --color: var(--contrast-hover); -} -[role="link"].contrast:focus, -a.contrast:focus { - --background-color: var(--contrast-focus); -} -h1, -h2, -h3, -h4, -h5, -h6 { - margin-top: 0; - margin-bottom: var(--typography-spacing-vertical); - color: var(--color); - font-weight: var(--font-weight); - font-size: var(--font-size); - font-family: var(--font-family); -} -h1 { - --color: var(--h1-color); -} -h2 { - --color: var(--h2-color); -} -h3 { - --color: var(--h3-color); -} -h4 { - --color: var(--h4-color); -} -h5 { - --color: var(--h5-color); -} -h6 { - --color: var(--h6-color); -} -:where(address, blockquote, dl, figure, form, ol, p, pre, table, ul) - ~ :is(h1, h2, h3, h4, h5, h6) { - margin-top: var(--typography-spacing-vertical); -} -.headings, -hgroup { - margin-bottom: var(--typography-spacing-vertical); -} -.headings > *, -hgroup > * { - margin-bottom: 0; -} -.headings > :last-child, -hgroup > :last-child { - --color: var(--muted-color); - --font-weight: unset; - font-size: 1rem; - font-family: unset; -} -p { - margin-bottom: var(--typography-spacing-vertical); -} -small { - font-size: var(--font-size); -} -:where(dl, ol, ul) { - padding-right: 0; - padding-left: var(--spacing); - padding-inline-start: var(--spacing); - padding-inline-end: 0; -} -:where(dl, ol, ul) li { - margin-bottom: calc(var(--typography-spacing-vertical) * 0.25); -} -:where(dl, ol, ul) :is(dl, ol, ul) { - margin: 0; - margin-top: calc(var(--typography-spacing-vertical) * 0.25); -} -ul li { - list-style: square; -} -mark { - padding: 0.125rem 0.25rem; - background-color: var(--mark-background-color); - color: var(--mark-color); - vertical-align: baseline; -} -blockquote { - display: block; - margin: var(--typography-spacing-vertical) 0; - padding: var(--spacing); - border-right: none; - border-left: 0.25rem solid var(--blockquote-border-color); - border-inline-start: 0.25rem solid var(--blockquote-border-color); - border-inline-end: none; -} -blockquote footer { - margin-top: calc(var(--typography-spacing-vertical) * 0.5); - color: var(--blockquote-footer-color); -} -abbr[title] { - border-bottom: 1px dotted; - text-decoration: none; - cursor: help; -} -ins { - color: var(--ins-color); - text-decoration: none; -} -del { - color: var(--del-color); -} -::-moz-selection { - background-color: var(--primary-focus); -} -::selection { - background-color: var(--primary-focus); -} -:where(audio, canvas, iframe, img, svg, video) { - vertical-align: middle; -} -audio, -video { - display: inline-block; -} -audio:not([controls]) { - display: none; - height: 0; -} -:where(iframe) { - border-style: none; -} -img { - max-width: 100%; - height: auto; - border-style: none; -} -:where(svg:not([fill])) { - fill: currentColor; -} -svg:not(:root) { - overflow: hidden; -} -button { - margin: 0; - overflow: visible; - font-family: inherit; - text-transform: none; -} -[type="button"], -[type="reset"], -[type="submit"], -button { - -webkit-appearance: button; -} -button { - display: block; - width: 100%; - margin-bottom: var(--spacing); -} -[role="button"] { - display: inline-block; - text-decoration: none; -} -[role="button"], -button, -input[type="button"], -input[type="reset"], -input[type="submit"] { - --background-color: var(--primary); - --border-color: var(--primary); - --color: var(--primary-inverse); - --box-shadow: var(--button-box-shadow, 0 0 0 rgba(0, 0, 0, 0)); - padding: var(--form-element-spacing-vertical) - var(--form-element-spacing-horizontal); - border: var(--border-width) solid var(--border-color); - border-radius: var(--border-radius); - outline: 0; - background-color: var(--background-color); - box-shadow: var(--box-shadow); - color: var(--color); - font-weight: var(--font-weight); - font-size: 1rem; - line-height: var(--line-height); - text-align: center; - cursor: pointer; - transition: - background-color var(--transition), - border-color var(--transition), - color var(--transition), - box-shadow var(--transition); -} -[role="button"]:is([aria-current], :hover, :active, :focus), -button:is([aria-current], :hover, :active, :focus), -input[type="button"]:is([aria-current], :hover, :active, :focus), -input[type="reset"]:is([aria-current], :hover, :active, :focus), -input[type="submit"]:is([aria-current], :hover, :active, :focus) { - --background-color: var(--primary-hover); - --border-color: var(--primary-hover); - --box-shadow: var(--button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0)); - --color: var(--primary-inverse); -} -[role="button"]:focus, -button:focus, -input[type="button"]:focus, -input[type="reset"]:focus, -input[type="submit"]:focus { - --box-shadow: var(--button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0)), - 0 0 0 var(--outline-width) var(--primary-focus); -} -:is( - button, - input[type="submit"], - input[type="button"], - [role="button"] - ).secondary, -input[type="reset"] { - --background-color: var(--secondary); - --border-color: var(--secondary); - --color: var(--secondary-inverse); - cursor: pointer; -} -:is( - button, - input[type="submit"], - input[type="button"], - [role="button"] - ).secondary:is([aria-current], :hover, :active, :focus), -input[type="reset"]:is([aria-current], :hover, :active, :focus) { - --background-color: var(--secondary-hover); - --border-color: var(--secondary-hover); - --color: var(--secondary-inverse); -} -:is( - button, - input[type="submit"], - input[type="button"], - [role="button"] - ).secondary:focus, -input[type="reset"]:focus { - --box-shadow: var(--button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0)), - 0 0 0 var(--outline-width) var(--secondary-focus); -} -:is( - button, - input[type="submit"], - input[type="button"], - [role="button"] - ).contrast { - --background-color: var(--contrast); - --border-color: var(--contrast); - --color: var(--contrast-inverse); -} -:is( - button, - input[type="submit"], - input[type="button"], - [role="button"] - ).contrast:is([aria-current], :hover, :active, :focus) { - --background-color: var(--contrast-hover); - --border-color: var(--contrast-hover); - --color: var(--contrast-inverse); -} -:is( - button, - input[type="submit"], - input[type="button"], - [role="button"] - ).contrast:focus { - --box-shadow: var(--button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0)), - 0 0 0 var(--outline-width) var(--contrast-focus); -} -:is( - button, - input[type="submit"], - input[type="button"], - [role="button"] - ).outline, -input[type="reset"].outline { - --background-color: transparent; - --color: var(--primary); -} -:is( - button, - input[type="submit"], - input[type="button"], - [role="button"] - ).outline:is([aria-current], :hover, :active, :focus), -input[type="reset"].outline:is([aria-current], :hover, :active, :focus) { - --background-color: transparent; - --color: var(--primary-hover); -} -:is( - button, - input[type="submit"], - input[type="button"], - [role="button"] - ).outline.secondary, -input[type="reset"].outline { - --color: var(--secondary); -} -:is( - button, - input[type="submit"], - input[type="button"], - [role="button"] - ).outline.secondary:is([aria-current], :hover, :active, :focus), -input[type="reset"].outline:is([aria-current], :hover, :active, :focus) { - --color: var(--secondary-hover); -} -:is( - button, - input[type="submit"], - input[type="button"], - [role="button"] - ).outline.contrast { - --color: var(--contrast); -} -:is( - button, - input[type="submit"], - input[type="button"], - [role="button"] - ).outline.contrast:is([aria-current], :hover, :active, :focus) { - --color: var(--contrast-hover); -} -:where( - button, - [type="submit"], - [type="button"], - [type="reset"], - [role="button"] - )[disabled], -:where(fieldset[disabled]) - :is( - button, - [type="submit"], - [type="button"], - [type="reset"], - [role="button"] - ), -a[role="button"]:not([href]) { - opacity: 0.5; - pointer-events: none; -} -input, -optgroup, -select, -textarea { - margin: 0; - font-size: 1rem; - line-height: var(--line-height); - font-family: inherit; - letter-spacing: inherit; -} -input { - overflow: visible; -} -select { - text-transform: none; -} -legend { - max-width: 100%; - padding: 0; - color: inherit; - white-space: normal; -} -textarea { - overflow: auto; -} -[type="checkbox"], -[type="radio"] { - padding: 0; -} -::-webkit-inner-spin-button, -::-webkit-outer-spin-button { - height: auto; -} -[type="search"] { - -webkit-appearance: textfield; - outline-offset: -2px; -} -[type="search"]::-webkit-search-decoration { - -webkit-appearance: none; -} -::-webkit-file-upload-button { - -webkit-appearance: button; - font: inherit; -} -::-moz-focus-inner { - padding: 0; - border-style: none; -} -:-moz-focusring { - outline: 0; -} -:-moz-ui-invalid { - box-shadow: none; -} -::-ms-expand { - display: none; -} -[type="file"], -[type="range"] { - padding: 0; - border-width: 0; -} -input:not([type="checkbox"], [type="radio"], [type="range"]) { - height: calc( - 1rem * var(--line-height) + var(--form-element-spacing-vertical) * 2 + - var(--border-width) * 2 - ); -} -fieldset { - margin: 0; - margin-bottom: var(--spacing); - padding: 0; - border: 0; -} -fieldset legend, -label { - display: block; - margin-bottom: calc(var(--spacing) * 0.25); - font-weight: var(--form-label-font-weight, var(--font-weight)); -} -input:not([type="checkbox"], [type="radio"]), -select, -textarea { - width: 100%; -} -input:not([type="checkbox"], [type="radio"], [type="range"], [type="file"]), -select, -textarea { - -webkit-appearance: none; - -moz-appearance: none; - appearance: none; - padding: var(--form-element-spacing-vertical) - var(--form-element-spacing-horizontal); -} -input, -select, -textarea { - --background-color: var(--form-element-background-color); - --border-color: var(--form-element-border-color); - --color: var(--form-element-color); - --box-shadow: none; - border: var(--border-width) solid var(--border-color); - border-radius: var(--border-radius); - outline: 0; - background-color: var(--background-color); - box-shadow: var(--box-shadow); - color: var(--color); - font-weight: var(--font-weight); - transition: - background-color var(--transition), - border-color var(--transition), - color var(--transition), - box-shadow var(--transition); -} -:where(select, textarea):is(:active, :focus), -input:not( - [type="submit"], - [type="button"], - [type="reset"], - [type="checkbox"], - [type="radio"], - [readonly] - ):is(:active, :focus) { - --background-color: var(--form-element-active-background-color); -} -:where(select, textarea):is(:active, :focus), -input:not( - [type="submit"], - [type="button"], - [type="reset"], - [role="switch"], - [readonly] - ):is(:active, :focus) { - --border-color: var(--form-element-active-border-color); -} -input:not( - [type="submit"], - [type="button"], - [type="reset"], - [type="range"], - [type="file"], - [readonly] - ):focus, -select:focus, -textarea:focus { - --box-shadow: 0 0 0 var(--outline-width) var(--form-element-focus-color); -} -:where(fieldset[disabled]) - :is( - input:not([type="submit"], [type="button"], [type="reset"]), - select, - textarea - ), -input:not([type="submit"], [type="button"], [type="reset"])[disabled], -select[disabled], -textarea[disabled] { - --background-color: var(--form-element-disabled-background-color); - --border-color: var(--form-element-disabled-border-color); - opacity: var(--form-element-disabled-opacity); - pointer-events: none; -} -:where(input, select, textarea):not( - [type="checkbox"], - [type="radio"], - [type="date"], - [type="datetime-local"], - [type="month"], - [type="time"], - [type="week"] - )[aria-invalid] { - padding-right: calc( - var(--form-element-spacing-horizontal) + 1.5rem - ) !important; - padding-left: var(--form-element-spacing-horizontal); - padding-inline-start: var(--form-element-spacing-horizontal) !important; - padding-inline-end: calc( - var(--form-element-spacing-horizontal) + 1.5rem - ) !important; - background-position: center right 0.75rem; - background-size: 1rem auto; - background-repeat: no-repeat; -} -:where(input, select, textarea):not( - [type="checkbox"], - [type="radio"], - [type="date"], - [type="datetime-local"], - [type="month"], - [type="time"], - [type="week"] - )[aria-invalid="false"] { - background-image: var(--icon-valid); -} -:where(input, select, textarea):not( - [type="checkbox"], - [type="radio"], - [type="date"], - [type="datetime-local"], - [type="month"], - [type="time"], - [type="week"] - )[aria-invalid="true"] { - background-image: var(--icon-invalid); -} -:where(input, select, textarea)[aria-invalid="false"] { - --border-color: var(--form-element-valid-border-color); -} -:where(input, select, textarea)[aria-invalid="false"]:is(:active, :focus) { - --border-color: var(--form-element-valid-active-border-color) !important; - --box-shadow: 0 0 0 var(--outline-width) - var(--form-element-valid-focus-color) !important; -} -:where(input, select, textarea)[aria-invalid="true"] { - --border-color: var(--form-element-invalid-border-color); -} -:where(input, select, textarea)[aria-invalid="true"]:is(:active, :focus) { - --border-color: var(--form-element-invalid-active-border-color) !important; - --box-shadow: 0 0 0 var(--outline-width) - var(--form-element-invalid-focus-color) !important; -} -[dir="rtl"] - :where(input, select, textarea):not([type="checkbox"], [type="radio"]):is( - [aria-invalid], - [aria-invalid="true"], - [aria-invalid="false"] - ) { - background-position: center left 0.75rem; -} -input::-webkit-input-placeholder, -input::placeholder, -select:invalid, -textarea::-webkit-input-placeholder, -textarea::placeholder { - color: var(--form-element-placeholder-color); - opacity: 1; -} -input:not([type="checkbox"], [type="radio"]), -select, -textarea { - margin-bottom: var(--spacing); -} -select::-ms-expand { - border: 0; - background-color: transparent; -} -select:not([multiple], [size]) { - padding-right: calc(var(--form-element-spacing-horizontal) + 1.5rem); - padding-left: var(--form-element-spacing-horizontal); - padding-inline-start: var(--form-element-spacing-horizontal); - padding-inline-end: calc(var(--form-element-spacing-horizontal) + 1.5rem); - background-image: var(--icon-chevron); - background-position: center right 0.75rem; - background-size: 1rem auto; - background-repeat: no-repeat; -} -[dir="rtl"] select:not([multiple], [size]) { - background-position: center left 0.75rem; -} -:where(input, select, textarea, .grid) + small { - display: block; - width: 100%; - margin-top: calc(var(--spacing) * -0.75); - margin-bottom: var(--spacing); - color: var(--muted-color); -} -label > :where(input, select, textarea) { - margin-top: calc(var(--spacing) * 0.25); -} -[type="checkbox"], -[type="radio"] { - -webkit-appearance: none; - -moz-appearance: none; - appearance: none; - width: 1.25em; - height: 1.25em; - margin-top: -0.125em; - margin-right: 0.375em; - margin-left: 0; - margin-inline-start: 0; - margin-inline-end: 0.375em; - border-width: var(--border-width); - font-size: inherit; - vertical-align: middle; - cursor: pointer; -} -[type="checkbox"]::-ms-check, -[type="radio"]::-ms-check { - display: none; -} -[type="checkbox"]:checked, -[type="checkbox"]:checked:active, -[type="checkbox"]:checked:focus, -[type="radio"]:checked, -[type="radio"]:checked:active, -[type="radio"]:checked:focus { - --background-color: var(--primary); - --border-color: var(--primary); - background-image: var(--icon-checkbox); - background-position: center; - background-size: 0.75em auto; - background-repeat: no-repeat; -} -[type="checkbox"] ~ label, -[type="radio"] ~ label { - display: inline-block; - margin-right: 0.375em; - margin-bottom: 0; - cursor: pointer; -} -[type="checkbox"]:indeterminate { - --background-color: var(--primary); - --border-color: var(--primary); - background-image: var(--icon-minus); - background-position: center; - background-size: 0.75em auto; - background-repeat: no-repeat; -} -[type="radio"] { - border-radius: 50%; -} -[type="radio"]:checked, -[type="radio"]:checked:active, -[type="radio"]:checked:focus { - --background-color: var(--primary-inverse); - border-width: 0.35em; - background-image: none; -} -[type="checkbox"][role="switch"] { - --background-color: var(--switch-background-color); - --border-color: var(--switch-background-color); - --color: var(--switch-color); - width: 2.25em; - height: 1.25em; - border: var(--border-width) solid var(--border-color); - border-radius: 1.25em; - background-color: var(--background-color); - line-height: 1.25em; -} -[type="checkbox"][role="switch"]:focus { - --background-color: var(--switch-background-color); - --border-color: var(--switch-background-color); -} -[type="checkbox"][role="switch"]:checked { - --background-color: var(--switch-checked-background-color); - --border-color: var(--switch-checked-background-color); -} -[type="checkbox"][role="switch"]:before { - display: block; - width: calc(1.25em - (var(--border-width) * 2)); - height: 100%; - border-radius: 50%; - background-color: var(--color); - content: ""; - transition: margin 0.1s ease-in-out; -} -[type="checkbox"][role="switch"]:checked { - background-image: none; -} -[type="checkbox"][role="switch"]:checked::before { - margin-left: calc(1.125em - var(--border-width)); - margin-inline-start: calc(1.125em - var(--border-width)); -} -[type="checkbox"]:checked[aria-invalid="false"], -[type="checkbox"][aria-invalid="false"], -[type="checkbox"][role="switch"]:checked[aria-invalid="false"], -[type="checkbox"][role="switch"][aria-invalid="false"], -[type="radio"]:checked[aria-invalid="false"], -[type="radio"][aria-invalid="false"] { - --border-color: var(--form-element-valid-border-color); -} -[type="checkbox"]:checked[aria-invalid="true"], -[type="checkbox"][aria-invalid="true"], -[type="checkbox"][role="switch"]:checked[aria-invalid="true"], -[type="checkbox"][role="switch"][aria-invalid="true"], -[type="radio"]:checked[aria-invalid="true"], -[type="radio"][aria-invalid="true"] { - --border-color: var(--form-element-invalid-border-color); -} -[type="color"]::-webkit-color-swatch-wrapper { - padding: 0; -} -[type="color"]::-moz-focus-inner { - padding: 0; -} -[type="color"]::-webkit-color-swatch { - border: 0; - border-radius: calc(var(--border-radius) * 0.5); -} -[type="color"]::-moz-color-swatch { - border: 0; - border-radius: calc(var(--border-radius) * 0.5); -} -input:not([type="checkbox"], [type="radio"], [type="range"], [type="file"]):is( - [type="date"], - [type="datetime-local"], - [type="month"], - [type="time"], - [type="week"] - ) { - --icon-position: 0.75rem; - --icon-width: 1rem; - padding-right: calc(var(--icon-width) + var(--icon-position)); - background-image: var(--icon-date); - background-position: center right var(--icon-position); - background-size: var(--icon-width) auto; - background-repeat: no-repeat; -} -input:not( - [type="checkbox"], - [type="radio"], - [type="range"], - [type="file"] - )[type="time"] { - background-image: var(--icon-time); -} -[type="date"]::-webkit-calendar-picker-indicator, -[type="datetime-local"]::-webkit-calendar-picker-indicator, -[type="month"]::-webkit-calendar-picker-indicator, -[type="time"]::-webkit-calendar-picker-indicator, -[type="week"]::-webkit-calendar-picker-indicator { - width: var(--icon-width); - margin-right: calc(var(--icon-width) * -1); - margin-left: var(--icon-position); - opacity: 0; -} -[dir="rtl"] - :is( - [type="date"], - [type="datetime-local"], - [type="month"], - [type="time"], - [type="week"] - ) { - text-align: right; -} -@-moz-document url-prefix() { - [type="date"], - [type="datetime-local"], - [type="month"], - [type="time"], - [type="week"] { - padding-right: var(--form-element-spacing-horizontal) !important; - background-image: none !important; - } -} -[type="file"] { - --color: var(--muted-color); - padding: calc(var(--form-element-spacing-vertical) * 0.5) 0; - border: 0; - border-radius: 0; - background: 0 0; -} -[type="file"]::file-selector-button { - --background-color: var(--secondary); - --border-color: var(--secondary); - --color: var(--secondary-inverse); - margin-right: calc(var(--spacing) / 2); - margin-left: 0; - margin-inline-start: 0; - margin-inline-end: calc(var(--spacing) / 2); - padding: calc(var(--form-element-spacing-vertical) * 0.5) - calc(var(--form-element-spacing-horizontal) * 0.5); - border: var(--border-width) solid var(--border-color); - border-radius: var(--border-radius); - outline: 0; - background-color: var(--background-color); - box-shadow: var(--box-shadow); - color: var(--color); - font-weight: var(--font-weight); - font-size: 1rem; - line-height: var(--line-height); - text-align: center; - cursor: pointer; - transition: - background-color var(--transition), - border-color var(--transition), - color var(--transition), - box-shadow var(--transition); -} -[type="file"]::file-selector-button:is(:hover, :active, :focus) { - --background-color: var(--secondary-hover); - --border-color: var(--secondary-hover); -} -[type="file"]::-webkit-file-upload-button { - --background-color: var(--secondary); - --border-color: var(--secondary); - --color: var(--secondary-inverse); - margin-right: calc(var(--spacing) / 2); - margin-left: 0; - margin-inline-start: 0; - margin-inline-end: calc(var(--spacing) / 2); - padding: calc(var(--form-element-spacing-vertical) * 0.5) - calc(var(--form-element-spacing-horizontal) * 0.5); - border: var(--border-width) solid var(--border-color); - border-radius: var(--border-radius); - outline: 0; - background-color: var(--background-color); - box-shadow: var(--box-shadow); - color: var(--color); - font-weight: var(--font-weight); - font-size: 1rem; - line-height: var(--line-height); - text-align: center; - cursor: pointer; - -webkit-transition: - background-color var(--transition), - border-color var(--transition), - color var(--transition), - box-shadow var(--transition); - transition: - background-color var(--transition), - border-color var(--transition), - color var(--transition), - box-shadow var(--transition); -} -[type="file"]::-webkit-file-upload-button:is(:hover, :active, :focus) { - --background-color: var(--secondary-hover); - --border-color: var(--secondary-hover); -} -[type="file"]::-ms-browse { - --background-color: var(--secondary); - --border-color: var(--secondary); - --color: var(--secondary-inverse); - margin-right: calc(var(--spacing) / 2); - margin-left: 0; - margin-inline-start: 0; - margin-inline-end: calc(var(--spacing) / 2); - padding: calc(var(--form-element-spacing-vertical) * 0.5) - calc(var(--form-element-spacing-horizontal) * 0.5); - border: var(--border-width) solid var(--border-color); - border-radius: var(--border-radius); - outline: 0; - background-color: var(--background-color); - box-shadow: var(--box-shadow); - color: var(--color); - font-weight: var(--font-weight); - font-size: 1rem; - line-height: var(--line-height); - text-align: center; - cursor: pointer; - -ms-transition: - background-color var(--transition), - border-color var(--transition), - color var(--transition), - box-shadow var(--transition); - transition: - background-color var(--transition), - border-color var(--transition), - color var(--transition), - box-shadow var(--transition); -} -[type="file"]::-ms-browse:is(:hover, :active, :focus) { - --background-color: var(--secondary-hover); - --border-color: var(--secondary-hover); -} -[type="range"] { - -webkit-appearance: none; - -moz-appearance: none; - appearance: none; - width: 100%; - height: 1.25rem; - background: 0 0; -} -[type="range"]::-webkit-slider-runnable-track { - width: 100%; - height: 0.25rem; - border-radius: var(--border-radius); - background-color: var(--range-border-color); - -webkit-transition: - background-color var(--transition), - box-shadow var(--transition); - transition: - background-color var(--transition), - box-shadow var(--transition); -} -[type="range"]::-moz-range-track { - width: 100%; - height: 0.25rem; - border-radius: var(--border-radius); - background-color: var(--range-border-color); - -moz-transition: - background-color var(--transition), - box-shadow var(--transition); - transition: - background-color var(--transition), - box-shadow var(--transition); -} -[type="range"]::-ms-track { - width: 100%; - height: 0.25rem; - border-radius: var(--border-radius); - background-color: var(--range-border-color); - -ms-transition: - background-color var(--transition), - box-shadow var(--transition); - transition: - background-color var(--transition), - box-shadow var(--transition); -} -[type="range"]::-webkit-slider-thumb { - -webkit-appearance: none; - width: 1.25rem; - height: 1.25rem; - margin-top: -0.5rem; - border: 2px solid var(--range-thumb-border-color); - border-radius: 50%; - background-color: var(--range-thumb-color); - cursor: pointer; - -webkit-transition: - background-color var(--transition), - transform var(--transition); - transition: - background-color var(--transition), - transform var(--transition); -} -[type="range"]::-moz-range-thumb { - -webkit-appearance: none; - width: 1.25rem; - height: 1.25rem; - margin-top: -0.5rem; - border: 2px solid var(--range-thumb-border-color); - border-radius: 50%; - background-color: var(--range-thumb-color); - cursor: pointer; - -moz-transition: - background-color var(--transition), - transform var(--transition); - transition: - background-color var(--transition), - transform var(--transition); -} -[type="range"]::-ms-thumb { - -webkit-appearance: none; - width: 1.25rem; - height: 1.25rem; - margin-top: -0.5rem; - border: 2px solid var(--range-thumb-border-color); - border-radius: 50%; - background-color: var(--range-thumb-color); - cursor: pointer; - -ms-transition: - background-color var(--transition), - transform var(--transition); - transition: - background-color var(--transition), - transform var(--transition); -} -[type="range"]:focus, -[type="range"]:hover { - --range-border-color: var(--range-active-border-color); - --range-thumb-color: var(--range-thumb-hover-color); -} -[type="range"]:active { - --range-thumb-color: var(--range-thumb-active-color); -} -[type="range"]:active::-webkit-slider-thumb { - transform: scale(1.25); -} -[type="range"]:active::-moz-range-thumb { - transform: scale(1.25); -} -[type="range"]:active::-ms-thumb { - transform: scale(1.25); -} -input:not( - [type="checkbox"], - [type="radio"], - [type="range"], - [type="file"] - )[type="search"] { - padding-inline-start: calc( - var(--form-element-spacing-horizontal) + 1.75rem - ); - border-radius: 5rem; - background-image: var(--icon-search); - background-position: center left 1.125rem; - background-size: 1rem auto; - background-repeat: no-repeat; -} -input:not( - [type="checkbox"], - [type="radio"], - [type="range"], - [type="file"] - )[type="search"][aria-invalid] { - padding-inline-start: calc( - var(--form-element-spacing-horizontal) + 1.75rem - ) !important; - background-position: - center left 1.125rem, - center right 0.75rem; -} -input:not( - [type="checkbox"], - [type="radio"], - [type="range"], - [type="file"] - )[type="search"][aria-invalid="false"] { - background-image: var(--icon-search), var(--icon-valid); -} -input:not( - [type="checkbox"], - [type="radio"], - [type="range"], - [type="file"] - )[type="search"][aria-invalid="true"] { - background-image: var(--icon-search), var(--icon-invalid); -} -[type="search"]::-webkit-search-cancel-button { - -webkit-appearance: none; - display: none; -} -[dir="rtl"] - :where(input):not( - [type="checkbox"], - [type="radio"], - [type="range"], - [type="file"] - )[type="search"] { - background-position: center right 1.125rem; -} -[dir="rtl"] - :where(input):not( - [type="checkbox"], - [type="radio"], - [type="range"], - [type="file"] - )[type="search"][aria-invalid] { - background-position: - center right 1.125rem, - center left 0.75rem; -} -:where(table) { - width: 100%; - border-collapse: collapse; - border-spacing: 0; - text-indent: 0; -} -td, -th { - padding: calc(var(--spacing) / 2) var(--spacing); - border-bottom: var(--border-width) solid var(--table-border-color); - color: var(--color); - font-weight: var(--font-weight); - font-size: var(--font-size); - text-align: left; - text-align: start; -} -tfoot td, -tfoot th { - border-top: var(--border-width) solid var(--table-border-color); - border-bottom: 0; -} -table[role="grid"] tbody tr:nth-child(odd) { - background-color: var(--table-row-stripped-background-color); -} -code, -kbd, -pre, -samp { - font-size: 0.875em; - font-family: var(--font-family); -} -pre { - -ms-overflow-style: scrollbar; - overflow: auto; -} -code, -kbd, -pre { - border-radius: var(--border-radius); - background: var(--code-background-color); - color: var(--code-color); - font-weight: var(--font-weight); - line-height: initial; -} -code, -kbd { - display: inline-block; - padding: 0.375rem 0.5rem; -} -pre { - display: block; - margin-bottom: var(--spacing); - overflow-x: auto; -} -pre > code { - display: block; - padding: var(--spacing); - background: 0 0; - font-size: 14px; - line-height: var(--line-height); -} -code b { - color: var(--code-tag-color); - font-weight: var(--font-weight); -} -code i { - color: var(--code-property-color); - font-style: normal; -} -code u { - color: var(--code-value-color); - text-decoration: none; -} -code em { - color: var(--code-comment-color); - font-style: normal; -} -kbd { - background-color: var(--code-kbd-background-color); - color: var(--code-kbd-color); - vertical-align: baseline; -} -hr { - height: 0; - border: 0; - border-top: 1px solid var(--muted-border-color); - color: inherit; -} -[hidden], -template { - display: none !important; -} -canvas { - display: inline-block; -} -details { - display: block; - margin-bottom: var(--spacing); - padding-bottom: var(--spacing); - border-bottom: var(--border-width) solid var(--accordion-border-color); -} -details summary { - line-height: 1rem; - list-style-type: none; - cursor: pointer; - transition: color var(--transition); -} -details summary:not([role]) { - color: var(--accordion-close-summary-color); -} -details summary::-webkit-details-marker { - display: none; -} -details summary::marker { - display: none; -} -details summary::-moz-list-bullet { - list-style-type: none; -} -details summary::after { - display: block; - width: 1rem; - height: 1rem; - margin-inline-start: calc(var(--spacing, 1rem) * 0.5); - float: right; - transform: rotate(-90deg); - background-image: var(--icon-chevron); - background-position: right center; - background-size: 1rem auto; - background-repeat: no-repeat; - content: ""; - transition: transform var(--transition); -} -details summary:focus { - outline: 0; -} -details summary:focus:not([role="button"]) { - color: var(--accordion-active-summary-color); -} -details summary[role="button"] { - width: 100%; - text-align: left; -} -details summary[role="button"]::after { - height: calc(1rem * var(--line-height, 1.5)); - background-image: var(--icon-chevron-button); -} -details summary[role="button"]:not(.outline).contrast::after { - background-image: var(--icon-chevron-button-inverse); -} -details[open] > summary { - margin-bottom: calc(var(--spacing)); -} -details[open] > summary:not([role]):not(:focus) { - color: var(--accordion-open-summary-color); -} -details[open] > summary::after { - transform: rotate(0); -} -[dir="rtl"] details summary { - text-align: right; -} -[dir="rtl"] details summary::after { - float: left; - background-position: left center; -} -article { - margin: var(--block-spacing-vertical) 0; - padding: var(--block-spacing-vertical) var(--block-spacing-horizontal); - border-radius: var(--border-radius); - background: var(--card-background-color); - box-shadow: var(--card-box-shadow); -} -article > footer, -article > header { - margin-right: calc(var(--block-spacing-horizontal) * -1); - margin-left: calc(var(--block-spacing-horizontal) * -1); - padding: calc(var(--block-spacing-vertical) * 0.66) - var(--block-spacing-horizontal); - background-color: var(--card-sectionning-background-color); -} -article > header { - margin-top: calc(var(--block-spacing-vertical) * -1); - margin-bottom: var(--block-spacing-vertical); - border-bottom: var(--border-width) solid var(--card-border-color); - border-top-right-radius: var(--border-radius); - border-top-left-radius: var(--border-radius); -} -article > footer { - margin-top: var(--block-spacing-vertical); - margin-bottom: calc(var(--block-spacing-vertical) * -1); - border-top: var(--border-width) solid var(--card-border-color); - border-bottom-right-radius: var(--border-radius); - border-bottom-left-radius: var(--border-radius); -} -:root { - --scrollbar-width: 0px; -} -dialog { - display: flex; - z-index: 999; - position: fixed; - top: 0; - right: 0; - bottom: 0; - left: 0; - align-items: center; - justify-content: center; - width: inherit; - min-width: 100%; - height: inherit; - min-height: 100%; - padding: var(--spacing); - border: 0; - -webkit-backdrop-filter: var(--modal-overlay-backdrop-filter); - backdrop-filter: var(--modal-overlay-backdrop-filter); - background-color: var(--modal-overlay-background-color); - color: var(--color); -} -dialog article { - max-height: calc(100vh - var(--spacing) * 2); - overflow: auto; -} -@media (min-width: 576px) { - dialog article { - max-width: 510px; - } -} -@media (min-width: 768px) { - dialog article { - max-width: 700px; - } -} -dialog article > footer, -dialog article > header { - padding: calc(var(--block-spacing-vertical) * 0.5) - var(--block-spacing-horizontal); -} -dialog article > header .close { - margin: 0; - margin-left: var(--spacing); - float: right; -} -dialog article > footer { - text-align: right; -} -dialog article > footer [role="button"] { - margin-bottom: 0; -} -dialog article > footer [role="button"]:not(:first-of-type) { - margin-left: calc(var(--spacing) * 0.5); -} -dialog article p:last-of-type { - margin: 0; -} -dialog article .close { - display: block; - width: 1rem; - height: 1rem; - margin-top: calc(var(--block-spacing-vertical) * -0.5); - margin-bottom: var(--typography-spacing-vertical); - margin-left: auto; - background-image: var(--icon-close); - background-position: center; - background-size: auto 1rem; - background-repeat: no-repeat; - opacity: 0.5; - transition: opacity var(--transition); -} -dialog article .close:is([aria-current], :hover, :active, :focus) { - opacity: 1; -} -dialog:not([open]), -dialog[open="false"] { - display: none; -} -.modal-is-open { - padding-right: var(--scrollbar-width, 0); - overflow: hidden; - pointer-events: none; - touch-action: none; -} -.modal-is-open dialog { - pointer-events: auto; -} -:where(.modal-is-opening, .modal-is-closing) dialog, -:where(.modal-is-opening, .modal-is-closing) dialog > article { - animation-duration: 0.2s; - animation-timing-function: ease-in-out; - animation-fill-mode: both; -} -:where(.modal-is-opening, .modal-is-closing) dialog { - animation-duration: 0.8s; - animation-name: modal-overlay; -} -:where(.modal-is-opening, .modal-is-closing) dialog > article { - animation-delay: 0.2s; - animation-name: modal; -} -.modal-is-closing dialog, -.modal-is-closing dialog > article { - animation-delay: 0s; - animation-direction: reverse; -} -@keyframes modal-overlay { - from { - -webkit-backdrop-filter: none; - backdrop-filter: none; - background-color: transparent; - } -} -@keyframes modal { - from { - transform: translateY(-100%); - opacity: 0; - } -} -:where(nav li)::before { - float: left; - content: "​"; -} -nav, -nav ul { - display: flex; -} -nav { - justify-content: space-between; -} -nav ol, -nav ul { - align-items: center; - margin-bottom: 0; - padding: 0; - list-style: none; -} -nav ol:first-of-type, -nav ul:first-of-type { - margin-left: calc(var(--nav-element-spacing-horizontal) * -1); -} -nav ol:last-of-type, -nav ul:last-of-type { - margin-right: calc(var(--nav-element-spacing-horizontal) * -1); -} -nav li { - display: inline-block; - margin: 0; - padding: var(--nav-element-spacing-vertical) - var(--nav-element-spacing-horizontal); -} -nav li > * { - --spacing: 0; -} -nav :where(a, [role="link"]) { - display: inline-block; - margin: calc(var(--nav-link-spacing-vertical) * -1) - calc(var(--nav-link-spacing-horizontal) * -1); - padding: var(--nav-link-spacing-vertical) var(--nav-link-spacing-horizontal); - border-radius: var(--border-radius); - text-decoration: none; -} -nav :where(a, [role="link"]):is([aria-current], :hover, :active, :focus) { - text-decoration: none; -} -nav[aria-label="breadcrumb"] { - align-items: center; - justify-content: start; -} -nav[aria-label="breadcrumb"] ul li:not(:first-child) { - margin-inline-start: var(--nav-link-spacing-horizontal); -} -nav[aria-label="breadcrumb"] ul li:not(:last-child) ::after { - position: absolute; - width: calc(var(--nav-link-spacing-horizontal) * 2); - margin-inline-start: calc(var(--nav-link-spacing-horizontal) / 2); - content: "/"; - color: var(--muted-color); - text-align: center; -} -nav[aria-label="breadcrumb"] a[aria-current] { - background-color: transparent; - color: inherit; - text-decoration: none; - pointer-events: none; -} -nav [role="button"] { - margin-right: inherit; - margin-left: inherit; - padding: var(--nav-link-spacing-vertical) var(--nav-link-spacing-horizontal); -} -aside li, -aside nav, -aside ol, -aside ul { - display: block; -} -aside li { - padding: calc(var(--nav-element-spacing-vertical) * 0.5) - var(--nav-element-spacing-horizontal); -} -aside li a { - display: block; -} -aside li [role="button"] { - margin: inherit; -} -[dir="rtl"] nav[aria-label="breadcrumb"] ul li:not(:last-child) ::after { - content: "\\"; -} -progress { - display: inline-block; - vertical-align: baseline; -} -progress { - -webkit-appearance: none; - -moz-appearance: none; - display: inline-block; - appearance: none; - width: 100%; - height: 0.5rem; - margin-bottom: calc(var(--spacing) * 0.5); - overflow: hidden; - border: 0; - border-radius: var(--border-radius); - background-color: var(--progress-background-color); - color: var(--progress-color); -} -progress::-webkit-progress-bar { - border-radius: var(--border-radius); - background: 0 0; -} -progress[value]::-webkit-progress-value { - background-color: var(--progress-color); -} -progress::-moz-progress-bar { - background-color: var(--progress-color); -} -@media (prefers-reduced-motion: no-preference) { - progress:indeterminate { - background: var(--progress-background-color) - linear-gradient( - to right, - var(--progress-color) 30%, - var(--progress-background-color) 30% - ) - top left/150% 150% no-repeat; - animation: progress-indeterminate 1s linear infinite; - } - progress:indeterminate[value]::-webkit-progress-value { - background-color: transparent; - } - progress:indeterminate::-moz-progress-bar { - background-color: transparent; - } -} -@media (prefers-reduced-motion: no-preference) { - [dir="rtl"] progress:indeterminate { - animation-direction: reverse; - } -} -@keyframes progress-indeterminate { - 0% { - background-position: 200% 0; - } - 100% { - background-position: -200% 0; - } -} -details[role="list"], -li[role="list"] { - position: relative; -} -details[role="list"] summary + ul, -li[role="list"] > ul { - display: flex; - z-index: 99; - position: absolute; - top: auto; - right: 0; - left: 0; - flex-direction: column; - margin: 0; - padding: 0; - border: var(--border-width) solid var(--dropdown-border-color); - border-radius: var(--border-radius); - border-top-right-radius: 0; - border-top-left-radius: 0; - background-color: var(--dropdown-background-color); - box-shadow: var(--card-box-shadow); - color: var(--dropdown-color); - white-space: nowrap; -} -details[role="list"] summary + ul li, -li[role="list"] > ul li { - width: 100%; - margin-bottom: 0; - padding: calc(var(--form-element-spacing-vertical) * 0.5) - var(--form-element-spacing-horizontal); - list-style: none; -} -details[role="list"] summary + ul li:first-of-type, -li[role="list"] > ul li:first-of-type { - margin-top: calc(var(--form-element-spacing-vertical) * 0.5); -} -details[role="list"] summary + ul li:last-of-type, -li[role="list"] > ul li:last-of-type { - margin-bottom: calc(var(--form-element-spacing-vertical) * 0.5); -} -details[role="list"] summary + ul li a, -li[role="list"] > ul li a { - display: block; - margin: calc(var(--form-element-spacing-vertical) * -0.5) - calc(var(--form-element-spacing-horizontal) * -1); - padding: calc(var(--form-element-spacing-vertical) * 0.5) - var(--form-element-spacing-horizontal); - overflow: hidden; - color: var(--dropdown-color); - text-decoration: none; - text-overflow: ellipsis; -} -details[role="list"] summary + ul li a:hover, -li[role="list"] > ul li a:hover { - background-color: var(--dropdown-hover-background-color); -} -details[role="list"] summary::after, -li[role="list"] > a::after { - display: block; - width: 1rem; - height: calc(1rem * var(--line-height, 1.5)); - margin-inline-start: 0.5rem; - float: right; - transform: rotate(0); - background-image: var(--icon-chevron); - background-position: right center; - background-size: 1rem auto; - background-repeat: no-repeat; - content: ""; -} -details[role="list"] { - padding: 0; - border-bottom: none; -} -details[role="list"] summary { - margin-bottom: 0; -} -details[role="list"] summary:not([role]) { - height: calc( - 1rem * var(--line-height) + var(--form-element-spacing-vertical) * 2 + - var(--border-width) * 2 - ); - padding: var(--form-element-spacing-vertical) - var(--form-element-spacing-horizontal); - border: var(--border-width) solid var(--form-element-border-color); - border-radius: var(--border-radius); - background-color: var(--form-element-background-color); - color: var(--form-element-placeholder-color); - line-height: inherit; - cursor: pointer; - transition: - background-color var(--transition), - border-color var(--transition), - color var(--transition), - box-shadow var(--transition); -} -details[role="list"] summary:not([role]):active, -details[role="list"] summary:not([role]):focus { - border-color: var(--form-element-active-border-color); - background-color: var(--form-element-active-background-color); -} -details[role="list"] summary:not([role]):focus { - box-shadow: 0 0 0 var(--outline-width) var(--form-element-focus-color); -} -details[role="list"][open] summary { - border-bottom-right-radius: 0; - border-bottom-left-radius: 0; -} -details[role="list"][open] summary::before { - display: block; - z-index: 1; - position: fixed; - top: 0; - right: 0; - bottom: 0; - left: 0; - background: 0 0; - content: ""; - cursor: default; -} -nav details[role="list"] summary, -nav li[role="list"] a { - display: flex; - direction: ltr; -} -nav details[role="list"] summary + ul, -nav li[role="list"] > ul { - min-width: -moz-fit-content; - min-width: fit-content; - border-radius: var(--border-radius); -} -nav details[role="list"] summary + ul li a, -nav li[role="list"] > ul li a { - border-radius: 0; -} -nav details[role="list"] summary, -nav details[role="list"] summary:not([role]) { - height: auto; - padding: var(--nav-link-spacing-vertical) var(--nav-link-spacing-horizontal); -} -nav details[role="list"][open] summary { - border-radius: var(--border-radius); -} -nav details[role="list"] summary + ul { - margin-top: var(--outline-width); - margin-inline-start: 0; -} -nav details[role="list"] summary[role="link"] { - margin-bottom: calc(var(--nav-link-spacing-vertical) * -1); - line-height: var(--line-height); -} -nav details[role="list"] summary[role="link"] + ul { - margin-top: calc(var(--nav-link-spacing-vertical) + var(--outline-width)); - margin-inline-start: calc(var(--nav-link-spacing-horizontal) * -1); -} -li[role="list"] a:active ~ ul, -li[role="list"] a:focus ~ ul, -li[role="list"]:hover > ul { - display: flex; -} -li[role="list"] > ul { - display: none; - margin-top: calc(var(--nav-link-spacing-vertical) + var(--outline-width)); - margin-inline-start: calc( - var(--nav-element-spacing-horizontal) - - var(--nav-link-spacing-horizontal) - ); -} -li[role="list"] > a::after { - background-image: var(--icon-chevron); -} -label > details[role="list"] { - margin-top: calc(var(--spacing) * 0.25); - margin-bottom: var(--spacing); -} -[aria-busy="true"] { - cursor: progress; -} -[aria-busy="true"]:not(input, select, textarea, html)::before { - display: inline-block; - width: 1em; - height: 1em; - border: 0.1875em solid currentColor; - border-radius: 1em; - border-right-color: transparent; - content: ""; - vertical-align: text-bottom; - vertical-align: -0.125em; - animation: spinner 0.75s linear infinite; - opacity: var(--loading-spinner-opacity); -} -[aria-busy="true"]:not(input, select, textarea, html):not(:empty)::before { - margin-right: calc(var(--spacing) * 0.5); - margin-left: 0; - margin-inline-start: 0; - margin-inline-end: calc(var(--spacing) * 0.5); -} -[aria-busy="true"]:not(input, select, textarea, html):empty { - text-align: center; -} -a[aria-busy="true"], -button[aria-busy="true"], -input[type="button"][aria-busy="true"], -input[type="reset"][aria-busy="true"], -input[type="submit"][aria-busy="true"] { - pointer-events: none; -} -@keyframes spinner { - to { - transform: rotate(360deg); - } -} -[data-tooltip] { - position: relative; -} -[data-tooltip]:not(a, button, input) { - border-bottom: 1px dotted; - text-decoration: none; - cursor: help; -} -[data-tooltip]::after, -[data-tooltip]::before, -[data-tooltip][data-placement="top"]::after, -[data-tooltip][data-placement="top"]::before { - display: block; - z-index: 99; - position: absolute; - bottom: 100%; - left: 50%; - padding: 0.25rem 0.5rem; - overflow: hidden; - transform: translate(-50%, -0.25rem); - border-radius: var(--border-radius); - background: var(--tooltip-background-color); - content: attr(data-tooltip); - color: var(--tooltip-color); - font-style: normal; - font-weight: var(--font-weight); - font-size: 0.875rem; - text-decoration: none; - text-overflow: ellipsis; - white-space: nowrap; - opacity: 0; - pointer-events: none; -} -[data-tooltip]::after, -[data-tooltip][data-placement="top"]::after { - padding: 0; - transform: translate(-50%, 0); - border-top: 0.3rem solid; - border-right: 0.3rem solid transparent; - border-left: 0.3rem solid transparent; - border-radius: 0; - background-color: transparent; - content: ""; - color: var(--tooltip-background-color); -} -[data-tooltip][data-placement="bottom"]::after, -[data-tooltip][data-placement="bottom"]::before { - top: 100%; - bottom: auto; - transform: translate(-50%, 0.25rem); -} -[data-tooltip][data-placement="bottom"]:after { - transform: translate(-50%, -0.3rem); - border: 0.3rem solid transparent; - border-bottom: 0.3rem solid; -} -[data-tooltip][data-placement="left"]::after, -[data-tooltip][data-placement="left"]::before { - top: 50%; - right: 100%; - bottom: auto; - left: auto; - transform: translate(-0.25rem, -50%); -} -[data-tooltip][data-placement="left"]:after { - transform: translate(0.3rem, -50%); - border: 0.3rem solid transparent; - border-left: 0.3rem solid; -} -[data-tooltip][data-placement="right"]::after, -[data-tooltip][data-placement="right"]::before { - top: 50%; - right: auto; - bottom: auto; - left: 100%; - transform: translate(0.25rem, -50%); -} -[data-tooltip][data-placement="right"]:after { - transform: translate(-0.3rem, -50%); - border: 0.3rem solid transparent; - border-right: 0.3rem solid; -} -[data-tooltip]:focus::after, -[data-tooltip]:focus::before, -[data-tooltip]:hover::after, -[data-tooltip]:hover::before { - opacity: 1; -} -@media (hover: hover) and (pointer: fine) { - [data-tooltip]:hover::after, - [data-tooltip]:hover::before, - [data-tooltip][data-placement="bottom"]:focus::after, - [data-tooltip][data-placement="bottom"]:focus::before, - [data-tooltip][data-placement="bottom"]:hover [data-tooltip]:focus::after, - [data-tooltip][data-placement="bottom"]:hover [data-tooltip]:focus::before { - animation-duration: 0.2s; - animation-name: tooltip-slide-top; - } - [data-tooltip]:hover::after, - [data-tooltip][data-placement="bottom"]:focus::after, - [data-tooltip][data-placement="bottom"]:hover [data-tooltip]:focus::after { - animation-name: tooltip-caret-slide-top; - } - [data-tooltip][data-placement="bottom"]:focus::after, - [data-tooltip][data-placement="bottom"]:focus::before, - [data-tooltip][data-placement="bottom"]:hover::after, - [data-tooltip][data-placement="bottom"]:hover::before { - animation-duration: 0.2s; - animation-name: tooltip-slide-bottom; - } - [data-tooltip][data-placement="bottom"]:focus::after, - [data-tooltip][data-placement="bottom"]:hover::after { - animation-name: tooltip-caret-slide-bottom; - } - [data-tooltip][data-placement="left"]:focus::after, - [data-tooltip][data-placement="left"]:focus::before, - [data-tooltip][data-placement="left"]:hover::after, - [data-tooltip][data-placement="left"]:hover::before { - animation-duration: 0.2s; - animation-name: tooltip-slide-left; - } - [data-tooltip][data-placement="left"]:focus::after, - [data-tooltip][data-placement="left"]:hover::after { - animation-name: tooltip-caret-slide-left; - } - [data-tooltip][data-placement="right"]:focus::after, - [data-tooltip][data-placement="right"]:focus::before, - [data-tooltip][data-placement="right"]:hover::after, - [data-tooltip][data-placement="right"]:hover::before { - animation-duration: 0.2s; - animation-name: tooltip-slide-right; - } - [data-tooltip][data-placement="right"]:focus::after, - [data-tooltip][data-placement="right"]:hover::after { - animation-name: tooltip-caret-slide-right; - } -} -@keyframes tooltip-slide-top { - from { - transform: translate(-50%, 0.75rem); - opacity: 0; - } - to { - transform: translate(-50%, -0.25rem); - opacity: 1; - } -} -@keyframes tooltip-caret-slide-top { - from { - opacity: 0; - } - 50% { - transform: translate(-50%, -0.25rem); - opacity: 0; - } - to { - transform: translate(-50%, 0); - opacity: 1; - } -} -@keyframes tooltip-slide-bottom { - from { - transform: translate(-50%, -0.75rem); - opacity: 0; - } - to { - transform: translate(-50%, 0.25rem); - opacity: 1; - } -} -@keyframes tooltip-caret-slide-bottom { - from { - opacity: 0; - } - 50% { - transform: translate(-50%, -0.5rem); - opacity: 0; - } - to { - transform: translate(-50%, -0.3rem); - opacity: 1; - } -} -@keyframes tooltip-slide-left { - from { - transform: translate(0.75rem, -50%); - opacity: 0; - } - to { - transform: translate(-0.25rem, -50%); - opacity: 1; - } -} -@keyframes tooltip-caret-slide-left { - from { - opacity: 0; - } - 50% { - transform: translate(0.05rem, -50%); - opacity: 0; - } - to { - transform: translate(0.3rem, -50%); - opacity: 1; - } -} -@keyframes tooltip-slide-right { - from { - transform: translate(-0.75rem, -50%); - opacity: 0; - } - to { - transform: translate(0.25rem, -50%); - opacity: 1; - } -} -@keyframes tooltip-caret-slide-right { - from { - opacity: 0; - } - 50% { - transform: translate(-0.05rem, -50%); - opacity: 0; - } - to { - transform: translate(-0.3rem, -50%); - opacity: 1; - } -} -[aria-controls] { - cursor: pointer; -} -[aria-disabled="true"], -[disabled] { - cursor: not-allowed; -} -[aria-hidden="false"][hidden] { - display: initial; -} -[aria-hidden="false"][hidden]:not(:focus) { - clip: rect(0, 0, 0, 0); - position: absolute; -} -[tabindex], -a, -area, -button, -input, -label, -select, -summary, -textarea { - -ms-touch-action: manipulation; -} -[dir="rtl"] { - direction: rtl; -} -@media (prefers-reduced-motion: reduce) { - :not([aria-busy="true"]), - :not([aria-busy="true"])::after, - :not([aria-busy="true"])::before { - background-attachment: initial !important; - animation-duration: 1ms !important; - animation-delay: -1ms !important; - animation-iteration-count: 1 !important; - scroll-behavior: auto !important; - transition-delay: 0s !important; - transition-duration: 0s !important; - } -} + */:root{--font-family:system-ui,-apple-system,"Segoe UI","Roboto","Ubuntu","Cantarell","Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--line-height:1.5;--font-weight:400;--font-size:16px;--border-radius:0.25rem;--border-width:1px;--outline-width:3px;--spacing:1rem;--typography-spacing-vertical:1.5rem;--block-spacing-vertical:calc(var(--spacing) * 2);--block-spacing-horizontal:var(--spacing);--grid-spacing-vertical:0;--grid-spacing-horizontal:var(--spacing);--form-element-spacing-vertical:0.75rem;--form-element-spacing-horizontal:1rem;--nav-element-spacing-vertical:1rem;--nav-element-spacing-horizontal:0.5rem;--nav-link-spacing-vertical:0.5rem;--nav-link-spacing-horizontal:0.5rem;--form-label-font-weight:var(--font-weight);--transition:0.2s ease-in-out;--modal-overlay-backdrop-filter:blur(0.25rem)}@media (min-width:576px){:root{--font-size:17px}}@media (min-width:768px){:root{--font-size:18px}}@media (min-width:992px){:root{--font-size:19px}}@media (min-width:1200px){:root{--font-size:20px}}@media (min-width:576px){body>footer,body>header,body>main,section{--block-spacing-vertical:calc(var(--spacing) * 2.5)}}@media (min-width:768px){body>footer,body>header,body>main,section{--block-spacing-vertical:calc(var(--spacing) * 3)}}@media (min-width:992px){body>footer,body>header,body>main,section{--block-spacing-vertical:calc(var(--spacing) * 3.5)}}@media (min-width:1200px){body>footer,body>header,body>main,section{--block-spacing-vertical:calc(var(--spacing) * 4)}}@media (min-width:576px){article{--block-spacing-horizontal:calc(var(--spacing) * 1.25)}}@media (min-width:768px){article{--block-spacing-horizontal:calc(var(--spacing) * 1.5)}}@media (min-width:992px){article{--block-spacing-horizontal:calc(var(--spacing) * 1.75)}}@media (min-width:1200px){article{--block-spacing-horizontal:calc(var(--spacing) * 2)}}dialog>article{--block-spacing-vertical:calc(var(--spacing) * 2);--block-spacing-horizontal:var(--spacing)}@media (min-width:576px){dialog>article{--block-spacing-vertical:calc(var(--spacing) * 2.5);--block-spacing-horizontal:calc(var(--spacing) * 1.25)}}@media (min-width:768px){dialog>article{--block-spacing-vertical:calc(var(--spacing) * 3);--block-spacing-horizontal:calc(var(--spacing) * 1.5)}}a{--text-decoration:none}a.contrast,a.secondary{--text-decoration:underline}small{--font-size:0.875em}h1,h2,h3,h4,h5,h6{--font-weight:700}h1{--font-size:2rem;--typography-spacing-vertical:3rem}h2{--font-size:1.75rem;--typography-spacing-vertical:2.625rem}h3{--font-size:1.5rem;--typography-spacing-vertical:2.25rem}h4{--font-size:1.25rem;--typography-spacing-vertical:1.874rem}h5{--font-size:1.125rem;--typography-spacing-vertical:1.6875rem}[type=checkbox],[type=radio]{--border-width:2px}[type=checkbox][role=switch]{--border-width:3px}tfoot td,tfoot th,thead td,thead th{--border-width:3px}:not(thead,tfoot)>*>td{--font-size:0.875em}code,kbd,pre,samp{--font-family:"Menlo","Consolas","Roboto Mono","Ubuntu Monospace","Noto Mono","Oxygen Mono","Liberation Mono",monospace,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji"}kbd{--font-weight:bolder}:root:not([data-theme=dark]),[data-theme=light]{--background-color:#fff;--color:hsl(205, 20%, 32%);--h1-color:hsl(205, 30%, 15%);--h2-color:#24333e;--h3-color:hsl(205, 25%, 23%);--h4-color:#374956;--h5-color:hsl(205, 20%, 32%);--h6-color:#4d606d;--muted-color:hsl(205, 10%, 50%);--muted-border-color:hsl(205, 20%, 94%);--primary:hsl(195, 85%, 41%);--primary-hover:hsl(195, 90%, 32%);--primary-focus:rgba(16, 149, 193, 0.125);--primary-inverse:#fff;--secondary:hsl(205, 15%, 41%);--secondary-hover:hsl(205, 20%, 32%);--secondary-focus:rgba(89, 107, 120, 0.125);--secondary-inverse:#fff;--contrast:hsl(205, 30%, 15%);--contrast-hover:#000;--contrast-focus:rgba(89, 107, 120, 0.125);--contrast-inverse:#fff;--mark-background-color:#fff2ca;--mark-color:#543a26;--ins-color:#388e3c;--del-color:#c62828;--blockquote-border-color:var(--muted-border-color);--blockquote-footer-color:var(--muted-color);--button-box-shadow:0 0 0 rgba(0, 0, 0, 0);--button-hover-box-shadow:0 0 0 rgba(0, 0, 0, 0);--form-element-background-color:transparent;--form-element-border-color:hsl(205, 14%, 68%);--form-element-color:var(--color);--form-element-placeholder-color:var(--muted-color);--form-element-active-background-color:transparent;--form-element-active-border-color:var(--primary);--form-element-focus-color:var(--primary-focus);--form-element-disabled-background-color:hsl(205, 18%, 86%);--form-element-disabled-border-color:hsl(205, 14%, 68%);--form-element-disabled-opacity:0.5;--form-element-invalid-border-color:#c62828;--form-element-invalid-active-border-color:#d32f2f;--form-element-invalid-focus-color:rgba(211, 47, 47, 0.125);--form-element-valid-border-color:#388e3c;--form-element-valid-active-border-color:#43a047;--form-element-valid-focus-color:rgba(67, 160, 71, 0.125);--switch-background-color:hsl(205, 16%, 77%);--switch-color:var(--primary-inverse);--switch-checked-background-color:var(--primary);--range-border-color:hsl(205, 18%, 86%);--range-active-border-color:hsl(205, 16%, 77%);--range-thumb-border-color:var(--background-color);--range-thumb-color:var(--secondary);--range-thumb-hover-color:var(--secondary-hover);--range-thumb-active-color:var(--primary);--table-border-color:var(--muted-border-color);--table-row-stripped-background-color:#f6f8f9;--code-background-color:hsl(205, 20%, 94%);--code-color:var(--muted-color);--code-kbd-background-color:var(--contrast);--code-kbd-color:var(--contrast-inverse);--code-tag-color:hsl(330, 40%, 50%);--code-property-color:hsl(185, 40%, 40%);--code-value-color:hsl(40, 20%, 50%);--code-comment-color:hsl(205, 14%, 68%);--accordion-border-color:var(--muted-border-color);--accordion-close-summary-color:var(--color);--accordion-open-summary-color:var(--muted-color);--card-background-color:var(--background-color);--card-border-color:var(--muted-border-color);--card-box-shadow:0.0145rem 0.029rem 0.174rem rgba(27, 40, 50, 0.01698),0.0335rem 0.067rem 0.402rem rgba(27, 40, 50, 0.024),0.0625rem 0.125rem 0.75rem rgba(27, 40, 50, 0.03),0.1125rem 0.225rem 1.35rem rgba(27, 40, 50, 0.036),0.2085rem 0.417rem 2.502rem rgba(27, 40, 50, 0.04302),0.5rem 1rem 6rem rgba(27, 40, 50, 0.06),0 0 0 0.0625rem rgba(27, 40, 50, 0.015);--card-sectionning-background-color:#fbfbfc;--dropdown-background-color:#fbfbfc;--dropdown-border-color:#e1e6eb;--dropdown-box-shadow:var(--card-box-shadow);--dropdown-color:var(--color);--dropdown-hover-background-color:hsl(205, 20%, 94%);--modal-overlay-background-color:rgba(213, 220, 226, 0.7);--progress-background-color:hsl(205, 18%, 86%);--progress-color:var(--primary);--loading-spinner-opacity:0.5;--tooltip-background-color:var(--contrast);--tooltip-color:var(--contrast-inverse);--icon-checkbox:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(255, 255, 255)' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");--icon-chevron:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(65, 84, 98)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");--icon-chevron-button:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(255, 255, 255)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");--icon-chevron-button-inverse:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(255, 255, 255)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");--icon-close:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(115, 130, 140)' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'%3E%3C/line%3E%3Cline x1='6' y1='6' x2='18' y2='18'%3E%3C/line%3E%3C/svg%3E");--icon-date:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(65, 84, 98)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'%3E%3C/rect%3E%3Cline x1='16' y1='2' x2='16' y2='6'%3E%3C/line%3E%3Cline x1='8' y1='2' x2='8' y2='6'%3E%3C/line%3E%3Cline x1='3' y1='10' x2='21' y2='10'%3E%3C/line%3E%3C/svg%3E");--icon-invalid:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(198, 40, 40)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cline x1='12' y1='8' x2='12' y2='12'%3E%3C/line%3E%3Cline x1='12' y1='16' x2='12.01' y2='16'%3E%3C/line%3E%3C/svg%3E");--icon-minus:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(255, 255, 255)' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='5' y1='12' x2='19' y2='12'%3E%3C/line%3E%3C/svg%3E");--icon-search:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(65, 84, 98)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'%3E%3C/line%3E%3C/svg%3E");--icon-time:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(65, 84, 98)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cpolyline points='12 6 12 12 16 14'%3E%3C/polyline%3E%3C/svg%3E");--icon-valid:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(56, 142, 60)' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");color-scheme:light}@media only screen and (prefers-color-scheme:dark){:root:not([data-theme]){--background-color:#11191f;--color:hsl(205, 16%, 77%);--h1-color:hsl(205, 20%, 94%);--h2-color:#e1e6eb;--h3-color:hsl(205, 18%, 86%);--h4-color:#c8d1d8;--h5-color:hsl(205, 16%, 77%);--h6-color:#afbbc4;--muted-color:hsl(205, 10%, 50%);--muted-border-color:#1f2d38;--primary:hsl(195, 85%, 41%);--primary-hover:hsl(195, 80%, 50%);--primary-focus:rgba(16, 149, 193, 0.25);--primary-inverse:#fff;--secondary:hsl(205, 15%, 41%);--secondary-hover:hsl(205, 10%, 50%);--secondary-focus:rgba(115, 130, 140, 0.25);--secondary-inverse:#fff;--contrast:hsl(205, 20%, 94%);--contrast-hover:#fff;--contrast-focus:rgba(115, 130, 140, 0.25);--contrast-inverse:#000;--mark-background-color:#d1c284;--mark-color:#11191f;--ins-color:#388e3c;--del-color:#c62828;--blockquote-border-color:var(--muted-border-color);--blockquote-footer-color:var(--muted-color);--button-box-shadow:0 0 0 rgba(0, 0, 0, 0);--button-hover-box-shadow:0 0 0 rgba(0, 0, 0, 0);--form-element-background-color:#11191f;--form-element-border-color:#374956;--form-element-color:var(--color);--form-element-placeholder-color:var(--muted-color);--form-element-active-background-color:var(--form-element-background-color);--form-element-active-border-color:var(--primary);--form-element-focus-color:var(--primary-focus);--form-element-disabled-background-color:hsl(205, 25%, 23%);--form-element-disabled-border-color:hsl(205, 20%, 32%);--form-element-disabled-opacity:0.5;--form-element-invalid-border-color:#b71c1c;--form-element-invalid-active-border-color:#c62828;--form-element-invalid-focus-color:rgba(198, 40, 40, 0.25);--form-element-valid-border-color:#2e7d32;--form-element-valid-active-border-color:#388e3c;--form-element-valid-focus-color:rgba(56, 142, 60, 0.25);--switch-background-color:#374956;--switch-color:var(--primary-inverse);--switch-checked-background-color:var(--primary);--range-border-color:#24333e;--range-active-border-color:hsl(205, 25%, 23%);--range-thumb-border-color:var(--background-color);--range-thumb-color:var(--secondary);--range-thumb-hover-color:var(--secondary-hover);--range-thumb-active-color:var(--primary);--table-border-color:var(--muted-border-color);--table-row-stripped-background-color:rgba(115, 130, 140, 0.05);--code-background-color:#18232c;--code-color:var(--muted-color);--code-kbd-background-color:var(--contrast);--code-kbd-color:var(--contrast-inverse);--code-tag-color:hsl(330, 30%, 50%);--code-property-color:hsl(185, 30%, 50%);--code-value-color:hsl(40, 10%, 50%);--code-comment-color:#4d606d;--accordion-border-color:var(--muted-border-color);--accordion-active-summary-color:var(--primary);--accordion-close-summary-color:var(--color);--accordion-open-summary-color:var(--muted-color);--card-background-color:#141e26;--card-border-color:var(--card-background-color);--card-box-shadow:0.0145rem 0.029rem 0.174rem rgba(0, 0, 0, 0.01698),0.0335rem 0.067rem 0.402rem rgba(0, 0, 0, 0.024),0.0625rem 0.125rem 0.75rem rgba(0, 0, 0, 0.03),0.1125rem 0.225rem 1.35rem rgba(0, 0, 0, 0.036),0.2085rem 0.417rem 2.502rem rgba(0, 0, 0, 0.04302),0.5rem 1rem 6rem rgba(0, 0, 0, 0.06),0 0 0 0.0625rem rgba(0, 0, 0, 0.015);--card-sectionning-background-color:#18232c;--dropdown-background-color:hsl(205, 30%, 15%);--dropdown-border-color:#24333e;--dropdown-box-shadow:var(--card-box-shadow);--dropdown-color:var(--color);--dropdown-hover-background-color:rgba(36, 51, 62, 0.75);--modal-overlay-background-color:rgba(36, 51, 62, 0.8);--progress-background-color:#24333e;--progress-color:var(--primary);--loading-spinner-opacity:0.5;--tooltip-background-color:var(--contrast);--tooltip-color:var(--contrast-inverse);--icon-checkbox:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(255, 255, 255)' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");--icon-chevron:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(162, 175, 185)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");--icon-chevron-button:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(255, 255, 255)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");--icon-chevron-button-inverse:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(0, 0, 0)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");--icon-close:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(115, 130, 140)' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'%3E%3C/line%3E%3Cline x1='6' y1='6' x2='18' y2='18'%3E%3C/line%3E%3C/svg%3E");--icon-date:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(162, 175, 185)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'%3E%3C/rect%3E%3Cline x1='16' y1='2' x2='16' y2='6'%3E%3C/line%3E%3Cline x1='8' y1='2' x2='8' y2='6'%3E%3C/line%3E%3Cline x1='3' y1='10' x2='21' y2='10'%3E%3C/line%3E%3C/svg%3E");--icon-invalid:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(183, 28, 28)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cline x1='12' y1='8' x2='12' y2='12'%3E%3C/line%3E%3Cline x1='12' y1='16' x2='12.01' y2='16'%3E%3C/line%3E%3C/svg%3E");--icon-minus:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(255, 255, 255)' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='5' y1='12' x2='19' y2='12'%3E%3C/line%3E%3C/svg%3E");--icon-search:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(162, 175, 185)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'%3E%3C/line%3E%3C/svg%3E");--icon-time:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(162, 175, 185)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cpolyline points='12 6 12 12 16 14'%3E%3C/polyline%3E%3C/svg%3E");--icon-valid:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(46, 125, 50)' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");color-scheme:dark}}[data-theme=dark]{--background-color:#11191f;--color:hsl(205, 16%, 77%);--h1-color:hsl(205, 20%, 94%);--h2-color:#e1e6eb;--h3-color:hsl(205, 18%, 86%);--h4-color:#c8d1d8;--h5-color:hsl(205, 16%, 77%);--h6-color:#afbbc4;--muted-color:hsl(205, 10%, 50%);--muted-border-color:#1f2d38;--primary:hsl(195, 85%, 41%);--primary-hover:hsl(195, 80%, 50%);--primary-focus:rgba(16, 149, 193, 0.25);--primary-inverse:#fff;--secondary:hsl(205, 15%, 41%);--secondary-hover:hsl(205, 10%, 50%);--secondary-focus:rgba(115, 130, 140, 0.25);--secondary-inverse:#fff;--contrast:hsl(205, 20%, 94%);--contrast-hover:#fff;--contrast-focus:rgba(115, 130, 140, 0.25);--contrast-inverse:#000;--mark-background-color:#d1c284;--mark-color:#11191f;--ins-color:#388e3c;--del-color:#c62828;--blockquote-border-color:var(--muted-border-color);--blockquote-footer-color:var(--muted-color);--button-box-shadow:0 0 0 rgba(0, 0, 0, 0);--button-hover-box-shadow:0 0 0 rgba(0, 0, 0, 0);--form-element-background-color:#11191f;--form-element-border-color:#374956;--form-element-color:var(--color);--form-element-placeholder-color:var(--muted-color);--form-element-active-background-color:var(--form-element-background-color);--form-element-active-border-color:var(--primary);--form-element-focus-color:var(--primary-focus);--form-element-disabled-background-color:hsl(205, 25%, 23%);--form-element-disabled-border-color:hsl(205, 20%, 32%);--form-element-disabled-opacity:0.5;--form-element-invalid-border-color:#b71c1c;--form-element-invalid-active-border-color:#c62828;--form-element-invalid-focus-color:rgba(198, 40, 40, 0.25);--form-element-valid-border-color:#2e7d32;--form-element-valid-active-border-color:#388e3c;--form-element-valid-focus-color:rgba(56, 142, 60, 0.25);--switch-background-color:#374956;--switch-color:var(--primary-inverse);--switch-checked-background-color:var(--primary);--range-border-color:#24333e;--range-active-border-color:hsl(205, 25%, 23%);--range-thumb-border-color:var(--background-color);--range-thumb-color:var(--secondary);--range-thumb-hover-color:var(--secondary-hover);--range-thumb-active-color:var(--primary);--table-border-color:var(--muted-border-color);--table-row-stripped-background-color:rgba(115, 130, 140, 0.05);--code-background-color:#18232c;--code-color:var(--muted-color);--code-kbd-background-color:var(--contrast);--code-kbd-color:var(--contrast-inverse);--code-tag-color:hsl(330, 30%, 50%);--code-property-color:hsl(185, 30%, 50%);--code-value-color:hsl(40, 10%, 50%);--code-comment-color:#4d606d;--accordion-border-color:var(--muted-border-color);--accordion-active-summary-color:var(--primary);--accordion-close-summary-color:var(--color);--accordion-open-summary-color:var(--muted-color);--card-background-color:#141e26;--card-border-color:var(--card-background-color);--card-box-shadow:0.0145rem 0.029rem 0.174rem rgba(0, 0, 0, 0.01698),0.0335rem 0.067rem 0.402rem rgba(0, 0, 0, 0.024),0.0625rem 0.125rem 0.75rem rgba(0, 0, 0, 0.03),0.1125rem 0.225rem 1.35rem rgba(0, 0, 0, 0.036),0.2085rem 0.417rem 2.502rem rgba(0, 0, 0, 0.04302),0.5rem 1rem 6rem rgba(0, 0, 0, 0.06),0 0 0 0.0625rem rgba(0, 0, 0, 0.015);--card-sectionning-background-color:#18232c;--dropdown-background-color:hsl(205, 30%, 15%);--dropdown-border-color:#24333e;--dropdown-box-shadow:var(--card-box-shadow);--dropdown-color:var(--color);--dropdown-hover-background-color:rgba(36, 51, 62, 0.75);--modal-overlay-background-color:rgba(36, 51, 62, 0.8);--progress-background-color:#24333e;--progress-color:var(--primary);--loading-spinner-opacity:0.5;--tooltip-background-color:var(--contrast);--tooltip-color:var(--contrast-inverse);--icon-checkbox:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(255, 255, 255)' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");--icon-chevron:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(162, 175, 185)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");--icon-chevron-button:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(255, 255, 255)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");--icon-chevron-button-inverse:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(0, 0, 0)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");--icon-close:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(115, 130, 140)' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'%3E%3C/line%3E%3Cline x1='6' y1='6' x2='18' y2='18'%3E%3C/line%3E%3C/svg%3E");--icon-date:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(162, 175, 185)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'%3E%3C/rect%3E%3Cline x1='16' y1='2' x2='16' y2='6'%3E%3C/line%3E%3Cline x1='8' y1='2' x2='8' y2='6'%3E%3C/line%3E%3Cline x1='3' y1='10' x2='21' y2='10'%3E%3C/line%3E%3C/svg%3E");--icon-invalid:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(183, 28, 28)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cline x1='12' y1='8' x2='12' y2='12'%3E%3C/line%3E%3Cline x1='12' y1='16' x2='12.01' y2='16'%3E%3C/line%3E%3C/svg%3E");--icon-minus:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(255, 255, 255)' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='5' y1='12' x2='19' y2='12'%3E%3C/line%3E%3C/svg%3E");--icon-search:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(162, 175, 185)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'%3E%3C/line%3E%3C/svg%3E");--icon-time:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(162, 175, 185)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cpolyline points='12 6 12 12 16 14'%3E%3C/polyline%3E%3C/svg%3E");--icon-valid:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(46, 125, 50)' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");color-scheme:dark}[type=checkbox],[type=radio],[type=range],progress{accent-color:var(--primary)}*,::after,::before{box-sizing:border-box;background-repeat:no-repeat}::after,::before{text-decoration:inherit;vertical-align:inherit}:where(:root){-webkit-tap-highlight-color:transparent;-webkit-text-size-adjust:100%;-moz-text-size-adjust:100%;text-size-adjust:100%;background-color:var(--background-color);color:var(--color);font-weight:var(--font-weight);font-size:var(--font-size);line-height:var(--line-height);font-family:var(--font-family);text-rendering:optimizeLegibility;overflow-wrap:break-word;cursor:default;-moz-tab-size:4;-o-tab-size:4;tab-size:4}main{display:block}body{width:100%;margin:0}body>footer,body>header,body>main{width:100%;margin-right:auto;margin-left:auto;padding:var(--block-spacing-vertical) 0}.container,.container-fluid{width:100%;margin-right:auto;margin-left:auto;padding-right:var(--spacing);padding-left:var(--spacing)}@media (min-width:576px){.container{max-width:510px;padding-right:0;padding-left:0}}@media (min-width:768px){.container{max-width:700px}}@media (min-width:992px){.container{max-width:920px}}@media (min-width:1200px){.container{max-width:1130px}}section{margin-bottom:var(--block-spacing-vertical)}.grid{grid-column-gap:var(--grid-spacing-horizontal);grid-row-gap:var(--grid-spacing-vertical);display:grid;grid-template-columns:1fr;margin:0}@media (min-width:992px){.grid{grid-template-columns:repeat(auto-fit,minmax(0%,1fr))}}.grid>*{min-width:0}figure{display:block;margin:0;padding:0;overflow-x:auto}figure figcaption{padding:calc(var(--spacing) * .5) 0;color:var(--muted-color)}b,strong{font-weight:bolder}sub,sup{position:relative;font-size:.75em;line-height:0;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}address,blockquote,dl,figure,form,ol,p,pre,table,ul{margin-top:0;margin-bottom:var(--typography-spacing-vertical);color:var(--color);font-style:normal;font-weight:var(--font-weight);font-size:var(--font-size)}[role=link],a{--color:var(--primary);--background-color:transparent;outline:0;background-color:var(--background-color);color:var(--color);-webkit-text-decoration:var(--text-decoration);text-decoration:var(--text-decoration);transition:background-color var(--transition),color var(--transition),box-shadow var(--transition),-webkit-text-decoration var(--transition);transition:background-color var(--transition),color var(--transition),text-decoration var(--transition),box-shadow var(--transition);transition:background-color var(--transition),color var(--transition),text-decoration var(--transition),box-shadow var(--transition),-webkit-text-decoration var(--transition)}[role=link]:is([aria-current],:hover,:active,:focus),a:is([aria-current],:hover,:active,:focus){--color:var(--primary-hover);--text-decoration:underline}[role=link]:focus,a:focus{--background-color:var(--primary-focus)}[role=link].secondary,a.secondary{--color:var(--secondary)}[role=link].secondary:is([aria-current],:hover,:active,:focus),a.secondary:is([aria-current],:hover,:active,:focus){--color:var(--secondary-hover)}[role=link].secondary:focus,a.secondary:focus{--background-color:var(--secondary-focus)}[role=link].contrast,a.contrast{--color:var(--contrast)}[role=link].contrast:is([aria-current],:hover,:active,:focus),a.contrast:is([aria-current],:hover,:active,:focus){--color:var(--contrast-hover)}[role=link].contrast:focus,a.contrast:focus{--background-color:var(--contrast-focus)}h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:var(--typography-spacing-vertical);color:var(--color);font-weight:var(--font-weight);font-size:var(--font-size);font-family:var(--font-family)}h1{--color:var(--h1-color)}h2{--color:var(--h2-color)}h3{--color:var(--h3-color)}h4{--color:var(--h4-color)}h5{--color:var(--h5-color)}h6{--color:var(--h6-color)}:where(address,blockquote,dl,figure,form,ol,p,pre,table,ul)~:is(h1,h2,h3,h4,h5,h6){margin-top:var(--typography-spacing-vertical)}.headings,hgroup{margin-bottom:var(--typography-spacing-vertical)}.headings>*,hgroup>*{margin-bottom:0}.headings>:last-child,hgroup>:last-child{--color:var(--muted-color);--font-weight:unset;font-size:1rem;font-family:unset}p{margin-bottom:var(--typography-spacing-vertical)}small{font-size:var(--font-size)}:where(dl,ol,ul){padding-right:0;padding-left:var(--spacing);padding-inline-start:var(--spacing);padding-inline-end:0}:where(dl,ol,ul) li{margin-bottom:calc(var(--typography-spacing-vertical) * .25)}:where(dl,ol,ul) :is(dl,ol,ul){margin:0;margin-top:calc(var(--typography-spacing-vertical) * .25)}ul li{list-style:square}mark{padding:.125rem .25rem;background-color:var(--mark-background-color);color:var(--mark-color);vertical-align:baseline}blockquote{display:block;margin:var(--typography-spacing-vertical) 0;padding:var(--spacing);border-right:none;border-left:.25rem solid var(--blockquote-border-color);border-inline-start:0.25rem solid var(--blockquote-border-color);border-inline-end:none}blockquote footer{margin-top:calc(var(--typography-spacing-vertical) * .5);color:var(--blockquote-footer-color)}abbr[title]{border-bottom:1px dotted;text-decoration:none;cursor:help}ins{color:var(--ins-color);text-decoration:none}del{color:var(--del-color)}::-moz-selection{background-color:var(--primary-focus)}::selection{background-color:var(--primary-focus)}:where(audio,canvas,iframe,img,svg,video){vertical-align:middle}audio,video{display:inline-block}audio:not([controls]){display:none;height:0}:where(iframe){border-style:none}img{max-width:100%;height:auto;border-style:none}:where(svg:not([fill])){fill:currentColor}svg:not(:root){overflow:hidden}button{margin:0;overflow:visible;font-family:inherit;text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}button{display:block;width:100%;margin-bottom:var(--spacing)}[role=button]{display:inline-block;text-decoration:none}[role=button],button,input[type=button],input[type=reset],input[type=submit]{--background-color:var(--primary);--border-color:var(--primary);--color:var(--primary-inverse);--box-shadow:var(--button-box-shadow, 0 0 0 rgba(0, 0, 0, 0));padding:var(--form-element-spacing-vertical) var(--form-element-spacing-horizontal);border:var(--border-width) solid var(--border-color);border-radius:var(--border-radius);outline:0;background-color:var(--background-color);box-shadow:var(--box-shadow);color:var(--color);font-weight:var(--font-weight);font-size:1rem;line-height:var(--line-height);text-align:center;cursor:pointer;transition:background-color var(--transition),border-color var(--transition),color var(--transition),box-shadow var(--transition)}[role=button]:is([aria-current],:hover,:active,:focus),button:is([aria-current],:hover,:active,:focus),input[type=button]:is([aria-current],:hover,:active,:focus),input[type=reset]:is([aria-current],:hover,:active,:focus),input[type=submit]:is([aria-current],:hover,:active,:focus){--background-color:var(--primary-hover);--border-color:var(--primary-hover);--box-shadow:var(--button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0));--color:var(--primary-inverse)}[role=button]:focus,button:focus,input[type=button]:focus,input[type=reset]:focus,input[type=submit]:focus{--box-shadow:var(--button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0)),0 0 0 var(--outline-width) var(--primary-focus)}:is(button,input[type=submit],input[type=button],[role=button]).secondary,input[type=reset]{--background-color:var(--secondary);--border-color:var(--secondary);--color:var(--secondary-inverse);cursor:pointer}:is(button,input[type=submit],input[type=button],[role=button]).secondary:is([aria-current],:hover,:active,:focus),input[type=reset]:is([aria-current],:hover,:active,:focus){--background-color:var(--secondary-hover);--border-color:var(--secondary-hover);--color:var(--secondary-inverse)}:is(button,input[type=submit],input[type=button],[role=button]).secondary:focus,input[type=reset]:focus{--box-shadow:var(--button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0)),0 0 0 var(--outline-width) var(--secondary-focus)}:is(button,input[type=submit],input[type=button],[role=button]).contrast{--background-color:var(--contrast);--border-color:var(--contrast);--color:var(--contrast-inverse)}:is(button,input[type=submit],input[type=button],[role=button]).contrast:is([aria-current],:hover,:active,:focus){--background-color:var(--contrast-hover);--border-color:var(--contrast-hover);--color:var(--contrast-inverse)}:is(button,input[type=submit],input[type=button],[role=button]).contrast:focus{--box-shadow:var(--button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0)),0 0 0 var(--outline-width) var(--contrast-focus)}:is(button,input[type=submit],input[type=button],[role=button]).outline,input[type=reset].outline{--background-color:transparent;--color:var(--primary)}:is(button,input[type=submit],input[type=button],[role=button]).outline:is([aria-current],:hover,:active,:focus),input[type=reset].outline:is([aria-current],:hover,:active,:focus){--background-color:transparent;--color:var(--primary-hover)}:is(button,input[type=submit],input[type=button],[role=button]).outline.secondary,input[type=reset].outline{--color:var(--secondary)}:is(button,input[type=submit],input[type=button],[role=button]).outline.secondary:is([aria-current],:hover,:active,:focus),input[type=reset].outline:is([aria-current],:hover,:active,:focus){--color:var(--secondary-hover)}:is(button,input[type=submit],input[type=button],[role=button]).outline.contrast{--color:var(--contrast)}:is(button,input[type=submit],input[type=button],[role=button]).outline.contrast:is([aria-current],:hover,:active,:focus){--color:var(--contrast-hover)}:where(button,[type=submit],[type=button],[type=reset],[role=button])[disabled],:where(fieldset[disabled]) :is(button,[type=submit],[type=button],[type=reset],[role=button]),a[role=button]:not([href]){opacity:.5;pointer-events:none}input,optgroup,select,textarea{margin:0;font-size:1rem;line-height:var(--line-height);font-family:inherit;letter-spacing:inherit}input{overflow:visible}select{text-transform:none}legend{max-width:100%;padding:0;color:inherit;white-space:normal}textarea{overflow:auto}[type=checkbox],[type=radio]{padding:0}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}::-moz-focus-inner{padding:0;border-style:none}:-moz-focusring{outline:0}:-moz-ui-invalid{box-shadow:none}::-ms-expand{display:none}[type=file],[type=range]{padding:0;border-width:0}input:not([type=checkbox],[type=radio],[type=range]){height:calc(1rem * var(--line-height) + var(--form-element-spacing-vertical) * 2 + var(--border-width) * 2)}fieldset{margin:0;margin-bottom:var(--spacing);padding:0;border:0}fieldset legend,label{display:block;margin-bottom:calc(var(--spacing) * .25);font-weight:var(--form-label-font-weight,var(--font-weight))}input:not([type=checkbox],[type=radio]),select,textarea{width:100%}input:not([type=checkbox],[type=radio],[type=range],[type=file]),select,textarea{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:var(--form-element-spacing-vertical) var(--form-element-spacing-horizontal)}input,select,textarea{--background-color:var(--form-element-background-color);--border-color:var(--form-element-border-color);--color:var(--form-element-color);--box-shadow:none;border:var(--border-width) solid var(--border-color);border-radius:var(--border-radius);outline:0;background-color:var(--background-color);box-shadow:var(--box-shadow);color:var(--color);font-weight:var(--font-weight);transition:background-color var(--transition),border-color var(--transition),color var(--transition),box-shadow var(--transition)}:where(select,textarea):is(:active,:focus),input:not([type=submit],[type=button],[type=reset],[type=checkbox],[type=radio],[readonly]):is(:active,:focus){--background-color:var(--form-element-active-background-color)}:where(select,textarea):is(:active,:focus),input:not([type=submit],[type=button],[type=reset],[role=switch],[readonly]):is(:active,:focus){--border-color:var(--form-element-active-border-color)}input:not([type=submit],[type=button],[type=reset],[type=range],[type=file],[readonly]):focus,select:focus,textarea:focus{--box-shadow:0 0 0 var(--outline-width) var(--form-element-focus-color)}:where(fieldset[disabled]) :is(input:not([type=submit],[type=button],[type=reset]),select,textarea),input:not([type=submit],[type=button],[type=reset])[disabled],select[disabled],textarea[disabled]{--background-color:var(--form-element-disabled-background-color);--border-color:var(--form-element-disabled-border-color);opacity:var(--form-element-disabled-opacity);pointer-events:none}:where(input,select,textarea):not([type=checkbox],[type=radio],[type=date],[type=datetime-local],[type=month],[type=time],[type=week])[aria-invalid]{padding-right:calc(var(--form-element-spacing-horizontal) + 1.5rem)!important;padding-left:var(--form-element-spacing-horizontal);padding-inline-start:var(--form-element-spacing-horizontal)!important;padding-inline-end:calc(var(--form-element-spacing-horizontal) + 1.5rem)!important;background-position:center right .75rem;background-size:1rem auto;background-repeat:no-repeat}:where(input,select,textarea):not([type=checkbox],[type=radio],[type=date],[type=datetime-local],[type=month],[type=time],[type=week])[aria-invalid=false]{background-image:var(--icon-valid)}:where(input,select,textarea):not([type=checkbox],[type=radio],[type=date],[type=datetime-local],[type=month],[type=time],[type=week])[aria-invalid=true]{background-image:var(--icon-invalid)}:where(input,select,textarea)[aria-invalid=false]{--border-color:var(--form-element-valid-border-color)}:where(input,select,textarea)[aria-invalid=false]:is(:active,:focus){--border-color:var(--form-element-valid-active-border-color)!important;--box-shadow:0 0 0 var(--outline-width) var(--form-element-valid-focus-color)!important}:where(input,select,textarea)[aria-invalid=true]{--border-color:var(--form-element-invalid-border-color)}:where(input,select,textarea)[aria-invalid=true]:is(:active,:focus){--border-color:var(--form-element-invalid-active-border-color)!important;--box-shadow:0 0 0 var(--outline-width) var(--form-element-invalid-focus-color)!important}[dir=rtl] :where(input,select,textarea):not([type=checkbox],[type=radio]):is([aria-invalid],[aria-invalid=true],[aria-invalid=false]){background-position:center left .75rem}input::-webkit-input-placeholder,input::placeholder,select:invalid,textarea::-webkit-input-placeholder,textarea::placeholder{color:var(--form-element-placeholder-color);opacity:1}input:not([type=checkbox],[type=radio]),select,textarea{margin-bottom:var(--spacing)}select::-ms-expand{border:0;background-color:transparent}select:not([multiple],[size]){padding-right:calc(var(--form-element-spacing-horizontal) + 1.5rem);padding-left:var(--form-element-spacing-horizontal);padding-inline-start:var(--form-element-spacing-horizontal);padding-inline-end:calc(var(--form-element-spacing-horizontal) + 1.5rem);background-image:var(--icon-chevron);background-position:center right .75rem;background-size:1rem auto;background-repeat:no-repeat}[dir=rtl] select:not([multiple],[size]){background-position:center left .75rem}:where(input,select,textarea,.grid)+small{display:block;width:100%;margin-top:calc(var(--spacing) * -.75);margin-bottom:var(--spacing);color:var(--muted-color)}label>:where(input,select,textarea){margin-top:calc(var(--spacing) * .25)}[type=checkbox],[type=radio]{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:1.25em;height:1.25em;margin-top:-.125em;margin-right:.375em;margin-left:0;margin-inline-start:0;margin-inline-end:.375em;border-width:var(--border-width);font-size:inherit;vertical-align:middle;cursor:pointer}[type=checkbox]::-ms-check,[type=radio]::-ms-check{display:none}[type=checkbox]:checked,[type=checkbox]:checked:active,[type=checkbox]:checked:focus,[type=radio]:checked,[type=radio]:checked:active,[type=radio]:checked:focus{--background-color:var(--primary);--border-color:var(--primary);background-image:var(--icon-checkbox);background-position:center;background-size:.75em auto;background-repeat:no-repeat}[type=checkbox]~label,[type=radio]~label{display:inline-block;margin-right:.375em;margin-bottom:0;cursor:pointer}[type=checkbox]:indeterminate{--background-color:var(--primary);--border-color:var(--primary);background-image:var(--icon-minus);background-position:center;background-size:.75em auto;background-repeat:no-repeat}[type=radio]{border-radius:50%}[type=radio]:checked,[type=radio]:checked:active,[type=radio]:checked:focus{--background-color:var(--primary-inverse);border-width:.35em;background-image:none}[type=checkbox][role=switch]{--background-color:var(--switch-background-color);--border-color:var(--switch-background-color);--color:var(--switch-color);width:2.25em;height:1.25em;border:var(--border-width) solid var(--border-color);border-radius:1.25em;background-color:var(--background-color);line-height:1.25em}[type=checkbox][role=switch]:focus{--background-color:var(--switch-background-color);--border-color:var(--switch-background-color)}[type=checkbox][role=switch]:checked{--background-color:var(--switch-checked-background-color);--border-color:var(--switch-checked-background-color)}[type=checkbox][role=switch]:before{display:block;width:calc(1.25em - (var(--border-width) * 2));height:100%;border-radius:50%;background-color:var(--color);content:"";transition:margin .1s ease-in-out}[type=checkbox][role=switch]:checked{background-image:none}[type=checkbox][role=switch]:checked::before{margin-left:calc(1.125em - var(--border-width));margin-inline-start:calc(1.125em - var(--border-width))}[type=checkbox]:checked[aria-invalid=false],[type=checkbox][aria-invalid=false],[type=checkbox][role=switch]:checked[aria-invalid=false],[type=checkbox][role=switch][aria-invalid=false],[type=radio]:checked[aria-invalid=false],[type=radio][aria-invalid=false]{--border-color:var(--form-element-valid-border-color)}[type=checkbox]:checked[aria-invalid=true],[type=checkbox][aria-invalid=true],[type=checkbox][role=switch]:checked[aria-invalid=true],[type=checkbox][role=switch][aria-invalid=true],[type=radio]:checked[aria-invalid=true],[type=radio][aria-invalid=true]{--border-color:var(--form-element-invalid-border-color)}[type=color]::-webkit-color-swatch-wrapper{padding:0}[type=color]::-moz-focus-inner{padding:0}[type=color]::-webkit-color-swatch{border:0;border-radius:calc(var(--border-radius) * .5)}[type=color]::-moz-color-swatch{border:0;border-radius:calc(var(--border-radius) * .5)}input:not([type=checkbox],[type=radio],[type=range],[type=file]):is([type=date],[type=datetime-local],[type=month],[type=time],[type=week]){--icon-position:0.75rem;--icon-width:1rem;padding-right:calc(var(--icon-width) + var(--icon-position));background-image:var(--icon-date);background-position:center right var(--icon-position);background-size:var(--icon-width) auto;background-repeat:no-repeat}input:not([type=checkbox],[type=radio],[type=range],[type=file])[type=time]{background-image:var(--icon-time)}[type=date]::-webkit-calendar-picker-indicator,[type=datetime-local]::-webkit-calendar-picker-indicator,[type=month]::-webkit-calendar-picker-indicator,[type=time]::-webkit-calendar-picker-indicator,[type=week]::-webkit-calendar-picker-indicator{width:var(--icon-width);margin-right:calc(var(--icon-width) * -1);margin-left:var(--icon-position);opacity:0}[dir=rtl] :is([type=date],[type=datetime-local],[type=month],[type=time],[type=week]){text-align:right}@-moz-document url-prefix(){[type=date],[type=datetime-local],[type=month],[type=time],[type=week]{padding-right:var(--form-element-spacing-horizontal)!important;background-image:none!important}}[type=file]{--color:var(--muted-color);padding:calc(var(--form-element-spacing-vertical) * .5) 0;border:0;border-radius:0;background:0 0}[type=file]::file-selector-button{--background-color:var(--secondary);--border-color:var(--secondary);--color:var(--secondary-inverse);margin-right:calc(var(--spacing)/ 2);margin-left:0;margin-inline-start:0;margin-inline-end:calc(var(--spacing)/ 2);padding:calc(var(--form-element-spacing-vertical) * .5) calc(var(--form-element-spacing-horizontal) * .5);border:var(--border-width) solid var(--border-color);border-radius:var(--border-radius);outline:0;background-color:var(--background-color);box-shadow:var(--box-shadow);color:var(--color);font-weight:var(--font-weight);font-size:1rem;line-height:var(--line-height);text-align:center;cursor:pointer;transition:background-color var(--transition),border-color var(--transition),color var(--transition),box-shadow var(--transition)}[type=file]::file-selector-button:is(:hover,:active,:focus){--background-color:var(--secondary-hover);--border-color:var(--secondary-hover)}[type=file]::-webkit-file-upload-button{--background-color:var(--secondary);--border-color:var(--secondary);--color:var(--secondary-inverse);margin-right:calc(var(--spacing)/ 2);margin-left:0;margin-inline-start:0;margin-inline-end:calc(var(--spacing)/ 2);padding:calc(var(--form-element-spacing-vertical) * .5) calc(var(--form-element-spacing-horizontal) * .5);border:var(--border-width) solid var(--border-color);border-radius:var(--border-radius);outline:0;background-color:var(--background-color);box-shadow:var(--box-shadow);color:var(--color);font-weight:var(--font-weight);font-size:1rem;line-height:var(--line-height);text-align:center;cursor:pointer;-webkit-transition:background-color var(--transition),border-color var(--transition),color var(--transition),box-shadow var(--transition);transition:background-color var(--transition),border-color var(--transition),color var(--transition),box-shadow var(--transition)}[type=file]::-webkit-file-upload-button:is(:hover,:active,:focus){--background-color:var(--secondary-hover);--border-color:var(--secondary-hover)}[type=file]::-ms-browse{--background-color:var(--secondary);--border-color:var(--secondary);--color:var(--secondary-inverse);margin-right:calc(var(--spacing)/ 2);margin-left:0;margin-inline-start:0;margin-inline-end:calc(var(--spacing)/ 2);padding:calc(var(--form-element-spacing-vertical) * .5) calc(var(--form-element-spacing-horizontal) * .5);border:var(--border-width) solid var(--border-color);border-radius:var(--border-radius);outline:0;background-color:var(--background-color);box-shadow:var(--box-shadow);color:var(--color);font-weight:var(--font-weight);font-size:1rem;line-height:var(--line-height);text-align:center;cursor:pointer;-ms-transition:background-color var(--transition),border-color var(--transition),color var(--transition),box-shadow var(--transition);transition:background-color var(--transition),border-color var(--transition),color var(--transition),box-shadow var(--transition)}[type=file]::-ms-browse:is(:hover,:active,:focus){--background-color:var(--secondary-hover);--border-color:var(--secondary-hover)}[type=range]{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:100%;height:1.25rem;background:0 0}[type=range]::-webkit-slider-runnable-track{width:100%;height:.25rem;border-radius:var(--border-radius);background-color:var(--range-border-color);-webkit-transition:background-color var(--transition),box-shadow var(--transition);transition:background-color var(--transition),box-shadow var(--transition)}[type=range]::-moz-range-track{width:100%;height:.25rem;border-radius:var(--border-radius);background-color:var(--range-border-color);-moz-transition:background-color var(--transition),box-shadow var(--transition);transition:background-color var(--transition),box-shadow var(--transition)}[type=range]::-ms-track{width:100%;height:.25rem;border-radius:var(--border-radius);background-color:var(--range-border-color);-ms-transition:background-color var(--transition),box-shadow var(--transition);transition:background-color var(--transition),box-shadow var(--transition)}[type=range]::-webkit-slider-thumb{-webkit-appearance:none;width:1.25rem;height:1.25rem;margin-top:-.5rem;border:2px solid var(--range-thumb-border-color);border-radius:50%;background-color:var(--range-thumb-color);cursor:pointer;-webkit-transition:background-color var(--transition),transform var(--transition);transition:background-color var(--transition),transform var(--transition)}[type=range]::-moz-range-thumb{-webkit-appearance:none;width:1.25rem;height:1.25rem;margin-top:-.5rem;border:2px solid var(--range-thumb-border-color);border-radius:50%;background-color:var(--range-thumb-color);cursor:pointer;-moz-transition:background-color var(--transition),transform var(--transition);transition:background-color var(--transition),transform var(--transition)}[type=range]::-ms-thumb{-webkit-appearance:none;width:1.25rem;height:1.25rem;margin-top:-.5rem;border:2px solid var(--range-thumb-border-color);border-radius:50%;background-color:var(--range-thumb-color);cursor:pointer;-ms-transition:background-color var(--transition),transform var(--transition);transition:background-color var(--transition),transform var(--transition)}[type=range]:focus,[type=range]:hover{--range-border-color:var(--range-active-border-color);--range-thumb-color:var(--range-thumb-hover-color)}[type=range]:active{--range-thumb-color:var(--range-thumb-active-color)}[type=range]:active::-webkit-slider-thumb{transform:scale(1.25)}[type=range]:active::-moz-range-thumb{transform:scale(1.25)}[type=range]:active::-ms-thumb{transform:scale(1.25)}input:not([type=checkbox],[type=radio],[type=range],[type=file])[type=search]{padding-inline-start:calc(var(--form-element-spacing-horizontal) + 1.75rem);border-radius:5rem;background-image:var(--icon-search);background-position:center left 1.125rem;background-size:1rem auto;background-repeat:no-repeat}input:not([type=checkbox],[type=radio],[type=range],[type=file])[type=search][aria-invalid]{padding-inline-start:calc(var(--form-element-spacing-horizontal) + 1.75rem)!important;background-position:center left 1.125rem,center right .75rem}input:not([type=checkbox],[type=radio],[type=range],[type=file])[type=search][aria-invalid=false]{background-image:var(--icon-search),var(--icon-valid)}input:not([type=checkbox],[type=radio],[type=range],[type=file])[type=search][aria-invalid=true]{background-image:var(--icon-search),var(--icon-invalid)}[type=search]::-webkit-search-cancel-button{-webkit-appearance:none;display:none}[dir=rtl] :where(input):not([type=checkbox],[type=radio],[type=range],[type=file])[type=search]{background-position:center right 1.125rem}[dir=rtl] :where(input):not([type=checkbox],[type=radio],[type=range],[type=file])[type=search][aria-invalid]{background-position:center right 1.125rem,center left .75rem}:where(table){width:100%;border-collapse:collapse;border-spacing:0;text-indent:0}td,th{padding:calc(var(--spacing)/ 2) var(--spacing);border-bottom:var(--border-width) solid var(--table-border-color);color:var(--color);font-weight:var(--font-weight);font-size:var(--font-size);text-align:left;text-align:start}tfoot td,tfoot th{border-top:var(--border-width) solid var(--table-border-color);border-bottom:0}table[role=grid] tbody tr:nth-child(odd){background-color:var(--table-row-stripped-background-color)}code,kbd,pre,samp{font-size:.875em;font-family:var(--font-family)}pre{-ms-overflow-style:scrollbar;overflow:auto}code,kbd,pre{border-radius:var(--border-radius);background:var(--code-background-color);color:var(--code-color);font-weight:var(--font-weight);line-height:initial}code,kbd{display:inline-block;padding:.375rem .5rem}pre{display:block;margin-bottom:var(--spacing);overflow-x:auto}pre>code{display:block;padding:var(--spacing);background:0 0;font-size:14px;line-height:var(--line-height)}code b{color:var(--code-tag-color);font-weight:var(--font-weight)}code i{color:var(--code-property-color);font-style:normal}code u{color:var(--code-value-color);text-decoration:none}code em{color:var(--code-comment-color);font-style:normal}kbd{background-color:var(--code-kbd-background-color);color:var(--code-kbd-color);vertical-align:baseline}hr{height:0;border:0;border-top:1px solid var(--muted-border-color);color:inherit}[hidden],template{display:none!important}canvas{display:inline-block}details{display:block;margin-bottom:var(--spacing);padding-bottom:var(--spacing);border-bottom:var(--border-width) solid var(--accordion-border-color)}details summary{line-height:1rem;list-style-type:none;cursor:pointer;transition:color var(--transition)}details summary:not([role]){color:var(--accordion-close-summary-color)}details summary::-webkit-details-marker{display:none}details summary::marker{display:none}details summary::-moz-list-bullet{list-style-type:none}details summary::after{display:block;width:1rem;height:1rem;margin-inline-start:calc(var(--spacing,1rem) * .5);float:right;transform:rotate(-90deg);background-image:var(--icon-chevron);background-position:right center;background-size:1rem auto;background-repeat:no-repeat;content:"";transition:transform var(--transition)}details summary:focus{outline:0}details summary:focus:not([role=button]){color:var(--accordion-active-summary-color)}details summary[role=button]{width:100%;text-align:left}details summary[role=button]::after{height:calc(1rem * var(--line-height,1.5));background-image:var(--icon-chevron-button)}details summary[role=button]:not(.outline).contrast::after{background-image:var(--icon-chevron-button-inverse)}details[open]>summary{margin-bottom:calc(var(--spacing))}details[open]>summary:not([role]):not(:focus){color:var(--accordion-open-summary-color)}details[open]>summary::after{transform:rotate(0)}[dir=rtl] details summary{text-align:right}[dir=rtl] details summary::after{float:left;background-position:left center}article{margin:var(--block-spacing-vertical) 0;padding:var(--block-spacing-vertical) var(--block-spacing-horizontal);border-radius:var(--border-radius);background:var(--card-background-color);box-shadow:var(--card-box-shadow)}article>footer,article>header{margin-right:calc(var(--block-spacing-horizontal) * -1);margin-left:calc(var(--block-spacing-horizontal) * -1);padding:calc(var(--block-spacing-vertical) * .66) var(--block-spacing-horizontal);background-color:var(--card-sectionning-background-color)}article>header{margin-top:calc(var(--block-spacing-vertical) * -1);margin-bottom:var(--block-spacing-vertical);border-bottom:var(--border-width) solid var(--card-border-color);border-top-right-radius:var(--border-radius);border-top-left-radius:var(--border-radius)}article>footer{margin-top:var(--block-spacing-vertical);margin-bottom:calc(var(--block-spacing-vertical) * -1);border-top:var(--border-width) solid var(--card-border-color);border-bottom-right-radius:var(--border-radius);border-bottom-left-radius:var(--border-radius)}:root{--scrollbar-width:0px}dialog{display:flex;z-index:999;position:fixed;top:0;right:0;bottom:0;left:0;align-items:center;justify-content:center;width:inherit;min-width:100%;height:inherit;min-height:100%;padding:var(--spacing);border:0;-webkit-backdrop-filter:var(--modal-overlay-backdrop-filter);backdrop-filter:var(--modal-overlay-backdrop-filter);background-color:var(--modal-overlay-background-color);color:var(--color)}dialog article{max-height:calc(100vh - var(--spacing) * 2);overflow:auto}@media (min-width:576px){dialog article{max-width:510px}}@media (min-width:768px){dialog article{max-width:700px}}dialog article>footer,dialog article>header{padding:calc(var(--block-spacing-vertical) * .5) var(--block-spacing-horizontal)}dialog article>header .close{margin:0;margin-left:var(--spacing);float:right}dialog article>footer{text-align:right}dialog article>footer [role=button]{margin-bottom:0}dialog article>footer [role=button]:not(:first-of-type){margin-left:calc(var(--spacing) * .5)}dialog article p:last-of-type{margin:0}dialog article .close{display:block;width:1rem;height:1rem;margin-top:calc(var(--block-spacing-vertical) * -.5);margin-bottom:var(--typography-spacing-vertical);margin-left:auto;background-image:var(--icon-close);background-position:center;background-size:auto 1rem;background-repeat:no-repeat;opacity:.5;transition:opacity var(--transition)}dialog article .close:is([aria-current],:hover,:active,:focus){opacity:1}dialog:not([open]),dialog[open=false]{display:none}.modal-is-open{padding-right:var(--scrollbar-width,0);overflow:hidden;pointer-events:none;touch-action:none}.modal-is-open dialog{pointer-events:auto}:where(.modal-is-opening,.modal-is-closing) dialog,:where(.modal-is-opening,.modal-is-closing) dialog>article{animation-duration:.2s;animation-timing-function:ease-in-out;animation-fill-mode:both}:where(.modal-is-opening,.modal-is-closing) dialog{animation-duration:.8s;animation-name:modal-overlay}:where(.modal-is-opening,.modal-is-closing) dialog>article{animation-delay:.2s;animation-name:modal}.modal-is-closing dialog,.modal-is-closing dialog>article{animation-delay:0s;animation-direction:reverse}@keyframes modal-overlay{from{-webkit-backdrop-filter:none;backdrop-filter:none;background-color:transparent}}@keyframes modal{from{transform:translateY(-100%);opacity:0}}:where(nav li)::before{float:left;content:"​"}nav,nav ul{display:flex}nav{justify-content:space-between}nav ol,nav ul{align-items:center;margin-bottom:0;padding:0;list-style:none}nav ol:first-of-type,nav ul:first-of-type{margin-left:calc(var(--nav-element-spacing-horizontal) * -1)}nav ol:last-of-type,nav ul:last-of-type{margin-right:calc(var(--nav-element-spacing-horizontal) * -1)}nav li{display:inline-block;margin:0;padding:var(--nav-element-spacing-vertical) var(--nav-element-spacing-horizontal)}nav li>*{--spacing:0}nav :where(a,[role=link]){display:inline-block;margin:calc(var(--nav-link-spacing-vertical) * -1) calc(var(--nav-link-spacing-horizontal) * -1);padding:var(--nav-link-spacing-vertical) var(--nav-link-spacing-horizontal);border-radius:var(--border-radius);text-decoration:none}nav :where(a,[role=link]):is([aria-current],:hover,:active,:focus){text-decoration:none}nav[aria-label=breadcrumb]{align-items:center;justify-content:start}nav[aria-label=breadcrumb] ul li:not(:first-child){margin-inline-start:var(--nav-link-spacing-horizontal)}nav[aria-label=breadcrumb] ul li:not(:last-child) ::after{position:absolute;width:calc(var(--nav-link-spacing-horizontal) * 2);margin-inline-start:calc(var(--nav-link-spacing-horizontal)/ 2);content:"/";color:var(--muted-color);text-align:center}nav[aria-label=breadcrumb] a[aria-current]{background-color:transparent;color:inherit;text-decoration:none;pointer-events:none}nav [role=button]{margin-right:inherit;margin-left:inherit;padding:var(--nav-link-spacing-vertical) var(--nav-link-spacing-horizontal)}aside li,aside nav,aside ol,aside ul{display:block}aside li{padding:calc(var(--nav-element-spacing-vertical) * .5) var(--nav-element-spacing-horizontal)}aside li a{display:block}aside li [role=button]{margin:inherit}[dir=rtl] nav[aria-label=breadcrumb] ul li:not(:last-child) ::after{content:"\\"}progress{display:inline-block;vertical-align:baseline}progress{-webkit-appearance:none;-moz-appearance:none;display:inline-block;appearance:none;width:100%;height:.5rem;margin-bottom:calc(var(--spacing) * .5);overflow:hidden;border:0;border-radius:var(--border-radius);background-color:var(--progress-background-color);color:var(--progress-color)}progress::-webkit-progress-bar{border-radius:var(--border-radius);background:0 0}progress[value]::-webkit-progress-value{background-color:var(--progress-color)}progress::-moz-progress-bar{background-color:var(--progress-color)}@media (prefers-reduced-motion:no-preference){progress:indeterminate{background:var(--progress-background-color) linear-gradient(to right,var(--progress-color) 30%,var(--progress-background-color) 30%) top left/150% 150% no-repeat;animation:progress-indeterminate 1s linear infinite}progress:indeterminate[value]::-webkit-progress-value{background-color:transparent}progress:indeterminate::-moz-progress-bar{background-color:transparent}}@media (prefers-reduced-motion:no-preference){[dir=rtl] progress:indeterminate{animation-direction:reverse}}@keyframes progress-indeterminate{0%{background-position:200% 0}100%{background-position:-200% 0}}details[role=list],li[role=list]{position:relative}details[role=list] summary+ul,li[role=list]>ul{display:flex;z-index:99;position:absolute;top:auto;right:0;left:0;flex-direction:column;margin:0;padding:0;border:var(--border-width) solid var(--dropdown-border-color);border-radius:var(--border-radius);border-top-right-radius:0;border-top-left-radius:0;background-color:var(--dropdown-background-color);box-shadow:var(--card-box-shadow);color:var(--dropdown-color);white-space:nowrap}details[role=list] summary+ul li,li[role=list]>ul li{width:100%;margin-bottom:0;padding:calc(var(--form-element-spacing-vertical) * .5) var(--form-element-spacing-horizontal);list-style:none}details[role=list] summary+ul li:first-of-type,li[role=list]>ul li:first-of-type{margin-top:calc(var(--form-element-spacing-vertical) * .5)}details[role=list] summary+ul li:last-of-type,li[role=list]>ul li:last-of-type{margin-bottom:calc(var(--form-element-spacing-vertical) * .5)}details[role=list] summary+ul li a,li[role=list]>ul li a{display:block;margin:calc(var(--form-element-spacing-vertical) * -.5) calc(var(--form-element-spacing-horizontal) * -1);padding:calc(var(--form-element-spacing-vertical) * .5) var(--form-element-spacing-horizontal);overflow:hidden;color:var(--dropdown-color);text-decoration:none;text-overflow:ellipsis}details[role=list] summary+ul li a:hover,li[role=list]>ul li a:hover{background-color:var(--dropdown-hover-background-color)}details[role=list] summary::after,li[role=list]>a::after{display:block;width:1rem;height:calc(1rem * var(--line-height,1.5));margin-inline-start:.5rem;float:right;transform:rotate(0);background-image:var(--icon-chevron);background-position:right center;background-size:1rem auto;background-repeat:no-repeat;content:""}details[role=list]{padding:0;border-bottom:none}details[role=list] summary{margin-bottom:0}details[role=list] summary:not([role]){height:calc(1rem * var(--line-height) + var(--form-element-spacing-vertical) * 2 + var(--border-width) * 2);padding:var(--form-element-spacing-vertical) var(--form-element-spacing-horizontal);border:var(--border-width) solid var(--form-element-border-color);border-radius:var(--border-radius);background-color:var(--form-element-background-color);color:var(--form-element-placeholder-color);line-height:inherit;cursor:pointer;transition:background-color var(--transition),border-color var(--transition),color var(--transition),box-shadow var(--transition)}details[role=list] summary:not([role]):active,details[role=list] summary:not([role]):focus{border-color:var(--form-element-active-border-color);background-color:var(--form-element-active-background-color)}details[role=list] summary:not([role]):focus{box-shadow:0 0 0 var(--outline-width) var(--form-element-focus-color)}details[role=list][open] summary{border-bottom-right-radius:0;border-bottom-left-radius:0}details[role=list][open] summary::before{display:block;z-index:1;position:fixed;top:0;right:0;bottom:0;left:0;background:0 0;content:"";cursor:default}nav details[role=list] summary,nav li[role=list] a{display:flex;direction:ltr}nav details[role=list] summary+ul,nav li[role=list]>ul{min-width:-moz-fit-content;min-width:fit-content;border-radius:var(--border-radius)}nav details[role=list] summary+ul li a,nav li[role=list]>ul li a{border-radius:0}nav details[role=list] summary,nav details[role=list] summary:not([role]){height:auto;padding:var(--nav-link-spacing-vertical) var(--nav-link-spacing-horizontal)}nav details[role=list][open] summary{border-radius:var(--border-radius)}nav details[role=list] summary+ul{margin-top:var(--outline-width);margin-inline-start:0}nav details[role=list] summary[role=link]{margin-bottom:calc(var(--nav-link-spacing-vertical) * -1);line-height:var(--line-height)}nav details[role=list] summary[role=link]+ul{margin-top:calc(var(--nav-link-spacing-vertical) + var(--outline-width));margin-inline-start:calc(var(--nav-link-spacing-horizontal) * -1)}li[role=list] a:active~ul,li[role=list] a:focus~ul,li[role=list]:hover>ul{display:flex}li[role=list]>ul{display:none;margin-top:calc(var(--nav-link-spacing-vertical) + var(--outline-width));margin-inline-start:calc(var(--nav-element-spacing-horizontal) - var(--nav-link-spacing-horizontal))}li[role=list]>a::after{background-image:var(--icon-chevron)}label>details[role=list]{margin-top:calc(var(--spacing) * .25);margin-bottom:var(--spacing)}[aria-busy=true]{cursor:progress}[aria-busy=true]:not(input,select,textarea,html)::before{display:inline-block;width:1em;height:1em;border:.1875em solid currentColor;border-radius:1em;border-right-color:transparent;content:"";vertical-align:text-bottom;vertical-align:-.125em;animation:spinner .75s linear infinite;opacity:var(--loading-spinner-opacity)}[aria-busy=true]:not(input,select,textarea,html):not(:empty)::before{margin-right:calc(var(--spacing) * .5);margin-left:0;margin-inline-start:0;margin-inline-end:calc(var(--spacing) * .5)}[aria-busy=true]:not(input,select,textarea,html):empty{text-align:center}a[aria-busy=true],button[aria-busy=true],input[type=button][aria-busy=true],input[type=reset][aria-busy=true],input[type=submit][aria-busy=true]{pointer-events:none}@keyframes spinner{to{transform:rotate(360deg)}}[data-tooltip]{position:relative}[data-tooltip]:not(a,button,input){border-bottom:1px dotted;text-decoration:none;cursor:help}[data-tooltip]::after,[data-tooltip]::before,[data-tooltip][data-placement=top]::after,[data-tooltip][data-placement=top]::before{display:block;z-index:99;position:absolute;bottom:100%;left:50%;padding:.25rem .5rem;overflow:hidden;transform:translate(-50%,-.25rem);border-radius:var(--border-radius);background:var(--tooltip-background-color);content:attr(data-tooltip);color:var(--tooltip-color);font-style:normal;font-weight:var(--font-weight);font-size:.875rem;text-decoration:none;text-overflow:ellipsis;white-space:nowrap;opacity:0;pointer-events:none}[data-tooltip]::after,[data-tooltip][data-placement=top]::after{padding:0;transform:translate(-50%,0);border-top:.3rem solid;border-right:.3rem solid transparent;border-left:.3rem solid transparent;border-radius:0;background-color:transparent;content:"";color:var(--tooltip-background-color)}[data-tooltip][data-placement=bottom]::after,[data-tooltip][data-placement=bottom]::before{top:100%;bottom:auto;transform:translate(-50%,.25rem)}[data-tooltip][data-placement=bottom]:after{transform:translate(-50%,-.3rem);border:.3rem solid transparent;border-bottom:.3rem solid}[data-tooltip][data-placement=left]::after,[data-tooltip][data-placement=left]::before{top:50%;right:100%;bottom:auto;left:auto;transform:translate(-.25rem,-50%)}[data-tooltip][data-placement=left]:after{transform:translate(.3rem,-50%);border:.3rem solid transparent;border-left:.3rem solid}[data-tooltip][data-placement=right]::after,[data-tooltip][data-placement=right]::before{top:50%;right:auto;bottom:auto;left:100%;transform:translate(.25rem,-50%)}[data-tooltip][data-placement=right]:after{transform:translate(-.3rem,-50%);border:.3rem solid transparent;border-right:.3rem solid}[data-tooltip]:focus::after,[data-tooltip]:focus::before,[data-tooltip]:hover::after,[data-tooltip]:hover::before{opacity:1}@media (hover:hover) and (pointer:fine){[data-tooltip]:hover::after,[data-tooltip]:hover::before,[data-tooltip][data-placement=bottom]:focus::after,[data-tooltip][data-placement=bottom]:focus::before,[data-tooltip][data-placement=bottom]:hover [data-tooltip]:focus::after,[data-tooltip][data-placement=bottom]:hover [data-tooltip]:focus::before{animation-duration:.2s;animation-name:tooltip-slide-top}[data-tooltip]:hover::after,[data-tooltip][data-placement=bottom]:focus::after,[data-tooltip][data-placement=bottom]:hover [data-tooltip]:focus::after{animation-name:tooltip-caret-slide-top}[data-tooltip][data-placement=bottom]:focus::after,[data-tooltip][data-placement=bottom]:focus::before,[data-tooltip][data-placement=bottom]:hover::after,[data-tooltip][data-placement=bottom]:hover::before{animation-duration:.2s;animation-name:tooltip-slide-bottom}[data-tooltip][data-placement=bottom]:focus::after,[data-tooltip][data-placement=bottom]:hover::after{animation-name:tooltip-caret-slide-bottom}[data-tooltip][data-placement=left]:focus::after,[data-tooltip][data-placement=left]:focus::before,[data-tooltip][data-placement=left]:hover::after,[data-tooltip][data-placement=left]:hover::before{animation-duration:.2s;animation-name:tooltip-slide-left}[data-tooltip][data-placement=left]:focus::after,[data-tooltip][data-placement=left]:hover::after{animation-name:tooltip-caret-slide-left}[data-tooltip][data-placement=right]:focus::after,[data-tooltip][data-placement=right]:focus::before,[data-tooltip][data-placement=right]:hover::after,[data-tooltip][data-placement=right]:hover::before{animation-duration:.2s;animation-name:tooltip-slide-right}[data-tooltip][data-placement=right]:focus::after,[data-tooltip][data-placement=right]:hover::after{animation-name:tooltip-caret-slide-right}}@keyframes tooltip-slide-top{from{transform:translate(-50%,.75rem);opacity:0}to{transform:translate(-50%,-.25rem);opacity:1}}@keyframes tooltip-caret-slide-top{from{opacity:0}50%{transform:translate(-50%,-.25rem);opacity:0}to{transform:translate(-50%,0);opacity:1}}@keyframes tooltip-slide-bottom{from{transform:translate(-50%,-.75rem);opacity:0}to{transform:translate(-50%,.25rem);opacity:1}}@keyframes tooltip-caret-slide-bottom{from{opacity:0}50%{transform:translate(-50%,-.5rem);opacity:0}to{transform:translate(-50%,-.3rem);opacity:1}}@keyframes tooltip-slide-left{from{transform:translate(.75rem,-50%);opacity:0}to{transform:translate(-.25rem,-50%);opacity:1}}@keyframes tooltip-caret-slide-left{from{opacity:0}50%{transform:translate(.05rem,-50%);opacity:0}to{transform:translate(.3rem,-50%);opacity:1}}@keyframes tooltip-slide-right{from{transform:translate(-.75rem,-50%);opacity:0}to{transform:translate(.25rem,-50%);opacity:1}}@keyframes tooltip-caret-slide-right{from{opacity:0}50%{transform:translate(-.05rem,-50%);opacity:0}to{transform:translate(-.3rem,-50%);opacity:1}}[aria-controls]{cursor:pointer}[aria-disabled=true],[disabled]{cursor:not-allowed}[aria-hidden=false][hidden]{display:initial}[aria-hidden=false][hidden]:not(:focus){clip:rect(0,0,0,0);position:absolute}[tabindex],a,area,button,input,label,select,summary,textarea{-ms-touch-action:manipulation}[dir=rtl]{direction:rtl}@media (prefers-reduced-motion:reduce){:not([aria-busy=true]),:not([aria-busy=true])::after,:not([aria-busy=true])::before{background-attachment:initial!important;animation-duration:1ms!important;animation-delay:-1ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important;transition-delay:0s!important;transition-duration:0s!important}} /*# sourceMappingURL=pico.min.css.map */ diff --git a/src/components/pages/orders/active_order_items.tsx b/src/components/pages/orders/active_order_items.tsx index eb0e791..e8ad314 100644 --- a/src/components/pages/orders/active_order_items.tsx +++ b/src/components/pages/orders/active_order_items.tsx @@ -19,7 +19,7 @@ export const ActiveOrderItems = (
-

{item.inventory.name}

+

{item.inventory.name}