@mhmo91/schmancy 0.4.90 → 0.4.92
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-xlSXYbRY.cjs → animated-text-CM1zqBki.cjs} +2 -2
- package/dist/{animated-text-xlSXYbRY.cjs.map → animated-text-CM1zqBki.cjs.map} +1 -1
- package/dist/{animated-text-CE25uxIq.js → animated-text-CUFCt7Zg.js} +3 -3
- package/dist/{animated-text-CE25uxIq.js.map → animated-text-CUFCt7Zg.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.js +1 -1
- package/dist/{autocomplete-BrcVARei.js → autocomplete-09_SfjsP.js} +3 -3
- package/dist/{autocomplete-BrcVARei.js.map → autocomplete-09_SfjsP.js.map} +1 -1
- package/dist/{autocomplete-BJKuzyUg.cjs → autocomplete-CFREt7Vm.cjs} +2 -2
- package/dist/{autocomplete-BJKuzyUg.cjs.map → autocomplete-CFREt7Vm.cjs.map} +1 -1
- package/dist/autocomplete.cjs +1 -1
- package/dist/autocomplete.js +1 -1
- package/dist/{avatar-enEZduLr.cjs → avatar-C8PC_n9i.cjs} +2 -2
- package/dist/{avatar-enEZduLr.cjs.map → avatar-C8PC_n9i.cjs.map} +1 -1
- package/dist/{avatar-BNmDgcCL.js → avatar-CKp3Ukk4.js} +53 -52
- package/dist/{avatar-BNmDgcCL.js.map → avatar-CKp3Ukk4.js.map} +1 -1
- package/dist/badge.cjs +1 -1
- package/dist/badge.js +1 -1
- package/dist/{boat-DjkboEvz.js → boat-DDJK4CS4.js} +2 -2
- package/dist/{boat-DjkboEvz.js.map → boat-DDJK4CS4.js.map} +1 -1
- package/dist/{boat-pedGlD9G.cjs → boat-Ddi4PegB.cjs} +2 -2
- package/dist/{boat-pedGlD9G.cjs.map → boat-Ddi4PegB.cjs.map} +1 -1
- package/dist/boat.cjs +1 -1
- package/dist/boat.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-tC2o2KPO.js → checkbox-BU1x0W8U.js} +2 -2
- package/dist/{checkbox-tC2o2KPO.js.map → checkbox-BU1x0W8U.js.map} +1 -1
- package/dist/{checkbox-BFsHGpGO.cjs → checkbox-TclkD2h5.cjs} +2 -2
- package/dist/{checkbox-BFsHGpGO.cjs.map → checkbox-TclkD2h5.cjs.map} +1 -1
- package/dist/checkbox.cjs +1 -1
- package/dist/checkbox.js +1 -1
- package/dist/{chips-CaQfMLUC.js → chips-Bxsoq1vm.js} +3 -3
- package/dist/{chips-CaQfMLUC.js.map → chips-Bxsoq1vm.js.map} +1 -1
- package/dist/{chips-BUDd-Se_.cjs → chips-DQBHJNSu.cjs} +2 -2
- package/dist/{chips-BUDd-Se_.cjs.map → chips-DQBHJNSu.cjs.map} +1 -1
- package/dist/chips.cjs +1 -1
- package/dist/chips.js +1 -1
- package/dist/code-highlight.cjs +1 -1
- package/dist/code-highlight.js +1 -1
- package/dist/{code-preview-DpoxEUM7.cjs → code-preview-C9Imx-RX.cjs} +2 -2
- package/dist/{code-preview-DpoxEUM7.cjs.map → code-preview-C9Imx-RX.cjs.map} +1 -1
- package/dist/{code-preview-dFXCzXKx.js → code-preview-DnUM87ZB.js} +2 -2
- package/dist/{code-preview-dFXCzXKx.js.map → code-preview-DnUM87ZB.js.map} +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-BMlo50YP.cjs → date-range-D1A1Xrmw.cjs} +2 -2
- package/dist/{date-range-BMlo50YP.cjs.map → date-range-D1A1Xrmw.cjs.map} +1 -1
- package/dist/{date-range-DDr3pL_X.js → date-range-DF7MnRi3.js} +3 -3
- package/dist/{date-range-DDr3pL_X.js.map → date-range-DF7MnRi3.js.map} +1 -1
- package/dist/{date-range-inline-BX0qnRUj.js → date-range-inline-Ca4DPfeR.js} +3 -3
- package/dist/{date-range-inline-BX0qnRUj.js.map → date-range-inline-Ca4DPfeR.js.map} +1 -1
- package/dist/{date-range-inline-FIDbZiar.cjs → date-range-inline-CwLJLOe1.cjs} +2 -2
- package/dist/{date-range-inline-FIDbZiar.cjs.map → date-range-inline-CwLJLOe1.cjs.map} +1 -1
- package/dist/date-range-inline.cjs +1 -1
- package/dist/date-range-inline.js +1 -1
- package/dist/date-range.cjs +1 -1
- package/dist/date-range.js +1 -1
- package/dist/{delay-xtpIck-Z.cjs → delay-DQKt6VVn.cjs} +2 -2
- package/dist/{delay-xtpIck-Z.cjs.map → delay-DQKt6VVn.cjs.map} +1 -1
- package/dist/{delay-CGWe8yFV.js → delay-hXu_bFxW.js} +2 -2
- package/dist/{delay-CGWe8yFV.js.map → delay-hXu_bFxW.js.map} +1 -1
- package/dist/delay.cjs +1 -1
- package/dist/delay.js +1 -1
- package/dist/{details-DcxMoj1H.js → details-Ci0XXz0g.js} +2 -2
- package/dist/{details-DcxMoj1H.js.map → details-Ci0XXz0g.js.map} +1 -1
- package/dist/{details-4QmeW0uP.cjs → details-Ft0ivj0F.cjs} +2 -2
- package/dist/{details-4QmeW0uP.cjs.map → details-Ft0ivj0F.cjs.map} +1 -1
- package/dist/details.cjs +1 -1
- package/dist/details.js +1 -1
- package/dist/{dialog-content-CusT_84B.cjs → dialog-content-7tFlrTFn.cjs} +2 -2
- package/dist/{dialog-content-CusT_84B.cjs.map → dialog-content-7tFlrTFn.cjs.map} +1 -1
- package/dist/{dialog-content-BfaVybIp.js → dialog-content-DXnLwUtv.js} +3 -3
- package/dist/{dialog-content-BfaVybIp.js.map → dialog-content-DXnLwUtv.js.map} +1 -1
- package/dist/dialog.cjs +1 -1
- package/dist/dialog.js +1 -1
- package/dist/directives.cjs +1 -1
- package/dist/directives.js +6 -4
- package/dist/directives.js.map +1 -1
- package/dist/{divider-BHA8zjDr.js → divider-BG9uDpUp.js} +3 -3
- package/dist/{divider-BHA8zjDr.js.map → divider-BG9uDpUp.js.map} +1 -1
- package/dist/{divider-C-kmaW3d.cjs → divider-CWnAg2p-.cjs} +2 -2
- package/dist/{divider-C-kmaW3d.cjs.map → divider-CWnAg2p-.cjs.map} +1 -1
- package/dist/divider.cjs +1 -1
- package/dist/divider.js +1 -1
- package/dist/{dropdown-content-DA6wal4A.js → dropdown-content-BCk2WbXc.js} +3 -3
- package/dist/{dropdown-content-DA6wal4A.js.map → dropdown-content-BCk2WbXc.js.map} +1 -1
- package/dist/{dropdown-content-CDAX41cX.cjs → dropdown-content-CXxTjA0j.cjs} +2 -2
- package/dist/{dropdown-content-CDAX41cX.cjs.map → dropdown-content-CXxTjA0j.cjs.map} +1 -1
- package/dist/dropdown.cjs +1 -1
- package/dist/dropdown.js +1 -1
- package/dist/{email-recipients-BFhkzOzI.js → email-recipients-BT3xPoBN.js} +5 -5
- package/dist/{email-recipients-BFhkzOzI.js.map → email-recipients-BT3xPoBN.js.map} +1 -1
- package/dist/{email-recipients-OBogh7Uo.cjs → email-recipients-BWIYYwA8.cjs} +2 -2
- package/dist/{email-recipients-OBogh7Uo.cjs.map → email-recipients-BWIYYwA8.cjs.map} +1 -1
- package/dist/extra.cjs +1 -1
- package/dist/extra.js +1 -1
- package/dist/{flex-C2ER0I8V.js → flex-DJEZ1DdQ.js} +2 -2
- package/dist/{flex-C2ER0I8V.js.map → flex-DJEZ1DdQ.js.map} +1 -1
- package/dist/{flex-B7tsIv60.cjs → flex-DflXFgVs.cjs} +2 -2
- package/dist/{flex-B7tsIv60.cjs.map → flex-DflXFgVs.cjs.map} +1 -1
- package/dist/{form-Bkg6Q_f5.js → form-7OiDtJT4.js} +2 -2
- package/dist/{form-Bkg6Q_f5.js.map → form-7OiDtJT4.js.map} +1 -1
- package/dist/{form-yJc1T0GI.cjs → form-nHwPpyhJ.cjs} +2 -2
- package/dist/{form-yJc1T0GI.cjs.map → form-nHwPpyhJ.cjs.map} +1 -1
- package/dist/form.cjs +1 -1
- package/dist/form.js +1 -1
- package/dist/{formField.mixin-as1q6J0T.js → formField.mixin-3i7VOHMH.js} +2 -2
- package/dist/{formField.mixin-as1q6J0T.js.map → formField.mixin-3i7VOHMH.js.map} +1 -1
- package/dist/{formField.mixin-Bp77n7z6.cjs → formField.mixin-B1vJlhmI.cjs} +2 -2
- package/dist/{formField.mixin-Bp77n7z6.cjs.map → formField.mixin-B1vJlhmI.cjs.map} +1 -1
- package/dist/{icon-CLzd6U7v.js → icon-BMhWh8Ib.js} +2 -2
- package/dist/{icon-CLzd6U7v.js.map → icon-BMhWh8Ib.js.map} +1 -1
- package/dist/{icon-BYd5Gta6.cjs → icon-TPLdDnCq.cjs} +2 -2
- package/dist/{icon-BYd5Gta6.cjs.map → icon-TPLdDnCq.cjs.map} +1 -1
- package/dist/{icon-button-DNg0mA1P.cjs → icon-button-CLDy5tUS.cjs} +2 -2
- package/dist/{icon-button-DNg0mA1P.cjs.map → icon-button-CLDy5tUS.cjs.map} +1 -1
- package/dist/{icon-button-U9gN6pT3.js → icon-button-DOZuY9x8.js} +3 -3
- package/dist/{icon-button-U9gN6pT3.js.map → icon-button-DOZuY9x8.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 +160 -158
- package/dist/index.js.map +1 -1
- package/dist/{input-DYp4wudB.cjs → input-CqLneJhz.cjs} +2 -2
- package/dist/{input-DYp4wudB.cjs.map → input-CqLneJhz.cjs.map} +1 -1
- package/dist/{input-CX1jyK-P.js → input-Dre3bMuF.js} +3 -3
- package/dist/{input-CX1jyK-P.js.map → input-Dre3bMuF.js.map} +1 -1
- 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-BMR8QRo0.js → list-2mBZmMCP.js} +2 -2
- package/dist/{list-BMR8QRo0.js.map → list-2mBZmMCP.js.map} +1 -1
- package/dist/{list-DZPMOfrH.cjs → list-DZ43cTnR.cjs} +2 -2
- package/dist/{list-DZPMOfrH.cjs.map → list-DZ43cTnR.cjs.map} +1 -1
- package/dist/list.cjs +1 -1
- package/dist/list.js +1 -1
- package/dist/{litElement.mixin-C9e4ffot.js → litElement.mixin-Bj0zv3lK.js} +2 -2
- package/dist/{litElement.mixin-C9e4ffot.js.map → litElement.mixin-Bj0zv3lK.js.map} +1 -1
- package/dist/{litElement.mixin-De6F4bUs.cjs → litElement.mixin-CjRG_9tZ.cjs} +2 -2
- package/dist/{litElement.mixin-De6F4bUs.cjs.map → litElement.mixin-CjRG_9tZ.cjs.map} +1 -1
- package/dist/mailbox.cjs +1 -1
- package/dist/mailbox.js +1 -1
- package/dist/{map-ORYWFuxx.cjs → map-D69SEPpf.cjs} +2 -2
- package/dist/{map-ORYWFuxx.cjs.map → map-D69SEPpf.cjs.map} +1 -1
- package/dist/{map-E2MqAGzQ.js → map-sSS6ACVH.js} +2 -2
- package/dist/{map-E2MqAGzQ.js.map → map-sSS6ACVH.js.map} +1 -1
- package/dist/map.cjs +1 -1
- package/dist/map.js +1 -1
- package/dist/{media-CRKWL-3S.js → media-B-VIbSH_.js} +2 -2
- package/dist/{media-CRKWL-3S.js.map → media-B-VIbSH_.js.map} +1 -1
- package/dist/{media-BmSmYaBR.cjs → media-Cew1Mxkj.cjs} +2 -2
- package/dist/{media-BmSmYaBR.cjs.map → media-Cew1Mxkj.cjs.map} +1 -1
- package/dist/{menu-DJuRr_aL.cjs → menu-BOeTdvk_.cjs} +2 -2
- package/dist/{menu-DJuRr_aL.cjs.map → menu-BOeTdvk_.cjs.map} +1 -1
- package/dist/{menu-Cm1jwIsB.js → menu-CATzB9tA.js} +3 -3
- package/dist/{menu-Cm1jwIsB.js.map → menu-CATzB9tA.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-service-CiE9ITno.js → notification-service-DrwmIgoR.js} +7 -6
- package/dist/{notification-service-CiE9ITno.js.map → notification-service-DrwmIgoR.js.map} +1 -1
- package/dist/{notification-service-CTlTTCbP.cjs → notification-service-LnNx5EDh.cjs} +2 -2
- package/dist/{notification-service-CTlTTCbP.cjs.map → notification-service-LnNx5EDh.cjs.map} +1 -1
- package/dist/notification.cjs +1 -1
- package/dist/notification.js +2 -2
- package/dist/{notify-DA2N7Zvr.js → notify-C41nYdUf.js} +2 -2
- package/dist/{notify-DA2N7Zvr.js.map → notify-C41nYdUf.js.map} +1 -1
- package/dist/{notify-Da9oU7Jf.cjs → notify-DQMcgjgZ.cjs} +2 -2
- package/dist/{notify-Da9oU7Jf.cjs.map → notify-DQMcgjgZ.cjs.map} +1 -1
- package/dist/{option-D8BWjBZV.cjs → option-BNKGfKgL.cjs} +2 -2
- package/dist/{option-D8BWjBZV.cjs.map → option-BNKGfKgL.cjs.map} +1 -1
- package/dist/{option-svgZq3Hw.js → option-DbBr0StZ.js} +2 -2
- package/dist/{option-svgZq3Hw.js.map → option-DbBr0StZ.js.map} +1 -1
- package/dist/option.cjs +1 -1
- package/dist/option.js +1 -1
- package/dist/{payment-card-form-18_ZqMt5.cjs → payment-card-form-ByWbYHhd.cjs} +2 -2
- package/dist/{payment-card-form-18_ZqMt5.cjs.map → payment-card-form-ByWbYHhd.cjs.map} +1 -1
- package/dist/{payment-card-form-BU57CRS3.js → payment-card-form-_jHodv7G.js} +3 -3
- package/dist/{payment-card-form-BU57CRS3.js.map → payment-card-form-_jHodv7G.js.map} +1 -1
- package/dist/{progress-B3-p0pjn.cjs → progress-BY7K7Etz.cjs} +2 -2
- package/dist/{progress-B3-p0pjn.cjs.map → progress-BY7K7Etz.cjs.map} +1 -1
- package/dist/{progress-y5p1ltND.js → progress-Cix7Mu1p.js} +2 -2
- package/dist/{progress-y5p1ltND.js.map → progress-Cix7Mu1p.js.map} +1 -1
- package/dist/progress.cjs +1 -1
- package/dist/progress.js +1 -1
- package/dist/{radio-button-DINgMpZS.js → radio-button-BNmjg-i9.js} +3 -3
- package/dist/{radio-button-DINgMpZS.js.map → radio-button-BNmjg-i9.js.map} +1 -1
- package/dist/{radio-button-Yzy01Adt.cjs → radio-button-CYq6qTSb.cjs} +2 -2
- package/dist/{radio-button-Yzy01Adt.cjs.map → radio-button-CYq6qTSb.cjs.map} +1 -1
- package/dist/radio-group.cjs +1 -1
- package/dist/radio-group.js +1 -1
- package/dist/route.component-CzCd2fMa.cjs +12 -0
- package/dist/route.component-CzCd2fMa.cjs.map +1 -0
- package/dist/route.component-Q3rCkryr.js +321 -0
- package/dist/route.component-Q3rCkryr.js.map +1 -0
- package/dist/{schmancy-steps-container-Dhq8V1Jy.js → schmancy-steps-container-BUE4fG8_.js} +2 -2
- package/dist/{schmancy-steps-container-Dhq8V1Jy.js.map → schmancy-steps-container-BUE4fG8_.js.map} +1 -1
- package/dist/{schmancy-steps-container-DLHL9mKo.cjs → schmancy-steps-container-D69TfC2I.cjs} +2 -2
- package/dist/{schmancy-steps-container-DLHL9mKo.cjs.map → schmancy-steps-container-D69TfC2I.cjs.map} +1 -1
- package/dist/{select-JFsojOGZ.cjs → select-B-yc3JB7.cjs} +2 -2
- package/dist/{select-JFsojOGZ.cjs.map → select-B-yc3JB7.cjs.map} +1 -1
- package/dist/{select-DXcdeHjY.js → select-Bspcrc-h.js} +4 -3
- package/dist/{select-DXcdeHjY.js.map → select-Bspcrc-h.js.map} +1 -1
- package/dist/select.cjs +1 -1
- package/dist/select.js +1 -1
- package/dist/{sheet-DFY331sa.js → sheet-BxOGSGJ0.js} +3 -3
- package/dist/{sheet-DFY331sa.js.map → sheet-BxOGSGJ0.js.map} +1 -1
- package/dist/{sheet-BJ_P15Uh.cjs → sheet-CuE9tUeo.cjs} +2 -2
- package/dist/{sheet-BJ_P15Uh.cjs.map → sheet-CuE9tUeo.cjs.map} +1 -1
- package/dist/sheet.cjs +1 -1
- package/dist/sheet.js +1 -1
- package/dist/{slider-6VTsJJth.js → slider-ChQVbnYO.js} +3 -3
- package/dist/{slider-6VTsJJth.js.map → slider-ChQVbnYO.js.map} +1 -1
- package/dist/{slider-C8YC6MCP.cjs → slider-DeKwZONn.cjs} +2 -2
- package/dist/{slider-C8YC6MCP.cjs.map → slider-DeKwZONn.cjs.map} +1 -1
- package/dist/slider.cjs +1 -1
- package/dist/slider.js +1 -1
- package/dist/{spinner-BCCCQMeS.cjs → spinner-C5tMQys5.cjs} +2 -2
- package/dist/{spinner-BCCCQMeS.cjs.map → spinner-C5tMQys5.cjs.map} +1 -1
- package/dist/{spinner-B4DEcQwc.js → spinner-y1dPMTQp.js} +2 -2
- package/dist/{spinner-B4DEcQwc.js.map → spinner-y1dPMTQp.js.map} +1 -1
- package/dist/steps.cjs +1 -1
- package/dist/steps.js +1 -1
- package/dist/{surface-CrfGHJEt.cjs → surface-4MzhEaru.cjs} +2 -2
- package/dist/{surface-CrfGHJEt.cjs.map → surface-4MzhEaru.cjs.map} +1 -1
- package/dist/{surface-B9w3VOkr.js → surface-BYmdH754.js} +2 -2
- package/dist/{surface-B9w3VOkr.js.map → surface-BYmdH754.js.map} +1 -1
- package/dist/surface.cjs +1 -1
- package/dist/surface.js +1 -1
- package/dist/{table-ClOXrs2P.cjs → table-J5EVvpXy.cjs} +2 -2
- package/dist/{table-ClOXrs2P.cjs.map → table-J5EVvpXy.cjs.map} +1 -1
- package/dist/{table-pJ6NI0tm.js → table-YBHaxQzQ.js} +2 -2
- package/dist/{table-pJ6NI0tm.js.map → table-YBHaxQzQ.js.map} +1 -1
- package/dist/table.cjs +1 -1
- package/dist/table.js +1 -1
- package/dist/{tabs-compatibility-BgtRf8jN.cjs → tabs-compatibility-JMTsaND_.cjs} +2 -2
- package/dist/{tabs-compatibility-BgtRf8jN.cjs.map → tabs-compatibility-JMTsaND_.cjs.map} +1 -1
- package/dist/{tabs-compatibility-Cv0h7xqj.js → tabs-compatibility-ezB19WI8.js} +2 -2
- package/dist/{tabs-compatibility-Cv0h7xqj.js.map → tabs-compatibility-ezB19WI8.js.map} +1 -1
- package/dist/tabs.cjs +1 -1
- package/dist/tabs.js +1 -1
- package/dist/tailwind.mixin-B-VcpMHn.cjs +2 -0
- package/dist/{tailwind.mixin-tQzjJi1o.cjs.map → tailwind.mixin-B-VcpMHn.cjs.map} +1 -1
- package/dist/tailwind.mixin-Cwbr8x57.js +43 -0
- package/dist/{tailwind.mixin-CUBQFucF.js.map → tailwind.mixin-Cwbr8x57.js.map} +1 -1
- package/dist/teleport.cjs +1 -1
- package/dist/teleport.js +1 -1
- package/dist/textarea-B3nWhCra.cjs +44 -0
- package/dist/{textarea-DsfpxxrR.cjs.map → textarea-B3nWhCra.cjs.map} +1 -1
- package/dist/{textarea-VzUmYJ8k.js → textarea-yn7IFbnu.js} +3 -2
- package/dist/{textarea-VzUmYJ8k.js.map → textarea-yn7IFbnu.js.map} +1 -1
- package/dist/textarea.cjs +1 -1
- package/dist/textarea.js +1 -1
- package/dist/{theme-button-Dv0mFIy1.js → theme-button-CGArg1pu.js} +2 -2
- package/dist/{theme-button-Dv0mFIy1.js.map → theme-button-CGArg1pu.js.map} +1 -1
- package/dist/{theme-button-Cc8uLdST.cjs → theme-button-I_c1ZWWV.cjs} +2 -2
- package/dist/{theme-button-Cc8uLdST.cjs.map → theme-button-I_c1ZWWV.cjs.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-BJkqP8OJ.js → theme.component-B5zp-4OG.js} +140 -140
- package/dist/{theme.component-BJkqP8OJ.js.map → theme.component-B5zp-4OG.js.map} +1 -1
- package/dist/{theme.component-CBQMtIWn.cjs → theme.component-CdSDaeU0.cjs} +3 -3
- package/dist/{theme.component-CBQMtIWn.cjs.map → theme.component-CdSDaeU0.cjs.map} +1 -1
- package/dist/theme.js +1 -1
- package/dist/{timezone-s8dLt1Tp.js → timezone-CepyC8kw.js} +3 -3
- package/dist/{timezone-s8dLt1Tp.js.map → timezone-CepyC8kw.js.map} +1 -1
- package/dist/{timezone-Cidrq38O.cjs → timezone-DRBf5biI.cjs} +2 -2
- package/dist/{timezone-Cidrq38O.cjs.map → timezone-DRBf5biI.cjs.map} +1 -1
- package/dist/{tooltip-CbKaR_7c.js → tooltip-C6HlAqs2.js} +2 -2
- package/dist/{tooltip-CbKaR_7c.js.map → tooltip-C6HlAqs2.js.map} +1 -1
- package/dist/{tooltip-CKhGU64R.cjs → tooltip-CCX8PidC.cjs} +2 -2
- package/dist/{tooltip-CKhGU64R.cjs.map → tooltip-CCX8PidC.cjs.map} +1 -1
- package/dist/tooltip.cjs +1 -1
- package/dist/tooltip.js +1 -1
- package/dist/{tree-BncfGRKE.cjs → tree-CpqWMdfb.cjs} +2 -2
- package/dist/{tree-BncfGRKE.cjs.map → tree-CpqWMdfb.cjs.map} +1 -1
- package/dist/{tree-BalOrz7r.js → tree-CxJAr7G3.js} +2 -2
- package/dist/{tree-BalOrz7r.js.map → tree-CxJAr7G3.js.map} +1 -1
- package/dist/tree.cjs +1 -1
- package/dist/tree.js +1 -1
- package/dist/{typewriter-C3nBx8M1.cjs → typewriter-BWg7Otk8.cjs} +2 -2
- package/dist/{typewriter-C3nBx8M1.cjs.map → typewriter-BWg7Otk8.cjs.map} +1 -1
- package/dist/{typewriter-CdsU7g5m.js → typewriter-D3QLAVdz.js} +4 -4
- package/dist/{typewriter-CdsU7g5m.js.map → typewriter-D3QLAVdz.js.map} +1 -1
- package/dist/typewriter.cjs +1 -1
- package/dist/typewriter.js +1 -1
- package/dist/{typography-D-unaqtW.js → typography-C8NCP_rr.js} +2 -2
- package/dist/{typography-D-unaqtW.js.map → typography-C8NCP_rr.js.map} +1 -1
- package/dist/{typography-C2kzFuZS.cjs → typography-DGOOlbC1.cjs} +2 -2
- package/dist/{typography-C2kzFuZS.cjs.map → typography-DGOOlbC1.cjs.map} +1 -1
- package/dist/typography.cjs +1 -1
- package/dist/typography.js +1 -1
- package/package.json +1 -1
- package/types/src/area/area.service.test.d.ts +1 -0
- package/types/src/directives/guard.d.ts +1 -0
- package/types/src/directives/index.d.ts +1 -0
- package/dist/route.component-CGJfnuN5.js +0 -311
- package/dist/route.component-CGJfnuN5.js.map +0 -1
- package/dist/route.component-kP_bl5DX.cjs +0 -12
- package/dist/route.component-kP_bl5DX.cjs.map +0 -1
- package/dist/tailwind.mixin-CUBQFucF.js +0 -43
- package/dist/tailwind.mixin-tQzjJi1o.cjs +0 -2
- package/dist/textarea-DsfpxxrR.cjs +0 -44
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { n as $e, e as Ue } from "./provide-tcktw8xB.js";
|
|
2
|
-
import { T as je } from "./tailwind.mixin-
|
|
2
|
+
import { T as je } from "./tailwind.mixin-Cwbr8x57.js";
|
|
3
3
|
import { unsafeCSS as qe, html as Ye } from "lit";
|
|
4
4
|
import { property as le, customElement as Ge } from "lit/decorators.js";
|
|
5
5
|
import { BehaviorSubject as he, distinctUntilChanged as X, shareReplay as re, switchMap as fe, Observable as Le, of as ge, fromEvent as ke, takeUntil as xe, timer as Be, map as ue, defaultIfEmpty as Fe, tap as de } from "rxjs";
|
|
6
|
-
import { a as
|
|
6
|
+
import { a as be, T as Ee } from "./theme.events-CPSLaOlR.js";
|
|
7
7
|
function z(r) {
|
|
8
8
|
return r < 0 ? -1 : r === 0 ? 0 : 1;
|
|
9
9
|
}
|
|
@@ -13,7 +13,7 @@ function oe(r, e, o) {
|
|
|
13
13
|
function me(r, e, o) {
|
|
14
14
|
return o < r ? r : o > e ? e : o;
|
|
15
15
|
}
|
|
16
|
-
function
|
|
16
|
+
function Ce(r) {
|
|
17
17
|
return (r %= 360) < 0 && (r += 360), r;
|
|
18
18
|
}
|
|
19
19
|
function we(r, e) {
|
|
@@ -30,19 +30,19 @@ function ve(r) {
|
|
|
30
30
|
const e = function(o) {
|
|
31
31
|
const t = Q(function(s) {
|
|
32
32
|
return s >> 16 & 255;
|
|
33
|
-
}(o)), a = Q(function(s) {
|
|
34
|
-
return s >> 8 & 255;
|
|
35
33
|
}(o)), n = Q(function(s) {
|
|
34
|
+
return s >> 8 & 255;
|
|
35
|
+
}(o)), a = Q(function(s) {
|
|
36
36
|
return 255 & s;
|
|
37
37
|
}(o));
|
|
38
|
-
return we([t,
|
|
38
|
+
return we([t, n, a], Ke);
|
|
39
39
|
}(r)[1];
|
|
40
40
|
return 116 * Ae(e / 100) - 16;
|
|
41
41
|
}
|
|
42
42
|
function G(r) {
|
|
43
43
|
return 100 * function(e) {
|
|
44
|
-
const o = 0.008856451679035631, t = 24389 / 27,
|
|
45
|
-
return
|
|
44
|
+
const o = 0.008856451679035631, t = 24389 / 27, n = e * e * e;
|
|
45
|
+
return n > o ? n : (116 * e - 16) / t;
|
|
46
46
|
}((r + 16) / 116);
|
|
47
47
|
}
|
|
48
48
|
function Pe(r) {
|
|
@@ -55,8 +55,8 @@ function Q(r) {
|
|
|
55
55
|
function K(r) {
|
|
56
56
|
const e = r / 100;
|
|
57
57
|
let o = 0;
|
|
58
|
-
return o = e <= 31308e-7 ? 12.92 * e : 1.055 * Math.pow(e, 1 / 2.4) - 0.055, t = 0,
|
|
59
|
-
var t,
|
|
58
|
+
return o = e <= 31308e-7 ? 12.92 * e : 1.055 * Math.pow(e, 1 / 2.4) - 0.055, t = 0, n = 255, (a = Math.round(255 * o)) < t ? t : a > n ? n : a;
|
|
59
|
+
var t, n, a;
|
|
60
60
|
}
|
|
61
61
|
function Ae(r) {
|
|
62
62
|
return r > 216 / 24389 ? Math.pow(r, 1 / 3) : (903.2962962962963 * r + 16) / 116;
|
|
@@ -64,66 +64,66 @@ function Ae(r) {
|
|
|
64
64
|
class U {
|
|
65
65
|
static make(e = /* @__PURE__ */ function() {
|
|
66
66
|
return We;
|
|
67
|
-
}(), o = 200 / Math.PI * G(50) / 100, t = 50,
|
|
68
|
-
const s = e, l = 0.401288 * s[0] + 0.650173 * s[1] + -0.051461 * s[2], h = -0.250268 * s[0] + 1.204414 * s[1] + 0.045854 * s[2], i = -2079e-6 * s[0] + 0.048952 * s[1] + 0.953127 * s[2], m = 0.8 +
|
|
69
|
-
let g =
|
|
67
|
+
}(), o = 200 / Math.PI * G(50) / 100, t = 50, n = 2, a = !1) {
|
|
68
|
+
const s = e, l = 0.401288 * s[0] + 0.650173 * s[1] + -0.051461 * s[2], h = -0.250268 * s[0] + 1.204414 * s[1] + 0.045854 * s[2], i = -2079e-6 * s[0] + 0.048952 * s[1] + 0.953127 * s[2], m = 0.8 + n / 10, f = m >= 0.9 ? oe(0.59, 0.69, 10 * (m - 0.9)) : oe(0.525, 0.59, 10 * (m - 0.8));
|
|
69
|
+
let g = a ? 1 : m * (1 - 1 / 3.6 * Math.exp((-o - 42) / 92));
|
|
70
70
|
g = g > 1 ? 1 : g < 0 ? 0 : g;
|
|
71
|
-
const
|
|
72
|
-
return new U(L, (2 * I[0] + I[1] + 0.05 * I[2]) *
|
|
71
|
+
const b = m, y = [g * (100 / l) + 1 - g, g * (100 / h) + 1 - g, g * (100 / i) + 1 - g], w = 1 / (5 * o + 1), v = w * w * w * w, D = 1 - v, k = v * o + 0.1 * D * D * Math.cbrt(5 * o), L = G(t) / e[1], x = 1.48 + Math.sqrt(L), C = 0.725 / Math.pow(L, 0.2), F = C, P = [Math.pow(k * y[0] * l / 100, 0.42), Math.pow(k * y[1] * h / 100, 0.42), Math.pow(k * y[2] * i / 100, 0.42)], I = [400 * P[0] / (P[0] + 27.13), 400 * P[1] / (P[1] + 27.13), 400 * P[2] / (P[2] + 27.13)];
|
|
72
|
+
return new U(L, (2 * I[0] + I[1] + 0.05 * I[2]) * C, C, F, f, b, y, k, Math.pow(k, 0.25), x);
|
|
73
73
|
}
|
|
74
|
-
constructor(e, o, t,
|
|
75
|
-
this.n = e, this.aw = o, this.nbb = t, this.ncb =
|
|
74
|
+
constructor(e, o, t, n, a, s, l, h, i, m) {
|
|
75
|
+
this.n = e, this.aw = o, this.nbb = t, this.ncb = n, this.c = a, this.nc = s, this.rgbD = l, this.fl = h, this.fLRoot = i, this.z = m;
|
|
76
76
|
}
|
|
77
77
|
}
|
|
78
78
|
U.DEFAULT = U.make();
|
|
79
79
|
class V {
|
|
80
|
-
constructor(e, o, t,
|
|
81
|
-
this.hue = e, this.chroma = o, this.j = t, this.q =
|
|
80
|
+
constructor(e, o, t, n, a, s, l, h, i) {
|
|
81
|
+
this.hue = e, this.chroma = o, this.j = t, this.q = n, this.m = a, this.s = s, this.jstar = l, this.astar = h, this.bstar = i;
|
|
82
82
|
}
|
|
83
83
|
distance(e) {
|
|
84
|
-
const o = this.jstar - e.jstar, t = this.astar - e.astar,
|
|
85
|
-
return 1.41 * Math.pow(
|
|
84
|
+
const o = this.jstar - e.jstar, t = this.astar - e.astar, n = this.bstar - e.bstar, a = Math.sqrt(o * o + t * t + n * n);
|
|
85
|
+
return 1.41 * Math.pow(a, 0.63);
|
|
86
86
|
}
|
|
87
87
|
static fromInt(e) {
|
|
88
88
|
return V.fromIntInViewingConditions(e, U.DEFAULT);
|
|
89
89
|
}
|
|
90
90
|
static fromIntInViewingConditions(e, o) {
|
|
91
|
-
const t = (65280 & e) >> 8,
|
|
91
|
+
const t = (65280 & e) >> 8, n = 255 & e, a = Q((16711680 & e) >> 16), s = Q(t), l = Q(n), h = 0.41233895 * a + 0.35762064 * s + 0.18051042 * l, i = 0.2126 * a + 0.7152 * s + 0.0722 * l, m = 0.01932141 * a + 0.11916382 * s + 0.95034478 * l, f = 0.401288 * h + 0.650173 * i - 0.051461 * m, g = -0.250268 * h + 1.204414 * i + 0.045854 * m, b = -2079e-6 * h + 0.048952 * i + 0.953127 * m, y = o.rgbD[0] * f, w = o.rgbD[1] * g, v = o.rgbD[2] * b, D = Math.pow(o.fl * Math.abs(y) / 100, 0.42), k = Math.pow(o.fl * Math.abs(w) / 100, 0.42), L = Math.pow(o.fl * Math.abs(v) / 100, 0.42), x = 400 * z(y) * D / (D + 27.13), C = 400 * z(w) * k / (k + 27.13), F = 400 * z(v) * L / (L + 27.13), P = (11 * x + -12 * C + F) / 11, I = (x + C - 2 * F) / 9, S = (20 * x + 20 * C + 21 * F) / 20, ae = (40 * x + 20 * C + F) / 20, H = 180 * Math.atan2(I, P) / Math.PI, _ = H < 0 ? H + 360 : H >= 360 ? H - 360 : H, j = _ * Math.PI / 180, A = ae * o.nbb, $ = 100 * Math.pow(A / o.aw, o.c * o.z), Z = 4 / o.c * Math.sqrt($ / 100) * (o.aw + 4) * o.fLRoot, ee = _ < 20.14 ? _ + 360 : _, ce = 5e4 / 13 * (0.25 * (Math.cos(ee * Math.PI / 180 + 2) + 3.8)) * o.nc * o.ncb * Math.sqrt(P * P + I * I) / (S + 0.305), se = Math.pow(ce, 0.9) * Math.pow(1.64 - Math.pow(0.29, o.n), 0.73), ie = se * Math.sqrt($ / 100), Te = ie * o.fLRoot, Re = 50 * Math.sqrt(se * o.c / (o.aw + 4)), ze = (1 + 100 * 7e-3) * $ / (1 + 7e-3 * $), Ie = 1 / 0.0228 * Math.log(1 + 0.0228 * Te), He = Ie * Math.cos(j), _e = Ie * Math.sin(j);
|
|
92
92
|
return new V(_, ie, $, Z, Te, Re, ze, He, _e);
|
|
93
93
|
}
|
|
94
94
|
static fromJch(e, o, t) {
|
|
95
95
|
return V.fromJchInViewingConditions(e, o, t, U.DEFAULT);
|
|
96
96
|
}
|
|
97
|
-
static fromJchInViewingConditions(e, o, t,
|
|
98
|
-
const
|
|
99
|
-
return new V(t, o, e,
|
|
97
|
+
static fromJchInViewingConditions(e, o, t, n) {
|
|
98
|
+
const a = 4 / n.c * Math.sqrt(e / 100) * (n.aw + 4) * n.fLRoot, s = o * n.fLRoot, l = o / Math.sqrt(e / 100), h = 50 * Math.sqrt(l * n.c / (n.aw + 4)), i = t * Math.PI / 180, m = (1 + 100 * 7e-3) * e / (1 + 7e-3 * e), f = 1 / 0.0228 * Math.log(1 + 0.0228 * s), g = f * Math.cos(i), b = f * Math.sin(i);
|
|
99
|
+
return new V(t, o, e, a, s, h, m, g, b);
|
|
100
100
|
}
|
|
101
101
|
static fromUcs(e, o, t) {
|
|
102
102
|
return V.fromUcsInViewingConditions(e, o, t, U.DEFAULT);
|
|
103
103
|
}
|
|
104
|
-
static fromUcsInViewingConditions(e, o, t,
|
|
105
|
-
const
|
|
106
|
-
let i = Math.atan2(s,
|
|
104
|
+
static fromUcsInViewingConditions(e, o, t, n) {
|
|
105
|
+
const a = o, s = t, l = Math.sqrt(a * a + s * s), h = (Math.exp(0.0228 * l) - 1) / 0.0228 / n.fLRoot;
|
|
106
|
+
let i = Math.atan2(s, a) * (180 / Math.PI);
|
|
107
107
|
i < 0 && (i += 360);
|
|
108
108
|
const m = e / (1 - 7e-3 * (e - 100));
|
|
109
|
-
return V.fromJchInViewingConditions(m, h, i,
|
|
109
|
+
return V.fromJchInViewingConditions(m, h, i, n);
|
|
110
110
|
}
|
|
111
111
|
toInt() {
|
|
112
112
|
return this.viewed(U.DEFAULT);
|
|
113
113
|
}
|
|
114
114
|
viewed(e) {
|
|
115
|
-
const o = this.chroma === 0 || this.j === 0 ? 0 : this.chroma / Math.sqrt(this.j / 100), t = Math.pow(o / Math.pow(1.64 - Math.pow(0.29, e.n), 0.73), 1 / 0.9),
|
|
115
|
+
const o = this.chroma === 0 || this.j === 0 ? 0 : this.chroma / Math.sqrt(this.j / 100), t = Math.pow(o / Math.pow(1.64 - Math.pow(0.29, e.n), 0.73), 1 / 0.9), n = this.hue * Math.PI / 180, a = 0.25 * (Math.cos(n + 2) + 3.8), s = e.aw * Math.pow(this.j / 100, 1 / e.c / e.z), l = a * (5e4 / 13) * e.nc * e.ncb, h = s / e.nbb, i = Math.sin(n), m = Math.cos(n), f = 23 * (h + 0.305) * t / (23 * l + 11 * t * m + 108 * t * i), g = f * m, b = f * i, y = (460 * h + 451 * g + 288 * b) / 1403, w = (460 * h - 891 * g - 261 * b) / 1403, v = (460 * h - 220 * g - 6300 * b) / 1403, D = Math.max(0, 27.13 * Math.abs(y) / (400 - Math.abs(y))), k = z(y) * (100 / e.fl) * Math.pow(D, 1 / 0.42), L = Math.max(0, 27.13 * Math.abs(w) / (400 - Math.abs(w))), x = z(w) * (100 / e.fl) * Math.pow(L, 1 / 0.42), C = Math.max(0, 27.13 * Math.abs(v) / (400 - Math.abs(v))), F = z(v) * (100 / e.fl) * Math.pow(C, 1 / 0.42), P = k / e.rgbD[0], I = x / e.rgbD[1], S = F / e.rgbD[2];
|
|
116
116
|
return function(H, _, j) {
|
|
117
117
|
const A = Xe, $ = A[0][0] * H + A[0][1] * _ + A[0][2] * j, Z = A[1][0] * H + A[1][1] * _ + A[1][2] * j, ee = A[2][0] * H + A[2][1] * _ + A[2][2] * j;
|
|
118
118
|
return Me(K($), K(Z), K(ee));
|
|
119
119
|
}(1.86206786 * P - 1.01125463 * I + 0.14918677 * S, 0.38752654 * P + 0.62144744 * I - 897398e-8 * S, -0.0158415 * P - 0.03412294 * I + 1.04996444 * S);
|
|
120
120
|
}
|
|
121
|
-
static fromXyzInViewingConditions(e, o, t,
|
|
122
|
-
const
|
|
123
|
-
return new V(F, A, S,
|
|
121
|
+
static fromXyzInViewingConditions(e, o, t, n) {
|
|
122
|
+
const a = 0.401288 * e + 0.650173 * o - 0.051461 * t, s = -0.250268 * e + 1.204414 * o + 0.045854 * t, l = -2079e-6 * e + 0.048952 * o + 0.953127 * t, h = n.rgbD[0] * a, i = n.rgbD[1] * s, m = n.rgbD[2] * l, f = Math.pow(n.fl * Math.abs(h) / 100, 0.42), g = Math.pow(n.fl * Math.abs(i) / 100, 0.42), b = Math.pow(n.fl * Math.abs(m) / 100, 0.42), y = 400 * z(h) * f / (f + 27.13), w = 400 * z(i) * g / (g + 27.13), v = 400 * z(m) * b / (b + 27.13), D = (11 * y + -12 * w + v) / 11, k = (y + w - 2 * v) / 9, L = (20 * y + 20 * w + 21 * v) / 20, x = (40 * y + 20 * w + v) / 20, C = 180 * Math.atan2(k, D) / Math.PI, F = C < 0 ? C + 360 : C >= 360 ? C - 360 : C, P = F * Math.PI / 180, I = x * n.nbb, S = 100 * Math.pow(I / n.aw, n.c * n.z), ae = 4 / n.c * Math.sqrt(S / 100) * (n.aw + 4) * n.fLRoot, H = F < 20.14 ? F + 360 : F, _ = 5e4 / 13 * (1 / 4 * (Math.cos(H * Math.PI / 180 + 2) + 3.8)) * n.nc * n.ncb * Math.sqrt(D * D + k * k) / (L + 0.305), j = Math.pow(_, 0.9) * Math.pow(1.64 - Math.pow(0.29, n.n), 0.73), A = j * Math.sqrt(S / 100), $ = A * n.fLRoot, Z = 50 * Math.sqrt(j * n.c / (n.aw + 4)), ee = (1 + 100 * 7e-3) * S / (1 + 7e-3 * S), ce = Math.log(1 + 0.0228 * $) / 0.0228, se = ce * Math.cos(P), ie = ce * Math.sin(P);
|
|
123
|
+
return new V(F, A, S, ae, $, Z, ee, se, ie);
|
|
124
124
|
}
|
|
125
125
|
xyzInViewingConditions(e) {
|
|
126
|
-
const o = this.chroma === 0 || this.j === 0 ? 0 : this.chroma / Math.sqrt(this.j / 100), t = Math.pow(o / Math.pow(1.64 - Math.pow(0.29, e.n), 0.73), 1 / 0.9),
|
|
126
|
+
const o = this.chroma === 0 || this.j === 0 ? 0 : this.chroma / Math.sqrt(this.j / 100), t = Math.pow(o / Math.pow(1.64 - Math.pow(0.29, e.n), 0.73), 1 / 0.9), n = this.hue * Math.PI / 180, a = 0.25 * (Math.cos(n + 2) + 3.8), s = e.aw * Math.pow(this.j / 100, 1 / e.c / e.z), l = a * (5e4 / 13) * e.nc * e.ncb, h = s / e.nbb, i = Math.sin(n), m = Math.cos(n), f = 23 * (h + 0.305) * t / (23 * l + 11 * t * m + 108 * t * i), g = f * m, b = f * i, y = (460 * h + 451 * g + 288 * b) / 1403, w = (460 * h - 891 * g - 261 * b) / 1403, v = (460 * h - 220 * g - 6300 * b) / 1403, D = Math.max(0, 27.13 * Math.abs(y) / (400 - Math.abs(y))), k = z(y) * (100 / e.fl) * Math.pow(D, 1 / 0.42), L = Math.max(0, 27.13 * Math.abs(w) / (400 - Math.abs(w))), x = z(w) * (100 / e.fl) * Math.pow(L, 1 / 0.42), C = Math.max(0, 27.13 * Math.abs(v) / (400 - Math.abs(v))), F = z(v) * (100 / e.fl) * Math.pow(C, 1 / 0.42), P = k / e.rgbD[0], I = x / e.rgbD[1], S = F / e.rgbD[2];
|
|
127
127
|
return [1.86206786 * P - 1.01125463 * I + 0.14918677 * S, 0.38752654 * P + 0.62144744 * I - 897398e-8 * S, -0.0158415 * P - 0.03412294 * I + 1.04996444 * S];
|
|
128
128
|
}
|
|
129
129
|
}
|
|
@@ -141,7 +141,7 @@ class d {
|
|
|
141
141
|
return 400 * z(e) * o / (o + 27.13);
|
|
142
142
|
}
|
|
143
143
|
static hueOf(e) {
|
|
144
|
-
const o = we(e, d.SCALED_DISCOUNT_FROM_LINRGB), t = d.chromaticAdaptation(o[0]),
|
|
144
|
+
const o = we(e, d.SCALED_DISCOUNT_FROM_LINRGB), t = d.chromaticAdaptation(o[0]), n = d.chromaticAdaptation(o[1]), a = d.chromaticAdaptation(o[2]), s = (11 * t + -12 * n + a) / 11, l = (t + n - 2 * a) / 9;
|
|
145
145
|
return Math.atan2(l, s);
|
|
146
146
|
}
|
|
147
147
|
static areInCyclicOrder(e, o, t) {
|
|
@@ -153,37 +153,37 @@ class d {
|
|
|
153
153
|
static lerpPoint(e, o, t) {
|
|
154
154
|
return [e[0] + (t[0] - e[0]) * o, e[1] + (t[1] - e[1]) * o, e[2] + (t[2] - e[2]) * o];
|
|
155
155
|
}
|
|
156
|
-
static setCoordinate(e, o, t,
|
|
157
|
-
const
|
|
158
|
-
return d.lerpPoint(e,
|
|
156
|
+
static setCoordinate(e, o, t, n) {
|
|
157
|
+
const a = d.intercept(e[n], o, t[n]);
|
|
158
|
+
return d.lerpPoint(e, a, t);
|
|
159
159
|
}
|
|
160
160
|
static isBounded(e) {
|
|
161
161
|
return 0 <= e && e <= 100;
|
|
162
162
|
}
|
|
163
163
|
static nthVertex(e, o) {
|
|
164
|
-
const t = d.Y_FROM_LINRGB[0],
|
|
164
|
+
const t = d.Y_FROM_LINRGB[0], n = d.Y_FROM_LINRGB[1], a = d.Y_FROM_LINRGB[2], s = o % 4 <= 1 ? 0 : 100, l = o % 2 == 0 ? 0 : 100;
|
|
165
165
|
if (o < 4) {
|
|
166
|
-
const h = s, i = l, m = (e - h *
|
|
166
|
+
const h = s, i = l, m = (e - h * n - i * a) / t;
|
|
167
167
|
return d.isBounded(m) ? [m, h, i] : [-1, -1, -1];
|
|
168
168
|
}
|
|
169
169
|
if (o < 8) {
|
|
170
|
-
const h = s, i = l, m = (e - i * t - h *
|
|
170
|
+
const h = s, i = l, m = (e - i * t - h * a) / n;
|
|
171
171
|
return d.isBounded(m) ? [i, m, h] : [-1, -1, -1];
|
|
172
172
|
}
|
|
173
173
|
{
|
|
174
|
-
const h = s, i = l, m = (e - h * t - i *
|
|
174
|
+
const h = s, i = l, m = (e - h * t - i * n) / a;
|
|
175
175
|
return d.isBounded(m) ? [h, i, m] : [-1, -1, -1];
|
|
176
176
|
}
|
|
177
177
|
}
|
|
178
178
|
static bisectToSegment(e, o) {
|
|
179
|
-
let t = [-1, -1, -1],
|
|
179
|
+
let t = [-1, -1, -1], n = t, a = 0, s = 0, l = !1, h = !0;
|
|
180
180
|
for (let i = 0; i < 12; i++) {
|
|
181
181
|
const m = d.nthVertex(e, i);
|
|
182
182
|
if (m[0] < 0) continue;
|
|
183
183
|
const f = d.hueOf(m);
|
|
184
|
-
l ? (h || d.areInCyclicOrder(
|
|
184
|
+
l ? (h || d.areInCyclicOrder(a, f, s)) && (h = !1, d.areInCyclicOrder(a, o, f) ? (n = m, s = f) : (t = m, a = f)) : (t = m, n = m, a = f, s = f, l = !0);
|
|
185
185
|
}
|
|
186
|
-
return [t,
|
|
186
|
+
return [t, n];
|
|
187
187
|
}
|
|
188
188
|
static midpoint(e, o) {
|
|
189
189
|
return [(e[0] + o[0]) / 2, (e[1] + o[1]) / 2, (e[2] + o[2]) / 2];
|
|
@@ -196,31 +196,31 @@ class d {
|
|
|
196
196
|
}
|
|
197
197
|
static bisectToLimit(e, o) {
|
|
198
198
|
const t = d.bisectToSegment(e, o);
|
|
199
|
-
let
|
|
200
|
-
for (let l = 0; l < 3; l++) if (
|
|
199
|
+
let n = t[0], a = d.hueOf(n), s = t[1];
|
|
200
|
+
for (let l = 0; l < 3; l++) if (n[l] !== s[l]) {
|
|
201
201
|
let h = -1, i = 255;
|
|
202
|
-
|
|
202
|
+
n[l] < s[l] ? (h = d.criticalPlaneBelow(d.trueDelinearized(n[l])), i = d.criticalPlaneAbove(d.trueDelinearized(s[l]))) : (h = d.criticalPlaneAbove(d.trueDelinearized(n[l])), i = d.criticalPlaneBelow(d.trueDelinearized(s[l])));
|
|
203
203
|
for (let m = 0; m < 8 && !(Math.abs(i - h) <= 1); m++) {
|
|
204
|
-
const f = Math.floor((h + i) / 2), g = d.CRITICAL_PLANES[f],
|
|
205
|
-
d.areInCyclicOrder(
|
|
204
|
+
const f = Math.floor((h + i) / 2), g = d.CRITICAL_PLANES[f], b = d.setCoordinate(n, g, s, l), y = d.hueOf(b);
|
|
205
|
+
d.areInCyclicOrder(a, o, y) ? (s = b, i = f) : (n = b, a = y, h = f);
|
|
206
206
|
}
|
|
207
207
|
}
|
|
208
|
-
return d.midpoint(
|
|
208
|
+
return d.midpoint(n, s);
|
|
209
209
|
}
|
|
210
210
|
static inverseChromaticAdaptation(e) {
|
|
211
211
|
const o = Math.abs(e), t = Math.max(0, 27.13 * o / (400 - o));
|
|
212
212
|
return z(e) * Math.pow(t, 1 / 0.42);
|
|
213
213
|
}
|
|
214
214
|
static findResultByJ(e, o, t) {
|
|
215
|
-
let
|
|
216
|
-
const
|
|
215
|
+
let n = 11 * Math.sqrt(t);
|
|
216
|
+
const a = U.DEFAULT, s = 1 / Math.pow(1.64 - Math.pow(0.29, a.n), 0.73), l = 0.25 * (Math.cos(e + 2) + 3.8) * (5e4 / 13) * a.nc * a.ncb, h = Math.sin(e), i = Math.cos(e);
|
|
217
217
|
for (let m = 0; m < 5; m++) {
|
|
218
|
-
const f =
|
|
219
|
-
if (
|
|
220
|
-
const F = d.Y_FROM_LINRGB[0], P = d.Y_FROM_LINRGB[1], I = d.Y_FROM_LINRGB[2], S = F *
|
|
218
|
+
const f = n / 100, g = o === 0 || n === 0 ? 0 : o / Math.sqrt(f), b = Math.pow(g * s, 1 / 0.9), y = a.aw * Math.pow(f, 1 / a.c / a.z) / a.nbb, w = 23 * (y + 0.305) * b / (23 * l + 11 * b * i + 108 * b * h), v = w * i, D = w * h, k = (460 * y + 451 * v + 288 * D) / 1403, L = (460 * y - 891 * v - 261 * D) / 1403, x = (460 * y - 220 * v - 6300 * D) / 1403, C = we([d.inverseChromaticAdaptation(k), d.inverseChromaticAdaptation(L), d.inverseChromaticAdaptation(x)], d.LINRGB_FROM_SCALED_DISCOUNT);
|
|
219
|
+
if (C[0] < 0 || C[1] < 0 || C[2] < 0) return 0;
|
|
220
|
+
const F = d.Y_FROM_LINRGB[0], P = d.Y_FROM_LINRGB[1], I = d.Y_FROM_LINRGB[2], S = F * C[0] + P * C[1] + I * C[2];
|
|
221
221
|
if (S <= 0) return 0;
|
|
222
|
-
if (m === 4 || Math.abs(S - t) < 2e-3) return
|
|
223
|
-
|
|
222
|
+
if (m === 4 || Math.abs(S - t) < 2e-3) return C[0] > 100.01 || C[1] > 100.01 || C[2] > 100.01 ? 0 : Oe(C);
|
|
223
|
+
n -= (S - t) * n / (2 * S);
|
|
224
224
|
}
|
|
225
225
|
return 0;
|
|
226
226
|
}
|
|
@@ -229,8 +229,8 @@ class d {
|
|
|
229
229
|
const h = K(G(l));
|
|
230
230
|
return Me(h, h, h);
|
|
231
231
|
}(t);
|
|
232
|
-
const
|
|
233
|
-
return s !== 0 ? s : Oe(d.bisectToLimit(
|
|
232
|
+
const n = (e = Ce(e)) / 180 * Math.PI, a = G(t), s = d.findResultByJ(n, o, a);
|
|
233
|
+
return s !== 0 ? s : Oe(d.bisectToLimit(a, n));
|
|
234
234
|
}
|
|
235
235
|
static solveToCam(e, o, t) {
|
|
236
236
|
return V.fromInt(d.solveToInt(e, o, t));
|
|
@@ -281,18 +281,18 @@ class T {
|
|
|
281
281
|
}
|
|
282
282
|
class De {
|
|
283
283
|
static harmonize(e, o) {
|
|
284
|
-
const t = T.fromInt(e),
|
|
284
|
+
const t = T.fromInt(e), n = T.fromInt(o), a = (s = t.hue, l = n.hue, 180 - Math.abs(Math.abs(s - l) - 180));
|
|
285
285
|
var s, l;
|
|
286
|
-
const h = Math.min(0.5 *
|
|
286
|
+
const h = Math.min(0.5 * a, 15), i = Ce(t.hue + h * (m = t.hue, Ce(n.hue - m) <= 180 ? 1 : -1));
|
|
287
287
|
var m;
|
|
288
288
|
return T.from(i, t.chroma, t.tone).toInt();
|
|
289
289
|
}
|
|
290
290
|
static hctHue(e, o, t) {
|
|
291
|
-
const
|
|
292
|
-
return T.from(
|
|
291
|
+
const n = De.cam16Ucs(e, o, t), a = V.fromInt(n), s = V.fromInt(e);
|
|
292
|
+
return T.from(a.hue, s.chroma, ve(e)).toInt();
|
|
293
293
|
}
|
|
294
294
|
static cam16Ucs(e, o, t) {
|
|
295
|
-
const
|
|
295
|
+
const n = V.fromInt(e), a = V.fromInt(o), s = n.jstar, l = n.astar, h = n.bstar, i = s + (a.jstar - s) * t, m = l + (a.astar - l) * t, f = h + (a.bstar - h) * t;
|
|
296
296
|
return V.fromUcs(i, m, f).toInt();
|
|
297
297
|
}
|
|
298
298
|
}
|
|
@@ -306,16 +306,16 @@ class O {
|
|
|
306
306
|
}
|
|
307
307
|
static lighter(e, o) {
|
|
308
308
|
if (e < 0 || e > 100) return -1;
|
|
309
|
-
const t = G(e),
|
|
310
|
-
if (
|
|
311
|
-
const l = Pe(
|
|
309
|
+
const t = G(e), n = o * (t + 5) - 5, a = O.ratioOfYs(n, t), s = Math.abs(a - o);
|
|
310
|
+
if (a < o && s > 0.04) return -1;
|
|
311
|
+
const l = Pe(n) + 0.4;
|
|
312
312
|
return l < 0 || l > 100 ? -1 : l;
|
|
313
313
|
}
|
|
314
314
|
static darker(e, o) {
|
|
315
315
|
if (e < 0 || e > 100) return -1;
|
|
316
|
-
const t = G(e),
|
|
317
|
-
if (
|
|
318
|
-
const l = Pe(
|
|
316
|
+
const t = G(e), n = (t + 5) / o - 5, a = O.ratioOfYs(t, n), s = Math.abs(a - o);
|
|
317
|
+
if (a < o && s > 0.04) return -1;
|
|
318
|
+
const l = Pe(n) - 0.4;
|
|
319
319
|
return l < 0 || l > 100 ? -1 : l;
|
|
320
320
|
}
|
|
321
321
|
static lighterUnsafe(e, o) {
|
|
@@ -329,8 +329,8 @@ class O {
|
|
|
329
329
|
}
|
|
330
330
|
class Se {
|
|
331
331
|
static isDisliked(e) {
|
|
332
|
-
const o = Math.round(e.hue) >= 90 && Math.round(e.hue) <= 111, t = Math.round(e.chroma) > 16,
|
|
333
|
-
return o && t &&
|
|
332
|
+
const o = Math.round(e.hue) >= 90 && Math.round(e.hue) <= 111, t = Math.round(e.chroma) > 16, n = Math.round(e.tone) < 65;
|
|
333
|
+
return o && t && n;
|
|
334
334
|
}
|
|
335
335
|
static fixIfDisliked(e) {
|
|
336
336
|
return Se.isDisliked(e) ? T.from(e.hue, e.chroma, 70) : e;
|
|
@@ -340,10 +340,10 @@ class u {
|
|
|
340
340
|
static fromPalette(e) {
|
|
341
341
|
return new u(e.name ?? "", e.palette, e.tone, e.isBackground ?? !1, e.background, e.secondBackground, e.contrastCurve, e.toneDeltaPair);
|
|
342
342
|
}
|
|
343
|
-
constructor(e, o, t,
|
|
344
|
-
if (this.name = e, this.palette = o, this.tone = t, this.isBackground =
|
|
345
|
-
if (!
|
|
346
|
-
if (
|
|
343
|
+
constructor(e, o, t, n, a, s, l, h) {
|
|
344
|
+
if (this.name = e, this.palette = o, this.tone = t, this.isBackground = n, this.background = a, this.secondBackground = s, this.contrastCurve = l, this.toneDeltaPair = h, this.hctCache = /* @__PURE__ */ new Map(), !a && s) throw new Error(`Color ${e} has secondBackgrounddefined, but background is not defined.`);
|
|
345
|
+
if (!a && l) throw new Error(`Color ${e} has contrastCurvedefined, but background is not defined.`);
|
|
346
|
+
if (a && !l) throw new Error(`Color ${e} has backgrounddefined, but contrastCurve is not defined.`);
|
|
347
347
|
}
|
|
348
348
|
getArgb(e) {
|
|
349
349
|
return this.getHct(e).toInt();
|
|
@@ -351,38 +351,38 @@ class u {
|
|
|
351
351
|
getHct(e) {
|
|
352
352
|
const o = this.hctCache.get(e);
|
|
353
353
|
if (o != null) return o;
|
|
354
|
-
const t = this.getTone(e),
|
|
355
|
-
return this.hctCache.size > 4 && this.hctCache.clear(), this.hctCache.set(e,
|
|
354
|
+
const t = this.getTone(e), n = this.palette(e).getHct(t);
|
|
355
|
+
return this.hctCache.size > 4 && this.hctCache.clear(), this.hctCache.set(e, n), n;
|
|
356
356
|
}
|
|
357
357
|
getTone(e) {
|
|
358
358
|
const o = e.contrastLevel < 0;
|
|
359
359
|
if (this.toneDeltaPair) {
|
|
360
|
-
const t = this.toneDeltaPair(e),
|
|
360
|
+
const t = this.toneDeltaPair(e), n = t.roleA, a = t.roleB, s = t.delta, l = t.polarity, h = t.stayTogether, i = this.background(e).getTone(e), m = l === "nearer" || l === "lighter" && !e.isDark || l === "darker" && e.isDark, f = m ? n : a, g = m ? a : n, b = this.name === f.name, y = e.isDark ? 1 : -1, w = f.contrastCurve.get(e.contrastLevel), v = g.contrastCurve.get(e.contrastLevel), D = f.tone(e);
|
|
361
361
|
let k = O.ratioOfTones(i, D) >= w ? D : u.foregroundTone(i, w);
|
|
362
362
|
const L = g.tone(e);
|
|
363
363
|
let x = O.ratioOfTones(i, L) >= v ? L : u.foregroundTone(i, v);
|
|
364
|
-
return o && (k = u.foregroundTone(i, w), x = u.foregroundTone(i, v)), (x - k) * y >= s || (x = me(0, 100, k + s * y), (x - k) * y >= s || (k = me(0, 100, x - s * y))), 50 <= k && k < 60 ? y > 0 ? (k = 60, x = Math.max(x, k + s * y)) : (k = 49, x = Math.min(x, k + s * y)) : 50 <= x && x < 60 && (h ? y > 0 ? (k = 60, x = Math.max(x, k + s * y)) : (k = 49, x = Math.min(x, k + s * y)) : x = y > 0 ? 60 : 49),
|
|
364
|
+
return o && (k = u.foregroundTone(i, w), x = u.foregroundTone(i, v)), (x - k) * y >= s || (x = me(0, 100, k + s * y), (x - k) * y >= s || (k = me(0, 100, x - s * y))), 50 <= k && k < 60 ? y > 0 ? (k = 60, x = Math.max(x, k + s * y)) : (k = 49, x = Math.min(x, k + s * y)) : 50 <= x && x < 60 && (h ? y > 0 ? (k = 60, x = Math.max(x, k + s * y)) : (k = 49, x = Math.min(x, k + s * y)) : x = y > 0 ? 60 : 49), b ? k : x;
|
|
365
365
|
}
|
|
366
366
|
{
|
|
367
367
|
let t = this.tone(e);
|
|
368
368
|
if (this.background == null) return t;
|
|
369
|
-
const
|
|
370
|
-
if (O.ratioOfTones(
|
|
369
|
+
const n = this.background(e).getTone(e), a = this.contrastCurve.get(e.contrastLevel);
|
|
370
|
+
if (O.ratioOfTones(n, t) >= a || (t = u.foregroundTone(n, a)), o && (t = u.foregroundTone(n, a)), this.isBackground && 50 <= t && t < 60 && (t = O.ratioOfTones(49, n) >= a ? 49 : 60), this.secondBackground) {
|
|
371
371
|
const [s, l] = [this.background, this.secondBackground], [h, i] = [s(e).getTone(e), l(e).getTone(e)], [m, f] = [Math.max(h, i), Math.min(h, i)];
|
|
372
|
-
if (O.ratioOfTones(m, t) >=
|
|
373
|
-
const g = O.lighter(m,
|
|
374
|
-
return g !== -1 && y.push(g),
|
|
372
|
+
if (O.ratioOfTones(m, t) >= a && O.ratioOfTones(f, t) >= a) return t;
|
|
373
|
+
const g = O.lighter(m, a), b = O.darker(f, a), y = [];
|
|
374
|
+
return g !== -1 && y.push(g), b !== -1 && y.push(b), u.tonePrefersLightForeground(h) || u.tonePrefersLightForeground(i) ? g < 0 ? 100 : g : y.length === 1 ? y[0] : b < 0 ? 0 : b;
|
|
375
375
|
}
|
|
376
376
|
return t;
|
|
377
377
|
}
|
|
378
378
|
}
|
|
379
379
|
static foregroundTone(e, o) {
|
|
380
|
-
const t = O.lighterUnsafe(e, o),
|
|
380
|
+
const t = O.lighterUnsafe(e, o), n = O.darkerUnsafe(e, o), a = O.ratioOfTones(t, e), s = O.ratioOfTones(n, e);
|
|
381
381
|
if (u.tonePrefersLightForeground(e)) {
|
|
382
|
-
const l = Math.abs(
|
|
383
|
-
return
|
|
382
|
+
const l = Math.abs(a - s) < 0.1 && a < o && s < o;
|
|
383
|
+
return a >= o || a >= s || l ? t : n;
|
|
384
384
|
}
|
|
385
|
-
return s >= o || s >=
|
|
385
|
+
return s >= o || s >= a ? n : t;
|
|
386
386
|
}
|
|
387
387
|
static tonePrefersLightForeground(e) {
|
|
388
388
|
return Math.round(e) < 60;
|
|
@@ -424,13 +424,13 @@ class Je {
|
|
|
424
424
|
create() {
|
|
425
425
|
let e = 0, o = 100;
|
|
426
426
|
for (; e < o; ) {
|
|
427
|
-
const t = Math.floor((e + o) / 2),
|
|
427
|
+
const t = Math.floor((e + o) / 2), n = this.maxChroma(t) < this.maxChroma(t + 1);
|
|
428
428
|
if (this.maxChroma(t) >= this.requestedChroma - 0.01) if (Math.abs(e - 50) < Math.abs(o - 50)) o = t;
|
|
429
429
|
else {
|
|
430
430
|
if (e === t) return T.from(this.hue, this.requestedChroma, e);
|
|
431
431
|
e = t;
|
|
432
432
|
}
|
|
433
|
-
else
|
|
433
|
+
else n ? e = t + 1 : o = t;
|
|
434
434
|
}
|
|
435
435
|
return T.from(this.hue, this.requestedChroma, e);
|
|
436
436
|
}
|
|
@@ -441,28 +441,28 @@ class Je {
|
|
|
441
441
|
}
|
|
442
442
|
}
|
|
443
443
|
class p {
|
|
444
|
-
constructor(e, o, t,
|
|
445
|
-
this.low = e, this.normal = o, this.medium = t, this.high =
|
|
444
|
+
constructor(e, o, t, n) {
|
|
445
|
+
this.low = e, this.normal = o, this.medium = t, this.high = n;
|
|
446
446
|
}
|
|
447
447
|
get(e) {
|
|
448
448
|
return e <= -1 ? this.low : e < 0 ? oe(this.low, this.normal, (e - -1) / 1) : e < 0.5 ? oe(this.normal, this.medium, (e - 0) / 0.5) : e < 1 ? oe(this.medium, this.high, (e - 0.5) / 0.5) : this.high;
|
|
449
449
|
}
|
|
450
450
|
}
|
|
451
451
|
class R {
|
|
452
|
-
constructor(e, o, t,
|
|
453
|
-
this.roleA = e, this.roleB = o, this.delta = t, this.polarity =
|
|
452
|
+
constructor(e, o, t, n, a) {
|
|
453
|
+
this.roleA = e, this.roleB = o, this.delta = t, this.polarity = n, this.stayTogether = a;
|
|
454
454
|
}
|
|
455
455
|
}
|
|
456
|
-
var
|
|
456
|
+
var ne;
|
|
457
457
|
function W(r) {
|
|
458
|
-
return r.variant ===
|
|
458
|
+
return r.variant === ne.FIDELITY || r.variant === ne.CONTENT;
|
|
459
459
|
}
|
|
460
460
|
function M(r) {
|
|
461
|
-
return r.variant ===
|
|
461
|
+
return r.variant === ne.MONOCHROME;
|
|
462
462
|
}
|
|
463
463
|
(function(r) {
|
|
464
464
|
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";
|
|
465
|
-
})(
|
|
465
|
+
})(ne || (ne = {}));
|
|
466
466
|
class c {
|
|
467
467
|
static highestSurface(e) {
|
|
468
468
|
return e.isDark ? c.surfaceBright : c.surfaceDim;
|
|
@@ -470,12 +470,12 @@ class c {
|
|
|
470
470
|
}
|
|
471
471
|
c.contentAccentToneDelta = 15, c.primaryPaletteKeyColor = u.fromPalette({ name: "primary_palette_key_color", palette: (r) => r.primaryPalette, tone: (r) => r.primaryPalette.keyColor.tone }), c.secondaryPaletteKeyColor = u.fromPalette({ name: "secondary_palette_key_color", palette: (r) => r.secondaryPalette, tone: (r) => r.secondaryPalette.keyColor.tone }), c.tertiaryPaletteKeyColor = u.fromPalette({ name: "tertiary_palette_key_color", palette: (r) => r.tertiaryPalette, tone: (r) => r.tertiaryPalette.keyColor.tone }), c.neutralPaletteKeyColor = u.fromPalette({ name: "neutral_palette_key_color", palette: (r) => r.neutralPalette, tone: (r) => r.neutralPalette.keyColor.tone }), c.neutralVariantPaletteKeyColor = u.fromPalette({ name: "neutral_variant_palette_key_color", palette: (r) => r.neutralVariantPalette, tone: (r) => r.neutralVariantPalette.keyColor.tone }), c.background = u.fromPalette({ name: "background", palette: (r) => r.neutralPalette, tone: (r) => r.isDark ? 6 : 98, isBackground: !0 }), c.onBackground = u.fromPalette({ name: "on_background", palette: (r) => r.neutralPalette, tone: (r) => r.isDark ? 90 : 10, background: (r) => c.background, contrastCurve: new p(3, 3, 4.5, 7) }), c.surface = u.fromPalette({ name: "surface", palette: (r) => r.neutralPalette, tone: (r) => r.isDark ? 6 : 98, isBackground: !0 }), c.surfaceDim = u.fromPalette({ name: "surface_dim", palette: (r) => r.neutralPalette, tone: (r) => r.isDark ? 6 : new p(87, 87, 80, 75).get(r.contrastLevel), isBackground: !0 }), c.surfaceBright = u.fromPalette({ name: "surface_bright", palette: (r) => r.neutralPalette, tone: (r) => r.isDark ? new p(24, 24, 29, 34).get(r.contrastLevel) : 98, isBackground: !0 }), c.surfaceContainerLowest = u.fromPalette({ name: "surface_container_lowest", palette: (r) => r.neutralPalette, tone: (r) => r.isDark ? new p(4, 4, 2, 0).get(r.contrastLevel) : 100, isBackground: !0 }), c.surfaceContainerLow = u.fromPalette({ name: "surface_container_low", palette: (r) => r.neutralPalette, tone: (r) => r.isDark ? new p(10, 10, 11, 12).get(r.contrastLevel) : new p(96, 96, 96, 95).get(r.contrastLevel), isBackground: !0 }), c.surfaceContainer = u.fromPalette({ name: "surface_container", palette: (r) => r.neutralPalette, tone: (r) => r.isDark ? new p(12, 12, 16, 20).get(r.contrastLevel) : new p(94, 94, 92, 90).get(r.contrastLevel), isBackground: !0 }), c.surfaceContainerHigh = u.fromPalette({ name: "surface_container_high", palette: (r) => r.neutralPalette, tone: (r) => r.isDark ? new p(17, 17, 21, 25).get(r.contrastLevel) : new p(92, 92, 88, 85).get(r.contrastLevel), isBackground: !0 }), c.surfaceContainerHighest = u.fromPalette({ name: "surface_container_highest", palette: (r) => r.neutralPalette, tone: (r) => r.isDark ? new p(22, 22, 26, 30).get(r.contrastLevel) : new p(90, 90, 84, 80).get(r.contrastLevel), isBackground: !0 }), c.onSurface = u.fromPalette({ name: "on_surface", palette: (r) => r.neutralPalette, tone: (r) => r.isDark ? 90 : 10, background: (r) => c.highestSurface(r), contrastCurve: new p(4.5, 7, 11, 21) }), c.surfaceVariant = u.fromPalette({ name: "surface_variant", palette: (r) => r.neutralVariantPalette, tone: (r) => r.isDark ? 30 : 90, isBackground: !0 }), c.onSurfaceVariant = u.fromPalette({ name: "on_surface_variant", palette: (r) => r.neutralVariantPalette, tone: (r) => r.isDark ? 80 : 30, background: (r) => c.highestSurface(r), contrastCurve: new p(3, 4.5, 7, 11) }), c.inverseSurface = u.fromPalette({ name: "inverse_surface", palette: (r) => r.neutralPalette, tone: (r) => r.isDark ? 90 : 20 }), c.inverseOnSurface = u.fromPalette({ name: "inverse_on_surface", palette: (r) => r.neutralPalette, tone: (r) => r.isDark ? 20 : 95, background: (r) => c.inverseSurface, contrastCurve: new p(4.5, 7, 11, 21) }), c.outline = u.fromPalette({ name: "outline", palette: (r) => r.neutralVariantPalette, tone: (r) => r.isDark ? 60 : 50, background: (r) => c.highestSurface(r), contrastCurve: new p(1.5, 3, 4.5, 7) }), c.outlineVariant = u.fromPalette({ name: "outline_variant", palette: (r) => r.neutralVariantPalette, tone: (r) => r.isDark ? 30 : 80, background: (r) => c.highestSurface(r), contrastCurve: new p(1, 1, 3, 4.5) }), c.shadow = u.fromPalette({ name: "shadow", palette: (r) => r.neutralPalette, tone: (r) => 0 }), c.scrim = u.fromPalette({ name: "scrim", palette: (r) => r.neutralPalette, tone: (r) => 0 }), c.surfaceTint = u.fromPalette({ name: "surface_tint", palette: (r) => r.primaryPalette, tone: (r) => r.isDark ? 80 : 40, isBackground: !0 }), c.primary = u.fromPalette({ name: "primary", palette: (r) => r.primaryPalette, tone: (r) => M(r) ? r.isDark ? 100 : 0 : r.isDark ? 80 : 40, isBackground: !0, background: (r) => c.highestSurface(r), contrastCurve: new p(3, 4.5, 7, 7), toneDeltaPair: (r) => new R(c.primaryContainer, c.primary, 10, "nearer", !1) }), c.onPrimary = u.fromPalette({ name: "on_primary", palette: (r) => r.primaryPalette, tone: (r) => M(r) ? r.isDark ? 10 : 90 : r.isDark ? 20 : 100, background: (r) => c.primary, contrastCurve: new p(4.5, 7, 11, 21) }), c.primaryContainer = u.fromPalette({ name: "primary_container", palette: (r) => r.primaryPalette, tone: (r) => W(r) ? r.sourceColorHct.tone : M(r) ? r.isDark ? 85 : 25 : r.isDark ? 30 : 90, isBackground: !0, background: (r) => c.highestSurface(r), contrastCurve: new p(1, 1, 3, 4.5), toneDeltaPair: (r) => new R(c.primaryContainer, c.primary, 10, "nearer", !1) }), c.onPrimaryContainer = u.fromPalette({ name: "on_primary_container", palette: (r) => r.primaryPalette, tone: (r) => W(r) ? u.foregroundTone(c.primaryContainer.tone(r), 4.5) : M(r) ? r.isDark ? 0 : 100 : r.isDark ? 90 : 30, background: (r) => c.primaryContainer, contrastCurve: new p(3, 4.5, 7, 11) }), c.inversePrimary = u.fromPalette({ name: "inverse_primary", palette: (r) => r.primaryPalette, tone: (r) => r.isDark ? 40 : 80, background: (r) => c.inverseSurface, contrastCurve: new p(3, 4.5, 7, 7) }), c.secondary = u.fromPalette({ name: "secondary", palette: (r) => r.secondaryPalette, tone: (r) => r.isDark ? 80 : 40, isBackground: !0, background: (r) => c.highestSurface(r), contrastCurve: new p(3, 4.5, 7, 7), toneDeltaPair: (r) => new R(c.secondaryContainer, c.secondary, 10, "nearer", !1) }), c.onSecondary = u.fromPalette({ name: "on_secondary", palette: (r) => r.secondaryPalette, tone: (r) => M(r) ? r.isDark ? 10 : 100 : r.isDark ? 20 : 100, background: (r) => c.secondary, contrastCurve: new p(4.5, 7, 11, 21) }), c.secondaryContainer = u.fromPalette({ name: "secondary_container", palette: (r) => r.secondaryPalette, tone: (r) => {
|
|
472
472
|
const e = r.isDark ? 30 : 90;
|
|
473
|
-
return M(r) ? r.isDark ? 30 : 85 : W(r) ? function(o, t,
|
|
474
|
-
let s =
|
|
473
|
+
return M(r) ? r.isDark ? 30 : 85 : W(r) ? function(o, t, n, a) {
|
|
474
|
+
let s = n, l = T.from(o, t, n);
|
|
475
475
|
if (l.chroma < t) {
|
|
476
476
|
let h = l.chroma;
|
|
477
477
|
for (; l.chroma < t; ) {
|
|
478
|
-
s +=
|
|
478
|
+
s += a ? -1 : 1;
|
|
479
479
|
const i = T.from(o, t, s);
|
|
480
480
|
if (h > i.chroma || Math.abs(i.chroma - t) < 0.4) break;
|
|
481
481
|
Math.abs(i.chroma - t) < Math.abs(l.chroma - t) && (l = i), h = Math.max(h, i.chroma);
|
|
@@ -505,30 +505,30 @@ class E {
|
|
|
505
505
|
static createPaletteFromColors(e, o) {
|
|
506
506
|
const t = new E(o.primary, e);
|
|
507
507
|
if (o.secondary) {
|
|
508
|
-
const
|
|
509
|
-
t.a2 =
|
|
508
|
+
const n = new E(o.secondary, e);
|
|
509
|
+
t.a2 = n.a1;
|
|
510
510
|
}
|
|
511
511
|
if (o.tertiary) {
|
|
512
|
-
const
|
|
513
|
-
t.a3 =
|
|
512
|
+
const n = new E(o.tertiary, e);
|
|
513
|
+
t.a3 = n.a1;
|
|
514
514
|
}
|
|
515
515
|
if (o.error) {
|
|
516
|
-
const
|
|
517
|
-
t.error =
|
|
516
|
+
const n = new E(o.error, e);
|
|
517
|
+
t.error = n.a1;
|
|
518
518
|
}
|
|
519
519
|
if (o.neutral) {
|
|
520
|
-
const
|
|
521
|
-
t.n1 =
|
|
520
|
+
const n = new E(o.neutral, e);
|
|
521
|
+
t.n1 = n.n1;
|
|
522
522
|
}
|
|
523
523
|
if (o.neutralVariant) {
|
|
524
|
-
const
|
|
525
|
-
t.n2 =
|
|
524
|
+
const n = new E(o.neutralVariant, e);
|
|
525
|
+
t.n2 = n.n2;
|
|
526
526
|
}
|
|
527
527
|
return t;
|
|
528
528
|
}
|
|
529
529
|
constructor(e, o) {
|
|
530
|
-
const t = T.fromInt(e),
|
|
531
|
-
o ? (this.a1 = B.fromHueAndChroma(
|
|
530
|
+
const t = T.fromInt(e), n = t.hue, a = t.chroma;
|
|
531
|
+
o ? (this.a1 = B.fromHueAndChroma(n, a), this.a2 = B.fromHueAndChroma(n, a / 3), this.a3 = B.fromHueAndChroma(n + 60, a / 2), this.n1 = B.fromHueAndChroma(n, Math.min(a / 12, 4)), this.n2 = B.fromHueAndChroma(n, Math.min(a / 6, 8))) : (this.a1 = B.fromHueAndChroma(n, Math.max(48, a)), this.a2 = B.fromHueAndChroma(n, 16), this.a3 = B.fromHueAndChroma(n + 60, 24), this.n1 = B.fromHueAndChroma(n, 4), this.n2 = B.fromHueAndChroma(n, 8)), this.error = B.fromHueAndChroma(25, 84);
|
|
532
532
|
}
|
|
533
533
|
}
|
|
534
534
|
class Y {
|
|
@@ -647,46 +647,46 @@ class Y {
|
|
|
647
647
|
function Ve(r) {
|
|
648
648
|
const e = (r = r.replace("#", "")).length === 3, o = r.length === 6, t = r.length === 8;
|
|
649
649
|
if (!e && !o && !t) throw new Error("unexpected hex " + r);
|
|
650
|
-
let
|
|
651
|
-
return e ? (
|
|
650
|
+
let n = 0, a = 0, s = 0;
|
|
651
|
+
return e ? (n = q(r.slice(0, 1).repeat(2)), a = q(r.slice(1, 2).repeat(2)), s = q(r.slice(2, 3).repeat(2))) : o ? (n = q(r.slice(0, 2)), a = q(r.slice(2, 4)), s = q(r.slice(4, 6))) : t && (n = q(r.slice(2, 4)), a = q(r.slice(4, 6)), s = q(r.slice(6, 8))), (255 << 24 | (255 & n) << 16 | (255 & a) << 8 | 255 & s) >>> 0;
|
|
652
652
|
}
|
|
653
653
|
function q(r) {
|
|
654
654
|
return parseInt(r, 16);
|
|
655
655
|
}
|
|
656
656
|
function Ne(r, e = []) {
|
|
657
657
|
const o = E.of(r);
|
|
658
|
-
return { source: r, schemes: { light: Y.light(r), dark: Y.dark(r) }, palettes: { primary: o.a1, secondary: o.a2, tertiary: o.a3, neutral: o.n1, neutralVariant: o.n2, error: o.error }, customColors: e.map((t) => function(
|
|
659
|
-
let s =
|
|
660
|
-
const l = s, h =
|
|
661
|
-
|
|
658
|
+
return { source: r, schemes: { light: Y.light(r), dark: Y.dark(r) }, palettes: { primary: o.a1, secondary: o.a2, tertiary: o.a3, neutral: o.n1, neutralVariant: o.n2, error: o.error }, customColors: e.map((t) => function(n, a) {
|
|
659
|
+
let s = a.value;
|
|
660
|
+
const l = s, h = n;
|
|
661
|
+
a.blend && (s = De.harmonize(l, h));
|
|
662
662
|
const i = E.of(s), m = i.a1;
|
|
663
|
-
return { color:
|
|
663
|
+
return { color: a, value: s, light: { color: m.tone(40), onColor: m.tone(100), colorContainer: m.tone(90), onColorContainer: m.tone(10) }, dark: { color: m.tone(80), onColor: m.tone(20), colorContainer: m.tone(30), onColorContainer: m.tone(90) } };
|
|
664
664
|
}(r, t)) };
|
|
665
665
|
}
|
|
666
666
|
const Qe = $e("theme-context");
|
|
667
667
|
function Ze(r, e = !1, o) {
|
|
668
|
-
function t(
|
|
669
|
-
return "#" +
|
|
668
|
+
function t(n) {
|
|
669
|
+
return "#" + n.toString(16).padStart(8, "0").slice(2);
|
|
670
670
|
}
|
|
671
671
|
if (e) {
|
|
672
|
-
const
|
|
672
|
+
const n = r.schemes.dark, a = function(l, h) {
|
|
673
673
|
const i = B.fromHueAndChroma(l, h);
|
|
674
674
|
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) };
|
|
675
675
|
}(r.palettes.neutral.hue, r.palettes.neutral.chroma), s = function(l) {
|
|
676
676
|
const h = T.fromInt(l), i = B.fromHueAndChroma(h.hue, h.chroma);
|
|
677
677
|
return { default: i.tone(80), on: i.tone(20), container: i.tone(30), onContainer: i.tone(90) };
|
|
678
678
|
}(o);
|
|
679
|
-
return { sys: { color: { scrim: t(
|
|
679
|
+
return { sys: { color: { scrim: t(n.scrim), outlineVariant: t(n.outlineVariant), outline: t(n.outline), surface: { default: t(n.surface), dim: t(a.sDim), bright: t(a.sBright), on: t(n.onSurface), onVariant: t(n.onSurfaceVariant), highest: t(a.cHighest), high: t(a.cHigh), container: t(a.c), low: t(a.cLow), lowest: t(a.cLowest) }, primary: { default: t(n.primary), on: t(n.onPrimary), container: t(n.primaryContainer), onContainer: t(n.onPrimaryContainer) }, secondary: { default: t(n.secondary), on: t(n.onSecondary), container: t(n.secondaryContainer), onContainer: t(n.onSecondaryContainer) }, tertiary: { default: t(n.tertiary), on: t(n.onTertiary), container: t(n.tertiaryContainer), onContainer: t(n.onTertiaryContainer) }, error: { default: t(n.error), on: t(n.onError), container: t(n.errorContainer), onContainer: t(n.onErrorContainer) }, success: { default: t(s.default), on: t(s.on), container: t(s.container), onContainer: t(s.onContainer) } }, 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" } } };
|
|
680
680
|
}
|
|
681
681
|
{
|
|
682
|
-
const
|
|
682
|
+
const n = r.schemes.light, a = function(l, h) {
|
|
683
683
|
const i = B.fromHueAndChroma(l, h);
|
|
684
684
|
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) };
|
|
685
685
|
}(r.palettes.neutral.hue, r.palettes.neutral.chroma), s = function(l) {
|
|
686
686
|
const h = T.fromInt(l), i = B.fromHueAndChroma(h.hue, h.chroma);
|
|
687
687
|
return { default: i.tone(40), on: i.tone(100), container: i.tone(90), onContainer: i.tone(10) };
|
|
688
688
|
}(o);
|
|
689
|
-
return { sys: { color: { scrim: t(
|
|
689
|
+
return { sys: { color: { scrim: t(n.scrim), outlineVariant: t(n.outlineVariant), outline: t(n.outline), surface: { default: t(n.surface), dim: t(a.sDim), bright: t(a.sBright), on: t(n.onSurface), onVariant: t(n.onSurfaceVariant), highest: t(a.cHighest), high: t(a.cHigh), container: t(a.c), low: t(a.cLow), lowest: t(a.cLowest) }, primary: { default: t(n.primary), on: t(n.onPrimary), container: t(n.primaryContainer), onContainer: t(n.onPrimaryContainer) }, secondary: { default: t(n.secondary), on: t(n.onSecondary), container: t(n.secondaryContainer), onContainer: t(n.onSecondaryContainer) }, tertiary: { default: t(n.tertiary), on: t(n.onTertiary), container: t(n.tertiaryContainer), onContainer: t(n.onTertiaryContainer) }, error: { default: t(n.error), on: t(n.onError), container: t(n.errorContainer), onContainer: t(n.onErrorContainer) }, success: { default: t(s.default), on: t(s.on), container: t(s.container), onContainer: t(s.onContainer) } }, 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" } } };
|
|
690
690
|
}
|
|
691
691
|
}
|
|
692
692
|
class N {
|
|
@@ -695,10 +695,10 @@ class N {
|
|
|
695
695
|
if (e === "auto") {
|
|
696
696
|
const o = window.matchMedia("(prefers-color-scheme: dark)");
|
|
697
697
|
return new Le((t) => {
|
|
698
|
-
const
|
|
699
|
-
t.next(
|
|
698
|
+
const n = (a) => {
|
|
699
|
+
t.next(a.matches ? "dark" : "light");
|
|
700
700
|
};
|
|
701
|
-
return o.addEventListener("change",
|
|
701
|
+
return o.addEventListener("change", n), t.next(o.matches ? "dark" : "light"), () => o.removeEventListener("change", n);
|
|
702
702
|
});
|
|
703
703
|
}
|
|
704
704
|
return ge(e);
|
|
@@ -717,11 +717,11 @@ class N {
|
|
|
717
717
|
return this._themeComponent$.getValue();
|
|
718
718
|
}
|
|
719
719
|
discoverTheme() {
|
|
720
|
-
return ke(window,
|
|
720
|
+
return ke(window, be).pipe(xe(Be(100)), ue((e) => e.detail.theme), Fe(null), de((e) => {
|
|
721
721
|
e && this.registerThemeComponent(e);
|
|
722
722
|
})).pipe(de(() => {
|
|
723
723
|
window.dispatchEvent(new CustomEvent(Ee, { bubbles: !0, composed: !0 }));
|
|
724
|
-
}), fe(() => ke(window,
|
|
724
|
+
}), fe(() => ke(window, be).pipe(xe(Be(100)), ue((e) => e.detail.theme), Fe(null), de((e) => {
|
|
725
725
|
e && this.registerThemeComponent(e);
|
|
726
726
|
}))));
|
|
727
727
|
}
|
|
@@ -763,13 +763,13 @@ class N {
|
|
|
763
763
|
}
|
|
764
764
|
const pe = N.getInstance();
|
|
765
765
|
var er = Object.defineProperty, rr = Object.getOwnPropertyDescriptor, te = (r, e, o, t) => {
|
|
766
|
-
for (var
|
|
767
|
-
return t &&
|
|
766
|
+
for (var n, a = t > 1 ? void 0 : t ? rr(e, o) : e, s = r.length - 1; s >= 0; s--) (n = r[s]) && (a = (t ? n(e, o, a) : n(a)) || a);
|
|
767
|
+
return t && a && er(e, o, a), a;
|
|
768
768
|
};
|
|
769
|
-
const tr = qe(':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);--default-font-family: var(--schmancy-font-family);--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-2xl: 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);--md-filter-chip-label-text-color: var(--schmancy-sys-color-surface-on)}'), ye = window.matchMedia("(prefers-color-scheme: dark)"), or = new Le((r) => {
|
|
769
|
+
const tr = qe(':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);--default-font-family: var(--schmancy-font-family);--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-2xl: 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);--md-filter-chip-label-text-color: var(--schmancy-sys-color-surface-on);--md-checkbox-focus-outline-color: var(--schmancy-sys-color-surface-on);--md-checkbox-focus-outline-width: 2px;--md-checkbox-hover-outline-color: var(--schmancy-sys-color-surface-on);--md-checkbox-hover-outline-width: 2px;--md-checkbox-pressed-outline-color: var(--schmancy-sys-color-surface-on);--md-checkbox-pressed-outline-width: 2px;--md-checkbox-disabled-outline-color: var(--schmancy-sys-color-surface-on);--md-checkbox-disabled-outline-width: 2px}'), ye = window.matchMedia("(prefers-color-scheme: dark)"), or = new Le((r) => {
|
|
770
770
|
const e = (t) => {
|
|
771
|
-
const
|
|
772
|
-
r.next(
|
|
771
|
+
const n = t.matches ? "dark" : "light";
|
|
772
|
+
r.next(n);
|
|
773
773
|
};
|
|
774
774
|
ye.addEventListener("change", e);
|
|
775
775
|
const o = ye.matches ? "dark" : "light";
|
|
@@ -783,7 +783,7 @@ let J = class extends je(tr) {
|
|
|
783
783
|
super.connectedCallback(), this.color || (this.color = this.generateRandomColor()), pe.registerThemeComponent(this), ge(this.scheme).pipe(fe((r) => r === "auto" ? or : ge(r))).subscribe((r) => {
|
|
784
784
|
this.scheme = r, this.registerTheme(), pe.updateTheme({ scheme: this.scheme, color: this.color, theme: this.theme });
|
|
785
785
|
}), ke(this, Ee).pipe(xe(this.disconnecting)).subscribe((r) => {
|
|
786
|
-
r.stopPropagation(), r.preventDefault(), window.dispatchEvent(new CustomEvent(
|
|
786
|
+
r.stopPropagation(), r.preventDefault(), window.dispatchEvent(new CustomEvent(be, { detail: { theme: this }, bubbles: !0, composed: !0 }));
|
|
787
787
|
});
|
|
788
788
|
}
|
|
789
789
|
updated(r) {
|
|
@@ -811,4 +811,4 @@ export {
|
|
|
811
811
|
Ze as f,
|
|
812
812
|
tr as t
|
|
813
813
|
};
|
|
814
|
-
//# sourceMappingURL=theme.component-
|
|
814
|
+
//# sourceMappingURL=theme.component-B5zp-4OG.js.map
|