@warp-ds/elements 1.0.1-next.2 → 1.0.1-next.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +203 -203
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -14,19 +14,19 @@ var T = (r, o, e) => (et(r, o, "read from private field"), e ? e.call(r) : o.get
|
|
|
14
14
|
* Copyright 2019 Google LLC
|
|
15
15
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
16
16
|
*/
|
|
17
|
-
const Mo = window,
|
|
17
|
+
const Mo = window, Ar = Mo.ShadowRoot && (Mo.ShadyCSS === void 0 || Mo.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, Cr = Symbol(), Nr = /* @__PURE__ */ new WeakMap();
|
|
18
18
|
let pe = class {
|
|
19
19
|
constructor(o, e, t) {
|
|
20
|
-
if (this._$cssResult$ = !0, t !==
|
|
20
|
+
if (this._$cssResult$ = !0, t !== Cr)
|
|
21
21
|
throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
|
|
22
22
|
this.cssText = o, this.t = e;
|
|
23
23
|
}
|
|
24
24
|
get styleSheet() {
|
|
25
25
|
let o = this.o;
|
|
26
26
|
const e = this.t;
|
|
27
|
-
if (
|
|
27
|
+
if (Ar && o === void 0) {
|
|
28
28
|
const t = e !== void 0 && e.length === 1;
|
|
29
|
-
t && (o =
|
|
29
|
+
t && (o = Nr.get(e)), o === void 0 && ((this.o = o = new CSSStyleSheet()).replaceSync(this.cssText), t && Nr.set(e, o));
|
|
30
30
|
}
|
|
31
31
|
return o;
|
|
32
32
|
}
|
|
@@ -34,7 +34,7 @@ let pe = class {
|
|
|
34
34
|
return this.cssText;
|
|
35
35
|
}
|
|
36
36
|
};
|
|
37
|
-
const tt = (r) => new pe(typeof r == "string" ? r : r + "", void 0,
|
|
37
|
+
const tt = (r) => new pe(typeof r == "string" ? r : r + "", void 0, Cr), A = (r, ...o) => {
|
|
38
38
|
const e = r.length === 1 ? r[0] : o.reduce((t, a, c) => t + ((i) => {
|
|
39
39
|
if (i._$cssResult$ === !0)
|
|
40
40
|
return i.cssText;
|
|
@@ -42,13 +42,13 @@ const tt = (r) => new pe(typeof r == "string" ? r : r + "", void 0, Er), A = (r,
|
|
|
42
42
|
return i;
|
|
43
43
|
throw Error("Value passed to 'css' function must be a 'css' function result: " + i + ". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.");
|
|
44
44
|
})(a) + r[c + 1], r[0]);
|
|
45
|
-
return new pe(e, r,
|
|
45
|
+
return new pe(e, r, Cr);
|
|
46
46
|
}, at = (r, o) => {
|
|
47
|
-
|
|
47
|
+
Ar ? r.adoptedStyleSheets = o.map((e) => e instanceof CSSStyleSheet ? e : e.styleSheet) : o.forEach((e) => {
|
|
48
48
|
const t = document.createElement("style"), a = Mo.litNonce;
|
|
49
49
|
a !== void 0 && t.setAttribute("nonce", a), t.textContent = e.cssText, r.appendChild(t);
|
|
50
50
|
});
|
|
51
|
-
},
|
|
51
|
+
}, Or = Ar ? (r) => r : (r) => r instanceof CSSStyleSheet ? ((o) => {
|
|
52
52
|
let e = "";
|
|
53
53
|
for (const t of o.cssRules)
|
|
54
54
|
e += t.cssText;
|
|
@@ -60,7 +60,7 @@ const tt = (r) => new pe(typeof r == "string" ? r : r + "", void 0, Er), A = (r,
|
|
|
60
60
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
61
61
|
*/
|
|
62
62
|
var ar;
|
|
63
|
-
const Bo = window,
|
|
63
|
+
const Bo = window, Ir = Bo.trustedTypes, ct = Ir ? Ir.emptyScript : "", Hr = Bo.reactiveElementPolyfillSupport, ur = { toAttribute(r, o) {
|
|
64
64
|
switch (o) {
|
|
65
65
|
case Boolean:
|
|
66
66
|
r = r ? ct : null;
|
|
@@ -88,7 +88,7 @@ const Bo = window, Hr = Bo.trustedTypes, ct = Hr ? Hr.emptyScript : "", Qr = Bo.
|
|
|
88
88
|
}
|
|
89
89
|
}
|
|
90
90
|
return e;
|
|
91
|
-
} }, we = (r, o) => o !== r && (o == o || r == r), cr = { attribute: !0, type: String, converter:
|
|
91
|
+
} }, we = (r, o) => o !== r && (o == o || r == r), cr = { attribute: !0, type: String, converter: ur, reflect: !1, hasChanged: we }, vr = "finalized";
|
|
92
92
|
let bo = class extends HTMLElement {
|
|
93
93
|
constructor() {
|
|
94
94
|
super(), this._$Ei = /* @__PURE__ */ new Map(), this.isUpdatePending = !1, this.hasUpdated = !1, this._$El = null, this.u();
|
|
@@ -123,9 +123,9 @@ let bo = class extends HTMLElement {
|
|
|
123
123
|
return this.elementProperties.get(o) || cr;
|
|
124
124
|
}
|
|
125
125
|
static finalize() {
|
|
126
|
-
if (this.hasOwnProperty(
|
|
126
|
+
if (this.hasOwnProperty(vr))
|
|
127
127
|
return !1;
|
|
128
|
-
this[
|
|
128
|
+
this[vr] = !0;
|
|
129
129
|
const o = Object.getPrototypeOf(this);
|
|
130
130
|
if (o.finalize(), o.h !== void 0 && (this.h = [...o.h]), this.elementProperties = new Map(o.elementProperties), this._$Ev = /* @__PURE__ */ new Map(), this.hasOwnProperty("properties")) {
|
|
131
131
|
const e = this.properties, t = [...Object.getOwnPropertyNames(e), ...Object.getOwnPropertySymbols(e)];
|
|
@@ -139,9 +139,9 @@ let bo = class extends HTMLElement {
|
|
|
139
139
|
if (Array.isArray(o)) {
|
|
140
140
|
const t = new Set(o.flat(1 / 0).reverse());
|
|
141
141
|
for (const a of t)
|
|
142
|
-
e.unshift(
|
|
142
|
+
e.unshift(Or(a));
|
|
143
143
|
} else
|
|
144
|
-
o !== void 0 && e.push(
|
|
144
|
+
o !== void 0 && e.push(Or(o));
|
|
145
145
|
return e;
|
|
146
146
|
}
|
|
147
147
|
static _$Ep(o, e) {
|
|
@@ -193,7 +193,7 @@ let bo = class extends HTMLElement {
|
|
|
193
193
|
var a;
|
|
194
194
|
const c = this.constructor._$Ep(o, t);
|
|
195
195
|
if (c !== void 0 && t.reflect === !0) {
|
|
196
|
-
const i = (((a = t.converter) === null || a === void 0 ? void 0 : a.toAttribute) !== void 0 ? t.converter :
|
|
196
|
+
const i = (((a = t.converter) === null || a === void 0 ? void 0 : a.toAttribute) !== void 0 ? t.converter : ur).toAttribute(e, t.type);
|
|
197
197
|
this._$El = o, i == null ? this.removeAttribute(c) : this.setAttribute(c, i), this._$El = null;
|
|
198
198
|
}
|
|
199
199
|
}
|
|
@@ -201,7 +201,7 @@ let bo = class extends HTMLElement {
|
|
|
201
201
|
var t;
|
|
202
202
|
const a = this.constructor, c = a._$Ev.get(o);
|
|
203
203
|
if (c !== void 0 && this._$El !== c) {
|
|
204
|
-
const i = a.getPropertyOptions(c), l = typeof i.converter == "function" ? { fromAttribute: i.converter } : ((t = i.converter) === null || t === void 0 ? void 0 : t.fromAttribute) !== void 0 ? i.converter :
|
|
204
|
+
const i = a.getPropertyOptions(c), l = typeof i.converter == "function" ? { fromAttribute: i.converter } : ((t = i.converter) === null || t === void 0 ? void 0 : t.fromAttribute) !== void 0 ? i.converter : ur;
|
|
205
205
|
this._$El = c, this[c] = l.fromAttribute(e, i.type), this._$El = null;
|
|
206
206
|
}
|
|
207
207
|
}
|
|
@@ -268,20 +268,20 @@ let bo = class extends HTMLElement {
|
|
|
268
268
|
firstUpdated(o) {
|
|
269
269
|
}
|
|
270
270
|
};
|
|
271
|
-
bo[
|
|
271
|
+
bo[vr] = !0, bo.elementProperties = /* @__PURE__ */ new Map(), bo.elementStyles = [], bo.shadowRootOptions = { mode: "open" }, Hr == null || Hr({ ReactiveElement: bo }), ((ar = Bo.reactiveElementVersions) !== null && ar !== void 0 ? ar : Bo.reactiveElementVersions = []).push("1.6.2");
|
|
272
272
|
/**
|
|
273
273
|
* @license
|
|
274
274
|
* Copyright 2017 Google LLC
|
|
275
275
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
276
276
|
*/
|
|
277
277
|
var ir;
|
|
278
|
-
const No = window, vo = No.trustedTypes,
|
|
279
|
-
\f\r]`, xo = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,
|
|
280
|
-
\f\r"'\`<>=]|("|')|))|$)`, "g"),
|
|
278
|
+
const No = window, vo = No.trustedTypes, Qr = vo ? vo.createPolicy("lit-html", { createHTML: (r) => r }) : void 0, Oo = "$lit$", O = `lit$${(Math.random() + "").slice(9)}$`, Er = "?" + O, it = `<${Er}>`, ao = document, yo = () => ao.createComment(""), zo = (r) => r === null || typeof r != "object" && typeof r != "function", xe = Array.isArray, me = (r) => xe(r) || typeof (r == null ? void 0 : r[Symbol.iterator]) == "function", lr = `[
|
|
279
|
+
\f\r]`, xo = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Ur = /-->/g, Vr = />/g, K = RegExp(`>|${lr}(?:([^\\s"'>=/]+)(${lr}*=${lr}*(?:[^
|
|
280
|
+
\f\r"'\`<>=]|("|')|))|$)`, "g"), Fr = /'/g, Wr = /"/g, ke = /^(?:script|style|textarea|title)$/i, fe = (r) => (o, ...e) => ({ _$litType$: r, strings: o, values: e }), v = fe(1), G = fe(2), Q = Symbol.for("lit-noChange"), q = Symbol.for("lit-nothing"), Gr = /* @__PURE__ */ new WeakMap(), eo = ao.createTreeWalker(ao, 129, null, !1);
|
|
281
281
|
function $e(r, o) {
|
|
282
282
|
if (!Array.isArray(r) || !r.hasOwnProperty("raw"))
|
|
283
283
|
throw Error("invalid template strings array");
|
|
284
|
-
return
|
|
284
|
+
return Qr !== void 0 ? Qr.createHTML(o) : o;
|
|
285
285
|
}
|
|
286
286
|
const ye = (r, o) => {
|
|
287
287
|
const e = r.length - 1, t = [];
|
|
@@ -290,7 +290,7 @@ const ye = (r, o) => {
|
|
|
290
290
|
const d = r[l];
|
|
291
291
|
let n, s, b = -1, g = 0;
|
|
292
292
|
for (; g < d.length && (i.lastIndex = g, s = i.exec(d), s !== null); )
|
|
293
|
-
g = i.lastIndex, i === xo ? s[1] === "!--" ? i =
|
|
293
|
+
g = i.lastIndex, i === xo ? s[1] === "!--" ? i = Ur : s[1] !== void 0 ? i = Vr : s[2] !== void 0 ? (ke.test(s[2]) && (a = RegExp("</" + s[2], "g")), i = K) : s[3] !== void 0 && (i = K) : i === K ? s[0] === ">" ? (i = a ?? xo, b = -1) : s[1] === void 0 ? b = -2 : (b = i.lastIndex - s[2].length, n = s[1], i = s[3] === void 0 ? K : s[3] === '"' ? Wr : Fr) : i === Wr || i === Fr ? i = K : i === Ur || i === Vr ? i = xo : (i = K, a = void 0);
|
|
294
294
|
const x = i === K && r[l + 1].startsWith("/>") ? " " : "";
|
|
295
295
|
c += i === xo ? d + it : b >= 0 ? (t.push(n), d.slice(0, b) + Oo + d.slice(b) + O + x) : d + O + (b === -2 ? (t.push(void 0), l) : x);
|
|
296
296
|
}
|
|
@@ -332,7 +332,7 @@ class _o {
|
|
|
332
332
|
}
|
|
333
333
|
}
|
|
334
334
|
} else if (a.nodeType === 8)
|
|
335
|
-
if (a.data ===
|
|
335
|
+
if (a.data === Er)
|
|
336
336
|
d.push({ type: 2, index: c });
|
|
337
337
|
else {
|
|
338
338
|
let b = -1;
|
|
@@ -428,8 +428,8 @@ let or = class _e {
|
|
|
428
428
|
}
|
|
429
429
|
}
|
|
430
430
|
_$AC(o) {
|
|
431
|
-
let e =
|
|
432
|
-
return e === void 0 &&
|
|
431
|
+
let e = Gr.get(o.strings);
|
|
432
|
+
return e === void 0 && Gr.set(o.strings, e = new _o(o)), e;
|
|
433
433
|
}
|
|
434
434
|
T(o) {
|
|
435
435
|
xe(this._$AH) || (this._$AH = [], this._$AR());
|
|
@@ -521,8 +521,8 @@ class je {
|
|
|
521
521
|
co(this, o);
|
|
522
522
|
}
|
|
523
523
|
}
|
|
524
|
-
const dt = { O: Oo, P: O, A:
|
|
525
|
-
|
|
524
|
+
const dt = { O: Oo, P: O, A: Er, C: 1, M: ye, L: ze, D: me, R: co, I: or, V: jo, H: Xe, N: Ye, U: qe, F: je }, Jr = No.litHtmlPolyfillSupport;
|
|
525
|
+
Jr == null || Jr(_o, or), ((ir = No.litHtmlVersions) !== null && ir !== void 0 ? ir : No.litHtmlVersions = []).push("2.7.5");
|
|
526
526
|
const nt = (r, o, e) => {
|
|
527
527
|
var t, a;
|
|
528
528
|
const c = (t = e == null ? void 0 : e.renderBefore) !== null && t !== void 0 ? t : o;
|
|
@@ -565,8 +565,8 @@ let X = class extends bo {
|
|
|
565
565
|
}
|
|
566
566
|
};
|
|
567
567
|
X.finalized = !0, X._$litElement$ = !0, (dr = globalThis.litElementHydrateSupport) === null || dr === void 0 || dr.call(globalThis, { LitElement: X });
|
|
568
|
-
const
|
|
569
|
-
|
|
568
|
+
const Kr = globalThis.litElementPolyfillSupport;
|
|
569
|
+
Kr == null || Kr({ LitElement: X });
|
|
570
570
|
((nr = globalThis.litElementVersions) !== null && nr !== void 0 ? nr : globalThis.litElementVersions = []).push("3.3.2");
|
|
571
571
|
const N = {
|
|
572
572
|
base: "border-2 relative",
|
|
@@ -879,18 +879,18 @@ var F = function() {
|
|
|
879
879
|
}) : "");
|
|
880
880
|
}, []).join(" ");
|
|
881
881
|
};
|
|
882
|
-
const
|
|
882
|
+
const oe = {
|
|
883
883
|
negative: ut(),
|
|
884
884
|
positive: vt(),
|
|
885
885
|
warning: ht(),
|
|
886
886
|
info: pt()
|
|
887
887
|
};
|
|
888
|
-
class
|
|
888
|
+
class hr extends X {
|
|
889
889
|
constructor() {
|
|
890
890
|
super(), this.show = !1, this.role = "alert";
|
|
891
891
|
}
|
|
892
892
|
connectedCallback() {
|
|
893
|
-
if (super.connectedCallback(), !this.variant || !Object.keys(
|
|
893
|
+
if (super.connectedCallback(), !this.variant || !Object.keys(oe).includes(this.variant))
|
|
894
894
|
throw new Error(
|
|
895
895
|
`Invalid "variant" attribute. Set its value to one of the following:
|
|
896
896
|
negative, positive, warning, info.`
|
|
@@ -910,7 +910,7 @@ negative, positive, warning, info.`
|
|
|
910
910
|
});
|
|
911
911
|
}
|
|
912
912
|
get _icon() {
|
|
913
|
-
return this.variant ?
|
|
913
|
+
return this.variant ? oe[this.variant] : {};
|
|
914
914
|
}
|
|
915
915
|
render() {
|
|
916
916
|
return v`
|
|
@@ -925,7 +925,7 @@ negative, positive, warning, info.`
|
|
|
925
925
|
`;
|
|
926
926
|
}
|
|
927
927
|
}
|
|
928
|
-
$(
|
|
928
|
+
$(hr, "properties", {
|
|
929
929
|
variant: { type: String, reflect: !0 },
|
|
930
930
|
show: { type: Boolean, reflect: !0 },
|
|
931
931
|
role: { type: String, reflect: !0 }
|
|
@@ -933,7 +933,7 @@ $(pr, "properties", {
|
|
|
933
933
|
// ::slotted([Simple Selector]) confirms to Specificity rules, but (being simple) does not add weight to lightDOM skin selectors,
|
|
934
934
|
// so never gets higher Specificity. Thus in order to overwrite style linked within shadowDOM, we need to use !important.
|
|
935
935
|
// https://stackoverflow.com/a/61631668
|
|
936
|
-
$(
|
|
936
|
+
$(hr, "styles", A`
|
|
937
937
|
/* layer: preflights */
|
|
938
938
|
*,::before,::after{--w-rotate:0;--w-rotate-x:0;--w-rotate-y:0;--w-rotate-z:0;--w-scale-x:1;--w-scale-y:1;--w-scale-z:1;--w-skew-x:0;--w-skew-y:0;--w-translate-x:0;--w-translate-y:0;--w-translate-z:0;}
|
|
939
939
|
*,:before,:after{box-sizing:border-box;border-style:solid;border-width:0;border-color:var(--w-s-color-border,var(--w-s-color-border-default))}html{font-size:62.5%}body{background-color:var(--w-s-color-background,var(--w-s-color-background-default));min-height:100%;margin:0;overflow-y:scroll}body,:host{-webkit-text-size-adjust:100%;tab-size:4;-webkit-tap-highlight-color:transparent;font-family:var(--w-font-family);font-size:var(--w-font-size-m);line-height:var(--w-line-height-m);color:var(--w-s-color-text,var(--w-s-color-text-default))}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:700}a{cursor:pointer;color:var(--w-s-color-text-link);text-decoration:none}a:hover,a:focus,a:active{-webkit-text-decoration:var(--w-decoration-text-link);text-decoration:var(--w-decoration-text-link)}b,strong{font-weight:700}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{margin:0;padding:0;list-style:none}textarea{resize:vertical}input::placeholder,textarea::placeholder{opacity:1;color:var(--w-s-color-text-placeholder)}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}h1{font-size:var(--w-font-size-xxl);line-height:var(--w-line-height-xxl)}h2{font-size:var(--w-font-size-xl);line-height:var(--w-line-height-xl)}h3{font-size:var(--w-font-size-l);line-height:var(--w-line-height-l)}h4{font-size:var(--w-font-size-m);line-height:var(--w-line-height-m)}h5{font-size:var(--w-font-size-s);line-height:var(--w-line-height-s)}dt,dd{margin:0 16px}h1,h2,h3,h4,h5,ul,ol,dl,p,blockquote{margin:0 0 8px}[hidden]{display:none!important}[tabindex="-1"]:focus:not(:focus-visible){outline:none}legend{float:left;width:100%;margin:0;padding:0;display:table}legend+*{clear:both}fieldset{min-width:0;border:0;margin:0;padding:.01em 0 0}body:not(:-moz-handler-blocked) fieldset{display:table-cell}
|
|
@@ -1589,14 +1589,14 @@ $(pr, "styles", A`
|
|
|
1589
1589
|
margin-bottom: 0px !important;
|
|
1590
1590
|
}
|
|
1591
1591
|
`);
|
|
1592
|
-
customElements.get("w-alert") || customElements.define("w-alert",
|
|
1592
|
+
customElements.get("w-alert") || customElements.define("w-alert", hr);
|
|
1593
1593
|
/**
|
|
1594
1594
|
* @license
|
|
1595
1595
|
* Copyright 2017 Google LLC
|
|
1596
1596
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1597
1597
|
*/
|
|
1598
|
-
const
|
|
1599
|
-
let
|
|
1598
|
+
const Lr = { ATTRIBUTE: 1, CHILD: 2, PROPERTY: 3, BOOLEAN_ATTRIBUTE: 4, EVENT: 5, ELEMENT: 6 }, Mr = (r) => (...o) => ({ _$litDirective$: r, values: o });
|
|
1599
|
+
let Tr = class {
|
|
1600
1600
|
constructor(o) {
|
|
1601
1601
|
}
|
|
1602
1602
|
get _$AU() {
|
|
@@ -1617,10 +1617,10 @@ let Dr = class {
|
|
|
1617
1617
|
* Copyright 2018 Google LLC
|
|
1618
1618
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1619
1619
|
*/
|
|
1620
|
-
const Se =
|
|
1620
|
+
const Se = Mr(class extends Tr {
|
|
1621
1621
|
constructor(r) {
|
|
1622
1622
|
var o;
|
|
1623
|
-
if (super(r), r.type !==
|
|
1623
|
+
if (super(r), r.type !== Lr.ATTRIBUTE || r.name !== "class" || ((o = r.strings) === null || o === void 0 ? void 0 : o.length) > 2)
|
|
1624
1624
|
throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.");
|
|
1625
1625
|
}
|
|
1626
1626
|
render(r) {
|
|
@@ -1655,7 +1655,7 @@ function Zo(r) {
|
|
|
1655
1655
|
}
|
|
1656
1656
|
};
|
|
1657
1657
|
}
|
|
1658
|
-
function
|
|
1658
|
+
function re(r) {
|
|
1659
1659
|
const o = [];
|
|
1660
1660
|
for (const [e, t] of Object.entries(r))
|
|
1661
1661
|
t && o.push(e);
|
|
@@ -1671,7 +1671,7 @@ function L(r) {
|
|
|
1671
1671
|
function $t() {
|
|
1672
1672
|
return `m${Math.random().toString(36).slice(2)}`;
|
|
1673
1673
|
}
|
|
1674
|
-
const
|
|
1674
|
+
const ee = [
|
|
1675
1675
|
"primary",
|
|
1676
1676
|
"secondary",
|
|
1677
1677
|
"negative",
|
|
@@ -1684,10 +1684,10 @@ class To extends Zo(X) {
|
|
|
1684
1684
|
super(), this.variant = "secondary";
|
|
1685
1685
|
}
|
|
1686
1686
|
connectedCallback() {
|
|
1687
|
-
if (super.connectedCallback(), !
|
|
1687
|
+
if (super.connectedCallback(), !ee.includes(this.variant))
|
|
1688
1688
|
throw new Error(
|
|
1689
1689
|
`Invalid "variant" attribute. Set its value to one of the following:
|
|
1690
|
-
${
|
|
1690
|
+
${ee.join(
|
|
1691
1691
|
", "
|
|
1692
1692
|
)}.`
|
|
1693
1693
|
);
|
|
@@ -1696,63 +1696,63 @@ ${sr.join(
|
|
|
1696
1696
|
this.autofocus && setTimeout(() => this.focus(), 0);
|
|
1697
1697
|
}
|
|
1698
1698
|
get _classes() {
|
|
1699
|
-
const o =
|
|
1699
|
+
const o = this.variant === "primary", e = this.variant === "secondary", t = this.variant === "negative", a = this.variant === "utility", c = this.variant === "pill", i = this.variant === "link";
|
|
1700
1700
|
return F(
|
|
1701
1701
|
{
|
|
1702
|
-
[w.secondary]:
|
|
1703
|
-
[w.secondaryDisabled]:
|
|
1704
|
-
[w.secondarySmall]:
|
|
1705
|
-
[w.secondarySmallDisabled]:
|
|
1706
|
-
[w.secondarySmallLoading]:
|
|
1707
|
-
[w.secondarySmallQuiet]:
|
|
1708
|
-
[w.secondarySmallQuietDisabled]:
|
|
1709
|
-
[w.secondarySmallQuietLoading]:
|
|
1710
|
-
[w.secondaryQuiet]:
|
|
1711
|
-
[w.secondaryQuietDisabled]:
|
|
1712
|
-
[w.secondaryQuietLoading]:
|
|
1713
|
-
[w.secondaryLoading]:
|
|
1714
|
-
[w.primary]:
|
|
1715
|
-
[w.primaryDisabled]:
|
|
1716
|
-
[w.primarySmall]:
|
|
1717
|
-
[w.primarySmallDisabled]:
|
|
1718
|
-
[w.primarySmallQuiet]:
|
|
1719
|
-
[w.primarySmallQuietDisabled]:
|
|
1720
|
-
[w.primarySmallLoading]:
|
|
1721
|
-
[w.primarySmallQuietLoading]:
|
|
1722
|
-
[w.primaryQuiet]:
|
|
1723
|
-
[w.primaryQuietDisabled]:
|
|
1724
|
-
[w.primaryQuietLoading]:
|
|
1725
|
-
[w.primaryLoading]:
|
|
1726
|
-
[w.utility]:
|
|
1727
|
-
[w.utilityDisabled]:
|
|
1728
|
-
[w.utilitySmall]:
|
|
1729
|
-
[w.utilitySmallDisabled]:
|
|
1730
|
-
[w.utilitySmallQuiet]:
|
|
1731
|
-
[w.utilitySmallQuietDisabled]:
|
|
1732
|
-
[w.utilitySmallLoading]:
|
|
1733
|
-
[w.utilitySmallQuietLoading]:
|
|
1734
|
-
[w.utilityQuiet]:
|
|
1735
|
-
[w.utilityQuietDisabled]:
|
|
1736
|
-
[w.utilityQuietLoading]:
|
|
1737
|
-
[w.utilityLoading]:
|
|
1738
|
-
[w.negative]:
|
|
1739
|
-
[w.negativeDisabled]:
|
|
1740
|
-
[w.negativeSmall]:
|
|
1741
|
-
[w.negativeSmallDisabled]:
|
|
1742
|
-
[w.negativeSmallQuiet]:
|
|
1743
|
-
[w.negativeSmallQuietDisabled]:
|
|
1744
|
-
[w.negativeSmallLoading]:
|
|
1745
|
-
[w.negativeSmallQuietLoading]:
|
|
1746
|
-
[w.negativeQuiet]:
|
|
1747
|
-
[w.negativeQuietDisabled]:
|
|
1748
|
-
[w.negativeQuietLoading]:
|
|
1749
|
-
[w.negativeLoading]:
|
|
1750
|
-
[w.pill]:
|
|
1751
|
-
[w.pillSmall]:
|
|
1752
|
-
[w.pillLoading]:
|
|
1753
|
-
[w.pillSmallLoading]:
|
|
1754
|
-
[w.link]:
|
|
1755
|
-
[w.linkSmall]:
|
|
1702
|
+
[w.secondary]: e && !this.small && !this.quiet && !this.loading && !this.disabled,
|
|
1703
|
+
[w.secondaryDisabled]: e && !this.small && !this.quiet && !this.loading && this.disabled,
|
|
1704
|
+
[w.secondarySmall]: e && this.small && !this.quiet && !this.loading && !this.disabled,
|
|
1705
|
+
[w.secondarySmallDisabled]: e && this.small && !this.quiet && !this.loading && this.disabled,
|
|
1706
|
+
[w.secondarySmallLoading]: e && this.small && !this.quiet && this.loading,
|
|
1707
|
+
[w.secondarySmallQuiet]: e && this.small && this.quiet && !this.loading && !this.disabled,
|
|
1708
|
+
[w.secondarySmallQuietDisabled]: e && this.small && this.quiet && !this.loading && this.disabled,
|
|
1709
|
+
[w.secondarySmallQuietLoading]: e && this.small && this.quiet && this.loading,
|
|
1710
|
+
[w.secondaryQuiet]: e && !this.small && this.quiet && !this.loading && !this.disabled,
|
|
1711
|
+
[w.secondaryQuietDisabled]: e && !this.small && this.quiet && !this.loading && this.disabled,
|
|
1712
|
+
[w.secondaryQuietLoading]: e && !this.small && this.quiet && this.loading,
|
|
1713
|
+
[w.secondaryLoading]: e && !this.small && !this.quiet && this.loading,
|
|
1714
|
+
[w.primary]: o && !this.small && !this.quiet && !this.loading && !this.disabled,
|
|
1715
|
+
[w.primaryDisabled]: o && !this.small && !this.quiet && !this.loading && this.disabled,
|
|
1716
|
+
[w.primarySmall]: o && this.small && !this.quiet && !this.loading && !this.disabled,
|
|
1717
|
+
[w.primarySmallDisabled]: o && this.small && !this.quiet && !this.loading && this.disabled,
|
|
1718
|
+
[w.primarySmallQuiet]: o && this.small && this.quiet && !this.loading && !this.disabled,
|
|
1719
|
+
[w.primarySmallQuietDisabled]: o && this.small && this.quiet && !this.loading && this.disabled,
|
|
1720
|
+
[w.primarySmallLoading]: o && this.small && !this.quiet && this.loading,
|
|
1721
|
+
[w.primarySmallQuietLoading]: o && this.small && this.quiet && this.loading,
|
|
1722
|
+
[w.primaryQuiet]: o && !this.small && this.quiet && !this.loading && !this.disabled,
|
|
1723
|
+
[w.primaryQuietDisabled]: o && !this.small && this.quiet && !this.loading && this.disabled,
|
|
1724
|
+
[w.primaryQuietLoading]: o && !this.small && this.quiet && this.loading,
|
|
1725
|
+
[w.primaryLoading]: o && !this.small && !this.quiet && this.loading,
|
|
1726
|
+
[w.utility]: a && !this.small && !this.quiet && !this.loading && !this.disabled,
|
|
1727
|
+
[w.utilityDisabled]: a && !this.small && !this.quiet && !this.loading && this.disabled,
|
|
1728
|
+
[w.utilitySmall]: a && this.small && !this.quiet && !this.loading && !this.disabled,
|
|
1729
|
+
[w.utilitySmallDisabled]: a && this.small && !this.quiet && !this.loading && this.disabled,
|
|
1730
|
+
[w.utilitySmallQuiet]: a && this.small && this.quiet && !this.loading && !this.disabled,
|
|
1731
|
+
[w.utilitySmallQuietDisabled]: a && this.small && this.quiet && !this.loading && this.disabled,
|
|
1732
|
+
[w.utilitySmallLoading]: a && this.small && !this.quiet && this.loading,
|
|
1733
|
+
[w.utilitySmallQuietLoading]: a && this.small && this.quiet && this.loading,
|
|
1734
|
+
[w.utilityQuiet]: a && !this.small && this.quiet && !this.loading && !this.disabled,
|
|
1735
|
+
[w.utilityQuietDisabled]: a && !this.small && this.quiet && !this.loading && this.disabled,
|
|
1736
|
+
[w.utilityQuietLoading]: a && !this.small && this.quiet && this.loading,
|
|
1737
|
+
[w.utilityLoading]: a && !this.small && !this.quiet && this.loading,
|
|
1738
|
+
[w.negative]: t && !this.small && !this.quiet && !this.loading && !this.disabled,
|
|
1739
|
+
[w.negativeDisabled]: t && !this.small && !this.quiet && !this.loading && this.disabled,
|
|
1740
|
+
[w.negativeSmall]: t && this.small && !this.quiet && !this.loading && !this.disabled,
|
|
1741
|
+
[w.negativeSmallDisabled]: t && this.small && !this.quiet && !this.loading && this.disabled,
|
|
1742
|
+
[w.negativeSmallQuiet]: t && this.small && this.quiet && !this.loading && !this.disabled,
|
|
1743
|
+
[w.negativeSmallQuietDisabled]: t && this.small && this.quiet && !this.loading && this.disabled,
|
|
1744
|
+
[w.negativeSmallLoading]: t && this.small && !this.quiet && this.loading,
|
|
1745
|
+
[w.negativeSmallQuietLoading]: t && this.small && this.quiet && this.loading,
|
|
1746
|
+
[w.negativeQuiet]: t && !this.small && this.quiet && !this.loading && !this.disabled,
|
|
1747
|
+
[w.negativeQuietDisabled]: t && !this.small && this.quiet && !this.loading && this.disabled,
|
|
1748
|
+
[w.negativeQuietLoading]: t && !this.small && this.quiet && this.loading,
|
|
1749
|
+
[w.negativeLoading]: t && !this.small && !this.quiet && this.loading,
|
|
1750
|
+
[w.pill]: c && !this.small && !this.loading,
|
|
1751
|
+
[w.pillSmall]: c && this.small && !this.loading,
|
|
1752
|
+
[w.pillLoading]: c && !this.small && this.loading,
|
|
1753
|
+
[w.pillSmallLoading]: c && this.small && this.loading,
|
|
1754
|
+
[w.link]: i && !this.small,
|
|
1755
|
+
[w.linkSmall]: i && this.small,
|
|
1756
1756
|
[w.linkAsButton]: !!this.href
|
|
1757
1757
|
}
|
|
1758
1758
|
);
|
|
@@ -2444,7 +2444,7 @@ const _ = (r) => r ?? q, te = {
|
|
|
2444
2444
|
ENTER: "Enter",
|
|
2445
2445
|
SPACE: " "
|
|
2446
2446
|
};
|
|
2447
|
-
class
|
|
2447
|
+
class pr extends X {
|
|
2448
2448
|
constructor() {
|
|
2449
2449
|
super(), this.selected = !1, this.flat = !1, this.clickable = !1;
|
|
2450
2450
|
}
|
|
@@ -2489,7 +2489,7 @@ class wr extends X {
|
|
|
2489
2489
|
`;
|
|
2490
2490
|
}
|
|
2491
2491
|
}
|
|
2492
|
-
$(
|
|
2492
|
+
$(pr, "styles", [
|
|
2493
2493
|
A`
|
|
2494
2494
|
/* layer: preflights */
|
|
2495
2495
|
*,::before,::after{--w-rotate:0;--w-rotate-x:0;--w-rotate-y:0;--w-rotate-z:0;--w-scale-x:1;--w-scale-y:1;--w-scale-z:1;--w-skew-x:0;--w-skew-y:0;--w-translate-x:0;--w-translate-y:0;--w-translate-z:0;}
|
|
@@ -3147,12 +3147,12 @@ $(wr, "styles", [
|
|
|
3147
3147
|
display: block;
|
|
3148
3148
|
}
|
|
3149
3149
|
`
|
|
3150
|
-
]), $(
|
|
3150
|
+
]), $(pr, "properties", {
|
|
3151
3151
|
selected: { type: Boolean, reflect: !0 },
|
|
3152
3152
|
flat: { type: Boolean },
|
|
3153
3153
|
clickable: { type: Boolean }
|
|
3154
3154
|
});
|
|
3155
|
-
customElements.get("w-card") || customElements.define("w-card",
|
|
3155
|
+
customElements.get("w-card") || customElements.define("w-card", pr);
|
|
3156
3156
|
/**
|
|
3157
3157
|
* @license
|
|
3158
3158
|
* Copyright 2021 Google LLC
|
|
@@ -3166,9 +3166,9 @@ function Do(r, o, e) {
|
|
|
3166
3166
|
* Copyright 2017 Google LLC
|
|
3167
3167
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
3168
3168
|
*/
|
|
3169
|
-
let
|
|
3169
|
+
let wr = class extends Tr {
|
|
3170
3170
|
constructor(o) {
|
|
3171
|
-
if (super(o), this.et = q, o.type !==
|
|
3171
|
+
if (super(o), this.et = q, o.type !== Lr.CHILD)
|
|
3172
3172
|
throw Error(this.constructor.directiveName + "() can only be used in child bindings");
|
|
3173
3173
|
}
|
|
3174
3174
|
render(o) {
|
|
@@ -3185,10 +3185,10 @@ let xr = class extends Dr {
|
|
|
3185
3185
|
return e.raw = e, this.ft = { _$litType$: this.constructor.resultType, strings: e, values: [] };
|
|
3186
3186
|
}
|
|
3187
3187
|
};
|
|
3188
|
-
|
|
3189
|
-
const Ae =
|
|
3188
|
+
wr.directiveName = "unsafeHTML", wr.resultType = 1;
|
|
3189
|
+
const Ae = Mr(wr);
|
|
3190
3190
|
var Wo, Ce, Go, Ee, Jo, Le, Ko, Me, go, Ro, uo, Po;
|
|
3191
|
-
class
|
|
3191
|
+
class xr extends Zo(X) {
|
|
3192
3192
|
constructor() {
|
|
3193
3193
|
super();
|
|
3194
3194
|
J(this, Wo);
|
|
@@ -3271,7 +3271,7 @@ Wo = new WeakSet(), Ce = function() {
|
|
|
3271
3271
|
return "select_id";
|
|
3272
3272
|
}, uo = new WeakSet(), Po = function() {
|
|
3273
3273
|
return this.hint ? `${T(this, go, Ro)}__hint` : void 0;
|
|
3274
|
-
}, $(
|
|
3274
|
+
}, $(xr, "properties", {
|
|
3275
3275
|
// Whether the element should receive focus on render
|
|
3276
3276
|
autoFocus: { type: Boolean, reflect: !0 },
|
|
3277
3277
|
// Renders the field in an invalid state. Often paired with `hint` to provide feedback about the error
|
|
@@ -3285,7 +3285,7 @@ Wo = new WeakSet(), Ce = function() {
|
|
|
3285
3285
|
// Whether to show optional text
|
|
3286
3286
|
optional: { type: Boolean, reflect: !0 },
|
|
3287
3287
|
_options: { state: !0 }
|
|
3288
|
-
}), $(
|
|
3288
|
+
}), $(xr, "styles", A`
|
|
3289
3289
|
/* layer: preflights */
|
|
3290
3290
|
*,::before,::after{--w-rotate:0;--w-rotate-x:0;--w-rotate-y:0;--w-rotate-z:0;--w-scale-x:1;--w-scale-y:1;--w-scale-z:1;--w-skew-x:0;--w-skew-y:0;--w-translate-x:0;--w-translate-y:0;--w-translate-z:0;}
|
|
3291
3291
|
*,:before,:after{box-sizing:border-box;border-style:solid;border-width:0;border-color:var(--w-s-color-border,var(--w-s-color-border-default))}html{font-size:62.5%}body{background-color:var(--w-s-color-background,var(--w-s-color-background-default));min-height:100%;margin:0;overflow-y:scroll}body,:host{-webkit-text-size-adjust:100%;tab-size:4;-webkit-tap-highlight-color:transparent;font-family:var(--w-font-family);font-size:var(--w-font-size-m);line-height:var(--w-line-height-m);color:var(--w-s-color-text,var(--w-s-color-text-default))}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:700}a{cursor:pointer;color:var(--w-s-color-text-link);text-decoration:none}a:hover,a:focus,a:active{-webkit-text-decoration:var(--w-decoration-text-link);text-decoration:var(--w-decoration-text-link)}b,strong{font-weight:700}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{margin:0;padding:0;list-style:none}textarea{resize:vertical}input::placeholder,textarea::placeholder{opacity:1;color:var(--w-s-color-text-placeholder)}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}h1{font-size:var(--w-font-size-xxl);line-height:var(--w-line-height-xxl)}h2{font-size:var(--w-font-size-xl);line-height:var(--w-line-height-xl)}h3{font-size:var(--w-font-size-l);line-height:var(--w-line-height-l)}h4{font-size:var(--w-font-size-m);line-height:var(--w-line-height-m)}h5{font-size:var(--w-font-size-s);line-height:var(--w-line-height-s)}dt,dd{margin:0 16px}h1,h2,h3,h4,h5,ul,ol,dl,p,blockquote{margin:0 0 8px}[hidden]{display:none!important}[tabindex="-1"]:focus:not(:focus-visible){outline:none}legend{float:left;width:100%;margin:0;padding:0;display:table}legend+*{clear:both}fieldset{min-width:0;border:0;margin:0;padding:.01em 0 0}body:not(:-moz-handler-blocked) fieldset{display:table-cell}
|
|
@@ -3931,8 +3931,8 @@ Wo = new WeakSet(), Ce = function() {
|
|
|
3931
3931
|
.sm\\:pt-32{padding-top:3.2rem;}
|
|
3932
3932
|
}
|
|
3933
3933
|
`);
|
|
3934
|
-
customElements.get("w-select") || customElements.define("w-select",
|
|
3935
|
-
class
|
|
3934
|
+
customElements.get("w-select") || customElements.define("w-select", xr);
|
|
3935
|
+
class mr extends X {
|
|
3936
3936
|
get _class() {
|
|
3937
3937
|
return L({
|
|
3938
3938
|
[I.box]: !0,
|
|
@@ -3950,7 +3950,7 @@ class kr extends X {
|
|
|
3950
3950
|
`;
|
|
3951
3951
|
}
|
|
3952
3952
|
}
|
|
3953
|
-
$(
|
|
3953
|
+
$(mr, "properties", {
|
|
3954
3954
|
bleed: { type: Boolean },
|
|
3955
3955
|
bordered: { type: Boolean },
|
|
3956
3956
|
info: { type: Boolean },
|
|
@@ -3959,7 +3959,7 @@ $(kr, "properties", {
|
|
|
3959
3959
|
// ::slotted([Simple Selector]) confirms to Specificity rules, but (being simple) does not add weight to lightDOM skin selectors,
|
|
3960
3960
|
// so never gets higher Specificity. Thus in order to overwrite style linked within shadowDOM, we need to use !important.
|
|
3961
3961
|
// https://stackoverflow.com/a/61631668
|
|
3962
|
-
$(
|
|
3962
|
+
$(mr, "styles", A`
|
|
3963
3963
|
/* layer: preflights */
|
|
3964
3964
|
*,::before,::after{--w-rotate:0;--w-rotate-x:0;--w-rotate-y:0;--w-rotate-z:0;--w-scale-x:1;--w-scale-y:1;--w-scale-z:1;--w-skew-x:0;--w-skew-y:0;--w-translate-x:0;--w-translate-y:0;--w-translate-z:0;}
|
|
3965
3965
|
*,:before,:after{box-sizing:border-box;border-style:solid;border-width:0;border-color:var(--w-s-color-border,var(--w-s-color-border-default))}html{font-size:62.5%}body{background-color:var(--w-s-color-background,var(--w-s-color-background-default));min-height:100%;margin:0;overflow-y:scroll}body,:host{-webkit-text-size-adjust:100%;tab-size:4;-webkit-tap-highlight-color:transparent;font-family:var(--w-font-family);font-size:var(--w-font-size-m);line-height:var(--w-line-height-m);color:var(--w-s-color-text,var(--w-s-color-text-default))}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:700}a{cursor:pointer;color:var(--w-s-color-text-link);text-decoration:none}a:hover,a:focus,a:active{-webkit-text-decoration:var(--w-decoration-text-link);text-decoration:var(--w-decoration-text-link)}b,strong{font-weight:700}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{margin:0;padding:0;list-style:none}textarea{resize:vertical}input::placeholder,textarea::placeholder{opacity:1;color:var(--w-s-color-text-placeholder)}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}h1{font-size:var(--w-font-size-xxl);line-height:var(--w-line-height-xxl)}h2{font-size:var(--w-font-size-xl);line-height:var(--w-line-height-xl)}h3{font-size:var(--w-font-size-l);line-height:var(--w-line-height-l)}h4{font-size:var(--w-font-size-m);line-height:var(--w-line-height-m)}h5{font-size:var(--w-font-size-s);line-height:var(--w-line-height-s)}dt,dd{margin:0 16px}h1,h2,h3,h4,h5,ul,ol,dl,p,blockquote{margin:0 0 8px}[hidden]{display:none!important}[tabindex="-1"]:focus:not(:focus-visible){outline:none}legend{float:left;width:100%;margin:0;padding:0;display:table}legend+*{clear:both}fieldset{min-width:0;border:0;margin:0;padding:.01em 0 0}body:not(:-moz-handler-blocked) fieldset{display:table-cell}
|
|
@@ -4611,12 +4611,12 @@ $(kr, "styles", A`
|
|
|
4611
4611
|
margin-bottom: 0 !important;
|
|
4612
4612
|
}
|
|
4613
4613
|
`);
|
|
4614
|
-
customElements.get("w-box") || customElements.define("w-box",
|
|
4614
|
+
customElements.get("w-box") || customElements.define("w-box", mr);
|
|
4615
4615
|
function yt(r, o) {
|
|
4616
4616
|
return r.flatMap((e) => [e, o]).slice(0, -1);
|
|
4617
4617
|
}
|
|
4618
4618
|
const zt = v`<span class=${so.separator} aria-hidden='true'>/</span>`;
|
|
4619
|
-
class
|
|
4619
|
+
class kr extends Zo(X) {
|
|
4620
4620
|
constructor() {
|
|
4621
4621
|
super(), this.ariaLabel = "Her er du";
|
|
4622
4622
|
}
|
|
@@ -4642,7 +4642,7 @@ class fr extends Zo(X) {
|
|
|
4642
4642
|
`;
|
|
4643
4643
|
}
|
|
4644
4644
|
}
|
|
4645
|
-
$(
|
|
4645
|
+
$(kr, "styles", A`
|
|
4646
4646
|
/* layer: preflights */
|
|
4647
4647
|
*,::before,::after{--w-rotate:0;--w-rotate-x:0;--w-rotate-y:0;--w-rotate-z:0;--w-scale-x:1;--w-scale-y:1;--w-scale-z:1;--w-skew-x:0;--w-skew-y:0;--w-translate-x:0;--w-translate-y:0;--w-translate-z:0;}
|
|
4648
4648
|
*,:before,:after{box-sizing:border-box;border-style:solid;border-width:0;border-color:var(--w-s-color-border,var(--w-s-color-border-default))}html{font-size:62.5%}body{background-color:var(--w-s-color-background,var(--w-s-color-background-default));min-height:100%;margin:0;overflow-y:scroll}body,:host{-webkit-text-size-adjust:100%;tab-size:4;-webkit-tap-highlight-color:transparent;font-family:var(--w-font-family);font-size:var(--w-font-size-m);line-height:var(--w-line-height-m);color:var(--w-s-color-text,var(--w-s-color-text-default))}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:700}a{cursor:pointer;color:var(--w-s-color-text-link);text-decoration:none}a:hover,a:focus,a:active{-webkit-text-decoration:var(--w-decoration-text-link);text-decoration:var(--w-decoration-text-link)}b,strong{font-weight:700}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{margin:0;padding:0;list-style:none}textarea{resize:vertical}input::placeholder,textarea::placeholder{opacity:1;color:var(--w-s-color-text-placeholder)}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}h1{font-size:var(--w-font-size-xxl);line-height:var(--w-line-height-xxl)}h2{font-size:var(--w-font-size-xl);line-height:var(--w-line-height-xl)}h3{font-size:var(--w-font-size-l);line-height:var(--w-line-height-l)}h4{font-size:var(--w-font-size-m);line-height:var(--w-line-height-m)}h5{font-size:var(--w-font-size-s);line-height:var(--w-line-height-s)}dt,dd{margin:0 16px}h1,h2,h3,h4,h5,ul,ol,dl,p,blockquote{margin:0 0 8px}[hidden]{display:none!important}[tabindex="-1"]:focus:not(:focus-visible){outline:none}legend{float:left;width:100%;margin:0;padding:0;display:table}legend+*{clear:both}fieldset{min-width:0;border:0;margin:0;padding:.01em 0 0}body:not(:-moz-handler-blocked) fieldset{display:table-cell}
|
|
@@ -5287,13 +5287,13 @@ $(fr, "styles", A`
|
|
|
5287
5287
|
.sm\\:pb-32{padding-bottom:3.2rem;}
|
|
5288
5288
|
.sm\\:pt-32{padding-top:3.2rem;}
|
|
5289
5289
|
}
|
|
5290
|
-
`), $(
|
|
5290
|
+
`), $(kr, "properties", {
|
|
5291
5291
|
ariaLabel: { type: String }
|
|
5292
5292
|
});
|
|
5293
|
-
customElements.get("w-breadcrumbs") || customElements.define("w-breadcrumbs",
|
|
5294
|
-
const
|
|
5293
|
+
customElements.get("w-breadcrumbs") || customElements.define("w-breadcrumbs", kr);
|
|
5294
|
+
const Dr = typeof window < "u";
|
|
5295
5295
|
let Te = !0;
|
|
5296
|
-
if (
|
|
5296
|
+
if (Dr) {
|
|
5297
5297
|
const r = window.matchMedia("(prefers-reduced-motion: reduce)"), o = ({ matches: e }) => Te = !e;
|
|
5298
5298
|
r.addEventListener && r.addEventListener("change", o), o(r);
|
|
5299
5299
|
}
|
|
@@ -5315,7 +5315,7 @@ const De = (r) => {
|
|
|
5315
5315
|
})(), t = _t(r, o);
|
|
5316
5316
|
De(r), r.style.height = "auto";
|
|
5317
5317
|
let a = r.scrollHeight;
|
|
5318
|
-
if (
|
|
5318
|
+
if (Dr && requestAnimationFrame(() => {
|
|
5319
5319
|
r.addEventListener("transitionend", t, { once: !0 }), r.style.height = "0px", r.style.transitionTimingFunction = "ease-out", Re(r), requestAnimationFrame(() => r.style.height = a + "px");
|
|
5320
5320
|
}), e)
|
|
5321
5321
|
return e;
|
|
@@ -5328,7 +5328,7 @@ const De = (r) => {
|
|
|
5328
5328
|
})(), t = qt(o);
|
|
5329
5329
|
De(r);
|
|
5330
5330
|
let a = r.scrollHeight;
|
|
5331
|
-
if (
|
|
5331
|
+
if (Dr && requestAnimationFrame(() => {
|
|
5332
5332
|
r.addEventListener("transitionend", t, { once: !0 }), r.style.height = a + "px", r.style.transitionTimingFunction = "ease-in", Re(r), requestAnimationFrame(() => r.style.height = "0px");
|
|
5333
5333
|
}), e)
|
|
5334
5334
|
return e;
|
|
@@ -5416,7 +5416,7 @@ const De = (r) => {
|
|
|
5416
5416
|
error: "error",
|
|
5417
5417
|
warning: "warning"
|
|
5418
5418
|
};
|
|
5419
|
-
class
|
|
5419
|
+
class fr extends X {
|
|
5420
5420
|
constructor() {
|
|
5421
5421
|
super(), this.id = Date.now().toString(36) + Math.random().toString(36).slice(2, 5), this.type = "success", this.text = "", this.canclose = !1;
|
|
5422
5422
|
}
|
|
@@ -5495,7 +5495,7 @@ class $r extends X {
|
|
|
5495
5495
|
</section>` : v``;
|
|
5496
5496
|
}
|
|
5497
5497
|
}
|
|
5498
|
-
$(
|
|
5498
|
+
$(fr, "styles", [
|
|
5499
5499
|
A`
|
|
5500
5500
|
/* layer: preflights */
|
|
5501
5501
|
*,::before,::after{--w-rotate:0;--w-rotate-x:0;--w-rotate-y:0;--w-rotate-z:0;--w-scale-x:1;--w-scale-y:1;--w-scale-z:1;--w-skew-x:0;--w-skew-y:0;--w-translate-x:0;--w-translate-y:0;--w-translate-z:0;}
|
|
@@ -6145,13 +6145,13 @@ $($r, "styles", [
|
|
|
6145
6145
|
display: block;
|
|
6146
6146
|
}
|
|
6147
6147
|
`
|
|
6148
|
-
]), $(
|
|
6148
|
+
]), $(fr, "properties", {
|
|
6149
6149
|
id: { type: String, attribute: !0, reflect: !0 },
|
|
6150
6150
|
type: { type: String, attribute: !0, reflect: !0 },
|
|
6151
6151
|
text: { type: String, attribute: !0, reflect: !0 },
|
|
6152
6152
|
canclose: { type: Boolean, attribute: !0, reflect: !0 }
|
|
6153
6153
|
});
|
|
6154
|
-
customElements.get("w-toast") || customElements.define("w-toast",
|
|
6154
|
+
customElements.get("w-toast") || customElements.define("w-toast", fr);
|
|
6155
6155
|
/**
|
|
6156
6156
|
* @license
|
|
6157
6157
|
* Copyright 2020 Google LLC
|
|
@@ -6178,7 +6178,7 @@ const { I: Lt } = dt, ce = () => document.createComment(""), ko = (r, o, e) => {
|
|
|
6178
6178
|
}
|
|
6179
6179
|
}
|
|
6180
6180
|
return e;
|
|
6181
|
-
}, ro = (r, o, e = r) => (r._$AI(o, e), r), Mt = {}, Tt = (r, o = Mt) => r._$AH = o, Dt = (r) => r._$AH,
|
|
6181
|
+
}, ro = (r, o, e = r) => (r._$AI(o, e), r), Mt = {}, Tt = (r, o = Mt) => r._$AH = o, Dt = (r) => r._$AH, sr = (r) => {
|
|
6182
6182
|
var o;
|
|
6183
6183
|
(o = r._$AP) === null || o === void 0 || o.call(r, !1, !0);
|
|
6184
6184
|
let e = r._$AA;
|
|
@@ -6198,9 +6198,9 @@ const ie = (r, o, e) => {
|
|
|
6198
6198
|
for (let a = o; a <= e; a++)
|
|
6199
6199
|
t.set(r[a], a);
|
|
6200
6200
|
return t;
|
|
6201
|
-
}, Ne =
|
|
6201
|
+
}, Ne = Mr(class extends Tr {
|
|
6202
6202
|
constructor(r) {
|
|
6203
|
-
if (super(r), r.type !==
|
|
6203
|
+
if (super(r), r.type !== Lr.CHILD)
|
|
6204
6204
|
throw Error("repeat() can only be used in text expressions");
|
|
6205
6205
|
}
|
|
6206
6206
|
dt(r, o, e) {
|
|
@@ -6245,21 +6245,21 @@ const ie = (r, o, e) => {
|
|
|
6245
6245
|
n[m] = ro(Y, i[m]), ko(r, c[g], Y), c[y] = null;
|
|
6246
6246
|
m++;
|
|
6247
6247
|
} else
|
|
6248
|
-
|
|
6248
|
+
sr(c[x]), x--;
|
|
6249
6249
|
else
|
|
6250
|
-
|
|
6250
|
+
sr(c[g]), g++;
|
|
6251
6251
|
for (; m <= k; ) {
|
|
6252
6252
|
const y = ko(r, n[k + 1]);
|
|
6253
6253
|
ro(y, i[m]), n[m++] = y;
|
|
6254
6254
|
}
|
|
6255
6255
|
for (; g <= x; ) {
|
|
6256
6256
|
const y = c[g++];
|
|
6257
|
-
y !== null &&
|
|
6257
|
+
y !== null && sr(y);
|
|
6258
6258
|
}
|
|
6259
6259
|
return this.ht = l, Tt(r, n), Q;
|
|
6260
6260
|
}
|
|
6261
6261
|
});
|
|
6262
|
-
class
|
|
6262
|
+
class $r extends X {
|
|
6263
6263
|
constructor() {
|
|
6264
6264
|
super(), this._toasts = /* @__PURE__ */ new Map();
|
|
6265
6265
|
}
|
|
@@ -6353,7 +6353,7 @@ class yr extends X {
|
|
|
6353
6353
|
`;
|
|
6354
6354
|
}
|
|
6355
6355
|
}
|
|
6356
|
-
$(
|
|
6356
|
+
$($r, "styles", [
|
|
6357
6357
|
A`
|
|
6358
6358
|
/* layer: preflights */
|
|
6359
6359
|
*,::before,::after{--w-rotate:0;--w-rotate-x:0;--w-rotate-y:0;--w-rotate-z:0;--w-scale-x:1;--w-scale-y:1;--w-scale-z:1;--w-skew-x:0;--w-skew-y:0;--w-translate-x:0;--w-translate-y:0;--w-translate-z:0;}
|
|
@@ -7003,10 +7003,10 @@ $(yr, "styles", [
|
|
|
7003
7003
|
display: block;
|
|
7004
7004
|
}
|
|
7005
7005
|
`
|
|
7006
|
-
]), $(
|
|
7006
|
+
]), $($r, "properties", {
|
|
7007
7007
|
_toasts: { state: !0 }
|
|
7008
7008
|
});
|
|
7009
|
-
customElements.get("w-toast-container") || customElements.define("w-toast-container",
|
|
7009
|
+
customElements.get("w-toast-container") || customElements.define("w-toast-container", $r);
|
|
7010
7010
|
const qo = typeof window < "u";
|
|
7011
7011
|
function xa(r, o) {
|
|
7012
7012
|
if (!qo)
|
|
@@ -7029,7 +7029,7 @@ function ka(r, o) {
|
|
|
7029
7029
|
const e = customElements.get("w-toast-container").init();
|
|
7030
7030
|
return e.set({ ...e.get(r), ...o }), e.get(r);
|
|
7031
7031
|
}
|
|
7032
|
-
class
|
|
7032
|
+
class yr extends X {
|
|
7033
7033
|
constructor() {
|
|
7034
7034
|
super(), this._messages = [], this.interval = 3e4, this._hiddenMessageIds = [], this.url = qo ? window.location.href : "";
|
|
7035
7035
|
}
|
|
@@ -7072,7 +7072,7 @@ class zr extends X {
|
|
|
7072
7072
|
`;
|
|
7073
7073
|
}
|
|
7074
7074
|
}
|
|
7075
|
-
$(
|
|
7075
|
+
$(yr, "properties", {
|
|
7076
7076
|
_messages: {
|
|
7077
7077
|
state: !0,
|
|
7078
7078
|
hasChanged(o, e) {
|
|
@@ -7089,7 +7089,7 @@ $(zr, "properties", {
|
|
|
7089
7089
|
interval: { type: Number, attribute: !0, reflect: !0 },
|
|
7090
7090
|
url: { type: String, attribute: !0, reflect: !0 },
|
|
7091
7091
|
api: { type: String, attribute: !0, reflect: !0 }
|
|
7092
|
-
}), $(
|
|
7092
|
+
}), $(yr, "styles", A`
|
|
7093
7093
|
/* layer: preflights */
|
|
7094
7094
|
*,::before,::after{--w-rotate:0;--w-rotate-x:0;--w-rotate-y:0;--w-rotate-z:0;--w-scale-x:1;--w-scale-y:1;--w-scale-z:1;--w-skew-x:0;--w-skew-y:0;--w-translate-x:0;--w-translate-y:0;--w-translate-z:0;}
|
|
7095
7095
|
*,:before,:after{box-sizing:border-box;border-style:solid;border-width:0;border-color:var(--w-s-color-border,var(--w-s-color-border-default))}html{font-size:62.5%}body{background-color:var(--w-s-color-background,var(--w-s-color-background-default));min-height:100%;margin:0;overflow-y:scroll}body,:host{-webkit-text-size-adjust:100%;tab-size:4;-webkit-tap-highlight-color:transparent;font-family:var(--w-font-family);font-size:var(--w-font-size-m);line-height:var(--w-line-height-m);color:var(--w-s-color-text,var(--w-s-color-text-default))}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:700}a{cursor:pointer;color:var(--w-s-color-text-link);text-decoration:none}a:hover,a:focus,a:active{-webkit-text-decoration:var(--w-decoration-text-link);text-decoration:var(--w-decoration-text-link)}b,strong{font-weight:700}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{margin:0;padding:0;list-style:none}textarea{resize:vertical}input::placeholder,textarea::placeholder{opacity:1;color:var(--w-s-color-text-placeholder)}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}h1{font-size:var(--w-font-size-xxl);line-height:var(--w-line-height-xxl)}h2{font-size:var(--w-font-size-xl);line-height:var(--w-line-height-xl)}h3{font-size:var(--w-font-size-l);line-height:var(--w-line-height-l)}h4{font-size:var(--w-font-size-m);line-height:var(--w-line-height-m)}h5{font-size:var(--w-font-size-s);line-height:var(--w-line-height-s)}dt,dd{margin:0 16px}h1,h2,h3,h4,h5,ul,ol,dl,p,blockquote{margin:0 0 8px}[hidden]{display:none!important}[tabindex="-1"]:focus:not(:focus-visible){outline:none}legend{float:left;width:100%;margin:0;padding:0;display:table}legend+*{clear:both}fieldset{min-width:0;border:0;margin:0;padding:.01em 0 0}body:not(:-moz-handler-blocked) fieldset{display:table-cell}
|
|
@@ -7736,7 +7736,7 @@ $(zr, "properties", {
|
|
|
7736
7736
|
.sm\\:pt-32{padding-top:3.2rem;}
|
|
7737
7737
|
}
|
|
7738
7738
|
`);
|
|
7739
|
-
customElements.get("w-broadcast") || customElements.define("w-broadcast",
|
|
7739
|
+
customElements.get("w-broadcast") || customElements.define("w-broadcast", yr);
|
|
7740
7740
|
function So(r) {
|
|
7741
7741
|
return r.split("-")[0];
|
|
7742
7742
|
}
|
|
@@ -7746,12 +7746,12 @@ function rr(r) {
|
|
|
7746
7746
|
function Ao(r) {
|
|
7747
7747
|
return ["top", "bottom"].includes(So(r)) ? "x" : "y";
|
|
7748
7748
|
}
|
|
7749
|
-
function
|
|
7749
|
+
function Rr(r) {
|
|
7750
7750
|
return r === "y" ? "height" : "width";
|
|
7751
7751
|
}
|
|
7752
7752
|
function le(r, o, e) {
|
|
7753
7753
|
let { reference: t, floating: a } = r;
|
|
7754
|
-
const c = t.x + t.width / 2 - a.width / 2, i = t.y + t.height / 2 - a.height / 2, l = Ao(o), d =
|
|
7754
|
+
const c = t.x + t.width / 2 - a.width / 2, i = t.y + t.height / 2 - a.height / 2, l = Ao(o), d = Rr(l), n = t[d] / 2 - a[d] / 2, s = l === "x";
|
|
7755
7755
|
let b;
|
|
7756
7756
|
switch (So(o)) {
|
|
7757
7757
|
case "top":
|
|
@@ -7802,17 +7802,17 @@ async function Ie(r, o) {
|
|
|
7802
7802
|
return { top: y.top - Y.top + m.top, bottom: Y.bottom - y.bottom + m.bottom, left: y.left - Y.left + m.left, right: Y.right - y.right + m.right };
|
|
7803
7803
|
}
|
|
7804
7804
|
const Pt = Math.min, Bt = Math.max;
|
|
7805
|
-
function
|
|
7805
|
+
function zr(r, o, e) {
|
|
7806
7806
|
return Bt(r, Pt(o, e));
|
|
7807
7807
|
}
|
|
7808
7808
|
const Nt = (r) => ({ name: "arrow", options: r, async fn(o) {
|
|
7809
7809
|
const { element: e, padding: t = 0 } = r ?? {}, { x: a, y: c, placement: i, rects: l, platform: d } = o;
|
|
7810
7810
|
if (e == null)
|
|
7811
7811
|
return {};
|
|
7812
|
-
const n = Oe(t), s = { x: a, y: c }, b = Ao(i), g = rr(i), x =
|
|
7812
|
+
const n = Oe(t), s = { x: a, y: c }, b = Ao(i), g = rr(i), x = Rr(b), m = await d.getDimensions(e), k = b === "y" ? "top" : "left", y = b === "y" ? "bottom" : "right", Y = l.reference[x] + l.reference[b] - s[b] - l.floating[x], j = s[b] - l.reference[b], C = await (d.getOffsetParent == null ? void 0 : d.getOffsetParent(e));
|
|
7813
7813
|
let Z = C ? b === "y" ? C.clientHeight || 0 : C.clientWidth || 0 : 0;
|
|
7814
7814
|
Z === 0 && (Z = l.floating[x]);
|
|
7815
|
-
const Eo = Y / 2 - j / 2, io = n[k], po = Z - m[x] - n[y], S = Z / 2 - m[x] / 2 + Eo, M =
|
|
7815
|
+
const Eo = Y / 2 - j / 2, io = n[k], po = Z - m[x] - n[y], S = Z / 2 - m[x] / 2 + Eo, M = zr(io, S, po), lo = (g === "start" ? n[k] : n[y]) > 0 && S !== M && l.reference[x] <= l.floating[x];
|
|
7816
7816
|
return { [b]: s[b] - (lo ? S < io ? io - S : po - S : 0), data: { [b]: M, centerOffset: S - M } };
|
|
7817
7817
|
} }), Ot = { left: "right", right: "left", bottom: "top", top: "bottom" };
|
|
7818
7818
|
function Qo(r) {
|
|
@@ -7820,7 +7820,7 @@ function Qo(r) {
|
|
|
7820
7820
|
}
|
|
7821
7821
|
function It(r, o, e) {
|
|
7822
7822
|
e === void 0 && (e = !1);
|
|
7823
|
-
const t = rr(r), a = Ao(r), c =
|
|
7823
|
+
const t = rr(r), a = Ao(r), c = Rr(a);
|
|
7824
7824
|
let i = a === "x" ? t === (e ? "end" : "start") ? "right" : "left" : t === "start" ? "bottom" : "top";
|
|
7825
7825
|
return o.reference[c] > o.floating[c] && (i = Qo(i)), { main: i, cross: Qo(i) };
|
|
7826
7826
|
}
|
|
@@ -7851,8 +7851,8 @@ const Ut = function(r) {
|
|
|
7851
7851
|
switch (g) {
|
|
7852
7852
|
case "bestFit": {
|
|
7853
7853
|
var po;
|
|
7854
|
-
const
|
|
7855
|
-
|
|
7854
|
+
const Br = (po = Z.map((Lo) => [Lo, Lo.overflows.filter((wo) => wo > 0).reduce((wo, Ke) => wo + Ke, 0)]).sort((Lo, wo) => Lo[1] - wo[1])[0]) == null ? void 0 : po[0].placement;
|
|
7855
|
+
Br && (lo = Br);
|
|
7856
7856
|
break;
|
|
7857
7857
|
}
|
|
7858
7858
|
case "initialPlacement":
|
|
@@ -7885,11 +7885,11 @@ const Wt = function(r) {
|
|
|
7885
7885
|
let x = n[b], m = n[g];
|
|
7886
7886
|
if (c) {
|
|
7887
7887
|
const y = b === "y" ? "bottom" : "right";
|
|
7888
|
-
x =
|
|
7888
|
+
x = zr(x + s[b === "y" ? "top" : "left"], x, x - s[y]);
|
|
7889
7889
|
}
|
|
7890
7890
|
if (i) {
|
|
7891
7891
|
const y = g === "y" ? "bottom" : "right";
|
|
7892
|
-
m =
|
|
7892
|
+
m = zr(m + s[g === "y" ? "top" : "left"], m, m - s[y]);
|
|
7893
7893
|
}
|
|
7894
7894
|
const k = l.fn({ ...o, [b]: x, [g]: m });
|
|
7895
7895
|
return { ...k, data: { x: k.x - e, y: k.y - t } };
|
|
@@ -7923,7 +7923,7 @@ function B(r) {
|
|
|
7923
7923
|
function ho(r) {
|
|
7924
7924
|
return r instanceof U(r).Element;
|
|
7925
7925
|
}
|
|
7926
|
-
function
|
|
7926
|
+
function Pr(r) {
|
|
7927
7927
|
return typeof ShadowRoot > "u" ? !1 : r instanceof U(r).ShadowRoot || r instanceof ShadowRoot;
|
|
7928
7928
|
}
|
|
7929
7929
|
function er(r) {
|
|
@@ -7976,19 +7976,19 @@ function Jt(r, o, e) {
|
|
|
7976
7976
|
return { x: c.left + i.scrollLeft - l.x, y: c.top + i.scrollTop - l.y, width: c.width, height: c.height };
|
|
7977
7977
|
}
|
|
7978
7978
|
function Fe(r) {
|
|
7979
|
-
return H(r) === "html" ? r : r.assignedSlot || r.parentNode || (
|
|
7979
|
+
return H(r) === "html" ? r : r.assignedSlot || r.parentNode || (Pr(r) ? r.host : null) || W(r);
|
|
7980
7980
|
}
|
|
7981
7981
|
function se(r) {
|
|
7982
7982
|
return B(r) && getComputedStyle(r).position !== "fixed" ? r.offsetParent : null;
|
|
7983
7983
|
}
|
|
7984
|
-
function
|
|
7984
|
+
function _r(r) {
|
|
7985
7985
|
const o = U(r);
|
|
7986
7986
|
let e = se(r);
|
|
7987
7987
|
for (; e && Gt(e) && getComputedStyle(e).position === "static"; )
|
|
7988
7988
|
e = se(e);
|
|
7989
7989
|
return e && (H(e) === "html" || H(e) === "body" && getComputedStyle(e).position === "static" && !ne(e)) ? o : e || function(t) {
|
|
7990
7990
|
let a = Fe(t);
|
|
7991
|
-
for (
|
|
7991
|
+
for (Pr(a) && (a = a.host); B(a) && !["html", "body"].includes(H(a)); ) {
|
|
7992
7992
|
if (ne(a))
|
|
7993
7993
|
return a;
|
|
7994
7994
|
a = a.parentNode;
|
|
@@ -8034,12 +8034,12 @@ function ue(r, o, e) {
|
|
|
8034
8034
|
}(W(r)));
|
|
8035
8035
|
}
|
|
8036
8036
|
function Kt(r) {
|
|
8037
|
-
const o = Ge(r), e = ["absolute", "fixed"].includes(Co(r).position) && B(r) ?
|
|
8037
|
+
const o = Ge(r), e = ["absolute", "fixed"].includes(Co(r).position) && B(r) ? _r(r) : r;
|
|
8038
8038
|
return ho(e) ? o.filter((t) => ho(t) && function(a, c) {
|
|
8039
8039
|
const i = c.getRootNode == null ? void 0 : c.getRootNode();
|
|
8040
8040
|
if (a.contains(c))
|
|
8041
8041
|
return !0;
|
|
8042
|
-
if (i &&
|
|
8042
|
+
if (i && Pr(i)) {
|
|
8043
8043
|
let l = c;
|
|
8044
8044
|
do {
|
|
8045
8045
|
if (l && a === l)
|
|
@@ -8069,10 +8069,10 @@ const oa = { getClippingRect: function(r) {
|
|
|
8069
8069
|
l.x = d.x + e.clientLeft, l.y = d.y + e.clientTop;
|
|
8070
8070
|
}
|
|
8071
8071
|
return { ...o, x: o.x - i.scrollLeft + l.x, y: o.y - i.scrollTop + l.y };
|
|
8072
|
-
}, isElement: ho, getDimensions: ge, getOffsetParent:
|
|
8072
|
+
}, isElement: ho, getDimensions: ge, getOffsetParent: _r, getDocumentElement: W, getElementRects: (r) => {
|
|
8073
8073
|
let { reference: o, floating: e, strategy: t } = r;
|
|
8074
|
-
return { reference: Jt(o,
|
|
8075
|
-
}, getClientRects: (r) => Array.from(r.getClientRects()), isRTL: (r) => Co(r).direction === "rtl" }, ra = (r, o, e) => Rt(r, o, { platform: oa, ...e }), Xo = "top", Yo = "bottom", Vo = "left", Fo = "right",
|
|
8074
|
+
return { reference: Jt(o, _r(e), t), floating: { ...ge(e), x: 0, y: 0 } };
|
|
8075
|
+
}, getClientRects: (r) => Array.from(r.getClientRects()), isRTL: (r) => Co(r).direction === "rtl" }, ra = (r, o, e) => Rt(r, o, { platform: oa, ...e }), Xo = "top", Yo = "bottom", Vo = "left", Fo = "right", gr = {
|
|
8076
8076
|
[Xo]: Yo,
|
|
8077
8077
|
[Yo]: Xo,
|
|
8078
8078
|
[Vo]: Fo,
|
|
@@ -8121,16 +8121,16 @@ async function ia(r) {
|
|
|
8121
8121
|
let { x: e, y: t } = o.middlewareData.arrow;
|
|
8122
8122
|
r.arrowEl && (r.arrowEl.style.left = e ? e + "px" : "", r.arrowEl.style.top = t ? t + "px" : "");
|
|
8123
8123
|
}
|
|
8124
|
-
class
|
|
8124
|
+
class qr extends Zo(X) {
|
|
8125
8125
|
constructor() {
|
|
8126
8126
|
super(), this.show = !1, this.tooltip = !1, this.callout = !1, this.popover = !1, this.noArrow = !1;
|
|
8127
8127
|
}
|
|
8128
8128
|
connectedCallback() {
|
|
8129
|
-
if (super.connectedCallback(), !this.placement || !Object.keys(
|
|
8129
|
+
if (super.connectedCallback(), !this.placement || !Object.keys(gr).includes(this.placement))
|
|
8130
8130
|
throw new Error(
|
|
8131
8131
|
`Invalid "placement" attribute. Set its value to one of the following:
|
|
8132
8132
|
${JSON.stringify(
|
|
8133
|
-
Object.keys(
|
|
8133
|
+
Object.keys(gr)
|
|
8134
8134
|
)}`
|
|
8135
8135
|
);
|
|
8136
8136
|
setTimeout(() => this.requestUpdate(), 0);
|
|
@@ -8142,7 +8142,7 @@ ${JSON.stringify(
|
|
|
8142
8142
|
this.placement = o;
|
|
8143
8143
|
}
|
|
8144
8144
|
get _arrowDirection() {
|
|
8145
|
-
return
|
|
8145
|
+
return gr[this.placement];
|
|
8146
8146
|
}
|
|
8147
8147
|
updated() {
|
|
8148
8148
|
this.callout || this._attentionEl.style.setProperty("--attention-visibility", this.show ? "" : "hidden"), this.tooltip || this._attentionEl.style.setProperty("--attention-display", this.show ? "block" : "none"), this.attentionState = {
|
|
@@ -8175,7 +8175,7 @@ ${JSON.stringify(
|
|
|
8175
8175
|
return this.renderRoot.querySelector("slot[name='message']").assignedNodes()[0];
|
|
8176
8176
|
}
|
|
8177
8177
|
get _wrapperClasses() {
|
|
8178
|
-
return
|
|
8178
|
+
return re({
|
|
8179
8179
|
[N.base]: !0,
|
|
8180
8180
|
[N.tooltip]: this.tooltip,
|
|
8181
8181
|
[N.callout]: this.callout,
|
|
@@ -8183,7 +8183,7 @@ ${JSON.stringify(
|
|
|
8183
8183
|
});
|
|
8184
8184
|
}
|
|
8185
8185
|
get _arrowClasses() {
|
|
8186
|
-
return
|
|
8186
|
+
return re({
|
|
8187
8187
|
[N.arrowBase]: !0,
|
|
8188
8188
|
[N[`arrowDirection${this._arrowDirection.charAt(0).toUpperCase() + this._arrowDirection.slice(1)}`]]: !0,
|
|
8189
8189
|
[N.arrowTooltip]: this.tooltip,
|
|
@@ -8226,7 +8226,7 @@ ${JSON.stringify(
|
|
|
8226
8226
|
`;
|
|
8227
8227
|
}
|
|
8228
8228
|
}
|
|
8229
|
-
$(
|
|
8229
|
+
$(qr, "properties", {
|
|
8230
8230
|
// Whether Attention element should be visible.
|
|
8231
8231
|
show: { type: Boolean, reflect: !0 },
|
|
8232
8232
|
// Placement according to the target element
|
|
@@ -8240,7 +8240,7 @@ $(Xr, "properties", {
|
|
|
8240
8240
|
popover: { type: Boolean, reflect: !0 },
|
|
8241
8241
|
// Render Attention element without an arrow
|
|
8242
8242
|
noArrow: { type: Boolean, reflect: !0 }
|
|
8243
|
-
}), $(
|
|
8243
|
+
}), $(qr, "styles", [
|
|
8244
8244
|
A`
|
|
8245
8245
|
/* layer: preflights */
|
|
8246
8246
|
*,::before,::after{--w-rotate:0;--w-rotate-x:0;--w-rotate-y:0;--w-rotate-z:0;--w-scale-x:1;--w-scale-y:1;--w-scale-z:1;--w-skew-x:0;--w-skew-y:0;--w-translate-x:0;--w-translate-y:0;--w-translate-z:0;}
|
|
@@ -8899,8 +8899,8 @@ $(Xr, "properties", {
|
|
|
8899
8899
|
}
|
|
8900
8900
|
`
|
|
8901
8901
|
]);
|
|
8902
|
-
customElements.get("w-attention") || customElements.define("w-attention",
|
|
8903
|
-
class
|
|
8902
|
+
customElements.get("w-attention") || customElements.define("w-attention", qr);
|
|
8903
|
+
class Xr extends X {
|
|
8904
8904
|
constructor() {
|
|
8905
8905
|
super(), this.type = "text";
|
|
8906
8906
|
}
|
|
@@ -8991,7 +8991,7 @@ class Yr extends X {
|
|
|
8991
8991
|
`;
|
|
8992
8992
|
}
|
|
8993
8993
|
}
|
|
8994
|
-
$(
|
|
8994
|
+
$(Xr, "properties", {
|
|
8995
8995
|
disabled: { type: Boolean },
|
|
8996
8996
|
invalid: { type: Boolean },
|
|
8997
8997
|
id: { type: String },
|
|
@@ -9015,7 +9015,7 @@ $(Yr, "properties", {
|
|
|
9015
9015
|
// ::slotted([Simple Selector]) confirms to Specificity rules, but (being simple) does not add weight to lightDOM skin selectors,
|
|
9016
9016
|
// so never gets higher Specificity. Thus in order to overwrite style linked within shadowDOM, we need to use !important.
|
|
9017
9017
|
// https://stackoverflow.com/a/61631668
|
|
9018
|
-
$(
|
|
9018
|
+
$(Xr, "styles", [
|
|
9019
9019
|
A`
|
|
9020
9020
|
/* layer: preflights */
|
|
9021
9021
|
*,::before,::after{--w-rotate:0;--w-rotate-x:0;--w-rotate-y:0;--w-rotate-z:0;--w-scale-x:1;--w-scale-y:1;--w-scale-z:1;--w-skew-x:0;--w-skew-y:0;--w-translate-x:0;--w-translate-y:0;--w-translate-z:0;}
|
|
@@ -9669,14 +9669,14 @@ $(Yr, "styles", [
|
|
|
9669
9669
|
}
|
|
9670
9670
|
`
|
|
9671
9671
|
]);
|
|
9672
|
-
customElements.get("w-textfield") || customElements.define("w-textfield",
|
|
9672
|
+
customElements.get("w-textfield") || customElements.define("w-textfield", Xr);
|
|
9673
9673
|
class he extends X {
|
|
9674
9674
|
render() {
|
|
9675
9675
|
return v`<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewBox="0 0 16 16"><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M2.5 5.5 8 11l5.5-5.5"></path></svg>`;
|
|
9676
9676
|
}
|
|
9677
9677
|
}
|
|
9678
9678
|
customElements.get("f-icon-chevron-down16", he) || customElements.define("f-icon-chevron-down16", he);
|
|
9679
|
-
class
|
|
9679
|
+
class Yr extends Zo(X) {
|
|
9680
9680
|
constructor() {
|
|
9681
9681
|
super(), this.expanded = !1, this.animated = !1, this.info = !1, this.box = !1, this.bleed = !1, this.noChevron = !1, this._hasTitle = !0;
|
|
9682
9682
|
}
|
|
@@ -9742,7 +9742,7 @@ class jr extends Zo(X) {
|
|
|
9742
9742
|
</div>`;
|
|
9743
9743
|
}
|
|
9744
9744
|
}
|
|
9745
|
-
$(
|
|
9745
|
+
$(Yr, "properties", {
|
|
9746
9746
|
expanded: { type: Boolean, reflect: !0 },
|
|
9747
9747
|
title: { type: String },
|
|
9748
9748
|
info: { type: Boolean },
|
|
@@ -9758,7 +9758,7 @@ $(jr, "properties", {
|
|
|
9758
9758
|
// ::slotted([Simple Selector]) confirms to Specificity rules, but (being simple) does not add weight to lightDOM skin selectors,
|
|
9759
9759
|
// so never gets higher Specificity. Thus in order to overwrite style linked within shadowDOM, we need to use !important.
|
|
9760
9760
|
// https://stackoverflow.com/a/61631668
|
|
9761
|
-
$(
|
|
9761
|
+
$(Yr, "styles", [
|
|
9762
9762
|
A`
|
|
9763
9763
|
/* layer: preflights */
|
|
9764
9764
|
*,::before,::after{--w-rotate:0;--w-rotate-x:0;--w-rotate-y:0;--w-rotate-z:0;--w-scale-x:1;--w-scale-y:1;--w-scale-z:1;--w-skew-x:0;--w-skew-y:0;--w-translate-x:0;--w-translate-y:0;--w-translate-z:0;}
|
|
@@ -10412,7 +10412,7 @@ $(jr, "styles", [
|
|
|
10412
10412
|
}
|
|
10413
10413
|
`
|
|
10414
10414
|
]);
|
|
10415
|
-
customElements.get("w-expandable") || customElements.define("w-expandable",
|
|
10415
|
+
customElements.get("w-expandable") || customElements.define("w-expandable", Yr);
|
|
10416
10416
|
const la = v`
|
|
10417
10417
|
<svg
|
|
10418
10418
|
role="img"
|
|
@@ -10456,7 +10456,7 @@ const la = v`
|
|
|
10456
10456
|
</defs>
|
|
10457
10457
|
</svg>
|
|
10458
10458
|
`;
|
|
10459
|
-
class
|
|
10459
|
+
class jr extends X {
|
|
10460
10460
|
get _classBase() {
|
|
10461
10461
|
return this.slot === "suffix" ? st : gt;
|
|
10462
10462
|
}
|
|
@@ -10500,7 +10500,7 @@ class Zr extends X {
|
|
|
10500
10500
|
return v`${this._markup}`;
|
|
10501
10501
|
}
|
|
10502
10502
|
}
|
|
10503
|
-
$(
|
|
10503
|
+
$(jr, "styles", A`
|
|
10504
10504
|
/* layer: preflights */
|
|
10505
10505
|
*,::before,::after{--w-rotate:0;--w-rotate-x:0;--w-rotate-y:0;--w-rotate-z:0;--w-scale-x:1;--w-scale-y:1;--w-scale-z:1;--w-skew-x:0;--w-skew-y:0;--w-translate-x:0;--w-translate-y:0;--w-translate-z:0;}
|
|
10506
10506
|
*,:before,:after{box-sizing:border-box;border-style:solid;border-width:0;border-color:var(--w-s-color-border,var(--w-s-color-border-default))}html{font-size:62.5%}body{background-color:var(--w-s-color-background,var(--w-s-color-background-default));min-height:100%;margin:0;overflow-y:scroll}body,:host{-webkit-text-size-adjust:100%;tab-size:4;-webkit-tap-highlight-color:transparent;font-family:var(--w-font-family);font-size:var(--w-font-size-m);line-height:var(--w-line-height-m);color:var(--w-s-color-text,var(--w-s-color-text-default))}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:700}a{cursor:pointer;color:var(--w-s-color-text-link);text-decoration:none}a:hover,a:focus,a:active{-webkit-text-decoration:var(--w-decoration-text-link);text-decoration:var(--w-decoration-text-link)}b,strong{font-weight:700}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{margin:0;padding:0;list-style:none}textarea{resize:vertical}input::placeholder,textarea::placeholder{opacity:1;color:var(--w-s-color-text-placeholder)}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}h1{font-size:var(--w-font-size-xxl);line-height:var(--w-line-height-xxl)}h2{font-size:var(--w-font-size-xl);line-height:var(--w-line-height-xl)}h3{font-size:var(--w-font-size-l);line-height:var(--w-line-height-l)}h4{font-size:var(--w-font-size-m);line-height:var(--w-line-height-m)}h5{font-size:var(--w-font-size-s);line-height:var(--w-line-height-s)}dt,dd{margin:0 16px}h1,h2,h3,h4,h5,ul,ol,dl,p,blockquote{margin:0 0 8px}[hidden]{display:none!important}[tabindex="-1"]:focus:not(:focus-visible){outline:none}legend{float:left;width:100%;margin:0;padding:0;display:table}legend+*{clear:both}fieldset{min-width:0;border:0;margin:0;padding:.01em 0 0}body:not(:-moz-handler-blocked) fieldset{display:table-cell}
|
|
@@ -11145,18 +11145,18 @@ $(Zr, "styles", A`
|
|
|
11145
11145
|
.sm\\:pb-32{padding-bottom:3.2rem;}
|
|
11146
11146
|
.sm\\:pt-32{padding-top:3.2rem;}
|
|
11147
11147
|
}
|
|
11148
|
-
`), $(
|
|
11148
|
+
`), $(jr, "properties", {
|
|
11149
11149
|
ariaLabel: { type: String, attribute: "aria-label" },
|
|
11150
11150
|
clear: { type: Boolean },
|
|
11151
11151
|
search: { type: Boolean },
|
|
11152
11152
|
label: { type: String }
|
|
11153
11153
|
});
|
|
11154
|
-
customElements.get("w-affix") || customElements.define("w-affix",
|
|
11154
|
+
customElements.get("w-affix") || customElements.define("w-affix", jr);
|
|
11155
11155
|
const Je = A`
|
|
11156
11156
|
@import "https://assets.finn.no/pkg/@warp-ds/fonts/v1/finn-no.css";
|
|
11157
11157
|
@import "https://assets.finn.no/pkg/@warp-ds/css/v1/tokens/finn-no.css";
|
|
11158
11158
|
`;
|
|
11159
|
-
class
|
|
11159
|
+
class Zr extends X {
|
|
11160
11160
|
constructor() {
|
|
11161
11161
|
super(), this.show = !1, this._mounted = !1, this._removeElement = !1;
|
|
11162
11162
|
}
|
|
@@ -11181,13 +11181,13 @@ class Sr extends X {
|
|
|
11181
11181
|
</div>`;
|
|
11182
11182
|
}
|
|
11183
11183
|
}
|
|
11184
|
-
$(
|
|
11184
|
+
$(Zr, "properties", {
|
|
11185
11185
|
show: {
|
|
11186
11186
|
type: Boolean,
|
|
11187
11187
|
reflect: !0
|
|
11188
11188
|
},
|
|
11189
11189
|
_removeElement: { type: Boolean, state: !0 }
|
|
11190
|
-
}), $(
|
|
11190
|
+
}), $(Zr, "styles", [
|
|
11191
11191
|
Je,
|
|
11192
11192
|
A`
|
|
11193
11193
|
/* layer: preflights */
|
|
@@ -11839,8 +11839,8 @@ $(Sr, "properties", {
|
|
|
11839
11839
|
}
|
|
11840
11840
|
`
|
|
11841
11841
|
]);
|
|
11842
|
-
customElements.get("w-expand-transition") || customElements.define("w-expand-transition",
|
|
11843
|
-
class
|
|
11842
|
+
customElements.get("w-expand-transition") || customElements.define("w-expand-transition", Zr);
|
|
11843
|
+
class Sr extends X {
|
|
11844
11844
|
get _markup() {
|
|
11845
11845
|
return `<h${this.level}
|
|
11846
11846
|
style="margin: 0; font-weight: unset; font-size: unset; line-height: unset;"
|
|
@@ -11853,9 +11853,9 @@ class Ar extends X {
|
|
|
11853
11853
|
return this.level ? Ae(this._markup) : v`<slot></slot>`;
|
|
11854
11854
|
}
|
|
11855
11855
|
}
|
|
11856
|
-
$(
|
|
11856
|
+
$(Sr, "properties", {
|
|
11857
11857
|
level: { type: Number }
|
|
11858
|
-
}), $(
|
|
11858
|
+
}), $(Sr, "styles", [Je, A`
|
|
11859
11859
|
/* layer: preflights */
|
|
11860
11860
|
*,::before,::after{--w-rotate:0;--w-rotate-x:0;--w-rotate-y:0;--w-rotate-z:0;--w-scale-x:1;--w-scale-y:1;--w-scale-z:1;--w-skew-x:0;--w-skew-y:0;--w-translate-x:0;--w-translate-y:0;--w-translate-z:0;}
|
|
11861
11861
|
*,:before,:after{box-sizing:border-box;border-style:solid;border-width:0;border-color:var(--w-s-color-border,var(--w-s-color-border-default))}html{font-size:62.5%}body{background-color:var(--w-s-color-background,var(--w-s-color-background-default));min-height:100%;margin:0;overflow-y:scroll}body,:host{-webkit-text-size-adjust:100%;tab-size:4;-webkit-tap-highlight-color:transparent;font-family:var(--w-font-family);font-size:var(--w-font-size-m);line-height:var(--w-line-height-m);color:var(--w-s-color-text,var(--w-s-color-text-default))}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:700}a{cursor:pointer;color:var(--w-s-color-text-link);text-decoration:none}a:hover,a:focus,a:active{-webkit-text-decoration:var(--w-decoration-text-link);text-decoration:var(--w-decoration-text-link)}b,strong{font-weight:700}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{margin:0;padding:0;list-style:none}textarea{resize:vertical}input::placeholder,textarea::placeholder{opacity:1;color:var(--w-s-color-text-placeholder)}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}h1{font-size:var(--w-font-size-xxl);line-height:var(--w-line-height-xxl)}h2{font-size:var(--w-font-size-xl);line-height:var(--w-line-height-xl)}h3{font-size:var(--w-font-size-l);line-height:var(--w-line-height-l)}h4{font-size:var(--w-font-size-m);line-height:var(--w-line-height-m)}h5{font-size:var(--w-font-size-s);line-height:var(--w-line-height-s)}dt,dd{margin:0 16px}h1,h2,h3,h4,h5,ul,ol,dl,p,blockquote{margin:0 0 8px}[hidden]{display:none!important}[tabindex="-1"]:focus:not(:focus-visible){outline:none}legend{float:left;width:100%;margin:0;padding:0;display:table}legend+*{clear:both}fieldset{min-width:0;border:0;margin:0;padding:.01em 0 0}body:not(:-moz-handler-blocked) fieldset{display:table-cell}
|
|
@@ -12501,23 +12501,23 @@ $(Ar, "properties", {
|
|
|
12501
12501
|
.sm\\:pt-32{padding-top:3.2rem;}
|
|
12502
12502
|
}
|
|
12503
12503
|
`]);
|
|
12504
|
-
customElements.get("w-unstyled-heading") || customElements.define("w-unstyled-heading",
|
|
12504
|
+
customElements.get("w-unstyled-heading") || customElements.define("w-unstyled-heading", Sr);
|
|
12505
12505
|
export {
|
|
12506
|
-
|
|
12507
|
-
|
|
12508
|
-
|
|
12509
|
-
|
|
12510
|
-
|
|
12511
|
-
|
|
12512
|
-
|
|
12513
|
-
|
|
12506
|
+
Zr as ExpandTransition,
|
|
12507
|
+
Sr as UnstyledHeading,
|
|
12508
|
+
jr as WarpAffix,
|
|
12509
|
+
hr as WarpAlert,
|
|
12510
|
+
qr as WarpAttention,
|
|
12511
|
+
mr as WarpBox,
|
|
12512
|
+
kr as WarpBreadcrumbs,
|
|
12513
|
+
yr as WarpBroadcast,
|
|
12514
12514
|
To as WarpButton,
|
|
12515
|
-
|
|
12516
|
-
|
|
12517
|
-
|
|
12518
|
-
|
|
12519
|
-
|
|
12520
|
-
|
|
12515
|
+
pr as WarpCard,
|
|
12516
|
+
Yr as WarpExpandable,
|
|
12517
|
+
xr as WarpSelect,
|
|
12518
|
+
Xr as WarpTextField,
|
|
12519
|
+
fr as WarpToast,
|
|
12520
|
+
$r as WarpToastContainer,
|
|
12521
12521
|
ma as removeToast,
|
|
12522
12522
|
xa as toast,
|
|
12523
12523
|
ka as updateToast
|