@mhmo91/schmancy 0.2.9 → 0.2.10
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/{animated-text-vp4fwxY2.cjs → animated-text-B7ot87Yb.cjs} +2 -2
- package/dist/{animated-text-vp4fwxY2.cjs.map → animated-text-B7ot87Yb.cjs.map} +1 -1
- package/dist/{animated-text-0Ai_OLHl.js → animated-text-BR3J5YzM.js} +3 -3
- package/dist/{animated-text-0Ai_OLHl.js.map → animated-text-BR3J5YzM.js.map} +1 -1
- package/dist/animated-text.cjs +1 -1
- package/dist/animated-text.js +1 -1
- package/dist/area.cjs +1 -1
- package/dist/{area.component-JScs76M1.js → area.component-BlcOhWYn.js} +3 -3
- package/dist/{area.component-JScs76M1.js.map → area.component-BlcOhWYn.js.map} +1 -1
- package/dist/{area.component-4wkXNax5.cjs → area.component-Dvbv9xus.cjs} +2 -2
- package/dist/{area.component-4wkXNax5.cjs.map → area.component-Dvbv9xus.cjs.map} +1 -1
- package/dist/area.js +1 -1
- package/dist/autocomplete-GCjmIPKP.cjs +43 -0
- package/dist/autocomplete-GCjmIPKP.cjs.map +1 -0
- package/dist/autocomplete-vfdJnjAx.js +212 -0
- package/dist/autocomplete-vfdJnjAx.js.map +1 -0
- package/dist/autocomplete.cjs +1 -1
- package/dist/autocomplete.js +1 -1
- package/dist/busy.cjs +1 -1
- package/dist/busy.js +1 -1
- package/dist/button.cjs +1 -1
- package/dist/button.js +1 -1
- package/dist/card.cjs +1 -1
- package/dist/card.js +1 -1
- package/dist/{checkbox-Bxp5uWqA.cjs → checkbox-B6wuWHQT.cjs} +2 -2
- package/dist/{checkbox-Bxp5uWqA.cjs.map → checkbox-B6wuWHQT.cjs.map} +1 -1
- package/dist/{checkbox-colFZOar.js → checkbox-BrVJwQYt.js} +2 -2
- package/dist/{checkbox-colFZOar.js.map → checkbox-BrVJwQYt.js.map} +1 -1
- package/dist/checkbox.cjs +1 -1
- package/dist/checkbox.js +1 -1
- package/dist/{chips-7sYLmlxn.js → chips-CCNEOlx2.js} +3 -3
- package/dist/{chips-7sYLmlxn.js.map → chips-CCNEOlx2.js.map} +1 -1
- package/dist/{chips-BVQttHUJ.cjs → chips-DW4wk4ns.cjs} +2 -2
- package/dist/{chips-BVQttHUJ.cjs.map → chips-DW4wk4ns.cjs.map} +1 -1
- package/dist/chips.cjs +1 -1
- package/dist/chips.js +1 -1
- package/dist/components.cjs +1 -1
- package/dist/components.js +1 -1
- package/dist/content-drawer.cjs +1 -1
- package/dist/content-drawer.js +1 -1
- package/dist/{date-range-BLusWPVn.js → date-range-BqsNgxis.js} +3 -3
- package/dist/{date-range-BLusWPVn.js.map → date-range-BqsNgxis.js.map} +1 -1
- package/dist/{date-range-_7Vry7wT.cjs → date-range-s4nUUXP-.cjs} +2 -2
- package/dist/{date-range-_7Vry7wT.cjs.map → date-range-s4nUUXP-.cjs.map} +1 -1
- package/dist/date-range.cjs +1 -1
- package/dist/date-range.js +1 -1
- package/dist/{delay-B8fYtrMp.js → delay-DrTqFWuI.js} +2 -2
- package/dist/{delay-B8fYtrMp.js.map → delay-DrTqFWuI.js.map} +1 -1
- package/dist/{delay-ikznAH-1.cjs → delay-ZjnwZygz.cjs} +2 -2
- package/dist/{delay-ikznAH-1.cjs.map → delay-ZjnwZygz.cjs.map} +1 -1
- package/dist/delay.cjs +1 -1
- package/dist/delay.js +1 -1
- package/dist/{divider-DJ9Gx64O.cjs → divider-C-olgct1.cjs} +2 -2
- package/dist/{divider-DJ9Gx64O.cjs.map → divider-C-olgct1.cjs.map} +1 -1
- package/dist/{divider-DLOwEvrd.js → divider-DE_qGu0Z.js} +3 -3
- package/dist/{divider-DLOwEvrd.js.map → divider-DE_qGu0Z.js.map} +1 -1
- package/dist/divider.cjs +1 -1
- package/dist/divider.js +1 -1
- package/dist/{form-OYWlsQ4R.cjs → form-BftBHIa9.cjs} +2 -2
- package/dist/{form-OYWlsQ4R.cjs.map → form-BftBHIa9.cjs.map} +1 -1
- package/dist/{form-qBkXHUCV.js → form-CiopR1cw.js} +2 -2
- package/dist/{form-qBkXHUCV.js.map → form-CiopR1cw.js.map} +1 -1
- package/dist/form.cjs +1 -1
- package/dist/form.js +1 -1
- package/dist/{icon-DDILI2Kw.cjs → icon-C3VNzTd2.cjs} +2 -2
- package/dist/{icon-DDILI2Kw.cjs.map → icon-C3VNzTd2.cjs.map} +1 -1
- package/dist/{icon-button-CP_pX4yw.cjs → icon-button-CEcYwu6h.cjs} +11 -11
- package/dist/icon-button-CEcYwu6h.cjs.map +1 -0
- package/dist/{icon-button-tvckJDEE.js → icon-button-cThH-HDx.js} +9 -9
- package/dist/icon-button-cThH-HDx.js.map +1 -0
- package/dist/{icon-BUV18-Pm.js → icon-uV29Oo_I.js} +3 -3
- package/dist/{icon-BUV18-Pm.js.map → icon-uV29Oo_I.js.map} +1 -1
- package/dist/icons.cjs +1 -1
- package/dist/icons.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +32 -32
- package/dist/input-BNWPVs3H.js +124 -0
- package/dist/input-BNWPVs3H.js.map +1 -0
- package/dist/input-shCt07iX.cjs +43 -0
- package/dist/input-shCt07iX.cjs.map +1 -0
- package/dist/input.cjs +1 -1
- package/dist/input.js +1 -1
- package/dist/layout.cjs +1 -1
- package/dist/layout.js +1 -1
- package/dist/list.cjs +1 -1
- package/dist/list.js +1 -1
- package/dist/{litElement.mixin-Bczhguqz.js → litElement.mixin-Bn8Rl6md.js} +2 -2
- package/dist/{litElement.mixin-Bczhguqz.js.map → litElement.mixin-Bn8Rl6md.js.map} +1 -1
- package/dist/{litElement.mixin-dZ5gFldT.cjs → litElement.mixin-CqG5Vzn4.cjs} +2 -2
- package/dist/{litElement.mixin-dZ5gFldT.cjs.map → litElement.mixin-CqG5Vzn4.cjs.map} +1 -1
- package/dist/{menu-CHUomCth.cjs → menu-BsjLQTfd.cjs} +2 -2
- package/dist/{menu-CHUomCth.cjs.map → menu-BsjLQTfd.cjs.map} +1 -1
- package/dist/{menu-C20Ngz8k.js → menu-CK0Aunqg.js} +3 -3
- package/dist/{menu-C20Ngz8k.js.map → menu-CK0Aunqg.js.map} +1 -1
- package/dist/menu.cjs +1 -1
- package/dist/menu.js +1 -1
- package/dist/nav-drawer.cjs +1 -1
- package/dist/nav-drawer.js +1 -1
- package/dist/notification.cjs +1 -1
- package/dist/notification.js +1 -1
- package/dist/{option-DqO86_nY.js → option-C3ovVy8Q.js} +2 -2
- package/dist/{option-DqO86_nY.js.map → option-C3ovVy8Q.js.map} +1 -1
- package/dist/{option-PVtp_mrs.cjs → option-CEN9FFeV.cjs} +2 -2
- package/dist/{option-PVtp_mrs.cjs.map → option-CEN9FFeV.cjs.map} +1 -1
- package/dist/option.cjs +1 -1
- package/dist/option.js +1 -1
- package/dist/{outlet-BzsckqZ8.cjs → outlet-BMkGxj9Y.cjs} +2 -2
- package/dist/{outlet-BzsckqZ8.cjs.map → outlet-BMkGxj9Y.cjs.map} +1 -1
- package/dist/{outlet-DcBtaiCX.js → outlet-CbHO2KGb.js} +2 -2
- package/dist/{outlet-DcBtaiCX.js.map → outlet-CbHO2KGb.js.map} +1 -1
- package/dist/{payment-card-form-Bbj5Ie3_.js → payment-card-form-CSjKMW71.js} +3 -3
- package/dist/{payment-card-form-Bbj5Ie3_.js.map → payment-card-form-CSjKMW71.js.map} +1 -1
- package/dist/{payment-card-form-DdrmXQgW.cjs → payment-card-form-ClNJIflz.cjs} +2 -2
- package/dist/{payment-card-form-DdrmXQgW.cjs.map → payment-card-form-ClNJIflz.cjs.map} +1 -1
- package/dist/{radio-group-BdFNVPBX.js → radio-group-BaAICOCk.js} +2 -2
- package/dist/{radio-group-BdFNVPBX.js.map → radio-group-BaAICOCk.js.map} +1 -1
- package/dist/{radio-group-IYmnpHoM.cjs → radio-group-Dq8G5fBE.cjs} +2 -2
- package/dist/{radio-group-IYmnpHoM.cjs.map → radio-group-Dq8G5fBE.cjs.map} +1 -1
- package/dist/radio-group.cjs +1 -1
- package/dist/radio-group.js +1 -1
- package/dist/{scroll-qTSe885X.js → scroll-BJ_3vZ-c.js} +2 -2
- package/dist/{scroll-qTSe885X.js.map → scroll-BJ_3vZ-c.js.map} +1 -1
- package/dist/{scroll-O39qwEAR.cjs → scroll-CUpYxnFS.cjs} +2 -2
- package/dist/{scroll-O39qwEAR.cjs.map → scroll-CUpYxnFS.cjs.map} +1 -1
- package/dist/{select-DGgGHXxb.cjs → select-DSOpxxMT.cjs} +3 -3
- package/dist/select-DSOpxxMT.cjs.map +1 -0
- package/dist/{select-C1qEu5xm.js → select-DzmFjt61.js} +7 -7
- package/dist/select-DzmFjt61.js.map +1 -0
- package/dist/select.cjs +1 -1
- package/dist/select.js +1 -1
- package/dist/{sheet-CTZGiS7C.cjs → sheet-BnBjA5tD.cjs} +2 -2
- package/dist/{sheet-CTZGiS7C.cjs.map → sheet-BnBjA5tD.cjs.map} +1 -1
- package/dist/{sheet-DptJn65A.js → sheet-Co0cHr37.js} +3 -3
- package/dist/{sheet-DptJn65A.js.map → sheet-Co0cHr37.js.map} +1 -1
- package/dist/sheet.cjs +1 -1
- package/dist/sheet.js +1 -1
- package/dist/{slider-DF0hGetl.cjs → slider-CJdYHduh.cjs} +2 -2
- package/dist/{slider-DF0hGetl.cjs.map → slider-CJdYHduh.cjs.map} +1 -1
- package/dist/{slider-DuC6D-d4.js → slider-dtJketj4.js} +3 -3
- package/dist/{slider-DuC6D-d4.js.map → slider-dtJketj4.js.map} +1 -1
- package/dist/slider.cjs +1 -1
- package/dist/slider.js +1 -1
- package/dist/{spinner-CC4zDuEm.cjs → spinner-BB1NW_4b.cjs} +2 -2
- package/dist/{spinner-CC4zDuEm.cjs.map → spinner-BB1NW_4b.cjs.map} +1 -1
- package/dist/{spinner-CNgjSbB2.js → spinner-ssJhxM2o.js} +3 -3
- package/dist/{spinner-CNgjSbB2.js.map → spinner-ssJhxM2o.js.map} +1 -1
- package/dist/{surface-DVYDiR06.js → surface-DeLQUjNN.js} +3 -3
- package/dist/surface-DeLQUjNN.js.map +1 -0
- package/dist/{surface-DgEJ5kCf.cjs → surface-jQagrINO.cjs} +3 -3
- package/dist/surface-jQagrINO.cjs.map +1 -0
- package/dist/surface.cjs +1 -1
- package/dist/surface.js +1 -1
- package/dist/{table-DaiP2A-P.cjs → table-Co0-nm4Y.cjs} +2 -2
- package/dist/{table-DaiP2A-P.cjs.map → table-Co0-nm4Y.cjs.map} +1 -1
- package/dist/{table-CvT4bvRV.js → table-DZIjJKTT.js} +2 -2
- package/dist/{table-CvT4bvRV.js.map → table-DZIjJKTT.js.map} +1 -1
- package/dist/table.cjs +1 -1
- package/dist/table.js +1 -1
- package/dist/{tabs-group-BsYXf7-L.cjs → tabs-group-Doix3mBX.cjs} +2 -2
- package/dist/{tabs-group-BsYXf7-L.cjs.map → tabs-group-Doix3mBX.cjs.map} +1 -1
- package/dist/{tabs-group-uSIERHrS.js → tabs-group-JXceC_AX.js} +2 -2
- package/dist/{tabs-group-uSIERHrS.js.map → tabs-group-JXceC_AX.js.map} +1 -1
- package/dist/tabs.cjs +1 -1
- package/dist/tabs.js +1 -1
- package/dist/{tailwind.mixin-ivf7aKpx.cjs → tailwind.mixin-C3pXEh-C.cjs} +2 -2
- package/dist/{tailwind.mixin-ivf7aKpx.cjs.map → tailwind.mixin-C3pXEh-C.cjs.map} +1 -1
- package/dist/{tailwind.mixin-DaorKUB-.js → tailwind.mixin-C5OzBKVB.js} +14 -14
- package/dist/{tailwind.mixin-DaorKUB-.js.map → tailwind.mixin-C5OzBKVB.js.map} +1 -1
- package/dist/teleport.cjs +1 -1
- package/dist/{teleport.component-CHZvUCGh.cjs → teleport.component-BXtXmHVa.cjs} +10 -10
- package/dist/teleport.component-BXtXmHVa.cjs.map +1 -0
- package/dist/{teleport.component-BJp0sdwT.js → teleport.component-Cq8hZD_o.js} +35 -35
- package/dist/teleport.component-Cq8hZD_o.js.map +1 -0
- package/dist/teleport.js +1 -1
- package/dist/{textarea-CmiDJ6vB.cjs → textarea-BfNvgfZ_.cjs} +2 -2
- package/dist/{textarea-CmiDJ6vB.cjs.map → textarea-BfNvgfZ_.cjs.map} +1 -1
- package/dist/{textarea-CBVhP0PO.js → textarea-vre0j7PW.js} +2 -2
- package/dist/{textarea-CBVhP0PO.js.map → textarea-vre0j7PW.js.map} +1 -1
- package/dist/textarea.cjs +1 -1
- package/dist/textarea.js +1 -1
- package/dist/{theme-button-oUEwzPgP.cjs → theme-button-CQiYi_67.cjs} +2 -2
- package/dist/{theme-button-oUEwzPgP.cjs.map → theme-button-CQiYi_67.cjs.map} +1 -1
- package/dist/{theme-button-D1kqQf95.js → theme-button-D8dDywwF.js} +2 -2
- package/dist/{theme-button-D1kqQf95.js.map → theme-button-D8dDywwF.js.map} +1 -1
- package/dist/theme-button.cjs +1 -1
- package/dist/theme-button.js +1 -1
- package/dist/theme.cjs +1 -1
- package/dist/theme.component-BNYF3EuP.cjs +3 -0
- package/dist/{theme.component-C-dSR7fa.cjs.map → theme.component-BNYF3EuP.cjs.map} +1 -1
- package/dist/{theme.component-C7KaOcEZ.js → theme.component-iFFaMUIB.js} +43 -43
- package/dist/{theme.component-C7KaOcEZ.js.map → theme.component-iFFaMUIB.js.map} +1 -1
- package/dist/theme.js +1 -1
- package/dist/{tree-CjGzyEO3.cjs → tree-BGkPGaY8.cjs} +2 -2
- package/dist/{tree-CjGzyEO3.cjs.map → tree-BGkPGaY8.cjs.map} +1 -1
- package/dist/{tree-DnRjW773.js → tree-Dzh0J35T.js} +2 -2
- package/dist/{tree-DnRjW773.js.map → tree-Dzh0J35T.js.map} +1 -1
- package/dist/tree.cjs +1 -1
- package/dist/tree.js +1 -1
- package/dist/{typewriter-By3kfvcw.cjs → typewriter-ChAfM5s5.cjs} +2 -2
- package/dist/{typewriter-By3kfvcw.cjs.map → typewriter-ChAfM5s5.cjs.map} +1 -1
- package/dist/{typewriter-Bl4oL7Nj.js → typewriter-v9NtjriH.js} +4 -4
- package/dist/{typewriter-Bl4oL7Nj.js.map → typewriter-v9NtjriH.js.map} +1 -1
- package/dist/typewriter.cjs +1 -1
- package/dist/typewriter.js +1 -1
- package/dist/{typography-ZAIIeqBH.js → typography-BsfF4nMf.js} +2 -2
- package/dist/{typography-ZAIIeqBH.js.map → typography-BsfF4nMf.js.map} +1 -1
- package/dist/{typography-CDoqXfnX.cjs → typography-NRVaaUrd.cjs} +2 -2
- package/dist/{typography-CDoqXfnX.cjs.map → typography-NRVaaUrd.cjs.map} +1 -1
- package/dist/typography.cjs +1 -1
- package/dist/typography.js +1 -1
- package/package.json +2 -1
- package/types/src/autocomplete/autocomplete.d.ts +95 -9
- package/types/src/input/input.d.ts +58 -47
- package/types/src/theme/theme.component.d.ts +1 -0
- package/dist/autocomplete-CiNm2SkD.cjs +0 -42
- package/dist/autocomplete-CiNm2SkD.cjs.map +0 -1
- package/dist/autocomplete-Cm5NEwT6.js +0 -189
- package/dist/autocomplete-Cm5NEwT6.js.map +0 -1
- package/dist/icon-button-CP_pX4yw.cjs.map +0 -1
- package/dist/icon-button-tvckJDEE.js.map +0 -1
- package/dist/input-BH04wAXW.cjs +0 -42
- package/dist/input-BH04wAXW.cjs.map +0 -1
- package/dist/input-Dxk8fmQJ.js +0 -118
- package/dist/input-Dxk8fmQJ.js.map +0 -1
- package/dist/select-C1qEu5xm.js.map +0 -1
- package/dist/select-DGgGHXxb.cjs.map +0 -1
- package/dist/surface-DVYDiR06.js.map +0 -1
- package/dist/surface-DgEJ5kCf.cjs.map +0 -1
- package/dist/teleport.component-BJp0sdwT.js.map +0 -1
- package/dist/teleport.component-CHZvUCGh.cjs.map +0 -1
- package/dist/theme.component-C-dSR7fa.cjs +0 -3
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { T as Mr } from "./tailwind.mixin-
|
|
1
|
+
import { T as Mr } from "./tailwind.mixin-C5OzBKVB.js";
|
|
2
2
|
import { unsafeCSS as Dr, html as Sr } from "lit";
|
|
3
|
-
import { property as
|
|
3
|
+
import { property as cr, customElement as Tr } from "lit/decorators.js";
|
|
4
4
|
import { Observable as Ir, of as kr, switchMap as Fr } from "rxjs";
|
|
5
|
-
function
|
|
5
|
+
function z(r) {
|
|
6
6
|
return r < 0 ? -1 : r === 0 ? 0 : 1;
|
|
7
7
|
}
|
|
8
|
-
function
|
|
8
|
+
function rr(r, e, t) {
|
|
9
9
|
return (1 - t) * r + t * e;
|
|
10
10
|
}
|
|
11
|
-
function
|
|
11
|
+
function sr(r, e, t) {
|
|
12
12
|
return t < r ? r : t > e ? e : t;
|
|
13
13
|
}
|
|
14
14
|
function lr(r) {
|
|
@@ -26,11 +26,11 @@ function xr(r) {
|
|
|
26
26
|
}
|
|
27
27
|
function ur(r) {
|
|
28
28
|
const e = function(t) {
|
|
29
|
-
const o =
|
|
29
|
+
const o = X(function(s) {
|
|
30
30
|
return s >> 16 & 255;
|
|
31
|
-
}(t)), a =
|
|
31
|
+
}(t)), a = X(function(s) {
|
|
32
32
|
return s >> 8 & 255;
|
|
33
|
-
}(t)), c =
|
|
33
|
+
}(t)), c = X(function(s) {
|
|
34
34
|
return 255 & s;
|
|
35
35
|
}(t));
|
|
36
36
|
return hr([o, a, c], Lr);
|
|
@@ -46,7 +46,7 @@ function G(r) {
|
|
|
46
46
|
function mr(r) {
|
|
47
47
|
return 116 * Cr(r / 100) - 16;
|
|
48
48
|
}
|
|
49
|
-
function
|
|
49
|
+
function X(r) {
|
|
50
50
|
const e = r / 255;
|
|
51
51
|
return e <= 0.040449936 ? e / 12.92 * 100 : 100 * Math.pow((e + 0.055) / 1.055, 2.4);
|
|
52
52
|
}
|
|
@@ -63,7 +63,7 @@ class q {
|
|
|
63
63
|
static make(e = /* @__PURE__ */ function() {
|
|
64
64
|
return Vr;
|
|
65
65
|
}(), t = 200 / Math.PI * G(50) / 100, o = 50, a = 2, c = !1) {
|
|
66
|
-
const s = e, i = 0.401288 * s[0] + 0.650173 * s[1] + -0.051461 * s[2], l = -0.250268 * s[0] + 1.204414 * s[1] + 0.045854 * s[2], h = -2079e-6 * s[0] + 0.048952 * s[1] + 0.953127 * s[2], m = 0.8 + a / 10, f = m >= 0.9 ?
|
|
66
|
+
const s = e, i = 0.401288 * s[0] + 0.650173 * s[1] + -0.051461 * s[2], l = -0.250268 * s[0] + 1.204414 * s[1] + 0.045854 * s[2], h = -2079e-6 * s[0] + 0.048952 * s[1] + 0.953127 * s[2], m = 0.8 + a / 10, f = m >= 0.9 ? rr(0.59, 0.69, 10 * (m - 0.9)) : rr(0.525, 0.59, 10 * (m - 0.8));
|
|
67
67
|
let g = c ? 1 : m * (1 - 1 / 3.6 * Math.exp((-t - 42) / 92));
|
|
68
68
|
g = g > 1 ? 1 : g < 0 ? 0 : g;
|
|
69
69
|
const C = m, p = [g * (100 / i) + 1 - g, g * (100 / l) + 1 - g, g * (100 / h) + 1 - g], w = 1 / (5 * t + 1), v = w * w * w * w, D = 1 - v, k = v * t + 0.1 * D * D * Math.cbrt(5 * t), V = G(o) / e[1], x = 1.48 + Math.sqrt(V), b = 0.725 / Math.pow(V, 0.2), I = b, P = [Math.pow(k * p[0] * i / 100, 0.42), Math.pow(k * p[1] * l / 100, 0.42), Math.pow(k * p[2] * h / 100, 0.42)], T = [400 * P[0] / (P[0] + 27.13), 400 * P[1] / (P[1] + 27.13), 400 * P[2] / (P[2] + 27.13)];
|
|
@@ -86,8 +86,8 @@ class L {
|
|
|
86
86
|
return L.fromIntInViewingConditions(e, q.DEFAULT);
|
|
87
87
|
}
|
|
88
88
|
static fromIntInViewingConditions(e, t) {
|
|
89
|
-
const o = (65280 & e) >> 8, a = 255 & e, c =
|
|
90
|
-
return new L(N,
|
|
89
|
+
const o = (65280 & e) >> 8, a = 255 & e, c = X((16711680 & e) >> 16), s = X(o), i = X(a), l = 0.41233895 * c + 0.35762064 * s + 0.18051042 * i, h = 0.2126 * c + 0.7152 * s + 0.0722 * i, m = 0.01932141 * c + 0.11916382 * s + 0.95034478 * i, f = 0.401288 * l + 0.650173 * h - 0.051461 * m, g = -0.250268 * l + 1.204414 * h + 0.045854 * m, C = -2079e-6 * l + 0.048952 * h + 0.953127 * m, p = t.rgbD[0] * f, w = t.rgbD[1] * g, v = t.rgbD[2] * C, D = Math.pow(t.fl * Math.abs(p) / 100, 0.42), k = Math.pow(t.fl * Math.abs(w) / 100, 0.42), V = Math.pow(t.fl * Math.abs(v) / 100, 0.42), x = 400 * z(p) * D / (D + 27.13), b = 400 * z(w) * k / (k + 27.13), I = 400 * z(v) * V / (V + 27.13), P = (11 * x + -12 * b + I) / 11, T = (x + b - 2 * I) / 9, S = (20 * x + 20 * b + 21 * I) / 20, tr = (40 * x + 20 * b + I) / 20, B = 180 * Math.atan2(T, P) / Math.PI, N = B < 0 ? B + 360 : B >= 360 ? B - 360 : B, j = N * Math.PI / 180, R = tr * t.nbb, U = 100 * Math.pow(R / t.aw, t.c * t.z), W = 4 / t.c * Math.sqrt(U / 100) * (t.aw + 4) * t.fLRoot, Q = N < 20.14 ? N + 360 : N, or = 5e4 / 13 * (0.25 * (Math.cos(Q * Math.PI / 180 + 2) + 3.8)) * t.nc * t.ncb * Math.sqrt(P * P + T * T) / (S + 0.305), ar = Math.pow(or, 0.9) * Math.pow(1.64 - Math.pow(0.29, t.n), 0.73), nr = ar * Math.sqrt(U / 100), fr = nr * t.fLRoot, br = 50 * Math.sqrt(ar * t.c / (t.aw + 4)), wr = (1 + 100 * 7e-3) * U / (1 + 7e-3 * U), gr = 1 / 0.0228 * Math.log(1 + 0.0228 * fr), vr = gr * Math.cos(j), Pr = gr * Math.sin(j);
|
|
90
|
+
return new L(N, nr, U, W, fr, br, wr, vr, Pr);
|
|
91
91
|
}
|
|
92
92
|
static fromJch(e, t, o) {
|
|
93
93
|
return L.fromJchInViewingConditions(e, t, o, q.DEFAULT);
|
|
@@ -110,18 +110,18 @@ class L {
|
|
|
110
110
|
return this.viewed(q.DEFAULT);
|
|
111
111
|
}
|
|
112
112
|
viewed(e) {
|
|
113
|
-
const t = this.chroma === 0 || this.j === 0 ? 0 : this.chroma / Math.sqrt(this.j / 100), o = Math.pow(t / Math.pow(1.64 - Math.pow(0.29, e.n), 0.73), 1 / 0.9), a = this.hue * Math.PI / 180, c = 0.25 * (Math.cos(a + 2) + 3.8), s = e.aw * Math.pow(this.j / 100, 1 / e.c / e.z), i = c * (5e4 / 13) * e.nc * e.ncb, l = s / e.nbb, h = Math.sin(a), m = Math.cos(a), f = 23 * (l + 0.305) * o / (23 * i + 11 * o * m + 108 * o * h), g = f * m, C = f * h, p = (460 * l + 451 * g + 288 * C) / 1403, w = (460 * l - 891 * g - 261 * C) / 1403, v = (460 * l - 220 * g - 6300 * C) / 1403, D = Math.max(0, 27.13 * Math.abs(p) / (400 - Math.abs(p))), k =
|
|
114
|
-
return function(
|
|
115
|
-
const R = Or, U = R[0][0] *
|
|
116
|
-
return dr(J(U), J(
|
|
113
|
+
const t = this.chroma === 0 || this.j === 0 ? 0 : this.chroma / Math.sqrt(this.j / 100), o = Math.pow(t / Math.pow(1.64 - Math.pow(0.29, e.n), 0.73), 1 / 0.9), a = this.hue * Math.PI / 180, c = 0.25 * (Math.cos(a + 2) + 3.8), s = e.aw * Math.pow(this.j / 100, 1 / e.c / e.z), i = c * (5e4 / 13) * e.nc * e.ncb, l = s / e.nbb, h = Math.sin(a), m = Math.cos(a), f = 23 * (l + 0.305) * o / (23 * i + 11 * o * m + 108 * o * h), g = f * m, C = f * h, p = (460 * l + 451 * g + 288 * C) / 1403, w = (460 * l - 891 * g - 261 * C) / 1403, v = (460 * l - 220 * g - 6300 * C) / 1403, D = Math.max(0, 27.13 * Math.abs(p) / (400 - Math.abs(p))), k = z(p) * (100 / e.fl) * Math.pow(D, 1 / 0.42), V = Math.max(0, 27.13 * Math.abs(w) / (400 - Math.abs(w))), x = z(w) * (100 / e.fl) * Math.pow(V, 1 / 0.42), b = Math.max(0, 27.13 * Math.abs(v) / (400 - Math.abs(v))), I = z(v) * (100 / e.fl) * Math.pow(b, 1 / 0.42), P = k / e.rgbD[0], T = x / e.rgbD[1], S = I / e.rgbD[2];
|
|
114
|
+
return function(B, N, j) {
|
|
115
|
+
const R = Or, U = R[0][0] * B + R[0][1] * N + R[0][2] * j, W = R[1][0] * B + R[1][1] * N + R[1][2] * j, Q = R[2][0] * B + R[2][1] * N + R[2][2] * j;
|
|
116
|
+
return dr(J(U), J(W), J(Q));
|
|
117
117
|
}(1.86206786 * P - 1.01125463 * T + 0.14918677 * S, 0.38752654 * P + 0.62144744 * T - 897398e-8 * S, -0.0158415 * P - 0.03412294 * T + 1.04996444 * S);
|
|
118
118
|
}
|
|
119
119
|
static fromXyzInViewingConditions(e, t, o, a) {
|
|
120
|
-
const c = 0.401288 * e + 0.650173 * t - 0.051461 * o, s = -0.250268 * e + 1.204414 * t + 0.045854 * o, i = -2079e-6 * e + 0.048952 * t + 0.953127 * o, l = a.rgbD[0] * c, h = a.rgbD[1] * s, m = a.rgbD[2] * i, f = Math.pow(a.fl * Math.abs(l) / 100, 0.42), g = Math.pow(a.fl * Math.abs(h) / 100, 0.42), C = Math.pow(a.fl * Math.abs(m) / 100, 0.42), p = 400 *
|
|
121
|
-
return new L(I, R, S,
|
|
120
|
+
const c = 0.401288 * e + 0.650173 * t - 0.051461 * o, s = -0.250268 * e + 1.204414 * t + 0.045854 * o, i = -2079e-6 * e + 0.048952 * t + 0.953127 * o, l = a.rgbD[0] * c, h = a.rgbD[1] * s, m = a.rgbD[2] * i, f = Math.pow(a.fl * Math.abs(l) / 100, 0.42), g = Math.pow(a.fl * Math.abs(h) / 100, 0.42), C = Math.pow(a.fl * Math.abs(m) / 100, 0.42), p = 400 * z(l) * f / (f + 27.13), w = 400 * z(h) * g / (g + 27.13), v = 400 * z(m) * C / (C + 27.13), D = (11 * p + -12 * w + v) / 11, k = (p + w - 2 * v) / 9, V = (20 * p + 20 * w + 21 * v) / 20, x = (40 * p + 20 * w + v) / 20, b = 180 * Math.atan2(k, D) / Math.PI, I = b < 0 ? b + 360 : b >= 360 ? b - 360 : b, P = I * Math.PI / 180, T = x * a.nbb, S = 100 * Math.pow(T / a.aw, a.c * a.z), tr = 4 / a.c * Math.sqrt(S / 100) * (a.aw + 4) * a.fLRoot, B = I < 20.14 ? I + 360 : I, N = 5e4 / 13 * (1 / 4 * (Math.cos(B * Math.PI / 180 + 2) + 3.8)) * a.nc * a.ncb * Math.sqrt(D * D + k * k) / (V + 0.305), j = Math.pow(N, 0.9) * Math.pow(1.64 - Math.pow(0.29, a.n), 0.73), R = j * Math.sqrt(S / 100), U = R * a.fLRoot, W = 50 * Math.sqrt(j * a.c / (a.aw + 4)), Q = (1 + 100 * 7e-3) * S / (1 + 7e-3 * S), or = Math.log(1 + 0.0228 * U) / 0.0228, ar = or * Math.cos(P), nr = or * Math.sin(P);
|
|
121
|
+
return new L(I, R, S, tr, U, W, Q, ar, nr);
|
|
122
122
|
}
|
|
123
123
|
xyzInViewingConditions(e) {
|
|
124
|
-
const t = this.chroma === 0 || this.j === 0 ? 0 : this.chroma / Math.sqrt(this.j / 100), o = Math.pow(t / Math.pow(1.64 - Math.pow(0.29, e.n), 0.73), 1 / 0.9), a = this.hue * Math.PI / 180, c = 0.25 * (Math.cos(a + 2) + 3.8), s = e.aw * Math.pow(this.j / 100, 1 / e.c / e.z), i = c * (5e4 / 13) * e.nc * e.ncb, l = s / e.nbb, h = Math.sin(a), m = Math.cos(a), f = 23 * (l + 0.305) * o / (23 * i + 11 * o * m + 108 * o * h), g = f * m, C = f * h, p = (460 * l + 451 * g + 288 * C) / 1403, w = (460 * l - 891 * g - 261 * C) / 1403, v = (460 * l - 220 * g - 6300 * C) / 1403, D = Math.max(0, 27.13 * Math.abs(p) / (400 - Math.abs(p))), k =
|
|
124
|
+
const t = this.chroma === 0 || this.j === 0 ? 0 : this.chroma / Math.sqrt(this.j / 100), o = Math.pow(t / Math.pow(1.64 - Math.pow(0.29, e.n), 0.73), 1 / 0.9), a = this.hue * Math.PI / 180, c = 0.25 * (Math.cos(a + 2) + 3.8), s = e.aw * Math.pow(this.j / 100, 1 / e.c / e.z), i = c * (5e4 / 13) * e.nc * e.ncb, l = s / e.nbb, h = Math.sin(a), m = Math.cos(a), f = 23 * (l + 0.305) * o / (23 * i + 11 * o * m + 108 * o * h), g = f * m, C = f * h, p = (460 * l + 451 * g + 288 * C) / 1403, w = (460 * l - 891 * g - 261 * C) / 1403, v = (460 * l - 220 * g - 6300 * C) / 1403, D = Math.max(0, 27.13 * Math.abs(p) / (400 - Math.abs(p))), k = z(p) * (100 / e.fl) * Math.pow(D, 1 / 0.42), V = Math.max(0, 27.13 * Math.abs(w) / (400 - Math.abs(w))), x = z(w) * (100 / e.fl) * Math.pow(V, 1 / 0.42), b = Math.max(0, 27.13 * Math.abs(v) / (400 - Math.abs(v))), I = z(v) * (100 / e.fl) * Math.pow(b, 1 / 0.42), P = k / e.rgbD[0], T = x / e.rgbD[1], S = I / e.rgbD[2];
|
|
125
125
|
return [1.86206786 * P - 1.01125463 * T + 0.14918677 * S, 0.38752654 * P + 0.62144744 * T - 897398e-8 * S, -0.0158415 * P - 0.03412294 * T + 1.04996444 * S];
|
|
126
126
|
}
|
|
127
127
|
}
|
|
@@ -136,7 +136,7 @@ class d {
|
|
|
136
136
|
}
|
|
137
137
|
static chromaticAdaptation(e) {
|
|
138
138
|
const t = Math.pow(Math.abs(e), 0.42);
|
|
139
|
-
return 400 *
|
|
139
|
+
return 400 * z(e) * t / (t + 27.13);
|
|
140
140
|
}
|
|
141
141
|
static hueOf(e) {
|
|
142
142
|
const t = hr(e, d.SCALED_DISCOUNT_FROM_LINRGB), o = d.chromaticAdaptation(t[0]), a = d.chromaticAdaptation(t[1]), c = d.chromaticAdaptation(t[2]), s = (11 * o + -12 * a + c) / 11, i = (o + a - 2 * c) / 9;
|
|
@@ -207,7 +207,7 @@ class d {
|
|
|
207
207
|
}
|
|
208
208
|
static inverseChromaticAdaptation(e) {
|
|
209
209
|
const t = Math.abs(e), o = Math.max(0, 27.13 * t / (400 - t));
|
|
210
|
-
return
|
|
210
|
+
return z(e) * Math.pow(o, 1 / 0.42);
|
|
211
211
|
}
|
|
212
212
|
static findResultByJ(e, t, o) {
|
|
213
213
|
let a = 11 * Math.sqrt(o);
|
|
@@ -296,7 +296,7 @@ class yr {
|
|
|
296
296
|
}
|
|
297
297
|
class F {
|
|
298
298
|
static ratioOfTones(e, t) {
|
|
299
|
-
return e =
|
|
299
|
+
return e = sr(0, 100, e), t = sr(0, 100, t), F.ratioOfYs(G(e), G(t));
|
|
300
300
|
}
|
|
301
301
|
static ratioOfYs(e, t) {
|
|
302
302
|
const o = e > t ? e : t;
|
|
@@ -359,7 +359,7 @@ class u {
|
|
|
359
359
|
let k = F.ratioOfTones(h, D) >= w ? D : u.foregroundTone(h, w);
|
|
360
360
|
const V = g.tone(e);
|
|
361
361
|
let x = F.ratioOfTones(h, V) >= v ? V : u.foregroundTone(h, v);
|
|
362
|
-
return t && (k = u.foregroundTone(h, w), x = u.foregroundTone(h, v)), (x - k) * p >= s || (x =
|
|
362
|
+
return t && (k = u.foregroundTone(h, w), x = u.foregroundTone(h, v)), (x - k) * p >= s || (x = sr(0, 100, k + s * p), (x - k) * p >= s || (k = sr(0, 100, x - s * p))), 50 <= k && k < 60 ? p > 0 ? (k = 60, x = Math.max(x, k + s * p)) : (k = 49, x = Math.min(x, k + s * p)) : 50 <= x && x < 60 && (l ? p > 0 ? (k = 60, x = Math.max(x, k + s * p)) : (k = 49, x = Math.min(x, k + s * p)) : x = p > 0 ? 60 : 49), C ? k : x;
|
|
363
363
|
}
|
|
364
364
|
{
|
|
365
365
|
let o = this.tone(e);
|
|
@@ -443,7 +443,7 @@ class y {
|
|
|
443
443
|
this.low = e, this.normal = t, this.medium = o, this.high = a;
|
|
444
444
|
}
|
|
445
445
|
get(e) {
|
|
446
|
-
return e <= -1 ? this.low : e < 0 ?
|
|
446
|
+
return e <= -1 ? this.low : e < 0 ? rr(this.low, this.normal, (e - -1) / 1) : e < 0.5 ? rr(this.normal, this.medium, (e - 0) / 0.5) : e < 1 ? rr(this.medium, this.high, (e - 0.5) / 0.5) : this.high;
|
|
447
447
|
}
|
|
448
448
|
}
|
|
449
449
|
class H {
|
|
@@ -451,16 +451,16 @@ class H {
|
|
|
451
451
|
this.roleA = e, this.roleB = t, this.delta = o, this.polarity = a, this.stayTogether = c;
|
|
452
452
|
}
|
|
453
453
|
}
|
|
454
|
-
var
|
|
454
|
+
var er;
|
|
455
455
|
function K(r) {
|
|
456
|
-
return r.variant ===
|
|
456
|
+
return r.variant === er.FIDELITY || r.variant === er.CONTENT;
|
|
457
457
|
}
|
|
458
458
|
function M(r) {
|
|
459
|
-
return r.variant ===
|
|
459
|
+
return r.variant === er.MONOCHROME;
|
|
460
460
|
}
|
|
461
461
|
(function(r) {
|
|
462
462
|
r[r.MONOCHROME = 0] = "MONOCHROME", r[r.NEUTRAL = 1] = "NEUTRAL", r[r.TONAL_SPOT = 2] = "TONAL_SPOT", r[r.VIBRANT = 3] = "VIBRANT", r[r.EXPRESSIVE = 4] = "EXPRESSIVE", r[r.FIDELITY = 5] = "FIDELITY", r[r.CONTENT = 6] = "CONTENT", r[r.RAINBOW = 7] = "RAINBOW", r[r.FRUIT_SALAD = 8] = "FRUIT_SALAD";
|
|
463
|
-
})(
|
|
463
|
+
})(er || (er = {}));
|
|
464
464
|
class n {
|
|
465
465
|
static highestSurface(e) {
|
|
466
466
|
return e.isDark ? n.surfaceBright : n.surfaceDim;
|
|
@@ -657,28 +657,28 @@ function Er(r, e = []) {
|
|
|
657
657
|
}
|
|
658
658
|
function Rr(r, e = !1) {
|
|
659
659
|
function t(o) {
|
|
660
|
-
return "#" + o.toString(16).slice(2);
|
|
660
|
+
return "#" + o.toString(16).padStart(8, "0").slice(2);
|
|
661
661
|
}
|
|
662
662
|
if (e) {
|
|
663
663
|
const o = r.schemes.dark, a = function(c, s) {
|
|
664
664
|
const i = A.fromHueAndChroma(c, s);
|
|
665
|
-
return { cLowest: i.tone(
|
|
665
|
+
return { cLowest: i.tone(0), cLow: i.tone(10), c: i.tone(12), cHigh: i.tone(17), cHighest: i.tone(22), sDim: i.tone(0), s: i.tone(6), sBright: i.tone(24) };
|
|
666
666
|
}(r.palettes.neutral.hue, r.palettes.neutral.chroma);
|
|
667
|
-
return { sys: { color: { scrim: t(o.scrim), outlineVariant: t(o.outlineVariant), outline: t(o.outline), surface: { default: t(o.surface), dim: t(a.sDim), bright: t(a.sBright), on: t(o.onSurface), onVariant: t(o.onSurfaceVariant), highest: t(a.cHighest), high: t(a.cHigh), container: t(a.c), low: t(a.cLow), lowest: t(a.cLowest) }, primary: { default: t(o.primary), on: t(o.onPrimary), container: t(o.primaryContainer), onContainer: t(o.onPrimaryContainer) }, secondary: { default: t(o.secondary), on: t(o.onSecondary), container: t(
|
|
667
|
+
return { sys: { color: { scrim: t(o.scrim), outlineVariant: t(o.outlineVariant), outline: t(o.outline), surface: { default: t(o.surface), dim: t(a.sDim), bright: t(a.sBright), on: t(o.onSurface), onVariant: t(o.onSurfaceVariant), highest: t(a.cHighest), high: t(a.cHigh), container: t(a.c), low: t(a.cLow), lowest: t(a.cLowest) }, primary: { default: t(o.primary), on: t(o.onPrimary), container: t(o.primaryContainer), onContainer: t(o.onPrimaryContainer) }, secondary: { default: t(o.secondary), on: t(o.onSecondary), container: t(o.secondaryContainer), onContainer: t(o.onSecondaryContainer) }, tertiary: { default: t(o.tertiary), on: t(o.onTertiary), container: t(o.tertiaryContainer), onContainer: t(o.onTertiaryContainer) }, error: { default: t(o.error), on: t(o.onError), container: t(o.errorContainer), onContainer: t(o.onErrorContainer) }, success: { default: "#00FF00", on: "#000000", container: "#00FF00", onContainer: "#000000" } }, elevation: { 0: "0 0 0 0 rgba(0, 0, 0, 0)", 1: "rgba(0, 0, 0, 0.2) 0px 2px 1px -1px, rgba(0, 0, 0, 0.14) 0px 1px 1px 0px, rgba(0, 0, 0, 0.12) 0px 1px 3px 0px", 2: "rgba(0, 0, 0, 0.2) 0px 3px 3px -2px, rgba(0, 0, 0, 0.14) 0px 3px 4px 0px, rgba(0, 0, 0, 0.12) 0px 1px 8px 0px", 3: "rgba(0, 0, 0, 0.2) 0px 3px 5px -1px, rgba(0, 0, 0, 0.14) 0px 6px 10px 0px, rgba(0, 0, 0, 0.12) 0px 1px 18px 0px", 4: "rgba(0, 0, 0, 0.2) 0px 5px 5px -3px, rgba(0, 0, 0, 0.14) 0px 8px 10px 1px, rgba(0, 0, 0, 0.12) 0px 3px 14px 2px", 5: "rgba(0, 0, 0, 0.2) 0px 7px 8px -4px, rgba(0, 0, 0, 0.14) 0px 12px 17px 2px, rgba(0, 0, 0, 0.12) 0px 5px 22px 4px" }, outline: { 1: "1px" } } };
|
|
668
668
|
}
|
|
669
669
|
{
|
|
670
670
|
const o = r.schemes.light, a = function(c, s) {
|
|
671
671
|
const i = A.fromHueAndChroma(c, s);
|
|
672
|
-
return { cLowest: i.tone(100), cLow: i.tone(96), c: i.tone(94), cHigh: i.tone(92), cHighest: i.tone(90), sDim: i.tone(87), s: i.tone(98), sBright: i.tone(
|
|
672
|
+
return { cLowest: i.tone(100), cLow: i.tone(96), c: i.tone(94), cHigh: i.tone(92), cHighest: i.tone(90), sDim: i.tone(87), s: i.tone(98), sBright: i.tone(100) };
|
|
673
673
|
}(r.palettes.neutral.hue, r.palettes.neutral.chroma);
|
|
674
674
|
return { sys: { color: { scrim: t(o.scrim), outlineVariant: t(o.outlineVariant), outline: t(o.outline), surface: { default: t(o.surface), dim: t(a.sDim), bright: t(a.sBright), on: t(o.onSurface), onVariant: t(o.onSurfaceVariant), highest: t(a.cHighest), high: t(a.cHigh), container: t(a.c), low: t(a.cLow), lowest: t(a.cLowest) }, primary: { default: t(o.primary), on: t(o.onPrimary), container: t(o.primaryContainer), onContainer: t(o.onPrimaryContainer) }, secondary: { default: t(o.secondary), on: t(o.onSecondary), container: t(o.secondaryContainer), onContainer: t(o.onSecondaryContainer) }, tertiary: { default: t(o.tertiary), on: t(o.onTertiary), container: t(o.tertiaryContainer), onContainer: t(o.onTertiaryContainer) }, error: { default: t(o.error), on: t(o.onError), container: t(o.errorContainer), onContainer: t(o.onErrorContainer) }, success: { default: "#00FF00", on: "#000000", container: "#00FF00", onContainer: "#000000" } }, elevation: { 0: "0 0 0 0 rgba(0, 0, 0, 0)", 1: "rgba(0, 0, 0, 0.2) 0px 2px 1px -1px, rgba(0, 0, 0, 0.14) 0px 1px 1px 0px, rgba(0, 0, 0, 0.12) 0px 1px 3px 0px", 2: "rgba(0, 0, 0, 0.2) 0px 3px 3px -2px, rgba(0, 0, 0, 0.14) 0px 3px 4px 0px, rgba(0, 0, 0, 0.12) 0px 1px 8px 0px", 3: "rgba(0, 0, 0, 0.2) 0px 3px 5px -1px, rgba(0, 0, 0, 0.14) 0px 6px 10px 0px, rgba(0, 0, 0, 0.12) 0px 1px 18px 0px", 4: "rgba(0, 0, 0, 0.2) 0px 5px 5px -3px, rgba(0, 0, 0, 0.14) 0px 8px 10px 1px, rgba(0, 0, 0, 0.12) 0px 3px 14px 2px", 5: "rgba(0, 0, 0, 0.2) 0px 7px 8px -4px, rgba(0, 0, 0, 0.14) 0px 12px 17px 2px, rgba(0, 0, 0, 0.12) 0px 5px 22px 4px" }, outline: { 1: "1px" } } };
|
|
675
675
|
}
|
|
676
676
|
}
|
|
677
|
-
var Hr = Object.defineProperty,
|
|
678
|
-
for (var a, c = o > 1 ? void 0 : o ?
|
|
677
|
+
var Hr = Object.defineProperty, zr = Object.getOwnPropertyDescriptor, Z = (r, e, t, o) => {
|
|
678
|
+
for (var a, c = o > 1 ? void 0 : o ? zr(e, t) : e, s = r.length - 1; s >= 0; s--) (a = r[s]) && (c = (o ? a(e, t, c) : a(c)) || c);
|
|
679
679
|
return o && c && Hr(e, t, c), c;
|
|
680
680
|
};
|
|
681
|
-
const zr = Dr(':host,:root{--md-ref-typeface-brand: "Josefin Sans", sans-serif;--md-ref-typeface-plain: "Josefin Sans", sans-serif;--md-sys-color-primary: var(--schmancy-sys-color-primary-default);--md-sys-color-secondary: var(--schmancy-sys-color-secondary-default);--border-style: solid;--spacing: 4px;--color-scrim: var(--schmancy-sys-color-scrim);--color-outline: var(--schmancy-sys-color-outline);--color-outlineVariant: var(--schmancy-sys-color-outlineVariant);--color-surface-default: var(--schmancy-sys-color-surface-default);--color-surface-dim: var(--schmancy-sys-color-surface-dim);--color-surface-bright: var(--schmancy-sys-color-surface-bright);--color-surface-container: var(--schmancy-sys-color-surface-container);--color-surface-low: var(--schmancy-sys-color-surface-low);--color-surface-high: var(--schmancy-sys-color-surface-high);--color-surface-highest: var(--schmancy-sys-color-surface-highest);--color-surface-lowest: var(--schmancy-sys-color-surface-lowest);--color-surface-on: var(--schmancy-sys-color-surface-on);--color-surface-onVariant: var(--schmancy-sys-color-surface-onVariant);--color-primary-default: var(--schmancy-sys-color-primary-default);--color-primary-on: var(--schmancy-sys-color-primary-on);--color-primary-container: var(--schmancy-sys-color-primary-container);--color-primary-onContainer: var(--schmancy-sys-color-primary-onContainer);--color-secondary-default: var(--schmancy-sys-color-secondary-default);--color-secondary-on: var(--schmancy-sys-color-secondary-on);--color-secondary-container: var(--schmancy-sys-color-secondary-container);--color-secondary-onContainer: var(--schmancy-sys-color-secondary-onContainer);--color-tertiary-default: var(--schmancy-sys-color-tertiary-default);--color-tertiary-on: var(--schmancy-sys-color-tertiary-on);--color-tertiary-container: var(--schmancy-sys-color-tertiary-container);--color-tertiary-onContainer: var(--schmancy-sys-color-tertiary-onContainer);--color-error-default: var(--schmancy-sys-color-error-default);--color-error-on: var(--schmancy-sys-color-error-on);--color-error-container: var(--schmancy-sys-color-error-container);--color-error-onContainer: var(--schmancy-sys-color-error-onContainer);--color-success-default: var(--schmancy-sys-color-success-default);--color-success-on: var(--schmancy-sys-color-success-on);--color-success-container: var(--schmancy-sys-color-success-container);--color-success-onContainer: var(--schmancy-sys-color-success-onContainer);--shadow-0: var(--schmancy-sys-elevation-0);--shadow-1: var(--schmancy-sys-elevation-1);--shadow-2: var(--schmancy-sys-elevation-2);--shadow-3: var(--schmancy-sys-elevation-3);--shadow-4: var(--schmancy-sys-elevation-4);--shadow-5: var(--schmancy-sys-elevation-5);--outline-1: var(--schmancy-sys-outline-1);--font-sans: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-serif: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;--font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--color-red-50: oklch(.971 .013 17.38);--color-red-100: oklch(.936 .032 17.717);--color-red-200: oklch(.885 .062 18.334);--color-red-300: oklch(.808 .114 19.571);--color-red-400: oklch(.704 .191 22.216);--color-red-500: oklch(.637 .237 25.331);--color-red-600: oklch(.577 .245 27.325);--color-red-700: oklch(.505 .213 27.518);--color-red-800: oklch(.444 .177 26.899);--color-red-900: oklch(.396 .141 25.723);--color-red-950: oklch(.258 .092 26.042);--color-orange-50: oklch(.98 .016 73.684);--color-orange-100: oklch(.954 .038 75.164);--color-orange-200: oklch(.901 .076 70.697);--color-orange-300: oklch(.837 .128 66.29);--color-orange-400: oklch(.75 .183 55.934);--color-orange-500: oklch(.705 .213 47.604);--color-orange-600: oklch(.646 .222 41.116);--color-orange-700: oklch(.553 .195 38.402);--color-orange-800: oklch(.47 .157 37.304);--color-orange-900: oklch(.408 .123 38.172);--color-orange-950: oklch(.266 .079 36.259);--color-amber-50: oklch(.987 .022 95.277);--color-amber-100: oklch(.962 .059 95.617);--color-amber-200: oklch(.924 .12 95.746);--color-amber-300: oklch(.879 .169 91.605);--color-amber-400: oklch(.828 .189 84.429);--color-amber-500: oklch(.769 .188 70.08);--color-amber-600: oklch(.666 .179 58.318);--color-amber-700: oklch(.555 .163 48.998);--color-amber-800: oklch(.473 .137 46.201);--color-amber-900: oklch(.414 .112 45.904);--color-amber-950: oklch(.279 .077 45.635);--color-yellow-50: oklch(.987 .026 102.212);--color-yellow-100: oklch(.973 .071 103.193);--color-yellow-200: oklch(.945 .129 101.54);--color-yellow-300: oklch(.905 .182 98.111);--color-yellow-400: oklch(.852 .199 91.936);--color-yellow-500: oklch(.795 .184 86.047);--color-yellow-600: oklch(.681 .162 75.834);--color-yellow-700: oklch(.554 .135 66.442);--color-yellow-800: oklch(.476 .114 61.907);--color-yellow-900: oklch(.421 .095 57.708);--color-yellow-950: oklch(.286 .066 53.813);--color-lime-50: oklch(.986 .031 120.757);--color-lime-100: oklch(.967 .067 122.328);--color-lime-200: oklch(.938 .127 124.321);--color-lime-300: oklch(.897 .196 126.665);--color-lime-400: oklch(.841 .238 128.85);--color-lime-500: oklch(.768 .233 130.85);--color-lime-600: oklch(.648 .2 131.684);--color-lime-700: oklch(.532 .157 131.589);--color-lime-800: oklch(.453 .124 130.933);--color-lime-900: oklch(.405 .101 131.063);--color-lime-950: oklch(.274 .072 132.109);--color-green-50: oklch(.982 .018 155.826);--color-green-100: oklch(.962 .044 156.743);--color-green-200: oklch(.925 .084 155.995);--color-green-300: oklch(.871 .15 154.449);--color-green-400: oklch(.792 .209 151.711);--color-green-500: oklch(.723 .219 149.579);--color-green-600: oklch(.627 .194 149.214);--color-green-700: oklch(.527 .154 150.069);--color-green-800: oklch(.448 .119 151.328);--color-green-900: oklch(.393 .095 152.535);--color-green-950: oklch(.266 .065 152.934);--color-emerald-50: oklch(.979 .021 166.113);--color-emerald-100: oklch(.95 .052 163.051);--color-emerald-200: oklch(.905 .093 164.15);--color-emerald-300: oklch(.845 .143 164.978);--color-emerald-400: oklch(.765 .177 163.223);--color-emerald-500: oklch(.696 .17 162.48);--color-emerald-600: oklch(.596 .145 163.225);--color-emerald-700: oklch(.508 .118 165.612);--color-emerald-800: oklch(.432 .095 166.913);--color-emerald-900: oklch(.378 .077 168.94);--color-emerald-950: oklch(.262 .051 172.552);--color-teal-50: oklch(.984 .014 180.72);--color-teal-100: oklch(.953 .051 180.801);--color-teal-200: oklch(.91 .096 180.426);--color-teal-300: oklch(.855 .138 181.071);--color-teal-400: oklch(.777 .152 181.912);--color-teal-500: oklch(.704 .14 182.503);--color-teal-600: oklch(.6 .118 184.704);--color-teal-700: oklch(.511 .096 186.391);--color-teal-800: oklch(.437 .078 188.216);--color-teal-900: oklch(.386 .063 188.416);--color-teal-950: oklch(.277 .046 192.524);--color-cyan-50: oklch(.984 .019 200.873);--color-cyan-100: oklch(.956 .045 203.388);--color-cyan-200: oklch(.917 .08 205.041);--color-cyan-300: oklch(.865 .127 207.078);--color-cyan-400: oklch(.789 .154 211.53);--color-cyan-500: oklch(.715 .143 215.221);--color-cyan-600: oklch(.609 .126 221.723);--color-cyan-700: oklch(.52 .105 223.128);--color-cyan-800: oklch(.45 .085 224.283);--color-cyan-900: oklch(.398 .07 227.392);--color-cyan-950: oklch(.302 .056 229.695);--color-sky-50: oklch(.977 .013 236.62);--color-sky-100: oklch(.951 .026 236.824);--color-sky-200: oklch(.901 .058 230.902);--color-sky-300: oklch(.828 .111 230.318);--color-sky-400: oklch(.746 .16 232.661);--color-sky-500: oklch(.685 .169 237.323);--color-sky-600: oklch(.588 .158 241.966);--color-sky-700: oklch(.5 .134 242.749);--color-sky-800: oklch(.443 .11 240.79);--color-sky-900: oklch(.391 .09 240.876);--color-sky-950: oklch(.293 .066 243.157);--color-blue-50: oklch(.97 .014 254.604);--color-blue-100: oklch(.932 .032 255.585);--color-blue-200: oklch(.882 .059 254.128);--color-blue-300: oklch(.809 .105 251.813);--color-blue-400: oklch(.707 .165 254.624);--color-blue-500: oklch(.623 .214 259.815);--color-blue-600: oklch(.546 .245 262.881);--color-blue-700: oklch(.488 .243 264.376);--color-blue-800: oklch(.424 .199 265.638);--color-blue-900: oklch(.379 .146 265.522);--color-blue-950: oklch(.282 .091 267.935);--color-indigo-50: oklch(.962 .018 272.314);--color-indigo-100: oklch(.93 .034 272.788);--color-indigo-200: oklch(.87 .065 274.039);--color-indigo-300: oklch(.785 .115 274.713);--color-indigo-400: oklch(.673 .182 276.935);--color-indigo-500: oklch(.585 .233 277.117);--color-indigo-600: oklch(.511 .262 276.966);--color-indigo-700: oklch(.457 .24 277.023);--color-indigo-800: oklch(.398 .195 277.366);--color-indigo-900: oklch(.359 .144 278.697);--color-indigo-950: oklch(.257 .09 281.288);--color-violet-50: oklch(.969 .016 293.756);--color-violet-100: oklch(.943 .029 294.588);--color-violet-200: oklch(.894 .057 293.283);--color-violet-300: oklch(.811 .111 293.571);--color-violet-400: oklch(.702 .183 293.541);--color-violet-500: oklch(.606 .25 292.717);--color-violet-600: oklch(.541 .281 293.009);--color-violet-700: oklch(.491 .27 292.581);--color-violet-800: oklch(.432 .232 292.759);--color-violet-900: oklch(.38 .189 293.745);--color-violet-950: oklch(.283 .141 291.089);--color-purple-50: oklch(.977 .014 308.299);--color-purple-100: oklch(.946 .033 307.174);--color-purple-200: oklch(.902 .063 306.703);--color-purple-300: oklch(.827 .119 306.383);--color-purple-400: oklch(.714 .203 305.504);--color-purple-500: oklch(.627 .265 303.9);--color-purple-600: oklch(.558 .288 302.321);--color-purple-700: oklch(.496 .265 301.924);--color-purple-800: oklch(.438 .218 303.724);--color-purple-900: oklch(.381 .176 304.987);--color-purple-950: oklch(.291 .149 302.717);--color-fuchsia-50: oklch(.977 .017 320.058);--color-fuchsia-100: oklch(.952 .037 318.852);--color-fuchsia-200: oklch(.903 .076 319.62);--color-fuchsia-300: oklch(.833 .145 321.434);--color-fuchsia-400: oklch(.74 .238 322.16);--color-fuchsia-500: oklch(.667 .295 322.15);--color-fuchsia-600: oklch(.591 .293 322.896);--color-fuchsia-700: oklch(.518 .253 323.949);--color-fuchsia-800: oklch(.452 .211 324.591);--color-fuchsia-900: oklch(.401 .17 325.612);--color-fuchsia-950: oklch(.293 .136 325.661);--color-pink-50: oklch(.971 .014 343.198);--color-pink-100: oklch(.948 .028 342.258);--color-pink-200: oklch(.899 .061 343.231);--color-pink-300: oklch(.823 .12 346.018);--color-pink-400: oklch(.718 .202 349.761);--color-pink-500: oklch(.656 .241 354.308);--color-pink-600: oklch(.592 .249 .584);--color-pink-700: oklch(.525 .223 3.958);--color-pink-800: oklch(.459 .187 3.815);--color-pink-900: oklch(.408 .153 2.432);--color-pink-950: oklch(.284 .109 3.907);--color-rose-50: oklch(.969 .015 12.422);--color-rose-100: oklch(.941 .03 12.58);--color-rose-200: oklch(.892 .058 10.001);--color-rose-300: oklch(.81 .117 11.638);--color-rose-400: oklch(.712 .194 13.428);--color-rose-500: oklch(.645 .246 16.439);--color-rose-600: oklch(.586 .253 17.585);--color-rose-700: oklch(.514 .222 16.935);--color-rose-800: oklch(.455 .188 13.697);--color-rose-900: oklch(.41 .159 10.272);--color-rose-950: oklch(.271 .105 12.094);--color-slate-50: oklch(.984 .003 247.858);--color-slate-100: oklch(.968 .007 247.896);--color-slate-200: oklch(.929 .013 255.508);--color-slate-300: oklch(.869 .022 252.894);--color-slate-400: oklch(.704 .04 256.788);--color-slate-500: oklch(.554 .046 257.417);--color-slate-600: oklch(.446 .043 257.281);--color-slate-700: oklch(.372 .044 257.287);--color-slate-800: oklch(.279 .041 260.031);--color-slate-900: oklch(.208 .042 265.755);--color-slate-950: oklch(.129 .042 264.695);--color-gray-50: oklch(.985 .002 247.839);--color-gray-100: oklch(.967 .003 264.542);--color-gray-200: oklch(.928 .006 264.531);--color-gray-300: oklch(.872 .01 258.338);--color-gray-400: oklch(.707 .022 261.325);--color-gray-500: oklch(.551 .027 264.364);--color-gray-600: oklch(.446 .03 256.802);--color-gray-700: oklch(.373 .034 259.733);--color-gray-800: oklch(.278 .033 256.848);--color-gray-900: oklch(.21 .034 264.665);--color-gray-950: oklch(.13 .028 261.692);--color-zinc-50: oklch(.985 0 0);--color-zinc-100: oklch(.967 .001 286.375);--color-zinc-200: oklch(.92 .004 286.32);--color-zinc-300: oklch(.871 .006 286.286);--color-zinc-400: oklch(.705 .015 286.067);--color-zinc-500: oklch(.552 .016 285.938);--color-zinc-600: oklch(.442 .017 285.786);--color-zinc-700: oklch(.37 .013 285.805);--color-zinc-800: oklch(.274 .006 286.033);--color-zinc-900: oklch(.21 .006 285.885);--color-zinc-950: oklch(.141 .005 285.823);--color-neutral-50: oklch(.985 0 0);--color-neutral-100: oklch(.97 0 0);--color-neutral-200: oklch(.922 0 0);--color-neutral-300: oklch(.87 0 0);--color-neutral-400: oklch(.708 0 0);--color-neutral-500: oklch(.556 0 0);--color-neutral-600: oklch(.439 0 0);--color-neutral-700: oklch(.371 0 0);--color-neutral-800: oklch(.269 0 0);--color-neutral-900: oklch(.205 0 0);--color-neutral-950: oklch(.145 0 0);--color-stone-50: oklch(.985 .001 106.423);--color-stone-100: oklch(.97 .001 106.424);--color-stone-200: oklch(.923 .003 48.717);--color-stone-300: oklch(.869 .005 56.366);--color-stone-400: oklch(.709 .01 56.259);--color-stone-500: oklch(.553 .013 58.071);--color-stone-600: oklch(.444 .011 73.639);--color-stone-700: oklch(.374 .01 67.558);--color-stone-800: oklch(.268 .007 34.298);--color-stone-900: oklch(.216 .006 56.043);--color-stone-950: oklch(.147 .004 49.25);--color-black: #000;--color-white: #fff;--spacing: .25rem;--breakpoint-sm: 40rem;--breakpoint-md: 48rem;--breakpoint-lg: 64rem;--breakpoint-xl: 80rem;--breakpoint-2xl: 96rem;--container-3xs: 16rem;--container-2xs: 18rem;--container-xs: 20rem;--container-sm: 24rem;--container-md: 28rem;--container-lg: 32rem;--container-xl: 36rem;--container-2xl: 42rem;--container-3xl: 48rem;--container-4xl: 56rem;--container-5xl: 64rem;--container-6xl: 72rem;--container-7xl: 80rem;--text-xs: .75rem;--text-xs--line-height: calc(1 / .75);--text-sm: .875rem;--text-sm--line-height: calc(1.25 / .875);--text-base: 1rem;--text-base--line-height: 1.5 ;--text-lg: 1.125rem;--text-lg--line-height: calc(1.75 / 1.125);--text-xl: 1.25rem;--text-xl--line-height: calc(1.75 / 1.25);--text-2xl: 1.5rem;--text-2xl--line-height: calc(2 / 1.5);--text-3xl: 1.875rem;--text-3xl--line-height: 1.2 ;--text-4xl: 2.25rem;--text-4xl--line-height: calc(2.5 / 2.25);--text-5xl: 3rem;--text-5xl--line-height: 1;--text-6xl: 3.75rem;--text-6xl--line-height: 1;--text-7xl: 4.5rem;--text-7xl--line-height: 1;--text-8xl: 6rem;--text-8xl--line-height: 1;--text-9xl: 8rem;--text-9xl--line-height: 1;--font-weight-thin: 100;--font-weight-extralight: 200;--font-weight-light: 300;--font-weight-normal: 400;--font-weight-medium: 500;--font-weight-semibold: 600;--font-weight-bold: 700;--font-weight-extrabold: 800;--font-weight-black: 900;--tracking-tighter: -.05em;--tracking-tight: -.025em;--tracking-normal: 0em;--tracking-wide: .025em;--tracking-wider: .05em;--tracking-widest: .1em;--leading-tight: 1.25;--leading-snug: 1.375;--leading-normal: 1.5;--leading-relaxed: 1.625;--leading-loose: 2;--radius-xs: .125rem;--radius-sm: .25rem;--radius-md: .375rem;--radius-lg: .5rem;--radius-xl: .75rem;--radius-2xl: 1rem;--radius-3xl: 1.5rem;--radius-4xl: 2rem;--shadow-2xs: 0 1px rgb(0 0 0 / .05);--shadow-xs: 0 1px 2px 0 rgb(0 0 0 / .05);--shadow-sm: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--shadow-md: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--shadow-lg: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--shadow-xl: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);--shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / .25);--inset-shadow-2xs: inset 0 1px rgb(0 0 0 / .05);--inset-shadow-xs: inset 0 1px 1px rgb(0 0 0 / .05);--inset-shadow-sm: inset 0 2px 4px rgb(0 0 0 / .05);--drop-shadow-xs: 0 1px 1px rgb(0 0 0 / .05);--drop-shadow-sm: 0 1px 2px rgb(0 0 0 / .15);--drop-shadow-md: 0 3px 3px rgb(0 0 0 / .12);--drop-shadow-lg: 0 4px 4px rgb(0 0 0 / .15);--drop-shadow-xl: 0 9px 7px rgb(0 0 0 / .1);--drop-shadow-2xl: 0 25px 25px rgb(0 0 0 / .15);--blur-xs: 4px;--blur-sm: 8px;--blur-md: 12px;--blur-lg: 16px;--blur-xl: 24px;--blur-2xl: 40px;--blur-3xl: 64px;--perspective-dramatic: 100px;--perspective-near: 300px;--perspective-normal: 500px;--perspective-midrange: 800px;--perspective-distant: 1200px;--aspect-video: 16 / 9;--ease-in: cubic-bezier(.4, 0, 1, 1);--ease-out: cubic-bezier(0, 0, .2, 1);--ease-in-out: cubic-bezier(.4, 0, .2, 1);--animate-spin: spin 1s linear infinite;--animate-ping: ping 1s cubic-bezier(0, 0, .2, 1) infinite;--animate-pulse: pulse 2s cubic-bezier(.4, 0, .6, 1) infinite;--animate-bounce: bounce 1s infinite;@keyframes spin{to{transform:rotate(360deg)}}@keyframes ping{75%,to{transform:scale(2);opacity:0}}@keyframes pulse{50%{opacity:.5}}@keyframes bounce{0%,to{transform:translateY(-25%);animation-timing-function:cubic-bezier(.8,0,1,1)}50%{transform:none;animation-timing-function:cubic-bezier(0,0,.2,1)}}--md-sys-color-scrim: var(--schmancy-sys-color-scrim);--md-sys-color-outline: var(--schmancy-sys-color-outline);--md-sys-color-outlineVariant: var(--schmancy-sys-color-outlineVariant);--md-sys-color-surface-default: var(--schmancy-sys-color-surface-default);--md-sys-color-surface-dim: var(--schmancy-sys-color-surface-dim);--md-sys-color-surface-bright: var(--schmancy-sys-color-surface-bright);--md-sys-color-surface-container: var(--schmancy-sys-color-surface-container);--md-sys-color-surface-low: var(--schmancy-sys-color-surface-low);--md-sys-color-surface-high: var(--schmancy-sys-color-surface-high);--md-sys-color-surface-highest: var(--schmancy-sys-color-surface-highest);--md-sys-color-surface-lowest: var(--schmancy-sys-color-surface-lowest);--md-sys-color-surface-on: var(--schmancy-sys-color-surface-on);--md-sys-color-on-surface-variant: var(--schmancy-sys-color-surface-onVariant);--md-sys-color-on-secondary-container: var(--schmancy-sys-color-secondary-onContainer);--md-sys-color-primary-default: var(--schmancy-sys-color-primary-default);--md-sys-color-primary-on: var(--schmancy-sys-color-primary-on);--md-sys-color-primary-container: var(--schmancy-sys-color-primary-container);--md-sys-color-primary-onContainer: var(--schmancy-sys-color-primary-onContainer);--md-sys-color-secondary-default: var(--schmancy-sys-color-secondary-default);--md-sys-color-secondary-on: var(--schmancy-sys-color-secondary-on);--md-sys-color-secondary-container: var(--schmancy-sys-color-secondary-container);--md-sys-color-secondary-onContainer: var(--schmancy-sys-color-secondary-onContainer);--md-sys-color-tertiary-default: var(--schmancy-sys-color-tertiary-default);--md-sys-color-tertiary-on: var(--schmancy-sys-color-tertiary-on);--md-sys-color-tertiary-container: var(--schmancy-sys-color-tertiary-container);--md-sys-color-tertiary-onContainer: var(--schmancy-sys-color-tertiary-onContainer);--md-sys-color-error-default: var(--schmancy-sys-color-error-default);--md-sys-color-error-on: var(--schmancy-sys-color-error-on);--md-sys-color-error-container: var(--schmancy-sys-color-error-container);--md-sys-color-error-onContainer: var(--schmancy-sys-color-error-onContainer);--md-sys-color-success-default: var(--schmancy-sys-color-success-default);--md-sys-color-success-on: var(--schmancy-sys-color-success-on);--md-sys-color-success-container: var(--schmancy-sys-color-success-container);--md-sys-color-success-onContainer: var(--schmancy-sys-color-success-onContainer);--md-sys-elevation-0: var(--schmancy-sys-elevation-0);--md-sys-elevation-1: var(--schmancy-sys-elevation-1);--md-sys-elevation-2: var(--schmancy-sys-elevation-2);--md-sys-elevation-3: var(--schmancy-sys-elevation-3);--md-sys-elevation-4: var(--schmancy-sys-elevation-4);--md-sys-elevation-5: var(--schmancy-sys-elevation-5);--md-sys-outline-1: var(--schmancy-sys-outline-1)}'), ir = window.matchMedia("(prefers-color-scheme: dark)"), Nr = new Ir((r) => {
|
|
681
|
+
const Br = Dr(':host,:root{--md-ref-typeface-brand: "Josefin Sans", sans-serif;--md-ref-typeface-plain: "Josefin Sans", sans-serif;--md-sys-color-primary: var(--schmancy-sys-color-primary-default);--md-sys-color-secondary: var(--schmancy-sys-color-secondary-default);--border-style: solid;--spacing: 4px;--color-scrim: var(--schmancy-sys-color-scrim);--color-outline: var(--schmancy-sys-color-outline);--color-outlineVariant: var(--schmancy-sys-color-outlineVariant);--color-surface-default: var(--schmancy-sys-color-surface-default);--color-surface-dim: var(--schmancy-sys-color-surface-dim);--color-surface-bright: var(--schmancy-sys-color-surface-bright);--color-surface-container: var(--schmancy-sys-color-surface-container);--color-surface-low: var(--schmancy-sys-color-surface-low);--color-surface-high: var(--schmancy-sys-color-surface-high);--color-surface-highest: var(--schmancy-sys-color-surface-highest);--color-surface-lowest: var(--schmancy-sys-color-surface-lowest);--color-surface-on: var(--schmancy-sys-color-surface-on);--color-surface-onVariant: var(--schmancy-sys-color-surface-onVariant);--color-primary-default: var(--schmancy-sys-color-primary-default);--color-primary-on: var(--schmancy-sys-color-primary-on);--color-primary-container: var(--schmancy-sys-color-primary-container);--color-primary-onContainer: var(--schmancy-sys-color-primary-onContainer);--color-secondary-default: var(--schmancy-sys-color-secondary-default);--color-secondary-on: var(--schmancy-sys-color-secondary-on);--color-secondary-container: var(--schmancy-sys-color-secondary-container);--color-secondary-onContainer: var(--schmancy-sys-color-secondary-onContainer);--color-tertiary-default: var(--schmancy-sys-color-tertiary-default);--color-tertiary-on: var(--schmancy-sys-color-tertiary-on);--color-tertiary-container: var(--schmancy-sys-color-tertiary-container);--color-tertiary-onContainer: var(--schmancy-sys-color-tertiary-onContainer);--color-error-default: var(--schmancy-sys-color-error-default);--color-error-on: var(--schmancy-sys-color-error-on);--color-error-container: var(--schmancy-sys-color-error-container);--color-error-onContainer: var(--schmancy-sys-color-error-onContainer);--color-success-default: var(--schmancy-sys-color-success-default);--color-success-on: var(--schmancy-sys-color-success-on);--color-success-container: var(--schmancy-sys-color-success-container);--color-success-onContainer: var(--schmancy-sys-color-success-onContainer);--shadow-xs: var(--schmancy-sys-elevation-0);--shadow-sm: var(--schmancy-sys-elevation-1);--shadow-md: var(--schmancy-sys-elevation-2);--shadow-lg: var(--schmancy-sys-elevation-3);--shadow-xl: var(--schmancy-sys-elevation-4);--shadow-smxl: var(--schmancy-sys-elevation-5);--outline-1: var(--schmancy-sys-outline-1);--font-sans: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-serif: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;--font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--color-red-50: oklch(.971 .013 17.38);--color-red-100: oklch(.936 .032 17.717);--color-red-200: oklch(.885 .062 18.334);--color-red-300: oklch(.808 .114 19.571);--color-red-400: oklch(.704 .191 22.216);--color-red-500: oklch(.637 .237 25.331);--color-red-600: oklch(.577 .245 27.325);--color-red-700: oklch(.505 .213 27.518);--color-red-800: oklch(.444 .177 26.899);--color-red-900: oklch(.396 .141 25.723);--color-red-950: oklch(.258 .092 26.042);--color-orange-50: oklch(.98 .016 73.684);--color-orange-100: oklch(.954 .038 75.164);--color-orange-200: oklch(.901 .076 70.697);--color-orange-300: oklch(.837 .128 66.29);--color-orange-400: oklch(.75 .183 55.934);--color-orange-500: oklch(.705 .213 47.604);--color-orange-600: oklch(.646 .222 41.116);--color-orange-700: oklch(.553 .195 38.402);--color-orange-800: oklch(.47 .157 37.304);--color-orange-900: oklch(.408 .123 38.172);--color-orange-950: oklch(.266 .079 36.259);--color-amber-50: oklch(.987 .022 95.277);--color-amber-100: oklch(.962 .059 95.617);--color-amber-200: oklch(.924 .12 95.746);--color-amber-300: oklch(.879 .169 91.605);--color-amber-400: oklch(.828 .189 84.429);--color-amber-500: oklch(.769 .188 70.08);--color-amber-600: oklch(.666 .179 58.318);--color-amber-700: oklch(.555 .163 48.998);--color-amber-800: oklch(.473 .137 46.201);--color-amber-900: oklch(.414 .112 45.904);--color-amber-950: oklch(.279 .077 45.635);--color-yellow-50: oklch(.987 .026 102.212);--color-yellow-100: oklch(.973 .071 103.193);--color-yellow-200: oklch(.945 .129 101.54);--color-yellow-300: oklch(.905 .182 98.111);--color-yellow-400: oklch(.852 .199 91.936);--color-yellow-500: oklch(.795 .184 86.047);--color-yellow-600: oklch(.681 .162 75.834);--color-yellow-700: oklch(.554 .135 66.442);--color-yellow-800: oklch(.476 .114 61.907);--color-yellow-900: oklch(.421 .095 57.708);--color-yellow-950: oklch(.286 .066 53.813);--color-lime-50: oklch(.986 .031 120.757);--color-lime-100: oklch(.967 .067 122.328);--color-lime-200: oklch(.938 .127 124.321);--color-lime-300: oklch(.897 .196 126.665);--color-lime-400: oklch(.841 .238 128.85);--color-lime-500: oklch(.768 .233 130.85);--color-lime-600: oklch(.648 .2 131.684);--color-lime-700: oklch(.532 .157 131.589);--color-lime-800: oklch(.453 .124 130.933);--color-lime-900: oklch(.405 .101 131.063);--color-lime-950: oklch(.274 .072 132.109);--color-green-50: oklch(.982 .018 155.826);--color-green-100: oklch(.962 .044 156.743);--color-green-200: oklch(.925 .084 155.995);--color-green-300: oklch(.871 .15 154.449);--color-green-400: oklch(.792 .209 151.711);--color-green-500: oklch(.723 .219 149.579);--color-green-600: oklch(.627 .194 149.214);--color-green-700: oklch(.527 .154 150.069);--color-green-800: oklch(.448 .119 151.328);--color-green-900: oklch(.393 .095 152.535);--color-green-950: oklch(.266 .065 152.934);--color-emerald-50: oklch(.979 .021 166.113);--color-emerald-100: oklch(.95 .052 163.051);--color-emerald-200: oklch(.905 .093 164.15);--color-emerald-300: oklch(.845 .143 164.978);--color-emerald-400: oklch(.765 .177 163.223);--color-emerald-500: oklch(.696 .17 162.48);--color-emerald-600: oklch(.596 .145 163.225);--color-emerald-700: oklch(.508 .118 165.612);--color-emerald-800: oklch(.432 .095 166.913);--color-emerald-900: oklch(.378 .077 168.94);--color-emerald-950: oklch(.262 .051 172.552);--color-teal-50: oklch(.984 .014 180.72);--color-teal-100: oklch(.953 .051 180.801);--color-teal-200: oklch(.91 .096 180.426);--color-teal-300: oklch(.855 .138 181.071);--color-teal-400: oklch(.777 .152 181.912);--color-teal-500: oklch(.704 .14 182.503);--color-teal-600: oklch(.6 .118 184.704);--color-teal-700: oklch(.511 .096 186.391);--color-teal-800: oklch(.437 .078 188.216);--color-teal-900: oklch(.386 .063 188.416);--color-teal-950: oklch(.277 .046 192.524);--color-cyan-50: oklch(.984 .019 200.873);--color-cyan-100: oklch(.956 .045 203.388);--color-cyan-200: oklch(.917 .08 205.041);--color-cyan-300: oklch(.865 .127 207.078);--color-cyan-400: oklch(.789 .154 211.53);--color-cyan-500: oklch(.715 .143 215.221);--color-cyan-600: oklch(.609 .126 221.723);--color-cyan-700: oklch(.52 .105 223.128);--color-cyan-800: oklch(.45 .085 224.283);--color-cyan-900: oklch(.398 .07 227.392);--color-cyan-950: oklch(.302 .056 229.695);--color-sky-50: oklch(.977 .013 236.62);--color-sky-100: oklch(.951 .026 236.824);--color-sky-200: oklch(.901 .058 230.902);--color-sky-300: oklch(.828 .111 230.318);--color-sky-400: oklch(.746 .16 232.661);--color-sky-500: oklch(.685 .169 237.323);--color-sky-600: oklch(.588 .158 241.966);--color-sky-700: oklch(.5 .134 242.749);--color-sky-800: oklch(.443 .11 240.79);--color-sky-900: oklch(.391 .09 240.876);--color-sky-950: oklch(.293 .066 243.157);--color-blue-50: oklch(.97 .014 254.604);--color-blue-100: oklch(.932 .032 255.585);--color-blue-200: oklch(.882 .059 254.128);--color-blue-300: oklch(.809 .105 251.813);--color-blue-400: oklch(.707 .165 254.624);--color-blue-500: oklch(.623 .214 259.815);--color-blue-600: oklch(.546 .245 262.881);--color-blue-700: oklch(.488 .243 264.376);--color-blue-800: oklch(.424 .199 265.638);--color-blue-900: oklch(.379 .146 265.522);--color-blue-950: oklch(.282 .091 267.935);--color-indigo-50: oklch(.962 .018 272.314);--color-indigo-100: oklch(.93 .034 272.788);--color-indigo-200: oklch(.87 .065 274.039);--color-indigo-300: oklch(.785 .115 274.713);--color-indigo-400: oklch(.673 .182 276.935);--color-indigo-500: oklch(.585 .233 277.117);--color-indigo-600: oklch(.511 .262 276.966);--color-indigo-700: oklch(.457 .24 277.023);--color-indigo-800: oklch(.398 .195 277.366);--color-indigo-900: oklch(.359 .144 278.697);--color-indigo-950: oklch(.257 .09 281.288);--color-violet-50: oklch(.969 .016 293.756);--color-violet-100: oklch(.943 .029 294.588);--color-violet-200: oklch(.894 .057 293.283);--color-violet-300: oklch(.811 .111 293.571);--color-violet-400: oklch(.702 .183 293.541);--color-violet-500: oklch(.606 .25 292.717);--color-violet-600: oklch(.541 .281 293.009);--color-violet-700: oklch(.491 .27 292.581);--color-violet-800: oklch(.432 .232 292.759);--color-violet-900: oklch(.38 .189 293.745);--color-violet-950: oklch(.283 .141 291.089);--color-purple-50: oklch(.977 .014 308.299);--color-purple-100: oklch(.946 .033 307.174);--color-purple-200: oklch(.902 .063 306.703);--color-purple-300: oklch(.827 .119 306.383);--color-purple-400: oklch(.714 .203 305.504);--color-purple-500: oklch(.627 .265 303.9);--color-purple-600: oklch(.558 .288 302.321);--color-purple-700: oklch(.496 .265 301.924);--color-purple-800: oklch(.438 .218 303.724);--color-purple-900: oklch(.381 .176 304.987);--color-purple-950: oklch(.291 .149 302.717);--color-fuchsia-50: oklch(.977 .017 320.058);--color-fuchsia-100: oklch(.952 .037 318.852);--color-fuchsia-200: oklch(.903 .076 319.62);--color-fuchsia-300: oklch(.833 .145 321.434);--color-fuchsia-400: oklch(.74 .238 322.16);--color-fuchsia-500: oklch(.667 .295 322.15);--color-fuchsia-600: oklch(.591 .293 322.896);--color-fuchsia-700: oklch(.518 .253 323.949);--color-fuchsia-800: oklch(.452 .211 324.591);--color-fuchsia-900: oklch(.401 .17 325.612);--color-fuchsia-950: oklch(.293 .136 325.661);--color-pink-50: oklch(.971 .014 343.198);--color-pink-100: oklch(.948 .028 342.258);--color-pink-200: oklch(.899 .061 343.231);--color-pink-300: oklch(.823 .12 346.018);--color-pink-400: oklch(.718 .202 349.761);--color-pink-500: oklch(.656 .241 354.308);--color-pink-600: oklch(.592 .249 .584);--color-pink-700: oklch(.525 .223 3.958);--color-pink-800: oklch(.459 .187 3.815);--color-pink-900: oklch(.408 .153 2.432);--color-pink-950: oklch(.284 .109 3.907);--color-rose-50: oklch(.969 .015 12.422);--color-rose-100: oklch(.941 .03 12.58);--color-rose-200: oklch(.892 .058 10.001);--color-rose-300: oklch(.81 .117 11.638);--color-rose-400: oklch(.712 .194 13.428);--color-rose-500: oklch(.645 .246 16.439);--color-rose-600: oklch(.586 .253 17.585);--color-rose-700: oklch(.514 .222 16.935);--color-rose-800: oklch(.455 .188 13.697);--color-rose-900: oklch(.41 .159 10.272);--color-rose-950: oklch(.271 .105 12.094);--color-slate-50: oklch(.984 .003 247.858);--color-slate-100: oklch(.968 .007 247.896);--color-slate-200: oklch(.929 .013 255.508);--color-slate-300: oklch(.869 .022 252.894);--color-slate-400: oklch(.704 .04 256.788);--color-slate-500: oklch(.554 .046 257.417);--color-slate-600: oklch(.446 .043 257.281);--color-slate-700: oklch(.372 .044 257.287);--color-slate-800: oklch(.279 .041 260.031);--color-slate-900: oklch(.208 .042 265.755);--color-slate-950: oklch(.129 .042 264.695);--color-gray-50: oklch(.985 .002 247.839);--color-gray-100: oklch(.967 .003 264.542);--color-gray-200: oklch(.928 .006 264.531);--color-gray-300: oklch(.872 .01 258.338);--color-gray-400: oklch(.707 .022 261.325);--color-gray-500: oklch(.551 .027 264.364);--color-gray-600: oklch(.446 .03 256.802);--color-gray-700: oklch(.373 .034 259.733);--color-gray-800: oklch(.278 .033 256.848);--color-gray-900: oklch(.21 .034 264.665);--color-gray-950: oklch(.13 .028 261.692);--color-zinc-50: oklch(.985 0 0);--color-zinc-100: oklch(.967 .001 286.375);--color-zinc-200: oklch(.92 .004 286.32);--color-zinc-300: oklch(.871 .006 286.286);--color-zinc-400: oklch(.705 .015 286.067);--color-zinc-500: oklch(.552 .016 285.938);--color-zinc-600: oklch(.442 .017 285.786);--color-zinc-700: oklch(.37 .013 285.805);--color-zinc-800: oklch(.274 .006 286.033);--color-zinc-900: oklch(.21 .006 285.885);--color-zinc-950: oklch(.141 .005 285.823);--color-neutral-50: oklch(.985 0 0);--color-neutral-100: oklch(.97 0 0);--color-neutral-200: oklch(.922 0 0);--color-neutral-300: oklch(.87 0 0);--color-neutral-400: oklch(.708 0 0);--color-neutral-500: oklch(.556 0 0);--color-neutral-600: oklch(.439 0 0);--color-neutral-700: oklch(.371 0 0);--color-neutral-800: oklch(.269 0 0);--color-neutral-900: oklch(.205 0 0);--color-neutral-950: oklch(.145 0 0);--color-stone-50: oklch(.985 .001 106.423);--color-stone-100: oklch(.97 .001 106.424);--color-stone-200: oklch(.923 .003 48.717);--color-stone-300: oklch(.869 .005 56.366);--color-stone-400: oklch(.709 .01 56.259);--color-stone-500: oklch(.553 .013 58.071);--color-stone-600: oklch(.444 .011 73.639);--color-stone-700: oklch(.374 .01 67.558);--color-stone-800: oklch(.268 .007 34.298);--color-stone-900: oklch(.216 .006 56.043);--color-stone-950: oklch(.147 .004 49.25);--color-black: #000;--color-white: #fff;--spacing: .25rem;--breakpoint-sm: 40rem;--breakpoint-md: 48rem;--breakpoint-lg: 64rem;--breakpoint-xl: 80rem;--breakpoint-2xl: 96rem;--container-3xs: 16rem;--container-2xs: 18rem;--container-xs: 20rem;--container-sm: 24rem;--container-md: 28rem;--container-lg: 32rem;--container-xl: 36rem;--container-2xl: 42rem;--container-3xl: 48rem;--container-4xl: 56rem;--container-5xl: 64rem;--container-6xl: 72rem;--container-7xl: 80rem;--text-xs: .75rem;--text-xs--line-height: calc(1 / .75);--text-sm: .875rem;--text-sm--line-height: calc(1.25 / .875);--text-base: 1rem;--text-base--line-height: 1.5 ;--text-lg: 1.125rem;--text-lg--line-height: calc(1.75 / 1.125);--text-xl: 1.25rem;--text-xl--line-height: calc(1.75 / 1.25);--text-2xl: 1.5rem;--text-2xl--line-height: calc(2 / 1.5);--text-3xl: 1.875rem;--text-3xl--line-height: 1.2 ;--text-4xl: 2.25rem;--text-4xl--line-height: calc(2.5 / 2.25);--text-5xl: 3rem;--text-5xl--line-height: 1;--text-6xl: 3.75rem;--text-6xl--line-height: 1;--text-7xl: 4.5rem;--text-7xl--line-height: 1;--text-8xl: 6rem;--text-8xl--line-height: 1;--text-9xl: 8rem;--text-9xl--line-height: 1;--font-weight-thin: 100;--font-weight-extralight: 200;--font-weight-light: 300;--font-weight-normal: 400;--font-weight-medium: 500;--font-weight-semibold: 600;--font-weight-bold: 700;--font-weight-extrabold: 800;--font-weight-black: 900;--tracking-tighter: -.05em;--tracking-tight: -.025em;--tracking-normal: 0em;--tracking-wide: .025em;--tracking-wider: .05em;--tracking-widest: .1em;--leading-tight: 1.25;--leading-snug: 1.375;--leading-normal: 1.5;--leading-relaxed: 1.625;--leading-loose: 2;--radius-xs: .125rem;--radius-sm: .25rem;--radius-md: .375rem;--radius-lg: .5rem;--radius-xl: .75rem;--radius-2xl: 1rem;--radius-3xl: 1.5rem;--radius-4xl: 2rem;--shadow-smxs: 0 1px rgb(0 0 0 / .05);--shadow-xs: 0 1px 2px 0 rgb(0 0 0 / .05);--shadow-sm: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--shadow-md: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--shadow-lg: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--shadow-xl: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);--shadow-smxl: 0 25px 50px -12px rgb(0 0 0 / .25);--inset-shadow-smxs: inset 0 1px rgb(0 0 0 / .05);--inset-shadow-xs: inset 0 1px 1px rgb(0 0 0 / .05);--inset-shadow-sm: inset 0 2px 4px rgb(0 0 0 / .05);--drop-shadow-xs: 0 1px 1px rgb(0 0 0 / .05);--drop-shadow-sm: 0 1px 2px rgb(0 0 0 / .15);--drop-shadow-md: 0 3px 3px rgb(0 0 0 / .12);--drop-shadow-lg: 0 4px 4px rgb(0 0 0 / .15);--drop-shadow-xl: 0 9px 7px rgb(0 0 0 / .1);--drop-shadow-smxl: 0 25px 25px rgb(0 0 0 / .15);--blur-xs: 4px;--blur-sm: 8px;--blur-md: 12px;--blur-lg: 16px;--blur-xl: 24px;--blur-2xl: 40px;--blur-3xl: 64px;--perspective-dramatic: 100px;--perspective-near: 300px;--perspective-normal: 500px;--perspective-midrange: 800px;--perspective-distant: 1200px;--aspect-video: 16 / 9;--ease-in: cubic-bezier(.4, 0, 1, 1);--ease-out: cubic-bezier(0, 0, .2, 1);--ease-in-out: cubic-bezier(.4, 0, .2, 1);--animate-spin: spin 1s linear infinite;--animate-ping: ping 1s cubic-bezier(0, 0, .2, 1) infinite;--animate-pulse: pulse 2s cubic-bezier(.4, 0, .6, 1) infinite;--animate-bounce: bounce 1s infinite;@keyframes spin{to{transform:rotate(360deg)}}@keyframes ping{75%,to{transform:scale(2);opacity:0}}@keyframes pulse{50%{opacity:.5}}@keyframes bounce{0%,to{transform:translateY(-25%);animation-timing-function:cubic-bezier(.8,0,1,1)}50%{transform:none;animation-timing-function:cubic-bezier(0,0,.2,1)}}--md-sys-color-scrim: var(--schmancy-sys-color-scrim);--md-sys-color-outline: var(--schmancy-sys-color-outline);--md-sys-color-outlineVariant: var(--schmancy-sys-color-outlineVariant);--md-sys-color-surface-default: var(--schmancy-sys-color-surface-default);--md-sys-color-surface-dim: var(--schmancy-sys-color-surface-dim);--md-sys-color-surface-bright: var(--schmancy-sys-color-surface-bright);--md-sys-color-surface-container: var(--schmancy-sys-color-surface-container);--md-sys-color-surface-low: var(--schmancy-sys-color-surface-low);--md-sys-color-surface-high: var(--schmancy-sys-color-surface-high);--md-sys-color-surface-highest: var(--schmancy-sys-color-surface-highest);--md-sys-color-surface-lowest: var(--schmancy-sys-color-surface-lowest);--md-sys-color-surface-on: var(--schmancy-sys-color-surface-on);--md-sys-color-on-surface-variant: var(--schmancy-sys-color-surface-onVariant);--md-sys-color-on-secondary-container: var(--schmancy-sys-color-secondary-onContainer);--md-sys-color-primary-default: var(--schmancy-sys-color-primary-default);--md-sys-color-primary-on: var(--schmancy-sys-color-primary-on);--md-sys-color-primary-container: var(--schmancy-sys-color-primary-container);--md-sys-color-primary-onContainer: var(--schmancy-sys-color-primary-onContainer);--md-sys-color-secondary-default: var(--schmancy-sys-color-secondary-default);--md-sys-color-secondary-on: var(--schmancy-sys-color-secondary-on);--md-sys-color-secondary-container: var(--schmancy-sys-color-secondary-container);--md-sys-color-secondary-onContainer: var(--schmancy-sys-color-secondary-onContainer);--md-sys-color-tertiary-default: var(--schmancy-sys-color-tertiary-default);--md-sys-color-tertiary-on: var(--schmancy-sys-color-tertiary-on);--md-sys-color-tertiary-container: var(--schmancy-sys-color-tertiary-container);--md-sys-color-tertiary-onContainer: var(--schmancy-sys-color-tertiary-onContainer);--md-sys-color-error-default: var(--schmancy-sys-color-error-default);--md-sys-color-error-on: var(--schmancy-sys-color-error-on);--md-sys-color-error-container: var(--schmancy-sys-color-error-container);--md-sys-color-error-onContainer: var(--schmancy-sys-color-error-onContainer);--md-sys-color-success-default: var(--schmancy-sys-color-success-default);--md-sys-color-success-on: var(--schmancy-sys-color-success-on);--md-sys-color-success-container: var(--schmancy-sys-color-success-container);--md-sys-color-success-onContainer: var(--schmancy-sys-color-success-onContainer);--md-sys-elevation-0: var(--schmancy-sys-elevation-0);--md-sys-elevation-1: var(--schmancy-sys-elevation-1);--md-sys-elevation-2: var(--schmancy-sys-elevation-2);--md-sys-elevation-3: var(--schmancy-sys-elevation-3);--md-sys-elevation-4: var(--schmancy-sys-elevation-4);--md-sys-elevation-5: var(--schmancy-sys-elevation-5);--md-sys-outline-1: var(--schmancy-sys-outline-1)}'), ir = window.matchMedia("(prefers-color-scheme: dark)"), Nr = new Ir((r) => {
|
|
682
682
|
const e = (o) => {
|
|
683
683
|
const a = o.matches ? "dark" : "light";
|
|
684
684
|
r.next(a);
|
|
@@ -687,12 +687,12 @@ const zr = Dr(':host,:root{--md-ref-typeface-brand: "Josefin Sans", sans-serif;-
|
|
|
687
687
|
const t = ir.matches ? "dark" : "light";
|
|
688
688
|
return r.next(t), () => ir.removeEventListener("change", e);
|
|
689
689
|
});
|
|
690
|
-
let
|
|
690
|
+
let $ = class extends Mr(Br) {
|
|
691
691
|
constructor() {
|
|
692
|
-
super(...arguments), this.
|
|
692
|
+
super(...arguments), this.scheme = "light", this.root = !1, this.theme = {};
|
|
693
693
|
}
|
|
694
694
|
connectedCallback() {
|
|
695
|
-
super.connectedCallback(), kr(this.scheme).pipe(Fr((r) => r === "auto" ? Nr : kr(r))).subscribe((r) => {
|
|
695
|
+
super.connectedCallback(), this.color || (this.color = this.generateRandomColor()), kr(this.scheme).pipe(Fr((r) => r === "auto" ? Nr : kr(r))).subscribe((r) => {
|
|
696
696
|
this.scheme = r, this.registerTheme();
|
|
697
697
|
});
|
|
698
698
|
}
|
|
@@ -703,7 +703,7 @@ let Q = class extends Mr(zr) {
|
|
|
703
703
|
let c = 0, s = 0, i = 0;
|
|
704
704
|
return t ? (c = Y(e.slice(0, 1).repeat(2)), s = Y(e.slice(1, 2).repeat(2)), i = Y(e.slice(2, 3).repeat(2))) : o ? (c = Y(e.slice(0, 2)), s = Y(e.slice(2, 4)), i = Y(e.slice(4, 6))) : a && (c = Y(e.slice(2, 4)), s = Y(e.slice(4, 6)), i = Y(e.slice(6, 8))), (-16777216 | (255 & c) << 16 | (255 & s) << 8 | 255 & i) >>> 0;
|
|
705
705
|
}(this.color)), this.scheme === "dark");
|
|
706
|
-
this.registerThemeValues("schmancy", "", r);
|
|
706
|
+
r = { ...r, ...this.theme }, this.registerThemeValues("schmancy", "", r);
|
|
707
707
|
}
|
|
708
708
|
registerThemeValues(r = "schmancy", e, t) {
|
|
709
709
|
return typeof t == "object" ? Object.keys(t).map((o) => this.registerThemeValues(r, e + (e ? "-" : "") + o, t[o])).join(`
|
|
@@ -716,10 +716,10 @@ let Q = class extends Mr(zr) {
|
|
|
716
716
|
return Sr`<slot></slot>`;
|
|
717
717
|
}
|
|
718
718
|
};
|
|
719
|
-
|
|
719
|
+
Z([cr({ type: String, reflect: !0 })], $.prototype, "color", 2), Z([cr({ type: String })], $.prototype, "scheme", 2), Z([cr({ type: Boolean })], $.prototype, "root", 2), Z([cr({ type: Object })], $.prototype, "theme", 2), $ = Z([Tr("schmancy-theme")], $);
|
|
720
720
|
export {
|
|
721
|
-
|
|
721
|
+
$ as S,
|
|
722
722
|
Rr as f,
|
|
723
|
-
|
|
723
|
+
Br as t
|
|
724
724
|
};
|
|
725
|
-
//# sourceMappingURL=theme.component-
|
|
725
|
+
//# sourceMappingURL=theme.component-iFFaMUIB.js.map
|